/* Freedom Library – phone layout (Nov 2026). Load AFTER app.css. */
@media (max-width:680px){
  /* Header: one tidy row */
  .top{padding:10px 14px}
  .brand img{width:38px;height:38px}
  .top-inner{gap:8px}
  .brand{min-width:0;flex:1}
  .top .brand b{font-size:18px;line-height:1.15}
  .brand small{display:none}
  .top .install{flex:none;white-space:normal;max-width:92px;line-height:1.2;text-align:center;font-size:12px;padding:6px 10px;min-height:38px}
  .lang button{min-width:40px;min-height:36px}

  /* Section tabs: larger, easy to tap */
  .quick-tabs a{padding:14px 4px;font-size:15px}
  html[lang=am] .quick-tabs a{font-size:13.5px;padding:14px 2px}

  /* Today's verse: long verses fit nicely */
  .daily-heading{padding:10px 0 10px}
  .daily-heading h1{font-size:clamp(16px,5.6vw,25px);line-height:1.25;margin:6px 0;white-space:nowrap}
  html[lang=am] .daily-heading h1{font-size:clamp(15px,5.2vw,24px)}
  .verse-shade{min-height:150px;padding:20px 18px}
  .verse-shade blockquote{font-size:clamp(18px,5.2vw,23px);line-height:1.4}
  html[lang=am] .verse-shade blockquote{font-style:normal;font-family:Ethiopic,'Noto Serif Ethiopic','Noto Sans Ethiopic',serif;font-size:clamp(17px,4.8vw,21px);line-height:1.6}

  /* Bible reading comes first, right under the plan buttons */
  .workspace>.reading-card{order:-1;margin:16px 0 18px;padding:18px 16px 0}
  .workspace>aside{order:1}

  /* Reader controls: real, visible buttons */
  .reader-tools select{min-height:46px;font-size:16px}
  .reader-toolbar.row,.reader-toolbar .row{flex-wrap:nowrap;gap:6px}
  .reader-toolbar button{border:1px solid #c4a56e;background:#fbf6ec;border-radius:8px;padding:8px 9px;min-height:42px;font-size:14px;font-weight:600;white-space:nowrap}
  .reader-toolbar button[aria-pressed=true]{background:var(--wine);color:#fffaf0;border-color:var(--wine)}

  /* Previous / Mark as read / Next stay on screen while reading */
  .pager{position:sticky;bottom:calc(66px + env(safe-area-inset-bottom));z-index:6;margin:20px -16px 0;padding:10px 12px;background:#fffdf9f2;backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -6px 14px rgba(60,30,10,.08)}
  .pager .row{flex-wrap:nowrap;gap:8px}
  .pager .button{flex:1;min-height:46px;padding:8px 6px;font-size:14px;white-space:nowrap}
  .pager .hint{display:none}
  .reading-card.night .pager{background:#2a1f24f2}

  /* Bottom bar: clear icons + labels, nothing hidden behind it */
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .bottom a{flex-direction:column;gap:3px;min-height:62px;font-size:12.5px;font-weight:600}
}
@media (max-width:380px){
  .top .brand b{font-size:17px}
  .pager .button{font-size:13px}
  .reader-toolbar button{padding:7px 9px}
}

/* Today's Verse background – option C "Parchment page" (all screen sizes) */
.verse-scene{background:#f1e1bf url('/app/verse-bg-parchment.svg') center/cover;border:1px solid #d8bf8c}
.verse-shade{background:none;color:#4a1a2a}
.verse-shade span{color:#9a6b2a}
.verse-shade blockquote{color:#4a1a2a}
.verse-shade cite{color:#7a5530}
