.empty-message {
  padding: 32px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.athlete-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  margin-top: 3px;
  min-height: 0;
}

.athlete-club-mobile {
  display: inline-block;
  color: #8fb3ce;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.latest-split {
  color: #9fc2dc;
  font-size: 0.68rem;
  font-weight: 700;
}

.latest-split::before {
  content: "·";
  margin-right: 8px;
  color: #557a95;
}
.split-faster {
  margin-left: 5px;
  color: var(--green);
  font-weight: 900;
}

.split-slower {
  margin-left: 5px;
  color: var(--red);
  font-weight: 900;
}

.split-neutral {
  margin-left: 5px;
  color: var(--muted);
  font-weight: 900;
}
    :root {
      --bg: #fff;
      --panel: #0b2038;
      --panel2: #102b49;
      --line: #244665;
      --text: #f5f9ff;
      --muted: #a9bfd4;
      --blue: #55c2ff;
      --cyan: #8fe6ff;
      --green: #62e0ac;
      --yellow: #ffd66e;
      --red: #ff858d;
      font-family: Arial, Helvetica, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      background-color: rgba(30,104,157,.34);
      margin: 0;
      padding: 2px;
      min-height: 100vh;
      color: var(--text);
     /* background:
        radial-gradient(
          ellipse at 50% -20%,
          rgba(30,104,157,.34),
          transparent 55%
        ),
        linear-gradient(
          180deg,
          #07192d 0%,
          var(--bg) 58%,
          #04101e 100%
        );*/
    }

    .board {
      width: min(1600px, 100%);
      margin: auto;
    }

    /* =====================================
       HEADER / VERENIGING
       ===================================== */

    .masthead {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      padding: 4px 2px 2px;
      border-bottom: 2px solid var(--line);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
    }

    .logo {
      display: grid;
      place-items: center;
      width: 58px;
      height: 58px;
      border: 2px solid white;
      border-radius: 50%;
      background: linear-gradient(145deg, #0879be, #064577);
      font-size: 18px;
      font-weight: 900;
      font-style: italic;
    }

    .brand-name {
      font-size: 19px;
      font-weight: 900;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .brand-meet {
      color: var(--muted);
      font-size: 13px;
    }

    /* =====================================
       VERBINDINGSSTATUS
       ===================================== */

    .connection {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 9px 9px;
      border: 1px solid var(--line);
      background: rgba(9,29,50,.7);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .12em;
    }

    .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--yellow);
    }

    .connection.live .dot {
      background: var(--green);
    }

    .connection.error .dot {
      background: var(--red);
    }

    /* =====================================
       WEDSTRIJDKOP
       ===================================== */

    .event-heading {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 24px;
      padding: 8px 4px;
    }

    .eyebrow {
      color: var(--blue);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .2em;
      text-transform: uppercase;
    }

    h3 {
      margin: auto;
      font-size: clamp(30px, 4vw, 53px);
      font-weight: 400;
      text-transform: uppercase;
    }

    .event-details {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .heat-panel {
      min-width: 140px;
      text-align: right;
    }

    .heat-caption {
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .2em;
      text-transform: uppercase;
    }

    .heat-value {
      margin-top: auto;
      font-size: 36px;
      font-weight: 400;
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }

    .heat-status {
      display: inline-block;
      padding: 6px 12px;
      border: 1px solid rgba(85,194,255,.35);
      background: rgba(85,194,255,.1);
      color: var(--cyan);
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
    }

    /* =====================================
       SCOREBORD
       ===================================== */

    .table-frame {
      overflow: hidden;
      border: 1px solid #2b5274;
      background: rgba(7,25,45,.88);
      box-shadow: 0 18px 48px rgba(0,0,0,.28);
    }

    .table-titlebar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 2px 18px;
      background: linear-gradient(90deg,#123b60,#0d2a48);
      border-bottom: 1px solid #2c5578;
    }

    .table-title {
      color: #dff4ff;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .19em;
      text-transform: uppercase;
    }

    .updated {
      color: #a9c7df;
      font-size: 10px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }

    col.lane-col { width: 9%; }
    col.name-col { width: 37%; }
    col.club-col { width: 19%; }
    col.split-col { width: 15%; }
    col.time-col { width: 20%; }

    thead {
      background: #0c2947;
    }

    th {
      height: 12px;
      padding: 10px 16px;
      color: #90b4d1;
      text-align: left;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .17em;
      text-transform: uppercase;
      border-bottom: 1px solid #2c5272;
    }

    th:first-child,
    td:first-child {
      text-align: center;
    }

    th:last-child,
    td:last-child {
      text-align: right;
    }

    tbody tr {
      height: 36px;
      background: rgba(13,38,63,.92);
    }
/*
    tbody tr:nth-child(even) {
      background: rgba(16,48,77,.92);
    }
*/
    tbody tr.running {
      background: linear-gradient(
        90deg,
        rgba(20,76,112,.96),
        rgba(13,43,70,.96)
      );
    }

    tbody tr.unofficial {
      background: linear-gradient(
        90deg,
        rgba(91,68,24,.8),
        rgba(13,43,70,.96)
      );
    }
/*   tbody tr.finished {
      background: linear-gradient(
        90deg,
        rgba(13,62,66,.84),
        rgba(13,43,63,.94)
      );
    }
*/
    tbody tr.empty {
      opacity: .45;
    }

    td {
      padding: 1px 1px;
      vertical-align: middle;
    }

    /* BAAN */

    .lane-number {
      display: inline-grid;
      place-items: center;
      width: 43px;
      height: 43px;
      border: 1px solid #47708f;
      background: #143b5c;
      font-size: 22px;
      font-weight: 900;
    }

    tr.running .lane-number {
      border-color: var(--blue);
      background: #0e5b87;
    }

    /* ZWEMMER */

    .athlete {
      overflow: hidden;
      color: #f6fbff;
      font-size: clamp(15px,1.55vw,22px);
      font-weight: 900;
      white-space: nowrap;
      text-overflow: ellipsis;
      text-transform: uppercase;
    }


    /* VERENIGING */

    .club {
      color: #d1e3f1;
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
    }

    /* TUSSENTIJD */

    .split {
      color: #c1d7e9;
      font-size: 19px;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }

    .split-label {
      display: block;
      color: #789bb7;
      font-size: 9px;
      text-transform: uppercase;
    }

    /* EINDTIJD / LIVE TIJD */

    .time-cell {
      white-space: nowrap;
    }

    .time {
      color: #fff;
      font-size: clamp(24px,2.8vw,38px);
      font-weight: 600;
      font-variant-numeric: tabular-nums;
    }

    .time.running {
      color: var(--cyan);
    }

    .time.finished {
      color: var(--green);
    }

    .time.unofficial {
      color: var(--yellow);
    }

    .time.pending {
      color: #9bb3c8;
    }

    .status-text {
      display: block;
      color: #91aec5;
      font-size: 9px;
      font-weight: 900;
      text-transform: uppercase;
    }

    tr.finished .status-text {
      color: var(--green);
    }

    tr.unofficial .status-text {
      color: var(--yellow);
    }

    tr.running .status-text {
      color: var(--cyan);
    }

    /* =====================================
       FOOTER
       ===================================== */

    .bottomline {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 3px 0;
      color: #7795ae;
      font-size: 9px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .demo-note {
      color: var(--yellow);
    }

    .podium {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
  color: #061426;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.podium-1 {
  background: #ffd66e;
  box-shadow: 0 0 18px rgba(255, 214, 110, .25);
}

.podium-2 {
  background: #dce8f1;
}

.podium-3 {
  background: #cb8a53;
}
    /* =====================================
       MOBIELE WEERGAVE
       ===================================== */

    @media(max-width:760px) {
      body { padding: 2px; }

      .logo {
        width: 43px;
        height: 43px;
        font-size: 14px;
      }

      .brand-name { font-size: 24px; }
      .brand-meet { font-size: 20px; }

      .event-heading {
        gap: 8px;
        padding: 4px 2px;
      }

      .heat-panel { min-width: 70px; }
      .heat-value { font-size: 42px; }

      h1 { font-size: 27px; }

      th {
        padding: 8px 6px;
        font-size: 8px;
      }

      td { padding: 1px 1px; }

      col.lane-col { width: 11%; }
      col.name-col { width: 42%; }
      col.club-col { width: 0; }
      col.split-col { width: 17%; }
      col.time-col { width: 30%; }

      .club-col,
      .club-cell {
        display: none;
      }

      @media (max-width: 760px) {
  .club-cell,
  th.club-col,
  col.club-col {
    display: none;
  }

  .athlete-club-mobile {
    display: inline;
  }
}

      .lane-number {
        width: 30px;
        height: 32px;
        font-size: 17px;
      }

      .athlete { font-size: 12px; }
      .athlete-meta { font-size: 8px; }
      .split { font-size: 12px; }
      .time { font-size: 20px; }
    }
.heat-status.official {
  border-color: rgba(98, 224, 172, .45);
  background: rgba(98, 224, 172, .10);
  color: var(--green);
}

.heat-status.unofficial {
  border-color: rgba(255, 214, 110, .50);
  background: rgba(255, 214, 110, .12);
  color: var(--yellow);
}

body.showing-unofficial .table-titlebar {
  background: linear-gradient(
    90deg,
    rgba(105, 76, 21, .95),
    #0d2a48
  );
}

body.showing-unofficial .demo-note {
  color: var(--yellow);
}
tr.withdrawn {
  background: linear-gradient(
    90deg,
    rgba(77, 69, 91, .85),
    rgba(13, 43, 63, .94)
  );
}

.time.withdrawn {
  color: var(--muted);
}

tr.withdrawn .status-text {
  color: var(--muted);
}
.split-faster {
  color: #58e6a9;
}

.split-slower {
  color: #ff9a8f;
}

.split-neutral {
  color: #a9bfd1;
}
.time.entry-faster {
  color: #58e6a9;
}

.time.entry-slower {
  color: #ff9a8f;
}

.time.entry-neutral {
  color: inherit;
}
