/* Cifras Adorar-te: mesma identidade dos PDFs (azul-marinho, coral, acordes em laranja) */
:root {
  --bg: #f6f7f9; --card: #ffffff; --ink: #111827; --muted: #6b7280; --soft: #e5e7eb; --line: #eef0f3;
  --navy: #0f172a; --navy2: #1e293b; --coral: #e2563b; --chord: #c2410c; --tint: #fff3ec; --chip: #e8ebf0;
  --refr: #e2563b; --mod: #b45309; --parte: #2563eb; --ponte: #7c3aed; --neutro: #475569; --outro: #0f766e;
  --focus: #2563eb; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.06);
  --fs: 18px; --bar-h: 64px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b1120; --card: #121a2b; --ink: #e8edf5; --muted: #94a3b8; --soft: #263248; --line: #1a2438;
  --navy: #0a1020; --navy2: #16213a; --chord: #fb923c; --tint: #1c2740; --chip: #243049;
  --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1120; --card: #121a2b; --ink: #e8edf5; --muted: #94a3b8; --soft: #263248; --line: #1a2438;
    --navy: #0a1020; --navy2: #16213a; --chord: #fb923c; --tint: #1c2740; --chip: #243049;
    --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.45 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff;
  border-bottom: 3px solid var(--coral);
}
.top-in { max-width: 920px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 58px; }
.top .logo { height: 34px; width: auto; display: block; }
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.top .brand b { font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
.top .brand small { display: block; font-size: 11px; color: #ffb8a6; letter-spacing: .14em; font-weight: 700; }
.top .grow { flex: 1; min-width: 0; }
.top .ttl { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .sub { font-size: 12px; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  border: 0; background: transparent; color: inherit; width: 40px; height: 40px; border-radius: 10px;
  display: inline-grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn[disabled] { opacity: .35; cursor: default; }

main { max-width: 920px; margin: 0 auto; padding: 16px 16px 40px; }

/* ---------- início ---------- */
.search { position: relative; margin: 6px 0 14px; }
.search input {
  width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--soft); background: var(--card);
  padding: 0 16px 0 46px; font-size: 16px; box-shadow: var(--shadow);
}
.search svg { position: absolute; left: 15px; top: 14px; width: 22px; height: 22px; color: var(--muted); }
.tabs { display: flex; gap: 6px; margin: 4px 0 16px; background: var(--chip); padding: 4px; border-radius: 12px; }
.tabs button {
  flex: 1; border: 0; background: transparent; padding: 9px 10px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--muted);
}
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }

.card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.day-h {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; border-bottom: 1px solid var(--line);
}
.day-h .date { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.day-h .dow { display: block; color: var(--muted); font-size: 13px; }
.day-h .grow { flex: 1; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--coral); color: #fff; }
.badge.past { background: var(--chip); color: var(--muted); }
.period { padding: 6px 0 4px; }
.period h3 { margin: 6px 16px 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.song-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; text-decoration: none; min-height: 52px;
}
.song-row:hover { background: var(--line); }
.num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.song-row .info { flex: 1; min-width: 0; }
.song-row .t { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .a { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tom-pill { flex: none; border: 1.5px solid var(--coral); color: var(--chord); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.dates { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.dates span { font-size: 11px; background: var(--chip); color: var(--muted); border-radius: 6px; padding: 1px 6px; }
.more { display: block; width: 100%; border: 0; background: var(--card); padding: 14px; border-radius: 14px; font-weight: 700; color: var(--chord); cursor: pointer; box-shadow: var(--shadow); }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.letter { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .1em; padding: 10px 16px 2px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 24px; }

/* ---------- música ---------- */
.song-head { margin: 4px 0 14px; }
.song-head h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.12; margin: 0 0 4px; letter-spacing: -.02em; }
.song-head .artist { color: var(--muted); font-weight: 600; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.key-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; padding: 6px 10px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; }
.key-chip b { color: var(--chord); font-size: 15px; }
.key-chip.alt { background: var(--navy2); color: #fff; }
.key-chip.alt b { color: #ffb8a6; }
.key-chip.capo { background: var(--coral); color: #fff; }
.key-chip.capo b { color: #fff; }
.link-btn { border: 0; background: none; color: var(--chord); font-weight: 700; cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }

.yt { margin: 14px 0 6px; }
.yt-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 10px 14px; cursor: pointer;
  background: #dc2626; color: #fff; font-weight: 700; text-decoration: none;
}
.yt-btn.ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.yt-btn svg { width: 20px; height: 20px; }
.yt-frame { position: relative; aspect-ratio: 16 / 9; margin-top: 10px; border-radius: 14px; overflow: hidden; background: #000; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sheet { font-size: var(--fs); }
.stz { position: relative; margin: 0 0 1.05em; padding: .15em 0; break-inside: avoid; }
.stz.refr { background: var(--tint); border-radius: 10px; padding: .45em .7em .45em .9em; margin-left: -.2em; }
.stz.refr::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--coral); }
.tag { display: flex; align-items: center; gap: 6px; margin: .2em 0 .35em; flex-wrap: wrap; }
.pill { font-size: .62em; font-weight: 800; color: #fff; background: var(--outro); border-radius: 999px; padding: .28em .8em; letter-spacing: .02em; }
.pill.refr { background: var(--refr); } .pill.mod { background: var(--mod); } .pill.parte { background: var(--parte); }
.pill.ponte { background: var(--ponte); } .pill.neutro { background: var(--neutro); }
.rep { font-size: .62em; font-weight: 800; color: var(--muted); background: var(--chip); border-radius: 999px; padding: .22em .65em; margin-left: .4em; vertical-align: .15em; white-space: nowrap; }
.ln { line-height: 1.3; margin: 0 0 .08em; }
.ln.has-ch { margin-bottom: .22em; }
.w { display: inline-block; white-space: nowrap; vertical-align: bottom; }
.seg { display: inline-flex; flex-direction: column; vertical-align: bottom; }
.seg .ly { white-space: pre; font-weight: 500; }
.seg .ch { min-height: 0; white-space: nowrap; padding-right: .35em; }
.ch, .crow .c { color: var(--chord); font-weight: 800; font-size: .92em; }
.ch sup, .crow sup { font-size: .72em; vertical-align: .42em; line-height: 0; font-weight: 700; }
.crow { display: flex; flex-wrap: wrap; gap: .25em .9em; margin: .1em 0 .3em; }
.crow .x, .ch.x { color: var(--muted); font-weight: 600; }

/* ---------- barra de controles ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--soft);
  box-shadow: 0 -4px 20px rgba(15,23,42,.08); padding-bottom: env(safe-area-inset-bottom);
}
.bar-in { max-width: 920px; margin: 0 auto; display: flex; align-items: center; gap: 4px; padding: 8px 10px; height: var(--bar-h); }
.bar .grp { display: flex; align-items: center; gap: 2px; background: var(--chip); border-radius: 12px; padding: 3px; }
.bar button, .bar select {
  border: 0; background: transparent; height: 42px; min-width: 42px; border-radius: 9px; cursor: pointer; font-weight: 700; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.bar select { appearance: none; -webkit-appearance: none; text-align: center; color: var(--chord); font-size: 17px; font-weight: 800; padding: 0 6px; min-width: 56px; }
.bar button:hover { background: rgba(127,127,127,.15); }
.bar button[aria-pressed="true"] { background: var(--coral); color: #fff; }
.bar svg { width: 20px; height: 20px; }
.bar .lbl { font-size: 13px; }
.bar .sp { flex: 1; }
main.has-bar { padding-bottom: calc(var(--bar-h) + 40px + env(safe-area-inset-bottom)); }

.panel {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bar-h) + 10px + env(safe-area-inset-bottom)); z-index: 31;
  width: min(440px, calc(100% - 20px)); background: var(--card); border-radius: 18px; padding: 16px; box-shadow: 0 10px 40px rgba(15,23,42,.25);
  border: 1px solid var(--soft);
}
.panel[hidden] { display: none; }
.panel h2 { font-size: 15px; margin: 0 0 4px; }
.panel p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.panel .row { display: flex; align-items: center; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.panel .row > span { flex: 1; min-width: 120px; font-weight: 600; font-size: 14px; }
.stepper { display: inline-flex; align-items: center; background: var(--chip); border-radius: 12px; padding: 3px; }
.stepper button { border: 0; background: transparent; width: 40px; height: 38px; border-radius: 9px; cursor: pointer; font-size: 18px; font-weight: 800; }
.stepper button:hover { background: rgba(127,127,127,.15); }
.stepper output { min-width: 66px; text-align: center; font-weight: 800; }
.panel select { height: 42px; border-radius: 10px; border: 1px solid var(--soft); background: var(--card); padding: 0 10px; font-weight: 700; min-width: 90px; }
.btn { border: 0; border-radius: 11px; padding: 10px 14px; font-weight: 700; cursor: pointer; background: var(--chip); }
.btn.primary { background: var(--coral); color: #fff; }
.summary { background: var(--tint); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.summary b { color: var(--chord); }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.switch input { width: 20px; height: 20px; accent-color: var(--coral); }
/* ---------- seletor de cultos ---------- */
.strip-wrap { position: relative; display: flex; align-items: center; gap: 6px; margin: 0 -16px 6px; }
.strip {
  flex: 1; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 16px 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.strip::-webkit-scrollbar { display: none; }
.strip-nav { display: none; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--soft); background: var(--card); color: var(--ink); cursor: pointer; place-items: center; box-shadow: var(--shadow); }
.strip-nav svg { width: 18px; height: 18px; }
.chip-dia {
  position: relative; flex: none; scroll-snap-align: center; width: 64px; padding: 8px 0 9px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid var(--soft); background: var(--card); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.1; box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.chip-dia .dw { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.chip-dia .dn { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.chip-dia .mo { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.chip-dia.past { opacity: .62; }
.chip-dia.next::after, .chip-dia.today::after { content: ""; position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.chip-dia[aria-selected="true"] { background: var(--navy2); border-color: var(--coral); color: #fff; opacity: 1; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(226,86,59,.28); }
:root:not([data-theme="dark"]) .chip-dia[aria-selected="true"] { background: var(--navy); }
.chip-dia[aria-selected="true"] .dw, .chip-dia[aria-selected="true"] .mo { color: #ffb8a6; }
.chip-dia[aria-selected="true"]::after { background: #fff; }

.dia-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 2px 12px; }
.dia-head h2 { margin: 0; font-size: clamp(20px, 5.4vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
.dia-head .sub { color: var(--muted); font-size: 13px; font-weight: 600; }
.dia-head .badge { flex: none; }

.seg-per { display: flex; gap: 4px; background: var(--chip); padding: 4px; border-radius: 14px; margin: 0 0 12px; position: sticky; top: 64px; z-index: 5; }
.seg-per button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 11px;
  background: transparent; color: var(--muted); font-weight: 700; font-size: 15px; cursor: pointer;
}
.seg-per button svg { width: 18px; height: 18px; }
.seg-per button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.seg-per button[aria-selected="true"] svg { color: var(--coral); }
.seg-per .cnt { font-size: 12px; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.seg-per button[aria-selected="true"] .cnt { background: var(--coral); color: #fff; }

.per-card { animation: aparece .18s ease; }
.pers.duo .per-card:not(.ativo) { display: none; }
.per-h { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 16px 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.per-h svg { width: 18px; height: 18px; color: var(--coral); }
.per-h .cnt { margin-left: auto; letter-spacing: 0; text-transform: none; font-weight: 600; }
.per-card.noite .per-h svg { color: #818cf8; }
@keyframes aparece { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .per-card, .chip-dia { animation: none; transition: none; } }

/* tablet e computador: Manhã e Noite lado a lado, setas na faixa de datas */
@media (min-width: 768px) {
  .strip-wrap { margin: 0 0 8px; }
  .strip-nav { display: grid; }
  .strip { padding: 6px 8px 10px; }
  .chip-dia { width: 72px; }
  .seg-per { display: none; }
  .pers.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .pers.duo .per-card:not(.ativo) { display: block; }
  .pers .per-card { margin-bottom: 0; }
}
@media (min-width: 1100px) { main { max-width: 1040px; } .top-in, .bar-in { max-width: 1040px; } }

/* referência: botão discreto + barra de progresso acima dos controles */
.ref-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--soft); background: var(--card); color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none;
}
.ref-btn svg { width: 15px; height: 15px; color: #dc2626; }
.ref-btn[aria-pressed="true"] { border-color: #dc2626; color: #dc2626; }
.ref-dock {
  position: fixed; left: 0; right: 0; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); z-index: 29;
  background: var(--card); border-top: 1px solid var(--soft); box-shadow: 0 -4px 14px rgba(15,23,42,.06);
}
.ref-in { max-width: 920px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.ref-pp { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #dc2626; color: #fff; display: grid; place-items: center; cursor: pointer; }
.ref-pp svg { width: 18px; height: 18px; }
.ref-mid { flex: 1; min-width: 0; }
.ref-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.ref-t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-tm { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ref-mid input[type=range] { width: 100%; margin: 4px 0 0; accent-color: #dc2626; height: 18px; }
.ref-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.ref-x svg { width: 18px; height: 18px; }
.ref-video { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; left: 0; bottom: 0; }
body.com-ref main.has-bar { padding-bottom: calc(var(--bar-h) + 110px + env(safe-area-inset-bottom)); }
body.com-ref .panel { bottom: calc(var(--bar-h) + 70px + env(safe-area-inset-bottom)); }

/* tom oficial e administrador */
.tom-pill.oficial { background: var(--coral); color: #fff; border-color: var(--coral); }
.key-chip.oficial { background: var(--coral); color: #fff; }
.key-chip.oficial b { color: #fff; }
.key-chip .orig { font-size: 11px; opacity: .85; }
.top .icon-btn.adm { opacity: .55; }
.top .icon-btn.adm.on { opacity: 1; color: #ffb8a6; }
.adm-box { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; padding: 10px; border-radius: 12px; border: 1.5px dashed var(--coral); }
.adm-tag { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--coral); }
.adm-dica { font-size: 13px; color: var(--muted); }
.modal-fundo { position: fixed; inset: 0; z-index: 60; background: rgba(15,23,42,.55); display: grid; place-items: center; padding: 16px; }
.modal { width: min(380px, 100%); background: var(--card); border-radius: 18px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.modal h2 { margin: 0 0 6px; font-size: 18px; }
.modal p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.modal input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--soft); background: var(--bg); padding: 0 14px; font-size: 16px; }
.modal .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.modal .erro { color: #dc2626; margin: 8px 0 0; font-weight: 600; }

/* escala do culto */
.sem-cifra { margin: 4px 16px 12px; color: var(--muted); font-size: 14px; }
.equipe { border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 16px 14px; }
.eq-h { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.eq-row { display: flex; gap: 10px; align-items: baseline; margin: 6px 0; }
.eq-l { flex: none; width: 88px; font-size: 12px; font-weight: 700; color: var(--muted); }
.eq-v { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.pessoa { display: inline-flex; align-items: baseline; gap: 5px; font-size: 13.5px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--chip); }
.pessoa small { font-size: 11px; font-weight: 600; color: var(--muted); }
.pessoa.lider { background: var(--coral); color: #fff; }
@media (max-width: 360px) { .eq-row { flex-direction: column; gap: 4px; } .eq-l { width: auto; } }

.navsongs { display: flex; gap: 10px; margin-top: 26px; }
.navsongs a { flex: 1; background: var(--card); box-shadow: var(--shadow); border-radius: 14px; padding: 12px 14px; text-decoration: none; min-width: 0; }
.navsongs a small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.navsongs a span { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navsongs a.next { text-align: right; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bar-h) + 18px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); text-align: center; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); }
.err { background: #fef2f2; color: #991b1b; border-radius: 14px; padding: 16px; }

@media (max-width: 520px) {
  .top .brand b { display: none; }
  .bar .lbl { display: none; }
  .bar-in { gap: 3px; padding: 8px 6px; }
  .bar button { min-width: 38px; padding: 0 6px; }
}
@media (min-width: 900px) {
  .sheet.cols2 { column-count: 2; column-gap: 40px; }
}
@media print {
  .top, .bar, .panel, .yt, .navsongs, .link-btn { display: none !important; }
  body { background: #fff; }
  main { padding: 0; }
  .sheet { font-size: 12pt; column-count: 2; column-gap: 28px; }
}
