/* Oh Gus, Steam dark. Outside the receipt: Steam navy and sky blue.
   Inside the receipt: paper, ink, marker yellow, stamp red. Pixel type only on the logo and the receipt. */
:root {
  color-scheme: dark;
  --bg: #1b2838; --deep: #16202d; --card: #213247; --line: #0b1118; --edge: #31475d;
  --text: #e6eef5; --sub: #a3b6c6; --soft: #c7d5e0; --mute: #5b7389;
  --sky: #66c0f4; --on-sky: #0b1a28; --tint: #16324a; --input: #142030;
  --paper: #fffdf8; --ink: #252925; --ink-2: #5d635d; --rule: #c9c4b6; --well: #f6f4ec; --cell: #e4e0d4; --label: #1f6fb2;
  --mark: #ffe066; --stamp: #c8372d; --bad: #e0634b;
  --sans: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Galmuri11", var(--sans); --pixel-14: "Galmuri14", var(--pixel);
  --mono: "GalmuriMono11", "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); word-break: keep-all; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button, a, summary, label[for] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark { background: linear-gradient(var(--mark), var(--mark)) 0 88% / 100% 46% no-repeat; color: inherit; padding: 0 2px; }
.dark mark, .on-dark mark { color: var(--on-sky); }

/* buttons: toy keys with a dark base under them */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border: 3px solid var(--line); border-radius: 14px; background: var(--sky); color: var(--on-sky); font-size: 17px; font-weight: 850; white-space: nowrap; text-decoration: none; box-shadow: 0 4px 0 0 var(--line), inset 0 3px 0 0 rgba(255,255,255,.18); transition: transform .08s ease-out, box-shadow .08s ease-out; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 0 var(--line); }
.btn-ghost { background: var(--card); color: var(--text); box-shadow: 0 4px 0 0 var(--line); }
.btn-small { min-height: 36px; padding: 0 12px; border-width: 2px; border-radius: 10px; font-size: 13px; box-shadow: 0 3px 0 0 var(--line); }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link { padding: 4px 2px; border: 0; background: none; color: var(--soft); font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { color: var(--sky); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(20px, 4vw, 40px); }
.brand { font: 22px/1 var(--pixel); color: var(--text); text-decoration: none; }
.top-tools { display: flex; gap: 8px; }

/* hero card */
.wrap { width: min(600px, 100%); margin: 0 auto; }
.hero { padding: 24px 20px 0; }
.gus-pose { position: relative; z-index: 2; width: 220px; aspect-ratio: 600 / 787; margin: 0 auto -60.1px; }
.card { position: relative; z-index: 1; padding: 40px clamp(20px, 5vw, 36px) 28px; background: var(--card); border: 3px solid var(--line); border-radius: 22px; box-shadow: 0 7px 0 0 var(--line); }
.nametag { position: absolute; top: -15px; left: 22px; padding: 2px 10px; border: 3px solid var(--line); border-radius: 9px; background: var(--sky); color: var(--on-sky); font-size: 12px; font-weight: 850; letter-spacing: .08em; line-height: 1.5; }
.hero h1 { margin: 0; font-size: clamp(23px, 4.6vw, 29px); font-weight: 850; line-height: 1.36; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 mark { color: var(--on-sky); }
.field-label { display: block; margin: 26px 0 8px; font-size: 14px; font-weight: 750; color: var(--soft); }
.field { display: flex; flex-wrap: wrap; gap: 12px; }
.input { flex: 999 1 220px; min-width: 0; height: 56px; padding: 0 16px; border: 3px solid var(--line); border-radius: 14px; background: var(--input); color: var(--text); font-size: 16px; }
.input::placeholder { color: var(--mute); }
.input:focus { outline: none; border-color: var(--sky); }
.field .btn { flex: 1 0 auto; }
.helper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font-size: 13.5px; color: var(--sub); }
.where summary { list-style: none; color: var(--sky); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.where summary::-webkit-details-marker { display: none; }
.where-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.where-list li { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 14px; background: var(--bg); }
.where-list b { font-size: 13px; color: var(--sky); }
.where-list span { font-size: 13.5px; color: var(--soft); }
.error { margin: 12px 0 0; color: var(--bad); font-size: 14px; font-weight: 700; }
.center { margin: 24px 0 0; text-align: center; }

/* sections */
.section { padding: 112px 20px 0; }
.section h2 { margin: 0; font-size: 26px; font-weight: 850; letter-spacing: -.035em; text-align: center; }
.section .sub { margin: 6px 0 32px; color: var(--sub); font-size: 15px; text-align: center; }

/* title wall: full-bleed, slow slide */
.wall { overflow: hidden; margin: 0 calc(50% - 50vw); padding: 20px 0 10px; }
.track { display: flex; gap: 24px; width: max-content; margin: 0; padding: 0 12px; list-style: none; animation: wall 74s linear infinite; }
.wall:hover .track, .wall:focus-within .track { animation-play-state: paused; }
@keyframes wall { to { transform: translateX(-50%); } }
.tcard { flex: 0 0 264px; width: 264px; display: grid; gap: 14px; align-content: start; }
.tcard > a { display: block; color: inherit; text-decoration: none; }
.tcard:nth-child(odd) > a { transform: rotate(-1.2deg); }
.tcard:nth-child(even) > a { transform: rotate(1.2deg); }
.review { margin: 4px 0 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: 4px 16px 16px 16px; background: var(--card); font-size: 14px; line-height: 1.5; box-shadow: 0 4px 0 0 var(--line); }
.review-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 12px; color: var(--sub); }
.review-head b { color: var(--sky); font-weight: 800; }
.chip { padding: 0 6px; border: 1px solid var(--mute); border-radius: 6px; font-size: 11px; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; max-width: 960px; margin: 0 auto; padding: 0; list-style: none; }
.how li { display: grid; gap: 14px; align-content: start; padding: 18px; background: var(--card); border: 3px solid var(--line); border-radius: 20px; box-shadow: 0 6px 0 0 var(--line); }
.how .art { position: relative; height: 132px; border-radius: 12px; background: var(--bg); overflow: hidden; }
.how b { display: block; font-size: 17px; font-weight: 850; }
.how span { font-size: 14.5px; color: var(--soft); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 640px; margin: 20px auto 0; }
.faq details { padding: 18px 22px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-size: 16px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--sky); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; font-size: 15px; line-height: 1.7; color: var(--soft); }

/* bottom CTA */
.again { max-width: 760px; margin: 0 auto; padding: 36px clamp(20px, 5vw, 44px); border: 3px solid var(--line); border-radius: 26px; background: var(--line); display: grid; gap: 20px; box-shadow: 0 7px 0 0 #05080c; }
.again-head { display: flex; align-items: center; gap: 16px; }
.again-head img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 16px; border: 3px solid var(--paper); background: #fff; }
.again h2 { margin: 0; font-size: clamp(22px, 4vw, 28px); font-weight: 900; letter-spacing: -.035em; line-height: 1.3; text-align: left; }
.again h2 small { display: block; font-size: .64em; font-weight: 700; color: var(--sub); letter-spacing: -.02em; }
.again .input { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.again .btn { border-color: var(--paper); box-shadow: 0 4px 0 0 var(--paper); }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 88px auto 0; padding: 24px 20px 40px; border-top: 2px solid var(--edge); color: var(--sub); font-size: 13px; }
.foot .brand { font-size: 13px; margin-right: 10px; }

/* app screens (intake, pick, wait, report) */
.screen { width: min(520px, 100%); margin: 0 auto; padding: 8px 20px 0; display: grid; gap: 18px; }
.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.progress li { display: grid; gap: 5px; font-size: 12px; font-weight: 650; color: var(--sub); }
.progress i { height: 6px; border-radius: 3px; background: var(--edge); }
.progress li.on i { background: var(--sky); }
.progress li[aria-current] { color: var(--text); font-weight: 800; }
.bubble { display: flex; align-items: flex-start; gap: 12px; }
.bubble img { flex: 0 0 52px; width: 52px; height: 52px; object-fit: cover; border-radius: 14px; border: 2px solid var(--line); background: #fff; }
.bubble div { flex: 1; padding: 12px 14px; background: var(--card); border: 3px solid var(--line); border-radius: 4px 18px 18px 18px; box-shadow: 0 4px 0 0 var(--line); }
.bubble p { margin: 0; font-size: 17px; font-weight: 850; line-height: 1.4; letter-spacing: -.02em; }
.bubble p + p { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--sub); }
.panel { display: grid; gap: 14px; padding: 16px; background: var(--card); border: 3px solid var(--line); border-radius: 20px; box-shadow: 0 6px 0 0 var(--line); }
.panel h2 { margin: 0; font-size: 17px; font-weight: 900; }
.panel-label { margin: 0; font-size: 13px; font-weight: 750; color: var(--sub); }
.cover { position: relative; display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 8px; background: var(--deep); }
.cover-wrap { position: relative; }
.cover-wrap b { position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(11, 17, 24, .85); color: var(--paper); font-size: 11px; }
.covers3 { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 8px; }
.covers3 .cover-wrap:first-child { grid-row: span 2; }
.covers3 .cover-wrap:first-child .cover { height: 100%; aspect-ratio: auto; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; text-align: center; }
.stats3 div { padding: 10px 4px; border-radius: 12px; background: var(--bg); }
.stats3 dt { font-size: 12px; color: var(--sub); }
.stats3 dd { margin: 0; font-size: 20px; font-weight: 900; }
.checks { margin: 0; padding: 4px 16px; list-style: none; background: var(--card); border: 3px solid var(--line); border-radius: 18px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.checks li + li { border-top: 2px solid var(--edge); }
.checks span:nth-child(2) { flex: 1; font-size: 15px; font-weight: 700; }
.checks .ok { color: var(--sky); } .checks .no { color: var(--bad); } .checks .na { color: var(--sub); }
.checks em { font-style: normal; font-size: 13.5px; font-weight: 750; }
.fix { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: fix; }
.fix li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; counter-increment: fix; }
.fix li::before { content: counter(fix); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--line); color: var(--paper); font-size: 14px; font-weight: 800; }
.recheck { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 2px solid var(--line); }
.ring { --p: 0; flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--sky) calc(var(--p) * 1%), var(--edge) 0); }
.ring span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card); font-size: 14px; font-weight: 900; }
.recheck p { flex: 1; margin: 0; font-size: 14px; font-weight: 700; }
.paste { display: grid; gap: 10px; }
.paste textarea { min-height: 120px; padding: 12px 14px; border: 3px solid var(--line); border-radius: 14px; background: var(--input); color: var(--text); font: 13px/1.6 var(--mono); resize: vertical; }
.actions { display: grid; gap: 8px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pick { position: relative; display: grid; gap: 6px; padding: 6px 6px 8px; border: 3px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); text-align: left; box-shadow: 0 4px 0 0 var(--line); }
.pick span { display: flex; justify-content: space-between; gap: 6px; padding: 0 2px; }
.pick b { font-size: 13.5px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pick small { font-size: 12px; color: var(--sub); white-space: nowrap; }
.pick[aria-pressed="true"] { border-color: var(--sky); background: var(--tint); transform: translateY(3px); box-shadow: 0 1px 0 0 var(--sky); }

/* wait: cover wall */
.wall-box { position: relative; height: min(56vh, 460px); padding: 10px; border: 3px solid var(--line); border-radius: 20px; background: var(--line); overflow: hidden; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; height: 100%; }
.col { overflow: hidden; }
.roll { display: flex; flex-direction: column; gap: 8px; animation: roll 16s linear infinite; }
.col:nth-child(2) .roll { animation-duration: 20s; } .col:nth-child(3) .roll { animation-duration: 13s; }
@keyframes roll { to { transform: translateY(calc(-50% - 4px)); } }
.read-half { position: absolute; left: 0; right: 0; top: 0; height: 46%; backdrop-filter: grayscale(1) contrast(1.8) brightness(1.15); -webkit-backdrop-filter: grayscale(1) contrast(1.8) brightness(1.15); background: radial-gradient(circle, transparent .8px, rgba(255,253,248,.42) 1.3px) 0 0 / 3.5px 3.5px; }
.beam { position: absolute; left: 0; right: 0; top: 46%; height: 40px; transform: translateY(-50%); background: rgba(102,192,244,.4); box-shadow: inset 0 3px 0 var(--sky), inset 0 -3px 0 var(--sky); animation: beam 1.6s ease-in-out infinite; }
.beam img { position: absolute; right: 8px; top: -6px; width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); background: #fff; }
@keyframes beam { 50% { opacity: .75; } }
.clue { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--paper); color: var(--ink); border: 3px solid var(--line); border-radius: 16px; box-shadow: 0 5px 0 0 #05080c; animation: rise .35s cubic-bezier(.2,.8,.3,1) both; }
.clue img { flex: 0 0 84px; width: 84px; aspect-ratio: 460/215; object-fit: cover; border-radius: 6px; filter: grayscale(1) contrast(1.6); }
.clue b { display: block; font: 400 11px var(--pixel); color: var(--label); }
.clue span span { display: block; font-size: 15px; font-weight: 850; line-height: 1.35; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.count-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; font-weight: 750; color: var(--sub); }
.count-row b { font: 400 26px var(--mono); color: var(--text); }
.bar { height: 14px; padding: 2px; border: 2px solid var(--line); border-radius: 8px; background: var(--card); }
.bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 10px); transition: width .3s steps(6); }

/* receipt (inside: paper world) */
.printer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 16px; border-radius: 14px; background: var(--line); color: #9fd8ff; font: 11px var(--pixel); letter-spacing: .08em; }
.printer i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 4px; background: var(--sky); }
.paper-clip { margin: -12px 18px 0; overflow: hidden; padding: 0 0 20px; }
.receipt { position: relative; padding: 30px 22px; background: var(--paper); color: var(--ink); font: 13px/1.75 var(--mono); overflow-wrap: anywhere; box-shadow: 0 1px 0 #e3dfd3, 0 12px 20px -10px rgba(0,0,0,.5); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(90deg, var(--paper) 50%, transparent 0) 0 0 / 16px 8px; }
.receipt mark { color: inherit; }
.r-head { text-align: center; font: 400 20px var(--pixel-14); letter-spacing: .04em; }
.r-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 12px; }
.r-rule { height: 3px; margin: 14px 0 18px; background: linear-gradient(90deg, var(--rule) 50%, transparent 0) 0 0 / 9px 3px; }
.r-label { margin: 0; font-size: 12px; color: var(--label); }
.r-titlebox { position: relative; padding-right: 96px; }
.r-title { margin: 4px 0 0; font: 900 27px/1.28 var(--sans); letter-spacing: -.04em; }
.r-title .gyeom { color: var(--ink-2); font-weight: 700; font-size: 20px; }
.stamp { position: absolute; right: -4px; top: -6px; display: grid; place-items: center; width: 92px; height: 92px; border: 3px solid var(--stamp); border-radius: 50%; color: var(--stamp); transform: rotate(-14deg); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--stamp); opacity: .92; font: 900 17px/1.1 var(--sans); text-align: center; }
.stamp small { display: block; margin-top: 3px; font: 9px var(--pixel); letter-spacing: .08em; }
.codebar { display: flex; align-items: flex-end; gap: 1.5px; height: 58px; margin-top: 22px; }
.codebar i { flex: var(--w) 0 0; min-width: 1px; height: 58px; background: var(--ink); transform-origin: bottom; }
.codebar i.t { background: repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 4px); }
.codebar i.z { height: 22px; background: #b9b4a6; }
.code-cap { display: grid; gap: 2px; margin-top: 8px; }
.code-cap > span:first-child { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: .06em; }
.code-cap small { font: 12px/1.5 var(--sans); color: var(--ink-2); }
.dots5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.dots5 li { display: grid; gap: 3px; font-size: 10.5px; line-height: 1.3; }
.dot { position: relative; display: block; overflow: hidden; aspect-ratio: 460 / 215; background: var(--paper); }
.dot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.6) brightness(1.1); mix-blend-mode: multiply; }
.dot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent .7px, var(--paper) 1.2px) 0 0 / 3px 3px; opacity: .6; }
.dot.hot { outline: 2px solid var(--ink); outline-offset: 1px; }
.persona { margin-top: 20px; padding: 16px 14px; background: var(--well); }
.persona-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.persona-head span:first-child { color: var(--label); } .persona-head span:last-child { color: var(--ink-2); }
.persona-code { margin: 6px 0 2px; font: 900 25px/1.25 var(--sans); letter-spacing: -.035em; }
.persona-type { margin: 0 0 12px; font: 750 14.5px var(--sans); }
.meters { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.meter { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; align-items: center; }
.meter b { font: 600 12.5px var(--sans); color: var(--ink-2); }
.meter b.on { font-weight: 900; color: var(--ink); }
.meter b:last-child { text-align: right; }
.cells { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; }
.cells i { height: 10px; background: var(--cell); }
.cells i.f { background: var(--ink); }
.meters small { font-size: 11px; color: var(--ink-2); }
.prose { margin: 14px 0 0; font: 16px/1.8 var(--sans); }
.byline { display: flex; align-items: center; gap: 12px; font-family: var(--sans); }
.byline img { width: 44px; height: 44px; object-fit: cover; border: 2px solid var(--ink); border-radius: 12px; background: #fff; }
.byline b { display: block; font-size: 12px; font-weight: 850; letter-spacing: .08em; color: var(--label); }
.byline small { display: block; color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.r-stage { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--label); font: 12px var(--pixel); }
.r-stage img { width: 38px; height: 38px; object-fit: contain; }
.r-h { margin: 6px 0 12px; font: 850 21px/1.35 var(--sans); letter-spacing: -.02em; }
.rows { display: grid; gap: 4px; padding: 12px 14px; background: var(--well); font-size: 13px; }
.row { display: flex; gap: 10px; align-items: baseline; }
.row .lead { flex: 1; min-width: 12px; height: 2px; transform: translateY(-4px); background: linear-gradient(90deg, var(--rule) 50%, transparent 0) 0 0 / 6px 2px; }
.row .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cut { max-height: 7.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.pick-note { margin: 16px 0 0; padding: 10px 12px; background: var(--well); font: 14px/1.6 var(--sans); }

/* paid chapter visuals (inside the paper) */
.yearcols { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 2px; margin: 4px 0 0; }
.yearcols > div { display: grid; justify-items: center; align-content: end; gap: 3px; }
.yearcols span { display: flex; flex-direction: column-reverse; gap: 2px; }
.yearcols i { width: 8px; height: 6px; background: var(--ink); }
.yearcols .hot i { background: var(--stamp); }
.yearcols small { font-size: 9.5px; color: var(--ink-2); }
.yearcols .hot small { color: var(--stamp); font-weight: 700; }
.vs { display: grid; gap: 12px; }
.vs-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.vs-row > span:last-child { display: grid; gap: 2px; }
.vs-row b { font: 850 14px var(--sans); }
.vs-row > span:last-child > span { display: flex; justify-content: space-between; gap: 8px; }
.vs-row > span:last-child > span > span:first-child { color: var(--ink-2); }
.timeline { display: grid; gap: 8px; }
.tl-axis { display: flex; justify-content: space-between; margin: 0; font-size: 11px; color: var(--ink-2); }
.tl-row { display: grid; grid-template-columns: 96px 1fr 56px; gap: 8px; align-items: center; }
.tl-row > span:last-child { text-align: right; }
.tl-track { position: relative; height: 12px; background: repeating-linear-gradient(90deg, var(--cell) 0 1px, transparent 1px calc(100% / var(--yrs))); }
.tl-track i { position: absolute; top: 2px; height: 8px; background: var(--ink); }
.rx { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; }
.rx b { display: block; font: 850 17px/1.35 var(--sans); }
.rx small { color: var(--ink-2); }

/* paywall (outside the paper) */
.pay { margin-top: 8px; padding: 30px clamp(20px, 5vw, 30px) 28px; background: var(--card); border: 3px solid var(--line); border-radius: 22px; box-shadow: 0 7px 0 0 var(--line); }
.pay h2 { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -.035em; line-height: 1.3; }
.pay > p { margin: 6px 0 20px; font-size: 15px; color: var(--sub); }
.pay .btn { min-height: 60px; font-size: 18px; }
.price { padding: 2px 10px; border-radius: 8px; background: rgba(11,26,40,.14); font-size: 15px; }
.pay h3 { margin: 28px 0 12px; font-size: 14px; font-weight: 800; color: var(--sky); }
.locked { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.locked li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 92px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.locked b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.locked li > span > span { font-size: 14px; color: var(--sub); }
.thumb { display: block; overflow: hidden; width: 92px; aspect-ratio: 460 / 215; border-radius: 8px; border: 2px solid var(--line); background: var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: blur(2.5px) saturate(1.1); transform: scale(1.12); }
.thumb.q { display: grid; place-items: center; border-style: dashed; border-color: var(--mute); background: var(--deep); color: var(--sub); font-weight: 900; }
.blur { filter: blur(5px); user-select: none; }
.share { display: grid; gap: 10px; margin-top: 36px; text-align: center; }
.share p { margin: 0; font-size: 14px; color: var(--sub); }
.share div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.share .btn { flex: 1 1 160px; min-height: 50px; font-size: 15px; }
.toast { margin: 0; min-height: 1.5em; text-align: center; font-size: 14px; font-weight: 700; color: var(--sky); }

/* reveal: print, tear, stamp, barcode (once) */
.reveal .receipt { animation: print 1.2s steps(12, end) both; }
.reveal .paper-clip > .receipt { transform-origin: 50% 0; }
.reveal .stamp { animation: stamp .4s cubic-bezier(.3,1.4,.5,1) 1.6s both; }
.reveal .codebar i { animation: bar .5s cubic-bezier(.2,.8,.3,1) both; animation-delay: calc(2s + var(--i) * 12ms); }
.reveal .dots5 li { animation: rise .4s ease-out both; animation-delay: calc(2.6s + var(--i) * 80ms); }
@keyframes print { from { transform: translateY(-102%); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.45); } 60% { opacity: .95; transform: rotate(-14deg) scale(.94); } to { opacity: .92; transform: rotate(-14deg) scale(1); } }
@keyframes bar { from { transform: scaleY(0); } }

@media (max-width: 480px) {
  .r-titlebox { padding-right: 78px; }
  .r-title { font-size: 23px; }
  .stamp { width: 76px; height: 76px; font-size: 14px; }
}

/* motion off: user setting or OS */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still .wall { overflow-x: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wall { overflow-x: auto; }
}
