/* The Lost Letters of Lark Lane: shared look for the interactive story books. One book page at a time,
   cream paper under a dusk-purple bar that carries the found letters (envelopes). Matches the printed books:
   Andika for reading, Lilita One for titles, Patrick Hand for handwritten letters. */
:root {
  --ink: #2B2D42; --paper: #FBF6EC; --teal: #2A9D8F; --teal-d: #1F7A6F; --mustard: #E9C46A; --mustard-d: #C9A23F;
  --brick: #C8553D; --brick-d: #A44A3F; --sage: #8AB17D; --sky: #A8DADC; --dusk: #3D3B6E; --dusk2: #4F4C86;
  --cream: #F4E9D3; --old: #EFE2C2; --gray: #8D99AE; --muted: #5F6377; --door: #3E7C59; --pen: #22306B;
  --line: #E2D6BF; --rule: #C9D6EA; --green: #2E8B57; --red: #C0392B; --desk: #E9DCC4;
  --f-body: "Andika", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-display: "Lilita One", "Trebuchet MS", "Segoe UI", sans-serif;
  --f-hand: "Patrick Hand", "Comic Sans MS", "Segoe Print", cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--desk); color: var(--ink); font-family: var(--f-body); font-size: 19px; line-height: 1.65; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: .01em; }
a { color: var(--teal-d); }
.art { width: 100%; max-width: 100%; height: auto; display: block; }

/* top bar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--dusk); color: #fff;
  padding-block: 9px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.topbar-in { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand { display: grid; line-height: 1; color: #fff; text-decoration: none; }
.brand small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); }
.brand span { font-family: var(--f-display); font-size: 22px; letter-spacing: .02em; }
.slots { display: flex; gap: 5px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.slots .lbl { font-size: 12px; font-weight: 700; color: #CFCBEF; margin-right: 4px; letter-spacing: .06em; text-transform: uppercase; }
.slot { width: 30px; height: 22px; display: block; }
.slot svg { width: 100%; height: 100%; display: block; }
.slot .env { fill: transparent; stroke: #8F8BC4; stroke-width: 2; stroke-dasharray: 3 2; }
.slot .flap { fill: none; stroke: #8F8BC4; stroke-width: 2; }
.slot .seal { fill: transparent; }
.slot.full .env { fill: var(--old); stroke: #B5A57E; stroke-dasharray: none; }
.slot.full .flap { stroke: #B5A57E; }
.slot.full .seal { fill: var(--brick); }
.tools { display: flex; gap: 6px; }
.iconbtn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--dusk2); color: #fff; display: grid; place-items: center; }
.iconbtn svg { width: 22px; height: 22px; }
.iconbtn[aria-pressed="true"] { background: var(--brick); }
.iconbtn.off { opacity: .55; }

/* stage and pages */
.stage { padding-block: 22px 120px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.screen { max-width: 900px; margin: 0 auto; background: var(--paper); border-radius: 8px 22px 22px 8px; box-shadow: 0 1px 0 #D9C9A8, 0 12px 30px rgba(61,59,110,.14);
  overflow: hidden; animation: pageIn .45s ease both; position: relative; }
@keyframes pageIn { from { opacity: .3; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.band { background: var(--dusk); color: #fff; padding: 18px 26px 20px; position: relative; overflow: hidden; }
.band.puzzle { background: var(--brick); }
.band.teal { background: var(--teal); }
.band .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); }
.band.puzzle .eyebrow { color: #FFE9B8; }
.band h1 { font-size: clamp(28px, 4.4vw, 38px); margin-top: 2px; }
.band .envbg { position: absolute; right: -10px; top: -12px; width: 150px; opacity: .13; transform: rotate(-12deg); }
.body { padding: 24px 26px 30px; display: grid; gap: 20px; }
.lead { margin: 0; max-width: 64ch; }
.small { font-size: 15px; color: var(--muted); }
.label { font-size: 14px; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; justify-items: center; }
.split { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .split { grid-template-columns: 1.2fr 1fr; align-items: start; } .split.even { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.col { display: grid; gap: 14px; align-content: start; min-width: 0; }

/* chapter pages */
.chapter .opener { padding: 22px 26px 0; display: grid; gap: 10px; justify-items: center; text-align: center; }
.chapter .opener .artbox { width: 100%; max-width: 620px; border-radius: 14px; overflow: hidden; }
.chapter .chnum { font-size: 14px; font-weight: 700; letter-spacing: .16em; color: var(--brick); text-transform: uppercase; margin-top: 6px; }
.chapter .opener h1 { font-size: clamp(30px, 5vw, 44px); color: var(--ink); }
.story { padding: 18px 26px 30px; display: grid; justify-items: center; }
.story .text { max-width: 60ch; width: 100%; }
.story p { margin: 0 0 .8em; }
.story p.first::first-letter { font-family: var(--f-display); float: left; font-size: 3.4em; line-height: .85; color: var(--brick); padding: .08em .1em 0 0; }
.story p.big { font-family: var(--f-display); font-size: 1.5em; text-align: center; letter-spacing: .06em; color: var(--brick); }
.story .orn { display: flex; justify-content: center; gap: 10px; margin: 6px 0 18px; }
.story .orn svg { width: 22px; height: 15px; }
.story .inart { margin: 6px 0 20px; border-radius: 14px; overflow: hidden; }
.story .vig { max-width: 360px; margin: 10px auto 0; opacity: .95; }
.stopnote { justify-self: center; background: var(--mustard); color: var(--ink); font-weight: 700; padding: 12px 22px; border-radius: 6px; transform: rotate(-1.5deg);
  box-shadow: 3px 4px 0 rgba(0,0,0,.08); margin-top: 8px; text-align: center; }
.theend { font-family: var(--f-display); color: var(--brick); font-size: 34px; text-align: center; margin: 10px 0 0; }

/* speech: a small face and a bubble */
.say { display: flex; align-items: flex-end; gap: 10px; }
.say .face { width: 64px; height: 80px; flex: none; }
.say .face svg { width: 100%; height: 100%; }
.bubble { position: relative; background: #E3F1EF; color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 10px 16px; margin: 0; max-width: 56ch; font-size: 17px; }
.say.juni .bubble { background: #FBF0CF; } .say.postage .bubble { background: #ECEEF3; font-style: italic; }
.say.mrsd .bubble, .say.gran .bubble { background: #EFE6F3; }
.bubble b.who { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.say.juni .bubble b.who { color: #A07A12; } .say.postage .bubble b.who { color: var(--muted); }
.bubble.pop { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* letters and papers found in the story */
.letter { background: #FFFBF0; border-radius: 3px; box-shadow: 4px 5px 0 rgba(0,0,0,.08); padding: 18px 22px 18px 52px; position: relative;
  font-family: var(--f-hand); font-size: 21px; line-height: 30px; color: var(--pen);
  background-image: linear-gradient(transparent 29px, var(--rule) 29px); background-size: 100% 30px; background-position: 0 16px; }
.letter::before { content: ""; position: absolute; left: 38px; top: 0; bottom: 0; width: 2px; background: #F4A6A6; }
.letter.plain { background-image: none; padding-left: 22px; } .letter.plain::before { display: none; }
.letter.old { background-color: #F8F2E2; }
.letter p { margin: 0; }
.letter .date { text-align: right; }
.letter .sig { font-size: 23px; }
.letter .tiny { font-size: 17px; }
.tilt-l { transform: rotate(-1.2deg); } .tilt-r { transform: rotate(1deg); }
.envelope-back { background: var(--old); border: 1px solid #B5A57E; border-radius: 3px; position: relative; padding: 50px 18px 14px; font-family: var(--f-hand); color: var(--pen); font-size: 20px; line-height: 1.3; width: max-content; max-width: 100%; }
.envelope-back::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; background: linear-gradient(to bottom right, transparent 49%, #B5A57E 50%, transparent 51%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49%, #B5A57E 50%, transparent 51%) right / 50% 100% no-repeat; }

/* the notebook answer card */
.notebook { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 30px 18px 16px; display: grid; gap: 10px; position: relative; margin-top: 14px;
  background-image: linear-gradient(transparent 31px, #E4ECF6 31px); background-size: 100% 32px; background-position: 0 22px; }
.notebook .tab { position: absolute; left: 14px; top: -14px; background: var(--brick); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 6px; }
.notebook .rings { position: absolute; left: 0; right: 0; top: -6px; display: flex; justify-content: space-around; padding: 0 80px 0 220px; pointer-events: none; }
.notebook .rings i { width: 10px; height: 10px; border-radius: 50%; background: #ADB5BD; }
.notebook .q { margin: 0; font-weight: 700; max-width: 62ch; }
.nb-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nb-input { border: 0; border-bottom: 3px dashed var(--pen); background: transparent; font-family: var(--f-hand); font-size: 28px; color: var(--pen); padding: 2px 6px; min-width: 0; width: min(100%, 340px); letter-spacing: .03em; }
.nb-input.short { width: 120px; text-align: center; }
.nb-input.ok { border-bottom: 3px solid var(--green); color: var(--green); }
.nb-input:focus { outline: none; background: #FFFBEA; }
.feedback { margin: 0; font-weight: 700; min-height: 1.5em; }
.feedback.good { color: var(--green); } .feedback.bad { color: var(--red); }
.stamp { position: absolute; right: 16px; top: 10px; font-family: var(--f-display); color: var(--brick); border: 3px solid var(--brick); border-radius: 8px; padding: 2px 10px; font-size: 20px; letter-spacing: .08em;
  transform: rotate(-10deg); opacity: 0; pointer-events: none; }
.solved .stamp, .notebook.done .stamp { opacity: .85; animation: stampIn .35s ease both; }
@keyframes stampIn { from { transform: rotate(-10deg) scale(1.8); opacity: 0; } to { transform: rotate(-10deg) scale(1); opacity: .85; } }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.after { display: none !important; } .solved .after { display: grid !important; }

/* hints */
.hints { display: grid; gap: 10px; }
.btn.hintbtn { background: #fff; color: var(--teal-d); box-shadow: inset 0 0 0 2px var(--teal); justify-self: start; }
.btn.hintbtn.nudge { animation: nudge 1s ease 3; }
@keyframes nudge { 50% { transform: scale(1.06); } }
.hint-item { animation: pageIn .3s ease both; }

/* buttons */
.btn { border: 0; border-radius: 14px; padding: 12px 22px; min-height: 50px; font-weight: 700; background: var(--brick); color: #fff;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center; box-shadow: 0 3px 0 var(--brick-d); text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--brick-d); }
.btn.teal { background: var(--teal); box-shadow: 0 3px 0 var(--teal-d); }
.btn.dusk { background: var(--dusk); box-shadow: 0 3px 0 #29274D; }
.btn.mustard { background: var(--mustard); color: var(--ink); box-shadow: 0 3px 0 var(--mustard-d); }
.btn.ghost { background: transparent; color: var(--dusk); box-shadow: inset 0 0 0 2px var(--line); }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* shared widgets */
.scene { position: relative; background: var(--cream); border-radius: 16px; overflow: hidden; touch-action: manipulation; }
.scene svg { width: 100%; height: auto; display: block; }
.tap { cursor: pointer; }
.linputs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.linputs .sp { width: 16px; }
.linput { width: 42px; height: 48px; border-radius: 8px; border: 2px dashed var(--pen); background: #fff; text-align: center; font-family: var(--f-hand); font-size: 26px; text-transform: uppercase; color: var(--pen); }
.linput.ok { background: #E3F4EA; border: 2px solid var(--green); color: var(--green); }
.alpha { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; }
.alpha span, .alpha button { height: 40px; border-radius: 8px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: 18px; transition: background .2s; padding: 0; }
.alpha .from { background: var(--brick); color: #fff; box-shadow: none; }
.alpha .to { background: var(--mustard); box-shadow: none; }
.alpha .hop { background: #FBEFD0; }
.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choice { border: 3px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; text-align: left; display: grid; gap: 6px; justify-items: start; }
.choice .badge { width: 36px; height: 36px; border-radius: 50%; background: var(--dusk); color: #fff; display: grid; place-items: center; font-weight: 700; }
.choice[aria-pressed="true"] { border-color: var(--teal); background: #EAF5F3; }
.choice.right { border-color: var(--green); background: #E3F4EA; }
.choice.wrong { border-color: var(--red); background: #FBE9E5; }
.dials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dial { display: grid; justify-items: center; gap: 4px; }
.dial button { width: 56px; height: 34px; border-radius: 10px; border: 0; background: var(--dusk); color: #fff; font-size: 18px; line-height: 1; }
.dial output { width: 64px; height: 70px; border-radius: 10px; background: #fff; border: 4px solid var(--mustard-d); display: grid; place-items: center; font-family: var(--f-display); font-size: 36px; color: var(--ink); }
.dial.word output { width: auto; min-width: 96px; padding: 0 10px; font-size: 26px; }
.dial small { font-weight: 700; color: var(--brick); font-size: 13px; }
.gridbox { overflow-x: auto; }
.lgrid { border-collapse: separate; border-spacing: 3px; margin: 0 auto; user-select: none; -webkit-user-select: none; }
.lgrid td { width: 38px; height: 38px; text-align: center; font-weight: 700; font-size: 19px; color: var(--ink); background: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.lgrid td.hl { background: var(--mustard); }
.ws-words { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.ws-words span { padding: 3px 10px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: 16px; }
.xlist { display: grid; gap: 8px; }
.xitem { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px; text-align: left; width: 100%; }
.xitem.out { opacity: .45; text-decoration: line-through; text-decoration-color: var(--brick); text-decoration-thickness: 3px; }
.xitem.pick { border-color: var(--green); background: #E3F4EA; }
.chart { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
.chart th, .chart td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.chart th { background: var(--dusk); color: #fff; font-weight: 700; }
.chartwrap { overflow-x: auto; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--dusk); color: #fff; font-size: 22px; font-weight: 700; }
.stepper output { font-family: var(--f-display); font-size: 30px; min-width: 44px; text-align: center; }

/* cover */
.cover { background: var(--dusk); color: #fff; }
.cover .inner { display: grid; gap: 22px; padding: 28px 26px; }
@media (min-width: 760px) { .cover .inner { grid-template-columns: 1.05fr 1fr; align-items: center; } }
.cover .coverart { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.3); max-width: 380px; justify-self: center; width: 100%; }
.cover .eyebrow { color: var(--mustard); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.cover h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1; }
.cover h1 span { color: var(--mustard); display: block; font-size: .62em; margin-top: 8px; }
.cover .sub { color: #D6D3F0; margin: 0; }
.namefield { display: grid; gap: 6px; }
.namefield label { font-size: 13px; font-weight: 700; color: var(--mustard); letter-spacing: .08em; text-transform: uppercase; }
.namefield input { border-radius: 12px; border: 0; padding: 12px 14px; font-size: 22px; font-family: var(--f-hand); color: var(--pen); max-width: 360px; width: 100%; }
.namefield.light label { color: var(--brick); } .namefield.light input { border: 2px solid var(--line); }

/* cast and recap */
.cast { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.castcard { background: #fff; border-radius: 14px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.castcard .ph { width: 76px; height: 76px; border-radius: 50%; background: var(--cream); overflow: hidden; flex: none; display: grid; place-items: end center; }
.castcard .ph svg { width: 70px; height: 88px; margin-bottom: -14px; }
.castcard h3 { font-size: 20px; } .castcard p { margin: 0; font-size: 15px; color: var(--muted); }

/* next book teaser and certificate */
.teaser { background: var(--dusk); color: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.teaser .eyebrow { color: var(--mustard); font-weight: 700; letter-spacing: .14em; font-size: 13px; }
.teaser h2 { font-size: 30px; } .teaser p { margin: 0; max-width: 52ch; color: #E4E2F6; }
.cert { background: #FFF8E8; border: 10px double var(--dusk); border-radius: 14px; padding: 30px 22px; text-align: center; display: grid; gap: 10px; justify-items: center; position: relative; }
.cert .eyebrow { color: var(--brick); font-weight: 700; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.cert h2 { font-size: 30px; color: var(--dusk); } .cert h2 span { display: block; color: var(--teal-d); font-size: 40px; }
.cert .who { font-family: var(--f-hand); font-size: 38px; color: var(--pen); border-bottom: 2px solid var(--dusk); min-width: 60%; padding: 0 10px; line-height: 1.2; }
.cert .sigs { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.cert .sigs div { display: grid; font-size: 13px; color: var(--muted); }
.cert .sigs b { font-family: var(--f-hand); font-size: 24px; font-weight: 400; color: var(--pen); border-bottom: 1px solid var(--dusk); padding: 0 12px; }
.cert .corner { position: absolute; width: 40px; }
.cert .seal { width: 92px; height: 92px; }

/* pager */
.pager { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(251,246,236,.97); border-top: 1px solid var(--line);
  padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.pager-in { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.pager .where { flex: 1; min-width: 0; text-align: center; font-size: 14px; color: var(--muted); font-weight: 700; }
.dots { display: flex; gap: 5px; justify-content: center; margin-top: 4px; flex-wrap: wrap; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.dots i.done { background: var(--sky); } .dots i.now { background: var(--brick); transform: scale(1.3); }
.pager .btn { min-width: 118px; }

/* grown-ups sheet */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(30,28,60,.55); display: grid; place-items: center;
  padding-block: 16px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sheet-card { background: #fff; border-radius: 20px; max-width: 640px; width: 100%; max-height: 92vh; overflow: auto; padding: 22px; display: grid; gap: 16px; }
.sheet-card h2 { font-size: 26px; color: var(--dusk); }
.sheet-card p { margin: 0; font-size: 16px; }
.toggle { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 700; }
.toggle input { width: 24px; height: 24px; accent-color: var(--brick); }
.jump { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.jump button { text-align: left; border: 0; border-radius: 10px; background: var(--cream); padding: 8px 12px; font-size: 14px; }
.answers { background: var(--cream); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.answers ol { margin: 0; padding-left: 22px; }
.holdbtn { position: relative; overflow: hidden; }
.holdbtn .fillbar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255,255,255,.35); }

.fly { position: fixed; z-index: 60; width: 44px; height: 30px; pointer-events: none; }
.fly svg { width: 100%; height: 100%; }

@media (max-width: 560px) {
  body { font-size: 18px; }
  .band, .body, .story, .chapter .opener { padding-left: 16px; padding-right: 16px; }
  .brand { display: none; }
  .topbar-in { flex-wrap: nowrap; gap: 8px; }
  .slots { margin-left: 0; gap: 3px; flex-wrap: nowrap; } .slots .lbl { display: none; }
  .slot { width: 21px; height: 16px; }
  .tools { gap: 4px; } .iconbtn { width: 40px; height: 40px; }
  .alpha { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pager .btn { min-width: 0; padding: 10px 14px; }
  .dots { display: none; }
  .lgrid td { width: 31px; height: 31px; font-size: 16px; }
  .notebook .rings { display: none; }
  .stamp { top: -14px; right: 8px; font-size: 16px; background: var(--paper); }
  .letter { padding-left: 44px; font-size: 19px; } .letter::before { left: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  body.printing .topbar, body.printing .pager, body.printing .band, body.printing .namefield, body.printing .say, body.printing .row, body.printing .small { display: none !important; }
  body.printing .stage { padding: 0; } body.printing .screen { box-shadow: none; }
}
