/* طريق عمواس | EyesOpened.org
   Layout: one phone-first column; the sessions hang on a "road" spine down the right edge, each a station on the walk.
   Colours and type follow the approved prototype (same theme as the presentations). */

/* Fonts are bundled with the site so it works offline. */
@font-face{font-family:"Amiri";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/amiri-arabic-400.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Amiri";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/amiri-arabic-700.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Amiri";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/amiri-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Amiri";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/amiri-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plex-arabic-400.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plex-arabic-600.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/plex-arabic-700.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plex-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plex-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/plex-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* The cross marker and the arrows, so they never show as empty boxes on a phone. */
@font-face{font-family:"Emmaus Symbols";font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/emmaus-symbols.woff2) format("woff2");unicode-range:U+2190,U+2192,U+2670}

:root{
  --bg:#F7F1E5; --surface:#FFFDF8; --ink:#2E3936; --muted:#6E756D; --line:#D9D5C9;
  --maroon:#642D3C; --maroon-soft:#F1E4E6; --teal:#477E79; --teal-soft:#E3EEEC; --gold:#B18A45; --gold-soft:#F3EAD8;
  --on-accent:#FFFDF8; --good:#3F7A4B; --bad:#A23B3B;
  --display:"Amiri","Emmaus Symbols","Traditional Arabic","Times New Roman",serif;
  --body:"IBM Plex Sans Arabic","Emmaus Symbols","Segoe UI",Tahoma,Arial,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#1B1316; --surface:#271B20; --ink:#F3EAD8; --muted:#B9AFA3; --line:#46363C;
  --maroon:#E7B3BF; --maroon-soft:#3A2229; --teal:#8FC6BF; --teal-soft:#1F3331; --gold:#DDB978; --gold-soft:#3A2F1E;
  --on-accent:#1B1316; --good:#8FCB9B; --bad:#F0A0A0; color-scheme:dark } }
:root[data-theme="dark"]{
  --bg:#1B1316; --surface:#271B20; --ink:#F3EAD8; --muted:#B9AFA3; --line:#46363C;
  --maroon:#E7B3BF; --maroon-soft:#3A2229; --teal:#8FC6BF; --teal-soft:#1F3331; --gold:#DDB978; --gold-soft:#3A2F1E;
  --on-accent:#1B1316; --good:#8FCB9B; --bad:#F0A0A0; color-scheme:dark }

*{box-sizing:border-box}
[hidden]{display:none!important}
html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.8;direction:rtl;overflow-wrap:break-word}
.wrap{max-width:760px;margin-inline:auto;padding-inline:max(18px,env(safe-area-inset-left)) max(18px,env(safe-area-inset-right));padding-block:14px 56px;display:flex;flex-direction:column;gap:22px}
button{font:inherit;color:inherit;cursor:pointer}
a{color:var(--teal)}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand b{font-family:var(--display);font-size:1.55rem;color:var(--maroon);line-height:1.2}
.nav{margin-inline-start:auto;display:flex;gap:6px}
.nav a{text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:4px 14px;font-size:.9rem;color:var(--muted);line-height:1.8}
.nav a[aria-current="page"]{background:var(--maroon);border-color:var(--maroon);color:var(--on-accent)}
.proto{font-size:.78rem;color:var(--gold);border:1px dashed var(--gold);border-radius:999px;padding:1px 10px}

h1,h2,h3{font-family:var(--display);color:var(--maroon);margin:0;line-height:1.35;text-wrap:balance}
h1{font-size:2.5rem} h2{font-size:1.7rem} h3{font-size:1.3rem}
p{margin:0}
.lede{color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:14px}

.hero{background:var(--maroon-soft);border-radius:14px;padding:22px 20px;display:flex;flex-direction:column;gap:10px}
.dims{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.dims li{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:2px 14px;font-size:.92rem;color:var(--teal);font-weight:600}
.verse{font-family:var(--display);font-size:1.3rem;line-height:1.9;color:var(--ink)}
.ref{font-size:.85rem;color:var(--gold);font-weight:700}

.series-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.count{margin-inline-start:auto;font-size:.9rem;color:var(--muted);font-variant-numeric:tabular-nums}
.meter{height:8px;background:var(--line);border-radius:99px;overflow:hidden}
.meter i{display:block;height:100%;width:0;background:var(--teal);border-radius:99px;transition:width .3s}

/* the road */
.road{list-style:none;margin:0;padding:0;position:relative;display:flex;flex-direction:column;gap:12px}
.road::before{content:"";position:absolute;inset-block:18px;inset-inline-start:17px;width:2px;background:var(--line)}
.station{position:relative;padding-inline-start:48px}
.station .pin{position:absolute;inset-inline-start:6px;top:16px;width:24px;height:24px;border-radius:50%;background:var(--bg);border:2px solid var(--teal);display:grid;place-items:center;font-size:.8rem;font-weight:700;color:var(--teal);font-variant-numeric:tabular-nums}
.station.done .pin{background:var(--teal);color:var(--on-accent)}
.station.soon .pin{border-color:var(--line);color:var(--muted)}
.station a,.station .soonbox{width:100%;text-align:right;text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:2px}
.station a:hover{border-color:var(--teal)}
.station .soonbox{background:none;border-style:dashed;color:var(--muted)}
.st-top{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.st-top small{color:var(--muted)}
.tag{margin-inline-start:auto;font-size:.78rem;border-radius:999px;padding:0 10px;background:var(--teal-soft);color:var(--teal);font-weight:600}
.tag.todo{background:var(--gold-soft);color:var(--gold)}
.st-title{font-family:var(--display);font-size:1.3rem;color:var(--maroon);line-height:1.4}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-width:44px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:4px 0;font-variant-numeric:tabular-nums;font-weight:600;color:var(--muted)}
.chip[aria-pressed="true"]{background:var(--teal);border-color:var(--teal);color:var(--on-accent)}

.back{align-self:flex-start;text-decoration:none;color:var(--teal);font-weight:600}
.s-head{display:flex;flex-direction:column;gap:6px}
.eyebrow{font-size:.9rem;color:var(--teal);font-weight:600}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{border:1px solid var(--maroon);background:var(--maroon);color:var(--on-accent);border-radius:10px;padding:6px 16px;font-weight:600;text-decoration:none;display:inline-block}
.btn.ghost{background:none;color:var(--maroon)}
.btn.ok{background:var(--teal);border-color:var(--teal)}

.tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.tabs button{white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;padding:6px 10px;color:var(--muted);font-weight:600}
.tabs button[aria-selected="true"]{color:var(--maroon);border-bottom-color:var(--gold)}
/* The slides of a session, one picture under another */
.deck-head{align-items:center}
.deck{display:flex;flex-direction:column;gap:12px}
.deck img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
/* Nine tabs: on a wide screen they sit in one row without sideways scrolling. */
@media (min-width:760px){ .tabs{gap:2px} .tabs button{padding-inline:6px;font-size:.94rem} }
.panel{display:flex;flex-direction:column;gap:14px;min-width:0}
.panel p{max-width:65ch}
.vbox{background:var(--gold-soft);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;align-items:start;border-bottom:1px solid var(--line);padding-bottom:10px}
.pair b{color:var(--maroon)} .pair small{display:block;color:var(--gold);font-weight:700}
.father,.dim{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.father cite{font-style:normal;font-size:.85rem;color:var(--muted)}
.father b,.dim b{color:var(--teal)}
ol.q{margin:0;padding-inline-start:26px;display:flex;flex-direction:column;gap:8px;list-style:arabic-indic}
.check{display:flex;gap:10px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.check input{margin-top:8px;width:18px;height:18px;accent-color:var(--teal);flex:none}
.check b{display:block;color:var(--teal)}
.quiz{display:flex;flex-direction:column;gap:8px;border-bottom:1px solid var(--line);padding-bottom:14px}
.quiz .opts{display:flex;flex-direction:column;gap:6px}
.quiz .opts button{text-align:right;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:6px 14px}
.quiz .opts button.right{border-color:var(--good);color:var(--good);font-weight:700}
.quiz .opts button.wrong{border-color:var(--bad);color:var(--bad)}
.quiz .why{color:var(--muted);font-size:.95rem}
.refs{margin:0;padding-inline-start:20px;font-size:.95rem;color:var(--muted)}
.sharebox{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.sharebox textarea{width:100%;min-height:130px;font:inherit;font-size:.92rem;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px;direction:rtl}
.about dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 16px;margin:0}
.about dt{color:var(--muted)} .about dd{margin:0;font-weight:600}
.about .logo{width:110px;height:auto}
.foot{border-top:1px solid var(--line);padding-top:14px;font-size:.88rem;color:var(--muted);display:flex;flex-direction:column;gap:12px}
.foot-main{display:flex;flex-direction:column;gap:12px}
.foot .ver{font-size:.8rem;border-top:1px solid var(--line);padding-top:10px}
.foot .ver a{color:inherit}

.hero.pic{padding:0;background:var(--surface);border:1px solid var(--line);overflow:hidden;gap:0}
.hero.pic img{display:block;width:100%;height:auto}
.hero.pic .cap{padding:14px 18px;display:flex;flex-direction:column;gap:4px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.search{display:flex;flex-direction:column;gap:10px}
.search input{width:100%;font:inherit;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:8px 14px;direction:rtl}
.hits{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.hits a{width:100%;text-align:right;text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 14px;display:flex;flex-direction:column;gap:0}
.hits a:hover{border-color:var(--teal)}
.hits small{color:var(--teal);font-weight:600}
.hits mark{background:var(--gold-soft);color:var(--ink);border-radius:3px;padding:0 2px}
.song{background:var(--teal-soft);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:2px}
.song small{color:var(--teal);font-weight:600}
.song b{font-family:var(--display);font-size:1.25rem;color:var(--ink)}
.song span{color:var(--muted);font-size:.9rem}
.song .lyrics{white-space:pre-line;color:var(--ink);font-size:1rem;margin-top:6px}
.tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tools button{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:2px 14px;font-size:.9rem}
.tools button[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--on-accent)}
.tools .rt{margin-inline-start:auto;color:var(--muted);font-size:.88rem}
.study{display:flex;flex-direction:column;gap:8px;font-size:var(--study-size,1rem)}
.study details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 16px;scroll-margin-top:12px}
.study summary{cursor:pointer;padding:10px 0;font-family:var(--display);font-size:1.25em;color:var(--maroon);line-height:1.5}
.study details[open] summary{border-bottom:1px solid var(--line);margin-bottom:12px}
.study .body{display:flex;flex-direction:column;gap:12px;padding-bottom:16px}
.study .body p{max-width:68ch}
.study h4{margin:6px 0 0;font-family:var(--body);font-size:1.05em;color:var(--teal)}
.study .v{background:var(--gold-soft);border-radius:10px;padding:10px 14px;font-family:var(--display);font-size:1.15em;line-height:1.9}
.study .a{background:var(--teal-soft);border-radius:10px;padding:10px 14px}
.study .a::before{content:"تطبيق";display:block;font-weight:700;color:var(--teal)}
.study .n{border:1px dashed var(--gold);border-radius:10px;padding:10px 14px;color:var(--muted);font-size:.95em}
.study .li{padding-inline-start:18px;position:relative}
.study .li::before{content:"♰";position:absolute;inset-inline-start:0;color:var(--gold);font-size:.8em;top:.25em}
.study .servant-tag{font-family:var(--body);font-size:.6em;color:var(--gold);border:1px solid var(--gold);border-radius:99px;padding:0 8px;margin-inline-start:8px;vertical-align:middle}
/* Servant-only material stays hidden until "عرض الخادم" is switched on. */
.servant-only{display:none}
.servant-on .study details.servant-only{display:block}
.servant-on .study .n.servant-only{display:block}

.foot .sig{display:flex;flex-direction:column;gap:2px}
.foot .sig b{font-family:var(--display);font-size:1.15rem;color:var(--maroon);font-weight:700}
.foot .sig b a{color:inherit;text-decoration:none}
.foot .sig b a:hover{text-decoration:underline}
/* The church block mirrors the block beside it, line for line: name, then a line in the verse face, then a quiet line. */
.foot .col .c1{font-family:var(--display);font-size:1.15rem;font-weight:700;color:var(--maroon);line-height:1.5}
.foot .col .c2{font-family:var(--display);font-size:1.05rem;line-height:1.7;color:var(--ink)}
.foot .col a{color:inherit;text-decoration:none}
.foot .col a:hover{text-decoration:underline}
.foot .sig .verse{font-size:1.05rem;line-height:1.7}
.foot .row{display:flex;gap:12px;align-items:center}
.foot img{width:54px;height:auto;flex:none}
.foot .col{display:flex;flex-direction:column;gap:2px;min-width:0}
.en{direction:ltr;unicode-bidi:isolate;text-align:right}
.dimgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dim b{font-size:1.05rem}
.marks{display:flex;flex-direction:column;gap:8px}
.marks .li{padding-inline-start:18px;position:relative}
.marks .li::before{content:"♰";position:absolute;inset-inline-start:0;color:var(--gold);font-size:.8em;top:.25em}
.closing{font-family:var(--display);font-size:1.4rem;line-height:1.7;color:var(--maroon)}
main > section > h2{margin-top:6px}
.about .addr{display:flex;flex-direction:column;gap:2px}
.about .addr b{font-family:var(--display);font-size:1.3rem;color:var(--maroon)}
.install{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.install ol{margin:0;padding-inline-start:26px;list-style:arabic-indic}
/* The Bible */
.chip{display:inline-block;text-align:center;text-decoration:none}
.bref{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:var(--gold);text-underline-offset:3px}
.bref:hover{text-decoration-style:solid}
.bref[data-v]{-webkit-tap-highlight-color:transparent}
.bref[aria-expanded="true"]{background:var(--gold-soft);border-radius:4px;text-decoration-style:solid}
/* The verse shown over a reference */
.vpop{position:absolute;z-index:30;box-sizing:border-box;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:12px 16px 10px;box-shadow:0 10px 30px rgba(40,20,26,.18);display:flex;flex-direction:column;gap:8px;text-align:start}
.vpop-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.vpop-head b{color:var(--teal);font-size:.95rem}
.vpop-x{background:none;border:0;padding:2px 4px;color:var(--muted);font-size:.85rem}
.vpop-body{display:flex;flex-direction:column;gap:4px;overflow-y:auto}
.vpop-body p{margin:0;display:grid;grid-template-columns:1.9em minmax(0,1fr);gap:4px;align-items:baseline;font-family:var(--display);font-size:1.2rem;line-height:1.9}
.vpop-body p b{font-family:var(--body);font-size:.62em;color:var(--gold);font-weight:700;font-variant-numeric:tabular-nums}
.vpop-body p.vpop-more{display:block;font-family:var(--body);font-size:.9rem;color:var(--muted)}
.vpop-open{align-self:flex-start;font-size:.9rem;font-weight:600;color:var(--maroon);text-decoration:none;border-top:1px solid var(--line);padding-top:8px;width:100%}
.vpop-open:hover{text-decoration:underline}
.readlinks{display:flex;flex-direction:column;gap:6px}
.readlinks small{color:var(--teal);font-weight:600}
.bk-filter{display:flex;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px}
.bk-filter button{flex:1;border:0;background:none;border-radius:999px;padding:4px 10px;color:var(--muted);font-weight:600}
.bk-filter button[aria-pressed="true"]{background:var(--maroon);color:var(--on-accent)}
.bk-group{display:flex;flex-direction:column;gap:8px}
.bk-group h3{font-family:var(--body);font-size:.9rem;color:var(--teal);font-weight:600}
.bk-list{display:flex;flex-wrap:wrap;gap:8px}
.bk-list a,.bk-list .soon{text-decoration:none;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:5px 14px;font-weight:600;color:var(--ink)}
.bk-list a:hover{border-color:var(--teal)}
.bk-list .soon{background:none;border-style:dashed;color:var(--muted);font-weight:400}
.testament{font-size:1.5rem;border-bottom:1px solid var(--line);padding-bottom:4px}
.ch-list{display:flex;flex-wrap:wrap;gap:8px}
.ch-list a{min-width:44px;text-align:center;text-decoration:none;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:4px 0;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.ch-list a:hover{border-color:var(--teal)}
.ch-list a.done{background:var(--teal);border-color:var(--teal);color:var(--on-accent)}
.chapter{display:flex;flex-direction:column;gap:10px;font-size:var(--study-size,1rem)}
.chapter p{display:grid;grid-template-columns:2.1em minmax(0,1fr);gap:4px;align-items:baseline;font-family:var(--display);font-size:1.25em;line-height:1.95;scroll-margin-block:80px}
.chapter p b{font-family:var(--body);font-size:.6em;color:var(--gold);font-weight:700;font-variant-numeric:tabular-nums}
.chapter p.hit{background:var(--gold-soft);border-radius:10px;padding:4px 10px;margin-inline:-10px}
.chapter p.pt{display:block;color:var(--muted);font-size:1.05em}
.chapter h3{font-family:var(--body);font-size:1em;color:var(--teal);font-weight:600;margin-top:10px}
.chapter h4{font-family:var(--display);font-size:1.3em;color:var(--maroon);margin:8px 0 0}
.pager{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.src{font-size:.85rem;color:var(--muted)}
.btn:disabled{opacity:.55;cursor:default}

/* Wide screens: the study's own lines on the right, the church on the left. Phones keep them stacked. */
@media (min-width:640px){
  .foot-main{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:24px}
  .foot .sig{flex:1 1 0;min-width:0}
  .foot .row{flex:0 1 auto;min-width:0;flex-direction:row-reverse}
  .foot .col{text-align:left}
}
@media (max-width:560px){ .dimgrid{grid-template-columns:1fr} }
@media (max-width:480px){ h1{font-size:2.1rem} .pair{grid-template-columns:1fr} }
/* Maps and tools */
.wrap.wide{max-width:1120px}
.nav{flex-wrap:wrap}
.hubgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.toolcard{text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.toolcard:hover{border-color:var(--teal)}
.toolcard .tc-blurb{color:var(--muted);font-size:.95rem}
@media (prefers-reduced-motion:reduce){ .meter i{transition:none} }

/* ---------- الترانيم ---------- */
@media (max-width:560px){ .nav{gap:4px} .nav a{padding:2px 10px;font-size:.84rem;white-space:nowrap} }
.nav a{white-space:nowrap}
.nav{flex-wrap:wrap}
.hcard{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
.hcard:hover{border-color:var(--teal)}
.hrow{display:flex;gap:10px;align-items:center}
.hno{width:28px;height:28px;border-radius:50%;border:2px solid var(--teal);color:var(--teal);display:grid;place-items:center;font-weight:700;font-size:.85rem;flex:none}
.ht{font-family:var(--display);font-size:1.4rem;color:var(--maroon);line-height:1.4}
.hsub{color:var(--teal);font-size:.9rem}
.hmeta{display:flex;gap:8px;flex-wrap:wrap}
.hmeta .tag{margin-inline-start:0}
.hfirst{color:var(--muted);font-family:var(--display);font-size:1.1rem}
.jump{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:0;z-index:5;background:var(--bg);padding-block:6px}
.jump .chip.hwide{padding-inline:14px;min-width:0}
.hymn{font-size:var(--study-size,1rem)}
.hz{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;text-align:center;font-family:var(--display);font-size:1.45em;line-height:2;position:relative;scroll-margin-top:60px;display:flex;flex-direction:column;align-items:center;gap:2px}
.hz p{margin:0}
.hz-n{position:absolute;inset-inline-start:12px;top:10px;font-family:var(--body);font-size:.5em;color:var(--gold);font-weight:700;line-height:1.8}
.hz.rf{background:var(--teal-soft);border-color:transparent}
.hz.rf .hz-n{color:var(--teal)}
.hz-cr{width:.7em;height:.7em;display:block}
.hz .src{font-family:var(--body);font-size:.55em;color:var(--muted);line-height:1.6}
/* The full-screen mode (the TV). One unit is 1% of the screen's width, or of its height when the screen is not wide. */
html.tv-on,html.tv-on body{overflow:hidden}
.tv{--u:max(min(1vw,1.7778vh),4.4px);position:fixed;inset:0;z-index:100;background:var(--bg);color:var(--ink);display:flex;flex-direction:column;gap:calc(var(--u)*1.4);padding:calc(var(--u)*2) calc(var(--u)*3.2);box-sizing:border-box;outline:0}
.tv.tv-idle{cursor:none}
.tv-top{display:flex;align-items:center;gap:calc(var(--u)*1.4)}
.tv-title{font-family:var(--display);font-size:calc(var(--u)*3.4);color:var(--maroon);border-bottom:calc(var(--u)*.35) solid var(--gold);padding-bottom:calc(var(--u)*.3);line-height:1.3;margin-inline-end:calc(var(--u)*1)}
.tv-btn{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:99px;padding:calc(var(--u)*.2) calc(var(--u)*1.4);font-size:max(calc(var(--u)*1.35),13px);font-weight:600;line-height:1.7}
.tv-btn:hover{border-color:var(--teal);color:var(--teal)}
.tv-ix{background:var(--teal-soft);color:var(--teal);border-color:transparent}
.tv-fs{margin-inline-start:auto}
.tv-logo{height:calc(var(--u)*6);width:auto}
.tv-card{flex:1;min-height:0;background:var(--surface);border:1px solid var(--line);border-radius:calc(var(--u)*1.2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--u)*1.2);font-family:var(--display);font-size:calc(var(--u)*4.4);line-height:1.45;text-align:center;position:relative;padding:calc(var(--u)*1.5) calc(var(--u)*2);overflow:auto;text-wrap:balance;cursor:pointer}
.tv-card p{margin:0}
.tv-cr{width:calc(var(--u)*2.4);height:calc(var(--u)*2.4);flex:none}
.tv-cr-big{width:calc(var(--u)*7);height:calc(var(--u)*7)}
.tv-first{background:var(--maroon-soft);border-color:transparent;cursor:pointer}
.tv-h{margin:0;font-weight:400;font-size:calc(var(--u)*8);color:var(--maroon);line-height:1.3}
.tv-sub{font-size:calc(var(--u)*3);color:var(--teal)}
.tv-ref .tv-lab,.tv-lab{position:absolute;top:calc(var(--u)*1.4);inset-inline-start:calc(var(--u)*2);font-family:var(--body);font-size:calc(var(--u)*1.5);background:var(--teal-soft);color:var(--teal);padding:calc(var(--u)*.2) calc(var(--u)*1.6);border-radius:99px;font-weight:600;line-height:1.7}
.tv-index{align-items:stretch;justify-content:flex-start;font-size:calc(var(--u)*3);cursor:default}
.tv-lede{font-family:var(--body);font-size:max(calc(var(--u)*1.6),13px);color:var(--muted);text-align:center}
.tv-list{display:flex;flex-direction:column;gap:calc(var(--u)*1.2);max-width:calc(var(--u)*80);width:100%;margin-inline:auto}
.tv-item{display:flex;align-items:center;gap:calc(var(--u)*1.6);background:var(--bg);border:1px solid var(--line);border-radius:calc(var(--u)*1);padding:calc(var(--u)*1) calc(var(--u)*2);text-align:right;font:inherit;color:inherit}
.tv-item:hover,.tv-item:focus-visible{border-color:var(--teal)}
.tv-no{width:calc(var(--u)*4);height:calc(var(--u)*4);border-radius:50%;border:calc(var(--u)*.2) solid var(--teal);color:var(--teal);display:grid;place-items:center;font-family:var(--body);font-size:calc(var(--u)*1.8);font-weight:700;flex:none}
.tv-it{display:flex;flex-direction:column;flex:1;line-height:1.3}
.tv-it b{font-weight:400;color:var(--maroon)}
.tv-it small{font-family:var(--body);font-size:calc(var(--u)*1.6);color:var(--teal)}
.tv-ct{font-family:var(--body);font-size:calc(var(--u)*1.5);background:var(--gold-soft);color:var(--gold);border-radius:99px;padding:0 calc(var(--u)*1.2);font-weight:600}
.tv-nav{display:flex;align-items:center;justify-content:center;gap:calc(var(--u)*1.6)}
.tv-dots{display:flex;gap:calc(var(--u)*.7);align-items:center;flex-wrap:wrap;justify-content:center}
.tv-dots i{width:calc(var(--u)*1);height:calc(var(--u)*1);border-radius:50%;background:var(--line);display:block}
.tv-dots i.r{background:var(--teal-soft);border:1px solid var(--teal)}
.tv-dots i.on{background:var(--gold);border-color:var(--gold);width:calc(var(--u)*1.5);height:calc(var(--u)*1.5)}
.tv-foot{display:flex;justify-content:space-between;align-items:baseline;gap:calc(var(--u)*1);border-top:1px solid var(--line);padding-top:calc(var(--u)*.8);font-size:max(calc(var(--u)*1.3),12px);color:var(--muted)}
.tv-foot b{color:var(--maroon)}
.tv-hint{font-size:max(calc(var(--u)*1.15),11px);color:var(--muted);transition:opacity .4s;text-align:center}
.tv.tv-idle .tv-hint,.tv.tv-idle .tv-nav .tv-btn{opacity:0}
.tv-nav .tv-btn{transition:opacity .4s}
@media (max-width:640px){ .tv-fs,.tv-hint{display:none} .tv-top{flex-wrap:wrap} }
@media (prefers-reduced-motion:reduce){ .tv-hint,.tv-nav .tv-btn{transition:none} }

/* Presentation in full screen (session tab) */
.tv-deck .tv-card{padding:0;background:#000;border-color:#000;overflow:hidden;display:flex;align-items:center;justify-content:center}
.tv-slide{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.tv-count{color:var(--muted);font-size:max(calc(var(--u)*1.35),13px);font-weight:600;margin-inline-start:calc(var(--u)*1)}

/* Summary tab: the key verse (same size as the verses in «الآيات»), then the paragraphs at the normal text size, each with a gold cross */
.sum-verse{text-align:center;padding:4px 0 16px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.sum-verse .verse{display:block;color:var(--maroon)}
.sum-verse .ref{display:inline-block;margin-top:2px;color:var(--gold);font-weight:700;font-size:.95rem}
.sum-body{display:flex;flex-direction:column;gap:14px}
.sum-body p{max-width:65ch;padding-inline-start:1.5em;position:relative}
.sum-body p::before{content:"\2670";font-family:"Emmaus Symbols",serif;color:var(--gold);position:absolute;inset-inline-start:0;top:0}
/* Footer: version on the right, the share button on the left */
.foot .ver{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}

/* Clean full screen: only the picture or the words, on the whole screen */
.tv-unfull{display:none}
.tv.tv-full{padding:0;gap:0}
.tv.tv-full .tv-top,.tv.tv-full .tv-nav,.tv.tv-full .tv-foot{display:none}
.tv.tv-full .tv-card{border:0;border-radius:0}
.tv.tv-full .tv-unfull{display:block;position:absolute;top:max(env(safe-area-inset-top),12px);inset-inline-end:14px;z-index:2;opacity:.85;transition:opacity .4s}
.tv.tv-full.tv-idle .tv-unfull{opacity:0;pointer-events:none}

/* Tap zones and larger buttons */
.tv-nav .tv-btn{min-width:96px;min-height:44px;padding:calc(var(--u)*.7) calc(var(--u)*2.2);font-size:max(calc(var(--u)*1.7),16px)}
.tv-edge{display:none;position:absolute;top:50%;transform:translateY(-50%);font-size:calc(var(--u)*6);line-height:1;color:#fff;opacity:.35;pointer-events:none;z-index:2;transition:opacity .4s;text-shadow:0 0 6px rgba(0,0,0,.6)}
.tv-edge-r{inset-inline-start:auto;right:12px}
.tv-edge-l{left:12px}
.tv.tv-full .tv-edge{display:block}
.tv.tv-full.tv-idle .tv-edge{opacity:0}

/* ---------- English edition (/en/): the same design, read left to right ---------- */
.lang{border:1px solid var(--teal);color:var(--teal);border-radius:999px;padding:2px 14px;font-size:.9rem;text-decoration:none;line-height:1.8;font-family:var(--body)}
.lang:hover{background:var(--teal-soft)}
html[dir="ltr"] body{direction:ltr}
html[dir="ltr"] .verse{font-style:italic;line-height:1.55}
html[dir="ltr"] .station a,html[dir="ltr"] .station .soonbox,html[dir="ltr"] .hits a{text-align:left}
html[dir="ltr"] .search input{direction:ltr}
html[dir="ltr"] .nav{margin-inline-start:0}
html[dir="ltr"] .st-title{line-height:1.3}
html[dir="ltr"] .chapter p{line-height:1.7;font-size:1.15em}
html[dir="ltr"] .chapter p b{font-size:.62em}
html[dir="ltr"] .bk-list a.dc{border-style:dotted;border-color:var(--gold)}
@media (min-width:640px){ html[dir="ltr"] .foot .row{flex-direction:row} html[dir="ltr"] .foot .col{text-align:left} }

/* More from the church: the church's other sites, in the footer */
.xs{margin:18px 0 6px;padding-top:14px;border-top:1px solid var(--line)}
.xs h3{margin:0 0 10px;font-size:.95rem;color:var(--maroon);font-weight:700}
.xs ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.xs li a{display:block;text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:var(--surface)}
.xs li a:hover,.xs li a:focus-visible{border-color:var(--teal)}
.xs li b{display:block;color:var(--teal);font-size:1rem}
.xs li span{display:block;color:var(--muted);font-size:.88rem;line-height:1.5;margin-top:2px}
@media (min-width:700px){ .xs ul{grid-template-columns:repeat(2,1fr);gap:18px} }
