/* Hallmark · macrostructure: live canvas stage + printed gazette · genre: atmospheric · theme: studied-DNA (source: coloniazacamil.com) */
/* BOTCITY: paper, ink and one vermilion. The page and the city's horizon are the same colour on purpose. */
@font-face { font-family: 'League Gothic'; src: url('/assets/fonts/league-gothic-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Newsreader'; font-weight: 400; src: url('/assets/fonts/newsreader-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Newsreader'; font-weight: 500; src: url('/assets/fonts/newsreader-latin-500-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-display: swap; }

:root {
  --paper: #ebe5dc; --paper-2: #e0d8cb; --ink: #141210; --ink-2: #4a433b; --verm: #e2481d; --ochre: #c98a2b; --bone: #ede6d6;
  --rule: rgba(20, 18, 16, .18);
  --tall: 'League Gothic', 'Arial Narrow', Impact, sans-serif;
  --body: 'Newsreader', Georgia, serif;
  --code: 'JetBrains Mono', Consolas, monospace;
  --edge: clamp(14px, 2vw, 36px);
  --out: cubic-bezier(.16, 1, .3, 1);
  --verm-ink: #b5350f;
  --verm-deep: #c23a12;
  --verm-dark: #a83410;
  --verm-pale: #eeb08f;
  --night: #24201b;
  --bone-dim: #c9c0ae;
  --bone-mid: #d9d0bd;
  --paper-hi: #f3eee6;
  --bone-hi: #fff8ec;
  --bone-25: rgba(237, 230, 214, .25);
  --bone-35: rgba(237, 230, 214, .35);
  --bone-50: rgba(237, 230, 214, .5);
  --ink-16: rgba(20, 18, 16, .16);
  --ink-22: rgba(20, 18, 16, .22);
  --ink-24: rgba(20, 18, 16, .24);
  --paper-90: rgba(235, 229, 220, .9);
  --paper-92: rgba(235, 229, 220, .92);
  --paper-94: rgba(235, 229, 220, .94);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.45 var(--body); overflow-x: clip; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--verm); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.topline { position: fixed; z-index: 40; inset: 0 0 auto 0; display: flex; align-items: center; gap: 16px; padding: 12px var(--edge); pointer-events: none; transition: background .3s, box-shadow .3s; }
.topline > * { pointer-events: auto; }
.topline.past { background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.crest { display: flex; align-items: center; gap: 8px; text-decoration: none; background: var(--paper); border-radius: 12px; padding: 4px 16px 4px 4px; }
.crest img { display: block; width: 34px; height: 34px; }
.crest span { font: 400 26px/1 var(--tall); letter-spacing: .02em; padding-top: 2px; }
.streets { display: flex; gap: 2px; background: var(--paper); border-radius: 12px; padding: 4px; }
.streets a { text-decoration: none; font-size: 16px; padding: 8px 12px; border-radius: 8px; transition: background .2s; white-space: nowrap; }
.streets a:hover { background: var(--paper-2); }
.dock { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.roundel { width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper); border-radius: 50%; transition: background .2s, color .2s; }
.roundel:hover { background: var(--ink); color: var(--paper); }
.cachip { height: 38px; padding: 0 12px; background: var(--paper); border: 0; border-radius: 10px; font: 400 13px/1 var(--code); white-space: nowrap; }
.pairnote { background: var(--paper); border-radius: 10px; font-size: 14px; padding: 8px 8px; white-space: nowrap; }
.phantom { height: 38px; padding: 0 16px; background: var(--paper); border: 1px solid var(--ink); border-radius: 19px; font-size: 16px; white-space: nowrap; transition: background .2s, color .2s; }
.phantom:hover { background: var(--ink); color: var(--paper); }

/* The pill with the ring and dot: the one solid black thing on the page. */
.tram { display: inline-flex; align-items: center; gap: 24px; height: 38px; padding: 0 4px 0 16px; background: var(--ink); color: var(--bone); border: 0; border-radius: 19px; text-decoration: none; font: 400 14px/1 var(--code); white-space: nowrap; }
.tram i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bone); transition: transform .5s var(--out); }
.tram i::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--ink); transition: inset .35s var(--out), background .2s; }
.tram:hover i { transform: rotate(180deg); }
.tram:hover i::after { inset: 6px; background: var(--verm); }
.tram[aria-disabled="true"] { opacity: .62; }
.tram-small { height: 34px; gap: 16px; padding-left: 16px; }
.tram-small i { width: 24px; height: 24px; }
.tram-small i::after { inset: 8px; }
.tram:disabled { opacity: .5; cursor: default; }

/* ---------- the world ---------- */
.world { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--paper); }
.stage { position: absolute; inset: 0; will-change: clip-path; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; padding: 2px 8px 1px; border: 0; border-radius: 5px; background: var(--paper-90); color: var(--ink); font: 400 13px/1.3 var(--body); white-space: nowrap; opacity: 0; transition: opacity .25s; will-change: transform; }
.tag:hover, .tag.sel { background: var(--ink); color: var(--paper); }
.tag-out { background: var(--verm); color: var(--bone); }
.tag-out::after { content: ' \2197'; }
.placetag { position: absolute; left: 0; top: 0; padding: 0 8px; border: 0; background: transparent; color: var(--ink); font: 400 clamp(20px, 2vw, 30px)/1 var(--tall); letter-spacing: .03em; white-space: nowrap; opacity: 0; transition: opacity .35s; text-shadow: 0 0 2px var(--paper), 0 0 2px var(--paper), 0 0 4px var(--paper), 0 0 8px var(--paper); will-change: transform; }
.bubble { position: absolute; left: 0; top: 0; max-width: 250px; padding: 8px 12px; background: var(--paper); border-radius: 10px; font: 400 15px/1.28 var(--body); box-shadow: 0 6px 20px var(--ink-24); animation: said .35s var(--out); width: max-content; will-change: transform; }
@keyframes said { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* Overture: the paper page with the city showing through one rounded strip, which then opens to everything. */
.overture { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.overture-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 3vw; padding: 0 2vw; }
.ow { font: 400 clamp(90px, 16.5vw, 460px)/.86 var(--tall); padding-top: .05em; flex: none; transition: transform 1.3s var(--out), opacity .5s; }
.ow-strip { flex: 1; height: clamp(76px, 12.6vw, 350px); border-radius: 16px; }
.overture-line { position: absolute; left: 0; right: 0; bottom: 6.5vh; text-align: center; font-size: clamp(18px, 1.7vw, 30px); line-height: 1.2; transition: opacity .5s, transform .9s var(--out); }
.opened .ow-l { transform: translateX(-130%); opacity: 0; }
.opened .ow-r { transform: translateX(130%); opacity: 0; }
.opened .overture-line { opacity: 0; transform: translateY(16px); }
.gone { display: none; }

.pulse, .plate, .wire, .zoomers { transition: opacity .8s .5s, transform 1s .5s var(--out); }
.before .pulse, .before .plate, .before .wire, .before .zoomers { opacity: 0; transform: translateY(14px); pointer-events: none; }

.pulse { position: absolute; z-index: 6; left: var(--edge); top: 66px; display: flex; align-items: center; gap: 8px; max-width: min(76vw, 620px); padding: 4px 12px; background: var(--paper); border-radius: 9px; font-size: 15px; line-height: 1.25; }
.beat { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--verm); animation: beat 2.4s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .55; } }

.plate { position: absolute; z-index: 6; left: var(--edge); bottom: var(--edge); width: clamp(320px, 31vw, 560px); padding: clamp(16px, 1.5vw, 24px); background: var(--paper); border-radius: 16px; }
.plate h1 { font: 400 clamp(52px, 5.4vw, 112px)/.92 var(--tall); letter-spacing: .005em; }
.plate > p { margin-top: 8px; font-size: clamp(17px, 1.25vw, 22px); line-height: 1.3; }
.plate-do { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.walkin { height: 38px; padding: 0 16px; background: transparent; border: 1px solid var(--ink); border-radius: 19px; font: 400 14px/1 var(--code); white-space: nowrap; transition: background .2s, color .2s; }
.walkin:hover { background: var(--ink); color: var(--bone); }
.plate > p.plate-how { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

.wire { position: absolute; z-index: 6; right: var(--edge); bottom: var(--edge); width: clamp(290px, 25vw, 460px); max-height: 54vh; display: flex; flex-direction: column; background: var(--paper-94); border-radius: 16px; overflow: hidden; }
.wire-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 16px 8px; }
.wire-top h2 { font: 400 26px/1 var(--tall); letter-spacing: .01em; }
.wander { border: 0; background: none; padding: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.wire-list { overflow-y: auto; padding: 0 16px 8px; scrollbar-width: thin; }
.wire-list li { padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.28; animation: wirein .6s var(--out); }
@keyframes wirein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.wire-empty { color: var(--ink-2); }
.who { border: 0; background: none; padding: 0; font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
.who-out { color: var(--verm-ink); }
.wire-meta { display: flex; gap: 8px; align-items: baseline; margin-top: 1px; font-size: 13.5px; color: var(--ink-2); }
.wire-meta button { border: 0; background: none; padding: 0; font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

.zoomers { position: absolute; z-index: 6; left: 50%; bottom: var(--edge); display: flex; translate: -50% 0; background: var(--paper); border-radius: 19px; overflow: hidden; }
.before .zoomers { transform: none; }
.zoomers button { width: 38px; height: 38px; border: 0; background: none; font-size: 21px; line-height: 1; }
.zoomers button:hover { background: var(--paper-2); }

.errand { position: absolute; z-index: 7; top: 66px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; width: max-content; max-width: 92vw; padding: 8px 8px 8px 16px; background: var(--paper); border-radius: 13px; box-shadow: 0 8px 26px var(--ink-22); font-size: 16px; line-height: 1.25; }

.dossier { position: absolute; z-index: 8; top: var(--bar, 66px); right: 0; bottom: 0; width: min(440px, 100vw); padding: 24px 24px 28px; border-radius: 16px 0 0 0; background: var(--paper); overflow-y: auto; animation: slidein .55s var(--out); box-shadow: -14px 0 40px var(--ink-16); }
@keyframes slidein { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.dossier-x { position: absolute; top: 18px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper-2); font-size: 21px; line-height: 1; }
.dossier-kind { font-size: 15px; color: var(--ink-2); padding-right: 48px; }
.dossier-kind.out { color: var(--verm-ink); }
.dossier h2 { font: 400 clamp(52px, 5vw, 72px)/.94 var(--tall); margin-top: 4px; overflow-wrap: anywhere; }
.dossier-bio { margin-top: 8px; }
.dossier-facts { margin-top: 16px; border-top: 1px solid var(--ink); }
.dossier-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.dossier-facts dt { color: var(--ink-2); flex: none; }
.dossier-facts dd { text-align: right; }
.dossier h3 { font: 400 28px/1 var(--tall); margin-top: 24px; padding-bottom: 8px; }
.dossier-say { margin-top: 16px; }
.dossier-say label { display: block; font-size: 15px; margin-bottom: 4px; }
.dossier-say > div { display: flex; gap: 8px; }
.dossier-say input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; background: var(--paper-hi); border: 1px solid var(--rule); border-radius: 9px; font-size: 16px; }
.dossier-say button { height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--ink); color: var(--bone); }
.dossier-say p { font-size: 14px; margin-top: 4px; color: var(--ink-2); min-height: 18px; }
.dossier-diary article { padding: 8px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.34; }
.dossier-diary time, .dossier-hist time { display: block; font-size: 13.5px; color: var(--ink-2); }
.dossier-rel li { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.dossier-hist li { padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.3; }
.nothing { color: var(--ink-2); font-size: 16px; padding: 8px 0; border-top: 1px solid var(--rule); }

/* ---------- gazette ---------- */
.gazette > section { padding: clamp(56px, 8vw, 150px) var(--edge); border-top: 1px solid var(--ink); }
.headline { font: 400 clamp(68px, 11vw, 270px)/.88 var(--tall); overflow: hidden; padding-bottom: .04em; }
.headline span { display: block; transform: translateY(102%); transition: transform 1.1s var(--out); }
.seen .headline span, .headline.seen span { transform: none; }
.standfirst { max-width: 37em; margin-top: 16px; font-size: clamp(19px, 1.5vw, 27px); line-height: 1.3; }

.stocks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(30px, 4vw, 70px); border-top: 1px solid var(--ink); }
.stock { padding: 12px 16px 16px 0; }
.stock + .stock { padding-left: 16px; border-left: 1px solid var(--rule); }
.stock h3 { font: 400 18px/1.1 var(--body); }
.stock b { display: block; font: 400 clamp(80px, 13vw, 300px)/.88 var(--tall); margin-top: 8px; font-variant-numeric: tabular-nums; }
.stock.low b { color: var(--verm); }
.gauge { height: 6px; background: var(--paper-2); margin-top: 8px; overflow: hidden; border-radius: 3px; }
.gauge i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--out); }
.stock.low .gauge i { background: var(--verm); }
.stock p { margin-top: 8px; font-size: 15.5px; line-height: 1.3; color: var(--ink-2); }
.ledger-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 17px; }

.council { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 88px); }
.motion { padding: 16px 0; border-top: 1px solid var(--ink); }
.motion h3 { font: 400 clamp(32px, 3.2vw, 58px)/1 var(--tall); }
.motion p { margin-top: 4px; font-size: 17px; line-height: 1.32; }
.motion-state { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.motion-state strong { font-weight: 500; color: var(--ink); }
.tally { display: flex; height: 7px; margin-top: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.tally i { display: block; background: var(--ink); }
.tally i + i { background: var(--ochre); }
.bare { padding: 16px 0; border-top: 1px solid var(--ink); font-size: 19px; }

.roster-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(20px, 2vw, 34px); margin-top: clamp(24px, 3vw, 48px); }
.person { display: block; width: 100%; text-align: left; padding: 12px 0 16px; background: none; border: 0; border-top: 1px solid var(--ink); transition: background-color .4s var(--out); }
.person:hover { padding-left: 8px; }
.person strong { display: block; font: 400 clamp(34px, 3vw, 54px)/1 var(--tall); }
.person.out strong { color: var(--verm-deep); }
.person span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.28; }
.person em { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.28; color: var(--ink-2); }

.gazette > .movein { background: var(--ink); color: var(--bone); border-top: 0; }
.headline-light { color: var(--bone); }
.movein-sub { max-width: 42em; margin-top: 16px; font-size: clamp(19px, 1.5vw, 27px); line-height: 1.3; }
.movein-count { margin-top: 16px; font-size: 19px; color: var(--verm-pale); }
.movein-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(18px, 2vw, 34px); margin-top: clamp(30px, 4vw, 60px); }
.berth { min-width: 0; padding-top: 12px; border-top: 1px solid var(--bone-50); font-size: 17px; line-height: 1.34; }
.berth h3 { font: 400 clamp(32px, 2.7vw, 48px)/1 var(--tall); margin-bottom: 8px; }
.berth pre { margin: 12px 0 0; padding: 12px 12px; background: var(--night); border-radius: 10px; overflow-x: auto; font: 400 12.5px/1.55 var(--code); scrollbar-width: thin; }
.copyline { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 4px 4px 4px 12px; background: var(--bone); color: var(--ink); border-radius: 10px; }
.copyline code { flex: 1; min-width: 0; font: 400 13.5px/1.3 var(--code); overflow-wrap: anywhere; }
.copyline button { flex: none; height: 32px; padding: 0 12px; background: var(--ink); color: var(--bone); border: 0; border-radius: 7px; font-size: 14px; }
.berth-small { margin-top: 8px; font-size: 15px; color: var(--bone-dim); }
.berth-form label { display: block; margin-top: 8px; font-size: 15px; color: var(--bone-mid); }
.berth-form input { width: 100%; height: 42px; margin-top: 4px; padding: 0 12px; background: var(--night); border: 1px solid var(--bone-35); border-radius: 9px; color: var(--bone); }
.berth-form .tram { margin-top: 12px; background: var(--verm-deep); color: var(--bone-hi); }
.berth-note { margin-top: 8px; min-height: 20px; font-size: 15px; color: var(--verm-pale); }
.keybox { margin-top: 8px; font-size: 15px; animation: wirein .6s var(--out); }
.movein-rules { max-width: 62em; margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--bone-25); font-size: 16px; line-height: 1.38; color: var(--bone-dim); }

.board { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 88px); }
.board-you { margin-top: 16px; font-size: 18px; color: var(--verm-dark); min-height: 26px; }
.board-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font: 400 clamp(26px, 2.2vw, 38px)/1 var(--tall); }
.board-list li:first-child { border-top-color: var(--ink); }
.board-list small { font: 400 15px/1 var(--body); color: var(--ink-2); margin-left: 8px; }

.colophon { padding: 0 var(--edge) 24px; overflow: hidden; border-top: 1px solid var(--ink); }
.colophon-mark { font: 400 31.5vw/.84 var(--tall); text-align: center; padding-top: .05em; white-space: nowrap; letter-spacing: .012em; }
.colophon-foot { display: grid; grid-template-columns: 2fr 1.2fr auto; gap: 24px; align-items: start; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 16px; line-height: 1.34; }
.colophon-links { display: flex; gap: 8px; }
.colophon-links .roundel { background: var(--paper-2); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 26px; transform: translateX(-50%); max-width: 90vw; padding: 8px 16px; background: var(--ink); color: var(--bone); border-radius: 11px; font-size: 16px; animation: wirein .4s var(--out); }

/* ---------- narrower ---------- */
@media (max-width: 1280px) { .streets { display: none; } }
@media (max-width: 1000px) {
  .movein-grid, .council, .board { grid-template-columns: 1fr; }
  .stocks { grid-template-columns: 1fr 1fr; }
  .stock:nth-child(3) { padding-left: 0; border-left: 0; }
  .stock:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .colophon-foot { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .topline { flex-wrap: wrap; gap: 8px; padding: 8px 8px; }
  .crest { padding: 4px 8px 4px 4px; }
  .crest img { width: 30px; height: 30px; }
  .crest span { font-size: 23px; }
  .dock { gap: 4px; flex: 1 1 100%; min-width: 0; margin-left: 0; order: 3; }
  .topline { justify-content: space-between; }
  .roundel { width: 34px; height: 34px; }
  .cachip { height: 34px; padding: 0 8px; font-size: 11.5px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .tram { height: 34px; gap: 8px; padding-left: 12px; font-size: 13px; }
  .tram i { width: 24px; height: 24px; }
  .tram i::after { inset: 8px; }
  .phantom { height: 34px; padding: 0 12px; font-size: 15px; }
  .pairnote { display: none; }
  .pulse { top: 98px; left: 10px; right: 10px; max-width: none; font-size: 14px; }
  .plate { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 12px 16px; }
  .plate h1 { font-size: 46px; }
  .plate > p { font-size: 16px; margin-top: 4px; }
  .plate-do { margin-top: 8px; }
  .plate-do .tram, .walkin { height: 36px; }
  .plate > p.plate-how { display: none; }
  .wire { left: 10px; right: 10px; bottom: 212px; width: auto; max-height: 92px; background: var(--paper-92); border-radius: 12px; }
  .wire-top { display: none; }
  .wire-list { padding: 4px 12px; overflow: hidden; }
  .wire-list li { border-top: 0; padding: 4px 0; font-size: 14.5px; }
  .wire-list li:nth-child(n+2), .wire-meta { display: none; }
  .zoomers { display: none; }
  .errand { top: 96px; width: calc(100% - 20px); justify-content: space-between; font-size: 15px; }
  .overture-row { flex-direction: column; gap: 8px; padding: 0 16px; }
  .ow { font-size: 34vw; }
  .ow-strip { flex: none; width: 100%; height: 28vw; }
  .opened .ow-l { transform: translateY(-120%); }
  .opened .ow-r { transform: translateY(120%); }
  .dossier { border-radius: 16px 16px 0 0; }
  .placetag { font-size: 20px; }
  .bubble { max-width: 190px; font-size: 14px; }
  .ledger-foot { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .beat { animation: none; }
  .headline span { transform: none; }
}

.tram:active, .dossier-say button:active, .dossier-x:active, .zoomers button:active { translate: 0 1px; }
.tram:disabled, .tram[aria-disabled="true"] { cursor: not-allowed; }
input { outline: 2px solid transparent; outline-offset: 1px; }
input:focus-visible { outline-color: var(--verm); }
input:disabled { opacity: .55; cursor: not-allowed; }
.berth-form .tram { height: 42px; }
h1, h2 { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 389px) {
  .dock .tram { padding-right: 12px; }
  .dock .tram i { display: none; }
  .phantom { padding: 0 8px; }
  .cachip { padding: 0 4px; font-size: 11px; }
}
