:root {
  --bg: #0f1623; --bg2: #16202f; --panel: #1d2a3d; --line: #2c3b52;
  --fg: #f3efe6; --muted: #a9b3c2; --accent: #f2b544; --accent-fg: #1a1200;
  --good: #4ec98a; --bad: #e06666; --chip: #243650; --chip-hover: #30476a;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
button { font: inherit; cursor: pointer; }
a { color: var(--accent); }
.hidden { display: none !important; }
.smallcaps { font-variant: small-caps; letter-spacing: .03em; }

/* ---------- slide content (shared) ---------- */
.slide { line-height: 1.35; }
.slide h1 { font-size: 2.6em; margin: 0 0 .3em; line-height: 1.1; }
.slide h2 { font-size: 1.6em; margin: 0 0 .6em; line-height: 1.15; color: #fff; }
.slide .subtitle { font-size: 1.15em; color: var(--muted); margin: 0; }
.slide .kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .7em; margin: 0 0 .6em; font-weight: 600; }
.slide ul.points { list-style: none; padding: 0; margin: 0; }
.slide ul.points > li { padding: .28em 0 .28em 1.1em; position: relative; font-size: 1.15em; }
.slide ul.points > li::before { content: ""; position: absolute; left: 0; top: .78em; width: .45em; height: .45em; border-radius: 50%; background: var(--accent); }
.slide ul.points ul { list-style: none; padding: .15em 0 0 1em; margin: 0; }
.slide ul.points ul li { font-size: .85em; color: #d9dde5; padding: .12em 0 .12em .9em; position: relative; }
.slide ul.points ul li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.slide b { color: #fff; }
.slide .section-title { text-align: center; }
.slide .section-title h1 { font-size: 3em; }
.slide.type-title, .slide.type-section { display: flex; flex-direction: column; justify-content: center; text-align: center; }

.ref { display: inline-block; background: var(--chip); color: var(--accent); border: 1px solid #3c527a; border-radius: .45em;
  padding: .02em .45em; margin: 0 .1em; font-size: .92em; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.ref:hover, .ref:focus { background: var(--chip-hover); outline: none; }

.passage { font-size: 1.08em; line-height: 1.55; }
.passage .pref { color: var(--accent); font-weight: 600; margin: .6em 0 .25em; font-size: .9em; }
.passage .v { display: inline; }
.passage .vn { color: var(--accent); font-size: .62em; vertical-align: super; margin: 0 .15em 0 .1em; font-weight: 700; }
.passage .lead { font-size: .95em; color: var(--muted); margin: 0 0 .6em; }
.passage .loading, .passage .error { color: var(--muted); font-style: italic; }
.passage .error { color: var(--bad); }

/* questions */
.q .question { font-size: 1.5em; font-weight: 600; margin: 0 0 .5em; line-height: 1.2; }
.q .hint { color: var(--muted); font-size: .85em; margin: 0 0 .8em; }
.q .options { display: grid; gap: .5em; }
.q .opt { text-align: left; background: var(--panel); color: var(--fg); border: 2px solid var(--line); border-radius: .6em; padding: .55em .8em; font-size: 1.05em; }
.q .opt .letter { display: inline-block; width: 1.5em; color: var(--accent); font-weight: 700; }
.q .opt.sel { border-color: var(--accent); background: #2a3b55; }
.q .opt.correct { border-color: var(--good); background: #1f3b31; color: #fff; box-shadow: 0 0 0 2px var(--good) inset; }
.q .opt.correct .letter, .tick { color: var(--good); font-weight: 700; }
.bar.correct .label { color: var(--good); }
.q .opt.wrong { border-color: var(--bad); }
.q .opt:disabled { opacity: .7; cursor: default; }
.q .status { color: var(--muted); font-size: .9em; margin-top: .6em; }
.q .status.ok { color: var(--good); }
.bars { display: grid; gap: .45em; margin-top: .6em; }
.bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6em; font-size: 1em; }
.bar .label { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.bar .track { grid-column: 1 / -1; height: .8em; background: var(--panel); border-radius: .4em; overflow: hidden; }
.bar .fill { height: 100%; background: var(--accent); width: 0; transition: width .4s; }
.bar.correct .fill { background: var(--good); }
.bar .pct { color: var(--muted); }
.cloud { display: flex; flex-wrap: wrap; gap: .35em .7em; align-items: baseline; justify-content: center; margin-top: .6em; line-height: 1.1; }
.cloud span { color: var(--fg); }
.cloud .big { color: var(--accent); font-weight: 700; }
.answers { display: grid; gap: .45em; margin-top: .6em; }
.answers .card { background: var(--panel); border-radius: .6em; padding: .55em .8em; font-size: .98em; border-left: 4px solid var(--accent); }
.q input[type=text], .q textarea { width: 100%; font: inherit; font-size: 1.05em; background: var(--panel); color: var(--fg); border: 2px solid var(--line); border-radius: .6em; padding: .55em .7em; }
.q textarea { min-height: 5em; resize: vertical; }
.q .row { display: flex; gap: .5em; align-items: center; margin-top: .5em; }
.btn { background: var(--accent); color: var(--accent-fg); border: 0; border-radius: .6em; padding: .55em 1em; font-weight: 700; }
.btn.secondary { background: var(--panel); color: var(--fg); border: 1px solid var(--line); }
.btn:disabled { opacity: .5; cursor: default; }
.mywords { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .5em; }
.mywords span { background: var(--chip); border-radius: 1em; padding: .15em .7em; }
.scale { display: flex; gap: .4em; margin: .5em 0; }
.scale .opt { flex: 1; text-align: center; padding: .7em 0; font-size: 1.2em; font-weight: 700; }
.scale-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .85em; }
.count { color: var(--muted); font-size: .85em; }

/* ---------- verse modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; z-index: 50; }
.modal { background: var(--bg2); width: 100%; max-height: 85vh; border-radius: 1em 1em 0 0; padding: 1em 1.1em 1.4em; overflow: auto; box-shadow: 0 -10px 40px rgba(0,0,0,.5); }
.modal .mhead { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: .5em; }
.modal .mhead h3 { margin: 0; font-size: 1.15em; color: var(--accent); }
.modal .mhead .ver { color: var(--muted); font-size: .8em; font-weight: 400; margin-left: .5em; }
.modal .close { background: var(--panel); color: var(--fg); border: 0; border-radius: 50%; width: 2.2em; height: 2.2em; font-size: 1em; }
@media (min-width: 900px) {
  .modal-back { align-items: center; }
  .modal { width: min(1100px, 92vw); border-radius: 1em; padding: 1.4em 1.8em 1.8em; font-size: 1.25em; }
}

/* ---------- presenter ---------- */
body.presenter { overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; height: 100vh; }
.joinbar { display: flex; align-items: center; gap: 1.2em; padding: .5em 1.2em; background: var(--bg2); border-bottom: 1px solid var(--line); font-size: calc(.6vw + .6vh); }
.joinbar .url { font-weight: 700; font-size: 1.5em; letter-spacing: .01em; }
.joinbar .url small { color: var(--muted); font-weight: 400; font-size: .6em; display: block; }
.joinbar .qr { height: 6.5em; width: 6.5em; background: #fff; padding: .3em; border-radius: .3em; cursor: pointer; }
.joinbar .url { font-size: 2em; }
.bigqr { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em; z-index: 20; cursor: pointer; }
.bigqr img { width: min(62vh, 70vw); height: min(62vh, 70vw); background: #fff; padding: 1.2em; border-radius: .6em; }
.bigqr-url { font-size: calc(1.6vw + 1.6vh); font-weight: 700; color: #fff; }
.bigqr-hint { color: var(--muted); font-size: calc(.6vw + .6vh); }
.joinbar .spacer { flex: 1; }
.joinbar .people { color: var(--muted); font-size: 1.1em; }
.joinbar .people b { color: var(--fg); }
.stage { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.stage.with-notes { grid-template-columns: 1fr 28vw; }
.presenter .slide { padding: 2.2vh 3.5vw; font-size: calc(.95vw + .95vh); overflow: auto; height: 100%; }
.presenter .slide.type-title { align-items: center; }
.presenter .slide.type-read .passage { columns: 2; column-gap: 2.5em; }
.presenter .slide.type-read .passage.short { columns: 1; max-width: 32em; margin: 0 auto; font-size: 1.25em; }
.notes { background: var(--bg2); border-left: 1px solid var(--line); padding: 1em 1.2em; overflow: auto; font-size: calc(.55vw + .55vh); line-height: 1.5; color: #e2e6ee; }
.notes h4 { margin: 0 0 .5em; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .8em; }
.controls { display: flex; align-items: center; gap: .6em; padding: .45em 1em; background: var(--bg2); border-top: 1px solid var(--line); font-size: 15px; }
.controls .counter { color: var(--muted); min-width: 5em; text-align: center; }
.controls .spacer { flex: 1; }
.controls button { background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: .5em; padding: .4em .8em; white-space: nowrap; }
@media (max-width: 1200px) { .controls kbd { display: none; } }
@media (max-width: 900px) { .controls { font-size: 13px; } }
.controls button.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.controls .qc { display: flex; gap: .4em; align-items: center; }
.controls .qc .n { color: var(--accent); font-weight: 700; margin-right: .3em; }
.controls kbd { font: inherit; font-size: .8em; color: var(--muted); }
.presenter .q .question { font-size: 1.7em; }
.presenter .q .options { max-width: 32em; }
.presenter .results-wrap { margin-top: .4em; }
.presenter .cloud { font-size: 1.3em; }
.presenter .answers { grid-template-columns: repeat(auto-fill, minmax(18em, 1fr)); }
.offline-banner { position: fixed; top: 0; left: 0; right: 0; background: var(--bad); color: #fff; text-align: center; padding: .3em; z-index: 60; font-weight: 600; }

/* ---------- audience ---------- */
body.audience { display: flex; flex-direction: column; min-height: 100vh; font-size: 17px; }
.aud-head { display: flex; align-items: center; gap: .6em; padding: .6em .9em; background: var(--bg2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.aud-head .title { flex: 1; font-weight: 600; font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aud-head .dot { width: .6em; height: .6em; border-radius: 50%; background: var(--bad); }
.aud-head .dot.live { background: var(--good); box-shadow: 0 0 0 3px rgba(78,201,138,.25); }
.aud-head .pos { color: var(--muted); font-size: .85em; }
.aud-main { flex: 1; padding: 1em .9em 6em; }
.audience .slide h1 { font-size: 1.8em; }
.audience .slide h2 { font-size: 1.35em; }
.audience .slide ul.points > li { font-size: 1.02em; }
.audience .slide.type-title { min-height: 60vh; }
.aud-nav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; gap: .5em; padding: .6em .9em calc(.6em + env(safe-area-inset-bottom)); background: var(--bg2); border-top: 1px solid var(--line); }
.aud-nav button { flex: 1; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: .6em; padding: .6em; font-weight: 600; }
.aud-nav button.live { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.aud-nav button:disabled { opacity: .35; }
.waiting { text-align: center; color: var(--muted); padding: 3em 1em; }

/* ---------- home ---------- */
body.home { display: grid; place-items: center; padding: 1em; }
.home-box { max-width: 30em; width: 100%; }
.deck-list { list-style: none; padding: 0; }
.deck-list li { background: var(--panel); border-radius: .6em; padding: .8em 1em; margin: .5em 0; display: flex; justify-content: space-between; }
.deck-list a { font-weight: 600; text-decoration: none; }
.deck-list span { color: var(--good); }
.login-form { display: flex; gap: .5em; }
.login-form input { flex: 1; font: inherit; background: var(--panel); color: var(--fg); border: 2px solid var(--line); border-radius: .6em; padding: .55em .7em; }
.home-box .count a { color: var(--muted); }

/* ---------- lyrics ---------- */
.slide.type-lyrics { display: flex; align-items: center; justify-content: center; text-align: center; }
.song .kicker { margin-bottom: 1em; }
.song .lines { font-size: 1.9em; line-height: 1.35; font-weight: 500; color: #fff; }
.song .lines div { margin: .1em 0; }
.song .author { color: var(--muted); font-size: .8em; margin-top: 1.5em; }
.audience .song .lines { font-size: 1.35em; }

/* ---------- names, leaderboard ---------- */
.who { color: var(--muted); font-size: .75em; margin-top: .15em; }
.answers .card .by { color: var(--accent); font-size: .78em; margin-top: .25em; }
.board { list-style: none; padding: 0; margin: .4em 0 0; max-width: 28em; }
.board li { display: grid; grid-template-columns: 2.2em 1fr auto; gap: .6em; align-items: center; padding: .35em .6em; border-radius: .5em; font-size: 1.15em; }
.board li:nth-child(1) { background: #3a3114; } .board li:nth-child(2) { background: #2a2f3a; } .board li:nth-child(3) { background: #332a22; }
.board .rank { color: var(--accent); font-weight: 700; } .board .sc { color: var(--muted); }
.people-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: .5em; padding: .3em .8em; font-size: 1.1em; }
.people-btn b { color: var(--fg); }
.plist-names { list-style: none; padding: 0; margin: 0; columns: 2; }
.plist-names li { padding: .2em 0; display: flex; align-items: center; gap: .5em; break-inside: avoid; }
.plist-names li:not(.on) { color: var(--muted); }
.dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: #5a6578; }
.dot.live { background: var(--good); }
.aud-head .me { background: var(--chip); color: var(--accent); border: 0; border-radius: 1em; padding: .2em .7em; font-size: .8em; max-width: 8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aud-nav .pray { flex: 1.3; }
.modal.tall { max-height: 92vh; }

/* ---------- prayer ---------- */
.prayer h4 { margin: 1em 0 .4em; color: var(--accent); font-size: .95em; text-transform: uppercase; letter-spacing: .08em; }
.prayer h4 .count { text-transform: none; letter-spacing: 0; margin-left: .4em; }
.pform textarea, .pform input[type=text] { width: 100%; font: inherit; background: var(--panel); color: var(--fg); border: 2px solid var(--line); border-radius: .6em; padding: .55em .7em; }
.pform .chk { display: flex; align-items: center; gap: .4em; color: var(--muted); font-size: .9em; margin-top: .4em; }
.pform .row { margin-top: .5em; }
.pform .status.ok { color: var(--good); }
.pitem { background: var(--panel); border-radius: .6em; padding: .55em .8em; margin: .4em 0; border-left: 4px solid var(--accent); }
.pitem.answered { border-left-color: var(--good); } .pitem.archived { border-left-color: var(--line); opacity: .75; }
.pitem .ptext { font-size: 1.02em; }
.pitem .pnote { color: var(--good); font-size: .9em; margin-top: .25em; }
.pitem .pmeta { color: var(--muted); font-size: .78em; margin-top: .3em; }
.pitem .priv { color: var(--bad); }
.pctl { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .45em; }
.pctl button { background: var(--bg2); color: var(--fg); border: 1px solid var(--line); border-radius: .5em; padding: .3em .7em; font-size: .85em; }
.pctl button.on { background: var(--good); color: #062; border-color: var(--good); }
.presenter .prayer { columns: 2; column-gap: 2em; font-size: .85em; }
.presenter .prayer h4, .presenter .prayer .row { column-span: all; }
.presenter .pitem { break-inside: avoid; }

/* ---------- admin ---------- */
body.admin { padding-bottom: 3em; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .8em 1.2em; background: var(--bg2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-head h1 { margin: 0; font-size: 1.2em; }
.admin-head nav { display: flex; gap: 1.2em; }
.admin-head nav a { text-decoration: none; font-weight: 600; }
.admin-main { max-width: 64em; margin: 0 auto; padding: 1em 1.2em; }
.admin-main h2 { margin: 1.2em 0 .5em; }
.deck-cards { display: grid; gap: .8em; grid-template-columns: repeat(auto-fill, minmax(22em, 1fr)); }
.deck-card { background: var(--panel); border-radius: .8em; padding: 1em 1.1em; border: 2px solid var(--line); }
.deck-card.live { border-color: var(--good); }
.deck-card .dc-head { display: flex; justify-content: space-between; align-items: start; gap: .6em; }
.deck-card h3 { margin: 0; font-size: 1.1em; }
.deck-card p { margin: .3em 0; }
.deck-card .row { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .7em; }
.deck-card .btn { text-decoration: none; display: inline-block; }
.badge { background: var(--good); color: #062; border-radius: 1em; padding: .1em .6em; font-size: .75em; font-weight: 700; white-space: nowrap; }
.tablewrap { overflow: auto; }
table.people { border-collapse: collapse; font-size: .9em; width: 100%; }
table.people th, table.people td { text-align: left; padding: .35em .5em; border-bottom: 1px solid var(--line); vertical-align: top; }
table.people th { color: var(--muted); font-weight: 600; font-size: .85em; }
table.people td.ok { color: var(--good); } table.people td.bad { color: var(--bad); }
.home-link { color: var(--muted); text-decoration: none; font-size: 1.2em; padding: 0 .4em; }
code { background: var(--panel); padding: .1em .35em; border-radius: .3em; }

/* ---------- prayer table ---------- */
.ptable { border-collapse: collapse; width: 100%; font-size: .95em; }
.ptable th, .ptable td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable th { color: var(--muted); font-weight: 600; font-size: .8em; text-transform: uppercase; letter-spacing: .06em; }
.ptable tr.mine td:first-child { border-left: 3px solid var(--accent); }
.ptable .st { font-weight: 600; } .ptable .st.open { color: var(--accent); } .ptable .st.answered { color: var(--good); } .ptable .st.archived { color: var(--muted); }
.ptable .acts { white-space: nowrap; }
.ptable .pnote { color: var(--good); font-size: .9em; margin-top: .2em; }
.prayer .empty { color: var(--muted); padding: 1em 0; }
.prayer .pform { margin-top: 1.2em; border-top: 1px solid var(--line); padding-top: .8em; }
.prayer .ftitle { margin: 0 0 .5em; }
.fld { display: flex; flex-direction: column; gap: .25em; color: var(--muted); font-size: .85em; flex: 1; }
.fld input, .fld textarea { font: inherit; font-size: 1.15em; color: var(--fg); background: var(--panel); border: 2px solid var(--line); border-radius: .6em; padding: .5em .7em; width: 100%; }
.pform .row { flex-wrap: wrap; }
.btn.danger { color: var(--bad); }
@media (max-width: 640px) {
  .ptable thead { display: none; }
  .ptable tr { display: block; padding: .5em 0; border-bottom: 1px solid var(--line); }
  .ptable td { display: block; border: 0; padding: .15em 0; }
  .ptable td[data-l]:not([data-l=""])::before { content: attr(data-l) ": "; color: var(--muted); font-size: .8em; }
  .ptable td[data-l="Request"]::before { content: ""; }
  .ptable td[data-l="Request"] .ptext { font-size: 1.05em; }
}
.presenter .prayer { columns: 1; font-size: .8em; }
.presenter .ptable { font-size: 1em; }
.presenter .prayer .pform { display: none; }

/* ---------- image slides (uploaded PowerPoint) ---------- */
.slide.type-image { display: flex; align-items: center; justify-content: center; padding: 0 !important; background: #000; }
.slide-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.audience .slide.type-image { margin: -1em -.9em 0; }
.audience .slide-img { width: 100%; height: auto; }

/* ---------- admin: songs, badges ---------- */
.admin-head nav a.cur { color: #fff; border-bottom: 2px solid var(--accent); }
.badge.grey { background: var(--line); color: var(--fg); } .badge.busy { background: var(--accent); color: var(--accent-fg); } .badge.bad { background: var(--bad); color: #fff; }
.deck-card.busy { opacity: .8; }
.song-cards { display: grid; gap: .8em; grid-template-columns: repeat(auto-fill, minmax(18em, 1fr)); }
.song-card { background: var(--panel); border-radius: .8em; padding: .9em 1em; border: 2px solid var(--line); }
.song-card h3 { margin: 0 0 .2em; font-size: 1.05em; } .song-card p { margin: .2em 0; } .song-card .row { display: flex; gap: .5em; margin-top: .6em; }
.deck-songs { background: var(--panel); border-radius: .8em; padding: .9em 1em; margin: .6em 0; border: 2px solid var(--line); }
.deck-songs h3 { margin: 0 0 .4em; font-size: 1.05em; }
.deck-songs ol { margin: 0; padding-left: 1.4em; } .deck-songs li { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .25em 0; }
.deck-songs select { font: inherit; background: var(--bg2); color: var(--fg); border: 1px solid var(--line); border-radius: .5em; padding: .4em .6em; }
#song-form textarea { min-height: 16em; font-family: inherit; }
input[type=file] { color: var(--muted); }

/* ---------- emotes ---------- */
.emote-bar { position: fixed; left: 0; right: 0; bottom: calc(3.6em + env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: .35em; padding: .3em .6em; pointer-events: none; }
.emote-bar button { pointer-events: auto; font-size: 1.5em; line-height: 1; background: rgba(29,42,61,.9); border: 1px solid var(--line); border-radius: 50%; width: 1.9em; height: 1.9em; padding: 0; transition: transform .15s; }
.emote-bar button.pop { transform: scale(1.35); }
.aud-main { padding-bottom: 8.5em; }
.emote-float { position: fixed; bottom: 12%; z-index: 40; pointer-events: none; display: flex; flex-direction: column; align-items: center; animation: emote-rise 3s ease-out forwards; }
.emote-float .em { font-size: 2.6em; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.emote-float .nm { font-size: .8em; color: #fff; background: rgba(0,0,0,.45); border-radius: 1em; padding: .05em .5em; margin-top: .15em; }
.presenter .emote-float .em { font-size: 4.5em; } .presenter .emote-float .nm { font-size: 1.1em; }
@keyframes emote-rise { 0% { transform: translateY(0) scale(.7); opacity: 0; } 10% { opacity: 1; transform: translateY(-2vh) scale(1.1); } 100% { transform: translateY(-60vh) scale(1); opacity: 0; } }
.emote-totals { display: flex; gap: .5em; color: var(--muted); }
.emote-total { background: var(--panel); border-radius: 1em; padding: .1em .55em; font-size: .95em; }

/* ---------- pdf export ---------- */
.pdf-box { margin-top: 2em; text-align: center; }
.pdf-box .btn { display: inline-block; text-decoration: none; font-size: 1.05em; }
.pdf-box .count { margin-top: .5em; }
.pdf-link { color: var(--fg); text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: .5em; padding: .4em .8em; }
