:root{--red: #b3122a;--red-dark: #8a0e20;--red-light: #fbe9ec;--ink: #1d1b1a;--muted: #5f5a56;--line: #e3ddd6;--paper: #fbf8f4;--card: #ffffff;--green: #1f7a3f;--green-light: #e5f4ea;--amber: #8f5600;--amber-light: #fff3dd;--blue: #2559a8;--opt-0: #b3122a;--opt-1: #2559a8;--opt-2: #8f6400;--opt-3: #1f7a3f;--radius: 12px;--shadow: 0 2px 10px rgba(40, 20, 10, .08);--font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;color-scheme:light}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;font-family:var(--font);font-size:16px;line-height:1.45;color:var(--ink);background:var(--paper);-webkit-tap-highlight-color:transparent}h1,h2,h3{line-height:1.2;margin:0 0 .5em}h1{font-size:1.7rem}h2{font-size:1.25rem}a{color:var(--red)}code{font-family:ui-monospace,Consolas,monospace;background:#f1ece6;padding:.1em .35em;border-radius:4px;word-break:break-all}kbd{font-family:ui-monospace,Consolas,monospace;font-size:.75em;border:1px solid currentColor;border-radius:4px;padding:0 .35em;margin-left:.6em;opacity:.75}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.muted{color:var(--muted)}.small{font-size:.875rem}.grow{flex:1 1 auto;min-width:0}.center{align-items:center;text-align:center}.row{display:flex;gap:.5rem;align-items:center}.row.wrap,.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:.75rem}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.ornament{display:block;color:var(--red);flex-shrink:0}.logo{display:inline-flex;align-items:center;gap:.5rem;font-weight:800;letter-spacing:.02em;color:var(--red);white-space:nowrap}.logo span{color:var(--ink)}.logo-sm{font-size:1.1rem}.logo-md{font-size:1.5rem}.logo-lg{font-size:2.6rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:40px;padding:.45rem 1rem;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .05s;touch-action:manipulation}.btn:hover:not(:disabled){border-color:#c9c0b6;background:#f6f1eb}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--red);border-color:var(--red);color:#fff}.btn.primary:hover:not(:disabled){background:var(--red-dark);border-color:var(--red-dark)}.btn.success{background:var(--green);border-color:var(--green);color:#fff}.btn.success:hover:not(:disabled){background:#17602f}.btn.danger{background:var(--red-dark);border-color:var(--red-dark);color:#fff}.btn.ghost{background:transparent}.btn.ghost.danger,.btn.danger.ghost{background:transparent;color:var(--red-dark);border-color:#e9c4ca}.btn.small{min-height:32px;padding:.25rem .7rem;font-size:.875rem}.btn.big{min-height:52px;font-size:1.1rem;padding:.6rem 1.4rem}.btn.huge{min-height:72px;font-size:1.4rem;padding:.8rem 1.6rem;width:100%}.link-btn{background:none;border:none;padding:.25rem 0;color:var(--red);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.link-btn:disabled{color:var(--muted);cursor:not-allowed}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);cursor:pointer;font-size:1rem}.icon-btn:disabled{opacity:.35;cursor:not-allowed}.icon-btn.danger{color:var(--red-dark)}input,select,textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #cfc7be;border-radius:8px;padding:.5rem .65rem;min-height:40px;width:100%}textarea{resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #f2a33a;outline-offset:1px}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:0;accent-color:var(--red);flex-shrink:0}fieldset{border:none;margin:0;padding:0;min-width:0}.field{display:flex;flex-direction:column;gap:.3rem}.field>span,.field-label{font-size:.875rem;font-weight:600;color:var(--muted)}.field small{color:var(--muted);font-size:.8rem}.field.inline{flex-direction:row;align-items:center;gap:.75rem}.field.inline input{max-width:320px}.check{display:flex;align-items:center;gap:.55rem;cursor:pointer}.form-error{color:var(--red-dark);background:var(--red-light);border-radius:8px;padding:.5rem .75rem;margin:0}.ok-note{color:var(--green);font-weight:600;margin:0}.warn-note{color:var(--amber);background:var(--amber-light);border-radius:8px;padding:.4rem .7rem;margin:0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.25rem;box-shadow:var(--shadow)}.card.narrow{max-width:460px}.tabs,.segmented{display:flex;gap:.25rem;flex-wrap:wrap;border-bottom:2px solid var(--line);margin-bottom:1rem}.tabs button,.segmented button{background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-2px;padding:.55rem 1rem;font:inherit;font-weight:600;color:var(--muted);cursor:pointer}.tabs button.active,.segmented button.active{color:var(--red);border-bottom-color:var(--red)}.tabs .tab-add{color:var(--blue)}.tabs .tab-add.danger{color:var(--red-dark)}.badge{display:inline-block;font-size:.75rem;font-weight:700;line-height:1.6;padding:0 .55em;border-radius:999px;background:var(--red);color:#fff;white-space:nowrap}.badge.ghost{background:#efe9e2;color:var(--ink)}.badge.ai{background:var(--blue)}.badge.warn{background:var(--amber-light);color:var(--amber)}.badge.special{background:#4b2a7a}.badge.live{background:var(--green)}.chip{display:inline-flex;align-items:center;gap:.3rem;background:#f1ece6;border-radius:999px;padding:.1rem .4rem .1rem .75rem}.chip-x{border:none;background:none;cursor:pointer;font-size:1.1rem;color:var(--muted)}.lang-switch{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.lang-switch button{border:none;background:transparent;color:inherit;font:inherit;font-size:.8rem;font-weight:700;padding:.3rem .55rem;cursor:pointer}.lang-switch button.active{background:var(--red);color:#fff}.timer{display:flex;align-items:center;gap:.75rem;width:100%}.timer-track{flex:1;height:10px;background:#7f7f7f40;border-radius:999px;overflow:hidden}.timer-fill{height:100%;background:var(--green);transform-origin:left center;transition:transform .1s linear}.timer.urgent .timer-fill{background:var(--red)}.timer.stopped .timer-fill{background:#8b8580}.timer-seconds{font-variant-numeric:tabular-nums;font-weight:800;min-width:2ch;text-align:right}.qr{background:#fff;padding:8px;border-radius:12px;flex-shrink:0}.qr svg{display:block;width:100%;height:100%}.spinner{display:inline-block;width:1.1em;height:1.1em;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-.15em}@keyframes spin{to{transform:rotate(360deg)}}.connection-banner{position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:100;background:var(--ink);color:#fff;border-radius:999px;padding:.5rem 1rem;display:flex;gap:.6rem;align-items:center;box-shadow:0 4px 16px #0000004d}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#0a0c14bf;color:#fff;font-size:3rem;font-weight:800;text-align:center;padding:1rem}.podium{display:flex;align-items:flex-end;justify-content:center;gap:1rem;margin:1rem 0}.podium-place{display:flex;flex-direction:column;align-items:center;gap:.3rem;width:160px;text-align:center}.podium-name{font-weight:700;font-size:1.1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis}.podium-score{font-weight:800;font-variant-numeric:tabular-nums}.podium-stand{width:100%;border-radius:10px 10px 0 0;background:var(--red);color:#fff;font-size:2rem;font-weight:900;display:flex;align-items:center;justify-content:center}.place-1 .podium-stand{height:120px}.place-2 .podium-stand{height:85px;background:#5c6b80}.place-3 .podium-stand{height:60px;background:#8a5a2b}.results-table,.data-table,.press-log,.final-table{width:100%;border-collapse:collapse}.results-table th,.results-table td,.data-table th,.data-table td,.press-log th,.press-log td,.final-table th,.final-table td{text-align:left;padding:.45rem .6rem;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}.num{text-align:right!important;font-variant-numeric:tabular-nums}.cell-player{display:inline-flex;align-items:center;gap:.5rem}.negative{color:var(--red-dark)}.board{display:flex;flex-direction:column;gap:6px;width:100%}.board-row{display:grid;grid-template-columns:minmax(0,2.3fr) repeat(var(--cols),minmax(0,1fr));gap:6px}.board-category{display:flex;align-items:center;padding:.4rem .7rem;font-weight:700;border-radius:8px;overflow:hidden;overflow-wrap:anywhere}.board-cell{position:relative;border:none;border-radius:8px;font:inherit;font-weight:800;font-variant-numeric:tabular-nums;cursor:default}.board-cell.clickable{cursor:pointer}.board-special{position:absolute;top:2px;right:4px;font-size:.8em}.board-host .board-category,.board-mini .board-category{background:#f1ece6;font-size:.9rem}.board-host .board-cell,.board-mini .board-cell{background:var(--red);color:#fff;min-height:48px;font-size:1.1rem}.board-host .board-cell.clickable:hover{background:var(--red-dark)}.board-host .board-cell.played,.board-mini .board-cell.played{background:#e9e3dc}.board-cell.empty{background:transparent!important}.option{display:flex;align-items:center;gap:.6em;border:none;border-radius:12px;padding:.7em .9em;color:#fff;font:inherit;font-weight:700;text-align:left;position:relative;overflow:hidden}.opt-0{background:var(--opt-0)}.opt-1{background:var(--opt-1)}.opt-2{background:var(--opt-2)}.opt-3{background:var(--opt-3)}.option-shape{font-size:1.2em;opacity:.9}.option-text{flex:1;overflow-wrap:anywhere}.screen{--s-bg: #0e1220;--s-panel: #1a2033;--s-panel-2: #232a42;--s-text: #f5f1ea;--s-muted: #b9b3c4;--s-gold: #f2c14e;--s-cell: #7d1424;--s-cell-2: #9b1b2e;--s-green: #3fbf6f;color-scheme:dark;position:relative;display:flex;flex-direction:column;min-height:100vh;height:100vh;overflow:hidden;background:radial-gradient(ellipse at top,rgba(179,18,42,.18),transparent 60%),var(--s-bg);color:var(--s-text);font-size:clamp(14px,1.25vw,26px)}.screen .ornament{color:#d6283e}.screen .logo span{color:var(--s-text)}.screen .logo{color:#e8394f}.screen-top{display:flex;align-items:center;gap:1rem;padding:.4em 1.2em}.screen-round{flex:1;text-align:center;font-weight:800;font-size:1.3em;color:var(--s-gold);letter-spacing:.05em;text-transform:uppercase}.screen-tools{display:flex;align-items:center;gap:.5rem}.screen-code{font-weight:800;font-size:1.2em;letter-spacing:.15em;color:var(--s-gold)}.screen .icon-btn{background:var(--s-panel);border-color:var(--s-panel-2);color:var(--s-text)}.screen .lang-switch{border-color:var(--s-panel-2)}.screen-main{flex:1;min-height:0;display:flex;align-items:stretch;justify-content:center;padding:.6em 2.2em}.screen-main>*{flex:1;min-width:0}.screen-loading,.screen-error{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem;font-size:1.5em}.screen-lobby{display:grid;grid-template-columns:auto 1fr;gap:3em;align-items:center}.lobby-join{display:flex;flex-direction:column;align-items:center;gap:.7em;text-align:center}.lobby-join h1{font-size:1.5em;max-width:22ch}.lobby-url{font-size:1.3em;font-weight:700;color:var(--s-gold)}.lobby-code{font-size:1.4em}.lobby-code strong{font-size:2.2em;letter-spacing:.2em;color:var(--s-gold);display:block}.lobby-players h2{font-size:1.6em}.lobby-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(7.5em,1fr));gap:1em}.lobby-player{display:flex;flex-direction:column;align-items:center;gap:.3em;font-weight:700;text-align:center;animation:pop-in .35s ease-out;overflow-wrap:anywhere}.lobby-player svg{width:4.5em;height:4.5em}.lobby-player.offline{opacity:.45}.lobby-grid.dense{grid-template-columns:repeat(auto-fill,minmax(5.2em,1fr));gap:.6em;font-size:.85em}.lobby-grid.dense .lobby-player svg{width:3em;height:3em}.lobby-more{color:var(--s-gold);font-weight:700;font-size:1.2em;margin:.6em 0 0}.score-card.more{min-width:0;justify-content:center;padding:.3em .9em;font-weight:900;font-size:1.3em;color:var(--s-gold)}.lobby-mode{color:var(--s-muted);margin-top:1.5em}@keyframes pop-in{0%{transform:scale(.6);opacity:0}}.screen-board{display:flex;flex-direction:column;gap:.6em;justify-content:center}.board-screen{gap:.45em}.board-screen .board-row{gap:.45em;min-height:3.6em}.board-screen .board-category{background:var(--s-panel);color:var(--s-text);font-size:1.35em;border-left:.3em solid #d6283e}.board-screen .board-cell{background:linear-gradient(180deg,var(--s-cell-2),var(--s-cell));color:var(--s-gold);font-size:2.2em;box-shadow:inset 0 -.12em #00000040}.board-screen .board-cell.played{background:var(--s-panel);box-shadow:none}.board-chooser{display:flex;align-items:center;justify-content:center;gap:.6em;font-size:1.3em;font-weight:700}.screen-question{display:flex;flex-direction:column;gap:.8em;min-height:0}.screen-question.reveal{justify-content:center}.question-header{display:flex;align-items:center;gap:1em;font-size:1.4em;font-weight:700;flex-wrap:wrap}.question-category{color:var(--s-text)}.question-value{color:var(--s-gold);font-weight:900}.question-special{background:#4b2a7a;border-radius:999px;padding:.1em .8em}.question-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:1.5em}.question-body.with-media{justify-content:space-between}.question-text{font-size:clamp(28px,4.2vw,84px);font-weight:700;line-height:1.2;text-align:center;overflow-wrap:anywhere}.question-text.long{font-size:clamp(24px,3.1vw,64px)}.with-media .question-text{flex:1;font-size:clamp(24px,3vw,60px)}.question-text.small{font-size:1.5em;color:var(--s-muted);font-weight:600}.question-image{max-width:45%;max-height:100%;object-fit:contain;border-radius:12px}.question-audio{width:30%}.question-status{display:flex;flex-direction:column;align-items:center;gap:.6em}.status-pill{display:inline-flex;align-items:center;gap:.6em;padding:.35em 1.2em;border-radius:999px;background:var(--s-panel);font-size:1.4em;font-weight:700}.status-pill.locked{color:var(--s-muted)}.status-pill.open{background:#1d6b3c;color:#fff;animation:pulse 1s ease-in-out infinite}.status-pill.answering{background:var(--s-gold);color:#2a1c00;font-size:1.8em}@keyframes pulse{50%{transform:scale(1.05)}}.screen .timer{max-width:60%}.screen .timer-track{height:.5em}.screen .timer-seconds{font-size:1.6em}.options-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6em;font-size:1.6em}.options-grid .option{min-height:2.6em}.option.faded{opacity:.35}.option.correct{outline:.15em solid #fff;transform:scale(1.02)}.option-count{font-weight:900;min-width:2ch;text-align:right}.option-bar{position:absolute;left:0;bottom:0;height:.2em;background:#fffc}.reveal-label{text-align:center;color:var(--s-muted);font-size:1.3em;text-transform:uppercase;letter-spacing:.06em}.reveal-answer{text-align:center;font-size:clamp(32px,4.8vw,96px);font-weight:900;color:var(--s-gold);animation:pop-in .4s ease-out}.reveal-comment{text-align:center;font-size:1.3em;color:var(--s-muted);max-width:60ch;margin:0 auto}.reveal-bottom{display:flex;gap:2em;align-items:flex-start;justify-content:center}.reveal-stat{font-size:1.4em;font-weight:700}.leaderboard{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.3em;min-width:18em;font-size:1.2em}.leaderboard li{display:flex;align-items:center;gap:.6em;background:var(--s-panel);border-radius:10px;padding:.2em .6em}.lb-name{flex:1;font-weight:700}.lb-delta{color:var(--s-green);font-weight:800}.lb-score{font-weight:900;color:var(--s-gold);min-width:4ch;text-align:right}.screen-special{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6em;text-align:center}.screen-special h1{font-size:4em;color:var(--s-gold);animation:pop-in .5s ease-out}.screen-special p{font-size:1.6em}.special-icon{width:10em;height:10em}.special-value{font-size:3em;font-weight:900;color:var(--s-gold)}.auction-bids{display:flex;flex-wrap:wrap;justify-content:center;gap:1em}.auction-bid{display:flex;flex-direction:column;align-items:center;gap:.2em;background:var(--s-panel);border-radius:14px;padding:.6em 1em;min-width:8em;font-size:1.2em}.auction-bid strong{font-size:1.4em;color:var(--s-gold)}.auction-bid.turn{outline:.15em solid var(--s-gold)}.auction-bid.highest{background:#3a2a10}.auction-turn{color:var(--s-gold);font-weight:800}.screen-final{display:flex;flex-direction:column;align-items:center;gap:.6em;text-align:center}.final-title{font-size:1.4em;text-transform:uppercase;letter-spacing:.1em;color:var(--s-muted)}.final-category{font-size:3em;font-weight:900;color:var(--s-gold)}.final-hint{font-size:1.5em}.final-text{font-size:clamp(24px,3.2vw,64px)}.final-participants{display:flex;flex-wrap:wrap;justify-content:center;gap:1em;margin-top:.6em}.final-card{display:flex;flex-direction:column;align-items:center;gap:.3em;background:var(--s-panel);border-radius:14px;padding:.7em 1em;min-width:10em;max-width:16em;font-size:1.15em}.final-card.revealed{animation:pop-in .4s ease-out}.final-card.correct{background:#1d4f31}.final-card.wrong{background:#5a1620}.final-card-name{font-weight:800}.final-card-answer{font-size:1.4em;font-weight:800;color:var(--s-gold);overflow-wrap:anywhere}.final-card-status{font-size:1.6em}.final-answer{font-size:1.8em;margin-top:.4em}.final-answer strong{color:var(--s-gold)}.screen-results{display:flex;flex-direction:column;align-items:center;gap:.5em;overflow:auto}.screen-results h1{font-size:2.6em;color:var(--s-gold)}.screen .podium-place{width:11em}.screen .podium-place svg{width:6em;height:6em}.screen .place-1 svg{width:8em;height:8em}.screen .podium-name{font-size:1.4em}.screen .podium-score{font-size:1.6em;color:var(--s-gold)}.screen .results-table{max-width:40em;font-size:1.1em}.screen .results-table th{color:var(--s-muted)}.screen .results-table td,.screen .results-table th{border-color:var(--s-panel-2)}.score-strip{display:flex;justify-content:center;gap:.6em;padding:.5em 1em .6em;flex-wrap:wrap}.score-card{position:relative;display:flex;align-items:center;gap:.5em;background:var(--s-panel);border-radius:12px;padding:.3em .9em .3em .4em;min-width:9em;border:.12em solid transparent;transition:border-color .2s,transform .2s}.score-card svg{width:2.4em;height:2.4em}.score-card.chooser{border-color:var(--s-gold)}.score-card.answering{border-color:var(--s-gold);background:#3a2a10;transform:translateY(-.2em)}.score-card.wrong{opacity:.55}.score-card.offline{opacity:.4}.score-card-text{display:flex;flex-direction:column;line-height:1.15;min-width:0}.score-card-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:9em}.score-card-score{font-weight:900;font-size:1.3em;color:var(--s-gold);font-variant-numeric:tabular-nums}.score-card-score.negative{color:#ff8a8a}.score-flash{position:absolute;top:-.2em;right:.3em;font-weight:900;font-size:1.4em;animation:float-up 2.2s ease-out forwards;pointer-events:none}.score-flash.plus{color:var(--s-green)}.score-flash.minus{color:#ff6b6b}@keyframes float-up{0%{transform:translateY(.5em);opacity:0}15%{opacity:1}to{transform:translateY(-1.8em);opacity:0}}.sound-unlock{position:fixed;right:1em;bottom:1em;z-index:60;background:var(--s-gold);color:#2a1c00;border:none;border-radius:999px;padding:.5em 1em;font:inherit;font-weight:800;cursor:pointer}.pause-overlay div{font-size:2.4em;letter-spacing:.1em}.screen.spectator{height:auto;min-height:100vh;font-size:15px}.screen.spectator .screen-main{padding:.75rem}.screen.spectator .screen-lobby{grid-template-columns:1fr}@media(max-width:800px){.screen-lobby,.options-grid{grid-template-columns:1fr}}.play{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--paper)}.play-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem 1rem;background:var(--card);border-bottom:3px solid var(--red)}.play-me{display:flex;align-items:center;gap:.5rem;min-width:0}.play-me-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.play-me-score{font-weight:900;font-size:1.2rem;color:var(--red);font-variant-numeric:tabular-nums;background:var(--red-light);border-radius:999px;padding:0 .6rem}.play-me-score.negative{color:var(--red-dark)}.play-main{flex:1;display:flex;flex-direction:column;padding:1rem;width:100%;max-width:560px;margin:0 auto}.play-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;text-align:center;font-size:1.15rem}.play-title{font-size:1.5rem;font-weight:800;margin:0}.play-title.ok{color:var(--green)}.play-title.bad{color:var(--red-dark)}.play-question-text{font-size:1.2rem;font-weight:600;margin:0}.play-answer{font-size:1.8rem;font-weight:900;color:var(--red);margin:0}.play-leave{align-self:center;margin-bottom:1rem}.mini-avatars{display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem}.join-form{display:flex;flex-direction:column;gap:1rem}.code-input{font-size:2rem;font-weight:800;letter-spacing:.4em;text-transform:uppercase;text-align:center;min-height:60px}.avatar-picker legend{font-size:.875rem;font-weight:600;color:var(--muted);margin-bottom:.4rem}.avatar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem}.avatar-option{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.4rem .1rem;border:2px solid transparent;border-radius:12px;background:var(--card);font:inherit;font-size:.75rem;font-weight:600;color:var(--ink);cursor:pointer}.avatar-option.selected{border-color:var(--red);background:var(--red-light)}.avatar-option span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buzzer{flex:1;min-height:max(55vh,300px);width:100%;border:none;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;color:#fff;font:inherit;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;box-shadow:inset 0 -10px #0003,0 8px 24px #00000026;transition:transform .05s,background .15s}.buzzer:active{transform:scale(.98)}.buzzer-label{font-size:clamp(2.4rem,12vw,4rem);font-weight:900;letter-spacing:.02em}.buzzer-hint{font-size:1.05rem;font-weight:600;opacity:.95;max-width:24ch;text-align:center}.buzzer-locked{background:#6b6560}.buzzer-open{background:var(--red);animation:buzzer-glow .9s ease-in-out infinite}.buzzer-pressed{background:var(--red-dark)}.buzzer-falsestart{background:var(--amber)}.buzzer-me{background:var(--green)}@keyframes buzzer-glow{50%{box-shadow:inset 0 -10px #0003,0 0 0 10px #b3122a40}}.bid-box{display:flex;flex-direction:column;gap:.75rem;text-align:center}.bid-box input,.bid-box textarea{font-size:1.4rem;text-align:center;min-height:56px}.bid-quick{display:flex;gap:.4rem;justify-content:center;flex-wrap:wrap}.bid-box .row .btn{flex:1}.transfer-list{display:flex;flex-direction:column;gap:.5rem;width:100%}.transfer-btn{justify-content:flex-start;min-height:56px;font-size:1.1rem}.play-board{display:flex;flex-direction:column;gap:.75rem}.board-mini .board-category{font-size:.8rem;padding:.3rem .4rem}.board-mini .board-cell{min-height:52px;font-size:1rem}.voting{display:flex;flex-direction:column;gap:.9rem;flex:1}.vote-options{flex:1;display:grid;grid-template-rows:repeat(4,1fr);gap:.6rem}.vote-options .option{min-height:70px;font-size:1.15rem;cursor:pointer;touch-action:manipulation}.option.small{font-size:1rem;padding:.5rem .8rem}.play .podium-place{width:30%}.play .podium-place svg{width:56px;height:56px}.play .place-1 .podium-stand{height:80px}.play .place-2 .podium-stand{height:56px}.play .place-3 .podium-stand{height:40px}.play .podium-stand{font-size:1.4rem}.play-home{text-decoration:none}.play-top-right{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.back-link{align-self:flex-start;color:var(--muted);font-weight:600;text-decoration:none}.back-link:hover{color:var(--red)}.spectator-home{position:fixed;top:12px;left:12px;z-index:40;padding:.35rem .85rem;border-radius:999px;background:#1a2033e6;color:#f5f1ea;font-weight:700;font-size:.9rem;text-decoration:none}.host{min-height:100vh;display:flex;flex-direction:column}.host-top{display:flex;align-items:center;gap:1.5rem;padding:.6rem 1.5rem;background:var(--card);flex-wrap:wrap}.host-logo{text-decoration:none}.host-nav{display:flex;gap:.25rem;flex:1;flex-wrap:wrap}.host-nav a{text-decoration:none;color:var(--ink);font-weight:600;padding:.4rem .8rem;border-radius:8px}.host-nav a:hover{background:#f4efe9}.host-nav a.active{background:var(--red-light);color:var(--red-dark)}.host-user{display:flex;align-items:center;gap:.9rem}.host-login{color:var(--muted);font-weight:600;text-decoration:none}.host-ornament{opacity:.9}.host-main{width:100%;max-width:1180px;margin:0 auto;padding:1.5rem}.host-main.wide{max-width:1500px}.host-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--red)}.active-rooms{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;padding:.5rem;background:var(--green-light)}.active-room{color:var(--green);font-weight:700}.active-room-wrap{display:inline-flex;align-items:center;gap:.15rem}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}.page-head h1{margin:.2rem 0}.page-head.sticky{position:sticky;top:0;z-index:5;background:var(--paper);padding:.5rem 0;border-bottom:1px solid var(--line)}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;gap:2rem}.auth-card{width:min(440px,calc(100% - 2rem));background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:1rem}.auth-head{display:flex;justify-content:space-between;align-items:center}.pack-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin-top:1rem}.pack-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;display:flex;flex-direction:column;gap:.4rem;box-shadow:var(--shadow)}.pack-card.builtin{border-top:4px solid var(--red)}.pack-card-head{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.pack-card h2{margin:0;flex:1}.pack-desc{margin:0;color:var(--muted)}.pack-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:auto;padding-top:.5rem}.inline-form{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.pack-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}.pack-meta .field.full{flex-basis:100%}.round-editor{display:flex;flex-direction:column;gap:1rem}.cat-editor{display:flex;flex-direction:column;gap:.6rem}.cat-head{display:flex;align-items:center;gap:.6rem}.cat-index{width:30px;height:30px;border-radius:50%;background:var(--red);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.cat-name{font-size:1.15rem;font-weight:700}.cat-tools{display:flex;gap:.3rem}.q-list{display:flex;flex-direction:column;gap:.4rem}.q-editor{border:1px solid var(--line);border-radius:10px;background:#fdfbf8}.q-editor.incomplete{border-left:4px solid var(--amber)}.q-editor.open{background:#fff;border-color:#cfc5ba}.q-summary{display:flex;align-items:center;gap:.6rem;width:100%;border:none;background:none;font:inherit;color:inherit;text-align:left;padding:.5rem .7rem;cursor:pointer}.q-value{display:inline-block;min-width:3.2em;text-align:center;font-weight:800;color:#fff;background:var(--red);border-radius:6px;padding:.05rem .4rem;font-variant-numeric:tabular-nums}.q-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.q-badges{display:flex;gap:.25rem}.q-toggle{color:var(--muted)}.q-form{display:flex;flex-direction:column;gap:.75rem;padding:.5rem .9rem .9rem;border-top:1px solid var(--line)}.options-editor,.media-editor{display:flex;flex-direction:column;gap:.45rem}.options-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.4rem}.options-list small{grid-column:1 / -1;color:var(--muted)}.option-edit{display:flex;align-items:center;gap:.45rem;border-radius:8px;padding:.15rem .35rem}.option-edit.correct{background:var(--green-light)}.media-preview{display:flex;align-items:center;gap:.75rem}.media-preview img{max-height:120px;max-width:220px;border-radius:8px}.file-btn{align-self:flex-start}.q-footer{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;border-top:1px dashed var(--line);padding-top:.6rem}.ai-page{display:flex;flex-direction:column;gap:1rem}.ai-progress{display:flex;align-items:center;gap:1rem;color:var(--blue)}.progress{height:8px;background:#e9e3dc;border-radius:999px;overflow:hidden;margin-top:.35rem}.progress div{height:100%;background:var(--blue);transition:width .4s}.ai-warning{background:var(--amber-light);color:var(--amber);border:2px solid #f0c27a;border-radius:var(--radius);padding:.8rem 1rem;font-weight:800;font-size:1.1rem}.ai-preview{display:flex;flex-direction:column;gap:1rem}.ai-preview .card{display:flex;flex-direction:column;gap:.6rem}.preview-q{display:flex;flex-direction:column;gap:.45rem;border-top:1px solid var(--line);padding-top:.6rem}.preview-q.busy{opacity:.55}.preview-q-head{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.options-list.compact{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.save-box h2{margin:0}.setup-grid{display:grid;grid-template-columns:minmax(300px,420px) 1fr;gap:1rem;align-items:start}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.mode-card{display:flex;flex-direction:column;gap:.25rem;text-align:left;border:2px solid var(--line);border-radius:10px;background:var(--card);padding:.7rem;font:inherit;color:inherit;cursor:pointer}.mode-card span{font-size:.85rem;color:var(--muted)}.mode-card.active{border-color:var(--red);background:var(--red-light)}.templates{display:flex;flex-direction:column;gap:.4rem}.picker{border:1px solid var(--line);border-radius:10px;max-height:360px;overflow:auto}.picker-pack-head{display:flex;align-items:center;gap:.5rem;width:100%;border:none;border-bottom:1px solid var(--line);background:#faf6f1;padding:.5rem .75rem;font:inherit;cursor:pointer;text-align:left}.picker-body{padding:.4rem .75rem .6rem}.picker-round{font-size:.8rem;font-weight:700;color:var(--muted);text-transform:uppercase;margin-top:.5rem}.picker-cat{display:flex;align-items:center;gap:.35rem;padding:.2rem 0;border-bottom:1px dashed #eee6dd}.picker-cat.used{opacity:.45}.selected-round h3{margin:.4rem 0}.selected-round ol{margin:0;padding:0;list-style:none;counter-reset:theme;display:flex;flex-direction:column;gap:.3rem}.selected-round li{display:flex;align-items:center;gap:.3rem;counter-increment:theme}.selected-round li:before{content:counter(theme) ".";min-width:1.6em;color:var(--muted);font-weight:700}.control{display:flex;flex-direction:column;gap:1rem}.control-top{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.control-code{display:flex;flex-direction:column;line-height:1.1}.control-code strong{font-size:2.2rem;letter-spacing:.15em;color:var(--red)}.control-title{font-weight:700;font-size:1.1rem}.links-card{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap}.control-grid{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:1rem;align-items:start}.control-main.paused{outline:3px dashed var(--amber)}.players-panel h2{margin-bottom:.4rem}.players-search{margin-bottom:.5rem}.players-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}.players-list li{border-radius:10px;padding:.3rem .4rem;border:1px solid transparent}.players-list li.answering{background:#fff6dc;border-color:#f0c84f}.players-list li.wrong{opacity:.6}.players-list li.offline .player-name{color:var(--muted)}.player-row{display:flex;align-items:center;gap:.5rem}.player-row strong{font-size:1.15rem;font-variant-numeric:tabular-nums}.adjust-row{display:flex;gap:.3rem;margin-top:.35rem}.adjust-row input{width:90px;min-height:32px;padding:.2rem .4rem}.pending-joins{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.6rem}.pending-join{display:flex;align-items:center;gap:.4rem;background:var(--amber-light);border-radius:8px;padding:.35rem .5rem}.lobby-panel{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}.join-url{font-size:1.05rem}.big-code{font-size:2rem;letter-spacing:.15em;color:var(--red)}.host-question{border:1px solid var(--line);border-radius:10px;padding:.8rem 1rem;background:#fffdfa;display:flex;flex-direction:column;gap:.5rem}.host-question-head{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.host-question-text{font-size:1.3rem;font-weight:600;margin:0}.host-media{max-width:280px;max-height:180px;border-radius:8px}.host-answer{font-size:1.15rem;background:var(--green-light);border-radius:8px;padding:.5rem .75rem}.host-answer strong{color:var(--green)}.host-comment{margin:0;color:var(--muted);font-style:italic}.host-options{display:grid;grid-template-columns:1fr 1fr;gap:.35rem}.host-option{color:#fff;border-radius:8px;padding:.35rem .6rem;font-weight:600;opacity:.55}.host-option.correct{opacity:1;outline:3px solid var(--ink)}.status-line{display:flex;align-items:center;gap:.5rem;font-size:1.2rem;font-weight:700;margin:0}.status-line.open{color:var(--green)}.judge-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.press-log caption{text-align:left;font-weight:700;color:var(--muted);padding-bottom:.3rem}.press-log tr.winner td{font-weight:800;color:var(--green)}.bids{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.4rem}.bids li{background:#f4efe9;border-radius:8px;padding:.25rem .6rem}.bids li.turn{outline:2px solid var(--red)}.final-table tr.correct td{background:var(--green-light)}.final-table tr.wrong td{background:var(--red-light)}.final-table .row{flex-wrap:wrap}.control-bar{position:sticky;bottom:0;display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;background:#fbf8f4f5;border-top:1px solid var(--line);padding:.7rem 0}.rate-bar{display:inline-block;width:60px;height:8px;background:#ece5dd;border-radius:999px;overflow:hidden;margin-right:.5rem;vertical-align:middle}.rate-bar span{display:block;height:100%;background:var(--green)}@media(max-width:900px){.setup-grid,.control-grid{grid-template-columns:1fr}.host-main{padding:1rem}}.home{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(900px 520px at 88% 18%,rgba(179,18,42,.09),transparent 62%),radial-gradient(700px 420px at 0% 100%,rgba(179,18,42,.05),transparent 60%),var(--paper)}.home-header{width:100%;max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:1.5rem;padding:1rem 1.5rem}.home-nav{display:flex;gap:1.4rem}.home-nav a,.home-footer a{color:var(--muted);font-weight:600;text-decoration:none}.home-nav a:hover,.home-footer a:hover{color:var(--red)}.home-hero{width:100%;max-width:1200px;margin:0 auto;padding:2rem 1.5rem 3.5rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:3rem;align-items:center}.home-title{display:flex;align-items:center;gap:.9rem;margin:0 0 .7rem;font-size:clamp(2.5rem,5.2vw,4.3rem);font-weight:900;letter-spacing:-.02em;line-height:1;color:var(--red)}.home-title span{color:var(--ink)}.home-lead{margin:0 0 .45rem;font-size:clamp(1.25rem,2vw,1.55rem);font-weight:700}.home-sub{margin:0 0 1.1rem;max-width:34em;color:var(--muted);font-size:1.05rem}.home-chips{list-style:none;display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1.6rem;padding:0}.home-chips li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.25rem .8rem;font-size:.9rem;font-weight:600}.home-chips li:before{content:"◆";color:var(--red);margin-right:.45em;font-size:.75em;vertical-align:.1em}.home-join{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--red);border-radius:18px;padding:1.1rem 1.2rem 1.25rem;box-shadow:0 12px 32px #3c140a14}.home-join-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.2rem 1rem;margin-bottom:.8rem}.home-join-head strong{font-size:1.2rem}.home-join-head span{color:var(--muted);font-size:.9rem}.code-cells{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,5.2rem));justify-content:start;gap:.6rem;cursor:text}.code-cell{height:72px;display:flex;align-items:center;justify-content:center;border:2px solid #ddd3c9;border-radius:12px;background:#fffdfb;font-size:2.1rem;font-weight:900;color:var(--ink);overflow:hidden;transition:border-color .15s,box-shadow .15s}.code-cell.filled{border-color:#b9ada2}.code-cell.active{border-color:var(--red);box-shadow:0 0 0 3px #b3122a26}.code-cell.active:empty:after{content:"";width:2px;height:1.3em;background:var(--red);animation:home-caret 1s steps(1) infinite}.code-cells input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;opacity:0;border:none;font-size:16px;cursor:text}@keyframes home-caret{50%{opacity:0}}.home-host{display:flex;align-items:center;flex-wrap:wrap;gap:.9rem;margin-top:1.2rem}.home-host span{color:var(--muted);font-weight:600}.btn.home-create{background:var(--ink);border-color:var(--ink);color:#fff;min-height:48px;padding:.5rem 1.4rem}.btn.home-create:hover:not(:disabled){background:#000;border-color:#000}.demo{position:relative;font-size:clamp(9px,.95vw,14px);padding:2.6em 5.6em 4em 1.6em}.demo-screen{background:#0e1220;border-radius:1.1em;padding:1em 1.1em 1.1em;box-shadow:0 0 0 .5em #1f2438,0 2.2em 4em #0e122059;transform:perspective(1400px) rotateY(-5deg) rotateX(2deg)}.demo-screen-top{display:flex;justify-content:space-between;margin-bottom:.8em;color:#f2c14e;font-weight:800;font-size:.95em;letter-spacing:.08em;text-transform:uppercase}.demo-code{letter-spacing:.25em}.demo-board{display:flex;flex-direction:column;gap:.4em}.demo-row{display:grid;grid-template-columns:2.2fr repeat(4,1fr);gap:.4em}.demo-cat{background:#1a2033;color:#f5f1ea;border-left:.3em solid #d6283e;border-radius:.45em;padding:.6em .7em;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-cell{display:flex;align-items:center;justify-content:center;border-radius:.45em;background:linear-gradient(180deg,#9b1b2e,#7d1424);box-shadow:inset 0 -.15em #00000040;color:#f2c14e;font-weight:900;font-size:1.25em}.demo-cell.played{background:#1a2033;box-shadow:none}.demo-cell.selected{background:#f2c14e;color:#2a1c00;animation:home-pulse 1.8s ease-in-out infinite}.demo-scores{display:flex;justify-content:center;gap:.5em;margin-top:.9em}.demo-score{display:flex;align-items:center;gap:.4em;padding:.3em .75em .3em .35em;border:.12em solid transparent;border-radius:.6em;background:#1a2033;color:#f5f1ea;font-size:.9em}.demo-score.turn{border-color:#f2c14e}.demo-score svg{width:1.8em;height:1.8em}.demo-score strong{color:#f2c14e}.demo-score strong.neg{color:#ff8a8a}.demo-phone{position:absolute;right:0;bottom:0;width:11em;height:20.5em;display:flex;flex-direction:column;padding:1em .7em .7em;background:#fbf8f4;border:.55em solid #1d1b1a;border-radius:1.8em;box-shadow:0 1.5em 3em #0000004d;transform:rotate(6deg)}.demo-phone:before{content:"";position:absolute;top:.35em;left:50%;width:3.5em;height:.45em;border-radius:1em;background:#1d1b1a;transform:translate(-50%)}.demo-phone-bar{display:flex;align-items:center;gap:.35em;padding-bottom:.45em;border-bottom:.2em solid var(--red);font-size:.85em;font-weight:700}.demo-phone-bar svg{width:1.7em;height:1.7em}.demo-phone-bar b{margin-left:auto;color:var(--red)}.demo-phone-buzzer{flex:1;display:flex;align-items:center;justify-content:center;margin-top:.7em;border-radius:1.1em;background:var(--red);color:#fff;font-weight:900;font-size:1.35em;box-shadow:inset 0 -.35em #0003;animation:home-buzz 1.8s ease-in-out infinite}.demo-float{position:absolute;filter:drop-shadow(0 .6em 1em rgba(0,0,0,.18));animation:home-float 5s ease-in-out infinite}.demo-float svg{display:block;width:100%;height:100%}.demo-float.f1{top:-.6em;left:-.6em;width:4.2em;height:4.2em}.demo-float.f2{top:-.4em;right:6em;width:3.5em;height:3.5em;animation-delay:-1.7s}.demo-float.f3{bottom:.6em;left:2.5em;width:3.2em;height:3.2em;animation-delay:-3.2s}@keyframes home-float{50%{transform:translateY(-.6em)}}@keyframes home-pulse{50%{box-shadow:0 0 0 .3em #f2c14e59}}@keyframes home-buzz{50%{box-shadow:inset 0 -.35em #0003,0 0 0 .45em #b3122a38}}.home-steps{width:100%;max-width:1200px;margin:0 auto;padding:.5rem 1.5rem 3rem}.home-steps h2{text-align:center;font-size:1.6rem;margin-bottom:1.5rem}.home-steps ol{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin:0;padding:0}.home-step{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.4rem;box-shadow:var(--shadow)}.home-step-icon{position:relative;width:3.2rem;height:3.2rem;display:flex;align-items:center;justify-content:center;margin-bottom:.9rem;border-radius:12px;background:var(--red-light);color:var(--red)}.home-step-icon svg{width:1.9rem;height:1.9rem}.home-step-num{position:absolute;top:-.45rem;right:-.45rem;width:1.45rem;height:1.45rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--red);color:#fff;font-size:.8rem;font-weight:800}.home-step h3{margin:0 0 .35rem;font-size:1.1rem}.home-step p{margin:0;color:var(--muted)}.home-footer{margin-top:auto}.home-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:1.5rem;padding:.5rem 1rem 1rem}.home-join-hint{transition:color .2s}.home-join-hint.checking{color:var(--red);font-weight:600}.home-join-hint.ok{color:var(--green);font-weight:700}.home-join-hint.error{color:var(--red-dark);font-weight:600}.code-char{display:inline-block;animation:code-pop .34s cubic-bezier(.2,.9,.3,1.4)}@keyframes code-pop{0%{transform:translateY(.45em) scale(.3);opacity:0}60%{transform:translateY(-.08em) scale(1.14);opacity:1}to{transform:none}}.code-cell.filled{animation:cell-flash .5s ease-out}@keyframes cell-flash{0%{border-color:var(--red);box-shadow:0 0 #b3122a66}to{box-shadow:0 0 0 12px #b3122a00}}.code-cells.status-checking .code-cell{border-color:var(--red);animation:cell-wave .9s ease-in-out infinite;animation-delay:calc(var(--i) * .1s)}@keyframes cell-wave{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-9px)}}.code-cells.status-ok .code-cell{border-color:var(--green);background:var(--green-light);color:var(--green);animation:cell-ok .5s ease-out both;animation-delay:calc(var(--i) * .07s)}@keyframes cell-ok{0%{transform:scale(1)}45%{transform:scale(1.1);box-shadow:0 0 0 6px #1f7a3f2e}to{transform:scale(1);box-shadow:0 0 #1f7a3f00}}.code-cells.status-error{animation:code-shake .45s ease-in-out}.code-cells.status-error .code-cell{border-color:var(--red);background:var(--red-light);color:var(--red-dark)}@keyframes code-shake{0%,to{transform:translate(0)}20%{transform:translate(-9px)}40%{transform:translate(8px)}60%{transform:translate(-5px)}80%{transform:translate(3px)}}@media(max-width:960px){.home-hero{grid-template-columns:1fr;gap:2rem;padding-top:1rem}.home-hero-art{width:100%;max-width:620px;margin:0 auto}.demo{font-size:clamp(8px,1.9vw,13px)}.home-steps ol{grid-template-columns:1fr}}@media(max-width:640px){.home-header{padding:.8rem 1rem}.home-nav{display:none}.home-header .lang-switch{margin-left:auto}.home-hero{padding:.5rem 1rem 1.5rem}.home-title{font-size:2.4rem}.home-title svg{width:38px;height:38px}.code-cells{grid-template-columns:repeat(4,1fr)}.code-cell{height:66px;font-size:1.9rem}.demo{font-size:2.1vw}.home-steps{padding:.5rem 1rem 2rem}.home-steps ol{gap:.75rem}.home-step{display:grid;grid-template-columns:auto 1fr;column-gap:1rem;padding:1rem}.home-step-icon{grid-row:span 2;margin-bottom:0}.home-header .lang-switch{margin-left:0}}@media(prefers-reduced-motion:reduce){.demo-float,.demo-phone-buzzer,.demo-cell.selected,.code-cell.active:empty:after,.code-char,.code-cell.filled,.code-cells.status-checking .code-cell,.code-cells.status-ok .code-cell,.code-cells.status-error{animation:none}}
