/* Pimoit · Explore (v2 base, v4 layer at the end). Lamplight world. Display: Cormorant and Cinzel (the app's own faces). Text: Alegreya Sans. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/cinzel-latin.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-700-latin.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --ground: #1B1611; --ground-2: #211A13; --panel: #2A2119; --panel-2: #33291E; --line: #4E3F2C; --frame: #6B5634;
  --ink: #F2E8D5; --ink-2: #CDBFA6; --ink-3: #A8987C;
  --gold: #D4AF37; --gold-hi: #E8C964; --flame: #E07A2E; --ok: #8FCB93; --err: #F0998C;
  --display: 'Cormorant Garamond', Georgia, serif; --caps: 'Cinzel', Georgia, serif; --text: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(18px, 5vw, 40px);
}
* { box-sizing: border-box; }
section[id], [id^="s-"], #main { scroll-margin-top: 76px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--frame) var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; touch-action: manipulation; -webkit-tap-highlight-color: rgba(212, 175, 55, .18); caret-color: var(--gold); }
::selection { background: var(--gold); color: var(--ground); }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-hi); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 6.2vw, 3.7rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ground); padding: 10px 14px; border-radius: 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.skip:hover { color: var(--ground); }
.caps { font-family: var(--caps); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; }
.soft { color: var(--ink-2); }
.dim { color: var(--ink-3); font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- bar ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: rgba(27, 22, 17, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(78, 63, 44, .7); padding-top: env(safe-area-inset-top); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 26px var(--display); }
.brand img { width: 26px; height: 26px; }
.bar a.ask { font: 600 .72rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; padding: 10px 2px; }

/* ---------- the poster ---------- */
.hero { padding: 18px var(--gutter) 72px; display: grid; justify-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -40% auto; height: 760px; background: radial-gradient(50% 50% at 50% 30%, rgba(212, 175, 55, .13), transparent 70%); pointer-events: none; }
.poster { position: relative; width: min(100%, 560px); background: linear-gradient(180deg, #2A2017, #211A13 55%); border: 1px solid var(--frame); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 2px 0 rgba(242, 232, 213, .04) inset; }
.art { position: relative; aspect-ratio: 4 / 2.6; background: radial-gradient(70% 80% at 50% 70%, #3A2C1C, #1E1712 75%); border-bottom: 1px solid rgba(107, 86, 52, .6); }
.art svg { width: 100%; height: 100%; }
.stamp { position: absolute; left: 18px; top: 18px; color: var(--ground); background: var(--flame); padding: 6px 12px 5px; border-radius: 999px; }
.glow { opacity: 1; animation: light 1400ms var(--ease-out) both; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: settle 1100ms var(--ease-out) 200ms both; }
@keyframes light { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: scale(.92); } }
.poster-body { padding: 26px clamp(20px, 5vw, 34px) 26px; }
.poster h1 { font-size: clamp(3.1rem, 13vw, 5.4rem); line-height: .95; letter-spacing: -0.02em; }
.poster h1 span { color: var(--gold-hi); }
.poster .lede { font-size: 1.06rem; color: var(--ink-2); margin: 16px 0 0; max-width: 34ch; }
.count { margin: 22px 0 18px; }
.count-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.count-row div { border: 1px solid var(--line); border-radius: 14px; background: rgba(27, 22, 17, .55); text-align: center; padding: 10px 8px 8px; }
.count-row b { display: block; font: 600 2rem/1 var(--display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.count-row span { font-size: .6rem; color: var(--ink-3); }
.count .caps { color: var(--ink-3); }

.ticket { position: relative; display: flex; width: 100%; align-items: stretch; min-height: 62px; border: 0; padding: 0; background: none; cursor: pointer; text-decoration: none; transition: transform 160ms var(--ease-out); }
.ticket:active { transform: scale(.97); }
.ticket .main, .ticket .stub { display: flex; align-items: center; background: var(--gold); color: var(--ground); transition: transform 220ms var(--ease-out), background-color 160ms ease; }
.ticket .main { flex: 1; padding: 0 20px; border-radius: 14px 0 0 14px; font: 700 1.05rem var(--text); text-align: left; }
.ticket .stub { padding: 0 18px; border-radius: 0 14px 14px 0; background-image: linear-gradient(rgba(27, 22, 17, .5) 55%, transparent 55%); background-size: 2px 9px; background-repeat: repeat-y; background-position: left center; font: 700 .72rem var(--caps); letter-spacing: .14em; }
a.ticket, a.ticket:hover, a.btn, a.btn:hover { color: var(--ground); }
@media (hover: hover) { .ticket:hover .main, .ticket:hover .stub { background-color: var(--gold-hi); } }
.ticket.torn .stub { transform: translateX(10px) rotate(4deg); }
.ticket .main::before, .ticket .main::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #221A13; right: 57px; }
.ticket .main::before { top: -7px; } .ticket .main::after { bottom: -7px; }
@media (min-width: 861px) {
  .hero { padding-top: 14px; }
  .poster { width: min(100%, 720px); }
  .art { aspect-ratio: 4 / 1.5; }
  .poster h1 { font-size: 4.5rem; }
  .act { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; margin-top: 18px; }
  .act .count { margin: 0; }
}
.by { margin: 16px 0 0; font-size: .92rem; color: var(--ink-2); }
.billing { border-top: 1px solid rgba(107, 86, 52, .6); padding: 14px clamp(20px, 5vw, 34px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--ink-3); }

/* ---------- scenes ---------- */
section { padding: clamp(72px, 11vw, 120px) 0; }
section.tint { background: var(--ground-2); }
.scene { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(36px, 7vw, 88px); align-items: center; }
.scene.flip { grid-template-columns: 300px minmax(0, 1fr); }
.scene.flip .device { order: -1; }
.scene h2 { margin-bottom: 18px; }
.scene .intro { font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.callouts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; counter-reset: c; }
.callouts li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 10px 12px 10px 0; border-radius: 14px; cursor: default; transition: background-color 160ms ease; }
.callouts li::before { content: counter(c); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; font: 600 .82rem var(--caps); transition: background-color 160ms ease, color 160ms ease; }
.callouts li.on::before { background: var(--gold); color: var(--ground); }
.callouts li b { color: var(--ink); font-weight: 600; }
.callouts li span { color: var(--ink-2); }
.device { position: relative; width: 300px; justify-self: center; }
.phone { position: relative; aspect-ratio: 480 / 1041; border-radius: 42px; border: 9px solid #0E0B08; box-shadow: 0 0 0 1.5px var(--frame), 0 40px 70px -25px rgba(0, 0, 0, .8); overflow: hidden; background: var(--ground); }
.phone img { width: 100%; height: auto; }
.pin { position: absolute; right: -15px; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--gold); color: var(--ground); display: grid; place-items: center; font: 700 .8rem var(--caps); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.9); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), box-shadow 160ms ease; transition-delay: calc(var(--i, 0) * 70ms); }
.in .pin { opacity: 1; transform: none; }
.pin.on { box-shadow: 0 0 0 6px rgba(232, 201, 100, .28), 0 6px 14px -4px rgba(0, 0, 0, .6); }
.demo-label { margin-top: 14px; text-align: center; }
.tabs-line { margin-top: 22px; color: var(--ink-3); font-size: .95rem; }
@media (max-width: 860px) {
  .scene, .scene.flip { grid-template-columns: 1fr; }
  .scene .device, .scene.flip .device { order: 2; }
}

/* ---------- the review (playable) ---------- */
.review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(36px, 7vw, 88px); align-items: start; }
@media (max-width: 860px) { .review { grid-template-columns: 1fr; } }
.quiz { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 22px; min-height: 440px; display: flex; flex-direction: column; }
.qtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ring { --p: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 360deg), #3A2E20 0); flex: 0 0 auto; }
.ring b { width: 47px; height: 47px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font: 600 1.4rem var(--display); font-variant-numeric: tabular-nums; }
.score { font-weight: 600; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.qtext { font: 600 1.7rem/1.12 var(--display); background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 12px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answers button { min-height: 84px; text-align: left; display: flex; align-items: flex-end; background: var(--panel-2); border: 1.5px solid var(--line); color: var(--ink); border-radius: 18px; padding: 14px; font: 600 1.25rem/1.1 var(--display); cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.answers button:active { transform: scale(.97); }
.answers button.right { border-color: var(--ok); background: #2C3324; }
.answers button.wrong { border-color: var(--err); }
.answers button[disabled] { cursor: default; }
.verdict { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 14px; background: var(--panel-2); border-radius: 16px; }
.verdict .plus { color: var(--gold-hi); font-weight: 700; }
.qcenter { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; padding: 16px 6px; }
.qcenter .big { font: 600 3rem/1 var(--display); color: var(--gold-hi); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--gold); color: var(--ground); font: 700 1rem var(--text); cursor: pointer; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
@media (hover: hover) { .btn:hover { background: var(--gold-hi); } .btn.quiet:hover { border-color: var(--gold); background: transparent; } .answers button:hover { border-color: var(--gold); } }
.btn:active { transform: scale(.97); }
.btn.quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.results { display: grid; gap: 12px; width: 100%; text-align: left; margin-top: 4px; }
.bar-track { height: 10px; border-radius: 6px; background: #1F1812; overflow: hidden; margin: 6px 0 2px; }
.bar-track i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform 800ms var(--ease-out); }

/* ---------- fine print ---------- */
.fine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 6vw, 72px); margin-top: 36px; }
.fine div { padding: 20px 0; border-top: 1px solid var(--line); }
.fine dt { font: 600 1.45rem/1.15 var(--display); color: var(--ink); margin-bottom: 6px; }
.fine dd { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .fine { grid-template-columns: 1fr; } }

/* ---------- every feature ---------- */
details.all { margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.all > summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font: 600 1.5rem var(--display); }
details.all > summary::-webkit-details-marker { display: none; }
details.all > summary::after { content: '+'; font: 400 1.8rem var(--text); color: var(--gold-hi); transition: transform 200ms var(--ease-out); }
details.all[open] > summary::after { transform: rotate(45deg); }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 6px 0 30px; }
.groups h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--gold-hi); }
.groups ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.groups li { margin: 6px 0; }
.groups li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .groups { grid-template-columns: 1fr; } }

/* ---------- questions ---------- */
.qa { margin-top: 30px; max-width: 820px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font-size: 1.5rem; color: var(--gold-hi); transition: transform 200ms var(--ease-out); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details > div { padding: 0 0 18px; color: var(--ink-2); max-width: 68ch; }
.qa .more { display: none; }
.qa.all-open .more { display: block; }
#moreQ { margin-top: 22px; }

/* ---------- ticket booth (form) ---------- */
.booth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(36px, 7vw, 88px); align-items: start; }
@media (max-width: 860px) { .booth { grid-template-columns: 1fr; } }
form.tform { background: var(--panel); border: 1px solid var(--frame); border-radius: 26px; padding: clamp(20px, 4vw, 30px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink); padding: 0; }
.field input { width: 100%; min-height: 50px; background: #1F1812; border: 1.5px solid var(--line); color: var(--ink); border-radius: 14px; padding: 12px 14px; font: 400 1rem var(--text); transition: border-color 160ms ease; }
.field input::placeholder { color: var(--ink-3); }
.field input:hover { border-color: var(--frame); }
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 175, 55, .25); }
.field.bad input { border-color: var(--err); }
/* Error text has a reserved line, so fixing one field never moves the next one under a finger. */
.field .err { display: block; min-height: 1.35em; visibility: hidden; color: var(--err); font-size: .88rem; line-height: 1.35; }
.field.bad .err { visibility: visible; }
.tform { row-gap: 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
fieldset.field { border: 0; margin: 0; padding: 0; }
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.plat label { position: relative; min-height: 54px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 14px; background: #1F1812; cursor: pointer; font-weight: 600; color: var(--ink); transition: border-color 160ms ease, background-color 160ms ease; }
.plat input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plat label:has(input:checked) { border-color: var(--gold); background: rgba(212, 175, 55, .14); }
.plat label:has(input:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.field.bad .plat label { border-color: var(--err); }
.hp { position: absolute; left: -9999px; }
.tform .btn { width: 100%; min-height: 56px; font-size: 1.05rem; border-radius: 14px; }
.msg { display: none; border-radius: 14px; padding: 14px 16px; }
.msg.ok { display: block; background: #26301F; border: 1px solid #5E7E4F; }
.msg.err { display: block; background: #3A2220; border: 1px solid #8A4A40; }
.trust { margin: 0; color: var(--ink-3); font-size: .88rem; }

/* ---------- footer ---------- */
footer { padding: 64px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #17120E; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer p, footer li { color: var(--ink-2); font-size: .95rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer h3 { font-size: 1.25rem; margin-bottom: 10px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }

/* ---------- sticky ticket (mobile) ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; transform: translateY(140%); transition: transform 320ms var(--ease-out); }
.dock.show { transform: none; }
.dock .ticket { box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .8); }
.dock .ticket .main::before, .dock .ticket .main::after { background: var(--ground); }
@media (min-width: 861px) { .dock { display: none; } }

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

/* ---------- review round fixes ---------- */
.count-label { margin: 0; }
.measure { max-width: 46ch; }
.foot-by { margin-top: 12px; }
.scene .intro, .review .intro, .booth .intro { font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.demo-label { font-size: .8rem; letter-spacing: .02em; }
.quiz { padding-bottom: 28px; }
.score-line { margin: 0; font: 600 1.6rem/1.1 var(--display); color: var(--ink); }
.score-line b { color: var(--gold-hi); }
.bar-track { background: #3A2E20; }
@media (min-width: 861px) { .poster .lede { max-width: 46ch; } }

/* ---------- servants edition (2026-11-28): the four changes, honest reading, a quiet phone ---------- */
.eyebrow { color: var(--flame); margin: 0 0 14px; }
.changes { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.changes a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: border-color 160ms ease, transform 200ms var(--ease-out); }
.changes a:active { transform: scale(.98); }
@media (hover: hover) { .changes a:hover { border-color: var(--gold); color: var(--ink-2); } }
.changes .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; font: 600 .85rem var(--caps); margin-bottom: 6px; }
.changes b { font: 600 1.5rem/1.1 var(--display); color: var(--ink); }
.changes .go { margin-top: auto; padding-top: 10px; font: 600 .7rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.changes .go::after { content: ' ↓'; }
@media (max-width: 960px) { .changes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .changes { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 14px; counter-reset: s; max-width: 52ch; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--frame); color: var(--gold-hi); display: grid; place-items: center; font: 600 .75rem var(--caps); }
.steps b, .plain b { color: var(--ink); font-weight: 600; }
.plain { padding-left: 18px; margin: 20px 0 0; display: grid; gap: 10px; color: var(--ink-2); max-width: 52ch; }

.reader { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.reader-top p { margin: 0; color: var(--ink-3); }
.reader-page { height: 300px; overflow-y: auto; overscroll-behavior: contain; background: #F2E8D5; color: #2A2017; border-radius: 16px; padding: 18px 20px; font: 400 1.16rem/1.6 var(--display); scrollbar-color: #B8A580 transparent; }
.reader-page p { margin: 0 0 1em; }
.readbar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.readbar i { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: left; transform: scaleX(0); border-radius: 99px; }
.readbar .seen { background: rgba(242, 201, 76, .25); transition: transform 120ms linear; }
.readbar .got { background: linear-gradient(90deg, #E2B33C, #F6DB7E); transition: transform 450ms var(--ease-out); }
.readnote { margin: 0; min-height: 1.5em; font-size: .95rem; color: var(--ink-3); }
.readnote.ok { color: var(--ok); }
.readnote.warn { color: var(--gold-hi); }
.reader-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.gentle { position: absolute; inset: 0; border-radius: 26px; background: var(--panel); padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.gentle[hidden] { display: none; }
.gentle-title { font: 600 1.7rem/1.1 var(--display); color: var(--ink); }
.gentle p { color: var(--ink-2); }

.quiet-mock { justify-self: center; width: min(100%, 360px); background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.quiet-mock > p { margin: 0; color: var(--ink-3); }
.qrow { display: flex; align-items: center; gap: 16px; background: var(--panel-2); border-radius: 18px; padding: 16px; }
.qrow b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.qrow span { color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.switch { flex: 0 0 auto; width: 52px; height: 30px; border-radius: 99px; background: var(--gold); position: relative; }
.switch i { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ground); }
.qstate { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .92rem; padding: 4px 4px 0; }
.moon { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset -5px -2px 0 0 var(--gold-hi); transform: rotate(-20deg); flex: 0 0 auto; }
.scene .quiet-mock { order: 0; }
@media (max-width: 860px) { .scene .quiet-mock { order: 2; } }
.review h2 { margin-bottom: 18px; }

/* ================= final polish (2026-11-28): make it yours, the lesson phone, the checklist, moving up ================= */
.intro.wide { max-width: 62ch; font-size: 1.08rem; color: var(--ink-2); }
.intro b { color: var(--ink); font-weight: 600; }

/* make it yours */
.mine { margin: 28px 0 0; padding: 20px 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(212, 175, 55, .10), rgba(212, 175, 55, .03)); border: 1px solid rgba(212, 175, 55, .35); max-width: 760px; }
.mine-lead { margin: 0 0 12px; color: var(--ink); font-weight: 600; }
.mine-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mfield { display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.mfield input { font: 600 1.05rem var(--text); color: var(--ink); background: #1F1812; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.mfield input:focus { border-color: var(--gold); outline: none; }
.mfield input::placeholder { color: var(--ink-3); }
.mine-note { margin: 10px 0 0; }
@media (max-width: 520px) { .mine-fields { grid-template-columns: 1fr; } }
.calm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 26px 0 0; color: var(--ink-2); }
.calm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(143, 203, 147, .18); }

/* the handset */
.handset { position: relative; width: 300px; aspect-ratio: 300 / 640; border-radius: 44px; border: 10px solid #0E0B08; box-shadow: 0 0 0 1.5px var(--frame), 0 50px 80px -30px rgba(0, 0, 0, .85); background: #14100C; overflow: hidden; justify-self: center; flex: 0 0 auto; }
.handset.sm { width: 280px; }
.handset::before { content: ""; position: absolute; z-index: 5; top: 8px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: #0E0B08; }
.screen { position: absolute; inset: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: #F2E8D5; font-size: 13px; line-height: 1.45; }
.scr { position: absolute; inset: 0; display: none; }
.scr.on { display: block; animation: scrin 380ms var(--ease-out); }
@keyframes scrin { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.scr.page { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #1B1611; }
.scr.page::-webkit-scrollbar { display: none; }
.screen button { font-family: inherit; color: inherit; cursor: pointer; }

/* lock screen */
.lockscr { background: radial-gradient(120% 70% at 50% 0%, #4A3A22 0%, #241B12 55%, #120E0A 100%); text-align: center; padding: 64px 14px 0; }
.lk-date { margin: 0; font-size: 14px; color: rgba(242, 232, 213, .85); }
.lk-time { margin: 0 0 30px; font: 300 64px/1 var(--text); letter-spacing: -.02em; color: #F6EEDC; }
.notif { display: block; width: 100%; text-align: left; border: 0; border-radius: 20px; padding: 12px 14px; background: rgba(40, 32, 24, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); animation: drop 700ms 500ms var(--ease-out) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } }
.nt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 11px; color: rgba(242, 232, 213, .7); }
.nt-head img { border-radius: 5px; background: #2A2119; }
.nt-head .caps { font-size: 10px; letter-spacing: .12em; }
.nt-when { margin-left: auto; }
.nt-title { display: block; font-weight: 700; font-size: 14px; color: #F6EEDC; }
.nt-body { display: block; font-size: 13.5px; color: rgba(242, 232, 213, .85); }
.lk-hint { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0; font-size: 12px; color: rgba(242, 232, 213, .55); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* lesson page */
.cover { position: relative; height: 270px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 22, 17, 0) 45%, rgba(27, 22, 17, .85) 82%, #1B1611 100%); }
.back { position: absolute; z-index: 2; top: 34px; left: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(120, 90, 50, .75); font-size: 22px; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; }
.back.flat { position: static; background: transparent; border: 1px solid rgba(212, 175, 55, .45); border-radius: 10px; flex: 0 0 auto; }
.pg { padding: 0 16px 26px; margin-top: -18px; position: relative; z-index: 1; }
.pg.top { margin-top: 0; padding-top: 40px; }
.ey { margin: 16px 0 6px; font: 600 9.5px var(--caps); letter-spacing: .16em; text-transform: uppercase; color: #D4AF37; }
.ey.center, .ttl.center { text-align: center; }
.ttl { margin: 0; font: 600 27px/1.05 var(--display); color: #F6EEDC; }
.ttl.sm { font-size: 24px; }
.ttl.xs { font-size: 19px; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(212, 175, 55, .35); background: rgba(212, 175, 55, .06); }
.from { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: rgba(242, 232, 213, .8); }
.av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #F1D77A, #C9A13A); color: #1B1611; font: 700 10px var(--text); display: inline-grid; place-items: center; flex: 0 0 auto; }
.txt { margin: 0; font-size: 13px; line-height: 1.5; color: #EDE3CF; }
.gold-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 16px 0 12px; min-height: 44px; border: 0; border-radius: 14px; background: linear-gradient(90deg, #F1D77A, #D4AF37); color: #1B1611 !important; font-weight: 700; font-size: 13.5px; transition: transform 160ms var(--ease-out); }
.gold-btn:active { transform: scale(.97); }
.gold-btn.sm { display: inline-flex; width: auto; margin: 0; min-height: 36px; padding: 0 16px; border-radius: 99px; font-size: 12.5px; }
.bonus-card { border: 1px solid #4E3F2C; border-radius: 16px; padding: 12px 14px; background: #241C15; }
.bc-t { margin: 0 0 4px; font: 600 16px var(--display); color: #F6EEDC; }
.bc-s { margin: 0; font-size: 11.5px; color: rgba(242, 232, 213, .75); line-height: 1.45; }
.tiles { display: flex; gap: 10px; }
.tile { position: relative; flex: 0 0 auto; width: 118px; height: 150px; border: 0; border-radius: 14px; overflow: hidden; text-align: left; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; }
.t-navy { background: radial-gradient(70% 50% at 70% 35%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(180deg, #22305A, #121A33); }
.t-navy::before { content: "\2720"; position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-size: 46px; color: rgba(255, 255, 255, .14); }
.t-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.t-icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .78)); }
.tile .td, .tile .tt { position: relative; z-index: 1; }
.td { font: 600 8.5px var(--caps); letter-spacing: .14em; text-transform: uppercase; color: #D4AF37; }
.tt { font: 600 14px/1.05 var(--display); color: #F6EEDC; }

/* lessons list */
.lhead { display: flex; align-items: center; gap: 12px; }
.lhead .ey { margin: 0 0 2px; }
.search { display: flex; align-items: center; gap: 8px; margin: 14px 0; padding: 0 12px; height: 42px; border-radius: 14px; border: 1px solid #4E3F2C; background: #211A13; color: rgba(242, 232, 213, .6); font-size: 16px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #F2E8D5; font-size: 13.5px; font-family: inherit; outline: none; }
.search input::placeholder { color: rgba(242, 232, 213, .5); }
.feat { display: block; width: 100%; text-align: left; border: 0; border-radius: 20px; padding: 14px; background: radial-gradient(60% 50% at 80% 40%, rgba(255, 255, 255, .10), transparent 60%), linear-gradient(180deg, #23325C, #0F1428); position: relative; overflow: hidden; }
.feat::after { content: "\2720"; position: absolute; right: 22px; top: 40px; font-size: 64px; color: rgba(255, 255, 255, .10); }
.fpills { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 30px; }
.pill { font: 600 8.5px var(--caps); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; border: 1px solid rgba(242, 232, 213, .35); background: rgba(0, 0, 0, .25); }
.pill.gold { border-color: rgba(212, 175, 55, .7); color: #F1D77A; }
.fdate { display: block; font: 600 8.5px var(--caps); letter-spacing: .14em; text-transform: uppercase; color: #D4AF37; }
.ftitle { display: block; font: 600 22px/1.05 var(--display); color: #F6EEDC; margin: 4px 0; }
.fdesc { display: block; font-size: 11.5px; color: rgba(242, 232, 213, .8); margin-bottom: 12px; }
.frow { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.ffrom { font-size: 11px; color: rgba(242, 232, 213, .7); }
.sect { margin: 18px 0 8px; font: 600 16px var(--display); color: #F6EEDC; }
.llist { display: grid; gap: 8px; }
.lrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid #3A2E21; border-radius: 14px; padding: 9px 10px; background: #211A13; }
.lthumb { width: 38px; height: 46px; border-radius: 8px; flex: 0 0 auto; background: linear-gradient(180deg, #22305A, #121A33); display: grid; place-items: center; color: rgba(255, 255, 255, .25); font-size: 18px; overflow: hidden; }
.lthumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.lmeta { display: grid; gap: 1px; min-width: 0; }
.lmeta b { font: 600 15px/1.1 var(--display); color: #F6EEDC; }
.lmeta span { font-size: 10.5px; color: rgba(242, 232, 213, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lmeta mark { background: rgba(212, 175, 55, .35); color: inherit; border-radius: 3px; }
.nores { font-size: 12px; color: rgba(242, 232, 213, .6); }

/* slides */
.scr.slides { background: #0F0C09; flex-direction: column; padding-top: 40px; }
.scr.slides.on { display: flex; }
.sl-top { display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.sl-top .ey { margin: 0; }
.sl-count { margin: 0; font-size: 11px; color: rgba(242, 232, 213, .6); }
.sl-stage { flex: 1; display: grid; place-items: center; padding: 10px 12px; touch-action: pan-y; }
.sl-card { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; background: #F2E8D5; color: #2A2017; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); animation: slin 320ms var(--ease-out); }
@keyframes slin { from { opacity: .2; transform: translateX(14px); } }
.sl-card.title { background: linear-gradient(160deg, #23325C, #0F1428); color: #F6EEDC; }
.sl-k { margin: 0; font: 600 8.5px var(--caps); letter-spacing: .14em; text-transform: uppercase; color: #9C7418; }
.sl-card.title .sl-k { color: #D4AF37; }
.sl-h { margin: 0; font: 600 21px/1.05 var(--display); }
.sl-b { margin: 0; font-size: 11.5px; line-height: 1.45; }
.sl-b ul { margin: 0; padding-left: 16px; }
.sl-b li { margin: 2px 0; }
.sl-nav { display: flex; align-items: center; justify-content: center; gap: 14px; }
.round { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .5); background: transparent; font-size: 20px; padding: 0 0 2px; }
.round:disabled { opacity: .3; cursor: default; }
.sl-dots { display: flex; gap: 5px; }
.sl-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(242, 232, 213, .25); }
.sl-dots i.on { background: #D4AF37; }
.sl-hint { margin: 8px 0 0; text-align: center; font-size: 11px; color: rgba(242, 232, 213, .5); }
.scr.slides .gold-btn { width: auto; margin: 12px 16px 24px; }

/* the bonus review, app style */
.quizs { background: #1B1611; }
.qz { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 40px 14px 18px; }
.qz-top { display: flex; align-items: center; gap: 10px; }
.qz-x { width: 30px; height: 30px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, .45); background: transparent; font-size: 16px; }
.qz-top .ey { margin: 0; }
.qz-name { margin: 0; font: 600 15px var(--display); color: #F6EEDC; }
.qz-pts { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(212, 175, 55, .45); background: rgba(212, 175, 55, .08); white-space: nowrap; }
.qz-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; }
.qz-n { font-size: 11.5px; font-weight: 700; color: rgba(242, 232, 213, .8); }
.qz .ring { width: 46px; height: 46px; }
.qz .ring b { width: 37px; height: 37px; font-size: 1.1rem; background: #1B1611; }
.qz-q { margin: 0 0 10px; padding: 14px 12px; border-radius: 16px; border: 1px solid #4E3F2C; background: #241C15; font: 600 18px/1.15 var(--display); text-align: center; color: #F6EEDC; }
.qz-a { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; min-height: 0; }
.qz-a button { position: relative; overflow: hidden; border-radius: 16px; border: 1.5px solid #4E3F2C; background: linear-gradient(180deg, #2A2119, #211A13); text-align: left; display: flex; align-items: flex-end; padding: 10px; font: 600 15px/1.1 var(--display); color: #F6EEDC; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.qz-a button::after { content: "\2720"; position: absolute; right: 6px; bottom: -4px; font-size: 40px; color: rgba(212, 175, 55, .12); }
.qz-a button:active { transform: scale(.97); }
.qz-a button.right { border-color: #8FCB93; background: linear-gradient(180deg, #2C3324, #222A1C); }
.qz-a button.wrong { border-color: #F0998C; }
.qz-a button[disabled] { cursor: default; }
.qz-v { min-height: 44px; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.qz-v .plus { color: #F1D77A; font-weight: 700; }
.qz-v .gold-btn { width: auto; margin: 0; min-height: 36px; padding: 0 16px; border-radius: 99px; flex: 0 0 auto; }
.qz-c { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 0 8px; }
.qz-c .big { margin: 0; font: 600 26px/1.05 var(--display); color: #F6EEDC; }
.qz-c p { margin: 0; color: rgba(242, 232, 213, .8); }
.qz-c .gold-btn { width: auto; padding: 0 20px; }

/* stage layout */
.stage { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; margin-top: 40px; }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } }
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.story li { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color 200ms ease, background-color 200ms ease; }
.story li.on { border-color: var(--gold); background: var(--panel-2); }
.story button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: 600 1.05rem var(--text); }
.sn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; font: 600 .8rem var(--caps); flex: 0 0 auto; transition: background-color 200ms ease, color 200ms ease; }
.story li.on .sn { background: var(--gold); color: var(--ground); }
.sd { display: none; padding: 0 16px 16px 60px; color: var(--ink-2); }
.sd p { margin: 0; }
.story li.on .sd { display: block; animation: scrin 300ms var(--ease-out); }
.post-time { margin-top: 18px; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--frame); color: var(--ink-2); }
.post-time p { margin: 0; }
.post-time .pt-h { color: var(--ink); font-weight: 700; margin-bottom: 4px; }
#stayed .results { margin-top: 14px; }
#stayed .dim { display: block; margin-top: 10px; }

/* quiet mock as a button */
button.quiet-mock { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.qm-top { color: var(--ink-3); }
.qcopy { display: block; }
.qcopy > span { display: block; }
.switch { transition: background-color 200ms ease; }
.switch i { transition: transform 220ms var(--ease-out); }
.quiet-mock[aria-pressed="false"] .switch { background: #4E3F2C; }
.quiet-mock[aria-pressed="false"] .switch i { transform: translateX(-22px); }
.keep-line { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

/* checklist */
.check-wrap { position: relative; width: min(100%, 360px); justify-self: center; margin-top: 26px; }
.checklist { background: #1B1611; border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85); font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 13px; }
.cl-head { display: flex; align-items: center; justify-content: space-between; }
.cl-who { display: flex; align-items: center; gap: 10px; }
.cl-who > span:last-child { display: grid; }
.cl-who b { font: 600 18px var(--display); color: var(--ink); }
.cl-cls { font-size: 11px; color: var(--ink-3); }
.cl-badge { width: 22px; height: 22px; border-radius: 50%; background: #B03A2E; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cl-t { margin: 14px 0 6px; font: 600 17px var(--display); color: var(--ink); }
.cl-g { margin: 0 0 6px; color: var(--gold); font-size: .62rem; }
.cl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cl-items li { border-radius: 14px; background: #241C15; border: 1px solid #33291E; }
.cl-items li.hot { border-color: rgba(224, 122, 46, .6); }
.cl-items button, .cl-one { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.ci { width: 28px; height: 28px; border-radius: 9px; background: rgba(212, 175, 55, .12); color: var(--gold-hi); display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; }
.hot .ci { background: rgba(224, 122, 46, .18); color: #F2A66A; }
.cx { display: grid; min-width: 0; }
.cx b { font-weight: 600; font-size: 13px; }
.cx > span { font-size: 11.5px; color: var(--ink-3); }
.cd { display: none; margin: 0; padding: 0 12px 12px 48px; font-size: 12px; color: var(--ink-2); }
.cl-items li.open .cd { display: block; animation: scrin 260ms var(--ease-out); }
.cl-tools { display: flex; gap: 6px; margin-top: 12px; }
.cl-tools span { flex: 1; text-align: center; font-size: 11px; font-weight: 600; padding: 8px 4px; border-radius: 12px; border: 1px solid #33291E; color: var(--ink-2); }
.toast { position: absolute; z-index: 3; left: 18px; right: 18px; top: -26px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; background: rgba(46, 37, 27, .97); border: 1px solid var(--frame); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); font-size: 12.5px; opacity: 0; transform: translateY(-10px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.toast > span { display: grid; }
.toast b { color: var(--ink); }
.toast span span { color: var(--ink-2); }
.toast img { border-radius: 5px; margin-top: 2px; }
.in .toast { opacity: 1; transform: none; transition-delay: 500ms; }

/* moving up */
.family { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 6vw, 72px); align-items: start; margin-top: 36px; }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } }
.move { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 22px; max-width: 520px; width: 100%; justify-self: center; }
.mv-ey { margin: 0; color: var(--gold); font-size: .66rem; }
.mv-t { margin: 4px 0 14px; font: 600 1.8rem/1.05 var(--display); }
.mv-l { margin: 0 0 8px; font-weight: 600; font-size: .95rem; }
.mv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mchip { border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); border-radius: 12px; padding: 9px 14px; font: 600 .92rem var(--text); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.mchip.on { background: linear-gradient(90deg, #F1D77A, #D4AF37); color: #14213D; border-color: #9C7418; }
.mv-f { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.mv-f textarea { font: 400 1rem/1.45 var(--text); color: var(--ink); background: #1F1812; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; resize: vertical; min-height: 84px; }
.mv-f textarea:focus { border-color: var(--gold); outline: none; }
.mv-help { margin: 6px 0 14px; font-size: .84rem; color: var(--ink-3); }
.mv-go { width: 100%; min-height: 52px; border-radius: 14px; font-size: 1.02rem; }
.after { display: grid; gap: 14px; justify-items: center; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--ink-2); font: 600 .82rem var(--text); padding: 8px 12px; border-radius: 99px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--gold); color: var(--ground); }
.seg button:disabled { opacity: .45; cursor: default; }
.scr.wait { background: #1B1611; place-items: center; text-align: center; padding: 30px; color: rgba(242, 232, 213, .7); }
.scr.wait.on { display: grid; align-content: center; }
.w-cross { font-size: 40px; color: rgba(212, 175, 55, .35); margin: 0 0 8px; }
.doors { background: radial-gradient(90% 60% at 50% 30%, #2A3B6E 0%, #141C36 60%, #0B0F1E 100%); text-align: center; padding: 120px 22px 0; }
.dw-ey { margin: 0 0 10px; color: #E6C766; font-size: 10px; letter-spacing: .3em; }
.dw-t { margin: 0 0 10px; font: 600 32px/1.08 var(--display); color: #F6EFE2; }
.dw-s { margin: 0 0 28px; color: #C9CFDC; font-size: 13.5px; }
.ghost { border: 1px solid rgba(230, 199, 102, .55); background: rgba(0, 0, 0, .2); border-radius: 99px; padding: 10px 18px; font-size: 12.5px; font-weight: 600; }
.scr.letter { background: #1B1611; text-align: center; padding: 70px 18px 20px; overflow-y: auto; scrollbar-width: none; }
.lt-ey { margin: 0; color: #D4AF37; font-size: 9.5px; letter-spacing: .2em; }
.lt-t { margin: 4px 0; font: 600 25px var(--display); color: #F6EEDC; }
.lt-s { margin: 0 0 20px; font-size: 12.5px; color: rgba(242, 232, 213, .75); }
.sealed { position: relative; display: block; width: 190px; height: 130px; margin: 0 auto; border: 0; background: transparent; padding: 0; }
.sealed .paper { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(160deg, #E9DCC0, #CDB98F); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .8); }
.sealed .cord { position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2px; background: #8B1E24; }
.sealed .seal { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: radial-gradient(circle, #A3282F, #6E151A); border: 2px solid #D4AF37; color: #F1D77A; display: grid; place-items: center; font-size: 26px; animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.lt-hint { margin: 14px 0 0; font-size: 12px; color: rgba(242, 232, 213, .55); }
.opened { margin: 4px 0 16px; padding: 18px 14px; border-radius: 16px; background: #F2E8D5; color: #2A2017; animation: scrin 500ms var(--ease-out); }
.opened[hidden], .note[hidden], .ghost[hidden] { display: none; }
.ol-cross { margin: 0 0 8px; color: #B08A2E; font-size: 20px; }
.ol-text { margin: 0 0 12px; font: 500 17px/1.35 var(--display); }
.ol-from { margin: 0; font: italic 600 16px var(--display); color: #8A6A1F; }
.hello .pg { padding-bottom: 30px; }
.portrait { width: 84px; height: 104px; margin: 10px auto 8px; border-radius: 42px 42px 14px 14px; border: 2px solid #D4AF37; background: linear-gradient(160deg, #3A4A78, #1C2547); display: grid; place-items: center; font: 600 24px var(--display); color: #F1D77A; }
.fol { margin-top: 12px; padding: 12px; border-radius: 14px; background: #241C15; border: 1px solid #33291E; }
.fol .ey { margin-top: 0; }
.sig { margin: 6px 0 0; text-align: right; font: italic 600 15px var(--display); color: #D4AF37; }
.small { margin: 0; font-size: 11.5px; color: rgba(242, 232, 213, .7); }
.voice { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 12px 8px 8px; border-radius: 99px; background: rgba(212, 175, 55, .10); border: 1px solid rgba(212, 175, 55, .35); font-size: 12px; font-weight: 600; }
.play { width: 28px; height: 28px; border-radius: 50%; background: #D4AF37; color: #1B1611; display: grid; place-items: center; font-size: 11px; flex: 0 0 auto; }
.wave { width: 56px; height: 16px; flex: 0 0 auto; background: repeating-linear-gradient(90deg, rgba(212, 175, 55, .85) 0 2px, transparent 2px 5px); border-radius: 3px; opacity: .8; }
.likes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.likes span { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(212, 175, 55, .35); }
.hello .ghost { display: block; margin: 16px auto 0; }
.cl-one { margin-top: 10px; border-radius: 14px; background: #241C15; border: 1px solid rgba(212, 175, 55, .45); }
.note { margin-top: 12px; padding: 14px; border-radius: 16px; background: #F2E8D5; color: #2A2017; animation: scrin 400ms var(--ease-out); }
.note .ey { margin-top: 0; color: #9C7418; }
.note .ttl { color: #2A2017; }
.note-text { margin: 6px 0 10px; font-size: 13px; line-height: 1.55; }
.note .small { color: #6B5634; }

/* the week */
.week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.week > div { display: grid; align-content: start; gap: 6px; padding: 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); }
.week b { color: var(--ink); font: 600 1.35rem/1.1 var(--display); }
.wk-min { font: 600 .7rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.week .free { border-color: rgba(143, 203, 147, .5); background: linear-gradient(180deg, rgba(143, 203, 147, .08), transparent); }
.week .free .wk-min { color: var(--ok); }
@media (max-width: 960px) { .week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .week { grid-template-columns: 1fr; } }
.techy { margin-top: 18px; padding: 20px 22px; border-radius: 20px; border: 1px dashed var(--frame); max-width: 760px; color: var(--ink-2); }
.techy p { margin: 0; }
.techy .tk-h { color: var(--ink); font: 600 1.4rem var(--display); margin-bottom: 6px; }
.slink { border: 1px solid rgba(242, 232, 213, .35); background: rgba(0, 0, 0, .25); border-radius: 99px; min-height: 36px; padding: 0 14px; font-size: 12px; font-weight: 600; }
.feat .ffrom { display: block; margin-top: 10px; position: relative; z-index: 1; }
.sealed[hidden], .gold-btn[hidden], .slink[hidden] { display: none; }
.pill, .gold-btn.sm, .slink { white-space: nowrap; }
.fpills { flex-wrap: nowrap; }
@media (max-width: 860px) { .scene.flip .check-wrap { order: 2; } }

.frow { flex-wrap: wrap; gap: 8px; }
.cap { display: none; }
.stayed:empty { display: none; }
.stayed { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--gold); color: var(--ink-2); }
.stayed .results { margin-top: 12px; }
@media (max-width: 860px) {
  .cap { display: grid; gap: 4px; justify-items: center; text-align: center; max-width: 420px; margin: 0 auto; }
  .cap-n { margin: 0; font: 600 .7rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
  .cap-t { margin: 0; font: 600 1.45rem/1.1 var(--display); color: var(--ink); }
  .cap-d { margin: 4px 0 8px; color: var(--ink-2); }
  .cap-next[hidden] { display: none; }
  .story { display: none; }
  .stage { gap: 22px; }
}

/* ================= round 2 of the polish: the Bible in Lamplight, the Reward Store, the Royal Doors ================= */
.changes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .changes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .changes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .changes { grid-template-columns: 1fr; } }
.changes b { font-size: 1.35rem; }

/* the Bible, Lamplight (ScPal.vellum) */
.bscreen { background: #1B1611; }
.bscreen .scr { background: #1B1611; }
.b-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 40px 14px 0; }
.b-back { width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, .3); display: grid; place-items: center; font-size: 20px; color: #F2E8D5; background: transparent; padding: 0 0 2px; flex: 0 0 auto; }
.b-title { font: 600 22px var(--display); color: #F2E8D5; flex: 1; }
.b-title.sm { font-size: 17px; }
.b-mark { width: 14px; height: 18px; border: 1.5px solid rgba(226, 196, 106, .8); border-bottom: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); background: rgba(226, 196, 106, .15); }
.b-count { margin: 6px 16px 0; font-size: 11px; color: #978A73; }
.b-edges { position: relative; }
.bscreen .b-edges { position: absolute; left: 0; right: 0; top: 104px; bottom: 0; }
.b-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 26px 10px 150px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.06) 4px, rgba(0,0,0,.2) 8px, rgba(0,0,0,.42) 13px, rgba(0,0,0,.66) 17px, rgba(0,0,0,.86) 21px, rgba(0,0,0,.96) 26px, #000 30px, #000 calc(100% - 28px), rgba(0,0,0,.96) calc(100% - 24px), rgba(0,0,0,.86) calc(100% - 20px), rgba(0,0,0,.66) calc(100% - 16px), rgba(0,0,0,.42) calc(100% - 12px), rgba(0,0,0,.2) calc(100% - 8px), rgba(0,0,0,.06) calc(100% - 4px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.06) 4px, rgba(0,0,0,.2) 8px, rgba(0,0,0,.42) 13px, rgba(0,0,0,.66) 17px, rgba(0,0,0,.86) 21px, rgba(0,0,0,.96) 26px, #000 30px, #000 calc(100% - 28px), rgba(0,0,0,.96) calc(100% - 24px), rgba(0,0,0,.86) calc(100% - 20px), rgba(0,0,0,.66) calc(100% - 16px), rgba(0,0,0,.42) calc(100% - 12px), rgba(0,0,0,.2) calc(100% - 8px), rgba(0,0,0,.06) calc(100% - 4px), transparent 100%); }
.b-scroll::-webkit-scrollbar { display: none; }
.b-blur { position: absolute; left: 0; right: 0; height: 30px; pointer-events: none; backdrop-filter: blur(2.4px); -webkit-backdrop-filter: blur(2.4px); }
.b-blur.top { top: 0; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.b-blur.bottom { bottom: 0; height: 28px; -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
.b-load { color: #978A73; padding: 10px; }
.b-v { position: relative; display: block; width: 100%; text-align: left; margin: 0 0 2px; padding: 7px 10px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: #F2E8D5; font: 400 15.5px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; cursor: pointer; transition: background-color 220ms ease, border-color 220ms ease; }
.b-v .n { color: #E2C46A; font-size: 11.5px; font-weight: 800; margin-right: 6px; }
.b-v.lit { background: rgba(212, 175, 55, .13); border-color: rgba(212, 175, 55, .28); animation: glow 1.8s ease-in-out infinite; }
@keyframes glow { 50% { border-color: rgba(212, 175, 55, .75); } }
.b-v.picked { border-color: var(--tone, #E2C46A); }
.b-v .nm { position: absolute; top: 7px; right: 8px; width: 12px; height: 13px; border: 1.5px solid var(--tone); border-radius: 2px; }
.b-v .nm::after { content: ""; position: absolute; left: 2px; right: 2px; top: 3px; height: 1.5px; background: var(--tone); box-shadow: 0 3px 0 var(--tone); }
.b-v.noted { padding-right: 28px; }
.b-bar { position: absolute; z-index: 4; left: 8px; right: 8px; bottom: 10px; padding: 12px 10px 10px; border-radius: 22px; background: #30281F; border: 1px solid rgba(226, 196, 106, .45); box-shadow: 0 8px 20px rgba(0, 0, 0, .5); animation: up 320ms var(--ease-out); }
.b-bar[hidden], .b-mynote[hidden], .b-sheet[hidden], .t-foot[hidden], .typing[hidden], .msg-them[hidden] { display: none; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.b-mynote { margin-bottom: 8px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--tone, #F2C94C) 10%, transparent); border-left: 3px solid var(--tone, #F2C94C); }
.b-mn-h { margin: 0 0 2px; font-size: 11px; font-weight: 800; color: var(--tone, #F2C94C); }
.b-mn-t { margin: 0; font-size: 12.5px; color: #F2E8D5; }
.b-swatches { display: flex; justify-content: space-between; gap: 2px; }
.b-sw { flex: 1; display: grid; justify-items: center; gap: 3px; border: 0; background: transparent; color: #CBBEA6; font-size: 9.5px; font-weight: 700; padding: 2px 0; cursor: pointer; }
.b-sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #30281F, 0 0 0 3.5px transparent; transition: box-shadow 160ms ease, transform 160ms var(--ease-out); }
.b-sw.on i { box-shadow: 0 0 0 2px #30281F, 0 0 0 3.5px var(--c); transform: scale(1.06); }
.b-sw:active i { transform: scale(.92); }
.b-colours { margin: 6px 4px 6px; text-align: right; font-size: 10.5px; color: #CBBEA6; }
.b-actions { display: flex; gap: 6px; }
.b-act { flex: 1; min-height: 40px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, .3); background: #272019; color: #F2E8D5; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.b-act.pulse { animation: glow2 1.4s ease-in-out infinite; }
@keyframes glow2 { 50% { box-shadow: 0 0 0 3px rgba(212, 175, 55, .45); border-color: #D4AF37; } }
.b-toast { position: absolute; z-index: 6; left: 50%; top: 92px; transform: translateX(-50%); margin: 0; padding: 7px 12px; border-radius: 99px; background: #F2E8D5; color: #1B1611; font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.b-toast.show { opacity: 1; }
.b-sheet { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; padding: 14px 14px 18px; border-radius: 22px 22px 0 0; background: #272019; border-top: 1px solid rgba(212, 175, 55, .3); box-shadow: 0 -12px 30px rgba(0, 0, 0, .55); animation: up 320ms var(--ease-out); max-height: 88%; overflow-y: auto; }
.b-sheet::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; margin: -4px auto 10px; background: rgba(242, 232, 213, .25); }
.bs-t { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: #F2E8D5; }
.bs-card { padding: 9px 11px; border-radius: 14px; background: #30281F; margin-bottom: 8px; }
.bs-ref { margin: 0 0 2px; font-size: 11.5px; font-weight: 800; color: #E2C46A; }
.bs-v { margin: 0; font-size: 12px; line-height: 1.4; font-style: italic; color: #F2E8D5; }
.bs-f { display: block; }
.bs-l { display: block; margin: 6px 0 4px; font-size: 12px; font-weight: 700; color: #F2E8D5; }
.bs-f textarea { width: 100%; resize: none; border-radius: 12px; border: 1px solid rgba(212, 175, 55, .3); background: #1B1611; color: #F2E8D5; font: 400 12.5px/1.45 "Segoe UI", system-ui, sans-serif; padding: 8px 10px; }
.bs-f textarea:focus { outline: none; border-color: #D4AF37; }
.bs-help { margin: 4px 0 0; font-size: 11px; color: #CBBEA6; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bchip { border: 0; border-radius: 99px; padding: 7px 11px; background: #30281F; color: #F2E8D5; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.bchip.on { background: #E2C46A; color: #0B1120; }
.b-sheet .gold-btn { margin: 12px 0 0; }
.bthread .b-head { border-bottom: 1px solid rgba(212, 175, 55, .14); padding-bottom: 10px; }
.btn-x { cursor: pointer; }
.t-body { position: absolute; left: 0; right: 0; top: 84px; bottom: 112px; overflow-y: auto; scrollbar-width: none; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.msg-me { align-self: flex-end; max-width: 84%; padding: 9px 11px; border-radius: 16px 16px 4px 16px; background: #E2C46A; color: #1B1611; font-size: 12.5px; animation: up 320ms var(--ease-out); }
.msg-me p { margin: 0; }
.quote { display: grid; gap: 1px; margin-bottom: 6px; padding: 6px 8px; border-left: 3px solid rgba(27, 22, 17, .55); border-radius: 8px; background: rgba(27, 22, 17, .12); font-size: 11px; font-style: italic; }
.quote b { font-style: normal; }
.t-time { display: block; text-align: right; font-size: 9.5px; opacity: .7; margin-top: 3px; }
.typing { display: flex; align-items: center; gap: 8px; }
.dots { display: inline-flex; gap: 3px; padding: 9px 11px; border-radius: 14px; background: #30281F; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #CBBEA6; animation: dot 1.1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-3px); opacity: .5; } }
.msg-them { display: flex; gap: 8px; align-items: flex-end; animation: up 420ms var(--ease-out); }
.msg-them > div { max-width: 84%; padding: 9px 11px; border-radius: 16px 16px 16px 4px; background: #30281F; color: #F2E8D5; font-size: 12.5px; line-height: 1.5; border: 1px solid rgba(212, 175, 55, .2); }
.msg-them p { margin: 0; }
.t-name { font-size: 10.5px; font-weight: 800; color: #E2C46A; margin-bottom: 3px !important; }
.t-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px 22px; background: linear-gradient(180deg, rgba(27, 22, 17, 0), #1B1611 18%); animation: up 400ms var(--ease-out); }
.t-rule { margin: 0 0 8px; padding: 8px 10px; border-radius: 12px; background: #272019; border: 1px solid rgba(212, 175, 55, .18); font-size: 11px; color: #CBBEA6; }
.t-compose { display: flex; align-items: center; gap: 6px; }
.t-field { flex: 1; padding: 11px 12px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, .3); color: #978A73; font-size: 12.5px; }
.t-mic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #272019; color: #E2C46A; font-size: 12px; border: 1px solid rgba(212, 175, 55, .3); }
.sub-h { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.review.honest { margin-top: clamp(56px, 8vw, 88px); }

/* the honest-reading box, now in Lamplight with the app's fades */
.reader-page { background: #1B1611; color: #F2E8D5; font: 400 1.02rem/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; border-radius: 16px; padding: 26px 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.2) 8px, rgba(0,0,0,.66) 17px, #000 30px, #000 calc(100% - 28px), rgba(0,0,0,.66) calc(100% - 16px), rgba(0,0,0,.2) calc(100% - 8px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.2) 8px, rgba(0,0,0,.66) 17px, #000 30px, #000 calc(100% - 28px), rgba(0,0,0,.66) calc(100% - 16px), rgba(0,0,0,.2) calc(100% - 8px), transparent 100%); scrollbar-color: #4E3F2C transparent; }
.reader .b-edges { border-radius: 16px; background: #1B1611; border: 1px solid rgba(212, 175, 55, .2); }

/* paper vs Pimoit */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 22px; max-width: 900px; }
.vs-card { padding: 20px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); }
.vs-card p { margin: 0; }
.vs-k { margin-bottom: 6px !important; font-size: .66rem; }
.vs-t { font: 600 1.5rem/1.1 var(--display); color: var(--ink); margin-bottom: 6px !important; }
.vs-card.paper { background: repeating-linear-gradient(-3deg, #2A2119 0 26px, #2C231B 26px 27px); }
.vs-card.paper .vs-k { color: var(--err); }
.vs-card.paper .vs-t { text-decoration: line-through; text-decoration-color: rgba(240, 153, 140, .55); text-decoration-thickness: 2px; }
.vs-card.online { border-color: rgba(143, 203, 147, .5); background: linear-gradient(180deg, rgba(143, 203, 147, .08), var(--panel)); }
.vs-card.online .vs-k { color: var(--ok); }
@media (max-width: 640px) { .vs { grid-template-columns: 1fr; } }

/* the store */
.store-stage { grid-template-columns: 300px minmax(0, 1fr); }
.store-left { display: grid; gap: 14px; justify-items: center; }
.seg.grades button { padding: 8px 14px; }
.s-bal { display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(212, 175, 55, .3); background: #211A13; font-size: 11.5px; color: #978A73; }
.s-bal b { font: 700 22px var(--text); color: #F2E8D5; font-variant-numeric: tabular-nums; }
.s-star { color: #F1D77A; font-size: 18px; }
.s-msg { margin: 0 0 10px; padding: 10px 12px; border-radius: 14px; background: rgba(143, 203, 147, .12); border: 1px solid rgba(143, 203, 147, .4); color: #DDEFD9; font-size: 12px; animation: up 320ms var(--ease-out); }
.s-msg[hidden], .s-prizes[hidden] { display: none; }
.s-item { padding: 12px; border-radius: 18px; border: 1px solid #3A2E21; background: #241C15; margin-bottom: 10px; animation: scrin 320ms var(--ease-out); }
.s-top { display: flex; gap: 10px; align-items: center; }
.s-ico { width: 38px; height: 38px; border-radius: 12px; background: #30281F; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.s-top b { display: block; font: 600 16px/1.1 var(--display); color: #F6EEDC; }
.s-top span { font-size: 10.5px; color: #978A73; }
.s-d { margin: 8px 0; font-size: 11.5px; color: #CBBEA6; }
.s-gate { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #978A73; font-variant-numeric: tabular-nums; }
.s-gate .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.s-gate .bar i { display: block; height: 100%; background: #F1D77A; border-radius: 6px; }
.s-get { width: 100%; margin-top: 10px; min-height: 40px; border: 0; border-radius: 12px; font-weight: 800; font-size: 13px; cursor: pointer; background: linear-gradient(90deg, #B8892A, #F1D77A, #B8892A); color: #1B1611; }
.s-get[disabled] { background: rgba(255, 255, 255, .1); color: #978A73; cursor: default; }
.s-prizes .sect { margin-top: 6px; }
.s-prize { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #241C15; border: 1px solid #3A2E21; font-size: 12px; }
.s-prize b { flex: 1; font-weight: 700; }
.s-state { font-size: 11px; font-weight: 700; color: #E2C46A; }
.s-state.done { color: #8FCB93; }
.loop { display: grid; gap: 12px; align-content: start; }
.lp { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); transition: border-color 260ms ease, opacity 260ms ease; opacity: .72; }
.lp.on { opacity: 1; border-color: var(--gold); }
.lp.done { opacity: 1; border-color: rgba(143, 203, 147, .55); }
.lp-n { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; font: 600 .8rem var(--caps); }
.lp.done .lp-n { background: var(--ok); border-color: var(--ok); color: var(--ground); }
.lp-t { margin: 3px 0 2px; font: 600 1.3rem/1.15 var(--display); color: var(--ink); }
.lp-d { margin: 0; color: var(--ink-2); }
.lp-d b { color: var(--ink); }
.mini { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #1B1611; border: 1px solid #33291E; font-family: "Segoe UI", system-ui, sans-serif; font-size: 12.5px; }
.mini-h { margin: 0 0 6px; font: 600 .62rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mini-empty { margin: 0; color: var(--ink-3); font-size: 12px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #241C15; animation: up 320ms var(--ease-out); }
.mini-row .ci { width: 26px; height: 26px; }
.mini-row .cx { flex: 1; }
.given { border: 0; border-radius: 99px; min-height: 34px; padding: 0 14px; background: linear-gradient(90deg, #F1D77A, #D4AF37); color: #0B1120; font-weight: 800; font-size: 12px; cursor: pointer; animation: glow2 1.4s ease-in-out infinite; }
.given[disabled] { background: rgba(143, 203, 147, .2); color: var(--ok); animation: none; cursor: default; }

/* the Royal Doors (ScRoyalDoorsPainter) */
.scr.doorscr { width: 100%; height: 100%; border: 0; padding: 0; background: #0A1226; cursor: pointer; text-align: center; }
.scr.doorscr.on { display: block; }
.doors-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.dw { position: absolute; left: 18px; right: 18px; bottom: 30px; display: grid; justify-items: center; }
.dw .dw-ey { margin: 0 0 8px; }
.dw .dw-t { display: block; margin: 0 0 8px; font: 700 29px/1.08 var(--display); color: #F6EFE2; }
.dw .dw-s { display: block; margin: 0 0 18px; font-size: 13px; color: #C9CFDC; }
.dw-tap { font-size: 11.5px; font-weight: 600; color: #8E97AD; }
.dw > * { opacity: 0; animation: rise 700ms 1600ms var(--ease-out) forwards; }
.dw > :nth-child(2) { animation-delay: 1750ms; } .dw > :nth-child(3) { animation-delay: 1900ms; } .dw > :nth-child(4) { animation-delay: 2300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .store-stage { grid-template-columns: 1fr; } }
.loop, .lp > div { min-width: 0; }

/* Your notes (ScNoteRow) and the points star (Icons.stars_rounded) */
.pt-star { width: 1em; height: 1em; display: block; }
.s-bal .s-star { font-size: 20px; color: #F1D77A; }
.s-gate .s-star { font-size: 12px; color: #F1D77A; }
.bnotes .b-head { padding-bottom: 6px; }
.n-rule { height: 6px; margin: 6px 14px 4px; background: repeating-linear-gradient(90deg, rgba(212, 175, 55, .55) 0 6px, transparent 6px 9px); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.n-list { padding: 4px 12px 30px; }
.n-book { margin: 14px 2px 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #E2C46A; }
.n-card { display: grid; gap: 4px; width: 100%; text-align: left; margin-bottom: 8px; padding: 10px 12px; border-radius: 16px; border: 1px solid #3A2E21; border-left: 3px solid var(--tone); background: #241C15; color: #F2E8D5; font-family: inherit; cursor: default; }
.n-card[data-goto] { cursor: pointer; }
.n-card.fresh { border-color: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 25%, transparent); animation: up 420ms var(--ease-out); }
.n-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.n-top b { color: var(--tone); font-weight: 800; }
.n-top span { color: var(--tone); font-weight: 700; font-size: 11px; }
.n-v { font-size: 11.5px; font-style: italic; line-height: 1.4; color: #CBBEA6; }
.n-t { font-size: 13px; line-height: 1.4; }
#bCap .cap-next[hidden] { display: none; }


/* =====================================================================================================
   v4 (2026-11-29): the static pimoit.ca edition. One serif headline, Coptic rubric numerals, varied
   sections, phones that fit a phone screen with their caption attached, and 44px targets everywhere.
   ===================================================================================================== */
@font-face { font-family: 'Pimoit Coptic'; font-style: normal; font-weight: 400; font-display: block; src: url(fonts/noto-coptic-sub.woff2) format('woff2'); unicode-range: U+2C80-2CFF; }
:root { --rubric: #E07A2E; --paper: #EFE4CC; --paper-ink: #3A2E20; --tap: 44px; }
section[id], [id^="s-"], #main { scroll-margin-top: 68px; }
section { padding: clamp(56px, 9vw, 104px) 0; }
.scr.on { animation-duration: 200ms; }
.ln-ico { width: 100%; height: 100%; fill: none; stroke: var(--gold-hi, #E8C964); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- bar ---------- */
.bar a.ask { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; }
.brand { min-height: var(--tap); }

/* ---------- the poster ---------- */
.hero { padding-bottom: 28px; }
.poster h1 { font-size: clamp(2.55rem, 10.4vw, 4.6rem); line-height: .98; letter-spacing: -0.015em; color: var(--ink); max-width: 13ch; }
.poster .lede { font-size: 1.1rem; margin-top: 16px; max-width: 40ch; }
.dateline { display: grid; gap: 2px; margin: 0 0 16px; }
.dateline .caps { color: var(--ink-3); font-size: .68rem; }
.dateline .cdate { font: 600 1.55rem/1.1 var(--display); color: var(--gold-hi); font-variant-numeric: lining-nums; }
.poster .by { margin: 14px 0 22px; font-size: .98rem; color: var(--ink-2); max-width: 44ch; }
.credit { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font: 500 .6rem/1 var(--caps); letter-spacing: .34em; text-transform: uppercase; color: rgba(217, 190, 132, .78); }
.credit span { color: var(--gold); letter-spacing: 0; margin: 0 .7em; }
@media (max-width: 860px) {
  .hero { padding-top: 12px; }
  .art { aspect-ratio: auto; height: 150px; }
  .art svg { height: 120px; width: 100%; padding-top: 4px; }
  .poster-body { padding: 20px 20px 22px; }
}
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; margin: 18px auto 0; width: min(100%, 720px); }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 12px; color: var(--ink-2); text-decoration: none; font-weight: 600; border-radius: 10px; transition: color 160ms ease, background-color 160ms ease; }
.jump a:hover { color: var(--ink); background: rgba(212, 175, 55, .07); }
.jump .cn { font: 400 1.3rem/1 'Pimoit Coptic', var(--display); color: var(--rubric); }

/* ---------- section heads with a rubric numeral ---------- */
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(14px, 3vw, 30px); align-items: start; margin: 0 0 24px; }
.rubric { position: relative; font: 400 clamp(3.3rem, 10vw, 6rem)/.82 'Pimoit Coptic', var(--display); color: var(--rubric); min-width: .82em; text-align: center; padding-top: .16em; }
.rubric::before { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 3px; border-radius: 2px; background: var(--gold); }
.sec-head h2 { font-size: clamp(2.05rem, 5.6vw, 3.5rem); }
.sec-head .intro { margin: 12px 0 0; max-width: 58ch; color: var(--ink-2); font-size: 1.07rem; }
@media (min-width: 1400px) { .sec-head { grid-template-columns: 110px minmax(0, 1fr); margin-left: -140px; } .sec-head .rubric { text-align: right; } }
.takeaway { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: 44ch; font: 600 clamp(1.45rem, 3.4vw, 1.95rem)/1.22 var(--display); color: var(--ink); text-wrap: balance; }
.demo-label { color: var(--ink-3); font-size: .85rem; text-align: center; margin: 10px 0 0; }

/* ---------- make it yours, inside demo 1 ---------- */
.mine { margin: 0 0 26px; padding: 16px 18px; border-radius: 18px; background: rgba(27, 22, 17, .55); border: 1px solid var(--line); max-width: 640px; }
.mine-lead { margin: 0 0 10px; font: 600 1.3rem/1.1 var(--display); }
.mine-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
.mfield { font-size: .82rem; color: var(--ink-3); }
.mfield input { font-size: 16px; }
.mine-note { margin: 10px 0 0; font-size: .86rem; color: var(--ink-3); }
@media (max-width: 520px) { .mine-fields { grid-template-columns: 1fr 1fr; } }

/* ---------- the phone and its caption, as one device ---------- */
.device { display: grid; justify-items: center; align-content: start; }
.cap { display: none; }
.cap-next[hidden] { display: none; }
.cap .cap-next, .fcap .cap-next { min-height: 48px; width: 100%; margin-top: 8px; }
.fcap { display: grid; gap: 2px; width: min(340px, 100%); margin-top: 12px; padding: 12px 16px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); text-align: left; }
.fcap .cap-n { margin: 0; font: 600 .68rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.fcap .cap-t { margin: 0; font: 600 1.3rem/1.15 var(--display); color: var(--ink); }
.fcap .cap-d { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.4; min-height: 2.8em; }
@media (max-width: 860px) {
  .stage { margin-top: 4px; gap: 0; }
  .steps-panel { display: none; }
  .handset { width: min(300px, 84vw); height: 64vh; height: min(64svh, 600px); aspect-ratio: auto; border-width: 8px; border-radius: 38px; }
  .handset.sm { width: min(300px, 84vw); }
  .handset.short { height: 52vh; height: min(52svh, 520px); }
  .handset::before { top: 6px; height: 18px; width: 70px; margin-left: -35px; }
  .cap { display: grid; gap: 2px; width: min(340px, 92vw); margin: 10px auto 0; padding: 12px 16px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); text-align: left; justify-items: stretch; }
  .cap-n { font-size: .66rem; }
  .cap-t { font-size: 1.28rem; }
  .cap-d { margin: 2px 0 0; font-size: .95rem; line-height: 1.4; min-height: 2.8em; }
}

/* ---------- inside the phones: everything a finger touches is at least 44px ---------- */
.screen .back, .screen .round, .screen .qz-x, .screen .btn-x { min-width: var(--tap); min-height: var(--tap); }
.screen .gold-btn, .screen .ghost, .screen .slink, .screen .b-act, .screen .bchip, .screen .s-get, .screen .given { min-height: var(--tap); }
.screen .slink { display: inline-flex; align-items: center; padding: 0 10px; }
.screen .b-sw { min-height: var(--tap); }
.screen .tile { min-height: 64px; }
.s-get { font-size: 14px; }
.lk-hint { animation: none; font-size: 15px; font-weight: 600; color: #F6EEDC; bottom: 20px; }
.lk-sent { margin: 14px 6px 0; font-size: 12.5px; line-height: 1.4; color: rgba(242, 232, 213, .72); }
.search { height: 50px; margin: 12px 0 6px; }
.search input { height: 46px; font-size: 16px; }
.fills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 12.5px; color: rgba(242, 232, 213, .6); }
.fills button { min-height: var(--tap); padding: 0 14px; border-radius: 99px; border: 1px solid #4E3F2C; background: #211A13; color: #F2E8D5; font-size: 13.5px; }
.qz-tip { opacity: .75; }

/* Monday: the servant's results screen (ScLessonResults) */
.servant-view { background: #17120E; }
.rs-head { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.rs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 14px; }
.rs-stats div { display: grid; justify-items: center; padding: 10px 4px; border-radius: 14px; border: 1px solid #3A2E21; background: #211A13; }
.rs-stats b { font: 700 20px/1.1 var(--display); color: #F2E8D5; }
.rs-stats span { font-size: 11.5px; color: rgba(242, 232, 213, .65); font-weight: 600; }
.rs-q { padding: 10px 12px; margin: 0 0 8px; border-radius: 14px; border: 1px solid #3A2E21; background: #211A13; }
.rs-top { display: flex; gap: 8px; justify-content: space-between; align-items: start; }
.rs-top b { font-size: 13px; line-height: 1.35; }
.rs-pc { font: 700 18px/1.1 var(--display); color: #E8C964; }
.rs-pc.low { color: #D98A7E; }
.rs-a { margin: 2px 0 6px; font-size: 11.5px; color: rgba(242, 232, 213, .65); }
.rs-bar { display: block; height: 7px; border-radius: 99px; background: #3A2E21; overflow: hidden; }
.rs-bar i { display: block; height: 100%; width: calc(var(--w) * 100%); background: #D4AF37; border-radius: inherit; transition: width 600ms var(--ease-out); }
.rs-bar i.low { background: #B8574A; }
.rs-n { margin: 4px 0 0; font-size: 11px; color: rgba(242, 232, 213, .5); }
.rs-who { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 0 6px; border-radius: 12px; background: #211A13; font-size: 13px; }
.rs-who .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #33291E; color: #E8C964; font-weight: 700; font-size: 12px; }
.rs-who b { flex: 1; }
.rs-who span:last-child { color: rgba(242, 232, 213, .65); font-size: 12px; }
.rs-foot { margin: 8px 0 18px; text-align: center; font-size: 11.5px; color: rgba(242, 232, 213, .5); }

/* ---------- ⲃ iftiqad: an editorial split ---------- */
.drift { background: #120E0A; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split .sec-head h2 { font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1; }
.split .intro { font-size: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.split .check-wrap { width: min(100%, 380px); justify-self: center; margin-top: 30px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .takeaway { margin-top: 20px; } }
.cl-items button { min-height: 52px; }
.cl-items li.hot { border-color: rgba(224, 122, 46, .75); background: rgba(224, 122, 46, .08); }

/* ---------- ⲅ the Bible: a tap cue on verse 5, the quiet switch as one line, the reader ---------- */
.b-v.lit::after { content: ''; position: absolute; right: 6px; bottom: -10px; width: 34px; height: 34px; pointer-events: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='12' cy='9' r='7' fill='none' stroke='%23E8C964' stroke-width='1.6' opacity='.8'/%3E%3Cpath d='M10 9a2 2 0 0 1 4 0v7l5.5 1.2a2.5 2.5 0 0 1 2 2.8l-.9 6A3 3 0 0 1 17.6 28H13a3 3 0 0 1-2.4-1.2L6.4 21a1.8 1.8 0 0 1 2.6-2.4L10 19.6z' fill='%23F2E8D5' stroke='%231B1611' stroke-width='1.2'/%3E%3C/svg%3E"); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); animation: tapcue 1600ms var(--ease-out) infinite; z-index: 2; }
@keyframes tapcue { 0%, 100% { transform: translate(0, 0) scale(1); } 35% { transform: translate(-4px, -5px) scale(.88); } 55% { transform: translate(0, 0) scale(1); } }
.b-mynote { border-left: 0; border: 1px solid color-mix(in srgb, var(--tone, #E2C46A) 45%, transparent); }
.quote { border-left: 0; border: 1px solid rgba(27, 22, 17, .35); }
.n-card { border-left: 1px solid #3A2E21; box-shadow: none; background: linear-gradient(90deg, color-mix(in srgb, var(--tone, #E2C46A) 12%, #211A13), #211A13 60%); }
.quiet-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin: 44px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quiet-row p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.quiet-row p b { color: var(--ink); }
.quiet-row .quiet-mock { width: min(100%, 330px); min-height: var(--tap); }
@media (max-width: 760px) { .quiet-row { grid-template-columns: 1fr; } .quiet-row .quiet-mock { width: 100%; } }
.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 5vw, 64px); align-items: start; margin-top: 40px; }
.honest .sub-h { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 12px; }
.honest-copy p { color: var(--ink-2); max-width: 54ch; }
.reader-label { margin: 0 0 10px; font: 600 1.1rem/1.3 var(--display); color: var(--gold-hi); }
.reader-page { height: 220px; }
.reader-foot .btn { min-height: var(--tap); }
@media (max-width: 860px) { .honest { grid-template-columns: 1fr; } }

/* ---------- ⲇ the Royal Doors, full width, then the paper letter ---------- */
.family-sec { padding-top: 0; }
.royal { position: relative; height: clamp(220px, 36vw, 400px); margin-bottom: clamp(40px, 7vw, 80px); overflow: hidden; background: radial-gradient(60% 90% at 50% 100%, rgba(232, 201, 100, .28), transparent 70%), linear-gradient(#0A1226, #14100C); border-bottom: 1px solid var(--frame); }
.royal-in { position: absolute; left: 50%; bottom: 0; width: min(560px, 86vw); height: 92%; transform: translateX(-50%); border-radius: 999px 999px 0 0; overflow: hidden; border: 1.5px solid var(--gold); border-bottom: 0; background: radial-gradient(70% 70% at 50% 75%, #F6E7B5, #D9B45A 40%, #5B3F17 80%); }
.royal-t { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; font: 600 clamp(1.6rem, 4.4vw, 2.8rem)/1.08 var(--display); color: #2A1C0C; }
.royal .leaf { position: absolute; top: 0; bottom: 0; width: 50%; height: 100%; transition: transform 1600ms cubic-bezier(0.45, 0, 0.15, 1); }
.royal .leaf.l { left: 0; transform-origin: left center; }
.royal .leaf.r { right: 0; transform-origin: right center; }
.royal.open .leaf.l { transform: translateX(-88%); }
.royal.open .leaf.r { transform: translateX(88%); }
.family { grid-template-columns: minmax(0, 1fr) 320px; margin-top: 8px; }
.move { display: grid; gap: 12px; align-content: start; }
.mv-l { margin: 0; color: var(--ink-2); font-weight: 600; }
.mv-chips { display: flex; gap: 8px; }
.mchip { min-height: var(--tap); padding: 0 18px; }
.letter-paper { position: relative; margin: 6px 0 4px; padding: 26px clamp(20px, 4vw, 36px) 22px; background: var(--paper); color: var(--paper-ink); border-radius: 3px; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 24px 40px -24px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .35); transform: rotate(-.6deg); background-image: linear-gradient(transparent 31px, rgba(90, 70, 40, .14) 32px); background-size: 100% 32px; background-position: 0 6px; }
.lp-cross { margin: 0 0 6px; text-align: center; color: #8C6A1F; font-size: 20px; line-height: 1; }
.lp-dear { display: block; font: italic 600 1.35rem/1.3 var(--display); color: var(--paper-ink); }
.letter-paper textarea { display: block; width: 100%; margin: 4px 0 8px; padding: 0; border: 0; background: transparent; resize: none; color: var(--paper-ink); font: italic 500 1.28rem/32px var(--display); min-height: 128px; outline: none; }
.letter-paper textarea:focus-visible { outline: 2px dashed rgba(140, 106, 31, .6); outline-offset: 4px; }
.lp-sign { margin: 0; text-align: right; font: italic 600 1.2rem/1.35 var(--display); }
.lp-foot { margin: 14px 0 0; font-size: .82rem; color: #6E5B40; font-family: var(--text); }
.mv-f textarea { min-height: 64px; }
.mv-help { margin: -4px 0 0; color: var(--ink-3); font-size: .86rem; }
.after .seg { width: min(340px, 100%); }
.after .seg button { flex: 1; min-height: var(--tap); padding: 6px 10px; line-height: 1.15; }
.scr.wait { padding: 30px 22px; }
.w-ey { margin: 0 0 8px; color: #E6C766; font-size: 10px; letter-spacing: .28em; }
.w-cross { margin: 0 0 6px; font-size: 26px; color: #D4AF37; }
.w-t { margin: 0 0 6px; font: 600 24px/1.15 var(--display); color: #F6EFE2; }
.w-s { margin: 0 0 18px; font-size: 13.5px; color: rgba(242, 232, 213, .75); }
.scr.wait .gold-btn { width: 100%; }
.dw-tap { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 22px; border-radius: 99px; background: rgba(212, 175, 55, .16); border: 1px solid rgba(212, 175, 55, .6); color: #F2E8D5; font-size: 14px; }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } .after { margin-top: 18px; } }

/* ---------- ⲉ the paper card beside the live store ---------- */
.store-stage { grid-template-columns: minmax(0, .8fr) 300px minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); margin-top: 8px; }
.paper-card { margin: 34px 0 0; }
.paper-card svg { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }
.paper-card figcaption { margin-top: 14px; color: var(--ink-2); font-size: .98rem; }
.paper-card figcaption b { color: var(--ink); }
.seg.grades { width: min(340px, 100%); }
.seg.grades button { flex: 1; min-height: var(--tap); padding: 0 10px; font-size: .9rem; }
.s-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3); flex: 0 0 auto; }
.mini-row .ci { display: grid; place-items: center; width: 28px; height: 28px; padding: 4px; }
.loop { gap: 0; border-top: 1px solid var(--line); }
.lp { border: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); padding: 14px 4px; }
.lp.on, .lp.done { border-color: var(--line); }
.lp.on .lp-t { color: var(--gold-hi); }
.mini { margin-top: 8px; border-radius: 12px; border: 1px solid #3A2E21; background: rgba(33, 26, 19, .6); }
.given { min-height: var(--tap); padding: 0 16px; }
@media (max-width: 1060px) { .store-stage { grid-template-columns: 300px minmax(0, 1fr); } .paper-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px; align-items: center; margin: 0; } }
@media (max-width: 860px) {
  .store-stage { grid-template-columns: 1fr; gap: 16px; }
  .paper-card { grid-template-columns: 132px minmax(0, 1fr); gap: 14px; }
  .paper-card figcaption { margin: 0; font-size: .9rem; }
  .loop { width: min(340px, 100%); margin: 0 auto; }
  .lp { padding: 10px 2px; grid-template-columns: 28px 1fr; gap: 10px; }
  .lp-n { width: 26px; height: 26px; }
  .lp-t { font-size: 1.08rem; }
  .lp-d { font-size: .9rem; }
}

/* ---------- a servant's real week, and safe by design ---------- */
.week-safe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ruled { position: relative; padding: 28px 28px 22px 54px; background: var(--paper); color: var(--paper-ink); border-radius: 3px; background-image: linear-gradient(90deg, transparent 38px, rgba(180, 70, 50, .35) 38px, rgba(180, 70, 50, .35) 39px, transparent 39px), linear-gradient(transparent 31px, rgba(60, 90, 140, .18) 32px); background-size: 100% 100%, 100% 32px; box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .8); }
.ruled h2 { color: var(--paper-ink); font-size: clamp(1.9rem, 4.6vw, 2.6rem); margin: 0 0 12px; line-height: 1.1; }
.ruled p { font: 500 1.2rem/32px var(--display); margin: 0 0 16px; color: var(--paper-ink); }
.ruled p b { font-weight: 700; }
.ruled p:last-child { font: 400 1rem/32px var(--text); color: #5B4A33; margin: 0; }
.safe h2 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); margin: 0 0 14px; }
.safe ul { list-style: none; margin: 0; padding: 0; }
.safe li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.safe li b { color: var(--ink); }
@media (max-width: 860px) { .week-safe { grid-template-columns: 1fr; } .ruled { padding: 22px 18px 18px 46px; background-image: linear-gradient(90deg, transparent 30px, rgba(180, 70, 50, .35) 30px, rgba(180, 70, 50, .35) 31px, transparent 31px), linear-gradient(transparent 31px, rgba(60, 90, 140, .18) 32px); } }

/* ---------- questions ---------- */
.qa-open { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 5vw, 56px); margin-top: 26px; max-width: 980px; }
.qa-open h3 { font-size: 1.45rem; margin: 0 0 8px; }
.qa-open p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .qa-open { grid-template-columns: 1fr; } }
.qa { margin-top: 26px; }
.qa summary { min-height: var(--tap); display: flex; align-items: center; }
.all .groups { margin-top: 10px; }

/* ---------- forms, footer and links: full-size targets ---------- */
.plat label { min-height: var(--tap); display: inline-flex; align-items: center; gap: 8px; }
.field input { min-height: 48px; font-size: 16px; }
footer li a { display: inline-flex; align-items: center; min-height: var(--tap); }
footer li { margin: 0; }
.trust a, .intro a, p a { padding: 12px 0; margin: -12px 0; }
.ticket { min-height: 58px; }
.dock { left: 12px; right: 12px; }

@media (prefers-reduced-motion: reduce) {
  .b-v.lit::after { animation: none; }
  .royal .leaf { transition: none; }
  .scr.on { animation: none; }
}

/* ---------- the honest reader opens on demand on phones ---------- */
.reader-wrap > summary { list-style: none; cursor: pointer; display: grid; gap: 2px; min-height: var(--tap); padding: 12px 44px 12px 16px; border: 1px solid rgba(212, 175, 55, .45); border-radius: 16px; position: relative; background: rgba(212, 175, 55, .06); }
.reader-wrap > summary::-webkit-details-marker { display: none; }
.reader-wrap > summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--display); color: var(--gold-hi); transition: transform 200ms var(--ease-out); }
.reader-wrap[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.rw-t { font-weight: 700; color: var(--ink); }
.rw-s { font: 600 1.05rem/1.3 var(--display); color: var(--gold-hi); }
.reader-wrap[open] .reader { margin-top: 12px; }

/* ---------- a shorter page on phones ---------- */
@media (max-width: 860px) {
  section { padding: 44px 0; }
  .family-sec { padding-top: 0; }
  .takeaway { margin-top: 20px; padding-top: 14px; font-size: 1.32rem; }
  .sec-head { margin-bottom: 16px; }
  .sec-head .intro { font-size: 1rem; margin-top: 8px; }
  .mine { padding: 12px 14px; margin-bottom: 18px; }
  .mine-lead { font-size: 1.15rem; margin-bottom: 8px; }
  .mine-note { display: none; }
  .quiet-row { margin-top: 28px; padding: 16px 0; gap: 12px; }
  .honest { margin-top: 24px; gap: 14px; }
  .honest .sub-h { margin-bottom: 6px; }
  .honest-copy p { margin: 0; }
  .royal { height: 190px; margin-bottom: 32px; }
  .lp-cross, .lp-foot, #moveSheet .mv-go, #famHint { display: none; }
  .letter-paper { padding: 18px 18px 16px; }
  .letter-paper textarea { min-height: 96px; }
  .mv-f textarea { min-height: 56px; }
  .split .check-wrap { margin-top: 26px; }
  .cl-items li .cd { font-size: .86rem; }
  .booth .soft { display: none; }
  .two { grid-template-columns: 1fr 1fr !important; }
  .tform { gap: 12px; }
  .safe li { padding: 9px 0; font-size: .95rem; }
  .ruled p { font-size: 1.12rem; }
  footer { padding: 32px 0 calc(90px + env(safe-area-inset-bottom)); }
  footer .cols { grid-template-columns: 1fr 1fr !important; gap: 18px 16px; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  footer .foot-by { font-size: .92rem; margin-bottom: 4px; }
  footer h3 { font-size: 1.15rem; margin-bottom: 2px; }
  footer li { font-size: .88rem; }
}
@media (max-width: 860px) {
  .handset { height: 60vh; height: min(60svh, 580px); }
  .handset.short { height: 50vh; height: min(50svh, 500px); }
  .royal { height: 150px; margin-bottom: 26px; }
  .honest-copy p { display: none; }
  footer .dim { display: none; }
  .jump { margin-top: 12px; }
  .jump a { padding: 0 9px; }
}
.screen .s-get { min-height: 46px; }
.trust a, .intro a, p a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.dw-tap { min-height: 48px; }
.letter-paper { background-image: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .35), transparent 60%), linear-gradient(180deg, #F3EAD5, #E9DCC0); }
.letter-paper textarea { line-height: 1.45; }
