/* File: public/assets/css/trackdata.css | Generated: 2026-06-05 16:27 UTC+03:30 */
/* trackdata.css — part of Live GP styles (split from styles.css) */

  /* ────────────────────────────────────────────────────────────────────
     TRACK DATA — 3-panel layout (Race Control · Track Map · Telemetry)
     ──────────────────────────────────────────────────────────────────── */
  .track-data-grid {
    display: grid;
    grid-template-columns:
      minmax(180px, var(--td-col-left))
      minmax(240px, var(--td-col-mid))
      minmax(180px, var(--td-col-right));
    grid-template-rows: 1fr;
    gap: 12px;
    padding: 12px;
    height: calc(100vh - 56px - 56px - var(--rt-playback-reserved-height));
    background: var(--bg);
    box-sizing: border-box;
    overflow: hidden;
  }
  .col-left-stack,
  .col-mid-stack,
  .col-right-stack {
    display: grid;
    gap: 12px;
    min-height: 0;
  }
  .col-left-stack {
    grid-template-rows: minmax(160px, var(--td-row-left-top)) minmax(160px, var(--td-row-left-bottom));
  }
  .col-mid-stack {
    grid-template-rows: minmax(160px, var(--td-row-mid-top)) minmax(160px, var(--td-row-mid-bottom));
  }
  .col-right-stack {
    grid-template-rows: minmax(160px, var(--td-row-right-top)) minmax(160px, var(--td-row-right-bottom));
  }
  .col-left-stack > .td-panel,
  .col-mid-stack > .td-panel,
  .col-right-stack > .td-panel { min-height: 0; }

  /* ── Tablet: 2 columns (drop the right column into the flow) ── */
  @media (max-width: 1024px) {
    .track-data-grid {
      grid-template-columns: 1fr 1fr;
      grid-auto-rows: minmax(220px, 1fr);
      height: auto;
      overflow-y: auto;
    }
    .col-left-stack, .col-mid-stack, .col-right-stack {
      display: contents;             /* let all 6 panels flow into the 2-col grid */
    }
    .col-left-stack > .td-panel,
    .col-mid-stack > .td-panel,
    .col-right-stack > .td-panel { min-height: 220px; }
  }

  /* ── Mobile: single column, all 6 panels stacked ── */
  @media (max-width: 720px) {
    .track-data-grid {
      grid-template-columns: 1fr;
      grid-auto-rows: minmax(260px, auto);
      gap: 10px;
      padding: 10px;
    }
    .col-left-stack > .td-panel,
    .col-mid-stack > .td-panel,
    .col-right-stack > .td-panel { min-height: 260px; }
  }

  /* Empty slot placeholder */
  .empty-slot { background: var(--bg-2); }
  .empty-slot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ink-4);
    font-size: var(--rt-data-track-body-font-size);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .empty-slot-body svg { width: 36px; height: 36px; }
  .radio-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
  }
  .radio-list::-webkit-scrollbar { width: 6px; }
  .radio-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

  .radio-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: var(--rt-data-track-row-padding-y) var(--rt-data-track-row-padding-x) var(--rt-data-track-row-padding-y) 0;
    border-bottom: 1px solid rgba(28, 32, 39, 0.5);
  }
  .radio-item:last-child { border-bottom: none; }
  .radio-item.is-active {
    background: color-mix(in srgb, var(--team) 7%, transparent);
  }
  .radio-item.is-error {
    background: color-mix(in srgb, #ff3344 7%, transparent);
  }
  .radio-rail {
    width: 3px;
    flex: 0 0 3px;
    background: var(--team);
    border-radius: 0 2px 2px 0;
  }
  .radio-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

  .radio-row1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
  }
  .radio-driver-col { display: flex; flex-direction: column; min-width: 0; }
  .radio-team {
    font-size: var(--rt-data-track-chip-font-size);
    font-weight: 600;
    color: var(--ink-3);
    letter-spacing: 0.02em;
    line-height: 1.3;
  }
  .radio-driver {
    font-size: var(--rt-data-track-primary-font-size);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0;
    line-height: 1.25;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .radio-meta-col {
    display: flex; flex-direction: column;
    align-items: flex-end;
    flex: 0 0 auto;
  }
  .radio-date {
    font-size: var(--rt-data-track-secondary-font-size);
    color: var(--ink-2);
    font-weight: 500;
    white-space: nowrap;
  }
  .radio-ago {
    font-size: var(--rt-data-track-chip-font-size);
    color: var(--ink-3);
    margin-top: 1px;
    white-space: nowrap;
  }

  .radio-row2 {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .radio-play {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex: 0 0 28px;
    padding: 0;
    transition: all .15s ease;
  }
  .radio-play:hover {
    background: var(--team);
    border-color: var(--team);
    color: #fff;
  }
  .radio-play.is-playing {
    background: var(--team);
    border-color: var(--team);
    color: #fff;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--team) 22%, transparent);
  }
  .radio-play.is-error {
    border-color: #ff3344;
    color: #ff3344;
  }
  .radio-play svg { width: 11px; height: 11px; margin-left: 1px; }
  .radio-progress {
    flex: 1;
    height: 3px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
    min-width: 0;
    cursor: pointer;
  }
  .radio-progress-fill {
    height: 100%;
    width: 0;
    background: var(--team);
  }
  .radio-time {
    font-size: var(--rt-data-track-secondary-font-size);
    color: var(--ink-3);
    font-weight: 500;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
  }
  .left-slot-body {
    flex: 1;
    background:
      repeating-linear-gradient(45deg,
        transparent 0 10px,
        rgba(255,255,255,0.012) 10px 11px);
  }

  /* ── Driver Wheel ── */
  .wheel-body {
    flex: 1;
    overflow: hidden;
    padding: 4px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wheel-svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* ── Head-to-Head ── */
  .h2h-body {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    overflow: hidden;
    min-height: 0;
  }
  .h2h-divider {
    background: var(--line);
  }
  .h2h-driver {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 0;
    height: 100%;
  }
  .h2h-banner {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 7px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    border-left: 3px solid var(--team);
    border-radius: 6px;
    flex: 0 0 auto;
  }
  .h2h-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-primary-font-size); font-weight: 800;
    color: var(--team);
    line-height: 1;
  }
  .h2h-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-body-font-size); font-weight: 700;
    color: var(--ink);
    flex: 1;
    line-height: 1;
  }
  .h2h-pick {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    color: var(--ink-2);
    font-size: var(--rt-data-track-chip-font-size); font-weight: 600;
    padding: 2px 4px;
    cursor: pointer;
    outline: none;
  }
  .h2h-dial {
    background:
      radial-gradient(circle at 50% 65%, rgba(255,255,255,0.04) 0%, transparent 60%),
      var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    padding: 4px;
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
  }
  .h2h-dial-svg { width: 100%; height: 100%; display: block; }
  .h2h-bars { display: flex; flex-direction: column; gap: 5px; flex: 0 0 auto; }
  .h2h-bar-row {
    display: grid;
    grid-template-columns: 24px 1fr 22px;
    align-items: center;
    gap: 6px;
  }
  .h2h-bar-row .tel-bar { height: var(--rt-data-track-bar-height); border-radius: 999px; }
  .h2h-bar-lbl {
    font-size: var(--rt-data-track-label-font-size); font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-3);
  }
  .h2h-bar-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-chip-font-size); font-weight: 700;
    color: var(--ink);
    text-align: right;
  }
  /* ── Solo view: one Track Data panel, full screen, picked from a dropdown ── */
  .solo-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    height: calc(100vh - 56px - 56px - var(--rt-playback-reserved-height));
    background: var(--bg);
    box-sizing: border-box;
    overflow: hidden;
  }
  .solo-bar { flex: 0 0 auto; display: flex; }
  .solo-select {
    background: var(--bg-3);
    color: var(--ink);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
  }
  .solo-stage {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-rows: 1fr;
  }
  .solo-stage > .td-panel { min-height: 0; }

  .td-panel {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
  }
  .td-panel-header {
    padding: calc(var(--rt-data-track-row-padding-y) - 1px) var(--rt-data-track-row-padding-x);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 0 0 auto;
  }
  .td-panel-title {
    font-size: var(--rt-data-track-title-font-size);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--ink);
    line-height: 1;
    white-space: nowrap;
  }
  .td-panel-sub {
    display: none;
  }
  .live-pip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(46, 230, 138, 0.1);
    border: 1px solid rgba(46, 230, 138, 0.25);
    font-size: var(--rt-data-track-label-font-size); font-weight: 700; letter-spacing: 0.16em;
    color: var(--green);
  }

  /* ── Race Control ─────────────────────────────────────────────── */
  .td-rc-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 38%),
      var(--bg);
  }
  .td-rc-list::-webkit-scrollbar { width: 6px; }
  .td-rc-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
  .rc-item {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 64px;
    padding: 10px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--rc-color);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.012) 48%, rgba(0,0,0,0.08) 100%),
      var(--bg-2);
    box-shadow: 0 8px 18px rgba(0,0,0,0.14);
    overflow: hidden;
  }
  .rc-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--rc-color);
    opacity: 0.9;
  }
  .rc-kind-unmapped { grid-template-columns: minmax(0, 1fr); }
  .rc-icon-shell {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
      var(--bg-3);
    border: 1px solid var(--line-2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
  }
  .rc-icon {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
  }
  .rc-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .rc-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
  }
  .rc-cat {
    font-size: var(--rt-data-track-label-font-size);
    font-weight: 800;
    letter-spacing: 0.11em;
    color: var(--rc-color);
    line-height: 1.15;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .rc-pill {
    border: 1px solid var(--line-2);
    border-radius: 5px;
    padding: 2px 5px;
    background: var(--bg-3);
    color: var(--ink-3);
    font-size: var(--rt-data-track-label-font-size);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    white-space: nowrap;
  }
  .rc-time {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-secondary-font-size);
    color: var(--ink-3);
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .rc-msg {
    font-size: var(--rt-data-track-body-font-size);
    color: var(--ink);
    line-height: 1.38;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }
  .rc-details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .rc-details span {
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(255,255,255,0.025);
    color: var(--ink-3);
    font-size: var(--rt-data-track-label-font-size);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 3px 5px;
    white-space: nowrap;
  }
  @supports (color: color-mix(in srgb, red 50%, white)) {
    .rc-item {
      border-color: color-mix(in srgb, var(--rc-color) 18%, var(--line));
      box-shadow: 0 8px 18px rgba(0,0,0,0.14), 0 0 18px color-mix(in srgb, var(--rc-color) 12%, transparent);
    }
    .rc-icon-shell {
      border-color: color-mix(in srgb, var(--rc-color) 32%, var(--line-2));
      background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
        color-mix(in srgb, var(--rc-color) 10%, var(--bg-3));
    }
    .rc-pill {
      border-color: color-mix(in srgb, var(--rc-color) 22%, var(--line-2));
    }
  }

  /* ── Track Map ────────────────────────────────────────────────── */
  .td-map-panel { min-width: 0; }
  .td-lap-counter {
    display: flex; flex-direction: column; align-items: flex-end;
    line-height: 1;
  }
  .td-lap-counter .label {
    font-size: var(--rt-data-track-label-font-size);
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 6px;
    font-weight: 700;
  }
  .td-lap-counter .value {
    font-size: var(--rt-data-track-large-font-size);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.02em;
  }
  .td-lap-counter .value .total { color: var(--ink-3); }

  .td-map-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 50%, rgba(20, 24, 32, 1) 0%, var(--bg) 100%);
  }
  .td-map-body > svg {
    width: 100%; height: 100%;
    padding: 14px 14px 40px 14px;
    box-sizing: border-box;
  }
  .track-car { transition: opacity .15s ease; }
  .track-car:hover circle:last-of-type { stroke-width: 3; stroke: #ffffff; }
  .track-car.sel { filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); }

  .td-map-legend {
    position: absolute;
    left: 18px; bottom: 14px;
    display: flex; align-items: center; gap: 18px;
    font-size: var(--rt-data-track-secondary-font-size);
    color: var(--ink-3);
    letter-spacing: 0;
  }
  .td-map-legend .dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
  }
  .td-map-legend .legend-divider {
    width: 1px; height: 14px;
    background: var(--line-2);
  }
  .td-map-legend .legend-hint {
    color: var(--ink-3);
    font-style: normal;
  }

  /* ── Telemetry ────────────────────────────────────────────────── */
  .td-driver-select {
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 7px;
    color: var(--ink);
    padding: 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: var(--rt-data-track-control-font-size);
    font-weight: 600;
    cursor: pointer;
    outline: none;
    max-width: 200px;
  }
  .td-driver-select:hover { border-color: var(--ink-4); }
  .td-driver-select option { background: var(--bg-2); }

  /* Telemetry body fills the panel so the gauges can use spare height */
  .td-tel-body {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  /* Instrument cluster — small dial + vertical pedals on its right */
  .tel-cluster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
  }
  .tel-dial {
    min-width: 0;
    background:
      radial-gradient(circle at 50% 65%, rgba(255,255,255,0.04) 0%, transparent 60%),
      var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 4px;
    display: flex; align-items: center; justify-content: center;
    min-height: 0;
  }
  .tel-dial-svg { width: 100%; height: 100%; display: block; }

  /* Banner — single horizontal line */
  .tel-banner {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    border-left: 3px solid var(--team);
    border-radius: 7px;
    flex: 0 0 auto;
  }
  .tel-banner-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-large-font-size); font-weight: 800;
    color: var(--team);
    line-height: 1;
  }
  .tel-banner-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-medium-font-size); font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.04em;
    line-height: 1;
  }
  .tel-banner-team {
    flex: 1;
    font-size: var(--rt-data-track-control-font-size);
    color: var(--ink-3);
    font-weight: 500;
    line-height: 1;
  }
  .tel-banner-pos {
    display: inline-flex; align-items: baseline; gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-large-font-size); font-weight: 800;
    color: var(--ink);
    line-height: 1;
  }
  .tel-banner-pos .label {
    font-size: var(--rt-data-track-label-font-size);
    color: var(--ink-3);
    letter-spacing: 0.16em;
    font-weight: 700;
  }

  /* Banner as a clickable picker */
  .tel-banner-picker {
    position: relative;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
  }
  .tel-banner-picker:hover {
    background: var(--bg-2);
  }
  .tel-banner-caret {
    width: 12px; height: 12px;
    color: var(--ink-3);
    margin-left: auto;
    flex: 0 0 12px;
  }
  .tel-banner-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    appearance: none;
    border: 0;
    padding: 0;
    font: inherit;
  }
  .tel-banner-select option {
    background: var(--bg-2);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
  }

  .tel-pedals-v {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 10px 8px;
  }
  .tel-pedal-v {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px;
    min-width: 0;
  }
  .tel-pedal-v-label {
    font-size: var(--rt-data-track-label-font-size);
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--ink-3);
  }
  .tel-pedal-tube {
    flex: 1;
    width: 14px;
    background:
      repeating-linear-gradient(180deg,
        rgba(255,255,255,0.025) 0 6px,
        transparent 6px 7px),
      #0a0c10;
    border: 1px solid var(--line-2);
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 60px;
  }
  .tel-pedal-fill {
    width: 100%;
    border-radius: 6px 6px 5px 5px;
    transition: height .12s linear;
    box-shadow: 0 0 8px currentColor;
  }
  .tel-pedal-fill.throttle {
    background: linear-gradient(180deg, #36d399 0%, #1f9d62 100%);
    color: rgba(46,230,138,0.4);
  }
  .tel-pedal-fill.brake {
    background: linear-gradient(180deg, #ff3344 0%, #b2202d 100%);
    color: rgba(255,51,68,0.4);
  }
  .tel-pedal-v-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-primary-font-size);
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
  }
  .tel-pedal-v-value .pct {
    color: var(--ink-3);
    font-size: var(--rt-data-track-chip-font-size);
    font-weight: 600;
    margin-left: 1px;
  }

  /* RPM + DRS strip below the cluster */
  .tel-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    flex: 0 0 auto;
  }
  .tel-strip-rpm { display: flex; flex-direction: column; gap: 4px; }
  .tel-drs-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 10px 6px 8px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    transition: all .15s ease;
  }
  .tel-drs-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ink-4);
    transition: all .15s ease;
  }
  .tel-drs-text {
    font-size: var(--rt-data-track-chip-font-size);
    font-weight: 800;
    color: var(--ink-2);
  }
  .tel-drs-state {
    font-size: var(--rt-data-track-chip-font-size);
    font-weight: 700;
    color: var(--ink-3);
  }
  .tel-drs-pill.on {
    background: rgba(46, 230, 138, 0.1);
    border-color: rgba(46, 230, 138, 0.4);
  }
  .tel-drs-pill.on .tel-drs-dot {
    background: var(--green);
    box-shadow: 0 0 8px rgba(46, 230, 138, 0.6);
  }
  .tel-drs-pill.on .tel-drs-text,
  .tel-drs-pill.on .tel-drs-state { color: var(--green); }

  /* Generic compact row */
  .tel-row { display: flex; flex-direction: column; gap: 4px; flex: 0 0 auto; }
  .tel-row-label {
    display: flex; justify-content: space-between;
    font-size: var(--rt-data-track-label-font-size);
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--ink-3);
  }
  .tel-row-label .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--rt-data-track-control-font-size);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0;
  }
  .tel-bar {
    height: var(--rt-data-track-bar-height);
    background: var(--bg-3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
  }
  .tel-fill {
    height: 100%;
    border-radius: 4px;
  }
  .tel-fill.throttle { background: linear-gradient(90deg, #1f9d62 0%, #36d399 100%); }
  .tel-fill.brake    { background: linear-gradient(90deg, #b2202d 0%, #ff3344 100%); }
  .rpm-redline {
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 2px;
    background: var(--brand);
    border-radius: 1px;
  }

  /* Throttle + Brake side-by-side */
  .tel-pedals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 0 0 auto;
  }
  .tel-pedal { display: flex; flex-direction: column; gap: 4px; }

  .tel-spark-row .tel-spark {
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    min-height: 28px;
    max-height: 50px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 5px;
  }
  .stub h2 {
    font-size: var(--rt-data-track-primary-font-size); letter-spacing: 0.2em; font-weight: 700;
    color: var(--ink-2); margin: 0;
  }
  .stub p { font-size: var(--rt-data-track-primary-font-size); margin: 0; max-width: 380px; text-align: center; }
  .stub-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: var(--bg-2); border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--brand);
  }
/* File: public/assets/css/trackdata.css | Generated: 2026-06-05 16:27 UTC+03:30 */
