/* Hear Christ Radio
   Palette: Vigil navy faceplate, sky-blue needle, first-light page. */
:root {
  --navy: #0F1E3A;
  --navy-2: #182B50;
  --navy-line: #2A3F68;
  --on-navy: #EEF2FA;
  --on-navy-2: #A9B7D3;
  --accent: #6CC4FF;
  --accent-deep: #3BA6EA;
  --on-accent: #06243A;

  --bg: #EEF2F7;
  --surface: #FFFFFF;
  --surface-2: #F6F8FB;
  --ink: #0F1E3A;
  --ink-2: #4A5A78;
  --ink-3: #75839E;
  --line: #D6DDE8;
  --blue: #2852A3;
  --focus: #2852A3;

  --font-display: "Big Shoulders Display", "Arial Narrow", ui-sans-serif, sans-serif;
  --display-stretch: normal; /* Big Shoulders Display: tall, bold, radio-sign */
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --player-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1328;
    --surface: #111D38;
    --surface-2: #15233F;
    --ink: #EAF0FA;
    --ink-2: #A3B1CB;
    --ink-3: #7787A6;
    --line: #223457;
    --blue: #8DB0F5;
    --focus: #6CC4FF;
    --navy: #0C1832;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1328; --surface: #111D38; --surface-2: #15233F; --ink: #EAF0FA; --ink-2: #A3B1CB;
  --ink-3: #7787A6; --line: #223457; --blue: #8DB0F5; --focus: #6CC4FF; --navy: #0C1832;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the hidden attribute always wins over a class's display */
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--player-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
body.has-player { padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom)); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 0; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: #8FD3FF; }
.btn-ghost { border-color: var(--navy-line); color: var(--on-navy); background: transparent; }
.btn-ghost svg { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost:hover { border-color: var(--on-navy-2); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Faceplate (header + tuner) ---------- */
.faceplate {
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(108,196,255,.14), transparent 60%),
    var(--navy);
  color: var(--on-navy);
  padding-bottom: 28px;
  position: relative;
}
.faceplate.compact { padding-bottom: 0; }
.faceplate.compact .tuner { display: none; }
.faceplate.searching { padding-bottom: 0; }
.faceplate.searching .tuner { display: none; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 64px; height: 64px; object-fit: contain; margin-block: -6px; }
.brand-name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }

.search { position: relative; flex: 0 1 320px; min-width: 0; margin-left: auto; }

/* App language menu (English / Español / Français / Português).
   A pill showing the current language, with the real menu laid invisibly on top so a tap opens the
   phone's own picker. Phones show a two-letter code so it fits beside the logo. */
.ui-lang {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 34px 0 14px; border-radius: 999px;
  background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B7D3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  border: 1.5px solid var(--navy-line); color: var(--on-navy); font-size: .92rem; font-weight: 600;
}
.ui-lang svg { width: 18px; height: 18px; fill: none; stroke: var(--on-navy-2); stroke-width: 1.8; stroke-linecap: round; }
.ui-lang-code { display: none; letter-spacing: .04em; }
#uiLang { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ui-lang:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
#uiLang option { color: #0F1E3A; background: #fff; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--on-navy-2); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; height: 44px; padding: 0 16px 0 42px;
  border-radius: 999px; border: 1.5px solid var(--navy-line);
  background: var(--navy-2); color: var(--on-navy);
  font: inherit; font-size: .95rem;
}
.search input::placeholder { color: var(--on-navy-2); }
.search input:focus { outline: none; border-color: var(--accent); }

.tuner { padding-top: clamp(20px, 5vw, 56px); }
.headline {
  font-family: var(--font-display); font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: .005em;
  max-width: 21ch;
  margin: 0;
  text-wrap: balance;
}

/* The big call to action, with a share-the-app button beside it */
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4vw, 40px); }
.hero-actions .listen-btn { margin-top: 0; }
.share-app {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--navy-line); color: var(--on-navy);
  font: inherit; font-weight: 600; font-size: 1rem; transition: border-color .15s, background-color .15s;
}
.share-app:hover { border-color: var(--on-navy-2); background: var(--navy-2); }
.share-app svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The one big call to action */
.listen-btn {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: clamp(26px, 4vw, 40px);
  min-height: 84px; padding: 12px 40px 12px 12px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  letter-spacing: -.01em;
  box-shadow: 0 18px 40px -16px rgba(108,196,255,.55);
  transition: background-color .15s, transform .1s;
}
.listen-btn:hover { background: #8FD3FF; }
.listen-btn:active { transform: scale(.98); }
.listen-btn[disabled] { opacity: .5; cursor: not-allowed; }
.listen-icon {
  width: 60px; height: 60px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: var(--accent);
}
.listen-icon svg { width: 28px; height: 28px; fill: currentColor; }
.listen-icon .i-play { margin-left: 3px; }
.listen-btn .i-pause, .listen-btn.is-playing .i-play { display: none; }
.listen-btn.is-playing .i-pause { display: block; }

.dial-hint { margin: clamp(36px, 5vw, 52px) 0 0; color: var(--on-navy-2); font-size: .95rem; }

/* The dial: a horizontally scrolling band of stations under a fixed accent-colored needle. */
.dial {
  position: relative;
  margin: 12px calc(var(--gutter) * -1) 0;
  border-block: 1px solid var(--navy-line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0));
}
.dial::before, .dial::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none;
}
.dial::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.dial::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.dial-scroller {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.dial-scroller::-webkit-scrollbar { display: none; }
.dial-scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.dial-track {
  display: flex; align-items: stretch;
  padding-inline: 50%;
  width: max-content;
  position: relative;
}
.dial-track::before {
  /* tick marks: tall every 5th */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(169,183,211,.55) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(169,183,211,.28) 0 1px, transparent 1px 12px);
  background-size: 100% 26px, 100% 12px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.station {
  scroll-snap-align: center;
  flex: none;
  min-width: 128px;
  padding: 38px 26px 22px;
  background: none; border: 0; cursor: pointer;
  color: var(--on-navy-2);
  text-align: center;
  display: grid; gap: 2px; justify-items: center;
  transition: color .2s;
}
.station-freq { font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.station-name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: 1.12rem; white-space: nowrap; }
.station:hover { color: var(--on-navy); }
.station.is-empty { opacity: .45; }
.station[aria-pressed="true"] { color: var(--on-navy); }
.station[aria-pressed="true"] .station-name { color: var(--accent); }
.station:focus-visible { outline-offset: -6px; }

.needle {
  position: absolute; left: 50%; top: -7px; height: 40px; width: 3px; translate: -50% 0;
  background: var(--accent); border-radius: 3px; z-index: 3; pointer-events: none;
  box-shadow: 0 0 18px 2px rgba(108,196,255,.45);
}
.needle::before {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0;
  border: 7px solid transparent; border-top-color: var(--accent); border-bottom: 0;
}


/* Sound + Language controls under the dial */
.tune-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-top: 22px; }
.tune-group { display: flex; align-items: center; gap: 12px; }
.tune-label { color: var(--on-navy-2); font-size: .92rem; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.seg button {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--on-navy-2); font-size: .92rem; font-weight: 600;
  transition: background-color .15s, color .15s;
}
.seg button:hover { color: var(--on-navy); }
.seg button[aria-pressed="true"] { background: var(--on-navy); color: var(--navy); }
#langSelect {
  -webkit-appearance: none; appearance: none;
  min-height: 46px; padding: 0 42px 0 18px; border-radius: 999px; cursor: pointer;
  background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B7D3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  border: 1px solid var(--navy-line); color: var(--on-navy); font: inherit; font-size: .92rem; font-weight: 600;
}
#langSelect:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#langSelect option { color: #0F1E3A; background: #fff; }

/* ---------- Filters ---------- */
main { outline: none; }
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 28px 0 18px;
}
.filter-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend { float: left; margin-right: 10px; color: var(--ink-2); font-size: .9rem; font-weight: 600; padding: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s, color .15s, background-color .15s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.result-count { margin-left: auto; color: var(--ink-3); font-size: .9rem; }

/* ---------- Song list ---------- */
.list-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 1.35rem; letter-spacing: -.01em; margin: 32px 0 12px; }
.filters + .list-title { margin-top: 8px; }
.song-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.song-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, .9fr) auto auto 52px;
  align-items: center; gap: 18px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
  border-radius: 0;
  transition: background-color .15s;
}
.song-row:hover { background: var(--surface); }
.song-row.is-current { background: var(--surface); }
.song-row.is-current .song-title { color: var(--blue); }
.thumb { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; background: var(--line); position: relative; }
.thumb img, .thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.song-main { min-width: 0; }
.song-title {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: 1.08rem; line-height: 1.25;
  display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: none; border: 0; padding: 0; margin: 0; color: inherit; text-align: left; cursor: pointer;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
}
.song-title::after { content: ""; position: absolute; inset: 0; } /* tapping anywhere on the row plays the song */
.song-title:focus-visible { outline: none; }
.song-title:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 6px; }
.song-artist { color: var(--ink-2); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-topics { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
  padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  white-space: nowrap; text-decoration: none;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--accent)); }
.song-meta { color: var(--ink-2); font-size: .88rem; white-space: nowrap; display: flex; gap: 14px; }
.song-meta .sound-acoustic { color: var(--ink); }
.song-dur { color: var(--ink-3); font-size: .88rem; font-variant-numeric: tabular-nums; }
.row-info {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-3); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.row-info:hover { background: var(--surface-2); color: var(--ink); }
.row-info svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* On computers, hovering a song shows that a click plays it. */
@media (hover: hover) {
  .song-row:not(.is-current):hover .thumb::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(15,30,58,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='white'/%3E%3C/svg%3E") no-repeat center / 24px;
  }
}
.demo-badge { font-size: .72rem; font-weight: 600; color: var(--ink-3); border: 1px dashed var(--ink-3); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; font-family: var(--font-body); }

/* Equalizer overlay on the current thumbnail */
.eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 14px; background: rgba(15,30,58,.55); }
.song-row.is-current .eq { display: flex; }
.eq span { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; }
.song-row.is-playing .eq span { animation: eq 1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: -.35s; }
.eq span:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 22px; } }

.empty {
  text-align: left; padding: 48px 0 64px; max-width: 52ch;
}
.empty h2 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 1.6rem; margin: 0 0 8px; letter-spacing: -.01em; }
.empty p { color: var(--ink-2); margin: 0 0 18px; }
.empty .btn { background: var(--ink); color: var(--bg); }

/* ---------- Song page ---------- */
.back {
  display: inline-flex; align-items: center; gap: 6px; margin: 28px 0 8px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; min-height: 44px;
}
.back:hover { color: var(--ink); }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.song-hero {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px);
  align-items: start; padding: 8px 0 40px;
}
.song-cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--line); box-shadow: 0 30px 60px -30px rgba(15,30,58,.5); }
.song-cover img, .song-cover svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.song-info h1 {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.025em;
  margin: 0; text-wrap: balance;
}
.song-by { font-size: 1.2rem; color: var(--ink-2); margin: 10px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; }
.facts div { display: grid; }
.facts dt { font-size: .8rem; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; }
.song-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.btn-play-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-play-lg svg { width: 22px; height: 22px; }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-3); }
.btn-line svg { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.song-desc { color: var(--ink-2); font-size: 1.05rem; max-width: 60ch; margin: 24px 0 0; }
.song-topics-lg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.song-topics-lg .tag { font-size: .9rem; padding: 6px 14px; }
.song-topics-lg .tag:hover { border-color: var(--ink-3); color: var(--ink); }
.scripture { margin-top: 18px; font-size: .98rem; }
.scripture a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }

.listen {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px); margin-bottom: 48px;
}
.listen h2 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 1.35rem; margin: 0; letter-spacing: -.01em; }
.listen > p { color: var(--ink-2); margin: 4px 0 18px; }
.listen-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svc {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px;
  border-radius: var(--r-md); text-decoration: none; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent; text-align: left; width: 100%;
  transition: filter .15s, transform .1s;
}
.svc:hover { filter: brightness(1.06); }
.svc:active { transform: scale(.98); }
.svc svg { width: 30px; height: 30px; }
.svc small { display: block; font-weight: 500; font-size: .8rem; opacity: .85; }
.svc-spotify { background: #1DB954; color: #04210F; }
.svc-apple { background: linear-gradient(135deg, #FA5A6E, #F9324F); color: #fff; }
.svc-more { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.svc-more:hover { border-color: var(--ink-3); filter: none; }
.svc-more svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.more-wrap { position: relative; }
.more-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  width: min(300px, 86vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 24px 48px -16px rgba(15,30,58,.35);
  padding: 6px; display: none;
}
.more-menu.open { display: block; }
.more-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500;
}
.more-menu a:hover, .more-menu a:focus-visible { background: var(--surface-2); }
.more-menu a span { color: var(--ink-3); font-size: .82rem; font-weight: 400; }
.svc.is-soon { cursor: default; filter: saturate(.35); opacity: .6; }
.svc.is-soon:hover { filter: saturate(.35); }
.svc.is-soon:active { transform: none; }
.listen.is-upcoming h2::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: 2px;
  box-shadow: 0 0 0 4px rgba(108,196,255,.25);
}
.listen-note { color: var(--ink-3); font-size: .85rem; margin: 14px 0 0; }

/* Written-out scripture passages */
.scripture-section { margin-bottom: 48px; }
.lyrics-section { margin-bottom: 48px; }
.lyrics { display: grid; gap: 22px; max-width: 46ch; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.lyric-block p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.lyric-block .ll { display: block; padding-left: 1.1em; text-indent: -1.1em; }   /* a long line that wraps is indented, so each sung line stands out */
.lyric-block .lyric-label { margin-bottom: 4px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.passages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px 40px; }
.passage { margin: 0; padding-left: 20px; border-left: 3px solid var(--accent); }
.passage blockquote { margin: 0; }
.passage blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.7; max-width: 62ch; }
.vn { font-size: .68em; font-weight: 700; color: var(--ink-3); margin-right: .3em; font-variant-numeric: tabular-nums; }
.passage figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 12px; }
.passage-ref { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 1.05rem; }
.passage figcaption a { color: var(--blue); font-size: .9rem; font-weight: 600; text-underline-offset: 3px; }

.section-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 1.35rem; margin: 0 0 12px; letter-spacing: -.01em; }

/* ---------- Player bar ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--navy); color: var(--on-navy);
  border-top: 1px solid var(--navy-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.player[hidden] { display: none; }
.player-progress { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; display: none; }
.player-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.player-inner {
  max-width: 1180px; margin: 0 auto; height: var(--player-h);
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr) 140px; gap: 24px; align-items: center;
}
.player-song {
  display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 56px;
  background: none; border: 0; padding: 0 8px 0 0; margin: 0; text-align: left; color: inherit; cursor: pointer; border-radius: var(--r-sm);
}
.player-song:hover .player-title { text-decoration: underline; text-underline-offset: 3px; }
.player-cover { width: 48px; height: 48px; border-radius: var(--r-sm); overflow: hidden; flex: none; background: var(--navy-2); }
.player-cover img, .player-cover svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-text { display: grid; min-width: 0; }
.player-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-artist { color: var(--on-navy-2); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-controls { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--on-navy);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--navy-2); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.play-btn { width: 50px; height: 50px; background: var(--accent); color: var(--on-accent); }
.play-btn:hover { background: #8FD3FF; }
.play-btn svg { stroke-width: 0; width: 22px; height: 22px; }
.play-btn .i-pause, .player.playing .play-btn .i-play { display: none; }
.player.playing .play-btn .i-pause { display: block; }
.player-seek { display: flex; align-items: center; gap: 10px; min-width: 0; }
.time { font-size: .8rem; color: var(--on-navy-2); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
.player-volume { display: flex; align-items: center; gap: 8px; }
.player-volume svg { width: 20px; height: 20px; fill: var(--on-navy-2); stroke: var(--on-navy-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; margin: 0;
  --pct: 0%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--range-fill, var(--accent)) var(--pct), var(--range-rest, var(--navy-line)) var(--pct));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--range-rest, var(--navy-line)); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--range-fill, var(--accent)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--on-navy); margin-top: -5px; border: 0;
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--on-navy); border: 0; }

/* ---------- Now Playing (full screen) ---------- */
.np { position: fixed; inset: 0; z-index: 60; color: #fff; }
.np[hidden] { display: none; }
.np-backdrop {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, var(--np-color, #2852A3) 0%, color-mix(in srgb, var(--np-color, #2852A3) 45%, #070D1C) 55%, #070D1C 100%);
}
.np-backdrop img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(60px) saturate(1.3); opacity: .7; }
.np-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,28,.15), rgba(7,13,28,.75) 70%); }
.np-sheet {
  position: relative; height: 100%;
  max-width: 560px; margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
  touch-action: pan-x;
}
.np.open .np-sheet { transform: none; }
.np.dragging .np-sheet { transition: none; }
.np-top { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 56px; }
.np-context { text-align: center; font-size: .82rem; font-weight: 600; opacity: .8; letter-spacing: .02em; }
.np-icon {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer; text-decoration: none;
}
.np-icon:hover { background: rgba(255,255,255,.12); }
.np-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.np-art {
  margin: auto 0 0; align-self: center;
  width: min(100%, calc(100dvh - 580px)); min-width: 160px; aspect-ratio: 1;
  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.np-art img, .np-art svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.np-meta { margin-top: 28px; min-width: 0; }
.np-title {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: 1.6rem; line-height: 1.15; margin: 0;
  letter-spacing: -.015em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.np-artist { margin: 4px 0 0; font-size: 1.05rem; opacity: .75; }
.np-seek { margin-top: 22px; }
.np-seek input { --range-fill: #fff; --range-rest: rgba(255,255,255,.25); height: 32px; }
.np-seek input::-webkit-slider-runnable-track { height: 6px; }
.np-seek input::-moz-range-track, .np-seek input::-moz-range-progress { height: 6px; }
.np-seek input::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6px; background: #fff; }
.np-seek input::-moz-range-thumb { width: 18px; height: 18px; background: #fff; }
.np-times { display: flex; justify-content: space-between; margin-top: 2px; font-size: .85rem; font-variant-numeric: tabular-nums; opacity: .75; }
.np-controls { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 10vw, 48px); margin-top: 14px; }
.np-stream { margin: 18px 0 auto; }
.np-share {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 14px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  font: inherit; font-size: .92rem; font-weight: 700;
}
.np-share:hover { background: rgba(255,255,255,.18); }
.np-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.np-stream-note { margin: 0 0 10px; text-align: center; font-size: .85rem; font-weight: 600; opacity: .8; }
.np-svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.np-more-wrap, .np-svc-grid > .np-svc-more { grid-column: 1 / -1; }
.np-more-wrap { position: relative; }
.np-svc {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 12px; width: 100%;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: filter .15s, transform .1s;
}
.np-svc:hover { filter: brightness(1.08); }
.np-svc:active { transform: scale(.97); }
.np-svc-icon { width: 22px; height: 22px; flex: none; }
.np-svc-text { display: grid; text-align: left; line-height: 1.1; font-size: .95rem; }
.np-svc-text small { font-size: .7rem; font-weight: 600; opacity: .8; }
.np-svc-spotify { background: #1DB954; color: #04210F; }
.np-svc-apple { background: linear-gradient(135deg, #FA5A6E, #F9324F); color: #fff; }
.np-svc-more { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.np-svc-more .np-svc-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.np-svc.is-soon { cursor: default; opacity: .45; filter: saturate(.3); }
.np-svc.is-soon:active { transform: none; }
.np-more-menu {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 2; display: none;
  background: #fff; color: #0F1E3A; border-radius: 14px; padding: 6px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.5);
}
.np-more-menu.open { display: block; }
.np-more-menu a { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.np-more-menu a:hover, .np-more-menu a:focus-visible { background: #EEF2F7; outline: none; }
.np-more-menu a span { color: #75839E; font-size: .82rem; font-weight: 400; }
@media (max-width: 340px) { .np-svc-text { font-size: .85rem; } }
.np-skip { width: 56px; height: 56px; }
.np-skip svg { width: 32px; height: 32px; fill: currentColor; }
.np-play {
  width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #0F1E3A; display: grid; place-items: center;
  transition: transform .1s;
}
.np-play:active { transform: scale(.95); }
.np-play svg { width: 34px; height: 34px; fill: currentColor; }
.np-play .i-play { margin-left: 4px; }
.np-play .i-pause, .np.playing .np-play .i-play { display: none; }
.np.playing .np-play .i-pause { display: block; }
.np :focus-visible { outline-color: #fff; }
body.np-open { overflow: hidden; }

.update-btn {
  position: fixed; left: 50%; translate: -50% 0; z-index: 45;
  top: max(12px, env(safe-area-inset-top));
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; font-size: .92rem;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
}

.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px + env(safe-area-inset-bottom)); translate: -50% 20px;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; z-index: 40;
}
.toast.show { opacity: 1; translate: -50% 0; }

.site-footer {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  color: var(--ink-3); font-size: .88rem; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
.site-footer p:first-child { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 600; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .song-row { grid-template-columns: 56px minmax(0, 1fr) auto auto 52px; }
  .song-topics { display: none; }
  .player-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .player-volume { display: none; }
}
@media (max-width: 720px) {
  :root { --player-h: 68px; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-name { font-size: 1.1rem; white-space: normal; line-height: 1.1; text-wrap: balance; } /* longer names (Radio Escucha a Cristo) wrap to two lines */
  .brand-mark { width: 52px; height: 52px; }
  .topbar { flex-wrap: wrap; }
  .search { flex: 1 1 100%; order: 2; margin-left: 0; }
  .ui-lang { margin-left: auto; padding: 0 30px 0 12px; gap: 6px; }
  .ui-lang-name { display: none; }
  .share-app { width: 52px; min-height: 52px; padding: 0; flex: none; }
  .share-app span { display: none; }
  /* Slightly tighter big button so the share button fits beside it, even in Spanish/French */
  .hero-actions { gap: 10px; flex-wrap: nowrap; }
  .listen-btn { min-height: 72px; padding: 10px 22px 10px 10px; gap: 12px; font-size: 1.15rem; min-width: 0; }
  .listen-icon { width: 52px; height: 52px; }
  .listen-icon svg { width: 24px; height: 24px; }
  .ui-lang-code { display: inline; }
  .song-row { grid-template-columns: 52px minmax(0, 1fr) 48px; gap: 14px; padding-inline: 4px; }
  .thumb { width: 52px; height: 52px; }
  .song-meta, .song-dur { display: none; }
  .song-artist .mobile-meta { display: inline; }
  .result-count { margin-left: 0; width: 100%; }
  .filters { gap: 14px; }
  .song-hero { grid-template-columns: 1fr; }
  .song-cover { max-width: 420px; }
  .listen-buttons { grid-template-columns: 1fr; }
  .more-menu { left: 0; right: auto; }
  .player-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .player-seek { display: none; }
  .player-progress { display: block; }
  #prevBtn { display: none; }
}
.mobile-meta { display: none; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* ---------- Radio / Know My Ward tabs ---------- */
.main-tabs { display: flex; gap: 6px; padding-bottom: 6px; }
.main-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--on-navy-2); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em;
}
.main-tabs a:hover { color: var(--on-navy); background: var(--navy-2); }
.main-tabs a[aria-current="page"] { color: var(--on-accent); background: var(--accent); }
.faceplate.compact .main-tabs { padding-bottom: 14px; }

/* ---------- Know My Ward ---------- */
.ward { padding: 28px 0 48px; }
.ward-head { max-width: 62ch; }
.ward-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: .98; margin: 0; }
.ward-intro { font-size: 1.1rem; color: var(--ink-2); margin: 10px 0 0; }
.ward-privacy { font-size: .92rem; color: var(--ink-3); margin: 8px 0 0; }
.ward-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.ward-stats span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink-2); font-size: .92rem; }
.ward-stats b { color: var(--ink); font-size: 1rem; }
.ward-practice-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin: 16px 0 26px; display: grid; gap: 16px; }
.ward-options { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.ward-opt-label { color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.ward-options .tune-group { flex-wrap: wrap; gap: 6px 12px; }
.ward-opt-label { white-space: nowrap; }
.ward-seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.ward-seg button { white-space: nowrap; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.ward-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
#wardWho { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-size: .92rem; font-weight: 600; }
.ward-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ward-actions .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-danger { border-color: #F3C5C5; background: var(--surface); color: #B42318; }
.btn-danger:hover { border-color: #B42318; }
.ward-hint { color: var(--ink-3); font-size: .9rem; margin: 0; }
.ward-file { position: relative; overflow: hidden; }
.ward-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }

.ward-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ward-person { display: grid; gap: 4px; text-decoration: none; color: inherit; padding: 8px; border-radius: var(--r-md); }
.ward-person:hover { background: var(--surface); }
.ward-photo { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--line); display: grid; place-items: center; color: var(--ink-3); }
.ward-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ward-photo svg, .ward-empty-icon svg, .photo-pick-img svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ward-name { font-weight: 700; line-height: 1.2; margin-top: 4px; }
.ward-household { color: var(--ink-3); font-size: .86rem; }
.ward-status { justify-self: start; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.ward-status.is-learning { background: #E6F4FF; color: #0B5A8C; border-color: #BFE3FF; }
.ward-status.is-known { background: #E7F7EE; color: #11663A; border-color: #BDE9CF; }
.ward-backup { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; max-width: 62ch; }
.ward-backup p { margin: 0; color: var(--ink-2); }
.ward-backup .section-title { margin: 0; }
.ward-empty { text-align: center; max-width: 46ch; margin: 36px auto 0; display: grid; justify-items: center; gap: 10px; }
.ward-empty-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); }
.ward-empty h2 { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin: 6px 0 0; }
.ward-empty p { color: var(--ink-2); margin: 0 0 8px; }
.ward-empty .ward-actions { justify-content: center; }

.ward-form { display: grid; gap: 16px; max-width: 520px; margin-top: 20px; }
.photo-pick { position: relative; display: grid; justify-items: start; gap: 8px; cursor: pointer; }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.photo-pick-img { width: 160px; height: 160px; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; background: var(--surface); border: 2px dashed var(--line); color: var(--ink-3); }
.photo-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick-label { color: var(--blue); font-weight: 700; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-deep); }
.field-error { color: #B42318; margin: 0; min-height: 1.2em; font-weight: 600; }

.practice { max-width: 560px; margin: 0 auto; display: grid; gap: 16px; }
.practice-top { display: flex; align-items: center; justify-content: space-between; }
.practice-top .back { margin: 0; }
.practice-count { color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.practice-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.practice-bar span { display: block; height: 100%; background: var(--accent-deep); transition: width .3s; }
.practice-photo { width: min(100%, 420px); aspect-ratio: 1; justify-self: center; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(15,30,58,.5); background: var(--line); }
.practice-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.practice-reveal { display: flex; justify-content: center; }
.practice-q { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; margin: 0; }
.practice-after { display: grid; gap: 14px; }
.practice-answer { text-align: center; }
.practice-name { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; margin: 0; }
.practice-meta { color: var(--ink-2); margin: 6px 0 0; font-weight: 600; }
.practice-note { color: var(--ink-3); margin: 4px 0 0; }
.grade-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grade { min-height: 56px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; padding: 0 8px; }
.grade-0 { border-color: #F3C5C5; color: #B42318; }
.grade-2 { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.grade:active, .choice:active { transform: scale(.98); }
.choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { min-height: 56px; padding: 8px 12px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.choice:hover:not(:disabled) { border-color: var(--ink-3); }
.choice:disabled { cursor: default; opacity: .7; }
.choice.is-right { background: #E7F7EE; border-color: #2E9E5E; color: #11663A; opacity: 1; }
.choice.is-wrong { background: #FDECEC; border-color: #D64545; color: #B42318; opacity: 1; }
.practice-after .btn, .practice-reveal .btn { justify-self: center; }
.practice-done { text-align: center; justify-items: center; padding-top: 48px; }
.practice-done .ward-actions { justify-content: center; }
@media (max-width: 720px) {
  .main-tabs { padding-bottom: 4px; }
  .main-tabs a { font-size: 1.15rem; padding: 0 14px; }
  .choice-list { grid-template-columns: 1fr; }
  .ward-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .practice-name { font-size: 2rem; }
}

/* ---------- Family History Town ---------- */
.fh { padding: 28px 0 48px; display: grid; gap: 14px; }
.fh .back { margin: 0; }
.fh-head { max-width: 64ch; display: grid; gap: 8px; }
.fh-head .ward-intro, .fh-head .ward-privacy { margin: 0; }
.fh-verse { margin: 4px 0 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--ink-2); font-style: italic; }
.fh-points-row { display: flex; }
.fh-points { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--navy); color: var(--accent); font-weight: 700; white-space: nowrap; }
.fh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fh-tile { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fh-tile:hover { border-color: var(--ink-3); }
.fh-tile svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fh-tile b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; }
.fh-tile small { color: var(--ink-3); }
.fh-tile-town { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.fh-tile-town svg { color: var(--accent); }
.fh-tile-town small { color: var(--on-navy-2); }
.fh-homes { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fh-homes a { display: grid; gap: 4px; text-decoration: none; color: inherit; padding: 8px; border-radius: var(--r-md); }
.fh-homes a:hover { background: var(--surface); }
.fh-home-art { display: block; background: #CFE6B8; border-radius: var(--r-md); padding: 8px 10px 4px; }
.fh-homes b { display: block; line-height: 1.2; }
.fh-homes small { color: var(--ink-3); }
.art-house, .art-item { display: block; width: 100%; height: auto; }
.fh-earn { margin-top: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.fh-earn ul { margin: 0 0 10px; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.fh-earn p { margin: 0; color: var(--ink-2); font-weight: 600; }
.fh-empty-art { width: 170px; }

.fh-list-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fh-search { flex: 1 1 220px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 16px; color: var(--ink); }
.fh-list-tools .btn svg, .fh .ward-actions .btn svg, .fh-fs .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fh-people { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.fh-person-row { display: flex; align-items: center; gap: 14px; padding: 10px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.fh-person-row:hover { background: var(--surface); }
.fh-person-row b { display: block; font-size: 1.05rem; }
.fh-person-row small { color: var(--ink-3); }
.fh-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; background: var(--line); display: grid; place-items: center; }
.fh-avatar.sm { width: 28px; height: 28px; }
.fh-avatar img, .fh-portrait-lg img, .fh-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-initials { font-weight: 800; color: var(--ink-2); font-size: .9em; }
.fh-avatar.sm .fh-initials { font-size: .7rem; }
.fh-person-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.fh-person-head .ward-actions { margin-top: 12px; }
.fh-portrait-lg { width: 150px; height: 150px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); display: grid; place-items: center; font-size: 2.6rem; border: 5px solid #8B5A2B; flex: none; }
.fh-facts { margin: 0; }
.fh-fs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fh-story p { white-space: pre-line; color: var(--ink-2); font-size: 1.05rem; max-width: 64ch; margin: 0; }
.fh-story .section-title { margin: 6px 0 6px; }
.fh .section-title { margin: 14px 0 0; }
.fh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; font-weight: 600; }
.fh-chip:hover { border-color: var(--ink-3); }
.fh-form { max-width: 640px; }
.fh-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.field select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.fh-check { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.fh-check input { width: 22px; height: 22px; accent-color: var(--accent-deep); }
.fh-under { margin-top: -10px; }

.fh-house-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fh-room {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; touch-action: none; user-select: none;
  background: var(--room-wall); box-shadow: inset 0 0 0 1px rgba(15,30,58,.08), 0 24px 50px -30px rgba(15,30,58,.5);
}
.fh-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: repeating-linear-gradient(90deg, #B98A5A 0 12%, #AD7E50 12% 24%); border-top: 6px solid #8B5A2B; }
.fh-window { position: absolute; right: 6%; top: 12%; width: 20%; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(#BFE3FF, #E8F5FF); border: 6px solid #FFFFFF; box-shadow: 0 0 0 3px #C9B79C; }
.fh-window::before, .fh-window::after { content: ""; position: absolute; background: #FFFFFF; }
.fh-window::before { left: 50%; top: 0; bottom: 0; width: 4px; translate: -50% 0; }
.fh-window::after { top: 50%; left: 0; right: 0; height: 4px; translate: 0 -50%; }
.fh-portraits { position: absolute; left: 4%; right: 30%; top: 8%; display: flex; flex-wrap: wrap; gap: 2.4%; }
.fh-portrait { width: 13%; min-width: 34px; display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--ink); }
.fh-frame { width: 100%; aspect-ratio: 1; border: 3px solid #8B5A2B; border-radius: 3px; overflow: hidden; background: #F7F4EE; display: grid; place-items: center; box-shadow: 0 4px 8px -4px rgba(0,0,0,.4); }
.fh-pname { font-size: clamp(.55rem, 1.4vw, .8rem); font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-item { position: absolute; transform: translateX(-50%); padding: 0; border: 0; background: none; cursor: grab; touch-action: none; }
.fh-item:active { cursor: grabbing; }
.fh-item .art-item { aspect-ratio: 1; }
.fh-item.is-selected .art-item { outline: 2px dashed var(--accent-deep); outline-offset: 2px; border-radius: 4px; }
.fh-item-remove { display: none; position: absolute; left: 50%; bottom: 100%; translate: -50% -6px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #B42318; color: #fff; font-weight: 700; font-size: .8rem; }
.fh-item.is-selected .fh-item-remove { display: block; }
.fh-person { position: absolute; width: 12%; min-width: 44px; transform: translateX(-50%); padding: 0; border: 0; background: none; cursor: grab; touch-action: none; display: grid; justify-items: center; }
.fh-person.is-child { width: 9%; min-width: 34px; }
.fh-person:active { cursor: grabbing; }
.fh-person svg { display: block; width: 100%; height: auto; }
.fh-person-name { margin-top: -2px; padding: 1px 7px; border-radius: 999px; background: rgba(15,30,58,.82); color: #FFFFFF; font-size: clamp(.55rem, 1.3vw, .75rem); font-weight: 700; white-space: nowrap; max-width: 220%; overflow: hidden; text-overflow: ellipsis; }
.fh-shop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.fh-shop li { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 12px 8px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.fh-shop-art { width: 64px; height: 64px; display: grid; place-items: end center; }
.fh-shop b { font-size: .9rem; line-height: 1.15; }
.fh-buy { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.fh-buy[aria-disabled="true"] { opacity: .55; }
.fh-styles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.fh-style { width: 100%; display: grid; gap: 4px; justify-items: center; padding: 10px; border-radius: var(--r-md); background: var(--surface); border: 2px solid var(--line); font: inherit; color: var(--ink); cursor: pointer; }
.fh-style.is-current { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(108,196,255,.35); }
.fh-style small { color: var(--ink-3); font-weight: 600; }
.fh-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.fh-swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(15,30,58,.2); cursor: pointer; }
.fh-swatch.is-current { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent-deep); }

.fh-town-page { gap: 12px; }
.fh-town-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fh-town {
  position: relative; height: clamp(420px, calc(100vh - 320px), 720px); height: clamp(420px, calc(100dvh - 320px), 720px); border-radius: var(--r-lg); overflow: hidden; touch-action: none; user-select: none;
  background: #A9D38B; outline: none; box-shadow: 0 24px 50px -30px rgba(15,30,58,.5);
}
.fh-town:focus-visible { box-shadow: 0 0 0 3px var(--focus); }
.fh-town-hint { transition: opacity .6s ease; }
.fh-town-hint.is-gone { opacity: 0; pointer-events: none; }
.fh-world {
  position: absolute; left: 0; top: 0; will-change: transform;
  background-color: #A9D38B;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(46,110,60,.18) 0 2px, transparent 3px);
  background-size: 60px 60px, 80px 80px;
}
.fh-road { position: absolute; left: 0; right: 0; height: 40px; background: #D8CFBD; border-top: 3px solid #C2B79F; border-bottom: 3px solid #C2B79F;
  background-image: linear-gradient(90deg, #FFFFFF 50%, transparent 50%); background-size: 40px 3px; background-repeat: repeat-x; background-position: 0 50%; }
.fh-path { position: absolute; width: 28px; height: 32px; background: #E7DECC; border-radius: 4px; }
.fh-road-v { right: auto; width: 40px; border: 0; border-left: 3px solid #C2B79F; border-right: 3px solid #C2B79F;
  background-image: linear-gradient(180deg, #FFFFFF 50%, transparent 50%); background-size: 3px 40px; background-repeat: repeat-y; background-position: 50% 0; }
.fh-minimap { position: absolute; right: 10px; top: 10px; z-index: 6; width: 92px; padding: 5px 5px 3px; border: 0; border-radius: 12px; background: rgba(15,30,58,.82); color: #FFFFFF; display: grid; gap: 2px; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.fh-minimap small { font-weight: 700; font-size: .7rem; letter-spacing: .02em; }
.fh-map-area { position: relative; display: block; width: 100%; border-radius: 8px; overflow: hidden; background: #A9D38B; }
.fh-map-road { position: absolute; background: #E7DECC; }
.fh-map-dot { position: absolute; width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 2px solid var(--navy); translate: -50% -50%; }
.fh-map-you { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid #FFFFFF; translate: -50% -50%; box-shadow: 0 0 0 3px rgba(108,196,255,.45); z-index: 2; }
.fh-map { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 12px; background: rgba(15,30,58,.55); }
.fh-map[hidden] { display: none; }
.fh-map-card { width: min(100%, 460px); max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.fh-map-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fh-map-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.fh-map-close { color: var(--ink); background: var(--line); }
.fh-map-big { flex: none; border-radius: 12px; width: min(100%, 50vh); align-self: center; }
.fh-map-big .fh-map-dot { width: 26px; height: 26px; border-width: 3px; cursor: pointer; box-shadow: 0 4px 8px -4px rgba(0,0,0,.5); }
.fh-map-big .fh-map-dot.is-current { box-shadow: 0 0 0 4px var(--accent); }
.fh-map-big .fh-map-you { width: 16px; height: 16px; }
.fh-map-label { position: absolute; z-index: 3; translate: -50% calc(-100% - 18px); padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: .95rem; white-space: nowrap; pointer-events: none; }
.fh-map-info { display: grid; gap: 6px; font-size: .92rem; }
.fh-map-info p { margin: 0; color: var(--ink-2); }
.fh-map-info b { font-size: 1rem; }
.fh-lots { display: grid; gap: 6px; padding: 8px; border-radius: 12px; background: #A9D38B; }
.fh-lotcell { aspect-ratio: 1; min-width: 0; padding: 4px 2px 2px; border-radius: 10px; border: 2px dashed rgba(15,30,58,.3); background: rgba(255,255,255,.18); display: grid; align-content: end; justify-items: center; gap: 1px; font: inherit; color: var(--ink); cursor: pointer; }
.fh-lotcell.has-house { border: 2px solid transparent; background: rgba(255,255,255,.55); }
.fh-lotcell.is-picked { border-color: var(--navy); box-shadow: 0 0 0 3px var(--accent); background: #FFFFFF; }
.fh-lotcell svg { width: 100%; height: auto; display: block; }
.fh-lotcell small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; font-weight: 700; }
.fh-tree { position: absolute; width: 60px; pointer-events: none; }
.fh-tree svg, .fh-town-house svg, .fh-walker svg { display: block; width: 100%; height: auto; }
.fh-town-house { position: absolute; width: 220px; display: block; -webkit-user-drag: none; }
.fh-sign { position: absolute; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; text-align: center; line-height: 1.1; pointer-events: none; }
.fh-sign small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .7rem; color: var(--accent); }
.fh-walker { position: absolute; left: 0; top: 0; width: 52px; z-index: 4; pointer-events: none; transform-origin: 26px 0; }
.fh-walker.is-walking svg { animation: fh-bob .32s ease-in-out infinite alternate; }
@keyframes fh-bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
.fh-joystick { position: absolute; left: 16px; bottom: 16px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.7); display: grid; place-items: center; touch-action: none; z-index: 6; }
.fh-joystick span { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); border: 3px solid var(--accent); pointer-events: none; }
.fh-enter { position: absolute; right: 16px; bottom: 24px; z-index: 6; max-width: calc(100% - 170px); white-space: normal; text-align: left; line-height: 1.15; }
.fh-town-hint { position: absolute; left: 10px; top: 10px; margin: 0; z-index: 6; max-width: calc(100% - 124px); padding: 7px 12px; border-radius: 12px; background: rgba(15,30,58,.75); color: #FFFFFF; font-size: .82rem; line-height: 1.3; }
@media (max-width: 720px) {
  .fh-tiles { grid-template-columns: 1fr; }
  .fh-form-row { grid-template-columns: 1fr; }
  .fh-room { aspect-ratio: 4 / 3; }
  .fh-person { width: 16%; }
  .fh-person.is-child { width: 12%; }
  .fh-portraits { right: 26%; }
  .fh-portrait { width: 18%; }
  .fh-person-head { flex-direction: column; align-items: flex-start; }
  .fh-town { height: max(380px, calc(100vh - 300px)); height: max(380px, calc(100dvh - 300px)); margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .fh-joystick { width: 110px; height: 110px; }
  .main-tabs { overflow-x: auto; scrollbar-width: none; }
  .main-tabs::-webkit-scrollbar { display: none; }
  .main-tabs a { white-space: nowrap; flex: none; }
}

/* ---------- This week: the Come, Follow Me song of the week ---------- */
.this-week { display: flex; gap: 16px; align-items: center; margin: 22px 0 4px; padding: 14px; border-radius: var(--r-lg); max-width: 720px;
  background: radial-gradient(circle at 100% 0%, rgba(108,196,255,.22), transparent 50%), rgba(255,255,255,.05); border: 1px solid var(--navy-line); color: var(--on-navy); }
.tw-cover { position: relative; flex: none; width: 104px; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--navy-line); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.tw-cover svg.gen-cover, .tw-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tw-text { min-width: 0; display: grid; gap: 4px; }
.tw-kicker { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .85rem; font-weight: 600; color: var(--on-navy-2); }
.tw-kicker span { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.this-week h2 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1; color: #FFFFFF; }
.this-week h2 a { color: inherit; text-decoration: none; }
.this-week h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tw-sub { margin: 0; color: var(--on-navy-2); }
.tw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tw-actions .btn { min-height: 42px; }
.tw-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tw-actions .btn-accent svg { fill: currentColor; stroke: none; }
.this-week .btn-line { color: var(--on-navy); border-color: var(--navy-line); background: rgba(255,255,255,.06); }
.this-week .btn-line:hover { background: rgba(255,255,255,.12); }
.song-week { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-md); background: #E7F4FF; border: 1px solid #BFE3FF; color: var(--ink); }
.song-week svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--accent-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.song-week a { color: var(--blue); font-weight: 600; }
@media (max-width: 720px) {
  .this-week { gap: 12px; padding: 12px; align-items: flex-start; margin-top: 18px; }
  .tw-cover { width: 76px; }
  .tw-actions .btn { min-height: 38px; padding-inline: 14px; font-size: .9rem; }
}

/* ---------- Song page: video and Original / Acoustic switch ---------- */
.song-media { display: grid; gap: 18px; align-content: start; min-width: 0; }
.song-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 24px 50px -28px rgba(15,30,58,.6); }
.song-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-start { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-start img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
.video-start:hover img { opacity: 1; }
.video-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); transition: transform .2s; }
.video-start:hover .video-play { transform: scale(1.06); }
.video-play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.video-label { position: absolute; left: 14px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(15,30,58,.82); color: #FFFFFF; font-weight: 700; font-size: .85rem; }
.version-switch { display: inline-flex; gap: 2px; padding: 4px; margin: 10px 0 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.version-switch a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.version-switch a:hover { color: var(--ink); }
.version-switch a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* ---------- Weekly printables signup ---------- */
.signup { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin: 40px 0 8px; padding: 26px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, #E7F4FF, #FFF6E0); border: 1px solid var(--line); }
.signup-art { position: relative; height: 170px; }
.sg-page { position: absolute; width: 104px; filter: drop-shadow(0 10px 16px rgba(15,30,58,.22)); }
.sg-page svg { display: block; width: 100%; height: auto; }
.sg-page-1 { left: 18px; top: 8px; rotate: -8deg; }
.sg-page-2 { left: 96px; top: 22px; rotate: 7deg; }
.sg-crayon { position: absolute; width: 74px; height: 12px; border-radius: 3px 8px 8px 3px; bottom: 6px; }
.sg-crayon::after { content: ""; position: absolute; right: -10px; top: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.sg-c1 { left: 20px; background: #E85D75; color: #E85D75; rotate: -14deg; }
.sg-c2 { left: 70px; bottom: 16px; background: #3BA6EA; color: #3BA6EA; rotate: 6deg; }
.sg-c3 { left: 120px; background: #F4C542; color: #F4C542; rotate: -4deg; }
.signup-body { display: grid; gap: 8px; }
.signup-body h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1; }
.signup-body > p { margin: 0; color: var(--ink-2); }
.signup-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; margin-top: 6px; }
.signup-form .btn { min-height: 48px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup .field-error { min-height: 0; }
.signup-note { font-size: .85rem; color: var(--ink-3) !important; }
@media (max-width: 720px) {
  .song-video { max-width: 420px; }
  .video-play { width: 62px; height: 62px; }
  .signup { grid-template-columns: 1fr; padding: 20px; gap: 12px; }
  .signup-art { height: 130px; }
  .sg-page { width: 84px; }
  .signup-form { grid-template-columns: 1fr; }
}

/* ---------- Add to Home Screen button and guide; new song alerts bell ---------- */
.get-app { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: rgba(108,196,255,.14); border: 1.5px solid var(--accent); color: var(--on-navy); font: inherit; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.get-app:hover { background: rgba(108,196,255,.26); }
.get-app svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.get-app-short { display: none; }
.share-app.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.share-app.is-on svg { fill: currentColor; }
.share-app:disabled { opacity: .6; cursor: progress; }
.guide { position: fixed; inset: 0; z-index: 200; display: grid; place-items: end center; }
.guide-backdrop { position: absolute; inset: 0; background: rgba(6,18,36,.6); }
.guide-card { position: relative; width: min(100%, 480px); max-height: 92vh; overflow: auto; display: grid; gap: 14px; padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.5); animation: guide-up .25s ease-out; }
@keyframes guide-up { from { transform: translateY(30px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .guide-card { animation: none; } }
.guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.guide-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.guide-close { flex: none; color: var(--ink); background: var(--line); }
.guide-intro { margin: 0; color: var(--ink-2); }
.guide-seg { justify-self: start; }
.guide-install { justify-self: start; }
.guide-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.guide-steps li { counter-increment: step; display: block; position: relative; padding: 12px 14px 12px 52px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); line-height: 1.45; }
.guide-steps li::before { content: counter(step); position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #FFFFFF; font-weight: 800; font-size: .9rem; }
.guide-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -4px 2px; border-radius: 8px; background: #E7F4FF; color: #0B5A8C; vertical-align: middle; }
.guide-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.guide-steps .guide-icon circle { fill: currentColor; stroke: none; }
.guide-tip { margin: 0; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .92rem; }
.guide-tip .guide-icon { flex: none; margin: 0; }
.guide-done { justify-self: stretch; }
body.guide-open { overflow: hidden; }
@media (min-width: 721px) {
  .guide { place-items: center; }
  .guide-card { border-radius: 24px; padding-bottom: 22px; }
}
@media (max-width: 720px) {
  .get-app { min-height: 40px; padding: 0 12px; gap: 6px; }
  .topbar { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 44px; height: 44px; }
  .get-app-long { display: none; }
  .get-app-short { display: inline; }
  .ui-lang { margin-left: 0; }
}

/* ---------- Welcome landing page (hearchrist.com/welcome) ---------- */
/* Just the invitation and the signup: the app's header, tabs, footer and player are hidden. */
body.is-landing { background: radial-gradient(circle at 50% -5%, rgba(108,196,255,.38), transparent 55%), linear-gradient(170deg, var(--navy-2), var(--navy) 60%) fixed; }
.is-landing .faceplate, .is-landing .site-footer, .is-landing .player, .is-landing .np { display: none !important; }
body.is-landing.has-player { padding-bottom: 0; }
.landing { min-height: 100dvh; max-width: 560px; margin: 0 auto; padding: 40px 0 48px; display: grid; gap: 22px; align-content: center; color: var(--on-navy); }
.ld-head { display: grid; justify-items: center; gap: 10px; text-align: center; }
.ld-logo { width: 84px; height: 84px; filter: drop-shadow(0 8px 20px rgba(108,196,255,.45)); }
.ld-brand { margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-2); }
.wl-kicker { margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.ld-head h1 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 10vw, 3.9rem); line-height: .95; color: #FFFFFF; text-wrap: balance; }
.ld-lead { margin: 0; max-width: 40ch; color: var(--on-navy-2); font-size: 1.08rem; line-height: 1.5; text-wrap: pretty; }
.ld-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ld-gets li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid var(--navy-line); }
.ld-gets b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.05; color: #FFFFFF; }
.ld-gets small { color: var(--on-navy-2); font-size: .95rem; line-height: 1.35; }
.ld-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.ld-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-card { display: grid; gap: 10px; padding: 22px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); scroll-margin: 24px; }
.ld-form { display: grid; gap: 12px; }
.ld-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.ld-card .field-error { min-height: 0; }
.ld-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ld-note { margin: 0; font-size: .85rem; color: var(--ink-3); text-align: center; }
.ld-done { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 6px 0; }
.ld-done h2 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.ld-done p { margin: 0; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
@media (max-width: 640px) {
  .landing { padding: 28px 0 36px; gap: 18px; }
  .ld-card { padding: 18px; }
}

/* ---------- Ministering: a shepherd's pasture ---------- */
.mn { padding: 28px 0 48px; display: grid; gap: 18px; }
.mn-head { max-width: 62ch; }
.mn-pasture { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; background: #BFE6FF; box-shadow: 0 24px 50px -30px rgba(15,30,58,.5); isolation: isolate; }
.mn-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mn-sun { position: absolute; right: 10%; top: 10%; width: 11%; aspect-ratio: 1; border-radius: 50%; background: #FFE08A; box-shadow: 0 0 0 14px rgba(255,224,138,.35), 0 0 60px 30px rgba(255,236,170,.6); }
.mn-cloud { position: absolute; width: 16%; aspect-ratio: 3 / 1; border-radius: 999px; background: #FFFFFF; opacity: .9; animation: mn-drift 40s linear infinite alternate; }
.mn-cloud::before, .mn-cloud::after { content: ""; position: absolute; border-radius: 50%; background: #FFFFFF; }
.mn-cloud::before { width: 45%; aspect-ratio: 1; left: 15%; bottom: 35%; }
.mn-cloud::after { width: 35%; aspect-ratio: 1; left: 48%; bottom: 25%; }
.mn-cloud-sm { width: 11%; animation-duration: 55s; }
@keyframes mn-drift { to { transform: translateX(60%); } }
.mn-fold { position: absolute; left: 5%; width: 38%; pointer-events: none; }
.mn-fold svg { display: block; width: 100%; height: 100%; }
.mn-fold-back { top: 50%; height: 42%; z-index: 1; }
.mn-fold-front { top: 60%; height: 40%; z-index: 95; }
.mn-shepherd { position: absolute; left: 41%; top: 44%; width: 7%; z-index: 80; pointer-events: none; }
.mn-shepherd svg { display: block; width: 100%; height: auto; }
.mn-sheep { position: absolute; width: calc(11% * var(--s, 1)); transform: translate(-50%, -100%); display: flex; flex-direction: column-reverse; align-items: center; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.mn-sheep-art { position: relative; display: block; width: 100%; animation: mn-graze 3.2s ease-in-out infinite; animation-delay: var(--delay, 0s); transform-origin: 50% 100%; }
.mn-sheep-art.is-flipped svg { transform: scaleX(-1); }
.mn-sheep-art svg { display: block; width: 100%; height: auto; }
.mn-sheep:hover .mn-sheep-art, .mn-sheep:focus-visible .mn-sheep-art { animation: mn-hop .5s ease-in-out infinite alternate; }
@keyframes mn-graze { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-4deg) translateY(1px); } 90% { transform: rotate(-2deg); } }
@keyframes mn-hop { to { transform: translateY(-8%); } }
.mn-tag { margin-bottom: -6%; position: relative; z-index: 1; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1.5px solid rgba(15,30,58,.15); font-size: clamp(.58rem, 1.2vw, .78rem); font-weight: 700; white-space: nowrap; max-width: 180%; overflow: hidden; text-overflow: ellipsis; }
.mn-sheep.is-wandering .mn-tag { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.mn-sheep-alert { position: absolute; top: 0; right: -6%; z-index: 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #F59E0B; color: #FFFFFF; font-weight: 800; font-size: .8rem; box-shadow: 0 0 0 3px rgba(255,255,255,.85); animation: mn-pulse 1.8s ease-in-out infinite; }
@keyframes mn-pulse { 50% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .mn-sheep-art, .mn-cloud, .mn-sheep-alert { animation: none !important; } }
.mn-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.mn-stats span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink-2); font-size: .92rem; }
.mn-stats b { color: var(--ink); font-size: 1rem; }
.mn-stats span.is-due { background: #FFF4E0; border-color: #F5D49A; }
.mn .section-title { margin: 10px 0 0; }
.mn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mn-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.mn-row:hover { border-color: var(--accent-deep); }
.mn-row-text { flex: 1; min-width: 0; display: grid; }
.mn-row-text b { line-height: 1.2; }
.mn-row-text small { color: var(--ink-3); }
.mn-avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #E7F4FF; color: var(--navy); font-weight: 800; font-size: 1.2rem; }
.mn-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mn-chip { flex: none; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: #E7F7EE; color: #11663A; border: 1px solid #BDE9CF; white-space: nowrap; justify-self: start; }
.mn-chip.is-due { background: #FFF4E0; color: #8A5300; border-color: #F5D49A; }
.mn-daily { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy); margin-top: 18px; }
.mn-daily .section-title { color: #FFFFFF; margin: 0 0 4px; }
.mn-daily p { margin: 0 0 12px; color: var(--on-navy-2); }
.mn-daily .ward-hint { color: var(--on-navy-2); margin: 10px 0 0; }
.mn-daily-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.mn-daily-icon svg, .mn svg.i, .mn .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mn-daily-icon svg { width: 26px; height: 26px; }
.mn-daily-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.mn-daily .field span { color: var(--on-navy); }
.mn-time { width: 140px; }
.mn .field select { min-height: 48px; }
.mn-person-head { display: flex; gap: 20px; align-items: flex-start; }
.mn-person-photo { width: 160px; height: 160px; flex: none; border-radius: var(--r-lg); overflow: hidden; background: #E7F4FF; display: grid; place-items: center; box-shadow: 0 18px 40px -26px rgba(15,30,58,.6); }
.mn-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.mn-person-sheep { width: 80%; }
.mn-person-sheep svg { display: block; width: 100%; height: auto; }
.mn-person-info { display: grid; gap: 8px; min-width: 0; }
.mn-household { margin: 0; color: var(--ink-2); font-weight: 600; }
.mn-person-info .ward-hint { margin: 0; }
.mn-reach { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, #E7F4FF, #F3FBEA); border: 1px solid var(--line); }
.mn-reach .btn { justify-self: start; }
.mn-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.mn-card { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.mn-card .section-title { margin: 0; }
.mn-add { display: flex; gap: 8px; }
.mn-add input, .mn-add textarea { flex: 1; min-width: 0; padding: 10px 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.mn-add input:focus, .mn-add textarea:focus { outline: none; border-color: var(--accent-deep); }
.mn-add-note { flex-direction: column; }
.mn-add-note .btn { align-self: flex-start; }
.mn-needs, .mn-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mn-needs li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--bg); }
.mn-needs label { flex: 1; display: flex; gap: 10px; align-items: center; cursor: pointer; }
.mn-needs input { width: 22px; height: 22px; flex: none; accent-color: var(--accent-deep); }
.mn-needs li.is-done span { text-decoration: line-through; color: var(--ink-3); }
.mn-log li { position: relative; padding: 8px 36px 8px 14px; border-left: 3px solid var(--line); }
.mn-log li.is-contact { border-left-color: var(--accent-deep); }
.mn-log p { margin: 2px 0 0; white-space: pre-wrap; }
.mn-log-date { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.mn-log li.is-contact .mn-log-date { color: #0B5A8C; }
.mn-del { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); display: grid; place-items: center; cursor: pointer; }
.mn-del:hover { background: var(--line); color: var(--ink); }
.mn-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mn-log .mn-del { position: absolute; right: 0; top: 4px; }
.mn-remind-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mn-remind .ward-hint { margin: 0; }

/* ---------- Spanish Learning ---------- */
.sp { padding: 28px 0 48px; display: grid; gap: 22px; }
.sp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sp-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(15,30,58,.55); }
.sp-art { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.sp-oneSong .sp-art { background: radial-gradient(circle at 80% 20%, #FFD27A 0 14%, transparent 15%), linear-gradient(135deg, #0F1E3A, #2A3F68 55%, #3BA6EA); }
.sp-sayIt .sp-art { background: radial-gradient(circle at 18% 78%, #FFFFFF 0 10%, transparent 11%), linear-gradient(135deg, #FFB547, #FF7A59 50%, #E85D9A); }
.sp-bubble { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: .2em .6em; border-radius: 28px; background: #FFFFFF; color: var(--navy); font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; box-shadow: 0 16px 30px -16px rgba(0,0,0,.5); }
.sp-bubble::after { content: ""; position: absolute; left: 24%; bottom: -14px; border: 10px solid transparent; border-top: 14px solid #FFFFFF; border-bottom: 0; }
.sp-note { position: absolute; color: rgba(255,255,255,.85); font-size: clamp(1.4rem, 4vw, 2.2rem); animation: sp-float 4s ease-in-out infinite alternate; }
.sp-note-0 { left: 10%; top: 18%; }
.sp-note-1 { right: 12%; bottom: 14%; animation-delay: 1.2s; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.sp-note-2 { left: 22%; bottom: 10%; animation-delay: 2.4s; }
@keyframes sp-float { to { transform: translateY(-10px) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .sp-note { animation: none; } }
.sp-body { display: grid; gap: 8px; align-content: start; padding: 20px; }
.sp-body h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.sp-body p { margin: 0 0 8px; color: var(--ink-2); }
.sp-audience { justify-self: start; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.sp-body .btn { justify-self: start; }
.sp-body .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sp-soon { opacity: .6; cursor: default; }

@media (max-width: 720px) {
  .mn-pasture { aspect-ratio: 4 / 3.2; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .mn-sheep { width: calc(17% * var(--s, 1)); }
  .mn-fold { left: 2%; width: 44%; }
  .mn-shepherd { left: 44%; width: 10%; }
  .mn-sun { width: 15%; }
  .mn-cols, .sp-cards { grid-template-columns: 1fr; }
  .mn-remind-row { grid-template-columns: 1fr 1fr; }
  .mn-person-head { flex-direction: column; }
  .mn-person-photo { width: 130px; height: 130px; }
  .mn-daily { flex-direction: column; }
}

/* ---------- Big Shoulders Display sizing ----------
   It's a tall, condensed face, so the display text is set larger and heavier than a regular-width font would be. */
.headline { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; line-height: .98; }
.brand-name { font-size: 1.55rem; font-weight: 800; letter-spacing: .01em; }
.listen-btn { font-size: clamp(1.6rem, 3vw, 1.95rem); font-weight: 800; }
.station-name { font-size: 1.4rem; font-weight: 700; }
.list-title, .section-title { font-size: 1.8rem; font-weight: 800; }
.song-title { font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.song-info h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 800; line-height: .98; }
.np-title { font-size: 2.1rem; font-weight: 800; }
.passage-ref { font-size: 1.3rem; font-weight: 700; }
.listen h2 { font-size: 1.7rem; font-weight: 800; }
.empty h2 { font-size: 2rem; font-weight: 800; }
@media (max-width: 720px) {
  .brand-name { font-size: 1.4rem; }
  .listen-btn { font-size: 1.45rem; }
}
