/* Fitness Vault operations-floor scene. The static fallback remains the source of meaning. */
.fv-day-scene {
  --scene-ink: #f4f3ee;
  --scene-muted: #9ea9b8;
  --scene-line: #273344;
  --scene-surface: #10151d;
  --scene-raised: #161d28;
  --scene-volt: #c8ff2e;
  --scene-emerald: #34d399;
  --scene-cyan: #38bdf8;
  --scene-amber: #fcd34d;
  position: relative;
  isolation: isolate;
  margin-top: 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(56, 189, 248, .08), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(16, 21, 29, .42) 22%, rgba(8, 10, 14, .9));
}
.fv-day-scene.is-enhanced .fv-day-scene-track { min-height: 320vh; }
.fv-day-scene-layout {
  width: min(1280px, calc(100% - 48px));
  padding-block: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.5fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: center;
}
.fv-day-scene.is-enhanced .fv-day-scene-layout {
  position: sticky;
  top: 80px;
  min-height: calc(100vh - 80px);
  padding-block: 24px;
}
.fv-day-scene-copy {
  z-index: 2;
}
.fv-day-scene .section-kicker { color: var(--scene-volt); }
.fv-day-scene-copy h2 {
  max-width: 12ch;
  margin: 14px 0 18px;
  color: var(--scene-ink);
  font-family: 'Asap', 'Gym Display', sans-serif;
  font-size: clamp(38px, 4vw, 60px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.fv-day-scene-copy > p:not(.section-kicker):not(.fv-day-scene-status) {
  max-width: 34ch;
  color: var(--scene-muted);
  font-size: 16px;
  line-height: 1.65;
}
.fv-day-scene-steps { display: grid; gap: 6px; margin-top: 28px; }
.fv-day-scene-steps button {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 50px;
  padding: 9px 12px;
  color: var(--scene-muted);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.fv-day-scene-steps button:hover,
.fv-day-scene-steps button:focus-visible { color: var(--scene-ink); background: rgba(22, 29, 40, .76); border-color: var(--scene-line); }
.fv-day-scene-steps button[aria-current="step"] { color: var(--scene-ink); background: rgba(22, 29, 40, .9); border-color: rgba(200, 255, 46, .52); }
.fv-day-scene-steps button > span:first-child { color: var(--scene-volt); font-variant-numeric: tabular-nums; }
.fv-day-scene-steps button > span:last-child { color: currentColor; font-size: 18px; }
.fv-day-scene-status { min-height: 24px; margin-top: 18px; color: var(--scene-emerald); font-size: 13px; }
.fv-day-scene-stage {
  min-width: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.fv-day-scene-visual {
  display: none;
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 1.15;
  transform-style: preserve-3d;
  transform: rotateX(57deg) rotateZ(-33deg) translate3d(0, 0, 0) scale(.86);
  transition: transform 260ms ease;
}
.fv-day-scene.is-enhanced .fv-day-scene-visual { display: block; }
.fv-day-scene-visual::before {
  content: '';
  position: absolute;
  inset: 5% 2%;
  border: 1px solid rgba(158, 169, 184, .2);
  background: linear-gradient(135deg, rgba(22, 29, 40, .9), rgba(8, 10, 14, .95));
  box-shadow: 0 60px 90px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(200, 255, 46, .05);
  transform: translateZ(-18px);
}
.fv-day-scene-visual::after {
  content: '';
  position: absolute;
  inset: 9% 6%;
  background-image: linear-gradient(rgba(158,169,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(158,169,184,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
  transform: translateZ(-10px);
}
.fv-scene-station, .fv-scene-card, .fv-scene-rail, .fv-scene-ledger {
  position: absolute;
  transform-style: preserve-3d;
}
.fv-scene-station {
  width: 30%;
  min-height: 25%;
  padding: 15px;
  color: var(--scene-muted);
  background: linear-gradient(145deg, rgba(22,29,40,.98), rgba(16,21,29,.96));
  border: 1px solid var(--scene-line);
  box-shadow: 12px 16px 0 rgba(8,10,14,.45), 0 18px 30px rgba(0,0,0,.25);
  transform: translateZ(20px);
}
.fv-scene-station h3 { margin: 0 0 8px; color: var(--scene-ink); font: 700 14px/1.2 'Plus Jakarta Sans', sans-serif; }
.fv-scene-station p { margin: 0; font-size: 10px; line-height: 1.5; }
.fv-scene-station small { display: inline-block; margin-top: 15px; color: var(--scene-muted); font-size: 9px; }
.fv-scene-station[data-station="member"] { left: 7%; top: 12%; border-top: 2px solid var(--scene-volt); }
.fv-scene-station[data-station="membership"] { right: 7%; top: 14%; border-top: 2px solid var(--scene-amber); }
.fv-scene-station[data-station="checkin"] { left: 10%; bottom: 12%; border-top: 2px solid var(--scene-emerald); }
.fv-scene-station[data-station="closing"] { right: 9%; bottom: 10%; border-top: 2px solid var(--scene-cyan); }
.fv-scene-station.is-active { box-shadow: 12px 16px 0 rgba(8,10,14,.45), 0 0 28px rgba(200,255,46,.16); }
.fv-scene-rail { left: 24%; top: 38%; width: 54%; height: 22%; border-top: 2px solid rgba(200,255,46,.45); border-right: 2px solid rgba(52,211,153,.45); transform: translateZ(12px) rotate(-14deg); opacity: .7; }
.fv-scene-card {
  left: 40%; top: 39%; width: 23%; min-width: 130px; padding: 12px;
  color: var(--scene-ink); background: #1a241e; border: 1px solid rgba(200,255,46,.8);
  box-shadow: 8px 10px 0 rgba(8,10,14,.55), 0 0 24px rgba(200,255,46,.16);
  transform: translateZ(42px);
}
.fv-scene-card strong, .fv-scene-card span { display: block; }
.fv-scene-card strong { font-size: 12px; }
.fv-scene-card span { margin-top: 6px; color: var(--scene-emerald); font-size: 9px; }
.fv-scene-ledger { right: 22%; bottom: 34%; width: 22%; min-width: 110px; padding: 10px; color: var(--scene-muted); background: rgba(16,21,29,.97); border: 1px solid rgba(56,189,248,.48); transform: translateZ(30px) rotateZ(3deg); }
.fv-scene-ledger strong { display: block; color: var(--scene-ink); font-size: 11px; }
.fv-scene-ledger span { display: block; margin-top: 6px; color: var(--scene-cyan); font-size: 9px; }
.fv-day-scene-fallback { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.fv-day-scene-fallback article { padding: 14px; border: 1px solid var(--scene-line); background: var(--scene-surface); }
.fv-day-scene-fallback h3 { margin: 0 0 7px; color: var(--scene-ink); font-size: 14px; }
.fv-day-scene-fallback p { margin: 0; color: var(--scene-muted); font-size: 12px; line-height: 1.55; }
.fv-day-scene.is-enhanced .fv-day-scene-fallback { display: none; }
.fv-day-scene.is-static .fv-day-scene-visual { display: none; }
.fv-day-scene.is-static .fv-day-scene-fallback { display: grid; }
@media (prefers-reduced-motion: reduce) {
  .fv-day-scene { min-height: auto; }
  .fv-day-scene-track { min-height: auto; }
  .fv-day-scene-layout { min-height: 0; padding-block: 80px; }
  .fv-day-scene-copy, .fv-day-scene-stage { position: static; }
  .fv-day-scene-visual { transform: none; }
  .fv-day-scene-steps button, .fv-day-scene-visual { transition: none; }
  .fv-day-scene-fallback { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .fv-day-scene-fallback article { padding: 14px; border: 1px solid var(--scene-line); background: var(--scene-surface); }
  .fv-day-scene-fallback h3 { margin: 0 0 7px; color: var(--scene-ink); font-size: 14px; }
  .fv-day-scene-fallback p { margin: 0; color: var(--scene-muted); font-size: 12px; line-height: 1.55; }
}
@media (max-width: 900px) {
  .fv-day-scene-layout { width: min(680px, calc(100% - 40px)); grid-template-columns: 1fr; gap: 20px; padding-block: 64px; }
  .fv-day-scene-copy, .fv-day-scene-stage { position: static; padding-top: 0; }
  .fv-day-scene-copy h2 { max-width: 12ch; }
  .fv-day-scene-stage { height: auto; min-height: 0; }
  .fv-day-scene-visual { transform: rotateX(48deg) rotateZ(-28deg) scale(.78); }
}
@media (max-width: 600px) {
  .fv-day-scene-layout { width: min(100% - 32px, 480px); padding-block: 64px; }
  .fv-day-scene-copy h2 { font-size: 42px; }
  .fv-day-scene-stage { min-height: 0; }
  .fv-day-scene-visual { width: 650px; transform: rotateX(34deg) rotateZ(-18deg) scale(.55); }
  .fv-scene-station { padding: 10px; }
  .fv-scene-station h3 { font-size: 11px; }
  .fv-scene-station p, .fv-scene-station small { font-size: 8px; }
  .fv-scene-card { min-width: 112px; }
  .fv-day-scene-fallback { grid-template-columns: 1fr; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .fv-day-scene-stage { min-height: 0; }
  .fv-day-scene-visual { display: none; }
  .fv-day-scene-fallback, .fv-day-scene.is-enhanced .fv-day-scene-fallback { display: grid; }
}
@supports not (transform-style: preserve-3d) {
  .fv-day-scene-visual { display: none; }
  .fv-day-scene-fallback { display: grid; }
}
