:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:#f6f5fb;background:#0b0d17;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #0b0d17;--panel: #151824;--panel-soft: #11141f;--line: rgba(255, 255, 255, .1);--muted: #9499ad;--purple: #9b72ff;--purple-strong: #7c3aed;--cyan: #4eddec;--orange: #ff9b61;--green: #6fe7ad}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,textarea,select,input{font:inherit}button,a,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(155,114,255,.65);outline-offset:3px}::selection{background:#7c3aed;color:#fff}.ambient{position:fixed;border-radius:50%;filter:blur(110px);pointer-events:none;opacity:.15;z-index:0}.ambient--one{width:600px;height:600px;background:#7c3aed;top:-320px;left:-150px}.ambient--two{width:500px;height:500px;background:#126de0;right:-220px;bottom:-260px}.ambient--player{width:650px;height:650px;background:#7c3aed;top:-400px;left:10%;opacity:.12}.player-page--b .ambient--player{background:#e76c31}.brand{display:inline-flex;align-items:center;gap:12px;font-weight:900;font-size:22px;letter-spacing:-.5px;position:relative;z-index:1}.brand__mark{display:grid;place-items:center;width:38px;height:38px;color:#b28eff}.brand__mark svg{width:100%;height:100%}.brand--compact{font-size:19px}.brand--compact .brand__mark{width:31px;height:31px}.app-header,.screen-header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;min-height:80px;border-bottom:1px solid var(--line)}.app-header{padding:0 42px}.screen-header{margin:0 48px}.app-header__right,.host-header__links{display:flex;align-items:center;gap:24px}.connection{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}.connection__dot{width:7px;height:7px;border-radius:50%;background:#ff9b61}.connection.is-online .connection__dot{background:var(--green);box-shadow:0 0 10px #6fe7ada6}.button{border:0;border-radius:12px;min-height:46px;padding:0 20px;font-weight:700;color:#fff;transition:transform .18s,background .18s,box-shadow .18s;display:inline-flex;align-items:center;justify-content:center;gap:10px}.button:not(:disabled):hover{transform:translateY(-2px)}.button--primary{background:var(--purple-strong);box-shadow:0 8px 24px #7c3aed40}.button--primary:not(:disabled):hover{background:#8b51f5;box-shadow:0 10px 32px #7c3aed61}.button--secondary{background:#ffffff0f;border:1px solid var(--line)}.button--secondary:hover{background:#ffffff1a}.button--stop{background:#ff786e1a;color:#ff9d94;border:1px solid rgba(255,120,110,.25)}.button-spinner,.mini-spinner{display:inline-block;border-radius:50%;border:2px solid rgba(255,255,255,.3);border-top-color:currentColor;animation:spin .8s linear infinite}.button-spinner{width:17px;height:17px}.mini-spinner{width:13px;height:13px}.loader{display:inline-block;width:38px;height:38px;border-radius:50%;border:3px solid rgba(155,114,255,.18);border-top-color:var(--purple);animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.participant-mark{flex:0 0 auto;display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;font-weight:900;font-size:20px}.participant-mark--a{color:#c6b0ff;background:#8b5cf62e;border:1px solid rgba(155,114,255,.35)}.participant-mark--b{color:#ffc09d;background:#f9731626;border:1px solid rgba(255,155,97,.32)}.stage-kicker,.section-eyebrow{color:#a2a7b8;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:2.5px}.stage-kicker{display:flex;align-items:center;justify-content:center;gap:12px}.stage-kicker span{width:4px;height:4px;border-radius:50%;background:var(--purple)}.screen-page{min-height:100svh;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(61,43,109,.13),transparent 45%),var(--bg)}.idle-stage{position:relative;z-index:1;min-height:calc(100svh - 81px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.idle-stage__eyebrow{display:flex;align-items:center;justify-content:center;gap:14px;color:#b49af3;text-transform:uppercase;letter-spacing:4px;font-size:12px;font-weight:800}.idle-stage__eyebrow>span{width:36px;height:1px;background:#7053a8}.idle-stage h1{font-size:clamp(46px,6vw,92px);line-height:.98;letter-spacing:-4px;margin:28px 0 24px;font-weight:950}.idle-stage h1>span{color:transparent;-webkit-text-stroke:1px #a8a3bb}.idle-stage>p{color:#a8adbd;line-height:1.65;font-size:clamp(15px,1.4vw,20px);margin:0}.versus-emblem{display:flex;align-items:center;gap:20px;margin:30px 0}.versus-emblem>span{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;font-size:24px;font-weight:900;background:#8b5cf624;color:#bda4ff;border:1px solid rgba(155,114,255,.3);transform:rotate(-5deg)}.versus-emblem>span:last-child{color:#ffc09d;background:#f973161f;border-color:#ff9b614d;transform:rotate(5deg)}.versus-emblem strong{font-style:italic;font-size:22px;color:#686d80}.rules-row{display:flex;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.rules-row>div{display:flex;align-items:center;gap:12px;padding:16px 34px}.rules-row>div+div{border-left:1px solid var(--line)}.rules-row strong{font-size:28px}.rules-row span{color:var(--muted);font-size:13px}.waiting-message{margin-top:30px;color:#b0b4c3;display:flex;align-items:center;gap:10px;font-size:13px}.waiting-pulse{width:8px;height:8px;border-radius:50%;background:var(--purple);box-shadow:0 0 #9b72ff80;animation:pulse 2s infinite}@keyframes pulse{70%{box-shadow:0 0 0 10px #9b72ff00}to{box-shadow:0 0 #9b72ff00}}.battle-stage{position:relative;z-index:1;max-width:1140px;margin:0 auto;padding:clamp(36px,5vh,70px) 30px 30px;text-align:center}.stage-task{font-size:clamp(34px,4.6vw,68px);letter-spacing:-2px;line-height:1.12;margin:22px auto 28px;max-width:1050px}.time-up{display:inline-block;color:#c9b6ff;background:#8b5cf626;border:1px solid rgba(155,114,255,.3);padding:8px 18px;border-radius:100px;font-weight:800;margin-bottom:12px}.round-timer{width:100%}.round-timer__label{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.round-timer strong{display:block;font-variant-numeric:tabular-nums;font-size:54px;line-height:1.1;letter-spacing:-2px}.round-timer__track{height:5px;background:#ffffff14;border-radius:10px;overflow:hidden;margin-top:16px}.round-timer__track span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#b28eff);transition:width .2s linear}.round-timer--large{max-width:580px;margin:0 auto 38px}.round-timer--large strong{font-size:clamp(72px,8vw,116px);letter-spacing:-6px}.round-timer--large .round-timer__track{height:7px}.round-timer.is-urgent strong{color:#ff9d94;animation:urgent 1s ease-in-out infinite}.round-timer.is-urgent .round-timer__track span{background:#ff786e}@keyframes urgent{50%{opacity:.65}}.screen-players{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:850px;margin:0 auto}.screen-player{display:flex;align-items:center;gap:16px;text-align:left;padding:20px;border:1px solid var(--line);background:#151824cc;border-radius:18px}.screen-player>div{flex:1}.screen-player>div>strong{display:block;margin-bottom:9px}.screen-player--a{border-top-color:#9b72ff80}.screen-player--b{border-top-color:#ff9b6180}.screen-player__attempts{font-size:12px;color:#777d91;font-variant-numeric:tabular-nums}.status-label{display:inline-flex;align-items:center;gap:7px;color:#9399aa;font-size:12px;font-weight:600}.status-label--working{color:#bca6f6}.status-label--ready{color:var(--green)}.status-dot{width:6px;height:6px;border-radius:50%;background:#777d91}.status-check{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#6fe7ad24;font-size:10px}.screen-note{color:#656b7e;font-size:12px;margin-top:24px}.results-stage{position:relative;z-index:1;max-width:1440px;margin:0 auto;padding:26px 42px 40px}.results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:24px}.results-heading .stage-kicker{justify-content:flex-start}.results-heading h1{font-size:clamp(25px,2.7vw,42px);letter-spacing:-1.3px;margin:10px 0 0}.vote-announcement{display:flex;align-items:center;gap:12px;color:#b8bdcc;padding-bottom:5px;font-size:14px}.winner-announcement{text-align:right}.winner-announcement span{display:block;color:var(--green);text-transform:uppercase;font-size:10px;letter-spacing:2px;font-weight:800}.winner-announcement strong{display:block;font-size:26px;margin-top:4px}.results-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.result-card{position:relative;min-width:0;background:#151824f0;border:1px solid var(--line);border-radius:22px;padding:16px;overflow:hidden}.result-card--a{border-top:2px solid #8b5cf6}.result-card--b{border-top:2px solid #f97316}.result-card.is-winner{border-color:#6fe7ada6;box-shadow:0 0 50px #6fe7ad14}.result-card__header,.result-card__header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-card__header{margin-bottom:14px}.result-card__header .participant-mark{width:34px;height:34px;border-radius:10px;font-size:16px}.result-card__header strong{font-size:14px}.winner-chip{color:var(--green);text-transform:uppercase;font-size:10px;letter-spacing:1px;font-weight:800}.result-card__image{position:relative;width:100%;height:min(47vh,490px);border-radius:14px;overflow:hidden;background:#0c0f19}.result-card__image img{display:block;width:100%;height:100%;object-fit:cover}.empty-result{width:100%;height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#777e91;padding:25px}.empty-result__icon{font-size:40px;margin-bottom:15px}.empty-result strong{color:#a1a6b6}.empty-result p{font-size:12px;line-height:1.5;max-width:320px}.winner-ribbon{position:absolute;right:14px;bottom:14px;color:#0b2b1d;background:var(--green);border-radius:8px;padding:8px 12px;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:1px}.result-card__prompt{padding:15px 4px 2px}.result-card__prompt>span{color:#737a8e;text-transform:uppercase;font-size:9px;letter-spacing:2px;font-weight:800}.result-card__prompt p{color:#c7cbd7;line-height:1.5;font-size:14px;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.result-card--compact .result-card__image{height:auto;aspect-ratio:1.45}.result-card--compact .result-card__prompt p{font-size:13px}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-15px;left:calc(var(--i, 1) * 5%);width:7px;height:14px;background:#9b72ff;animation:fall 4s linear infinite}.confetti i:nth-child(3n){background:#4eddec;animation-delay:-1s}.confetti i:nth-child(3n+1){background:#ff9b61;animation-delay:-2.4s}.confetti i:nth-child(1){left:5%}.confetti i:nth-child(2){left:11%}.confetti i:nth-child(3){left:17%}.confetti i:nth-child(4){left:23%}.confetti i:nth-child(5){left:29%}.confetti i:nth-child(6){left:35%}.confetti i:nth-child(7){left:41%}.confetti i:nth-child(8){left:47%}.confetti i:nth-child(9){left:53%}.confetti i:nth-child(10){left:59%}.confetti i:nth-child(11){left:65%}.confetti i:nth-child(12){left:71%}.confetti i:nth-child(13){left:77%}.confetti i:nth-child(14){left:83%}.confetti i:nth-child(15){left:89%}.confetti i:nth-child(16){left:95%}.confetti i:nth-child(17){left:33%}.confetti i:nth-child(18){left:67%}@keyframes fall{to{transform:translateY(85vh) rotate(500deg);opacity:0}}.player-page{min-height:100svh;position:relative;background:var(--bg)}.player-identity{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}.player-identity .participant-mark{width:34px;height:34px;border-radius:10px;font-size:16px}.player-waiting{position:relative;z-index:1;min-height:calc(100svh - 81px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.player-waiting>.participant-mark{width:76px;height:76px;border-radius:24px;font-size:36px;margin-bottom:28px}.player-waiting h1{font-size:clamp(42px,6vw,72px);line-height:1.05;letter-spacing:-3px;margin:18px 0}.player-waiting>p{color:var(--muted);line-height:1.6}.player-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:34px;max-width:1380px;margin:0 auto;padding:38px 42px 50px}.player-workspace{min-width:0}.player-task-block{margin-bottom:28px}.player-task-block .stage-kicker{justify-content:flex-start}.player-task-block h1{font-size:clamp(32px,3.2vw,50px);line-height:1.12;letter-spacing:-1.8px;margin:13px 0 0}.player-workspace>.round-timer{margin-bottom:28px}.prompt-editor{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:20px}.prompt-editor__heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.prompt-editor__heading label{font-weight:750;font-size:14px}.prompt-editor__heading span{color:#6e7487;font-size:11px;font-variant-numeric:tabular-nums}.prompt-editor textarea{display:block;resize:vertical;width:100%;min-height:180px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#0e111b;color:#f3f2f8;padding:16px;line-height:1.55;font-size:15px;transition:border .2s}.prompt-editor textarea::placeholder{color:#616779}.prompt-editor textarea:focus{border-color:#8b5cf6;outline:none;box-shadow:0 0 0 3px #8b5cf61a}.player-page--b .prompt-editor textarea:focus{border-color:#f97316;box-shadow:0 0 0 3px #f973161a}.prompt-editor textarea:disabled{opacity:.55}.generation-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.generate-button{min-width:188px}.player-page--b .generate-button{background:#d95d20;box-shadow:0 8px 24px #d95d2033}.attempts{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.attempts>span{width:18px;height:5px;border-radius:5px;background:#ffffff1f}.attempts>span.is-used{background:var(--purple)}.player-page--b .attempts>span.is-used{background:var(--orange)}.attempts small{display:block;flex-basis:100%;color:#7f8596;font-size:10px;margin-top:4px}.editor-hint{color:#6f7588;font-size:11px;line-height:1.5;margin:13px 0 0}.form-error{color:#ffada6;background:#ff786e14;border:1px solid rgba(255,120,110,.2);border-radius:9px;padding:10px 12px;margin-top:12px;font-size:12px;line-height:1.5}.notice{border-radius:14px;padding:16px 18px;line-height:1.55;font-size:14px;margin:20px 0}.notice--purple{color:#c9b9f5;background:#8b5cf61a;border:1px solid rgba(155,114,255,.22)}.notice--success{color:#a5f2cd;background:#6fe7ad14;border:1px solid rgba(111,231,173,.22)}.player-preview{min-width:0}.player-preview__heading{display:flex;justify-content:space-between;align-items:center;color:#a3a8b8;font-size:12px;font-weight:700;margin:3px 0 13px}.live-chip{display:inline-flex;align-items:center;gap:6px;color:#c0aaff;font-size:10px}.live-chip>span{width:6px;height:6px;border-radius:50%;background:var(--purple);animation:pulse 1.5s infinite}.preview-canvas{position:relative;aspect-ratio:1;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:#10131e}.preview-canvas>img{width:100%;height:100%;object-fit:cover;display:block}.preview-canvas.is-generating>img{filter:blur(5px) brightness(.45)}.preview-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 50% 40%,rgba(139,92,246,.1),transparent 50%)}.preview-placeholder__spark{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#8b5cf61a;border:1px solid rgba(155,114,255,.18);color:#a986f7;font-size:27px;margin-bottom:20px}.preview-placeholder strong{font-size:20px;line-height:1.3}.preview-placeholder p{color:#6e7487;font-size:12px;line-height:1.6}.generation-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0a0c1699;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.generation-overlay strong{margin-top:18px}.generation-overlay p{color:#a2a7b8;font-size:12px}.host-page{min-height:100vh;background:#0e1019}.host-header>div:first-child{display:flex;align-items:center;gap:20px}.host-label{color:#858b9d;border-left:1px solid var(--line);padding-left:20px;font-size:12px}.host-header__links a{color:#a3a9ba;font-size:12px;transition:color .2s}.host-header__links a:hover{color:#fff}.host-body{max-width:1320px;margin:0 auto;padding:38px 40px 60px}.host-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:30px}.host-title-row h1{font-size:34px;letter-spacing:-1.2px;margin:8px 0 0}.host-tabs{display:flex;padding:4px;border-radius:12px;background:#151824;border:1px solid var(--line)}.host-tabs button{color:#8f95a7;background:transparent;border:0;border-radius:8px;padding:10px 16px;font-size:12px;font-weight:700}.host-tabs button.is-active{color:#fff;background:#282c3b;box-shadow:0 2px 8px #00000026}.host-tabs button span{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:6px;background:#ffffff14;margin-left:5px;font-size:10px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:18px}.host-setup-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:22px}.task-picker,.launch-panel{padding:25px}.panel-heading,.panel-heading>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading{margin-bottom:25px}.panel-heading h2{font-size:17px;margin:0}.step-number{color:#8b76bd;font-size:11px;font-weight:800}.text-button{color:#ae92ed;border:0;background:transparent;font-size:11px;font-weight:700}.field-label{display:block;color:#8e94a6;font-size:11px;font-weight:700;margin-bottom:9px}.task-picker select,.task-picker textarea{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:#0e111b;color:#ececf3;padding:13px 14px;font-size:13px}.task-picker select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.task-picker textarea{min-height:110px;resize:vertical;line-height:1.5}.field-divider{display:flex;align-items:center;gap:12px;color:#5e6475;font-size:10px;margin:19px 0}.field-divider:before,.field-divider:after{content:"";flex:1;height:1px;background:var(--line)}.character-count{color:#646a7b;font-size:10px;text-align:right;margin-top:7px}.launch-panel{display:flex;flex-direction:column}.task-preview{min-height:115px;border-radius:12px;border:1px dashed rgba(255,255,255,.13);padding:18px;display:flex;flex-direction:column;justify-content:center}.task-preview.has-task{border-style:solid;border-color:#9b72ff4d;background:#8b5cf612}.task-preview span{color:#797f91;font-size:10px;margin-bottom:8px}.task-preview strong{font-size:19px;line-height:1.35;color:#777d8e}.task-preview.has-task strong{color:#e9e4f8}.launch-settings{margin:20px 0}.launch-settings>div{display:flex;justify-content:space-between;padding:8px 0;font-size:11px}.launch-settings span{color:#8a90a1}.launch-settings strong{font-weight:650}.button--start{width:100%;min-height:56px;justify-content:space-between;padding:0 22px;background:linear-gradient(110deg,#7c3aed,#9464ed);font-size:15px;box-shadow:0 10px 30px #7c3aed38;margin-top:auto}.button--start b{font-size:22px}.launch-hint{color:#6d7384;text-align:center;font-size:10px;margin:12px 0 0}.demo-notice{grid-column:1 / -1;display:flex;align-items:center;gap:12px;color:#747a8c;font-size:11px;padding:0 4px}.demo-notice p{flex:1}.mode-chip{color:#c3b0f3;background:#8b5cf61f;border-radius:6px;padding:5px 8px;font-weight:700}.mode-chip--live{color:var(--green);background:#6fe7ad1a}.host-error{display:flex;justify-content:space-between;gap:20px;color:#ffada6;background:#ff786e14;border:1px solid rgba(255,120,110,.2);border-radius:12px;padding:13px 16px;font-size:12px;margin-bottom:20px}.host-error button{color:inherit;border:0;background:transparent}.active-round{display:flex;flex-direction:column;gap:22px}.round-control{padding:24px}.round-control__top,.round-control__top>div:first-child,.round-control__buttons{display:flex;align-items:center;justify-content:space-between;gap:12px}.round-status{display:inline-flex;align-items:center;gap:7px;color:#c1b0ef;background:#8b5cf61a;border-radius:100px;padding:7px 11px;font-size:10px;font-weight:750}.round-status i{width:6px;height:6px;background:currentColor;border-radius:50%}.round-status--running i{animation:pulse 1.5s infinite}.round-status--winner{color:var(--green);background:#6fe7ad14}.round-number{color:#73798b;font-size:11px}.round-control__buttons .button{min-height:36px;font-size:11px;padding:0 13px}.host-task{margin:26px 0}.host-task>span{color:#777e90;font-size:10px;text-transform:uppercase;letter-spacing:1.5px}.host-task h2{font-size:clamp(25px,3vw,38px);letter-spacing:-1px;margin:8px 0 0}.round-control>.round-timer{max-width:600px}.host-phase-message{padding:16px;color:#c1b0ef;background:#8b5cf612;border-radius:10px;font-size:13px}.host-phase-message--winner{color:var(--green);background:#6fe7ad0f}.host-player-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.host-player{padding:19px 22px}.host-player--a{border-top-color:#9b72ff80}.host-player--b{border-top-color:#ff9b6180}.host-player__heading,.host-player__heading>div,.host-player__stats{display:flex;align-items:center;justify-content:space-between;gap:12px}.host-player__heading h3{font-size:14px;margin:0}.host-player__heading .participant-mark{width:34px;height:34px;border-radius:9px;font-size:15px}.host-player__stats{color:#81879a;font-size:11px;margin-top:16px}.host-player__stats strong{color:#d9dce5}.host-player__error{color:#e5a19b;font-size:11px;margin:12px 0 0}.host-results{padding-top:10px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{margin:7px 0 0;font-size:25px}.winner-buttons{display:flex;gap:10px}.winner-button{font-size:12px}.winner-button--a{background:#7141ca}.winner-button--b{background:#b85525}.host-results__hint{text-align:center;color:#777d8e;font-size:11px;margin-top:18px}.empty-gallery{text-align:center;border:1px dashed var(--line);border-radius:18px;padding:90px 25px;color:#83899a}.empty-gallery>div{font-size:45px;color:#6f548f}.empty-gallery h2{color:#d6d8e0;font-size:22px}.empty-gallery p{max-width:480px;margin:0 auto;font-size:13px;line-height:1.6}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.gallery-card{padding:20px;overflow:hidden}.gallery-card summary{cursor:pointer;list-style:none}.gallery-card summary::-webkit-details-marker{display:none}.gallery-card__meta{display:flex;justify-content:space-between;color:#787f91;font-size:10px}.gallery-card h2{font-size:20px;line-height:1.3;margin:10px 0 17px}.gallery-card__images{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gallery-card__images>div{position:relative;aspect-ratio:1.2;border-radius:10px;overflow:hidden;background:#0d1019;border:2px solid transparent}.gallery-card__images>div.is-winner{border-color:var(--green)}.gallery-card__images img{width:100%;height:100%;object-fit:cover;display:block}.gallery-card__images>div>span{height:100%;display:grid;place-items:center;color:#686e7e;font-size:11px}.gallery-card__images .participant-mark{position:absolute;left:8px;top:8px;width:28px;height:28px;border-radius:8px;font-size:13px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gallery-card__images b{position:absolute;right:8px;bottom:8px;color:#123d29;background:var(--green);border-radius:5px;padding:4px 6px;font-size:8px;text-transform:uppercase}.gallery-card__more{display:flex;justify-content:space-between;color:#9c83d4;font-size:11px;margin-top:15px}.gallery-card[open] .gallery-card__more i{transform:rotate(180deg)}.gallery-card__prompts{border-top:1px solid var(--line);margin-top:15px;padding-top:15px}.gallery-card__prompts>div{display:flex;align-items:flex-start;gap:10px}.gallery-card__prompts>div+div{margin-top:14px}.gallery-card__prompts .participant-mark{width:26px;height:26px;border-radius:7px;font-size:12px}.gallery-card__prompts p{color:#a9aeba;font-size:11px;line-height:1.55;margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.loading-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center;padding:30px}.loading-screen p{color:var(--muted);max-width:500px;line-height:1.5}@media (max-width: 1050px){.host-header__links a:not(:first-of-type){display:none}.player-layout{grid-template-columns:1fr 380px;gap:24px;padding:30px}.generation-footer{align-items:flex-end}.generate-button{min-width:160px}.result-card__image{height:42vh}}@media (max-width: 800px){.app-header{padding:0 20px}.screen-header{margin:0 20px}.connection{font-size:0;gap:0}.connection__dot{width:8px;height:8px}.desktop-only{display:none}.idle-stage h1{letter-spacing:-2px}.rules-row>div{padding:13px 16px;flex-direction:column;gap:2px}.rules-row strong{font-size:23px}.rules-row span{font-size:10px}.screen-players,.results-grid,.host-player-grid,.gallery-grid{grid-template-columns:1fr}.results-heading{align-items:flex-start;flex-direction:column}.winner-announcement{text-align:left}.result-card__image{height:auto;aspect-ratio:1}.player-layout{grid-template-columns:1fr;padding:26px 20px 40px}.player-preview{grid-row:2}.player-preview .result-card__image{aspect-ratio:1}.host-header__links{gap:12px}.host-label{display:none}.host-body{padding:28px 20px 45px}.host-title-row{align-items:flex-start;flex-direction:column}.host-setup-grid{grid-template-columns:1fr}.demo-notice{align-items:flex-start;flex-wrap:wrap}.demo-notice p{flex-basis:calc(100% - 110px);margin:0}.round-control__top{align-items:flex-start;flex-direction:column}.round-control__buttons{width:100%}.round-control__buttons .button{flex:1}.section-heading{align-items:flex-start;flex-direction:column}.winner-buttons{width:100%}.winner-buttons .button{flex:1}}@media (max-width: 520px){.brand{font-size:18px}.brand__mark{width:30px;height:30px}.player-identity{font-size:0;gap:0}.idle-stage{padding:22px}.idle-stage__eyebrow{font-size:9px;letter-spacing:2px}.idle-stage h1{font-size:43px}.idle-stage>p{font-size:14px}.versus-emblem{margin:24px 0}.rules-row>div{padding:12px}.battle-stage{padding:35px 18px}.stage-task{font-size:34px;letter-spacing:-1px}.screen-players{gap:10px}.screen-player{padding:13px}.results-stage{padding:22px 16px}.player-task-block h1{font-size:32px}.prompt-editor{padding:14px}.generation-footer{flex-direction:column;align-items:stretch}.generate-button{width:100%;min-height:52px}.host-header__links a{display:none}.host-tabs{width:100%}.host-tabs button{flex:1}.task-picker,.launch-panel,.round-control{padding:18px}.host-player__heading{align-items:flex-start;flex-direction:column}.host-player__stats{align-items:flex-start;flex-direction:column;gap:5px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}.confetti{display:none}}
