:root {
  --desk-navy: #101d32;
  --desk-navy-deep: #0b1627;
  --desk-on-navy: #f7f9fc;
  --desk-muted-on-navy: #aebcd1;
  --desk-line-on-navy: #2b3a51;
  --desk-ice: #eef2f7;
  --desk-paper: #fff;
  --desk-ink: #13223a;
  --desk-muted: #495a72;
  --desk-line: #dce4ef;
  --desk-orange: #ff9c42;
  --desk-radius: .75rem;
  --desk-ui: Inter, system-ui, sans-serif;
}

.gd-site-header {
  background: var(--desk-navy);
  color: var(--desk-on-navy);
  border-bottom: 1px solid var(--desk-line-on-navy);
  box-shadow: none;
  font-family: var(--desk-ui);
}
.gd-site-header .gd-site-header__row {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(15rem, 26rem) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding-block: .5rem;
}
.gd-site-header .gd-wordmark, .gd-site-footer .gd-wordmark { font-size: 1.35rem; color: var(--desk-on-navy); }
.gd-site-header .gd-wordmark strong, .gd-site-footer .gd-wordmark strong { color: var(--desk-orange); }
.gd-site-header .gd-site-search {
  display: flex;
  gap: .25rem;
  width: 100%;
  padding: .2rem;
  margin: 0;
  border: 1px solid var(--desk-line-on-navy);
  border-radius: .55rem;
  background: var(--desk-navy-deep);
}
.gd-site-header .gd-site-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--desk-on-navy);
  padding-inline: .6rem;
  font-size: .875rem;
}
.gd-site-header .gd-site-search input::placeholder { color: var(--desk-muted-on-navy); opacity: 1; }
.gd-site-header .gd-site-search button { min-height: 2.5rem; border: 0; background: #243551; color: var(--desk-on-navy); }
.gd-site-header .gd-site-search button:hover, .gd-site-header .gd-site-search[aria-busy=true] button { background: var(--desk-orange); color: var(--desk-navy-deep); }
.gd-desk-navrow {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--desk-line-on-navy);
}
.gd-site-header .gd-phase12-nav { display: flex; flex-flow: row wrap; gap: .25rem; padding-block: 0; }
.gd-site-header .gd-phase12-nav a {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  min-height: 2.85rem;
  padding: .35rem .75rem;
  background: transparent;
  color: #d5e1f1;
  font-size: .9rem;
  text-decoration: none;
}
.gd-site-header .gd-phase12-nav a[aria-current=page] { --gd-text-inverse: #fff; border-bottom-color: var(--desk-orange); color: #fff; }
.gd-site-header .gd-phase12-nav a:hover { background: var(--desk-line-on-navy); color: #fff; }
.gd-site-header .gd-phase12-nav svg { width: 1rem; height: 1rem; }
.gd-desk-organizations { position: relative; z-index: 5; flex: 0 0 auto; }
.gd-desk-organizations summary { padding: .7rem .25rem; min-height: 2.75rem; cursor: pointer; color: var(--desk-on-navy); font-size: .875rem; }
.gd-desk-organizations-panel {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 16rem;
  max-height: min(60vh, 28rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--desk-line-on-navy);
  border-radius: var(--desk-radius);
  background: var(--desk-navy);
  box-shadow: 0 1rem 2rem #0004;
}
.gd-desk-organizations-panel h2 { font-size: .75rem; color: var(--desk-muted-on-navy); margin: 0; }
.gd-desk-organizations-panel ul { list-style: none; margin: 0 0 .5rem; padding: 0; }
.gd-desk-organizations-panel a { display: block; padding: .55rem 0; color: var(--desk-on-navy); }
.gd-site-header .gd-drawer-toggle { min-width: 2.75rem; min-height: 2.75rem; color: var(--desk-on-navy); }
.gd-site-header a:focus-visible, .gd-site-header button:focus-visible, .gd-site-header summary:focus-visible,
.gd-site-header input:focus-visible, .gd-desk :focus-visible, .gd-site-footer :focus-visible { outline: 3px solid #4789df; outline-offset: 3px; }

.gd-public-main:has(>.gd-desk) { background: var(--desk-ice); } /* the search page and the notice page use the site's dark theme */
.gd-desk-feedback { color-scheme: dark; color: var(--gd-text); font-family: var(--desk-ui); padding-block: clamp(1.5rem, 4vw, 3.25rem) 2.75rem; }
.gd-desk {
  color-scheme: light;
  color: var(--desk-ink);
  font-family: var(--desk-ui);
  padding-block: clamp(1.5rem, 4vw, 3.25rem) 2.75rem;
}
.gd-desk h1, .gd-desk h2, .gd-desk p, .gd-desk-feedback h1 { color: inherit; margin: 0; }
.gd-desk h1 { font-size: clamp(2.35rem, 4vw, 4rem); letter-spacing: -.065em; line-height: 1; }
.gd-desk h2 { font-size: 1.075rem; line-height: 1.3; letter-spacing: -.025em; }
.gd-desk small, .gd-desk p { color: var(--desk-muted); }
.gd-desk a, .gd-desk-feedback a { color: inherit; }
.gd-desk-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.gd-desk-intro p { margin-top: .55rem; }
.gd-desk-jump { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .6rem; font-weight: 700; text-decoration: none; }
.gd-desk-summaries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.gd-desk-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: 1.15rem; align-items: start; }
.gd-desk-aside { min-width: 0; display: grid; gap: .9rem; }
.gd-desk-section-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .95rem 1rem .65rem; }
.gd-desk-section-head p { margin-top: .2rem; font-size: .825rem; }
.gd-desk-tabs { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 1rem .55rem; }
.gd-desk-tabs a, .gd-desk-day button, .gd-desk-day select { min-height: 2.75rem; padding: .42rem .65rem; border-radius: .5rem; }
.gd-desk-tabs a { display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; color: var(--desk-muted); }
.gd-desk-tabs a:hover { background: #edf1f7; }
.gd-desk-tabs a[aria-current=page], .gd-desk-day button { background: var(--desk-navy); color: #fff; }
.gd-desk-day { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; padding: .1rem 1rem .85rem; color: var(--desk-muted); font-size: .875rem; }
.gd-desk-day select { background: #f6f8fc; border: 1px solid var(--desk-line); color: var(--desk-ink); }
.gd-desk-day button { border: 1px solid var(--desk-navy); cursor: pointer; }
.gd-desk-day button:hover { background: #294262; }
.gd-desk-time { color: var(--desk-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.gd-desk-empty { padding: .65rem 1rem 1rem; line-height: 1.4; font-size: .875rem; }
.gd-desk-sources { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding-top: 1rem; font-size: .85rem; }
.gd-desk-sources a { font-weight: 700; }

.gd-site-footer { background: var(--desk-navy-deep); color: var(--desk-on-navy); border-top: 1px solid var(--desk-line-on-navy); }
.gd-site-footer .gd-site-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; padding-block: 1.6rem; }
.gd-site-footer .gd-site-footer__grid h2 { font-size: .85rem; margin-bottom: .4rem; }
.gd-site-footer .gd-site-footer__grid p, .gd-site-footer .gd-site-footer__legal { color: var(--desk-muted-on-navy); font-size: .8rem; }
.gd-site-footer .gd-site-footer__legal a { color: #dae5f6; }

@media (max-width: 1023px) {
  .gd-site-header .gd-site-header__row { grid-template-columns: minmax(0, 1fr) auto; }
  .gd-site-header .gd-header-actions { grid-column: 2; grid-row: 1; }
  .gd-site-header .gd-site-search { grid-column: 1/-1; grid-row: 2; }
  .gd-site-header .gd-desk-navrow { display: none; }
  .gd-site-header .gd-drawer-toggle { display: grid; place-items: center; }
}
@media (max-width: 700px) {
  .gd-desk-intro { display: block; margin-bottom: .8rem; }
  .gd-desk-jump { font-size: .85rem; }
  .gd-desk-summaries, .gd-desk-columns { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .gd-site-footer .gd-site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-site-footer .gd-site-footer__grid > :first-child { grid-column: 1/-1; }
}

 .gd-desk-sources small { flex-basis: 100%; }

.gd-desk { max-width: 78rem; }
.gd-desk h1 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
.gd-desk-intro { border-bottom: 1px solid var(--desk-line); padding-bottom: .9rem; }
.gd-desk h2.gd-desk-results-title {
  margin: 0 0 .65rem; font-size: .79rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: var(--desk-muted);
}
.gd-desk-card {
  min-width: 0; display: flex; flex-direction: column;
  border: 1px solid #253a55; border-radius: var(--desk-radius);
  background: var(--desk-navy); color: var(--desk-on-navy);
}
.gd-desk-card-head {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center; gap: .55rem; padding: .35rem .9rem 0;
}
.gd-desk-card-head h2 { font-size: .95rem; }
.gd-desk-card-head a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; text-decoration: none; }
.gd-desk-icon {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .45rem;
  background: #eaf0f8; color: #2b4a73; flex-shrink: 0;
}
.gd-desk-icon svg { width: 1.1rem; height: 1.1rem; }
.gd-desk-card .gd-desk-icon { background: #23354d; color: #c6d5e9; }
.gd-desk-card .gd-desk-empty { color: var(--desk-muted-on-navy); }
.gd-desk-result {
  display: flex; flex: 1; flex-direction: column; gap: .38rem; padding: .1rem .9rem .65rem;
  text-decoration: none; overflow-wrap: anywhere;
}
.gd-desk-result:hover, .gd-desk-card-head a:hover { background: #192a40; }
.gd-desk-result-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .25rem .55rem; color: #c4d0e0; font-size: .71rem; font-variant-numeric: tabular-nums;
}
.gd-desk-result-meta span { padding: .1rem .42rem; border: 1px solid #405570; border-radius: .35rem; }
.gd-desk-scoreboard { display: grid; }
.gd-desk-team {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .6rem;
  padding: .35rem 0; border-bottom: 1px solid var(--desk-line-on-navy);
}
.gd-desk-team small, .gd-desk-team strong { display: block; line-height: 1.25; }
.gd-desk-team small { color: #b8c7db; font-size: .67rem; }
.gd-desk-team strong { font-size: .91rem; color: #d6e1ef; }
.gd-desk-team b { font-size: clamp(1.35rem,2.15vw,1.85rem); font-variant-numeric: tabular-nums; line-height: 1; }
.gd-desk-team.is-winner b { color: var(--desk-orange); }
.gd-desk-team.is-winner strong { color: white; }
.gd-desk-race-name { font-size: 1.1rem; line-height: 1.2; padding-block: .15rem; }
.gd-desk-podium { display: grid; gap: .18rem; font-size: .82rem; }
.gd-desk-podium b { display: inline-grid; place-items: center; width: 1.2rem; margin-right: .24rem; color: #c6d5e9; }
.gd-desk-podium > :first-child b { color: var(--desk-orange); }
.gd-desk-result-link { margin-top: auto; padding-top: .18rem; font-size: .73rem; color: #d4dff0; }
.gd-desk-result-link span { padding-left: .25rem; }

.gd-desk-columns { grid-template-columns: minmax(0,1.9fr) minmax(16.5rem,1fr); gap: clamp(1rem,3vw,2rem); }
.gd-desk-panel { min-width: 0; background: var(--desk-paper); border: 1px solid var(--desk-line); border-radius: var(--desk-radius); }
.gd-desk-program { scroll-margin-top: 8.5rem; }
.gd-desk-section-head h2 { font-size: 1.15rem; }
.gd-desk-events { list-style: none; padding: 0; margin: 0; }
.gd-desk-events a {
  display: grid; grid-template-columns: 4.2rem minmax(0,1fr) auto auto; align-items: center;
  gap: .5rem; padding: .55rem .9rem; min-height: 2.75rem; border-top: 1px solid var(--desk-line);
  text-decoration: none;
}
.gd-desk-event-main { min-width: 0; overflow-wrap: anywhere; }
.gd-desk-event-main strong, .gd-desk-event-main small { display: block; line-height: 1.3; }
.gd-desk-event-main small { font-size: .75rem; margin-top: .15rem; }
.gd-desk-events a:hover { background: #edf3fa; }
.gd-desk-search-list a:hover { background: var(--gd-surface); }
.gd-desk-event-state {
  font-size: .71rem; padding: .12rem .35rem; border: 1px solid #d6e2f1; border-radius: .38rem;
  color: #304b70; background: #f0f5fb;
}
.gd-desk-event-arrow { color: #415c80; }
.gd-desk-more summary {
  min-height: 2.75rem; padding: .6rem .9rem; cursor: pointer; border-top: 1px solid var(--desk-line);
  color: #274973; font-size: .85rem; font-weight: 750;
}
.gd-desk-more-count { margin-left: .4rem; color: var(--desk-muted); }
.gd-desk-more-close, .gd-desk-more[open] .gd-desk-more-open { display: none; }
.gd-desk-more[open] .gd-desk-more-close { display: inline; }

.gd-desk-aside { display: block; border-top: 2px solid #a8b8cf; }
.gd-desk-aside .gd-desk-section-head { padding-inline: 0; }
.gd-desk-standing { padding: .55rem 0 .75rem; border-top: 1px solid #cbd7e7; }
.gd-desk-standing h3 { font-size: .93rem; color: var(--desk-ink); line-height: 1.35; margin: 0 0 .1rem; }
.gd-desk-standing p { font-size: .72rem; }
.gd-desk-standing table { width: 100%; border-collapse: collapse; margin-top: .3rem; table-layout: auto; }
.gd-desk-standing th, .gd-desk-standing td { padding: .22rem .1rem; border-bottom: 1px solid #dbe3ef; text-align: left; font-size: .82rem; overflow-wrap: anywhere; }
.gd-desk-standing thead th { color: var(--desk-muted); font-size: .7rem; font-weight: 650; }
.gd-desk-standing th:last-child, .gd-desk-standing td { text-align: right; }
.gd-desk-standing td { font-weight: 800; font-variant-numeric: tabular-nums; }
.gd-desk-standing-rank { display:inline-block; width: 1.3rem; color: var(--desk-muted); font-variant-numeric: tabular-nums; }
.gd-desk-standing a { display: inline-flex; align-items: center; gap: .36rem; min-height: 2.75rem; color: #274973; font-size: .8rem; font-weight: 750; }
.gd-desk-quick {
  display: flex; align-items:center; flex-wrap:wrap; gap: .3rem .75rem;
  margin-top: 1rem; padding: .25rem 0; border-block: 1px solid var(--desk-line); font-size: .83rem;
}
.gd-desk-quick > span { color: var(--desk-muted); }
.gd-desk-quick a { display: inline-flex; align-items: center; gap: .25rem; padding-inline: .2rem; min-height: 2.75rem; }

.gd-desk-search { max-width: 56rem; padding-block: 1.5rem 2.5rem; color: var(--gd-text); font-family: var(--desk-ui); }
.gd-desk-search h1 { color: var(--gd-text); margin: 0; font-size: clamp(1.9rem,4vw,3.1rem); letter-spacing: -.045em; }
.gd-desk-search p { color: var(--gd-text-muted); margin-block: .35rem .9rem; overflow-wrap: anywhere; }
.gd-desk-search-group h2 { color: var(--gd-text); font-size: 1.05rem; margin-block: 1.25rem .3rem; }
.gd-desk-search-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gd-border); }
.gd-desk-search-list a {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem; align-items: center;
  min-height: 2.75rem; padding: .48rem .3rem; border-bottom: 1px solid var(--gd-divider);
  color: var(--gd-accent); text-decoration: none; overflow-wrap: anywhere;
}
.gd-desk-search-list strong, .gd-desk-search-list small { display: block; line-height: 1.3; }
.gd-desk-search-list small, .gd-desk-search-scope { color: var(--gd-text-muted); font-size: .74rem; }
.gd-desk-search .gd-empty-state { padding: .8rem 0; background: transparent; border: 0; }
.gd-desk-search-list :focus-visible { outline: 3px solid var(--gd-focus); outline-offset: -2px; }

.gd-desk-organizations-panel { min-width: max-content; max-width: min(38rem,85vw); display:grid; grid-auto-flow:column; grid-auto-columns:minmax(8.5rem,1fr); gap:.75rem; }
.gd-desk-organizations-panel section + section { border-left:1px solid var(--desk-line-on-navy); padding-left:.75rem; }
.gd-desk-organizations-panel a { min-height: 2.75rem; line-height:1.25; }
.gd-desk-organizations-panel a:hover, .gd-desk-organizations-panel a[aria-current] { color: var(--desk-orange); }
.gd-mobile-drawer .gd-mobile-nav-group > div:first-child > a,
.gd-mobile-drawer .gd-mobile-accordion,
.gd-mobile-drawer .gd-mobile-nav-group li a { min-height: 2.75rem; }
.gd-mobile-drawer .gd-mobile-nav-group ul a { display:flex; align-items:center; }
.gd-site-footer .gd-site-footer__grid { padding-block: .85rem; }
.gd-site-footer .gd-site-footer__legal { padding-block: .35rem; }
.gd-site-footer .gd-privacy-footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 700px) {
  .gd-desk-columns { grid-template-columns: minmax(0,1fr); gap: 1.2rem; }
  .gd-desk-result { padding-bottom: .55rem; }
  .gd-desk-events a { grid-template-columns: 3.6rem minmax(0,1fr) auto; row-gap:.2rem; }
  .gd-desk-event-state { grid-column: 2; justify-self: start; }
  .gd-desk-event-arrow { grid-column:3; grid-row:1/3; }
  .gd-desk-quick { column-gap:.45rem; }
}

/* S01: F1 sezon özeti */
.gp-f1-summary { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--gd-border); border-radius: var(--gd-radius-md); background: var(--gd-bg-elevated); }
.gp-f1-summary__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; margin-bottom: .75rem; }
.gp-f1-summary__head h2 { margin: 0; font-size: var(--gd-font-lg); }
.gp-f1-summary__head p { margin: 0; font-size: var(--gd-font-sm); color: var(--gd-text-secondary); }
.gp-f1-summary__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.gp-f1-card { min-width: 0; padding: .875rem; border: 1px solid var(--gd-divider); border-radius: var(--gd-radius-sm); background: var(--gd-surface); }
.gp-f1-card h3 { margin: 0 0 .5rem; font-size: var(--gd-font-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--gd-text-muted); }
.gp-f1-name { margin: 0; font-size: var(--gd-font-md); font-weight: 700; overflow-wrap: anywhere; }
.gp-f1-name a { color: var(--gd-text); }
.gp-f1-name a:hover { color: var(--gd-accent-hover); }
.gp-f1-date { margin: .25rem 0 0; font-size: var(--gd-font-sm); color: var(--gd-text-secondary); font-variant-numeric: tabular-nums; }
.gp-f1-note, .gp-f1-empty { margin: .5rem 0 0; font-size: var(--gd-font-sm); color: var(--gd-text-muted); }
.gp-f1-podium { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .35rem; }
.gp-f1-podium li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; font-size: var(--gd-font-sm); }
.gp-f1-pos { font-weight: 700; color: var(--gd-accent); font-variant-numeric: tabular-nums; }
.gp-f1-driver { overflow-wrap: anywhere; }
.gp-f1-driver small { display: block; color: var(--gd-text-muted); font-size: var(--gd-font-xs); }
.gp-f1-points { color: var(--gd-text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) { .gp-f1-summary__grid { grid-template-columns: 1fr; } }

/* X03: ortak menü ve sekme bileşeni (docs/design/ornek-2026-11/00-menu-ornek.png) */
.gd-site-header { background: #0a1424; border-bottom: 0; }
.gd-site-header .gd-desk-navrow { display: flex; align-items: center; gap: .75rem; border-top: 0; padding-block: .1rem .75rem; }
.gd-site-header .gd-phase12-nav { flex: 1 1 auto; display: flex; flex-flow: row nowrap; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding-block: 0; }
.gd-site-header .gd-phase12-nav::-webkit-scrollbar { display: none; }
.gd-site-header .gd-phase12-nav a {
  flex: 1 1 0; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 2.6rem; padding: .45rem 1.1rem; border: 1px solid #263a52; border-bottom-width: 1px; border-radius: .5rem;
  background: rgba(14, 28, 44, .85); color: var(--desk-on-navy); font-size: .85rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.gd-site-header .gd-phase12-nav a:hover { background: #162a42; border-color: #34506f; color: #fff; }
.gd-site-header .gd-phase12-nav a[aria-current=page] {
  background: linear-gradient(120deg, #f6b24a, #ffcf7a); border-color: #f6b24a; color: #1a1305; font-weight: 700;
}
.gd-site-header .gd-phase12-nav a[aria-current=page]:hover { background: linear-gradient(120deg, #f6b24a, #ffcf7a); color: #1a1305; }
.gd-site-header .gd-phase12-nav a svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.gd-desk-organizations summary { padding: .5rem .75rem; min-height: 2.6rem; border: 1px solid #263a52; border-radius: .5rem; background: rgba(14, 28, 44, .85); }

/* Alt başlık satırı (organizasyon/lig): menü örneğindeki pill sırası */
.gp-leagues { gap: .6rem; margin: 0 0 1rem; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.gp-leagues::-webkit-scrollbar { display: none; }
.gp-leagues a {
  flex: 0 0 auto; min-height: 2.25rem; padding: .35rem 1.1rem; border: 1px solid #263a52; border-radius: .4rem;
  background: rgba(14, 28, 44, .85); color: var(--gd-text); font-size: .8rem; font-weight: 500;
}
.gp-leagues a:hover { background: #162a42; border-color: #34506f; color: #fff; }
.gp-leagues a[aria-current] { background: linear-gradient(120deg, #f6b24a, #ffcf7a); border-color: #f6b24a; color: #1a1305; font-weight: 700; }

/* İçerik sekmeleri: tek stil (alt çizgi + hafif altın zemin) */
.gp-tabs { background: rgba(11, 27, 41, .9); border: 1px solid #1f3347; border-radius: .5rem; margin-bottom: 1rem; }
.gp-tabs a { min-height: 2.8rem; font-size: .85rem; color: var(--gd-text-secondary); border-inline-end: 0; }
.gp-tabs a:hover { color: #fff; background: rgba(246, 178, 74, .06); }
.gp-tabs a[aria-current] { color: var(--gd-accent); border-bottom: 3px solid var(--gd-accent); background: rgba(246, 178, 74, .1); }

@media (max-width: 850px) {
  .gd-site-header .gd-phase12-nav { gap: .4rem; }
  .gd-site-header .gd-phase12-nav a { flex: 0 0 auto; min-width: 0; padding: .4rem .9rem; font-size: .8rem; }
}
@media (max-width: 850px) {
  .gd-site-header .gd-desk-organizations { display: none; }
  .gd-site-header .gd-desk-navrow { display: block; }
}

/* X06: geri sayım bileşeni */
.gd-countdown { display: grid; gap: .5rem; }
.gd-countdown__label { font-size: var(--gd-font-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--gd-text-muted); }
.gd-countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(3.5rem, 1fr)); gap: .5rem; max-width: 24rem; }
.gd-countdown__unit { display: grid; justify-items: center; gap: .1rem; padding: .55rem .25rem; border: 1px solid #263a52; border-radius: .5rem; background: rgba(14, 28, 44, .85); }
.gd-countdown__unit b { font-size: 1.6rem; line-height: 1.1; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--gd-accent); min-width: 2ch; text-align: center; }
.gd-countdown__unit small { font-size: .7rem; color: var(--gd-text-secondary); }
.gd-countdown__done { font-weight: 700; color: var(--gd-accent); }
.gd-countdown[data-reduced] [data-unit-box=seconds] { display: none; }
.gd-countdown[data-reduced] .gd-countdown__grid { grid-template-columns: repeat(3, minmax(3.5rem, 1fr)); }
.gd-countdown--compact .gd-countdown__grid { gap: .35rem; max-width: 18rem; }
.gd-countdown--compact .gd-countdown__unit { padding: .35rem .2rem; }
.gd-countdown--compact .gd-countdown__unit b { font-size: 1.2rem; }
.gd-countdown--date { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: .5rem 0 0; }
.gd-countdown--date strong { font-size: 1.15rem; color: var(--gd-accent); }
.gd-countdown--date span { font-size: var(--gd-font-sm); color: var(--gd-text-secondary); }
.gp-next-up { display: grid; gap: .5rem; margin: 0 0 1rem; padding: .875rem 1rem; border: 1px solid var(--gd-border); border-radius: var(--gd-radius-md); background: var(--gd-bg-elevated); }
.gp-next-up h2 { margin: 0; font-size: var(--gd-font-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--gd-text-muted); }
.gp-next-up__name { margin: 0; font-size: var(--gd-font-lg); font-weight: 700; overflow-wrap: anywhere; }
.gp-next-up__name a { color: var(--gd-text); }
.gp-next-up__when { margin: 0; font-size: var(--gd-font-sm); color: var(--gd-text-secondary); font-variant-numeric: tabular-nums; }
.gd-countdown__source { font-size: var(--gd-font-xs); color: var(--gd-text-muted); }

/* X07 designed fallback surface: used wherever no rights-cleared operator image is assigned. CSS only, no image bytes, no layout shift. */
.gp-surface { --s1: 150 170 200; --s2: #10243a; display: flex; align-items: center; justify-content: flex-end; padding: 0 6%; overflow: hidden; background-color: #0b1927; background-image: radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .30), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); }
.gp-surface > svg { flex: none; width: clamp(64px, 34%, 210px); max-height: 100%; height: auto; aspect-ratio: 1 / 1; color: rgb(var(--s1)); opacity: .34; stroke-width: 1; }
.gp-surface--motorsport { --s1: 246 90 70; --s2: #2a1218; background-image: repeating-linear-gradient(115deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 24px), radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .32), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); }
.gp-surface--football { --s1: 70 200 120; --s2: #0e2a1f; background-image: radial-gradient(circle at 80% 50%, transparent 0 46px, rgb(255 255 255 / .12) 46px 48px, transparent 48px), linear-gradient(90deg, transparent calc(80% - 1px), rgb(255 255 255 / .12) calc(80% - 1px) 80%, transparent 80%), radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .28), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); }
.gp-surface--basketball { --s1: 246 150 60; --s2: #2b1a0e; background-image: radial-gradient(circle at 100% 50%, transparent 0 74px, rgb(255 255 255 / .12) 74px 76px, transparent 76px), radial-gradient(circle at 100% 50%, transparent 0 28px, rgb(255 255 255 / .12) 28px 30px, transparent 30px), radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .30), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); }
.gp-surface--tennis { --s1: 190 220 70; --s2: #1a2410; background-image: linear-gradient(90deg, rgb(255 255 255 / .09) 1px, transparent 1px), linear-gradient(rgb(255 255 255 / .09) 1px, transparent 1px), radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .26), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); background-size: 76px 100%, 100% 52px, auto, auto; }
.gp-surface--volleyball { --s1: 80 170 250; --s2: #0e1f3a; background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / .06) 0 1px, transparent 1px 20px), repeating-linear-gradient(-45deg, rgb(255 255 255 / .06) 0 1px, transparent 1px 20px), radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .30), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); }
.gp-surface--sports { background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1.6px), radial-gradient(90% 130% at 90% 15%, rgb(var(--s1) / .26), transparent 62%), linear-gradient(135deg, var(--s2) 0%, #0b1927 75%); background-size: 18px 18px, auto, auto; }

/* X08a shared sport page template (SportPage): title row, season menu, feature + side cards, rail panels. */
.gp-sp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 6px 0 10px; }
.gp-sp-head h1 { margin: 0; }
.gp-sp-head p { margin: 0; color: var(--gd-text-secondary); font-size: var(--gd-font-sm); }
.gp-season-menu { position: relative; display: inline-block; margin: 0 0 12px; }
.gp-season-menu summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--gd-border); border-radius: 999px; background: var(--gd-bg-elevated); font-size: var(--gd-font-sm); }
.gp-season-menu summary::-webkit-details-marker { display: none; }
.gp-season-menu summary::after { content: "\25BE"; color: var(--gd-accent); }
.gp-season-menu > div { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; display: grid; min-width: 160px; max-height: 260px; overflow: auto; padding: 4px; border: 1px solid var(--gd-border); border-radius: var(--gd-radius-md); background: var(--gd-bg-elevated); }
.gp-season-menu a { padding: 8px 10px; border-radius: 6px; color: var(--gd-text); }
.gp-season-menu a[aria-current] { color: var(--gd-accent); font-weight: 700; }
.gp-sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.gp-sp-main, .gp-sp-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.gp-sp-rail { gap: 14px; }
.gp-sp-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; }
.gp-sp-feature { position: relative; min-height: 340px; overflow: hidden; border: 1px solid var(--gd-border); border-radius: 9px; background: var(--gd-bg-elevated); }
.gp-sp-feature > .gp-picture { position: absolute; inset: 0; }
.gp-sp-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #030b14f2, #0714218c 45%, transparent 80%); pointer-events: none; }
.gp-sp-feature__copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; justify-items: start; padding: 20px; }
.gp-sp-feature h2 { margin: 0; font-size: var(--gp-fs-title); line-height: 1.25; letter-spacing: -.3px; }
.gp-sp-when { margin: 0; color: #e1e9f3; font-size: var(--gd-font-sm); }
.gp-sp-feature .gp-photo-note { z-index: 2; }
.gp-sp-side { display: grid; gap: 12px; align-content: start; }
.gp-sp-card { padding: 14px; border: 1px solid var(--gd-border); border-radius: 9px; background: var(--gd-bg-elevated); }
.gp-sp-card h2, .gp-sp-card h3 { margin: 0 0 6px; font-size: var(--gd-font-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--gd-text-muted); }
.gp-sp-progress p { margin: 0 0 8px; font-size: 22px; font-variant-numeric: tabular-nums; }
.gp-sp-bar { height: 8px; overflow: hidden; border-radius: 999px; background: #ffffff14; }
.gp-sp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gd-accent), #ffd58a); }
.gp-sp-standings ol { display: grid; margin: 0; padding: 0; list-style: none; }
.gp-sp-standings li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 2px; border-top: 1px solid var(--gd-border); }
.gp-sp-standings li:first-child { border-top: 0; }
.gp-sp-pos { color: var(--gd-text-muted); font-variant-numeric: tabular-nums; }
.gp-sp-standings a { color: var(--gd-text); overflow-wrap: anywhere; }
.gp-sp-standings strong { color: var(--gd-accent); font-variant-numeric: tabular-nums; }
.gp-sp-results { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gp-sp-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--gd-text); font-size: var(--gd-font-sm); }
.gp-sp-results strong { color: var(--gd-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-sp-empty { display: grid; justify-items: start; gap: 8px; padding: 22px; border: 1px solid var(--gd-border); border-radius: 9px; background: var(--gd-bg-elevated); }
.gp-sp-empty > svg { width: 34px; height: 34px; color: var(--gd-accent); opacity: .8; }
.gp-sp-empty h2 { margin: 0; font-size: var(--gd-font-lg); }
.gp-sp-empty p { margin: 0; color: var(--gd-text-secondary); }
.gp-sp-results li.gp-sp-sess { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: var(--gd-font-sm); }
.gp-sp-sess time { color: var(--gd-text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* X09 home: sport cards row. */
.gp-home-sports { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 16px; }
.gp-home-card { position: relative; display: block; min-height: 190px; overflow: hidden; border: 1px solid var(--gd-border); border-radius: 9px; background: var(--gd-bg-elevated); color: var(--gd-text); }
.gp-home-card:hover { border-color: var(--gd-accent); }
.gp-home-card > .gp-picture { position: absolute; inset: 0; }
.gp-home-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #030b14f2, #07142173 55%, transparent 90%); pointer-events: none; }
.gp-home-card__copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 14px; }
.gp-home-card__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 20px; }
.gp-home-card__title svg { width: 22px; height: 22px; color: var(--gd-accent); }
.gp-home-card small { color: var(--gd-text-secondary); }
.gp-home-chip { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px; border: 1px solid var(--gd-border); border-radius: 6px; background: #0714219c; font-size: 12px; }
.gp-home-chip svg { width: 14px; height: 14px; color: var(--gd-accent); }
.gp-home .gd-desk-sources { margin-top: 14px; }
/* X09 home on the dark theme: the former light desk surfaces re-coloured inside .gp-home only (search results keep their own styles). */
.gp-home { padding-block: 1.25rem 2.5rem; color: var(--gd-text); }
.gp-home h2, .gp-home h3 { color: var(--gd-text); }
.gp-home .gd-desk-panel { background: var(--gd-bg-elevated); border-color: var(--gd-border); color: var(--gd-text); }
.gp-home .gd-desk-section-head p, .gp-home .gd-desk-empty, .gp-home .gd-desk-day, .gp-home .gd-desk-time, .gp-home .gd-desk-event-main small, .gp-home .gd-desk-more-count, .gp-home .gd-desk-quick > span { color: var(--gd-text-muted); }
.gp-home .gd-desk-icon { background: var(--gd-surface); color: var(--gd-accent); }
.gp-home .gd-desk-tabs a { color: var(--gd-text-secondary); }
.gp-home .gd-desk-tabs a:hover { background: var(--gd-surface); }
.gp-home .gd-desk-tabs a[aria-current=page], .gp-home .gd-desk-day button { background: linear-gradient(135deg, var(--gd-accent), #ffd58a); border-color: var(--gd-accent); color: #101720; }
.gp-home .gd-desk-day select { background: var(--gd-surface); border: 1px solid var(--gd-border); color: var(--gd-text); }
.gp-home .gd-desk-events a { border-top-color: var(--gd-divider); color: var(--gd-text); }
.gp-home .gd-desk-events a:hover { background: var(--gd-surface); }
.gp-home .gd-desk-event-state { background: var(--gd-surface); border-color: var(--gd-border); color: var(--gd-text-secondary); }
.gp-home .gd-desk-event-arrow { color: var(--gd-accent); }
.gp-home .gd-desk-more summary { border-top-color: var(--gd-divider); color: var(--gd-accent); }
.gp-home .gd-desk-quick { border-color: var(--gd-divider); }
.gp-home .gd-desk-quick a, .gp-home .gd-desk-sources a { color: var(--gd-accent); }
.gd-ball-table th, .gd-ball-table td { padding: .5rem .65rem; line-height: 1.25; }
.gd-ball-table tbody td, .gd-ball-table thead th:not(:nth-child(2)) { text-align: center; }
.gd-ball-table tbody th { text-align: left; }
.gd-ball-table td.gd-ball-points { font-weight: 800; color: var(--gd-accent); }
.gd-ball-table tbody td:first-child { color: var(--gd-text-muted); font-variant-numeric: tabular-nums; }
.gp-sp-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--gd-divider); font-size: var(--gd-font-xs); color: var(--gd-text-muted); }
.gp-sp-source a { color: var(--gd-accent); }
.gp-tz-note { margin: 0 0 8px; font-size: var(--gd-font-xs); color: var(--gd-text-muted); }
.gp-sp-stale { flex: 1 1 100%; padding: 4px 10px; border-left: 3px solid #d97706; font-weight: 600; color: var(--gd-text); }
@media (max-width: 1000px) { .gp-sp-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .gp-sp-top { grid-template-columns: minmax(0, 1fr); } .gp-sp-feature { min-height: 300px; } }

/* D3: operator-confirmed session times note */
.gp-sp-note { margin: .5rem 0 0; font-size: .75rem; opacity: .75; }

/* E2: operator page layout - 12-column block grid (classes only; mobile = one column, order kept). */
/* E7f: a row is a fixed unit (--gp-unit); a block of N rows is exactly as tall as N units and the gaps between them, so cards fill their cell, no hole is left under a short card and other cards can sit in it. List cards print only the rows that fit (PageBlocks::fit). The panel has no row-limited list and grows with its content (minmax auto). */
:root { --gp-unit: 170px; }
.gp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; grid-auto-rows: minmax(var(--gp-unit), auto); gap: 12px; align-items: stretch; }
.gp-grid[data-gp-layout="home"] { grid-auto-rows: auto; align-items: start; } /* the home page keeps its own hub cell heights */
.gp-blk { min-width: 0; }
.gp-blk__body > .gp-sp-feature, .gp-blk__body > .gp-rot, .gp-blk__body > .gp-sp-side, .gp-blk__body > .gp-race-upcoming, .gp-blk__body > .gp-sp-rail { margin: 0; }
.gp-blk__body > .gp-sp-rail { display: grid; gap: 14px; }
.gp-col-3 { grid-column: span 3; }
.gp-col-4 { grid-column: span 4; }
.gp-col-6 { grid-column: span 6; }
.gp-col-8 { grid-column: span 8; }
.gp-col-9 { grid-column: span 9; }
.gp-col-12 { grid-column: span 12; }
/* E7a: a block of 2 or 3 rows spans that many grid rows; blocks fill the free cells beside it (so a tall card can sit next to two stacked ones) */
.gp-rows-2 { grid-row: span 2; } .gp-rows-3 { grid-row: span 3; } .gp-rows-4 { grid-row: span 4; } .gp-rows-5 { grid-row: span 5; } .gp-rows-6 { grid-row: span 6; }
.gp-grid:not([data-gp-layout="home"]) > .gp-blk > .gp-blk__body { min-height: 0; height: 100%; }
.gp-grid:not([data-gp-layout="home"]) > .gp-blk > .gp-blk__body > .gp-sp-card, .gp-grid:not([data-gp-layout="home"]) > .gp-blk > .gp-blk__body > .gp-sp-feature, .gp-grid:not([data-gp-layout="home"]) > .gp-blk > .gp-blk__body > .gp-custom { height: 100%; box-sizing: border-box; overflow: hidden; }
.gp-blk__body > .gp-sp-feature { min-height: 150px; }
/* Landing hero card: the text sits in the flow at the bottom, so the card grows to fit it (a fixed height used to cut off the tag and title). */
.gp-grid:not([data-gp-layout="home"]) > .gp-blk > .gp-blk__body > .gp-sp-feature { display: flex; flex-direction: column; justify-content: flex-end; }
.gp-grid:not([data-gp-layout="home"]) > .gp-blk > .gp-blk__body > .gp-sp-feature > .gp-sp-feature__copy { position: relative; }
.gp-ord-1 { order: 1; }
.gp-ord-2 { order: 2; }
.gp-ord-3 { order: 3; }
.gp-ord-4 { order: 4; }
.gp-ord-5 { order: 5; }
.gp-ord-6 { order: 6; }
.gp-ord-7 { order: 7; }
.gp-ord-8 { order: 8; }
.gp-ord-9 { order: 9; }
.gp-ord-10 { order: 10; }
.gp-ord-11 { order: 11; }
.gp-ord-12 { order: 12; }
.gp-ord-13 { order: 13; }
.gp-ord-14 { order: 14; }
.gp-ord-15 { order: 15; }
.gp-ord-16 { order: 16; }
.gp-ord-17 { order: 17; }
.gp-ord-18 { order: 18; }
.gp-ord-19 { order: 19; }
.gp-ord-20 { order: 20; }
.gp-ord-21 { order: 21; }
.gp-ord-22 { order: 22; }
.gp-ord-23 { order: 23; }
.gp-ord-24 { order: 24; }
.gp-ord-25 { order: 25; }
.gp-ord-26 { order: 26; }
.gp-ord-27 { order: 27; }
.gp-ord-28 { order: 28; }
.gp-ord-29 { order: 29; }
.gp-ord-30 { order: 30; }
.gp-ord-31 { order: 31; }
.gp-ord-32 { order: 32; }
.gp-ord-33 { order: 33; }
.gp-ord-34 { order: 34; }
.gp-ord-35 { order: 35; }
.gp-ord-36 { order: 36; }
.gp-ord-37 { order: 37; }
.gp-ord-38 { order: 38; }
.gp-ord-39 { order: 39; }
.gp-ord-40 { order: 40; }
@media (max-width: 700px) { .gp-grid, .gp-grid--edit { grid-auto-rows: auto; } .gp-grid > .gp-blk { grid-column: 1 / -1; grid-row: auto; } .gp-grid > .gp-blk > .gp-blk__body, .gp-grid > .gp-blk > .gp-blk__body > .gp-sp-card, .gp-grid > .gp-blk > .gp-blk__body > .gp-sp-feature, .gp-grid > .gp-blk > .gp-blk__body > .gp-custom { height: auto; } .gp-blk__body > .gp-sp-feature { min-height: 320px; } }
.gp-preview-note { margin: 0 0 10px; padding: 8px 12px; border: 1px dashed var(--gd-accent); border-radius: 8px; color: var(--gd-accent); font-size: var(--gd-font-sm); }
.gp-blk--bg { position: relative; overflow: hidden; border-radius: 9px; }
.gp-blk__bg { position: absolute; inset: 0; }
.gp-blk__bg .gp-picture, .gp-blk__bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gp-blk--bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #030b14e6, #0714219e 55%, #07142166); pointer-events: none; }
.gp-blk--bg > .gp-blk__body { position: relative; z-index: 1; }
.gp-blk--bg > .gp-photo-note { z-index: 2; }
/* F1 rotating content (home): slides are server-rendered; without JS only the first shows. */
.gp-rot { position: relative; min-width: 0; }
.gp-rot:not(.is-live) > .gp-rot__slide:not(:first-of-type) { display: none; }
.gp-rot__slide[hidden] { display: none; }
.gp-rot__slide > .gp-sp-feature, .gp-rot__slide > .gp-sp-side { height: 100%; }
.gp-rot__ctl { position: absolute; z-index: 4; top: 10px; right: 10px; display: flex; gap: 6px; align-items: center; padding: 4px 8px; border-radius: 999px; background: #030b14b8; border: 1px solid var(--gd-border); }
.gp-rot__ctl[hidden] { display: none; }
.gp-rot__ctl button { min-width: 28px; height: 28px; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; color: var(--gd-text); font: inherit; cursor: pointer; }
.gp-rot__ctl button:hover, .gp-rot__ctl button:focus-visible { background: #ffffff1f; outline: 2px solid var(--gd-accent); outline-offset: 1px; }
.gp-rot__dots { display: inline-flex; gap: 6px; align-items: center; }
.gp-rot__dots button { min-width: 0; width: 10px; height: 10px; padding: 0; background: #ffffff55; }
.gp-rot__dots button[aria-current] { background: var(--gd-accent); }
.gp-rot--side .gp-rot__ctl { top: auto; bottom: 8px; right: 8px; }
.gp-rot--side .gp-sp-card { padding-bottom: 46px; }
/* S02: F1 calendar filter and per-race state */
.gp-cal-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 13px 10px; }
.gp-cal-filter a { padding: 5px 12px; border: 1px solid var(--gd-divider); border-radius: 999px; color: var(--gd-text); text-decoration: none; font-size: var(--gd-font-sm); }
.gp-cal-filter a[aria-current] { border-color: var(--gd-accent); color: var(--gd-accent); font-weight: 700; }
.gp-race-calendar > a.gp-cal--upcoming > span { color: var(--gd-accent); font-weight: 700; }
.gp-race-calendar > a.gp-cal--pending > span { color: #f6b24a; }
.gp-race-calendar > a.gp-cal--result > span, .gp-race-calendar > a.gp-cal--unknown > span { color: var(--gd-text-secondary); }
.gp-race-calendar > a.is-next { border-left: 3px solid var(--gd-accent); padding-left: 8px; }
/* S03: F1 results index */
.gp-res-list { display: grid; padding: 0 13px 6px; }
.gp-res-row { display: grid; gap: 2px 12px; grid-template-columns: 9em 1fr; padding: 9px 0; border-top: 1px solid var(--gd-divider); color: var(--gd-text); text-decoration: none; font-size: var(--gd-font-sm); }
.gp-res-row time { grid-row: span 3; color: var(--gd-text-secondary); font-size: 11px; }
.gp-res-row strong { grid-column: 2; }
.gp-res-row__line { grid-column: 2; color: var(--gd-text-secondary); }
.gp-res-row__line b { color: var(--gd-accent); margin-right: 4px; }
.gp-res-note { margin: 8px 13px 12px; color: var(--gd-text-secondary); font-size: var(--gd-font-sm); }
@media (max-width: 520px) { .gp-res-row { grid-template-columns: 1fr; } .gp-res-row time { grid-row: auto; } .gp-res-row strong, .gp-res-row__line { grid-column: 1; } }
/* S04: F1 standings coverage line */
.gp-stand-note { margin: 6px 13px 10px; color: var(--gd-text-secondary); font-size: var(--gd-font-sm); }
/* S05: football league summary before the hero */
.gp-sp-summary { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.gp-sp-summary .gd-f1db-table td, .gp-sp-summary .gd-f1db-table th { padding: 4px 6px; }
.gp-sp-more { display: inline-block; margin-top: 8px; font-size: var(--gd-font-sm); color: var(--gd-accent); }
@media (max-width: 900px) { .gp-sp-summary { grid-template-columns: minmax(0, 1fr); } }
/* S06: football fixtures week window */
.gp-week-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 0 13px 10px; font-size: var(--gd-font-sm); }
.gp-week-nav strong { color: var(--gd-text); }
.gp-week-nav a { color: var(--gd-accent); text-decoration: none; }
.gp-week-nav [aria-disabled="true"] { opacity: .4; }
.gp-week-nav form { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.gp-week-nav input[type="date"] { padding: 3px 6px; border-radius: 6px; border: 1px solid var(--gd-divider); background: transparent; color: inherit; font: inherit; }
.gp-week-nav button { padding: 4px 12px; border-radius: 6px; border: 1px solid var(--gd-accent); background: transparent; color: var(--gd-accent); font: inherit; cursor: pointer; }
.gp-week-note { margin: 8px 13px 12px; color: var(--gd-text-secondary); font-size: var(--gd-font-sm); }
/* S08: club page */
.gp-team-all { margin: 12px 0; }
.gp-team-all > summary { cursor: pointer; color: var(--gd-accent); font-size: var(--gd-font-sm); padding: 6px 0; }
/* H1: card type standard (one scale for every card on the site) and the home hub.
   Standard: card title 22px/1.25 (two lines at most), card heading 14px bold with icon, body and rows 14px, meta 12px, row height 36px. */
:root { --gp-fs-title: 22px; --gp-fs-section: 18px; --gp-fs-heading: 14px; --gp-fs-item: 13px; --gp-fs-body: 14px; --gp-fs-meta: 12px; --gp-row-h: 36px; --gp-card-h: 384px; --gp-card-pad: 18px; }
.gp-rail-panel > .gp-heading h2 { font-size: var(--gp-fs-heading); font-weight: 700; }
.gp-rail-panel > .gp-heading > a { font-size: var(--gp-fs-meta); }
/* Left 2x2 of rotating cards, right two stacked cards. Row height is FIXED: a slide change never moves or resizes any card. */
.gp-home .gp-hub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); grid-template-areas: "g1 g2 y1" "p1 p2 y2"; grid-auto-rows: var(--gp-card-h); gap: 14px; margin: 0 0 16px; }
.gp-hub__g1 { grid-area: g1; } .gp-hub__g2 { grid-area: g2; } .gp-hub__p1 { grid-area: p1; } .gp-hub__p2 { grid-area: p2; } .gp-hub__y1 { grid-area: y1; } .gp-hub__y2 { grid-area: y2; }
.gp-hub__cell { display: grid; min-width: 0; min-height: 0; height: 100%; overflow: hidden; border-radius: 9px; }
:is(.gp-hub, .gp-hubwrap) .gp-rot { display: grid; min-height: 0; height: 100%; }
:is(.gp-hub, .gp-hubwrap) .gp-rot__slide { height: 100%; min-height: 0; min-width: 0; }
:is(.gp-hub, .gp-hubwrap) .gp-rot__slide > *, .gp-hub__cell > section, .gp-hub__cell > article { height: 100%; box-sizing: border-box; min-width: 0; }
/* feature (green) cards: one skeleton for every slide: tag, title (2 lines), date, counter slot, button; positions never depend on the content */
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature { min-height: 0; height: 100%; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature__copy { inset: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 0; padding: var(--gp-card-pad) var(--gp-card-pad) 52px; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature__copy > .gp-tag { margin: 0 0 10px; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.5em; margin: 0 0 8px; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-when { margin: 0 0 12px; font-size: var(--gp-fs-body); min-height: 1.4em; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature__copy > .gd-countdown { min-height: 104px; align-content: start; margin: 0 0 12px; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature__copy > .gd-countdown--date { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: baseline; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-feature__copy > .gp-button { margin-top: auto; }
/* list cards (pink and yellow): same panel, same heading, same row */
.gp-hub__list, .gp-hub__empty { display: flex; flex-direction: column; padding: var(--gp-card-pad); padding-bottom: 52px; overflow: hidden; }
.gp-hub__list > .gp-heading { flex: 0 0 auto; }
:is(.gp-hub, .gp-hubwrap) .gp-heading { flex-wrap: nowrap; gap: 8px; }
:is(.gp-hub, .gp-hubwrap) .gp-heading h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.gp-hub, .gp-hubwrap) .gp-heading > a { flex: 0 0 auto; white-space: nowrap; }
.gp-hub__rows, :is(.gp-hub, .gp-hubwrap) .gp-sp-standings ol { margin: 0; padding: 0; list-style: none; }
.gp-hub__rows li { border-top: 1px solid var(--gd-border); }
.gp-hub__rows li:first-child { border-top: 0; }
.gp-hub__rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: var(--gp-row-h); color: var(--gd-text); font-size: var(--gp-fs-body); }
.gp-hub__rows span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-hub__rows strong { color: var(--gd-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-standings { padding: var(--gp-card-pad); padding-bottom: 52px; overflow: hidden; }
:is(.gp-hub, .gp-hubwrap) .gp-sp-standings li { min-height: var(--gp-row-h); padding-block: 0; font-size: var(--gp-fs-body); }
:is(.gp-hub, .gp-hubwrap) .gp-sp-standings a, :is(.gp-hub, .gp-hubwrap) .gp-sp-standings span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-hub__panel { height: 100%; }
.gp-hub__panel > .gp-rail-panel { height: 100%; box-sizing: border-box; }
.gp-hub__program .gd-desk-events { margin: 0; padding: 0; list-style: none; }
.gp-hub__program .gd-desk-events a { min-height: var(--gp-row-h); padding: 6px 0; font-size: var(--gp-fs-body); }
.gp-hub__program .gd-desk-event-main strong, .gp-hub__program .gd-desk-event-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-hub__program .gd-desk-events a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.gp-hub__program .gd-desk-event-state, .gp-hub__program .gd-desk-event-arrow { display: none; }
.gp-hub__program .gd-desk-event-main { min-width: 0; display: grid; }
.gp-hub__empty { align-items: center; justify-content: center; text-align: center; color: var(--gd-text-secondary); font-size: var(--gp-fs-body); }
/* controls: bottom centre, semi-transparent; the pause button stays reachable by keyboard only */
:is(.gp-hub, .gp-hubwrap) .gp-rot__ctl { top: auto; bottom: 10px; right: auto; left: 50%; transform: translateX(-50%); background: #030b1452; border-color: #ffffff1a; }
:is(.gp-hub, .gp-hubwrap) .gp-rot__ctl [data-rot="toggle"] { position: absolute; width: 1px; height: 1px; min-width: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }
:is(.gp-hub, .gp-hubwrap) .gp-rot__ctl [data-rot="toggle"]:focus-visible { position: static; width: auto; height: 28px; min-width: 28px; clip: auto; }
@media (min-width: 701px) and (max-width: 1180px) { .gp-home .gp-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "g1 g2" "p1 p2" "y1 y2"; } }
@media (max-width: 700px) { .gp-home .gp-hub { grid-template-columns: minmax(0, 1fr); grid-template-areas: "g1" "g2" "p1" "p2" "y1" "y2"; } :root { --gp-card-h: 400px; } }

/* H2: one heading scale for every page: page title 35px, section 18px, card/panel heading 14px, item title 13px, feature title 22px. */
.gp-heading h2, .gp-data-panel h2, .gp-detail .gp-data-panel h2, .gp-weekend > h2, .gp-credit-grid h2, .gp-f1-summary__head h2, .gp-sp-empty h2 { font-size: var(--gp-fs-section); line-height: 1.3; font-weight: 700; }
.gp-rail-panel > .gp-heading h2, .gp-detail .gp-data-panel h3, .gp-data-panel h3, .gp-nba-conference h3 { font-size: var(--gp-fs-heading); line-height: 1.3; font-weight: 700; }
.gp-sp-card h2, .gp-sp-card h3, .gp-f1-card h3, .gp-next-up h2 { margin: 0 0 8px; font-size: var(--gp-fs-heading); line-height: 1.3; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--gd-text); }
.gp-event h3, .gp-race-upcoming .gp-event h3, .gp-race-minis h3, .gp-winner-grid h3, .gp-profile h3, .gp-people--basketball .gp-profile h3 { font-size: var(--gp-fs-item); line-height: 1.3; }
/* long-form pages (privacy, terms, sources) and search: same page title, then 22px sections and 18px sub-sections; their reading text is unchanged */
.gd-privacy-page h1, .gd-desk-search header h1 { font-size: 35px; line-height: 1.15; letter-spacing: -.5px; font-weight: 750; }
.gd-privacy-page .gd-privacy-content h2 { font-size: var(--gp-fs-title); line-height: 1.3; }
.gd-privacy-page .gd-privacy-content h3 { font-size: var(--gp-fs-section); line-height: 1.3; }
.gd-desk-search .gd-desk-search-group h2 { font-size: var(--gp-fs-section); line-height: 1.3; }

/* H3: the hub cards as blocks of the operator layout: a block of 1, 2 or 3 rows is 1, 2 or 3 card heights tall */
.gp-rows-1 > .gp-blk__body > .gp-hub__cell { height: var(--gp-card-h); }
.gp-rows-2 > .gp-blk__body > .gp-hub__cell { height: calc(2 * var(--gp-card-h) + 12px); }
.gp-rows-3 > .gp-blk__body > .gp-hub__cell { height: calc(3 * var(--gp-card-h) + 24px); }
.gp-grid > .gp-blk > .gp-blk__body > .gp-hub__cell .gp-rot, .gp-grid > .gp-blk > .gp-blk__body > .gp-hub__cell .gp-sp-feature { height: 100%; }

/* P3 fixes: rotator dots are 24px targets (the dot itself stays 10px), the phone navigation shows every sport (2 columns), session rows never break a word into letters */
.gp-rot__dots { gap: 0; }
.gp-rot__dots button { position: relative; width: 24px; height: 24px; min-width: 24px; background: transparent !important; }
.gp-rot__dots button::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #ffffff55; }
.gp-rot__dots button[aria-current="true"] { background: transparent !important; }
.gp-rot__dots button[aria-current="true"]::before { background: var(--gd-accent); }
.gp-sp-results li.gp-sp-sess { grid-template-columns: auto minmax(0, 1fr); }
.gp-sp-sess > span { white-space: nowrap; }
.gp-sp-sess time { white-space: normal; text-align: right; }
@media (max-width: 600px) { .gd-site-header .gd-phase12-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 8px; } .gd-site-header .gd-phase12-nav a { min-width: 0; flex: none; justify-content: flex-start; } }
/* P3 (Q04): phone standings keep the rank, team, played, goal difference and points readable without sideways scrolling: the summary card fits its card, the full table drops goals for/against (columns marked gp-col-opt) */
.gp-sp-summary__table .gd-f1db-table table { min-width: 0; table-layout: auto; }
.gp-sp-summary__table .gd-f1db-table td:nth-child(2), .gp-sp-summary__table .gd-f1db-table th:nth-child(2) { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .gd-ball-table table { min-width: 0; }
  .gd-ball-table .gp-col-opt { display: none; }
  .gd-ball-table th:first-child { min-width: 0; }
  .gd-ball-table td, .gd-ball-table th { padding: 6px 5px; }
  .gd-ball-table th[scope="row"] { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* E7d: free content card (title, text, optional link) */
.gp-custom { display: grid; gap: 10px; align-content: start; }
.gp-custom > h2 { margin: 0; }
.gp-custom > p { margin: 0; font-size: var(--gp-fs-body); color: var(--gd-text-secondary); overflow-wrap: anywhere; }
.gp-custom__link { justify-self: start; }
