:root {
  color-scheme: light;
  --background: #f7f5ef;
  --surface: #ffffff;
  --text: #17221d;
  --muted: #46534c;
  --line: #c9d1cc;
  --accent: #0d573f;
  --accent-soft: #e9f4ef;
  --hit: #ad2431;
  --hit-soft: #fff5d9;
  --hit-strong: #d8aa3e;
  --line-green: #047a35;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI",
    "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  background: var(--background);
  color: var(--text);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(13, 87, 63, 0.08),
      transparent 30rem
    ),
    radial-gradient(
      circle at 92% 44%,
      rgba(216, 170, 62, 0.11),
      transparent 28rem
    ),
    var(--background);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
select {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

header,
main,
footer {
  width: calc(100% - 24px);
  max-width: 1120px;
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 8px 16px 10px;
  border-bottom: 1px solid #d8aa3e;
  border-radius: 0 0 10px 10px;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(216, 170, 62, 0.2),
      transparent 28%
    ),
    linear-gradient(120deg, #fff, #eef7f1);
  box-shadow: 0 8px 28px rgba(7, 60, 44, 0.11);
  backdrop-filter: blur(12px);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  background: #11120f;
  color: #fff;
}

.skip-link:focus {
  top: 10px;
}

.home-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  border: 1px solid var(--accent);
  border-radius: 9px;
  overflow: hidden;
}

.home-nav:has(a[href="#line-registration"]) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-nav a {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 7px 4px;
  border-right: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.home-nav a:last-child {
  border-right: 0;
}

.home-nav a[href="#line-registration"] {
  background: linear-gradient(135deg, #56ef96, #06c755 58%, #04a947);
  box-shadow:
    inset 0 -4px 0 #007d31,
    inset 0 2px 0 rgba(255, 255, 255, 0.78);
  color: #002d16;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.home-nav a[aria-current="page"] {
  background: linear-gradient(135deg, #0d573f, #073c2c);
  color: #fff;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 8.5vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

#updated {
  display: none;
}

#reload-button {
  display: inline-flex;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0;
  border: 1px solid #c4c7bf;
  border-radius: 999px;
  background: var(--surface);
  color: #353832;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

#reload-button:active {
  background: #eceee9;
  transform: translateY(1px);
}

#reload-button:focus-visible,
#date-select:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(23, 104, 59, 0.28);
  outline-offset: 2px;
}

#reload-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.reload-icon {
  display: inline-block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

#reload-button.is-loading .reload-icon {
  animation: reload-spin 0.8s linear infinite;
}

@keyframes reload-spin {
  to {
    transform: rotate(360deg);
  }
}

.date-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 0;
}

.date-picker {
  margin: 18px 0 0;
  border: 1px solid #d7dad2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.date-picker > summary {
  padding: 9px 12px;
  color: #596057;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.date-picker[open] > summary {
  border-bottom: 1px solid #e0e2dd;
}

.date-picker .date-control {
  padding: 10px;
}

#date-select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 10px 38px 10px 14px;
  border: 1px solid #bfc2ba;
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

#date-select:disabled {
  cursor: wait;
  opacity: 0.68;
}

#page-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(24px, 6.4vw, 34px);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.home-intro {
  position: relative;
  display: grid;
  min-height: 164px;
  align-content: end;
  gap: 7px;
  margin: 0 0 18px;
  padding: clamp(20px, 4vw, 32px);
  overflow: hidden;
  border: 3px solid #d8aa3e;
  border-radius: 15px;
  background:
    linear-gradient(
      90deg,
      rgba(2, 20, 13, 0.99) 0 48%,
      rgba(2, 20, 13, 0.64) 73%,
      rgba(2, 20, 13, 0.4) 100%
    ),
    url("/keiba-conversion-hero-v1.webp") 72% 48% / cover no-repeat,
    #041b12;
  box-shadow:
    0 16px 38px rgba(0, 43, 23, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
}

.home-intro::after {
  position: absolute;
  inset: auto -8% 17% 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f2cf74, transparent);
  content: "";
  opacity: 0.78;
  transform: rotate(-15deg);
}

.home-intro__eyebrow {
  z-index: 1;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid #ffe18a;
  border-radius: 999px;
  background: var(--hit);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.home-intro #page-title {
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 7vw, 42px);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.74);
}

.home-intro__punch {
  z-index: 1;
  color: #ffe18a;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 950;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.78);
}

main {
  padding: 12px 0 32px;
}

#home-settlement-slot:empty {
  display: none;
}

#active-groups-container:empty {
  display: none;
}

#active-groups-container:not(:empty) {
  margin-bottom: 24px;
}

.performance-ticker {
  margin: 0 0 12px;
  overflow: hidden;
  border: 2px solid #f0c95d;
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 211, 94, 0.22), transparent 32%),
    linear-gradient(120deg, #3b050c, #71111d 58%, #4b0710);
  box-shadow:
    0 10px 26px rgba(91, 8, 20, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.performance-ticker__viewport {
  overflow: hidden;
}

.performance-ticker__viewport > ul {
  display: flex;
  width: calc(var(--ticker-count) * 100%);
  margin: 0;
  padding: 0;
  list-style: none;
  animation: performance-ticker-shift var(--ticker-duration) linear infinite;
}

.performance-ticker--count-2 .performance-ticker__viewport > ul {
  animation-timing-function: steps(2, end);
}

.performance-ticker--count-3 .performance-ticker__viewport > ul {
  animation-timing-function: steps(3, end);
}

.performance-ticker--count-4 .performance-ticker__viewport > ul {
  animation-timing-function: steps(4, end);
}

.performance-ticker--static .performance-ticker__viewport > ul {
  animation: none;
}

.performance-ticker__item {
  flex: 0 0 calc(100% / var(--ticker-count));
  min-width: 0;
}

.performance-ticker__item > a {
  display: grid;
  min-height: 72px;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
}

.performance-ticker__item > a:hover,
.performance-ticker__item > a:focus-visible {
  background: rgba(255, 233, 171, 0.12);
}

.performance-ticker__label {
  color: #ffe18a;
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.performance-ticker__item strong {
  color: #ffe18a;
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.performance-ticker__detail {
  min-width: 0;
  overflow: hidden;
  color: #fffaf0;
  font-size: 0.82rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-ticker__item i {
  color: #ffe18a;
  font-size: 1.4rem;
  font-style: normal;
  line-height: 1;
}

@keyframes performance-ticker-shift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--ticker-shift));
  }
}

.winning-days {
  margin: 0 0 24px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #b98a22;
  border-top: 7px solid var(--hit);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, #fff9dc, transparent 34%),
    linear-gradient(145deg, #fffef9, #f6e2aa);
  box-shadow: 0 15px 38px rgba(100, 58, 4, 0.16);
}

.winning-days__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.winning-days h2 {
  margin: 0;
  font-size: clamp(24px, 4.6vw, 36px);
  letter-spacing: -0.04em;
}

.winning-days h2 > span {
  display: block;
  margin-bottom: 2px;
  color: #765000;
  font-size: 0.47em;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.winning-days__heading > a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.winning-days__heading > a:hover,
.winning-days__heading > a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
}

.winning-days ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.winning-day {
  overflow: hidden;
  border: 1px solid #ddc37f;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(88, 48, 3, 0.08);
}

.winning-day__link {
  display: grid;
  grid-template-columns:
    38px minmax(120px, 0.65fr) minmax(180px, 1.25fr)
    minmax(135px, 0.75fr) minmax(105px, 0.55fr);
  grid-template-areas:
    "rank date roi payout hit"
    "rank action action action action";
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    transform 140ms ease;
}

.winning-day__link:hover {
  background: #fff8df;
  transform: translateY(-1px);
}

.winning-day__link:focus-visible {
  outline: 4px solid var(--hit);
  outline-offset: -4px;
}

.winning-day__rank {
  display: grid;
  grid-area: rank;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #102f24;
  color: #f9db86;
  font-size: 16px;
  font-weight: 950;
}

.winning-day__date {
  display: inline-flex;
  grid-area: date;
  min-height: 40px;
  align-items: center;
  border-radius: 7px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.winning-day__payout,
.winning-day__metric {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.winning-day__payout span,
.winning-day__metric span,
.winning-day__metric small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.winning-day__payout strong {
  color: #5f421b;
  font-size: clamp(20px, 2.4vw, 28px);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}

.winning-day__metric strong {
  color: var(--text);
  font-size: clamp(19px, 2.1vw, 25px);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}

.winning-day__metric--roi strong {
  color: var(--hit);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.winning-day__metric--roi {
  grid-area: roi;
}

.winning-day__payout {
  grid-area: payout;
}

.winning-day__metric--hit {
  grid-area: hit;
}

.winning-day__action {
  display: inline-flex;
  min-height: 34px;
  grid-area: action;
  align-items: center;
  justify-self: end;
  gap: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.winning-day__action i {
  color: var(--hit);
  font-size: 1.25em;
  font-style: normal;
}

.home-proof {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.home-hit-showcase__heading h2 {
  margin: 3px 0 4px;
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.home-hit-showcase__heading h2 > span {
  display: block;
  margin-bottom: 3px;
  color: var(--hit);
  font-size: 0.48em;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.home-hit-showcase__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-hit-showcase__heading > a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--hit);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.home-hit-showcase__heading > a i {
  color: #ffe18a;
  font-size: 1.2em;
  font-style: normal;
}

.home-hit-showcase__heading time {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff;
  color: #8c5000;
  font-size: 0.65em;
  font-variant-numeric: tabular-nums;
  vertical-align: 0.15em;
}

.home-hit-showcase > ul,
.home-proof-result-only > ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.home-proof-result-only__selections {
  border-top: 1px solid var(--line);
}

.home-proof-result-only__selections summary {
  min-height: 44px;
  padding: 8px 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.home-proof-result-only__selections ol {
  margin: 0;
  padding: 0 0 8px 22px;
  font-variant-numeric: tabular-nums;
}

.home-hit-showcase {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #c9952f;
  border-top: 7px solid var(--hit);
  border-radius: 12px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.92),
      transparent 34%
    ),
    linear-gradient(135deg, #fffef7 0%, #f9e8b4 100%);
  box-shadow: 0 14px 38px rgba(112, 59, 4, 0.18);
}

.home-hit-showcase > ul > li {
  overflow: hidden;
  border: 1px solid #d8a63e;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 5px 16px rgba(112, 59, 4, 0.1);
}

.home-hit-showcase > ul > li > a,
.home-hit-showcase > ul > li > div[role="group"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 112px;
  padding: 15px 16px;
  color: var(--text);
  text-decoration: none;
}

.home-hit-showcase__race {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 7px;
  color: #8c5000;
  font-size: 13px;
  font-weight: 900;
}

.home-hit-showcase__badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--hit);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.home-hit-showcase strong {
  color: #5d3200;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.home-hit-showcase b {
  display: flex;
  min-height: 54px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #d8aa3e;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff6d6, #f8dc8d);
  color: var(--hit);
  font-size: clamp(21px, 5vw, 30px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-hit-showcase b::before {
  color: #6c4615;
  content: "払戻";
  font-size: 0.58em;
  letter-spacing: 0.08em;
}

.home-hit-showcase i {
  grid-column: 2;
  grid-row: 2;
  color: #8c5000;
  font-size: 21px;
  font-style: normal;
  line-height: 1;
}

.home-hit-showcase > ul > li > a:hover,
.home-hit-showcase > ul > li > a:focus-visible {
  background: #fff8df;
}

.home-proof-result-disclosure {
  border-top: 1px solid var(--line);
}

.home-proof-result-disclosure > summary {
  min-height: 48px;
  padding: 11px 4px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.home-proof-result-only {
  margin-top: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.home-proof-result-only > ul > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.home-proof-result-only__race {
  color: var(--text);
  font-weight: 900;
}

.home-proof-result-only strong,
.home-proof-result-only b {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.home-proof-result-only__selections {
  grid-column: 1 / -1;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  margin: 0 7px;
  color: var(--muted);
  content: "/";
}

.breadcrumbs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
}

.status-section + .status-section {
  margin-top: 42px;
}

.status-section--live {
  overflow: hidden;
  padding: 0 12px 12px;
  border: 2px solid #0d573f;
  border-top: 7px solid #d8aa3e;
  border-radius: 12px;
  background: #f4faf6;
  box-shadow: 0 14px 34px rgba(7, 60, 44, 0.18);
}

.status-section--live > .status-heading {
  margin: 0 -12px 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #0d573f, #073c2c);
  color: #fff;
  font-size: clamp(22px, 5vw, 29px);
  font-weight: 950;
}

.status-section--live > .status-heading .status-count {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2cf74;
  color: #17221d;
  font-size: 13px;
  font-weight: 900;
}

.status-section--live .venue-section {
  overflow: hidden;
  border: 1px solid #8bb5a1;
  border-radius: 8px;
  background: #fff;
}

.status-section--live .venue-heading {
  padding-inline: 12px;
}

.status-section--live .race {
  border-color: #d3a647;
}

.status-section--live .race-heading {
  background: #fffaf0;
}

.home-post-cutoff {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.home-post-cutoff > h2 {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.home-post-cutoff > h2 span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.home-post-cutoff > h2 .home-post-cutoff__title {
  min-width: 0;
  flex: 1 1 auto;
  font-size: inherit;
  font-weight: inherit;
  white-space: normal;
}

.home-post-cutoff__narrow-break {
  display: none;
}

.home-post-cutoff .status-section {
  margin-top: 12px;
}

.home-post-cutoff .status-heading {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 17px;
}

.home-post-cutoff .race.has-hit {
  border-width: 2px;
  border-color: #d17a00;
  box-shadow: 0 0 0 2px rgba(209, 122, 0, 0.13);
}

.home-post-cutoff .race.has-hit .race-heading {
  background: #fff5dc;
}

.home-post-cutoff-other,
.home-post-cutoff-awaiting {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.home-post-cutoff-other > summary,
.home-post-cutoff-awaiting > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.home-post-cutoff-other > summary::after,
.home-post-cutoff-awaiting > summary::after {
  content: "＋";
  font-size: 18px;
}

.home-post-cutoff-other[open] > summary::after,
.home-post-cutoff-awaiting[open] > summary::after {
  content: "−";
}

.status-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 2px 20px;
  font-size: 21px;
  font-weight: 750;
}

.status-count,
.venue-count,
.ticket-count,
.race-time {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}

.ticket-count--pending {
  padding: 2px 7px;
  border: 1px solid #d3a647;
  border-radius: 999px;
  background: #fff5d6;
  color: #765000;
  font-weight: 850;
}

.ticket-count--skip {
  padding: 2px 7px;
  border: 1px solid #9aa5a9;
  border-radius: 999px;
  background: #eef1f2;
  color: #4b565b;
  font-weight: 850;
}

.race-time {
  min-width: 7.2em;
  flex: 1 1 auto;
}

.race-result-summary {
  flex: 0 1 auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.race.has-hit .race-result-summary {
  color: var(--hit);
  font-weight: 900;
}

.race-cutoff {
  flex: 0 1 auto;
  padding: 2px 6px;
  border: 1px solid #d3a647;
  border-radius: 999px;
  background: #fff5d6;
  color: #765000;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.venue-section + .venue-section {
  margin-top: 10px;
}

.venue-section {
  border-bottom: 1px solid var(--line);
}

.venue-heading,
.race-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  row-gap: 4px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.venue-heading::-webkit-details-marker,
.race-heading::-webkit-details-marker {
  display: none;
}

.venue-heading {
  min-height: 58px;
  padding: 12px 4px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.venue-heading::after,
.race-heading::after {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 24px;
  font-weight: 400;
  content: "＋";
}

.venue-section[open] > .venue-heading::after,
.race[open] > .race-heading::after {
  content: "−";
}

.venue-article-link,
.race-article-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #075a9c;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  -webkit-tap-highlight-color: rgba(7, 90, 156, 0.16);
}

.venue-article-link {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-article-link:focus-visible,
.race-article-link:focus-visible {
  border-radius: 4px;
  outline-color: #f2b632;
  outline-offset: 3px;
}

.race-article-link {
  min-width: 50px;
  flex: none;
  font-weight: 850;
}

.venue-hit,
.race-hit,
.race-refund {
  padding: 2px 7px;
  border: 1px solid #e2a34c;
  border-radius: 999px;
  background: #fff0cf;
  color: #844300;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

.race-refund {
  border-color: #8b949e;
  background: #f1f3f5;
  color: #343a40;
}

.race-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-bottom: 16px;
}

.race {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.race-heading {
  min-height: 58px;
  padding: 12px 15px;
  font-size: 20px;
  font-weight: 750;
}

.race[open] > .race-heading {
  border-bottom: 1px solid var(--line);
}

.race.has-hit {
  border-color: #e1a14b;
  box-shadow: 0 0 0 1px rgba(209, 119, 0, 0.08);
}

.race-picks {
  border-top: 1px solid var(--line);
}

.race-picks > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #f1fff6, #dff4e7);
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  list-style: none;
}

.race-picks > summary::-webkit-details-marker {
  display: none;
}

.race-picks > summary::after {
  flex: 0 0 auto;
  color: var(--hit);
  content: "＋";
  font-size: 18px;
}

.race-picks[open] > summary::after {
  content: "−";
}

.race.has-hit .race-picks > summary {
  background: linear-gradient(135deg, #fffaf0, #ffe7a1);
  color: var(--hit);
}

.tickets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) max-content;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 11px 15px;
}

.ticket + .ticket {
  border-top: 1px solid var(--line);
}

.ticket.is-hit {
  background: var(--hit-soft);
  box-shadow: inset 4px 0 0 var(--hit-strong);
}

.outcome {
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.hit {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--hit);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.race-result {
  margin: 0;
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  background: #f7f8fa;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.race > .race-result,
.race > .race-refund {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.race > .race-result {
  border-top-color: var(--line);
}

.race.has-hit > .race-result {
  border-top-color: #f0b7b7;
  background: var(--hit-soft);
  color: var(--hit);
  font-weight: 900;
}

.race > .race-refund {
  border-top-color: var(--line);
  margin: 0;
  padding: 12px 15px;
  background: #f1f3f5;
  color: #343a40;
  font-size: 16px;
  font-weight: 800;
}

.home-race-detail-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #b8d0c4;
  background: linear-gradient(135deg, #f1fff6, #dff4e7);
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.race.has-hit .home-race-detail-link {
  border-top-color: #e1bd67;
  background: linear-gradient(135deg, #fffaf0, #ffe7a1);
  color: var(--hit);
}

.home-race-detail-link i {
  color: var(--hit);
  font-size: 1.25em;
  font-style: normal;
}

.empty {
  padding: 48px 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.empty--current {
  position: relative;
  overflow: hidden;
  padding: 17px 18px 17px 46px;
  border: 1px solid #b9cfc4;
  border-radius: 11px;
  background: linear-gradient(120deg, #ffffff, #edf6f1);
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 8px 22px rgba(7, 60, 44, 0.08);
}

.empty--current::before {
  position: absolute;
  top: 50%;
  left: 19px;
  width: 12px;
  height: 12px;
  border: 3px solid #9dc8b5;
  border-top-color: var(--accent);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

#line-cta:empty {
  display: none;
}

.line-registration {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  margin: 0 0 18px;
  padding: clamp(18px, 3.2vw, 30px);
  overflow: hidden;
  border: 3px solid #f2cf74;
  border-radius: 16px;
  background:
    linear-gradient(
      90deg,
      rgba(2, 20, 13, 0.99) 0 46%,
      rgba(2, 20, 13, 0.68) 72%,
      rgba(2, 20, 13, 0.48) 100%
    ),
    url("/keiba-conversion-hero-v1.webp") 72% center / cover no-repeat,
    #041b12;
  box-shadow:
    0 18px 42px rgba(0, 43, 23, 0.3),
    0 0 0 3px rgba(6, 199, 85, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #fff;
  isolation: isolate;
}

.line-registration::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      118deg,
      transparent 0 66%,
      rgba(255, 218, 112, 0.2) 66.2% 67%,
      transparent 67.2%
    ),
    radial-gradient(
      circle at 15% 120%,
      rgba(173, 36, 49, 0.42),
      transparent 36%
    );
  content: "";
  pointer-events: none;
}

.line-registration > * {
  position: relative;
  z-index: 1;
}

.line-registration__copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.line-registration__eyebrow {
  justify-self: start;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #ffe18a;
  background: var(--hit);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.line-registration h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 4.5vw, 41px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
}

.line-registration__proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 1px 10px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(255, 225, 138, 0.72);
  border-radius: 9px;
  background: rgba(55, 4, 12, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.22);
}

.line-registration__proof > span {
  grid-column: 1 / -1;
  color: #ffe18a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.line-registration__proof > strong {
  color: #ffe18a;
  font-size: clamp(25px, 4vw, 37px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.line-registration__proof > small {
  min-width: 0;
  padding-bottom: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.line-registration__proof-link {
  justify-self: start;
  min-height: 38px;
  padding: 6px 2px;
  color: #fff4c9;
  font-size: 13px;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.line-registration__proof-link i {
  color: #ffe18a;
  font-style: normal;
}

.line-registration-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 3px solid #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #65f29e 0%, #06c755 48%, #00a844 100%);
  box-shadow:
    0 12px 28px rgba(0, 22, 11, 0.32),
    0 0 0 3px #f2cf74,
    inset 0 2px 0 rgba(255, 255, 255, 0.38);
  color: #002b15;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(18px, 2.3vw, 23px);
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.line-registration-link::after {
  color: #002b15;
  content: "›";
  font-size: 1.35em;
  line-height: 1;
  animation: line-cta-arrow 1.5s ease-in-out infinite;
}

@keyframes line-cta-arrow {
  50% {
    transform: translateX(4px);
  }
}

.line-registration-link:hover {
  background: linear-gradient(135deg, #87ffb5, #16dc68 50%, #06b84d);
  transform: translateY(-1px);
}

.line-registration-link:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.line-registration-link[aria-disabled="true"] {
  cursor: default;
  filter: saturate(0.55);
  opacity: 0.72;
}

.line-registration--bottom {
  width: 100%;
  margin-top: 18px;
  padding-block: 22px;
}

.line-registration--bottom h2 {
  font-size: clamp(26px, 4vw, 34px);
}

.line-registration-link strong {
  min-width: 0;
  font: inherit;
}

.line-registration-link span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 73, 28, 0.25);
  background: #fff;
  color: #007c32;
  font-size: 0.7em;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 0 0 max(22px, env(safe-area-inset-bottom));
}

#line-bottom-cta {
  width: 100%;
}

.footer-age {
  color: #8c6a18;
  font-size: 12px;
  font-weight: 850;
}

.variant-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 3px;
}

html.is-ura {
  color-scheme: dark;
  --background: #050505;
  --surface: #111111;
  --text: #f7f7f7;
  --muted: #a6a6a6;
  --line: #353535;
  --accent: #ffffff;
  --accent-soft: #181818;
  --hit: #ffffff;
  --hit-soft: #111111;
  --hit-strong: #ffffff;
}

html.is-ura .home-nav {
  border-color: #0d573f;
}

html.is-ura
  .home-nav
  a:not([aria-current="page"]):not([href="#line-registration"]) {
  border-right-color: #0d573f;
  color: #073c2c;
}

html.is-ura .home-intro__eyebrow,
html.is-ura .line-registration__eyebrow {
  border-color: #f2cf74;
  background: #9f2130;
  color: #fff;
}

html.is-ura .home-hit-showcase__heading > a,
html.is-ura .home-hit-showcase__badge {
  background: #ffe269;
  color: #191305;
}

html.is-ura .venue-article-link,
html.is-ura .race-article-link {
  color: #ffe269;
}

html.is-ura .status-section--live {
  border-color: #397b60;
  border-top-color: #d8aa3e;
  background: #07130e;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

html.is-ura .status-section--live .venue-section {
  border-color: #397b60;
  background: #111;
}

html.is-ura .status-section--live .race-heading {
  background: #17140b;
}

html.is-ura .race-picks > summary {
  border-color: #28553f;
  background: #10251b;
  color: #c8ffda;
}

html.is-ura .race-picks > summary::after,
html.is-ura .home-race-detail-link i {
  color: #ffe269;
}

html.is-ura .race.has-hit .race-picks > summary {
  background: #2a220d;
  color: #ffe269;
}

html.is-ura .home-race-detail-link {
  border-top-color: #28553f;
  background: #10251b;
  color: #c8ffda;
}

html.is-ura .race.has-hit .home-race-detail-link {
  border-top-color: #554713;
  background: #2a220d;
  color: #ffe269;
}

html.is-ura .date-picker {
  border-color: #444;
  background: #111;
}

html.is-ura .date-picker > summary {
  color: #c7c7c7;
}

html.is-ura .date-picker[open] > summary {
  border-bottom-color: #444;
}

html.is-ura #reload-button,
html.is-ura #date-select {
  border-color: #555555;
  background: #0b0b0b;
  color: #ffffff;
}

html.is-ura #reload-button:active {
  background: #222222;
}

html.is-ura #reload-button:focus-visible,
html.is-ura #date-select:focus-visible,
html.is-ura summary:focus-visible,
html.is-ura a:focus-visible {
  outline-color: rgba(255, 255, 255, 0.6);
}

html.is-ura .venue-hit,
html.is-ura .race-hit {
  border-color: #b99a32;
  background: #1b170b;
  color: #ffe269;
  box-shadow: none;
}

html.is-ura .race-cutoff {
  border-color: #d2b35d;
  background: #27200c;
  color: #ffe99a;
}

html.is-ura .race-result-summary {
  color: #a5a5a5;
}

html.is-ura .race.has-hit .race-result-summary {
  color: #ffe269;
}

html.is-ura .race.has-hit {
  border-color: #b99a32;
  box-shadow: 0 0 0 1px rgba(255, 210, 75, 0.34);
}

html.is-ura .ticket.is-hit {
  min-height: 60px;
  border-top-color: #554713;
  background: #2a220d;
  color: #fff0a6;
  box-shadow: inset 4px 0 0 #d9b43d;
}

html.is-ura .ticket.is-hit .outcome {
  font-size: 22px;
  font-weight: 900;
}

html.is-ura .ticket.is-hit .hit {
  border: 1px solid #d9b43d;
  background: #ffe269;
  color: #191305;
  font-size: 16px;
  box-shadow: none;
}

html.is-ura .race > .race-result {
  border-top-color: #554713;
  background: #161616;
  color: #a5a5a5;
}

html.is-ura .race.has-hit > .race-result {
  border-top-color: #554713;
  background: #2a220d;
  color: #ffe269;
}

html.is-ura .race > .race-refund {
  border-top-color: #343434;
  background: #161616;
  color: #e2e2e2;
}

html.is-ura .home-proof-result-only__selections summary {
  color: #ffe269;
}

html.is-ura .home-hit-showcase {
  border-color: #b99a32;
  background: #18140a;
  box-shadow: inset 0 0 0 1px #3a3012;
}

html.is-ura .home-hit-showcase__heading {
  background: transparent;
  color: #ffffff;
}

html.is-ura .home-hit-showcase__heading h2 {
  color: #ffffff;
}

html.is-ura .home-hit-showcase__heading h2 > span {
  color: #ffe269;
}

html.is-ura .home-hit-showcase__heading time {
  background: #ffe269;
  color: #191305;
}

html.is-ura .home-hit-showcase > ul > li,
html.is-ura .home-hit-showcase > ul > li > a,
html.is-ura .home-hit-showcase > ul > li > div[role="group"],
html.is-ura .home-proof-result-only {
  border-color: #554713;
  background: #0b0b0b;
  color: #fff;
}

html.is-ura .home-hit-showcase__race,
html.is-ura .home-hit-showcase strong,
html.is-ura .home-hit-showcase i {
  color: #ffe269;
}

html.is-ura .home-hit-showcase b {
  color: #781320;
}

html.is-ura .home-proof-result-disclosure,
html.is-ura .home-proof-result-only > ul > li {
  border-color: #343434;
}

html.is-ura .home-proof-result-disclosure > summary,
html.is-ura .home-proof-result-only > ul > li,
html.is-ura .home-proof-result-only strong,
html.is-ura .home-proof-result-only b {
  color: #bdbdbd;
}

@media (min-width: 600px) {
  header {
    padding: 14px 0 18px;
  }

  .date-control {
    max-width: 320px;
  }

  #date-select {
    height: 100%;
  }

  h1 {
    font-size: 34px;
  }

  main {
    padding-top: 30px;
  }

  .home-hit-showcase > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  header,
  main,
  footer {
    width: calc(100% - 12px);
  }

  header {
    padding: 7px 10px 8px;
    border-bottom-width: 1px;
    border-radius: 0 0 10px 10px;
  }

  main {
    padding: 7px 0 18px;
  }

  .home-intro {
    min-height: 142px;
    margin-bottom: 14px;
    padding: 16px 13px;
    border-width: 2px;
    border-radius: 11px;
    background-position:
      center,
      78% center;
  }

  .home-intro #page-title {
    font-size: clamp(25px, 7.4vw, 30px);
  }

  .home-intro__punch {
    font-size: 13px;
  }

  #reload-button {
    width: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 14px;
  }

  .date-control {
    gap: 8px;
    margin-top: 0;
  }

  #date-select {
    min-height: 46px;
    padding-block: 7px;
    font-size: 16px;
  }

  .home-nav {
    margin-top: 0;
    border-radius: 7px;
  }

  .home-nav a {
    min-height: 42px;
    font-size: 12px;
  }

  .home-nav:has(a[href="#line-registration"]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-nav:has(a[href="#line-registration"]) a {
    padding-inline: 2px;
    font-size: 12px;
    white-space: nowrap;
  }

  .performance-ticker {
    margin-bottom: 8px;
    border-radius: 9px;
  }

  .performance-ticker__item > a {
    min-height: 72px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "label value arrow"
      "detail detail arrow";
    gap: 4px 8px;
    padding: 8px 10px;
  }

  .performance-ticker__label {
    grid-area: label;
    font-size: 10px;
  }

  .performance-ticker__item strong {
    grid-area: value;
    justify-self: end;
    font-size: clamp(23px, 7.4vw, 29px);
  }

  .performance-ticker__detail {
    grid-area: detail;
    overflow: visible;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
  }

  .performance-ticker__item i {
    grid-area: arrow;
  }

  .winning-days {
    margin-bottom: 14px;
    padding: 12px 9px;
    border-top-width: 5px;
    border-radius: 10px;
  }

  .home-proof {
    margin-bottom: 14px;
  }

  .home-hit-showcase {
    padding: 12px 9px;
    border-top-width: 5px;
    border-radius: 10px;
  }

  .home-hit-showcase__heading {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-inline: 2px;
  }

  .home-hit-showcase__heading > a {
    min-height: 36px;
    font-size: 11px;
  }

  .home-hit-showcase__heading h2 {
    margin: 0;
    font-size: 20px;
  }

  .home-hit-showcase > ul {
    gap: 6px;
    margin-top: 8px;
  }

  .home-hit-showcase > ul > li > a,
  .home-hit-showcase > ul > li > div[role="group"] {
    grid-template-columns: minmax(0, 1fr) auto 12px;
    grid-template-rows: auto auto;
    gap: 3px 8px;
    min-height: 78px;
    padding: 9px 10px;
  }

  .home-hit-showcase__race {
    grid-column: 1;
    grid-row: 1;
  }

  .home-hit-showcase strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 15px;
    white-space: nowrap;
  }

  .home-hit-showcase b {
    display: grid;
    min-height: 0;
    grid-column: 2;
    grid-row: 1 / 3;
    align-content: center;
    justify-items: end;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: clamp(19px, 6vw, 23px);
  }

  .home-hit-showcase b::before {
    font-size: 10px;
  }

  html.is-ura .home-hit-showcase b {
    color: #ffe269;
  }

  html.is-ura .home-hit-showcase b::before {
    color: #f4dfa0;
  }

  .home-hit-showcase i {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .winning-days h2 {
    font-size: 21px;
  }

  .winning-days h2 > span {
    font-size: 12px;
  }

  .winning-days__heading {
    align-items: center;
    margin-bottom: 8px;
  }

  .winning-days__heading > a {
    min-height: 36px;
    padding: 4px 5px;
    font-size: 11px;
  }

  .winning-day__link {
    grid-template-columns: minmax(68px, 0.7fr) minmax(0, 1.3fr);
    grid-template-areas:
      "date roi"
      "payout hit"
      "action action";
    column-gap: 12px;
    row-gap: 8px;
    padding: 10px 11px;
  }

  .winning-day__rank {
    display: none;
  }

  .winning-day__date {
    grid-area: date;
    align-self: end;
    font-size: 14px;
  }

  .winning-day__metric--roi {
    display: grid;
    grid-area: roi;
    justify-self: end;
    text-align: right;
  }

  .winning-day__metric--roi strong {
    font-size: clamp(24px, 7vw, 29px);
  }

  .winning-day__metric {
    padding: 0;
    border: 0;
  }

  .winning-day__payout {
    display: grid;
    grid-area: payout;
    padding-top: 7px;
    border-top: 1px solid #ddc37f;
  }

  .winning-day__metric--hit {
    display: grid;
    grid-area: hit;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0 5px;
    padding-top: 7px;
    border-top: 1px solid #ddc37f;
  }

  .winning-day__payout strong {
    font-size: 17px;
  }

  .winning-day__metric--hit strong {
    font-size: 17px;
    text-align: right;
  }

  .winning-day__metric--roi span {
    display: none;
  }

  .winning-day__payout span,
  .winning-day__metric--hit span {
    font-size: 12px;
  }

  .winning-day__metric--hit small {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: 12px;
  }

  .winning-day__action {
    width: 100%;
    min-height: 38px;
    justify-content: center;
    justify-self: stretch;
    border-top: 1px solid #ddc37f;
    color: var(--hit);
    font-size: 13px;
  }

  .line-registration {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 15px 12px;
    border-width: 2px;
    border-radius: 12px;
    background-position:
      center,
      78% center;
    text-align: center;
  }

  .line-registration:not(.line-registration--bottom) {
    display: grid;
  }

  .line-registration:not(.line-registration--bottom) .line-registration__copy {
    display: grid;
  }

  .line-registration__eyebrow {
    justify-self: center;
  }

  .line-registration:not(.line-registration--bottom) .line-registration-link {
    position: static;
    width: 100%;
    min-height: 62px;
    padding-inline: 10px;
    font-size: clamp(14px, 4.2vw, 17px);
  }

  .line-registration__proof {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .line-registration__proof > strong {
    font-size: clamp(25px, 8vw, 32px);
  }

  .line-registration__proof > small {
    justify-self: end;
    text-align: right;
  }

  .line-registration__proof-link {
    justify-self: center;
    font-size: 12px;
  }

  .line-registration--bottom {
    display: contents;
  }

  .line-registration--bottom .line-registration__copy {
    display: none;
  }

  .line-registration--bottom .line-registration-link {
    position: fixed;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    z-index: 90;
    width: auto;
    min-height: 62px;
    justify-content: center;
    border-radius: 12px;
    box-shadow:
      0 10px 30px rgba(0, 44, 22, 0.38),
      0 0 0 3px #f2cf74;
    gap: 8px;
    padding-inline: 12px;
    font-size: clamp(14px, 4.1vw, 17px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    white-space: nowrap;
  }

  body:not(.line-cta-ready) .line-registration--bottom .line-registration-link {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 20px));
  }

  body.line-cta-in-view .line-registration--bottom .line-registration-link {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 20px));
  }

  body:has(.line-registration) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .empty {
    padding-block: 26px;
  }

  .empty--current {
    padding: 13px 12px 13px 40px;
    font-size: 14px;
  }

  .empty--current::before {
    left: 15px;
    width: 11px;
    height: 11px;
  }

  footer {
    padding-top: 12px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 900px) {
  .date-control {
    width: 100%;
    max-width: 360px;
  }

  .home-nav {
    width: 100%;
    margin-top: 0;
  }
}

@media (min-width: 760px) {
  header,
  main,
  footer {
    width: calc(100% - 40px);
  }

  .race-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .race-grid > .race:only-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #reload-button.is-loading .reload-icon {
    animation: none;
  }

  .performance-ticker__viewport > ul {
    width: auto;
    display: grid;
    gap: 6px;
    animation: none;
    transform: none;
  }

  .performance-ticker__item {
    width: auto;
  }

  .line-registration-link::after {
    animation: none;
  }
}

@media (max-width: 360px) {
  .status-section--live > .status-heading {
    gap: 6px;
    font-size: clamp(18px, 5.8vw, 20px);
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .status-section--live > .status-heading > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-post-cutoff__narrow-break {
    display: block;
  }

  .line-registration h2 {
    font-size: clamp(1.3rem, 6.8vw, 1.6rem);
    white-space: nowrap;
  }

  .line-registration-link strong {
    word-break: keep-all;
  }
}
