:root{--color-purple:#8b5cf6;--color-purple-dark:#6d28d9;--color-electric-blue:#00c2ff;--color-blue-dark:#0369a1;--color-teal:#2dd4bf;--color-pink:#f472b6;--color-orange:#fb923c;--color-yellow:#fde047;--color-bg:#120e29;--color-bg-secondary:#1b1440;--color-surface:#ffffff0f;--color-surface-strong:#ffffff1a;--color-border:#ffffff24;--color-text:#f5f3ff;--color-text-muted:#b4add1;--color-text-inverse:#17102e;--gradient-hero:linear-gradient(135deg, #3b0764 0%, #1e3a8a 45%, #0f766e 100%);--gradient-primary:linear-gradient(120deg, var(--color-purple), var(--color-electric-blue));--gradient-warm:linear-gradient(120deg, var(--color-pink), var(--color-orange));--gradient-sunny:linear-gradient(120deg, var(--color-orange), var(--color-yellow));--gradient-cool:linear-gradient(120deg, var(--color-electric-blue), var(--color-teal));--radius-sm:8px;--radius-md:16px;--radius-lg:28px;--radius-pill:999px;--shadow-soft:0 10px 30px #0a061e59;--shadow-glow-purple:0 0 0 1px #8b5cf666, 0 12px 40px #8b5cf659;--shadow-glow-blue:0 0 0 1px #00c2ff66, 0 12px 40px #00c2ff4d;--font-heading:"Poppins", "Segoe UI", system-ui, sans-serif;--font-body:"Inter", "Segoe UI", system-ui, sans-serif;--space-xs:.5rem;--space-sm:1rem;--space-md:1.5rem;--space-lg:2.5rem;--space-xl:4rem;--max-content-width:1100px;--transition-fast:.15s ease;--transition-base:.25s ease;--app-header-height:68px}*,:before,:after{box-sizing:border-box}html,body{height:100%}html{scrollbar-gutter:stable}body{font-family:var(--font-body);background:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0}#root{min-height:100dvh}h1,h2,h3,h4{font-family:var(--font-heading);margin:0;font-weight:700;line-height:1.15}p{color:var(--color-text-muted);margin:0;line-height:1.6}a{color:inherit}button{font-family:inherit}ul{margin:0;padding:0;list-style:none}img,svg{max-width:100%;display:block}::selection{background:var(--color-purple);color:var(--color-text)}.btn{border-radius:var(--radius-pill);font-family:var(--font-heading);cursor:pointer;transition:transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);color:var(--color-text);border:none;justify-content:center;align-items:center;gap:.6rem;padding:.9rem 1.8rem;font-size:1.05rem;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{filter:brightness(1.08);transform:translateY(-2px)}.btn:active{transform:translateY(0)}.btn:focus-visible{outline:3px solid var(--color-yellow);outline-offset:3px}.btn-primary{background:var(--gradient-primary);box-shadow:var(--shadow-glow-purple)}.btn-secondary{background:var(--gradient-warm);box-shadow:0 0 0 1px #f472b666,0 12px 40px #fb923c4d}.btn-ghost{background:var(--color-surface);border:1px solid var(--color-border)}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:var(--space-lg);box-shadow:var(--shadow-soft)}.sr-only-label{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.text-gradient{background:var(--gradient-primary);color:#0000;-webkit-background-clip:text;background-clip:text}.container{width:100%;max-width:var(--max-content-width);padding:0 var(--space-md);margin:0 auto}@media (width<=640px){.container{padding:0 var(--space-sm)}}.config-warning{z-index:10;width:100%;padding:.6rem var(--space-md);background:var(--color-orange);color:var(--color-text-inverse);text-align:center;font-size:.85rem;position:relative}.config-warning code{background:#00000026;border-radius:4px;padding:.1rem .35rem;font-family:ui-monospace,monospace}.error-boundary{justify-content:center;align-items:center;gap:var(--space-md);padding:var(--space-lg) var(--space-md);text-align:center;flex-direction:column;flex:1;display:flex}.error-boundary-actions{gap:var(--space-sm);flex-wrap:wrap;justify-content:center;display:flex}.app-shell{background:var(--gradient-hero);flex-direction:column;min-height:100dvh;display:flex;position:relative;overflow:clip}.app-shell:before,.app-shell:after{content:"";filter:blur(90px);opacity:.35;pointer-events:none;z-index:0;border-radius:50%;position:absolute}.app-shell:before{background:var(--color-pink);width:420px;height:420px;top:-120px;right:-120px}.app-shell:after{background:var(--color-teal);width:380px;height:380px;bottom:-140px;left:-100px}.app-header{z-index:50;width:100%;height:var(--app-header-height);box-sizing:border-box;-webkit-backdrop-filter:blur(16px);background:#120e2973;border-bottom:1px solid #ffffff14;align-items:center;display:flex;position:sticky;top:0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.app-header{background:#120e29e0}}.app-header-inner{justify-content:space-between;align-items:center;gap:var(--space-sm);width:100%;display:flex}.app-brand{font-family:var(--font-heading);color:var(--color-text);align-items:center;gap:.6rem;font-size:1.15rem;font-weight:700;text-decoration:none;display:inline-flex}.app-brand-dot{background:var(--gradient-warm);width:12px;height:12px;box-shadow:var(--shadow-glow-purple);border-radius:50%}.app-settings-button{border-radius:50%;flex-shrink:0;width:44px;height:44px;padding:0}.app-content{z-index:1;flex-direction:column;flex:1;display:flex;position:relative}.loading-screen{justify-content:center;align-items:center;gap:var(--space-md);width:100%;min-height:100%;padding:var(--space-xl) var(--space-md);flex-direction:column;display:flex}.loading-dots{gap:.75rem;display:flex}.loading-dot{border-radius:50%;width:16px;height:16px;display:inline-block}.loading-dot-purple{background:var(--color-purple)}.loading-dot-blue{background:var(--color-electric-blue)}.loading-dot-teal{background:var(--color-teal)}.loading-dot-pink{background:var(--color-pink)}.loading-message{font-family:var(--font-heading);color:var(--color-text-muted);font-size:1.1rem}.landing{padding:var(--space-lg) 0;flex:1;justify-content:center;align-items:center;display:flex}.landing-inner{text-align:center;align-items:center;gap:var(--space-md);flex-direction:column;max-width:640px;display:flex}.landing-title{letter-spacing:-.02em;font-size:clamp(2.8rem,8vw,5rem)}.landing-subtitle{max-width:46ch;font-size:1.15rem}.landing-actions{justify-content:center;gap:var(--space-sm);margin-top:var(--space-md);flex-wrap:wrap;display:flex}.landing-error{color:var(--color-pink);font-size:.9rem}@media (width<=480px){.landing-actions{flex-direction:column;width:100%}.landing-actions .btn{width:100%}}.competitor-leaderboard{flex-direction:column;gap:.5rem;width:100%;display:flex}.competitor-leaderboard-row{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border);padding:.6rem 1rem;display:flex}.competitor-leaderboard-highlight{border-color:var(--color-teal)}.competitor-leaderboard-rank{font-family:var(--font-heading);min-width:1.5rem;font-weight:700}.competitor-leaderboard-name{text-align:left;flex:1}.competitor-leaderboard-score{font-family:var(--font-heading);font-weight:700}.competitor-leaderboard-empty{color:var(--color-text-muted);font-style:italic}.selected-decks-panel{gap:var(--space-sm);text-align:left;flex-direction:column;width:100%;display:flex}.selected-decks-empty,.selected-decks-count{color:var(--color-text-muted);margin:0;font-size:.85rem}.selected-decks-grid{gap:var(--space-sm);grid-template-columns:repeat(auto-fill,minmax(120px,1fr));display:grid}.selected-deck-card,.selected-deck-add-card{aspect-ratio:3/4;box-sizing:border-box;border-radius:var(--radius-sm);flex-direction:column;display:flex;position:relative}.selected-deck-card{border:1px solid var(--color-border);background:var(--color-surface);padding:.6rem}.selected-deck-card-remove{border:1px solid var(--color-border);background:var(--color-surface-strong,var(--color-surface));width:28px;height:28px;color:var(--color-orange);cursor:pointer;--tap-pad:8px;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:.85rem;line-height:1;display:inline-flex;position:absolute;top:.3rem;right:.3rem}.selected-deck-card-remove:before{content:"";inset:calc(-1 * var(--tap-pad));position:absolute}.selected-deck-card-remove:hover{filter:brightness(1.15)}.selected-deck-card-remove:focus-visible{outline:3px solid var(--color-yellow);outline-offset:2px}.selected-deck-card-body{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:.3rem;min-height:0;padding:.5rem .35rem 0;display:flex}.selected-deck-card-title{font-family:var(--font-heading);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.9rem;font-weight:600;display:-webkit-box;overflow:hidden}.selected-deck-card-meta{color:var(--color-text-muted);margin:0;font-size:.78rem}.selected-deck-card-reorder{justify-content:center;gap:.4rem;display:flex}.selected-deck-card-icon-btn{border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface-strong,var(--color-surface));width:28px;height:28px;color:var(--color-text);cursor:pointer;justify-content:center;align-items:center;font-size:.85rem;line-height:1;display:inline-flex;position:relative}.selected-deck-card-icon-btn:before{content:"";position:absolute;inset:-8px}.selected-deck-card-icon-btn:disabled{opacity:.35;cursor:not-allowed}.selected-deck-card-icon-btn:not(:disabled):hover{filter:brightness(1.15)}.selected-deck-card-icon-btn:focus-visible{outline:3px solid var(--color-yellow);outline-offset:2px}.selected-deck-add-card{border:2px dashed var(--color-border);color:var(--color-text-muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:.3rem}.selected-deck-add-card-icon{font-size:1.5rem;font-family:var(--font-heading);line-height:1}.selected-deck-add-card-label{font-size:.78rem}.selected-deck-add-card:disabled{opacity:.4;cursor:not-allowed}.selected-deck-add-card:not(:disabled):hover{border-color:var(--color-teal);color:var(--color-teal)}.selected-deck-add-card:focus-visible{outline:3px solid var(--color-yellow);outline-offset:2px}.deck-picker-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);padding:var(--space-md);z-index:200;background:#090618b8;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.deck-picker{gap:var(--space-sm);text-align:left;flex-direction:column;width:100%;max-width:560px;max-height:85dvh;display:flex}.deck-picker-header{justify-content:space-between;align-items:center;gap:var(--space-sm);display:flex}.deck-picker-close{padding:.5rem 1rem;font-size:.9rem}.deck-picker-subheading{color:var(--color-text-muted);margin:0;font-size:.85rem}.deck-picker-body{gap:var(--space-sm);flex-direction:column;padding-right:.25rem;display:flex;overflow-y:auto}.deck-picker-status{color:var(--color-text-muted);font-size:.9rem}.deck-picker-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.deck-picker-row{border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface)}.deck-picker-row label{cursor:pointer;align-items:flex-start;gap:.75rem;padding:.75rem;display:flex}.deck-picker-row input[type=checkbox]{flex-shrink:0;width:1.15rem;height:1.15rem;margin-top:.2rem}.deck-picker-row-info{flex-direction:column;gap:.15rem;display:flex}.deck-picker-row-title{font-weight:600}.deck-picker-row-meta{color:var(--color-text-muted);font-size:.85rem}.deck-picker-row-unready{opacity:.7;padding:.75rem}.deck-picker-unready h3{color:var(--color-text-muted);margin:0 0 .5rem;font-size:.9rem}.deck-picker-done{align-self:stretch}@media (width<=640px){.deck-picker-backdrop{padding:0}.deck-picker{border-radius:0;max-width:none;height:100%;max-height:none}}.host-lobby{align-items:center;gap:var(--space-md);padding:var(--space-lg) var(--space-md);text-align:center;flex-direction:column;flex:1;width:100%;display:flex}.host-lobby-invite{align-items:center;gap:var(--space-xs);flex-direction:column;display:flex}.invite-qr{width:130px;max-width:100%}.invite-qr svg{width:100%;height:auto;display:block}.host-roster-more{color:var(--color-text-muted);font-style:italic}.host-lobby-code{font-size:1.2rem}.host-lobby-status{color:var(--color-text-muted);font-size:.9rem}.host-phase{align-items:center;gap:var(--space-sm);flex-direction:column;width:100%;max-width:480px;display:flex}.host-phase-label{font-family:var(--font-heading);letter-spacing:.08em;text-transform:uppercase;color:var(--color-teal);font-size:.85rem}.host-options{text-align:left;flex-direction:column;gap:.5rem;width:100%;display:flex}.host-options li{border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border);padding:.6rem 1rem}.host-options li.host-options-correct{border-color:var(--color-teal);color:var(--color-teal);font-weight:600}.host-answered-count,.host-aggregate{color:var(--color-text-muted);font-size:1rem}.host-question-status{gap:var(--space-md);color:var(--color-text-muted);font-size:1rem;font-family:var(--font-heading);flex-wrap:wrap;display:flex}.host-question-actions{gap:var(--space-sm);flex-wrap:wrap;display:flex}.host-typed-answer-key{text-align:left;border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border);width:100%;padding:.75rem 1rem}.host-review-queue{gap:var(--space-sm);flex-direction:column;width:100%;display:flex}.host-review-queue ul{gap:var(--space-sm);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.host-review-item{text-align:left;border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border);padding:.75rem 1rem}.host-review-submitted{font-size:1.1rem;font-weight:600}.host-review-actions{gap:var(--space-sm);margin-top:.5rem;display:flex}.host-lobby-setup{text-align:left;width:100%;max-width:480px}.host-lobby-setup-header{justify-content:space-between;align-items:baseline;gap:var(--space-sm);display:flex}.host-setup-save-status{color:var(--color-text-muted);font-size:.85rem}.host-setup-retry{color:var(--color-teal);cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.host-style-picker{border:none;flex-direction:column;gap:.4rem;margin:0;padding:0;display:flex}.host-style-picker label{align-items:center;gap:.5rem;display:flex}.host-style-note{color:var(--color-orange);margin:0;font-size:.85rem}.host-dashboard{--host-sidebar-width:280px;text-align:left;width:100%;max-width:1100px;display:block}@media (width>=860px){.host-dashboard-main{margin-left:calc(var(--host-sidebar-width) + var(--space-md))}.host-dashboard-sidebar{top:calc(var(--app-header-height) + var(--space-lg));left:calc(var(--space-md) + max(0px, calc((100% - (2 * var(--space-md)) - var(--max-content-width)) / 2)));width:var(--host-sidebar-width);height:calc(100vh - var(--app-header-height) - (2 * var(--space-lg)));height:calc(100dvh - var(--app-header-height) - (2 * var(--space-lg)));z-index:10;position:fixed}}.host-dashboard-sidebar{--host-sidebar-width:280px;scroll-margin-top:var(--app-header-height);align-items:center;gap:var(--space-lg);text-align:center;padding:var(--space-lg) var(--space-md);flex-direction:column;display:flex}@media (width>=860px) and (height<=700px){.host-dashboard-sidebar{gap:var(--space-md);padding-block:var(--space-sm)}}.host-dashboard-sidebar-identity{flex-direction:column;align-items:center;width:100%;margin-block:auto;display:flex}.host-dashboard-sidebar .invite-qr{width:100px;max-width:100%}.host-dashboard-sidebar-identity .host-lobby-code{margin-top:var(--space-md)}.host-dashboard-sidebar-identity .host-sidebar-live{margin-top:var(--space-sm)}.host-sidebar-live{color:var(--color-text-muted);align-items:center;gap:.4rem;margin:0;font-size:.85rem;display:flex}.host-sidebar-live-dot{background:var(--color-teal);border-radius:50%;flex-shrink:0;width:8px;height:8px}.host-dashboard-main{gap:var(--space-sm);flex-direction:column;display:flex}.host-dashboard-panel{flex-direction:column;padding:0;display:flex}.host-dashboard-content{padding:var(--space-md) var(--space-lg) 0;flex-direction:column;display:flex}.host-dashboard-header{justify-content:space-between;align-items:flex-start;gap:var(--space-sm);padding-bottom:var(--space-sm);margin-bottom:var(--space-xs);border-bottom:1px solid var(--color-border);flex-wrap:wrap;display:flex}.host-dashboard-eyebrow{font-family:var(--font-heading);letter-spacing:.08em;text-transform:uppercase;color:var(--color-teal);margin:0 0 .15rem;font-size:.8rem}.host-dashboard-header h2{margin:0;font-size:1.3rem}.host-dashboard-section{scroll-margin-top:var(--app-header-height);gap:var(--space-xs);padding:var(--space-sm) 0;flex-direction:column;display:flex}.host-dashboard-section:not(:first-of-type){border-top:1px solid var(--color-border)}.host-dashboard-section h3{margin:0;font-size:1.05rem}.host-dashboard-section-helper{max-width:60ch;color:var(--color-text-muted);margin:0;font-size:.85rem}.host-dashboard-select{border-radius:var(--radius-sm);border:2px solid var(--color-border);background:var(--color-bg-secondary);width:100%;max-width:220px;color:var(--color-text);font:inherit;cursor:pointer;padding:.6rem .8rem;font-size:.95rem}.host-dashboard-select option{background:var(--color-bg-secondary);color:var(--color-text)}.host-dashboard-select:hover{border-color:var(--color-teal)}.host-dashboard-select:focus-visible{outline:3px solid var(--color-yellow);outline-offset:2px}.host-room-status-count{font-family:var(--font-heading);margin:0;font-size:.95rem;font-weight:600}.host-room-status-group{margin-top:.5rem}.host-room-status-group-name{font-family:var(--font-heading);color:var(--color-teal);margin:0 0 .3rem;font-size:.85rem}.host-room-status-roster{padding-left:var(--space-xs);flex-wrap:wrap;gap:.4rem;margin:0;list-style:none;display:flex}.host-room-status-roster li{border-radius:var(--radius-pill);background:var(--color-surface);border:1px solid var(--color-border);align-items:center;gap:.35rem;padding:.25rem .6rem;font-size:.85rem;display:inline-flex}.host-dashboard-summary-list{flex-direction:column;gap:.4rem;margin:0;display:flex}.host-dashboard-summary-row{gap:var(--space-sm);grid-template-columns:auto 1fr;font-size:.95rem;display:grid}.host-dashboard-summary-row dt{color:var(--color-text-muted)}.host-dashboard-summary-row dd{text-align:right;margin:0;font-weight:600}.host-dashboard-start-bar{padding:.65rem var(--space-lg);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--color-border);background:#120e2973;border-bottom-right-radius:0;border-bottom-left-radius:0;justify-content:flex-end;align-items:center;margin-inline:-1px;display:flex;position:sticky;bottom:0}.host-dashboard-start-bar.is-at-rest{border-bottom-left-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.host-dashboard-start-bar{background:#120e29e0}}@media (width<=859px){.host-dashboard-start-bar .btn{width:100%}}.host-dashboard-start-bar-sentinel{height:0}.join-page{padding:var(--space-lg) var(--space-md);flex:1;justify-content:center;align-items:center;display:flex}.join-form{gap:var(--space-sm);flex-direction:column;width:100%;max-width:360px;display:flex}.join-form label{font-family:var(--font-heading);color:var(--color-text-muted);font-size:.9rem}.join-form input{border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-bg-secondary);color:var(--color-text);padding:.75rem 1rem;font-family:inherit;font-size:1rem}.join-form input:focus-visible{outline:2px solid var(--color-electric-blue);outline-offset:2px}.join-error{color:var(--color-pink);font-size:.9rem}.player-list{gap:var(--space-xs);flex-direction:column;display:flex}.player-list-item{border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border);justify-content:center;align-items:center;gap:.5rem;padding:.6rem 1rem;display:flex}.player-list-badge{font-size:.75rem;font-family:var(--font-heading);color:var(--color-teal);border:1px solid var(--color-teal);border-radius:var(--radius-pill);padding:.1rem .5rem}.player-list-empty{color:var(--color-text-muted);font-style:italic}.game-setup-summary{text-align:left;width:100%;max-width:420px}.game-setup-summary-list{margin:0 0 var(--space-xs);flex-direction:column;gap:.25rem;padding:0;list-style:none;display:flex}.game-setup-summary-status{color:var(--color-text-muted);font-size:.9rem}.player-room{align-items:center;gap:var(--space-md);padding:var(--space-lg) var(--space-md);text-align:center;flex-direction:column;flex:1;width:100%;display:flex}.player-room-status{color:var(--color-text-muted);font-size:.9rem}.player-room-warning{color:var(--color-orange);font-size:.9rem}.player-room-roster{width:100%;max-width:360px}.player-question,.player-reveal,.player-leaderboard,.player-ended{align-items:center;gap:var(--space-sm);flex-direction:column;width:100%;max-width:420px;display:flex}.player-options{flex-direction:column;gap:.75rem;width:100%;display:flex}.player-option{border-radius:var(--radius-md);border:2px solid var(--color-border);background:var(--color-surface);width:100%;min-height:56px;color:var(--color-text);text-align:left;cursor:pointer;align-items:center;gap:.75rem;padding:.9rem 1.1rem;font-size:1.05rem;display:flex}.player-option:focus-visible{outline:3px solid var(--color-electric-blue);outline-offset:2px}.player-option-selected{border-color:var(--color-teal);background:var(--color-surface-strong)}.player-option-letter{border:1px solid var(--color-border);min-width:2rem;height:2rem;font-family:var(--font-heading);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.player-team-select{align-items:center;gap:var(--space-sm);flex-direction:column;width:100%;max-width:420px;display:flex}.player-team-list{width:100%}.player-team-list ul{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.player-team-item{border-radius:var(--radius-md);border:2px solid var(--color-border);background:var(--color-surface);width:100%;min-height:48px;color:var(--color-text);text-align:left;cursor:pointer;padding:.75rem 1rem;font-size:1rem}.player-team-item:focus-visible{outline:3px solid var(--color-electric-blue);outline-offset:2px}.player-team-create{text-align:left;flex-direction:column;align-items:stretch;gap:.5rem;width:100%;display:flex}.player-team-create input{border-radius:var(--radius-md);border:2px solid var(--color-border);background:var(--color-surface);min-height:48px;color:var(--color-text);padding:.6rem .8rem;font-size:1rem}.player-typed-answer{gap:var(--space-sm);flex-direction:column;width:100%;display:flex}.player-typed-answer form{text-align:left;flex-direction:column;align-items:stretch;gap:.5rem;width:100%;display:flex}.player-typed-answer input{border-radius:var(--radius-md);border:2px solid var(--color-border);background:var(--color-surface);min-height:56px;color:var(--color-text);padding:.9rem 1.1rem;font-size:1.05rem}.player-typed-answer input:focus-visible{outline:3px solid var(--color-electric-blue);outline-offset:2px}.player-typed-current{font-size:1.1rem;font-weight:600}.stage{justify-content:center;align-items:center;gap:var(--space-md);padding:var(--space-lg);text-align:center;flex-direction:column;flex:1;width:100%;max-width:900px;margin:0 auto;display:flex}.stage-eyebrow{font-family:var(--font-heading);letter-spacing:.1em;text-transform:uppercase;color:var(--color-teal);font-size:1rem}.stage-status{color:var(--color-text-muted);font-size:1.1rem}.stage-lobby-card{gap:var(--space-md);width:100%;max-width:760px;padding:var(--space-md) var(--space-lg);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);flex-direction:column;display:flex}.stage-lobby-join,.stage-lobby-players{flex-direction:column;align-items:center;gap:.4rem;display:flex}.stage-lobby-players{padding-top:var(--space-sm);border-top:1px solid var(--color-border)}.stage-qr{width:clamp(130px,16vw,190px);max-width:100%;padding:var(--space-xs)}.stage-qr svg{width:100%;height:auto;display:block}.stage-room-code{white-space:nowrap;font-size:clamp(1.1rem,2.5vw,1.5rem)}.stage-room-code strong{font-weight:600}.stage-avatar-row{flex-wrap:wrap;justify-content:center;gap:.35rem;max-width:320px;font-size:clamp(1.5rem,2.5vw,2rem);line-height:1;display:flex}.stage-player-count{font-family:var(--font-heading);font-size:1.15rem;font-weight:600}@media (width>=700px){.stage-lobby-card{flex-direction:row;align-items:center;max-width:820px}.stage-lobby-join,.stage-lobby-players{flex:1;justify-content:center}.stage-lobby-players{padding-top:0;padding-left:var(--space-lg);border-top:none;border-left:1px solid var(--color-border)}}.stage-timer-expired{font-family:var(--font-heading);letter-spacing:.08em;color:var(--color-pink);font-size:clamp(1.5rem,4vw,2.25rem)}.stage-options{gap:var(--space-sm);grid-template-columns:1fr 1fr;width:100%;max-width:640px;display:grid}@media (width<=640px){.stage-options{grid-template-columns:1fr}}.stage-option{border-radius:var(--radius-md);border:2px solid var(--color-border);background:var(--color-surface);text-align:left;align-items:center;gap:.75rem;padding:1rem 1.25rem;font-size:1.2rem;display:flex}.stage-option-letter{border:1px solid var(--color-border);min-width:2.25rem;height:2.25rem;font-family:var(--font-heading);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.stage-winner{font-size:clamp(1.75rem,5vw,2.5rem)}.my-decks{width:100%;max-width:720px;padding:var(--space-lg) var(--space-md);gap:var(--space-md);flex-direction:column;margin:0 auto;display:flex}.my-decks-header{justify-content:space-between;align-items:center;gap:var(--space-sm);display:flex}.my-decks-error{color:var(--color-orange)}.my-decks-dev-tool{align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);border:1px dashed var(--color-border);flex-wrap:wrap;display:flex}.my-decks-dev-tool p{margin:0;font-size:.9rem}.my-decks-empty{align-items:center;gap:var(--space-md);padding:var(--space-lg);text-align:center;color:var(--color-text-muted);flex-direction:column;display:flex}.my-decks-list{gap:var(--space-sm);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.my-decks-item{justify-content:space-between;align-items:flex-start;gap:var(--space-md);padding:var(--space-md);border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap;display:flex}.my-decks-item-info h2{margin:0 0 .25rem}.my-decks-meta{color:var(--color-text-muted);margin:0;font-size:.9rem}.my-decks-item-actions{flex-wrap:wrap;gap:.5rem;display:flex}.deck-editor{width:100%;max-width:720px;padding:var(--space-lg) var(--space-md);gap:var(--space-md);flex-direction:column;margin:0 auto;display:flex}.deck-editor-message{width:100%;max-width:480px;margin:var(--space-lg) auto;align-items:center;gap:var(--space-md);text-align:center;flex-direction:column;display:flex}.deck-editor-header{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.deck-editor-title-label{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.deck-editor-title{min-width:200px;font-size:1.4rem;font-family:var(--font-heading);border-radius:var(--radius-md);border:2px solid var(--color-border);background:var(--color-surface);color:var(--color-text);flex:1;padding:.5rem .75rem}.deck-editor-save-status{color:var(--color-text-muted);white-space:nowrap;font-size:.9rem}.deck-editor-retry{color:var(--color-electric-blue);cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.deck-editor-readiness{font-family:var(--font-heading);letter-spacing:.05em;text-transform:uppercase;color:var(--color-teal);font-size:.85rem}.deck-editor-problems{color:var(--color-orange);margin:0;padding-left:1.25rem;font-size:.9rem}.deck-editor-error{color:var(--color-orange)}.deck-editor-empty{color:var(--color-text-muted);font-size:.95rem}.deck-editor-actions{gap:var(--space-sm);display:flex}.deck-editor-questions{gap:var(--space-sm);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.deck-question-card{border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);overflow:hidden}.deck-question-summary{justify-content:space-between;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);flex-wrap:wrap;display:flex}.deck-question-toggle{align-items:baseline;gap:var(--space-sm);min-width:200px;color:var(--color-text);text-align:left;cursor:pointer;background:0 0;border:none;flex:1;padding:.25rem;display:flex}.deck-question-number{font-family:var(--font-heading);white-space:nowrap;font-weight:700}.deck-question-method{color:var(--color-teal);white-space:nowrap;font-size:.85rem}.deck-question-preview{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deck-question-controls{flex-wrap:wrap;gap:.4rem;display:flex}.deck-question-body{padding:var(--space-md);border-top:1px solid var(--color-border)}.deck-question-fields{text-align:left;flex-direction:column;gap:.5rem;display:flex}.deck-question-fields textarea,.deck-question-fields input[type=text],.deck-question-fields input[type=number]{border-radius:var(--radius-sm);border:2px solid var(--color-border);background:var(--color-surface-strong,var(--color-surface));width:100%;color:var(--color-text);font:inherit;padding:.6rem .8rem}.deck-question-options{border:none;flex-direction:column;gap:.4rem;margin:0;padding:0;display:flex}.deck-question-options legend{padding:0;font-weight:600}.deck-question-option-row{align-items:center;gap:.5rem;display:flex}.deck-question-option-radio{align-items:center;display:flex}.deck-question-option-text-label{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.deck-question-option-row input[type=text]{flex:1}.deck-question-variants{flex-direction:column;gap:.4rem;display:flex}.deck-question-hint{color:var(--color-text-muted);margin:0;font-size:.85rem}.deck-question-variant-row{align-items:center;gap:.5rem;display:flex}.deck-question-variant-row input{flex:1}.deck-editor-undo{align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);display:flex}.deck-editor-add{gap:var(--space-sm);flex-wrap:wrap;display:flex}.deck-preview-message{width:100%;max-width:480px;margin:var(--space-lg) auto;align-items:center;gap:var(--space-md);text-align:center;flex-direction:column;display:flex}.stage-option.deck-preview-correct{border-color:var(--color-teal);color:var(--color-teal);font-weight:600}.deck-preview-typed{width:100%;max-width:480px}.deck-preview-nav{gap:var(--space-sm);display:flex}.deck-preview-return{color:var(--color-text-muted);font-size:.9rem}.placeholder-page{padding:var(--space-lg) var(--space-md);flex:1;justify-content:center;align-items:center;display:flex}.placeholder-card{text-align:center;align-items:center;gap:var(--space-xs);flex-direction:column;width:100%;max-width:520px;display:flex}.placeholder-eyebrow{font-family:var(--font-heading);letter-spacing:.08em;text-transform:uppercase;color:var(--color-teal);font-size:.85rem}.placeholder-title{margin-top:.25rem;font-size:clamp(1.75rem,5vw,2.4rem)}.placeholder-description{font-size:1.05rem}.qr-preview{margin-top:var(--space-sm);padding:var(--space-sm);background:var(--color-bg-secondary);border-radius:var(--radius-md);border:1px solid var(--color-border)}
