/* sleep-timer.css — مؤقّت النوم (زرار + قايمة) */
.st-btn{ position:relative; }
.st-btn .st-badge{
  position:absolute; top:-2px; inset-inline-end:-2px; display:none; place-items:center; min-width:16px; height:16px; padding:0 4px; box-sizing:border-box;
  border-radius:99px; font-style:normal; font-family:var(--font-body, 'Tajawal', sans-serif); font-size:.62rem; font-weight:800; line-height:1;
  background:var(--gold, #c9a24b); color:#1b1405; pointer-events:none;
}
.st-btn.st-on .st-badge{ display:grid; }
.st-btn.st-on{ color:var(--gold-bright, #e6c877); }

.st-menu{
  position:fixed; z-index:9700; direction:rtl; width:min(230px, calc(100vw - 16px)); padding:10px;
  display:flex; flex-direction:column; gap:6px;
  background:var(--surface, #121f3b); color:var(--text, #f3efe3); border:1px solid var(--gold, #c9a24b); border-radius:16px;
  box-shadow:0 14px 34px rgba(0,0,0,.4); font-family:var(--font-body, 'Tajawal', sans-serif);
  animation:stIn .18s ease both;
}
@keyframes stIn{ from{ opacity:0; transform:translateY(6px) scale(.97); } to{ opacity:1; transform:none; } }
.st-title{ font-size:.78rem; font-weight:800; color:var(--text-dim, #a9b3c9); padding:2px 4px 4px; }
.st-opt{
  font-family:inherit; font-size:.88rem; font-weight:700; text-align:start; cursor:pointer; padding:10px 12px; border-radius:11px;
  border:1px solid var(--border, rgba(201,162,75,.25)); background:var(--surface-2, #1a2a4d); color:var(--text, #f3efe3);
  transition:border-color .15s ease, background .15s ease;
}
.st-opt:hover, .st-opt:focus-visible{ border-color:var(--gold, #c9a24b); outline:none; }
.st-cancel{ color:var(--danger, #e0685a); }
.st-now{ font-size:.76rem; font-weight:800; color:var(--gold-bright, #e6c877); padding:4px 4px 0; }
[data-theme="light"] .st-now{ color:color-mix(in srgb, var(--gold-bright, #fbbf24) 55%, #000); }
[data-theme="light"] .st-btn.st-on{ color:color-mix(in srgb, var(--gold-bright, #fbbf24) 55%, #000); }
@media (prefers-reduced-motion:reduce){ .st-menu{ animation:none; } }
@media print{ .st-menu{ display:none !important; } }
/* داخل أزرار المصحف الدايرية (.round-btn عليها overflow:hidden وخلفية ذهبية) */
.round-btn.st-btn{ overflow:visible; }
.round-btn.st-btn.st-on{ color:#171203; }
.round-btn .st-badge{ background:#171203; color:var(--gold-bright, #e6c877); top:-4px; }
