/* Racetrack Wiki — an editorial reference, designed for reading and discovery. */
:root {
  color-scheme: light;
  --ink: var(--rw-black);
  --muted: var(--rw-muted);
  --paper: var(--rw-white);
  --white: var(--rw-white);
  --line: var(--rw-rule);
  --soft: var(--rw-surface);
  --radius: 12px;
  --sidebar-width: 224px;
  --topbar-height: 72px;
  --shadow: 0 5px 20px rgb(17 19 21 / 4%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .45; }
input, select, textarea { min-width: 0; }
input[type="search"] { -webkit-appearance: none; appearance: none; }
input::placeholder { color: var(--rw-muted); opacity: 1; }
select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
figure, dl, dd { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; line-height: 1.2; }
h1 { font-size: clamp(32px, 3.15vw, 48px); letter-spacing: -.045em; }
h2 { font-size: 24px; letter-spacing: -.025em; }
h3 { font-size: 17px; letter-spacing: -.015em; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 7px; }
strong { font-weight: 650; }
small { font-size: .8em; }
::selection { color: var(--rw-black); background: var(--rw-surface); }
:focus-visible { outline: 2px solid var(--rw-muted); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; vertical-align: middle; }
.flag { font-size: 18px; line-height: 1; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 11px 18px; background: white; color: var(--rw-black); border: 2px solid var(--rw-black); border-radius: 4px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Persistent navigation and frame. */
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 34px 20px 25px; background: var(--rw-black); color: var(--rw-white); overflow-y: auto; overscroll-behavior: contain; }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; padding: 0 10px; margin-bottom: 48px; color: var(--rw-white); }
.brand > span { font-size: 12px; line-height: 1.3; letter-spacing: .12em; font-weight: 450; }
.brand strong { display: block; font-size: 22px; letter-spacing: .14em; }
.brand img { flex-shrink: 0; }
.sidebar-label { margin: 0 12px 10px; color: var(--rw-muted-on-dark); font-size: 12px; font-weight: 600; letter-spacing: .15em; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 12px; border-radius: 4px; color: var(--rw-white); font-size: 12px; font-weight: 500; transition: color .16s, background .16s; }
.nav-item > .icon { opacity: .78; }
.nav-item:hover { color: white; background: var(--rw-black); }
.nav-item.active { color: var(--rw-white); background: var(--rw-black); }
.nav-item.active > .icon { color: var(--rw-white); opacity: 1; }
.nav-count { display: grid; place-items: center; min-width: 21px; height: 20px; margin-left: auto; padding: 0 5px; border-radius: 4px; background: rgb(17 19 21 / 10%); color: var(--rw-white); font-size: 12px; }
.sidebar-rule { height: 1px; background: var(--rw-black); margin: 26px 12px 24px; }
.sidebar-bottom { margin-top: auto; padding: 52px 12px 0; }
.edition-mark { display: flex; align-items: center; gap: 7px; color: var(--rw-muted-on-dark); font-size: 12px; font-weight: 600; letter-spacing: .13em; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rw-surface); }
.sidebar-bottom p { margin: 13px 0 16px; color: var(--rw-muted-on-dark); font-size: 12px; line-height: 1.8; }
.sidebar-method { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--rw-white); }
.sidebar a:focus-visible { outline-color: var(--rw-rule); }
.site-frame { margin-left: var(--sidebar-width); min-height: 100svh; display: flex; flex-direction: column; }
#main { flex: 1; min-width: 0; }
#main:focus { outline: none; }
#topbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgb(17 19 21 / 96%); backdrop-filter: blur(12px); }
.topbar-inner { height: var(--topbar-height); max-width: 1480px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.global-search-button { display: flex; align-items: center; gap: 11px; width: min(100%, 360px); min-height: 42px; padding: 8px 0; color: var(--rw-muted); text-align: left; font-size: 12px; }
.global-search-button:hover { color: var(--ink); }
.global-search-button kbd { display: grid; place-items: center; width: 23px; height: 23px; margin-left: auto; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); color: var(--rw-muted); font-family: inherit; font-size: 12px; }
.topbar-end { display: flex; align-items: center; gap: 25px; }
.research-stamp { font-size: 12px; white-space: nowrap; color: var(--muted); }
.unit-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; min-width: 74px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--rw-white); font-size: 12px; color: var(--muted); }
.selected-unit { color: var(--ink); font-weight: 700; }
.unit-slash { color: var(--rw-muted-on-dark); }
.mobile-menu, .mobile-brand { display: none !important; }
.page { max-width: 1400px; margin: 0 auto; padding: 40px 40px 68px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin: 10px 0 35px; }
.page-heading > div { min-width: 0; }
.page-heading > .button { flex: 0 0 auto; margin-bottom: 4px; }
.eyebrow { margin: 0 0 13px; color: var(--rw-muted); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lede { max-width: 730px; margin: 17px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 29px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Shared controls, information labels and states. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.4; transition: background .16s, border-color .16s; }
.button.primary { background: var(--rw-black); color: var(--rw-white); }
.button.primary:hover { background: var(--rw-black); }
.button.secondary { background: var(--rw-white); border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: var(--rw-surface); border-color: var(--rw-rule); }
.button.is-saved, .button.is-selected { background: var(--rw-surface); border-color: var(--rw-rule); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 38px; height: 38px; padding: 8px; border-radius: 4px; color: var(--rw-muted); transition: background .16s, color .16s; }
.icon-button:hover { background: var(--soft); color: var(--ink); }
.icon-button.is-saved { color: var(--rw-black); background: var(--rw-surface); }
.is-saved .icon svg { fill: var(--rw-surface); }
.text-button { padding: 7px 3px; color: var(--rw-black); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 7px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); color: var(--rw-black); font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge.grade { color: var(--rw-black); background: var(--rw-surface); border-color: var(--rw-rule); }
.badge.high, .badge.High, .badge.verified { background: var(--rw-surface); color: var(--rw-black); }
.badge.medium, .badge.Medium, .badge.limited, .badge.Limited, .badge.warning { background: var(--rw-surface); color: var(--rw-black); border-color: var(--rw-rule); }
.measure { font-variant-numeric: tabular-nums; white-space: nowrap; }
.measure small { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; }
.callout { display: flex; align-items: flex-start; gap: 11px; margin: 24px 0; padding: 18px 20px; border: 1px solid var(--rw-rule); border-left: 3px solid var(--rw-control-boundary); border-radius: 4px; background: var(--rw-surface); color: var(--rw-black); font-size: 12px; }
.callout > .icon { margin-top: 3px; }
.callout strong { display: block; font-size: 12px; }
.callout p { margin: 4px 0 0; line-height: 1.75; }
.callout.warning, .callout.caution { background: var(--rw-surface); border-color: var(--rw-rule); border-left-color: var(--rw-control-boundary); color: var(--rw-muted); }
.callout a { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { display: flex; align-items: center; flex-direction: column; padding: 64px 25px; border: 1px dashed var(--rw-rule); border-radius: var(--radius); background: var(--rw-white); text-align: center; }
.empty-state > .icon { color: var(--rw-muted); margin-bottom: 20px; }
.empty-state h2 { font-size: 22px; }
.empty-state p { max-width: 470px; margin: 12px 0 24px; color: var(--muted); font-size: 13px; }

/* Homepage and directory. */
.explore-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; margin: 0 0 45px; }
.hero-copy { padding: 10px 0; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { font-size: clamp(39px, 3.7vw, 59px); line-height: 1.11; letter-spacing: -.055em; font-weight: 620; }
.hero-copy h1 em { font-family: Georgia, "Times New Roman", serif; font-size: 1.04em; font-weight: 400; letter-spacing: -.06em; color: var(--rw-muted); }
.hero-copy > p:not(.eyebrow) { max-width: 405px; margin: 21px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.hero-numbers { display: flex; gap: 35px; margin-top: 30px; }
.hero-numbers > span { display: flex; flex-direction: column; gap: 3px; font-size: 12px; letter-spacing: .13em; color: var(--muted); }
.hero-numbers strong { font-size: 28px; font-weight: 550; line-height: 1.3; color: var(--ink); letter-spacing: -.04em; }
.hero-image { position: relative; align-self: stretch; min-height: 337px; overflow: hidden; border-radius: 8px; background: var(--rw-surface-on-dark); isolation: isolate; }
.hero-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgb(17 19 21 / 80%)); }
.hero-image-label { position: absolute; bottom: 35px; left: 25px; right: 25px; color: white; }
.hero-image-label .eyebrow { margin-bottom: 8px; color: var(--rw-white); font-size: 12px; }
.hero-image-label > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.hero-image-label strong { font-size: 25px; letter-spacing: -.025em; }
.hero-image-label > span:last-child { display: block; margin-top: 4px; color: var(--rw-white); font-size: 12px; }
.hero-photo-credit { position: absolute; right: 12px; bottom: 8px; color: var(--rw-white); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.directory { scroll-margin-top: 95px; }
.directory-heading, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.directory-heading h2 { font-size: 22px; }
.directory-edition { padding: 4px 8px; border: 1px solid var(--rw-rule); border-radius: 4px; color: var(--rw-muted); font-size: 12px; }
.collection-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 21px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--rw-muted); font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .16s, border-color .16s; }
.chip:hover { background: var(--rw-surface); border-color: var(--rw-rule); }
.chip.active { color: var(--rw-white); border-color: var(--rw-black); background: var(--rw-black); }
.filter-bar { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(145px, .7fr) minmax(145px, .65fr) auto auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--rw-white); }
.directory-search { display: flex; align-items: center; gap: 9px; min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-white); color: var(--rw-muted); }
.directory-search:focus-within { outline: 2px solid var(--rw-black); outline-offset: 2px; }
.directory-search input { width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 12px; }
.select-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.select-field > span { font-size: 12px; font-weight: 650; letter-spacing: .09em; color: var(--rw-muted); text-transform: uppercase; }
.select-field select { width: 100%; min-height: 42px; padding: 8px 26px 8px 10px; border: 1px solid var(--rw-rule); border-radius: 4px; background-color: var(--rw-white); font-size: 12px; }
.filter-toggle { white-space: nowrap; }
.view-toggle { display: flex; gap: 3px; height: 42px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; background: var(--rw-white); }
.view-toggle button { display: grid; place-items: center; width: 32px; border-radius: 4px; color: var(--rw-muted); }
.view-toggle button.active { background: var(--rw-white); color: var(--rw-black); box-shadow: 0 1px 4px rgb(17 19 21 / 10%); }
.advanced-filters { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 4px; background: var(--rw-surface); }
.advanced-filters.is-open { display: grid; }
.active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
.active-filter { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 8px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); font-size: 12px; overflow-wrap: anywhere; }
.results-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 16px; color: var(--rw-muted); font-size: 12px; }
.results-meta p { margin: 0; }
.results-meta strong { color: var(--ink); }
.results-meta > span { font-size: 12px; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.track-card { display: flex; flex-direction: column; min-width: 0; padding: 18px 21px 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 2px 3px rgb(17 19 21 / 2%); transition: border-color .18s, box-shadow .18s; }
.track-card:hover { border-color: var(--rw-rule); box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -5px -8px 10px 0; }
.country-label { display: flex; align-items: center; gap: 7px; color: var(--rw-muted); font-size: 12px; }
.country-label .flag { font-size: 14px; }
.card-title-block { min-height: 65px; }
.track-title { display: inline-block; font-size: 20px; line-height: 1.23; font-weight: 650; letter-spacing: -.035em; }
.track-title:hover { color: var(--rw-black); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.track-location { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--rw-muted); }
.card-facts { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 10px; padding: 18px 0 16px; margin: 4px 0 15px; border-bottom: 1px solid var(--rw-rule); }
.metric { min-width: 0; }
.metric-label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rw-muted); line-height: 1.5; }
.metric-value { margin-top: 5px; color: var(--rw-black); font-size: 20px; letter-spacing: -.045em; line-height: 1.25; font-weight: 550; font-variant-numeric: tabular-nums; }
.metric-note { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.card-facts .measure small { font-size: 12px; margin-left: 3px; }
.card-character { flex: 1; margin: 0 0 19px; color: var(--rw-muted); font-size: 12px; line-height: 1.7; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-badges { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.card-badges .badge { font-size: 12px; padding: 2px 5px; }
.demand-dot { display: inline-flex; align-items: center; gap: 4px; color: var(--rw-muted); font-size: 12px; white-space: nowrap; }
.demand-dot::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--rw-surface-on-dark); }
.demand-advanced::before { background: var(--rw-surface-on-dark); }
.demand-expert::before { background: var(--rw-surface-on-dark); }
.compare-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 5px 0 5px 6px; font-size: 12px; color: var(--rw-muted); white-space: nowrap; }
.compare-button:hover, .compare-button.is-selected { color: var(--rw-black); }
.compare-button.is-selected { font-weight: 650; }
.track-grid.is-list { grid-template-columns: 1fr; }
.list-card { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(170px, 1.25fr) minmax(155px, 1fr); gap: 10px 24px; padding: 17px 22px; }
.list-card .card-top { grid-column: 1 / -1; margin: -6px -7px -7px 0; }
.list-card .card-title-block { min-height: 0; }
.list-card .card-facts { margin: 0; padding: 0; border: 0; align-items: start; }
.list-card .card-character { grid-row: 2 / 4; grid-column: 3; margin: 0; align-self: start; }
.list-card .card-bottom { grid-column: 1 / 3; }
.pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0; }
.pagination button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 4px; color: var(--rw-muted); font-size: 12px; }
.pagination button:hover { background: var(--rw-surface); }
.pagination button.active { color: white; background: var(--rw-black); border-color: var(--rw-black); }
.directory-note { display: flex; align-items: flex-start; gap: 8px; margin: 23px 0 0; color: var(--rw-muted); font-size: 12px; line-height: 1.7; }
.directory-note .icon { margin-top: 2px; }

/* Country index and rankings. */
.country-region { border-bottom: 1px solid var(--rw-rule); scroll-margin-top: 6rem; }
.country-region > summary { cursor: pointer; padding: .9rem .2rem; min-height: 44px; }
.country-region > summary strong { margin-inline: .45rem .75rem; font-size: 1.125rem; }
.country-region > summary span { color: var(--rw-muted); font-size: .875rem; }
.country-region .country-grid { padding-block: .25rem 1.25rem; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.country-card { display: flex; align-items: center; gap: 15px; min-width: 0; padding: 21px 20px; border: 1px solid var(--line); border-radius: 8px; background: white; transition: border-color .16s, box-shadow .16s; }
.country-card:hover { border-color: var(--rw-rule); box-shadow: var(--shadow); }
.country-card > .flag { font-size: 28px; }
.country-card > div { flex: 1; min-width: 0; }
.country-card h3 { font-size: 16px; }
.country-card p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.country-count { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 4px; color: var(--rw-muted); background: var(--rw-surface); font-size: 12px; }
.country-card > .icon { color: var(--rw-muted); }
.ranking-controls { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.segmented { display: inline-flex; gap: 3px; flex-wrap: wrap; padding: 4px; border: 1px solid var(--line); border-radius: 4px; background: var(--rw-surface); }
.segmented button { min-height: 37px; padding: 9px 14px; border-radius: 4px; color: var(--rw-muted); font-size: 12px; }
.segmented button.active { background: white; color: var(--ink); box-shadow: 0 1px 4px rgb(17 19 21 / 8%); }
.ranking-controls > .select-field { min-width: 190px; }
.ranking-note { display: flex; align-items: flex-start; gap: 9px; padding: 17px 19px; margin: 0 0 24px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); color: var(--rw-muted); font-size: 12px; line-height: 1.75; }
.ranking-note > .icon { margin-top: 2px; }
.ranking-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.ranking-row { display: grid; grid-template-columns: 35px minmax(180px, 1.3fr) minmax(70px, .8fr) 90px 38px 70px; align-items: center; gap: 20px; padding: 20px 22px; }
.ranking-row + .ranking-row { border-top: 1px solid var(--rw-rule); }
.ranking-row:hover { background: var(--rw-white); }
.rank-number { color: var(--rw-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ranking-row:nth-child(-n+3) .rank-number { color: var(--rw-muted); }
.rank-track { min-width: 0; }
.rank-track > a { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.rank-track > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rank-track p { display: flex; align-items: flex-start; gap: 7px; margin: 5px 0 0; color: var(--rw-muted); font-size: 12px; line-height: 1.6; }
.rank-track .flag { font-size: 12px; margin-top: 2px; }
.rank-bar { height: 5px; border-radius: 4px; background: var(--rw-surface); overflow: hidden; }
.rank-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--rw-surface-on-dark); }
.rank-value { text-align: right; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.rank-value small { font-size: 12px; color: var(--rw-muted); font-weight: 400; letter-spacing: 0; }

/* Full venue articles. All article photographs retain their entire frame. */
.track-header { margin-bottom: 28px; }
.track-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.track-title-row > div:first-child { min-width: 0; }
.track-title-row h1 { max-width: 880px; font-size: clamp(31px, 3.2vw, 47px); }
.track-heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-top: 15px; color: var(--muted); font-size: 12px; }
.track-heading-meta .flag { font-size: 16px; }
.track-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; padding-top: 5px; }
.track-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 28px 0; border: 1px solid var(--line); border-radius: 8px; background: white; }
.track-metrics .metric { padding: 22px 23px; }
.track-metrics .metric + .metric { border-left: 1px solid var(--line); }
.track-metrics .metric-value { margin-top: 8px; font-size: 28px; }
.track-metrics .metric-label { font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; align-items: start; }
.article-main, .article-aside { min-width: 0; }
.article-aside { position: sticky; top: 98px; display: grid; gap: 20px; max-height: calc(100svh - 122px); overflow-y: auto; scrollbar-width: thin; padding: 1px 1px 3px; }
.contents-nav, .fact-panel { padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--rw-white); }
.contents-nav h2, .contents-nav h3, .fact-panel h2, .fact-panel h3 { margin-bottom: 16px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.contents-nav { display: flex; flex-direction: column; align-items: stretch; }
.contents-nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rw-rule); color: var(--rw-muted); font-size: 12px; line-height: 1.6; }
.contents-nav a:last-child { border-bottom: 0; }
.contents-nav a:hover, .contents-nav a.active { color: var(--rw-black); }
.contents-nav a.active { font-weight: 650; }
.fact-panel .fact-row { display: block; padding: 11px 0; }
.fact-panel .fact-row dt { margin-bottom: 3px; font-size: 12px; }
.fact-panel .fact-row dd { font-size: 12px; }
.article-section { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 98px; }
.article-section:last-child { border-bottom: 0; }
.article-section h2 { margin-bottom: 18px; font-size: 23px; }
.article-section h3 { margin: 24px 0 12px; font-size: 16px; }
.article-section p { margin: 0 0 15px; color: var(--rw-muted); font-size: 13px; line-height: 1.85; }
.article-section ul, .article-section ol { color: var(--rw-muted); font-size: 12px; line-height: 1.85; }
.article-section p:last-child { margin-bottom: 0; }
.article-section a:not(.button, .visitor-action):not(.track-title) { color: var(--rw-black); text-decoration: underline; text-decoration-color: var(--rw-rule); text-underline-offset: 3px; }
.article-section p.section-sources { margin-top: 13px; color: var(--rw-muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.section-sources .source-ref { font-variant-numeric: tabular-nums; }
.venue-photo { width: 100%; margin: 0 0 30px; }
.venue-photo > img, .venue-photo.article > img, .venue-photo.preserve-photo > img { position: static; display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; border-radius: 8px; background: var(--rw-surface); }
.venue-photo figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; padding: 10px 2px 0; color: var(--rw-muted); font-size: 12px; line-height: 1.7; }
.venue-photo figcaption > span { flex: 1 1 220px; }
.venue-photo figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
.fact-row { display: grid; grid-template-columns: minmax(95px, .9fr) minmax(0, 1.3fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rw-rule); }
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { color: var(--rw-muted); font-size: 12px; line-height: 1.7; }
.fact-row dd { color: var(--rw-black); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 21px 0; }
.score-item { display: grid; grid-template-columns: 1fr auto; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 12px; }
.score-item > strong { font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.score-item small { color: var(--muted); font-size: 12px; font-weight: 400; }
.score-bar { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 4px; background: var(--rw-surface); }
.score-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--rw-surface-on-dark); }
.series-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.series-tags > span, .series-tags > a { padding: 5px 9px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); color: var(--rw-muted); font-size: 12px; }
.layout-list { display: grid; gap: 12px; margin: 20px 0; }
.layout-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--rw-white); }
.layout-card-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.layout-card-heading h3 { margin: 0; font-size: 14px; }
.layout-card-heading > strong { font-size: 15px; }
.layout-card p { margin: 6px 0 0; font-size: 12px; }
.layout-card .fact-row { padding: 9px 0; }
.research-gaps { padding: 20px 21px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); }
.research-gaps h3 { margin-top: 0; color: var(--rw-muted); }
.research-gaps p, .research-gaps li { color: var(--rw-muted); font-size: 12px; }
.research-gaps ul { margin-bottom: 0; }
.related-section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-section > h2 { margin-bottom: 20px; }
.related-section .track-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Source records, methodological notes and downloads. */
.source-list, .source-results { display: grid; gap: 12px; padding: 0; list-style: none; }
.source-list li { margin-top: 0; }
.source-item { min-width: 0; padding: 17px 19px; border: 1px solid var(--line); border-radius: 4px; background: white; scroll-margin-top: 100px; }
.source-item:target { border-color: var(--rw-rule); box-shadow: 0 0 0 3px var(--rw-rule); }
.source-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 15px; }
.source-heading > a, .source-heading h3, .source-item > a { color: var(--rw-black); font-size: 12px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.source-heading > a:hover, .source-item > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.source-item p { margin: 8px 0 0; color: var(--rw-muted); font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.source-type { display: inline-flex; align-items: center; width: fit-content; padding: 2px 6px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); color: var(--rw-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.source-venue { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; color: var(--rw-muted); font-size: 12px; }
.source-venue:hover { text-decoration: underline; }
.sources-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(160px, .65fr) minmax(160px, .65fr); align-items: end; gap: 14px; margin-bottom: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.sources-count { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.method-grid, .download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 25px 0 35px; }
.method-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.method-card h2, .method-card h3 { margin-bottom: 13px; font-size: 19px; }
.method-card p, .method-card li { color: var(--rw-muted); font-size: 12px; line-height: 1.8; }
.method-card p:last-child, .method-card ul:last-child { margin-bottom: 0; }
.method-card a { color: var(--rw-black); text-decoration: underline; text-underline-offset: 3px; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 23px; border: 1px solid var(--rw-rule); border-radius: 8px; background: var(--rw-surface); transition: border-color .16s; }
.download-card:hover { border-color: var(--rw-rule); }
.download-card h3 { font-size: 17px; }
.download-card p { flex: 1; margin: 0; color: var(--rw-muted); font-size: 12px; line-height: 1.8; }
.download-card > .icon { color: var(--rw-muted); }
.photo-credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 23px; }
.photo-credit-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.photo-credit-card img { width: 100%; height: auto; object-fit: contain; margin-bottom: 15px; border-radius: 4px; }
.photo-credit-card h3 { margin-bottom: 10px; font-size: 15px; }
.photo-credit-card p { margin-bottom: 10px; color: var(--rw-muted); font-size: 12px; line-height: 1.8; }
.photo-credit-card a { color: var(--rw-black); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.photo-credit-card a + a { margin-left: 10px; }

/* Comparison surfaces keep each venue in a consistent column. */
.compare-picker { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 13px; margin: 0 0 25px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--rw-white); }
.compare-picker > .select-field { flex: 1 1 250px; }
.compare-picker > p { margin: 0; color: var(--muted); font-size: 12px; }
.compare-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); align-items: start; gap: 14px; padding-bottom: 14px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--rw-rule) var(--rw-rule); }
.compare-column { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.compare-column-header { display: flex; flex-direction: column; align-items: flex-start; position: relative; min-height: 151px; padding: 22px 20px; background: var(--rw-surface); border-bottom: 1px solid var(--rw-rule); }
.compare-column-header h2 { margin: 8px 26px 7px 0; font-size: 19px; letter-spacing: -.025em; }
.compare-column-header > a { margin-right: 27px; font-size: 19px; font-weight: 650; line-height: 1.3; }
.compare-column-header > .icon-button { position: absolute; top: 10px; right: 8px; }
.compare-column-header p { margin: 0; color: var(--rw-muted); font-size: 12px; }
.compare-cell { min-height: 100px; padding: 18px 20px; border-bottom: 1px solid var(--rw-rule); overflow-wrap: anywhere; }
.compare-cell:last-child { border-bottom: 0; }
.compare-label { display: block; margin-bottom: 8px; color: var(--rw-muted); font-size: 12px; font-weight: 550; letter-spacing: .06em; text-transform: uppercase; }
.compare-value { font-size: 14px; line-height: 1.6; color: var(--rw-black); }
.compare-value .measure { font-size: 22px; letter-spacing: -.035em; }
.compare-note { margin: 8px 0 0; color: var(--rw-muted); font-size: 12px; line-height: 1.7; }
#compare-tray { position: fixed; left: calc(var(--sidebar-width) + 24px); right: 24px; bottom: 20px; z-index: 40; pointer-events: none; }
#compare-tray:empty { display: none; }
.compare-tray-inner { display: flex; align-items: center; gap: 20px; max-width: 1110px; margin: 0 auto; padding: 15px 19px; border: 1px solid var(--rw-control-boundary); border-radius: 8px; background: var(--rw-black); color: var(--rw-white); box-shadow: 0 8px 35px rgb(17 19 21 / 20%); pointer-events: auto; }
.tray-label { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: 12px; font-weight: 600; }
.tray-chips { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; flex-wrap: wrap; }
.tray-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 195px; min-height: 31px; padding: 3px 6px 3px 10px; border: 1px solid var(--rw-control-boundary); border-radius: 4px; background: var(--rw-black); font-size: 12px; }
.tray-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray-chip button { display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; color: var(--rw-white); }
.tray-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tray-actions .button { min-height: 36px; padding: 8px 13px; color: var(--rw-black); background: var(--rw-surface); font-size: 12px; border-color: transparent; }
.tray-actions .text-button { color: var(--rw-white); font-size: 12px; }
body:has(.compare-tray-inner) .site-frame { padding-bottom: 95px; }

/* Search, keyboard navigation and non-blocking feedback. */
dialog { width: min(680px, calc(100vw - 32px)); max-height: min(78svh, 760px); margin: max(55px, 12svh) auto auto; padding: 0; border: 1px solid var(--rw-rule); border-radius: 8px; background: var(--rw-white); color: var(--ink); box-shadow: 0 22px 90px rgb(17 19 21 / 30%); overflow: hidden; }
dialog::backdrop { background: rgb(17 19 21 / 42%); backdrop-filter: blur(4px); }
.search-modal, .modal { display: flex; flex-direction: column; max-height: inherit; }
.modal-search { display: flex; align-items: center; gap: 13px; padding: 17px 20px; border-bottom: 1px solid var(--line); background: white; }
.modal-search > span { color: var(--rw-muted); }
.modal-search input { flex: 1; width: 0; min-height: 39px; padding: 6px 0; border: 0; background: none; outline: none; font-size: 15px; }
.modal-search:focus-within { box-shadow: inset 0 -2px 0 var(--rw-black); }
#search-results, .search-results { min-height: 130px; overflow-y: auto; overscroll-behavior: contain; padding: 9px; }
.search-result { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 12px 14px; border: 1px solid transparent; border-radius: 4px; }
.search-result.active, .search-result:hover { background: var(--rw-surface); border-color: var(--rw-rule); }
.search-result-main { flex: 1; min-width: 0; }
.search-result-main > a, .search-result-main strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.search-result-main p { margin: 4px 0 0; color: var(--rw-muted); font-size: 12px; }
.search-result-country { display: flex; align-items: center; gap: 7px; color: var(--rw-muted); font-size: 12px; }
.search-result-country .flag { font-size: 13px; }
.search-result-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.search-result-actions .compare-button { padding: 8px; }
.search-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; padding: 12px 15px; border-top: 1px solid var(--line); background: var(--rw-surface); color: var(--rw-muted); font-size: 12px; }
#search-results > p, .search-results > p { padding: 25px; color: var(--muted); font-size: 12px; }
#toast { position: fixed; bottom: 28px; left: calc(50% + var(--sidebar-width) / 2); z-index: 90; max-width: min(440px, calc(100vw - 32px)); padding: 11px 18px; border: 1px solid var(--rw-control-boundary); border-radius: 4px; background: var(--rw-black); color: var(--rw-white); box-shadow: 0 4px 20px rgb(17 19 21 / 18%); opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .18s, transform .18s; font-size: 12px; text-align: center; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
body:has(.compare-tray-inner) #toast { bottom: 112px; }

/* Footer and server-rendered reading fallback. */
#footer { border-top: 1px solid var(--line); }
.footer-content { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 31px 40px 28px; }
.footer-content > p:first-child { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.footer-content strong { font-size: 12px; }
.footer-content span { font-size: 12px; color: var(--rw-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 4px; font-size: 12px; color: var(--rw-muted); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-note { grid-column: 1 / -1; margin: 0; color: var(--rw-muted); font-size: 12px; }
.static-article { max-width: 1000px; margin: 0 auto; padding: 48px 40px 80px; }
.static-article > a { display: inline-block; margin-bottom: 24px; color: var(--rw-black); }
.static-article h1 { margin-bottom: 30px; }
.static-article h2 { margin: 36px 0 15px; }
.static-article p, .static-article li { max-width: 80ch; color: var(--rw-muted); line-height: 1.85; }
.static-article a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.static-article dl { display: grid; grid-template-columns: 150px 1fr; gap: 12px 20px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.static-article dt { color: var(--muted); font-size: 12px; }
.static-article dd { font-size: 12px; }
.static-index { columns: 2; column-gap: 45px; }
.static-index li { break-inside: avoid; padding-bottom: 5px; font-size: 12px; }
#sidebar:empty + .site-frame { margin-left: 0; }
#topbar:empty, #footer:empty { display: none; }
.no-js { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; margin: 0; padding: 10px 24px; background: var(--rw-surface); color: var(--rw-black); border-top: 1px solid var(--rw-rule); font-size: 12px; text-align: center; }

/* Additional article structure and aligned comparison rows. */
.nav-overlay { display: none; }
.inline-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--rw-black); font-size: 13px; font-weight: 550; }
.full-track-name { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.track-city { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.track-header > .track-heading-meta { margin: 0 0 17px; }
.track-heading-meta .badge { max-width: 100%; white-space: normal; }
.track-metrics .metric-value small { margin-left: 4px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.article-section p.article-intro, .article-intro { color: var(--rw-black); font-size: 18px; line-height: 1.85; }
.article-section .measurement-note, .measurement-note { margin-top: 16px; color: var(--rw-muted); font-size: 12px; line-height: 1.8; }
.measurement-notes { margin: 22px 0; padding: 19px 22px; border: 1px solid var(--rw-rule); border-radius: 4px; background: var(--rw-surface); }
.measurement-notes h3 { margin: 0 0 12px; }
.measurement-notes p { font-size: 14px; }
.demand-feature { display: flex; align-items: center; gap: 24px; margin: 0 0 25px; padding: 22px; border: 1px solid var(--rw-rule); border-radius: 8px; background: var(--rw-surface); }
.demand-number { flex: 0 0 auto; font-size: 46px; font-weight: 550; line-height: 1.2; letter-spacing: -.05em; color: var(--rw-muted); }
.demand-number small { margin-left: 6px; font-size: 15px; font-weight: 400; color: var(--rw-muted); letter-spacing: 0; }
.demand-feature h3 { margin: 0 0 6px; font-size: 19px; }
.demand-feature p { margin: 0; font-size: 13px; }
.score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.score-item > div:first-child { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.score-item > div:first-child > span { color: var(--rw-muted); font-size: 12px; line-height: 1.5; }
.score-item > div:first-child > strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.article-section .rating-rationale { margin-top: 19px; font-size: 14px; }
.aside-note { padding: 0 5px; color: var(--rw-muted); font-size: 12px; line-height: 1.8; }
.contents-nav a { display: flex; align-items: baseline; gap: 11px; }
.contents-nav a > span { flex: 0 0 auto; font-size: 12px; color: var(--rw-muted); font-variant-numeric: tabular-nums; }
.source-id { color: var(--rw-muted); font-size: 12px; letter-spacing: .04em; }
.source-item > .source-title { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 14px; }
.source-title > .icon { align-self: flex-start; margin-top: 5px; }
.source-item .source-venue { display: inline-flex; align-items: center; margin: 14px 0 0; font-size: 12px; }
.source-venue .flag { font-size: 14px; }
.source-results li + li { margin-top: 0; }
.load-more { display: flex; margin: 25px auto 0; }
.loading-state { padding: 45px 20px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--muted); font-size: 14px; text-align: center; }
.about-intro { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 45px; margin: 0 0 38px; padding: 28px 0 34px; border-bottom: 1px solid var(--line); }
.about-intro .article-intro { margin: 0; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.about-stats .metric-value { font-size: 31px; }
.method-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0; }
.method-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; }
.method-card > .icon { margin-bottom: 17px; color: var(--rw-muted); }
.download-card { display: grid; grid-template-columns: 24px 1fr 20px; align-items: start; gap: 14px; }
.download-card h3 { margin: 0 0 10px; }
.download-card > .icon { margin-top: 3px; }
.credit-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; }
.credit-links a { min-height: 36px; display: inline-flex; align-items: center; }
.credit-links a + a { margin-left: 0; }
.compare-grid { grid-template-columns: repeat(var(--compare-columns, 2), minmax(230px, 1fr)); column-gap: 14px; row-gap: 0; align-items: stretch; }
.compare-column-header .card-top { width: 100%; margin: -9px -7px 9px 0; }
.compare-column-header h2 { margin: 0 0 10px; font-size: 22px; }
.compare-column-header { min-height: 185px; }
.compare-cell { min-height: 118px; }
.compare-column > :nth-child(6), .compare-column > :nth-child(15), .compare-column > :nth-child(18) { min-height: 280px; }
.compare-column-footer { padding: 20px; display: flex; align-items: flex-end; }
.compare-column-footer .button { width: 100%; }
.compare-picker > span { padding-bottom: 10px; color: var(--muted); font-size: 13px; }
@supports (grid-template-rows: subgrid) {
  .compare-grid { grid-template-rows: repeat(19, auto); }
  .compare-column { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 19; row-gap: 0; }
  .compare-column > :nth-child(6), .compare-column > :nth-child(15), .compare-column > :nth-child(18) { min-height: 118px; }
}
.search-section-label { margin: 10px 14px 8px; color: var(--rw-muted); font-size: 12px; letter-spacing: .1em; font-weight: 600; }
.search-result > a { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; min-height: 50px; }
.search-result-length { flex: 0 0 auto; color: var(--rw-black); font-size: 14px; }
.search-result-country { margin-top: 6px; }
.search-empty { padding: 25px 16px; color: var(--muted); font-size: 14px; }

/* Laptop and tablet layouts. */
@media (min-width: 1720px) {
  .track-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related-section .track-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-image { min-height: 375px; }
}
@media (max-width: 1240px) {
  .page { padding: 32px 28px 55px; }
  .topbar-inner { padding: 0 28px; }
  .footer-content { padding-left: 28px; padding-right: 28px; }
  .explore-hero { gap: 25px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-image { min-height: 340px; }
  .hero-numbers { gap: 26px; }
  .filter-bar { grid-template-columns: minmax(170px, 1fr) minmax(130px, .75fr) minmax(130px, .75fr) auto; gap: 10px; }
  .filter-bar .view-toggle { display: none; }
  .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-section .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 25px; }
  .track-title-row { flex-wrap: wrap; gap: 17px; }
  .track-actions { padding-top: 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .ranking-row { grid-template-columns: 27px minmax(170px, 1fr) minmax(45px, .4fr) 78px 34px; gap: 14px; padding: 18px; }
  .ranking-row > .compare-button { grid-column: 2; justify-self: start; margin-top: -10px; }
  .tray-label { display: none; }
  .compare-tray-inner { gap: 14px; }
  .sources-toolbar { grid-template-columns: minmax(180px, 1fr) minmax(130px, .65fr) minmax(130px, .65fr); }
}
@media (max-width: 1050px) {
  .research-stamp { display: none; }
  .hero-copy h1 { font-size: 38px; }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; }
  .hero-image { min-height: 325px; }
  .hero-image-label { left: 19px; right: 19px; }
  .hero-image-label strong { font-size: 21px; }
  .filter-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .directory-search { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; max-height: none; display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .article-main { grid-row: 1; }
  .article-aside .contents-nav { display: flex; }
  .track-metrics .metric { padding: 19px; }
  .track-metrics .metric-value { font-size: 25px; }
  .country-card { gap: 11px; padding: 19px 15px; }
  .country-card > .flag { font-size: 24px; }
  .country-card > .icon { display: none; }
  .ranking-controls { align-items: stretch; flex-direction: column; gap: 16px; }
  .ranking-controls > .select-field { max-width: 260px; }
  .sources-toolbar { grid-template-columns: 1fr 1fr; }
  .sources-toolbar .directory-search { grid-column: 1 / -1; }
  .compare-tray-inner { flex-wrap: wrap; }
  .tray-chips { flex-basis: 100%; }
  .tray-actions { margin-left: auto; }
  body:has(.compare-tray-inner) .site-frame { padding-bottom: 135px; }
  body:has(.compare-tray-inner) #toast { bottom: 152px; }
}

/* Navigation becomes a drawer; the document stays full width. */
@media (max-width: 900px) {
  :root { --topbar-height: 64px; }
  .sidebar { width: 260px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 12px 0 45px rgb(17 19 21 / 17%); }
  .site-frame { margin-left: 0; }
  .mobile-menu { display: inline-flex !important; width: 40px; height: 40px; margin-left: -8px; }
  .mobile-brand { display: inline-block !important; margin-right: auto; color: var(--ink); font-size: 12px; font-weight: 750; letter-spacing: .12em; white-space: nowrap; }
  .topbar-inner { gap: 13px; }
  .global-search-button { width: 39px; min-height: 40px; justify-content: center; padding: 8px; }
  .global-search-button > span:not(.icon), .global-search-button kbd { display: none; }
  .topbar-end { gap: 0; }
  .unit-toggle { min-width: 66px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .sidebar { transform: translateX(0); }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 45; background: rgb(17 19 21 / 43%); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
  .page { padding: 30px 28px 50px; }
  .explore-hero { gap: 30px; }
  .hero-copy h1 { font-size: clamp(37px, 5vw, 47px); }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .hero-image { min-height: 335px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; }
  .article-aside { position: sticky; top: 88px; display: grid; grid-template-columns: 1fr; max-height: calc(100svh - 110px); overflow-y: auto; }
  .article-aside .contents-nav { display: flex; }
  .article-main { grid-row: auto; }
  .track-metrics .metric { padding: 20px; }
  #compare-tray { left: 20px; right: 20px; bottom: 16px; }
  #toast { left: 50%; }
  .compare-tray-inner { flex-wrap: nowrap; }
  .tray-chips { flex-basis: auto; }
  body:has(.compare-tray-inner) .site-frame { padding-bottom: 100px; }
  body:has(.compare-tray-inner) #toast { bottom: 120px; }
}
@media (max-width: 680px) {
  .page { padding: 25px 20px 42px; }
  .topbar-inner { padding: 0 20px; }
  .page-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin: 5px 0 28px; }
  h1 { font-size: 34px; }
  .lede { font-size: 13px; margin-top: 14px; }
  .eyebrow { font-size: 12px; }
  .explore-hero { grid-template-columns: 1fr; gap: 25px; margin-bottom: 35px; }
  .hero-copy { padding: 5px 0 0; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-copy h1 { font-size: clamp(41px, 8.3vw, 53px); }
  .hero-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 17px; }
  .hero-numbers { gap: 37px; margin-top: 22px; }
  .hero-numbers strong { font-size: 27px; }
  .hero-image { min-height: 250px; aspect-ratio: 1.75; }
  .hero-image-label strong { font-size: 24px; }
  .hero-image-label { bottom: 32px; }
  .directory-heading { gap: 10px; margin-bottom: 17px; }
  .directory-heading h2 { font-size: 21px; }
  .collection-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 17px; padding: 0 20px 7px; scrollbar-width: none; }
  .collection-chips::-webkit-scrollbar { display: none; }
  .filter-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; }
  .filter-toggle { grid-column: 1 / -1; min-height: 36px; }
  .advanced-filters { grid-template-columns: 1fr 1fr; gap: 13px; padding: 14px; }
  .select-field select { min-height: 44px; }
  .directory-search { height: 44px; }
  .results-meta { align-items: flex-start; gap: 8px; margin-top: 20px; }
  .results-meta > span { text-align: right; max-width: 135px; }
  .track-grid, .related-section .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .track-card { padding: 15px; }
  .track-title { font-size: 18px; }
  .card-title-block { min-height: 72px; }
  .card-facts { gap: 5px; margin-bottom: 13px; }
  .card-facts .metric-value { font-size: 18px; }
  .card-facts .measure small { font-size: 12px; }
  .card-character { font-size: 12px; }
  .card-bottom { align-items: flex-end; }
  .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; }
  .compare-button { font-size: 12px; }
  .country-grid { grid-template-columns: 1fr; }
  .country-card { padding: 20px; }
  .country-card > .icon { display: inline-flex; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > span { font-size: 12px; }
  .ranking-row { grid-template-columns: 26px minmax(0, 1fr) 75px 33px; gap: 10px; padding: 17px 14px; }
  .rank-track > a { font-size: 13px; }
  .rank-track p { font-size: 12px; }
  .rank-bar { display: none; }
  .rank-value { font-size: 17px; }
  .ranking-row > .compare-button { font-size: 12px; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; }
  .segmented button { padding: 10px; font-size: 12px; }
  .track-title-row h1 { font-size: 34px; }
  .track-heading-meta { font-size: 12px; gap: 8px 10px; }
  .track-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 23px 0; }
  .track-metrics .metric { padding: 18px; }
  .track-metrics .metric + .metric { border-left: 0; }
  .track-metrics .metric:nth-child(even) { border-left: 1px solid var(--line); }
  .track-metrics .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .article-layout { display: flex; flex-direction: column; gap: 20px; }
  .article-main, .article-aside { width: 100%; }
  .article-aside { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: 1fr; }
  .article-aside .contents-nav { display: flex; }
  .article-section { margin-bottom: 28px; padding-bottom: 25px; }
  .article-section h2 { font-size: 22px; }
  .article-section p { font-size: 12px; }
  .score-grid { gap: 10px; }
  .score-item { padding: 13px; font-size: 12px; }
  .fact-row { grid-template-columns: minmax(110px, .8fr) minmax(0, 1.3fr); }
  .method-grid, .download-grid, .photo-credit-grid { grid-template-columns: 1fr; gap: 14px; }
  .sources-toolbar { padding: 14px; gap: 12px; }
  .source-item { padding: 15px; }
  .source-heading { align-items: flex-start; }
  .compare-picker { padding: 16px; }
  .compare-grid { grid-template-columns: repeat(var(--compare-columns, 2), minmax(245px, 76vw)); grid-auto-columns: minmax(245px, 76vw); margin-right: -20px; padding-right: 20px; gap: 12px; scroll-snap-type: x proximity; }
  .compare-column { scroll-snap-align: start; }
  #compare-tray { left: 10px; right: 10px; bottom: 10px; }
  .compare-tray-inner { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .tray-chips { flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tray-chip { flex: 0 0 auto; max-width: 190px; }
  .tray-actions { width: 100%; justify-content: flex-end; }
  .tray-actions .button { flex: 1; min-height: 38px; }
  .tray-actions .text-button { padding: 9px; }
  body:has(.compare-tray-inner) .site-frame { padding-bottom: 140px; }
  body:has(.compare-tray-inner) #toast { bottom: 145px; }
  dialog { margin-top: 20px; max-height: calc(100svh - 40px); border-radius: 8px; }
  .modal-search { padding: 12px 13px; gap: 9px; }
  .modal-search input { font-size: 14px; }
  .search-result { padding: 11px 9px; gap: 8px; }
  .search-result-main > a, .search-result-main strong { font-size: 13px; }
  .search-result-actions .compare-button { width: 34px; overflow: hidden; font-size: 0; padding: 8px; }
  .search-help { gap: 14px; font-size: 12px; }
  .footer-content { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  .footer-links { gap: 19px; }
  .footer-note { grid-column: auto; font-size: 12px; line-height: 1.8; }
  .static-article { padding: 30px 20px 75px; }
  .static-index { columns: 1; }
  .static-article dl { grid-template-columns: 90px 1fr; gap: 12px; padding: 17px; }
}
@media (max-width: 460px) {
  .page { padding-left: 17px; padding-right: 17px; }
  .topbar-inner { padding: 0 17px; gap: 8px; }
  .mobile-brand { font-size: 12px; letter-spacing: .1em; }
  .unit-toggle { padding: 7px 9px; min-width: 60px; }
  .hero-copy h1 { font-size: 41px; }
  .hero-image { min-height: 225px; }
  .hero-image-label strong { font-size: 23px; }
  .collection-chips { margin-left: -17px; margin-right: -17px; padding-left: 17px; padding-right: 17px; }
  .track-grid, .related-section .track-grid { grid-template-columns: 1fr; gap: 14px; }
  .track-card { padding: 18px 21px 17px; }
  .track-title { font-size: 23px; }
  .card-title-block { min-height: 0; }
  .card-top { margin-bottom: 10px; }
  .card-facts { gap: 15px; margin-top: 10px; padding-top: 13px; }
  .card-facts .metric-value { font-size: 23px; }
  .card-facts .measure small { font-size: 12px; }
  .card-character { font-size: 12px; }
  .card-badges { flex-direction: row; align-items: center; gap: 10px; }
  .card-bottom { align-items: center; }
  .compare-button { font-size: 12px; }
  .list-card { display: flex; }
  .list-card .card-top { margin: -5px -8px 10px 0; }
  .list-card .card-facts { margin: 10px 0 14px; padding: 10px 0 15px; border-bottom: 1px solid var(--rw-rule); }
  .list-card .card-character { margin-bottom: 15px; }
  .track-title-row h1 { font-size: 31px; }
  .track-actions { width: 100%; }
  .track-actions .button { flex: 1; }
  .source-heading > a { width: 100%; }
  .fact-row { grid-template-columns: minmax(90px, .8fr) minmax(0, 1.3fr); gap: 12px; }
  .sources-toolbar { grid-template-columns: 1fr; }
  .sources-toolbar .directory-search { grid-column: auto; }
  .compare-grid { margin-right: -17px; padding-right: 17px; }
  .ranking-row { grid-template-columns: 22px minmax(0, 1fr) 63px; }
  .ranking-row > .save-button { display: none; }
  .rank-value { font-size: 16px; }
  .rank-value small { font-size: 12px; }
  .icon-button { min-width: 38px; }
}

/* Reading scale: body copy stays legible; metadata is never below 11px. */
.nav-item { font-size: 13px; }
.sidebar-label, .edition-mark { font-size: 12px; letter-spacing: .09em; }
.sidebar-bottom p, .sidebar-method { font-size: 12px; }
.sidebar-method { min-height: 44px; }
.sidebar-bottom { padding-left: 8px; padding-right: 8px; }
.global-search-button, .button, .chip, .select-field select, .directory-search input, .segmented button { font-size: 13px; }
.global-search-button { min-height: 44px; width: min(100%, 390px); }
.button, .chip, .unit-toggle, .icon-button, .compare-button, .text-button, .select-field select, .directory-search { min-height: 44px; }
.icon-button { width: 44px; height: 44px; }
.button[aria-disabled="true"], .button:disabled, select:disabled { cursor: not-allowed; opacity: .5; }
.unit-toggle { font-size: 12px; }
.view-toggle { height: 50px; }
.view-toggle button { min-width: 44px; width: 44px; }
.pagination button { min-width: 5rem; width: auto; height: 44px; padding-inline: .65rem; font-size: 1rem; }
.pagination span { padding-inline: .5rem; font-size: .9375rem; }
.pagination button:disabled { opacity: .45; }
.breadcrumbs { font-size: 12px; }
.hero-copy > p:not(.eyebrow) { font-size: 15px; }
.hero-image-label > span:last-child, .hero-photo-credit { font-size: 12px; }
.hero-photo-credit { padding: 2px 5px; }
.results-meta { font-size: 12px; }
.results-meta > span { font-size: 12px; }
.track-title { font-size: 22px; }
.country-label, .track-location { font-size: 13px; }
.card-character { font-size: 14px; line-height: 1.75; }
.card-title-block { min-height: 76px; }
.card-facts .metric-value { font-size: 24px; }
.card-facts .measure small { font-size: 12px; }
.metric-label { font-size: 12px; }
.metric-note { font-size: 12px; }
.card-bottom { flex-wrap: wrap; }
.card-badges { flex: 1 1 120px; min-width: 0; align-items: center; }
.card-badges .badge, .demand-dot { font-size: 12px; }
.demand-dot { white-space: normal; line-height: 1.6; max-width: 100%; }
.demand-dot::before { flex: 0 0 auto; }
.compare-button { flex: 0 0 auto; font-size: 12px; padding-left: 0; }
.directory-note { font-size: 12px; }
.directory-note > .icon { margin-top: 3px; }
.country-card h3 { font-size: 18px; }
.country-card p { font-size: 13px; }
.country-count { font-size: 13px; }
.ranking-note { font-size: 13px; }
.rank-track > a { font-size: 16px; }
.rank-track p { font-size: 12px; }
.rank-value small { font-size: 12px; }
.ranking-row { grid-template-columns: 35px minmax(180px, 1.3fr) minmax(70px, .8fr) 100px 44px 83px; gap: 16px; }
.track-heading-meta { font-size: 13px; }
.article-section p, .article-section ul, .article-section ol { font-size: 16px; line-height: 1.85; }
.article-section .measurement-note, .article-section p.section-sources { font-size: 12px; }
.fact-row dt { font-size: 12px; }
.fact-row dd { font-size: 14px; }
.fact-panel .fact-row dt { font-size: 12px; }
.fact-panel .fact-row dd { font-size: 13px; }
.contents-nav a { min-height: 44px; font-size: 13px; }
.contents-nav .eyebrow, .fact-panel .eyebrow { font-size: 12px; }
.venue-photo figcaption { font-size: 12px; }
.layout-card-heading h3 { font-size: 16px; }
.layout-card p { font-size: 13px; }
.research-gaps { padding-left: 35px; }
.research-gaps li { font-size: 14px; }
.source-heading > a, .source-item > a, .source-item > .source-title { font-size: 14px; }
.source-item p { font-size: 13px; line-height: 1.8; }
.source-item .source-publisher { font-size: 12px; }
.source-item .source-supports { color: var(--rw-muted); }
.source-type { white-space: normal; }
.sources-count { font-size: 13px; }
.method-card p, .method-card li { font-size: 15px; }
.download-card p { font-size: 14px; }
.photo-credit-card p, .photo-credit-card a { font-size: 13px; }
.compare-label { font-size: 12px; }
.compare-value { font-size: 15px; }
.compare-note { font-size: 13px; line-height: 1.8; }
.compare-column-header p { font-size: 13px; }
.compare-column-header .country-label { font-size: 12px; }
.tray-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.tray-chip { flex-shrink: 0; max-width: none; font-size: 12px; white-space: nowrap; }
.tray-chip button { width: 44px; height: 44px; flex: 0 0 auto; }
.tray-actions .button, .tray-actions .text-button { min-height: 44px; font-size: 12px; }
.search-result-main > a, .search-result-main strong { font-size: 15px; }
.search-result-country { font-size: 12px; }
.search-result-actions .compare-button { font-size: 12px; min-width: 44px; }
.search-help, #toast { font-size: 12px; }
.footer-content strong { font-size: 14px; }
.footer-content span, .footer-links, .footer-note { font-size: 12px; }
.static-article dt, .static-article dd, .static-index li { font-size: 14px; }
.no-js { font-size: 13px; }
.research-stamp, .directory-edition, .select-field > span, .country-label, .track-location,
.card-character, .metric-label, .demand-dot, .compare-button, .results-meta, .results-meta > span,
.directory-note, .country-card p, .rank-number, .rank-track p, .rank-value small, .fact-row dt,
.article-section p.section-sources, .source-item p, .source-id, .source-venue, .source-type,
.compare-label, .compare-note, .compare-column-header p, .search-help, .search-result-country,
.photo-credit-card p, .venue-photo figcaption, .footer-content span, .footer-links, .footer-note {
  color: var(--rw-muted);
}
.badge { color: var(--rw-black); }
.download-card p { color: var(--rw-muted); }
.aside-note, .contents-nav a > span, .search-section-label { color: var(--rw-muted); }
.demand-number small { color: var(--rw-muted); }
.research-gaps p, .research-gaps li { color: var(--rw-muted); }
.series-tags > span, .series-tags > a { color: var(--rw-black); }
.hero-image-label > span:last-child { color: var(--rw-white); }
body:has(.compare-tray-inner) .site-frame { padding-bottom: 150px; }
body:has(.compare-tray-inner) #toast { bottom: 155px; }

@media (max-width: 1240px) {
  .ranking-row { grid-template-columns: 27px minmax(170px, 1fr) minmax(45px, .4fr) 90px 44px; gap: 14px; }
  .ranking-row > .compare-button { grid-column: 2; }
  .track-card { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1050px) {
  .about-intro { grid-template-columns: 1fr; gap: 30px; }
  .about-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .article-layout { display: flex; flex-direction: column; }
  .article-aside { order: -1; width: 100%; position: static; display: block; max-height: none; overflow: visible; }
  .article-main { width: 100%; }
  .article-aside .fact-panel, .article-aside .aside-note { display: none; }
  .article-aside .contents-nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 3px 18px; padding: 17px 20px; }
  .contents-nav .eyebrow { flex-basis: 100%; margin-bottom: 5px; }
  .contents-nav a { gap: 7px; border: 0; min-height: 44px; padding: 7px 0; }
  .contents-nav a > span { font-size: 12px; }
}
@media (max-width: 900px) {
  .global-search-button { width: 44px; min-width: 44px; padding: 8px; }
  .mobile-menu { width: 44px; height: 44px; }
  input, select, textarea, .select-field select, .directory-search input, .modal-search input { font-size: 16px; }
  .compare-tray-inner { flex-wrap: wrap; }
  .tray-chips { flex-basis: 100%; }
  .tray-actions { margin-left: auto; }
  body:has(.compare-tray-inner) .site-frame { padding-bottom: 180px; }
  body:has(.compare-tray-inner) #toast { bottom: 175px; }
}
@media (max-width: 680px) {
  .lede { font-size: 15px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-image-label > span:last-child { font-size: 12px; }
  .track-card { padding: 17px; }
  .track-title { font-size: 21px; }
  .track-location, .country-label { font-size: 12px; }
  .card-facts { grid-template-columns: 1.25fr .7fr 1fr; }
  .card-facts .metric-value { font-size: 21px; }
  .card-character { font-size: 14px; }
  .card-badges { flex-direction: row; align-items: center; }
  .compare-button, .ranking-row > .compare-button { font-size: 12px; }
  .section-heading { flex-wrap: wrap; gap: 8px; }
  .ranking-row { grid-template-columns: 25px minmax(0, 1fr) 85px 44px; gap: 9px; padding: 17px 12px; }
  .rank-track > a { font-size: 14px; }
  .rank-track p { font-size: 12px; }
  .ranking-row > .save-button { display: inline-flex; }
  .ranking-row > .compare-button { margin-top: -3px; }
  .rank-value { font-size: 17px; }
  .rank-value small { font-size: 12px; }
  .article-section p { font-size: 16px; }
  .article-section p.article-intro { font-size: 18px; }
  .score-grid { grid-template-columns: 1fr; }
  .score-item > div:first-child { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .score-item > div:first-child > span { font-size: 14px; }
  .score-item > div:first-child > strong { flex: 0 0 auto; font-size: 19px; }
  .demand-feature { gap: 20px; padding: 19px; }
  .demand-number { font-size: 39px; }
  .demand-feature h3 { font-size: 17px; }
  .demand-feature p { font-size: 13px; }
  .contents-nav a { font-size: 12px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .method-card p, .download-card p { font-size: 15px; }
  .search-result > a { gap: 10px; }
  .search-result-length { font-size: 12px; }
  .search-result-actions .compare-button { width: 44px; padding: 8px; font-size: 0; }
  .search-result-country { font-size: 12px; }
  .search-result-main strong { font-size: 14px; }
  .tray-actions .button { min-height: 44px; }
}
@media (max-width: 560px) {
  .track-grid, .related-section .track-grid { grid-template-columns: 1fr; }
  .track-card { padding: 20px 23px 18px; }
  .track-title { font-size: 25px; }
  .card-title-block { min-height: 0; }
  .card-facts { margin-top: 9px; }
  .card-facts .metric-value { font-size: 25px; }
  .card-bottom { flex-wrap: nowrap; }
  .card-badges { flex-basis: 120px; }
  .list-card { display: flex; }
  .list-card .card-facts { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .list-card .card-character { margin-bottom: 17px; }
}
@media (max-width: 380px) {
  .mobile-brand { font-size: 12px; letter-spacing: .025em; }
  .topbar-inner { gap: 4px; padding-left: 13px; padding-right: 13px; }
  .unit-toggle { min-width: 57px; }
  .hero-copy h1 { font-size: 38px; }
  .track-actions { gap: 6px; }
  .track-actions .button { padding-left: 10px; padding-right: 10px; }
  .ranking-row { grid-template-columns: 23px minmax(0, 1fr) 75px; }
  .ranking-row > .save-button { grid-row: 2; grid-column: 3; justify-self: end; }
  .ranking-row > .compare-button { grid-row: 2; grid-column: 2; }
  .search-result-length { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: white; color: var(--rw-black); font-size: 11pt; }
  .sidebar, #topbar, #footer, #compare-tray, #toast, .skip-link, dialog, .track-actions, .article-aside, .compare-button, .save-button, .pagination, .filter-bar, .advanced-filters, .collection-chips, .hero-photo-credit { display: none !important; }
  .site-frame { margin: 0; padding: 0 !important; }
  .page, .static-article { max-width: none; padding: 0; }
  .article-layout { display: block; }
  .article-section, .source-item, .track-card, .fact-panel, .layout-card { break-inside: avoid; box-shadow: none; }
  .article-section p, .article-section li { font-size: 10pt; color: var(--rw-black); }
  .venue-photo { max-width: 650px; break-inside: avoid; }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image { min-height: 230px; }
  a { text-decoration: none; }
  .source-heading a::after { content: " (" attr(href) ")"; font-weight: 400; font-size: 8pt; overflow-wrap: anywhere; }
}
