/* Xalaria Universe. All sizes in rem/em so the interface follows the reader's font size. */
:root {
  --bg: #04050a;
  --ink: #ebe8e1;
  --ink-2: #b9b6ae;
  --muted: #7d7f87;
  --faint: rgba(235, 232, 225, 0.08);
  --hair: rgba(235, 232, 225, 0.12);
  --glass: rgba(9, 11, 17, 0.62);
  --life: #7fd6b5;
  --civ: #e6b36a;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 1.5rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body { font: 400 0.875rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; touch-action: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
kbd { font: 400 0.6875rem var(--mono); color: var(--muted); border: 1px solid var(--hair); border-radius: 0.25rem; padding: 0.05rem 0.35rem; }
:focus-visible { outline: 1px solid var(--life); outline-offset: 2px; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
#gl.dragging { cursor: grabbing; }
#gl.pointing { cursor: pointer; }

/* Labels drawn over the scene */
#labels { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.lbl {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform;
  font: 400 0.6875rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); text-shadow: 0 0 0.5rem #000, 0 0 0.15rem #000;
  transition: opacity 0.18s ease-out;
}
.lbl[style*="opacity: 0"] { transition-duration: 0.42s; transition-timing-function: ease-in; }   /* fade out more gently than in */
.lbl.body { letter-spacing: 0.08em; text-transform: none; font: 400 0.8125rem/1 var(--serif); font-style: italic; color: var(--ink); }
.lbl.civ::before, .lbl.life::before { content: ""; display: inline-block; width: 0.35rem; height: 0.35rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0.08rem; }
.lbl.civ::before { background: var(--civ); }
.lbl.life::before { background: var(--life); }
.lbl.sel { color: #fff; }

/* Reticles */
.reticle { position: fixed; left: 0; top: 0; width: 2rem; height: 2rem; pointer-events: none; will-change: transform; }
.reticle i { position: absolute; width: 0.45rem; height: 0.45rem; border: 1px solid var(--ink); opacity: 0.9; }
.reticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.reticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.reticle.hover i { border-color: var(--muted); opacity: 0.8; }

/* Brand and position read-out */
.brand { position: fixed; top: var(--gutter); left: var(--gutter); display: flex; align-items: baseline; gap: 0.9rem; }
.mark { font: 300 1.05rem/1 var(--sans); letter-spacing: 0.55em; color: var(--ink); text-decoration: none; }
.brand-sub { font: italic 300 1.05rem/1 var(--serif); color: var(--muted); }
.locus { position: fixed; top: calc(var(--gutter) + 2rem); left: var(--gutter); display: grid; gap: 0.2rem; font: 300 0.6875rem/1.4 var(--mono); color: var(--ink-2); }
.locus .k { display: inline-block; width: 4.6em; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* Finder (search + life filters) */
.finder { position: fixed; top: var(--gutter); right: var(--gutter); width: 18.5rem; display: grid; gap: 0.6rem; }
.search { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; background: var(--glass); border: 1px solid var(--hair); border-radius: 0.375rem; backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); }
.search svg { width: 0.9rem; height: 0.9rem; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.3; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 400 0.8125rem var(--sans); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.results { list-style: none; margin: 0; padding: 0.3rem; background: var(--glass); border: 1px solid var(--hair); border-radius: 0.375rem; backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); max-height: 50vh; overflow: auto; }
.results li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.55rem; border-radius: 0.25rem; cursor: pointer; }
.results li.on, .results li:hover { background: var(--faint); }
.results .n { font: 400 0.9375rem/1.2 var(--serif); }
.results .t { font: 300 0.6875rem/1.6 var(--mono); color: var(--muted); white-space: nowrap; }
.life-filter { display: flex; gap: 0.25rem; }
.life-filter button { flex: 1; padding: 0.4rem 0.3rem; border: 1px solid transparent; border-radius: 0.25rem; font-size: 0.6875rem; line-height: 1.2; letter-spacing: 0.06em; color: var(--muted); text-align: center; white-space: nowrap; }
.life-filter .dot { vertical-align: 0.08em; margin-right: 0.45em; }
.life-filter button.on { color: var(--ink); border-color: var(--hair); background: var(--glass); }
.dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; display: inline-block; flex: none; align-self: center; }
.dot.life { background: var(--life); } .dot.civ { background: var(--civ); }
.next-life { justify-self: end; font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--ink-2); display: flex; gap: 0.5rem; align-items: center; }
.next-life:hover { color: var(--ink); }

/* Information card */
.card {
  position: fixed; left: var(--gutter); top: 8.5rem; width: 23rem; max-height: calc(100vh - 8.5rem - 7rem);
  overflow: auto; padding: 1.5rem 1.6rem 1.6rem; background: var(--glass); border: 1px solid var(--hair); border-radius: 0.5rem;
  backdrop-filter: blur(1.25rem) saturate(120%); -webkit-backdrop-filter: blur(1.25rem) saturate(120%);
  scrollbar-width: thin; scrollbar-color: var(--hair) transparent;
  animation: rise 0.45s cubic-bezier(.2, .7, .2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(0.5rem); } }
.card-close { position: absolute; top: 0.7rem; right: 0.9rem; font-size: 1.25rem; line-height: 1; color: var(--muted); }
.card-close:hover { color: var(--ink); }
.kicker { font: 400 0.625rem/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.card h1 { margin: 0.35rem 0 1.1rem; font: 300 2.6rem/1 var(--serif); letter-spacing: 0.01em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem; margin: 0 0 1.25rem; padding: 1rem 0 0; border-top: 1px solid var(--hair); }
.facts div { min-width: 0; }
.facts dt { font: 400 0.5625rem/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; font: 300 0.8125rem/1.35 var(--mono); color: var(--ink); }
.facts dd small { display: block; color: var(--muted); font-size: 0.6875rem; }
.facts dd a.charted { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); }   /* who first charted the star: to the Great Charting */
@media (hover: hover) and (pointer: fine) { .facts dd a.charted:hover { border-bottom-color: var(--ink-2); } }
.life-sec { margin: 0 0 0.9rem; }
.life-tag { display: inline-flex; align-items: center; gap: 0.55rem; font: 400 0.625rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; padding: 0.45rem 0.65rem; border-radius: 1rem; border: 1px solid currentColor; }
.life-tag.civ { color: var(--civ); } .life-tag.life { color: var(--life); }
.life-tag::before { content: ""; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0.6rem currentColor; }
.desc { margin: 0; font: 400 1.125rem/1.55 var(--serif); color: var(--ink); hyphens: auto; }
.desc:first-letter { font-size: 1.4em; }
.discovery { margin: 1rem 0 0; padding: 0.8rem 0 0; border-top: 1px solid var(--hair); font: italic 400 1rem/1.5 var(--serif); color: var(--ink-2); }
.discovery b { display: block; font: 400 0.5625rem/1.4 var(--mono); font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--life); margin-bottom: 0.3rem; }
.list { margin-top: 1.3rem; }
.list-h { font: 400 0.5625rem/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-bottom: 0.4rem; border-bottom: 1px solid var(--hair); }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--faint); cursor: pointer; }
.list li:hover .n { color: #fff; }
.list .n { font: 400 1.0625rem/1.2 var(--serif); color: var(--ink-2); display: flex; align-items: center; gap: 0.5rem; }
.list .t { font: 300 0.6875rem var(--mono); color: var(--muted); text-align: right; }

/* Time bar */
.timebar {
  position: fixed; left: 50%; bottom: var(--gutter); transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.4rem; padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  background: var(--glass); border: 1px solid var(--hair); border-radius: 2rem;
  backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); transition: opacity 0.6s;
}
.timebar.dim { opacity: 0.55; }
.date { font: 300 0.8125rem/1 var(--mono); display: flex; gap: 0.6rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
#tDate { display: inline-block; width: 11ch; }      /* fixed boxes: the changing date never moves the controls */
#tClock { display: inline-block; width: 8ch; }
#tClock { color: var(--muted); }
.controls { display: flex; gap: 0.1rem; }
.controls button { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.controls button:hover { background: var(--faint); color: var(--ink); }
.controls svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.controls .i-play { display: none; fill: currentColor; stroke: none; }
.controls button.speed { width: auto; border-radius: 1rem; padding: 0 0.65rem; display: inline-flex; align-items: center; gap: 0.3rem; font: 400 0.625rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.controls button.speed svg { width: 0.7rem; height: 0.7rem; }
.controls button.speed .gauge { display: none; width: 1rem; height: 1rem; }   /* (narrow screens: a speedometer, low or high, in place of the words) */
#tRate { transition: color 0.9s ease; }
#tRate.changed { color: var(--ink); transition: none; }   /* (the speed just changed: universe-app.js setRate) */
.paused .i-play { display: block; } .paused .i-pause { display: none; }
.rate { display: flex; align-items: center; gap: 0.8rem; font: 300 0.75rem var(--mono); color: var(--ink-2); min-width: 8.5rem; justify-content: flex-end; white-space: nowrap; }
.rate button { font: 400 0.625rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; padding: 0.5rem 0.7rem; border: 1px solid var(--hair); border-radius: 1rem; color: var(--muted); }
.rate button:hover { color: var(--ink); }
.rate button.live { color: var(--life); border-color: rgba(127, 214, 181, 0.4); }
/* Planetary scale: enlarged (as usual), or real (green, as real time is) */
.pscale { display: flex; align-items: center; padding-left: 0.9rem; margin-left: 0.2rem; border-left: 1px solid var(--hair); }
.pscale button { display: flex; align-items: baseline; gap: 0.55rem; font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; padding: 0.55rem 0.85rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 1rem; color: var(--ink); white-space: nowrap; }
.pscale button .k { color: var(--muted); }
.pscale button b { font-weight: 500; }
.pscale button:hover { border-color: rgba(255, 255, 255, 0.5); }
.pscale button.real { color: var(--life); border-color: rgba(127, 214, 181, 0.6); background: rgba(127, 214, 181, 0.08); }
.pscale button.real .k { color: rgba(127, 214, 181, 0.7); }
@media (max-width: 640px) { .pscale button .k { display: none; } .pscale { padding-left: 0.5rem; } }

/* Legend */
.legend { position: fixed; right: var(--gutter); bottom: calc(var(--gutter) + 0.6rem); display: flex; align-items: center; gap: 1.1rem; font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.04em; }
.legend span { display: flex; align-items: center; gap: 0.45rem; }
.ring { width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1px solid; display: inline-block; }
.ring.civ { border-color: var(--civ); } .ring.life { border-color: var(--life); }
.legend .line { width: 1rem; height: 1px; background: #6c7a96; display: inline-block; }
.legend button { color: var(--muted); border: 1px solid var(--hair); border-radius: 1rem; padding: 0.3rem 0.65rem; font-size: 0.6875rem; }
.legend button:hover { color: var(--ink); }
#helpBtn { width: 1.7rem; height: 1.7rem; padding: 0; border-radius: 50%; }

/* Zoom: a small glass pill at the right edge, like the time bar. */
.zoomctl { position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 0.1rem; padding: 0.3rem;
           background: var(--glass); border: 1px solid var(--hair); border-radius: 2rem; backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); z-index: 2; }
.zoomctl button { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font: 300 1.15rem/1 var(--mono); color: var(--ink-2); }
.zoomctl button:hover { background: var(--faint); color: var(--ink); }
/* Between phone and very wide screens (or a zoomed-in page), the legend stacks at the right, clear of the
   centred time bar. In a row it needs the half-width beside the time bar (about 48rem wide) to hold itself (about
   23rem) and the gutter: about 100em. 88em let them overlap on a 1,468px window (the user's Safari full screen,
   2026-10-27); 112em leaves the time bar room to grow. */
@media (max-width: 112em) and (min-width: 52.01em) {
  .legend { flex-direction: column; align-items: flex-end; gap: 0.5rem; bottom: calc(var(--gutter) + 0.2rem); }
}

/* Help */
.help { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(2, 3, 6, 0.6); backdrop-filter: blur(0.4rem); -webkit-backdrop-filter: blur(0.4rem); z-index: 5; }
.help-in { width: min(30rem, calc(100vw - 2rem)); padding: 2rem; background: var(--glass); border: 1px solid var(--hair); border-radius: 0.5rem; }
.help dl { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.4rem; margin: 1.2rem 0; }
.help dt { font: 400 0.75rem var(--mono); color: var(--ink); white-space: nowrap; }
.help dd { margin: 0; color: var(--ink-2); }
.help p { font: italic 400 1rem/1.5 var(--serif); color: var(--ink-2); }
.ghost { border: 1px solid var(--hair); border-radius: 1rem; padding: 0.45rem 1rem; font-size: 0.75rem; letter-spacing: 0.08em; }

/* Intro */
.intro { position: fixed; inset: 0; display: grid; place-items: center; z-index: 6; background: radial-gradient(ellipse at center, rgba(4, 5, 10, 0.35), rgba(4, 5, 10, 0.92) 75%); transition: opacity 1.2s ease, visibility 1.2s; padding: 1.5rem; }
.intro.gone { opacity: 0; visibility: hidden; }
.intro-in { text-align: center; max-width: 46rem; }
.intro h2 { font: 300 clamp(2rem, 5vw, 3.6rem)/1.08 var(--serif); margin: 1rem 0 2.2rem; letter-spacing: 0.005em; }
.intro h2 em { color: var(--ink-2); }
.intro-stats { display: flex; justify-content: center; gap: clamp(1.2rem, 5vw, 3.5rem); margin-bottom: 2.6rem; flex-wrap: wrap; }
.intro-stats div { display: grid; gap: 0.25rem; }
.intro-stats b { font: 300 1.6rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.intro-stats span { font: 400 0.625rem var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.enter { padding: 0.95rem 2.2rem; border: 1px solid var(--hair); border-radius: 2rem; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; transition: border-color 0.3s, background 0.3s; }
.enter:not(:disabled):hover { border-color: var(--ink); background: var(--faint); }
.enter:disabled { color: var(--muted); cursor: default; }
.intro-note { margin-top: 1.6rem; font: italic 400 0.95rem var(--serif); color: var(--muted); }
.nojs { position: fixed; inset: 0; display: grid; place-items: center; font: 300 1.2rem var(--serif); }

/* Narrow screens: card becomes a bottom sheet, time bar moves up. em media queries scale with font size. */
@media (max-width: 52em) {
  :root { --gutter: 1rem; }
  .finder { width: auto; left: var(--gutter); top: calc(var(--gutter) + 1.9rem); }
  .brand { top: var(--gutter); }
  .locus { display: none; }
  .life-filter { padding: 0.2rem; border-radius: 0.4rem; background: rgba(6, 7, 12, 0.72); backdrop-filter: blur(0.5rem); -webkit-backdrop-filter: blur(0.5rem); }
  .life-filter button { padding: 0.35rem 0.2rem; }
  .next-life { display: none; }
  .legend > span { display: none; }
  .legend { bottom: auto; top: calc(var(--gutter) - 0.15rem); right: var(--gutter); }
  /* The time bar docks to the bottom edge and the card rests on top of it as a sheet. */
  .timebar { left: 0; right: 0; bottom: 0; transform: none; border-radius: 0; border-width: 1px 0 0; justify-content: space-between; gap: 0.5rem; z-index: 2;
             padding: 0.4rem 0.75rem calc(0.4rem + env(safe-area-inset-bottom)) 1rem; background: rgba(6, 7, 12, 0.92); }
  .timebar.dim { opacity: 1; }
  .card { left: 0; right: 0; bottom: calc(2.9rem + env(safe-area-inset-bottom)); top: auto; width: auto; max-height: 38vh; max-height: 38dvh; border-radius: 0.9rem 0.9rem 0 0; border-bottom: 0; padding: 1.2rem 1.25rem 1.4rem; }
  .card h1 { font-size: 2.1rem; }
  .date { min-width: 0; } #tClock { display: none; }
  .rate { min-width: 0; }
  .controls button.speed { width: 2rem; padding: 0; border-radius: 50%; justify-content: center; }
  .controls button.speed span, .controls button.speed .chev { display: none; }
  .controls button.speed .gauge { display: block; }
}
@media (max-width: 30em) {
  .rate #tRate { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}

/* Inside the game (?ride): the traveller's own view. Nothing to steer; only the date and the green real-time light. */
.ride-black { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 8; }
body.ride .brand, body.ride .locus, body.ride .finder, body.ride .card, body.ride .legend, body.ride .zoomctl, body.ride .help,
body.ride .intro, body.ride #labels, body.ride .reticle, body.ride .timebar .controls, body.ride .pscale, body.ride #tRate { display: none !important; }
body.ride #gl { pointer-events: none; cursor: default; }
body.ride .timebar { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(var(--gutter) + var(--sab, 0px)); border-radius: 2rem; border-width: 1px;
                     gap: 0.9rem; padding: 0.45rem 0.5rem 0.45rem 1rem; background: rgba(6, 7, 12, 0.62); z-index: 7; opacity: 1; pointer-events: none; }
body.ride .rate { min-width: 0; }
body.ride #tNow.flash { animation: liveFlash 1.6s ease-out 1; }
/* The time of day: beside the date only while the day sweeps in, racing; then it fades away slowly (4 s) and its
   room closes after it. */
body.ride #tClock { display: inline-block !important; width: 5ch; max-width: 0; margin-left: -0.6rem; overflow: hidden; opacity: 0;
                    transition: opacity 4s ease, max-width 1.2s ease 4s, margin-left 1.2s ease 4s; }
body.ride.sweeping #tClock { max-width: 5ch; margin-left: 0; opacity: 1; transition: none; }
@keyframes liveFlash { 0% { box-shadow: 0 0 0 0 rgba(127, 214, 181, 0.75); background: rgba(127, 214, 181, 0.35); } 100% { box-shadow: 0 0 0 1.1rem rgba(127, 214, 181, 0); background: transparent; } }
/* The surface: its picture from edge to edge across the top, the words below in a gentle hand. Only the words
   scroll (the page itself never moves), on every device. */
.ride-surface { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.rs-fig { position: relative; flex: none; width: 100%; aspect-ratio: 3 / 1; margin: 0; overflow: hidden; background: #000; }
@supports not (aspect-ratio: 3 / 1) { .rs-fig { height: 33.333vw; } }   /* (older Safari) */
.ride-surface { padding: var(--sat, 0px) var(--sar, 0px) 0 var(--sal, 0px); }   /* clear of a notch and rounded corners */
.rs-fig > div { position: absolute; inset: 0; }
.rs-fig canvas { display: block; width: 100%; height: 100%; }
#rsCity { opacity: 0; }
.rs-words { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
            padding: 1.7rem max(1.4rem, 7vw) calc(5rem + var(--sab, 0px)); scrollbar-width: thin; scrollbar-color: var(--hair) transparent; }
.rs-name { max-width: 38rem; margin: 0 auto; font: 400 0.625rem/1.4 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.rs-text { max-width: 38rem; margin: 0.9rem auto 0; font: italic 400 1.3rem/1.62 var(--serif); color: var(--ink); hyphens: auto; }
.rs-text:first-letter { font-size: 1.35em; }
@media (max-width: 30em) { .rs-text { font-size: 1.15rem; } .rs-words { padding-top: 1.2rem; } }
/* The arrival (the game's own bars stay in view about it): no date or light, only the flight. */
body.ride.intro .timebar { display: none !important; }
/* The film of a journey (SGFilm): the picture above, its captions beneath it (never over it), with the date. */
.film-cap { display: none; }
body.ride.film #gl { height: 74%; }
body.ride.film .timebar, body.ride.film .rs-words { display: none !important; }
body.ride.film .film-cap { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.55rem; position: fixed; left: 0; right: 0; bottom: 0; height: 26%; z-index: 9;
  background: #04050a; padding: 0 max(1.4rem, 7vw) var(--sab, 0px); text-align: center; }
.film-cap .fc-date { font: 400 0.625rem/1.4 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.film-cap .fc-text { max-width: 40rem; font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); }
.film-cap .fc-date, .film-cap .fc-text { opacity: 0; transform: translateY(6px); transition: opacity 0.9s ease, transform 0.9s ease; }
.film-cap.shown .fc-date, .film-cap.shown .fc-text { opacity: 1; transform: none; }
@media (max-width: 30em) { .film-cap .fc-text { font-size: 1.1rem; } }
body.ride.film .ride-surface { bottom: 26%; justify-content: center; }   /* (the landscape centred in the picture's place, as a film frame) */
.film-cap .fc-play { pointer-events: auto; margin-top: 0.4rem; padding: 0.55rem 1.2rem; border: 1px solid var(--hair); border-radius: 2rem; font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.film-cap .fc-play[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .film-cap .fc-play:hover { border-color: var(--ink-2); } }
/* Opened by the game or for a shared film: everything of this page's own (its opening, its tools) hidden from the very
   first moment, before the script marks the page as the game's (body.ride): only the black sky, then the view. */
html.ride-early, html.ride-early body { background: #04050a; }
/* (#intro, the Universe page's own intro panel: not .intro, which is also the body's class during the arrival flight, and hid the whole flight) */
html.ride-early #intro, html.ride-early .brand, html.ride-early .locus, html.ride-early .finder, html.ride-early .card, html.ride-early .legend,
html.ride-early .zoomctl, html.ride-early .help, html.ride-early .pscale, html.ride-early #labels, html.ride-early .reticle, html.ride-early .timebar,
html.ride-early .tour-btn, html.ride-early .scale-toggle { display: none !important; }
html.ride-early body.ride .timebar { display: flex !important; }
html.ride-early body.ride.film .timebar, html.ride-early body.ride.intro .timebar { display: none !important; }
