/* Shared navigation uses the broadcast palette; game identities remain independent. */
.site-header,.site-footer{--shell-ink:#080f20;--shell-orange:#ff773d;--shell-white:#f4f6fc;--shell-muted:#9aa8bd}
.site-header{position:relative;z-index:6;background:var(--shell-ink);border:0;padding:0;box-shadow:none}
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:88px;width:min(1320px,calc(100% - 72px));margin:auto}
.site-header .shell-brand,.site-footer .shell-brand{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap;text-decoration:none;line-height:1;letter-spacing:-.5px;min-width:0;font-family:var(--display);font-weight:800;font-style:italic}
.shell-brand .shell-brand-rlcs{font-size:38px;color:var(--shell-white)}
.shell-brand .shell-brand-daily{font-size:38px;color:var(--shell-orange)}
.site-header .subnav{position:static;z-index:auto;background:transparent;box-shadow:none;border:0;padding:0;margin:0 auto}
.site-header .subnav-inner{display:block;width:auto;min-height:0;margin:0}
.site-header .subnav nav{display:flex;align-items:center;gap:6px;padding:0}
.site-header .subnav .shell-tab{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--shell-muted);padding:12px 18px;min-height:44px;border:0;border-radius:3px;font-family:var(--display);font-size:19px;font-weight:800;line-height:1.2;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;box-shadow:none;transition:background .18s,color .18s}
.site-header .shell-tab-icon{display:none}
.site-header a.shell-tab{text-decoration:none}
.site-header .subnav .shell-tab:hover{color:var(--shell-white);background:#ffffff08}
.site-header .subnav .shell-tab.is-active{background:#ff773d12;color:var(--shell-orange)}
.site-header .subnav .shell-tab:after{content:none}
.shell-random{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;background:transparent;color:var(--shell-ink);border:0;border-radius:2px;font-family:var(--display);font-size:18px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}
.shell-random:before{content:'';position:absolute;inset:0;z-index:-1;background:var(--shell-orange);clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);transition:background .18s,clip-path .18s}
.shell-random>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.shell-random>svg circle{fill:currentColor;stroke:none}
.shell-random:hover:before{background:#ff9466;clip-path:polygon(17px 0,100% 0,100% calc(100% - 17px),calc(100% - 17px) 100%,0 100%,0 17px)}
.shell-random:active:before{background:#f0652b}
.site-footer{position:relative;background:var(--shell-ink);padding:48px 0 26px;color:var(--shell-white)}
.site-footer .shell-footer-main{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:0 0 40px}
.site-footer .shell-brand{gap:10px}
.site-footer .shell-brand-rlcs,.site-footer .shell-brand-daily{font-size:53px}
.shell-footer-games{display:flex;align-items:center;gap:32px;margin-left:auto}
.shell-footer-game{display:flex;align-items:center;justify-content:center;gap:12px;background:none;color:#d9e1ef;border:0;border-radius:2px;padding:10px 0;min-height:44px;font-family:var(--display);font-size:21px;line-height:1;font-weight:800;text-transform:uppercase;letter-spacing:.4px;transition:color .18s}
.shell-footer-icon{display:none}
.shell-game-arrow{font-family:var(--font);font-size:20px;color:var(--shell-orange);transition:transform .18s}
.shell-footer-game:hover{color:var(--shell-orange)}
.shell-footer-game:hover .shell-game-arrow{transform:translate(2px,-2px)}
.shell-top{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border:0;border-radius:2px;background:#172238;color:var(--shell-white);transition:background .18s,color .18s}
.shell-top svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shell-top:hover{background:var(--shell-orange);color:var(--shell-ink)}
.site-footer .shell-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0}
.shell-footer-bottom>div{display:flex;gap:20px;font-family:var(--font);font-size:11px;line-height:1.7;color:var(--shell-muted)}
.shell-credits{border:0;border-radius:2px;background:none;padding:10px 0;font-family:var(--font);font-size:12px;font-weight:600;line-height:1.3;color:#cbd5e4;text-decoration:none;min-height:44px}
.shell-credits:hover{color:var(--shell-orange)}
.shell-credits span{margin-left:5px}
.site-header :focus-visible,.site-footer :focus-visible{outline:2px solid var(--shell-orange);outline-offset:5px}
@media(max-width:1100px){.site-header .header-inner{gap:16px;width:calc(100% - 48px)}.shell-brand .shell-brand-rlcs,.shell-brand .shell-brand-daily{font-size:32px}.site-header .subnav .shell-tab{padding:12px;font-size:17px}.shell-random{font-size:16px;padding:11px 13px}.site-footer .shell-brand-rlcs,.site-footer .shell-brand-daily{font-size:44px}.shell-footer-games{gap:24px}.shell-footer-game{font-size:19px}}
@media(max-width:850px){.site-header .header-inner{display:grid;grid-template-columns:1fr auto;gap:0 20px;width:calc(100% - 40px);padding:19px 0 12px}.site-header .shell-brand{grid-column:1;grid-row:1;justify-self:start}.shell-random{grid-column:2;grid-row:1;justify-self:end}.site-header .subnav{grid-column:1/-1;grid-row:2;margin:17px 0 0;width:100%}.site-header .subnav nav{justify-content:center;gap:8px}.site-header .subnav .shell-tab{flex:1}.site-footer .shell-footer-main{flex-wrap:wrap;gap:24px 20px;padding-bottom:24px}.site-footer .shell-brand{margin-right:auto}.shell-footer-games{order:3;margin-left:0;flex:1 1 100%;justify-content:flex-start;gap:32px}.shell-footer-bottom>div{gap:4px;flex-direction:column}.site-footer{padding-top:34px}}
@media(max-width:480px){.site-header .header-inner{width:calc(100% - 32px);gap:0 12px;padding:17px 0 10px}.site-header .shell-brand{gap:5px}.shell-brand .shell-brand-rlcs,.shell-brand .shell-brand-daily{font-size:28px}.shell-random{font-size:15px;padding:10px 12px;gap:7px}.shell-random>svg{width:17px;height:17px}.site-header .subnav{margin-top:13px}.site-header .subnav nav{gap:4px}.site-header .subnav .shell-tab{font-size:16px;padding:11px 9px;letter-spacing:.3px}.site-footer{padding-bottom:20px}.site-footer .shell-brand{gap:7px}.site-footer .shell-brand-rlcs,.site-footer .shell-brand-daily{font-size:40px}.shell-footer-games{justify-content:space-between;gap:18px}.shell-footer-game{font-size:18px;gap:9px}.shell-game-arrow{font-size:18px}.site-footer .shell-footer-bottom{align-items:flex-end;gap:14px}.shell-footer-bottom>div{font-size:10px}.shell-credits{font-size:11px;white-space:nowrap}}
@media(max-width:350px){.shell-brand .shell-brand-rlcs,.shell-brand .shell-brand-daily{font-size:25px}.shell-random{font-size:14px;padding-inline:9px;gap:6px}.site-header .subnav .shell-tab{font-size:15px;padding-inline:6px}.site-footer .shell-brand-rlcs,.site-footer .shell-brand-daily{font-size:35px}.shell-footer-game{font-size:17px;gap:7px}.shell-footer-games{gap:12px}.shell-footer-bottom>div{font-size:9px}.shell-credits{font-size:10px}}
@media(prefers-reduced-motion:reduce){.site-header *,.site-footer *,.shell-random:before{transition:none!important}}

.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:20px;padding-block:16px;min-height:88px}
.site-header .shell-brand{grid-column:1;grid-row:1;justify-self:start}
.site-header .shell-random{grid-column:3;grid-row:1;justify-self:end;margin-left:0}
@media(max-width:600px){
  .site-header .header-inner{gap:8px;min-height:76px;padding-block:14px}
  .site-header .shell-brand{gap:4px}
  .site-header .shell-brand-rlcs,.site-header .shell-brand-daily{font-size:25px}
  .site-header .shell-random{width:44px;height:44px;padding:0}
  .shell-random>span{display:none}
}
@media(max-width:350px){
  .site-header .shell-brand-rlcs,.site-header .shell-brand-daily{font-size:22px}
}
