/* Shared shell. Board cells and their tactile hit areas retain their own theme. */
body.boardgame-hub{--paper:#101718;--white:#1a2325;--ink:#f5f1e7;--muted:#b3bdbb;--line:#ffffff25;--wash:#253234;--green:#eac483;--green-hover:#f7dbaa;--accent:#eac483;--shadow:0 18px 48px #0003;background:#101718;color:#f5f1e7;color-scheme:dark}
body.boardgame-hub .skip-link{background:#f5f1e7;color:#172423!important;z-index:1000}
body.boardgame-hub .header{background:#11191af5;color:#f5f1e7;border-bottom:1px solid #ffffff18;box-shadow:none}
body.boardgame-hub .header :is(.brand,.main-nav a,.profile-button){color:#f5f1e7}
body.boardgame-hub .header .main-nav a[aria-current=page]{color:#eac483;border-color:#eac483}
body.boardgame-hub :is(.brand-icon,.avatar){background:linear-gradient(135deg,#dbb875,#a67d3e);color:#152022}
body.boardgame-hub :is(.brand small,.muted,.card-origin,.card-region){color:#b3bdbb}
body.boardgame-hub .footer{background:#101718;border-color:#ffffff20;color:#b3bdbb}
body.boardgame-hub .footer a{color:#d5dcd7}
body.boardgame-hub .page{max-width:1440px}
body.boardgame-hub .page :is(h1,h2,h3){color:#f5f1e7}
body.boardgame-hub :is(.editorial-heading,.catalog-hero,.rules-heading){padding-top:44px}
body.boardgame-hub .page h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}
body.boardgame-hub .page :is(h1 em,h2 em){color:#eac483}
body.boardgame-hub :is(.eyebrow,.text-link,.back-link){color:#eac483}
body.boardgame-hub :is(.dialog,.panel,.learn-card,.game-card,.rules-variant,.rules-text,.movement-library,.movement-player,.learning-card,.account-form){background:#1a2325;color:#f5f1e7;border:1px solid #ffffff24;border-radius:16px;box-shadow:none}
body.boardgame-hub .dialog::backdrop{background:#060c10c9;backdrop-filter:blur(5px)}
body.boardgame-hub :is(.dialog input,.dialog select,.setting input,.setting select,.search,.search input,.geography-toolbar select){background:#142023;color:#f5f1e7;border-color:#ffffff35}
body.boardgame-hub .page :is(.button.primary,.home-primary){background:#eac483;color:#172321;border-color:#eac483;text-shadow:none}
body.boardgame-hub .page :is(.button.subtle,.chip){background:#202d30;color:#f5f1e7;border-color:#ffffff30}
body.boardgame-hub .page .chip.active{background:#eac483;color:#172321}
body.boardgame-hub .page :is(.button,.chip,.text-link){min-height:44px;align-content:center}
body.boardgame-hub .game-card{overflow:hidden;transition:transform .2s,border-color .2s}
body.boardgame-hub .game-card:hover{transform:translateY(-3px);border-color:#eac483}
body.boardgame-hub .card-image{background:radial-gradient(ellipse at 50% 60%,#82603555,#162124 70%)}
body.boardgame-hub :is(.card-copy,.card-meta,.learn-intro,.learn-card p,.rules-actions,.rules-text-heading p){color:#b3bdbb}
body.boardgame-hub .learn-card{align-items:start;padding:24px;gap:22px}
body.boardgame-hub .learn-card h3{font:26px Georgia,serif}
body.boardgame-hub .learn-intro{border-block:1px solid #ffffff20;padding-block:25px;margin-bottom:48px}
body.boardgame-hub .learn-intro span{color:#eac483}
body.boardgame-hub :is(.rules-page,.learning-page){max-width:1180px;margin-inline:auto}
body.boardgame-hub :is(.rules-variant,.rules-text,.movement-library){margin-top:24px}
body.boardgame-hub :is(.rules-text li,.movement-choice,.movement-stage,.movement-playlist){background:#142023;color:#f5f1e7;border-color:#ffffff28}
body.boardgame-hub .movement-choice[aria-pressed=true]{background:#eac483;color:#172321}
body.boardgame-hub .movement-player-heading p{color:#c2cdc8}
body.boardgame-hub .movement-play{background:#eac483;color:#172321}
body.boardgame-hub .movement-timeline{accent-color:#eac483}
body.boardgame-hub .movement-video-note{color:#bdc9c5}
body.boardgame-hub.home-body.home-editorial.ambient-shell{background:#101718;color:#f5f1e7;background-image:none}
body.boardgame-hub.home-body.home-editorial .header{background:#11191af5;border-bottom:1px solid #ffffff18}
body.boardgame-hub.home-editorial :is(.home-selection,.home-worlds,.home-learn-story,.home-closing,.home-salons){color:#f5f1e7}
body.boardgame-hub.home-editorial :is(.home-section-heading p,.home-story-copy p,.home-game-pick p,.home-promise){color:#b3bdbb}
body.boardgame-hub.home-editorial :is(.home-game-pick,.home-learn-story,.home-story-art){background:#1a2325;border-color:#ffffff25}
body.boardgame-hub.home-editorial .home-game-pick small{color:#eac483}
body.boardgame-hub.home-editorial .home-pick-art{background:radial-gradient(ellipse,#a67d3e33,transparent 72%)}
body.boardgame-hub.home-editorial .home-story-art{color:#eac483}
body.boardgame-hub.home-editorial .home-closing{border-top:1px solid #ffffff20}
body.boardgame-hub .legal-page{color:#dbe1dc}
body.boardgame-hub :focus-visible{outline:3px solid #eac483;outline-offset:4px}
@media(max-width:700px){body.boardgame-hub .header{padding:14px 16px;height:auto;gap:12px;flex-wrap:wrap}body.boardgame-hub .main-nav{order:3;width:100%;overflow:auto;flex-wrap:nowrap;gap:22px;padding:5px 0}body.boardgame-hub .main-nav a{white-space:nowrap;min-height:36px;align-content:center}body.boardgame-hub .learn-card{padding:18px;gap:14px}body.boardgame-hub .page{padding-inline:18px}body.boardgame-hub .editorial-heading h1{font-size:42px}body.boardgame-hub .footer{gap:18px}}
@media(prefers-reduced-motion:reduce){body.boardgame-hub .game-card{transition:none}}

html:has(body.boardgame-hub){background:#101718}
body.boardgame-hub.home-body.home-editorial .header .main-nav a{color:#f5f1e7}
body.boardgame-hub.home-body.home-editorial .header .main-nav a[aria-current=page]{color:#eac483}
body.boardgame-hub .profile-button{text-decoration:none}
body.boardgame-hub .profile-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:24px 0}
body.boardgame-hub .profile-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}
body.boardgame-hub .profile-layout>.panel{padding:28px}
body.boardgame-hub .profile-links{display:grid;gap:16px}
body.boardgame-hub .profile-links a{display:block;text-decoration:none;padding:24px}
body.boardgame-hub .profile-links span{font-size:11px;letter-spacing:.13em;color:#eac483}
body.boardgame-hub .profile-links h2{margin:10px 0;font:26px Georgia,serif}
body.boardgame-hub .profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}
body.boardgame-hub .profile-stats[hidden]{display:none}
body.boardgame-hub .profile-stats strong{display:block;font:36px Georgia,serif;color:#eac483}
body.boardgame-hub .profile-stats span{color:#b3bdbb;font-size:13px}
@media(max-width:760px){body.boardgame-hub .profile-layout{grid-template-columns:1fr}body.boardgame-hub .profile-overview{display:block}body.boardgame-hub .profile-stats{grid-template-columns:repeat(2,1fr)}}
