/* 스트리머 대항전 화면 (play.css 위에 얹는다) */
.vs-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 4px; }
.vs-box { padding: 16px; background: #0b1226; border: 2px solid var(--line); } .vs-box h2 { margin: 0 0 10px; font-size: 16px; }
.vs-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vs-lab { display: block; font-size: 12px; color: var(--mut); } .vs-code { font-size: 34px; letter-spacing: .18em; color: var(--gold); font-variant-numeric: tabular-nums; }
.vs-conf { margin-top: 12px; } .vs-conf[data-ro] select, .vs-conf[data-ro] input { pointer-events: none; opacity: .65; }
.vs-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.vs-team { padding: 12px; border: 2px solid; } .vs-team.a { border-color: var(--sky); } .vs-team.b { border-color: var(--red); } .vs-team h3 { margin: 0 0 8px; font-size: 15px; } .vs-team.a h3 { color: var(--sky); } .vs-team.b h3 { color: var(--red); }
.vs-slot { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 10px; margin-top: 6px; background: #0b1226; border: 1px solid var(--line); } .vs-slot.empty { color: var(--mut); border-style: dashed; } .vs-slot b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-slot i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; color: var(--ink); background: var(--mint); } .vs-slot i.host { background: var(--gold); color: #3a2600; } .vs-slot i.off { background: var(--red); color: #fff; } .vs-slot.me { border-color: var(--mint); }

.vs-body { gap: 1.2cqw; } .vs-clock { font-size: max(16px, 3cqw); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); min-height: 1.2em; }
.vs-arena { width: 100%; }
.vs-rope { position: relative; height: 6cqw; margin: 1cqw 0; } .vs-rope::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .8cqw; translate: 0 -50%; background: repeating-linear-gradient(90deg, #c9a36b 0 1.2cqw, #8a6a3c 1.2cqw 2.4cqw); }
.vs-rope .mid { position: absolute; left: 50%; top: 0; bottom: 0; width: .3cqw; translate: -50% 0; background: var(--mut); } .vs-rope .end { position: absolute; top: 0; bottom: 0; width: .6cqw; } .vs-rope .end.a { left: 4%; background: var(--sky); } .vs-rope .end.b { right: 4%; background: var(--red); }
.vs-rope .knot { position: absolute; top: 50%; left: 50%; width: 4cqw; height: 4cqw; translate: -50% -50%; background: var(--gold); border: .45cqw solid #3a2600; transition: left 1s linear; }
.vs-race { display: flex; flex-direction: column; gap: 1.2cqw; } .vs-lane { display: grid; grid-template-columns: 9cqw 1fr 8cqw; align-items: center; gap: 1.2cqw; font-size: max(13px, 2.2cqw); font-weight: 800; } .vs-lane.a { color: var(--sky); } .vs-lane.b { color: var(--red); }
.vs-lane .tr { height: 4.6cqw; background: #0b1226; border: .3cqw solid currentColor; } .vs-lane .tr i { display: block; height: 100%; width: 0; background: currentColor; transition: width 1s linear; } .vs-lane span { text-align: right; font-variant-numeric: tabular-nums; }
.vs-sides { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; margin-top: 1cqw; text-align: left; }
.vs-side { padding: 1.2cqw 1.4cqw; border: .3cqw solid; } .vs-side.a { border-color: var(--sky); } .vs-side.b { border-color: var(--red); } .vs-side h3 { margin: 0 0 .6cqw; font-size: max(13px, 2.2cqw); display: flex; justify-content: space-between; gap: 1cqw; } .vs-side.a h3 { color: var(--sky); } .vs-side.b h3 { color: var(--red); }
.vs-side.win { box-shadow: 0 0 0 .4cqw var(--gold) inset; border-color: var(--gold); } .vs-side.lose { opacity: .45; }
.vs-mem { margin-top: .8cqw; } .vs-mem .nm { display: flex; justify-content: space-between; gap: 1cqw; font-size: max(12px, 1.8cqw); font-weight: 700; } .vs-mem .nm b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vs-mem .nm span { flex: none; font-weight: 600; color: var(--mut); font-size: max(11px, 1.4cqw); }
.vs-mem .pw { height: 1.6cqw; margin-top: .3cqw; background: #0b1226; border: .2cqw solid var(--line); } .vs-mem .pw i { display: block; height: 100%; width: 0; transition: width 1s linear; } .vs-side.a .pw i { background: var(--sky); } .vs-side.b .pw i { background: var(--red); }
.vs-mem small { display: block; margin-top: .2cqw; font-size: max(10px, 1.3cqw); color: var(--mut); } .vs-mem.me .nm b { color: var(--mint); } .vs-mem.off { opacity: .45; }
@media (max-width: 640px) { .vs-teams, .vs-sides { grid-template-columns: 1fr; } }
