:root{color-scheme:light;--night:#281238;--plum:#582477;--purple:#6e2a94;--gold:#ffcf60;--pink:#ef4ca1;--cream:#fffaf0;--ink:#281b35;--muted:#65586e;--line:#ded1e5;font-family:'Trebuchet MS',Arial,sans-serif;font-size:17px}*{box-sizing:border-box}html,body{margin:0;min-height:0;height:auto;overflow:visible}body{background:#281238;color:var(--ink);background-image:radial-gradient(ellipse at top left,#6b287c70,transparent 60%)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:46px;border:0;border-radius:13px;padding:.72rem 1.15rem;font-weight:700;transition:background .15s,box-shadow .15s}button:disabled{cursor:default;opacity:.58}a{color:#572278}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:4px solid #00a4b7;outline-offset:4px}input,select,textarea{border:2px solid #bda9c9;border-radius:10px;background:#fff;color:var(--ink);padding:.7rem;min-height:46px;width:100%}textarea{resize:vertical;min-height:110px}label{display:block;font-weight:700;margin:.9rem 0 .4rem}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12}h1{font-size:clamp(2rem,4.2vw,3.65rem);letter-spacing:-.045em}h2{font-size:clamp(1.7rem,3vw,2.5rem);letter-spacing:-.025em}p{line-height:1.6}img{max-width:100%;height:auto}figure{margin:0}.topbar{max-width:1520px;margin:auto;padding:16px 28px;display:flex;align-items:center;gap:24px;color:white}.brand{display:flex;gap:10px;align-items:center;flex-shrink:0}.brand img{width:94px;height:66px;object-fit:contain;background:white;border-radius:9px;padding:3px}.brand img+img{width:80px}.edition{font-size:.78rem;letter-spacing:.14em;line-height:1.8;font-weight:bold}.edition span{display:block;color:#ffd775;font-size:.7rem}.topbar nav{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.quiet{background:#ffffff14;color:white;border:1px solid #ffffff35;font-size:.85rem}.quiet:hover{background:#ffffff28}main{max-width:1464px;margin:12px auto 32px;padding:0 28px}.home-hero{display:grid;grid-template-columns:1.15fr 1fr;background:var(--cream);border-radius:26px;overflow:hidden;border-left:6px solid #e9619a}.hero-art{background:#3b1750;display:flex;align-items:center;position:relative}.hero-art img{width:100%;display:block}.hero-copy{padding:clamp(24px,3vw,46px)}.eyebrow{text-transform:uppercase;font-size:.74rem;font-weight:bold;letter-spacing:.15em;color:#79478d;margin-bottom:14px}.hero-copy h1{margin-bottom:18px}.subtitle{color:var(--muted);font-size:1.05rem}.pill{display:inline-block;border-radius:30px;padding:.35rem .7rem;background:#eadcf2;color:#522267;font-size:.75rem;font-weight:700}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.mode-card{background:#fffaf0;border-radius:20px;padding:24px;display:flex;flex-direction:column;border-top:5px solid var(--gold)}.mode-card h2{font-size:1.45rem;margin:0 0 12px;letter-spacing:-.02em}.mode-card p{color:var(--muted);font-size:.92rem;flex:1}.mode-card .mode-icon{width:58px;height:58px;object-fit:contain;margin-bottom:12px}.primary{background:#672482;color:white;box-shadow:0 3px 0 #341044}.primary:hover{background:#7b3297}.gold{background:var(--gold);color:#392046;box-shadow:0 3px 0 #c38b2d}.gold:hover{background:#ffdf8c}.secondary{background:#eee4f4;color:#4d225f;border:1px solid #d6bfdf}.danger{background:#fae2e6;color:#882b42}.button-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.button-row>p{margin:0}.mode-card .button-row{margin-top:auto}.round-list{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;color:#eee1f2;font-size:.8rem}.round-list span{padding:8px 12px;border:1px solid #735184;border-radius:30px}.panel{background:var(--cream);border-radius:24px;padding:clamp(20px,3vw,38px);border-left:5px solid #ee6ba9}.setup{max-width:1000px;margin:auto;display:grid;grid-template-columns:1fr .7fr;gap:34px}.setup-art{align-self:start}.setup-art img{border-radius:18px;width:100%}.setup-art .tip{background:#efe3f4;padding:18px;border-radius:15px;margin-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.helper{font-size:.82rem;color:var(--muted);line-height:1.5;margin:8px 0 18px}.avatars{border:0;margin:18px 0;padding:0}.avatars legend{font-weight:bold;margin-bottom:10px}.avatar-options{display:flex;gap:10px}.avatar-choice{background:#eee3f4;padding:6px;width:75px;height:85px;border:3px solid transparent}.avatar-choice img{height:65px;object-fit:contain}.avatar-choice[aria-pressed=true]{border-color:#6b2887;background:#fff2c8}.room-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;color:white;flex-wrap:wrap}.room-top h1{font-size:1.6rem;margin:0}.room-top p{margin:4px 0 0;font-size:.88rem;color:#dfcde8}.room-code{font-size:1.35rem;letter-spacing:.12em;color:var(--gold);font-weight:bold}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px}.stage{background:var(--cream);border-radius:23px;overflow:hidden;border:1px solid #735183}.stage-head{padding:23px 28px 8px;display:flex;gap:15px;justify-content:space-between;align-items:start}.stage-head h2{font-size:1.35rem;margin:5px 0}.stage-content{padding:10px 28px 25px}.round-art{width:100%;max-height:390px;object-fit:cover;display:block}.round-intro{display:grid;grid-template-columns:1fr 1fr;align-items:center}.round-intro .round-art{height:auto;max-height:none;object-fit:contain}.round-intro .intro-copy{padding:30px}.round-intro h2{font-size:2rem}.timer{white-space:nowrap;font-variant-numeric:tabular-nums;background:#321444;color:white;border:3px solid #ffd570;border-radius:14px;min-width:100px;text-align:center;padding:8px 13px;font-size:1.65rem;font-weight:bold;box-shadow:0 0 0 2px #bd478c}.timer small{display:block;font-size:.6rem;letter-spacing:.08em;font-weight:normal}.timer.urgent{border-color:#bd3152;background:#7d203d}.prompt{font-size:clamp(1.25rem,2.1vw,1.85rem);line-height:1.35;letter-spacing:-.015em;margin:12px 0 16px}.detail{color:#5f4e69;font-size:1rem}.anagram{display:block;background:#ffe2a6;border:2px solid #e9b955;border-radius:14px;padding:22px 12px;letter-spacing:.22em;word-spacing:.15em;text-align:center;font-size:clamp(1.1rem,2.7vw,2rem);font-weight:bold;margin-bottom:15px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:11px}.choice{background:white;color:var(--ink);border:2px solid #d3c2dc;text-align:left;min-height:62px;display:flex;align-items:center;gap:12px;font-weight:600}.choice:hover:not(:disabled){background:#f0e2f7;border-color:#7c4291}.choice .letter{width:30px;height:30px;border-radius:8px;background:#eadcf2;display:grid;place-items:center;flex-shrink:0;font-size:.8rem}.choice.selected{border-color:#69268c;background:#e9d7f4;box-shadow:inset 0 0 0 1px #69268c}.choice.correct{border-color:#217850;background:#e1f4e5}.choice.wrong{border-color:#b13e59;background:#ffe7eb}.choice:disabled{opacity:1}.answer-area .button-row{margin-top:18px}.score-panel{background:#38194c;color:white;border:1px solid #755085;border-radius:20px;padding:20px;align-self:start}.score-panel h2{font-size:1.1rem;margin-bottom:14px}.standings{list-style:none;padding:0;margin:0;display:grid;gap:10px}.standings li{display:flex;gap:10px;align-items:center;background:#ffffff0d;border-radius:12px;padding:7px}.standings img{width:40px;height:45px;object-fit:contain}.standings .player-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:.87rem}.standings strong{font-size:1.3rem;color:var(--gold)}.standings small{font-size:.7rem;color:#cce8d2;display:block}.host-controls{display:flex;gap:10px;flex-wrap:wrap;padding:18px 28px;background:#eee1f3;border-top:1px solid #d7c5e1}.host-controls button{font-size:.87rem}.status-line{font-size:.86rem;font-weight:bold;color:#5f2c77;margin:15px 0 0}.clues{display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none;padding:0}.clues li{background:#f3e6fc;border:1px solid #d9bfe8;border-radius:12px;padding:17px;font-weight:bold;min-height:63px}.clues li.mystery{background:#eee9ef;color:#776d7e;text-align:center}.double-parts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.double-parts fieldset{border:0;padding:0;margin:0;min-width:0}.double-parts legend{font-weight:bold;font-size:1rem;margin-bottom:12px;line-height:1.5}.double-parts .choices{grid-template-columns:1fr}.search-scene{position:relative;margin-bottom:15px}.search-scene img{display:block;width:100%;border-radius:14px}.hotspot{position:absolute;transform:translate(-50%,-50%);width:42px;height:42px;min-height:42px;padding:0;border-radius:50%;background:#fff7dd;border:3px solid #632681;color:#441651;box-shadow:0 1px 7px #0008}.hotspot.selected{background:#ffce51;border-color:#192b31}.search-choices{grid-template-columns:1fr 1fr}.search-choices .choice{font-size:.79rem;min-height:60px;padding:9px}.symbol-grid{grid-template-columns:repeat(3,1fr)}.symbol-grid .choice{flex-direction:column;gap:7px;text-align:center;padding:12px;min-height:105px;font-size:.85rem}.symbol{font-size:1.7rem}.symbol img{width:43px;height:43px;object-fit:contain}.reveal-banner{display:flex;gap:18px;align-items:center;background:#e6f3e6;border-radius:16px;padding:18px;margin-bottom:20px}.reveal-banner.missed{background:#fde7e6}.reveal-banner img{width:115px;border-radius:12px}.reveal-banner h3{font-size:1.15rem;margin-bottom:5px}.reveal-banner p{margin:0;font-size:.92rem}.award-list{display:grid;gap:10px;margin-top:18px}.award-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dacbe1;padding:12px 0}.award-row .button-row{gap:6px}.award-row button{padding:7px 12px;background:#eee1f5;min-height:42px}.award-row button[aria-pressed=true]{background:#60267f;color:white}.lobby-hero{width:100%;border-radius:18px;margin-bottom:20px}.join-panel{background:#ffedc7;border-radius:15px;padding:20px;margin-bottom:20px;overflow-wrap:anywhere}.join-panel strong{font-size:2.4rem;letter-spacing:.16em;display:block;margin:10px 0}.join-panel a{font-size:.82rem}.waiting{border:1px dashed #9673a4;padding:18px;border-radius:14px;color:#65516d}.winner{display:grid;grid-template-columns:240px 1fr;gap:28px;align-items:center}.winner img{max-height:250px;object-fit:contain}.winner h2{font-size:2.7rem;overflow-wrap:anywhere}.results-actions{margin:22px 0}.review-list{padding-left:22px}.review-list li{padding:10px 0;line-height:1.6;border-bottom:1px solid #ddd}.review-list strong{display:block;white-space:pre-line}.notice,#notice,#connection,#idle-warning{max-width:1408px;margin:10px auto;padding:14px 20px;border-radius:12px;background:#fff1ce;color:#5b3908;font-weight:bold}#notice{background:#ffe1e6;color:#7a1c37}#idle-warning{background:#ffe0a4}footer{max-width:1464px;margin:0 auto;padding:15px 28px 80px;display:flex;justify-content:space-between;gap:20px;color:#d4c2dd;flex-wrap:wrap;font-size:.78rem;line-height:1.6}footer a{color:#ffe099}dialog{border:2px solid #9463aa;border-radius:22px;padding:28px;max-width:620px;width:calc(100% - 32px);color:var(--ink);background:var(--cream);box-shadow:0 20px 100px #0008}dialog::backdrop{background:#190c2abb}dialog h2{font-size:1.7rem}dialog img.barry{max-height:220px;display:block;margin:0 auto 20px}dialog p{line-height:1.7}.loading{padding:70px;color:white;text-align:center}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:15px;top:-100px;background:white;padding:15px;z-index:10000}.skip-link:focus{top:10px}.projector .game-grid{grid-template-columns:minmax(0,1fr) 310px}.projector .prompt{font-size:2rem}.projector .topbar nav{display:none}.projector .choice{font-size:1.1rem}.projector .stage-head{padding-top:28px}.accessibility-high-contrast .panel,.accessibility-high-contrast .stage,.accessibility-high-contrast .mode-card{background:#000!important;color:#fff!important}.accessibility-high-contrast .choice{background:#000!important;color:white!important;border-color:#fff!important}.accessibility-high-contrast .choice.selected{outline:4px solid yellow}.accessibility-high-contrast .detail,.accessibility-high-contrast .helper,.accessibility-high-contrast .subtitle{color:#fff!important}.accessibility-high-contrast .clues li,.accessibility-high-contrast .reveal-banner{background:#111!important;color:white!important}.accessibility-high-contrast .hotspot{background:#000!important;color:#fff!important;border-color:#fff!important}.accessibility-simplified .hero-art,.accessibility-simplified .setup-art{display:none}.accessibility-simplified .home-hero,.accessibility-simplified .setup{grid-template-columns:1fr}
@media(max-width:1050px){.home-hero{grid-template-columns:1fr}.hero-art img{max-height:380px;object-fit:cover}.hero-copy{padding:28px}.game-grid,.projector .game-grid{grid-template-columns:1fr}.score-panel{order:2}.standings{grid-template-columns:repeat(2,1fr)}.edition{display:none}.round-intro{grid-template-columns:1fr}.round-intro .round-art{max-height:300px;object-fit:cover}}
@media(max-width:700px){:root{font-size:16px}.topbar{padding:12px 16px;gap:12px;flex-wrap:wrap}.brand img{width:78px;height:55px}.brand img+img{width:65px}.topbar nav{gap:6px}.topbar nav button{padding:8px 10px;font-size:.75rem;min-height:40px}.topbar nav button[data-action=fullscreen]{display:none}main{padding:0 14px;margin-top:4px}.hero-art img{max-height:none;object-fit:contain}.hero-copy{padding:23px}.modes{grid-template-columns:1fr;gap:13px}.mode-card{padding:20px}.mode-card .mode-icon{width:45px;height:45px;float:left}.round-list{justify-content:start}.setup{grid-template-columns:1fr;padding:22px}.setup-art{display:none}.form-grid{grid-template-columns:1fr;gap:0}.stage-head{padding:20px 18px 5px}.stage-content{padding:10px 18px 22px}.stage-head h2{font-size:1.08rem}.timer{min-width:80px;font-size:1.3rem;padding:7px}.choices,.search-choices{grid-template-columns:1fr}.choice{min-height:58px}.double-parts{grid-template-columns:1fr}.double-parts .choices{grid-template-columns:1fr 1fr}.double-parts .choice{font-size:.9rem;padding:9px}.symbol-grid{grid-template-columns:repeat(3,1fr)}.symbol-grid .choice{font-size:.72rem;padding:9px 3px}.symbol-grid .letter{display:none}.clues li{font-size:.9rem;padding:14px}.anagram{letter-spacing:.1em;word-spacing:0}.host-controls{padding:16px;gap:8px}.host-controls button{flex:1;font-size:.8rem;min-width:105px}.standings{grid-template-columns:1fr 1fr}.standings li{padding:5px}.standings img{width:30px}.standings .player-name{font-size:.8rem}.winner{grid-template-columns:1fr;text-align:center;gap:10px}.winner img{max-height:170px;margin:auto}.winner h2{font-size:2rem}.award-row{display:block}.award-row .button-row{margin-top:8px}.reveal-banner{gap:12px;padding:13px}.reveal-banner img{width:80px}.reveal-banner p{font-size:.85rem}.hotspot{width:32px;height:32px;min-height:32px;font-size:.75rem}.search-scene{margin-left:-8px;margin-right:-8px}footer{padding:14px 20px 85px;gap:12px}.room-top h1{font-size:1.2rem}.round-intro .intro-copy{padding:22px}.round-intro .round-art{object-fit:contain}.button-row .primary{flex-grow:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.host-card{margin-top:20px;border-top:1px solid #735184;padding-top:18px;text-align:center}.host-card img{max-height:170px;object-fit:contain}.host-card p{font-size:.8rem;margin:10px 0 0;color:#efdbf5}.symbol img{width:90px;height:65px;border-radius:9px;object-fit:contain}@media(max-width:1050px){.host-card{display:none}}@media(max-width:700px){.symbol img{width:65px;height:45px}}

.topbar{padding-right:82px}@media(max-width:700px){.topbar{padding-right:62px}}

/* Centre only the home-card actions, including wrapped/mobile rows. */
.mode-card>button{align-self:center}
.mode-card .button-row{justify-content:center}
.mode-card .button-row>button{flex-grow:0}
@media(max-width:1000px){.setup .form-grid{grid-template-columns:1fr}}
