.topbar .connection{font-size:12px;font-weight:700}.connection.offline{color:#a82e32}.room-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:0}.room-heading h1{font-size:32px}.room-heading p{margin-top:7px}.text-button{border:0;background:none;padding:10px 0;font-size:14px}.entry .text-button{margin-top:15px}.error{padding:15px;border:2px solid #ab334c;background:#ffe4d5;border-radius:9px;max-width:900px;margin:18px auto}.qr-wrap{min-height:210px;display:grid;place-items:center}.qr-wrap img{margin:0}.practice-hint{font-size:12px;line-height:1.6;margin-top:17px}.chosen-cover svg.game-illustration,.tile-art svg.game-illustration{color:#29183d}.chosen-cover .actor{bottom:-2px}.game-tile .tile-add{min-height:48px}.programme-modes{margin-bottom:20px}.programme-modes [aria-pressed=true]{background:var(--ink);color:var(--paper)}#selection-layout.series{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}#selection-layout.series .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.queue .btn{margin-top:12px}.queue li{grid-template-columns:minmax(0,1fr)}.queue li>.row{grid-column:1}.queue li strong{font-size:14px}.queue .tiny{margin-top:10px}.filter{min-height:44px}.room-code{display:flex;gap:10px}.actor-fallback{display:inline-grid;place-items:center;font:28px Russo;background:#d7baf3;border-radius:40%}#rules-art{display:grid;place-items:center;min-height:380px;box-shadow:none;border:0;border-right:var(--line);border-radius:12px 0 0 12px}#rules-art .chosen-cover{width:80%;height:310px;background:#a88aee}#rules-art .actor{height:260px;width:230px;left:15%;bottom:5px}#rules-art svg.game-illustration{height:160px;width:160px;left:42%}#how-to p{margin-top:9px;line-height:1.6}.host-settings{font-size:14px}.settings-body{padding:20px 0;display:flex;flex-direction:column;align-items:flex-start;gap:15px}.settings-body p{max-width:650px;font-size:13px}.footer{font-size:12px;padding:20px 32px;border-top:1px solid #29183d22}.closed-card{max-width:850px;margin:35px auto}.closed-card .actor{width:140px;height:160px}.closed-card p{margin:20px auto;max-width:550px}.closed-card .row{justify-content:center}.hero-stage #hero-loading{position:absolute;bottom:35px;left:25px;font-size:13px;background:var(--paper)}.hero-stage #hero-labels{display:none}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100;background:var(--ink);color:var(--paper);border:2px solid var(--paper);border-radius:9px;padding:13px 20px;font-size:14px;max-width:90vw}.kick{position:absolute;top:7px;right:6px;border:1px solid var(--ink);border-radius:6px;background:var(--paper);font-size:16px;min-width:29px;min-height:29px}.person.disconnected{opacity:.6}.person .actor{pointer-events:none}.arena-wrap{position:relative;background:var(--yellow)}#arena-live{height:100dvh;min-height:400px;display:flex;flex-direction:column}.tv-canvas{background:#c8b8ff}.tv-canvas #labels3d{position:absolute;inset:0;pointer-events:none}.player-label{position:absolute;white-space:nowrap;transform:translate(-50%,-130%);font-weight:700;font-size:14px;padding:5px 8px;border:2px solid var(--ink);border-radius:6px;box-shadow:2px 3px 0 var(--ink);max-width:200px;overflow:hidden;text-overflow:ellipsis}.player-label.out{opacity:.45}.tv-players{grid-template-columns:repeat(var(--roster-columns,4),minmax(0,1fr))}.tv-player{min-width:0}.tv-player>div{min-width:0}.tv-player strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-player .metric{white-space:normal;font-size:18px}.tv-player .name{max-width:180px}.tv-player.out{opacity:.55}#loading3d{position:absolute;inset:45% 20%;text-align:center;background:var(--paper);border:2px solid var(--ink);border-radius:10px;padding:15px;font-size:16px;z-index:3}.countdown{position:absolute;inset:20%;display:grid;place-items:center;font:120px Russo;color:var(--paper);-webkit-text-stroke:4px var(--ink);paint-order:stroke fill;text-shadow:6px 7px var(--ink);pointer-events:none}.overlay-card h1{font-size:34px}.overlay-card .actor{height:105px;width:100px}.overlay-card button{margin-top:10px}.result-hero .actor{width:120px;height:145px}.result-hero{gap:10px}.result-hero #round-winners{display:flex;flex-wrap:wrap;justify-content:center}.result-hero #round-winners:has(.actor:nth-child(3)) .actor{width:65px;height:85px}.result-detail details{font-size:12px;margin-top:15px}.result-detail details p{margin-top:8px}.result-table td{overflow-wrap:anywhere}.result-table .name{max-width:180px}.result-footer{padding-bottom:20px}.result-page:has(#final-celebration:not([hidden])) #round-result{margin-top:25px}.final-hero .actor{width:135px;height:145px}.winners{flex-wrap:wrap}.winner-name strong{font-family:Golos}.aggregate-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.aggregate-grid .standing{align-items:center}.aggregate-grid .standing .actor{width:35px;height:40px}.standing .standing-name{flex:1}body[data-view=arena] .topbar,body[data-view=arena] #room-heading,body[data-view=arena] #footer,body[data-view=arena] #host-settings{display:none}body[data-view=results] #room-heading{display:none}.arena-focus .topbar,.arena-focus #room-heading,.arena-focus #host-settings,.arena-focus #footer{display:none}.arena-focus #arena-screen{position:fixed;inset:0;z-index:80;overflow:auto}.arena-wrap:fullscreen{width:100%;height:100%;overflow:auto}body[data-view=closed] #room-heading{display:none}body[data-view=rules] #host-settings{display:none}.rules-copy details{line-height:1.6}.rules-copy .facts{margin-top:18px;margin-bottom:20px}#selection-back{margin-top:18px}#show-rules{flex-shrink:0}#arena-live:has(.tv-player:nth-child(5)) .tv-player .actor{display:none}#arena-live:has(.tv-player:nth-child(5)) .tv-player strong{font-size:16px}.final-round-details{margin-top:22px;font-size:14px}.final-round-details summary{cursor:pointer}.final-round-details #round-result{margin-top:15px}.result-page .page-head h1{font-size:30px}
@media(max-width:1000px){#selection-layout.series{grid-template-columns:1fr 280px}#selection-layout.series .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-player .actor{display:none}.tv-round{font-size:11px}.tv-title{font-size:22px}}
@media(max-width:650px){.topbar .connection{display:none}.topbar .bar-tail{gap:10px}.topbar .crumb{display:none}.room-heading{padding-top:22px;align-items:flex-start;flex-direction:column}.room-heading h1{font-size:29px}.room-heading p{font-size:14px}.lobby-grid{grid-template-columns:1fr}.chosen{grid-template-columns:95px 1fr}.chosen h2{font-size:21px}.chosen .btn{font-size:12px}.invite{grid-row:1}.invite img{width:180px;height:180px}.qr-wrap{min-height:180px}.lobby-footer{align-items:stretch}.game-grid{gap:13px}.tile-copy p{font-size:13px}.tile-tag{font-size:10px}.tile-copy h3{font-size:18px}#selection-layout.series{display:flex;flex-direction:column}#programme-editor{order:-1;max-height:none}#selection-layout.series .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#rules-art{min-height:220px;border-right:0;border-bottom:3px solid var(--ink);border-radius:12px 12px 0 0}#rules-art .chosen-cover{height:190px;width:70%}#rules-art .actor{width:150px;height:175px;left:5%}.rules-copy h1{font-size:28px}.tv-title{font-size:17px}.tv-round{display:none}.tv-clock{font-size:25px;padding:5px 9px}.tv-control{font-size:12px;padding:6px;gap:4px}.tv-control .icon{width:18px;height:18px}.tv-bar{gap:8px;height:65px;min-height:65px;padding:8px 12px}.tv-players{gap:6px;padding:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.tv-player{padding:6px;min-height:45px}.tv-player strong{font-size:13px}.tv-player span{font-size:11px}.tv-player .metric{font-size:14px}.tv-players:has(.tv-player:nth-child(5)){grid-template-columns:repeat(4,minmax(0,1fr))}.tv-players:has(.tv-player:nth-child(5)) .tv-player .metric{display:none}.result-hero{flex-direction:row}.result-detail{padding:14px}.result-table td{padding:8px 4px;font-size:13px}.result-table th{font-size:10px;padding:8px 4px}.result-table .actor{display:none}.result-page .result-footer h2{font-size:22px}.result-footer .row{flex-direction:column;align-items:stretch}.final-hero h1{font-size:30px}.winner-name .actor{height:125px;width:110px}.winners{gap:15px}.aggregate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aggregate{padding:15px}.aggregate h2{font-size:21px}.overlay-card{padding:20px}.overlay-card h1{font-size:27px}.countdown{font-size:85px}.closed-card h1{font-size:32px}.closed-card .row{flex-direction:column}}
.person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew:has(.person:nth-child(5)) .person .actor{height:55px;width:55px}.crew:has(.person:nth-child(5)) .person{padding-top:8px;padding-bottom:6px}

.player-label{transform:none;max-width:132px;z-index:1}.label-leaders{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.label-leaders line{stroke:#382348;stroke-width:1.5;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}

/* Concurrent behaviour fixes, retained in the approved journey (25 October). */
.tv-player.recovering{opacity:.82;outline:2px dashed var(--ink);outline-offset:-5px}.tv-player .player-status{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arena-help{font-size:13px;font-weight:700}.arena-help summary{cursor:pointer;white-space:nowrap;padding:10px 8px}.arena-help-body{position:absolute;z-index:12;top:76px;right:16px;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 110px);overflow:auto;padding:20px;background:var(--paper);border:var(--line);border-radius:12px;box-shadow:5px 6px 0 var(--ink);font-weight:400}.arena-help-body p{margin-top:10px}.arena-help-body>strong{font-size:18px}.arena-help-body>div{border-top:1px solid #29183d44;margin-top:15px;padding-top:4px;font-size:13px}body[data-intermission="true"] .topbar,body[data-intermission="true"] #footer,body[data-view=results] .topbar,body[data-view=results] #footer{display:none}body[data-view=arena] #error,body[data-view=results] #error,body[data-intermission="true"] #error{position:fixed;z-index:110;top:8px;left:50%;transform:translateX(-50%);width:min(90vw,800px);margin:0}#rules-home:empty{display:none}
@media(min-width:761px){
 #arena-live{--arena-head:76px;--arena-hud:72px;min-height:0;height:100dvh;overflow:hidden}.tv-bar{height:var(--arena-head);min-height:var(--arena-head);flex:0 0 var(--arena-head);padding:10px 16px;gap:12px}.tv-players{height:var(--arena-hud);min-height:var(--arena-hud);max-height:var(--arena-hud);flex:0 0 var(--arena-hud);padding:8px 12px 10px;gap:7px;grid-template-columns:repeat(var(--roster-columns,8),minmax(0,1fr))}.tv-player{padding:5px 7px;min-height:0;gap:6px}.tv-player .metric{font-size:15px;white-space:nowrap}.tv-player .name,#arena-live:has(.tv-player:nth-child(5)) .tv-player .name{font-size:13px}.tv-player span{font-size:11px}.tv-player:has(.player-status) .actor{width:28px;height:36px}.tv-title{font-size:22px}.tv-round{font-size:11px}.tv-control{font-size:12px;padding:6px 9px}.tv-clock{font-size:29px;padding:4px 10px}
 body[data-intermission="true"] #rules-view{max-width:1240px;height:100dvh;display:flex;flex-direction:column;padding:16px 24px;gap:12px}body[data-intermission="true"] #rules-view>.page-head{flex:none;margin:0;min-height:48px}body[data-intermission="true"] #rules-view>.page-head h1{font-size:27px}body[data-intermission="true"] .rules-wrap{min-height:0;flex:1;grid-template-columns:.65fr 1.35fr;overflow:hidden}body[data-intermission="true"] #rules-art{min-height:0}body[data-intermission="true"] #rules-art .chosen-cover{height:min(310px,55dvh);width:90%}body[data-intermission="true"] .rules-copy{overflow:auto;padding:16px 24px}body[data-intermission="true"] .rules-copy h1{font-size:30px}body[data-intermission="true"] .rule-line{margin:12px 0;gap:11px}body[data-intermission="true"] .rule-line p{font-size:14px;line-height:1.4}body[data-intermission="true"] .rules-copy .facts{margin:10px 0}body[data-intermission="true"] .rules-copy details{font-size:12px;max-height:150px;overflow:auto}body[data-intermission="true"] .rules-copy .small-note{margin-top:8px;line-height:1.4}
 #results{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:12px;height:100dvh;min-height:0;max-width:1440px;padding:16px 24px;overflow:hidden}#results[data-programme=true]{grid-template-columns:minmax(0,1fr) minmax(240px,.45fr)}#results>.page-head,#results>.result-footer{grid-column:1/-1;margin:0;min-width:0}#results>.page-head h1{font-size:27px}#results>.page-head .kicker{font-size:11px}#results #round-result{min-height:0;gap:12px;grid-row:2;grid-column:1}#results[data-programme=true] #round-result{display:flex;flex-direction:column}#results .result-hero{padding:10px 18px;gap:15px;min-height:0}#results .result-hero .actor{width:60px;height:68px}#results .result-hero h2{font-size:22px;margin:0}#results .result-hero p{font-size:13px}#results .result-hero strong{font-size:14px;margin-top:3px}#results .result-detail{min-height:0;overflow:auto;padding:10px 14px;flex:1}#results .result-table{table-layout:fixed}#results .result-table th:first-child{width:52px}#results .result-table th:nth-child(2){width:43%}#results .result-table td{padding:4px 5px;font-size:14px}#results .result-table th{padding:5px;font-size:10px}#results .result-table .actor{width:24px;height:28px}#results .result-table .name{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#results .result-detail details{margin-top:8px}#results .aggregate{grid-column:2;grid-row:2;margin:0;min-height:0;overflow:auto;padding:12px 14px}#results .aggregate h2{font-size:20px}#results .aggregate .small-note{font-size:11px;margin-top:7px}#results .aggregate-grid{grid-template-columns:1fr;gap:5px;margin-top:10px}#results .aggregate-grid .standing{padding:4px 8px;min-height:35px;font-size:13px}#results .aggregate-grid .actor{width:25px;height:28px}#results .standing-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#results .result-footer{padding:0;gap:12px}#results .result-footer h2{font-size:20px}#results .result-footer .btn{font-size:13px;padding:10px 14px;min-height:44px}#results .result-footer .kicker{font-size:11px}#results .final-hero{grid-column:1;grid-row:2;min-height:0;overflow:auto;padding:18px}#results .final-hero h1{font-size:31px}#results .final-hero .actor{width:85px;height:90px}#results .winner-name strong{font-size:17px}#results .winner-name small{font-size:12px}#results .winners{gap:14px}#results .final-round-details{position:absolute;bottom:95px;left:42px;z-index:8;margin:0;font-size:12px;max-width:calc(65% - 48px)}#results .final-round-details[open]{max-height:calc(100dvh - 180px);overflow:auto;padding:12px;border:var(--line);border-radius:10px;background:var(--paper);box-shadow:4px 5px 0 var(--ink)}#results .final-round-details #round-result{margin-top:12px}#results .final-round-details .result-hero{display:none}
}
@media(min-width:761px) and (max-width:1050px){.tv-title{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-round{display:none}.tv-player{flex-wrap:wrap;gap:1px 5px}.tv-player .metric{font-size:12px;line-height:1}.tv-player .player-status{font-size:10px}.tv-player>div{width:100%}#arena-live .tv-player .actor{display:none}#results .result-footer .row{gap:7px}#results .result-footer h2{font-size:17px}#results .result-footer .btn{font-size:12px;padding:8px}body[data-intermission="true"] .rules-wrap{grid-template-columns:.55fr 1.45fr}}
@media(max-width:760px){.arena-help summary{font-size:11px;padding:8px 3px}.arena-help-body{top:68px}.tv-bar{flex-wrap:wrap;height:auto;min-height:65px}.tv-title{flex:1;min-width:140px}.tv-clock{margin-left:0}.tv-bar .arena-help{margin-left:auto}body[data-intermission="true"] #rules-view{padding-top:18px}#results .page-head{gap:10px}}

@media(min-width:761px){body[data-intermission="true"] .rules-copy{display:flex;flex-direction:column;overflow:hidden}body[data-intermission="true"] .rules-read{min-height:0;overflow:auto;flex:1;padding-right:5px}body[data-intermission="true"] .rules-read h1{margin-bottom:10px}body[data-intermission="true"] .rule-line{margin:8px 0}body[data-intermission="true"] .rules-actions{flex:none;padding-top:10px;background:var(--paper)}}


/* Artwork is kept at its native 16:9 ratio across the catalogue, lobby and rules. */
.tile-art{height:auto;aspect-ratio:16/9}
.chosen-cover{height:auto;aspect-ratio:16/9}
.game-cover-image{display:block;width:100%;height:100%;object-fit:cover}
#rules-art .chosen-cover,body[data-intermission="true"] #rules-art .chosen-cover{height:auto;width:min(80%,520px);aspect-ratio:16/9}
body[data-intermission="true"] #rules-art .chosen-cover{width:min(90%,520px)}

/* Let the illustration define its frame, so no flat-colour bands or crop hide the scene. */
#rules-art,body[data-intermission="true"] #rules-art{align-self:center;min-height:0;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
#rules-art .chosen-cover,body[data-intermission="true"] #rules-art .chosen-cover{width:100%;height:100%;aspect-ratio:16/9;border:0;border-radius:0}
.game-tile:focus-within{outline:3px solid #7234d2;outline-offset:3px}
.game-tile:has(.tile-add:disabled){cursor:default}
@media(min-width:651px){#rules-art,body[data-intermission="true"] #rules-art{width:calc(100% - 36px);margin:18px;border:var(--line);border-radius:12px;box-shadow:3px 4px 0 var(--ink)}}
@media(max-width:650px){.chosen{grid-template-columns:minmax(0,1fr)}.chosen-cover{width:100%;height:auto;aspect-ratio:16/9}#rules-art,body[data-intermission="true"] #rules-art{border-right:0;border-bottom:var(--line);border-radius:12px 12px 0 0}}

/* Programme builder: all choices remain native, labelled controls. */
.queue{padding:20px;background:var(--paper)}
.queue-heading{padding:13px;border:2px solid var(--ink);border-radius:10px;background:var(--yellow)}
.queue-kicker{display:block;margin-bottom:4px;font-size:10px;font-weight:900;letter-spacing:.06em}
.queue-heading h2{font-size:24px}
.queue-duration{margin-top:8px;font-size:12px;font-weight:700;line-height:1.45}
.queue ol{max-height:min(35dvh,320px);overflow:auto;margin:14px 0;padding:2px 5px 2px 2px;gap:8px;scrollbar-color:var(--ink) transparent}
.queue li{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:7px 9px;margin:0;padding:9px;border:2px solid var(--ink);border-radius:9px;background:#fff9e9}
.queue li strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.queue-number{display:grid;place-items:center;width:28px;height:28px;border:2px solid var(--ink);border-radius:7px;background:var(--violet);font-weight:900;line-height:1}
.queue li>.queue-actions{grid-column:2;display:flex;gap:6px;flex-wrap:wrap}
.queue-actions button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:8px;border:2px solid var(--ink);border-radius:7px;background:var(--paper)}
.queue-actions button:hover:not(:disabled){background:var(--mint)}
.queue-actions button .icon{width:18px;height:18px}
.queue-empty{margin:12px 0;padding:12px;border:2px dashed #745b83;border-radius:9px;font-size:13px;line-height:1.45}
.programme-order{margin:16px 0 0;padding:0;border:0;min-width:0}
.programme-order legend{padding:0;margin-bottom:8px;font-weight:900;font-size:14px}
.programme-order-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.programme-option{position:relative;display:block;min-width:0;cursor:pointer}
.programme-option input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.programme-option span{display:flex;min-height:60px;flex-direction:column;justify-content:center;gap:2px;padding:9px;border:2px solid var(--ink);border-radius:8px;background:#fff9e9;line-height:1.2}
.programme-option b{font-size:13px}.programme-option small{font-size:11px}
.programme-option input:checked+span{background:var(--mint);box-shadow:2px 3px 0 var(--ink)}
.programme-option input:focus-visible+span{outline:4px solid #7234d2;outline-offset:3px}
.programme-option input:disabled+span{opacity:.5;cursor:default}
.programme-order-hint{margin-top:10px;font-size:12px;line-height:1.45}
.queue-footer{display:grid;gap:8px;margin-top:14px}
.queue-footer .btn{margin:0;min-height:44px;justify-content:center}

/* Lobby and briefing copy uses the same readable hierarchy as the main site. */
.lobby-grid{align-items:start}
.chosen .kicker,.invite .code-caption{text-transform:none;letter-spacing:normal;font:700 13px/1.4 Golos,Arial,sans-serif}
.chosen .kicker{margin-bottom:6px;color:#604d70}
.chosen h2{margin-bottom:8px}
.chosen p{line-height:1.45}
.lobby-footer #start-hint:not(:empty){display:block;margin-top:4px}
.invite #join-link{display:inline-flex;min-height:44px;align-items:center;justify-content:center;font:700 14px/1.35 Golos,Arial,sans-serif;text-underline-offset:3px}
.invite #wifi-note{font-size:13px;line-height:1.45}
#rules-art,body[data-intermission="true"] #rules-art{background:transparent}

/* Keep native disclosure semantics, with an ABALA-styled control instead of a system marker. */
:is(.programme-list,#address-choice,.rules-copy details,.host-settings)>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 12px;border:2px solid var(--ink);border-radius:8px;background:var(--paper);font:700 14px/1.3 Golos,Arial,sans-serif;cursor:pointer;list-style:none}
:is(.programme-list,#address-choice,.rules-copy details,.host-settings)>summary::-webkit-details-marker{display:none}
:is(.programme-list,#address-choice,.rules-copy details,.host-settings)>summary::after{content:'+';font:24px/1 Golos,Arial,sans-serif}
:is(.programme-list,#address-choice,.rules-copy details,.host-settings)[open]>summary::after{content:'−'}
:is(.programme-list,#address-choice,.rules-copy details,.host-settings)>summary:focus-visible,.address-option input:focus-visible+span{outline:3px solid #7234d2;outline-offset:3px}
.programme-list{margin-top:14px;max-width:400px}.programme-list ol{margin:10px 0 0;padding:0;list-style:none;counter-reset:programme}.programme-list li{counter-increment:programme;padding:6px 0;font-size:14px}.programme-list li::before{content:counter(programme) '. ';font-weight:700}
.address-options{display:grid;gap:6px;margin:10px 0 0;padding:0;border:0;min-width:0;text-align:left}.address-options legend{margin-bottom:7px;font:700 13px/1.4 Golos,Arial,sans-serif}.address-option{display:block;position:relative;cursor:pointer}.address-option input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.address-option span{display:block;padding:9px 10px;border:2px solid var(--ink);border-radius:7px;background:#fff9e9;font:600 13px/1.35 Golos,Arial,sans-serif;overflow-wrap:anywhere}.address-option input:checked+span{background:var(--mint);box-shadow:2px 2px 0 var(--ink)}

/* The closed state stays useful and compact even on very wide screens. */
body[data-view="closed"]{min-height:100dvh;display:flex;flex-direction:column}
body[data-view="closed"]>.topbar{width:100%}
body[data-view="closed"] main{flex:1;display:flex;flex-direction:column;justify-content:center}
body[data-view="closed"] #room{width:100%}
.closed-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.55fr);align-items:center;gap:22px;max-width:950px;margin:32px auto;padding:clamp(24px,4vw,48px);text-align:left;background:var(--mint)}
.closed-card::before,.closed-card::after{display:none}
.closed-card #closed-character{grid-column:2;grid-row:1;display:grid;place-items:center;min-height:190px;border:3px solid var(--ink);border-radius:14px;background:#d7c4fa;box-shadow:4px 5px 0 var(--ink)}
.closed-card .actor{width:clamp(145px,17vw,210px);height:clamp(165px,19vw,235px)}
.closed-card .closed-content{grid-column:1;grid-row:1;min-width:0;position:relative;z-index:1}
.closed-card h1{color:var(--ink);-webkit-text-stroke:0;text-shadow:none;font-size:clamp(30px,3.5vw,44px)}
.closed-card p{margin:14px 0 22px;font-size:16px;line-height:1.5}
.closed-card .row{justify-content:flex-start;flex-wrap:wrap}
@media(max-width:650px){.closed-card{grid-template-columns:1fr;gap:18px;margin:14px auto;padding:20px}.closed-card #closed-character{grid-column:1;grid-row:1;min-height:135px}.closed-card .actor{width:125px;height:145px}.closed-card .closed-content{grid-column:1;grid-row:2}.closed-card .row{align-items:stretch}.closed-card .row>*{flex:1 1 100%;justify-content:center}}

/* A shared, text-first countdown: the remaining time is visible without sound. */
.intermission-timer,.result-auto-panel{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border:2px solid var(--ink);border-radius:9px;background:var(--paper);box-shadow:3px 3px 0 var(--ink)}
.intermission-timer-clock,.result-auto-clock{min-width:0;flex:1}
.intermission-timer-heading,.result-auto-heading{display:flex;align-items:baseline;gap:6px;font:700 13px/1.2 Golos,Arial,sans-serif}
.intermission-timer-heading strong,.result-auto-heading strong{font:400 24px/1 Russo,sans-serif;font-variant-numeric:tabular-nums}
.intermission-timer-track{height:6px;margin-top:6px;border-radius:9px;background:#c9b9d7;overflow:hidden}
.intermission-timer-track>span{display:block;width:100%;height:100%;background:var(--violet);transform:scaleX(var(--timer-progress,1));transform-origin:left center;transition:transform .25s linear}
.intermission-timer .btn,.result-auto-panel .btn{flex:none;min-width:44px;min-height:44px;margin:0;padding:8px 10px;font-size:13px}

/* Fix the illustration, reading area and actions to the same positions between games. */
@media(min-width:761px){
 body[data-intermission="true"] #rules-view{width:100%;max-width:1280px;height:100dvh;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:18px 24px}
 body[data-intermission="true"] #rules-view>.page-head{min-width:0;min-height:50px;gap:16px}
 body[data-intermission="true"] #rules-view>.page-head>div:first-child{flex:1;min-width:0}
 body[data-intermission="true"] #rules-view>.page-head h1{font-size:clamp(24px,2.2vw,30px)}
 body[data-intermission="true"] .intermission-timer{width:min(300px,30%);flex:none}
 body[data-intermission="true"] .rules-wrap{flex:0 0 auto;height:min(580px,calc(100dvh - 125px));min-height:0;max-height:none;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:0;overflow:hidden}
 body[data-intermission="true"] #rules-art{align-self:center;width:calc(100% - 48px);margin:24px;aspect-ratio:16/9}
 body[data-intermission="true"] .rules-copy{display:flex;flex-direction:column;align-self:stretch;min-width:0;min-height:0;overflow:hidden;padding:clamp(18px,2.3vw,30px)}
 body[data-intermission="true"] .rules-read{flex:1 1 auto;min-height:0;overflow:auto;padding-right:6px}
 body[data-intermission="true"] .rules-read h1{font-size:clamp(27px,2.4vw,36px);line-height:1.1;margin:0 0 14px;overflow-wrap:anywhere}
 body[data-intermission="true"] .rule-line{margin:12px 0;gap:12px}
 body[data-intermission="true"] .rule-line p{font-size:15px;line-height:1.45}
 body[data-intermission="true"] .rules-actions{flex:none;padding-top:14px;border-top:2px solid #29183d24;background:var(--paper)}
 #results .result-footer:has(#result-auto-panel:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.75fr) auto;align-items:center}
}
@media(min-width:761px) and (max-width:1050px){#results .result-footer:has(#result-auto-panel:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(220px,1fr)}#results .result-footer:has(#result-auto-panel:not([hidden])) #host-buttons{grid-column:1/-1}}
@media(min-width:761px) and (max-height:560px){body[data-intermission="true"] #rules-view{height:auto;min-height:100dvh;justify-content:flex-start}body[data-intermission="true"] .rules-wrap{height:auto;max-height:none}body[data-intermission="true"] .rules-copy,body[data-intermission="true"] .rules-read{overflow:visible}}
@media(max-width:760px){
 body[data-intermission="true"] #rules-view{padding:18px 16px 24px}
 body[data-intermission="true"] #rules-view>.page-head{gap:10px}
 body[data-intermission="true"] .intermission-timer{width:100%}
 body[data-intermission="true"] .rules-wrap{grid-template-columns:1fr;gap:0}
 body[data-intermission="true"] #rules-art{width:100%;margin:0;border:0;border-bottom:var(--line);border-radius:12px 12px 0 0;box-shadow:none}
 body[data-intermission="true"] .rules-copy{padding:20px 18px}
 body[data-intermission="true"] .rules-copy h1{font-size:27px;margin-bottom:12px;overflow-wrap:anywhere}
 body[data-intermission="true"] .rule-line{margin:14px 0;gap:10px}
 body[data-intermission="true"] .rules-actions{padding-top:12px;border-top:2px solid #29183d24}
 #results .result-auto-panel{width:100%}
}
@media(prefers-reduced-motion:reduce){.intermission-timer-track>span{transition:none}}

/* Sound lives on the shared screen, including every fullscreen phase. */
.music-controls{display:inline-flex;align-items:center;gap:6px;flex:none;vertical-align:middle}
.music-controls .music-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:8px 10px;white-space:nowrap}
.music-toggle svg{width:19px;height:19px;flex:none}
.music-volume{display:flex;align-items:center;min-height:42px}
.music-volume input{width:64px;height:24px;accent-color:var(--ink);cursor:pointer}
.music-controls .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.music-controls input:focus-visible{outline:3px solid var(--violet);outline-offset:3px}
.music-toggle[aria-pressed=false]{opacity:.8}
.music-credits{font-size:13px;line-height:1.5;margin:18px 0;max-width:700px}
@media(max-width:1100px){.tv-bar .music-label{display:none}.tv-bar .music-volume input{width:48px}}
@media(max-width:760px){.music-controls{gap:4px}.music-controls .music-label{display:none}.music-controls .music-toggle{padding:8px;min-width:40px}.music-volume input{width:45px}.topbar .bar-tail{flex-wrap:wrap;justify-content:flex-end}.page-head>[data-music-controls]{margin-left:auto}}
body[data-intermission="false"] #rules-view [data-music-controls]{display:none}

/* Confirmed impacts and falls stay readable without covering the arena. */
.platform-feedback{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:grid;gap:8px;width:max-content;max-width:min(78%,740px);pointer-events:none;z-index:4}
.platform-feedback[hidden]{display:none}
.platform-feedback-row{margin:0;padding:10px 16px;border:2px solid #29183d;border-radius:9px;background:#fff2cd;color:#29183d;box-shadow:3px 4px 0 #29183d;font:700 clamp(16px,1.55vw,24px)/1.4 Golos,sans-serif;overflow-wrap:anywhere;text-align:center}
.platform-feedback-row[data-kind=fall]{background:#ffcf41}
@media(prefers-reduced-motion:reduce){.platform-feedback{transition:none}}
.camera-view-badge,.camera-status{position:absolute;z-index:3;box-sizing:border-box;margin:0;padding:7px 11px;border:2px solid var(--ink);border-radius:8px;background:var(--paper);color:var(--ink);font:700 clamp(16px,1.4vw,22px)/1.25 Golos,sans-serif;box-shadow:2px 3px 0 var(--ink);overflow-wrap:anywhere;pointer-events:none}
.camera-view-badge[hidden],.camera-status[hidden],.camera-divider[hidden]{display:none}
.camera-status{left:50%;bottom:12px;transform:translateX(-50%);max-width:80%;background:var(--yellow);font-size:16px}
.camera-divider{position:absolute;z-index:2;pointer-events:none;background:var(--ink)}
.camera-divider[data-layout=columns]{left:calc(50% - 2px);top:0;width:4px;height:100%}
.camera-divider[data-layout=rows]{top:calc(50% - 2px);left:0;height:4px;width:100%}
.player-label{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;font-size:clamp(15px,1.3vw,20px)}
.player-label[data-outside=true]{outline:2px dashed var(--ink);outline-offset:2px}

/* A live objective uses the existing header; it never covers the game world. */
.arena-objective{flex:1 1 240px;min-width:180px;display:flex;flex-direction:column;gap:3px}
.arena-objective .tv-title{font-size:19px;line-height:20px;max-width:none}
#arena-game-cue{min-width:0}
.game-cue{display:flex;align-items:center;gap:7px;min-width:0;color:var(--ink)}
.game-cue-live{flex:1;min-width:0;font:600 13px/16px Golos,Arial,sans-serif;white-space:normal!important;overflow-wrap:anywhere}
.game-cue-detail{white-space:normal}
.game-cue-glyph{flex:none;display:grid;place-items:center;min-width:23px;height:23px;background:var(--cue-color,var(--yellow));border:2px solid var(--ink);border-radius:6px;font:700 17px/1 Golos,Arial,sans-serif}
.game-cue-glyph:empty,.game-cue-clock:empty,.game-cue-rows:empty{display:none}
.game-cue-clock{flex:none;font:700 14px/1 Golos,Arial,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;background:var(--yellow);border:1px solid var(--ink);border-radius:5px;padding:4px}
#arena-live .tv-player .player-status{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.15}
@media(min-width:761px){#arena-live .tv-player .player-status{font-size:12px}}
@media(max-width:1100px){#arena-live .tv-round{display:none}.arena-objective{flex-basis:200px}#arena-live .tv-bar{gap:8px}}
@media(max-width:760px){.arena-objective{flex-basis:calc(100% - 100px)}.arena-objective .tv-title{font-size:18px}#arena-live .tv-bar{height:auto;min-height:65px;flex-wrap:wrap}.game-cue-live{font-size:13px}}

/* Compact television cards: fixed vertical budget, full descriptions remain in title/aria. */
@media(min-width:761px){
 #arena-live .tv-player{display:grid;grid-template-columns:minmax(28px,1fr) minmax(0,auto);grid-template-rows:auto auto;align-content:center;align-items:center;gap:3px 4px;overflow:hidden}
 #arena-live .tv-player .actor{display:none}
 #arena-live .tv-player>div{display:contents}
 #arena-live .tv-player .name{grid-column:1;grid-row:1;min-width:0;max-width:none;font-size:13px;line-height:16px}
 #arena-live .tv-player .metric{grid-column:2;grid-row:1;min-width:0;max-width:6ch;overflow:visible;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:18px}
 #arena-live .tv-player .player-status{grid-column:1/-1;grid-row:2;min-width:0;overflow:visible;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:14px}
 /* Content-sized centre, constrained to the available middle row; actions stay outside scroll panels. */
 #results{grid-template-rows:auto minmax(0,auto) auto;align-content:center;gap:12px}
 #results #round-result,#results .aggregate,#results .final-hero{align-self:start;max-height:calc(100dvh - 180px)}
 #results #round-result{overflow:hidden}
 #results .result-detail{flex:0 1 auto;max-height:calc(100dvh - 270px)}
 #results .aggregate,#results .final-hero{overflow:auto}
 #results>.result-footer{position:relative;z-index:9}
}

.tv-status-detail{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
