

html.landscape #rush-sheet.destination-screen {
  --hub-room: rgba(36, 8, 84, 0.62);
  --hub-room-deep: rgba(12, 3, 34, 0.78);
  --hub-panel: #2a1160;
  --hub-panel-deep: #170838;
  --hub-rim: #8e84f0;
  --hub-line: rgba(8, 2, 26, 0.85);
  --hub-mount: #4a2aa8;
  --hub-tab: #3d1f8f;
  --hub-tab-deep: #200d58;
  --hub-tab-on: #8d8cff;
  --hub-tab-on-deep: #4a3fc4;
  --hub-rail: #ff9a2e;
  --hub-rail-glow: rgba(255, 130, 40, 0.75);
  --hub-tick: #48f08a;
  --hub-chevron: #8f6bff;
}

html.landscape #rush-sheet.destination-screen .rush-panel {
  --hub-header-gap: 12px;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 0 12px;
  padding-top: calc(98px + var(--hub-header-gap));
  background: linear-gradient(180deg, var(--hub-room), var(--hub-room-deep)),
    url("../art/ui/rush-background.webp") center / cover no-repeat;
  background-color: var(--rush-night);
}


html.landscape #rush-sheet.destination-screen .rush-head {
  top: 2px;
  left: max(20px, var(--safe-left));
  right: max(16px, var(--safe-right));
  display: grid;
  grid-template-columns: 162px 204px minmax(0, 1fr);
  grid-template-rows: 44px 52px;
  align-items: center;
  gap: var(--hub-header-gap) 0;
}

html.landscape #rush-sheet.destination-screen .rush-head-line { display: contents; }
html.landscape #rush-sheet.destination-screen .rush-meter { grid-area: 1 / 2; }

html.landscape #rush-sheet.destination-screen .rush-overflow {
  grid-area: 1 / 3;
  margin: 0 58px 0 10px;
  line-height: 1.15;
}

html.landscape #rush-sheet.destination-screen .rush-timer {
  grid-area: 2 / 1;
  justify-self: start;
  align-self: start;
  margin-top: 6px;
}


html.landscape #rush-sheet.destination-screen .rush-track {
  grid-area: 2 / 2 / 3 / 4;
  position: relative;
  display: block;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.rush-track { display: none; }

html.landscape #rush-sheet.destination-screen .rush-track-stops {
  position: absolute;
  inset: 0;
  display: flex;
}

html.landscape #rush-sheet.destination-screen .rush-track-rail {
  position: absolute;
  top: 14px;
  left: 6.25%;
  right: 6.25%;
  height: 5px;
  border-radius: 3px;
  background: var(--hub-line);
  box-shadow: inset 0 1px 2px #000, 0 0 0 1px var(--hub-tab-deep);
}

html.landscape #rush-sheet.destination-screen .rush-track-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--hub-rail) 55%, var(--magenta));
  box-shadow: 0 0 6px var(--hub-rail-glow);
  transition: width 600ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.landscape #rush-sheet.destination-screen .rush-track-fill { transition: none; }
}

html.landscape #rush-sheet.destination-screen .rush-track-stop {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

html.landscape #rush-sheet.destination-screen .rush-track-gem {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-shadow: var(--jp-outline);
}

html.landscape #rush-sheet.destination-screen .rush-track-gem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rush-gem-art, none) center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
}

.rush-track-stop.amber { --rush-gem-art: url("../art/nebula-empress/gems/amber.webp"); }
.rush-track-stop.sapphire { --rush-gem-art: url("../art/nebula-empress/gems/sapphire.webp"); }
.rush-track-stop.jade { --rush-gem-art: url("../art/nebula-empress/gems/jade.webp"); }
.rush-track-stop.ruby { --rush-gem-art: url("../art/nebula-empress/gems/ruby.webp"); }

html.landscape #rush-sheet.destination-screen .rush-track-stop.locked .rush-track-gem::before {
  filter: saturate(0.45) brightness(0.62) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
}

html.landscape #rush-sheet.destination-screen .rush-track-stop.climbing:not(.rush-track-vault) .rush-track-gem {
  width: 38px;
  height: 38px;
  margin: -3px 0 -3px;
  font-size: 1.15rem;
}

html.landscape #rush-sheet.destination-screen .rush-track-stop.climbing .rush-track-gem::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--hub-tab-on), 0 0 12px 2px var(--hub-tab-on);
}

html.landscape #rush-sheet.destination-screen .rush-track-check,
html.landscape #rush-sheet.destination-screen .rush-track-need { display: none; }

html.landscape #rush-sheet.destination-screen .rush-track-stop.paid .rush-track-check {
  display: block;
  width: 20px;
  height: 16px;
  color: var(--hub-tick);
  filter: drop-shadow(0 1px 0 #000) drop-shadow(0 0 3px rgba(0, 0, 0, 0.8));
}

html.landscape #rush-sheet.destination-screen .rush-track-check svg { display: block; width: 100%; height: 100%; stroke-width: 3.4; }

html.landscape #rush-sheet.destination-screen .rush-track-stop:not(.paid) .rush-track-need {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 15px;
  padding: 0 4px;
  border: 1px solid var(--gold-deep);
  border-radius: 4px;
  background: var(--bg-deep);
}

html.landscape #rush-sheet.destination-screen .rush-track-lock { width: 10px; height: 11px; color: var(--gold); }
html.landscape #rush-sheet.destination-screen .rush-track-lock svg { display: block; width: 100%; height: 100%; stroke-width: 2.6; }
html.landscape #rush-sheet.destination-screen .rush-track-stop.climbing .rush-track-lock { display: none; }
html.landscape #rush-sheet.destination-screen .rush-track-spark { width: 12px; height: 12px; }

html.landscape #rush-sheet.destination-screen .rush-track-sparks {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html.landscape #rush-sheet.destination-screen .rush-track-vault .rush-track-gem {
  width: 62px;
  height: 26px;
  margin: 6px 0 0;
  gap: 2px;
  padding-right: 4px;
  border: 1px solid var(--gold-light);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 50%), var(--gold-rim);
  box-shadow: 0 0 0 1px var(--gold-deep), 0 3px 0 rgba(0, 0, 0, 0.5);
}

html.landscape #rush-sheet.destination-screen .rush-track-vault .rush-track-gem::before { content: none; }
html.landscape #rush-sheet.destination-screen .rush-track-vault.climbing .rush-track-gem::after { border-radius: 7px; }
html.landscape #rush-sheet.destination-screen .rush-track-vault-mark { width: 26px; height: 26px; margin: -4px 0 -4px -6px; }

html.landscape #rush-sheet.destination-screen .rush-track-vault-name {
  color: var(--gold-deep);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

html.landscape #rush-sheet.destination-screen .rush-track-vault.locked .rush-track-gem { filter: saturate(0.6) brightness(0.8); }


html.landscape #rush-sheet.destination-screen .rush-tabs { margin-top: 0; gap: 8px; }

html.landscape #rush-sheet.destination-screen .rush-tab {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--hub-tab), var(--hub-tab-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.45), 0 3px 0 rgba(0, 0, 0, 0.45);
}

html.landscape #rush-sheet.destination-screen .rush-tab.active {
  margin-right: -12px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(180deg, var(--hub-tab-on), var(--hub-tab-on-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.35), 0 0 0 2px var(--hub-rim);
}

html.landscape #rush-sheet.destination-screen .rush-tab-label,
html.landscape #rush-sheet.destination-screen .rush-tab.active .rush-tab-label {
  color: var(--text);
  font-size: 0.95rem;
  text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, 0.6);
}

html.landscape #rush-sheet.destination-screen #rush-tower {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px 0;
}

html.landscape #rush-sheet.destination-screen #rush-tower .rush-boosters {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
  min-width: 0;
}

html.landscape #rush-sheet.destination-screen #rush-tower .rush-booster {
  grid-template-columns: 30px minmax(0, 1fr) max-content;
}

html.landscape #rush-sheet.destination-screen #rush-tower .rush-tower-list {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
}


html.landscape #rush-sheet.destination-screen .rush-page {
  margin-top: 0;
  padding: 4px 10px 6px 12px;
  border: 2px solid var(--hub-rim);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--hub-panel), var(--hub-panel-deep));
  box-shadow: inset 0 0 0 1px var(--hub-tab-deep), 0 4px 14px rgba(0, 0, 0, 0.55);
}

html.landscape #rush-sheet.destination-screen #rush-missions,
html.landscape #rush-sheet.destination-screen #rush-bolt {
  overflow: visible;
  gap: 0;
  padding: 2px 10px 0 0;
}

html.landscape #rush-sheet.destination-screen #rush-missions[hidden],
html.landscape #rush-sheet.destination-screen #rush-bolt[hidden] { display: none; }

html.landscape #rush-sheet.destination-screen #rush-mission-list,
html.landscape #rush-sheet.destination-screen #rush-bolt-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-bottom: 22px;
}

html.landscape #rush-sheet.destination-screen .rush-mission {
  position: relative;
  flex: none;
  grid-template-columns: 82px minmax(0, 1fr) 30px 76px 92px;
  align-items: center;
  min-height: 48px;
  gap: 0 10px;
  padding: 2px 0;
  border-bottom: 2px solid var(--hub-line);
}

html.landscape #rush-sheet.destination-screen .rush-mission:last-child { border-bottom: 0; }

html.landscape #rush-sheet.destination-screen .rush-mission-art {
  grid-row: auto;
  width: 82px;
  height: 44px;
  border: 0;
  border-radius: 0;
  object-position: 50% 24%;
  box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}

html.landscape #rush-sheet.destination-screen .rush-mission-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 0;
}

html.landscape #rush-sheet.destination-screen .rush-mission-event { grid-area: 1 / 1; margin-right: 8px; }
html.landscape #rush-sheet.destination-screen .rush-mission-text { grid-area: 1 / 2 / 2 / 4; font-size: 0.95rem; line-height: 1.1; }

html.landscape #rush-sheet.destination-screen .rush-mission-meter {
  grid-area: 2 / 1 / 3 / 3;
  position: relative;
  display: block;
  max-width: 220px;
}

html.landscape #rush-sheet.destination-screen .rush-mission .rush-bar {
  display: block;
  height: 16px;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--gold-dark);
}

html.landscape #rush-sheet.destination-screen .rush-mission .rush-bar-fill { border-radius: 8px; }

html.landscape #rush-sheet.destination-screen .rush-mission-pct {
  position: absolute;
  top: 0;
  left: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 16px;
  text-align: left;
  text-shadow: 0 1px 0 #000, 0 0 3px #000;
}

html.landscape #rush-sheet.destination-screen .rush-mission-bet { grid-area: 2 / 3; flex-wrap: nowrap; margin-left: 12px; }

html.landscape #rush-sheet.destination-screen .rush-mission-side { display: contents; }

html.landscape #rush-sheet.destination-screen .rush-mission-side::before {
  content: "›››";
  color: var(--hub-chevron);
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.08em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 6px var(--hub-tab-on);
}

html.landscape #rush-sheet.destination-screen .rush-mission.done .rush-mission-side::before { display: none; }

html.landscape #rush-sheet.destination-screen .rush-mission .rush-reward { justify-content: flex-start; gap: 4px; }
html.landscape #rush-sheet.destination-screen .rush-mission .rush-reward-mark { width: 22px; height: 22px; }
html.landscape #rush-sheet.destination-screen .rush-mission .rush-reward-text { font-size: 1.25rem; }
html.landscape #rush-sheet.destination-screen .rush-mission .rush-key { width: 92px; max-width: none; min-height: 44px; }
html.landscape #rush-sheet.destination-screen .rush-mission .rush-key-label { font-size: 1.1rem; }

html.landscape #rush-sheet.destination-screen #rush-missions .rush-page-timer,
html.landscape #rush-sheet.destination-screen #rush-bolt .rush-page-timer {
  position: absolute;
  bottom: -2px;
  left: 50%;
  z-index: 1;
  margin: 0;
  padding: 3px 22px 2px;
  border: 0;
  background: none;
  font-size: 0.85rem;
  transform: translateX(-50%);
}

html.landscape #rush-sheet.destination-screen #rush-missions .rush-page-timer::before,
html.landscape #rush-sheet.destination-screen #rush-bolt .rush-page-timer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--hub-rim);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--hub-tab-deep), var(--navy-deep));
  transform: perspective(40px) rotateX(14deg);
  transform-origin: 50% 100%;
}

html.landscape #rush-sheet.destination-screen .rush-page-timer-label { color: var(--text); }
html.landscape #rush-sheet.destination-screen .rush-page-timer-left { color: var(--neon-cyan); }
