.race-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(115deg, var(--tint), var(--panel));
}

.race-intro strong {
  display: block;
  margin: 5px 0;
  font-size: clamp(18px, 5vw, 24px);
  line-height: 1.2;
}

.race-intro .caption { margin: 0; }
.race-intro-trophy { font-size: clamp(28px, 9vw, 43px); line-height: 1; }
.race-table { table-layout: fixed; font-size: 14px; }
.race-table th:first-child { width: 50%; }
.race-table :is(th, td) { padding: 9px 3px; }
.race-table thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
.race-table td { font-variant-numeric: tabular-nums; }
.race-place > :last-child { min-width: 0; overflow-wrap: anywhere; }
.race-prizes { font-size: 14px; }
.race-medal { width: 34px; height: 34px; font-size: 13px; }
.race-invited-rows li { min-height: 54px; font-size: 14px; }
.race-invited-rows time { font-size: 12px; }

@media (max-width: 600px) {
  .tab-home .dashboard-subscription .subscription-overview { padding: 15px 16px 9px; }
  .tab-home .dashboard-subscription .subscription-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tab-home .subscription-stats > * { min-width: 0; padding-inline: 6px; }
  .tab-home .subscription-stats strong { overflow-wrap: anywhere; }
  .tab-home .subscription-overview h1 { font-size: 18px; }
  .tab-home .subscription-stats span { font-size: 10px; }
  .tab-home .subscription-stats strong { font-size: 13px; }
  .tab-home .dashboard-actions > .button { min-height: 42px; font-size: 13px; }
  .tab-home .dashboard-actions .icon { width: 17px; height: 17px; }
  .tab-support > .button { min-height: 50px; font-size: 16px; }
  .tab-support > .card .list-item .label { font-size: 14px; }
  .tab-support > .card .list-item .sub { font-size: 12px; }
  .tab-support #ticket-list .empty .icon { width: 33px; height: 33px; }
  .tab-support #ticket-list .empty p { font-size: 14px; }
  .bottom-nav .mobile-tabs .icon { width: 21px; height: 21px; }
}

@media (max-width: 600px) and (max-height: 580px) {
  .tab-home .dashboard-subscription .subscription-overview { padding: 9px 10px 7px; }
  .tab-home .subscription-stats { gap: 4px; }
  .tab-home .subscription-stats > * { padding-inline: 4px; }
  .tab-home .subscription-state { padding-block: 2px 5px; }
  .tab-home .subscription-state p { margin-block: 4px 0; }
}
