.notes-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}
.notes-section-heading .micro {
  color: var(--red);
  margin: 0 0 10px;
}
.notes-section-heading h2 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 0 0 24px;
}
.notes-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 16px;
}
.circuit-flag {
  display: block;
  height: 0.9em;
  width: auto;
  box-shadow: 0 0 0 1px #ffffff16;
}
.circuit-notes {
  border-top: 1px solid var(--line);
  padding: 30px 0 38px;
  scroll-margin-top: 20px;
}
.circuit-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--line);
  background: #1b2226;
}
.circuit-panel figure {
  margin: 0;
  min-width: 0;
  padding: 25px;
  background: radial-gradient(ellipse at center, #2c363d, #191f23 70%);
}
.circuit-panel img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
}
.circuit-panel figcaption {
  font: 9px/1.7 var(--mono);
  text-align: center;
  color: var(--muted);
  margin-top: 15px;
}
.circuit-facts {
  padding: 36px;
  align-self: center;
}
.circuit-facts > .micro {
  color: var(--muted);
  margin: 0 0 24px;
}
.circuit-facts dl {
  margin: 0;
}
.circuit-facts dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.circuit-facts dt {
  color: var(--muted);
  font-size: 12px;
}
.circuit-facts dd {
  font: 18px var(--mono);
  margin: 0;
  text-align: right;
}
.circuit-caption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 22px 0 0;
}
.standings-notes {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  scroll-margin-top: 20px;
}
.standings-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.standings-switch button {
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #1c2428;
  font-size: 12px;
  min-height: 44px;
}
.standings-switch button[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
  color: var(--bg);
  font-weight: 700;
}
.notes-table-wrap {
  border: 1px solid var(--line);
  overflow: auto;
}
.notes-standings {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}
.notes-standings .position-col {
  width: 64px;
}
.notes-standings .points-col {
  width: 90px;
}
.notes-standings .gap-col {
  width: 90px;
}
.notes-standings th,
.notes-standings td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.notes-standings td:nth-child(n) {
  font: 13px var(--mono);
  color: var(--ink);
}
.notes-standings thead th {
  font: 10px var(--mono);
  color: var(--muted);
  background: #253037;
}
.notes-standings td:nth-child(n + 3),
.notes-standings thead th:nth-child(n + 3) {
  text-align: right;
}
.notes-standings tbody tr:nth-child(even) {
  background: #1b2327;
}
.notes-standings tbody th {
  background: transparent;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.standing-name {
  display: block;
  color: var(--standing-team);
  font:
    15px/1.5 Arial,
    sans-serif;
  border-left: 2px solid var(--standing-team);
  padding-left: 12px;
}
.standing-team {
  display: block;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  padding-left: 14px;
  margin-top: 5px;
}
.standings-footnote,
.notes-credit {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.notes-credit {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  margin: 0;
}
.notes-credit a {
  color: #c3ced3;
}
@media (max-width: 900px) {
  .circuit-panel {
    grid-template-columns: 1fr 1fr;
  }
  .circuit-facts {
    padding: 24px;
  }
  .circuit-facts dd {
    font-size: 15px;
  }
  .circuit-panel img {
    height: 280px;
  }
}
@media (max-width: 760px) {
  .circuit-panel {
    display: block;
  }
  .circuit-panel figure {
    padding: 20px;
  }
  .circuit-panel img {
    height: 280px;
  }
  .circuit-facts {
    padding: 24px;
  }
  .notes-section-heading h2 {
    font-size: 25px;
  }
  .notes-standings .position-col {
    width: 40px;
  }
  .notes-standings .points-col {
    width: 56px;
  }
  .notes-standings .gap-col {
    width: 48px;
  }
  .notes-standings th,
  .notes-standings td {
    padding: 14px 9px;
  }
  .notes-standings thead th {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .notes-standings td:nth-child(n) {
    font-size: 12px;
  }
  .standing-name {
    font-size: 13px;
    padding-left: 8px;
  }
  .standing-team {
    font-size: 9px;
    padding-left: 10px;
  }
  .circuit-panel figure figcaption {
    font-size: 8px;
  }
}

/* Tyre selection (moved from notes.html inline styles) */
.weekend {
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.weekend-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.weekend-heading h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 6px 0 9px;
}
.weekend-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.weekend-heading .micro {
  font-size: 10px;
  color: var(--red);
}
.selection-note {
  color: var(--muted);
  text-align: right;
  line-height: 1.9;
}
.slicks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tyre-card {
  min-width: 0;
  padding: 24px;
  background: linear-gradient(145deg, #22282c, #191e21);
  border: 1px solid var(--line);
  border-top: 2px solid var(--wall);
}
.tyre-role {
  color: var(--wall);
  margin: 0;
}
.tyre-card svg {
  display: block;
  width: min(100%, 285px);
  margin: 13px auto 19px;
}
.tyre-card h3 {
  font: 600 32px var(--mono);
  margin: 0 0 12px;
  color: var(--wall);
}
.tyre-card h3 span {
  font:
    400 17px Arial,
    sans-serif;
  color: var(--ink);
  margin-left: 12px;
}
.tyre-card > p:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.wet-section {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.wet-section > h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 20px;
}
.rain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.rain-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #1b2023;
  padding: 20px;
}
.rain-card svg {
  width: 120px;
  flex-shrink: 0;
}
.rain-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 8px 0;
}
.rain-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.tyre-note {
  padding: 22px 0 35px;
  max-width: 820px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
@media (max-width: 700px) {
  .weekend-heading {
    align-items: flex-start;
  }
  .weekend-heading h2 {
    font-size: 24px;
  }
  .selection-note {
    font-size: 8px;
  }
  .slicks {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .tyre-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 20px;
    padding: 20px;
  }
  .tyre-card svg {
    grid-column: 1;
    grid-row: 1/4;
    margin: 0;
    align-self: center;
  }
  .tyre-role,
  .tyre-card h3,
  .tyre-card > p:last-child {
    grid-column: 2;
  }
  .tyre-card h3 {
    font-size: 28px;
    margin: 0;
  }
  .tyre-card h3 span {
    display: block;
    margin: 5px 0 0;
    font-size: 16px;
  }
  .rain-grid {
    grid-template-columns: 1fr;
  }
  .rain-card svg {
    width: 100px;
  }
  .tyre-card > p:last-child {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .tyre-card {
    grid-template-columns: 95px 1fr;
    gap: 10px;
  }
}
