/* ===================================================================
   prayer-art.css — خلفية لكل صلاة في كروت المواقيت + ألوان الصلوات في التقويم
   (فجر: بزوغ الفجر والهلال — شروق: الشمس بتطلع — ظهر: شمس عالية — عصر: شمس مايلة
    مغرب: غروب ومئذنة — عشاء: ليل وقمر ونجوم). الألوان هادية ومريحة للعين.
=================================================================== */
:root{
  --pc-fajr:#6f86e0; --pc-sunrise:#f0b35c; --pc-dhuhr:#e6c24a; --pc-asr:#e48f45; --pc-maghrib:#d9645a; --pc-isha:#8a73e8;
}
.time-cell[data-p="fajr"], .prayer-flex[data-p="fajr"]{ --art:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 80%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%221%22 x2=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%23f4a6a0%22 stop-opacity=%22.75%22/%3E%3Cstop offset=%22.5%22 stop-color=%22%237f8fe8%22 stop-opacity=%22.45%22/%3E%3Cstop offset=%221%22 stop-color=%22%233b4fa8%22 stop-opacity=%22.1%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22100%22 height=%2280%22 fill=%22url(%23g)%22/%3E%3Cellipse cx=%2250%22 cy=%2280%22 rx=%2260%22 ry=%2222%22 fill=%22%23ffd3b0%22 opacity=%22.45%22/%3E%3Cg fill=%22%23fff%22 opacity=%22.85%22%3E%3Ccircle cx=%2214%22 cy=%2214%22 r=%221%22/%3E%3Ccircle cx=%2230%22 cy=%228%22 r=%22.8%22/%3E%3Ccircle cx=%2262%22 cy=%2212%22 r=%221%22/%3E%3Ccircle cx=%2276%22 cy=%2226%22 r=%22.8%22/%3E%3Ccircle cx=%2240%22 cy=%2226%22 r=%22.7%22/%3E%3C/g%3E%3Cpath d=%22M84 10a7 7 0 1 0 6 11 6 6 0 1 1-6-11z%22 fill=%22%23fff3c8%22 opacity=%22.9%22/%3E%3Cpath d=%22M0 72Q25 64 50 70T100 66V80H0z%22 fill=%22%232c3a7a%22 opacity=%22.55%22/%3E%3C/svg%3E"); --tint:var(--pc-fajr); }
.time-cell[data-p="sunrise"], .prayer-flex[data-p="sunrise"]{ --art:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 80%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%221%22 x2=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%23ffcf8b%22 stop-opacity=%22.8%22/%3E%3Cstop offset=%221%22 stop-color=%22%23ffe9c4%22 stop-opacity=%22.12%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22100%22 height=%2280%22 fill=%22url(%23g)%22/%3E%3Cg stroke=%22%23ffd36e%22 stroke-width=%222%22 stroke-linecap=%22round%22 opacity=%22.8%22%3E%3Cpath d=%22M50 40v-9M30 46l-6-6M70 46l6-6M16 58l-9-3M84 58l9-3%22/%3E%3C/g%3E%3Cpath d=%22M28 70a22 22 0 0 1 44 0z%22 fill=%22%23ffb347%22 opacity=%22.95%22/%3E%3Cpath d=%22M0 70h100v10H0z%22 fill=%22%23d9822b%22 opacity=%22.45%22/%3E%3C/svg%3E"); --tint:var(--pc-sunrise); }
.time-cell[data-p="dhuhr"], .prayer-flex[data-p="dhuhr"]{ --art:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 80%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%221%22 x2=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff2b8%22 stop-opacity=%22.35%22/%3E%3Cstop offset=%221%22 stop-color=%22%238fd0ff%22 stop-opacity=%22.35%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22100%22 height=%2280%22 fill=%22url(%23g)%22/%3E%3Cg stroke=%22%23ffd23f%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 opacity=%22.85%22%3E%3Cpath d=%22M50 4v8M50 48v8M20 30h-8M88 30h-8M29 9l5 5M71 9l-5 5M29 51l5-5M71 51l-5-5%22/%3E%3C/g%3E%3Ccircle cx=%2250%22 cy=%2230%22 r=%2214%22 fill=%22%23ffd23f%22/%3E%3Ccircle cx=%2250%22 cy=%2230%22 r=%2210%22 fill=%22%23fff0a0%22 opacity=%22.7%22/%3E%3C/svg%3E"); --tint:var(--pc-dhuhr); }
.time-cell[data-p="asr"], .prayer-flex[data-p="asr"]{ --art:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 80%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%221%22 x2=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%23f0a04a%22 stop-opacity=%22.65%22/%3E%3Cstop offset=%221%22 stop-color=%22%23ffe0a8%22 stop-opacity=%22.18%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22100%22 height=%2280%22 fill=%22url(%23g)%22/%3E%3Cg stroke=%22%23ffb255%22 stroke-width=%222%22 stroke-linecap=%22round%22 opacity=%22.7%22%3E%3Cpath d=%22M76 20l-10 4M76 20l-4 -10M76 20l-12 12M76 20l-2 12%22/%3E%3C/g%3E%3Ccircle cx=%2276%22 cy=%2220%22 r=%2211%22 fill=%22%23ffa63d%22/%3E%3Cpath d=%22M0 62Q22 50 44 60T100 56V80H0z%22 fill=%22%23b8651c%22 opacity=%22.35%22/%3E%3Cpath d=%22M0 70Q30 60 60 68T100 66V80H0z%22 fill=%22%238a4a12%22 opacity=%22.35%22/%3E%3C/svg%3E"); --tint:var(--pc-asr); }
.time-cell[data-p="maghrib"], .prayer-flex[data-p="maghrib"]{ --art:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 80%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%221%22 x2=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%23e5604f%22 stop-opacity=%22.75%22/%3E%3Cstop offset=%22.55%22 stop-color=%22%23e98a6a%22 stop-opacity=%22.4%22/%3E%3Cstop offset=%221%22 stop-color=%22%236b4a9e%22 stop-opacity=%22.18%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22100%22 height=%2280%22 fill=%22url(%23g)%22/%3E%3Cpath d=%22M62 66a20 20 0 0 1 40 0z%22 fill=%22%23ffb27a%22 opacity=%22.9%22/%3E%3Cg fill=%22%234a2338%22 opacity=%22.7%22%3E%3Cpath d=%22M0 80V64h6v-8l3-5 3 5v8h8v16z%22/%3E%3Cpath d=%22M14 80V60a8 8 0 0 1 16 0v20z%22/%3E%3Crect x=%2231%22 y=%2246%22 width=%223%22 height=%2234%22/%3E%3Cpath d=%22M30.5 46l2.5-6 2.5 6z%22/%3E%3C/g%3E%3Cpath d=%22M0 74h100v6H0z%22 fill=%22%234a2338%22 opacity=%22.5%22/%3E%3C/svg%3E"); --tint:var(--pc-maghrib); }
.time-cell[data-p="isha"], .prayer-flex[data-p="isha"]{ --art:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 80%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%221%22 x2=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%235b45c9%22 stop-opacity=%22.5%22/%3E%3Cstop offset=%221%22 stop-color=%22%231a1650%22 stop-opacity=%22.45%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%22100%22 height=%2280%22 fill=%22url(%23g)%22/%3E%3Cg fill=%22%23fff%22 opacity=%22.9%22%3E%3Ccircle cx=%2212%22 cy=%2216%22 r=%221.1%22/%3E%3Ccircle cx=%2228%22 cy=%2234%22 r=%22.8%22/%3E%3Ccircle cx=%2246%22 cy=%2212%22 r=%221%22/%3E%3Ccircle cx=%2264%22 cy=%2230%22 r=%22.8%22/%3E%3Ccircle cx=%2290%22 cy=%2246%22 r=%221%22/%3E%3Ccircle cx=%2220%22 cy=%2256%22 r=%22.7%22/%3E%3Cpath d=%22M74 14l1.2 2.8 3 .3-2.3 2 .7 3-2.6-1.6-2.6 1.6.7-3-2.3-2 3-.3z%22 opacity=%22.7%22/%3E%3C/g%3E%3Cpath d=%22M62 12a13 13 0 1 0 12 19 11 11 0 1 1-12-19z%22 fill=%22%23fff3c8%22/%3E%3Cpath d=%22M0 74Q25 68 50 72T100 70V80H0z%22 fill=%22%230e0b33%22 opacity=%22.5%22/%3E%3C/svg%3E"); --tint:var(--pc-isha); }

.prayer-section .times-grid .time-cell[data-p]{
  position:relative; overflow:hidden; isolation:isolate; min-height:92px;
  background-image:none; background-color:var(--surface);
  border-color: color-mix(in srgb, var(--tint) 45%, var(--border));
}
.time-cell[data-p]::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: var(--art) center bottom / cover no-repeat;
  opacity:.55; transition:opacity .3s ease, transform .6s ease;
}
.time-cell[data-p]::after{            /* طبقة هادية تحت النص عشان الأرقام تتقري بسهولة */
  content:''; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, transparent) 0%, transparent 70%);
}
[data-theme="light"] .time-cell[data-p]::before{ opacity:.7; }
.time-cell[data-p] .p-name{ text-shadow:0 1px 2px color-mix(in srgb, var(--surface) 80%, transparent); }
.time-cell[data-p] .p-time{ text-shadow:0 1px 3px color-mix(in srgb, var(--surface) 85%, transparent); }
.time-cell[data-p]:hover::before{ transform:scale(1.06); }
/* الصلاة القادمة: بنخلّي الخلفية الذهبية القديمة بس بنسيب الرسمة ظاهرة */
.time-cell[data-p].active::before{ opacity:.5; }
.time-cell[data-p].active::after{ background:none; }
.time-cell[data-p].active .p-name, .time-cell[data-p].active .p-time{ text-shadow:none; }
.prayer-section .times-grid .time-cell[data-p].active{
  background-image: linear-gradient(160deg, color-mix(in srgb, var(--gold) 88%, transparent), color-mix(in srgb, var(--gold-bright) 88%, transparent));
  color:#171203; border-color:transparent;
}

/* ---------- صلوات اليوم (تصميم جديد) ---------- */
.today-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:14px; box-shadow:var(--shadow); margin-top:22px;
  background-image:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 55%); }
.today-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.today-title{ font-family:var(--font-display); font-size:1.35rem; color:var(--gold-bright); line-height:1.3; }
.today-sub{ font-size:.78rem; color:var(--text-dim); }
.today-ring{ position:relative; width:58px; height:58px; flex:none; }
.today-ring svg{ width:100%; height:100%; transform:rotate(90deg) scaleX(-1); }
.tr-bg{ fill:none; stroke:var(--surface-2); stroke-width:4.5; }
.tr-fg{ fill:none; stroke:var(--green-bright); stroke-width:4.5; stroke-linecap:round; stroke-dasharray:113.1; stroke-dashoffset:113.1; transition:stroke-dashoffset .6s ease, stroke .3s; }
.today-card.all .tr-fg{ stroke:var(--gold-bright); }
.today-ring b{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:.9rem; font-family:var(--font-display); }
.today-card .progress-bar-wrap{ background:none; border:0; border-radius:0; padding:0; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:8px; }
.today-card .progress-step{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 2px 9px;
  border-radius:16px; border:1px solid color-mix(in srgb, var(--pc) 35%, var(--border));
  background:linear-gradient(180deg, color-mix(in srgb, var(--pc) 14%, var(--surface-2)), var(--surface-2));
  color:var(--text); font:inherit; font-size:.78rem; font-weight:700; cursor:pointer; transition:transform .2s, box-shadow .25s, background .25s, border-color .25s;
}
.today-card .progress-step:active{ transform:scale(.94); }
.ps-ico{ width:38px; height:38px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; border-radius:50%;
  background:color-mix(in srgb, var(--pc) 22%, transparent); filter:grayscale(.55); opacity:.8; transition:filter .25s, opacity .25s, transform .3s; }
.ps-check{ position:absolute; top:-7px; inset-inline-start:-4px; width:22px; height:22px; border-radius:50%; background:var(--green-bright); color:#fff;
  font-style:normal; font-size:.8rem; display:flex; align-items:center; justify-content:center; transform:scale(0); transition:transform .25s cubic-bezier(.3,1.6,.5,1); box-shadow:0 2px 6px rgba(0,0,0,.3); }
.today-card .progress-step.done{
  background:linear-gradient(160deg, color-mix(in srgb, var(--pc) 38%, var(--surface)), color-mix(in srgb, var(--green) 28%, var(--surface)));
  border-color:var(--green-bright); box-shadow:0 0 14px color-mix(in srgb, var(--green-bright) 40%, transparent); color:var(--text);
}
.today-card .progress-step.done .ps-ico{ filter:none; opacity:1; transform:scale(1.08); }
.today-card .progress-step.done .ps-check{ transform:scale(1); }
.today-msg{ text-align:center; font-size:.85rem; color:var(--text-dim); margin-top:12px; min-height:1.3em; }
.today-card.all{ border-color:var(--gold-bright); box-shadow:0 0 22px color-mix(in srgb, var(--gold) 35%, transparent); }
.today-card.all .today-msg{ color:var(--gold-bright); font-weight:700; }

/* وضوح أحسن للعنوان والرسالة في الوضع الفاتح (الذهبي الفاتح كان باهت على الأبيض) — بيحترم لون التمييز اللي المستخدم اختاره */
[data-theme="light"] .today-title{ color:color-mix(in srgb, var(--gold-bright) 62%, #000); }
[data-theme="light"] .today-card.all .today-msg{ color:color-mix(in srgb, var(--gold-bright) 58%, #000); }


/* ===================================================================
   كارت المواقيت الرئيسي (hero): مشهد الفترة الحالية + حلقة العدّ التنازلي
   (بيتغيّر مشهده تلقائي: فجر / بعد الشروق / ظهر / عصر / مغرب / عشاء)
=================================================================== */
.prayer-section .prayer-flex{
  --hc:var(--pc-isha); --sv:var(--surface);
  position:relative; isolation:isolate; overflow:hidden;
  display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"next ring" "now ring";
  align-items:center; align-content:center; gap:6px 10px; padding:46px 16px 16px;
  border-radius:calc(var(--radius) + 6px); border:1px solid color-mix(in srgb, var(--hc) 52%, var(--border));
  background:var(--surface); box-shadow:var(--shadow), 0 0 26px color-mix(in srgb, var(--hc) 16%, transparent);
  transition:border-color .6s ease, box-shadow .6s ease;
}
[data-theme="light"] .prayer-section .prayer-flex{ --sv:#fff; }
.prayer-flex[data-p="fajr"]{ --hc:var(--pc-fajr); }
.prayer-flex[data-p="sunrise"]{ --hc:var(--pc-sunrise); }
.prayer-flex[data-p="dhuhr"]{ --hc:var(--pc-dhuhr); }
.prayer-flex[data-p="asr"]{ --hc:var(--pc-asr); }
.prayer-flex[data-p="maghrib"]{ --hc:var(--pc-maghrib); }
.prayer-flex[data-p="isha"]{ --hc:var(--pc-isha); }
.prayer-flex::before{
  content:''; position:absolute; inset:0; z-index:-2; background:var(--art) center bottom / cover no-repeat; opacity:.8;
}
.prayer-flex::after{
  content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to left, color-mix(in srgb, var(--sv) 86%, transparent) 0%, color-mix(in srgb, var(--sv) 70%, transparent) 38%, color-mix(in srgb, var(--sv) 16%, transparent) 78%, color-mix(in srgb, var(--sv) 6%, transparent) 100%);
}
[data-theme="light"] .prayer-flex::before{ opacity:.9; }

.pf-period{
  position:absolute; top:12px; right:14px; z-index:1; padding:3px 12px; border-radius:99px;
  font-size:.74rem; font-weight:800; color:var(--text);
  background:color-mix(in srgb, var(--hc) 24%, color-mix(in srgb, var(--sv) 70%, transparent));
  border:1px solid color-mix(in srgb, var(--hc) 55%, transparent);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.pf-period:empty{ display:none; }

.prayer-section .prayer-flex .side-card{
  background:none; background-image:none; border:0; box-shadow:none; padding:0; border-radius:0;
  align-items:flex-start; justify-content:center; text-align:start; gap:2px;
}
.prayer-flex .pf-next{ grid-area:next; }
.prayer-flex .pf-ring{ grid-area:ring; align-items:center; text-align:center; gap:4px; }
.prayer-flex .pf-now{ grid-area:now; margin-top:10px; padding-top:10px; border-top:1px dashed color-mix(in srgb, var(--text) 22%, transparent); }

.prayer-section .prayer-flex .pf-next .label, .prayer-section .prayer-flex .pf-now .label{ font-size:.72rem; color:var(--text-dim); }
.prayer-section .prayer-flex .pf-next .value{
  font-family:var(--font-display); font-size:2.3rem; line-height:1.15; font-weight:700; color:var(--text); letter-spacing:0;
  text-shadow:0 1px 8px color-mix(in srgb, var(--sv) 70%, transparent);
}
.pf-time{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:.8rem; color:var(--text-dim); }
.pf-time b{ font-size:1.1rem; color:var(--text); font-weight:800; font-variant-numeric:tabular-nums; }
.pf-time i{
  font-style:normal; font-size:.68rem; font-weight:800; padding:1px 10px; border-radius:99px; color:#171203;
  background:var(--hc);
}
.prayer-section .prayer-flex #clockNow{ font-size:1.02rem; color:var(--text); font-family:inherit; font-weight:800; white-space:nowrap; font-variant-numeric:tabular-nums; }
.prayer-section .prayer-flex .pf-now .sub{ font-size:.72rem; color:var(--text-dim); }

.prayer-flex .countdown-ring-wrap{ width:136px; height:136px; margin:0 auto; }
.prayer-flex .countdown-ring-wrap::before{
  content:''; position:absolute; inset:11px; border-radius:50%;
  background:color-mix(in srgb, var(--sv) 72%, transparent); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
}
.prayer-flex .countdown-ring .ring-bg{ stroke:color-mix(in srgb, var(--text) 20%, transparent); stroke-width:7; }
.prayer-flex .countdown-ring .ring-fg{ stroke:var(--hc); stroke-width:7; filter:drop-shadow(0 0 5px color-mix(in srgb, var(--hc) 55%, transparent)); }
[data-theme="light"] .prayer-flex .countdown-ring .ring-fg{ stroke:color-mix(in srgb, var(--hc) 82%, #000); }
.prayer-flex .countdown-ring-wrap .countdown{ font-size:1.3rem; color:var(--text); letter-spacing:0; font-variant-numeric:tabular-nums; }
.prayer-flex .pf-ring .sub{ font-size:.66rem; color:var(--text-dim); }

@media (max-width:480px){
  .prayer-section .prayer-flex{ gap:4px 8px; padding:44px 12px 14px; }
  .prayer-section .prayer-flex .pf-next .value{ font-size:2rem; }
  .prayer-flex .countdown-ring-wrap{ width:122px; height:122px; }
  .prayer-flex .countdown-ring-wrap .countdown{ font-size:1.12rem; }
}
@media (prefers-reduced-motion:reduce){ .prayer-section .prayer-flex{ transition:none; } }
[data-reduce-motion="1"] .prayer-section .prayer-flex{ transition:none; }

/* ===================================================================
   مواقيت الصلاة — كارت اختيار الموقع منظّم (زرار GPS، قوايم، بحث، حفظ، تحديث)
=================================================================== */
.prayer-section .section-title{ flex-wrap:wrap; }          /* كان بيضغط العنوان في نص العرض */
.prayer-section .section-title::before{ margin-bottom:10px; }

.prayer-section .prayer-top{
  display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:12px;
  margin:0 0 12px; padding:14px; border-radius:22px;
  background: var(--surface); border:1px solid var(--border); box-shadow: var(--shadow);
}
.prayer-section .location-controls{ display:flex; flex-wrap:wrap; align-items:stretch; gap:10px; }
.prayer-section .location-controls #gpsBtn{
  flex:1 1 100%; justify-content:center; min-height:48px; border-radius:16px; font-size:.95rem; font-weight:800;
}
.prayer-section .location-controls select.city-input,
.prayer-section .location-controls input.city-input{
  flex:1 1 140px; min-width:0; width:auto; min-height:44px; padding:0 14px; border-radius:14px; font-size:.88rem;
}
.prayer-section .location-controls input.city-input{ flex:1 1 150px; }
.prayer-section .location-controls #citySearchBtn,
.prayer-section .location-controls #saveCityBtn{
  flex:0 0 auto; min-height:44px; padding:0 16px; border-radius:14px; font-size:.85rem; justify-content:center;
}
.prayer-section .location-controls #saveCityBtn{
  background: color-mix(in srgb, var(--gold) 12%, var(--surface-2));
  border:1px solid color-mix(in srgb, var(--gold) 45%, var(--border));
}
.prayer-section .location-label{
  align-self:center; display:inline-flex; align-items:center; justify-content:center; gap:6px; max-width:100%;
  padding:8px 16px; border-radius:22px; font-size:.9rem; text-align:center;
  background: color-mix(in srgb, var(--gold) 10%, var(--surface-2));
  border:1px solid color-mix(in srgb, var(--gold) 35%, var(--border));
}
[data-theme="light"] .prayer-section .location-label{ color: color-mix(in srgb, var(--gold-bright) 62%, #000); }

.prayer-section .timings-meta{ margin:0 0 14px; gap:8px; }
.prayer-section .timings-status-row{ gap:8px; }
.prayer-section #refreshTimingsBtn{
  padding:7px 14px; border-radius:18px; font-size:.78rem; min-height:34px;
  background: transparent; border:1px solid color-mix(in srgb, var(--gold) 45%, var(--border));
}
.prayer-section #refreshTimingsBtn:hover{ background: var(--gold); color:#171203; }

@media (min-width: 720px){
  .prayer-section .location-controls #gpsBtn{ flex:0 0 auto; padding:0 22px; }
  .prayer-section .location-controls select.city-input{ flex:1 1 170px; }
  .prayer-section .location-controls input.city-input{ flex:1 1 220px; }
}
[data-theme="light"] .prayer-section .timings-status[data-state="fresh"]{ color: color-mix(in srgb, var(--gold-bright) 55%, #000); }
