:root {
    --navy: #07182d; --navy-soft: #102b4a; --gold: #c89a3d; --gold-soft: #f2dfb1;
    --blue: #2869d8; --blue-soft: #eaf2ff; --green: #176b5b; --paper: #f4f7fb;
    --white: #fff; --ink: #142033; --muted: #647187; --line: #dce3ed;
    --radius: 18px; --radius-sm: 11px; --container: 1180px;
    --shadow-sm: 0 8px 24px rgba(7,24,45,.07); --shadow-lg: 0 24px 60px rgba(7,24,45,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #69a5ff; outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--navy); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 246, 241, .96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 15px; letter-spacing: -.02em; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; font-size: 13px; }
.site-logo strong { color: var(--green); }
.main-navigation { display: flex; align-items: center; gap: 24px; }
.main-navigation a { padding: 24px 0; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.main-navigation a:hover, .main-navigation a[aria-current="page"] { color: var(--green); border-color: var(--green); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 8px 12px; color: var(--ink); font: inherit; font-weight: 700; }
.hero { min-height: 540px; display: grid; align-items: center; background: radial-gradient(circle at 85% 30%, rgba(112,216,170,.24), transparent 27%), linear-gradient(135deg, var(--navy), #173b50); color: var(--white); }
.hero .container { padding-block: 90px; }
.eyebrow { margin: 0 0 12px; color: #805d19; font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.hero h1 { max-width: 770px; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold-soft); }
.hero p:not(.eyebrow) { max-width: 570px; margin: 24px 0 34px; color: #ced9e2; font-size: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--gold); border-radius: 11px; background: var(--gold); color: var(--navy); font-weight: 850; text-decoration: none; box-shadow: 0 8px 20px rgba(200,154,61,.2); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,154,61,.3); }
.button-outline { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.05); color: var(--white); box-shadow: none; }
.button-outline:hover { background: rgba(255,255,255,.12); }
.section { padding-block: 80px 100px; }
.section h2, .page-header h1 { margin: 0 0 32px; font-size: clamp(34px, 5vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: #95bdaa; }
.card span { color: var(--green); font-size: 12px; font-weight: 800; }
.card h3 { margin: 38px 0 5px; font-size: 23px; }
.card p { margin: 0; color: var(--muted); }
.page-header { min-height: 480px; padding-block: 110px; }
.page-header > p:last-child { color: var(--muted); font-size: 18px; }
.notice { max-width: 620px; padding: 18px 20px; border-left: 4px solid var(--green); background: var(--white); }
.admin-tool { min-height: auto; }
.admin-tool > p { max-width: 760px; }
.admin-tool .notice { max-width: none; margin: 20px 0; }
.notice-success { border-left-color: var(--green); }
.notice-error { border-left-color: #b42318; background: #fff3f2; }
.notice-warning { border-left-color: #c17b06; background: #fff8e8; }
.button-submit { border: 0; cursor: pointer; font: inherit; }
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.status-table { width: 100%; border-collapse: collapse; text-align: left; }
.status-table th, .status-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.status-table th { background: #edf1ed; font-size: 13px; }
.status-table tr:last-child td { border-bottom: 0; }
.status-success { color: var(--green); font-weight: 700; }
.status-skip { color: #875a08; font-weight: 700; }
.status-error { color: #b42318; font-weight: 700; }
.admin-login { display: grid; grid-template-columns: minmax(180px, 360px) auto; gap: 10px; align-items: end; max-width: 540px; }
.admin-login label { grid-column: 1 / -1; font-weight: 700; }
.admin-login input { min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
.tool-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.text-button { padding: 6px 0; border: 0; background: transparent; color: var(--green); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.api-test-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 34px; }
.api-result, .api-logs { margin-top: 42px; }
.api-result h2, .api-logs h2 { margin-bottom: 18px; font-size: 28px; }
.api-result h3 { margin: 26px 0 8px; font-size: 16px; }
.api-result pre { max-height: 320px; overflow: auto; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #18212c; color: #e8f1ec; white-space: pre-wrap; word-break: break-all; font-size: 12px; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.result-grid div { padding: 14px; background: var(--white); }
.result-grid dt { color: var(--muted); font-size: 12px; }
.result-grid dd { margin: 4px 0 0; font-weight: 700; }
.update-summary { margin: 28px 0 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .surface-section h2, .guide-section h2, .content-section > h2, .stats-section h2, .related-section h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.section-heading.compact { align-items: center; }
.home-hero { min-height: 600px; }
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.venue-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.venue-title { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.venue-title h3 { margin: 0; font-size: 21px; }
.venue-title span { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.race-link-list a { display: grid; grid-template-columns: 44px 1fr 1fr; gap: 8px; padding: 11px 22px; border-bottom: 1px solid #edf0ed; text-decoration: none; }
.race-link-list a:last-child { border-bottom: 0; }
.race-link-list a:hover { background: #f2f8f4; }
.race-link-list strong { color: var(--green); }
.race-link-list span { color: var(--muted); font-size: 14px; }
.empty-inline { margin: 0; padding: 32px 22px; color: var(--muted); font-size: 14px; }
.surface-section { padding-block: 78px; background: #e9eee9; }
.two-column-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.two-column-section h2 { margin-bottom: 24px; }
.update-list, .compact-card-list { display: grid; }
.update-list a { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid #d1d9d2; text-decoration: none; }
.update-list span { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.update-list strong { font-size: 15px; }
.update-list time { color: var(--muted); font-size: 12px; }
.compact-card-list a { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 13px 0; border-bottom: 1px solid #d1d9d2; text-decoration: none; }
.compact-card-list a > span { grid-row: 1 / 3; color: var(--green); font-size: 12px; font-weight: 800; }
.compact-card-list small { color: var(--muted); }
.guide-section { padding-block: 90px; }
.guide-section > h2 { max-width: 620px; margin-bottom: 30px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-grid a { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; }
.guide-grid span, .profile-card > span { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.guide-grid strong { display: block; margin-top: 42px; font-size: 20px; }
.guide-grid p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.page-intro { padding-block: 92px 60px; }
.page-intro h1 { margin: 0; font-size: clamp(46px, 7vw, 76px); line-height: 1; letter-spacing: -.055em; }
.page-intro > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.content-section { padding-bottom: 100px; }
.guide-content { max-width: 820px; margin-top: 32px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 17px; line-height: 1.9; }
.analysis-overview { padding: 64px 0 48px; }
.analysis-summary, .analysis-copy { margin: 24px 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.analysis-summary p, .analysis-copy p { line-height: 1.75; }
.analysis-summary small { color: var(--muted); }
.score-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.score-podium > div { display: grid; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.score-podium span { color: #b9d9c8; font-size: 12px; font-weight: 800; }
.score-podium strong { font-size: 21px; }
.score-podium b { color: #f2cc7d; font-size: 30px; }
.comparison-grid, .analysis-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.comparison-grid article, .analysis-detail-grid article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.comparison-grid h2, .analysis-detail-grid h3 { margin: 6px 0 12px; }
.comparison-grid p, .analysis-detail-grid p, .comparison-grid li { color: var(--muted); line-height: 1.7; }
.analysis-detail-grid { margin-top: 18px; }
.analysis-form { display: grid; gap: 14px; max-width: 720px; margin: 24px 0; }
.analysis-form select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.check-label { display: flex; align-items: center; gap: 8px; }
.seo-landing-hero { padding: 76px 0 58px; background: linear-gradient(135deg, var(--navy), #174d43); color: var(--white); }
.seo-landing-hero h1 { max-width: 900px; margin: 16px 0; font-size: clamp(36px, 6vw, 68px); line-height: 1.08; letter-spacing: -.05em; }
.seo-landing-hero > .container > p:last-of-type { max-width: 760px; color: #d9e8e2; font-size: 18px; line-height: 1.7; }
.landing-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.landing-metrics span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); }
.landing-summary { max-width: 900px; margin: 20px 0 28px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.landing-race-list { margin-top: 18px; }
.keyword-links { display: flex; flex-wrap: wrap; gap: 10px; }
.keyword-links span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 13px; }
.versus-box { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.versus-box > div { display: grid; gap: 5px; text-align: center; }
.versus-box small, .versus-box span { color: var(--muted); }
.versus-box strong { font-size: 22px; }
.versus-box > b { color: var(--green); font-size: 18px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions form { margin: 0; }
.footer-recommendations { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-recommendations a { color: #cbd8d3; font-size: 13px; }
.filter-bar { display: flex; align-items: end; gap: 12px; margin-bottom: 46px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.filter-bar label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.filter-bar select, .filter-bar input { min-width: 180px; height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.filter-reset { padding: 11px; color: var(--muted); font-size: 13px; }
.date-group { margin-bottom: 46px; }
.date-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.date-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.date-heading span { color: var(--muted); font-size: 12px; }
.race-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.race-table { width: 100%; border-collapse: collapse; text-align: left; }
.race-table th, .race-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.race-table th { background: #edf1ed; color: var(--muted); font-size: 12px; }
.race-table tr:last-child td { border-bottom: 0; }
.race-date-link,
.row-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: -5px -7px;
  padding: 5px 7px;
  border-radius: 7px;
  color: #075fd8;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.race-date-link:visited,
.row-link:visited { color: #075fd8; }
.race-date-link:hover,
.row-link:hover {
  background: #eaf2ff;
  color: #0349aa;
}
.race-date-link:focus-visible,
.row-link:focus-visible {
  outline: 3px solid rgba(7,95,216,.3);
  outline-offset: 2px;
  background: #eaf2ff;
  color: #0349aa;
}
.race-date-link:active,
.row-link:active { background: #d9e8ff; }
.race-date-heading-link {
  display: inline-block;
  padding: 3px 4px;
  border-radius: 6px;
  color: #075fd8;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color .16s ease, background-color .16s ease;
}
.race-date-heading-link:visited { color: #075fd8; }
.race-date-heading-link:hover,
.race-date-heading-link:focus-visible { background:#eaf2ff;color:#0349aa; }
.race-date-heading-link:focus-visible { outline:3px solid rgba(7,95,216,.3);outline-offset:2px; }
.empty-state { width: 100%; padding: 34px; border: 1px dashed #bdc9c0; border-radius: 14px; color: var(--muted); background: rgba(255,255,255,.45); }
.empty-state strong { color: var(--ink); }
.empty-state p { margin: 4px 0 0; }
.mvp-section { padding-top: 70px; }
.mvp-home-hero .hero-copy { width: min(calc(100% - 40px), var(--container)); }
.metric-name { font-size: clamp(20px, 2.5vw, 30px) !important; word-break: keep-all; }
.footer-source { font-size: 13px; }
.data-status-grid { display: grid; grid-template-columns: repeat(2,minmax(120px,220px)); gap: 12px; margin-top: 20px; }
.data-status-grid > div { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.data-status-grid span { font-size: 12px; }
.data-status-grid b { color: var(--ink); font-size: 24px; }
.race-detail-hero, .entity-hero { padding-block: 54px 64px; background: linear-gradient(135deg, var(--navy), #173b50); color: var(--white); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; color: #9eb0bf; font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs strong { color: var(--white); }
.race-detail-hero h1, .entity-hero h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.08; letter-spacing: -.05em; }
.race-detail-hero h1 > span { color: #70d8aa; }
.entity-hero h1 small { color: #9eb0bf; font-size: .35em; letter-spacing: 0; }
.entity-hero > .container > p:last-child { color: #c5d1da; }
.race-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden; margin-top: 42px; border-radius: 12px; background: rgba(255,255,255,.15); }
.race-facts div { padding: 18px; background: rgba(255,255,255,.07); }
.race-facts small, .profile-info dt { display: block; color: #9fb1bf; font-size: 11px; }
.race-facts strong { display: block; margin-top: 3px; }
.entry-grid { display: grid; gap: 12px; }
.entry-card { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.horse-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 20px; font-weight: 800; }
.entry-main h3 { margin: 0 0 8px; font-size: 22px; }
.entry-main h3 a { text-decoration: none; }
.entry-people { display: flex; gap: 18px; }
.entry-people a { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.entry-people small { margin-right: 6px; color: var(--muted); font-weight: 400; }
.entry-stats { display: flex; gap: 28px; margin: 0; }
.entry-stats div { min-width: 70px; }
.entry-stats dt { color: var(--muted); font-size: 11px; }
.entry-stats dd { margin: 2px 0 0; font-weight: 700; }
.related-section { padding-block: 72px; }
.related-section h2 { margin-bottom: 25px; }
.horizontal-card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.horizontal-card-list > a { display: grid; gap: 5px; padding: 20px; border: 1px solid #cbd5cc; border-radius: 13px; background: rgba(255,255,255,.55); text-decoration: none; }
.horizontal-card-list span { color: var(--green); font-size: 11px; font-weight: 800; }
.horizontal-card-list small { color: var(--muted); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.profile-tags span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 20px; color: #d7e1e8; font-size: 12px; }
.profile-info { display: flex; flex-wrap: wrap; gap: 40px; margin: 36px 0 0; }
.profile-info div { min-width: 120px; }
.profile-info dd { margin: 3px 0 0; font-weight: 700; }
.profile-info a { color: #70d8aa; }
.stats-section { padding-block: 70px; }
.stats-section h2 { margin-bottom: 25px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.metric-grid > div { padding: 24px; border-right: 1px solid var(--line); }
.metric-grid > div:last-child { border-right: 0; }
.metric-grid span { display: block; color: var(--muted); font-size: 12px; }
.metric-grid strong { display: block; margin-top: 8px; font-size: 30px; }
.metric-grid small { margin-left: 3px; font-size: 13px; }
.profile-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-card { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); text-decoration: none; }
.profile-card h2, .profile-card h3 { margin: 30px 0 4px; font-size: 24px; }
.profile-card > p { margin: 0; color: var(--muted); font-size: 13px; }
.profile-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 0; }
.profile-card dt { color: var(--muted); font-size: 10px; }
.profile-card dd { margin: 2px 0 0; font-weight: 700; }
.compact-profiles .profile-card h3 { margin-top: 20px; }
.subsection-title { margin: 38px 0 14px; font-size: 17px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { padding: 8px 13px; border: 1px solid #bdc9c0; border-radius: 30px; background: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; }
.not-found-hero { padding-block: 90px; background: var(--navy); color: var(--white); }
.error-code { margin: 0; color: #70d8aa; font-size: 14px; font-weight: 800; letter-spacing: .2em; }
.not-found-hero h1 { margin: 8px 0 18px; font-size: clamp(40px, 6vw, 70px); letter-spacing: -.05em; }
.not-found-hero .button { margin-top: 18px; }
.admin-links { margin-top: 32px; }
.site-footer { padding: 54px 0 24px; background: var(--navy); color: #d5dee8; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer-grid strong { color: var(--white); font-size: 19px; }
.footer-grid p { color: #aebdca; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 28px; align-content: start; }
.footer-grid h2 { grid-column: 1 / -1; margin: 0 0 8px; color: var(--white); font-size: 14px; }
.footer-grid a { color: #cbd6df; font-size: 14px; text-decoration: none; }
.copyright { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa0af; font-size: 12px; }
@media (max-width: 800px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .menu-toggle { display: block; }
    .main-navigation { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 10px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
    .main-navigation.is-open { display: flex; }
    .main-navigation a { padding: 12px 0; }
    .hero { min-height: 500px; }
    .hero .container { padding-block: 70px; }
    .card-grid { grid-template-columns: 1fr; }
    .card { min-height: 170px; }
    .card h3 { margin-top: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .admin-login { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-heading { align-items: flex-start; flex-direction: column; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .venue-grid, .guide-grid, .profile-card-grid, .horizontal-card-list, .two-column-section, .score-podium, .comparison-grid, .analysis-detail-grid { grid-template-columns: 1fr; }
    .versus-box { grid-template-columns: 1fr; }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .filter-bar select, .filter-bar input { width: 100%; }
    .race-facts { grid-template-columns: repeat(2, 1fr); }
    .entry-card { grid-template-columns: 46px 1fr; align-items: start; }
    .entry-stats { grid-column: 1 / -1; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .data-status-grid { grid-template-columns: 1fr; }
    .metric-grid > div:nth-child(2) { border-right: 0; }
    .metric-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .update-list a { grid-template-columns: 64px 1fr; }
    .update-list time { grid-column: 2; }
}
