/* ==========================================================
   markobera.com — 90s Mac, early web. White page, black ink,
   six-colour rainbow as the only accent.
   ========================================================== */

:root {
  --bg: #ffffff;
  --ink: #000000;
  --ink-2: #333333;
  --muted: #6d6d6d;
  --gray: #dddddd;
  --gray-2: #bbbbbb;

  /* the six stripes */
  --r-green: #61bb46;
  --r-yellow: #fdb827;
  --r-orange: #f5821f;
  --r-red: #e03a3e;
  --r-purple: #963d97;
  --r-blue: #009ddc;

  --up: #1b7f3a;
  --down: #c4262e;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --pixel: "Silkscreen", "Chicago", ui-monospace, monospace;
  --ui: "Lucida Grande", "Inter", -apple-system, "Segoe UI", sans-serif;
  --aqua: #3d8ce8;
  --mono: "Space Mono", "Monaco", ui-monospace, monospace;

  --gutter: 16px;
  --max: 1080px;
  --bar-h: 34px;
  --bottom-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(#e4e4e4 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom));
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px dotted var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Labels / type helpers ---------- */
.label {
  font-family: var(--pixel); font-size: 12px; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink-2);
}
.lede { margin-top: 14px; max-width: 34em; color: var(--ink-2); }
em { font-style: italic; }

/* ---------- The rainbow ---------- */
.rainbow {
  height: 24px;
  background: linear-gradient(
    to bottom,
    var(--r-green) 0 16.66%, var(--r-yellow) 0 33.33%, var(--r-orange) 0 50%,
    var(--r-red) 0 66.66%, var(--r-purple) 0 83.33%, var(--r-blue) 0 100%
  );
}
.rainbow-thin { height: 12px; }

/* ---------- Windows (System 7) ---------- */
.win {
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  margin: 0;
}
.win-bar {
  position: relative; height: 22px;
  border-bottom: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, #fff 1px 2px) content-box;
  padding: 5px 3px;
}
.win-title {
  background: #fff; padding: 0 8px;
  font-family: var(--pixel); font-size: 11px; line-height: 14px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 75%;
}
.win-close {
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; background: #fff; border: 1px solid var(--ink);
  box-shadow: 0 0 0 2px #fff;
}
.win-close-btn { cursor: pointer; }
.win-close-btn:hover, .win-close-btn:active { background: var(--ink); }
.win-body { padding: 18px 16px; }
.win-body-flush { padding: 0; }
.win-status {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--ink); padding: 6px 10px;
  font-family: var(--pixel); font-size: 11px;
}

/* ---------- Aqua buttons (early OS X) ---------- */
.mac-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px;
  border: 1px solid #6b6b6b; border-radius: 999px;
  background: linear-gradient(#fdfdfd 0%, #efefef 45%, #e2e2e2 55%, #ececec 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 14px -6px rgba(0,0,0,.35);
  font-family: var(--ui); font-size: 16px; font-weight: 500; color: #000;
  text-decoration: none; text-shadow: 0 1px 1px rgba(255,255,255,.8);
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
}
/* the glossy top highlight */
.mac-btn::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 2px; height: 45%;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.15));
}
.mac-btn > span { position: relative; }
.mac-btn:hover { filter: brightness(1.03); }
.mac-btn:active { filter: brightness(.9); }
.mac-btn-default {
  border-color: #1f3f95;
  background: linear-gradient(#cfe4ff 0%, #8fbdf7 45%, #4f95ec 55%, #7fc0ff 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 18px -6px rgba(31,90,200,.55);
}
.tiny-btn {
  width: 26px; height: 22px; border: 1px solid var(--ink); border-radius: 5px; background: #fff;
  font-size: 10px; line-height: 1;
}
.tiny-btn:active { background: var(--ink); color: #fff; }

/* ---------- Menu bar ---------- */
.menubar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border-bottom: 1px solid var(--ink);
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark {
  width: 16px; height: 16px; border: 1px solid var(--ink);
  background: linear-gradient(
    to bottom,
    var(--r-green) 0 16.66%, var(--r-yellow) 0 33.33%, var(--r-orange) 0 50%,
    var(--r-red) 0 66.66%, var(--r-purple) 0 83.33%, var(--r-blue) 0 100%
  );
}
.logo-name { font-family: var(--pixel); font-size: 13px; }
.menu { display: none; }
.menu a {
  font-family: var(--pixel); font-size: 12px; text-decoration: none;
  padding: 4px 10px;
}
.menu a:hover, .menu a.is-active { background: var(--ink); color: #fff; }
.menu-right { display: flex; align-items: center; gap: 14px; font-family: var(--pixel); font-size: 11px; }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 8px; height: 8px; background: var(--up); border: 1px solid var(--ink); }
.status-dot.is-demo { background: var(--r-yellow); }
.status-dot.is-live { animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { background: #fff; } }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--bar-h) + env(safe-area-inset-top) + 40px) var(--gutter) 48px;
  display: grid; gap: 40px;
}
.hero-title {
  margin-top: 16px;
  font-size: clamp(46px, 12.5vw, 100px);
  line-height: .98; letter-spacing: -.025em;
}
.hero-title em { font-style: italic; }
.caret {
  display: inline-block; width: .09em; height: .78em; margin-left: .08em;
  background: var(--ink); vertical-align: -.06em;
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { margin-top: 22px; max-width: 28em; font-size: 21px; color: var(--ink-2); }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }

.hero-win { width: 100%; max-width: 400px; justify-self: center; }
.board { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 15px; }
.board th {
  font-family: var(--pixel); font-size: 10px; font-weight: 400; text-align: right;
  padding: 8px 12px; border-bottom: 1px solid var(--ink);
}
.board td { padding: 11px 12px; text-align: right; border-bottom: 1px dotted var(--gray-2); }
.board th:first-child, .board td:first-child { text-align: left; }
.board td:first-child b { font-weight: 700; }
.board td small { display: block; font-size: 10px; color: var(--muted); font-family: var(--pixel); }
.board tr:last-child td { border-bottom: 0; }
.board tbody tr { cursor: pointer; }
.board tbody tr:hover { background: var(--ink); color: #fff; }
.board tbody tr:hover .is-up, .board tbody tr:hover .is-down, .board tbody tr:hover small { color: #fff; }

/* ---------- Ticker tape ---------- */
.tape {
  background: var(--ink); color: #fff;
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--ink);
}
.tape-track {
  display: inline-flex; padding: 11px 0;
  font-family: var(--mono); font-size: 14px;
  animation: tape var(--tape-dur, 60s) linear infinite;
  will-change: transform;
}
.tape-group { display: inline-flex; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-item { display: inline-flex; gap: 10px; padding: 0 22px; border-right: 1px solid #333; }
.tape-item b { font-weight: 700; }
.tape-item.is-mine b { color: var(--r-yellow); }
.tape .is-up { color: #7ee08f; }
.tape .is-down { color: #ff8a8a; }
.tape .flash-up { animation: tapeUp 1.2s steps(2) 2; }
.tape .flash-down { animation: tapeDown 1.2s steps(2) 2; }
@keyframes tapeUp { 50% { background: #1b5e2b; } }
@keyframes tapeDown { 50% { background: #6e1c1c; } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); }
.section-head { margin-bottom: 32px; }
.section h2 {
  margin-top: 12px;
  font-size: clamp(38px, 9.5vw, 68px);
  line-height: 1.02; letter-spacing: -.02em;
}
.section h2 em { color: var(--muted); }

/* ---------- Under construction placeholders ---------- */
.uc { color: var(--muted); font-style: italic; }
.uc::before {
  content: ""; display: inline-block; width: 18px; height: 9px; margin-right: 8px; vertical-align: 1px;
  background: repeating-linear-gradient(-45deg, var(--r-yellow) 0 3px, var(--ink) 3px 6px);
}
.uc-block { border: 1px solid var(--ink); color: var(--muted); font-style: italic; overflow: hidden; }
.uc-tape {
  display: block; height: 12px; border-bottom: 1px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--r-yellow) 0 8px, var(--ink) 8px 16px);
}
.uc-block p { padding: 18px 16px; }

/* ---------- Chapters ---------- */
.chapters {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
  scrollbar-width: none;
}
.chapters::-webkit-scrollbar { display: none; }
.chapter { scroll-snap-align: center; }
.chapter-video { position: relative; aspect-ratio: 9 / 16; background: var(--gray); }
.chapter-video video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.swipe-hint { margin-top: 4px; text-align: right; font-family: var(--pixel); font-size: 11px; color: var(--muted); }
.chapter-cap { border-top: 1px solid var(--ink); padding: 10px 12px; font-size: 16px; }

/* ---------- Story + memories ---------- */
.story { margin-top: 36px; display: grid; gap: 24px; }
.memories-win { width: 100%; max-width: 420px; justify-self: center; }
.memories {
  position: relative; aspect-ratio: 4 / 5; background: var(--gray); cursor: pointer; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.memories img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s steps(4);
}
.memories img.is-on { opacity: 1; }
.story-body { font-size: 20px; line-height: 1.6; }
.story-body::after { content: ""; display: block; clear: both; }
.story-photo {
  float: left; width: 42%; max-width: 220px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%;
  margin: 4px 18px 10px 0; border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.story-body p + p { margin-top: 1em; }
.facts { margin: 0 0 18px; font-size: 17px; overflow: hidden; }
.facts div { display: grid; grid-template-columns: 1fr; padding: 6px 0; border-bottom: 1px dotted var(--gray-2); }
.facts dt { font-family: var(--pixel); font-size: 10px; color: var(--ink-2); }
.facts dd { margin: 0; line-height: 1.3; }
.why { clear: both; margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); background: #fff; }
.why-q { font-family: var(--pixel); font-size: 11px; margin-bottom: 4px; }
.why p:last-child { font-size: 24px; line-height: 1.25; font-style: italic; }
.story-note { font-style: italic; color: var(--muted); margin-bottom: 16px; }

/* ---------- Picks ---------- */
.about-win { margin-bottom: 26px; }
.demo-note {
  margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--ink);
  background: #fff6dc; font-size: 16px;
}
.about { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.about dt { font-family: var(--pixel); font-size: 11px; color: var(--ink-2); }
.about dd { margin: 2px 0 0; font-family: var(--mono); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.meter {
  margin-top: 18px; height: 14px; border: 1px solid #6b6b6b; border-radius: 999px; overflow: hidden;
  background: linear-gradient(#e6e6e6, #fafafa);
}
.meter span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.28) 0 6px, transparent 6px 12px),
    linear-gradient(#cfe4ff 0%, #8fbdf7 45%, #4f95ec 55%, #7fc0ff 100%);
  background-size: 17px 100%, 100% 100%;
  animation: barber 1s linear infinite;
  transition: width 1s ease;
}
@keyframes barber { to { background-position: 17px 0, 0 0; } }

.radios { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; }
.radio {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  font-family: var(--ui); font-size: 16px;
}
.radio::before {
  content: ""; width: 16px; height: 16px; border: 1px solid #6b6b6b; border-radius: 50%;
  background: linear-gradient(#fdfdfd, #dcdcdc);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.radio.is-on::before {
  border-color: #1f3f95;
  background: radial-gradient(circle at 50% 50%, #111 0 2.5px, transparent 3px),
              linear-gradient(#cfe4ff 0%, #8fbdf7 45%, #4f95ec 55%, #7fc0ff 100%);
}

.picks { display: grid; gap: 22px; }
.pick-body { display: grid; gap: 14px; }
.pick-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pick-co { font-size: 20px; }
.badge {
  font-family: var(--pixel); font-size: 10px; padding: 3px 7px; border: 1px solid var(--ink); white-space: nowrap;
}
.badge-holding { background: var(--ink); color: #fff; }
.pick-ret { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ret { font-family: var(--mono); font-size: 38px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.is-up { color: var(--up); }
.is-down { color: var(--down); }
.alpha { font-family: var(--mono); font-size: 13px; }
.pick-grid {
  margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border-top: 1px dotted var(--ink); padding-top: 12px;
}
.pick-grid dt { font-family: var(--pixel); font-size: 10px; color: var(--ink-2); }
.pick-grid dd { margin: 2px 0 0; font-family: var(--mono); font-size: 14px; }
.pick-thesis { font-size: 17px; color: var(--ink-2); }
.pick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pick-actions .mac-btn { flex: 1 1 120px; min-height: 42px; font-size: 12px; padding: 0 12px; }
.flash { animation: flash .6s steps(2) 2; }
@keyframes flash { 50% { background: var(--ink); color: #fff; } }
.updated { margin-top: 18px; font-family: var(--pixel); font-size: 11px; color: var(--muted); }

/* ---------- Read Me ---------- */
.rules { margin: 0; padding-left: 1.3em; display: grid; gap: 22px; }
.rules li::marker { font-family: var(--pixel); font-size: 14px; }
.rules h3 { font-size: 26px; line-height: 1.15; margin-bottom: 4px; }
.rules p { color: var(--ink-2); }

/* ---------- Journal (Finder list view) ---------- */
.finder-info {
  display: flex; justify-content: center; padding: 4px 10px; border-bottom: 1px solid var(--ink);
  font-family: var(--pixel); font-size: 11px;
}
.finder-head, .finder-row {
  display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; padding: 0 12px;
}
.finder-head {
  height: 26px; border-bottom: 1px solid var(--ink);
  font-family: var(--pixel); font-size: 11px;
}
.finder-list { min-height: 120px; }
.finder-row {
  width: 100%; min-height: 56px; text-align: left; border-bottom: 1px dotted var(--gray-2);
}
.finder-row:hover, .finder-row:focus-visible { background: var(--ink); color: #fff; outline: none; }
.finder-name { display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.25; padding: 10px 0; }
.finder-name svg { width: 16px; height: 16px; flex: none; }
.finder-name svg path { fill: #fff; stroke: currentColor; }
.finder-row:hover svg path { fill: var(--ink); }
.finder-date { font-family: var(--mono); font-size: 12px; }

/* ---------- Footer ---------- */
.footer-in { max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 36px; }
.footer-sig { font-size: 44px; font-style: italic; letter-spacing: -.02em; line-height: 1; }
.footer-links { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; font-size: 19px; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { background: var(--ink); color: #fff; text-decoration: none; }
.no-linkedin { color: var(--muted); font-style: italic; }
.no-linkedin::before { content: "⌧ "; font-style: normal; }
.disclaimer { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 44em; }
.fine { margin-top: 12px; font-family: var(--pixel); font-size: 10px; color: var(--muted); }

/* ---------- Mobile bottom bar ---------- */
.bottombar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1px solid var(--ink);
  box-shadow: 0 -2px 0 var(--ink) inset, 0 -1px 0 #fff;
}
.bottombar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; font-family: var(--pixel); font-size: 10px;
  margin: 6px 3px; border-radius: 6px;
}
.bottombar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.bottombar a.is-active { background: var(--ink); color: #fff; }

/* ---------- Dialog / sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: none; }
.sheet.is-open { display: block; }
.sheet-scrim {
  position: absolute; inset: 0;
  background-image: conic-gradient(rgba(0,0,0,.55) 25%, transparent 0 50%, rgba(0,0,0,.55) 0 75%, transparent 0);
  background-size: 2px 2px;
}
.sheet-win {
  position: absolute; left: 10px; right: 10px;
  top: calc(env(safe-area-inset-top) + 20px); bottom: calc(env(safe-area-inset-bottom) + 20px);
  display: flex; flex-direction: column; box-shadow: 3px 3px 0 var(--ink);
}
.sheet-win .win-close-btn { width: 15px; height: 15px; }
.sheet-body { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; padding: 20px 16px 28px; }
.sheet-body h2 { font-size: 36px; line-height: 1.05; letter-spacing: -.02em; }
body.sheet-lock { overflow: hidden; }

.proof { border-top: 1px solid var(--ink); padding: 18px 0; }
.proof:first-of-type { margin-top: 18px; }
.proof h3 { font-family: var(--pixel); font-size: 13px; margin-bottom: 8px; }
.proof p { color: var(--ink-2); font-size: 17px; }
.proof .mac-btn { margin-top: 12px; }
.hash {
  margin-top: 10px; padding: 10px 12px; border: 1px solid var(--ink); background: #fff;
  font-family: var(--mono); font-size: 12px; word-break: break-all; line-height: 1.5;
  box-shadow: inset 1px 1px 0 var(--gray-2);
}
.proof .hash-src { margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); word-break: break-word; }
.verify-row { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.verify-row input {
  flex: 1; min-width: 0; min-height: 42px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--mono); font-size: 12px;
}
.verify-row .mac-btn { margin: 0; min-height: 42px; }
.proof .verify-msg { margin-top: 8px; font-size: 17px; }
.receipt-img { margin-top: 12px; border: 1px solid var(--ink); width: 100%; }
.receipt-empty { margin-top: 12px; }

.article { max-width: 620px; margin: 0 auto; }
.article .finder-date { display: block; margin-bottom: 10px; }
.article-body { margin-top: 22px; font-size: 20px; line-height: 1.65; color: var(--ink-2); }
.article-body > * + * { margin-top: 1em; }
.article-body h2 { font-size: 30px; margin-top: 1.4em; color: var(--ink); }
.article-body h3 { font-size: 24px; margin-top: 1.2em; color: var(--ink); }
.article-body blockquote { margin-left: 0; padding-left: 16px; border-left: 3px solid var(--ink); font-style: italic; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body a { color: var(--ink); }
.article-body strong { color: var(--ink); }

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 780px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .bottombar { display: none; }
  .menu { display: flex; gap: 2px; }
  .hero { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 56px; padding-top: calc(var(--bar-h) + 80px); padding-bottom: 80px; }
  .section { padding: 110px var(--gutter); }
  .chapters { grid-auto-columns: calc((100% - 48px) / 3.3); gap: 24px; margin: 0; padding: 4px 4px 18px 0; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
  .chapters::-webkit-scrollbar { display: block; height: 8px; }
  .chapters::-webkit-scrollbar-thumb { background: var(--ink); }
  .chapter { scroll-snap-align: start; }
  .facts div { grid-template-columns: 130px 1fr; align-items: baseline; }
  .story { grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
  .about { grid-template-columns: repeat(4, 1fr); }
  .picks { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .finder-head, .finder-row { grid-template-columns: 1fr 140px; }
  .sheet-win { left: 50%; right: auto; width: min(680px, calc(100vw - 64px)); transform: translateX(-50%); top: 7vh; bottom: 7vh; }
  .sheet-body { padding: 30px 36px 36px; }
}

@media (min-width: 1080px) {
  .picks { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
