:root {
  --bg: #f1e4be;
  --surface: #fffaea;
  --ink: #17140f;
  --muted: #5a5243;
  --accent: #f0501a;
  --accent-ink: #17140f;
  --focus: #17140f;
  --rule: 3px;
  --shadow: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock { overflow: hidden; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: 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='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .05 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  background: var(--ink); color: var(--surface); padding: 12px 16px;
  font-family: var(--mono); font-size: 0.875rem;
}
.skip:focus { top: 8px; outline-color: var(--accent); }

.label {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
}
.muted { color: var(--muted); }

/* ---------- header ---------- */
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 8px 24px; max-width: 1440px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 12px; min-height: 44px; align-items: center;
  font-family: var(--display); text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.125rem;
  color: var(--ink); text-decoration: none;
}
.brand-sub { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); }
.nav { display: flex; gap: 8px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent;
}
.nav a:active { transform: scale(0.97); }
.nav-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--ink); color: var(--surface); border-radius: 12px; font-size: 0.75rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; cursor: pointer;
  background: var(--surface); color: var(--ink); border: var(--rule) solid var(--ink);
  font-family: var(--display); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1;
  text-decoration: none;
  transition: transform 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px 24px; font-size: 0.9375rem; }
.btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.btn .shape { width: 18px; height: 18px; flex: none; }
.pill {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--ink); color: var(--surface); border-radius: 12px; font-family: var(--mono); font-size: 0.75rem;
}

/* ---------- hero ticket ---------- */
.hero { max-width: 1440px; margin: 0 auto; padding: 16px 24px 48px; }
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  background: var(--surface); border: var(--rule) solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; right: calc(320px - 16px); width: 28px; height: 28px; z-index: 2;
  background: var(--bg); border: var(--rule) solid var(--ink); border-radius: 50%;
}
.ticket::before { top: -17px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -17px; clip-path: inset(0 0 50% 0); }
.ticket-main { padding: 32px 40px 40px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mast {
  display: flex; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 9.4vw, 8.5rem); line-height: 0.95; letter-spacing: -0.04em; white-space: nowrap;
  margin: 8px 0 0 -0.04em;
}
.mast span { display: inline-block; transform-origin: 50% 100%; animation: slam 520ms var(--ease) both; }
.mast span:nth-child(1) { animation-delay: 0ms; }
.mast span:nth-child(2) { animation-delay: 60ms; }
.mast span:nth-child(3) { animation-delay: 120ms; }
.mast span:nth-child(4) { animation-delay: 180ms; }
.mast span:nth-child(5) { animation-delay: 240ms; }
.mast span:nth-child(6) { animation-delay: 300ms; }
.mast span:nth-child(7) { animation-delay: 360ms; }
.mast span:nth-child(8) { animation-delay: 420ms; }
.mast span:nth-child(9) { animation-delay: 480ms; }
@keyframes slam {
  from { opacity: 0; transform: translateY(-60%) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}
.lede { max-width: 52ch; font-size: 1.1875rem; }

.ticket-stub {
  position: relative; display: flex; gap: 8px; padding: 24px 24px 24px 16px;
  background: var(--ink); color: var(--surface); border-left: var(--rule) dashed var(--surface);
}
.stub-side {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bg); white-space: nowrap;
}
.stub-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; }
.stub-num {
  font-family: var(--display); font-size: clamp(7rem, 12vw, 11rem); line-height: 0.8; letter-spacing: -0.06em;
  color: var(--surface); overflow: hidden; padding-top: 8px;
}
.stub-num span { display: inline-block; }
.stub-num span.tick { animation: tick 360ms var(--ease); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
.stub-cap { color: var(--bg); }
.holes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 8px; }
.holes li { display: grid; place-items: center; aspect-ratio: 1; }
.holes .shape { width: 70%; height: 70%; color: var(--bg); opacity: 0.5; }
.holes .shape path, .holes .shape circle, .holes .shape rect, .holes .shape polygon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 2.5 2.5; }
.holes li.on .shape { opacity: 1; color: var(--accent); }
.holes li.on .shape path, .holes li.on .shape circle, .holes li.on .shape rect, .holes li.on .shape polygon { fill: currentColor; stroke: none; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--surface); border-block: var(--rule) solid var(--ink); overflow: hidden; }
.marquee-track {
  display: flex; width: max-content; padding: 10px 0; gap: 0;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  animation: roll 70s linear infinite;
}
.marquee-track span { white-space: nowrap; padding-right: 32px; }
.marquee-track b { color: var(--accent); font-weight: 700; padding-right: 8px; }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- deck ---------- */
.deck {
  max-width: 1440px; margin: 0 auto; padding: 64px 24px 96px;
  display: grid; grid-template-columns: minmax(340px, 480px) minmax(0, 1fr); gap: 48px; align-items: start;
}
.rail {
  position: sticky; top: 8px; max-height: calc(100vh - 16px); overflow-y: auto; overflow-x: hidden;
  padding: 4px 10px 10px 4px; margin: -4px -10px -10px -4px;
  display: flex; flex-direction: column; gap: 32px;
}
.panel { background: var(--surface); border: var(--rule) solid var(--ink); box-shadow: var(--shadow); padding: 24px; }
.panel-title { font-family: var(--display); font-size: 1.625rem; letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase; margin-bottom: 16px; }
.sub-title { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 24px 0 8px; padding-top: 16px; border-top: var(--rule) dashed var(--ink); }

.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.field label { font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field select {
  min-height: 48px; padding: 8px 12px; font-size: 1rem; background: var(--bg);
  border: var(--rule) solid var(--ink); border-radius: 0; width: 100%;
  transition: background-color 150ms var(--ease);
}
.field input:focus-visible, .field select:focus-visible { background: var(--surface); outline-offset: 2px; }
.row-fields { display: flex; gap: 12px; align-items: flex-end; margin-top: 12px; }
.toggle { min-height: 48px; flex: none; }

/* ---------- timeline ---------- */
.tl-axis { position: relative; height: 20px; margin-bottom: 4px; }
.tl-axis span { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 0.6875rem; font-weight: 700; color: var(--muted); }
.tl-axis span:first-child { transform: none; }
.tl-axis span:last-child { transform: translateX(-100%); }
.tl-dayname { font-family: var(--display); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.02em; margin: 8px 0 4px; }
.tl-lanes {
  position: relative; border: var(--rule) solid var(--ink); background-color: var(--bg);
  background-image: linear-gradient(to right, rgba(23, 20, 15, 0.22) 1px, transparent 1px);
  background-size: calc(100% / 7) 100%;
}
.tl-bar {
  position: absolute; display: flex; align-items: center; justify-content: flex-start; gap: 4px;
  height: 36px; min-width: 32px; margin: 0; padding: 0 6px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--ink); color: var(--ink);
  transition: transform 150ms var(--ease), opacity 150ms var(--ease), background-color 150ms var(--ease);
}
.tl-bar .shape { width: 18px; height: 18px; flex: none; }
.tl-bar:active { transform: scale(0.97); }
.tl-bar.is-dim { opacity: 0.3; }
.tl-bar.is-saved { background: var(--accent); }
.tl-bar.is-saved .shape { color: var(--surface); filter: drop-shadow(0 0 0 var(--ink)); }
.tl-bar.is-clash {
  background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(23, 20, 15, 0.55) 5px 7px);
}
.tl-readout { min-height: 3em; margin-top: 8px; font-family: var(--mono); font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.legend li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.legend .shape { width: 16px; height: 16px; }

/* ---------- pass ---------- */
.pass-empty { color: var(--muted); }
.pass-list { border-top: var(--rule) solid var(--ink); }
.pass-list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: var(--rule) dashed var(--ink); }
.pass-list .shape { width: 22px; height: 22px; color: var(--accent); filter: drop-shadow(0 0 0 var(--ink)); }
.pass-open {
  display: block; width: 100%; min-height: 44px; padding: 4px 8px; text-align: left; cursor: pointer; background: transparent; border: 0;
  transition: background-color 150ms var(--ease);
}
.pass-open:focus-visible { outline-offset: -3px; }
.pass-open:active { background: var(--bg); }
.pass-open strong { display: block; font-family: var(--display); font-size: 0.9375rem; line-height: 1.2; font-weight: 900; letter-spacing: -0.01em; }
.pass-open span { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.pass-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0 8px; font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pass-total em { font-family: var(--display); font-style: normal; font-size: 1.75rem; letter-spacing: -0.03em; }
.clash-note {
  margin: 8px 0; padding: 10px 12px; border: var(--rule) solid var(--ink); font-size: 0.9375rem; line-height: 1.45;
  background: repeating-linear-gradient(135deg, var(--surface) 0 8px, #fbe0cf 8px 16px);
}
.clash-note strong { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.pass .btn { margin-top: 8px; }

/* ---------- list ---------- */
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.list-title { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.dayband {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--ink); color: var(--surface); padding: 10px 16px; margin: 32px 0 24px;
  font-family: var(--display); font-size: 1.125rem; letter-spacing: -0.01em; text-transform: uppercase;
}
.dayband:first-child { margin-top: 0; }
.dayband span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--bg); }

.item {
  position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) 176px; margin-bottom: 24px;
  background: var(--surface); border: var(--rule) solid var(--ink); box-shadow: var(--shadow);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.when { padding: 16px; background: var(--bg); border-right: var(--rule) dashed var(--ink); display: flex; flex-direction: column; gap: 2px; }
.t-start { font-family: var(--display); font-size: 1.875rem; letter-spacing: -0.05em; line-height: 1; }
.t-end, .t-dur { font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; }
.t-dur { color: var(--muted); }
.what { padding: 16px 20px 20px; min-width: 0; }
.cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.cat .shape { width: 18px; height: 18px; }
.title { font-family: var(--display); font-weight: 900; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.12; letter-spacing: -0.03em; margin: 8px 0; }
.meta { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.sum { max-width: 60ch; }
.act { padding: 16px; border-left: var(--rule) dashed var(--ink); display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.fare { font-family: var(--display); font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: auto; }
.punch { position: relative; }
.punch .shape { transition: transform 200ms var(--ease); }
.punch.fresh .shape { animation: stamp 320ms var(--ease); }
.chad {
  position: absolute; left: 14px; top: 14px; width: 12px; height: 12px; background: var(--ink); pointer-events: none;
  animation: chad 700ms var(--ease) both;
}
@keyframes stamp { 0% { transform: scale(1.8) rotate(-20deg); } 100% { transform: none; } }
@keyframes chad { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(10px, 60px) rotate(220deg); } }

.empty {
  border: var(--rule) dashed var(--ink); background: var(--surface); padding: 48px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.empty h3 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.05; }
.empty p { max-width: 44ch; }

/* ---------- footer ---------- */
.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: 1440px; margin: 0 auto; padding: 32px 24px 48px; border-top: var(--rule) solid var(--ink);
  font-family: var(--mono); font-size: 0.8125rem;
}
.foot-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }

/* ---------- detail dialog ---------- */
.dlg {
  width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: var(--rule) solid var(--ink); background: var(--surface); color: var(--ink); box-shadow: 12px 12px 0 var(--ink); overflow: auto;
}
.dlg::backdrop { background: rgba(23, 20, 15, 0.78); }
.dlg[open] { animation: rise 220ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.detail {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "bar bar" "title stub" "body stub";
}
.detail-bar {
  grid-area: bar; position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px; background: var(--ink); color: var(--surface);
}
.detail-bar .label { display: inline-flex; align-items: center; gap: 8px; color: var(--surface); }
.detail-bar .shape { width: 18px; height: 18px; color: var(--accent); }
.detail-bar .btn { background: var(--surface); }
.detail-title { grid-area: title; padding: 32px 32px 16px; }
.detail-title h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.875rem, 4.6vw, 3.75rem); line-height: 1; letter-spacing: -0.045em; text-transform: uppercase; overflow-wrap: anywhere; }
.detail-title .sum { margin-top: 16px; font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.detail-body { grid-area: body; padding: 8px 32px 40px; white-space: pre-line; font-size: 1.1875rem; line-height: 1.65; max-width: 60ch; }
.detail-stub {
  grid-area: stub; background: var(--bg); border-left: var(--rule) dashed var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.facts { display: grid; gap: 0; border-top: var(--rule) solid var(--ink); }
.facts div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px dashed var(--ink); align-items: baseline; }
.facts dt { font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 700; line-height: 1.35; }
.facts .big { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1; }
.detail-stub .btn { width: 100%; min-height: 56px; font-size: 0.9375rem; position: relative; }
.detail-stub .btn .shape { width: 24px; height: 24px; }
.detail-stub .clash-note { margin: 0; }

/* ---------- hover (pointer devices only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { border-bottom-color: var(--accent); }
  .brand:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
  .btn:hover { background: var(--ink); color: var(--surface); }
  .btn-accent:hover { background: var(--ink); color: var(--surface); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
  .btn[aria-pressed="true"]:hover { background: var(--ink); color: var(--accent); }
  .detail-bar .btn:hover { background: var(--accent); color: var(--accent-ink); }
  .item:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
  .tl-bar:hover { transform: translateY(-2px); background: var(--ink); color: var(--surface); }
  .tl-bar.is-saved:hover { background: var(--ink); color: var(--accent); }
  .pass-open:hover { background: var(--bg); }
  .field input:hover, .field select:hover { background: var(--surface); }
  .foot-link:hover { text-decoration-thickness: 3px; color: var(--accent-ink); background: var(--accent); }
  .punch:hover .shape { transform: scale(1.15) rotate(-8deg); }
}

/* ---------- tablet / mobile ---------- */
@media (min-width: 1101px) {
  .mast { font-size: clamp(4rem, min(9.4vw, calc((100vw - 470px) / 7.1)), 8.5rem); }
}
@media (max-width: 1100px) {
  .deck { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .rail { display: contents; }
  .tools { order: 1; }
  .list { order: 2; }
  .pass { order: 3; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { right: auto; left: auto; display: none; }
  .ticket-stub { flex-direction: row; border-left: 0; border-top: var(--rule) dashed var(--surface); padding: 16px 20px; }
  .stub-side { display: none; }
  .stub-body { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; flex-wrap: wrap; }
  .stub-num { font-size: 5.5rem; }
  .stub-cap { flex: 1; min-width: 6ch; }
  .holes { grid-template-columns: repeat(10, 24px); gap: 6px; width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .top { padding: 4px 20px; }
  .brand-sub { display: none; }
  .hero { padding: 8px 20px 32px; }
  .ticket { box-shadow: 6px 6px 0 var(--ink); }
  .ticket-main { padding: 20px 20px 24px; }
  .mast { font-size: 10.4vw; }
  .lede { font-size: 1.0625rem; }
  .deck { padding: 40px 20px 64px; }
  .panel { padding: 20px; }
  .row-fields { flex-direction: column; align-items: stretch; }
  .toggle { width: 100%; }
  .item { grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--ink); }
  .when { flex-direction: row; align-items: baseline; gap: 12px; border-right: 0; border-bottom: var(--rule) dashed var(--ink); flex-wrap: wrap; padding: 12px 16px; }
  .act { border-left: 0; border-top: var(--rule) dashed var(--ink); flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 16px; }
  .fare { margin: 0 auto 0 0; }
  .act .btn { flex: 0 0 auto; }
  .detail { grid-template-columns: 1fr; grid-template-areas: "bar" "title" "stub" "body"; }
  .detail-bar { padding-left: 16px; }
  .detail-title { padding: 24px 20px 16px; }
  .detail-body { padding: 24px 20px 32px; }
  .detail-stub { border-left: 0; border-top: var(--rule) dashed var(--ink); padding: 20px; }
  .dlg { width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); box-shadow: 6px 6px 0 var(--ink); }
  .foot { padding: 24px 20px 40px; }
  .dayband { padding: 10px 12px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mast span, .stub-num span.tick, .punch.fresh .shape, .dlg[open] { animation: none; }
  .chad { display: none; }
  .marquee-track { animation: none; }
  .btn, .item, .tl-bar { transition-property: background-color, color, opacity; }
  .item:hover, .btn-accent:hover, .tl-bar:hover, .punch:hover .shape { transform: none; }
}
