/* Arena layout: clean header, illustrated category covers, joined point rows. */
.live-arena{background:#fff6e6}.live-toolbar{padding:22px 5% 28px;min-height:115px;background:#ed9861;grid-template-columns:1fr 240px 1fr;grid-template-areas:"turn brand actions";gap:25px}.live-toolbar:after{background:#ed9861;bottom:-15px;height:25px;clip-path:ellipse(65% 90% at 50% 0)}.live-session{position:relative}.live-session small{font-size:51px;line-height:1;letter-spacing:-1px;color:#fff7e7;-webkit-text-stroke:1.2px #2c1537;text-shadow:3px 4px 0 #2c1537;transform:rotate(-3deg)}.live-session h1{position:absolute;bottom:-14px;left:0;right:0;font-size:10px;font-weight:400;opacity:.7;margin:0}.live-turn{min-width:220px;min-height:48px;border:1px solid #fff5dfaa!important;color:#2c1537;font-size:14px!important;padding:12px 22px!important;box-shadow:0 3px 8px #8c482a15;justify-self:start}.live-toolbar nav{justify-content:flex-end;width:auto;gap:13px}.live-toolbar nav button{border:1px solid #fff5dfb0;padding:12px 25px;min-height:48px;font-size:13px}.live-toolbar #liveExit{background:#fffaf3;color:#9a4f2e;border:0;min-width:135px;box-shadow:0 3px 4px #7f492536}.live-board{max-width:1700px;grid-template-columns:repeat(6,minmax(0,1fr));padding:75px 5% 32px;gap:24px;align-items:start}.live-category{border:1px solid #5a3c6540;border-radius:20px;box-shadow:0 3px 5px #2c15371a;background:#fff2d7;overflow:hidden}.live-category-art{height:245px;padding:45px 16px 10px;isolation:isolate;background:linear-gradient(155deg,#fff5df88,transparent),var(--cover-tone,#bd9bdc)!important}.live-category-art:before{content:'';position:absolute;z-index:-1;inset:47px 15px 15px;border-radius:50%;background:#fff7e640;border:1px solid #fff5df40}.live-category-art:after{content:'✦';position:absolute;left:13px;bottom:17px;color:#fff8e9;font-size:30px;transform:rotate(12deg)}.live-category-art h2{top:0;left:15px;right:15px;border:0;border-radius:0 0 9px 9px;background:#ed9861;color:#2c1537;font-size:14px;font-weight:900;padding:7px 5px;line-height:1.6}.live-category-art svg{height:155px;width:100%;max-width:150px;stroke-width:3;filter:drop-shadow(4px 6px 0 #fff8e999);transform:rotate(-5deg)}.live-category:nth-child(even) .live-category-art svg{transform:rotate(5deg)}.live-point-grid{gap:0;background:transparent}.live-point{padding:12px 3px;font-family:Th,sans-serif;font-size:18px;line-height:1.25;font-weight:900;color:#fff;border:0;border-left:1px solid #2c153714;border-top:1px solid #2c15370c;border-radius:0;box-shadow:none;transition:filter .15s}.live-point:hover:not(:disabled){filter:brightness(1.08)}.live-point-200{background:#8052ad}.live-point-400{background:#de874d}.live-point-600{background:#c35d50}.live-point:disabled{background:#57405f;color:#c9bccd;opacity:1}.live-board-footer{max-width:1700px;padding:20px 5% 45px;display:grid;grid-template-columns:240px 1fr 240px;gap:35px;align-items:center}.live-team-score{border:0;border-radius:34px 34px 25px 25px;background:#ed9861;box-shadow:none;padding:0 5px 5px}.live-team-score.live-team-1{background:#9467bb}.live-team-score h2{font-size:21px;color:#fff8ec;padding:16px 10px 20px}.live-score-controls{border:0;outline:4px solid #2c15372b;border-radius:23px;background:#fff7e7;overflow:hidden;min-height:49px;justify-content:space-between;margin:0 3px 2px}.live-score-controls button{font-size:27px;background:#ed9861;color:#fff7e7;align-self:stretch;min-width:48px}.live-team-1 .live-score-controls button{background:#9467bb}.live-score-controls b{font-size:23px;flex:1}.live-board-aids{display:flex;justify-content:center;gap:20px}.live-board-aid{width:75px;text-align:center;opacity:.85}.live-board-aid>span{height:68px;width:75px;display:flex;align-items:center;justify-content:center;background:#efab78;border-radius:14px}.live-board-aid svg{height:51px;width:48px}.live-board-aid strong{display:block;font-size:11px;margin-top:7px}.live-board-aid.is-used{opacity:.3}.live-footer-logo{display:none}.live-sidebar .live-team-score{padding:0 5px 5px}.live-sidebar .live-score-controls{justify-content:center}@media(min-width:1500px){.live-category-art{height:280px}.live-board{padding-top:95px;gap:30px}.live-category-art svg{height:180px;max-width:175px}.live-point{padding-block:14px;font-size:20px}}@media(max-width:1000px){.live-toolbar{grid-template-columns:1fr 160px 1fr;padding-inline:24px;gap:15px}.live-session small{font-size:37px}.live-turn{min-width:0;padding:11px 15px!important;font-size:12px!important}.live-toolbar nav{gap:8px}.live-toolbar nav button{padding:10px 15px;font-size:11px}.live-toolbar #liveExit{min-width:85px}.live-board{gap:15px;padding:55px 24px 30px}.live-category-art{height:190px;padding:38px 9px 7px}.live-category-art h2{font-size:11px;left:7px;right:7px}.live-category-art svg{height:116px}.live-point{font-size:15px}.live-board-footer{grid-template-columns:190px 1fr 190px;padding-inline:24px;gap:20px}.live-board-aids{gap:10px}.live-board-aid,.live-board-aid>span{width:59px}.live-board-aid>span{height:58px}.live-board-aid svg{width:40px;height:45px}}@media(max-width:760px){.live-toolbar{grid-template-columns:1fr auto;grid-template-areas:"turn brand" "actions actions";padding:18px 20px 24px;gap:17px}.live-toolbar nav{width:100%;justify-content:flex-start}.live-session h1{display:none}.live-session small{font-size:33px}.live-turn{min-height:42px}.live-toolbar nav button{min-height:40px}.live-board{grid-template-columns:repeat(3,minmax(0,1fr));padding:40px 18px 25px;gap:18px 14px}.live-category-art{height:160px}.live-category-art svg{height:100px}.live-point{padding-block:11px}.live-board-footer{grid-template-columns:1fr 1fr;padding:10px 20px 35px;gap:22px 20px}.live-board-aids{grid-column:1/-1;grid-row:1;gap:25px}.live-board-footer>.live-team-0{grid-column:1;grid-row:2}.live-board-footer>.live-team-1{grid-column:2;grid-row:2}.live-team-score h2{font-size:18px;padding:14px 7px 17px}.live-score-controls b{font-size:21px}.live-category{border-radius:15px}.live-question-meta>span{font-size:13px}.live-question-layout{padding-top:45px}}
/* Light arena palette, shared with the landing page. */
.live-arena{background:#fff5df}.live-toolbar,.live-toolbar:after{background:#ee9b62}.live-category{border-color:#a889a433;box-shadow:0 3px 8px #76517712}.live-category-art{background:linear-gradient(155deg,#fff7e9aa,#fff7e966),var(--cover-tone,#bd9bdc)!important}.live-category-art h2{background:#ffe4c7;color:#593b60}.live-category-art svg{color:#65476e;filter:drop-shadow(3px 4px 0 #fffaf0aa)}.live-category-art:before{background:#fffaf033;border-color:#fffaf066}.live-point{color:#50365c;border-color:#ffffff45}.live-point-200{background:#dcc6ef}.live-point-400{background:#f7c49b}.live-point-600{background:#f3dda9}.live-point:disabled{background:#e5dfdf;color:#a99ba9}.live-team-score{background:#f2b886}.live-team-score.live-team-1{background:#cbb0e3}.live-team-score h2{color:#50365c}.live-score-controls{background:#fffaf0;outline-color:#ffffff60}.live-score-controls button{background:#f2b886;color:#50365c}.live-team-1 .live-score-controls button{background:#cbb0e3}.live-score-controls b{color:#593b60}.live-board-aid>span,.live-aid>span{background:#f7c49b;border-color:#c9a8b633}.live-question-paper{border-color:#b69bb677;box-shadow:0 8px 24px #7651770c}.live-question-meta>span{background:#e5d4f1;color:#593b60}.live-question-meta>b{background:#dac3ed;color:#50365c}.live-primary{background:#f4bb8e!important;color:#50365c!important;border-color:#b48b9a55!important;box-shadow:0 3px 0 #dfb49d}.live-choice-1{background:#d8c1ed!important}.live-timer{background:#ddc9ee;color:#50365c}.live-question-content h2{color:#50365c}.live-answer-title{color:#835ba2!important}
/* Fit the arena to the usable viewport; scroll only content that cannot fit. */
.live-session h1{display:none!important}.live-arena{min-height:100dvh;width:100%;max-width:100%;overflow-x:clip}.live-toolbar{min-height:90px;padding:16px clamp(18px,4vw,65px) 23px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(15px,3vw,40px)}.live-session small{font-size:clamp(31px,3.5vw,49px)}.live-turn{min-width:0;max-width:100%;overflow-wrap:anywhere}.live-toolbar nav{min-width:0;flex-wrap:wrap}.live-toolbar nav button{min-width:0!important;padding:10px clamp(13px,1.8vw,25px);min-height:43px}.live-board{width:100%;max-width:1700px;padding:clamp(26px,5dvh,55px) clamp(18px,4vw,65px) 20px;gap:clamp(12px,1.7vw,26px)}.live-category{min-width:0}.live-category-art{height:clamp(135px,calc(100dvh - 385px),290px);padding:34px 9px 9px}.live-category-art svg{height:min(80%,180px);max-width:85%}.live-category-art h2{font-size:clamp(10px,1.05vw,15px);left:6px;right:6px;line-height:1.6}.live-point{font-size:clamp(13px,1.35vw,20px);padding:clamp(8px,1.4dvh,14px) 2px}.live-board-footer{width:100%;max-width:1700px;grid-template-columns:minmax(150px,230px) minmax(0,1fr) minmax(150px,230px);gap:clamp(15px,3vw,40px);padding:14px clamp(18px,4vw,65px) 25px}.live-team-score{min-width:0}.live-team-score h2{font-size:clamp(15px,1.6vw,21px);padding:12px 8px 15px;overflow-wrap:anywhere}.live-score-controls{min-height:42px}.live-score-controls b{font-size:clamp(18px,1.8vw,25px)}.live-score-controls button{min-width:38px;font-size:24px;padding:4px 9px}.live-board-aids{gap:clamp(9px,1.4vw,20px);min-width:0}.live-board-aid,.live-board-aid>span{width:clamp(48px,5.3vw,75px)}.live-board-aid>span{height:clamp(47px,5vw,68px)}.live-board-aid svg{max-width:70%;max-height:80%}.live-question-layout{width:100%;max-width:1700px;grid-template-columns:minmax(0,1fr) clamp(200px,21vw,285px);gap:clamp(18px,2.5vw,38px);padding:38px clamp(18px,4vw,65px) 25px}.live-question-paper{min-width:0;min-height:calc(100dvh - 170px);padding:24px clamp(17px,2vw,30px)}.live-question-content{min-height:240px;overflow-wrap:anywhere;padding:25px 0;gap:20px}.live-question-illustration{max-width:70%;width:230px}.live-question-meta{margin-top:-40px;min-width:0}.live-question-meta>span{overflow-wrap:anywhere}.live-sidebar{padding-top:40px;min-width:0;gap:20px}.live-question-actions{min-width:0}.live-aid-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.live-results{max-width:100%}@media(min-width:1001px) and (max-height:650px){.live-toolbar{min-height:73px;padding-top:12px;padding-bottom:18px}.live-board{padding-top:25px}.live-category-art{height:clamp(105px,calc(100dvh - 330px),210px)}.live-board-footer{padding-top:5px;padding-bottom:15px}.live-team-score h2{padding:9px 7px 12px}.live-board-aid strong{font-size:10px}.live-question-paper{min-height:calc(100dvh - 140px)}.live-question-content{min-height:170px}.live-sidebar{padding-top:15px}}@media(max-width:1000px){.live-toolbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"turn brand" "actions actions";gap:13px;padding-inline:22px}.live-toolbar nav{justify-content:flex-start;width:100%}.live-board{grid-template-columns:repeat(3,minmax(0,1fr));max-width:800px;padding-top:33px}.live-category-art{height:clamp(130px,20vw,195px)}.live-board-footer{max-width:800px;grid-template-columns:1fr 1fr;gap:20px}.live-board-aids{grid-column:1/-1;grid-row:1;gap:22px}.live-board-footer>.live-team-0{grid-column:1;grid-row:2}.live-board-footer>.live-team-1{grid-column:2;grid-row:2}.live-board-aid,.live-board-aid>span{width:62px}.live-board-aid>span{height:58px}.live-question-layout{grid-template-columns:minmax(0,1fr);max-width:850px}.live-question-paper{min-height:min(570px,calc(100dvh - 190px))}.live-sidebar{padding-top:0;grid-template-columns:1fr 1fr;display:grid}.live-aids{grid-column:1/-1}.live-question-content{min-height:230px}.live-point{font-size:16px;padding:10px 2px}}@media(max-width:420px){.live-board{gap:12px;padding-inline:13px}.live-category-art{height:125px}.live-category-art h2{font-size:10px;padding:5px 2px;left:3px;right:3px}.live-point{font-size:13px}.live-toolbar{padding-inline:16px}.live-toolbar nav{gap:8px}.live-toolbar nav button{font-size:10px;padding-inline:12px}.live-turn{font-size:11px!important}.live-session small{font-size:29px}.live-board-footer{padding-inline:16px}.live-question-layout{padding-inline:13px}}
/* Three categories per row, artwork between both point ladders. */
.live-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 30px;padding-top:30px;padding-bottom:18px}.live-category{display:grid;grid-template-columns:minmax(0,1fr) minmax(95px,1.05fr) minmax(0,1fr);grid-template-rows:repeat(3,minmax(48px,1fr));height:clamp(185px,calc((100dvh - 295px)/2),290px);gap:6px 0;border:0!important;border-radius:0!important;box-shadow:none!important;background:none;overflow:visible}.live-category-art,.live-category-art:has(img){grid-column:2;grid-row:1/4;height:100%!important;min-height:0;padding:0!important;border-radius:15px;overflow:hidden;z-index:1;border:1px solid #cdb6cc50}.live-category-art>img{height:100%;width:100%;object-fit:cover;object-position:center 15%}.live-category-art:has(img) h2{font-size:clamp(10px,1.1vw,15px);line-height:1.5;position:absolute;left:0;right:0;bottom:0;padding:7px 2px;border-radius:0;background:#fff7e9ed;color:#50365c}.live-point-grid{display:contents}.live-point{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;font-size:clamp(20px,2.25vw,34px);font-weight:700;line-height:1;padding:8px 3px;border:0;background:#e7d9ef;border-radius:0;box-shadow:none}.live-point:nth-child(odd){grid-column:1;border-radius:0 99px 99px 0}.live-point:nth-child(even){grid-column:3;border-radius:99px 0 0 99px}.live-point:nth-child(1),.live-point:nth-child(2){grid-row:1}.live-point:nth-child(3),.live-point:nth-child(4){grid-row:2;background:#f6d4b8}.live-point:nth-child(5),.live-point:nth-child(6){grid-row:3;background:#f1e0bc}.live-point:disabled{background:#e6e1e4!important;color:#b2a5b4;cursor:default}.live-board-footer{padding-top:13px;padding-bottom:20px}.live-board-aid>span{height:55px}.live-board-aid svg{height:42px}.live-board-aid strong{font-size:10px}.live-team-score h2{padding:10px 7px 13px}.live-score-controls{min-height:40px}@media(max-width:1000px){.live-board{max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 18px;padding-top:30px}.live-category{grid-template-columns:minmax(0,1fr) minmax(75px,1.25fr) minmax(0,1fr);height:205px;grid-template-rows:repeat(3,minmax(45px,1fr))}.live-point{font-size:21px}.live-board-footer{max-width:100%;grid-template-columns:minmax(150px,210px) minmax(0,1fr) minmax(150px,210px)}.live-board-aids{grid-column:auto;grid-row:auto;gap:12px}.live-board-footer>.live-team-0,.live-board-footer>.live-team-1{grid-column:auto;grid-row:auto}}@media(max-width:760px){.live-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px;padding-inline:18px}.live-category{height:200px;grid-template-columns:minmax(0,1fr) minmax(78px,1.3fr) minmax(0,1fr)}.live-point{font-size:20px}.live-board-footer{grid-template-columns:1fr 1fr;gap:20px;padding-inline:18px}.live-board-aids{grid-column:1/-1;grid-row:1;gap:23px}.live-board-footer>.live-team-0{grid-column:1;grid-row:2}.live-board-footer>.live-team-1{grid-column:2;grid-row:2}}@media(max-width:480px){.live-board{grid-template-columns:minmax(0,1fr);max-width:430px;padding:25px 20px;gap:22px}.live-category{height:225px;grid-template-columns:minmax(0,1fr) minmax(110px,1.2fr) minmax(0,1fr)}.live-point{font-size:28px}.live-category-art:has(img) h2{font-size:14px}.live-category-art{border-radius:17px}.live-board-footer{max-width:430px}}@media(min-width:1001px) and (max-height:650px){.live-board{padding-top:23px;gap:20px}.live-category{height:clamp(150px,calc((100dvh - 250px)/2),220px);grid-template-rows:repeat(3,minmax(37px,1fr))}.live-point{font-size:24px}.live-board-footer{padding-top:6px;padding-bottom:15px}}
/* Board uses the space between its header and a permanent score/help dock. */
.live-arena:has(#liveBoardView:not([hidden])){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.live-arena:has(#liveBoardView:not([hidden])) .live-toolbar{flex:0 0 auto}.live-arena #liveBoardView{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.live-board{flex:1;min-height:0;overflow:auto;align-content:stretch;grid-auto-rows:minmax(0,1fr);padding:24px clamp(15px,3vw,48px) 18px;gap:20px 26px;width:100%;max-width:none}.live-category{height:100%!important;min-height:0!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:5px 0;grid-template-columns:minmax(0,1fr) minmax(75px,1.05fr) minmax(0,1fr)}.live-category-art,.live-category-art:has(img){height:100%!important;min-height:0}.live-category-art>img{min-height:0;object-fit:cover}.live-point{min-height:0;font-size:clamp(18px,2.3vw,32px);padding:4px 2px}.live-board-footer{flex:0 0 auto;width:100%;max-width:none;border-top:1px solid #d7c1d83b;background:#f5ead9;display:grid;grid-template-columns:minmax(145px,225px) minmax(0,1fr) minmax(145px,225px);gap:20px;padding:15px clamp(15px,3vw,48px);align-items:center}.live-board-footer>.live-team-0{grid-column:1;grid-row:1}.live-board-footer>.live-team-1{grid-column:3;grid-row:1}.live-board-aids{grid-column:2;grid-row:1;gap:18px;justify-content:center}.live-board-aid,.live-board-aid>span{width:62px}.live-board-aid>span{height:54px}.live-board-aid svg{width:41px;height:44px}.live-board-aid strong{font-size:10px;line-height:1.4;margin-top:6px}.live-board-footer .live-team-score{border-radius:24px 24px 20px 20px}.live-board-footer .live-team-score h2{font-size:18px;padding:9px 7px 12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-board-footer .live-score-controls{min-height:37px}.live-board-footer .live-score-controls b{font-size:22px}.live-board-footer .live-score-controls button{font-size:23px;min-width:35px}.live-board-footer .live-score-controls{margin:0 2px 1px;outline-width:3px}@media(max-width:1000px){.live-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 15px;padding-top:22px}.live-category{grid-template-columns:minmax(0,1fr) minmax(65px,1.1fr) minmax(0,1fr)}.live-point{font-size:22px}.live-board-footer{grid-template-columns:minmax(135px,190px) minmax(0,1fr) minmax(135px,190px);gap:14px;padding-block:13px}.live-board-aids{gap:12px}.live-board-aid,.live-board-aid>span{width:51px}.live-board-aid>span{height:47px}.live-board-aid svg{width:36px;height:39px}.live-board-footer .live-team-score h2{font-size:15px}}@media(max-width:760px){.live-board{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));padding:18px 15px 13px;gap:14px}.live-category{grid-template-columns:minmax(0,1fr) minmax(64px,1.25fr) minmax(0,1fr)}.live-category-art:has(img) h2{font-size:10px;padding:4px 2px}.live-point{font-size:18px}.live-board-footer{grid-template-columns:minmax(100px,1fr) auto minmax(100px,1fr);padding:12px 15px;gap:12px}.live-board-aids{gap:7px}.live-board-aid,.live-board-aid>span{width:40px}.live-board-aid>span{height:39px;border-radius:11px}.live-board-aid svg{height:32px;width:29px}.live-board-aid strong{font-size:8px}.live-board-footer .live-team-score h2{font-size:12px;padding:8px 4px 10px}.live-board-footer .live-score-controls b{font-size:18px}.live-board-footer .live-score-controls button{font-size:21px;min-width:28px;padding:3px 5px}}@media(max-width:480px){.live-board{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px;padding:18px 10px 12px}.live-category{grid-template-columns:minmax(0,1fr) minmax(55px,1.3fr) minmax(0,1fr);gap:4px 0}.live-point{font-size:15px}.live-category-art,.live-category-art:has(img){border-radius:9px}.live-category-art:has(img) h2{font-size:8px;padding:3px 1px}.live-board-footer{max-width:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:10px 9px;gap:8px}.live-board-aids{gap:5px}.live-board-aid,.live-board-aid>span{width:32px}.live-board-aid>span{height:33px;border-radius:8px}.live-board-aid svg{width:24px;height:27px}.live-board-aid strong{font-size:7px;max-width:35px}.live-board-footer .live-team-score{padding:0 3px 3px;border-radius:17px 17px 13px 13px}.live-board-footer .live-team-score h2{font-size:10px;line-height:1.5;padding:7px 3px 8px}.live-board-footer .live-score-controls{min-height:30px;border-radius:13px;outline-width:2px;margin-inline:1px}.live-board-footer .live-score-controls b{font-size:15px}.live-board-footer .live-score-controls button{font-size:17px;min-width:22px;padding-inline:4px}}
@media(max-height:520px) and (orientation:landscape){.live-arena:has(#liveBoardView:not([hidden])) .live-toolbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"turn brand actions";min-height:0;padding:10px 18px 16px;gap:12px}.live-arena:has(#liveBoardView:not([hidden])) .live-toolbar nav{width:auto;justify-content:flex-end}.live-session small{font-size:28px}.live-toolbar nav button,.live-turn{min-height:32px!important;padding:7px 12px!important;font-size:10px!important}.live-board{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding-top:15px;gap:12px 18px}.live-point{font-size:18px}.live-board-footer{padding-block:8px}.live-board-aid>span{height:34px}.live-board-aid strong{display:none}.live-board-footer .live-team-score h2{padding:5px;font-size:12px}.live-board-footer .live-score-controls{min-height:29px}}

/* Compact bars with three independent helpers for each team. */
.live-arena:has(#liveBoardView:not([hidden])) .live-toolbar,.live-toolbar{padding-top:10px;padding-bottom:17px;min-height:70px}.live-session small{font-size:35px}.live-toolbar nav button,.live-turn{min-height:37px!important;padding:8px 18px!important;font-size:12px!important}.live-board-footer{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-block:9px;gap:20px}.live-team-dock{display:flex;align-items:center;gap:18px;min-width:0}.live-team-dock-0{grid-column:1;direction:rtl}.live-team-dock-1{grid-column:3;flex-direction:row-reverse}.live-team-dock .live-team-score{flex:0 1 200px;width:200px}.live-dock-brand{grid-column:2;font-family:Lalezar,Th,sans-serif;font-size:23px;color:#9f83b0;white-space:nowrap}.live-team-dock .live-team-score h2{padding:5px 6px 8px;font-size:14px}.live-team-dock .live-score-controls{min-height:31px}.live-team-dock .live-score-controls b{font-size:19px}.live-team-dock .live-score-controls button{font-size:21px}.live-team-aids{display:flex;gap:7px;justify-content:center;align-items:center;min-width:0}.live-team-aid{background:none;border:0;padding:0;color:#796274;min-width:0;cursor:pointer}.live-team-aid>span{width:43px;height:40px;border:1px solid #c8b2ce;background:#e3d6ec;display:flex;align-items:center;justify-content:center;border-radius:11px;transition:background .15s,border-color .15s}.live-team-aid svg{width:30px;height:32px}.live-team-aid>small{display:block;font-size:8px;line-height:1.4;margin-top:4px;white-space:nowrap}.live-team-aids:not(.is-active-turn) .live-team-aid:not(.is-used){opacity:.4}.live-team-aids.is-active-turn .live-team-aid:not(.is-used)>span{background:#f8d2ae;border-color:#dca777}.live-team-aid.is-used>span{background:#ab8fc2!important;border-color:#7b5e94!important;box-shadow:inset 0 0 0 1px #fff5df40}.live-team-aid.is-used>small{color:#7c5a92}.live-team-aid.is-used svg{opacity:.55}.live-team-aid:disabled{cursor:default}.live-team-dock.is-turn .live-team-score{box-shadow:0 0 0 2px #b08cbd80}.live-sidebar .live-team-aids{margin-top:-9px;margin-bottom:5px}.live-sidebar .live-team-aid>span{width:56px;height:49px}.live-sidebar .live-team-aid>small{font-size:10px}.live-sidebar{gap:18px}@media(max-width:1000px){.live-team-dock{gap:11px}.live-team-dock .live-team-score{flex-basis:155px;width:155px}.live-team-aid>span{width:35px;height:35px}.live-team-aid svg{width:25px;height:28px}.live-team-aids{gap:5px}.live-team-aid>small{font-size:7px}.live-dock-brand{font-size:19px}.live-board-footer{gap:13px}}@media(max-width:760px){.live-dock-brand{display:none}.live-board-footer{grid-template-columns:1fr 1fr;gap:18px;padding:8px 13px}.live-team-dock-0{grid-column:1}.live-team-dock-1{grid-column:2;flex-direction:row-reverse}.live-team-dock{flex-wrap:wrap;gap:6px;justify-content:center}.live-team-dock .live-team-score{flex:1 0 100%;width:100%;max-width:none}.live-team-aids{gap:8px}.live-team-aid>span{width:31px;height:30px;border-radius:8px}.live-team-aid svg{height:25px;width:23px}.live-team-aid>small{display:none}.live-team-dock .live-team-score h2{font-size:11px;padding:4px 5px 6px}.live-team-dock .live-score-controls{min-height:27px}.live-team-dock .live-score-controls b{font-size:16px}.live-team-dock .live-score-controls button{font-size:18px}.live-session small{font-size:28px}.live-toolbar{gap:9px;padding-inline:16px}.live-toolbar nav button,.live-turn{min-height:32px!important;font-size:10px!important;padding:7px 12px!important}.live-sidebar .live-team-aids{margin:0}.live-sidebar .live-team-aid>small{display:block;font-size:8px}}@media(max-height:520px) and (orientation:landscape){.live-toolbar,.live-arena:has(#liveBoardView:not([hidden])) .live-toolbar{padding:7px 16px 13px;min-height:0}.live-session small{font-size:26px}.live-team-dock{flex-wrap:nowrap}.live-team-dock .live-team-score{flex:1 1 120px}.live-team-aid>span{width:29px;height:29px}.live-team-aid svg{width:22px;height:24px}.live-team-aid>small{display:none}.live-board-footer{padding-block:7px}.live-team-dock .live-team-score h2{font-size:11px}}

/* Board helpers are status icons beside the team name; use inside questions only. */
.live-team-dock .live-team-score{flex:1 1 auto;width:100%;max-width:350px}.live-team-dock .live-team-score h2{display:flex;align-items:center;justify-content:center;gap:13px;padding:5px 8px}.live-team-dock .live-team-aids{gap:5px}.live-team-dock .live-team-aid>span{width:29px;height:27px;border-radius:7px}.live-team-dock .live-team-aid svg{width:22px;height:23px}.live-team-dock .live-team-aid>small{display:none}.live-team-dock .live-team-aids:not(.is-active-turn) .live-team-aid:not(.is-used){opacity:1}.live-team-dock .live-team-aid:not(.is-used)>span{background:#f7e8d2;border-color:#d6c1aa}.live-team-dock{justify-content:center}.live-team-dock .live-team-aid{pointer-events:none}@media(max-width:760px){.live-team-dock .live-team-score h2{gap:8px}.live-team-dock .live-team-aid>span{width:24px;height:24px}.live-team-dock .live-team-aid svg{width:19px;height:20px}}

/* Keep team scores on the left of the question at every viewport. */
.live-question-layout{display:grid;direction:ltr;grid-template-columns:clamp(132px,20vw,260px) minmax(0,1fr);align-items:start;gap:clamp(12px,2vw,30px);max-width:1700px;padding:30px clamp(14px,3vw,48px) 22px;margin-inline:auto}.live-question-paper{grid-column:2;grid-row:1;direction:rtl;min-height:calc(100dvh - 145px);display:flex;flex-direction:column}.live-question-content{flex:1;min-height:180px}.live-sidebar{grid-column:1;grid-row:1;direction:rtl;display:flex;flex-direction:column;gap:14px;padding-top:18px;position:sticky;top:18px}.live-sidebar .live-team-score{width:100%;border:1px solid #cfafc6;border-radius:24px;padding:0 5px 5px;box-shadow:0 5px 0 #60436f16;overflow:hidden}.live-sidebar .live-team-score h2{font-size:clamp(15px,1.6vw,23px);padding:12px 8px;margin:0}.live-sidebar .live-score-controls{min-height:46px;border-radius:18px;background:#fff9ec}.live-sidebar .live-score-controls b{font-size:clamp(24px,2.5vw,36px)}.live-sidebar .live-team-aids{margin:0 0 14px;gap:8px}.live-sidebar .live-team-aid>span{width:clamp(32px,4vw,51px);height:clamp(33px,4vw,49px);border-radius:12px}.live-sidebar .live-team-aid>small{font-size:clamp(8px,.75vw,11px);display:block}.live-question-actions{margin-top:auto}@media(max-width:600px){.live-question-layout{grid-template-columns:108px minmax(0,1fr);padding:22px 9px 14px;gap:9px}.live-sidebar{gap:9px;padding-top:8px}.live-sidebar .live-team-score{border-radius:17px}.live-sidebar .live-team-score h2{font-size:13px;padding:9px 4px}.live-sidebar .live-score-controls{min-height:35px}.live-sidebar .live-score-controls b{font-size:23px}.live-sidebar .live-team-aids{gap:4px;margin-bottom:8px}.live-sidebar .live-team-aid>span{width:30px;height:31px}.live-sidebar .live-team-aid svg{width:23px;height:25px}.live-sidebar .live-team-aid>small{font-size:7px}.live-question-paper{padding:18px 10px;min-height:calc(100dvh - 150px)}.live-question-content h2{font-size:clamp(19px,4vw,28px)}.live-question-content{min-height:170px}.live-question-illustration{max-width:85%}.live-question-meta{margin-top:-30px}.live-question-meta>span{font-size:10px}.live-question-meta>b{font-size:12px}}

/* Question layout follows its available container, including live window resizing. */
.live-arena:has(#liveQuestionView:not([hidden])){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.live-arena:has(#liveQuestionView:not([hidden])) .live-toolbar{flex:0 0 auto}.live-question-layout{flex:1;min-height:0;max-width:none;overflow:hidden;align-items:stretch;padding-top:24px;padding-bottom:14px;container-type:size;--question-unit:clamp(8px,2cqh,20px)}.live-question-paper{position:relative;height:100%;min-height:0;max-height:100%;box-sizing:border-box;padding:20px clamp(12px,2vw,30px) 14px;gap:8px;overflow:visible}.live-question-meta{position:relative;flex:0 0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:-35px 0 0;min-height:42px;gap:8px;direction:ltr}.live-question-meta>span{grid-column:2;grid-row:1;justify-self:center;max-width:100%;text-align:center;padding:9px 18px;font-size:clamp(12px,1.4vw,21px);direction:rtl}.live-question-meta>b{grid-column:3;grid-row:1;justify-self:end;padding:9px 15px;font-size:clamp(12px,1.4vw,21px);direction:rtl}.live-question-content{flex:1 1 0;min-height:0;overflow:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(8px,3cqh,28px);padding:clamp(6px,2cqh,20px) 0;box-sizing:border-box}.live-question-content h2{flex:0 0 auto;margin:0;line-height:1.5;font-size:clamp(18px,min(3.2cqw,5cqh),42px);text-align:center}.live-demo-label{font-size:clamp(8px,1.5cqh,12px)}.live-question-illustration{flex:0 1 auto;min-height:0;width:min(48%,360px);height:clamp(65px,37cqh,300px);max-width:80%;display:flex;align-items:center;justify-content:center}.live-question-illustration svg{width:100%;height:100%;object-fit:contain}.live-question-content img,.live-question-content video{max-width:90%;max-height:48cqh;object-fit:contain}.live-question-actions{flex:0 0 auto;min-height:40px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:0}.live-question-actions button{min-height:36px;padding:9px 18px;font-size:clamp(12px,1.4vw,18px)}.live-sidebar{position:static;min-height:0;overflow:auto;justify-content:center;padding:5px 0;gap:clamp(6px,2cqh,18px)}.live-sidebar .live-team-score{flex:0 0 auto}.live-sidebar .live-team-score h2{padding:clamp(5px,1.7cqh,12px) 6px}.live-sidebar .live-score-controls{min-height:clamp(29px,7cqh,52px)}.live-sidebar .live-team-aids{flex:0 0 auto;margin-bottom:clamp(3px,2cqh,16px)}.live-sidebar .live-team-aid>span{height:clamp(27px,8cqh,49px)}.live-aid-notice:empty{display:none}@media(max-width:600px){.live-question-layout{padding-top:22px;padding-bottom:10px}.live-question-paper{padding:17px 9px 9px}.live-question-meta{margin-top:-29px;min-height:34px;gap:3px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.live-question-meta>span{padding:7px 10px;font-size:10px}.live-question-meta>b{padding:7px 6px;font-size:10px}.live-question-actions button{padding:7px 10px;font-size:11px}.live-question-illustration{width:70%}}

/* Compact, connected game wordmark rather than a line of header text. */
.live-session .arena-brand{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:115px;height:65px;margin:0 auto;isolation:isolate;font-family:Lalezar,Th,sans-serif;font-size:34px;line-height:.88;transform:rotate(-4deg);color:#fff4d9;letter-spacing:0;filter:drop-shadow(0 3px 0 #35203e);text-shadow:none;-webkit-text-stroke:1.3px #35203e;paint-order:stroke fill}.arena-brand span,.arena-brand strong{position:relative;display:block;font-weight:400;white-space:nowrap;text-shadow:2px 2px 0 #35203e}.live-session .arena-brand strong{font-size:39px;color:#bb92dc;line-height:.95;margin-top:-3px}.arena-brand i{position:absolute;right:0;top:5px;font-size:18px;font-style:normal;color:#fff4d9;-webkit-text-stroke:1px #35203e;transform:rotate(9deg)}@media(max-width:760px){.live-session .arena-brand{width:92px;height:52px;font-size:28px}.live-session .arena-brand strong{font-size:32px}.arena-brand i{font-size:14px;right:0;top:3px}}@media(max-height:520px) and (orientation:landscape){.live-session .arena-brand{height:45px;width:85px;font-size:25px}.live-session .arena-brand strong{font-size:29px}}

/* Balanced wordmark proportions within the existing compact toolbar. */
.live-session{min-width:0;display:flex;align-items:center;justify-content:center;overflow:visible}.live-session .arena-brand{box-sizing:border-box;flex:none;width:108px;height:58px;font-size:32px;line-height:1;transform:rotate(-3deg);padding:3px 9px 5px}.live-session .arena-brand strong{font-size:35px;line-height:1;margin-top:-5px}.live-session .arena-brand span{line-height:1}.live-session .arena-brand i{right:2px;top:9px;font-size:13px}.live-toolbar{align-items:center}@media(max-width:760px){.live-session .arena-brand{width:88px;height:49px;font-size:27px;padding:3px 7px 5px}.live-session .arena-brand strong{font-size:30px;margin-top:-5px}.live-session .arena-brand i{right:0;top:8px;font-size:11px}}@media(max-height:520px) and (orientation:landscape){.live-session .arena-brand{width:82px;height:44px;font-size:24px;padding:2px 7px 4px}.live-session .arena-brand strong{font-size:27px;margin-top:-4px}.live-session .arena-brand i{font-size:10px;top:7px}}

/* Full-screen results in the game's cream, orange and lavender palette. */
.live-arena:has(.live-results:not([hidden])) > .live-toolbar { display: none; }
.live-arena .live-results {
  position: relative;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
  color: #fff4dd;
  background: repeating-conic-gradient(from -8deg at 50% 110%, #fff0 0deg 13deg, #fff1 13deg 23deg), #2e193c;
}
.result-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result-brand { color: #e8c9ff; font: 400 clamp(23px, 4vw, 36px)/1.2 Lalezar, Th, sans-serif; }
.result-content { max-width: 700px; margin: clamp(8px, 3vh, 32px) auto 0; }
.result-trophy { width: clamp(60px, 12vh, 108px); margin: auto; color: #ffe6a5; }
.result-trophy img { display: block; width: 100%; height: auto; }
.live-results .result-content h2 { margin: 4px 0; font: 400 clamp(38px, 8vw, 76px)/1.15 Lalezar, Th, sans-serif; }
.result-outcome { margin: 8px 0 20px; font-size: clamp(16px, 2.6vw, 25px); color: #f3ca98; overflow-wrap: anywhere; }
.result-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 3vw, 24px); }
.result-card { padding: clamp(8px, 2vw, 16px); border: 2px solid #c9a3e3; border-radius: 20px; background: #6b4c82; overflow-wrap: anywhere; }
.result-card.result-winner { color: #30203a; background: #edaa72; border-color: #ffe0a2; box-shadow: 0 0 24px #edaa7250; }
.result-status { font-size: clamp(11px, 2vw, 16px); }
.result-card h3 { margin: 7px 0 12px; font-size: clamp(16px, 3vw, 26px); }
.result-score { display: block; padding: 8px 3px; border-radius: 12px; background: #fff4dd; color: #35203e; font-size: clamp(17px, 3.5vw, 29px); }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px, 4vh, 32px); }
.result-button { min-height: 42px; padding: 9px 20px; border: 0; border-radius: 999px; background: #edaa72; color: #30203a; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 3px 0 #170c21; }
.result-button.result-secondary { background: #fff4dd; }
.result-button:focus-visible { outline: 3px solid #e8c9ff; outline-offset: 4px; }

/* Results composition: centered brand, score cards and a side trophy. */
.live-arena .live-results { overflow: hidden; isolation: isolate; background-color: #281535; }
.live-results::before {
  content: ""; position: absolute; z-index: -1; inset: auto -8% -105px;
  height: clamp(145px, 32vh, 320px); background: #f09b62;
  border-radius: 48% 48% 0 0 / 50% 50% 0 0; transform: rotate(-8deg);
}
.result-header { position: relative; justify-content: center; min-height: 70px; }
.result-header .result-button { position: absolute; left: 0; }
.result-header .result-brand {
  position: relative; display: grid; justify-items: center;
  font-size: clamp(30px, 5vw, 56px); line-height: .8; color: #fff1d2;
  text-shadow: 2px 3px #130b1b; transform: rotate(-4deg);
}
.result-brand strong { color: #d2a8f2; font-weight: 400; }
.result-brand i { display: none; }
.result-content { position: relative; max-width: 660px; margin-top: clamp(24px, 11vh, 105px); }
.result-trophy {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(26vw, 420px, calc((100% - 700px) / 2));
  margin: 0;
  pointer-events: none;
}
.result-card { background: #a64466; border-color: #d5758d; }
.result-card.result-winner { background: #bf9ce1; border-color: #e8cbff; }
.result-status { display: block; font: 400 clamp(24px, 4vw, 42px)/1.1 Lalezar, Th, sans-serif; }
@media (max-width: 420px) {
  .result-header .result-button { padding-inline: 12px; }
  .result-header { min-height: 56px; }
  .result-actions { gap: 8px; }
  .result-actions .result-button { padding-inline: 13px; font-size: 14px; }
}

/* Fit results to short windows and keep the trophy clear of controls. */
.live-arena .live-results:not([hidden]) {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: clamp(12px, 3dvh, 32px) clamp(12px, 3vw, 40px);
}
.result-content {
  width: min(100%, 660px);
  margin: 0 auto;
  padding-block: 12px;
}
.result-trophy { width: min(26vw, 420px, calc((100% - 700px) / 2), 58dvh); }
@media (max-width: 1100px) {
  .live-arena .live-results:not([hidden]) {
    grid-template-rows: auto 1fr auto;
    padding-bottom: 0;
  }
  .result-trophy {
    position: static;
    grid-row: 3;
    justify-self: start;
    width: clamp(90px, min(28vw, 26dvh), 185px);
  }
}
@media (min-width: 560px) and (max-width: 1100px) and (orientation: landscape) {
  .live-arena .live-results:not([hidden]) { grid-template-rows: auto 1fr; }
  .result-content { width: min(660px, 64%); }
  .result-trophy {
    position: absolute;
    width: min(16vw, 45dvh);
    margin: 0;
  }
}
@media (max-height: 560px) {
  .result-header { min-height: 45px; }
  .result-header .result-brand { font-size: clamp(26px, 6dvh, 38px); }
  .live-results .result-content h2 { font-size: clamp(30px, 9dvh, 52px); }
  .result-outcome { margin: 4px 0 10px; }
  .result-card { padding: 8px; }
  .result-card h3 { margin: 3px 0 6px; font-size: clamp(14px, 4dvh, 22px); }
  .result-status { font-size: clamp(19px, 5dvh, 32px); }
  .result-score { padding: 4px 3px; }
  .result-actions { margin-top: 12px; }
}

.live-question-content, .live-sidebar { justify-content: safe center; }

/* The results header uses the same image as the playing toolbar. */
.result-header .result-brand {
  width: clamp(62px, 12dvh, 108px);
  height: clamp(46px, 9dvh, 82px);
  min-width: 0;
  transform: none;
}
.result-header .result-brand > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.live-results .result-content h2 {
  font-size: clamp(30px, min(6vw, 8dvh), 58px);
}
.result-content { padding-block: 8px 14px; }
.result-cards { gap: clamp(8px, 2vw, 18px); }
.result-status { font-size: clamp(20px, 4dvh, 34px); }
@media (min-width: 1101px) {
  .result-trophy { width: min(16vw, 220px, 30dvh); }
}
@media (max-width: 559px) {
  .result-trophy { width: min(24vw, 13dvh, 100px); }
}

#liveBoardFooter.turn-pair {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

#liveBoardFooter.turn-pair .live-team-dock-0 { grid-area: 1 / 1; }
#liveBoardFooter.turn-pair .live-team-dock-1 { grid-area: 1 / 3; }

.live-turn-picker-group {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  align-self: center;
}

#liveBoardFooter.turn-pair .live-turn-picker-group { grid-area: 1 / 2; }
#liveBoardFooter.many-teams .live-turn-picker-group { grid-column: 1 / -1; }

.live-turn-picker {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(42px, 6.5vw, 74px);
  aspect-ratio: 1;
  padding: 6px;
  border: 2px solid #795588;
  border-radius: 50%;
  background: #fff4dc;
  cursor: pointer;
}

.live-turn-picker:disabled { cursor: default; opacity: 1; }
.live-turn-picker:focus-visible { outline: 3px solid #ac78cb; outline-offset: 4px; }
.live-turn-picker img { width: 100%; height: 100%; object-fit: contain; }

.live-turn-picker-arrow {
  position: absolute;
  inset: -2px;
  pointer-events: none;
}

.live-turn-picker-arrow::after {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid #795588;
  transform: translateY(-50%);
  content: '';
}

.live-turn-picker-label {
  max-width: 13ch;
  color: #50365c;
  font-size: clamp(10px, 1.25vw, 14px);
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}


.live-toolbar {
  border-radius: 0;
}

.live-toolbar::after {
  content: none;
}

.live-arena:has(#liveBoardView:not([hidden])) .live-toolbar {
  padding-bottom: 10px;
}
