.adhan-bg[hidden],
.adhan-toast[hidden] {
  display: none !important;
}
.adhan-bg {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 18, 14, .55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: adhan-fade .22s var(--nm-ease, ease);
}
.adhan-sheet {
  width: 100%;
  max-width: var(--nm-max, 480px);
  background: #fff;
  color: var(--nm-text, #10231b);
  border-radius: 28px 28px 0 0;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -18px 50px rgba(6, 40, 28, .18);
  animation: adhan-up .32s var(--nm-ease, ease);
}
.adhan-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: #d9e2dd;
  margin: 6px auto 12px;
}
.adhan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.adhan-ico {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #145c3f;
  background: linear-gradient(180deg, #f3e0a6, #e8c56b);
  box-shadow: 0 8px 18px rgba(232, 197, 107, .35);
  flex-shrink: 0;
}
.adhan-head-copy { min-width: 0; flex: 1; }
.adhan-head-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}
.adhan-head-copy p {
  margin: 3px 0 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--nm-muted, #5d7168);
}
.adhan-x,
.adhan-master,
.adhan-row,
.adhan-chip,
.adhan-save {
  cursor: pointer;
  font-family: inherit;
}
.adhan-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #eef3f0;
  color: #5d7168;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.adhan-master {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  padding: 12px 14px;
  border: 1px solid var(--nm-line, #dce6e1);
  border-radius: 18px;
  background: linear-gradient(90deg, #f3fbf8, #fff 42%);
  margin-bottom: 12px;
}
.adhan-master.on {
  border-color: rgba(20, 92, 63, .28);
  background: linear-gradient(90deg, #e6f8f5, #fff 50%);
}
.adhan-master span { flex: 1; min-width: 0; }
.adhan-master b { display: block; font-size: .95rem; }
.adhan-master small {
  display: block;
  margin-top: 2px;
  color: var(--nm-muted, #5d7168);
  font-size: .74rem;
  font-weight: 700;
}
.adhan-sw {
  width: 48px;
  height: 28px;
  border-radius: 99px;
  background: #cfd8d3;
  position: relative;
  flex-shrink: 0;
  transition: background .2s ease;
}
.adhan-sw:before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}
.adhan-sw.on { background: #145c3f; }
.adhan-sw.on:before { transform: translateX(-20px); }
.adhan-list { display: grid; gap: 8px; margin-bottom: 14px; }
.adhan-list.dim { opacity: .55; }
.adhan-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid var(--nm-line, #dce6e1);
  background: #fff;
}
.adhan-row.on {
  border-color: rgba(20, 92, 63, .28);
  background: #f6fbf8;
}
.adhan-ck {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1.5px solid #c5d2cc;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}
.adhan-ck.on {
  border-color: #145c3f;
  background: #145c3f;
}
.adhan-ck.on:after {
  content: "";
  position: absolute;
  top: 4px;
  right: 7px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.adhan-row-copy { min-width: 0; flex: 1; }
.adhan-row-copy b { display: block; font-size: .9rem; }
.adhan-row-copy small {
  display: block;
  color: var(--nm-muted, #5d7168);
  font-size: .72rem;
  font-weight: 700;
}
.adhan-row em {
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #145c3f;
  font-size: .88rem;
}
.adhan-lead span {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  color: var(--nm-muted, #5d7168);
  margin: 2px 2px 8px;
}
.adhan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.adhan-chip {
  height: 36px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid var(--nm-line, #dce6e1);
  background: #fff;
  font-weight: 800;
  font-size: .78rem;
  color: #145c3f;
}
.adhan-chip.on {
  background: #145c3f;
  border-color: #145c3f;
  color: #fff;
}
.adhan-hint {
  margin: 0 2px 10px;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--nm-muted, #5d7168);
}
.adhan-err {
  margin: 0 2px 10px;
  font-size: .8rem;
  font-weight: 800;
  color: #e11d48;
}
.adhan-save {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a7a54, #145c3f);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 10px 22px rgba(20, 92, 63, .28);
}
.adhan-save:disabled { opacity: .65; }
.adhan-toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  background: #0d3f2c;
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 28px rgba(6, 40, 28, .28);
}
.bell.on {
  box-shadow: 0 0 0 3px rgba(46, 230, 214, .45), 0 6px 16px rgba(232, 197, 107, .35);
}
@keyframes adhan-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes adhan-up {
  from { transform: translateY(24px); opacity: .6; }
  to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 640px) {
  .adhan-bg { align-items: center; padding: 16px; }
  .adhan-sheet {
    border-radius: 24px;
    max-height: 90vh;
    overflow: auto;
  }
}
