:root{font-family:Segoe UI,system-ui,sans-serif;font-synthesis:none;--ink: #294a61;--muted: #526b7e;--blue: #cceafa;--pink: #f7d9e6;--accent: #347ca7;--radius: 24px;--field-radius: 12px;--space: 16px;color:var(--ink);background:#e4f5ff}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 5% 10%,#fff 0,transparent 38%),linear-gradient(140deg,#e1f2fc,#f9f9fd 55%,#fce8f0);background-attachment:fixed}.shell{width:min(100%,620px);margin:auto;padding:max(24px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom));min-height:100dvh;display:flex;flex-direction:column;gap:var(--space)}.host{width:min(100%,1060px)}header{display:flex;align-items:center;justify-content:space-between;color:#52738b;font-size:13px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:10px 2px;gap:8px}section{border-radius:var(--radius);box-shadow:0 8px 32px #3460800a;padding:clamp(20px,5vw,44px);background:#ffffffef;text-align:center;overflow-wrap:anywhere}h1{font-weight:750;letter-spacing:-.045em;font-size:clamp(30px,6vw,44px);line-height:1.12;margin:16px 0}h2{letter-spacing:-.025em;font-size:clamp(20px,5vw,28px);line-height:1.25}p{color:var(--muted);line-height:1.65}.celebration{display:block;max-width:100%;width:280px;height:auto;margin:0 auto 8px}form{max-width:410px;margin:auto}label{display:grid;text-align:left;font-size:14px;font-weight:650;margin:18px 0 10px;gap:8px}input,select{font:inherit;width:100%;min-height:50px;min-width:0;padding:12px;color:var(--ink);border:1px solid #b5cbd8;background:#fbfdff;border-radius:var(--field-radius)}input:focus-visible,select:focus-visible{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px #347ca729}button{font:inherit;font-weight:750;min-height:50px;padding:12px 18px;width:100%;margin-top:8px;border:0;border-radius:var(--field-radius);background:var(--blue);color:#254f69;cursor:pointer;transition:background .15s,transform .15s}button:hover:enabled{background:#b3ddf4;transform:translateY(-1px)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:disabled{opacity:.6;cursor:not-allowed}button.quiet{width:auto;background:#f1f6fa;font-size:13px}.option{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #d8e6ed;border-radius:14px;background:#f8fbfd;padding:16px;min-height:72px;margin:0}.option.selected{border-color:var(--accent);background:#e6f4fc;box-shadow:inset 3px 0 var(--accent)}.options{display:grid;gap:12px;margin:20px 0}.pill{display:inline-block;border-radius:999px;padding:7px 12px;font-size:14px;font-weight:700;background:#fce8f0;color:#78465c}.mark{font-size:28px}.swatch{width:42px;height:42px;flex:none;border-radius:10px;border:1px solid #0002}progress{width:100%;accent-color:#81c5ed;height:10px;margin:14px 0}details{text-align:left}summary{cursor:pointer;line-height:1.6;padding:6px 0}.line{display:flex;align-items:center;justify-content:space-between;gap:8px}.line>*{min-width:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0}.stats div{display:grid;gap:6px;background:#f1f8fc;border-radius:16px;padding:18px 8px}.stats strong{font-size:28px}.stats span{font-size:12px}.filters{display:grid;grid-template-columns:2fr 1fr;gap:16px}.result{border-radius:12px;background:#f4f9fc;padding:16px;margin:8px 0;text-align:left}.host h2{text-align:left}.host .line>button{flex:1}.host .line>.quiet{flex:0 0 auto}.download{display:block;flex:1;padding:14px 8px;font-size:14px}.host>a{display:block;overflow-wrap:anywhere}.qr{display:block;max-width:100%;margin:12px auto}a{color:#235d86}.error{background:#ffe9ed;color:#92253d;border-radius:12px;padding:12px}footer{text-align:center;color:#526b7e;font-size:13px;margin-top:auto;padding:12px}.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px;margin:24px 0}.podium-item{grid-row:1;min-height:174px;display:grid;grid-template-rows:auto 1fr auto;gap:10px;padding:16px 8px;border-radius:14px 14px 8px 8px;border-bottom:5px solid #bdd6e8;background:#eaf4fc}.podium-item--1{grid-column:2;min-height:216px;background:#fff2cf;border-bottom-color:#e8cc84}.podium-item--2{grid-column:1}.podium-item--3{grid-column:3;background:#f9eaf0;border-bottom-color:#e6bfd0}.podium .podium-rank{font-size:clamp(28px,7vw,38px);font-weight:800;line-height:1;letter-spacing:-.04em;color:#407492}.podium-item--1 .podium-rank{color:#987020}.podium-item--3 .podium-rank{color:#a05c7a}.podium strong{font-size:14px;line-height:1.35;align-self:center}.podium small{font-size:11px;line-height:1.4}.finished{position:relative;overflow:hidden}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;height:220px;overflow:hidden}.confetti i{position:absolute;left:calc(var(--i) * 5.5%);top:-12px;width:6px;height:10px;background:#84bddc;transform:rotate(30deg);animation:confetti-fall 3s calc(var(--i) * -.13s) 2 ease-out}.confetti i:nth-child(3n){background:#e8acc5}.confetti i:nth-child(3n+1){background:#edd58f}@keyframes confetti-fall{to{transform:translateY(230px) rotate(260deg);opacity:0}}@media(min-width:768px){.shell:not(.host){padding-top:40px}.host section{padding:40px}.host .qr{width:180px}}@media(max-width:390px){.shell{padding:14px 12px}section{padding:22px 16px}.line{flex-wrap:wrap}.filters{grid-template-columns:1fr}.stats{gap:6px}.stats div{padding:14px 4px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}.option-art{width:56px;height:56px;flex:none;border-radius:12px}.option span{min-width:0;overflow-wrap:anywhere}body{background:#eef7fd url(/assets/sky-pattern.svg) repeat;background-size:240px 200px}.shell{padding-top:max(24px,env(safe-area-inset-top));gap:12px}header{letter-spacing:.035em;text-transform:none;font-size:13px;font-weight:650;color:#426076}header>.icon{color:#80afc9;flex:none}.icon{display:inline-block;vertical-align:middle;flex:none}section{background:#fff;border:1px solid #e3eff6;box-shadow:0 14px 40px #52738b06}.welcome{position:relative;padding-top:30px}.hero-art{position:relative;width:min(100%,340px);margin:0 auto 8px;border-radius:48% 48% 45% 45%;background:radial-gradient(ellipse at 50% 55%,#e8f6ff 0,#eff9ff 60%,#fff 70%)}.celebration.cinnamoroll{width:min(100%,330px);height:auto;position:relative;z-index:1;margin:0 auto 4px}.welcome h1{font-size:clamp(29px,6.5vw,42px);font-weight:750;color:#355d7b;max-width:440px;margin:18px auto 12px;letter-spacing:-.04em}.welcome>.pill{font-size:11px;font-weight:650;letter-spacing:.06em;padding:7px 14px;color:#87526a;background:#fbeef4}.welcome>p{font-size:14px;max-width:350px;margin:0 auto 22px}.welcome form{padding-top:2px}.welcome form>p{font-size:12px}.welcome form>details{font-size:12px;margin:16px 0 4px}.welcome form>button{margin-top:12px}input,select{background:#fbfdff;border-color:#d1e0ea}button{background:#c5e8fa;color:#315e7c;min-height:52px;font-size:14px}button:hover:enabled{background:#b5def4}button:disabled{opacity:.58}.options .option{background:#fbfdff;border-color:#e0ebf2;border-radius:16px;min-height:78px;font-weight:650}.options .option:hover:enabled{background:#edf7fd}.options .option.selected{background:#e8f5fd;border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}.timer{display:inline-flex;align-items:center;gap:7px;background:#fceff5;font-variant-numeric:tabular-nums;min-width:82px;justify-content:center}.timer .icon{width:15px;height:15px}.podium-title{display:flex;align-items:center;justify-content:center;gap:10px}footer{display:grid;gap:7px;font-size:12px;padding:18px 8px;color:#426076}footer small{font-size:11px;color:#426076}@media(max-width:390px){.welcome{padding-top:22px}.hero-art{width:260px}.celebration.cinnamoroll{width:280px}.welcome h1{font-size:31px}.shell{padding-top:16px}header{font-size:12px}.welcome form{padding-top:0}.welcome form label{margin-top:14px}}.option-art{object-fit:contain}.option-art[src$=".png"]{background:#f0f8fc;padding:4px}fieldset.options{border:0;padding:0;min-width:0}.option{position:relative;cursor:pointer}.choice-radio{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;opacity:0;clip-path:inset(50%)}.option:has(.choice-radio:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.options:disabled .option{opacity:.6;cursor:not-allowed}.recovery{margin-top:20px;font-size:13px}.recovery code{display:block;overflow-wrap:anywhere;padding:12px;background:#f1f8fc;border-radius:10px;-webkit-user-select:all;user-select:all}.recovery button{width:auto}.connection-notice{margin:0;background:#fff6e7;color:#745626;border-radius:12px;padding:14px;font-size:13px;line-height:1.6}#question-title:focus{outline:none}.phase-heading:focus{outline:none}input::placeholder{color:var(--muted);opacity:1}.option-art[src*="/flags/"]{border-radius:8px;padding:5px;background:#edf7fc}.player{justify-content:center;gap:10px}.player>header{flex:none}.player .player-panel>section{margin-block:0}.player>footer{margin-top:0;padding:8px;font-size:11px}.player.phase-ready .player-panel>section,.player.phase-done .player-panel>section{width:100%}.player .recovery{margin-top:12px;font-size:11px;text-align:center}.player .recovery summary{display:inline-block}.player .recovery code{font-size:10px;letter-spacing:.03em;padding:8px;max-width:280px;margin:auto}.player .recovery p{font-size:11px;margin:8px 0}.player .recovery button{font-size:11px;min-height:36px;padding:7px 12px}.player.phase-playing .player-panel>section{width:100%}.player.phase-playing .option{margin:0}@media(max-width:600px){.player{padding:10px 12px;min-height:100dvh}.player header{padding:4px 0;font-size:11px}.player section{padding:20px 16px}.player .celebration.cinnamoroll{width:210px}.player .hero-art{width:220px}.player .welcome h1{font-size:29px;margin:10px auto}.player .welcome>p{font-size:12px;margin-bottom:12px}.player .welcome label{margin-top:10px}.player .welcome input{min-height:44px;padding:10px}.player .welcome form>details{margin:10px 0 0}.player .welcome form>button{margin-top:8px}.player.phase-ready h1,.player.phase-done h1{font-size:30px}.player.phase-ready p{font-size:14px}.player.phase-playing section{padding:16px}.player.phase-playing h2{font-size:21px;margin:12px 0}.player.phase-playing progress{margin:9px 0;height:7px}.player.phase-playing .options{gap:8px;margin:12px 0}.player.phase-playing .option{min-height:58px;padding:9px 12px;font-size:13px;gap:12px}.player.phase-playing .option-art{width:40px;height:40px}.player.phase-playing button{min-height:46px;margin-top:4px}}@media(max-width:600px)and (max-height:700px){.player .celebration.cinnamoroll{width:155px}.player .hero-art{width:170px}.player .welcome h1{font-size:25px}.player .welcome>.pill{padding:4px 10px;font-size:10px}.player .welcome>p{margin-bottom:7px}.player.phase-playing h2{font-size:18px;margin:8px 0}.player.phase-playing .options{gap:6px;margin:8px 0}.player.phase-playing .option{min-height:49px;padding:6px 10px;font-size:12px}.player.phase-playing .option-art{width:34px;height:34px}.player.phase-playing section{padding:12px}.player.phase-playing .timer{padding:5px 9px}.player.phase-playing footer{padding:3px}}.option{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;overflow:hidden;isolation:isolate}.option:active{background:#e8f5fd;border-color:var(--accent)}.option::selection,.option *::selection{background:transparent}.music-toggle{width:auto;min-height:36px;min-width:36px;padding:6px 9px;margin:0;display:inline-flex;align-items:center;gap:5px;font-size:10px;background:#ffffffc9}.music-toggle .icon{width:15px;height:15px}.player header>.icon:last-of-type{display:none}@media(max-width:390px){.music-toggle span{display:none}.player header{gap:7px}.player header>span{margin-right:auto}}.personal-score{display:grid;gap:4px;margin:16px 0;color:#355d7b}.personal-score>strong{font-size:32px;line-height:1.1;letter-spacing:-.04em}.personal-score small{font-size:inherit;font-weight:inherit}.personal-score>span{font-size:13px}.phase-done .quiet{font-size:12px;min-height:40px;background:#edf7fc}.player>header{background:#ffffffed;border:1px solid #dcebf4;border-radius:16px;padding:12px 14px;box-shadow:0 4px 16px #42607606;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:9px;align-items:center;color:#294a61}.player>header>span{font-size:13px;line-height:1.3;font-weight:750;letter-spacing:0;text-wrap:balance}.player>header .music-toggle{background:#edf7fc;color:#294a61;border-radius:10px;font-weight:650}.player h1,.player h2{text-wrap:balance;overflow-wrap:normal}.player p{overflow-wrap:break-word}.room-cleanup{text-align:left;font-size:12px;margin:20px 0}.room-cleanup p{font-size:12px}.room-cleanup button{color:#8a3549;background:#fff0f3}@media(max-width:390px){.player>header{padding:10px;gap:7px}.player>header>span{font-size:12px}.player>header .music-toggle{padding:7px}.player>header>.icon{width:19px;height:19px}}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23294a61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px}.room-cleanup form{margin:12px 0;max-width:440px}.room-cleanup .line button{font-size:12px}.room-cleanup input{background:#fff}.host{gap:12px;justify-content:center}.host>section{width:100%;margin-block:0}.host>header{justify-content:flex-start;gap:10px;background:#ffffffed;border:1px solid #dcebf4;border-radius:16px;padding:12px 14px;color:#294a61}.host>header span{font-size:13px;line-height:1.4}.host>header .icon{color:#628ba5}.host>section>p{margin:10px 0 18px}.host>section>.line:first-child{align-items:center}.host>section>.line:first-child h1{margin:0;text-align:left;font-size:clamp(25px,4vw,36px)}.host .qr{width:160px;height:160px;margin:14px auto}.host .stats{margin:20px 0}.host .room-cleanup{border-top:1px solid #e5eef4;padding-top:12px}.host .result summary{overflow-wrap:anywhere}.host select{margin-block:8px}@media(max-width:600px){.host{padding:12px;min-height:100dvh}.host>section{padding:22px 16px}.host>section>.line:first-child{flex-wrap:nowrap;gap:8px}.host>section>.line:first-child h1{font-size:26px}.host>section>.line:first-child .quiet{font-size:11px;padding:8px 10px;min-height:38px}.host button{font-size:12px;min-height:44px;padding:10px 12px}.host .line{flex-wrap:wrap}.host .line>button{flex:1 1 120px}.host .line>.quiet{flex:0 0 auto}.host .qr{width:144px;height:144px}.host .stats{gap:8px;margin:16px 0}.host .stats div{padding:12px 5px}.host .stats strong{font-size:25px}.host .stats span{font-size:11px}.host .filters{grid-template-columns:1fr;gap:0}.host .filters label{margin:8px 0}.host h2{font-size:23px;margin:20px 0 10px}.host .result{padding:12px;font-size:12px}.host .room-cleanup{margin:14px 0}.host>section>p{font-size:13px}.host .room-cleanup form .line{flex-direction:column;align-items:stretch}.host .room-cleanup form .line>button{flex:auto}.host .error{margin:0}.host>div.line small{font-size:11px}}.shell>*{flex-shrink:0;min-width:0}.player .player-panel>section{width:100%}input,select{font-size:16px}.host>section>.line:first-child{flex-wrap:wrap}.host>section>.line:first-child h1{flex:1 1 160px}.host .line>button{white-space:normal}@media(max-width:600px)and (max-height:740px){.player{padding:8px 10px;gap:8px}.player>header{padding:6px 10px;min-height:48px}.player .player-panel>section{padding:12px}.player .hero-art{width:130px;margin-bottom:2px}.player .celebration.cinnamoroll{width:130px;margin-bottom:0}.player .welcome h1{font-size:24px;margin:7px auto}.player .welcome>p{line-height:1.4;margin-bottom:5px}.player .welcome label{gap:4px;margin:7px 0}.player .welcome form>details{margin-top:6px}.player .welcome summary{line-height:1.4;padding:4px 0}.player .welcome form>button{min-height:44px;margin-top:6px}.player>footer{padding:2px;line-height:1.3}.player.phase-ready h1,.player.phase-done h1{font-size:26px;margin:10px 0}.player.phase-ready p,.player.phase-done p{line-height:1.45;margin:8px 0}.player.phase-playing h2{font-size:18px;line-height:1.2;margin:8px 0}.player.phase-playing .option{min-height:44px;padding:5px 8px;gap:8px}.player.phase-playing .option-art{width:32px;height:32px}.player.phase-playing .options{gap:6px;margin:8px 0}.player.phase-playing progress{margin:6px 0}.player .welcome:has(input[placeholder="Código de invitación"]) .hero-art,.player .welcome:has(details[open]) .hero-art{display:none}}@media(max-width:350px){.host>section>.line:first-child{align-items:flex-start}.host>section>.line:first-child h1{font-size:24px;flex-basis:130px}}@media(orientation:landscape)and (max-height:500px){.shell{padding-top:10px;padding-bottom:10px}.player .hero-art{display:none}.player .player-panel>section{padding:16px}}.player .welcome{padding:20px}.player .welcome .hero-art{width:clamp(100px,calc((100dvh - 620px)*.65),220px);margin-bottom:4px}.player .welcome .celebration.cinnamoroll{width:100%}.player .welcome h1{font-size:clamp(25px,3.6vw,34px);margin:8px auto}.player .welcome>p{max-width:440px;line-height:1.4;margin:0 auto 8px}.player .welcome .pill{padding:4px 10px;font-size:11px}.player .welcome label{gap:4px;margin:8px 0}.player .welcome input{min-height:44px;padding:10px}.player .welcome form>details{margin:8px 0 0}.player .welcome summary{padding:4px 0;line-height:1.4}.player .welcome form>button{min-height:44px;margin-top:8px}@media(max-height:800px)and (min-width:601px){.shell.player{padding-top:16px;padding-bottom:16px}.player.phase-playing section{padding:20px}.player.phase-playing h2{font-size:23px;margin:10px 0}.player.phase-playing .options{gap:8px;margin:12px 0}.player.phase-playing .option{min-height:56px;padding:8px 12px;font-size:14px}.player.phase-playing .option-art{width:38px;height:38px}}@media(max-width:600px)and (max-height:740px){.player .welcome{padding:12px}.player .welcome .hero-art{width:110px}.player .welcome h1{font-size:24px}}@media(min-width:601px){.player.phase-playing .player-panel>section{padding:24px}.player.phase-playing h2{font-size:24px;margin:12px 0}.player.phase-playing .options{gap:8px;margin:12px 0}.player.phase-playing .option{min-height:62px;padding:10px 12px;font-size:14px}.player.phase-playing .option-art{width:40px;height:40px}}@media(max-height:850px){.player .welcome:has(input[placeholder="Código de invitación"]) .hero-art,.player .welcome:has(details[open]) .hero-art{display:none}}button,summary,a{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}button{overflow:hidden;isolation:isolate;user-select:none;-webkit-user-select:none}button::selection,button *::selection{background:transparent}button:active:enabled{background-color:#add8ef;transform:none}@media(hover:none){button:hover:enabled{transform:none}}.answer-review{--status-ink: #286547;--status-bg: #eaf6ee;--status-border: #cde5d6;text-align:left;padding:18px;margin:12px 0;border:1px solid var(--status-border);border-radius:16px;background:#fff}.answer-review--incorrect{--status-ink: #a13248;--status-bg: #fceef1;--status-border: #efd4db}.answer-review--unanswered{--status-ink: #596b7b;--status-bg: #f0f4f7;--status-border: #dce5ec}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.review-number{font-size:11px;font-weight:650;color:#526b7e}.review-status{display:inline-flex;align-items:center;gap:5px;background:var(--status-bg);color:var(--status-ink);border-radius:8px;padding:5px 8px;font-size:11px;font-weight:700}.review-status .icon{width:15px;height:15px}.answer-review h4{font-size:16px;line-height:1.4;margin:14px 0;letter-spacing:-.015em}.review-options{display:grid;gap:10px;margin:0}.review-options>div{border-radius:10px;background:#f6f9fb;padding:10px 12px}.review-options dt{font-size:11px;font-weight:500;color:#526b7e;margin-bottom:3px}.review-options dd{margin:0;font-size:14px;font-weight:650;line-height:1.4}.answer-review--correct .review-choice{background:#eef8f1}.answer-review--correct .review-choice dd,.review-solution dd{color:#286547}.answer-review--incorrect .review-choice{background:#fdf1f3}.answer-review--incorrect .review-choice dd{color:#a13248}.review-time{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e7eef3;margin-top:14px;padding-top:12px;font-size:11px;color:#526b7e}.review-time>span{display:inline-flex;gap:6px;align-items:center}.review-time .icon{width:14px;height:14px}.review-time strong{font-size:12px;color:#35556c;font-variant-numeric:tabular-nums}.answer-review .review-empty{font-size:12px;margin:10px 0 0}@media(max-width:350px){.answer-review{padding:14px}.answer-review h4{font-size:15px}}.player-panel{position:relative;width:100%}.player .player-panel>section{margin:0;padding-top:56px}.player-panel>.music-toggle{position:absolute;right:10px;top:8px;z-index:2;width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border-radius:50%;background:#f3f8fc;color:#52738b;border:1px solid #e0ebf2}.player-panel>.music-toggle .icon{width:17px;height:17px}.player-panel>.music-toggle[aria-pressed=false]{color:#718290}.confetti{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;z-index:20;pointer-events:none;overflow:hidden}@keyframes confetti-fall{to{transform:translateY(calc(100dvh + 24px)) rotate(260deg);opacity:0}}
