.rs-dialog{width:min(1400px,96vw);height:94vh;max-height:96vh;max-width:96vw;padding:0;background:#0c1725;color:#ecf3fb;border:1px solid #61758a;border-radius:12px}.rs-dialog[open]{display:flex;flex-direction:column}.rs-dialog::backdrop{background:#000b}.rs-dialog header,.rs-controls{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #35495c;flex-wrap:wrap}.rs-dialog header>div{flex:1}.rs-dialog h2{font-size:20px;margin:4px 0}.rs-dialog button,.rs-dialog select{padding:8px 12px;border:1px solid #526d88;background:#213449;color:inherit;border-radius:6px;cursor:pointer}.rs-dialog button:disabled{opacity:.5;cursor:default}.rs-dialog [data-rs-play]{background:#e8b85e;color:#102031;font-weight:bold}.rs-body{display:flex;flex:1;min-height:0}.rs-map{flex:1;background:#060d15;min-width:0}.rs-map>svg{display:block;width:100%;height:100%}.rs-body aside{width:240px;overflow:auto;padding:14px;border-left:1px solid #35495c}.rs-dialog article{display:grid;gap:4px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #263b50}.rs-dialog small{color:#b4c6d9;font-size:11px;line-height:1.5}.rs-dialog details{margin:14px 0}.rs-dialog summary{cursor:pointer}.rs-dialog details button{margin:5px 0;width:100%;font-size:12px}.rs-dialog details label{display:block;margin-top:10px}.rs-dialog details select{width:100%}.rs-dialog footer{padding:8px 16px;border-top:1px solid #35495c;min-height:64px}.rs-dialog ol{list-style:none;margin:0;padding:0;font-size:12px;color:#b8cbdc;line-height:1.5}@media(max-width:700px){.rs-body aside{width:170px;padding:8px}.rs-dialog header h2{font-size:16px}.rs-controls{gap:6px;padding:8px}.rs-dialog button{padding:6px}}

.rs-map{position:relative}.rs-killfeed{position:absolute;right:12px;top:12px;z-index:2;display:grid;gap:5px;max-width:95%;pointer-events:none}.rs-killfeed>div{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#101721ed;border:1px solid #a9483f;border-radius:4px;padding:5px 9px;font-size:12px;box-shadow:0 2px 6px #0008}.rs-killfeed strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.rs-killfeed .weapon-icon{color:#f2f3f4}

.rs-flashed{pointer-events:none}@media(prefers-reduced-motion:reduce){.rs-flash-orbit,.rs-flash-halo{display:none}}


.rs-dialog footer{max-height:42vh;overflow:auto;flex-shrink:0}

/* Map-first round viewer, with compact team HUD and recorded playback. */
.rs-dialog{width:98vw;max-width:98vw;height:97vh;max-height:97vh;background:#101214;border-color:#343a40}
.rs-dialog header{padding:8px 14px;gap:8px;background:#171a1d;border-color:#30353b}.rs-dialog h2{font-size:16px;margin:2px 0}
.rs-map{background:#0c0e10;overflow:hidden}.rs-map>svg{touch-action:none;cursor:grab}.rs-map>svg:active{cursor:grabbing}
.rs-body aside{width:230px;flex-shrink:0;box-sizing:border-box;background:#101214;padding:8px;border-color:#30353b}
.rs-team{background:#191c20;border:1px solid #30353b;border-radius:8px;padding:8px;margin:0 0 10px}.rs-team h3{font-size:12px;margin:0 0 6px;padding:4px 0 8px;border-bottom:1px solid #343a40}.rs-team h3 span{float:right;font-size:10px;color:#b5bec8}
.rs-team article{gap:3px;margin:0;padding:7px 0;border-bottom:1px solid #30353b;font-size:11px}.rs-team article:last-child{border:0}.rs-team article.is-dead{opacity:.45}
.rs-dialog .rs-player-select{border:0;border-radius:0;background:none;padding:0;text-align:left;font-size:12px}.rs-player-select strong{pointer-events:none}
.rs-team meter{width:100%;height:5px;appearance:none;border:0;background:#30353b}.rs-team meter::-webkit-meter-bar{background:#30353b;border:0}.rs-team meter::-webkit-meter-optimum-value{background:#c8ad61}
.rs-team article small{font-size:10px}.rs-team article [data-rs-skills],.rs-team article [data-rs-decision],.rs-team article [data-rs-reason]{display:none}.rs-team article.is-selected [data-rs-skills],.rs-team article.is-selected [data-rs-decision],.rs-team article.is-selected [data-rs-reason]{display:block}.rs-team article.is-selected{background:#26303b;outline:1px solid #65798c;border-radius:4px;padding:7px 4px}
.rs-team .weapon-icon{width:45px;height:16px;vertical-align:middle}.rs-team article>span:last-child{font-size:10px;color:#b5c4d2}
.rs-team article>*{margin:0;line-height:1.25}.rs-team article:not(.is-selected)>small{display:none}.rs-team article:not(.is-selected)>small:nth-of-type(3){display:block;font-size:9px}.rs-team article:not(.is-selected)>span:last-child{display:none}.rs-team article>span{padding:0;min-height:0}.rs-team article{padding:5px 0}.rs-team article .rs-player-select{min-height:0;line-height:1.2}.rs-team .weapon-icon{height:13px;width:36px}
.rs-team article:not(.is-selected){grid-template-columns:1fr auto;grid-template-rows:15px 5px 18px;gap:3px;height:58px;box-sizing:border-box}.rs-team article:not(.is-selected)>.rs-player-select,.rs-team article:not(.is-selected)>meter{grid-column:1 / -1}.rs-team article:not(.is-selected)>small:nth-of-type(3){align-self:center;max-width:95px;text-align:right}.rs-team article:not(.is-selected)>span{font-size:9px;white-space:nowrap}.rs-team article:not(.is-selected)>span .weapon-icon{width:30px}
.rs-hud-clock{position:absolute;top:10px;left:50%;transform:translateX(-50%);z-index:2;display:grid;justify-items:center;gap:4px;pointer-events:none;max-width:50%;text-align:center}.rs-hud-clock strong{font:700 22px monospace;background:#191c20ed;border:1px solid #343a40;border-radius:8px;padding:6px 18px}.rs-hud-clock span{font-size:11px;background:#101214c9;border-radius:4px;padding:3px 7px}
.rs-viewport-tools{position:absolute;top:12px;left:10px;z-index:3;display:grid;gap:4px}.rs-dialog .rs-viewport-tools button{background:#191c20dd;padding:5px 9px;border-color:#343a40;font-size:18px}
.rs-controls{position:relative;flex-shrink:0;padding:8px;gap:8px;flex-wrap:nowrap;background:#191c20;border-color:#343a40;font-size:12px}.rs-controls button,.rs-controls select{padding:6px 9px}.rs-controls label{white-space:nowrap}.rs-controls input[type=range]{flex:1;min-width:80px;accent-color:#e4bb63}.rs-controls output{min-width:100px;font:12px monospace;white-space:nowrap}.rs-controls .rs-settings{margin:0;order:10;position:relative}.rs-settings>summary{padding:7px;border:1px solid #526d88;border-radius:5px}.rs-settings>div{position:absolute;right:0;bottom:40px;width:260px;display:grid;gap:12px;background:#191c20;border:1px solid #526d88;border-radius:8px;padding:14px;z-index:5;box-shadow:0 6px 24px #0009}.rs-settings label{white-space:normal}.rs-settings select{display:block;width:100%;margin-top:4px}
.rs-dialog footer.rs-report{min-height:0;max-height:30vh;padding:5px 12px;background:#101214}.rs-report>details{margin:0}.rs-report summary{font-size:12px;padding:4px}.rs-report ol{margin-top:8px}.rs-body aside>p{font-size:11px;margin:2px 0 8px}.rs-body aside>details{font-size:11px}
@media(max-width:800px){.rs-body aside{width:180px}.rs-controls{flex-wrap:wrap}.rs-controls input[type=range]{flex-basis:40%}.rs-hud-clock strong{font-size:17px}.rs-hud-clock span{display:none}.rs-killfeed{top:90px}.rs-dialog header small{font-size:9px}}


/* Compact observer HUD: map first, team cards right, playback below. */
.rs-dialog{background:#0d1117;border-color:#30363e;border-radius:9px}.rs-dialog header{padding:8px 14px;border-color:#30363e}.rs-dialog h2{font-size:16px;margin:2px 0}.rs-body aside{width:210px;background:#0d1117;border-color:#30363e;padding:10px}.rs-team{border:1px solid #30363e;border-radius:9px;margin:7px 0;padding:8px;background:#10151c}.rs-team h3{font-size:12px;margin:0 0 7px;border-bottom:1px solid #30363e;padding-bottom:6px}.rs-team article:last-child{border-bottom:0;margin-bottom:0}.rs-team article:not(.is-selected){height:56px}.rs-team meter{height:5px;width:100%;accent-color:#71bdff}.rs-team article[data-side=T] meter{accent-color:#efc76e}.rs-controls{background:#10151c;border-color:#30363e}.rs-score-strip{display:flex;gap:12px;align-items:center;font-size:11px;background:#10151cdd;border:1px solid #30363e;padding:5px 12px;border-radius:6px}.rs-score-strip>b{font:700 15px monospace}.rs-score-strip span{padding:0;background:none}.rs-hud-clock strong{font-size:18px;padding:4px 14px}.rs-hud-clock{gap:3px}.rs-report{border-color:#30363e}.rs-team article[data-rs-card]{margin-bottom:4px}@media(max-width:800px){.rs-body aside{width:155px}.rs-score-strip{gap:6px;padding:4px 7px}.rs-score-strip span{font-size:9px}.rs-dialog h2{font-size:14px}}

/* Observer view: compact team HUD, unobstructed radar, options below. */
.rs-hud-clock [data-rs-phase]{font-size:9px;font-weight:700;letter-spacing:.12em;color:#efc76e;background:#10151ce8;padding:2px 7px;border-radius:3px}
.rs-hud-clock [data-rs-bomb]{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.rs-dialog header [data-rs-status]{margin:2px 0 0;color:#aebdca;font-size:11px}
.rs-body aside{width:252px;flex:0 0 252px;box-sizing:border-box;padding:8px;overflow:auto}
.rs-team{padding:5px 8px;margin:0 0 6px;border-radius:5px}.rs-team h3{padding:3px 0 5px;margin:0 0 3px}
.rs-team article:not(.is-selected){height:43px;grid-template-rows:13px 3px 17px;gap:2px;padding:3px 0;margin-bottom:2px}
.rs-team article .rs-player-select{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.rs-team article:not(.is-selected)>small:nth-of-type(3){display:none}.rs-team article:not(.is-selected)>small:nth-of-type(2){display:block;align-self:center;text-align:right;font-size:9px;white-space:nowrap}
.rs-team meter{height:3px}.rs-team article.is-selected{font-size:11px;padding:5px}.rs-team article.is-selected .rs-player-select{white-space:normal}
.rs-settings>div{width:280px;max-height:65vh;overflow:auto}.rs-settings details{margin:6px 0}.rs-settings details p,.rs-settings small{font-size:11px}
.rs-hud-clock{max-width:65%;top:8px}.rs-score-strip{border-radius:4px;padding:4px 10px}.rs-hud-clock strong{font-size:22px;border-radius:4px;padding:4px 15px}
@media(max-width:900px){.rs-body aside{width:215px;flex-basis:215px}.rs-hud-clock{max-width:60%}.rs-controls{flex-wrap:wrap}}
@media(max-height:760px) and (min-width:901px){.rs-team article:not(.is-selected){height:36px;grid-template-rows:12px 3px 13px;padding:2px 0;margin-bottom:1px}.rs-team h3{font-size:11px;padding:2px 0 3px}.rs-team{margin-bottom:4px}}

