/* Optional Spectrum Arcade theme. Original style.css is preserved unchanged. */
.theme-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 22px}.theme-picker .theme-label{font-size:10px;letter-spacing:1.4px;font-weight:700;color:var(--muted);margin-right:4px}.theme-picker button{font-size:11px;padding:8px 12px}.theme-picker button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:3px}.arcade-caption{display:none}
body[data-theme=arcade]{color-scheme:dark;--bg:#101326;--panel:#1b203b;--ink:#faf6eb;--muted:#b3b9d4;--teal:#67e8f9;--coral:#ff7f92;--line:#363e62;--lime:#c4fa8b;background:radial-gradient(ellipse at 80% 0%,#653ba52b,transparent 45%),radial-gradient(ellipse at 0% 30%,#29cbe91a,transparent 45%),radial-gradient(#41496b66 1px,transparent 1px),#101326;background-size:auto,auto,20px 20px,auto}
body[data-theme=arcade] header{border-bottom:1px solid #48517d;padding-top:8px}
body[data-theme=arcade] header:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;border-radius:4px;background:linear-gradient(90deg,#ff7f92,#ffc96b,#c4fa8b,#67e8f9,#b39bff)}
body[data-theme=arcade] h1{font-family:'DM Sans',system-ui,sans-serif;font-weight:800;letter-spacing:-3px;text-shadow:3px 3px 0 #333b66}
body[data-theme=arcade] h1 span{background:linear-gradient(90deg,#ffc96b,#c4fa8b,#67e8f9,#b39bff);background-clip:text;-webkit-background-clip:text;color:transparent}
body[data-theme=arcade] h2,body[data-theme=arcade] .discovery h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:700}
body[data-theme=arcade] .arcade-caption{display:block;color:#ffc96b;font-family:ui-monospace,monospace;font-size:11px;letter-spacing:3px;margin-top:14px}
body[data-theme=arcade] button{background:#67e8f9;color:#14223d;box-shadow:0 3px 0 #288b9b;border:1px solid #98f0fa;border-radius:9px}
body[data-theme=arcade] button:hover{background:#a3f3fd;transform:translateY(-1px)}
body[data-theme=arcade] button.secondary{background:#232a48;color:#dce3ff;border-color:#48517d;box-shadow:0 3px 0 #10162a}
body[data-theme=arcade] .pill{background:#202641;color:#d3dcff;border-color:#414d75}
body[data-theme=arcade] .match-progress .pill,body[data-theme=arcade] .total-row td{font-family:ui-monospace,monospace;font-variant-numeric:tabular-nums}
body[data-theme=arcade] .hero{position:relative}
body[data-theme=arcade] .hero .eyebrow{color:#ffc96b}
body[data-theme=arcade] .hero h2{font-weight:800;text-shadow:3px 3px 0 #323b63}
body[data-theme=arcade] .poker-card{color-scheme:light;background:#fffaf0;color:#19243b;border:2px solid var(--category-accent,#67e8f9);box-shadow:0 5px 0 color-mix(in srgb,var(--category-accent,#67e8f9) 40%,#101326),0 10px 24px #0004;--category-accent:#67e8f9}
body[data-theme=arcade] .poker-card[data-category=Space]{--category-accent:#b39bff}
body[data-theme=arcade] .poker-card[data-category=Colors]{--category-accent:#ff7f92}
body[data-theme=arcade] .poker-card[data-category=Plants]{--category-accent:#86d997}
body[data-theme=arcade] .poker-card[data-category=Animals]{--category-accent:#ffc96b}
body[data-theme=arcade] .poker-card[data-category=Weather]{--category-accent:#67e8f9}
body[data-theme=arcade] .poker-card[data-category='Minerals & Gems']{--category-accent:#d5a4f3}
body[data-theme=arcade] .poker-card[data-category=Food]{--category-accent:#ffa672}
body[data-theme=arcade] .poker-card[data-category=Music]{--category-accent:#ff9ccd}
body[data-theme=arcade] .poker-card[data-category=Inventions]{--category-accent:#78dac8}
body[data-theme=arcade] .poker-card[data-category=Mythology]{--category-accent:#a8a4ff}
body[data-theme=arcade] .card h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:700}
body[data-theme=arcade] .card-art{background:color-mix(in srgb,var(--category-accent) 18%,#fffaf0);color:#394767;border:1px solid color-mix(in srgb,var(--category-accent) 40%,#fffaf0)}
body[data-theme=arcade] .position{color:#b3b9d4}
body[data-theme=arcade] .card .position{color:#536079;font-weight:700}
body[data-theme=arcade] .card-details{background:#e5eaf5;color:#2f4263;border:0;box-shadow:none}
body[data-theme=arcade] .card-details:hover{background:#d2ddef}
body[data-theme=arcade] .card-select,body[data-theme=arcade] .card-select:hover{background:transparent;border:0;box-shadow:none;transform:none}
body[data-theme=arcade] .discard-selected{border-color:#ff7189;box-shadow:0 0 0 3px #ff718940,0 7px 0 #6b344d}
body[data-theme=arcade] .discard-selected .discard-label{color:#a6304c}
body[data-theme=arcade] .score-area{background:linear-gradient(150deg,#222844,#171c34);border-color:#48517d;box-shadow:0 6px 0 #0a0f20,0 0 25px #67e8f908;border-top:3px solid #67e8f9}
body[data-theme=arcade] .score-table td{border-color:#343d60}
body[data-theme=arcade] .score-table tr.locked{background:#141a30;opacity:.75}
body[data-theme=arcade] .score-table tr.only-positive{background:#29413e}
body[data-theme=arcade] .score-table .total-row{background:#2d354f;color:#ffc96b}
body[data-theme=arcade] .score-table button{background:#ffc96b;border-color:#ffdda1;color:#31210c;box-shadow:0 2px 0 #9f7033}
body[data-theme=arcade] .score-table button.secondary{background:#2c334e;color:#dce3ff;border-color:#48517d;box-shadow:0 2px 0 #10162a}
body[data-theme=arcade] .banner{background:#1d3441;border-color:#38616d;color:#d8f7fd}
body[data-theme=arcade] .discovery,body[data-theme=arcade] .pattern-list{background:#1b213b;border-color:#414d75}
body[data-theme=arcade] .discovery.unlocked{background:linear-gradient(140deg,#283947,#20283f);border-color:#8ecbc0;box-shadow:0 0 18px #67e8f912}
body[data-theme=arcade] .discovery .symbol{color:#ffc96b}
body[data-theme=arcade] .recipe{color:#c3cdea}
body[data-theme=arcade] .discovery-compact{background:#2a3548;border-color:#849e6b;color:#e3ffd0}
body[data-theme=arcade] .discovery-compact small{color:#c0d5b3}
body[data-theme=arcade] .pattern-list>div{border-color:#333e60}
body[data-theme=arcade] .card-back{background:repeating-linear-gradient(45deg,#262d55,#262d55 8px,#303962 8px,#303962 16px);color:#f9f1dd;border-color:#b39bff;box-shadow:4px 4px 0 #66609b,8px 8px 0 #34385c}
body[data-theme=arcade] .card-back:hover{background:#394372}
body[data-theme=arcade] .empty-slot{background:#1b213b;border-color:#657095}
body[data-theme=arcade] dialog{background:#1b213b;border-color:#657095}
body[data-theme=arcade] .hand-grid.player-hand .card h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:700}
@media(min-width:1000px){body[data-theme=arcade] header{padding-right:430px}.theme-picker{min-height:34px}}
@media(max-width:600px){.theme-picker .theme-label{width:100%}body[data-theme=arcade] h1{letter-spacing:-2px}.arcade-caption{font-size:10px!important;letter-spacing:2px!important}}

/* Five-card fan beside the existing, unchanged wordmark. */
.brand-lockup{display:flex;align-items:center;gap:12px;margin:16px 0 8px;max-width:100%}.brand-lockup h1{margin:0;white-space:nowrap}.site-fan-mark{display:block;width:90px;height:74px;flex:0 0 auto}.site-fan-mark text{text-shadow:none}
body:has(.match-progress) .brand-lockup{margin:10px 0 4px}body:has(.match-progress) .brand-lockup h1{margin:0}body:has(.match-progress) .site-fan-mark{width:62px;height:51px}
@media(max-width:600px){.brand-lockup{gap:6px}.site-fan-mark{width:61px;height:50px}.brand-lockup h1{font-size:clamp(29px,8.6vw,43px)}body:has(.match-progress) .brand-lockup h1{font-size:clamp(28px,8vw,40px)}body:has(.match-progress) .site-fan-mark{width:53px;height:44px}}
body[data-theme=arcade] .preferences{background:#191f37}body[data-theme=arcade] .first-seen{color:#37654d}body[data-theme=arcade] .unseen-card{background:#1b213b;border-color:#4c567e;color:#b3b9d4}body[data-theme=arcade] .unseen-card .position{color:#b3b9d4}body[data-theme=arcade] .active-worlds{background:#191f37}body[data-theme=arcade] select{background:#202641;color:#faf6eb;border-color:#48517d}
