:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0f172a;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}html{-webkit-text-size-adjust:100%;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{background:radial-gradient(circle at top,#1f2937 0,#020617 55%);min-height:100dvh;margin:0;overflow-x:clip}#root{min-height:100dvh}.app-shell{min-height:100dvh;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));box-sizing:border-box;justify-content:center;align-items:center;display:flex}.app-shell--home{align-items:flex-start}.home-entry-stack{flex-direction:column;gap:20px;width:100%;max-width:440px;margin:0 auto;display:flex}.home-mode-toggle{background:#0f172aa6;border:1px solid #4755698c;border-radius:999px;gap:8px;margin:0 0 18px;padding:4px;display:flex}.home-mode-tab{color:#9ca3af;background:0 0;border:1px solid #0000;border-radius:999px;flex:1;min-height:44px;padding:10px 12px;font-size:13px;font-weight:600}.home-mode-tab:hover:not(:disabled){box-shadow:none;color:#e5e7eb;transform:none}.home-mode-tab--active{color:#f8fafc;background:#1e293bf2;border-color:#94a3b873}.field-hint{color:#6b7280;margin-top:2px;font-size:12px;display:block}.card{color:#e5e7eb;background:#0f172ae6;border:1px solid #94a3b84d;border-radius:24px;width:100%;max-width:420px;padding:32px 32px 28px;box-shadow:0 24px 60px #0f172ab3}.title{letter-spacing:.03em;color:#f8fafc;margin:0 0 8px;font-size:28px}.home-card-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 14px;margin-bottom:4px;display:flex}.home-card-header .title{flex:auto;min-width:0;margin:0}.home-how-to-play{cursor:pointer;touch-action:manipulation;color:#e5e7eb;background:#1e293bd9;border:1px solid #94a3b873;border-radius:999px;flex:none;align-self:center;padding:8px 14px;font-size:13px;font-weight:600}.home-how-to-play:hover{background:#1e293bf2;border-color:#fbbf2473}.home-how-to-play:focus-visible{outline-offset:2px;outline:2px solid #fbbf24}.subtitle{color:#9ca3af;margin:0 0 20px;font-size:14px}.field-group{flex-direction:column;gap:4px;margin-bottom:16px;display:flex}.field-group label{color:#9ca3af;font-size:13px}input{box-sizing:border-box;color:#e5e7eb;touch-action:manipulation;-webkit-tap-highlight-color:#fbbf241f;background:#020617;border:1px solid #4b5563;border-radius:999px;outline:none;min-height:44px;padding:10px 14px;font-size:16px}input:focus{border-color:#f97316;box-shadow:0 0 0 1px #f97316}.actions{flex-direction:column;gap:12px;margin-top:8px;display:flex}button{cursor:pointer;color:#e5e7eb;touch-action:manipulation;-webkit-tap-highlight-color:#fbbf2426;background:#111827;border:1px solid #4b5563;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:500;transition:background .15s,transform .1s,box-shadow .15s}button.primary{color:#111827;background:linear-gradient(90deg,#fb923c,#f97316);border-color:#0000;min-height:48px}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 25px #0f172a80}button:disabled{opacity:.5;cursor:not-allowed}.divider{text-align:center;color:#6b7280;font-size:12px}.error{color:#fecaca;background:#ef44441a;border-radius:999px;margin-top:12px;padding:6px 12px;font-size:13px}.player-list{flex-direction:column;gap:6px;margin-top:12px;margin-bottom:8px;display:flex}.player-row{background:#0f172acc;border:1px solid #374151e6;border-radius:999px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:13px;display:flex}.badge{color:#fed7aa;background:#f9731626;border-radius:999px;padding:2px 8px;font-size:11px}.hint{color:#9ca3af;margin-top:8px;margin-bottom:16px;font-size:12px}.game-layout{min-height:100dvh;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));box-sizing:border-box;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,3fr) minmax(260px,1fr);align-content:start;gap:16px;display:grid}.game-top-row{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.game-top-bar{color:#e5e7eb;min-height:48px;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:#fbbf241f;background:#0f172aeb;border:1px solid #94a3b873;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:10px 16px;transition:border-color .15s,background .15s;display:flex}.game-top-bar--sets{width:100%;min-width:0}.game-top-bar--tutorial{width:100%;min-width:0;font-weight:600}.game-top-row .theme-toggle{z-index:auto;box-sizing:border-box;width:100%;min-width:0;min-height:48px;box-shadow:none;justify-content:center;position:static;top:auto;right:auto}.game-top-bar:hover{background:#1e293bf2;border-color:#fbbf2473}.game-top-bar:focus-visible{outline-offset:2px;outline:2px solid #f97316}.game-top-bar-label{color:#94a3b8;font-size:14px}.game-top-bar-value{font-variant-numeric:tabular-nums;color:#fcd34d;text-align:center;min-width:1.25em;font-size:20px;font-weight:700}.board-area{grid-area:2/1;justify-content:center;align-items:stretch;width:100%;min-width:0;height:min(72dvh,680px);min-height:0;max-height:min(72dvh,680px);display:flex;position:relative}.board{flex:auto;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));align-content:stretch;gap:10px;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;display:grid}.card-tile{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:#ffea0040;background:#f9fafb;border:2px solid #0000;border-radius:16px;justify-content:center;align-items:center;min-width:0;min-height:0;padding:10px;display:flex;position:relative;overflow:hidden}.card-tile.selected:after{content:"";pointer-events:none;z-index:2;border:3px solid #facc15;border-radius:11px;position:absolute;inset:5px;box-shadow:inset 0 0 0 1px #fafad259,0 0 16px #facc1573}.card-slot-label{z-index:4;font-variant-numeric:tabular-nums;text-align:right;color:#000;pointer-events:none;-webkit-user-select:none;user-select:none;background:0 0;border:none;margin:0;padding:0;font-family:ui-serif,Georgia,Times New Roman,Times,serif;font-size:13px;font-weight:600;line-height:1;position:absolute;top:6px;right:6px}.card-tile.disabled{opacity:.55;cursor:default}.card-image{z-index:1;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;flex:0 auto;width:auto;min-width:0;max-width:100%;height:auto;min-height:0;max-height:100%;display:block;position:relative}@keyframes cardReplaceLeave{0%{opacity:1}to{opacity:0}}@keyframes cardReplaceEnter{0%{opacity:0}to{opacity:1}}.card-image.card-replace-leave{animation:.25s forwards cardReplaceLeave}.card-image.card-replace-enter{animation:.25s forwards cardReplaceEnter}.sidebar{color:#e5e7eb;background:#0f172af2;border:1px solid #94a3b880;border-radius:20px;flex-direction:column;grid-area:2/2;gap:8px;padding:16px 18px;display:flex}.sidebar .sidebar-meta{color:#94a3b8;margin:0;font-size:13px}button.reshuffle-deck{color:#fde68a;background:#fbbf241f;border-color:#fbbf2473;border-radius:12px;align-self:stretch;min-height:44px;margin-top:4px;padding:12px 14px;font-size:14px}button.reshuffle-deck:hover:not(:disabled){background:#fbbf2433;border-color:#fbbf24a6}.game-inline-error{color:#fecaca;background:#ef44441f;border:1px solid #f8717173;border-radius:12px;margin-top:8px;padding:10px 12px;font-size:13px}.game-inline-error p{margin:0 0 8px;line-height:1.4}.game-inline-error-dismiss{min-height:44px;padding:8px 14px;font-size:13px}.score-list{flex-direction:column;gap:4px;margin:4px 0 0;padding:0;list-style:none;display:flex}.score-list li{border-radius:12px;flex-direction:column;align-items:stretch;gap:6px;padding:8px 10px;font-size:13px;display:flex}.score-list li.me{background:#f9731626}.player-line-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.player-nickname{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.player-score{font-variant-numeric:tabular-nums;color:#fcd34d;flex-shrink:0}.player-captured-sets{flex-wrap:wrap;gap:6px;padding-top:2px;display:flex}.captured-mini-set{background:#0f172ae6;border:1px solid #64748b80;border-radius:6px;gap:2px;padding:3px 4px;display:flex}.captured-mini-card{object-fit:contain;border-radius:3px;width:28px;height:auto;max-height:38px;display:block}.celebration-overlay{z-index:50;pointer-events:none;padding:12px 16px max(12px, env(safe-area-inset-bottom));justify-content:center;align-items:flex-end;display:flex;position:fixed;bottom:0;left:0;right:0}.celebration-card{pointer-events:none;text-align:center;background:linear-gradient(145deg,#1e293bf5,#0f172afa);border:1px solid #fbbf248c;border-radius:12px;max-width:min(280px,100% - 8px);padding:8px 14px 10px;animation:.4s cubic-bezier(.34,1.25,.64,1) forwards celebrationPop;box-shadow:0 0 0 1px #fbbf241f,0 12px 32px #00000073,0 0 24px #f9731626}.celebration-kicker{letter-spacing:.12em;text-transform:uppercase;color:#fcd34d;font-size:10px;font-weight:600}.celebration-headline{color:#e5e7eb;margin:0 0 5px;font-size:12px;line-height:1.35}.celebration-preview{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.celebration-card-img{object-fit:contain;border-radius:6px;width:40px;height:auto;max-height:52px;box-shadow:0 4px 12px #00000059}@keyframes celebrationPop{0%{opacity:0;transform:scale(.92)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.toast{color:#bbf7d0;background:#22c55e26;border-radius:999px;align-self:flex-start;margin-top:12px;padding:6px 10px;font-size:12px;animation:2.2s forwards fadeOut}.toast-error{color:#fecaca;background:#ef444426}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}80%{opacity:1}to{opacity:0;transform:translateY(-4px)}}.board-error-popover-wrap{pointer-events:none;z-index:30;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.board-error-popover{pointer-events:none;text-align:center;color:#fef2f2;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#7f1d1de0;border:1px solid #fecaca73;border-radius:16px;max-width:min(340px,92%);padding:14px 22px;font-size:15px;font-weight:600;line-height:1.35;animation:2.2s forwards boardErrorPopoverOut;box-shadow:0 16px 48px #00000059}@keyframes boardErrorPopoverOut{0%{opacity:0;transform:scale(.94)}10%{opacity:1;transform:scale(1)}78%{opacity:1}to{opacity:0;transform:scale(.98)}}button.card-tile:hover:not(:disabled){transform:none}button.card-tile:focus-visible{outline-offset:2px;outline:2px solid #fbbf24}@keyframes confettiFall{0%{opacity:1;transform:translateY(-15vh)translate(0)rotate(0)}to{transform:translateY(115vh) translateX(12px) rotate(var(--confetti-rotate,720deg));opacity:.9}}.game-over-overlay{z-index:200;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-overflow-scrolling:touch;background:#020617c7;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow-y:auto}.confetti-layer{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}.confetti-piece{animation-name:confettiFall;animation-timing-function:linear;animation-iteration-count:infinite;position:absolute;top:-24px;box-shadow:0 0 1px #0003}.confetti-piece-circle{border-radius:50%}.confetti-piece-rect{border-radius:2px}.game-over-panel{z-index:2;color:#e5e7eb;text-align:center;background:linear-gradient(165deg,#1e293bfa,#0f172afc);border:1px solid #fbbf2459;border-radius:20px;width:100%;max-width:440px;padding:28px 26px 26px;position:relative;box-shadow:0 0 0 1px #fbbf241f,0 28px 80px #0000008c}.game-over-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:#94a3b8;margin:0 0 6px;font-size:12px}.game-over-heading{letter-spacing:.02em;color:#f8fafc;margin:0 0 8px;font-size:28px;font-weight:700}.game-over-sub{color:#fcd34d;margin:0 0 20px;font-size:16px;font-weight:500}.game-over-solo-run{color:#cbd5e1;margin:-8px 0 18px;font-size:14px;line-height:1.45}.game-over-solo-run strong{color:#a7f3d0;font-weight:700}.reshuffle-confirm-backdrop{z-index:280;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#020617b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.reshuffle-confirm-panel{color:#e5e7eb;background:linear-gradient(165deg,#1e293bfc,#0f172afc);border:1px solid #94a3b873;border-radius:18px;width:min(400px,100%);padding:22px 22px 20px;box-shadow:0 24px 60px #00000073}.reshuffle-confirm-title{color:#f8fafc;margin:0 0 10px;font-size:18px;font-weight:700}.reshuffle-confirm-body{color:#cbd5e1;margin:0 0 18px;font-size:14px;line-height:1.55}.reshuffle-confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.solo-lb-card{color:#e5e7eb;background:#0f172ae0;border:1px solid #94a3b847;border-radius:20px;width:100%;padding:22px 20px 20px;box-shadow:0 16px 40px #0f172a73}.solo-lb-header-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.solo-lb-heading{color:#f8fafc;margin:0;font-size:17px;font-weight:700}.solo-lb-clear{min-height:auto;padding:6px 12px;font-size:12px}.solo-lb-hint{color:#9ca3af;margin:0 0 14px;font-size:12px;line-height:1.4}.solo-lb-empty{color:#9ca3af;margin:0;font-size:13px;line-height:1.5}.solo-lb-table-wrap{-webkit-overflow-scrolling:touch;margin:0 -4px;overflow-x:auto}.solo-lb-table{border-collapse:collapse;width:100%;font-size:13px}.solo-lb-table th,.solo-lb-table td{text-align:left;border-bottom:1px solid #47556973;padding:8px 10px}.solo-lb-table th{text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;font-size:11px;font-weight:600}.solo-lb-table tbody tr:last-child td{border-bottom:none}.solo-lb-table td{font-variant-numeric:tabular-nums;color:#e5e7eb}.leaderboard-title{letter-spacing:.12em;text-transform:uppercase;color:#94a3b8;margin:0 0 12px;font-size:13px;font-weight:600}.leaderboard-list{text-align:left;margin:0;padding:0;list-style:none}.leaderboard-row{background:#0f172aa6;border:1px solid #4755698c;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:baseline;gap:12px 16px;margin-bottom:8px;padding:12px 14px;font-size:15px;display:grid}.leaderboard-row:last-child{margin-bottom:0}.leaderboard-row-winner{background:linear-gradient(120deg,#fbbf242e,#f973161f);border-color:#fbbf248c;box-shadow:0 0 28px #fbbf241f}.leaderboard-rank{font-variant-numeric:tabular-nums;color:#94a3b8;min-width:2.25em;font-weight:700}.leaderboard-row-winner .leaderboard-rank{color:#fcd34d}.leaderboard-name{color:#e5e7eb;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.leaderboard-row-winner .leaderboard-name{color:#fef3c7;text-shadow:0 0 24px #fbbf2459;white-space:normal;font-size:1.08em;font-weight:800}.leaderboard-score-wrap{flex-direction:column;align-items:flex-end;gap:0;line-height:1.15;display:flex}.leaderboard-score{font-variant-numeric:tabular-nums;color:#cbd5e1;font-size:18px;font-weight:700}.leaderboard-row-winner .leaderboard-score{color:#fcd34d;font-size:20px}.leaderboard-score-label{text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-size:10px}.leaderboard-row-winner .leaderboard-score-label{color:#fde68a}.theme-toggle{z-index:130;top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));cursor:pointer;touch-action:manipulation;color:#e5e7eb;background:#0f172aeb;border:1px solid #94a3b873;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex;position:fixed;box-shadow:0 4px 16px #00000040}.theme-toggle:hover{border-color:#fbbf2480}.theme-toggle:focus-visible{outline-offset:2px;outline:2px solid #fbbf24}.game-tutorial-dialog{z-index:250;background:0 0;border:none;width:min(480px,100%);max-width:calc(100vw - 24px);margin:auto;padding:0}.game-tutorial-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#020617b8}.game-tutorial-panel{color:#e5e7eb;-webkit-overflow-scrolling:touch;background:linear-gradient(165deg,#1e293bfc,#0f172afc);border:1px solid #94a3b873;border-radius:18px;max-height:min(78dvh,640px);padding:22px 22px 20px;overflow:auto}.game-tutorial-title{color:#f8fafc;margin:0 0 14px;font-size:22px;font-weight:700}.game-tutorial-body{color:#cbd5e1;font-size:14px;line-height:1.55}.game-tutorial-body h3{text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:16px 0 8px;font-size:13px}.game-tutorial-body h3:first-child{margin-top:0}.game-tutorial-body p{margin:0 0 10px}.game-tutorial-body ul{margin:0;padding-left:1.15em}.game-tutorial-body li{margin-bottom:6px}.game-tutorial-close{width:100%;margin-top:18px}.game-tutorial-example{background:#0f172a73;border:1px solid #4755698c;border-radius:12px;margin:12px 0 16px;padding:12px 12px 14px}.game-tutorial-example--yes{background:#064e3b33;border-color:#34d39973}.game-tutorial-example--no{background:#7f1d1d26;border-color:#f8717159}.game-tutorial-example-label{color:#cbd5e1;margin:0 0 10px;font-size:13px;line-height:1.45}.game-tutorial-example-cards{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.game-tutorial-example-card{object-fit:contain;border-radius:8px;width:56px;height:auto;max-height:78px;box-shadow:0 4px 12px #00000059}@media (prefers-reduced-motion:reduce){.confetti-piece{opacity:.25;animation:none;top:40%}.card-image.card-replace-leave,.card-image.card-replace-enter{opacity:1;animation:none}}@media (width<=800px){.game-layout{grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr);gap:12px}.board-area{grid-area:2/1;height:min(62dvh,100dvh - 200px);max-height:min(62dvh,100dvh - 200px)}.board{grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px}.card-tile{aspect-ratio:3/4.35;box-sizing:border-box;place-self:stretch center;width:auto;max-width:100%;height:100%;min-height:0;padding:6px 8px}.card-image{object-fit:contain;width:auto;min-width:0;max-width:100%;height:auto;min-height:0;max-height:100%;margin:auto}.card-tile[data-card-count="3"] .card-image{transform-origin:50%;transform:scale(.9)}.card-slot-label{font-size:11px;top:4px;right:4px}.card-tile.selected:after{border-radius:9px;inset:4px}.sidebar{grid-area:3/1;padding:14px 16px}.title{font-size:24px}.card{padding:24px 20px 22px}.actions button{min-height:48px;font-size:16px}}@media (width<=380px){.board{gap:6px}.board-area{height:min(58dvh,100dvh - 200px);max-height:min(58dvh,100dvh - 200px)}.card-tile{aspect-ratio:3/4.5;border-radius:12px;padding:4px 6px}.card-slot-label{font-size:9px;top:3px;right:3px}.game-top-bar-label{font-size:13px}.game-top-bar-value{font-size:18px}}html[data-theme=light] :root{color:#1e2b24;background-color:#f2ebe0}html[data-theme=light] body{background:radial-gradient(circle at top,#faf6ef 0%,#e4eadc 42%,#c5d4c0 100%)}html[data-theme=light] .theme-toggle{color:#2d4a38;background:#fffcf6f2;border-color:#3d6b4f73;box-shadow:0 4px 14px #2d4a381f}html[data-theme=light] .game-top-row .theme-toggle{box-shadow:none}html[data-theme=light] .card{color:#1e2b24;background:#faf6ef;border-color:#3d6b4f59;box-shadow:0 20px 50px #2d4a381f}html[data-theme=light] .title{color:#0f2418}html[data-theme=light] .home-how-to-play{color:#0f2418;background:#fffdf8fa;border-color:#3d6b4f80}html[data-theme=light] .home-how-to-play:hover{background:#eef4ea;border-color:#2d5a3ca6}html[data-theme=light] .subtitle,html[data-theme=light] .field-group label,html[data-theme=light] .hint{color:#3d5244}html[data-theme=light] .subtitle strong{color:#0f2418}html[data-theme=light] .field-hint{color:#5a6d5f}html[data-theme=light] .home-mode-toggle{background:#fffdf8e6;border-color:#3d6b4f59}html[data-theme=light] .home-mode-tab{color:#4a6352}html[data-theme=light] .home-mode-tab--active{color:#0f2418;background:#f0f6ec;border-color:#3d6b4f73}html[data-theme=light] .solo-lb-card{color:#1e2b24;background:#fffdf8f5;border-color:#3d6b4f59;box-shadow:0 12px 32px #2d4a381a}html[data-theme=light] .solo-lb-heading{color:#0f2418}html[data-theme=light] .solo-lb-hint,html[data-theme=light] .solo-lb-empty{color:#4a6352}html[data-theme=light] .solo-lb-table th{color:#5a6d5f}html[data-theme=light] .solo-lb-table td{color:#1e2b24}html[data-theme=light] .solo-lb-table th,html[data-theme=light] .solo-lb-table td{border-bottom-color:#3d6b4f38}html[data-theme=light] .reshuffle-confirm-panel{color:#1e2b24;background:linear-gradient(165deg,#fffdf8fc,#f0f6ecfc);border-color:#3d6b4f66}html[data-theme=light] .reshuffle-confirm-title{color:#0f2418}html[data-theme=light] .reshuffle-confirm-body{color:#3d5244}html[data-theme=light] input{color:#1e2b24;background:#fffdf8;border-color:#3d6b4f73}html[data-theme=light] input:focus{border-color:#3d6b4f;box-shadow:0 0 0 2px #3d6b4f40}html[data-theme=light] button{color:#1e2b24;background:#eef4ea;border-color:#3d6b4f66}html[data-theme=light] button:hover:not(:disabled){box-shadow:0 8px 20px #2d4a381f}html[data-theme=light] button.primary{color:#fffdf8;background:linear-gradient(90deg,#5a8f6e,#3d6b4f);border-color:#0000}html[data-theme=light] .divider{color:#6b806f}html[data-theme=light] .error{color:#7f1d1d;background:#b950501f}html[data-theme=light] .player-row{color:#1e2b24;background:#fffdf8f2;border-color:#3d6b4f59}html[data-theme=light] .badge{color:#2d4a38;background:#3d6b4f2e}html[data-theme=light] .game-top-bar{color:#1e2b24;background:#fffdf8f5;border-color:#3d6b4f66}html[data-theme=light] .game-top-bar:hover{background:#f0f6ec;border-color:#3d6b4f8c}html[data-theme=light] .game-top-bar-label{color:#4a6352}html[data-theme=light] .game-top-bar-value{color:#2f5d40}html[data-theme=light] .card-tile{background:#fffdf8;border-color:#0000}html[data-theme=light] .sidebar{color:#1e2b24;background:#fffdf8f7;border-color:#3d6b4f66}html[data-theme=light] .sidebar h2,html[data-theme=light] .sidebar h3,html[data-theme=light] .sidebar p{color:#1e2b24}html[data-theme=light] button.reshuffle-deck{color:#2d4a38;background:#3d6b4f1f;border-color:#3d6b4f73}html[data-theme=light] .score-list li.me{background:#3d6b4f24}html[data-theme=light] .player-score{color:#2f5d40}html[data-theme=light] .captured-mini-set{background:#f0f6ecf2;border-color:#3d6b4f59}html[data-theme=light] .celebration-card{background:linear-gradient(145deg,#fffdf8fa,#e8f1e4fa);border-color:#3d6b4f73}html[data-theme=light] .celebration-headline{color:#1e2b24}html[data-theme=light] .game-tutorial-panel{color:#1e2b24;background:linear-gradient(165deg,#faf6ef,#eef4ea);border-color:#3d6b4f66}html[data-theme=light] .game-tutorial-title{color:#1a2e22}html[data-theme=light] .game-tutorial-body{color:#2c3f32}html[data-theme=light] .game-tutorial-body h3{color:#3d6b4f}html[data-theme=light] .game-tutorial-example{background:#fffdf8e6;border-color:#3d6b4f59}html[data-theme=light] .game-tutorial-example--yes{background:#dcecdc8c;border-color:#3d6b4f8c}html[data-theme=light] .game-tutorial-example--no{background:#fee2e273;border-color:#b9505073}html[data-theme=light] .game-tutorial-example-label{color:#2c3f32}html[data-theme=light] .game-over-overlay{background:#faf6efd1}html[data-theme=light] .game-over-panel{color:#1e2b24;background:linear-gradient(165deg,#faf6ef,#e8efe4);border-color:#3d6b4f66}html[data-theme=light] .leaderboard-row{color:#1e2b24;background:#fffdf8e6;border-color:#3d6b4f59}html[data-theme=light] .leaderboard-row-winner{background:linear-gradient(120deg,#dcecdcd9,#c8e0c88c);border-color:#3d6b4f80}html[data-theme=light] .game-inline-error{color:#7f1d1d;background:#fee2e2a6;border-color:#b9505073}html[data-theme=light] .player-nickname{color:#0f2418}html[data-theme=light] .toast{color:#0f2418;background:#3d6b4f29}html[data-theme=light] .toast-error{color:#7f1d1d;background:#fecacad9}html[data-theme=light] .board-error-popover{color:#fff5f5;background:#7f1d1dd1;border-color:#fecaca8c}html[data-theme=light] .celebration-kicker{color:#2f5d40}html[data-theme=light] .celebration-headline strong{color:#0f2418}html[data-theme=light] .game-over-eyebrow{color:#3d5244}html[data-theme=light] .game-over-heading{color:#0f2418}html[data-theme=light] .game-over-sub{color:#2f5d40}html[data-theme=light] .game-over-solo-run{color:#3d5244}html[data-theme=light] .game-over-solo-run strong{color:#1d5c3a}html[data-theme=light] .leaderboard-name{color:#0f2418}html[data-theme=light] .leaderboard-rank{color:#4a6352}html[data-theme=light] .leaderboard-score{color:#2c3f32}html[data-theme=light] .leaderboard-score-label{color:#4a6352}html[data-theme=light] .leaderboard-row-winner .leaderboard-name{color:#0a1a10}html[data-theme=light] .player-row span:first-child{color:#0f2418}
