/* Overlay di game: gaya Le Mans Ultimate / WEC. Dimuat setelah styles.css dan extras.css. */
:root { --lmu-font: "Bahnschrift","Barlow Condensed","Roboto Condensed","Arial Narrow",system-ui,-apple-system,"Segoe UI",Arial,sans-serif; --lmu-red: #e5173f; --lmu-ink: rgba(10,12,16,.86); }
body, body * { font-family: var(--lmu-font) !important; letter-spacing: .2px; }

/* kotak utama + header sesi */
.raceroom-container { background: var(--lmu-ink); border-radius: 0; border-top: 3px solid var(--lmu-red); }
.race-header { padding: 6px 12px; background: rgba(255,255,255,.06); border-bottom: 0; }
.race-badge, .race-badge.endurance { background: var(--lmu-red); color: #fff; border-radius: 0; padding: 3px 16px; font-size: 13px; letter-spacing: .06em;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.race-badge.circuit { background: #3b82f6; } .race-badge.sprint { background: #10b981; }
.header-lap, .quali-clock, .spec-lap { font-size: 18px; font-weight: 700; }

/* scoreboard kiri bawah: opacity 100% (latar solid, tidak tembus pandang) */
.hud-left .raceroom-container { background: #0a0c10 !important; opacity: 1 !important; }

/* tower */
.scoreboard-table td { padding: 4px 5px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.scoreboard-table .head-row th { font-size: 11px; font-weight: 600; color: #8b94a5; padding: 5px 5px; letter-spacing: .04em; }
.endu-table td { font-size: 13px; padding: 4px 5px; }
.endu-table td.c-pos { width: 46px; padding-left: 8px !important; }
.pbox { display: inline-block; min-width: 28px; padding: 2px 5px; background: #f1f3f6; color: #0a0c10; font-weight: 800; font-size: 14px; text-align: center;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
tr.p1 .pbox { background: #ffd60a; }
.drv-num { display: inline-block; min-width: 30px; padding: 1px 5px; margin-right: 6px; background: var(--cc, #64748b); color: var(--cn, #0a0c10) !important; font-weight: 800; text-align: center;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.endu-cls { display: none; }
.endu-table td.c-code { font-weight: 800; text-transform: uppercase; }
.endu-table td.c-drv { color: #8b94a5; }
.scoreboard-table tr.is-me { background: linear-gradient(90deg, rgba(148,163,184,.30), rgba(148,163,184,.08)) !important; box-shadow: inset 3px 0 0 #94a3b8; }
tr.endu-class td { padding: 4px 10px; background: rgba(255,255,255,.07); font-size: 12px; letter-spacing: .08em; font-weight: 800; }
.endu-view { color: #f1f3f6; font-size: 12px; font-weight: 700; letter-spacing: .08em; }

/* tag status */
.flag-tag, .pen-tag, .stop-tag, .pit-tag { border-radius: 0; font-weight: 800; letter-spacing: .03em; }
.flag-tag.off { background: #2b3442; color: #cdd6e2; }

/* panel lap pemain (kanan atas) */
.lap-panel, .endu-panel { background: var(--lmu-ink); border-radius: 0; border-top: 3px solid var(--lmu-red); padding: 4px 12px; }
.lap-row { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.lap-label { font-size: 13px; font-weight: 600; color: #8b94a5; }
.lap-val { font-size: 20px; font-weight: 700; }

/* banner, toast, pesan race control */
.flag-banner, .flag-banner-sb, .local-flag, .finish-toast, .rcm-item, .results-panel, .session-title, .audio-hint { border-radius: 0 !important; }
.flag-banner { clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); border: 0; padding: 10px 44px; }
.rcm-item { background: var(--lmu-ink); font-weight: 700; }
.sec { border-radius: 0; }
