:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-soft: #f8f8f5;
  --ink: #181816;
  --muted: #6c6c65;
  --line: #d9d9d2;
  --papaya: #ff6b00;
  --papaya-dark: #b84900;
  --papaya-soft: #fff0e5;
  --green: #24744c;
  --red: #a6372b;
  --focus: #754000;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

button,
a {
  outline-color: var(--focus);
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner,
.report-header,
.race-board,
.report-shell,
.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--papaya);
  color: #171714;
  font-size: 13px;
  font-weight: 900;
}

.header-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-links a,
.footer-links a,
.language-toggle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.header-links a:hover,
.footer-links a:hover,
.language-toggle:hover {
  color: var(--papaya-dark);
}

.language-toggle {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  background: var(--surface-soft);
  cursor: pointer;
}

.report-header {
  padding: 54px 0 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.kicker,
.report-heading h1,
.report-deck,
.update-panel p,
.report-meta p,
.section-heading h2,
.section-heading p,
.site-footer p,
.empty-copy p,
.empty-copy h2 {
  margin: 0;
}

.kicker {
  color: var(--papaya-dark);
  font-size: 11px;
  font-weight: 900;
}

.report-heading h1 {
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.report-deck {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.update-panel {
  min-width: 275px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  background: var(--surface);
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #e5f2eb;
}

.update-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.social-update-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

#updatedAt,
#socialUpdatedAt {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

#updatedAt {
  white-space: nowrap;
}

#socialUpdatedAt {
  max-width: 34rem;
  white-space: pre-line;
}

.refresh-button,
.retry-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.refresh-button:hover,
.retry-button:hover {
  border-color: #aaa9a0;
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.race-board {
  margin-bottom: 36px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.race-details {
  min-width: 0;
  padding: 24px 28px;
}

.race-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.race-kicker,
.race-location,
.race-schedule p,
.race-source,
.countdown-label {
  margin: 0;
}

.race-kicker {
  color: var(--papaya);
  font-size: 11px;
  font-weight: 900;
}

.race-round {
  color: #b9b9b1;
  font-size: 11px;
  font-weight: 800;
}

.race-details h2 {
  margin: 8px 0 3px;
  font-size: 28px;
  line-height: 1.2;
}

.race-location {
  color: #c9c9c2;
  font-size: 13px;
}

.race-schedule {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.race-schedule p {
  max-width: 390px;
  color: #b9b9b1;
  font-size: 11px;
}

.race-schedule time {
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.race-source {
  margin-top: 8px;
  color: #888880;
  font-size: 10px;
}

.countdown-panel {
  padding: 23px 24px;
  display: grid;
  align-content: center;
  background: var(--papaya);
  color: #171714;
}

.countdown-label {
  font-size: 11px;
  font-weight: 900;
}

.countdown-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.countdown-grid > div {
  border-right: 1px solid rgba(23, 23, 20, 0.28);
  padding: 0 10px;
  text-align: center;
}

.countdown-grid > div:first-child {
  padding-left: 0;
}

.countdown-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.countdown-grid strong,
.countdown-grid span {
  display: block;
}

.countdown-grid strong {
  font-size: 32px;
  line-height: 1.15;
}

.countdown-grid span {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
}

.calendar-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-link {
  flex: 1 1 132px;
  min-width: 0;
  border: 1px solid rgba(23, 23, 20, 0.32);
  border-radius: 999px;
  padding: 7px 10px;
  color: #171714;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.calendar-link-primary {
  background: #171714;
  color: #fff;
}

.calendar-link:hover {
  text-decoration: underline;
}

.race-board.is-live .countdown-panel {
  background: #f4d03f;
}

.report-shell {
  margin-bottom: 64px;
  border-top: 3px solid var(--ink);
}

.report-meta {
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tabs {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface-soft);
}

.tab {
  min-height: 68px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 10px 18px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.tab:last-child {
  border-right: 0;
}

.tab span,
.tab small {
  display: block;
}

.tab span {
  color: inherit;
  font-size: 16px;
  font-weight: 900;
}

.tab small {
  margin-top: 1px;
  font-size: 11px;
}

.tab:hover {
  background: #f0f0ec;
}

.tab.is-active {
  box-shadow: inset 0 -3px 0 var(--papaya);
  background: var(--surface);
  color: var(--ink);
}

.tab-panel {
  min-height: 400px;
  padding: 34px 0 10px;
}

.daily-search {
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background: var(--surface);
}

.daily-search label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.daily-search label small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.daily-search-control {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.daily-search input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.daily-search input:focus {
  border-color: var(--papaya-dark);
  background: var(--surface);
}

.daily-search-clear {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.daily-search-clear:hover {
  border-color: #aaa9a0;
}

.search-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hot-list {
  border-top: 1px solid var(--line);
}

.hot-event {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.hot-event:hover {
  background: rgba(243, 114, 34, 0.045);
}

.hot-event:hover .hot-event-title-row h3 {
  text-decoration: underline;
  text-decoration-color: var(--papaya);
  text-underline-offset: 4px;
}

.hot-rank {
  padding-top: 2px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.hot-event:nth-child(-n + 3) .hot-rank {
  color: var(--papaya-dark);
}

.hot-event-main {
  min-width: 0;
}

.hot-event-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hot-event-title-row h3 {
  min-width: 0;
  margin: 0;
  flex: 1;
  font-size: 17px;
  line-height: 1.4;
}

.hot-event-title-row h3 a {
  color: var(--ink);
  text-decoration: none;
}

.hot-event-title-row h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--papaya);
  text-underline-offset: 4px;
}

.hot-source-list {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hot-source {
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.hot-source-official {
  border-color: #abd6bd;
  background: #e5f2eb;
  color: var(--green);
}

.hot-source-media {
  border-color: #c7c7bf;
  color: #4d4d48;
}

.hot-source-fan {
  border-color: #f1c495;
  background: #fff1df;
  color: var(--papaya-dark);
}

.hot-score {
  min-width: 52px;
  color: var(--papaya-dark);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.hot-score span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.hot-related {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.hot-related-link {
  margin-top: 8px;
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.hot-related-link:hover {
  color: var(--papaya-dark);
}

.hot-related summary {
  width: max-content;
  cursor: pointer;
  font-weight: 800;
}

.hot-related ul {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.hot-related li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
}

.hot-related .hot-source {
  width: 19px;
  height: 19px;
  border-radius: 4px;
  font-size: 9px;
}

.hot-related a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration-color: #bdbdb5;
  text-underline-offset: 3px;
}

.hot-related small {
  color: var(--muted);
  font-size: 10px;
}

.hot-media {
  width: 92px;
  height: 58px;
  border-radius: 6px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  object-fit: cover;
  background: #e7e7e1;
}

.hot-detail-page {
  max-width: 980px;
  margin: 0 auto;
}

body.hot-detail-mode .report-header,
body.hot-detail-mode .race-board,
body.hot-detail-mode .report-meta,
body.hot-detail-mode .tabs {
  display: none !important;
}

body.hot-detail-mode .report-shell {
  margin-top: 0;
  border-top: 0;
}

body.hot-detail-mode .tab-panel {
  padding-top: 28px;
}

.hot-back-link {
  margin-bottom: 14px;
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hot-topic-hero {
  position: sticky;
  top: 0;
  z-index: 5;
  margin-bottom: 28px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 22px 4px 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  background: rgba(250, 250, 247, 0.97);
  backdrop-filter: blur(10px);
}

.hot-detail-rank {
  color: var(--papaya-dark);
  font-size: 25px;
  font-weight: 900;
  text-align: center;
}

.hot-topic-hero h1 {
  margin: 0;
  font-size: clamp(23px, 4vw, 36px);
  line-height: 1.25;
}

.hot-detail-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hot-detail-meta > strong {
  color: var(--papaya-dark);
  font-size: 12px;
}

.hot-detail-tabs {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.hot-detail-tab {
  margin: 0 0 -1px;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 11px 2px 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.hot-detail-tab:hover {
  color: var(--ink);
}

.hot-detail-tab.is-active {
  border-bottom-color: var(--papaya);
  color: var(--ink);
}

.hot-detail-tab:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--papaya);
  outline-offset: 3px;
}

.hot-detail-tab span {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.hot-detail-tabpanel {
  min-height: 160px;
  margin-bottom: 34px;
}

.hot-content-feed {
  display: grid;
  gap: 12px;
}

.hot-content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hot-content-card:hover {
  border-color: #b9b9b0;
  box-shadow: 0 8px 22px rgba(30, 30, 27, 0.07);
  transform: translateY(-1px);
}

.hot-content-card:focus-visible {
  outline: 2px solid var(--papaya);
  outline-offset: 3px;
}

.hot-content-card > header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hot-content-card > header strong {
  font-size: 12px;
}

.hot-content-card > header time {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.hot-content-card-body {
  margin-top: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 270px);
  align-items: start;
  gap: 18px;
}

.hot-content-card-body > div:only-child {
  grid-column: 1 / -1;
}

.hot-content-card h3,
.hot-content-card p {
  margin: 0;
}

.hot-content-card h3 {
  font-size: 16px;
  line-height: 1.45;
}

.hot-content-card p {
  margin-top: 8px;
  color: #55554f;
  font-size: 13px;
  line-height: 1.65;
}

.hot-content-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  display: block;
  overflow: hidden;
  background: #e7e7e1;
}

.hot-content-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hot-video-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--papaya-dark);
  font-size: 34px;
}

.hot-content-video img + .hot-video-placeholder {
  opacity: 0;
}

.hot-content-video.is-media-unavailable img {
  display: none;
}

.hot-content-video.is-media-unavailable .hot-video-placeholder {
  opacity: 1;
}

.hot-video-action {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.hot-section-empty {
  border: 1px dashed var(--line);
  border-radius: 7px;
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.hot-media-video {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
}

.hot-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hot-media-video > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.24);
  font-size: 24px;
}

.hot-media-video.is-media-unavailable img {
  display: none;
}

.report-section {
  padding: 8px 0 32px;
}

.report-section + .report-section {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.section-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  font-size: 21px;
  line-height: 1.25;
}

.section-heading p {
  color: var(--muted);
  font-size: 12px;
}

.quick-list,
.focus-list,
.watch-list {
  margin: 0;
  padding-left: 24px;
}

.quick-list {
  display: grid;
  gap: 16px;
  font-size: 17px;
}

.quick-list strong {
  color: var(--papaya-dark);
}

.quick-list a,
.focus-list a,
.topic-links a {
  text-decoration-color: #bdbdb5;
  text-underline-offset: 3px;
}

.quick-list a:hover,
.focus-list a:hover,
.topic-links a:hover {
  color: var(--papaya-dark);
  text-decoration-color: var(--papaya);
}

.focus-list,
.watch-list {
  display: grid;
  gap: 9px;
}

.official-spotlight {
  border: 1px solid #1f1f1b;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.official-lead {
  min-width: 0;
  border-top: 4px solid var(--papaya);
  padding: 22px 24px 24px;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.22), transparent 38%),
    var(--ink);
}

.official-lead-meta,
.official-secondary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.official-lead-meta span {
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--papaya);
  color: #171714;
  font-size: 10px;
  font-weight: 900;
}

.official-lead-meta time,
.official-source,
.official-secondary time {
  color: #b9b9b1;
  font-size: 11px;
  font-weight: 800;
}

.official-lead h3 {
  max-width: 760px;
  margin: 22px 0 10px;
  font-size: clamp(21px, 3vw, 31px);
  line-height: 1.22;
}

.official-lead h3 a,
.official-secondary a {
  text-decoration: none;
}

.official-lead h3 a:hover,
.official-secondary a:hover {
  color: var(--papaya);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.official-lead p {
  max-width: 760px;
  margin: 0;
  color: #d6d6cf;
  font-size: 14px;
}

.official-source {
  margin-top: 16px;
  color: var(--papaya);
}

.official-secondary {
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  display: grid;
  align-content: stretch;
  list-style: none;
  background: #22221e;
}

.official-secondary li {
  min-height: 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 18px;
  align-items: flex-start;
  flex-direction: column;
}

.official-secondary li:last-child {
  border-bottom: 0;
}

.official-secondary span {
  color: var(--papaya);
  font-size: 10px;
  font-weight: 900;
}

.official-secondary a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-item,
.topic-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.news-item-top,
.news-item-meta,
.topic-card-header,
.credibility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-item h3 {
  margin: 9px 0 7px;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.news-item h3 a {
  text-decoration: none;
}

.news-item h3 a:hover {
  color: var(--papaya-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.news-item .original-title {
  margin: -1px 0 8px;
  color: #85857e;
  font-size: 12px;
}

.news-item .social-original {
  line-height: 1.5;
}

.news-item .original-title strong {
  color: var(--muted);
}

.news-item .item-attribution {
  margin-top: 8px;
  color: var(--papaya-dark);
  font-size: 12px;
  font-weight: 800;
}

.news-item .item-rights {
  margin-top: 3px;
  color: #85857e;
  font-size: 11px;
}

.feed-rights-notice {
  margin: 0 0 12px;
  color: #6b6b64;
  font-size: 12px;
  font-weight: 700;
}

.news-item-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 11px;
}

.badge {
  border-radius: 999px;
  padding: 3px 8px;
  background: #eeeeea;
  color: #4d4d48;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.badge-official {
  background: #e5f2eb;
  color: var(--green);
}

.badge-fan {
  background: #fff1df;
  color: var(--papaya-dark);
}

.badge-rumor {
  background: #f9e8e6;
  color: var(--red);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.topic-card-header h3,
.topic-card-header p {
  margin: 0;
}

.topic-card-header h3 {
  font-size: 16px;
}

.topic-card-header p {
  color: var(--muted);
  font-size: 11px;
}

.topic-summary {
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.topic-links {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.credibility-list {
  border-top: 1px solid var(--line);
}

.credibility-row {
  min-height: 50px;
  border-bottom: 1px solid var(--line);
}

.credibility-row span:last-child {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  min-height: 94px;
  border-top: 3px solid var(--papaya);
  padding: 13px 14px;
  background: var(--surface);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 26px;
  line-height: 1.2;
}

.metric span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.history-item {
  border-left: 3px solid var(--papaya);
  padding-left: 16px;
}

.history-item h3,
.history-item p {
  margin: 0;
}

.history-item h3 {
  font-size: 16px;
}

.history-item p {
  margin-top: 6px;
  color: var(--muted);
}

.history-item a {
  display: inline-block;
  margin-top: 8px;
  color: var(--papaya-dark);
  font-size: 12px;
  font-weight: 800;
}

.loading-state {
  min-height: 360px;
  padding-top: 48px;
  display: grid;
  align-content: start;
  gap: 15px;
}

.loading-line {
  width: 72%;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8e8e2 25%, #f2f2ee 45%, #e8e8e2 65%);
  background-size: 250% 100%;
  animation: loading 1.3s infinite linear;
}

.loading-line-wide {
  width: 88%;
  height: 22px;
}

.loading-line-short {
  width: 48%;
}

@keyframes loading {
  to {
    background-position: -250% 0;
  }
}

.error-state,
.empty-copy {
  min-height: 340px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.error-state h2 {
  margin: 0;
}

.error-state p,
.empty-copy p {
  margin: 7px 0 16px;
  color: var(--muted);
}

.site-footer {
  min-height: 130px;
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.site-footer strong {
  font-size: 12px;
}

.site-footer p {
  max-width: 600px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .header-inner,
  .report-header,
  .race-board,
  .report-shell,
  .site-footer {
    width: min(100% - 28px, 1080px);
  }

  .report-header {
    padding: 36px 0 26px;
    display: grid;
    gap: 22px;
  }

  .report-heading h1 {
    font-size: 36px;
  }

  .report-deck {
    font-size: 15px;
  }

  .update-panel {
    width: 100%;
    min-width: 0;
  }

  .race-board {
    grid-template-columns: 1fr;
  }

  .race-details,
  .countdown-panel {
    padding: 21px 22px;
  }

  .tab {
    min-height: 62px;
    padding: 9px 12px;
  }

  .tab span {
    font-size: 14px;
  }

  .topic-grid,
  .data-grid,
  .official-spotlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 460px) {
  .header-links a:first-child {
    display: none;
  }

  .update-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #updatedAt,
  #socialUpdatedAt {
    white-space: normal;
  }

  .update-panel .refresh-button {
    grid-column: 2;
    justify-self: start;
  }

  .report-heading h1 {
    max-width: 330px;
    font-size: 32px;
  }

  .report-meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 8px 0;
  }

  .race-schedule {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .race-schedule time {
    text-align: left;
  }

  .countdown-grid strong {
    font-size: 29px;
  }

  .calendar-link {
    flex-basis: calc(50% - 4px);
    font-size: 10px;
  }

  .tab small {
    display: none;
  }

  .tab-panel {
    padding-top: 24px;
  }

  .daily-search {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hot-event {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
  }

  .hot-rank {
    font-size: 16px;
  }

  .hot-event-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hot-event-title-row h3 {
    flex-basis: 100%;
    font-size: 15px;
  }

  .hot-score {
    margin-left: auto;
  }

  .hot-media {
    display: none;
  }

  .hot-related li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hot-related small {
    grid-column: 2;
  }

  .hot-topic-hero {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding-top: 16px;
  }

  .hot-detail-rank {
    font-size: 18px;
  }

  .hot-content-card-body {
    grid-template-columns: 1fr;
  }

  .hot-content-media {
    width: 100%;
  }

  .quick-list {
    font-size: 15px;
  }

  .news-item-top,
  .topic-card-header,
  .credibility-row,
  .official-lead-meta {
    align-items: flex-start;
  }

  .official-spotlight {
    grid-template-columns: 1fr;
  }

  .official-secondary {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .news-item-meta {
    flex-wrap: wrap;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .loading-line {
    animation: none;
  }
}
