/* Liniennetzplan Neuss — standalone page.
   Direction: the split stage. The sheet of the map is the half that never leaves:
   full screen first, then the left half while the right column is read.
   One face (Fira Sans, the map's own, no heavier than bold), five sizes, white ground, one red for actions. */

@font-face { font-family: 'Fira'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/neuss/fonts/fira-400.woff2') format('woff2'); }
@font-face { font-family: 'Fira'; font-weight: 400; font-style: italic; font-display: swap; src: url('/assets/neuss/fonts/fira-400i.woff2') format('woff2'); }
@font-face { font-family: 'Fira'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/neuss/fonts/fira-500.woff2') format('woff2'); }
@font-face { font-family: 'Fira'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/neuss/fonts/fira-700.woff2') format('woff2'); }

:root {
  --ground: #FFFFFF;
  --field: #F2F2F0;          /* one tone step: map half, viewers, the process ground */
  --ink: #1D1D1B;            /* the black of the map's own lettering */
  --muted: #5C5C63;
  --accent: #D21F2B;         /* the red of the Neuss arms; actions only */
  --accent-ink: #FFFFFF;
  --mark: #FBE0E1;

  --face: 'Fira', 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  --s-small: 0.875rem;                          /* 14 */
  --s-body: 1.0625rem;                          /* 17 */
  --s-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.4375rem);   /* 20–23 */
  --s-head: clamp(1.875rem, 1.3rem + 1.6vw, 2.5rem);     /* 30–40 */
  --s-display: clamp(3rem, 1.9rem + 3vw, 5rem);           /* 48–80 */

  --m: clamp(16px, 0.6rem + 1.6vw, 32px);       /* the one pair of outer margins */
  --gap: clamp(120px, 6rem + 6vw, 220px);       /* between sections */
  --bar: 64px;
  --expo: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--s-body)/1.55 var(--face);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
h2, h3 { font-size: var(--s-head); }
.display { font-size: var(--s-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; }
.lead { font-size: var(--s-lead); line-height: 1.38; letter-spacing: -0.01em; }
.strong { font-weight: 500; }
mark { background: var(--mark); color: inherit; padding: 0 .15em; }

.skip { position: absolute; left: var(--m); top: -4rem; z-index: 100; background: var(--ink); color: var(--ground); padding: .7rem 1rem; }
.skip:focus { top: var(--m); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.4rem;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none; font: 500 var(--s-body)/1 var(--face);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--expo);
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #B01722; }
.btn--tone { background: var(--field); color: var(--ink); }
.btn--tone:hover { background: #E6E6E3; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- Bar: appears once the sheet has stepped aside ---------- */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 30; height: var(--bar); padding-inline: var(--m);
  display: flex; align-items: center; gap: 2rem; background: var(--ground);
  transform: translateY(-100%); transition: transform .5s var(--expo);
}
.bar.is-shown, .bar:focus-within { transform: none; }
.bar__brand { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.bar__nav { display: flex; gap: 1.75rem; margin-left: auto; }
.bar__nav a, .foot__menu a { text-decoration: none; }
.bar__nav a { color: var(--muted); transition: color .2s ease; }
.bar__nav a:hover, .bar__nav a.is-here { color: var(--ink); }
.lang { display: flex; gap: 2px; }
.lang > * { min-width: 2.5rem; height: 2.25rem; display: grid; place-items: center; text-decoration: none; font-weight: 500; }
.lang [aria-current] { background: var(--ink); color: var(--ground); }
@media (max-width: 860px) { .bar__nav { display: none; } .lang { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }

/* ---------- Stage ---------- */

.stage { position: relative; --p: 0; }
.stage__map { position: sticky; top: 0; z-index: 2; height: 100svh; width: 100%; background: var(--ground); }
/* the field behind the sheet narrows with the scroll; the map canvas itself never changes size */
.stage__map::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(100% - var(--p) * 50%);
  background: color-mix(in srgb, var(--field) calc(var(--p) * 100%), var(--ground)); }
.viewer--stage .vw-ui { right: calc(var(--p) * 50% + 12px); }
/* the map is drawn only in its half: zoomed in, the sheet would otherwise run on under the text */
.viewer.viewer--stage { clip-path: inset(0 calc(var(--p) * 50%) 0 0); }
.viewer.viewer--stage { position: absolute; inset: 0; cursor: none; }
.viewer--stage.no-lens { cursor: default; }
.viewer--stage:not(.m-ready) .vw-osd { visibility: hidden; }
.stage__col {
  position: relative; z-index: 3; margin: -100svh 0 0 50%;
  padding: calc(100svh + 40px) var(--m) 0 clamp(32px, 5vw, 88px);
  opacity: var(--col, 1);
}
.intro, .read { max-width: 40rem; }
.intro h1 { font-size: min(var(--s-display), 13.5vw);  /* "Liniennetzplan" stays on one line on a 320px phone */ font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; }
.intro .lead { margin-top: 32px; max-width: 30ch; }
.intro__text { margin-top: 56px; display: grid; gap: 1em; max-width: 34rem; }
.intro .actions { margin-top: 40px; }
.hint { margin-top: 16px; font-size: var(--s-small); color: var(--muted); }
.only-coarse { display: none; }
@media (pointer: coarse) { .only-fine { display: none; } .only-coarse { display: inline; } }

.read { padding: var(--gap) 0 0; }
.read .lead { margin-top: 24px; max-width: 30ch; }
.steps { margin-top: 24px; padding-bottom: 12svh; }
.step { min-height: 64svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; max-width: 34rem;
  padding-block: 56px; }  /* on a short screen the content outgrows 64svh: the padding keeps neighbours apart */
.step h3 { font-size: var(--s-head); }
/* "Which routes are there?": the legend of the sheet, folded */
.lines summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.lines summary::-webkit-details-marker { display: none; }
.lines summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
.lines[open] summary::after { transform: translateY(2px) rotate(225deg); }
.lines h4 { margin: 24px 0 10px; font-size: var(--s-small); font-weight: 600; color: var(--muted); }
.lines__list { display: grid; gap: 10px; font-size: var(--s-small); line-height: 1.35; }
.lines__list li { display: grid; grid-template-columns: 3.9em 1fr; align-items: baseline; gap: 8px; }
.lines .nw { white-space: nowrap; }
@media (max-width: 560px) { .lines__b { display: block; } }  /* the second end on its own line, as on the sheet */
.lines__list .rt { justify-self: start; margin: 0; }
.lines__note { display: block; color: var(--muted); font-style: italic; }
.step__photo { margin: 4px 0 0; max-width: 22rem; }
.step__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; background: var(--field); }
.step__photo figcaption { margin-top: 8px; font-size: var(--s-small); color: var(--muted); }
.step__photo--wide { max-width: 30rem; }
.step__photo--wide img { aspect-ratio: auto; background: none; }
.step__map { display: none; }

@media (max-width: 900px) {
  .stage__map { position: relative; width: 100%; height: min(100svh, 150vw); background: var(--ground); }
  .stage__col { margin: 0; padding: 48px var(--m) 0; opacity: 1; }
  .step { min-height: 0; padding-top: 72px; gap: 16px; }
  .steps { padding-bottom: 0; }
  .step__map.viewer { display: block; position: relative; aspect-ratio: 4 / 3; margin: 0 calc(var(--m) * -1) 8px; background: var(--field); }
}

/* ---------- Viewer ---------- */

.viewer { position: relative; overflow: hidden; contain: strict; user-select: none; -webkit-user-select: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
/* a long press is the lens, not the system menu for saving the picture */
.viewer { -webkit-touch-callout: none; }
.viewer img, .viewer svg, .viewer canvas { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.viewer.is-zoomed { touch-action: none; }
.viewer.is-grab { cursor: grab; }
.viewer.is-grabbing { cursor: grabbing; }
.vw-osd { position: absolute; inset: 0; }
.vw-osd .openseadragon-container { background: transparent !important; }
/* OpenSeadragon turns off touch scrolling on its canvas; on the maps that don't pan or zoom the page must
   still scroll under a finger (the lens takes over only after a long press) */
.viewer:not(.viewer--full) .vw-osd, .viewer:not(.viewer--full) .vw-osd * { touch-action: pan-y !important; }  /* a pinch opens full screen (neuss.js) */
.viewer > canvas.vw-morph { position: absolute; left: 0; top: 0; z-index: 1; }
.vw-ui { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; flex-direction: column; gap: 2px; }
.vw-ui button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 0; background: var(--ground); color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .3s var(--expo); }
.vw-ui button:hover { background: var(--ink); color: var(--ground); }
.vw-ui button:active { transform: scale(.94); }
.vw-ui button:disabled { color: #B9B9BD; background: var(--ground); cursor: default; }
.vw-ui svg { width: 18px; height: 18px; }
.viewer--stage .vw-ui { opacity: 0; transition: opacity .4s ease; }
.viewer--stage.m-done .vw-ui { opacity: 1; }

.vw-toast { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; padding: .75rem 1rem; background: var(--ink); color: var(--ground); font-size: var(--s-small); transition: opacity .25s ease; white-space: nowrap; }
.vw-toast.is-on { opacity: 1; }

.vw-lens {
  position: absolute; left: 0; top: 0; z-index: 4; width: var(--lens, 280px); height: var(--lens, 280px); border-radius: 50%;
  overflow: hidden; pointer-events: none; background: var(--ground); opacity: 0; scale: .7;
  transition: opacity .2s ease, scale .35s var(--expo);
  border: 2px solid var(--ink);
}
/* Safari ignores overflow + border-radius for transformed children, so the circle is a hard clip,
   and a hidden lens is also invisible, not only transparent */
.vw-lens { clip-path: circle(50% at 50% 50%); contain: strict; isolation: isolate; visibility: hidden; transition: opacity .2s ease, scale .35s var(--expo), visibility 0s linear .2s; }
.vw-lens .vw-osd { background: var(--ground); }
.vw-lens.is-on { opacity: 1; scale: 1; visibility: visible; transition: opacity .2s ease, scale .35s var(--expo), visibility 0s; }
@media (pointer: coarse) { .vw-lens { --lens: 200px; } }

.vw-load { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border-radius: 50%; border: 3px solid var(--field); border-top-color: var(--ink); animation: spin .9s linear infinite; z-index: 3; transition: opacity .3s; }
.viewer.is-ready .vw-load { display: none; }  /* a hidden spinner still animates, and Safari keeps compositing it */
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Process ---------- */

.process { margin-top: var(--gap); background: var(--field); padding: 0 var(--m); }

/* The introduction sits on the photographed sheet: a card in the corner, the chapters as a route */
.process__head { position: relative; margin: 0 calc(var(--m) * -1); min-height: min(100svh, 62vw); display: flex; align-items: flex-end; padding: var(--m); overflow: hidden; }
.process__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process__card .display { font-size: clamp(2.75rem, 1.6rem + 3vw, 4.75rem); }
.process__card { position: relative; width: min(100%, 38rem); background: var(--ground); padding: clamp(28px, 3vw, 48px); display: grid; gap: 20px; }
.process__card .lead { max-width: 30ch; }
.route { margin-top: 12px; display: grid; }
.route li { position: relative; padding: 0 0 22px 40px; display: grid; }
.route li:last-child { padding-bottom: 0; }
.route li::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: -10px; width: 8px; background: var(--c); }
.route li:last-child::before { display: none; }
.route li::after { content: ''; position: absolute; left: 3px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); border: 4px solid var(--c); box-sizing: border-box; }
.route a { font-weight: 700; text-decoration: none; transition: color .2s ease; }
.route a:hover { color: var(--c); }
.route span { color: var(--muted); font-size: var(--s-small); }
@media (max-width: 900px) {
  .process__head { min-height: 0; flex-direction: column; align-items: stretch; padding: 0; }
  .process__bg { position: relative; height: 56vw; }
  .process__card { width: 100%; padding: 32px var(--m) 8px; background: var(--field); }
}

/* Chapters: square plate, spare text; sides alternate */
.chapter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 88px); align-items: start;
  margin-top: var(--gap); scroll-margin-top: var(--bar);
}
.process .chapter:last-child { padding-bottom: 120px; }
.chapter--flip > .viewer { order: 2; }
.viewer--frames { --ar: 1; width: min(100%, calc((100svh - var(--bar) - 48px) * var(--ar))); aspect-ratio: var(--ar); justify-self: center; background: transparent; cursor: none; }
.viewer--frames.no-lens { cursor: default; }
.chapter__body { display: flex; flex-direction: column; max-width: 36rem; }
.chapter h3 { order: 0; font-size: var(--s-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; }
.chapter__when { order: 1; margin-top: 20px; color: var(--muted); }
.chapter__intro { order: 2; margin-top: 28px; }
.chapter__ctrl { order: 3; margin-top: 40px; }

.caps { margin-top: 24px; min-height: 9.5em; }
.caps li { display: none; }
.caps li.is-on { display: block; animation: cap .5s var(--expo); }
@keyframes cap { from { opacity: 0; } }

/* Scrubber: a frame counter, round buttons, and a slider: a rail with a stop per frame and a handle */
.scrub__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.scrub__count { color: var(--muted); font-variant-numeric: tabular-nums; }
.scrub__count b { color: var(--ink); font-weight: 700; }
.scrub__btns { display: flex; gap: 8px; }
.rb { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--ground); color: var(--ink); transition: background-color .25s ease, color .25s ease, transform .3s var(--expo); }
.rb:hover { background: #E6E6E3; }
.rb:active { transform: scale(.92); }
.rb--ink { background: var(--ink); color: var(--ground); }
.rb--ink:hover { background: #3A3A37; }
.rb[aria-pressed="true"] { background: var(--line); color: var(--ground); }
.rb:disabled { background: transparent; color: #B4B4B0; cursor: default; transform: none; }
.rb svg { width: 20px; height: 20px; }

.slider { position: relative; height: 44px; margin: 16px 11px 0; cursor: pointer; touch-action: none; outline: none; --x: 0%; }
.slider__rail, .slider__fill { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: #D6D6D2; }
.slider__fill { right: auto; width: var(--x); background: var(--line); transition: width .4s var(--expo); }
.slider__tick { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ground); pointer-events: none; }
.slider__handle {
  position: absolute; top: 50%; left: var(--x); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: var(--ground); border: 7px solid var(--line); cursor: grab; transition: left .4s var(--expo), transform .25s var(--expo);
}
.slider:hover .slider__handle { transform: scale(1.12); }
.slider.is-drag .slider__handle { cursor: grabbing; transform: scale(1.2); }
.slider.is-drag .slider__fill, .slider.is-drag .slider__handle { transition: none; }
.slider:focus-visible .slider__handle { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 900px) {
  /* phone: title, line, description, then the picture, then the slider and the caption */
  .chapter { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .chapter__body { display: contents; }
  .chapter h3 { order: 1; }
  .chapter__when { order: 2; }
  .chapter__intro { order: 3; }
  .chapter > .viewer, .chapter--flip > .viewer { order: 4; margin-top: 32px; }
  .chapter__ctrl { order: 5; margin-top: 24px; }
  .viewer--frames { margin: 0 calc(var(--m) * -1); width: calc(100% + var(--m) * 2); }
  .chapter h3 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .caps { min-height: 0; }
  .viewer--frames { cursor: default; }
}

/* ---------- Life: one frame, contents change ---------- */

.life { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--m); row-gap: 96px; padding: 140px var(--m) 0; }
.life__head { grid-column: 1 / 7; display: grid; gap: 24px; }
.life__head .lead { max-width: 34ch; }
/* three photographs, staggered: the caption sits beside each, at its foot */
.shot { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; margin: 0; }
.shot img { display: block; width: 100%; height: auto; background: var(--field); }
.shot figcaption { max-width: 28ch; color: var(--muted); }
.shot figcaption b { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 700; font-size: 1.15em; }
.shot--a img { grid-column: 1 / 9; }
.shot--a figcaption { grid-column: 9 / 13; }
.shot--b img { grid-column: 5 / 13; grid-row: 1; }
.shot--b figcaption { grid-column: 1 / 5; grid-row: 1; justify-self: end; text-align: right; }
.shot--c img { grid-column: 2 / 7; }
.shot--c figcaption { grid-column: 7 / 11; }
@media (max-width: 900px) {
  .life { grid-template-columns: 1fr; row-gap: 56px; }
  .life__head, .shot { grid-column: 1; }
  .shot { grid-template-columns: 1fr; gap: 16px; }
  .shot img, .shot figcaption, .shot--b img, .shot--b figcaption { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
  .shot--c img { width: 82%; }
}

/* ---------- Letter ---------- */

.letter { padding: 160px var(--m) 140px; }
.letter__col { max-width: 34rem; margin-inline: auto; display: grid; gap: 1em; }
.letter__head { display: flex; align-items: center; gap: 16px; margin-bottom: 1em; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--field); flex: none; }
.sign { margin-top: 1em; font-size: var(--s-lead); font-style: italic; display: grid; }
.sign span { font-size: var(--s-small); font-style: normal; color: var(--muted); }
.letter .actions { margin-top: 1.5em; }
.share-note { font-size: var(--s-small); color: var(--muted); }

/* ---------- Footer: the map up close, the menu large ---------- */

.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--ground); }
.foot__map { position: relative; background: var(--field); min-height: 50svh; }
.foot__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.viewer.viewer--foot { position: absolute; inset: 0; }
.foot__side { display: flex; flex-direction: column; padding: 80px var(--m) var(--m) clamp(32px, 5vw, 88px); }
.foot__brand { font-weight: 700; text-decoration: none; }
.foot__menu { display: grid; gap: 8px; margin-top: 48px; justify-items: start; }
.foot__menu a { font-size: var(--s-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; transition: transform .45s var(--expo), color .25s ease; }
.foot__menu:hover a { color: #A3A3A8; }
.foot__menu a:hover { color: var(--ink); transform: translateX(12px); }
.foot__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); margin-top: 64px; max-width: 44rem; }
.foot__blocks p:last-child { font-size: var(--s-small); color: var(--muted); }
.foot__blocks a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.foot__legal { margin-top: auto; padding-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--s-small); color: var(--muted); }
.foot__legal a { color: var(--ink); }
@media (max-width: 900px) {
  .foot { grid-template-columns: 1fr; }
  .foot__side { padding: 48px var(--m) var(--m); }
  .foot__menu a { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .foot__blocks { grid-template-columns: 1fr; }
}

/* ---------- Full screen ---------- */

.full { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ground); color: var(--ink); }
.full::backdrop { background: var(--ground); }
.full[open] { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.viewer.viewer--full { position: absolute; inset: 0; touch-action: none; cursor: none; }
.viewer--full.no-lens { cursor: grab; }
.full__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 8; width: 44px; height: 44px; border: 0; border-radius: 0; display: grid; place-items: center; cursor: pointer; background: var(--ink); color: var(--ground); }
.full__close svg { width: 20px; }
html.is-locked { overflow: hidden; }

/* Route numbers in the text, drawn like the labels on the map: square, condensed bold, the line's colour */
@font-face { font-family: 'Fira Cond'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/neuss/fonts/fira-c-700.woff2') format('woff2'); }
.rt { display: inline-block; padding: 0.12em 0.26em 0.06em; margin: 0 0.06em; background: var(--c); color: #fff;
  font: 700 0.84em/1.12 'Fira Cond', var(--face); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; vertical-align: 0.08em; white-space: nowrap; }
.rt--dark { color: #1D1D1B; }
.rt-nb { white-space: nowrap; }
.heart { width: 0.9em; height: 0.82em; margin-right: 0.3em; vertical-align: -0.02em; fill: #8FC4EA; }

/* Scroll hint on the first screen: in the free corner, on its own ground, never on the sheet's text */
/* placed against the left edge of the sheet by neuss.js; this corner is only the fallback */
.scroll-hint { position: absolute; left: var(--m); bottom: max(var(--m), env(safe-area-inset-bottom)); z-index: 4; display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 12px 20px; background: var(--ground); color: var(--ink); font-size: 1.0625rem; font-weight: 500; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.scroll-hint.is-on { opacity: 1; }
.scroll-hint svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .scroll-hint.is-on svg { animation: hint 2.4s var(--expo) infinite; } }
@keyframes hint { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(5px); } }
/* the sheet as a plain picture under the tiles (for search engines; neuss.js places it); the reader only ever
   touches the map drawn above it */
.vw-poster { position: absolute; left: 0; top: 0; max-width: none; opacity: 0; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.vw-poster.is-placed { opacity: 1; }
