:where(#stage,.host-header,.host-layout),:where(#stage,.host-header,.host-layout) *{box-sizing:border-box}html,body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#f8fafc}html.source-page,html.source-page body{width:100%;height:100%;overflow:hidden;background:#080f2b}.source-page.transparent,.source-page.transparent body{background:transparent!important}#stage{position:absolute;width:720px;height:1280px;transform-origin:top left;background:radial-gradient(ellipse at 50% 14%,#3147a5 0,#111e58 32%,#080f2b 75%);overflow:hidden;padding:0 42px;isolation:isolate}.transparent #stage{background:transparent}.ticker{position:absolute;top:14px;left:42px;right:42px;text-align:center;font-size:14px;font-weight:800;letter-spacing:1.4px;color:#bccaf0;border-bottom:1px solid #5668a4;padding-bottom:12px}.topline{display:flex;align-items:center;justify-content:space-between;position:absolute;top:55px;left:32px;right:32px;font-size:14px;gap:6px;font-weight:700;color:#c1cce8}.topline #mode{max-width:270px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#9bedcb}.brand{position:absolute;top:94px;left:0;right:0;text-align:center}.brand h1{font-size:40px;letter-spacing:4px;margin:9px 0 5px;font-weight:900}.brand h1 strong{color:#fbd77a}.brand p{font-size:14px;letter-spacing:4px;margin:0;color:#b1bcdf}.emblem{position:relative;width:106px;height:106px;border-radius:50%;border:3px solid #eac573;margin:auto;box-shadow:0 0 0 6px #c6a96e22,0 0 38px #6684fa55;display:grid;place-items:center}.emblem i{position:absolute;width:70px;height:70px;border:1px solid #949fed;transform:rotate(45deg)}.emblem i:nth-child(2){transform:rotate(65deg)}.emblem i:nth-child(3){transform:rotate(85deg)}.emblem i:nth-child(4){transform:rotate(105deg)}.emblem b{font-size:48px;color:#fbd77a;text-shadow:0 3px #091134}.target{position:absolute;top:280px;left:0;right:0;text-align:center;display:flex;gap:12px;align-items:center;justify-content:center}.target small{color:#c2cae5;font-size:14px;letter-spacing:2px}.target strong{color:#ffdb86;font-size:36px;letter-spacing:1px}.target span{font-size:14px;color:#f4d799}.questionbox{position:absolute;top:343px;left:42px;right:42px;height:214px;background:linear-gradient(145deg,#20356f,#111b42);border:2px solid #637bae;border-radius:16px;padding:22px 27px;box-shadow:0 7px 0 #03071e66}.questionmeta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;letter-spacing:1px;font-weight:800;color:#baccec}.questionmeta #category{max-width:390px}.questionmeta #difficulty{font-size:14px;color:#f2d69b}.questionmeta #timer{border:2px solid #dcc38e;border-radius:100%;width:45px;height:45px;display:grid;place-items:center;color:#ffe5ac;font-size:15px;flex-shrink:0}.questionbox h2{font-size:30px;line-height:1.22;text-align:center;margin:15px 0 0;height:102px;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}.questionbox h2.long{font-size:25px}.timebar{position:absolute;bottom:0;left:18px;right:18px;height:4px;overflow:hidden}.timebar i{display:block;height:100%;background:#e9be6c;width:100%}#answers{position:absolute;top:580px;left:42px;right:42px;display:grid;gap:12px}.answer{position:relative;min-height:76px;display:flex;align-items:center;gap:16px;padding:12px 25px;background:linear-gradient(90deg,#142557,#20356f);border:2px solid #637bae;border-radius:7px;color:#fff;overflow:hidden}.answer:before{content:'';position:absolute;inset:0 auto 0 0;width:var(--pct,0%);background:#638bca44;z-index:0;transition:width .35s}.answer>*{position:relative}.answer .letter{font-weight:900;font-size:30px;color:#f6d69b;width:31px;flex-shrink:0}.answer .choice{font-size:24px;line-height:1.16;flex:1;overflow-wrap:anywhere}.answer .percent{font-size:17px;font-weight:800;width:49px;text-align:right;color:#c7d6fc}.answer.chosen{border-color:#f2c773;background:#6d4915}.answer.correct{background:linear-gradient(90deg,#0d5e4d,#188365);border-color:#a5f2bb}.answer.correct .letter{color:#dcffe8}.answer.wrong{background:#6b273c;border-color:#fb7e91}.answer.removed{opacity:.24}.answer.removed .choice{color:#9aa8ce}#resultline{position:absolute;top:945px;left:42px;right:42px;text-align:center;font-size:16px;line-height:1.3;font-weight:800;color:#f7d692;min-height:42px}.participation{position:absolute;top:993px;left:42px;right:42px;display:flex;justify-content:space-between;align-items:center;color:#c0cbee;font-size:14px}.participation strong{color:#fff;font-size:20px}.voters{position:absolute;top:1030px;left:42px;right:42px;display:flex;justify-content:center;gap:8px;height:44px;overflow:hidden}.avatar{border-radius:50%;height:40px;width:40px;background:#263a6c;border:2px solid #7686b5;display:inline-grid;place-items:center;font-size:14px;overflow:hidden;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover}.lifelines{position:absolute;top:1096px;left:42px;right:42px;display:flex;gap:18px}.lifelines>div{width:50%;border:1px solid #758ab5;background:#14224d;border-radius:34px;padding:10px 12px;text-align:center;min-height:70px;display:grid;grid-template-columns:1fr auto;gap:3px}.lifelines b{color:#e2eaff;font-size:20px}.lifelines span{font-size:14px;grid-column:1/3;color:#b1c4e9;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lifelines small{align-self:center;color:#ffe0a2;font-size:14px}.lifelines .spent{opacity:.4}.goals{position:absolute;top:1187px;left:42px;right:42px;display:flex;gap:16px}.goals>div{width:50%;font-size:14px;text-align:center;color:#b9c7e6;line-height:24px;background:#192750;border-radius:6px}.goals>div:empty{visibility:hidden}#stage footer{position:absolute;bottom:12px;left:0;right:0;font-size:14px;letter-spacing:1.2px;text-align:center;color:#adb7d0}.overlay{position:absolute;inset:87px 20px 100px;background:radial-gradient(ellipse at 50% 20%,#293d91,#0b1538 70%);border:1px solid #65759c;border-radius:16px;padding:30px 32px;text-align:center;z-index:5;display:flex;flex-direction:column;justify-content:center;align-items:stretch;box-shadow:0 16px 60px #0009}.overlay[hidden],[hidden]{display:none!important}.overlay h2{font-size:39px;line-height:1.18;margin:10px 0 20px;color:#ffe19a}.overlay h3{font-size:22px;letter-spacing:2px;color:#b8cbff;margin:10px 0 20px}.overlay .countdown{font-size:142px;color:#fff;font-weight:900;line-height:1.2;text-shadow:0 6px #080c23}.overlay p{font-size:20px;line-height:1.5;color:#c3ceee}.overlay .ladder{list-style:none;margin:0;padding:0;display:grid;gap:5px}.ladder li{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:6px 23px;background:#172650;border:1px solid #354975;border-radius:5px;font-size:19px;line-height:24px}.ladder li.safe{color:#ffdb86;border-color:#c9a86a}.ladder li.current{background:#0d8264;border-color:#98f4cf;color:#fff;font-weight:900}.ladder li.target{outline:2px solid #d7b367}.ladder li span:first-child{font-size:14px;width:30px;text-align:left;color:#bdc9e5}.overlay .people{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}.people>div{display:flex;align-items:center;gap:10px;background:#172750;padding:10px;border-radius:8px;min-width:0}.people strong{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.people small{font-size:14px;color:#d4bb89}.overlay .million{font-size:75px;color:#ffe1a1;font-weight:900;margin:20px 0}.overlay .note{font-size:15px;color:#c5d1eb}#paused{position:absolute;inset:0;z-index:10;background:#05091acc;display:grid;place-items:center;font-size:72px;font-weight:900;color:#ffe09d}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.host-page{background:#101526;color:#eef3fa;min-height:100%;color-scheme:dark}.host-page body{background:transparent}.host-header{max-width:1220px;margin:0 auto;padding:28px 24px 22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.host-header h1{font-size:30px;margin:5px 0}.eyebrow{font-size:14px;letter-spacing:2px;color:#b0bed6}.host-header p{color:#b0bed6;margin:8px 0;font-size:14px}.host-header a,:is(.host-header,.host-layout) a{color:#f0d596}.host-layout{max-width:1220px;margin:auto;padding:0 24px 40px;display:grid;grid-template-columns:minmax(300px,410px) minmax(0,1fr);gap:30px;align-items:start}.preview-wrap{position:sticky;top:16px;background:#070c18;border:1px solid #475271;border-radius:14px;padding:8px}.preview-wrap iframe{border:0;width:100%;aspect-ratio:9/16;display:block;border-radius:9px;background:transparent}.preview-wrap p{font-size:14px;line-height:1.5;color:#aebdd4;padding:2px 9px}.panel{border:1px solid #38445c;border-radius:12px;background:#171f31;padding:20px;margin-bottom:18px}.panel h2{font-size:18px;margin:0 0 15px}.panel p:where(:not(html.tt-shell .gift-picker-status)){font-size:14px;line-height:1.6;color:#b9c8dd}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}:is(.host-header,.host-layout) label{font-size:14px;color:#bfcbdf;display:flex;flex-direction:column;gap:7px}:is(.host-header,.host-layout) input,:is(.host-header,.host-layout) select,:is(.host-header,.host-layout) textarea{width:100%;background:#0d1424;color:#f6f8fc;border:1px solid #53617b;padding:10px;border-radius:6px;font:14px Arial;min-height:40px}:is(.host-header,.host-layout) input[type=checkbox]{width:auto;min-height:auto;align-self:start}:is(.host-header,.host-layout) button{background:#eac984;color:#161e30;font-weight:800;border:1px solid #eac984;border-radius:6px;padding:10px 14px;font-size:14px;cursor:pointer}:is(.host-header,.host-layout) button.secondary{background:#24304a;border-color:#667794;color:#e2eaff}:is(.host-header,.host-layout) button:disabled{opacity:.4;cursor:not-allowed}.buttons{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.choice-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.choice-buttons button{font-size:18px}:is(.host-header,.host-layout) button:focus-visible,:is(.host-header,.host-layout) input:focus-visible,:is(.host-header,.host-layout) select:focus-visible,:is(.host-header,.host-layout) textarea:focus-visible{outline:3px solid #87cdff;outline-offset:3px}:is(.host-header,.host-layout) textarea{min-height:150px;resize:vertical;font:14px monospace;line-height:1.6}.host-page .wide{grid-column:1/-1}#host-status{min-height:38px;font-size:14px;line-height:1.5;color:#b3d8c5}#source-url{word-break:break-all}.error{color:#ffafb8!important}details summary{cursor:pointer;font-weight:700;font-size:14px}details>.field-grid{margin-top:18px}.host-page .footnote{font-size:14px;color:#aebdd4;line-height:1.6}.hint{color:#d9c39a!important}.host-page .rules{line-height:1.7;font-size:14px;color:#bac8dc}.host-page .saved{color:#b7e9ce} @media(max-width:760px){.host-layout{grid-template-columns:1fr;padding:0 16px 25px;gap:18px}.preview-wrap{position:static;width:100%;max-width:390px;justify-self:center}.host-header{padding:20px 16px;align-items:start}.host-header h1{font-size:25px}.host-header>a{font-size:14px}.panel{padding:16px}.field-grid{gap:12px}:is(.host-header,.host-layout) input,:is(.host-header,.host-layout) select{font-size:16px}:is(.host-header,.host-layout) button{min-height:43px}}@media(prefers-reduced-motion:reduce){:where(#stage,.host-header,.host-layout),:where(#stage,.host-header,.host-layout) *{animation:none!important;transition:none!important}}

:is(.host-header,.host-layout) label,:is(.host-header,.host-layout) input,:is(.host-header,.host-layout) select,:is(.host-header,.host-layout) textarea{min-width:0}.field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}

.answer{height:76px;min-height:76px;padding-top:8px;padding-bottom:8px}.answer .choice{font-size:22px}

.answer .choice{min-width:0}

.play-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px}
.play-list li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center}
.play-list p{margin:0}
.play-icon{width:36px;height:36px;display:grid;place-items:center}
.play-icon img,.play-icon svg{width:36px;height:36px;display:block}
.play-icon img{object-fit:contain}
html:not(.tt-shell) .gift-picker-status{min-height:1.2em;margin:8px 0 12px;color:#b7c6dc;font-size:14px;line-height:1.45}
.gift-legend{display:grid;gap:8px;margin:0 0 14px}
.gift-legend-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border:1px solid #38445c;border-radius:10px;background:#10182a}
.gift-legend-copy{min-width:0}
.gift-legend-copy strong,.gift-legend-copy span{display:block;overflow-wrap:anywhere}
.gift-legend-copy strong{font-size:14px}
.gift-legend-action{font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:#e7c98a;font-weight:800}
.gift-legend-meta{color:#9eafc8;font-size:14px}
.gift-thumb-shell,.gift-thumb,.gift-thumb-fallback{width:46px;height:46px;border-radius:8px}
.gift-thumb{display:block;object-fit:contain;background:#0d1424}
.gift-thumb-fallback{display:grid;place-items:center;padding:4px;background:#0d1424;color:#9eafc8;font-size:14px;font-weight:700;line-height:1.15;text-align:center}
.steps{margin:8px 0 14px;padding-left:1.2em}
.steps li{margin:4px 0}
.source-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 14px}
.question-draft{margin:8px 0;padding-left:1.2em}
.question-draft li{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:6px 0}
:is(.host-header,.host-layout) h3{font-size:15px;margin:16px 0 8px}
@media(max-width:760px){
.gift-legend-row{grid-template-columns:46px minmax(0,1fr)}
.gift-legend-row .secondary{grid-column:1 / -1}
}

/* Shared hosted shell integration. The studio game art above remains source-only. */
html.tt-shell .brand{position:static;inset:auto;text-align:left;display:inline-flex;margin:0;font-size:17px;letter-spacing:-.4px;color:inherit}
html.tt-shell .brand-mark{position:relative;display:grid}
html.tt-shell .eyebrow{margin:0 0 10px;color:var(--muted);font-weight:650;letter-spacing:normal}
html.tt-shell .panel{margin:0}
html.tt-shell .preview-wrap{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:12px;background:#0a0b0d}
html.tt-shell .preview-wrap iframe{width:100%;height:100%;aspect-ratio:auto;border-radius:0}
html.tt-shell .gift-legend{display:block;margin:0}
html.tt-shell .gift-legend-row{display:flex;grid-template-columns:none;padding:15px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
html.tt-shell .gift-legend-row .secondary{grid-column:auto}
html.tt-shell .source-actions{display:block;margin:12px 0 0}
html.tt-shell .choice-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}
html.tt-shell .choice-buttons button{min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--raised);color:var(--ink);font-size:18px;font-weight:800}
html.tt-shell .question-builder{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
html.tt-shell .question-builder h3{margin:0 0 10px;font-size:18px}
html.tt-shell .question-draft{padding-left:22px;color:var(--copy);font-size:14px}
html.tt-shell .question-draft li{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}
html.tt-shell .question-draft button{min-height:38px;padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:var(--raised);color:var(--ink)}
html.tt-shell .attribution{margin:20px 0 0;color:var(--copy);font-size:14px;line-height:1.6}
html.tt-shell .attribution a{color:var(--accent-text)}
html.tt-shell .error{color:#ffafb8!important}

/* Gift rails stay over the existing play area, without changing its geometry. */
.gift-rails .rail-title{display:flex;align-items:center;justify-content:center;gap:7px;grid-column:1 / 3;color:#e2eaff!important;font-size:inherit!important}
.gift-rails .rail-title .tt-core-gift-icon{width:27px;height:27px;flex:0 0 27px;object-fit:contain}
.gift-rails>div{padding-top:7px}
.gift-rails b{font-size:18px}

@media(max-width:600px){
  html.tt-shell .gift-legend-row{display:flex;grid-template-columns:none}
  html.tt-shell .question-draft li{align-items:flex-start;flex-direction:column}
}
/* Notion #3: section 05 body text matches the Battle Arena reference. */
html.tt-shell .settings-foot p{line-height:1.55}
