.compete-page .container {
  max-width: 1120px;
}
.cp-top {
  margin-top: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.cp-top__head {
  display: grid;
  gap: 1.2rem 2.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 1.4rem;
}
.cp-top__head h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cp-top__head p {
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 58ch;
  font-size: 1.02rem;
}
@media (max-width: 860px) {
  .cp-top__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
.cp-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}
.cp-h {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.status-empty {
  color: var(--muted);
  padding: 1.2rem 0;
}
.podium {
  display: flex;
  gap: 0.5rem;
}
.podium__card {
  display: grid;
  gap: 0.05rem;
  min-width: 150px;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-top: 2px solid var(--pc, var(--border-2));
}
.podium__card[data-rank="1"] {
  --pc: #f5b544;
}
.podium__card[data-rank="2"] {
  --pc: #c8d4e4;
}
.podium__card[data-rank="3"] {
  --pc: #cd7f32;
}
.podium__rank {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: var(--f-display);
  font-weight: 700;
}
.podium__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.podium__hype {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.podium__hype small {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-left: 0.3rem;
}
.podium__div {
  display: none;
}
@media (max-width: 860px) {
  .podium {
    flex-wrap: wrap;
  }
  .podium__card {
    flex: 1 1 140px;
  }
}
.ladder {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
}
.ladder__row {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--border);
}
.ladder__row:first-child {
  border-top: 0;
}
.ladder__row:nth-child(-n+3) .ladder__rank {
  color: var(--ink);
}
.ladder__rank {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ladder__name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ladder__div {
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.ladder__div[data-league=Open] {
  color: #45e39a;
}
.ladder__div[data-league=Contender] {
  color: var(--accent);
}
.ladder__div[data-league=Champion] {
  color: #f5b544;
}
.ladder__hype {
  font-family: var(--f-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 7rem;
  text-align: right;
}
.ladder__hype small {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.72rem;
  margin-left: 0.3rem;
}
.ladder .status-empty {
  padding: 1.2rem 1rem;
}
@media (max-width: 560px) {
  .ladder__row {
    grid-template-columns: 2.4rem 1fr auto;
  }
  .ladder__div {
    display: none;
  }
  .ladder__hype {
    min-width: 0;
  }
}
.tour-list {
  display: grid;
  gap: 1rem;
}
.tour {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
}
.tour__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--tc, var(--accent));
}
.tour__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.tour__mode {
  color: var(--muted);
  font-size: 0.88rem;
}
.tour__badge {
  margin-left: auto;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tour[data-phase=live] .tour__badge {
  color: #45e39a;
  border-color: rgba(69, 227, 154, 0.5);
}
.tour[data-phase=live] .tour__badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45e39a;
  margin-right: 0.4rem;
  vertical-align: 1px;
}
.tour[data-phase=upcoming] .tour__badge {
  color: var(--accent);
  border-color: rgba(59, 158, 255, 0.5);
}
.tour__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}
.tour__fact {
  padding: 0.85rem 1.2rem;
  border-left: 1px solid var(--border);
  display: grid;
  gap: 0.15rem;
}
.tour__fact:first-child {
  border-left: 0;
}
.tour__fact small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--f-display);
  font-weight: 700;
}
.tour__fact b {
  font-weight: 600;
  font-size: 0.95rem;
}
.tour__body {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  padding: 1rem 1.2rem 1.2rem;
}
.tour__desc {
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.tour h4 {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
}
.tour__windows,
.tour__prizes,
.tour__standings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.tour__windows li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--border);
}
.tour__windows li:first-child {
  border-top: 0;
}
.tour__windows li[data-state=live] {
  color: #45e39a;
}
.tour__windows li[data-state=done] {
  color: var(--muted);
}
.tour__windows li span:last-child {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tour__prizes li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--border);
}
.tour__prizes li:first-child {
  border-top: 0;
}
.tour__prizes li b {
  font-family: var(--f-display);
  font-weight: 700;
  min-width: 3.5rem;
  font-variant-numeric: tabular-nums;
}
.tour__standings li {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
}
.tour__standings li:first-child {
  border-top: 0;
}
.tour__standings b {
  font-variant-numeric: tabular-nums;
}
.tour__none {
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .tour__body {
    grid-template-columns: 1fr;
  }
  .tour__facts {
    grid-template-columns: 1fr;
  }
  .tour__fact {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .tour__fact:first-child {
    border-top: 0;
  }
}
.cp-cols {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 860px) {
  .cp-cols {
    grid-template-columns: 1fr;
  }
}
.divisions table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}
.divisions th {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}
.divisions th:first-child {
  text-align: left;
}
.divisions td {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--border);
}
.divisions td + td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.divisions td:nth-child(2) {
  font-weight: 600;
}
.divisions td:nth-child(3) {
  color: var(--muted);
}
.divisions tr.league td {
  padding-top: 0.75rem;
  padding-bottom: 0.4rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  border-top: 1px solid var(--border-2);
}
.divisions tr.league:first-child td {
  border-top: 0;
}
.divisions tr.league td span {
  color: var(--muted);
  font-family: var(--f-text);
  font-weight: 500;
  font-size: 0.8rem;
  margin-left: 0.6rem;
}
.divisions tr.league + tr td {
  border-top: 0;
}
.divisions td:first-child {
  padding-left: 1rem;
}
.divisions tr:not(.league) td:first-child {
  padding-left: 1.6rem;
}
.scoring table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}
.scoring th {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}
.scoring th:first-child {
  text-align: left;
}
.scoring td {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--border);
}
.scoring tr:first-child td {
  border-top: 0;
}
.scoring td + td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.scoring td.scoring__na {
  color: var(--muted);
  font-weight: 400;
}
.scoring tr.scoring__elim td {
  background: rgba(59, 158, 255, 0.06);
}
.compete-page .footer {
  padding-top: 20px;
}
@media (max-width: 480px) {
  .compete-page .tabs {
    gap: 0;
  }
  .compete-page .tab {
    padding: 0.6rem 0.6rem;
    font-size: 0.88rem;
  }
}
