:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
  color-scheme: dark;
  --ob-orange: #ff7900;
  --ob-orange-soft: #ff9b40;
  --ob-bg: #08080a;
  --ob-surface: #111116;
  --ob-surface-strong: #17171d;
  --ob-line: rgba(255, 121, 0, .28);
  --ob-line-soft: rgba(255, 255, 255, .12);
  --ob-text: #f7f5f1;
  --ob-muted: #9696a2;
}

.ob500-body { background: var(--ob-bg); color: var(--ob-text); }
.ob500-body::before {
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 121, 0, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 121, 0, .07) 1px, transparent 1px);
}
.ob500-body .site-header { border-color: var(--ob-line); background: rgba(8, 8, 10, .92); color: var(--ob-text); }
.ob500-body .brand, .ob500-body .nav-links a { color: var(--ob-text); }
.ob500-body .brand-mark { background: var(--ob-orange); }
.ob500-body .nav-links a:hover, .ob500-body .nav-links a[aria-current="page"] { color: var(--ob-orange); }

.ob500-page { width: min(100% - 40px, 1240px); min-height: calc(100svh - 82px); margin: auto; padding: 72px 0 56px; }
.ob500-loading { min-height: 65svh; display: grid; place-content: center; justify-items: center; gap: 20px; color: var(--ob-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ob500-arrow { width: 38px; height: 52px; background: var(--ob-orange); clip-path: polygon(25% 0, 75% 0, 75% 55%, 100% 55%, 50% 100%, 0 55%, 25% 55%); animation: ob500-drop 1.1s ease-in-out infinite; }
@keyframes ob500-drop { 50% { translate: 0 8px; } }

.ob500-pending { min-height: 68svh; display: grid; place-items: center; }
.ob500-pending-copy { width: min(100%, 880px); display: grid; justify-items: center; gap: 24px; border: 1px solid var(--ob-line); border-radius: 28px; background: rgba(17, 17, 22, .9); padding: clamp(32px, 7vw, 76px); text-align: center; box-shadow: 0 28px 90px rgba(0, 0, 0, .4); }
.ob500-logo { display: block; width: clamp(250px, 35vw, 410px); height: auto; object-fit: contain; }
.ob500-logo-pending { width: clamp(240px, 38vw, 430px); }
.ob500-pending .section-kicker { width: min(100%, 510px); border-color: var(--ob-line); background: var(--ob-bg); color: var(--ob-text); text-align: center; }
.ob500-pending h1 { width: 100%; max-width: 720px; margin: 0; color: var(--ob-text); font-size: clamp(30px, 4vw, 54px); line-height: 1.02; text-align: center; text-wrap: balance; overflow-wrap: normal; }

.ob500-dashboard { display: grid; gap: 22px; }
.ob500-hero { min-height: 570px; display: grid; place-items: center; border: 1px solid var(--ob-line); border-radius: 28px; background: rgba(17, 17, 22, .92); padding: clamp(34px, 7vw, 76px); box-shadow: 0 28px 90px rgba(0, 0, 0, .38); }
.ob500-hero-copy { width: min(100%, 780px); display: grid; justify-items: center; text-align: center; }
.ob500-live-badge { width: fit-content; min-height: 36px; display: flex; align-items: center; gap: 10px; margin-top: 24px; border: 1px solid var(--ob-line-soft); border-radius: 999px; background: var(--ob-bg); padding: 0 15px; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.ob500-live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff4842; box-shadow: 0 0 0 5px rgba(255, 72, 66, .12); }
.ob500-live-badge.is-online { border-color: rgba(137, 255, 74, .35); }
.ob500-live-badge.is-online i { background: #89ff4a; box-shadow: 0 0 0 5px rgba(137, 255, 74, .12); animation: ob500-pulse 1.4s infinite; }
.ob500-live-badge.is-closed { border-color: rgba(255, 72, 66, .42); color: #ff7772; }
@keyframes ob500-pulse { 50% { opacity: .35; } }
.ob500-eyebrow { margin: 22px 0 0; color: var(--ob-orange); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.ob500-counter-wrap { display: flex; align-items: baseline; justify-content: center; gap: clamp(10px, 2vw, 22px); margin-top: 20px; }
.ob500-counter-wrap strong { color: var(--ob-orange); font-size: clamp(108px, 18vw, 220px); font-weight: 1000; line-height: .76; }
.ob500-counter-wrap span { color: var(--ob-text); font-size: clamp(40px, 7vw, 84px); font-weight: 950; line-height: 1; }
.ob500-progress { width: min(100%, 650px); height: 12px; margin-top: 26px; overflow: hidden; border-radius: 999px; background: #303038; }
.ob500-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ob-orange); transition: width .55s ease; }
.ob500-remaining { margin-top: 13px; color: var(--ob-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ob500-remaining b { color: var(--ob-orange); }

.ob500-live-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ob500-live-strip article { min-width: 0; min-height: 122px; display: grid; align-content: space-between; border: 1px solid var(--ob-line-soft); border-radius: 18px; background: var(--ob-surface); padding: 20px; }
.ob500-live-strip span { color: var(--ob-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ob500-live-strip strong { overflow-wrap: anywhere; font-size: clamp(20px, 2.3vw, 31px); line-height: 1; }
.ob500-live-strip article:nth-child(2) { border-color: var(--ob-line); }
.ob500-live-strip article:nth-child(2) strong, .ob500-live-strip article:nth-child(4) strong { color: var(--ob-orange); }

.ob500-section { border: 1px solid var(--ob-line-soft); border-radius: 28px; background: var(--ob-surface); padding: clamp(26px, 5vw, 52px); }
.ob500-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.ob500-section-heading h2 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: .9; }
.ob500-section-heading > span { color: var(--ob-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.ob500-trip-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ob500-trip-groups h3 { margin: 0 0 12px; color: var(--ob-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ob500-trip-list { display: grid; gap: 8px; }
.ob500-trip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 105px; border: 1px solid var(--ob-line-soft); border-radius: 8px; background: var(--ob-bg); padding: 17px 19px; }
.ob500-trip.is-active { border-color: var(--ob-orange); box-shadow: inset 4px 0 var(--ob-orange); }
.ob500-trip div { display: grid; min-width: 0; gap: 4px; }
.ob500-trip div > span { color: var(--ob-orange); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.ob500-trip div > strong { font-size: 21px; overflow-wrap: anywhere; }
.ob500-trip small { color: var(--ob-muted); }
.ob500-trip output { display: grid; min-width: 62px; justify-items: end; }
.ob500-trip output strong { color: var(--ob-orange); font-size: 36px; line-height: 1; }
.ob500-trip output span { color: var(--ob-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }

.ob500-update-list { display: grid; gap: 10px; }
.ob500-update { display: grid; grid-template-columns: minmax(200px, .36fr) minmax(0, 1fr); gap: 24px; border: 1px solid var(--ob-line-soft); border-left: 4px solid #ffd83f; border-radius: 8px; background: var(--ob-bg); padding: 22px; }
.ob500-update-line { display: grid; grid-template-columns: 9px minmax(0, 1fr); align-content: start; gap: 5px 9px; }
.ob500-update-line i { width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: #ffd83f; }
.ob500-update-line span { color: #ffd83f; font-size: 10px; font-weight: 950; text-transform: uppercase; }
.ob500-update-line time { grid-column: 2; color: var(--ob-muted); font-size: 12px; font-weight: 750; }
.ob500-update p { margin: 0; font-size: clamp(17px, 2vw, 24px); font-weight: 720; line-height: 1.3; white-space: pre-line; }
.ob500-update img { grid-column: 2; width: min(100%, 680px); max-height: 460px; object-fit: cover; border-radius: 6px; }
.ob500-update.is-milestone { border-left-color: #93ff41; }
.ob500-update.is-milestone .ob500-update-line i { background: #93ff41; }
.ob500-update.is-milestone .ob500-update-line span { color: #93ff41; }
.ob500-update.is-ride-closure { border-left-color: #ff4038; }
.ob500-update.is-ride-closure .ob500-update-line i { background: #ff4038; }
.ob500-update.is-ride-closure .ob500-update-line span { color: #ff6c66; }
.ob500-update.is-park-arrival { border-left-color: #fff; }
.ob500-update.is-park-arrival .ob500-update-line i { background: #fff; }
.ob500-update.is-park-arrival .ob500-update-line span { color: #fff; }
.ob500-update.is-park-departure { border-left-color: #70717a; }
.ob500-update.is-park-departure .ob500-update-line i { background: #70717a; }
.ob500-update.is-park-departure .ob500-update-line span { color: #aaa; }
.ob500-empty { margin: 0; border: 1px dashed var(--ob-line-soft); border-radius: 8px; padding: 22px; color: var(--ob-muted); }
.ob500-footer { display: flex; justify-content: space-between; gap: 20px; padding: 10px 4px 0; color: var(--ob-muted); font-size: 11px; }
.ob500-footer span { color: var(--ob-orange); font-weight: 1000; }
.ob500-footer p { margin: 0; }
.ob500-footer a { color: var(--ob-text); }

@media (max-width: 820px) {
  .ob500-live-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob500-trip-groups { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ob500-page { width: min(100% - 28px, 1240px); min-height: calc(100svh - 72px); padding: 32px 0 36px; }
  .ob500-pending-copy, .ob500-hero, .ob500-section { border-radius: 20px; }
  .ob500-pending-copy { padding: 32px 20px; }
  .ob500-pending h1 { font-size: clamp(29px, 9vw, 38px); }
  .ob500-hero { min-height: 510px; padding: 34px 18px; }
  .ob500-logo { width: min(100%, 300px); }
  .ob500-counter-wrap strong { font-size: clamp(92px, 31vw, 132px); }
  .ob500-counter-wrap span { font-size: clamp(34px, 12vw, 50px); }
  .ob500-live-strip { gap: 8px; }
  .ob500-live-strip article { min-height: 108px; border-radius: 14px; padding: 16px; }
  .ob500-live-strip strong { font-size: 19px; }
  .ob500-section { padding: 26px 18px; }
  .ob500-section-heading { align-items: start; flex-direction: column; }
  .ob500-section-heading h2 { font-size: 43px; }
  .ob500-update { grid-template-columns: 1fr; gap: 15px; padding: 18px 16px; }
  .ob500-update img { grid-column: 1; }
  .ob500-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ob500-arrow, .ob500-live-badge.is-online i { animation: none; }
  .ob500-progress i { transition: none; }
}
