/* Shared live presentation only; the course editor is intentionally outside this scope. */
.lv-map { background:#000!important; border:1px solid #29313b!important; border-radius:10px!important; overflow:hidden; position:relative; }
.lv-map .lv-svg { width:100%; height:100%; touch-action:auto; }
.lv-svg .lv-boundary { fill:none; stroke:#343e49; stroke-linecap:round; stroke-linejoin:round; opacity:1; }
.lv-svg .lv-centerline { fill:none; stroke:#8c9aaa; stroke-width:1; stroke-dasharray:5 6; vector-effect:non-scaling-stroke; }
.lv-svg .lv-area { fill:rgba(56, 189, 248, 0.05); stroke:none; }
.lv-svg .lv-cp-boundary { fill:none; stroke:#38bdf8; stroke-opacity:.28; stroke-linecap:round; }
.lv-svg .lv-cp-line { fill:none; stroke:#7dd3fc; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.lv-svg .lv-cp-label,.lv-svg .lv-gate text,.lv-svg .lv-vehicle text { fill:#e2e8f0; stroke:#0c1015; paint-order:stroke; font-family:ui-monospace,monospace; font-weight:750; dominant-baseline:middle; }
.lv-svg .lv-cp-label { text-anchor:middle; }
.lv-svg .lv-cp-label.is-target { fill:#7dd3fc; }
.lv-svg .lv-cp-label.pass { fill:#4ade80; }
.lv-svg .lv-cp-label.miss { fill:#fb7185; }
.lv-svg .lv-cp-label.unknown { fill:#fbbf24; }
.lv-svg .lv-gate line { stroke-width:3; vector-effect:non-scaling-stroke; stroke-linecap:round; }
.lv-svg .lv-gate.start line,.lv-svg .lv-gate.start circle { stroke:#4ade80; fill:#4ade80; }
.lv-svg .lv-gate.finish line,.lv-svg .lv-gate.finish circle { stroke:#fb7185; fill:#fb7185; }
.lv-svg .lv-vehicle circle { animation:none; stroke:none; }
.lv-svg .lv-vehicle circle:nth-of-type(1) { fill:#38bdf8; opacity:.2; }
.lv-svg .lv-vehicle circle:nth-of-type(2) { fill:#38bdf8; opacity:1; }
.lv-svg .lv-vehicle circle:nth-of-type(3) { fill:#fff; opacity:1; }
.lv-svg .lv-vehicle text { text-anchor:start; fill:#f8fafc; }
.lv-svg .gps-travel-trail,.lv-svg .lap-live-travel-trail { stroke:#7dd3fc; stroke-width:2; fill:none; vector-effect:non-scaling-stroke; }
.lv-cps { display:flex!important; flex-direction:column; align-items:flex-start; gap:5px!important; margin-top:8px; }
.lv-map .lv-cps { position:absolute; inset:auto auto 12px 12px; z-index:2; margin:0; text-align:left; pointer-events:none; }
.lv-cp-status { display:flex; gap:6px; align-items:center; padding:0; background:none; border:0; border-radius:0; font:600 10px/1.2 ui-monospace,monospace; color:#a8b5c5; }
.lv-cp-status.pass { color:#4ade80; }
.lv-cp-status.miss { color:#fb7185; }
.lv-cp-status.unknown { color:#fbbf24; }
.lv-flash { animation:lv-verdict .65s ease-out; }
@keyframes lv-verdict { from { opacity:.35; } to { opacity:1; } }
.lv-map .course-map-title,.lv-map .lap-live-course-head { position:absolute; inset:12px auto auto 12px; max-width:calc(100% - 100px); padding:0; background:none; pointer-events:none; }
.lv-map .lap-live-course-name,.lv-map #courseNameLabel { font-size:13px; font-weight:750; color:#e2e8f0; }
.lv-map .live-speed-metric,.lv-map .lap-live-speed-metric { position:absolute; inset:auto 12px 12px auto; display:grid; gap:5px; font-size:11px; background:none; padding:0; }
.lv-map .live-speed-metric span,.lv-map .lap-live-speed-metric span { display:flex; gap:8px; justify-content:flex-end; }
.lv-map .live-speed-metric small,.lv-map .lap-live-speed-metric small { font-size:10px; color:#94a3b8; }
.lv-map .live-speed-metric strong,.lv-map .lap-live-speed-metric strong { font:600 11px ui-monospace,monospace; color:#e2e8f0; }
.lv-readout { container-type:inline-size; display:flex!important; flex-direction:column; justify-content:center; align-items:center; gap:8px; padding:18px 8px!important; text-align:center; min-width:0; }
.lv-readout .lv-time { font-family:'JetBrains Mono',ui-monospace,monospace!important; font-size:clamp(30px,12cqw,76px)!important; line-height:1.05!important; letter-spacing:-.06em!important; font-weight:750; font-variant-numeric:tabular-nums; color:#facc15!important; margin:0!important; }
.lv-readout .lv-status { display:inline-block; padding:4px 9px; border:1px solid #475569; border-radius:5px; color:#94a3b8; background:#17202a; font-family:inherit; font-size:10px; line-height:1.2; font-weight:700; letter-spacing:.02em; margin:0; }
.lv-readout[data-phase=ready] .lv-status,.lv-readout[data-phase=running] .lv-status { color:#7dd3fc; border-color:#38bdf860; background:#38bdf812; }
.lv-readout[data-phase=finished] .lv-status { color:#4ade80; border-color:#4ade8060; background:#4ade8012; }
.lv-readout[data-phase=dnf] .lv-status { color:#fbbf24; border-color:#fbbf2460; background:#fbbf2412; }
.lv-readout .lv-driver { display:flex; align-items:center; justify-content:center; gap:7px; min-width:0; max-width:100%; font-size:13px!important; font-weight:900; line-height:1.4; color:#f1f5f9!important; margin:0!important; overflow-wrap:anywhere; }
.lv-driver .lap-live-driver-name,.lv-driver .lap-live-driver-car { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lv-driver .lap-live-driver-car { color:#94a3b8; font-size:.85em; font-weight:700; }
/* 최근 완주와 같은 리버리 티어 색상·배경 10%·테두리 30% 규칙. */
.lv-driver .car-number { flex:0 0 auto; font-size:.875em; font-weight:700; line-height:1.25; padding:1px 4px; border:1px solid; border-radius:4px; white-space:nowrap; }
.lv-driver .car-number-master { color:var(--master,#ef4444); background:rgba(239,68,68,.1); border-color:rgba(239,68,68,.3); }
.lv-driver .car-number-diamond { color:var(--diamond,#60a5fa); background:rgba(96,165,250,.1); border-color:rgba(96,165,250,.3); }
.lv-driver .car-number-platinum { color:var(--platinum,#14b8a6); background:rgba(20,184,166,.1); border-color:rgba(20,184,166,.3); }
.lv-driver .car-number-gold { color:var(--gold,#fbbf24); background:rgba(251,191,36,.1); border-color:rgba(251,191,36,.3); }
.lv-driver .car-number-silver { color:var(--silver,#cbd5e1); background:rgba(203,213,225,.1); border-color:rgba(203,213,225,.3); }
.lv-driver .car-number-bronze { color:var(--bronze,#b45309); background:rgba(180,83,9,.1); border-color:rgba(180,83,9,.3); }
.lv-driver .car-number-iron { color:var(--iron,#9e7a7a); background:rgba(113,113,122,.1); border-color:rgba(113,113,122,.3); }
.lv-driver .car-number-starter { color:var(--starter,#4ade80); background:rgba(74,222,128,.1); border-color:rgba(74,222,128,.3); }
.lv-driver .lap-live-livery-default { color:var(--text-main,#f3f1ec); background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); }
.lv-readout .lv-meta { font-size:11px; color:#94a3b8; margin:0; min-height:15px; }
.live-measurement-card .live-measurement-body { grid-template-rows:minmax(0,1fr) auto; }
.live-measurement-card .live-timer-pane { padding:0; }
.live-measurement-card .live-timer-readout { flex:none; }
.lap-live-current { display:flex; flex-direction:column; }
.lap-live-current .lap-live-course-map { flex:1; min-height:330px; }
.lap-live-current .lap-live-current-info { flex:none; }
.lap-live-current.is-fullscreen .lap-live-current-info { display:flex!important; }
@media(max-width:900px) {
  .live-measurement-card .live-course-pane { min-height:340px; }
  .lv-readout { padding:16px 6px!important; }
}
@media(prefers-reduced-motion:reduce) { .lv-flash { animation:none; } }
