/* screen: trip-plane, the cabin of focus, mid-flight. */

.trip-plane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- header ---------- */

.trip-plane-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trip-plane-head h1 { font-size: clamp(22px, 4vw, 30px); }

/* ---------- scene: a real cabin, not a card ---------- */

.trip-plane-scene {
  --scene-wall-a: #F7ECDA;
  --scene-wall-b: #E6CDA8;
  --scene-sky-a: #FFC9A6;
  --scene-sky-b: #FFE7C4;
  --scene-cloud: rgba(255, 255, 255, .92);
  --scene-mountain: #C98F6E;
  --scene-lamp-glow: #FFD98A;
  --scene-shaft: rgba(255, 200, 150, .32);
  --scene-seat-a: #7C9CE6;
  --scene-seat-b: #4A6BC9;
  --scene-seat-seam: rgba(255, 255, 255, .4);
  --scene-fore-a: #8A6A4E;
  --scene-fore-b: #5E4530;
  --scene-figure-a: #46567A;
  --scene-figure-b: #2A3550;
  --scene-laptop: #EDEFF5;
  --scene-laptop-screen: #7FC2FF;
  --scene-mug: #C97B4A;
  --scene-mug-rim: #F0C79A;
  --scene-window-shade: rgba(30, 20, 10, .18);
  --scene-window-glare: rgba(255, 255, 255, .26);

  /* Recompose 2026-08-12 (design review): the vw factor used to reach 600px by
     ~1300px viewport, pushing the scene past the fold at 1280px and clipping
     the "Ready for takeoff?" CTA. Same 420px floor (already verified at
     375px), gentler climb, lower ceiling. */
  min-height: clamp(420px, 34vw, 460px);
}

/* The voxel canvas (D-009) is appended last inside .scene-frame, so without this
   it paints over the UI chips. VOXEL.md: the floats stay in HTML, above the canvas. */
.trip-plane-scene > .scene-float,
.trip-plane-scene > .trip-plane-cta { position: absolute; z-index: 2; }

[data-theme="dark"] .trip-plane-scene {
  --scene-wall-a: #241F45;
  --scene-wall-b: #171335;
  --scene-sky-a: #5B3E78;
  --scene-sky-b: #2C2258;
  --scene-cloud: rgba(255, 255, 255, .24);
  --scene-mountain: #4A3A66;
  --scene-lamp-glow: #F2C14E;
  --scene-shaft: rgba(160, 130, 255, .2);
  /* the seatback is the biggest flat area on this screen: full --blue at night
     turns it into a violet spotlight. Mute it into the cabin. (D-002) */
  --scene-seat-a: color-mix(in srgb, var(--blue) 42%, var(--panel) 58%);
  --scene-seat-b: color-mix(in srgb, var(--blue) 68%, var(--bg) 32%);
  --scene-seat-seam: rgba(255, 255, 255, .14);
  --scene-fore-a: #3A2E52;
  --scene-fore-b: #221B38;
  --scene-figure-a: #3A3562;
  --scene-figure-b: #1E1A38;
  --scene-laptop: #2A2550;
  --scene-laptop-screen: #A78BFA;
  --scene-mug: #A85E38;
  --scene-mug-rim: #DE9C64;
  /* a bright white glare and a warm daylight shade both read as an odd spotlight
     on the porthole at night: dim the shade and tint the glare into the cabin's
     own violet light instead (D-002 pattern). */
  --scene-window-shade: rgba(0, 0, 0, .32);
  --scene-window-glare: rgba(200, 190, 255, .14);
}

.trip-plane-art {
  background: linear-gradient(180deg, var(--scene-wall-a), var(--scene-wall-b) 78%);
}

/* ---------- masked montage (ui-fluide pass, layer 1 / D-022 derogation) ----------
   The voxel canvas (engine.js: <canvas class="scene-canvas">) bakes
   synchronously (200-340ms, D-012) inside mountVoxel(); trip-plane.js defers
   the mount itself (rAF + setTimeout 0) and only adds .is-baked to the frame
   once mountVoxel() has actually returned, by which point the canvas already
   holds real painted pixels (engine.js's mountVoxel ends with the synchronous
   rebuild()+start()). Until then this keeps the canvas invisible so the
   already-illustrated .trip-plane-art fallback (D-003, sanctioned local
   --scene-* palette, ARCHITECTURE.md rule 1) shows through instead of a
   blank rectangle: no separate placeholder gradient is layered behind it,
   the cabin illustration already plays that role. */
.trip-plane-scene .scene-canvas {
  opacity: 0;
  transition: opacity .22s cubic-bezier(0, 0, 0.2, 1);
}
.trip-plane-scene.is-baked .scene-canvas {
  opacity: 1;
}

/* ---------- overhead shelf: plant + books + reading light ---------- */

.trip-plane-shelf {
  position: absolute; top: 6%; left: 6%;
  display: flex; align-items: flex-end; gap: 6px;
}
.trip-plane-plant {
  position: relative;
  width: clamp(15px, 2.8vw, 22px); height: clamp(20px, 3.6vw, 28px);
}
.trip-plane-plant::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 74%; height: 42%;
  border-radius: 3px 3px 7px 7px;
  background: var(--scene-fore-a);
}
.trip-plane-plant::after {
  content: ''; position: absolute; bottom: 32%; left: 50%; transform: translateX(-50%);
  width: 100%; height: 68%;
  border-radius: 50% 50% 50% 8%;
  background: color-mix(in srgb, var(--accent) 55%, var(--scene-wall-b) 45%);
}
.trip-plane-books {
  display: flex; flex-direction: column-reverse; gap: 2px;
  width: clamp(15px, 2.8vw, 20px);
}
.trip-plane-books i {
  display: block; height: clamp(4px, .9vw, 6px); border-radius: 2px; font-style: normal;
}
.trip-plane-books i:nth-child(1) { background: var(--warm); width: 100%; }
.trip-plane-books i:nth-child(2) { background: var(--blue); width: 82%; }

.trip-plane-lamp {
  position: absolute; top: 7%; right: 10%;
  width: clamp(18px, 3.4vw, 28px); height: clamp(12px, 2.2vw, 18px);
  border-radius: 0 0 60% 60% / 0 0 90% 90%;
  background: linear-gradient(180deg, var(--card), var(--scene-fore-a));
  box-shadow: var(--shadow-1);
}
/* Static: this glow lives inside .trip-plane-art, under the voxel canvas the
   instant it bakes, so a pulse loop here only ever ran for the fraction of a
   second before the canvas covers it for good. */
.trip-plane-lamp::after {
  content: '';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: clamp(48px, 8.4vw, 84px); height: clamp(48px, 8.4vw, 84px);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--scene-lamp-glow) 65%, transparent), transparent 70%);
  opacity: .8;
}

/* ---------- window: sunset sky, drifting clouds, reflection ---------- */

/* Recompose 2026-08-12 (design review): a round pale window dead-centre above
   a centred seat read as a face-on-a-body. Left side, shoulder height
   (goal.jpeg "03.55.24 (1)"), so the traveler sits beside it, not under it. */
.trip-plane-window {
  position: absolute;
  top: 20%; left: 6%;
  width: clamp(124px, 24vw, 188px);
  aspect-ratio: 1 / 1.05;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--scene-sky-a), var(--scene-sky-b));
  border: clamp(5px, 1vw, 7px) solid var(--card);
  box-shadow: var(--shadow-2), inset 0 10px 22px var(--scene-window-shade);
}
.trip-plane-window::before {
  content: '';
  position: absolute; inset: -16px; z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--scene-sky-a) 45%, transparent), transparent 72%);
}

/* Static, same reason as the lamp glow above: this window art is covered by
   the voxel canvas for good the instant it bakes. */
.trip-plane-sun {
  position: absolute; top: 14%; right: 16%;
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 62%, transparent) 0%, transparent 70%);
  opacity: .8;
}

/* Integration review 2026-08-12: this was a border-triangle with *percentage*
   border widths (invalid CSS, so the peak computed to 0x0 and never rendered,
   same trap trip-train.css already documents on .trip-train-fuji). Real box +
   clip-path instead. */
.trip-plane-mountain {
  position: absolute; bottom: -6%; left: 50%; transform: translateX(-50%);
  width: 68%; height: 26%;
  background: var(--scene-mountain);
  clip-path: polygon(50% 0%, 100% 100%, 0 100%);
  opacity: .8;
}

.trip-plane-cloud {
  position: absolute;
  height: 13px; width: 42px;
  border-radius: 999px;
  background: var(--scene-cloud);
}
/* Static, same reason as the lamp glow above: this window art is covered by
   the voxel canvas for good the instant it bakes. Fixed at mid-drift rather
   than the 0% starting position, so the resting frame is not a blank sky. */
.trip-plane-cloud.c1 { top: 26%; left: 15%; }
.trip-plane-cloud.c2 { top: 50%; left: -6%; width: 32px; height: 9px; }
.trip-plane-cloud.c3 { top: 68%; left: 22%; width: 24px; height: 8px; }

.trip-plane-window-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, var(--scene-window-glare) 50%, transparent 62%);
}

/* Was a centred trapezoid, read as a symmetric halo around the seat.
   Now cast from the window's own position, leaning down-right onto the
   traveler instead of glowing evenly behind them. */
/* Static, same reason as the lamp glow above: covered by the voxel canvas
   for good the instant it bakes. */
.trip-plane-shaft {
  position: absolute; top: 6%; left: 2%;
  width: 58%; height: 86%;
  background: linear-gradient(152deg, var(--scene-shaft), transparent 72%);
  clip-path: polygon(16% 0, 58% 0, 100% 100%, 22% 100%);
  pointer-events: none;
  opacity: .7;
}

/* ---------- the traveler's own seat (mid-ground) ---------- */

/* Shifted off-centre, to the right of the window, three-quarters back,
   at the traveler's own shoulder height, not stacked under the hublot. */
.trip-plane-seat {
  position: absolute; left: 60%; bottom: 0; transform: translateX(-50%);
  width: min(62%, 380px);
  height: 64%;
}
.trip-plane-seatback {
  position: absolute; inset: 0;
  border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-2);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--scene-seat-seam) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(175deg, var(--scene-seat-a), var(--scene-seat-b));
}
.trip-plane-seatback::before,
.trip-plane-seatback::after {
  content: ''; position: absolute; top: 0; width: 16%; height: 44%;
  background: inherit; filter: brightness(.93);
}
.trip-plane-seatback::before { left: -5%; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.trip-plane-seatback::after { right: -5%; border-radius: 0 var(--r-lg) var(--r-lg) 0; }

.trip-plane-seat-tag {
  position: absolute; top: 6%; left: 6%;
  font-size: 9.5px; font-weight: 900; letter-spacing: .04em;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  border-radius: var(--r-sm);
  padding: 3px 6px;
}

.trip-plane-figure {
  position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
/* The shared `floaty` keyframes animate `transform` outright, which wipes the
   translateX(-50%) that centres this element: the traveler jumped half a body
   to the right as soon as the animation started. Keep the centring inside the
   keyframes (same fix pattern used for .trip-plane-steam below). */
.trip-plane-figure.floaty { animation-name: trip-plane-figure-float; }
@keyframes trip-plane-figure-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}
.trip-plane-figure-head {
  width: clamp(28px, 5.2vw, 40px); height: clamp(28px, 5.2vw, 40px);
  border-radius: 50%;
  background: linear-gradient(155deg, var(--scene-figure-a), var(--scene-figure-b));
  box-shadow: var(--shadow-1);
}
.trip-plane-figure-body {
  width: clamp(62px, 11.2vw, 88px); height: clamp(50px, 9vw, 70px);
  margin-top: -7px;
  border-radius: 40% 40% 14px 14px;
  background: linear-gradient(165deg, var(--scene-figure-a), var(--scene-figure-b));
  box-shadow: var(--shadow-1);
}
.trip-plane-headphone-band {
  position: absolute; top: -13%; left: 50%; transform: translateX(-50%);
  width: clamp(32px, 5.8vw, 44px); height: clamp(18px, 3.2vw, 24px);
  border: clamp(3px, .7vw, 4px) solid var(--ink-soft);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
}
.trip-plane-headphone-cup {
  position: absolute; top: 8%;
  width: clamp(8px, 1.5vw, 11px); height: clamp(12px, 2vw, 16px);
  border-radius: 6px;
  background: var(--ink-soft);
  box-shadow: var(--shadow-1);
}
.trip-plane-headphone-cup.left { left: 4%; }
.trip-plane-headphone-cup.right { right: 4%; }

/* ---------- foreground: the seat ahead, tray, laptop + mug ---------- */

/* Anchored to the right edge instead of centred under the seat, so the
   seat-ahead's back bleeds off the right/bottom of the frame: an asymmetric
   crop instead of a second halo layer. */
.trip-plane-fore-seat {
  position: absolute; right: -4%; bottom: -4%;
  width: min(44%, 270px);
  height: 38%;
}
.trip-plane-fore-seat-panel {
  position: absolute; inset: 0;
  border-radius: var(--r-lg) var(--r-lg) var(--r-md) var(--r-md);
  background: linear-gradient(175deg, var(--scene-fore-a), var(--scene-fore-b));
  box-shadow: var(--shadow-2);
}
.trip-plane-fore-seat-panel::after {
  content: ''; position: absolute; left: 16%; right: 16%; bottom: 14%; height: 2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--card) 30%, transparent);
}

.trip-plane-fore-screen {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 5px;
  background: color-mix(in srgb, var(--card) 85%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 3px 7px;
  font-size: 8.5px; font-weight: 900; letter-spacing: .05em;
  color: var(--ink-soft);
  box-shadow: var(--shadow-1);
}
.trip-plane-fore-screen-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

.trip-plane-tray {
  position: absolute; left: 50%; top: 4%; transform: translateX(-50%);
  width: 84%; height: 16%;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--scene-fore-a), var(--scene-fore-b));
  box-shadow: var(--shadow-1);
  display: flex; align-items: flex-end; justify-content: center; gap: 16%;
  padding-bottom: 2px;
}
.trip-plane-laptop, .trip-plane-mug { transform: translateY(-56%); }

.trip-plane-laptop { position: relative; width: clamp(28px, 5.4vw, 42px); height: clamp(20px, 3.8vw, 30px); }
.trip-plane-laptop-base {
  position: absolute; bottom: 0; left: 0; right: 0; height: 32%;
  border-radius: 2px 2px 5px 5px;
  background: linear-gradient(180deg, var(--scene-laptop), color-mix(in srgb, var(--scene-laptop) 55%, var(--ink) 12%));
  box-shadow: var(--shadow-1);
}
.trip-plane-laptop-screen {
  position: absolute; bottom: 28%; left: 5%; right: 5%; height: 72%;
  border-radius: 4px 4px 2px 2px;
  background: color-mix(in srgb, var(--scene-laptop) 88%, var(--scene-laptop-screen) 12%);
  border: 2px solid color-mix(in srgb, var(--scene-laptop) 50%, var(--ink) 20%);
  transform-origin: bottom;
  transform: perspective(200px) rotateX(10deg);
  box-shadow:
    inset 0 0 0 3px color-mix(in srgb, var(--scene-laptop-screen) 55%, transparent),
    0 0 12px color-mix(in srgb, var(--scene-laptop-screen) 45%, transparent);
}

.trip-plane-mug { position: relative; width: clamp(15px, 2.8vw, 21px); height: clamp(17px, 3.2vw, 24px); }
.trip-plane-mug::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 3px 3px 9px 9px / 3px 3px 11px 11px;
  background: linear-gradient(175deg, var(--scene-mug-rim), var(--scene-mug));
  box-shadow: var(--shadow-1);
}
.trip-plane-mug-handle {
  position: absolute; right: -36%; top: 24%;
  width: 42%; height: 42%;
  border: clamp(2px, .5vw, 3px) solid var(--scene-mug);
  border-left: none;
  border-radius: 0 50% 50% 0;
}
/* Static, same reason as the lamp glow above: this tray art is covered by
   the voxel canvas for good the instant it bakes. */
.trip-plane-steam {
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--scene-cloud);
  opacity: .7;
}

/* ---------- floating UI over the scene ---------- */

/* The kicker keeps its shared 11.5px size here too (this was the one place in
   the app where a .kicker was shrunk, and the two floats it sits in have room
   for it, verified at 375px). Only the tracking is eased for the narrow chip. */
.trip-plane-float-kicker { letter-spacing: .06em; }

.trip-plane-float-timer { top: 14px; left: 14px; display: flex; flex-direction: column; gap: 2px; }
.trip-plane-timer-digits { font-size: clamp(24px, 4.2vw, 36px); color: var(--ink); line-height: 1; }

.trip-plane-float-ring { top: 14px; right: 14px; padding: 6px; }
.trip-plane-float-ring .ring-center {
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.trip-plane-float-ring .ring-center b { font-size: 16px; font-weight: 900; color: var(--ink); }
.trip-plane-float-ring .ring-center small { font-size: 8px; font-weight: 800; letter-spacing: .07em; color: var(--muted); }

.trip-plane-float-ambient {
  left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; color: var(--ink);
}
.trip-plane-eq { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.trip-plane-eq i {
  width: 3px; height: 100%; border-radius: 2px;
  background: var(--blue);
  display: block;
  transform-origin: bottom;
  animation: trip-plane-eq-bounce 1s ease-in-out infinite;
}
.trip-plane-eq i:nth-child(1) { animation-delay: 0s; }
.trip-plane-eq i:nth-child(2) { animation-delay: .2s; }
.trip-plane-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes trip-plane-eq-bounce {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}

.trip-plane-float-cta {
  right: 14px; bottom: 14px;
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  min-width: 132px;
}
.trip-plane-float-cta .btn { white-space: nowrap; }

/* ---------- in-flight ritual stepper ---------- */

.trip-plane-ritual { padding: 20px; }

.trip-plane-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 14px 2px 14px;
}
.trip-plane-steps::before {
  content: '';
  position: absolute;
  left: 18px; right: 18px; top: 15px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.trip-plane-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; min-width: 56px;
  font-size: 12px; font-weight: 800; color: var(--muted);
  text-align: center;
}
.trip-plane-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--line);
  font-size: 13px; font-weight: 900; color: var(--muted);
}
.trip-plane-step.done .trip-plane-step-dot { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.trip-plane-step.done { color: var(--ink-soft); }
.trip-plane-step.active .trip-plane-step-dot { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.trip-plane-step.active { color: var(--blue); }
.trip-plane-step.locked { opacity: .6; }

.trip-plane-ritual-chip { margin-top: 2px; }

/* ---------- cultural briefing ---------- */

.trip-plane-briefing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.trip-plane-brief-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.trip-plane-brief-title { color: var(--ink); }
.trip-plane-brief-text { font-size: 13px; color: var(--ink-soft); line-height: 1.45; flex: 1; }
.trip-plane-brief-link {
  align-self: flex-start;
  font-weight: 800; font-size: 12.5px; color: var(--blue);
  transition: transform .15s ease;
}
.trip-plane-brief-link:hover { transform: translateX(2px); }

.trip-plane-phrases { list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.trip-plane-phrases li { color: var(--ink-soft); }
.trip-plane-phrases b { color: var(--ink); }

/* ---------- bottom row ---------- */

.trip-plane-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.trip-plane-tasks, .trip-plane-journey, .trip-plane-reward { padding: 20px; }

.trip-plane-task-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.trip-plane-task-row { display: flex; align-items: center; gap: 10px; }
.trip-plane-task-check {
  width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0;
  border: 2px solid var(--line); background: var(--card);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; color: var(--accent-ink);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.trip-plane-task-check:hover { transform: scale(1.06); }
.trip-plane-task-check.done { background: var(--accent); border-color: var(--accent); }
.trip-plane-task-label { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; }
.trip-plane-task-label.done { text-decoration: line-through; color: var(--muted); }
.trip-plane-task-min { font-size: 12px; font-weight: 800; flex-shrink: 0; }

.trip-plane-journey-title { font-weight: 800; font-size: 14px; margin: 12px 0 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.trip-plane-journey-track { position: relative; padding: 10px 2px; }
.trip-plane-journey-plane {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  font-size: 16px;
  transition: left .5s ease;
}
.trip-plane-journey-remaining { font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.trip-plane-eta, .trip-plane-task-min { letter-spacing: .02em; }

.trip-plane-reward {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--card));
}
/* Static: a purely decorative bob outside the attention path (budget row
   below the fold), while the eq bars and the traveler's own float already
   carry this screen's motion. */
.trip-plane-reward-chest { font-size: 30px; line-height: 1; }
.trip-plane-reward-title { font-weight: 900; font-size: 14.5px; }

/* ---------- responsive ---------- */

@media (prefers-reduced-motion: reduce) {
  /* Only two loops remain on this screen (everything else above is static
     art under the voxel canvas, or already static outright): the ambient
     eq bars, and the traveler figure. The figure's own base rule
     (.trip-plane-figure.floaty, outside this media query) sets
     animation-name at specificity (0,2,0); matching that specificity here
     (instead of the plain .trip-plane-figure at (0,1,0)) is what lets this
     guard win the cascade, since equal specificity falls to source order
     and this block comes later in the file. No !important needed. */
  .trip-plane-eq i,
  .trip-plane-figure.floaty {
    animation: none;
  }
  /* the global net (base.css) clamps transition-duration to .01ms already,
     but never touches a residual transition-delay; this screen sets none
     explicitly on its one JS-gated reveal, so the canvas appears the instant
     .is-baked lands, no fade, no residual delay left to the net. */
  .trip-plane-scene .scene-canvas {
    transition: none;
  }
}

@media (max-width: 560px) {
  .trip-plane-seat { width: 74%; }
  .trip-plane-fore-seat { width: 58%; }
  .trip-plane-float-timer, .trip-plane-float-ambient, .trip-plane-float-cta { padding: 8px 10px; }
  .trip-plane-float-ambient span:last-child { display: none; }
  .trip-plane-float-cta { min-width: 108px; }
}

@media (max-width: 420px) {
  .trip-plane-figure-body { width: 50px; height: 40px; }
  .trip-plane-figure-head { width: 24px; height: 24px; }
}
