/* GCH V19.18: restrained shared Comic Hybrid refinement + visible account entry.
   Scoped and additive: no changes to existing nav routes, SEO or game logic. */
.gch-site-v8 {--gch-polish-ink:#152b46;--gch-polish-paper:#fffaf0;}
.gch-site-v8 .gck-header {
  border-bottom:1px solid rgba(248,230,189,.13);
  background:linear-gradient(180deg,rgba(11,25,47,.20),rgba(11,25,47,0));
}
.gch-site-v8 .gck-logo {transition:filter .16s ease;}
.gch-site-v8 .gck-logo:hover {filter:drop-shadow(0 0 10px rgba(255,210,98,.34));}
.gch-site-v8 .gck-nav-link {
  border-radius:6px!important;
  box-shadow:3px 4px 0 #17233e,0 9px 16px rgba(12,27,45,.12)!important;
}
.gch-site-v8 .gck-nav-link.is-active {
  background:linear-gradient(135deg,#ffe6a2,#ffca57);
  box-shadow:2px 3px 0 #17233e,0 0 0 2px rgba(255,240,189,.25)!important;
}
.gch-site-v8 .gck-nav-link:focus-visible,
.gch-site-v8 .gck-profile-entry:focus-visible,
.gch-site-v8 .gck-language select:focus-visible {outline:3px solid #5cb5cf!important;outline-offset:4px!important;}
.gch-site-v8 .gck-profile-entry {
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  gap:9px;min-height:50px;padding:9px 15px;
  background:linear-gradient(135deg,#f6fff6,#d2f3e4);
  color:#1a4a55!important;text-decoration:none!important;
  border:3px solid #17233e;border-radius:9px;
  box-shadow:4px 5px 0 #15243d,0 10px 22px rgba(8,22,38,.14);
  text-transform:uppercase;font:900 clamp(11px,.86vw,14px)/1.15 'Trebuchet MS',Arial,sans-serif;
  white-space:nowrap;transition:transform .16s ease,box-shadow .16s ease,background .16s;
}
.gch-site-v8 .gck-profile-entry-icon {
  flex:0 0 24px;width:24px;height:24px;padding:2px;
  color:#255b68;background:rgba(255,255,255,.82);
  border:1px solid rgba(20,52,68,.2);border-radius:50%;
}
.gch-site-v8 .gck-profile-entry:is(:hover,:focus-visible),
.gch-site-v8 .gck-profile-entry.is-active {
  background:linear-gradient(125deg,#fef5cb,#a7ead7);
  box-shadow:2px 3px 0 #15243d,0 7px 17px rgba(8,22,38,.16);
  transform:translateY(1px);
}
.gch-site-v8 .gck-profile-entry[aria-current='page'] {outline:2px solid rgba(255,245,204,.7);outline-offset:2px;}
@media(max-width:1320px){
  .gch-site-v8 .gck-header {gap:10px;}
  .gch-site-v8 .gck-nav {gap:6px;}
  .gch-site-v8 .gck-nav-link {padding:9px 10px;}
  .gch-site-v8 .gck-profile-entry {padding:8px 11px;}
}
@media(max-width:1000px){
  .gch-site-v8 .gck-header {justify-content:space-between;}
  .gch-site-v8 .gck-nav {order:4;flex-basis:100%;width:100%;}
  .gch-site-v8 .gck-profile-entry {order:1;margin-left:auto;}
  .gch-site-v8 .gck-language {order:2;}
}
@media(max-width:620px){
  .gch-site-v8 .gck-header {gap:8px;}
  .gch-site-v8 .gck-profile-entry {min-height:40px;padding:6px 9px;gap:6px;}
  .gch-site-v8 .gck-profile-entry-icon {width:21px;height:21px;flex-basis:21px;}
  .gch-site-v8 .gck-nav {gap:6px;justify-content:center;}
  .gch-site-v8 .gck-nav-link {min-height:41px;padding:7px 9px;}
}
@media(max-width:420px){
  .gch-site-v8 .gck-profile-entry-label {font-size:10px;}
  .gch-site-v8 .gck-logo {font-size:26px;}
  .gch-site-v8 .gck-language>span {display:none;}
}
/* Profile page had no pageStyles in profile.php: give the existing content a
   coherent paper-and-ink surface without touching forms, sessions or POSTs. */
.gch-site-v8 .gch-profile {
  width:min(1180px,calc(100% - 34px));margin:18px auto 75px;
  color:#18314b;font:500 15px/1.6 'Trebuchet MS',Arial,sans-serif;
}
.gch-site-v8 .gch-profile-hero {
  position:relative;overflow:hidden;padding:clamp(24px,3vw,42px);
  background:linear-gradient(122deg,#172d4c,#254c60 70%,#2d6a6b);
  color:#fff9ed;border:4px solid #17233e;border-radius:14px;
  box-shadow:7px 9px 0 #17233e,0 20px 35px rgba(8,28,44,.22);
}
.gch-site-v8 .gch-profile-hero::after {
  content:'✦';position:absolute;right:3%;top:-45px;font-size:210px;line-height:1;
  color:rgba(255,220,130,.12);pointer-events:none;
}
.gch-site-v8 .gch-profile-hero h1 {font:1000 clamp(34px,4vw,58px)/1.1 'Trebuchet MS',Arial,sans-serif;margin:9px 0 8px;}
.gch-site-v8 .gch-profile-kicker {display:block;font-size:12px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;}
.gch-site-v8 .gch-profile-hero p {max-width:680px;margin:5px 0 0;}
.gch-site-v8 .gch-profile-panel {
  margin:20px 0;padding:clamp(17px,2vw,25px);min-width:0;
  background:linear-gradient(135deg,#fffdf7,#f8f4e7);
  border:3px solid #1a2f4a;border-radius:12px;
  box-shadow:5px 6px 0 #152a44;
}
.gch-site-v8 .gch-profile-panel h2 {margin:0 0 12px;font-size:clamp(19px,1.7vw,26px);line-height:1.2;}
.gch-site-v8 .gch-profile-summary,.gch-site-v8 .gch-profile-intro {display:flex;align-items:center;gap:22px;}
.gch-site-v8 .gch-profile-avatar,.gch-site-v8 .gch-profile-large-icon {
  display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;
  background:linear-gradient(135deg,#ffefa5,#ffe0a0);color:#183653;
  border:3px solid #17233e;border-radius:19px 6px 19px 6px;
  font-size:35px;box-shadow:3px 4px 0 #15243d;
}
.gch-site-v8 .gch-profile-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px;}
.gch-site-v8 .gch-profile-stat {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:18px 10px;background:#e9f7f1;border:3px solid #18314b;border-radius:11px;
  box-shadow:4px 5px 0 #17233e;text-align:center;
}
.gch-site-v8 .gch-profile-stat strong {font-size:32px;line-height:1.15;color:#165c62;}
.gch-site-v8 .gch-profile-stat span {font-weight:900;font-size:12px;letter-spacing:.05em;text-transform:uppercase;}
.gch-site-v8 .gch-profile-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.gch-site-v8 .gch-profile-columns > .gch-profile-panel {margin:20px 0;}
.gch-site-v8 .gch-profile-form {display:flex;flex-direction:column;align-items:stretch;gap:8px;}
.gch-site-v8 .gch-profile-form label {font-size:12px;text-transform:uppercase;font-weight:900;}
.gch-site-v8 .gch-profile-form :is(input,select) {
  width:100%;max-width:100%;min-height:43px;padding:9px 12px;
  background:#fff;border:2px solid #a8b9c2;border-radius:8px;color:#172b44;
}
.gch-site-v8 .gch-profile-form :is(input,select):focus-visible {outline:3px solid #67b7ca;outline-offset:2px;}
.gch-site-v8 .gch-profile-button {
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;
  padding:9px 16px;background:#ffdc78;color:#1a304c!important;
  border:2px solid #17233e;border-radius:7px;
  box-shadow:2px 3px 0 #17233e;text-decoration:none;font:900 13px/1.25 'Trebuchet MS',Arial,sans-serif;
  cursor:pointer;transition:background .16s ease,transform .16s;
}
.gch-site-v8 .gch-profile-button.is-secondary {background:#d9f1ed;}
.gch-site-v8 .gch-profile-button:is(:hover,:focus-visible) {background:#bdece1;transform:translateY(-1px);}
.gch-site-v8 .gch-profile-actions {margin:12px 0;}
.gch-site-v8 .gch-profile-favorites {display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:11px;}
.gch-site-v8 .gch-profile-favorite {
  display:flex;flex-direction:column;align-items:center;gap:5px;
  padding:9px;background:#fffefa;border:2px solid #17233e;border-radius:9px;
  text-decoration:none!important;text-align:center;font-weight:800;
}
.gch-site-v8 .gch-profile-favorite img {width:78px;height:78px;object-fit:contain;}
.gch-site-v8 .gch-profile-message {
  padding:13px 16px;border:2px solid #2c6a5e;border-radius:8px;
  background:#e9fff0;box-shadow:2px 3px 0 rgba(12,36,50,.24);
}
.gch-site-v8 .gch-profile-message.is-error {background:#ffe7e9;border-color:#a94357;}
.gch-site-v8 .gch-profile-muted {color:#587084;}
@media(max-width:780px){
  .gch-site-v8 .gch-profile-columns {grid-template-columns:1fr;gap:0;}
  .gch-site-v8 .gch-profile-stats {gap:8px;}
}
@media(max-width:470px){
  .gch-site-v8 .gch-profile {width:calc(100% - 20px);}
  .gch-site-v8 .gch-profile-summary,.gch-site-v8 .gch-profile-intro {align-items:flex-start;gap:12px;}
  .gch-site-v8 .gch-profile-avatar,.gch-site-v8 .gch-profile-large-icon {width:55px;height:55px;flex-basis:55px;font-size:26px;}
  .gch-site-v8 .gch-profile-stat strong {font-size:24px;}
  .gch-site-v8 .gch-profile-stat span {font-size:10px;}
}
@media(prefers-reduced-motion:reduce){
  .gch-site-v8 .gck-profile-entry,.gch-site-v8 .gck-logo,
  .gch-site-v8 .gch-profile-button {transition:none!important;}
}
