/* MVM Live Track styles */
.mvm-lt { max-width: 880px; margin: 2rem auto; font-family: 'Inter', system-ui, sans-serif; color: #1B2A4E; }
.mvm-lt h2 { margin-top: 0; }
.mvm-lt__small { color: #6B6B6B; font-size: .9rem; }
.mvm-lt__back { background: none; border: 0; color: #1B2A4E; font-size: .95rem; cursor: pointer; padding: 0 0 1rem; }
.mvm-lt__back:hover { text-decoration: underline; }

/* Choose screen */
.mvm-lt__choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
@media (max-width: 600px) { .mvm-lt__choose-grid { grid-template-columns: 1fr; } }
.mvm-lt__choose-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
  text-align: left; padding: 1.5rem; background: #fff;
  border: 2px solid #EFEBDF; border-radius: 14px; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.mvm-lt__choose-btn:hover { border-color: #D4A341; transform: translateY(-2px); }
.mvm-lt__choose-emoji { font-size: 2.2rem; }
.mvm-lt__choose-title { font-size: 1.2rem; font-weight: 700; }
.mvm-lt__choose-sub { color: #6B6B6B; font-size: .92rem; }

/* Runner form */
.mvm-lt__form { display: grid; gap: 1rem; max-width: 420px; }
.mvm-lt__form label { display: flex; flex-direction: column; font-weight: 600; gap: .3rem; }
.mvm-lt__form input {
  padding: .65rem .8rem; border: 1px solid #C7C7C7; border-radius: 8px;
  font-size: 1rem; font-family: inherit;
}
.mvm-lt__opt { font-weight: 400; color: #6B6B6B; font-size: .85em; }
.mvm-lt__btn {
  padding: .8rem 1.4rem; border: 0; border-radius: 8px; cursor: pointer;
  font-size: 1rem; font-weight: 700; font-family: inherit;
}
.mvm-lt__btn--primary { background: #1B2A4E; color: #fff; }
.mvm-lt__btn--primary:hover { background: #2A3D6B; }
.mvm-lt__btn--stop { background: #B83D3D; color: #fff; }
.mvm-lt__btn--stop:hover { background: #962F2F; }
.mvm-lt__err {
  background: #FCE9E9; color: #8A1F1F; border: 1px solid #F2C2C2;
  padding: .75rem 1rem; border-radius: 8px; margin: 0;
}

/* Runner live status */
.mvm-lt__live { background: #F6F4EE; padding: 1.5rem; border-radius: 12px; margin-top: 1rem; }
.mvm-lt__status { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.mvm-lt__pill {
  display: inline-block; background: #fff; color: #1B2A4E;
  padding: .25rem .65rem; border-radius: 999px; font-size: .85rem;
  border: 1px solid #D4A341;
}
.mvm-lt__pill--mini { font-size: .75rem; padding: .15rem .5rem; border-color: #C7C7C7; }
.mvm-lt__meters {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 0 0 1rem; padding: 0;
}
.mvm-lt__meters > div { background: #fff; padding: .75rem; border-radius: 8px; text-align: center; }
.mvm-lt__meters dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #6B6B6B; }
.mvm-lt__meters dd { margin: .25rem 0 0; font-weight: 700; font-size: 1.05rem; }

/* Spectator */
.mvm-lt__race-select { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-weight: 600; }
.mvm-lt__race-select select { padding: .4rem .6rem; border-radius: 6px; border: 1px solid #C7C7C7; font-family: inherit; }
.mvm-lt__map {
  width: 100%; height: 460px; border-radius: 12px; overflow: hidden;
  border: 1px solid #C7C7C7; background: #EFEBDF;
}
.mvm-lt__roster { margin-top: 1.5rem; }
.mvm-lt__roster h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.mvm-lt__roster-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.mvm-lt__roster-list li {
  background: #fff; padding: .55rem .8rem; border-radius: 8px;
  border: 1px solid #EFEBDF; cursor: pointer;
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.mvm-lt__roster-list li:hover { border-color: #D4A341; }
.mvm-lt__age { color: #6B6B6B; font-size: .85rem; margin-left: auto; }

/* Runner marker */
.mvm-lt__runner-marker { background: transparent; border: 0; }
.mvm-lt__dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: #D4A341; color: #1B2A4E;
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .75rem; font-family: 'Inter', sans-serif;
  animation: mvm-lt-pulse 2s ease-in-out infinite;
}
@keyframes mvm-lt-pulse {
  0%, 100% { box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 0 0 rgba(212,163,65,.6); }
  50%      { box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 0 10px rgba(212,163,65,0); }
}

/* Watch URL accordion + steps + warning */
.mvm-lt__steps { background:#F6F4EE; border-left:4px solid #D4A341; padding:.75rem 1rem .75rem 1.5rem; border-radius:6px; margin:0 0 1rem; }
.mvm-lt__steps li { margin:.25rem 0; }
.mvm-lt__warn { background:#FFF4D6; color:#7A5A00; border:1px solid #E0B441; padding:.6rem .9rem; border-radius:8px; margin-bottom:.75rem; font-size:.92rem; }
.mvm-lt__watch { border:1px solid #EFEBDF; border-radius:10px; padding:.5rem .9rem; background:#FBFAF6; }
.mvm-lt__watch summary { cursor:pointer; font-weight:600; padding:.35rem 0; }
.mvm-lt__watch[open] summary { border-bottom:1px solid #EFEBDF; margin-bottom:.6rem; }
.mvm-lt__watch-list { margin:.25rem 0 .75rem 1.2rem; padding:0; font-size:.88rem; color:#444; }
.mvm-lt__watch-list li { margin:.2rem 0; }
.mvm-lt__watch label { display:flex; flex-direction:column; font-weight:600; gap:.3rem; margin-top:.5rem; }
.mvm-lt__watch input[type=url] { padding:.55rem .7rem; border:1px solid #C7C7C7; border-radius:8px; font-size:.95rem; font-family:inherit; }

/* --- 1.9.28: runner mode chooser (step 2 after PIN auth) --- */
.mvm-lt__welcome { font-size: 1.05rem; margin: 1rem 0 .5rem; }
.mvm-lt__welcome .mvm-lt__pill { margin-left: .35rem; }
.mvm-lt__mode-card {
    position: relative;
    background: #fff;
    border: 2px solid #EFEBDF;
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin: 1rem 0;
}
.mvm-lt__mode-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.mvm-lt__mode-card p { margin: .25rem 0 .75rem; color: #333; font-size: .95rem; line-height: 1.45; }
.mvm-lt__mode-card .mvm-lt__btn { margin-top: .5rem; }
.mvm-lt__mode-card .mvm-lt__watch { background: #FBFAF6; margin: .5rem 0 .75rem; }
.mvm-lt__mode-card label { display: flex; flex-direction: column; font-weight: 600; gap: .3rem; margin: .5rem 0 .25rem; }
.mvm-lt__mode-card input[type=url] { padding: .55rem .7rem; border: 1px solid #C7C7C7; border-radius: 8px; font-size: .95rem; font-family: inherit; }
.mvm-lt__mode-card--recommended { border-color: #D4A341; background: linear-gradient(180deg, #FFFBF0 0%, #fff 60%); }
.mvm-lt__mode-badge {
    position: absolute; top: -10px; left: 16px;
    background: #D4A341; color: #1B2A4E;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase;
    padding: .15rem .55rem; border-radius: 999px;
}

/* --- 1.9.30: runner-side leaderboard (under the mini-map) --- */
.mvm-lt__runnerboard { margin-top: 1rem; }
.mvm-lt__runnerboard-head { margin: 0 0 .5rem; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.mvm-lt__runnerboard .mvm-lt__board-wrap { overflow-x: auto; }
.mvm-lt__runnerboard .mvm-lt__board-table { font-size: .85rem; }
.mvm-lt__runnerboard .mvm-lt__board-table th,
.mvm-lt__runnerboard .mvm-lt__board-table td { padding: 4px 6px; white-space: nowrap; }
.mvm-lt__board-row--me { background: #FFF6D9 !important; }
.mvm-lt__board-row--me td { border-top: 1px solid #D4A341 !important; border-bottom: 1px solid #D4A341 !important; }

/* --- Mile/km markers along the course (spectator map) --- */
.mvm-lt__mile { pointer-events: auto; }
.mvm-lt__mile-dot {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #1B2A4E;
    border: 2px solid #1B2A4E;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
    line-height: 1;
}
.mvm-lt__mile-dot b { font-weight: 700; }
.mvm-lt__mile--passed .mvm-lt__mile-dot {
    background: #D4A341;
    color: #1B2A4E;
    border-color: #8a6a25;
}


/* Map wrap + fullscreen control */
.mvm-lt__map-wrap { position: relative; }
.mvm-lt__map-wrap:fullscreen { background:#000; padding:0; }
.mvm-lt__map-wrap:fullscreen .mvm-lt__map { height:100vh; border-radius:0; border:0; }
.mvm-lt__fs-ctrl a { font-size:18px; line-height:26px; text-align:center; color:#1B2A4E; }
.mvm-lt__fs-ctrl a:hover { background:#F6F4EE; }


/* === Filter bar === */
.mvm-lt__filterbar {
  display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end;
  margin: 0 0 1rem; padding: .75rem 1rem;
  background: #F6F4EE; border-radius: 10px; border: 1px solid #E5E1D4;
}
.mvm-lt__field { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; color: #1B2A4E; gap: .25rem; }
.mvm-lt__field--grow { flex: 1 1 220px; }
.mvm-lt__field--check { flex-direction: row; align-items: center; gap: .4rem; padding-bottom: .35rem; }
.mvm-lt__field select, .mvm-lt__field input[type="search"] {
  padding: .45rem .6rem; border-radius: 6px; border: 1px solid #C7C7C7;
  font-family: inherit; font-size: .95rem; background: #fff;
}
.mvm-lt__btn--ghost {
  background: transparent; border: 1px solid #C7C7C7; color: #1B2A4E;
  padding: .45rem .8rem; border-radius: 6px; cursor: pointer; font-weight: 600;
}
.mvm-lt__btn--ghost:hover { background: #fff; }

/* === Race info banner === */
.mvm-lt__race-info {
  margin: 0 0 .75rem; padding: .6rem .9rem; background: #1B2A4E; color: #fff;
  border-radius: 8px; font-size: .95rem;
}
.mvm-lt__race-info .mvm-lt__live { color: #FFB84D; font-weight: 700; }

/* === Leaderboard === */
.mvm-lt__board { margin-top: 1.5rem; }
.mvm-lt__board h3 { display:flex; align-items:center; gap:.5rem; margin: 0 0 .5rem; font-size: 1.1rem; }
.mvm-lt__board-wrap { overflow-x: auto; border: 1px solid #E5E1D4; border-radius: 10px; }
.mvm-lt__board-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.mvm-lt__board-table th, .mvm-lt__board-table td {
  padding: .55rem .65rem; text-align: left; border-bottom: 1px solid #F0EDE3; vertical-align: middle;
}
.mvm-lt__board-table th { background: #FAF8F2; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #6B6B6B; }
.mvm-lt__board-table tbody tr { cursor: pointer; }
.mvm-lt__board-table tbody tr:hover { background: #FAF8F2; }
.mvm-lt__board-table small { color: #6B6B6B; }
.mvm-lt__bib {
  display: inline-block; min-width: 2.2rem; padding: .15rem .45rem;
  border-radius: 4px; color: #fff; font-weight: 700; text-align: center; font-size: .85rem;
}
.mvm-lt__prog {
  height: 8px; background: #EFEBDF; border-radius: 4px; overflow: hidden; margin-bottom: 2px;
}
.mvm-lt__prog span { display: block; height: 100%; transition: width .4s ease; }
.mvm-lt__follow {
  background: none; border: 0; cursor: pointer; font-size: 1.2rem; color: #C7C7C7; padding: 0 .25rem;
}
.mvm-lt__follow.is-on { color: #D4A341; }

/* 1.9.40: prefer horizontal scrolling over hiding columns so users
   can see the full leaderboard (incl. splits) on any viewport width. */


/* --- 1.9.8: floating leaderboard + update note + recent split --- */
.mvm-lt__update-note { margin: 8px 0 12px; color: #4B5563; font-size: 13px; }
.mvm-lt__muted { color: #9CA3AF; }

/* Floating leaderboard overlay (visible in fullscreen too).
   Designed to be unobtrusive: semi-transparent, small footprint,
   becomes more opaque on hover/focus. */
.mvm-lt__map-wrap { position: relative; }

.mvm-lt__board--floating {
    position: absolute;
    /* Match Leaflet's standard control inset (10px) so the collapse button
       lines up vertically with the fullscreen / zoom controls on the right. */
    top: 10px;
    left: 10px;
    z-index: 500; /* above panes (400), below Leaflet controls (1000) */
    /* Reserve ~56px on the right so the expanded panel never slides under
       the fullscreen button (Leaflet topright control sits at right:10px,
       width ~30px). */
    width: min(620px, calc(100% - 56px));
    max-height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px; /* match Leaflet control radius */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); /* match Leaflet control shadow */
    overflow: hidden;
    opacity: 0.85;
    transition: opacity 0.18s ease, background-color 0.18s ease, width 0.18s ease;
}
.mvm-lt__board--floating:hover,
.mvm-lt__board--floating:focus-within {
    opacity: 1;
    background: rgba(255, 255, 255, 0.98);
}

.mvm-lt__board--floating .mvm-lt__board-head {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    /* Match Leaflet bar button outer height (30px = 28 inner + 2x1 border-ish)
       so the toggle and the fullscreen button are the same height. */
    height: 30px;
    padding: 0 0 0 10px;
    background: rgba(27, 42, 78, 0.92);
    color: #fff;
    cursor: default;
}
.mvm-lt__board--floating .mvm-lt__board-head h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mvm-lt__board-toggle {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 0;
    border-radius: 0;
    height: 30px;
    min-width: 30px;
    padding: 0 8px;
    margin: 0;
    font-size: 13px;
    line-height: 30px;
    cursor: pointer;
    font-weight: bold;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.mvm-lt__board-toggle:hover { background: rgba(255, 255, 255, 0.32); }
#mvm-lt-board-toggle { font-size: 18px; padding: 0; width: 30px; justify-content: center; }
.mvm-lt__board-head-actions { display: flex; align-items: stretch; gap: 8px; }
#mvm-lt-filter-toggle.is-active { background: #D4A341; color: #1B2A4E; }

/* Collapsed +: clean square matching the header navy. */
.mvm-lt__board--floating.is-collapsed #mvm-lt-board-toggle {
    background: rgba(27, 42, 78, 0.92);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
}
.mvm-lt__board--floating.is-collapsed #mvm-lt-board-toggle:hover {
    background: #1B2A4E;
}

/* Inline filterbar inside the floating leaderboard. */
.mvm-lt__filterbar--inline[hidden] { display: none; }
.mvm-lt__filterbar--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 8px 6px;
    margin: -6px -8px 6px;
    background: #F5F1E7;
    border-bottom: 1px solid #e0d8c4;
    align-items: end;
}
.mvm-lt__filterbar--inline .mvm-lt__field { font-size: 11px; gap: 2px; }
.mvm-lt__filterbar--inline .mvm-lt__field--grow { flex: 1 1 140px; min-width: 120px; }
.mvm-lt__filterbar--inline input[type="search"],
.mvm-lt__filterbar--inline select { font-size: 12px; padding: 3px 6px; height: 26px; }
.mvm-lt__filterbar--inline .mvm-lt__field--check { font-size: 11px; align-self: center; }
.mvm-lt__filterbar--inline .mvm-lt__btn { font-size: 11px; padding: 3px 8px; }

.mvm-lt__board--floating .mvm-lt__board-body {
    overflow: auto;
    max-height: 50vh;
    background: rgba(255, 255, 255, 0.96);
    padding: 6px 8px 8px;
}

/* Collapsed: just a single + button in the top-left corner. */
.mvm-lt__board--floating.is-collapsed {
    width: 30px;
    min-width: 0;
    opacity: 0.85;
    overflow: visible;
}
.mvm-lt__board--floating.is-collapsed:hover { opacity: 1; }
.mvm-lt__board--floating.is-collapsed .mvm-lt__board-body { display: none; }
.mvm-lt__board--floating.is-collapsed .mvm-lt__board-head { padding: 0; }
.mvm-lt__board--floating.is-collapsed .mvm-lt__board-head h3,
.mvm-lt__board--floating.is-collapsed #mvm-lt-filter-toggle { display: none; }

.mvm-lt__board--floating .mvm-lt__board-table { font-size: 11px; }
.mvm-lt__board--floating .mvm-lt__board-table th,
.mvm-lt__board--floating .mvm-lt__board-table td { padding: 3px 4px; white-space: nowrap; }
.mvm-lt__board--floating .mvm-lt__board-table th {
    font-size: 9.5px; letter-spacing: .02em;
}
.mvm-lt__board--floating .mvm-lt__board-wrap { overflow-x: auto; }
/* Make the follow-button column compact so the eight data columns fit. */
.mvm-lt__board--floating .mvm-lt__btn--follow {
    padding: 2px 6px; font-size: 10px; min-width: 0;
}
.mvm-lt__board--floating .mvm-lt__row-actions { display: none; } /* in-row follow btn redundant w/ first col */

@media (max-width: 720px) {
    .mvm-lt__board--floating { width: calc(100% - 56px); }
    .mvm-lt__board--floating .mvm-lt__board-table { font-size: 10.5px; }
    .mvm-lt__board--floating .mvm-lt__board-table th,
    .mvm-lt__board--floating .mvm-lt__board-table td { padding: 2px 3px; }
    /* 1.9.40: keep all columns visible; user can swipe the table sideways. */
}

/* --- 1.9.9: follow runner trails + popup + labeled follow button --- */
.mvm-lt__popup { font-size: 13px; min-width: 180px; }
.mvm-lt__popup-head {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 4px;
}
.mvm-lt__popup-meta { color: #4B5563; font-size: 12px; margin: 2px 0; }
.mvm-lt__btn--follow {
    display: inline-block; margin-top: 8px;
    padding: 6px 10px;
    font-size: 12px; font-weight: 600;
    background: #1B2A4E; color: #fff; border: 0; border-radius: 6px;
    cursor: pointer; width: 100%; text-align: center;
}
.mvm-lt__btn--follow:hover { background: #2A3A60; }
.mvm-lt__btn--follow.is-on { background: #D4A341; color: #1B2A4E; }
.mvm-lt__btn--follow.is-on:hover { background: #B8892D; }

.mvm-lt__row-actions {
    margin-top: 3px;
}
.mvm-lt__row-actions .mvm-lt__btn--follow {
    width: auto;
    padding: 2px 8px;
    font-size: 11px;
    margin-top: 2px;
}


/* ---------- Live status header (connecting/live/error/paused) ---------- */
.mvm-lt__livehead {
    display: flex; align-items: center; gap: .85rem;
    padding: .9rem 1rem; margin: 0 0 .9rem;
    border-radius: 10px;
    background: #EEF1F8; color: #1B2A4E;
    border: 1px solid #D7DEEC;
    transition: background .25s, border-color .25s, color .25s;
}
.mvm-lt__livehead-icon { position: relative; width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mvm-lt__livehead-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.mvm-lt__livehead-text strong { font-size: 1rem; }
.mvm-lt__livehead-sub { font-size: .82rem; opacity: .8; }
.mvm-lt__live-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: -.2rem 0 .9rem; }

/* Spinner */
.mvm-lt__spinner {
    display: inline-block; width: 28px; height: 28px;
    border: 3px solid rgba(27,42,78,.18);
    border-top-color: #1B2A4E;
    border-radius: 50%;
    animation: mvm-lt-spin .9s linear infinite;
}
@keyframes mvm-lt-spin { to { transform: rotate(360deg); } }

/* Solid state dot (live / error / paused) */
.mvm-lt__statedot {
    display: none; width: 18px; height: 18px; border-radius: 50%;
    background: #2EA664;
    box-shadow: 0 0 0 0 rgba(46,166,100,.6);
    animation: mvm-lt-pulse 1.8s ease-out infinite;
}

/* --- 1.9.40: per-runner splits modal + leaderboard split cell --- */
.mvm-lt__splitbtn {
    background: transparent; border: 0; padding: 2px 6px; cursor: pointer;
    color: #1B2A4E; font: inherit; font-size: inherit;
    border-radius: 4px; white-space: nowrap;
    text-decoration: underline dotted; text-underline-offset: 2px;
}
.mvm-lt__splitbtn:hover { background: #F5F1E7; }
.mvm-lt__splitbtn--empty { color: #9CA3AF; text-decoration: none; }

.mvm-lt__modal[hidden] { display: none; }
.mvm-lt__modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.mvm-lt__modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
}
.mvm-lt__modal-card {
    position: relative; z-index: 1;
    background: #fff; color: #1B2A4E;
    width: min(640px, 100%); max-height: calc(100vh - 32px);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.mvm-lt__modal-x {
    position: absolute; top: 6px; right: 8px;
    background: transparent; border: 0; cursor: pointer;
    font-size: 26px; line-height: 1; color: #6B6B6B; padding: 4px 8px;
}
.mvm-lt__modal-x:hover { color: #1B2A4E; }
.mvm-lt__modal-title { margin: 14px 44px 4px 16px; font-size: 1.05rem; }
.mvm-lt__modal-meta {
    margin: 0 16px 10px; color: #4B5563; font-size: 13px;
}
.mvm-lt__modal-times {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px; padding: 10px 16px; background: #FAF8F2;
    border-top: 1px solid #E5E1D4; border-bottom: 1px solid #E5E1D4;
}
.mvm-lt__modal-times > div { display: flex; flex-direction: column; }
.mvm-lt__modal-times-lbl {
    font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;
    color: #6B6B6B;
}
.mvm-lt__modal-times strong { font-size: 14px; color: #1B2A4E; }
.mvm-lt__modal-tablewrap { overflow: auto; flex: 1 1 auto; }
.mvm-lt__modal-table {
    width: 100%; border-collapse: collapse; font-size: .9rem;
}
.mvm-lt__modal-table th, .mvm-lt__modal-table td {
    padding: 6px 10px; text-align: left;
    border-bottom: 1px solid #EEE9DC; white-space: nowrap;
}
.mvm-lt__modal-table th {
    background: #FAF8F2; font-size: 11px; text-transform: uppercase;
    letter-spacing: .03em; color: #6B6B6B; position: sticky; top: 0;
}
.mvm-lt__modal-table tbody tr:nth-child(even) { background: #FBF9F3; }
@media (max-width: 480px) {
    .mvm-lt__modal-times { grid-template-columns: 1fr 1fr; }
    .mvm-lt__modal-times > div:last-child { grid-column: 1 / -1; }
}
@keyframes mvm-lt-pulse {
    0%   { box-shadow: 0 0 0 0    rgba(46,166,100,.55); }
    70%  { box-shadow: 0 0 0 14px rgba(46,166,100,0); }
    100% { box-shadow: 0 0 0 0    rgba(46,166,100,0); }
}

/* State variants */
.mvm-lt__livehead[data-state="live"]      { background:#E8F7EE; border-color:#A6E0BB; color:#0E6B36; }
.mvm-lt__livehead[data-state="live"] .mvm-lt__spinner { display:none; }
.mvm-lt__livehead[data-state="live"] .mvm-lt__statedot { display:inline-block; background:#2EA664; }

.mvm-lt__livehead[data-state="paused"]    { background:#FFF7E0; border-color:#F0D88B; color:#7A5A00; }
.mvm-lt__livehead[data-state="paused"] .mvm-lt__spinner { display:none; }
.mvm-lt__livehead[data-state="paused"] .mvm-lt__statedot { display:inline-block; background:#D4A341; animation:none; }

.mvm-lt__livehead[data-state="error"]     { background:#FCE6E6; border-color:#F1B0B0; color:#7A1F1F; }
.mvm-lt__livehead[data-state="error"] .mvm-lt__spinner { display:none; }
.mvm-lt__livehead[data-state="error"] .mvm-lt__statedot { display:inline-block; background:#B83D3D; animation:none; }

.mvm-lt__warn--err { background:#FCE6E6; color:#7A1F1F; border-color:#F1B0B0; }

/* Runner mini-map */
.mvm-lt__runnermap-wrap {
    margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #C9CFDB;
}
.mvm-lt__runnermap-head {
    display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem;
}
.mvm-lt__runnermap {
    height: 320px; width: 100%;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.mvm-lt__dot--me {
    background: #D4A341 !important;
    border: 2px solid #1B2A4E !important;
    box-shadow: 0 0 0 4px rgba(212,163,65,.35);
}