/**
 * @file: championship-public.css
 * @description: Mobile layout для публичной страницы чемпионата
 * @dependencies: public_view.html, components.css, events.css
 * @created: 2026-07-29
 */

@layer components {
  .champ-public-section {
    margin-bottom: 1.25rem;
  }

  .champ-public-participants-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .champ-public-key-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .champ-public-participation {
    align-items: center;
  }

  .champ-public-participation__label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
  }

  .champ-public-my-entry {
    padding: 0.75rem 0.875rem 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 0.5rem);
    border-left: 3px solid var(--secondary);
  }

  .champ-public-my-entry--approved {
    border-left-color: var(--success);
  }

  .champ-public-my-entry--rejected {
    border-left-color: var(--danger);
  }

  .champ-public-my-entry--withdrawn,
  .champ-public-my-entry--disabled {
    border-left-color: var(--text-muted);
  }

  .champ-public-my-entry--pending {
    border-left-color: var(--warning);
  }

  .champ-public-my-entry__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem 1.5rem;
    align-items: start;
  }

  .champ-public-my-entry__kicker {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.15rem;
  }

  .champ-public-my-entry__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
  }

  .champ-public-my-entry__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 99px;
    background: var(--secondary);
    flex-shrink: 0;
  }

  .champ-public-my-entry--approved .champ-public-my-entry__dot {
    background: var(--success);
  }

  .champ-public-my-entry--rejected .champ-public-my-entry__dot {
    background: var(--danger);
  }

  .champ-public-my-entry--pending .champ-public-my-entry__dot {
    background: var(--warning);
  }

  .champ-public-my-entry__status {
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-primary);
  }

  .champ-public-my-entry--approved .champ-public-my-entry__status {
    color: var(--success);
  }

  .champ-public-my-entry__kind {
    min-width: 0;
    line-height: 1.35;
  }

  .champ-public-my-entry__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.2rem;
  }

  .champ-public-my-entry__link {
    font-size: 0.78125rem;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
  }

  .champ-public-my-entry__link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
  }

  .champ-public-my-entry__link--muted {
    color: var(--text-secondary);
  }

  .champ-public-my-entry__link--muted:hover {
    color: var(--text-primary);
  }

  .champ-public-my-entry__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-color);
  }

  .champ-public-my-entry__label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
  }

  .champ-public-my-entry__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
  }

  .champ-public-my-entry__select {
    width: auto;
    max-width: 12rem;
    min-width: 5.5rem;
    display: inline-block;
    font-weight: 600;
  }

  .champ-public-my-entry__hint {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
  }

  .champ-public-my-entry .captain-reg-cta-wrap {
    flex-shrink: 0;
    margin-bottom: 0.15rem;
  }

  .champ-public-my-entry .captain-reg-cta-btn {
    white-space: nowrap;
  }

  /* Иконки на цветных бейджах — контрастный цвет текста, не фона */


  [data-theme="light"] .champ-public-key-facts .badge.bg-primary,
  [data-theme="light"] .champ-public-key-facts .badge.bg-success,
  [data-theme="light"] .champ-public-key-facts .badge.bg-danger {
    color: #ffffff;
  }









  /* На public page — без левой racing-полоски у обёртки чемпионата */
  .championship-public-page .championship-card.event-card-with-strip {
    border-left: none;
  }

  .championship-public-page .championship-card.event-card-with-strip::before {
    display: none;
  }

  .champ-public-calendar {
    display: flex;
    flex-direction: column;
    scroll-margin-bottom: 1rem;
  }

  .champ-public-calendar__now {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.15rem 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary, #0077b6);
  }

  .champ-public-calendar__now::before,
  .champ-public-calendar__now::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--primary, #0077b6);
    opacity: 0.4;
  }

  .champ-public-round {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color, #dee2e6);
    scroll-margin-top: 5rem;
  }

  .champ-public-round:first-child {
    border-top: none;
    padding-top: 0.35rem;
  }

  .champ-public-round--completed {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .champ-public-round--completed .champ-public-round__header {
    margin-bottom: 0.25rem;
  }

  .champ-public-round--completed .champ-public-round__day,
  .champ-public-round--completed .champ-public-round__track {
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round--completed .champ-public-round__track {
    font-weight: 600;
  }

  .champ-public-round__winners {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    margin: 0 0 0.15rem;
  }

  .champ-public-round__winner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    margin: 0 0 0.2rem;
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .champ-public-round__winner-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__winner a.champ-public-round__winner-name {
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
  }

  .champ-public-round__winner a.champ-public-round__winner-name:hover {
    color: var(--primary, #0077b6);
    text-decoration: underline;
  }

  .champ-public-round--next {
    margin: 0 -0.75rem;
    padding: 1rem 0.75rem;
    border-top: none;
    border-radius: var(--radius, 0.5rem);
    background: color-mix(in srgb, var(--primary, #0077b6) 12%, transparent);
  }

  .champ-public-round--next:first-child {
    padding: 1rem 0.75rem;
  }

  .champ-public-round--next .champ-public-round__day,
  .champ-public-round--next .champ-public-round__month {
    color: var(--primary, #0077b6);
  }

  .champ-public-round__date time {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  .champ-public-round__day {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
  }

  .champ-public-round__month {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.12rem;
    margin-bottom: 0.65rem;
  }

  .champ-public-round__kicker {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary, #0077b6);
  }

  .champ-public-round__kicker--done,
  .champ-public-round__kicker--partial {
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 1rem;
  }

  .champ-public-round__track {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    text-decoration: none;
    overflow-wrap: break-word;
  }

  a.champ-public-round__track:hover {
    color: var(--primary, #0077b6);
  }

  .champ-public-round__aside {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.35rem 0.65rem;
  }

  .champ-public-round__stage,
  .champ-public-round__multi {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #6c757d);
    white-space: nowrap;
  }

  .champ-public-round-race--follow {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--border-color, #dee2e6);
  }

  .champ-public-round-race__head {
    margin-bottom: 0.35rem;
  }

  .champ-public-round-race__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary, #6c757d);
    text-decoration: none;
  }

  .champ-public-round-race__link:hover {
    color: var(--primary, #0077b6);
  }

  .champ-public-round__admin {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem 0.75rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color, #dee2e6);
  }

  .champ-public-round__admin-label {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary, #6c757d);
    padding-top: 0.35rem;
  }

  .champ-public-round__server-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
  }

  .champ-public-round__meta-chip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
    max-width: 100%;
    padding: 0.28rem 0.55rem;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: var(--radius-sm, 0.375rem);
    background: var(--bg-primary, #fff);
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--text-primary);
  }

  .champ-public-round__meta-chip .bi {
    color: var(--text-secondary, #6c757d);
    font-size: 0.8125rem;
  }

  .champ-public-round__meta-chip-label {
    font-weight: 600;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__meta-chip-value {
    font-weight: 600;
    word-break: break-word;
  }

  .champ-public-round__meta-chip--password code.champ-public-round__meta-chip-value {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
  }

  .champ-public-round__meta-chip--status .bi-circle-fill {
    font-size: 0.5rem;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__meta-chip--status.is-on .bi-circle-fill {
    color: var(--success, #198754);
  }

  .champ-public-round__meta-chip--status.is-on .champ-public-round__meta-chip-value {
    color: var(--success, #198754);
  }

  .champ-public-round__admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 100%;
  }

  .champ-public-round__admin-server {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .champ-public-round__admin-server-label {
    padding-top: 0;
    line-height: 1.9;
  }

  .champ-public-round__admin-server-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 12rem;
    min-width: 0;
  }

  .champ-public-round__admin-form {
    display: inline-flex;
    margin: 0;
    min-width: 0;
    max-width: 100%;
  }

  .champ-public-round__admin-actions .btn,
  .champ-public-round__admin-form .btn {
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
    line-height: 1.3;
    text-align: center;
  }

  .champ-public-admin-btn__label-short {
    display: none;
  }

  .champ-public-round__admin-warning {
    flex: 1 1 100%;
    margin: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--warning, #ffc107) 45%, var(--border-color, #dee2e6));
    border-radius: var(--radius-sm, 0.375rem);
    background: color-mix(in srgb, var(--warning, #ffc107) 12%, var(--bg-secondary, #f8f9fa));
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--text-primary);
  }

  .champ-public-round__admin-warning-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
  }

  .champ-public-round__admin-warning-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__admin-auto-start {
    flex: 1 1 100%;
    margin: 0.35rem 0 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--primary, #0d6efd) 35%, var(--border-color, #dee2e6));
    border-radius: var(--radius-sm, 0.375rem);
    background: color-mix(in srgb, var(--primary, #0d6efd) 8%, var(--bg-secondary, #f8f9fa));
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--text-primary);
  }

  .champ-public-round__admin-auto-start-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
  }

  .champ-public-round__admin-auto-start-list {
    margin: 0 0 0.45rem;
    padding-left: 1.1rem;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__admin-auto-start-late {
    color: var(--warning, #ffc107);
    font-weight: 600;
  }

  .champ-public-round__admin-auto-start-cancel {
    margin-top: 0.15rem;
  }

  .champ-public-round__admin-dropdown .dropdown-menu {
    min-width: 16rem;
  }

  .champ-public-round__admin-dropdown .dropdown-menu form {
    margin: 0;
  }

  .champ-public-round__admin-dropdown .dropdown-item {
    font-size: 0.8125rem;
  }

  @media (max-width: 767.98px) {
    .champ-public-admin-btn__label-full {
      display: none;
    }

    .champ-public-admin-btn__label-short {
      display: inline;
    }

    .champ-public-round__admin {
      flex-direction: column;
      align-items: stretch;
    }

    .champ-public-round__admin-label {
      padding-top: 0;
    }

    .champ-public-round__admin-actions {
      flex-direction: column;
      align-items: stretch;
      flex: 1 1 auto;
    }

    .champ-public-round__admin-server {
      flex-direction: column;
      align-items: stretch;
    }

    .champ-public-round__admin-server-label {
      line-height: 1.35;
      padding-top: 0.15rem;
    }

    .champ-public-round__admin-server-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .champ-public-round__admin-form {
      display: flex;
      width: 100%;
      min-width: 0;
    }

    .champ-public-round__admin-dropdown {
      width: 100%;
    }

    .champ-public-round__admin-dropdown > .btn {
      width: 100%;
    }

    .champ-public-round__admin-actions .btn,
    .champ-public-round__admin-form .btn {
      width: 100%;
      max-width: 100%;
    }
  }

  .champ-public-round__sim {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.45rem;
    margin: 0 0 0.45rem;
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .champ-public-round__sim .bi {
    font-size: 0.875rem;
    color: var(--primary, #0077b6);
  }

  .champ-public-round__sim-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary, #6c757d);
  }

  .champ-public-round__sim-date {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
  }

  .champ-public-board {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem 0;
  }

  .champ-public-board__row {
    display: grid;
    grid-template-columns: 5rem minmax(4.5rem, 7.5rem) 4.25rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .champ-public-board__time {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    line-height: 1.15;
  }

  .champ-public-board__sim-hour {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-secondary, #6c757d);
    white-space: nowrap;
  }

  .champ-public-board__sim-hour-label {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted, var(--text-secondary, #6c757d));
  }

  .champ-public-board__type {
    font-weight: 600;
    color: var(--text-primary);
  }

  .champ-public-board__len {
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary, #6c757d);
    white-space: nowrap;
  }

  .champ-public-board__wx {
    font-size: 0.8125rem;
    color: var(--text-muted, var(--text-secondary, #6c757d));
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .champ-public-round__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.85rem;
    margin-top: 0.55rem;
    font-size: 0.8125rem;
  }

  .champ-public-round__links a,
  .champ-public-round__streams,
  .champ-public-round__add-stream {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-secondary, #6c757d);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }

  .champ-public-round__links a:hover,
  .champ-public-round__streams:hover {
    color: var(--primary, #0077b6);
    text-decoration: underline;
  }

  .champ-public-round__add-stream {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--primary, #0077b6);
  }

  .champ-public-round__add-stream .bi {
    font-size: 0.85em;
    line-height: 1;
  }

  .champ-public-round__add-stream:hover {
    color: var(--primary-hover, #023e8a);
    text-decoration: underline;
  }

  .champ-public-round__streams-count:not([hidden]) {
    margin-left: 0.2em;
  }

  @media (max-width: 575.98px) {
    .champ-public-round {
      grid-template-columns: 3.5rem minmax(0, 1fr);
      gap: 0.25rem 0.85rem;
    }

    .champ-public-round__day {
      font-size: 1.5rem;
    }

    .champ-public-round__track {
      font-size: 1.2rem;
    }

    .champ-public-round__title-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.2rem;
    }

    .champ-public-round__aside {
      justify-content: flex-start;
    }

    .champ-public-board__row {
      grid-template-columns: 4.75rem minmax(3.5rem, 1fr) 3.75rem;
    }

    .champ-public-board__wx {
      grid-column: 1 / -1;
      padding-left: 4.75rem;
    }
  }

  .champ-public-registration-toggle {
    width: 100%;
  }

  .champ-public-registration-toggle {
    display: none;
  }

  .champ-public-header-surface {
    background: var(--gradient-header);
    color: var(--text-inverse, #ffffff);
    border-bottom: 1px solid var(--border-color);
  }

  .champ-public-header-surface h1 {
    font-family: var(--font-display);
  }

  [data-theme="light"] .champ-public-header-surface.card-header {
    color: #ffffff;
  }



  [data-theme="dark"] .champ-public-header-surface.card-header {
    background: #000000;
    background-image: none;
    color: var(--nav-brand);
  }

  [data-theme="dark"] .champ-public-header-surface.card-header h1 {

    text-shadow: 0 0 16px rgba(200, 164, 93, 0.25);
  }

  .champ-public-hscroll-shell {
    position: relative;
    overflow: visible;
  }

  .champ-public-hscroll-edge {
    display: none;
  }

  @media (max-width: 767.98px) {
    .championship-public-page {
      padding-bottom: 4.5rem;
    }

    .champ-public-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .champ-public-header h1 {
      overflow-wrap: anywhere;
      word-break: break-word;
      width: 100%;
    }

    .champ-public-tabs {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      scroll-padding-inline: 0.5rem;
      margin: 0 -0.25rem;
      padding: 0 0.25rem;
      scrollbar-width: none;
    }

    .champ-public-tabs::-webkit-scrollbar,
    .champ-public-leaders-scroll::-webkit-scrollbar {
      display: none;
    }

    .champ-public-tabs .nav-tabs {
      flex-wrap: nowrap;
      width: max-content;
      min-width: 100%;
      padding-right: 1.25rem;
      border-bottom: 1px solid var(--border-color, #dee2e6);
    }

    .champ-public-tabs .nav-item {
      flex-shrink: 0;
      scroll-snap-align: start;
    }

    .champ-public-hscroll-edge {
      position: absolute;
      top: 50%;
      width: auto;
      height: auto;
      transform: translateY(-50%);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s ease;
      z-index: 3;
      display: flex;
      align-items: center;
      background: none;
    }

    .champ-public-hscroll-shell--scrollable .champ-public-hscroll-edge {
      opacity: 1;
    }

    .champ-public-hscroll-shell--scrollable.champ-public-hscroll-shell--at-start .champ-public-hscroll-edge--start {
      opacity: 0;
    }

    .champ-public-hscroll-shell--scrollable.champ-public-hscroll-shell--at-end .champ-public-hscroll-edge--end {
      opacity: 0;
    }

    .champ-public-hscroll-edge--start {
      left: -0.35rem;
    }

    .champ-public-hscroll-edge--end {
      right: -0.45rem;
    }

    .champ-public-hscroll-shell--leaders .champ-public-hscroll-edge {
      top: 0.125rem;
      transform: none;
    }

    .champ-public-hscroll-shell--leaders .champ-public-hscroll-edge--start {
      left: -0.35rem;
    }

    .champ-public-hscroll-shell--leaders .champ-public-hscroll-edge--end {
      right: -0.45rem;
    }

    .champ-public-hscroll-chevron {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.375rem;
      height: 1.375rem;
      border-radius: 999px;
      background: var(--bg-secondary, #f8f9fa);
      border: 1px solid var(--border-color, #dee2e6);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
      font-size: 0.75rem;
      line-height: 1;
      color: var(--text-secondary, #6c757d);
      opacity: 0.95;
    }

    .champ-public-hscroll-shell--scrollable:not(.champ-public-hscroll-shell--at-end) .champ-public-hscroll-chevron {
      animation: champ-public-hscroll-chevron-pulse 1.35s ease-in-out infinite;
    }

    @keyframes champ-public-hscroll-chevron-pulse {
      0%,
      100% {
        transform: translateX(0) scale(1);
        color: var(--text-secondary, #6c757d);
        opacity: 0.55;
      }

      50% {
        transform: translateX(4px) scale(1.1);
        color: var(--primary, #0077b6);
        opacity: 1;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .champ-public-hscroll-shell--scrollable:not(.champ-public-hscroll-shell--at-end) .champ-public-hscroll-chevron {
        animation: none;
        opacity: 0.85;
      }
    }

    .champ-public-leaders-scroll {
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      scroll-padding-inline: 0.5rem;
      margin: 0 -0.25rem;
      /* mini-card-position: top -6px — запас под бейдж в overflow-x контейнере */
      padding: 0.875rem 0.375rem 0.35rem;
      scrollbar-width: none;
    }

    .championship-leaders .champ-public-leaders-scroll {
      margin-top: -0.25rem;
    }

    .champ-public-leaders-scroll .leaders-mini-cards {
      flex-wrap: nowrap;
      justify-content: flex-start;
      padding-right: 0.5rem;
    }

    .champ-public-leaders-scroll .team-pilots-group-cards {
      justify-content: center;
    }

    .champ-public-leaders-scroll .mini-pilot-card-link,
    .champ-public-leaders-scroll .mini-pilot-card {
      scroll-snap-align: center;
      flex-shrink: 0;
    }

    .champ-public-leaders-scroll .mini-pilot-card-link:first-child {
      margin-left: 0.25rem;
    }

    .champ-public-leaders-scroll .mini-pilot-card-link:last-child {
      margin-right: 0.25rem;
    }

    .champ-public-actions {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }

    .champ-public-actions--overview-bar {
      flex-direction: column;
      align-items: stretch;
      gap: 0.5rem;
    }

    .champ-public-actions--overview-bar .champ-public-actions__group {
      flex: 1 1 auto;
      min-width: 0;
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }

    .champ-public-actions--overview-bar .champ-public-actions__group .btn,
    .champ-public-actions--overview-bar .champ-public-actions__group .btn.disabled,
    .champ-public-actions--overview-bar .champ-public-actions__group form .btn {
      width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      text-align: center;
      line-height: 1.3;
    }

    .champ-public-actions--overview-bar .champ-public-actions__share {
      width: 100%;
      margin-left: 0;
      flex-shrink: 0;
      white-space: normal;
      overflow-wrap: anywhere;
      text-align: center;
      line-height: 1.3;
    }

    .champ-public-actions > .d-flex {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }

    .champ-public-actions .btn,
    .champ-public-actions .btn.disabled,
    .champ-public-actions form .btn {
      width: 100%;
    }

    .champ-public-actions .captain-reg-cta-wrap {
      width: 100%;
    }

    .champ-public-actions .captain-reg-cta-wrap .btn {
      width: 100%;
    }

    .champ-public-my-entry__head {
      grid-template-columns: 1fr;
    }

    .champ-public-my-entry__actions {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-start;
      gap: 0.75rem 1rem;
    }

    .champ-public-my-entry__fields {
      grid-template-columns: 1fr;
    }

    .champ-public-my-entry__select {
      width: 100%;
      max-width: 100%;
    }
  }

  /* Таблица очков: строка «Место» визуально отделена от значений очков */
  .scoring-points-table {
    margin-bottom: 0;
  }

  .scoring-points-table .scoring-points-table__label {
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    min-width: 3.5rem;
  }

  .scoring-points-table thead .scoring-points-table__place {
    font-weight: 700;
    color: var(--text-secondary);
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
  }

  .scoring-points-table tbody .scoring-points-table__value {
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border-color: var(--border-color);
  }

  .champ-public-vehicle-park__title,
  .champ-public-conditions__title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }

  .champ-public-vehicle-park__list li,
  .champ-public-conditions__item {
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
  }

  .champ-public-conditions__label {
    font-weight: 600;
    margin-right: 0.25rem;
  }

  .champ-public-passport {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius, 0.375rem);
    background: var(--bg-secondary);
  }

  .champ-public-passport__grid {
    display: grid;
    gap: 0.5rem 1rem;
  }

  .champ-public-passport__row {
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 0.5rem 0.75rem;
    align-items: start;
  }

  .champ-public-passport__row dt {
    margin: 0;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
  }

  .champ-public-passport__row dd {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
  }

  @media (max-width: 575.98px) {
    .champ-public-passport__row {
      grid-template-columns: 1fr;
      gap: 0.125rem;
    }
  }
}

/* Тёмная тема: календарь этапов (вне @layer — подключается после base, перекрывает global a { color: primary }) */


html[data-theme="dark"] .championship-public-page .champ-public-calendar .champ-public-round__sim-label {
  color: var(--nav-brand);
}



html[data-theme="dark"] .championship-public-page .champ-public-calendar a.champ-public-round__winner-name:hover {

  text-decoration: underline;
}

/* Свободные ливреи: обзор по классам и машинам */

@layer components {
  .livery-preview-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .livery-preview-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
  }

  .livery-preview-summary__item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .livery-preview-summary__item i {
    color: var(--primary);
  }

  .livery-preview-summary__item--muted,
  .livery-preview-summary__item--muted i {
    color: var(--text-muted);
    font-weight: 500;
  }

  .livery-preview-summary__hint {
    color: var(--text-secondary);
    font-size: 0.8125rem;
  }

  .livery-preview-controls {
    display: flex;
    flex: 1 1 20rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .livery-preview-search {
    flex: 1 1 14rem;
    max-width: 22rem;
  }

  .livery-preview-meta {
    margin-bottom: 0.75rem;
  }

  .livery-preview-class {
    margin-bottom: 1.25rem;
  }

  .livery-preview-class:last-child {
    margin-bottom: 0;
  }

  .livery-preview-class__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
  }

  .livery-preview-class__title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
  }

  .livery-preview-class__title i {
    color: var(--primary);
  }

  .livery-preview-class__meta {
    color: var(--text-secondary);
    font-size: 0.8125rem;
  }

  .livery-preview-class__cars {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .livery-preview-car {
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 0.5rem);
    background: var(--bg-primary);
  }

  .livery-preview-car--empty {
    border-style: dashed;
    background: var(--bg-secondary);
  }

  .livery-preview-car__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .livery-preview-car__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-primary);
    font-weight: 600;
  }

  .livery-preview-car__title i {
    color: var(--primary);
  }

  .livery-preview-car__name {
    font-size: 0.9375rem;
  }

  .livery-preview-car__year {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 400;
  }

  .livery-preview-car__liveries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
  }

  .livery-preview-car__empty {
    margin-top: 0.375rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
  }

  .livery-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 0.8125rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .livery-chip__slots {
    flex: 0 0 auto;
    padding-left: 0.375rem;
    border-left: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.6875rem;
    font-weight: 700;
  }

  .livery-chip__slots--unlimited {
    font-size: 0.875rem;
  }

  .livery-preview-empty {
    padding: 1.5rem 1rem;
    color: var(--text-secondary);
    text-align: center;
  }

  .livery-preview-empty i {
    color: var(--text-muted);
    font-size: 2rem;
  }

  .livery-preview-empty__title {
    margin: 0.5rem 0 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
  }

  .livery-preview-empty__hint {
    margin: 0;
    font-size: 0.875rem;
  }

  @media (max-width: 575.98px) {
    .livery-preview-controls {
      flex: 1 1 100%;
      flex-direction: column;
    }

    .livery-preview-search {
      width: 100%;
      max-width: none;
    }

    .livery-preview-controls .btn {
      width: 100%;
    }
  }

  /* ============================================================
     Public championship overview — "Pit Wall" layout
     Hero (broadcast header) + timing tower + passport + stage board.
     Uses existing theme tokens; hero is intentionally dark over poster.
     ============================================================ */

  .champ-public-shell {
    border-radius: var(--radius-lg, 0.75rem);
  }

  .champ-public-body {
    padding-top: 0.85rem;
  }

  /* ---- Tabs (pit-lane strip) ---- */
  .championship-public-page .nav-tabs {
    flex-wrap: nowrap;
    gap: 0.1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .championship-public-page .nav-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.5rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    background: transparent;
  }

  .championship-public-page .nav-tabs .nav-link:hover {
    color: var(--text-secondary);
  }

  .championship-public-page .nav-tabs .nav-link.active {
    color: var(--text-primary);
    background: transparent;
    border-bottom-color: var(--primary);
  }

  /* ---- Hero ---- */
  .champ-hero {
    --champ-hero-text: #f1f5f9;
    --champ-hero-text-2: #a8b0bb;
    --champ-hero-text-3: #6f7a87;
    --champ-hero-red: #ff2b2b;
    --champ-hero-red-dark: #8b1111;
    --champ-hero-gold: #c8a45d;
    position: relative;
    overflow: hidden;
    color: var(--champ-hero-text);
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 43, 43, 0.16), transparent 46%),
      linear-gradient(160deg, #141a22 0%, #07090d 70%);
    border-radius: calc(var(--radius-lg, 0.75rem) - 1px) calc(var(--radius-lg, 0.75rem) - 1px) 0 0;
  }

  .champ-hero--poster {
    background-image:
      linear-gradient(90deg, rgba(7, 9, 13, 0.98) 0%, rgba(7, 9, 13, 0.93) 30%, rgba(7, 9, 13, 0.55) 62%, rgba(7, 9, 13, 0.42) 100%),
      linear-gradient(0deg, #07090d 0%, rgba(7, 9, 13, 0.15) 55%, transparent 100%),
      var(--champ-hero-image);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }

  .champ-hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, var(--champ-hero-red), var(--champ-hero-red-dark));
    box-shadow: 0 0 18px 1px rgba(255, 43, 43, 0.5);
  }

  .champ-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 1.6rem 1.75rem 1.35rem;
  }

  .champ-hero__main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .champ-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--champ-hero-text-2);
  }

  .champ-hero__slash {
    width: 1.6rem;
    height: 0.7rem;
    background: linear-gradient(100deg, var(--champ-hero-red) 0 55%, transparent 55% 62%, var(--champ-hero-red) 62%);
  }

  .champ-hero__sep {
    color: var(--champ-hero-red);
  }

  .champ-hero__title {
    margin: 0.5rem 0 0;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.01em;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    color: #ffffff;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.65);
  }

  .champ-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.85rem;
  }

  .champ-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.24rem 0.55rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(31, 36, 43, 0.6);
    color: var(--champ-hero-text-2);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .champ-hero__tag .bi {
    color: var(--champ-hero-text-3);
  }

  .champ-hero__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--champ-hero-text-2);
  }

  .champ-hero__status-open {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #31c48d;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .champ-hero__pulse {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #31c48d;
  }

  .champ-hero__pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(49, 196, 141, 0.55);
    animation: champHeroPulse 2s infinite;
  }

  @keyframes champHeroPulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(3); opacity: 0; }
    100% { transform: scale(3); opacity: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .champ-hero__pulse::after {
      animation: none;
      opacity: 0;
    }
  }

  .champ-hero__status-closed {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--champ-hero-text-3);
    font-weight: 600;
  }

  .champ-hero__slots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .champ-hero__gauge {
    width: 5rem;
    height: 0.38rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .champ-hero__gauge span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #ffa500, #ff7a00);
  }

  .champ-hero__elo {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
  }

  .champ-hero__elo b {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
  }

  .champ-hero__elo span {
    color: var(--champ-hero-text-3);
  }

  .champ-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.05rem;
  }

  .champ-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.05rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  }

  .champ-btn:active {
    transform: translateY(1px);
  }

  .champ-btn--primary {
    background: linear-gradient(180deg, #ff3c3c, #c41313);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 43, 43, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .champ-btn--primary:hover {
    background: linear-gradient(180deg, #ff4d4d, #d41616);
    color: #ffffff;
  }

  .champ-btn--ghost {
    background: rgba(17, 22, 29, 0.55);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--champ-hero-text);
  }

  .champ-btn--ghost:hover {
    background: rgba(31, 36, 43, 0.75);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
  }

  .champ-btn--state {
    background: rgba(49, 196, 141, 0.14);
    border-color: rgba(49, 196, 141, 0.45);
    color: #bfefd9;
  }

  .champ-btn--pending {
    background: rgba(255, 165, 0, 0.12);
    border-color: rgba(255, 165, 0, 0.45);
    color: #ffd8a0;
  }

  .champ-btn--disabled {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--champ-hero-text-3);
    cursor: not-allowed;
  }

  .champ-btn--icon {
    padding: 0.6rem 0.7rem;
  }

  /* ---- Next-stage pit board ---- */
  .champ-hero__pitboard {
    flex: 0 0 20rem;
    width: 20rem;
    align-self: flex-end;
    background: rgba(9, 12, 17, 0.86);
    border: 1px solid rgba(200, 164, 93, 0.35);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    backdrop-filter: blur(10px);
  }

  .champ-hero__pit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background: linear-gradient(180deg, rgba(200, 164, 93, 0.2), rgba(200, 164, 93, 0.05));
    border-bottom: 1px solid rgba(200, 164, 93, 0.28);
  }

  .champ-hero__pit-head > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e3c27a;
  }

  .champ-hero__pit-round {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.05rem 0.45rem;
    border-radius: 3px;
  }

  .champ-hero__pit-body {
    padding: 0.75rem 0.85rem 0.8rem;
  }

  .champ-hero__pit-date {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
  }

  .champ-hero__pit-day {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.9rem;
    line-height: 0.8;
    color: #ffffff;
    text-shadow: 0 0 26px rgba(200, 164, 93, 0.3);
  }

  .champ-hero__pit-mon {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8a45d;
    padding-bottom: 0.3rem;
  }

  .champ-hero__pit-count {
    margin-left: auto;
    text-align: right;
    padding-bottom: 0.2rem;
  }

  .champ-hero__pit-count .k {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__pit-count .v {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #ff5a5a;
  }

  .champ-hero__pit-track {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #ffffff;
  }

  .champ-hero__pit-sub {
    margin-top: 0.1rem;
    font-size: 0.68rem;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__pit-sessions {
    display: grid;
    gap: 0.12rem;
    margin: 0.7rem -0.85rem 0;
    padding: 0.5rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
  }

  .champ-hero__pit-sessions > div {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    color: var(--champ-hero-text-2);
  }

  .champ-hero__pit-sessions time {
    min-width: 2.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    color: #ffffff;
  }

  .champ-hero__pit-sessions .muted {
    margin-left: auto;
    font-size: 0.62rem;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__pit-server {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.8rem;
    margin: 0.55rem -0.85rem -0.8rem;
    padding: 0.5rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__pit-server b {
    font-weight: 600;
    color: var(--champ-hero-text-2);
  }

  .champ-hero__pit-server code {
    padding: 0;
    background: none;
    color: var(--champ-hero-text-2);
  }

  .champ-hero__pit-run {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  .champ-hero__pit-run .bi {
    font-size: 0.35rem;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__pit-run.is-on {
    color: #31c48d;
  }

  .champ-hero__pit-run.is-on .bi {
    color: #31c48d;
    text-shadow: 0 0 6px #31c48d;
  }

  .champ-hero__pitboard--done .champ-hero__pit-track {
    font-size: 1.05rem;
  }

  /* ---- Lap progress ---- */
  .champ-hero__lapbar {
    position: relative;
    z-index: 2;
    padding: 0.6rem 1.75rem 0.7rem;
    background: linear-gradient(180deg, rgba(7, 9, 13, 0.2), rgba(7, 9, 13, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .champ-hero__lapbar-cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__lapbar-cap > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .champ-hero__lapbar-cap > span:first-child .bi {
    color: var(--champ-hero-red);
  }

  .champ-hero__lapbar-cap .pct {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: #c8a45d;
  }

  .champ-hero__lapbar-track {
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .champ-hero__seg {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
  }

  .champ-hero__seg.is-done {
    background: linear-gradient(90deg, var(--champ-hero-red-dark), var(--champ-hero-red));
  }

  .champ-hero__seg.is-next {
    background: linear-gradient(90deg, #c8a45d, #e3c27a);
    box-shadow: 0 0 10px rgba(200, 164, 93, 0.65);
  }

  .champ-hero__lapbar-ticks {
    display: flex;
    gap: 3px;
    margin-top: 0.2rem;
  }

  .champ-hero__lapbar-ticks span {
    flex: 1;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.55rem;
    color: var(--champ-hero-text-3);
  }

  .champ-hero__lapbar-ticks .is-done {
    color: #ff8f8f;
  }

  .champ-hero__lapbar-ticks .is-next {
    color: #e3c27a;
  }

  /* ---- Overview grid + panels ---- */
  .champ-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 1rem;
    align-items: start;
  }

  .champ-overview-col--leaders {
    order: 1;
    min-width: 0;
  }

  .champ-overview-col--passport {
    order: 2;
    min-width: 0;
  }

  .champ-panel {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .champ-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid var(--border-color);
  }

  .champ-panel__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
  }

  .champ-panel__title .bi {
    font-size: 1rem;
    color: var(--gold, var(--info));
  }

  .champ-panel__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
  }

  .champ-panel__link:hover {
    color: var(--primary-hover);
    text-decoration: none;
  }

  .champ-panel__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.9rem 0.95rem;
  }

  .champ-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
    padding-top: 0;
  }

  .champ-panel__actions .btn {
    padding: 0.28rem 0.55rem;
    font-size: 0.7rem;
  }

  .champ-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.5rem 0.5rem;
    text-align: center;
    color: var(--text-muted);
  }

  .champ-empty .bi {
    font-size: 1.6rem;
    color: var(--gold, var(--info));
  }

  .champ-empty p {
    margin: 0;
    font-size: 0.8rem;
  }

  /* ---- Podium + tower ---- */
  .champ-podium {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    align-items: end;
    gap: 0.4rem;
    padding-top: 0.15rem;
  }

  .champ-pod {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
  }

  .champ-pod__avatar {
    position: relative;
    margin-bottom: 0.4rem;
  }

  .champ-pod__avatar img {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-dark);
    background: var(--bg-tertiary);
  }

  .champ-pod--1 .champ-pod__avatar img {
    width: 4.4rem;
    height: 4.4rem;
    border-color: var(--gold, var(--warning));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold, var(--warning)) 18%, transparent),
      0 0 22px color-mix(in srgb, var(--gold, var(--warning)) 35%, transparent);
  }

  .champ-pod--2 .champ-pod__avatar img {
    border-color: #c6ccd4;
  }

  .champ-pod--3 .champ-pod__avatar img {
    border-color: #b07a4a;
  }

  .champ-pod__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-muted);
  }

  .champ-pod--1 .champ-pod__ph {
    width: 4.4rem;
    height: 4.4rem;
  }

  .champ-pod__crown {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--gold, var(--warning));
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gold, var(--warning)) 70%, transparent));
  }

  .champ-pod__place {
    position: absolute;
    right: -0.15rem;
    bottom: -0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.7rem;
    color: #0b0e13;
    border: 2px solid var(--bg-secondary);
  }

  .champ-pod--1 .champ-pod__place {
    background: var(--gold, var(--warning));
  }

  .champ-pod--2 .champ-pod__place {
    background: #c6ccd4;
  }

  .champ-pod--3 .champ-pod__place {
    background: #b07a4a;
  }

  .champ-pod__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    max-width: 100%;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.1;
    color: var(--text-primary);
  }

  .champ-pod__name-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .champ-pod__flag {
    flex-shrink: 0;
    width: 0.9rem;
    height: 0.68rem;
    border-radius: 1px;
  }

  .champ-pod__rank {
    margin-top: 0.1rem;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .champ-pod__pts {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-top: 0.3rem;
  }

  .champ-pod__pts b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--text-primary);
  }

  .champ-pod--1 .champ-pod__pts b {
    font-size: 1.6rem;
    color: var(--gold, var(--warning));
  }

  .champ-pod__pts span {
    font-size: 0.55rem;
    color: var(--text-muted);
  }

  .champ-pod__base {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.2rem;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: linear-gradient(180deg, var(--bg-tertiary), var(--bg-secondary));
    overflow: hidden;
  }

  .champ-pod--1 .champ-pod__base {
    height: 3rem;
    border-color: color-mix(in srgb, var(--gold, var(--warning)) 35%, var(--border-color));
    background: linear-gradient(180deg, color-mix(in srgb, var(--gold, var(--warning)) 22%, var(--bg-secondary)), var(--bg-secondary));
  }

  .champ-pod--2 .champ-pod__base {
    height: 1.9rem;
  }

  .champ-pod--3 .champ-pod__base {
    height: 1.5rem;
  }

  .champ-pod__base .ghost {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    color: color-mix(in srgb, var(--text-primary) 10%, transparent);
  }

  .champ-pod__empty {
    padding: 0.8rem 0;
    font-size: 1.2rem;
    color: var(--text-muted);
  }

  .champ-tower {
    margin-top: 0.7rem;
    border-top: 1px solid var(--border-light);
  }

  .champ-tower__row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .champ-tower__row:last-child {
    border-bottom: none;
  }

  .champ-tower__pos {
    width: 1rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .champ-tower__avatar img {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-dark);
  }

  .champ-tower__avatar .bi {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 0.8rem;
  }

  .champ-tower__id {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }

  .champ-tower__name {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .champ-tower__name img {
    width: 0.9rem;
    height: 0.68rem;
    border-radius: 1px;
  }

  .champ-tower__meta {
    font-size: 0.62rem;
    color: var(--text-muted);
  }

  .champ-tower__bar {
    flex: 1 1 3rem;
    max-width: 5rem;
  }

  .champ-tower__bar .track {
    display: block;
    height: 0.3rem;
    border-radius: 99px;
    background: var(--bg-tertiary);
    overflow: hidden;
  }

  .champ-tower__bar .fill {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #ffffff));
  }

  .champ-tower__pts {
    min-width: 2rem;
    text-align: right;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
  }

  .champ-tower__pts small {
    margin-left: 0.1rem;
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
  }

  .champ-seasonstats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0.7rem;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }

  .champ-seasonstats > div {
    padding: 0.5rem 0.25rem;
    text-align: center;
    border-right: 1px solid var(--border-light);
  }

  .champ-seasonstats > div:last-child {
    border-right: none;
  }

  .champ-seasonstats b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gold, var(--warning));
  }

  .champ-seasonstats span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .champ-lastrace {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.6rem;
    margin-top: 0.7rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
  }

  .champ-lastrace__k {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .champ-lastrace__k .bi {
    color: var(--primary);
  }

  .champ-lastrace__track {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
  }

  .champ-lastrace__winner {
    font-size: 0.7rem;
    color: var(--text-secondary);
  }

  /* ---- Passport ---- */
  .champ-panel--passport .event-card-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.7rem;
  }

  .champ-panel--passport .event-card-chip .bi {
    color: var(--text-muted);
  }

  .champ-panel--passport .champ-public-participation {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-color);
  }

  .champ-panel--passport .champ-public-participation__label {
    font-size: 0.68rem;
    color: var(--text-muted);
  }

  .champ-panel--passport .event-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0.2rem 0;
  }

  .champ-panel--passport .event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--text-secondary);
  }

  .champ-panel--passport .event-info-item .bi {
    margin-top: 0.05rem;
    font-size: 0.85rem;
    color: var(--gold, var(--info));
  }

  .champ-panel--passport .event-info-item.small {
    grid-column: 1 / -1;
  }

  .champ-passport-block {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }

  .champ-passport-block__k {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
  }

  .champ-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .champ-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
  }

  .champ-chip .bi {
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  .champ-carlist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.45rem;
  }

  .champ-carclass {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
    background: color-mix(in srgb, var(--primary) 9%, transparent);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .champ-carclass .bi {
    font-size: 0.75rem;
    color: var(--primary);
  }

  .champ-note {
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--text-muted);
  }

  /* Free liveries — integrated into the passport */
  .champ-livery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.7rem;
    padding: 0.55rem 0.6rem;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--gold, var(--info)) 45%, var(--border-color));
    background: linear-gradient(135deg, color-mix(in srgb, var(--gold, var(--info)) 12%, var(--bg-secondary)), var(--bg-secondary));
  }

  .champ-livery-cta__main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
  }

  .champ-livery-cta__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.4rem;
    background: color-mix(in srgb, var(--gold, var(--info)) 20%, transparent);
    color: var(--gold, var(--info));
    font-size: 0.95rem;
  }

  .champ-livery-cta__title {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
  }

  .champ-livery-cta__hint {
    font-size: 0.65rem;
    line-height: 1.3;
    color: var(--text-muted);
  }

  .champ-livery-cta__btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--gold, var(--info)) 55%, var(--border-color));
    background: transparent;
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .champ-livery-cta__btn:hover {
    border-color: var(--gold, var(--info));
    background: color-mix(in srgb, var(--gold, var(--info)) 15%, transparent);
  }

  .champ-livery-cta__btn .bi {
    color: var(--gold, var(--info));
  }

  .champ-conditions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .champ-conditions__item {
    display: flex;
    gap: 0.45rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--text-secondary);
  }

  .champ-conditions__item .bi {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.78rem;
    color: var(--primary);
  }

  .champ-conditions__item b {
    font-weight: 600;
    color: var(--text-primary);
  }

  .champ-conditions__item a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .champ-conditions__muted {
    color: var(--text-muted);
  }

  /* ---- Stage board ---- */
  .champ-calendar-section {
    margin-top: 1.5rem;
  }

  .champ-calendar-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
  }

  .champ-calendar-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
  }

  .champ-calendar-title .bi {
    color: var(--gold, var(--info));
  }

  .champ-calendar-title .text-muted {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .champ-calendar-legend {
    display: flex;
    gap: 0.9rem;
    font-size: 0.68rem;
    color: var(--text-muted);
  }

  .champ-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .champ-calendar-legend .lg {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 2px;
  }

  .champ-calendar-legend .lg--done {
    background: var(--primary);
  }

  .champ-calendar-legend .lg--next {
    background: var(--gold, var(--info));
    box-shadow: 0 0 6px color-mix(in srgb, var(--gold, var(--info)) 60%, transparent);
  }

  .champ-public-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
    align-items: start;
    gap: 0.75rem;
    margin-top: 0.35rem;
  }

  .champ-public-calendar__now {
    display: none;
  }

  .champ-public-round {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0.15rem 0.7rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--text-muted);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    scroll-margin-top: 6rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .champ-public-round:hover {
    border-color: var(--border-hover);
  }

  .champ-public-round--completed {
    border-left-color: var(--primary);
  }

  .champ-public-round--partial {
    border-left-color: var(--warning);
  }

  .champ-public-round--next {
    border-color: color-mix(in srgb, var(--gold, var(--info)) 55%, var(--border-color));
    border-left-color: var(--gold, var(--info));
    background: linear-gradient(160deg, color-mix(in srgb, var(--gold, var(--info)) 13%, var(--bg-secondary)), var(--bg-secondary) 60%);
    box-shadow: 0 6px 22px color-mix(in srgb, var(--gold, var(--info)) 12%, transparent);
  }

  .champ-public-round--next .champ-public-round__day,
  .champ-public-round--next .champ-public-round__month {
    color: var(--gold, var(--info));
  }

  .champ-public-round__date {
    flex: 0 0 auto;
    text-align: right;
  }

  .champ-public-round__date time {
    align-items: flex-end;
  }

  .champ-public-round__day {
    font-size: 1.5rem;
  }

  .champ-public-round__month {
    font-size: 0.65rem;
  }

  .champ-public-round__main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .champ-public-round__header {
    margin-bottom: 0.4rem;
  }

  .champ-public-round__track {
    font-size: 1.1rem;
  }

  .champ-public-round__stage,
  .champ-public-round__multi {
    font-size: 0.62rem;
  }

  .champ-public-round__winner {
    margin-bottom: 0.15rem;
    font-size: 0.76rem;
  }

  .champ-public-round__winner-label {
    font-size: 0.56rem;
  }

  .champ-public-round__winner-avatar {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-dark);
  }

  .champ-public-round__links {
    gap: 0.25rem 0.55rem;
    margin-top: 0.35rem;
    font-size: 0.68rem;
  }

  .champ-public-round__sim {
    font-size: 0.72rem;
  }

  .champ-public-round__server-meta {
    gap: 0.25rem;
    margin-top: 0.45rem;
  }

  .champ-public-round__meta-chip {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
  }

  .champ-public-round__admin {
    margin-top: 0.5rem;
    padding-top: 0.45rem;
  }

  .champ-public-round .champ-public-board__row {
    grid-template-columns: 3.4rem minmax(3rem, 1fr) 2.8rem;
    column-gap: 0.35rem;
    font-size: 0.74rem;
  }

  .champ-public-round .champ-public-board__time {
    font-size: 0.9rem;
  }

  .champ-public-round .champ-public-board__wx {
    grid-column: 1 / -1;
    padding-left: 3.4rem;
    font-size: 0.66rem;
  }

  /* ---- Responsive ---- */
  @media (max-width: 991.98px) {
    .champ-overview-grid {
      grid-template-columns: 1fr;
    }

    .champ-hero__inner {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
    }

    .champ-hero__pitboard {
      flex-basis: auto;
      width: 100%;
      align-self: stretch;
    }

    .champ-public-calendar {
      grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    }

    .champ-public-round__main {
      flex-basis: auto;
    }
  }

  @media (max-width: 575.98px) {
    .champ-hero__inner {
      padding: 1.1rem 1rem 0.9rem;
    }

    .champ-hero__lapbar {
      padding: 0.5rem 1rem 0.6rem;
    }

    .champ-hero__title {
      font-size: 1.9rem;
    }

    .champ-public-calendar {
      grid-template-columns: 1fr;
    }

    .champ-public-round {
      flex-direction: column;
      align-items: stretch;
    }

    .champ-public-round__date {
      text-align: left;
    }

    .champ-public-round__date time {
      align-items: flex-start;
    }

    .champ-seasonstats b {
      font-size: 1.15rem;
    }

    .champ-tower__bar {
      display: none;
    }

    .champ-panel__actions .btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Pit Wall mockup parity: title, tabs, specs, stage board, action bar ===== */
  .champ-hero__title .thin {
    display: block;
    color: var(--champ-hero-gold);
  }

  .champ-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    padding: 0 0.3rem;
    margin-left: 0.3rem;
    border-radius: 99px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
  }

  .champ-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .champ-spec {
    padding: 0.62rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .champ-spec:nth-child(odd) {
    padding-right: 1rem;
  }

  .champ-spec:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--border-light);
  }

  .champ-spec__k {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.18rem;
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .champ-spec__k .bi {
    font-size: 0.8rem;
  }

  .champ-spec__v {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
  }

  .champ-spec__sub {
    display: block;
    margin-top: 0.05rem;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
  }

  .champ-spec--wide {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-left: 0;
    border-left: none;
  }

  .board {
    margin-top: 1.25rem;
  }

  .board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
  }

  .board__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
  }

  .board__title .bi {
    color: var(--gold, var(--info));
  }

  .board__meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
  }

  .board__legend {
    display: flex;
    gap: 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
  }

  .board__legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .board__legend .lg {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 2px;
  }

  .board__legend .lg--done {
    background: var(--primary);
  }

  .board__legend .lg--next {
    background: var(--gold, var(--info));
    box-shadow: 0 0 8px color-mix(in srgb, var(--gold, var(--info)) 70%, transparent);
  }

  .stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .stage {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.85rem 0.7rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .stage:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  }

  .stage__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .stage__no {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .stage__date {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-family: var(--font-display);
    font-weight: 700;
  }

  .stage__date b {
    font-size: 1.05rem;
    color: var(--text-primary);
  }

  .stage__date span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .stage__title {
    min-height: 1.2rem;
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--text-primary);
  }

  .stage-name-link {
    color: inherit;
    text-decoration: none;
  }

  .stage-name-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .stage__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-light);
  }

  .winner {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
  }

  .winner img {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-dark);
  }

  .winner .wname {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
    color: var(--text-secondary);
  }

  .winner .wlab {
    margin-right: 0.1rem;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .stage__links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    font-size: 0.66rem;
    color: var(--text-muted);
  }

  .stage__links .bi {
    font-size: 0.72rem;
  }

  .stage__link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
  }

  .stage__link:hover {
    color: var(--text-primary);
  }

  .stage__link--admin {
    color: var(--text-muted);
  }

  .stage__link--admin:hover {
    color: var(--gold, var(--info));
  }

  .stage__add-stream {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    cursor: pointer;
  }

  .stage__add-stream:hover {
    color: var(--primary);
  }

  .stage__streams {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 0.66rem;
    font-weight: 600;
    cursor: pointer;
  }

  .stage__streams .streams-count[hidden] {
    display: none;
  }

  .stage__links--next {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gold, var(--info));
  }

  .stage--next {
    border-color: color-mix(in srgb, var(--gold, var(--info)) 50%, var(--border-color));
    border-left: 3px solid var(--gold, var(--info));
    background: linear-gradient(165deg, color-mix(in srgb, var(--gold, var(--info)) 14%, var(--bg-secondary)), var(--bg-secondary) 55%);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold, var(--info)) 10%, transparent),
      0 10px 30px color-mix(in srgb, var(--gold, var(--info)) 8%, transparent);
  }

  .stage--next:hover {
    border-color: color-mix(in srgb, var(--gold, var(--info)) 80%, var(--border-color));
    box-shadow: 0 12px 34px color-mix(in srgb, var(--gold, var(--info)) 14%, transparent);
  }

  .stage--next .stage__no {
    color: var(--gold, var(--info));
  }

  .stage--next .stage__title {
    color: var(--gold, var(--info));
  }

  .stage--next .stage__date b {
    color: var(--gold, var(--info));
  }

  .stage--partial {
    border-left-color: var(--warning);
  }

  .stage--pending {
    border-left-color: var(--border-dark);
    opacity: 0.82;
  }

  .next-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.12rem 0.45rem;
    border-radius: 3px;
    background: var(--gold, var(--info));
    color: #0b0e13;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .next-flag::before {
    content: "";
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: #0b0e13;
    animation: champNextPulse 1.6s infinite;
  }

  .next-flag--partial {
    background: var(--warning);
  }

  @keyframes champNextPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
  }

  @media (prefers-reduced-motion: reduce) {
    .next-flag::before {
      animation: none;
    }
  }

  .champ-admin-panel {
    margin-top: 1.4rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
  }

  .champ-admin-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
  }

  .champ-admin-panel__title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
  }

  .champ-admin-panel__title .bi {
    color: var(--gold, var(--info));
  }

  .champ-admin-panel__track {
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  .champ-actionbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
  }

  .champ-actionbar__lbl {
    margin-right: 0.2rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .champ-actionbar__grow {
    flex: 1;
  }

  .champ-panel--leaders .champ-panel__actions .champ-btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .champ-btn--sm {
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }

  .champ-btn--gold {
    background: color-mix(in srgb, var(--gold, var(--info)) 12%, transparent);
    border-color: color-mix(in srgb, var(--gold, var(--info)) 55%, var(--border-color));
    color: var(--text-primary);
  }

  .champ-btn--gold:hover {
    background: color-mix(in srgb, var(--gold, var(--info)) 20%, transparent);
    border-color: var(--gold, var(--info));
  }

  .champ-panel--leaders .champ-btn--ghost,
  .champ-actionbar .champ-btn--ghost {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
  }

  .champ-panel--leaders .champ-btn--ghost:hover,
  .champ-actionbar .champ-btn--ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
    color: var(--text-primary);
  }

  @media (max-width: 1080px) {
    .stages {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 860px) {
    .stages {
      grid-template-columns: repeat(2, 1fr);
    }

    .champ-specs {
      grid-template-columns: 1fr;
    }

    .champ-spec:nth-child(odd) {
      padding-right: 0;
    }

    .champ-spec:nth-child(even) {
      padding-left: 0;
      border-left: none;
    }

    .champ-spec--wide {
      padding-right: 0;
      padding-left: 0;
    }
  }

  @media (max-width: 575.98px) {
    .stages {
      grid-template-columns: 1fr;
    }

    .champ-panel__actions .champ-btn,
    .champ-actionbar .champ-btn {
      flex: 1 1 auto;
      white-space: normal;
      text-align: center;
    }
  }
}
