/* Nur v11 — minimal first screen without removing existing features */
body.home-minimal .topbar {
  justify-content: flex-end;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.home-minimal .topbar .brand,
body.home-minimal .topbar .language-picker {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}
body.home-minimal #themeToggle {
  backdrop-filter: blur(14px);
}
#tasbih.active {
  min-height: calc(100dvh - 150px);
  padding-top: clamp(18px, 4vh, 44px);
}
#tasbih .screen-topline {
  display: none;
}
#tasbih .tasbih-heading {
  justify-content: center;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 460px;
}
#tasbih .tasbih-heading > div:first-child {
  width: 100%;
}
#tasbih .tasbih-heading h1 {
  margin: 0;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -.02em;
  opacity: .88;
}
#tasbih #practiceSubtitle {
  display: none !important;
}
#tasbih > .tasbih-heading .tasbih-header-actions,
#tasbih > .practice-panel,
#tasbih > .tasbih-actions,
#tasbih > .session-note,
#tasbih > #restartCycle {
  display: none !important;
}
#tasbih .tasbih-button {
  width: min(66vw, 300px);
  height: min(66vw, 300px);
  min-width: 220px;
  min-height: 220px;
  margin: clamp(8px, 2vh, 18px) auto 22px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent, #08785f) 28%, transparent);
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--accent, #08785f) 9%, transparent), transparent 52%),
    var(--surface, rgba(255,255,255,.82));
  box-shadow:
    0 24px 70px rgba(15, 70, 58, .10),
    inset 0 0 0 1px rgba(255,255,255,.35);
  transition: transform .16s ease, box-shadow .24s ease, background .3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
html[data-theme="dark"] #tasbih .tasbih-button {
  box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.035);
}
#tasbih .tasbih-button:active {
  transform: scale(.975);
}
#tasbih .tasbih-number {
  font-size: clamp(3.4rem, 15vw, 6rem);
  font-weight: 650;
  letter-spacing: -.065em;
}
#tasbih .count-caption {
  margin-top: 8px;
  font-size: .78rem;
  opacity: .56;
}
#tasbih .tasbih-pulse {
  animation: nur-soft-breathe 3.8s ease-in-out infinite;
}
#tasbih .tasbih-orbit {
  opacity: .28;
  animation-duration: 13s;
}
#tasbih .tap-animation .tasbih-pulse {
  animation: nur-tap-wave .52s ease-out;
}
@keyframes nur-soft-breathe {
  0%, 100% { transform: scale(.94); opacity: .12; }
  50% { transform: scale(1.08); opacity: .28; }
}
@keyframes nur-tap-wave {
  from { transform: scale(.74); opacity: .36; }
  to { transform: scale(1.18); opacity: 0; }
}
#tasbih .home-tools {
  width: min(100%, 620px);
  margin: 6px auto 20px;
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface, #fff) 90%, transparent);
  overflow: clip;
}
#tasbih .home-tools > summary {
  list-style: none;
  cursor: pointer;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 650;
  opacity: .72;
  touch-action: manipulation;
}
#tasbih .home-tools > summary::-webkit-details-marker { display: none; }
#tasbih .home-tools > summary::after {
  content: "⌄";
  transition: transform .2s ease;
}
#tasbih .home-tools[open] > summary::after { transform: rotate(180deg); }
#tasbih .home-tools-inner {
  padding: 0 14px 16px;
}
#tasbih .home-tools .tasbih-header-actions {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 12px;
}
#tasbih .home-tools .practice-panel,
#tasbih .home-tools .tasbih-actions,
#tasbih .home-tools .session-note,
#tasbih .home-tools #restartCycle {
  margin-left: auto;
  margin-right: auto;
}
#tasbih .home-tools .upgraded-actions {
  display: grid;
  grid-template-columns: 1fr;
}
#tasbih .home-tools .session-note {
  text-align: center;
  padding: 4px 8px 0;
}
.knowledge-basics {
  margin: 30px 0 8px;
}
.knowledge-basics h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.knowledge-basics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.knowledge-basics article {
  padding: 16px;
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface, #fff) 92%, transparent);
}
.knowledge-basics article strong {
  display: block;
  margin-bottom: 6px;
}
.knowledge-basics article p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
  opacity: .7;
}
@media (max-width: 520px) {
  #tasbih.active { padding-top: 12px; }
  #tasbih .tasbih-button {
    width: min(72vw, 280px);
    height: min(72vw, 280px);
  }
  .knowledge-basics-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #tasbih .tasbih-pulse,
  #tasbih .tasbih-orbit { animation: none !important; }
}
html[data-reduce-motion="true"] #tasbih .tasbih-pulse,
html[data-reduce-motion="true"] #tasbih .tasbih-orbit {
  animation: none !important;
}


/* Search-friendly explanatory content kept below the primary counter */
.tasbih-seo-info {
  width: min(100%, 620px);
  margin: 10px auto 28px;
  border-top: 1px solid color-mix(in srgb, currentColor 9%, transparent);
}
.tasbih-seo-info > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px 8px;
  text-align: center;
  font-size: .82rem;
  font-weight: 650;
  opacity: .55;
}
.tasbih-seo-info > summary::-webkit-details-marker { display: none; }
.tasbih-seo-info > summary::after {
  content: "  +";
  font-weight: 500;
}
.tasbih-seo-info[open] > summary::after { content: "  −"; }
.tasbih-seo-copy {
  padding: 8px 4px 10px;
  text-align: left;
}
.tasbih-seo-copy h2,
.tasbih-seo-copy h3 {
  letter-spacing: -.02em;
}
.tasbih-seo-copy h2 {
  margin: 12px 0 10px;
  font-size: 1.12rem;
}
.tasbih-seo-copy h3 {
  margin: 20px 0 7px;
  font-size: .98rem;
}
.tasbih-seo-copy p {
  margin: 0 0 10px;
  font-size: .88rem;
  line-height: 1.65;
  opacity: .7;
}
.tasbih-seo-copy a {
  color: inherit;
  text-underline-offset: 3px;
}
