:root {
  color-scheme: dark;
  --navy: #080e1f;
  --navy2: #0d1630;
  --navy3: #111d3c;
  --gold: #f5a623;
  --gold2: #fbbf24;
  --gold-dim: rgba(245, 166, 35, 0.15);
  --teal: #2dd4bf;
  --red: #f87171;
  --green: #4ade80;
  --text: #e8eaf0;
  --muted: #7c8eb6;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 166, 35, 0.08), transparent 32rem),
    radial-gradient(circle at 8% 42%, rgba(45, 212, 191, 0.06), transparent 28rem),
    var(--navy);
  color: var(--text);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: var(--min);
    transform: scale(1);
  }
  50% {
    opacity: var(--max);
    transform: scale(1.35);
  }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 64px;
  padding: 0 clamp(20px, 5vw, 48px);
  background: #080e1f;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.topbar .logo {
  position: absolute;
  left: clamp(20px, 5vw, 48px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.logo span span {
  color: var(--gold);
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(245, 166, 35, 0.44);
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.btn-primary,
.btn-secondary,
.park-tab {
  min-height: 42px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-cta,
.btn-primary {
  border-radius: 999px;
  background: var(--gold);
  color: #070707;
  box-shadow: 0 0 38px rgba(245, 166, 35, 0.28);
}

.nav-cta {
  padding: 0 22px;
  font-size: 14px;
}

.btn-primary,
.btn-secondary {
  min-height: 54px;
  padding: 0 32px;
  font-size: 15px;
}

.btn-secondary {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
}

.nav-cta:hover,
.btn-primary:hover,
.btn-secondary:hover,
.park-tab:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--gold2);
  box-shadow: 0 0 56px rgba(245, 166, 35, 0.42);
}

main,
.footer,
.top-live-stack {
  position: relative;
  z-index: 1;
}

.top-live-stack {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 90;
  background: #080e1f;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32);
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 170px 24px 38px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 17px;
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  animation: pulse 1.45s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(0.72);
  }
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero h1,
.section-title,
.cta-section h2,
.downtime-header h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(46px, 8vw, 90px);
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.hero-board-heading {
  margin-bottom: 22px;
}


.hero-board-heading .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.api-note {
  min-height: 23px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(245, 166, 35, 0.22);
  border-bottom: 1px solid rgba(245, 166, 35, 0.22);
  background: #0b142c;
}

.ticker {
  display: flex;
  width: max-content;
  gap: 56px;
  padding: 11px 0;
  animation: ticker 36s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.down-alert {
  border-bottom: 1px solid rgba(248, 113, 113, 0.18);
  background: #2a1320;
  overflow: hidden;
}

.down-ticker {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 56px;
  min-height: 42px;
  padding: 9px 0;
  animation: ticker 92s linear infinite;
}

.down-alert-chip,
.down-alert-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.down-alert-heading {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.down-alert-chip .down-ride {
  color: var(--text);
  font-weight: 900;
}

.down-alert-chip .down-park {
  color: #b8c2d8;
  font-weight: 700;
}

.down-alert-chip .down-duration {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.14);
  color: var(--red);
  font-weight: 900;
}

.ticker-ride {
  color: #b8c2d8;
  font-weight: 800;
}

.ticker-item > span:not(.ticker-ride):not(.ticker-badge) {
  color: #fff;
  font-weight: 900;
}

.ticker-badge,
.verdict-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.badge-good,
.verdict-go {
  background: rgba(74, 222, 128, 0.14);
  color: var(--green);
}

.badge-avg,
.verdict-avg {
  background: rgba(251, 191, 36, 0.14);
  color: var(--gold2);
}

.badge-skip,
.verdict-skip {
  background: rgba(248, 113, 113, 0.14);
  color: var(--red);
}

.section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

#live {
  padding-top: 24px;
}

.section-tight {
  padding-top: 10px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.park-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.hero-park-tabs {
  justify-content: center;
  max-width: 820px;
}

.park-tab {
  padding: 0 18px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.park-tab.active {
  border-color: rgba(245, 166, 35, 0.42);
  background: var(--gold-dim);
  color: var(--gold);
}

.park-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.park-status-banner strong {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.park-status-banner span {
  min-width: 0;
}

.park-status-open {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.08);
}

.park-status-open strong {
  color: var(--green);
}

.park-status-closed {
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(248, 113, 113, 0.08);
}

.park-status-closed strong {
  color: var(--red);
}

.park-status-event {
  border-color: rgba(245, 166, 35, 0.24);
  background: rgba(245, 166, 35, 0.1);
}

.park-status-event strong {
  color: var(--gold);
}

.park-status-unknown strong {
  color: var(--muted);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 20px;
}

.value-panel {
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.value-panel h3 {
  margin: 0 0 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.value-panel-best h3 {
  color: var(--green);
}

.value-panel-worst h3 {
  color: var(--red);
}

.value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--card-border);
}

.value-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.value-row:last-child {
  padding-bottom: 0;
}

.value-ride {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.value-land,
.value-empty {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.value-metric {
  text-align: right;
  white-space: nowrap;
}

.value-metric strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.value-metric span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
}

.rides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 16px;
}

.rides-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.ride-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ride-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), transparent 58%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ride-card:hover {
  border-color: rgba(245, 166, 35, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.ride-card:hover::before {
  opacity: 1;
}

.ride-card > * {
  position: relative;
}

.ride-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ride-name {
  max-width: 185px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.ride-land {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.wait-display {
  flex: 0 0 auto;
  text-align: right;
}

.wait-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 0.95;
}

.wait-unit {
  margin-left: 2px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.status-text {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
}

.verdict-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
}

.vs-hist {
  color: var(--muted);
  font-size: 12px;
}

.down-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.stats-strip {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--navy2);
}

.stats-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.feature-card {
  min-height: 245px;
  padding: 30px 28px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  border-color: rgba(245, 166, 35, 0.23);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: fit-content;
  min-width: 68px;
  height: 34px;
  place-items: center;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.icon-gold {
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold);
}

.icon-teal {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal);
}

.icon-red {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  letter-spacing: 0;
}

.feature-status {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.downtime-card {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--navy3);
}

.downtime-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.downtime-header h3 {
  margin: 0;
  font-size: 23px;
}

.downtime-header span {
  color: var(--muted);
  font-size: 13px;
}

.downtime-filter {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.downtime-filter-btn {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.downtime-filter-btn.active {
  background: var(--gold-dim);
  color: var(--gold);
}

.downtime-list {
  display: grid;
  gap: 12px;
}

.downtime-empty {
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.downtime-row,
.downtime-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 96px 92px 82px 140px;
  gap: 16px;
  align-items: center;
}

.downtime-row-head {
  padding: 0 16px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.downtime-row-head > span:nth-child(2),
.downtime-row-head > span:nth-child(3),
.downtime-row-head > span:nth-child(4),
.downtime-row-head > span:nth-child(5) {
  text-align: left;
}

.downtime-row-head > span:last-child {
  text-align: right;
}

.downtime-row {
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
}

.dt-ride {
  font-weight: 800;
}

.dt-val {
  color: var(--muted);
  font-size: 13px;
}

.dt-status {
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.currently-down {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
}

.red-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  animation: pulse 1.1s ease-in-out infinite;
}

.recover {
  margin-top: 3px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
}

.operating {
  color: var(--green);
}

.cta-section {
  padding: 95px 24px;
  border-top: 1px solid var(--card-border);
  background: linear-gradient(135deg, var(--navy2), var(--navy3));
  text-align: center;
}

.cta-section h2 {
  width: min(760px, 100%);
  margin: 0 auto 16px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
}

.cta-section p {
  width: min(610px, 100%);
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: 16px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 32px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: #fff;
}

.footer-disclaimer {
  display: block;
  margin-top: 5px;
  max-width: 520px;
  color: #93a0bd;
  line-height: 1.45;
}

.footer-updated {
  color: var(--gold);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

.color-green {
  color: var(--green);
}

.color-gold {
  color: var(--gold2);
}

.color-red {
  color: var(--red);
}

.stats-page {
  padding: 42px 0 80px;
}

.traffic-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.traffic-logo {
  margin-bottom: 60px;
}

.traffic-hero {
  margin-bottom: 26px;
}

.traffic-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

.traffic-hero p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.traffic-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.traffic-card {
  padding: 22px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
}

.traffic-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.traffic-card strong {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  line-height: 1;
}

.traffic-section {
  margin-top: 28px;
}

.traffic-section h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
}

.traffic-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
}

.traffic-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.traffic-table th,
.traffic-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
  font-size: 14px;
}

.traffic-table tr:last-child td {
  border-bottom: 0;
}

.traffic-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.traffic-table td:not(:first-child),
.traffic-table th:not(:first-child) {
  text-align: right;
}

@media (max-width: 860px) {
  .topbar {
    position: fixed;
    height: 62px;
    padding: 0 20px;
  }

  .top-live-stack {
    top: 62px;
  }

  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding: 176px 20px 28px;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(40px, 11vw, 62px);
  }

  .hero-sub {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-board-heading {
    margin-bottom: 16px;
  }

  .nav-links {
    display: none;
  }

  .topbar {
    justify-content: flex-start;
  }

  .topbar .logo {
    position: static;
  }

  .section-head,
  .downtime-header,
  .footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .downtime-header {
    flex-direction: column;
  }

  .footer-updated {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .park-tabs {
    justify-content: flex-start;
  }

  .hero-park-tabs {
    justify-content: center;
  }

  .park-status-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .traffic-cards {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .ride-card {
    min-height: 152px;
    padding: 18px;
  }

  .ride-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
  }

  .ride-name {
    max-width: none;
    padding-right: 4px;
    font-size: 16px;
  }

  .wait-display {
    min-width: 74px;
    padding: 6px 0 0;
  }

  .wait-number {
    font-size: 34px;
  }

  .status-text {
    margin-top: 2px;
    font-size: 12px;
    text-align: right;
  }

  .verdict-bar,
  .down-badge {
    margin-top: auto;
  }

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

  .downtime-card {
    padding: 22px;
  }

  .downtime-row-head {
    display: none;
  }

  .downtime-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: start;
    padding: 16px;
  }

  .downtime-row > :first-child {
    grid-column: 1 / -1;
  }

  .downtime-row > :nth-child(2)::before {
    content: "Avg Down";
  }

  .downtime-row > :nth-child(3)::before {
    content: "This Down";
  }

  .downtime-row > :nth-child(4)::before {
    content: "Last Down";
  }

  .downtime-row > :nth-child(5)::before {
    content: "Count";
  }

  .downtime-row > :nth-child(2),
  .downtime-row > :nth-child(3),
  .downtime-row > :nth-child(4),
  .downtime-row > :nth-child(5) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
  }

  .downtime-row > :nth-child(2)::before,
  .downtime-row > :nth-child(3)::before,
  .downtime-row > :nth-child(4)::before,
  .downtime-row > :nth-child(5)::before {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .dt-status {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--card-border);
    text-align: left;
  }

  .recover {
    margin-top: 0;
    text-align: right;
  }
}

@media (max-width: 560px) {
  .hero {
    align-items: center;
    padding-top: 168px;
    text-align: center;
  }

  .hero-eyebrow {
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .hero-sub {
    margin-bottom: 20px;
  }

  .hero-board-heading .section-title {
    font-size: 31px;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }
}
