/* The original Fate Lens 私人生活年鑑 world: rice paper, Songti, vermilion
   seal, pine actions, thin ruled lines. Ink only where it moves. */
:root {
  --paper: #f2eadb;
  --paper-light: #faf5e9;
  --paper-deep: #e4d8c4;
  --ink: #242824;
  --muted: #6f695f;
  --line: #c9bda9;
  --line-dark: #9e907c;
  --pine: #31594b;
  --pine-dark: #244338;
  --vermilion: #b44d39;
  --vermilion-dark: #87392d;
  --indigo: #3e485d;
  --ochre: #a77a3f;
  --serif: "Songti TC", "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(89, 76, 56, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 76, 56, .018) 1px, transparent 1px);
  background-size: 28px 28px;
  font: 16px/1.7 var(--sans);
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin-top: 0; }
p { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  width: min(1180px, calc(100% - 40px)); min-height: 72px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-align: left; }
.brand-seal {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--paper-light); background: var(--vermilion); border: 1px solid var(--vermilion-dark);
  font-family: var(--serif); font-size: 21px; line-height: 1; filter: url(#seal-edge);
}
.brand > span:last-child { display: grid; line-height: 1.15; }
.brand strong { font-family: Georgia, var(--serif); font-size: 17px; letter-spacing: .04em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .18em; }
.site-nav { display: flex; gap: 4px; }
.site-nav button { padding: 10px 10px; border: 0; background: none; font-size: 14px; letter-spacing: .08em; color: var(--muted); }
.site-nav button:hover { color: var(--vermilion); }
.site-nav .is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--vermilion); }

/* ---------- page shell ---------- */
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 110px; }
.shell.narrow { width: min(760px, calc(100% - 40px)); }
.folio, .section-number { color: var(--vermilion-dark); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.section-number { padding-bottom: 10px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 14px; }
.section-title { font-size: 24px; line-height: 1.3; margin: 48px 0 12px; }
.lede { max-width: 640px; color: #55534d; font-size: 17px; line-height: 1.85; }
.caption, .fineprint, .credits { color: var(--muted); font-size: 13px; }
.notice { margin-top: 16px; padding: 12px 15px; color: #58554e; background: rgba(167, 122, 63, .08); border-left: 3px solid var(--ochre); font-size: 13px; }

/* ---------- buttons ---------- */
.primary, .secondary {
  position: relative; overflow: hidden; min-height: 48px; padding: 12px 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--pine-dark); border-radius: 1px;
  font-weight: 700; letter-spacing: .06em;
  transition: background 160ms ease-out, color 160ms ease-out;
}
.primary { color: #fffdf6; background: var(--pine); }
.primary:hover { background: var(--pine-dark); }
.primary:disabled { color: var(--muted); background: var(--paper-deep); border-color: var(--line); cursor: default; }
.secondary { color: var(--pine-dark); background: transparent; }
.secondary:hover { color: #fffdf6; background: var(--pine-dark); }
.text-link, .danger-link { padding: 8px 0; border: 0; background: none; color: var(--pine-dark); text-decoration: underline; text-underline-offset: 4px; }
.danger-link { color: var(--vermilion-dark); }
.action-ledger { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.file-btn { cursor: pointer; }
.fineprint .file-btn { display: inline-block; margin-top: 6px; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 70%, rgba(242, 234, 219, 0));
}
.sticky-cta .primary { width: min(760px, 100%); display: flex; margin: 0 auto; }

/* ink drop: spreads from where the button was pressed */
.ink-drop {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 40, 36, .45), rgba(36, 40, 36, 0) 70%);
  pointer-events: none; filter: url(#ink-bleed) blur(1px);
  animation: ink-drop 700ms cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes ink-drop { to { transform: scale(14); opacity: 0; } }

/* ---------- welcome ---------- */
.opening-spread {
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1.25fr .75fr;
}
.opening-copy { position: relative; overflow: hidden; padding: 56px 6vw 190px 0; border-right: 1px solid var(--line-dark); }
.opening-copy > :not(.ink-hills):not(.mist) { position: relative; }
.opening-copy h1 { margin: 36px 0 20px; font-size: clamp(42px, 6vw, 78px); line-height: 1.08; letter-spacing: -.05em; }
.ink-hills { position: absolute; left: -2%; right: 0; bottom: 0; width: 104%; height: 170px; pointer-events: none; }
.mist {
  position: absolute; left: -30%; bottom: 20px; width: 160%; height: 110px; pointer-events: none;
  background: radial-gradient(ellipse 30% 40% at 30% 50%, rgba(250, 245, 233, .9), transparent 70%),
              radial-gradient(ellipse 25% 35% at 70% 60%, rgba(250, 245, 233, .8), transparent 70%);
  animation: mist 26s ease-in-out infinite alternate;
}
@keyframes mist { to { transform: translateX(14%); } }
.opening-aside { padding: 48px 0 40px 6vw; display: flex; flex-direction: column; gap: 18px; }
.red-seal {
  align-self: flex-start; padding: 6px 10px; color: var(--vermilion-dark); border: 1px solid var(--vermilion);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; transform: rotate(-3deg); filter: url(#seal-edge);
}
.aside-lead { font-family: var(--serif); font-size: 21px; line-height: 1.6; margin: 0; }
.aside-note { color: var(--muted); font-size: 13px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 40px 0 0; }
.step { padding: 22px; border: 1px solid var(--line); background: rgba(250, 245, 233, .45); }
.step-no { font-family: var(--serif); color: var(--vermilion); font-size: 22px; }
.step h3 { margin: 8px 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- ledgers (tables) ---------- */
.mini-ledger, .verify, .checkin-ledger { border-collapse: collapse; width: 100%; font-size: 14px; }
.mini-ledger th, .mini-ledger td, .verify th, .verify td, .checkin-ledger th, .checkin-ledger td {
  padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle;
}
.mini-ledger thead th, .verify thead th { color: var(--muted); font-size: 12px; font-weight: 600; border-bottom-color: var(--line-dark); }
.mini-ledger tbody th, .verify tbody th { text-align: left; font-weight: 400; }
.mini-ledger tbody th b, .verify tbody th b { display: block; font-family: var(--serif); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-ledger tbody th small, .verify tbody th small { color: var(--muted); font-size: 12px; white-space: nowrap; }

.luck { font-family: var(--serif); font-weight: 600; font-size: 15px; white-space: nowrap; }
.luck-5 { color: var(--vermilion); }
.luck-4 { color: var(--vermilion-dark); }
.luck-3 { color: var(--muted); }
.luck-2 { color: var(--indigo); }
.luck-1 { color: #1f2735; }
.feel { font-size: 13px; padding: 2px 6px; white-space: nowrap; border: 1px solid var(--line); background: var(--paper-light); }
.feel-5, .feel-4 { color: var(--vermilion-dark); }
.feel-1, .feel-2 { color: var(--indigo); }

.call { position: relative; }
.vseal {
  display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; vertical-align: middle;
  font-style: normal; font-family: var(--serif); font-size: 12px; line-height: 1; filter: url(#seal-edge);
}
.is-hit .vseal { color: var(--paper-light); background: var(--vermilion); transform: rotate(-6deg); }
.is-near .vseal { color: var(--vermilion-dark); border: 1px solid var(--vermilion); transform: rotate(4deg); }
.is-miss .vseal { color: var(--muted); border: 1px dashed var(--line-dark); }
.is-miss .luck { opacity: .45; }
.mseal {
  display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none;
  color: var(--indigo); border: 1.5px solid var(--indigo); font-family: var(--serif); font-size: 14px; line-height: 1;
  filter: url(#seal-edge);
}

.ledger-scroll { overflow-x: auto; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overscroll-behavior-x: contain; }
.verify { min-width: max-content; }
.verify thead th { padding-top: 12px; }
.verify thead th small { display: block; margin-top: 4px; }
.verify td.call { min-width: 72px; }
.verify .pin-day { position: sticky; left: 0; z-index: 2; width: 132px; max-width: 132px; background: var(--paper); text-align: left; }
.verify .pin-truth { position: sticky; left: 132px; z-index: 2; background: var(--paper); border-right: 1px solid var(--line-dark); }

/* signature: forecasts seep into the paper row by row, then the seal lands */
.verify.is-animated .call .luck { animation: seep 900ms cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--row) * 280ms + 150ms); }
.verify.is-animated .call .vseal { animation: stamp 420ms cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--row) * 280ms + 750ms); }
.verify.is-waiting .call .luck, .verify.is-waiting .call .vseal { animation: none; opacity: 0; }
@keyframes seep { from { opacity: 0; filter: blur(7px); letter-spacing: .4em; } }
@keyframes stamp { from { opacity: 0; transform: scale(2.4) rotate(-20deg); } }

/* ---------- forms ---------- */
.ledger-form { margin-top: 12px; }
.field-row { margin: 22px 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.field-row > label, .field-row > legend { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .05em; padding: 0; margin-bottom: 8px; }
.field-row small { color: var(--muted); font-size: 12px; grid-column: 1 / -1; }
.field-row input:not([type="radio"]), .field-row select {
  width: 100%; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line-dark);
  border-radius: 0; background: transparent; font-family: var(--serif); font-size: 18px;
}
.field-row select {
  appearance: none; padding-right: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23756f65' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0 center / 16px;
}
.field-row input:focus, .field-row select:focus { outline: none; border-bottom-color: var(--vermilion); box-shadow: 0 2px 0 var(--vermilion); }
.date-selects { grid-template-columns: 1.3fr 1fr 1fr; column-gap: 14px; }
.time-selects { grid-template-columns: 1fr 1fr; column-gap: 14px; }
.city-field { position: relative; }
.city-list {
  position: absolute; z-index: 10; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none;
  background: var(--paper-light); border: 1px solid var(--line-dark); box-shadow: 0 14px 30px -18px rgba(36, 40, 36, .5);
}
.city-list li { padding: 11px 12px; cursor: pointer; font-family: var(--serif); }
.city-list li[aria-selected="true"], .city-list li:hover { background: var(--paper-deep); }

.choice-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice-5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.choice-row label > span {
  position: relative; overflow: hidden; display: grid; place-items: center; min-height: 46px; padding: 6px 2px;
  border: 1px solid var(--line-dark); background: rgba(250, 245, 233, .5); font-size: 14px; text-align: center;
  transition: background 160ms ease-out, color 160ms ease-out;
}
.choice-row input:checked + span { color: #fffdf6; background: var(--pine); border-color: var(--pine-dark); }
.feeling-row input:checked + .feel-1, .feeling-row input:checked + .feel-2,
.checkin-row input:checked + .feel-1, .checkin-row input:checked + .feel-2 { background: var(--indigo); border-color: var(--indigo); }
.feeling-row input:checked + .feel-4, .feeling-row input:checked + .feel-5,
.checkin-row input:checked + .feel-4, .checkin-row input:checked + .feel-5 { background: var(--vermilion); border-color: var(--vermilion-dark); }
.feeling-row input:checked + .feel-3, .checkin-row input:checked + .feel-3 { background: var(--ochre); border-color: var(--ochre); }
.choice-row input:focus-visible + span { outline: 2px solid var(--vermilion); outline-offset: 2px; }
.form-error { color: var(--vermilion-dark); font-weight: 700; margin: 8px 0 0; }

/* ---------- moments ---------- */
.slots { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.slot { padding: 14px 0; border-bottom: 1px solid var(--line); }
.slot-head { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; }
.slot-head b { font-family: var(--serif); font-size: 19px; }
.slot-head small { color: var(--muted); font-size: 13px; }
.slot.is-done .slot-head b { color: var(--vermilion); }
.slot-head .secondary { min-height: 40px; padding: 8px 14px; }
.slot-list { list-style: none; margin: 8px 0 0 64px; padding: 0; }
.slot-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 6px 0; }
.slot-list b { font-family: var(--serif); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.moment-date { font-family: var(--serif); color: var(--muted); font-size: 13px; }
.list-hint { margin: 24px 0 10px; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  position: relative; overflow: hidden; display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 9px 14px;
  border: 1px solid var(--line-dark); background: rgba(250, 245, 233, .55); font-family: var(--serif); font-size: 15px;
}
.tag small { font-family: var(--sans); color: var(--vermilion-dark); font-size: 11px; letter-spacing: .1em; }
.tag:hover { border-color: var(--pine); }
.panel { padding: 8px 22px 22px; border: 1px solid var(--line-dark); background: rgba(250, 245, 233, .6); margin-top: 18px; animation: rise 260ms ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------- reveal ---------- */
.reveal-screen { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.enso { width: 180px; height: 180px; margin: 20px auto 24px; }
.enso path {
  fill: none; stroke: var(--ink); stroke-width: 11; stroke-linecap: round; opacity: .85;
  stroke-dasharray: 520; stroke-dashoffset: 520; animation: enso 1.7s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes enso { to { stroke-dashoffset: 0; } }

/* ---------- result / headings ---------- */
.ledger-heading {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 32px; align-items: start;
  padding: 36px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.ledger-heading h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 60px); line-height: 1.1; letter-spacing: -.04em; }
.ledger-heading h1 small { margin-left: 14px; font-size: .4em; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.status-stamp {
  width: 96px; height: 96px; display: grid; place-items: center; margin-top: 6px;
  color: var(--paper-light); background: var(--vermilion); font-family: var(--serif); font-size: 50px; line-height: 1;
  transform: rotate(-5deg); filter: url(#seal-edge); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--vermilion);
  animation: stamp 500ms cubic-bezier(.16, 1, .3, 1) both 200ms;
}

.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.board li { display: grid; grid-template-columns: 28px 28px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.board .is-top { background: linear-gradient(90deg, rgba(180, 77, 57, .07), transparent 70%); }
.board-rank { font-family: var(--serif); color: var(--muted); font-size: 18px; text-align: center; }
.is-top .board-rank { color: var(--vermilion); }
.board-name { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.board-name b { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.board-name small { color: var(--muted); font-size: 12px; }
.board.domain-board li { grid-template-columns: 44px 28px minmax(0, 1fr) auto; }
.domain-board .board-rank { color: var(--ink); font-size: 17px; }
.domain-board .is-top .board-rank { color: var(--vermilion); }
.domain-board .is-unknown .board-name b, .domain-board .is-none .board-name b { color: var(--muted); font-weight: 400; }
.mseal.is-empty { color: var(--line-dark); border: 1.5px dashed var(--line-dark); }
.verdict-lines span { display: block; white-space: nowrap; }
@media (max-width: 760px) { .ledger-heading h1.verdict-lines { font-size: min(36px, 7.6vw); line-height: 1.3; } }
.matrix td { min-width: 64px; font-family: var(--serif); }
.matrix td.is-lead { background: rgba(180, 77, 57, .07); color: var(--vermilion-dark); font-weight: 600; }
.matrix .is-lead .vseal { color: var(--paper-light); background: var(--vermilion); transform: rotate(-6deg); }
.matrix .pin-day .mseal { width: 20px; height: 20px; font-size: 12px; margin-right: 4px; }
.coverage { margin: 14px 0 0; }

.evidence { margin-top: 44px; }
.evidence .section-title small { margin-left: 12px; font-size: .62em; color: var(--vermilion); letter-spacing: .04em; }
.evidence.is-unknown .section-title small { color: var(--muted); }
.evidence-verdict { margin: 12px 0 0; font-family: var(--serif); font-size: 17px; }
.evidence-verdict .text-link { margin-left: 8px; }

/* ---------- today ---------- */
.lunar { color: var(--muted); font-family: var(--serif); margin: 0 0 14px; }
.yi-ji { margin: 0; display: grid; gap: 6px; }
.yi-ji div { display: flex; gap: 12px; align-items: baseline; }
.yi-ji dt {
  width: 28px; height: 28px; display: grid; place-items: center; flex: none;
  font-family: var(--serif); color: var(--paper-light); background: var(--pine);
}
.yi-ji div:last-child dt { background: var(--indigo); }
.yi-ji dd { margin: 0; font-family: var(--serif); font-size: 17px; }
.areas { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line-dark); }
.area {
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: 4px; padding: 16px 4px 14px;
  border: 0; border-right: 1px solid var(--line); background: transparent;
}
.area:last-child { border-right: 0; }
.area > span:first-child { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.area .luck { font-size: 22px; }
.area small { color: var(--muted); font-size: 11px; white-space: nowrap; letter-spacing: -.02em; }
.area.is-selected { background: rgba(250, 245, 233, .8); box-shadow: inset 0 -3px 0 var(--vermilion); }
.why { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.why li {
  display: grid; grid-template-columns: 24px 74px 1fr auto; grid-template-areas: "s n b l" ". t t t";
  align-items: center; column-gap: 10px; row-gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.why .mseal { grid-area: s; }
.why-name { grid-area: n; font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.why-record { grid-area: b; color: var(--muted); font-size: 13px; }
.why .is-lead { background: linear-gradient(90deg, rgba(180, 77, 57, .07), transparent 70%); }
.why .is-lead .why-record { color: var(--vermilion-dark); font-weight: 600; }
.why li > .luck { grid-area: l; }
.why-text { grid-area: t; color: #55534d; font-size: 14px; }
.checkin { margin-top: 56px; }
.checkin.is-evening { padding: 18px 18px 6px; border: 1px solid var(--vermilion); background: rgba(180, 77, 57, .04); }
.checkin-form { display: grid; gap: 4px; }
.checkin-row { grid-template-columns: 52px repeat(5, 1fr); margin: 0; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); align-items: center; }
.checkin-row legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.row-label { font-family: var(--serif); font-weight: 600; }
.checkin-row label > span { min-height: 40px; font-size: 13px; }
.quick-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 14px 0 8px; }
.quick-row .secondary { min-height: 48px; padding: 8px 2px; font-size: 14px; }
.checkin-note td { padding-top: 0; color: var(--muted); font-size: 13px; text-align: left; }
.checkin-ledger tr.call td, .checkin-ledger tr.call th { border-bottom: 0; }
.why-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.checkin-ledger td { text-align: left; }
.checkin-ledger th { text-align: left; font-family: var(--serif); width: 56px; }

/* ---------- me ---------- */
.facts { margin: 0; border-top: 1px solid var(--line-dark); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 17px; }
.prose p { color: #55534d; max-width: 64ch; }
.me-screen .section-number, .narrow > .section-number:not(:first-child) { margin-top: 48px; }
.credits { margin-top: 36px; }

@media (max-width: 760px) {
  .site-header, .shell, .shell.narrow { width: calc(100% - 32px); }
  .opening-spread { grid-template-columns: 1fr; }
  .opening-copy { padding: 30px 0 150px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .ink-hills { height: 130px; }
  .opening-copy h1 { margin-top: 24px; }
  .opening-aside { padding: 32px 0; }
  .steps { grid-template-columns: 1fr; }
  .ledger-heading { grid-template-columns: 1fr; gap: 18px; padding: 26px 0; }
  .status-stamp { width: 76px; height: 76px; font-size: 40px; }
  .slot-list { margin-left: 0; }
  .slot-list li { grid-template-columns: 1fr auto auto; }
  .slot-list .moment-date { grid-column: 1 / -1; margin-bottom: -6px; }
  .verify .pin-day { width: 112px; max-width: 112px; }
  .verify .pin-truth { left: 112px; }
  .site-nav button { padding: 10px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
