@font-face{font-family:"Samsung Head";src:local("Samsung SS Head Regular"),local("SamsungSSHead Regular");font-weight:400}
@font-face{font-family:"Samsung Head";src:local("Samsung SS Head Medium"),local("SamsungSSHead Medium");font-weight:500}
@font-face{font-family:"Samsung Head";src:local("Samsung SS Head Bold"),local("SamsungSSHead Bold");font-weight:700}
:root{--base:#eeefed;--paper:#fafaf8;--ink:#17191d;--muted:#777d83;--line:#d3d5d4;--blue:#2459eb;--yellow:#f4c400;--font:'Samsung Head',Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--base);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}button,a{font:inherit}button{cursor:pointer}a{color:inherit}[hidden]{display:none!important}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.app-shell{max-width:2050px;margin:auto;padding:clamp(14px,1.5vw,30px) clamp(14px,2vw,40px) 24px}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:51px;border-bottom:1px solid #cccecb;padding:0 2px 13px}
.brand{display:flex;align-items:center;gap:clamp(9px,1.1vw,18px);white-space:nowrap}.brand img{width:clamp(105px,8.5vw,150px);height:auto}.brand-rule{height:24px;width:1px;background:#9ca1a5}.brand strong{font-size:clamp(16px,1.4vw,22px);font-weight:500;letter-spacing:-.025em}.version-chip{padding:5px 9px;border-radius:99px;border:1px solid #cbd0d0;color:#888d90;font-size:11px;font-weight:400}
.server-status{display:flex;align-items:center;gap:9px;border-radius:13px;background:#f8f9f7;border:1px solid #d4d6d4;padding:8px 13px}.server-status b{display:block;font-size:12px;font-weight:500}.server-status small{display:block;color:#858b8f;font-size:10px}.connection-dot{background:#b3b6b9;width:7px;height:7px;border-radius:50%}.connection-dot.connected{background:var(--blue)}
.hero{padding:clamp(15px,1.9vw,28px) 2px 5px}.eyebrow{font-size:12px;color:#8e9398}.hero h1{font-size:clamp(44px,4.2vw,76px);font-weight:700;line-height:.94;letter-spacing:-.025em;margin:6px 0 12px}.hero h1 em{font-style:normal;color:#999da0}.hero p{font-size:clamp(12px,1vw,15px);line-height:1.5;color:#697078;margin:0}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 15px}.segmented{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:4px;border:1px solid #d0d3d1;border-radius:100px;background:#f9faf8}.segmented button{font-size:13px;border:0;border-radius:50px;padding:10px clamp(12px,1.2vw,19px);color:#6b7077;background:transparent;white-space:nowrap}.segmented button.active{color:#fff;background:#21242a}.toolbar-note{font-size:11px;color:#969a9e;white-space:nowrap}.toolbar-note b{font-weight:500;color:#6d737a}
.player-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}.player-dot.blue{background:var(--blue)}.player-dot.yellow{background:var(--yellow)}
/* Both playable Galaxy previews are the hero; the LCD is always underneath. */
.stage-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.3vw,24px);min-width:0}
.station-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(14px,1.3vw,24px);min-width:0}
.station-card,.led-panel{min-width:0;overflow:hidden;border-radius:clamp(16px,1.15vw,21px);background:var(--paper);border:1px solid #d7dad7;box-shadow:0 8px 30px #131b2508}
.station-card{display:flex;flex-direction:column}
.station-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:clamp(16px,1.35vw,23px) clamp(16px,1.4vw,25px) clamp(13px,1.1vw,19px)}
.station-overline{font-size:clamp(11px,.75vw,13px);color:#91979d;display:flex;align-items:center;gap:8px}
.station-top h2{font-size:clamp(25px,2vw,35px);font-weight:500;letter-spacing:-.025em;margin:7px 0 3px}.player-state{color:#8b9196;font-size:12px;line-height:1.4;margin:0;min-height:16px}
.station-actions{display:flex;align-items:center;gap:2px;border-radius:999px;background:#eceeed;border:1px solid #d0d3d5;padding:4px;flex:none}.fold-button{background:transparent;border:0;border-radius:99px;color:#70767d;padding:9px 15px;font-size:13px;white-space:nowrap}.fold-button.selected{background:#24282e;color:#fff}
.phone-stage{height:clamp(710px,74vh,900px);background:#e2e3e1;position:relative;display:grid;place-items:center;overflow:hidden;margin:0 clamp(14px,1.15vw,22px);border-radius:15px;touch-action:auto;pointer-events:auto}
.preview-box{position:relative;flex:none;overflow:hidden}.phone-box{border-radius:32px;box-shadow:0 0 0 3px #606a75,0 18px 42px #15212c2e;transition:width .34s ease,height .34s ease,border-radius .34s ease,box-shadow .34s ease}.phone-box.is-unfolded{border-radius:21px;box-shadow:0 0 0 3px #606a75,0 18px 42px #15212c27}
.phone-box iframe{position:absolute;top:0;left:0;border:0;transform-origin:top left;display:block;background:#24272d;touch-action:auto;pointer-events:auto}
.station-foot,.led-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px clamp(16px,1.4vw,25px);font-size:12px;color:#8d9399}
.station-foot span:first-child{font-weight:500;color:#555c64}.station-help{font-size:11px;color:#9a9ea2}.station-foot a,.led-footer a{font-size:12px;color:#1428a0;text-decoration:none;white-space:nowrap}.station-foot a:hover,.led-footer a:hover{text-decoration:underline}
.led-panel{padding:clamp(13px,1.25vw,24px)}.led-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 6px clamp(14px,1.1vw,18px)}.led-header h2{margin:7px 0 0;font-size:clamp(23px,1.85vw,34px);font-weight:500;letter-spacing:-.025em}.mini-chip{border-radius:99px;border:1px solid #d3d6d5;padding:7px 12px;font-size:12px;color:#747b82;background:#f2f3f1}
.display-stage{width:100%;background:#e2e3e1;border-radius:15px;padding:clamp(12px,1.75vw,28px);display:grid;place-items:center;overflow:hidden}
.led-box{width:100%;max-width:1850px;aspect-ratio:16/9;border-radius:9px;box-shadow:0 0 0 3px #565b61,0 18px 40px #17212b31;background:#23262a}
.led-box iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;transform:none!important;background:#1b1e23}
.led-footer{padding:16px 7px 1px}.action-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #d7d9d7;border-radius:17px;background:#fafaf8;padding:clamp(13px,1.15vw,19px) clamp(15px,1.25vw,23px);margin-top:clamp(13px,1.1vw,20px)}.action-caption{display:flex;flex-direction:column;gap:5px}.action-caption strong{font-size:14px;font-weight:500}.action-caption span{color:#848990;font-size:12px}.button-list{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.action{border:1px solid #cfd3d4;border-radius:99px;background:#f1f2f0;color:#2b3036;text-decoration:none;padding:10px 15px;font-size:12px;white-space:nowrap}.action.primary{background:#1428a0;color:#fff;border-color:#1428a0}.action.second{background:#f4c400;color:#252525;border-color:#f4c400}.action.dark{background:#252932;color:#fff;border-color:#252932}.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 5px 4px;flex-wrap:wrap;color:#989da1;font-size:10px}.footer code{font-size:10px}
/* Focus modes never hide the LED, or a player. */
.analytics-mode .stage-layout{position:fixed!important;left:-100000px;top:0;visibility:hidden;pointer-events:none;width:1400px}.analytics-mode .action-bar{display:none}
.analytics-view{border-radius:18px;border:1px solid #d7d9d6;background:#efefed;overflow:hidden}.operator-return{display:flex;align-items:center;gap:17px;padding:13px 16px;border-bottom:1px solid #d8d9d7;background:#fafaf8}.operator-return span{font-size:12px;color:#7b8085;flex:1}.operator-return a{font-size:12px;color:#1428a0;text-decoration:none}.analytics-view iframe{width:100%;height:1320px;display:block;border:0;background:#eee}
@media(max-width:1200px){.phone-stage{height:710px}.station-help{display:none}.action-bar{align-items:flex-start;flex-direction:column}.button-list{justify-content:flex-start}}
@media(max-width:840px){.station-rail{grid-template-columns:1fr}.phone-stage{height:clamp(640px,75vh,810px)}.hero h1{font-size:clamp(42px,7vw,60px)}.toolbar{align-items:flex-start;flex-direction:column}.toolbar-note{display:none}.display-stage{padding:12px}.analytics-view iframe{height:1750px}}
@media(max-width:600px){.app-shell{padding:10px}.masthead{align-items:flex-start;gap:6px}.brand{flex-wrap:wrap;gap:8px}.brand img{width:97px}.brand-rule{height:18px}.brand strong{font-size:16px}.version-chip{font-size:10px;padding:4px 6px}.server-status{padding:7px 9px}.server-status small{display:none}.server-status b{font-size:10px}.hero{padding:20px 3px 4px}.hero h1{font-size:43px}.hero p{font-size:12px}.toolbar{margin:12px 0}.segmented{max-width:100%;overflow:auto;flex-wrap:nowrap}.segmented button{font-size:11px;padding:8px 11px}.station-top{padding:14px 13px 12px;align-items:flex-start}.station-top h2{font-size:23px}.station-actions{padding:3px}.fold-button{padding:8px 10px;font-size:11px}.phone-stage{height:680px;margin:0 10px;border-radius:12px}.station-foot{padding:13px}.station-foot span{font-size:11px}.led-panel{padding:10px}.led-header h2{font-size:22px}.led-footer{padding:12px 3px 2px}.led-footer span{font-size:10px}.led-footer a{font-size:10px}.display-stage{padding:8px;border-radius:9px}.action-bar{padding:12px}.action{padding:9px 11px;font-size:11px}.footer span:last-child{display:none}.operator-return{gap:8px;flex-wrap:wrap}.operator-return span{flex:1 1 100%}.analytics-view iframe{height:1950px}}

/* v17.1: keep each presentation box inset in its own column */
html,body{max-width:100%;overflow-x:clip}
.app-shell,.stage-layout,.station-rail,.station-card,.led-panel,.analytics-view{min-width:0;max-width:100%}
.station-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
.station-card,.led-panel{overflow:hidden;box-sizing:border-box}
.phone-stage,.display-stage{max-width:100%;overflow:hidden;box-sizing:border-box}
.phone-box,.led-box{max-width:100%;box-sizing:border-box}
.station-top,.station-foot,.led-header,.led-footer{min-width:0}
@media(max-width:840px){.station-rail{grid-template-columns:minmax(0,1fr)}}

/* v20 external device testing navigation */
.remote-tools{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-left:auto}.remote-tools a{border:1px solid #c1c4cc;border-radius:999px;text-decoration:none;padding:9px 15px;color:#202127;font-size:13px;font-weight:600;white-space:nowrap;background:#ffffff82}.remote-tools a:hover{background:#fff}.remote-mode .station-card .station-actions,.remote-mode .station-help,.remote-mode #newRound1,.remote-mode #newRound2{display:none!important}
@media(max-width:760px){.remote-tools{width:100%;margin-top:10px;justify-content:flex-start}}

/* v20.1 — the Samsung / Glass Rally masthead is an overview navigation target. */
.brand-home{display:inline-flex;align-items:center;gap:clamp(9px,1.1vw,18px);color:inherit;text-decoration:none;cursor:pointer;border-radius:7px}
.brand-home:hover{opacity:.78}
.brand-home:focus-visible{outline:2px solid #2459eb;outline-offset:5px}
@media(max-width:600px){.brand-home{gap:8px}}

.led-options{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.phone-box{background:#292e35}
@media(max-width:600px){
 .led-header{flex-wrap:wrap;gap:10px}
 .phone-stage{height:clamp(340px,68svh,600px)}
}

.solo-preview-stage{display:grid;place-items:center;background:#e7e8e5;border-radius:14px;padding:12px}
.solo-preview-stage iframe{display:block;width:min(100%,416px);height:clamp(540px,78vh,700px);border:0;border-radius:16px;background:#191c21}
.solo-preview-stage.landscape iframe{width:min(100%,816px);height:clamp(300px,45vw,460px)}
@media(max-width:560px){.solo-preview-stage.landscape iframe{height:clamp(140px,48vw,250px)}}
