/* GWK shared chrome v1 — scoped to the shared shell, no app/game styles overridden. */
:root{--gwk-brand-bg:#07131f;--gwk-brand-panel:#0d2030;--gwk-brand-line:#2b4455;--gwk-brand-text:#f1f8fb;--gwk-brand-muted:#acc0ca;--gwk-brand-cyan:#25c5f3;--gwk-brand-amber:#ffbf75}
body.gwk-shell-page{background-color:var(--gwk-brand-bg);}
.gwk-chrome-header,.gwk-chrome-footer{box-sizing:border-box;position:relative;z-index:8;width:100%;color:var(--gwk-brand-text);background:#07131f!important;line-height:1.5;font-family:system-ui,-apple-system,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;font-size:14px;letter-spacing:normal;text-align:left;}
.gwk-chrome-header *, .gwk-chrome-footer *{box-sizing:border-box;}
.gwk-chrome-header{border-bottom:1px solid #2b5064;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;text-align:left!important;}
.gwk-chrome-container{width:min(calc(100% - 32px),1180px);margin-inline:auto;}
.gwk-chrome-main{min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:10px 0;}
.gwk-chrome-brand{display:flex;align-items:center;gap:11px;color:var(--gwk-brand-text)!important;text-decoration:none!important;min-width:0;}
.gwk-chrome-brand img{width:48px;height:48px;flex:none;object-fit:contain;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:50%;}
.gwk-chrome-brand-label{display:flex;flex-direction:column;gap:1px;line-height:1.25;}
.gwk-chrome-brand-label strong{font-size:18px;font-weight:800;color:var(--gwk-brand-text)!important;letter-spacing:.015em;}
.gwk-chrome-brand-label small{font-size:10px;letter-spacing:.13em;color:var(--gwk-brand-muted)!important;}
.gwk-chrome-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.gwk-chrome-back{border:1px solid #416476;padding:9px 15px;border-radius:30px;background:#10283a;color:#bcefff!important;text-decoration:none!important;white-space:nowrap;font-weight:650;line-height:1.2;}
.gwk-chrome-back:hover,.gwk-chrome-back:focus-visible{border-color:var(--gwk-brand-cyan);color:white!important;}
.gwk-chrome-nav{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin:0 0 10px;}
.gwk-chrome-nav a{color:#bdd3df!important;font-size:12px;text-decoration:none!important;padding:7px 12px;border-radius:20px;border:1px solid transparent;white-space:nowrap;}
.gwk-chrome-nav a:hover,.gwk-chrome-nav a:focus-visible,.gwk-chrome-nav a[aria-current='page']{background:#143449;border-color:#315770;color:#fff!important;}
.gwk-chrome-footer{border-top:1px solid #2b5064;margin-top:52px;padding:28px 0 20px;clear:both;}
.gwk-chrome-footer-main{display:flex;align-items:start;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.gwk-chrome-footer-name{font-size:17px;letter-spacing:.02em;color:var(--gwk-brand-text)!important;}
.gwk-chrome-footer-desc{display:block;font-size:12px;color:var(--gwk-brand-muted)!important;margin-top:4px;}
.gwk-chrome-footer nav{display:flex;gap:12px 20px;flex-wrap:wrap;max-width:680px;}
.gwk-chrome-footer nav a{font-size:13px;color:#bcefff!important;text-decoration:underline!important;text-underline-offset:4px;}
.gwk-chrome-footer nav a:hover{color:white!important;}
.gwk-chrome-copy{padding-top:18px;margin-top:20px;border-top:1px solid #253e50;font-size:11px;color:#90aebe!important;}
.gwk-chrome-header a:focus-visible,.gwk-chrome-footer a:focus-visible{outline:3px solid var(--gwk-brand-amber);outline-offset:3px;}
/* Homepage category tiles: the same visual treatment for all four sections. */
.gwk2-grid .gwk2-card.gwk-unified-tile{display:flex!important;align-items:center;justify-content:flex-start!important;min-height:206px;flex-direction:row!important;gap:20px;background:linear-gradient(145deg,#10283d,#0a1d2e)!important;border:1px solid #285c78!important;border-radius:20px!important;padding:24px!important;}
.gwk2-grid .gwk2-card.gwk-unified-tile .gwk-tile-icon{width:76px;height:76px;flex:none;object-fit:contain;background:#0a2134;border:1px solid #2a6682;border-radius:18px;padding:15px;}
.gwk2-grid .gwk2-card.gwk-unified-tile .gwk2-card-copy{display:flex;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:6px;}
.gwk2-grid .gwk2-card.gwk-unified-tile strong{font-size:clamp(23px,3vw,32px);color:#f4fbff;}
.gwk2-grid .gwk2-card.gwk-unified-tile small{font-size:11px;letter-spacing:.11em;color:#69d8f2;}
.gwk2-grid .gwk2-card.gwk-unified-tile:hover{border-color:#4ccdeb!important;background:#133a54!important;}
/* Unified list placeholders; category/game details remain untouched. */
body.gwk-shell-page .c-grid .c-card .new-visual{background:linear-gradient(135deg,#112f46,#0a2032)!important;border:1px solid #2a7597!important;gap:8px;}
body.gwk-shell-page .c-grid .c-card .new-visual .gwk-catalog-icon{width:54px;height:54px;display:block;object-fit:contain;margin:4px auto 2px;}
body.gwk-shell-page .c-grid .c-card .new-visual strong{color:#f1f8fb!important;font-size:clamp(18px,2vw,25px)!important;}
@media(max-width:620px){
 .gwk-chrome-container{width:min(calc(100% - 24px),1180px)}
 .gwk-chrome-main{min-height:70px;gap:10px;flex-wrap:nowrap;}
 .gwk-chrome-brand img{width:40px;height:40px}
 .gwk-chrome-brand-label strong{font-size:16px}
 .gwk-chrome-brand-label small{font-size:9px}
 .gwk-chrome-back{font-size:12px;padding:8px 10px}
 .gwk-chrome-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:9px;scrollbar-width:thin;gap:3px;}
 .gwk-chrome-nav a{padding:6px 10px}
 .gwk-chrome-footer{margin-top:36px}
 .gwk2-grid .gwk2-card.gwk-unified-tile{min-height:135px;padding:16px!important;gap:13px;}
 .gwk2-grid .gwk2-card.gwk-unified-tile .gwk-tile-icon{width:53px;height:53px;border-radius:12px;padding:10px}
}
@media(prefers-reduced-motion:reduce){.gwk-chrome-header *,.gwk-chrome-footer *{scroll-behavior:auto!important;}}
