/* =========================================================================
   Tell Tale — cassette-futurism, 1979–1989

   Materials, not "UI": charcoal ABS with a soft grain, putty-coloured
   key panels, smoked acrylic, cream label paper, amber dot-matrix glass,
   backlit VU paper, and holographic foil stickers.

   Motion rule: anything that moves continuously uses transform or
   opacity only (reels, tape packs, foil sheen, flights, key presses).
   prefers-reduced-motion switches the decorative motion off.
   ========================================================================= */

:root {
  --room: #141416;
  --room-2: #1b1b1e;
  --char-hi: #3a3c42;
  --char: #2a2c31;
  --char-lo: #1c1d21;
  --putty: #dcd4c3;
  --putty-2: #c7bea9;
  --putty-ink: #4d4739;
  --oxide: #D14B34;
  --cyan: #2FB5BC;
  --amber: #FFB84D;
  --amber-dim: #a8701f;
  --paper: #F3EAD7;
  --ink: #1f2430;
  --shell: #3EC9B8;           /* per-story colour; app.js sets it from story meta */
  --gutter: 16px;
  --hx: 0;                    /* holo sheen, −1…1 (ui/deck.js) */
  --hy: 0;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  padding:
    max(14px, env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
  color: #e9e4da;
  font-family: "Courier Prime", ui-monospace, Menlo, monospace;
  background-color: var(--room);
  background-image:
    var(--noise),
    radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--shell) 14%, transparent) 0%, transparent 70%),
    radial-gradient(70% 50% at 50% 30%, rgba(255, 184, 77, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--room-2) 0%, var(--room) 60%);
  background-attachment: scroll;
  overflow-x: hidden;
}

button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.fine {
  font-family: "Courier Prime", ui-monospace, monospace;
  font-size: 0.78rem;
  color: #9a9384;
}

/* --- Masthead -------------------------------------------------------------- */

.masthead {
  max-width: 1180px;
  margin: 0 auto 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wordmark { display: flex; align-items: center; gap: 10px; }

/* The shared site nav (ui/nav.js) sits above the masthead. Once it has
   rendered (and so carries the Tell Tale wordmark), the masthead keeps only
   its tagline; if the nav never loads, the masthead's own wordmark stays. */
#tt-nav:empty { display: none; }
#tt-nav:not(:empty) + .masthead { justify-content: center; margin-top: 4px; }
#tt-nav:not(:empty) + .masthead .wordmark { display: none; }

.wm-logo { display: block; width: 44px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.wm-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 26px;
  border-radius: 5px;
  font-family: Michroma, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(25, 25, 35, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 6px rgba(0, 0, 0, 0.5);
}

.wm-name {
  font-family: "Permanent Marker", cursive;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--paper);
  transform: rotate(-1.5deg);
  display: inline-block;
}

.wm-tag {
  margin: 0;
  font-size: 0.8rem;
  color: #9a9384;
}

/* --- Layout ---------------------------------------------------------------- */

.stage {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.deck-col {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
  min-width: 0;
}

@media (min-width: 1000px) {
  .stage {
    grid-template-columns: minmax(420px, 500px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .deck-col { max-width: none; position: sticky; top: 16px; }
}

/* =========================================================================
   The holographic foil
   A silver base, an iridescent band field that slides and turns with the
   light (--hx/--hy), fine diffraction lines + grain, and a specular glint.
   ========================================================================= */

.holo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, #d6d9df 0%, #f3f4f6 28%, #bcc1c9 52%, #eceef1 76%, #c8ccd3 100%);
}

.holo::before {
  content: "";
  position: absolute;
  inset: -90% -170%;
  z-index: 0;
  background: repeating-linear-gradient(
    105deg,
    hsl(332 92% 83%) 0%,
    hsl(268 88% 85%) 5.5%,
    hsl(196 95% 81%) 11%,
    hsl(152 78% 80%) 16.5%,
    hsl(52 96% 82%) 22%,
    hsl(332 92% 83%) 27.5%
  );
  mix-blend-mode: multiply;
  opacity: 0.92;
  transform:
    translate3d(calc(var(--hx) * 16%), calc(var(--hy) * 10%), 0)
    rotate(calc(var(--hx) * 9deg + var(--hy) * 4deg));
}

.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 3px),
    var(--noise);
  mix-blend-mode: overlay;
  opacity: 0.75;
  pointer-events: none;
}

.holo .glint {
  position: absolute;
  inset: -60%;
  z-index: 2;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: soft-light;
  transform: translate3d(calc(var(--hx) * 34%), calc(var(--hy) * 34%), 0) scale(0.55);
  pointer-events: none;
}

.holo > b, .holo > span { position: relative; z-index: 3; }

/* =========================================================================
   The cassette (built by ui/deck.js) — 400 × 256 geometry
   ========================================================================= */

.cassette {
  --c: var(--shell);
  --pl: 1;
  --pr: 0.4;
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 256;
  container-type: inline-size;
  user-select: none;
  -webkit-user-select: none;
}

.cs-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.5));
}

.cs-back  { fill: color-mix(in srgb, var(--c) 46%, #08090b); }
.cs-front { fill: var(--c); fill-opacity: 0.34; }
.cs-band  { fill: var(--c); }
.cs-print {
  font-family: Michroma, sans-serif;
  font-size: 6.5px;
  letter-spacing: 0.08em;
  fill: #7a7160;
}

.cs-pack {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.4s cubic-bezier(.3,.7,.2,1);
}
.cs-pack-l { transform: scale(var(--pl)); }
.cs-pack-r { transform: scale(var(--pr)); }

.cs-hub {
  transform-box: fill-box;
  transform-origin: center;
  animation: reel-spin var(--spin-l, 2s) linear infinite;
  animation-play-state: paused;
}
.cs-hub-r { animation-duration: var(--spin-r, 1.4s); }
.deck.playing .in-bay .cs-hub { animation-play-state: running; }
@keyframes reel-spin { to { transform: rotate(360deg); } }

.cs-title,
.cs-sub {
  position: absolute;
  left: 9%;
  font-family: "Permanent Marker", cursive;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  pointer-events: none;
}

.cs-title {
  right: 21%;
  top: 9.2%;
  padding-top: 0.6cqw;
  font-size: 6.6cqw;
  color: var(--ink);
  transform: rotate(-1.4deg);
}

.cs-sub {
  right: 24%;
  top: 25.2%;
  font-size: 4.1cqw;
  color: #3e4a63; /* blue biro-ish marker */
  transform: rotate(-0.8deg);
}

.cs-serial {
  position: absolute;
  right: 6%;
  top: 27.5%;
  font-family: Michroma, sans-serif;
  font-size: 2.1cqw;
  letter-spacing: 0.08em;
  color: #857b68;
}

.cs-seal {
  position: absolute;
  left: 80.5%;
  top: 7.6%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0.35cqw rgba(0, 0, 0, 0.12), 0 0.4cqw 0.8cqw rgba(0, 0, 0, 0.18);
}
.cs-seal b {
  font-family: Michroma, sans-serif;
  font-weight: 400;
  font-size: 4.6cqw;
  color: rgba(28, 28, 40, 0.72);
}

/* Foil strips flanking the window — three bands, like the stripes on a
   1980s chrome tape, but holographic. */
.cs-foil {
  position: absolute;
  top: 43.2%;
  height: 13.6%;
  width: 17.5%;
  -webkit-mask-image: linear-gradient(180deg, #000 0 27%, transparent 27% 36.5%, #000 36.5% 63.5%, transparent 63.5% 73%, #000 73%);
          mask-image: linear-gradient(180deg, #000 0 27%, transparent 27% 36.5%, #000 36.5% 63.5%, transparent 63.5% 73%, #000 73%);
}
.cs-foil-l { left: 5.5%; }
.cs-foil-r { left: 77%; }

/* =========================================================================
   The deck
   ========================================================================= */

.deck {
  position: relative;
  border-radius: 24px;
  padding: 12px 14px 16px;
  background:
    var(--noise),
    linear-gradient(180deg, var(--char-hi) 0%, var(--char) 14%, #24262a 60%, var(--char-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -3px 0 rgba(0, 0, 0, 0.45),
    inset 1px 0 0 rgba(255, 255, 255, 0.05),
    inset -1px 0 0 rgba(255, 255, 255, 0.05),
    0 2px 0 #0b0c0e,
    0 26px 50px -14px rgba(0, 0, 0, 0.8),
    0 70px 90px -50px rgba(0, 0, 0, 0.7);
}

/* corner screws */
.deck::before {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  --s: radial-gradient(circle, #8f939b 0 3.2px, #2b2d32 3.4px 4.4px, transparent 4.6px);
  background:
    var(--s) top left / 10px 10px no-repeat,
    var(--s) top right / 10px 10px no-repeat,
    var(--s) bottom left / 10px 10px no-repeat,
    var(--s) bottom right / 10px 10px no-repeat;
}

.deck.thunk { animation: thunk 0.26s cubic-bezier(.3,1.6,.5,1); }
@keyframes thunk { 40% { transform: translateY(3px); } }

.deck-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 14px 10px;
}

.deck-brand {
  font-family: Michroma, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--putty);
  white-space: nowrap;
}
.deck-brand em { font-style: normal; color: var(--oxide); letter-spacing: 0.08em; }

.deck-model {
  flex: 1;
  font-family: Michroma, sans-serif;
  font-size: 6.5px;
  letter-spacing: 0.14em;
  color: #7f7b72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.power-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a1410;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6);
  flex: none;
}
.deck[data-transport] .power-led {
  background: radial-gradient(circle at 40% 35%, #ffb19f, var(--oxide) 55%, #7d2416);
  box-shadow: 0 0 8px rgba(209, 75, 52, 0.85), 0 0 2px rgba(255, 200, 180, 0.9);
}

/* --- The bay ------------------------------------------------------------- */

.bay {
  position: relative;
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, #0a0b0d, #121316);
  box-shadow:
    inset 0 4px 12px rgba(0, 0, 0, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.07);
  perspective: 900px;
}

.bay-well {
  position: relative;
  aspect-ratio: 400 / 256;
}

.bay-slot { position: absolute; inset: 0; }

.bay-empty {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 14%;
  font-family: Michroma, sans-serif;
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.16em;
  color: #57544d;
  opacity: 0;
  transition: opacity 0.3s;
}
.deck[data-state="empty"] .bay-empty { opacity: 1; }

/* the two springs + head the tape sits against, glimpsed when empty */
.bay-well::before {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 2%;
  height: 9%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #4a4c52, #2a2b2f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  opacity: 0.6;
}

/* smoked acrylic door, hinged at the bottom */
.bay-door {
  position: absolute;
  inset: 6px;
  border-radius: 12px;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 22%, rgba(255, 255, 255, 0) 23%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.05) 59%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(40, 34, 28, 0.20), rgba(10, 8, 6, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -10px 18px rgba(0, 0, 0, 0.25);
  transform-origin: 50% 100%;
  transform: rotateX(0deg);
  transition: transform 0.5s cubic-bezier(.3,1.35,.5,1), opacity 0.5s;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.deck.door-open .bay-door {
  transform: rotateX(-34deg) translateY(2%);
  opacity: 0.35;
  transition: transform 0.32s cubic-bezier(.4,0,.6,1), opacity 0.32s;
}
.door-print {
  margin-bottom: 5px;
  font-family: Michroma, sans-serif;
  font-size: 6px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.32);
}
.door-print sub { font-size: 0.8em; vertical-align: -0.2em; }

/* the in-bay cassette sits a touch inset, and pops when ejecting */
.cassette.in-bay { transition: opacity 0.2s; }
.cassette.is-out { opacity: 0; }

/* --- Stripes ------------------------------------------------------------- */

.stripes {
  display: grid;
  gap: 3px;
  margin: 14px -14px 12px;
}
.stripes i { display: block; height: 4px; }
.stripes i:nth-child(1) { background: var(--oxide); }
.stripes i:nth-child(2) { background: var(--amber); }
.stripes i:nth-child(3) { background: var(--cyan); }

/* --- LCD ---------------------------------------------------------------- */

.lcd {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  padding: 7px 12px 9px;
  border-radius: 9px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(255, 184, 77, 0.07), transparent 60%),
    linear-gradient(180deg, #0d0a06, #16110a);
  border: 1px solid #000;
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.07);
  font-family: VT323, ui-monospace, monospace;
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 160, 50, 0.6);
  overflow: hidden;
}
.lcd::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px),
    linear-gradient(170deg, rgba(255, 255, 255, 0.07) 0%, transparent 35%);
  pointer-events: none;
}

.lcd-ann {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  font-family: Michroma, sans-serif;
  font-size: 6.5px;
  letter-spacing: 0.16em;
  text-shadow: none;
  margin-bottom: 1px;
}
.lcd-ann span { color: rgba(255, 184, 77, 0.13); }
.lcd-ann span.on { color: var(--amber); text-shadow: 0 0 5px rgba(255, 160, 50, 0.8); }
.lcd-ann #ann-tell.on, .lcd-ann #ann-rec.on { color: #ff6a4d; text-shadow: 0 0 5px rgba(255, 90, 60, 0.8); }
.lcd-ann span[hidden] { display: none; }
/* GOD: the admin's lamp — the only cyan glass on the readout */
.lcd-ann #ann-god { margin-left: auto; }
.lcd-ann #ann-god.on { color: #7ff3ea; text-shadow: 0 0 6px rgba(70, 230, 220, 0.9); }
.lcd-ann span.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { color: var(--amber); } }

.lcd-l1, .lcd-l2 {
  grid-column: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.lcd-l1 { font-size: 23px; }
.lcd-l2 { font-size: 17px; color: #e39a34; }

.lcd-counter {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  font-size: 34px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 184, 77, 0.15);
}
.lcd-counter small { font-size: 14px; margin-left: 2px; opacity: 0.7; }

/* Phones: the readout only held ~16 characters a line, so most stop names
   and "WHO SPEAKING · REC YEAR" lines lost their tails. Tighter dot-matrix. */
@media (max-width: 480px) {
  .lcd { column-gap: 8px; padding-inline: 10px; }
  .lcd-l1, .lcd-l2 { letter-spacing: 0.02em; }
  .lcd-l1 { font-size: 20px; }
  .lcd-l2 { font-size: 15px; }
  .lcd-counter { font-size: 28px; padding-left: 8px; }
  .lcd-counter small { font-size: 12px; }
}

.deck.lcd-flash .lcd-l1, .deck.lcd-flash .lcd-l2 { animation: lcd-flash 0.3s steps(1) 4; }
@keyframes lcd-flash { 50% { opacity: 0.15; } }

/* --- VU meters ----------------------------------------------------------- */

.vu-well {
  position: relative;
  margin-top: 10px;
  padding: 5px;
  border-radius: 9px;
  background: #0b0b0d;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 255, 255, 0.07);
}
.vu {
  display: block;
  width: 100%;
  height: 78px;
  border-radius: 5px;
}
.vu-glass {
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.vu-well::after { /* the divider between L and R */
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 50%;
  width: 6px;
  transform: translateX(-50%);
  background: #0b0b0d;
}

/* --- Piano keys ---------------------------------------------------------- */

.keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 14px -2px 0;
  padding: 9px 10px 14px;
  border-radius: 10px 10px 14px 14px;
  background:
    var(--noise),
    linear-gradient(180deg, #e3dbca 0%, var(--putty) 30%, var(--putty-2) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 2px 0 rgba(0, 0, 0, 0.4);
}

.key {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

.key-legend {
  font-family: Michroma, sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--putty-ink);
}

/* The cap moves; the dark "thickness" behind it doesn't — so a press is a
   pure translateY and the shadow never repaints. */
.key::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 22px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #121316, #08090a);
  z-index: 0;
}

.key-cap {
  position: relative;
  z-index: 1;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 5px 5px 7px 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #3c3e44 0%, #2b2d32 55%, #212226 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.07s ease-out;
}
.key-cap::before { /* colour-coded accent along the top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent, var(--putty-2));
}
.key-play  { --accent: var(--cyan); }
.key-stop  { --accent: var(--oxide); }
.key-eject { --accent: var(--putty); }
.key-map   { --accent: var(--amber); }

.key-cap svg { width: 20px; height: 20px; fill: #d9d2c2; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6)); }

.key:active .key-cap,
.key.latched .key-cap,
.key[aria-pressed="true"] .key-cap { transform: translateY(5px); }
.key.latched svg, .key-map[aria-pressed="true"] svg { fill: var(--accent); filter: drop-shadow(0 0 5px var(--accent)); }

.key:disabled { cursor: default; }
.key:disabled .key-cap svg { opacity: 0.35; }
.key.nudge .key-cap { animation: nudge 0.18s ease-out; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* --- The street lock card (under the deck) ---------------------------------
   Not an error state: a ticket. A holographic "on location only" seal, the
   place the tape belongs to, how far stop 1 is, and a way there. */

.streetlock {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "seal body" "seal go";
  align-items: center;
  column-gap: 14px;
  row-gap: 8px;
  padding: 12px 14px 12px 12px;
  border-radius: 14px;
  background:
    var(--noise),
    radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--shell) 16%, transparent), transparent 60%),
    linear-gradient(180deg, #232428, #1a1b1e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.streetlock[hidden] { display: none; }
/* a ticket's perforation along the top edge */
.streetlock::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 184, 77, 0.35) 0 4px, transparent 4px 9px);
}

.sl-seal {
  grid-area: seal;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35), 0 6px 14px rgba(0, 0, 0, 0.55);
  transform: rotate(-8deg);
}
.sl-seal svg { position: relative; z-index: 3; width: 100%; height: 100%; }
.sl-seal text {
  font-family: Michroma, sans-serif;
  font-size: 7.4px;
  letter-spacing: 0.06em;
  fill: rgba(28, 28, 40, 0.78);
}
.sl-seal .sl-pin { fill: rgba(28, 28, 40, 0.72); }
/* far away, the seal slowly turns — the record waiting on its platter */
.streetlock.far .sl-seal svg { animation: seal-turn 24s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }

.sl-body { grid-area: body; min-width: 0; display: grid; gap: 4px; }
.sl-title {
  font-family: Michroma, sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--amber);
}
.sl-line {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #d8d1c2;
}
.sl-go {
  grid-area: go;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--putty);
  border-color: color-mix(in srgb, var(--shell) 55%, #3f4046);
}
.sl-go::after { content: "↗"; font-family: "Courier Prime", monospace; font-size: 12px; letter-spacing: 0; }
.sl-go:hover { border-color: var(--shell); }
.sl-go:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (min-width: 420px) {
  .streetlock {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "seal body go";
  }
  .sl-go { justify-self: end; }
}

/* --- God mode: the virtual GPS on the deck face (admins only) --------------- */

.walk {
  padding: 10px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #232428, #1a1b1e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}
.walk[hidden] { display: none; }
.walk.on { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(127, 243, 234, 0.22), 0 10px 24px -12px rgba(0, 0, 0, 0.7); }
.walk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Michroma, sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.walk-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #7ff3ea; }
#walk-readout { white-space: nowrap; }
.walk-toggle {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #3f4046;
  border-radius: 8px;
  background: #202125;
  font-family: Michroma, sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--putty);
  cursor: pointer;
}
.walk-toggle[aria-pressed="true"] { color: #10201f; background: #7ff3ea; border-color: #7ff3ea; box-shadow: 0 0 10px rgba(127, 243, 234, 0.45); }
.walk-track { position: relative; margin-top: 4px; }
.walk-track[hidden] { display: none; }
.walk-stops { position: absolute; left: 11px; right: 11px; top: 50%; height: 0; pointer-events: none; }
.walk-stop {
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #3a3b40;
  box-shadow: inset 0 0 0 2px var(--shell);
}
.walk-stop.heard { background: var(--shell); }
.walk-stop.lit { background: #ff6a4d; box-shadow: 0 0 8px #ff6a4d; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4a4b51, #6b6c72);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: #5a5b61;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 30px;
  margin-top: -13px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 45%, var(--amber) 45% 55%, transparent 55%),
    linear-gradient(180deg, #e7e0cf, #b9b09a);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 1px 0 #fff;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #e7e0cf, #b9b09a);
}
input[type="range"]:disabled { opacity: 0.35; }

/* --- The J-card ------------------------------------------------------------- */

.jcard { perspective: 1200px; }
.jcard[hidden] { display: none; }

.jcard-inner {
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(.3,.7,.2,1);
}
.jcard.show-teller .jcard-inner { transform: rotateY(180deg); }

.jface {
  grid-area: 1 / 1;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 6px;
  padding: 14px 16px 16px;
  color: var(--ink);
  background:
    var(--noise),
    linear-gradient(180deg, #f6eedd, #ebe0c8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 28px -12px rgba(0, 0, 0, 0.7);
}
.jface-teller { transform: rotateY(180deg); }

.jc-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--shell);
  margin-bottom: 8px;
}
.jc-side {
  grid-row: 1 / 3;
  font-family: Michroma, sans-serif;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  padding: 5px 9px 4px;
  align-self: start;
  margin-top: 4px;
}
.jc-title {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.1;
}
.jc-place { font-size: 0.8rem; color: #6a6252; }

.jc-tracks {
  list-style: none;
  counter-reset: trk;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}
.jc-tracks li {
  counter-increment: trk;
  display: grid;
  grid-template-columns: 1.6em auto 1fr auto;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(31, 36, 48, 0.15);
}
.jc-tracks li::before { content: counter(trk) "."; color: #8a8170; }
.trk-name { font-weight: 700; }
.trk-who { color: #6a6252; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-state {
  font-family: Michroma, sans-serif;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: #8a8170;
}
.jc-tracks li.heard .trk-state { color: color-mix(in srgb, var(--shell) 70%, #000); }
.jc-tracks li.now .trk-state { color: var(--oxide); }
.jc-tracks li.now .trk-name { color: var(--oxide); }

.jface-teller {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 14px;
  align-items: start;
}
.tc-photo {
  position: relative;
  margin: 4px 0 0;
  padding: 6px 6px 18px;
  background: #fbf8f1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transform: rotate(-2.5deg);
}
.tc-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) sepia(0.12);
}
.tc-tape { /* masking tape holding the photo on */
  position: absolute;
  top: -8px;
  left: 50%;
  width: 46px;
  height: 16px;
  transform: translateX(-50%) rotate(4deg);
  background: rgba(236, 226, 196, 0.78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.tc-body { min-width: 0; display: grid; gap: 3px; align-content: start; }
.tc-part {
  justify-self: start;
  font-family: Michroma, sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: var(--ink);
  padding: 4px 8px 3px;
  border-radius: 999px;
}
.tc-name {
  margin: 4px 0 0;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.05;
}
.tc-who { font-size: 0.86rem; color: #5a5344; }
.tc-rec {
  justify-self: start;
  margin: 6px 0 4px;
  padding: 3px 7px 2px;
  border: 2px solid var(--oxide);
  border-radius: 3px;
  font-family: Michroma, sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: var(--oxide);
  transform: rotate(-3deg);
  opacity: 0.88;
}
.tc-blurb { margin: 0; font-size: 0.9rem; line-height: 1.4; color: #2f3440; }
.tc-source {
  margin: 6px 0 0;
  padding-top: 6px;
  border-top: 1px dashed rgba(31, 36, 48, 0.18);
  font-size: 0.72rem;
  line-height: 1.35;
  font-style: italic;
  color: #7a7262;
}
.tc-source[hidden] { display: none; }
.tc-read { grid-column: 1 / -1; border-top: 1px dashed rgba(31, 36, 48, 0.18); padding-top: 8px; }
.tc-read[hidden] { display: none; }
.tc-read summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-family: Michroma, sans-serif;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a5344;
}
.tc-read summary { list-style: none; gap: 8px; }
.tc-read summary::-webkit-details-marker { display: none; }
.tc-read summary::before { content: "▸"; font-size: 10px; }
.tc-read[open] summary::before { content: "▾"; }
.tc-read summary:focus-visible { outline: 2px solid var(--oxide); outline-offset: 2px; border-radius: 3px; }
.tc-transcript {
  max-height: 16em;
  overflow-y: auto;
  white-space: pre-line;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #2f3440;
}

/* --- Map --------------------------------------------------------------------- */

.map-panel[hidden] { display: none; }
#map {
  height: 300px;
  border-radius: 14px;
  background: #222326;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}
.map-under {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.chip-btn {
  border: 1px solid #3f4046;
  background: #202125;
  color: var(--putty);
  border-radius: 8px;
  padding: 8px 12px;
  min-height: 44px;
  font-family: Michroma, sans-serif;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.zone-tip { font-family: "Courier Prime", monospace; font-size: 0.72rem; padding: 1px 5px; }
.zone-pop { width: 190px; font-family: "Courier Prime", monospace; }
.zone-pop img { display: block; width: 100%; border-radius: 4px; margin-bottom: 6px; }
.zone-pop strong { display: block; font-size: 0.95rem; color: #1e242c; }
.zone-pop em { display: block; font-style: normal; font-size: 0.8rem; color: #6b7480; margin-bottom: 2px; }
.zone-pop .rec { display: block; font-size: 0.66rem; letter-spacing: 0.08em; color: var(--oxide); margin-bottom: 5px; }
.zone-pop p { margin: 0; font-size: 0.8rem; line-height: 1.4; color: #3d4650; }

/* =========================================================================
   The library shelf
   ========================================================================= */

.library { min-width: 0; }

.lib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto 4px;
}
.lib-hint {
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: #8d8678;
}
@media (min-width: 1000px) { .lib-hint { max-width: 34rem; margin: 0; } }
.lib-head h2 {
  margin: 0;
  font-family: Michroma, sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--putty);
}

/* Mobile: one plank you scroll along. */
.shelf {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter));
  padding: 20px var(--gutter) 6px;
  scroll-padding: 0 var(--gutter);
}
.shelf::-webkit-scrollbar { display: none; }

.slot {
  position: relative;
  flex: 0 0 180px;
  padding: 0 9px 42px;
  border: 0;
  background: none;
  cursor: pointer;
  scroll-snap-align: start;
  perspective: 700px;
  text-align: left;
}

/* the plank: each slot carries its own length so rows read continuous */
.slot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 22px;
  background:
    var(--noise),
    linear-gradient(180deg, #e2dac9 0%, #cfc6b2 26%, #b2a891 27%, #9a907a 100%);
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.8);
  z-index: 0;
}
.slot:first-child::after { border-radius: 4px 0 0 4px; }
.slot:last-child::after { border-radius: 0 4px 4px 0; }

/* a soft contact shadow where the tape stands on the plank */
.slot::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 30px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), transparent);
  z-index: 0;
}

.slot .cassette {
  z-index: 1;
  transform-origin: 50% 100%;
  transform: rotateX(9deg) translateY(0);
  transition: transform 0.35s cubic-bezier(.3,1.3,.5,1), opacity 0.3s;
}
@media (hover: hover) {
  .slot:hover .cassette { transform: rotateX(0deg) translateY(-12px); }
}
.slot:active .cassette { transform: rotateX(0deg) translateY(-6px) scale(0.98); }
.slot:focus-visible { outline: none; }
.slot:focus-visible .cassette { transform: rotateX(0deg) translateY(-12px); outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 10px; }
/* the tape is in the deck (invisible here): light up its empty outline instead */
.slot.in-deck:focus-visible::before { border: 2px solid var(--amber); }

/* the gap a tape leaves when it's in the deck: a dusty outline */
.slot.in-deck .cassette { opacity: 0; transform: rotateX(0) translateY(-20px); }
.slot.in-deck::before {
  left: 9px;
  right: 9px;
  bottom: 42px;
  height: auto;
  aspect-ratio: 400 / 256;
  border-radius: 10px;
  background: none;
  border: 1.5px dashed rgba(220, 212, 195, 0.18);
}

/* Dymo label-maker tape on the plank edge */
.slot-tag {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 28px);
  padding: 3px 6px 2px;
  font-family: Michroma, sans-serif;
  font-size: 6.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2f0ea;
  background: #1d1f24;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.5);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: rotate(-1deg);
}
.slot:nth-child(3n+2) .slot-tag { background: #8e1f1a; }
.slot:nth-child(3n+3) .slot-tag { background: #173f6b; }
/* In the deck: just say so — "In the deck · London · 18 min…" never fitted. */
.slot.in-deck .slot-tag { font-size: 0; }
.slot.in-deck .slot-tag::before { content: "In the deck"; color: var(--amber); font-size: 6.5px; }

/* Desktop: the shelf wraps into a stack of planks. */
@media (min-width: 1000px) {
  .lib-head { max-width: none; margin: 4px 0 6px; }
  .shelf {
    flex-wrap: wrap;
    overflow: visible;
    margin: 0;
    padding: 18px 0 0;
    row-gap: 18px;
  }
  .slot { flex-basis: 236px; padding-left: 14px; padding-right: 14px; }
  .slot.in-deck::before { left: 14px; right: 14px; }
  .slot:first-child::after, .slot:last-child::after { border-radius: 0; }
}

/* the flying cassette */
.flyer { will-change: transform; }

/* =========================================================================
   Service mode (the engineering drawer)
   ========================================================================= */

.service {
  max-width: 1180px;
  margin: 36px auto 0;
  border-radius: 14px;
  background: #18191c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px #0c0c0e;
}
.service > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 16px;
  font-family: Michroma, sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8f8a7e;
}
.service > summary::-webkit-details-marker { display: none; }
.service > summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8f8a7e;
  border-bottom: 2px solid #8f8a7e;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.service[open] > summary::after { transform: rotate(-135deg); }
.svc-screw {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 44%, #2a2b2f 44% 56%, transparent 56%),
    radial-gradient(circle at 40% 35%, #b1b5bc, #6e7279);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.svc-grid {
  display: grid;
  gap: 22px;
  padding: 4px 16px 20px;
  font-family: ui-monospace, Menlo, monospace;
}
@media (min-width: 760px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.svc-panel h3 {
  margin: 0 0 8px;
  font-family: Michroma, sans-serif;
  font-weight: 400;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.status {
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 3em;
  color: #9fd49f;
  white-space: pre-line;
  margin: 0;
}
.status.error { color: #ff9d9d; }

.toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #e8e8e8;
  margin-bottom: 0.4rem;
  font-family: "Courier Prime", monospace;
  min-height: 44px; /* the whole label is the tap target (couch mode is the demo switch) */
  cursor: pointer;
}
.toggle input { width: 22px; height: 22px; accent-color: var(--amber); }

.mix-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr 2.6rem;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.mix-label { display: flex; flex-direction: column; min-width: 0; }
.mix-name { color: #e8e8e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mix-d { color: #8a929e; font-size: 0.74rem; }
.mix-track { height: 10px; background: #2a2c31; border-radius: 5px; overflow: hidden; }
.mix-fill {
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.45s linear; /* smears the 400 ms render steps into a glide */
}
.mix-fill.bed { background: #9fd49f; }
.mix-fill.overlay { background: #8fae6f; }
.mix-val { color: #8a929e; text-align: right; font-variant-numeric: tabular-nums; }

.svc-btn {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-bottom: 0.5rem;
  font-family: Michroma, sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid #3a3f46;
  border-radius: 10px;
  background: #232830;
  color: #e8e8e8;
  cursor: pointer;
}
.svc-btn.danger { color: #ff9d9d; }

.readout { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.readout th { text-align: left; font-weight: 400; color: #8a929e; padding: 0.25rem 0; white-space: nowrap; }
.readout td { padding: 0.25rem 0 0.25rem 1rem; color: #e8e8e8; font-variant-numeric: tabular-nums; }

.signal { font-size: 0.82rem; color: #8a929e; margin: 0.6rem 0 0; }
.signal.ok        { color: #9fd49f; }
.signal.searching { color: var(--amber); }
.signal.bad       { color: #ff9d9d; }
.signal.couch     { color: var(--amber); }

.hint {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #7f7a6f;
  text-align: center;
}
.hint a { color: var(--amber); text-underline-offset: 3px; }
.svc-panel[hidden] { display: none; }

/* =========================================================================
   Reduced motion: keep the machine, lose the theatre
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .cs-hub,
  .streetlock.far .sl-seal svg,
  .lcd-ann span.blink,
  .deck.thunk,
  .deck.lcd-flash .lcd-l1,
  .deck.lcd-flash .lcd-l2 { animation: none !important; }
  .holo::before, .holo .glint { transform: none; }
  .cs-pack, .bay-door, .slot .cassette, .key-cap { transition: none; }
  .jcard-inner { transition: none; }
  .jcard.show-teller .jcard-inner { transform: none; }
  .jface-teller { transform: none; opacity: 0; visibility: hidden; }
  .jcard.show-teller .jface-teller { opacity: 1; visibility: visible; }
  .jcard.show-teller .jface-list { opacity: 0; visibility: hidden; }
}
