/* ScribeGhost 3 — public theme. Midnight (dark, default) and Paper (light). No external fonts. */

:root {
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --bg: #081423;
  --bg-glow: radial-gradient(1200px 600px at 50% -200px, rgba(205, 180, 138, .10), transparent 70%), radial-gradient(900px 500px at 100% 0, rgba(76, 116, 160, .14), transparent 60%);
  --surface: #0d1e33;
  --surface-2: #11263e;
  --surface-3: #16304c;
  --text: #ece3d0;
  --text-soft: #d3c9b5;
  --muted: #93a7bc;
  --faint: #5f7790;
  --accent: #cdb48a;
  --accent-strong: #e2c99c;
  --on-accent: #0b1a2c;
  --line: rgba(236, 227, 208, .10);
  --line-strong: rgba(236, 227, 208, .20);
  --danger: #f08a7e;
  --danger-bg: rgba(220, 80, 64, .14);
  --ok: #8fd3b0;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 50px -20px rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --focus: 0 0 0 3px rgba(205, 180, 138, .35);
  --radius: 18px;
  --radius-sm: 10px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5efe3;
    --bg-glow: radial-gradient(1200px 600px at 50% -240px, rgba(166, 125, 62, .12), transparent 70%);
    --surface: #fffdf8;
    --surface-2: #faf5ea;
    --surface-3: #f1e9d8;
    --text: #1d2430;
    --text-soft: #343b47;
    --muted: #6d6658;
    --faint: #a39a88;
    --accent: #8a6630;
    --accent-strong: #6f501f;
    --on-accent: #fffdf8;
    --line: rgba(60, 45, 20, .10);
    --line-strong: rgba(60, 45, 20, .20);
    --danger: #b3412f;
    --danger-bg: rgba(179, 65, 47, .08);
    --ok: #2f7d57;
    --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 18px 40px -22px rgba(60, 45, 20, .28);
    --shadow-sm: 0 1px 2px rgba(60, 45, 20, .08);
    --focus: 0 0 0 3px rgba(138, 102, 48, .25);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5efe3;
  --bg-glow: radial-gradient(1200px 600px at 50% -240px, rgba(166, 125, 62, .12), transparent 70%);
  --surface: #fffdf8;
  --surface-2: #faf5ea;
  --surface-3: #f1e9d8;
  --text: #1d2430;
  --text-soft: #343b47;
  --muted: #6d6658;
  --faint: #a39a88;
  --accent: #8a6630;
  --accent-strong: #6f501f;
  --on-accent: #fffdf8;
  --line: rgba(60, 45, 20, .10);
  --line-strong: rgba(60, 45, 20, .20);
  --danger: #b3412f;
  --danger-bg: rgba(179, 65, 47, .08);
  --ok: #2f7d57;
  --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 18px 40px -22px rgba(60, 45, 20, .28);
  --shadow-sm: 0 1px 2px rgba(60, 45, 20, .08);
  --focus: 0 0 0 3px rgba(138, 102, 48, .25);
  color-scheme: light;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg-glow), var(--bg); background-attachment: fixed;
  color: var(--text); font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 }
a { color: inherit; text-decoration: none }
img, svg { display: block }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
::selection { background: rgba(205, 180, 138, .35) }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px }
[hidden] { display: none !important }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; font-weight: 600 }
.skip:focus { top: 12px }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }

.logo .logo-body { fill: var(--text) }
.logo .logo-face { fill: var(--surface) }
.logo .logo-eye { fill: var(--muted) }
.logo .logo-quill { fill: var(--accent) }
.logo .logo-ink { stroke: var(--text) }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px }
.wrap.narrow { max-width: 760px }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center }
.row.center { justify-content: center }

/* -------------------------------------------------------------- topbar */
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line) }
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; min-width: 0 }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--surface-3), var(--surface)); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); flex: none }
.brand-mark.sm { width: 28px; height: 28px; border-radius: 9px }
.nav { display: flex; align-items: center; gap: 4px }
.nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .15s, background .15s }
.nav a:hover { color: var(--text); background: var(--surface-2) }
.nav a.active { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong) }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 0; background: transparent; color: var(--muted); margin-left: 4px }
.icon-btn:hover { color: var(--text); background: var(--surface-2) }
.only-light { display: none }
:root[data-theme="light"] .only-light { display: block }
:root[data-theme="light"] .only-dark { display: none }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .only-light { display: block }
  :root:not([data-theme="dark"]) .only-dark { display: none }
}

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-size: .92rem; font-weight: 600; white-space: nowrap; transition: transform .12s, background .15s, color .15s, border-color .15s, box-shadow .15s; background: var(--surface-2); color: var(--text) }
.btn:hover { background: var(--surface-3) }
.btn:active { transform: translateY(1px) }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent) }
.btn.primary:hover { background: var(--accent-strong) }
.btn.ghost { background: transparent; border-color: var(--line-strong) }
.btn.ghost:hover { background: var(--surface-2) }
.btn.quiet { background: transparent; color: var(--muted); padding: 0 12px }
.btn.quiet:hover { color: var(--text); background: var(--surface-2) }
.btn.danger { background: var(--danger); color: #fff }
.btn.danger:hover { filter: brightness(1.06) }
.btn.lg { height: 48px; padding: 0 22px; font-size: .98rem }
.btn.sm { height: 36px; padding: 0 14px; font-size: .85rem }
.btn[disabled] { opacity: .6; pointer-events: none }
.btn.loading span { opacity: .6 }
.kbd { font: 500 .72rem var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .12); color: inherit; opacity: .75 }
.link { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-weight: 600; font-size: .92rem }
.link .i { width: 16px; height: 16px; transition: transform .15s }
.link:hover .i { transform: translateX(3px) }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: 72px; padding-bottom: 28px; text-align: center }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent) }
.eyebrow .i { width: 15px; height: 15px }
.hero h1 { font: 600 clamp(2.4rem, 6.4vw, 4.1rem)/1.04 var(--serif); letter-spacing: -.025em; margin: 0 auto; max-width: 14ch; text-wrap: balance }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 52ch; margin: 18px auto 0; text-wrap: pretty }

/* ------------------------------------------------------------ composer */
.composer { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px 18px; transition: border-color .2s, box-shadow .2s }
.composer:focus-within { border-color: var(--line-strong) }
.composer-title { width: 100%; border: 0; background: transparent; outline: none; font: 600 clamp(1.6rem, 3.4vw, 2.1rem)/1.2 var(--serif); letter-spacing: -.015em; padding: 0; margin-bottom: 12px }
.composer-title::placeholder, .composer-body::placeholder { color: var(--faint) }
.composer-body { width: 100%; min-height: 240px; border: 0; outline: none; resize: none; background: transparent; font: 400 1.18rem/1.75 var(--serif); color: var(--text-soft); padding: 0; overflow: hidden }
.composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px }
.composer-opts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0 }
.select { position: relative; display: inline-flex }
.select select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: .86rem; font-weight: 500; cursor: pointer }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none }
.select select:focus-visible { box-shadow: var(--focus); outline: none }
.count { font: 500 .78rem var(--mono); color: var(--muted) }
.count.over { color: var(--danger) }
.saved { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--faint) }
.saved .i { width: 14px; height: 14px }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden }
.form-msg { margin: 12px 0 0; font-size: .9rem; color: var(--danger); min-height: 0 }
.form-msg:empty { display: none }
.form-msg.ok { color: var(--ok) }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-strong); color: var(--text-soft) }
.notice .i { color: var(--accent); margin-top: 2px }

/* ------------------------------------------------------------- receipt */
.receipt { margin-top: 18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 32px; animation: rise .35s cubic-bezier(.2, .8, .2, 1) }
.receipt:focus { outline: none }
.receipt-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px }
.receipt-head h2 { font: 600 1.7rem/1.1 var(--serif); margin: 0 }
.receipt-head p { margin: 4px 0 0; color: var(--muted) }
.receipt-icon { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); flex: none }
.receipt-icon .i { width: 24px; height: 24px; stroke-width: 2.4 }
.receipt-block { padding: 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 12px }
.label { display: inline-flex; align-items: center; gap: 7px; font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px }
.label .i { width: 15px; height: 15px }
.key-row { display: flex; gap: 10px; align-items: center }
.key-row > :first-child { flex: 1; min-width: 0 }
.passkey { display: block; font: 600 clamp(1rem, 3.2vw, 1.3rem) var(--mono); letter-spacing: .04em; color: var(--accent); overflow-wrap: anywhere }
.warn { margin: 10px 0 0; font-size: .86rem; color: var(--muted) }
.receipt .row { margin-top: 18px }
.input { width: 100%; height: 42px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); outline: none; font-size: .92rem }
.input:focus { border-color: var(--accent); box-shadow: var(--focus) }
.mono { font-family: var(--mono); font-size: .86rem }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* -------------------------------------------------------------- stream */
.more { padding-top: 56px }
.section-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.section-label { font: 600 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px }
.stream-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 56px }
.stream-head .eyebrow { margin-bottom: 10px }
.stream-head h1 { font: 600 clamp(2.1rem, 5vw, 3rem)/1.05 var(--serif); letter-spacing: -.02em; margin: 0 }
.chips { display: flex; gap: 8px; margin: 26px 0 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none }
.chips::-webkit-scrollbar { display: none }
.chip { flex: none; padding: 7px 15px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--muted); border: 1px solid var(--line); background: transparent; transition: all .15s }
.chip:hover { color: var(--text); border-color: var(--line-strong) }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text) }
.stream { display: grid; gap: 14px }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 20px; transition: border-color .2s, transform .2s, box-shadow .2s }
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow) }
.meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font: 500 .76rem var(--mono); color: var(--muted) }
.meta .cat { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; position: relative; z-index: 2 }
.meta .cat:hover { text-decoration: underline }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint) }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: .72rem }
.pill .i { width: 13px; height: 13px }
.pill.decay { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent) }
.card-title { font: 600 1.55rem/1.22 var(--serif); letter-spacing: -.012em; margin: 10px 0 8px; text-wrap: balance; overflow-wrap: anywhere }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius) }
.card-excerpt { margin: 0; color: var(--text-soft); font: 1.02rem/1.65 var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere }
.card-excerpt.verse { font-style: italic }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .84rem; color: var(--muted) }
.res-count { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono) }
.res-count .i { width: 15px; height: 15px; color: var(--accent) }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text) }
.read-more .i { width: 15px; height: 15px; transition: transform .15s }
.card:hover .read-more .i { transform: translateX(3px) }
.stream.compact .card { padding: 20px 22px 16px }
.stream.compact .card-title { font-size: 1.3rem }
.stream.compact .card-excerpt { -webkit-line-clamp: 2; font-size: .98rem }
.new-pill { position: sticky; top: 76px; z-index: 5; display: flex; width: max-content; margin: -6px auto 14px; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .86rem; font-weight: 600; box-shadow: var(--shadow); animation: rise .3s ease }
.new-pill .i { width: 15px; height: 15px }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 28px }
.pager > :last-child { justify-self: end }
.pager-info { font: 500 .8rem var(--mono); color: var(--muted) }

/* --------------------------------------------------------------- entry */
.entry { padding-top: 40px }
.back { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--muted); margin-bottom: 34px }
.back:hover { color: var(--text) }
.back .i { width: 16px; height: 16px }
.entry-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 34px }
.entry-title { font: 600 clamp(2.2rem, 6vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.025em; margin: 16px 0 20px; text-wrap: balance; overflow-wrap: anywhere }
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem }
.anon-avatar { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-strong) }
.prose { font: 400 1.22rem/1.8 var(--serif); color: var(--text-soft); overflow-wrap: anywhere }
.prose p { margin: 0 0 1.25em }
.prose > p:first-child::first-letter { float: left; font-size: 3.5em; line-height: .8; padding: .08em .12em 0 0; margin-top: .04em; color: var(--accent); font-weight: 600 }
.prose.verse { font-style: italic }
.prose.verse > p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-weight: inherit }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 40px; padding: 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface) }
.actions .spacer { flex: 1 }
.btn.resonate b { font: 600 .82rem var(--mono); padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .14) }
.btn.resonate .i { color: var(--accent) }
.btn.resonate[aria-pressed="true"] { background: var(--accent); color: var(--on-accent) }
.btn.resonate[aria-pressed="true"] .i { color: inherit }
.btn.resonate.pop .i { animation: pop .45s ease }
@keyframes pop { 40% { transform: scale(1.45) rotate(20deg) } }
.burn { margin-top: 14px; padding: 22px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); background: var(--danger-bg); animation: rise .25s ease }
.burn strong { font-size: 1rem }
.burn p { margin: 4px 0 14px; color: var(--muted); font-size: .9rem }
.burn-row { display: flex; gap: 10px }
.burn-row .input { flex: 1; min-width: 0 }

/* --------------------------------------------------------------- empty */
.empty { text-align: center; padding-top: 96px }
.empty.small { padding: 64px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius) }
.empty-mark { width: 88px; height: 88px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 28px; background: linear-gradient(160deg, var(--surface-3), var(--surface)); border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite }
.empty.small .empty-mark { width: 72px; height: 72px; border-radius: 22px }
.empty h1 { font: 600 clamp(2rem, 5vw, 2.8rem)/1.1 var(--serif); margin: 0 }
.empty h2 { font: 600 1.6rem var(--serif); margin: 0 }
.empty .lede { margin-bottom: 26px }
@keyframes float { 50% { transform: translateY(-6px) } }

/* -------------------------------------------------------------- footer */
.foot { margin-top: 96px; border-top: 1px solid var(--line) }
.foot-inner { max-width: 1080px; margin: 0 auto; padding: 30px 24px 40px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; font-size: .86rem; color: var(--muted) }
.foot-brand { display: flex; align-items: center; gap: 10px }
.foot-brand strong { color: var(--text); font-family: var(--serif); font-size: 1rem }
.promises { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0 }
.promises li { display: inline-flex; align-items: center; gap: 7px }
.promises .i { width: 15px; height: 15px; color: var(--accent) }
.foot-links a { display: inline-flex; align-items: center; gap: 6px }
.foot-links a:hover { color: var(--text) }
.foot-links .i { width: 15px; height: 15px }

/* --------------------------------------------------------------- toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); animation: rise .25s ease; max-width: calc(100vw - 32px); text-align: center }
.toast.error { background: var(--danger); color: #fff }

/* ----------------------------------------------------------- responsive */
@media (max-width: 640px) {
  .wrap, .topbar-inner { padding-left: 16px; padding-right: 16px }
  .nav a span { display: none }
  .nav a { padding: 9px 11px }
  .hero { padding-top: 44px }
  .composer, .receipt { padding: 22px 18px 16px; border-radius: 16px }
  .composer-body { font-size: 1.1rem; min-height: 200px }
  .composer-bar { flex-direction: column; align-items: stretch }
  .composer-bar .btn { width: 100% }
  .kbd { display: none }
  .card { padding: 20px 18px 16px }
  .card-title { font-size: 1.35rem }
  .stream-head { padding-top: 36px }
  .stream-head .btn { display: none }
  .actions { border-radius: var(--radius) }
  .actions .spacer { display: none }
  .burn-row, .key-row { flex-direction: column; align-items: stretch }
  .prose { font-size: 1.12rem }
  .foot-inner { flex-direction: column; align-items: flex-start }
  .pager { grid-template-columns: 1fr 1fr }
  .pager-info { display: none }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}
@media print {
  .topbar, .foot, .actions, .burn, .more, .back { display: none !important }
  body { background: #fff; color: #000 }
}
