/* Masjid Ayesha web design tokens: taken from the phone app (docs/ios-reference/design-tokens.md) */
:root{
  --page:#FAFAFC; --surface:#FFFFFF; --border:#D5DAE0;
  --green:#1F4D3A; --green-2:#2B6650; --green-accent:#1F6B4A;
  --next-fill:#EEF5F1; --friday:#E8F3EC;
  --text:#111111; --text-2:#333333; --muted:#4B5563; --rail:#9AA5B1; --amber:#F2A93B;
  --radius:12px; --radius-lg:16px;
  --font:Roboto,-apple-system,"Segoe UI",system-ui,Arial,sans-serif;
}
/* Dark theme: opt-in via <html class=dark>. The app home is light-only; the timetable has a dark theme, so dark can follow later. */
:root.dark{--page:#101412;--surface:#1A201D;--border:#2C3631;--green:#143528;--text:#ECF0EE;--text-2:#ECF0EE;--muted:#B4C0B9;--next-fill:#1B2B23;--friday:#1B2B23;--green-accent:#7FD1A8}
*{box-sizing:border-box}
body{margin:0;background:var(--page);color:var(--text);font:16px/1.4 var(--font)}
a{color:inherit}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
header.site{background:var(--page);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:5}
header.site .wrap{flex-wrap:wrap;padding-top:6px;padding-bottom:6px;display:flex;align-items:center;gap:12px;min-height:64px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;font-weight:500;letter-spacing:.0125em}
.brand img{width:44px;height:auto}
nav{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap}
nav a{text-decoration:none;padding:10px 12px;border-radius:10px;font-weight:500;min-height:44px;display:inline-flex;align-items:center}
nav a[aria-current]{background:var(--next-fill);color:var(--green-accent)}
nav a.donate{background:var(--green);color:#fff}
.date{margin:20px 0 4px}.date b{display:block;font-size:16px}.date span{color:var(--text-2)}
.hero{background:linear-gradient(135deg,#1F4D3A,#2B6650);color:#fff;border-radius:var(--radius-lg);padding:20px;display:flex;gap:16px;align-items:flex-start;margin-top:16px}
.hero .t{flex:1}.hero h1{margin:0;font-size:32px;line-height:1.15;font-weight:700}
.hero .count{font-size:22px;margin-top:2px;font-variant-numeric:tabular-nums}
.hero .iq{margin-top:8px;font-size:18px;color:rgba(255,255,255,.92)}
.hero .iq b{font-size:26px;font-variant-numeric:tabular-nums}
.hero .ico{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.15);display:grid;place-items:center;flex:none}
h2{font-size:16px;font-weight:700;margin:24px 0 8px}
.rows{list-style:none;margin:0;padding:0}
.row{display:flex;align-items:stretch;gap:8px}
.rail{width:24px;position:relative;flex:none}
.rail:before{content:"";position:absolute;left:11px;top:0;bottom:0;border-left:2px dotted var(--rail)}
.row.done .rail:before,.row.next .rail:before{border-left:2px solid var(--green)}
.row.next .rail:after{content:"";position:absolute}
.dot{position:absolute;left:6px;top:50%;margin-top:-6px;width:12px;height:12px;border-radius:50%;background:var(--page);border:2px solid var(--rail)}
.row.done .dot{background:var(--green);border-color:var(--green)}
.row.next .dot{left:3px;margin-top:-9px;width:18px;height:18px;background:#fff;border:3px solid var(--green);box-shadow:0 0 0 6px rgba(31,77,58,.15)}
.card{flex:1;margin:4px 0;min-height:56px;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);display:flex;align-items:center;gap:12px}
.row.next .card{background:var(--next-fill);border:2px solid var(--green)}
.row.done .name{color:var(--muted)}.row.done svg{opacity:.55}
.name{font-size:17px;font-weight:500;flex:1}.row.next .name{font-weight:700}
.times{text-align:right}.times small{display:block;font-size:13px;color:var(--muted)}
.times strong{font-size:15px;font-weight:700}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;border-radius:var(--radius);font-size:16px;font-weight:500;text-decoration:none;margin-top:8px;padding:0 16px}
.btn.outline{background:var(--surface);border:2px solid var(--green);color:var(--green-accent)}
.btn.fill{background:var(--green);color:#fff}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.links{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.links a{display:flex;align-items:center;gap:16px;padding:12px 12px 12px 16px;min-height:56px;text-decoration:none;border-top:1px solid var(--border)}
.links a:first-child{border-top:0}.links a:after{content:"›";margin-left:auto;color:#6B7280;font-size:24px}
.grid{display:grid;gap:24px;grid-template-columns:1fr}
@media(min-width:860px){.grid.two{grid-template-columns:1.1fr .9fr}}
.label{font-size:14px;font-weight:700;color:var(--green-accent)}
.ayah{font-family:"Noto Serif",Georgia,serif;font-size:17px;line-height:1.35;margin:6px 0}
.ref{font-size:14px;color:var(--muted)}
footer{margin-top:40px;background:var(--green);color:#fff;padding:24px 0;font-size:14px}
footer a{color:#fff}
.note{font-size:14px;color:#46524B;margin:8px 0}
.mock{background:#fff7e0;border-bottom:1px solid #e6d28a;color:#5a4a00;font-size:13px;text-align:center;padding:6px}
/* timetable */
table.tt{width:100%;border-collapse:collapse;background:var(--surface)}
.tt th{background:var(--green);color:#fff;font-size:14px;padding:10px 4px}
.tt td{text-align:center;font-size:17px;padding:6px 4px;height:56px;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums}
.tt td.day{font-weight:700;font-size:18px}.tt td.day small{display:block;font-weight:400;font-size:13px;color:#46524B}
.tt tr.fri td{background:var(--friday)}.tt tr.fri td.day{color:var(--green-accent)}.tt tr.fri td.day small{color:var(--green-accent);font-weight:700}
.tt tr.today td{background:var(--green);color:#fff;font-weight:700}.tt tr.today td.day small{color:#fff;font-weight:700}
.pill{display:inline-flex;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:3px}
.pill span{padding:12px;min-width:72px;text-align:center;font-weight:700;font-size:15px;border-radius:10px}
.pill .on{background:var(--green);color:#fff}
.controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0 0}
.select{flex:1;min-width:160px;min-height:48px;padding:0 16px;display:flex;align-items:center;font-size:18px;font-weight:700;background:var(--surface);border:1px solid var(--border);border-radius:10px}
.badge{display:inline-block;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 20px;font-weight:500;text-decoration:none}
.qr{width:140px;height:140px;border:1px solid var(--border);border-radius:var(--radius);display:grid;place-items:center;background:#fff;color:#999;font-size:12px;text-align:center}
.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:8px}
.steps li{counter-increment:s;display:flex;gap:12px;align-items:center}
.steps li:before{content:counter(s);flex:none;width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.phone{width:260px;border:8px solid #111;border-radius:36px;background:var(--page);padding:12px;margin:auto;box-shadow:0 8px 24px rgba(0,0,0,.15)}

@media(max-width:600px){.brand{font-size:17px}.brand img{width:36px}nav{margin-left:-12px;width:100%}nav a{padding:10px 10px;font-size:15px}.hero h1{font-size:28px}.hero .ico{width:56px;height:56px}.hero .ico svg{width:34px;height:34px}.tt td{font-size:16px}}

/* round 1 fixes */
a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #1F4D3A;outline-offset:2px;box-shadow:0 0 0 5px #fff}
.band a:focus-visible,.give a:focus-visible,footer a:focus-visible{outline-color:#F2A93B;box-shadow:none}
.skip{position:absolute;left:-999px;top:0;background:var(--green);color:#fff;padding:12px 16px;z-index:10}.skip:focus{left:8px;top:8px}
.btn svg{flex:none}
.select:after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-2px)}
button.seg{font:inherit;border:0;background:none;color:var(--text);padding:12px;min-width:72px;font-weight:700;font-size:15px;border-radius:10px;cursor:pointer}
button.seg[aria-pressed=true]{background:var(--green);color:#fff}
.hero .iq .when{display:block;font-size:15px;margin-top:2px}
@media(max-width:600px){
 .mock{font-size:12px}
 header.site .wrap{min-height:0}
 nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 12px;width:calc(100% + 32px)}
 nav a{white-space:nowrap;flex:none}
}

/* round 2: Donate stays visible on phones */
.donate-m{display:none}
@media(max-width:600px){.donate-m{display:inline-flex;margin-left:auto;background:var(--green);color:#fff;text-decoration:none;font-weight:500;padding:0 16px;min-height:44px;align-items:center;border-radius:10px}nav a.donate{display:none}}

/* home redesign: desktop gets its own layout; phone keeps the app's vertical list */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.band{background:linear-gradient(135deg,#1F4D3A,#2B6650);color:#fff;padding:20px 0 28px}
body.home .band-in{display:grid;gap:24px}
.bdate{font-size:15px;opacity:.92}
.kicker{margin-top:16px;font-size:14px;letter-spacing:.12em;text-transform:uppercase;opacity:.8}
.b-text .pname{margin:0;font-size:44px;line-height:1.05;font-weight:700}
.iq-big{display:flex;align-items:baseline;gap:12px;margin-top:8px}.iq-big span{font-size:20px;opacity:.9}.iq-big b{font-size:48px;font-variant-numeric:tabular-nums}
.count{margin-top:8px;font-size:18px;opacity:.92}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.cta .btn{margin:0}
.btn.light{background:#fff;color:var(--green)}.btn.ghost{border:2px solid rgba(255,255,255,.7);color:#fff}
.ring{display:none}
.info{display:grid;gap:8px}
.donate-wide{margin-top:24px}
@media(min-width:900px){
 body.home .band{padding:40px 0 112px}
 body.home .band-in{grid-template-columns:1.2fr .8fr;align-items:center}
 .b-text .pname{font-size:88px}.iq-big span{font-size:28px}.iq-big b{font-size:96px;line-height:1}
 .count{font-size:22px}.kicker{margin-top:32px}
 .ring{display:block;max-width:300px;justify-self:end}
 .strip{display:grid!important;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:-72px!important;position:relative}
 .strip .row{display:block;position:relative}
 .strip .rail{display:none}
 .strip .card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;padding:18px 16px;min-height:170px;box-shadow:0 6px 18px rgba(16,40,28,.10)}
 .strip .row:before{content:attr(data-s);position:absolute;top:10px;right:12px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);z-index:1}
 .strip .name{flex:none;font-size:20px;margin-top:4px}
 .strip .times{text-align:left;margin-top:auto}.strip .times small{font-size:13px}.strip .times strong{font-size:22px;display:block;margin-top:2px}
 .strip .row.done .card{background:#F1F3F5}
 .strip .row.next{transform:translateY(-12px)}
 .strip .row.next:before{color:#fff}
 .strip .row.next .card{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 12px 28px rgba(16,40,28,.28)}
 .strip .row.next .name,.strip .row.next .times small{color:#fff}
 .info{grid-template-columns:repeat(3,1fr);gap:24px;margin-top:16px}
 .donate-wide{max-width:420px;margin:32px auto 0}
}
@media(min-width:900px){.ring{width:300px}.ring svg{width:100%;height:auto;display:block}.strip .times strong{font-size:20px}.strip .times strong{white-space:nowrap}}
.strip{margin-top:16px}
@media(min-width:900px){.strip{grid-template-columns:repeat(6,minmax(0,1fr))}.strip .times strong{white-space:normal;font-size:19px}.strip .card{padding:18px 14px}}
@media(min-width:900px){.strip .iql{display:block;font-size:13px;font-weight:400;color:var(--muted)}.strip .row.next .iql{color:#fff}.strip .times strong{font-size:22px;white-space:nowrap}}

/* simplified home */
body.home .band-in{grid-template-columns:1fr!important}
nav.quiet{display:flex;flex-wrap:wrap;gap:8px 28px;margin:32px 0 0;padding:20px 0 0;border-top:1px solid var(--border);width:auto;overflow:visible}
nav.quiet a{padding:6px 0;min-height:44px;font-weight:500;color:var(--green-accent);text-decoration:none;border-bottom:2px solid transparent}
nav.quiet a:hover{border-bottom-color:var(--green)}
@media(min-width:900px){body.home .band{padding-bottom:104px}}

/* scrolling sections: one idea each, lots of air */
.sec{padding:56px 0}.sec.tint{background:#F1F5F2}
.two{display:grid;gap:24px}.narrow{max-width:720px;text-align:center}
.eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--green-accent);font-weight:700}
h2.big{font-size:30px;line-height:1.15;margin:8px 0 12px}
.lead{font-size:18px;color:var(--text-2);margin:0 0 16px;max-width:460px}.narrow .lead{margin:0 auto 16px}
.tlink{color:var(--green-accent);font-weight:500}
.events{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.events li{display:flex;gap:16px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px;min-height:72px}
.events time{width:52px;text-align:center;color:var(--green-accent);font-size:13px;text-transform:uppercase}.events time b{display:block;font-size:26px;line-height:1;color:var(--text)}
.events div b{display:block}.events span{color:var(--muted);font-size:14px}
.quote{font-family:"Noto Serif",Georgia,serif;font-size:30px;line-height:1.3;margin:12px 0 8px}
.badges{display:flex;gap:12px;flex-wrap:wrap}.mini{max-width:360px;justify-self:center;width:100%}
.map{min-height:240px;border-radius:var(--radius-lg);background:repeating-linear-gradient(45deg,#E3EBE6,#E3EBE6 12px,#EBF1ED 12px,#EBF1ED 24px);display:grid;place-items:center;color:var(--muted)}
.sec.give{background:linear-gradient(135deg,#1F4D3A,#2B6650);color:#fff;text-align:center}
@media(min-width:900px){.two{grid-template-columns:1fr 1fr;gap:64px;align-items:center}.sec{padding:96px 0}h2.big{font-size:38px}.quote{font-size:40px}}

/* review fixes (round 3) */
.select,.pill{border-color:#8A949E}
select.select{appearance:none;-webkit-appearance:none;font-family:inherit;color:var(--text);cursor:pointer;padding-right:40px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234B5563' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center}
select.select:after{display:none}
.iq-big{flex-wrap:wrap}
.card .name{overflow-wrap:anywhere}
.strip .card{min-height:0}
.notice{margin-top:16px;padding:10px 16px;border-radius:var(--radius);background:#FFF6E0;border:1px solid #E6C766;color:#4A3A00;font-size:15px}
.notice b{margin-right:8px}
.strip .row .times strong .dash{display:inline}
.sec.give .lead{color:rgba(255,255,255,.92)}.sec.give h2.big{color:#fff}
.btn.inline{display:inline-flex;margin-top:8px}
footer{border-top:1px solid rgba(255,255,255,.25);margin-top:0}
.band.small{padding:28px 0 32px}
.band.small .pname{font-size:36px;margin:4px 0 0}
.band.small .lead{color:rgba(255,255,255,.92);margin:8px 0 0;max-width:560px}
.tt th.day,.tt th[scope=row]{font-weight:700;font-size:18px;padding:6px 4px;height:56px;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text)}
.tt th[scope=row] small{display:block;font-weight:400;font-size:13px;color:#46524B}
.tt tr.fri th[scope=row]{background:var(--friday);color:var(--green-accent)}.tt tr.fri th[scope=row] small{color:var(--green-accent);font-weight:700}
.tt tr.today th[scope=row]{background:var(--green);color:#fff}.tt tr.today th[scope=row] small{color:#fff;font-weight:700}
.tt thead th small{display:block;font-weight:400;font-size:11px;opacity:.9}
.tt td{font-weight:400}.tt tr.today td{font-weight:700}
.tt td.az{color:var(--muted);font-size:15px}
.badges .badge,.panel{border-color:#C5CCD3}
@media(min-width:900px){
 .strip{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
 .strip .times strong{font-size:clamp(17px,1.9vw,22px)}
}
.strip .row:before{font-size:12px;letter-spacing:.06em}
@media print{
 .mock,header.site,.skip,.controls,footer,.band{display:none!important}
 body{background:#fff}.tt td,.tt th{font-size:14px;height:auto}.wrap{max-width:none}
 .print-title{display:block!important}
}
.print-title{display:none;font-size:20px;margin:0 0 8px}

.band .notice{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.35);color:#fff;margin-top:20px;max-width:640px}
@media(min-width:900px){body.home .band .notice{margin-top:24px}}
.band .stale{margin:12px 0 0;font-size:14px;color:#fff;opacity:.9;max-width:640px}
/* Masjid announcement: solid amber so it stands out on the green band */
.band #notice{background:var(--amber);border:2px solid #fff;color:#2B1F00;font-size:18px;font-weight:600;line-height:1.4;max-width:720px;padding:14px 18px;box-shadow:0 4px 16px rgba(0,0,0,.25)}
.band #notice b{display:inline-block;margin-right:10px;padding:2px 8px;border-radius:6px;background:#2B1F00;color:#fff;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.band.small{padding:28px 0 32px!important}

/* about + donate */
.facts{list-style:none;margin:0;padding:0;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.facts li{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
.facts b{display:block;font-size:20px;margin-bottom:6px}.facts span{color:var(--text-2)}
.addr{font-style:normal;font-size:20px;line-height:1.5;margin:8px 0 16px}
.contact{display:grid;gap:8px;max-width:360px}.contact .btn{margin:0;justify-content:flex-start}
.funds{display:grid;gap:16px;margin-top:16px}
.fund{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px}
.fund h3{margin:0 0 6px;font-size:22px}.fund p{margin:0 0 16px;color:var(--text-2)}.fund .btn{margin:0}
.big-steps{gap:14px;font-size:18px}
@media(min-width:900px){.funds{grid-template-columns:1fr 1fr}.fund{padding:32px}}

.mock.draft{background:#EAF2FF;border-color:#9DB8E6;color:#123A73}
.glossary{margin:12px 0 0;display:grid;gap:10px}.glossary div{display:flex;gap:12px}.glossary dt{font-weight:700;min-width:72px}.glossary dd{margin:0;color:var(--text-2)}

/* production additions */
.prose{max-width:720px}.prose h1{font-size:30px}.prose h2{font-size:20px;margin:24px 0 6px}.prose p{margin:0 0 12px;line-height:1.55}
.badge.soon{color:var(--muted);background:#F1F3F5;border-style:dashed}
.empty{padding:32px;text-align:center;color:var(--muted)}
.b-text .pname{margin:0}

/* round 4: equal-height cards (sunrise, ishraq), phone preview figure */
.mini{margin:0}.mini .eyebrow{margin-bottom:12px}.mini .card{margin:8px 0}
@media(min-width:900px){
 .strip{grid-template-columns:repeat(var(--n,6),minmax(0,1fr))!important}
 .strip .row{display:flex}.strip .row .card{flex:1;width:100%}
 .strip .name{font-size:18px}
}

/* round 6: timetable. Phone: one column per prayer + Iqamah/Azaan toggle. Desktop (900px+, same value as `wide` in js/timetable.js): full-width page, one toolbar row, Azaan and Iqamah as labelled columns. */
.tt[data-mode=iq] td.az{display:none}.tt[data-mode=az] td.iq{display:none}
.tt td.az{color:var(--muted);font-size:15px}.tt td.iq{font-weight:700}
.tt tr.today td.az{color:#fff}.legend-d{display:none}
.tt-bar .step{margin:0;min-height:48px;min-width:48px;padding:0;font-size:24px}.tt-bar .step:disabled{opacity:.4;cursor:default}
.tt-bar #print{margin:12px 0 0;min-height:48px}
@media(min-width:900px){
 .tt-page .wrap{max-width:1240px}
 .tt-page .band.small{padding:14px 0 16px!important}
 .tt-page .band.small .wrap{display:flex;align-items:baseline;gap:20px}.tt-page .band.small .pname{font-size:28px;margin:0}.tt-page .band.small .lead{margin:0;max-width:none}
 .tt-bar{display:flex;align-items:center;gap:16px;padding:14px 0}
 .tt-bar .controls{margin:0;flex-wrap:nowrap}.tt-bar .pill,.tt-bar #note{display:none}
 #month{flex:none;width:200px;min-height:44px}.tt-bar .step{min-height:44px;min-width:44px}
 .legend-d{display:block;margin:0 0 0 auto;max-width:560px;font-size:13px;text-align:right}
 .tt-bar #print{margin:0;min-height:44px}
 .tt[data-mode] td.az,.tt[data-mode] td.iq{display:table-cell}
 .tt{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
 .tt thead th{text-align:center;padding:6px;font-size:15px}.tt thead th.dh{text-align:left;padding-left:12px}
 .tt thead th small{display:inline;margin-left:4px;font-size:11px}
 .tt thead th.sub{font-size:11px;font-weight:400;background:#2B6650;padding:3px 6px;letter-spacing:.04em;text-transform:uppercase}.tt thead th.sub.b{font-weight:700}
 .tt td{height:28px;padding:2px 6px;font-size:15px;text-align:center}.tt td.az{font-size:14px}
 .tt .grp{border-left:1px solid var(--border)}.tt thead .grp{border-left:1px solid rgba(255,255,255,.35)}
 .tt th[scope=row]{height:28px;font-size:15px;text-align:left;padding:2px 0 2px 12px}.tt th[scope=row] small{display:inline;margin-left:6px;font-size:12px}
 .tt tr.fri td,.tt tr.fri th[scope=row]{background:color-mix(in srgb,var(--green) 14%,var(--surface))}
 .tt tr.wk td,.tt tr.wk th[scope=row]{border-bottom:2px solid var(--muted)}
 .tt-main{padding-bottom:32px}
}
#month{min-width:200px;flex:1 1 200px}
.shot{margin:0;justify-self:center;max-width:340px}.shot img{width:100%;height:auto;border:1px solid var(--border);border-radius:24px;box-shadow:0 10px 30px rgba(16,40,28,.12);display:block}.shot figcaption{margin-top:10px;font-size:14px;color:var(--muted);text-align:center}


/* iqamah change highlight: amber cell on the changed prayer, "New times" tag on the day */
.tt td.chg{background:#FFE9B0;color:#3D2A00;box-shadow:inset 0 0 0 2px #E0A21B;font-weight:700}
.tt tr.chg-row th[scope=row]{box-shadow:inset 4px 0 0 #E0A21B}
.tt .tag{font-style:normal;font-size:11px;font-weight:700;background:#FFE9B0;color:#3D2A00;border-radius:4px;padding:1px 5px;margin-left:6px;white-space:nowrap}
.key{background:#FFE9B0;color:#3D2A00;border-radius:4px;padding:0 5px;font-weight:700}
@media(max-width:899px){.tt .tag{display:block;margin:2px 0 0;width:max-content;font-size:10px}}

/* home: time-change notice */
#ayah[hidden],#ayah-more[hidden]{display:none}
#ayah .more{display:inline-block;margin-top:6px;font-size:14px;color:var(--green);text-decoration:underline}
.band #change{margin-top:12px}.band #change a{color:#fff;text-decoration:underline}
@media(max-width:600px){#reminder{padding:40px 0}#reminder .quote{font-size:24px}}

/* MA-15 phone layout (approved 16-17 Nov, reviews/2026-11-16-ma15-phone): every rule below applies under 900px only; desktop is unchanged.
   Outside the phone query: the Today/Azaan/Iqamah header is hidden, the Sunrise row keeps Ishraq (desktop), and .tt-row2 adds no box. */
.today-h{display:none}
.sun-m{display:none}
.tt-row2{display:contents}
@media print{.tt-row2 .pill{display:none!important}}
@media screen and (max-width:899px){.strip .sun-d{display:none}.strip .sun-m{display:inline}}
@media screen and (max-width:899px){
 body{font-size:17px}
 /* header: brand + Donate on one row, three equal tabs below */
 header.site .wrap{padding:10px 16px 0;gap:0;min-height:0}
 .brand{font-size:18px;gap:10px}.brand img{width:38px}
 .donate-m{display:inline-flex!important;margin-left:auto;background:var(--green);color:#fff;text-decoration:none;font-weight:600;padding:0 18px;min-height:44px;align-items:center;border-radius:10px}
 nav{display:grid!important;grid-template-columns:repeat(3,1fr);gap:0;margin:10px -16px 0!important;padding:0!important;width:calc(100% + 32px)!important;overflow:visible!important;border-top:1px solid var(--border)}
 nav a{justify-content:center;font-size:16px;min-height:50px;border-radius:0;padding:0}
 nav a[href="get-the-app.html"],nav a.donate{display:none!important}
 nav a[aria-current]{background:none;color:var(--green-accent);box-shadow:inset 0 -3px 0 var(--green);font-weight:700}
 /* band */
 .band{padding:28px 0 32px}
 .bdate{font-size:16px;line-height:1.5}.bdate b{display:block;font-size:17px}
 .kicker{margin-top:22px;font-size:14px}
 .b-text .pname{font-size:40px;margin-top:4px}
 .iq-big{margin-top:10px}.iq-big span{font-size:20px}.iq-big b{font-size:52px;line-height:1}
 .count{margin-top:12px;font-size:19px}
 /* today's times: one clean table, like the flyer */
 .today-h{display:flex;align-items:flex-end;margin:28px 0 10px;padding:0 18px}
 .today-h b{margin:0;font-size:22px;flex:1}
 .today-h span{min-width:86px;text-align:right;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green-accent)}
 .today-h span+span{min-width:96px}
 .strip{margin-top:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
 .strip .rail,.strip .card svg{display:none}
 .strip .row{display:block}
 .strip .card{margin:0;border:0;border-top:1px solid var(--border);border-radius:0;min-height:64px;padding:0 18px;gap:0;background:none}
 .strip .row:first-child .card{border-top:0}
 .strip .name{font-size:20px;font-weight:500;overflow-wrap:normal}
 .strip .times{display:flex;align-items:baseline;text-align:right}
 .strip .times small{min-width:86px;white-space:nowrap;font-size:18px;color:var(--text-2)}
 .strip .times strong{min-width:96px;white-space:nowrap;font-size:20px}
 .strip .card{position:relative}.strip .iql,.strip .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 .strip .row.done .name,.strip .row.done .times small,.strip .row.done .times strong{color:var(--muted)}
 .strip .row.next .card{background:var(--green);border-top-color:var(--green);color:#fff}
 .strip .row.next .name,.strip .row.next .times small,.strip .row.next .times strong{color:#fff;font-weight:700}
 .strip .row.next+.row .card{border-top-color:var(--green)}
 /* sections and footer */
 .sec{padding:48px 0}
 h2.big{font-size:30px}.lead{font-size:18px;line-height:1.5}
 footer{padding:28px 0 32px;font-size:16px;line-height:1.9}
 footer .f-line{display:block}
 footer .f-sep{display:none}
 /* timetable */
 .tt-page .band.small{padding:24px 0!important}.tt-page .band.small .lead{display:none}
 .tt-page .band.small .pname{font-size:32px;margin:0}
 .tt-bar .controls{display:grid;grid-template-columns:52px 1fr 52px;gap:10px;margin-top:18px}
 .tt-bar .step{min-height:52px;min-width:52px}
 #month{min-width:0;min-height:52px;font-size:18px}
 .tt-row2{display:flex;gap:10px;margin:12px 0 18px}
 .tt-row2 .pill{flex:1;display:grid;grid-template-columns:1fr 1fr}
 .tt-row2 button.seg{font-size:16px;min-height:44px}
 .tt-row2 #print{margin:0;min-height:52px;flex:none;padding:0 22px}
 #note{display:none}
 .tt{margin:0 -16px;width:calc(100% + 32px)!important}
 .tt th{font-size:15px;padding:12px 2px}.tt thead th small{font-size:12px}
 .tt td{font-size:18px;height:58px;padding:4px 2px}
 .tt th[scope=row]{font-size:19px;height:58px;width:58px}
 .tt th[scope=row] small{font-size:14px}
}
@media screen and (max-width:359px){
 .today-h span,.strip .times small{min-width:72px}.today-h span+span,.strip .times strong{min-width:84px}
 .strip .times small{font-size:16px}.strip .times strong,.strip .name{font-size:18px}
 .today-h,.strip .card{padding:0 14px}
 .tt td{font-size:16px}.tt th[scope=row]{font-size:17px;width:50px}
}
 @media screen and (max-width:899px){.dsep{display:none}}
@media screen and (max-width:359px){
 .brand{font-size:16px;gap:8px}.brand img{width:32px}.donate-m{padding:0 14px!important}
 .tt-bar .controls{grid-template-columns:44px 1fr 44px;gap:8px}.tt-bar .step{min-width:44px}
 #month{font-size:16px;padding:0 30px 0 12px;background-position:right 10px center}
 .tt td{font-size:15px}.tt th{font-size:14px}
}
@media screen and (max-width:899px){.tt th:last-child,.tt td:last-child{padding-right:10px}.tt .tag{font-size:13px}}
@media screen and (max-width:359px){.brand{min-width:0;font-size:15px}.brand{margin-right:12px}.donate-m{flex:none}.tt th{font-size:13px}}
/* Very large text (200% text size): a row wraps, times move under the name, instead of scrolling sideways. Normal sizes stay on one line. */
@media screen and (max-width:899px){.today-h{flex-wrap:wrap;justify-content:flex-end}.strip .card{flex-wrap:wrap}.strip .times{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}footer .f-line{overflow-wrap:anywhere}}
@media screen and (max-width:899px){.two>div{min-width:0}main a,.addr,.prose p,h2.big{overflow-wrap:anywhere}.strip .name{overflow-wrap:normal}}
/* Timetable at very large text: the table scrolls inside its own edge-to-edge box, never the page. */
@media screen and (max-width:899px){.tt-main{margin:0 -16px;overflow-x:auto}.tt-main .tt{margin:0;width:100%!important}}
/* Very large text on the smallest phones: the next-prayer name never breaks mid-word, so it is a little smaller under 360px and "tomorrow" is 0.8em; the date may wrap. */
@media screen and (max-width:899px){.bdate{overflow-wrap:anywhere}.b-text .pname{overflow-wrap:normal}.b-text .pname .tmr{font-size:.8em}}
@media screen and (max-width:359px){.b-text .pname{font-size:34px}}
