/* Chapter palettes: shared by the home entrances, destination pages and states.
   The blue master brand and unaltered photography remain common to every room. */
:root{
 --theme-arcade-ink:#190f2d;--theme-arcade-purple:#43215f;--theme-arcade-gold:#f1c95d;
 --theme-museum-green:#173d30;--theme-museum-dark:#102c23;--theme-museum-paper:#eee3c9;
 --theme-story-blue:#204d76;--theme-story-paper:#f5e8c9;--theme-story-gold:#b9965b;
 --arcade-ink:var(--theme-arcade-ink);--arcade-panel:#302039;--arcade-line:#6b497f;
 --arcade-border:#9976ad;--arcade-copy:#e0d0eb;--arcade-muted:#cbb5dc;
 --arcade-hover:#43215f;--arcade-dark:#0e0a19;--arcade-overlay:#190f2deb;
 --arcade-gold:var(--theme-arcade-gold);--arcade-shadow:#8b692d;--arcade-button-hover:#ffe296;
}
/* Shell accents identify the destination without changing the master logo. */
body[data-chapter=story],body[data-chapter=about]{--shell-accent:var(--theme-story-blue);--shell-tint:#f5e8c9}
body[data-chapter=vintage],.vintage-shell{--shell-accent:var(--theme-museum-green);--shell-tint:var(--theme-museum-paper)}
body[data-chapter=shop]{--shell-accent:#ad302b;--shell-tint:#f7e9e6}
body[data-chapter=shop]:has(.catalog-screen[data-collection=hoodies]){--shell-accent:#72551b;--shell-tint:#f9efcd}
body[data-chapter] .game-header,.vintage-shell .game-header{border-bottom-color:var(--shell-accent,var(--brand-blue))}
body[data-chapter] .game-header .game-nav-item[aria-current=page]{color:var(--shell-accent,var(--brand-blue));background:var(--shell-tint,#edf3f8);border-bottom-color:var(--shell-accent,var(--brand-blue))}
body[data-chapter] .game-header .game-nav-item[aria-current=page]::after{background:var(--shell-accent,var(--brand-blue))}
/* Kings-inspired arcade: pregame, answers, scoreboards, rematches and history. */
.match-app{--navy:var(--arcade-ink);--blue:var(--theme-arcade-purple);--gold:var(--arcade-gold);--pale:var(--arcade-muted);--ice:#f3eef5;--line:#cabbcf;--muted:#65546c}
.match-app .cabinet{border:2px solid var(--arcade-line);box-shadow:6px 6px 0 #c7b3ce}
.match-app .scoreboard{background:var(--theme-arcade-purple);border-top:5px solid #8556a9;border-bottom:2px solid var(--arcade-gold)}
.match-app .scoreboard small{color:#ead9f3}
.match-app .prototype-notice{background:#e8deed;color:#55405f}
.match-app .site-header nav a:hover{background:#e8deed}
.match-app .pregame-screen .meta,.match-app .challenger-name{color:var(--arcade-gold)}
.match-app .faceoff-rules{border-color:var(--arcade-line);color:var(--arcade-muted)}
.match-app .match-delivery{background:var(--arcade-panel)}
.match-app .product-strip{--blue:var(--theme-arcade-purple)}
.quiz-cabinet{border:2px solid var(--arcade-line)}
.quiz-scoreboard{background:var(--theme-arcade-purple);border-top:4px solid #8556a9;border-bottom:2px solid var(--arcade-gold)}
.quiz-button,.reward-ticket .reward-activate{background:var(--arcade-gold);color:var(--arcade-ink)}
.quiz-button:hover,.reward-ticket .reward-activate:hover{background:var(--arcade-button-hover)}
.reward-ticket .reward-activate{box-shadow:4px 4px 0 var(--arcade-shadow)}
/* North Stars museum room: dark green walls, brass rules and paper mounts. */
.vintage-room{
 --brand-ink:#fff0d0;--brand-blue:#edcf91;--brand-paper:var(--theme-museum-dark);
 --vintage-line:#819078;--vintage-muted:#d2d9c6;
 background:var(--theme-museum-green);color:var(--brand-ink);border-top:5px solid #c19e5e;
}
.vintage-edition{color:#edcf91;border-bottom-color:#bca06d}
.vintage-intro h1{font:clamp(24px,3vw,38px)/1.55 var(--type-arcade);letter-spacing:-.035em}
.vintage-room .vintage-kicker{color:#edcf91}
.vintage-room :is(.vintage-browse,.vintage-team-nav,.vintage-how,.vintage-related){border-color:#bca06d}
.vintage-room .vintage-filters :is(input,select),.vintage-room .vintage-share-fallback :is(input,button){background:#f5ecd7;color:#173d30;border-color:#bca06d;color-scheme:light}
.vintage-room .vintage-filters input::placeholder{color:#5e6354;opacity:1}
.vintage-room .vintage-teams{background:#bca06d;border-color:#bca06d}
.vintage-room .vintage-teams button{background:#102c23;color:#fff0d0}
.vintage-room .vintage-teams button:hover,.vintage-room .vintage-teams-toggle:hover{background:#29523e}
.vintage-room .vintage-teams button[aria-pressed=true]{background:#e1c080;color:#102c23}
.vintage-room .vintage-archive-toggle input{accent-color:#e1c080}
.vintage-room .vintage-photo{border:8px solid var(--theme-museum-paper);outline:1px solid #bca06d;outline-offset:-1px;background:var(--theme-museum-paper)}
.vintage-room :is(.vintage-card,.vintage-feature){--brand-ink:#173d30;--brand-blue:#315d46;--vintage-muted:#505b4d;--vintage-line:#baa77c;background:var(--theme-museum-paper);color:var(--brand-ink)}
.vintage-room .vintage-card .vintage-kicker,.vintage-room .vintage-feature .vintage-kicker{color:#505b4d}
.vintage-room .vintage-card-copy{padding:16px 14px 10px}
.vintage-room .vintage-card-actions{margin:0 14px}
.vintage-room .vintage-buy,.vintage-room .vintage-empty button{background:#e1c080;color:#102c23;border-bottom:3px solid #9d783d}
.vintage-room .vintage-buy:hover,.vintage-room .vintage-empty button:hover{background:#f2d9a5}
/* Match-program paper carries from the story invitation to the actual form. */
:is(.story-page,.about-page){--brand-ink:var(--theme-story-blue);--brand-blue:var(--theme-story-blue);--brand-ice:var(--theme-story-paper);--ui-muted:#5b564b;--ui-line:#b9965b;background:var(--theme-story-paper);border-top:5px solid var(--theme-story-blue);border-bottom:4px solid var(--theme-story-gold)}
.story-intro{border-bottom:1px dashed var(--theme-story-gold);padding-bottom:28px}
.story-page :is(.story-form input:not([type=checkbox]),.story-form textarea){background:#fff9eb;color:#283e50}
.story-page .story-form input[type=file]{background:transparent}
.story-page .story-form input::file-selector-button,.story-page .story-submit{background:var(--theme-story-blue);color:#fff9eb}
.story-page .story-process{border-color:var(--theme-story-gold)}
.story-page .story-process>div{border-bottom:1px dashed var(--theme-story-gold)}
.story-page .story-photo-preview{background:#e6d5b1;color:#5b564b}
.story-page .story-thanks{border-color:var(--theme-story-gold)}
/* Detroit apparel and Boston off-ice collection; product artwork stays intact. */
[data-collection=apparel]{--brand-ink:#2a2420;--brand-blue:#ad302b;--brand-ice:#fcf8f4;--ui-muted:#65564f;--ui-line:#c9b6ac;--ui-hover:#f7e9e6;--collection-dark:#ad302b;--collection-light:#fff8ef;--collection-accent:#ad302b;--collection-on-accent:#fff8ef}
[data-collection=hoodies]{--brand-ink:#24241e;--brand-blue:#72551b;--brand-ice:#faf6eb;--ui-muted:#655c49;--ui-line:#b7a77c;--ui-hover:#f1e4bf;--collection-dark:#24241e;--collection-light:#f9efcd;--collection-accent:#d0aa4c;--collection-on-accent:#24241e}
.catalog-screen[data-collection] :is(button,input,select,a):focus-visible{outline:3px solid var(--brand-blue);outline-offset:3px}
#item-dialog[data-collection]{background:var(--brand-ice);border-top:5px solid var(--collection-accent)}
#item-dialog[data-collection] .dialog-head{background:var(--collection-dark);color:var(--collection-light)}
#item-dialog[data-collection] .dialog-head button{color:var(--collection-light);background:transparent}
#item-dialog[data-collection] .dialog-head button:hover{background:#ffffff20;border-color:currentColor}
#item-dialog[data-collection] .chapter-dot{background:var(--collection-accent)}
#item-dialog[data-collection] .product-buy,#item-dialog[data-collection] .mobile-purchase button{background:var(--collection-accent);color:var(--collection-on-accent)}
#item-dialog[data-collection] :is(.product-view-switch button[aria-pressed=true],.live-sizes button[aria-pressed=true]){background:var(--collection-dark);color:var(--collection-light);border-color:var(--collection-dark)}
#item-dialog[data-collection] :is(.product-help-link,.product-save){color:var(--brand-ink)}
#item-dialog[data-collection] .mobile-purchase{background:var(--brand-ice);color:var(--brand-ink);border-color:var(--ui-line)}
@media(max-width:700px){.vintage-intro h1{font-size:27px}.vintage-room .vintage-card-copy{padding:12px 10px 8px}.vintage-room .vintage-card-actions{margin:0 10px}}
@media(max-width:360px){.vintage-intro h1{font-size:23px}}

/* Bag and locker keep the garment chapter through their own loading/empty states. */
#collection-dialog[data-collection]{background:var(--brand-ice);border-top:5px solid var(--collection-accent)}
#collection-dialog[data-collection] .dialog-head{background:var(--collection-dark);color:var(--collection-light)}
#collection-dialog[data-collection] .dialog-head button{color:var(--collection-light);background:transparent}
#collection-dialog[data-collection] .product-buy{background:var(--collection-accent);color:var(--collection-on-accent)}

/* Pending stock checks remain readable without posing as purchasable offers. */
.vintage-pending{color:inherit;font-size:14px}
.vintage-pending-note{border-left:3px solid #e1c080;padding:12px 16px;background:#102c23}
