@font-face {
  font-family: "Cairo";
  src: url("/assets/branding/cairo-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("/assets/branding/cairo-bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-scale: 1;
  --bg: #021d1c;
  --bg-deep: #011313;
  --panel: rgba(4, 45, 39, 0.74);
  --panel-strong: rgba(2, 32, 29, 0.92);
  --panel-soft: rgba(11, 61, 48, 0.58);
  --gold: #f2d47b;
  --gold-strong: #dfb744;
  --cream: #fff5cf;
  --text: #fffaf0;
  --muted: #d9dfd8;
  --green: #22c978;
  --green-soft: #83e5a9;
  --danger: #ff8a7c;
  --warning: #f5c65b;
  --border: rgba(240, 205, 105, 0.38);
  --border-strong: rgba(255, 220, 119, 0.72);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 22px;
  --ease: 180ms ease;
}

* { box-sizing: border-box; }
html { direction: rtl; background: var(--bg-deep); font-size: calc(16px * var(--font-scale)); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(190, 130, 39, 0.19), transparent 31rem),
    radial-gradient(circle at 18% 92%, rgba(24, 139, 91, 0.18), transparent 38rem),
    linear-gradient(145deg, #011a1b, #042e29 55%, #011817);
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(255, 224, 126, 0.9);
  outline-offset: 3px;
}
button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

::selection { background: rgba(242, 212, 123, 0.3); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #031c1a; }
::-webkit-scrollbar-thumb { background: #296554; border: 2px solid #031c1a; border-radius: 999px; }

.glass-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 44%),
    var(--panel);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 16px 45px rgba(0,0,0,.23);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 35px rgba(222, 185, 76, 0.035);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px) scale(.99); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button.primary {
  color: #09261f;
  font-weight: 800;
  border-color: #fff0ad;
  background: linear-gradient(135deg, #fff2b4, #d7a933 70%);
  box-shadow: 0 10px 35px rgba(215, 169, 51, .26), inset 0 1px #fff9d6;
}
.button.ghost { border-color: var(--border); background: rgba(4, 43, 38, .7); }
.button.ghost:hover { border-color: var(--border-strong); background: rgba(10, 70, 55, .74); }
.button.danger-ghost { border-color: rgba(255,138,124,.38); background: rgba(100, 26, 25, .25); color: #ffc2b9; }
.button-icon { font-size: 1.15em; line-height: 1; }
.compact-button { min-height: 36px; padding: 6px 12px; border-radius: 11px; font-size: .88rem; }
.full-button { width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 54px; height: 54px; flex: 0 0 auto; filter: drop-shadow(0 0 16px rgba(242, 212, 123, .2)); }
.brand-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { color: var(--gold); font-size: 1.08rem; white-space: nowrap; }
.brand-copy span { color: #eadba8; font-size: .72rem; direction: ltr; text-align: right; }
.brand-compact .brand-logo { width: 44px; height: 44px; }
.brand-compact .brand-copy span { display: none; }

.intro-overlay {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(1, 17, 19, .3), rgba(0, 20, 17, .84)),
    url("/assets/gardens/garden-dawn.webp") center/cover no-repeat;
}
.intro-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, transparent 0 18%, rgba(0,0,0,.4) 74%);
}
.intro-content {
  position: relative;
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 66px);
  border: 1px solid rgba(255, 221, 124, .46);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(2, 32, 31, .78), rgba(2, 27, 26, .58));
  box-shadow: 0 45px 120px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.intro-content .brand { margin-bottom: 27px; }
.intro-verse { margin: 0 0 20px; color: var(--cream); font-size: clamp(1.2rem, 3vw, 1.75rem); }
.intro-content h1 { margin: 0; max-width: 650px; color: var(--gold); font-size: clamp(2rem, 6vw, 4.1rem); line-height: 1.25; text-shadow: 0 8px 26px rgba(0,0,0,.4); }
.intro-message { max-width: 630px; margin: 24px 0 30px; color: #f2eee1; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 2; }
.intro-button { min-width: 210px; min-height: 56px; font-size: 1.08rem; }
.intro-note { margin-top: 15px; color: #d8dfd6; font-size: .84rem; }
.intro-leaves { position: absolute; z-index: 1; color: var(--gold); font-size: 16rem; opacity: .12; filter: blur(.5px); animation: drift 8s ease-in-out infinite alternate; }
.intro-leaves-one { top: -70px; right: -80px; transform: rotate(28deg); }
.intro-leaves-two { left: -80px; bottom: -75px; transform: rotate(205deg); animation-delay: -3s; }
@keyframes drift { to { translate: 0 18px; rotate: 5deg; } }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.app-shell.nav-is-collapsed { grid-template-columns: 88px minmax(0, 1fr); }
.side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 16px;
  border-left: 1px solid rgba(242, 212, 123, .22);
  background:
    linear-gradient(180deg, rgba(3, 39, 36, .98), rgba(1, 27, 27, .96)),
    url("/assets/gardens/garden-night.webp") center/cover;
  box-shadow: -18px 0 60px rgba(0,0,0,.22);
  transition: width var(--ease);
}
.side-brand { padding: 0 9px 19px; border-bottom: 1px solid rgba(255,255,255,.08); }
.side-nav nav { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; overflow-y: auto; }
.nav-item {
  width: 100%; min-height: 48px;
  display: flex; align-items: center; gap: 13px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  color: #e4ebe6;
  text-align: right;
  transition: all var(--ease);
}
.nav-item:hover { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.07); }
.nav-item.active {
  color: #fff8d4;
  border-color: rgba(244, 211, 111, .44);
  background: linear-gradient(90deg, rgba(27, 127, 72, .58), rgba(9, 64, 49, .62));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.17);
}
.nav-icon { width: 27px; display: grid; place-items: center; color: var(--gold); font-size: 1.45rem; }
.nav-label { white-space: nowrap; }
.side-footer { margin-top: auto; display: grid; gap: 10px; }
.privacy-badge { display: flex; align-items: center; gap: 8px; padding: 11px; color: #d5e0d6; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; font-size: .78rem; }
.privacy-badge > span:first-child { color: var(--green-soft); font-size: 1.3rem; }
.collapse-button { width: 100%; min-height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; color: var(--gold); }
.side-nav.collapsed .brand-copy, .side-nav.collapsed .nav-label { display: none; }
.side-nav.collapsed .side-brand { padding-inline: 4px; }
.side-nav.collapsed .brand-logo { width: 48px; }
.side-nav.collapsed .nav-item { justify-content: center; padding: 9px; }
.side-nav.collapsed .nav-icon { width: auto; }
.side-nav.collapsed .privacy-badge { justify-content: center; }

.app-main { min-width: 0; min-height: 100vh; }
.top-bar {
  position: sticky; top: 0; z-index: 25;
  min-height: 74px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 10px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(1, 25, 25, .78);
  backdrop-filter: blur(18px);
}
.mobile-brand { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.connection-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: .78rem; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.connection-chip.online span { color: #63e59a; }
.connection-chip.offline span { color: #ffd166; }
.level-badge {
  width: 58px; height: 58px; display: grid; place-content: center;
  border: 1px solid var(--border-strong); border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 107, 56, .9), rgba(1, 32, 28, .95));
  cursor: pointer; box-shadow: inset 0 0 15px rgba(242, 212, 123, .16), 0 0 18px rgba(242,212,123,.08);
}
.level-badge small { font-size: .58rem; color: #e8ddb4; line-height: 1; }
.level-badge strong { font-size: 1.35rem; color: var(--gold); line-height: 1.1; }
.main-content { width: min(1640px, 100%); margin: 0 auto; padding: 18px clamp(14px, 2.6vw, 34px) 44px; }

.garden-view { display: grid; gap: 15px; }
.garden-scene {
  position: relative;
  isolation: isolate;
  min-height: min(790px, calc(100vh - 120px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(255, 222, 125, .52);
  border-radius: 30px;
  background: url("/assets/gardens/garden-dawn.webp") center 44%/cover no-repeat;
  box-shadow: var(--shadow), inset 0 0 0 6px rgba(1, 25, 22, .66), inset 0 0 60px rgba(0,0,0,.36);
}
.simple-mode .garden-scene { background-image: url("/assets/gardens/garden-simple.webp"); }
.scene-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,18,21,.1), rgba(0,19,16,.05) 50%, rgba(0,14,13,.5)); }
.scene-top { display: flex; align-items: flex-start; justify-content: center; gap: 14px; }
.daily-card { min-width: 250px; padding: 13px 24px; text-align: center; border-color: rgba(255, 219, 107, .58); background: rgba(3, 38, 30, .68); }
.daily-card small, .daily-card span { display: block; color: #e6e1cc; }
.daily-card strong { display: block; margin: 2px 0; color: var(--gold); font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; direction: ltr; }
.plan-chip { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 225, 132, .35); border-radius: 13px; background: rgba(3, 37, 32, .62); cursor: pointer; }
.plan-chip span { color: var(--gold); }
.scene-content { flex: 1; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(350px, 1.45fr) minmax(200px, 1fr); align-items: end; gap: 20px; padding: 80px 0 16px; }
.garden-progress-card { align-self: end; max-width: 260px; padding: 16px; background: rgba(2, 40, 32, .71); }
.mini-card-heading { display: flex; justify-content: space-between; gap: 12px; }
.mini-card-heading strong { color: var(--gold); }
.garden-progress-track { height: 8px; overflow: hidden; margin: 11px 0; border-radius: 99px; background: rgba(255,255,255,.12); }
.garden-progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #27da7f, #d9d74c); box-shadow: 0 0 12px rgba(39,218,127,.55); }
.garden-progress-card p { margin: 0; color: #d6dfd7; font-size: .82rem; line-height: 1.7; }
.counter-zone { display: flex; flex-direction: column; align-items: center; justify-self: center; text-align: center; }
.current-dhikr { min-height: 42px; max-width: 600px; margin: 0 0 17px; padding: 8px 22px; color: var(--cream); font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.9; text-shadow: 0 3px 15px rgba(0,0,0,.7); border-radius: 18px; background: rgba(1, 27, 24, .48); backdrop-filter: blur(8px); }
.dhikr-button {
  position: relative;
  width: clamp(190px, 18vw, 244px); aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 9px double #e4bd53;
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(68, 222, 130, .52), transparent 32%),
    radial-gradient(circle at 50% 70%, #075e3f, #033e31 50%, #011f1e 74%);
  box-shadow:
    0 0 0 5px rgba(4, 53, 42, .9),
    0 0 0 7px rgba(255, 223, 123, .6),
    0 24px 65px rgba(0,0,0,.52),
    inset 0 0 40px rgba(0,0,0,.35),
    inset 0 8px 25px rgba(255,255,255,.14);
  transition: transform 120ms ease, filter 120ms ease, box-shadow 180ms ease;
  touch-action: manipulation;
}
.dhikr-button:hover { filter: brightness(1.07); box-shadow: 0 0 0 5px rgba(4,53,42,.9), 0 0 0 7px rgba(255,223,123,.72), 0 0 48px rgba(58,216,128,.3), 0 24px 65px rgba(0,0,0,.52), inset 0 0 40px rgba(0,0,0,.35); }
.dhikr-button:active { transform: scale(.965); }
.dhikr-button.pulse { animation: countPulse 250ms ease; }
.dhikr-button strong { position: relative; z-index: 2; color: var(--gold); font-size: clamp(3.2rem, 6vw, 4.8rem); line-height: 1.1; text-shadow: 0 4px 14px rgba(0,0,0,.45); }
.dhikr-button > span:last-child { position: relative; z-index: 2; color: #f0e7c3; }
.dhikr-button-shine { position: absolute; width: 140%; height: 45%; top: -4%; left: -20%; rotate: -14deg; background: linear-gradient(180deg, rgba(255,255,255,.18), transparent); border-radius: 50%; }
@keyframes countPulse { 45% { transform: scale(.94); } 75% { transform: scale(1.035); } }
.counter-controls { min-width: 300px; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0 11px; }
.counter-controls > button { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: rgba(2, 38, 32, .75); cursor: pointer; color: var(--gold); font-size: 1.35rem; }
.voice-status { min-width: 170px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 10px; border-radius: 999px; color: #dfe8e1; font-size: .78rem; background: rgba(2,30,27,.72); border: 1px solid rgba(255,255,255,.1); }
.voice-status i { width: 7px; height: 7px; border-radius: 50%; background: #a2aaa5; }
.voice-status.active i { background: #58e899; box-shadow: 0 0 0 5px rgba(88,232,153,.12); animation: blink 1s infinite; }
.voice-status.success i { background: #e4d461; }
.voice-status.warning i { background: #f4a261; }
@keyframes blink { 50% { opacity: .35; } }
.voice-button { border-color: rgba(86,230,154,.35); background: rgba(1, 48, 38, .8); }
.voice-button.listening { border-color: rgba(255,132,116,.55); color: #ffd1c9; background: rgba(72,20,20,.56); }
.session-summary { align-self: end; justify-self: end; width: min(100%, 270px); padding: 10px 16px; background: rgba(2, 38, 32, .72); }
.session-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.session-summary > div:last-child { border-bottom: 0; }
.session-summary small { color: #e4e5da; }
.session-summary strong { color: var(--gold); font-size: 1.25rem; direction: ltr; }
.scene-bottom { display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 18px; }
.scene-bottom blockquote { margin: 0; padding: 12px 18px; text-align: center; border: 1px solid rgba(242,212,123,.3); border-radius: 18px; background: rgba(1, 30, 28, .69); backdrop-filter: blur(10px); }
.scene-bottom blockquote strong { display: block; color: var(--cream); font-size: clamp(.95rem, 2vw, 1.35rem); }
.scene-bottom blockquote span { color: #ded9c6; font-size: .75rem; }
.scene-toggle { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(2,35,31,.72); cursor: pointer; text-align: right; }
.scene-toggle > span:first-child { grid-row: 1 / 3; color: var(--gold); font-size: 1.5rem; text-align: center; }
.scene-toggle small { color: #cfd8d1; font-size: .7rem; }
.scene-toggle.active { border-color: rgba(88,232,153,.48); background: rgba(4,75,50,.7); }
.floating-light { position: absolute; z-index: 0; width: 8px; height: 8px; border-radius: 50%; background: #ffe998; box-shadow: 0 0 16px 5px rgba(255,222,120,.42); animation: floatLight 7s ease-in-out infinite alternate; }
.light-one { left: 27%; top: 22%; }
.light-two { right: 18%; top: 41%; animation-delay: -2s; }
.light-three { left: 12%; bottom: 24%; animation-delay: -4s; }
@keyframes floatLight { to { translate: 25px -35px; opacity: .3; } }
.flower-burst { position: absolute; z-index: 5; left: 50%; top: 52%; color: #ffb8c5; font-size: 4rem; text-shadow: 0 0 24px #fff1a7; animation: flowerBurst 300ms ease-out forwards; pointer-events: none; }
@keyframes flowerBurst { from { opacity: 0; scale: .2; translate: -50% 20px; } to { opacity: .95; scale: 1; translate: -50% -80px; } }
.desktop-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { display: flex; align-items: center; gap: 13px; padding: 15px 18px; }
.stat-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: var(--gold); font-size: 1.7rem; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.stat-card div { min-width: 0; display: flex; flex-direction: column; }
.stat-card small { color: #d6ded8; }
.stat-card strong { color: var(--cream); font-size: clamp(1.25rem, 2.4vw, 1.8rem); direction: ltr; text-align: right; }
.stat-card span:not(.stat-icon) { color: var(--muted); font-size: .75rem; }

.content-page { min-height: calc(100vh - 140px); padding: 8px 0 40px; }
.page-heading { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 17px; }
.page-heading h1 { margin: 0; color: var(--gold); font-size: clamp(1.55rem, 3vw, 2.4rem); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(230px, 1fr)); gap: 15px; margin-bottom: 34px; }
.plan-card { width: 100%; min-height: 128px; display: grid; grid-template-columns: 62px 1fr 24px; align-items: center; gap: 12px; padding: 18px; text-align: right; color: inherit; cursor: pointer; transition: transform var(--ease), border-color var(--ease), background var(--ease); }
.plan-card:hover { transform: translateY(-3px); border-color: var(--border-strong); background-color: rgba(8, 70, 53, .72); }
.plan-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.06); font-size: 2rem; }
.plan-card div { display: flex; flex-direction: column; gap: 4px; }
.plan-card strong { color: var(--cream); font-size: 1.08rem; }
.plan-card span:not(.plan-icon) { color: var(--muted); font-size: .82rem; }
.plan-card b { color: var(--gold); font-size: 1.6rem; }
.catalog-list { display: grid; gap: 10px; }
.catalog-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 15px; padding: 13px 17px; }
.catalog-row > div { display: flex; flex-direction: column; }
.catalog-row strong { color: var(--cream); }
.catalog-row span, .catalog-row small { color: var(--muted); font-size: .78rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(250px, 1fr)); gap: 15px; }
.catalog-card { min-height: 285px; display: flex; flex-direction: column; padding: 19px; }
.catalog-card-top { display: flex; justify-content: space-between; align-items: center; }
.category-chip { padding: 5px 10px; color: #dff2df; border: 1px solid rgba(113,226,154,.25); border-radius: 999px; background: rgba(28, 124, 76, .2); font-size: .72rem; }
.favorite-button { width: 39px; height: 39px; border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.035); cursor: pointer; color: var(--gold); font-size: 1.5rem; }
.favorite-button.active { color: #ff91a6; border-color: rgba(255,145,166,.45); background: rgba(145,45,66,.18); }
.catalog-card h2 { flex: 1; display: grid; place-items: center; margin: 15px 0; color: var(--cream); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 2; text-align: center; }
.catalog-meta { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; color: var(--muted); }
.catalog-meta small { color: #c8d0c9; font-size: .7rem; line-height: 1.6; }
.small-primary { width: 100%; min-height: 41px; }
.empty-state { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 25px; }
.empty-state > span { color: var(--gold); font-size: 3rem; }
.empty-state strong { font-size: 1.25rem; color: var(--cream); }
.empty-state p { margin: 0; color: var(--muted); }
.journey-hero { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 26px; padding: 24px; margin-bottom: 15px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(120deg, rgba(6,70,49,.82), rgba(2,33,31,.82)), url("/assets/gardens/garden-night.webp") center/cover; box-shadow: var(--shadow); }
.journey-hero > div:last-child { display: flex; flex-direction: column; }
.journey-hero small { color: #d9dfd6; }
.journey-hero strong { color: var(--gold); font-size: 4rem; line-height: 1.1; }
.journey-hero p { max-width: 500px; margin: 7px 0 0; color: var(--muted); line-height: 1.9; }
.progress-ring { --progress: 0deg; width: 170px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--gold) var(--progress), rgba(255,255,255,.12) 0); box-shadow: 0 15px 40px rgba(0,0,0,.28); }
.progress-ring::before { content: ""; position: absolute; width: 142px; aspect-ratio: 1; border-radius: 50%; background: #073d34; box-shadow: inset 0 0 30px rgba(0,0,0,.28); }
.progress-ring-inner { position: relative; z-index: 1; text-align: center; }
.progress-ring-inner small, .progress-ring-inner span { display: block; color: var(--muted); font-size: .7rem; }
.progress-ring-inner strong { color: var(--cream); font-size: 1.7rem; direction: ltr; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.timeline { display: grid; gap: 10px; }
.timeline-item { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 15px; padding: 15px 18px; }
.timeline-item > i { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(242,212,123,.1); }
.timeline-item > div:not(.timeline-values) { display: flex; flex-direction: column; }
.timeline-item strong { color: var(--cream); }
.timeline-item span { color: var(--muted); font-size: .76rem; }
.timeline-values { display: flex; flex-direction: column; align-items: end; }
.timeline-values b { color: var(--gold); font-size: 1.35rem; }
.timeline-values small { color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(300px, 1fr)); gap: 15px; }
.settings-section { overflow: hidden; padding: 19px; }
.settings-section h2 { margin: 0 0 12px; color: var(--gold); font-size: 1.05rem; }
.setting-row { position: relative; min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.setting-row:last-child { border-bottom: 0; }
.setting-row > div { display: flex; flex-direction: column; }
.setting-row strong { color: var(--cream); font-size: .92rem; }
.setting-row span { color: var(--muted); font-size: .74rem; }
.setting-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 49px; height: 27px; flex: 0 0 auto; position: relative; border-radius: 999px; background: #344a45; border: 1px solid rgba(255,255,255,.1); transition: background var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border-radius: 50%; background: #e7ece9; transition: translate var(--ease), background var(--ease); }
.setting-row input:checked + .switch { background: #178657; }
.setting-row input:checked + .switch::after { translate: -21px 0; background: #fff1aa; }
.range-row { min-height: 78px; display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 20px; }
.range-row > div { display: flex; flex-direction: column; }
.range-row span { color: var(--muted); font-size: .76rem; }
.range-row input { width: 100%; accent-color: var(--gold-strong); }
.settings-text { color: var(--muted); line-height: 1.9; }
.settings-section .button + .button { margin-top: 10px; }
.sadaqah-page { display: grid; place-items: center; }
.sadaqah-card { width: min(820px, 100%); padding: clamp(26px, 6vw, 62px); text-align: center; background: linear-gradient(145deg, rgba(4,59,46,.8), rgba(1,27,27,.88)), url("/assets/gardens/garden-dawn.webp") center/cover; }
.sadaqah-card img { width: 84px; }
.sadaqah-card .basmala { color: var(--cream); font-size: 1.2rem; }
.sadaqah-card h1 { color: var(--gold); font-size: clamp(1.8rem, 4vw, 3rem); }
.sadaqah-card p { color: #eef0e8; line-height: 2.2; }
.sadaqah-card blockquote { margin: 25px 0 0; padding: 20px; color: var(--cream); border: 1px solid var(--border); border-radius: 18px; background: rgba(0,24,22,.5); line-height: 2; }
.loading-card { min-height: 170px; display: grid; place-items: center; color: var(--muted); }
.auth-card { width: min(560px, 100%); margin: 0 auto; padding: 20px; }
.auth-tabs, .admin-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 5px; margin-bottom: 18px; border-radius: 14px; background: rgba(255,255,255,.04); }
.auth-tabs button, .admin-tabs button { min-height: 42px; border: 1px solid transparent; border-radius: 11px; background: transparent; cursor: pointer; }
.auth-tabs button.active, .admin-tabs button.active { color: #142a21; font-weight: 800; background: linear-gradient(135deg, #f8e8a3, #d8ad3d); }
.auth-card form { display: grid; gap: 14px; }
.auth-card label { display: grid; gap: 7px; }
.auth-card label span { color: #e9eadf; font-size: .84rem; }
.auth-card input { min-height: 48px; width: 100%; padding: 8px 12px; color: var(--text); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(1, 25, 25, .72); }
.form-message { padding: 10px 13px; border-radius: 11px; font-size: .82rem; }
.form-message.error { color: #ffd1ca; background: rgba(116,35,32,.35); border: 1px solid rgba(255,138,124,.3); }
.form-message.success { color: #d9ffe9; background: rgba(25,116,72,.3); border: 1px solid rgba(89,220,145,.3); }
.account-card { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px; padding: 20px; }
.account-avatar { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: #13291f; font-size: 1.7rem; font-weight: 800; background: linear-gradient(145deg, #fff1a4, #d3a631); }
.account-card > div:nth-child(2) { display: flex; flex-direction: column; }
.account-card strong { color: var(--cream); }
.account-card span, .account-card small { color: var(--muted); }
.admin-user { color: var(--muted); }
.admin-tabs { width: min(430px, 100%); }
.admin-table-wrap { overflow: hidden; }
.admin-list { display: grid; }
.admin-row { min-height: 76px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 15px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-row:last-child { border-bottom: 0; }
.admin-row > div:first-child { display: flex; flex-direction: column; }
.admin-row strong { color: var(--cream); }
.admin-row span { color: var(--muted); font-size: .76rem; }
.status-badge { padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); }
.status-approved { color: #95f0bd !important; background: rgba(35,128,79,.18); }
.status-draft, .status-review { color: #ffe095 !important; background: rgba(126,94,24,.18); }
.status-suspended { color: #ffaaa0 !important; background: rgba(119,42,39,.18); }
.row-actions { display: flex; gap: 8px; }
.audit-row code { direction: ltr; color: var(--gold); font-family: ui-monospace, Consolas, monospace; font-size: .72rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 15px; }
.pagination button { min-height: 38px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.modal-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,12,12,.72); backdrop-filter: blur(9px); }
.completion-modal { width: min(520px, 100%); padding: 30px; text-align: center; }
.completion-flower { color: #ffb3c2; font-size: 4rem; text-shadow: 0 0 25px rgba(255,232,149,.55); }
.completion-modal h2 { margin: 6px 0; color: var(--gold); font-size: 1.65rem; }
.completion-modal p { color: var(--muted); line-height: 1.9; }
.modal-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.mobile-nav { display: none; }

.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
.high-contrast { --text: #fff; --muted: #f3f3f3; --border: rgba(255, 231, 137, .72); --panel: rgba(0, 25, 22, .93); }
.high-contrast .garden-scene::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(0,0,0,.16); }

@media (max-width: 1220px) {
  .app-shell { grid-template-columns: 88px minmax(0, 1fr); }
  .side-nav .brand-copy, .side-nav .nav-label { display: none; }
  .side-nav .side-brand { padding-inline: 4px; }
  .side-nav .nav-item, .side-nav .privacy-badge { justify-content: center; }
  .scene-content { grid-template-columns: 220px 1fr 220px; gap: 12px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
}

@media (max-width: 900px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .app-shell, .app-shell.nav-is-collapsed { display: block; }
  .side-nav { display: none; }
  .top-bar { min-height: 66px; justify-content: space-between; padding: 8px 14px; }
  .mobile-brand { display: block; }
  .mobile-brand .brand-copy strong { font-size: .9rem; }
  .top-actions .connection-chip, .top-actions .compact-button { display: none; }
  .level-badge { width: 50px; height: 50px; }
  .main-content { padding: 10px 10px 26px; }
  .garden-scene { min-height: calc(100svh - 154px); padding: 12px; border-radius: 24px; background-position: 54% 42%; }
  .scene-top { justify-content: space-between; }
  .daily-card { min-width: 170px; padding: 10px 15px; }
  .daily-card strong { font-size: 1.9rem; }
  .plan-chip { font-size: .78rem; }
  .scene-content { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 40px 0 8px; }
  .garden-progress-card { display: none; }
  .counter-zone { order: 1; width: 100%; }
  .session-summary { order: 0; width: min(100%, 520px); display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px 9px; }
  .session-summary > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px; border-bottom: 0; border-left: 1px solid rgba(255,255,255,.08); }
  .session-summary > div:last-child { border-left: 0; }
  .session-summary small { font-size: .65rem; }
  .session-summary strong { font-size: 1.05rem; }
  .current-dhikr { margin-bottom: 10px; max-height: 92px; overflow-y: auto; font-size: .98rem; }
  .dhikr-button { width: min(46vw, 210px); }
  .counter-controls { min-width: 280px; margin: 13px 0 8px; }
  .voice-button { min-height: 42px; }
  .scene-bottom { grid-template-columns: 54px 1fr 54px; gap: 8px; }
  .scene-toggle { width: 54px; min-height: 50px; display: grid; place-items: center; padding: 7px; }
  .scene-toggle > span:first-child { grid-row: auto; }
  .scene-toggle > span:nth-child(2), .scene-toggle small { display: none; }
  .scene-bottom blockquote { padding: 9px 11px; }
  .scene-bottom blockquote strong { font-size: .82rem; }
  .scene-bottom blockquote span { font-size: .62rem; }
  .desktop-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 11px; }
  .stat-icon { width: 40px; height: 40px; border-radius: 13px; }
  .mobile-nav {
    position: fixed; z-index: 60; bottom: 0; left: 0; right: 0;
    min-height: calc(68px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: start;
    padding: 7px 5px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(242,212,123,.25);
    background: rgba(1, 28, 27, .94); backdrop-filter: blur(18px);
    box-shadow: 0 -10px 40px rgba(0,0,0,.3);
  }
  .mobile-nav button { min-height: 55px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; border-radius: 13px; background: transparent; cursor: pointer; color: #bfcac3; }
  .mobile-nav button > span { color: #d9dcd2; font-size: 1.4rem; }
  .mobile-nav button small { font-size: .63rem; }
  .mobile-nav button.active { color: #fff9da; background: linear-gradient(180deg, rgba(38,143,83,.55), rgba(11,69,53,.45)); }
  .mobile-nav button.active > span { color: #fff1a6; }
  .content-page { min-height: auto; }
  .settings-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-hero { grid-template-columns: 135px 1fr; gap: 18px; padding: 18px; }
  .progress-ring { width: 125px; }
  .progress-ring::before { width: 104px; }
  .journey-hero strong { font-size: 3rem; }
  .account-card { grid-template-columns: 60px 1fr; }
  .account-card .button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand-compact .brand-logo { width: 39px; height: 39px; }
  .mobile-brand .brand-copy strong { font-size: .78rem; }
  .main-content { padding-inline: 7px; }
  .garden-scene { border-radius: 20px; min-height: calc(100svh - 146px); }
  .plan-chip { width: 42px; overflow: hidden; padding: 7px; justify-content: center; }
  .plan-chip > span { flex: 0 0 auto; }
  .plan-chip { font-size: 0; }
  .plan-chip > span { font-size: 1.1rem; }
  .daily-card { min-width: 154px; }
  .current-dhikr { line-height: 1.75; padding: 7px 12px; }
  .dhikr-button { width: min(49vw, 194px); border-width: 7px; }
  .dhikr-button strong { font-size: 3.4rem; }
  .voice-status { min-width: 150px; }
  .voice-button { width: min(100%, 260px); }
  .desktop-stats { display: none; }
  .scene-bottom blockquote strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .plan-grid, .catalog-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 105px; }
  .catalog-row { grid-template-columns: 1fr auto; }
  .catalog-row > small { display: none; }
  .page-heading { min-height: 44px; margin-bottom: 10px; }
  .page-heading h1 { font-size: 1.45rem; }
  .journey-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .journey-hero p { margin-inline: auto; }
  .stats-grid { gap: 8px; }
  .stats-grid .stat-card { flex-direction: column; text-align: center; }
  .stats-grid .stat-card strong { text-align: center; }
  .timeline-item { grid-template-columns: 10px 1fr; }
  .timeline-values { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .range-row { grid-template-columns: 1fr; gap: 10px; }
  .admin-row { grid-template-columns: 1fr auto; }
  .row-actions { grid-column: 1 / -1; }
  .audit-row code { grid-column: 1 / -1; }
  .modal-actions { flex-direction: column; }
  .modal-actions .button { width: 100%; }
}

/* ========================================================================== */
/* الإصدار 2.0 — المشهد السينمائي والعداد الصوتي الدقيق                      */
/* ========================================================================== */
:root {
  --v2-gold: #f7d878;
  --v2-gold-deep: #b98121;
  --v2-green: #0dc978;
  --v2-emerald: #075e43;
  --v2-night: #001817;
}

.garden-view-v2 { gap: 18px; }
.garden-scene-v2 {
  min-height: min(830px, calc(100vh - 112px));
  padding: clamp(15px, 2vw, 26px);
  border: 1px solid rgba(255, 226, 139, .72);
  border-radius: 34px;
  background-image: url("/assets/gardens/garden-cinematic.webp");
  background-position: center 52%;
  box-shadow:
    0 34px 100px rgba(0,0,0,.52),
    0 0 0 1px rgba(255,221,120,.14),
    inset 0 0 0 7px rgba(0,25,22,.58),
    inset 0 -90px 120px rgba(0,13,12,.58),
    inset 0 30px 70px rgba(255,185,76,.08);
}
.garden-scene-v2::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7px;
  border-radius: 26px;
  pointer-events: none;
  border: 1px solid rgba(255,238,177,.22);
  box-shadow: inset 0 0 60px rgba(0,0,0,.3);
}
.garden-scene-v2 .scene-overlay {
  background:
    linear-gradient(180deg, rgba(0,15,18,.42) 0%, rgba(0,20,17,.05) 33%, rgba(0,21,17,.18) 59%, rgba(0,15,14,.82) 100%),
    radial-gradient(circle at 50% 45%, transparent 0 24%, rgba(0,13,13,.16) 60%, rgba(0,8,8,.42) 100%);
}
.scene-vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,13,13,.62), transparent 24%, transparent 76%, rgba(0,13,13,.62)),
    radial-gradient(ellipse at 50% 75%, transparent 0 38%, rgba(0,10,10,.38) 88%);
}
.golden-rays {
  position: absolute;
  z-index: 0;
  inset: -35% 15% 30%;
  opacity: .34;
  pointer-events: none;
  background: conic-gradient(from 190deg at 50% 30%, transparent 0 38deg, rgba(255,216,115,.22) 40deg 46deg, transparent 49deg 66deg, rgba(255,235,163,.18) 68deg 75deg, transparent 78deg 360deg);
  filter: blur(5px);
  animation: rayBreath 7s ease-in-out infinite alternate;
}
@keyframes rayBreath { to { opacity: .52; transform: scale(1.035); } }

.scene-top-v2 {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(190px, 235px) 1fr minmax(165px, 205px);
  align-items: start;
  gap: 16px;
}
.garden-heading {
  align-self: start;
  justify-self: center;
  text-align: center;
  padding: 2px 22px 8px;
  text-shadow: 0 5px 24px rgba(0,0,0,.85);
}
.garden-heading-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid rgba(255,225,128,.42);
  border-radius: 999px;
  color: #fff1b0;
  background: rgba(0,36,29,.6);
  font-size: .72rem;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.garden-heading h1 {
  margin: 8px 0 2px;
  color: #fff3bd;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.garden-heading p { margin: 0; color: #f0e9d3; font-size: clamp(.72rem, 1.25vw, .95rem); }
.daily-card-v2 {
  min-width: 0;
  padding: 13px 18px;
  background: linear-gradient(150deg, rgba(1,45,36,.9), rgba(2,28,26,.7));
  box-shadow: 0 14px 38px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.1), 0 0 26px rgba(236,193,72,.08);
}
.daily-card-v2 strong { font-size: clamp(1.9rem, 3vw, 2.45rem); text-shadow: 0 0 18px rgba(255,217,106,.2); }
.daily-card-v2 span { font-size: .76rem; }
.plan-chip-v2 {
  min-height: 70px;
  display: grid;
  grid-template-columns: 35px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 9px;
  padding: 10px 14px;
  text-align: right;
  border-color: rgba(255,225,129,.54);
  background: linear-gradient(145deg, rgba(5,60,45,.88), rgba(1,31,29,.72));
  box-shadow: 0 14px 38px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.1);
}
.plan-chip-v2 > span { grid-row: 1 / 3; align-self: center; font-size: 1.55rem; }
.plan-chip-v2 b { color: #fff2bb; font-size: .85rem; }
.plan-chip-v2 small { color: #d8dfd5; font-size: .65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scene-content-v2 {
  position: relative;
  z-index: 3;
  flex: 1;
  grid-template-columns: minmax(205px, .9fr) minmax(390px, 1.45fr) minmax(210px, .9fr);
  align-items: end;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(48px, 8vh, 100px) 0 18px;
}
.garden-side-column { align-self: end; }
.garden-progress-card-v2,
.session-summary-v2 {
  border-color: rgba(255,224,131,.42);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), transparent 36%),
    linear-gradient(180deg, rgba(1,46,37,.88), rgba(1,27,26,.78));
  box-shadow: 0 20px 55px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.1);
}
.garden-progress-card-v2 { position: relative; max-width: 280px; padding: 20px; overflow: visible; }
.level-medallion {
  position: absolute;
  left: 16px;
  top: -35px;
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border: 4px double #f0ca64;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #477c33, #123d2d 55%, #051f1d 100%);
  box-shadow: 0 8px 26px rgba(0,0,0,.42), 0 0 0 4px rgba(0,34,27,.8), 0 0 25px rgba(255,214,99,.16);
}
.level-medallion small { color: #f5e8b8; font-size: .54rem; line-height: 1; }
.level-medallion strong { color: #ffe990; font-size: 1.65rem; line-height: 1.05; }
.garden-progress-card-v2 .mini-card-heading { padding-left: 82px; }
.garden-progress-card-v2 .garden-progress-track { height: 10px; border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 2px 6px rgba(0,0,0,.3); }
.garden-progress-card-v2 .garden-progress-track i { background: linear-gradient(90deg, #1feb85, #c5e25d 70%, #ffe27d); box-shadow: 0 0 20px rgba(42,231,130,.48); }
.garden-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.garden-shortcuts button {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255,224,128,.23);
  border-radius: 14px;
  color: #f1ead1;
  background: rgba(255,255,255,.045);
  cursor: pointer;
}
.garden-shortcuts button:hover { background: rgba(21,117,72,.35); border-color: rgba(255,224,128,.45); }
.garden-shortcuts button span { color: var(--v2-gold); font-size: 1.25rem; }
.garden-shortcuts button small { font-size: .72rem; }

.counter-zone-v2 { min-width: 0; }
.dhikr-title-card {
  width: min(640px, 100%);
  margin-bottom: 14px;
  padding: 10px 22px;
  border: 1px solid rgba(255,226,139,.35);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(0,35,30,.82), rgba(0,24,24,.58));
  box-shadow: 0 15px 42px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.dhikr-title-card > small { color: #bce7c7; font-size: .68rem; }
.dhikr-title-card .current-dhikr { min-height: 0; margin: 2px 0 1px; padding: 0; background: transparent; font-size: clamp(1rem, 1.75vw, 1.35rem); }
.dhikr-title-card > span { display: block; color: #cfcab8; font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.counter-orbit {
  position: relative;
  width: clamp(218px, 20vw, 274px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.counter-orbit::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: conic-gradient(from -90deg, #f8dd7d 0 var(--count-progress), rgba(255,255,255,.14) var(--count-progress) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  filter: drop-shadow(0 0 10px rgba(255,215,100,.34));
}
.counter-orbit::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(255,222,125,.28);
  border-radius: inherit;
  box-shadow: 0 0 45px rgba(16,220,124,.12);
  animation: orbitGlow 3.6s ease-in-out infinite alternate;
}
@keyframes orbitGlow { to { box-shadow: 0 0 70px rgba(23,231,135,.24); transform: scale(1.018); } }
.dhikr-button-v2 {
  width: calc(100% - 22px);
  border-width: 8px;
  background:
    radial-gradient(circle at 43% 24%, rgba(153,255,198,.43), transparent 23%),
    radial-gradient(circle at 50% 72%, #098151, #04513e 48%, #012a28 74%);
  box-shadow:
    0 0 0 4px rgba(1,38,32,.92),
    0 0 0 7px rgba(255,222,119,.67),
    0 28px 80px rgba(0,0,0,.58),
    0 0 54px rgba(11,219,124,.2),
    inset 0 0 55px rgba(0,0,0,.38),
    inset 0 12px 30px rgba(255,255,255,.14);
}
.dhikr-button-v2 small { position: relative; z-index: 2; color: #dff5df; font-size: .73rem; }
.dhikr-button-v2 strong { font-size: clamp(3.45rem, 6vw, 5.1rem); color: #ffe58f; text-shadow: 0 4px 17px rgba(0,0,0,.6), 0 0 22px rgba(255,220,109,.16); }
.dhikr-button-v2 > span:last-child { font-size: .84rem; }
.orbit-flower { position: absolute; z-index: 4; color: #ffb6c7; font-style: normal; text-shadow: 0 0 14px #fff4a9; pointer-events: none; }
.orbit-flower-a { right: -3px; bottom: 18%; font-size: 2.1rem; transform: rotate(-12deg); }
.orbit-flower-b { left: 4px; top: 15%; font-size: 1.45rem; color: #fff0b0; }
.counter-controls-v2 { margin: 17px 0 9px; }
.counter-controls-v2 > button { width: 42px; height: 42px; border-color: rgba(255,225,130,.32); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.voice-button-v2 { min-width: 245px; border-color: rgba(70,235,153,.5); background: linear-gradient(145deg, rgba(1,92,58,.88), rgba(1,51,42,.8)); box-shadow: 0 9px 26px rgba(0,0,0,.24); }
.voice-button-v2.listening { border-color: rgba(255,131,116,.65); background: linear-gradient(145deg, rgba(111,25,25,.86), rgba(57,14,19,.8)); }
.voice-live-panel {
  width: min(610px, 100%);
  min-height: 58px;
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 8px 14px;
  text-align: right;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(0,26,25,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.voice-live-panel.active { border-color: rgba(68,234,151,.35); background: rgba(1,45,36,.78); }
.voice-live-panel.final { border-color: rgba(255,222,126,.38); }
.voice-live-panel > div { min-width: 0; display: flex; flex-direction: column; }
.voice-live-panel small { color: #a6c7b5; font-size: .62rem; }
.voice-live-panel strong { color: #f0eee3; font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.voice-live-panel > b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #07291f; background: #e6d164; }
.voice-wave { height: 30px; display: flex; align-items: center; justify-content: center; gap: 3px; direction: ltr; }
.voice-wave i { width: 3px; height: 7px; border-radius: 5px; background: #64dc99; }
.voice-live-panel.active .voice-wave i { animation: voiceWave .8s ease-in-out infinite alternate; }
.voice-live-panel.active .voice-wave i:nth-child(2) { animation-delay: -.15s; }
.voice-live-panel.active .voice-wave i:nth-child(3) { animation-delay: -.3s; }
.voice-live-panel.active .voice-wave i:nth-child(4) { animation-delay: -.45s; }
.voice-live-panel.active .voice-wave i:nth-child(5) { animation-delay: -.6s; }
@keyframes voiceWave { to { height: 27px; background: #f1d56d; } }

.session-summary-v2 { width: min(100%, 285px); padding: 8px 17px 14px; }
.session-summary-v2 > div:not(.session-message) {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.session-summary-v2 .summary-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.055); font-size: 1.1rem; }
.session-summary-v2 small { text-align: right; }
.session-message { margin-top: 8px; padding: 12px; border: 1px solid rgba(255,224,128,.18); border-radius: 14px; background: rgba(255,255,255,.035); }
.session-message b, .session-message span { display: block; }
.session-message b { color: #ffe693; font-size: .83rem; }
.session-message span { margin-top: 3px; color: #d4dbd3; font-size: .67rem; line-height: 1.6; }

.scene-bottom-v2 { position: relative; z-index: 3; grid-template-columns: 165px 1fr 165px; }
.scene-bottom-v2 blockquote { border-color: rgba(255,225,132,.43); background: linear-gradient(145deg, rgba(0,48,38,.82), rgba(0,27,26,.72)); box-shadow: 0 14px 38px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.08); }
.scene-bottom-v2 blockquote strong { color: #fff0b5; text-shadow: 0 3px 15px rgba(0,0,0,.7); }
.scene-bottom-v2 .scene-toggle { background: linear-gradient(145deg, rgba(2,54,43,.84), rgba(0,30,28,.74)); box-shadow: 0 12px 30px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.07); }
.desktop-stats-v2 { gap: 14px; }
.desktop-stats-v2 .stat-card { border-color: rgba(255,224,130,.22); background: linear-gradient(145deg, rgba(8,66,50,.72), rgba(1,32,30,.84)); }
.desktop-stats-v2 .stat-icon { background: radial-gradient(circle, rgba(72,143,70,.35), rgba(255,255,255,.04)); border-color: rgba(255,224,130,.2); }

.garden-scene-v2 .light-four { left: 68%; top: 19%; animation-delay: -5.3s; }
.garden-scene-v2 .floating-light { width: 6px; height: 6px; z-index: 1; }
.leaf { position: absolute; z-index: 2; color: #b9e65a; opacity: .66; font-size: 2rem; text-shadow: 0 0 12px rgba(191,235,83,.34); pointer-events: none; animation: leafFall 10s linear infinite; }
.leaf-a { right: 8%; top: -8%; animation-delay: -1s; }
.leaf-b { right: 38%; top: -10%; animation-delay: -5s; font-size: 1.4rem; }
.leaf-c { left: 12%; top: -11%; animation-delay: -7.4s; font-size: 1.65rem; }
@keyframes leafFall {
  0% { translate: 0 -20px; rotate: 0deg; opacity: 0; }
  12% { opacity: .75; }
  100% { translate: 70px 900px; rotate: 440deg; opacity: 0; }
}
.garden-flourishing .golden-rays { opacity: .52; }
.garden-flourishing .garden-progress-track i { filter: saturate(1.3); }
.garden-growing .orbit-flower-a { animation: flowerSway 2.8s ease-in-out infinite alternate; }
@keyframes flowerSway { to { transform: rotate(12deg) translateY(-4px); } }

@media (max-width: 1220px) {
  .scene-top-v2 { grid-template-columns: 200px 1fr 175px; }
  .scene-content-v2 { grid-template-columns: 210px minmax(350px, 1.3fr) 210px; }
  .garden-heading p { display: none; }
  .garden-progress-card-v2 { padding: 17px; }
  .session-summary-v2 { padding-inline: 14px; }
}

@media (max-width: 900px) {
  .garden-scene-v2 {
    min-height: calc(100svh - 146px);
    padding: 10px;
    border-radius: 27px;
    background-position: 58% center;
    box-shadow: 0 24px 65px rgba(0,0,0,.48), inset 0 0 0 5px rgba(0,25,22,.58), inset 0 -80px 110px rgba(0,13,12,.68);
  }
  .garden-scene-v2::before { inset: 5px; border-radius: 21px; }
  .scene-top-v2 { grid-template-columns: 1fr auto; gap: 8px; }
  .garden-heading { grid-column: 1 / -1; grid-row: 1; padding: 0 10px 2px; }
  .garden-heading-kicker, .garden-heading p { display: none; }
  .garden-heading h1 { margin: 0; font-size: 1.18rem; }
  .daily-card-v2 { grid-column: 1; grid-row: 2; width: 168px; padding: 8px 12px; justify-self: start; }
  .daily-card-v2 small, .daily-card-v2 span { font-size: .62rem; }
  .daily-card-v2 strong { font-size: 1.75rem; }
  .plan-chip-v2 { grid-column: 2; grid-row: 2; width: 48px; min-height: 48px; display: grid; place-items: center; padding: 7px; }
  .plan-chip-v2 > span { grid-row: auto; font-size: 1.25rem; }
  .plan-chip-v2 b, .plan-chip-v2 small { display: none; }
  .scene-content-v2 { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding: 38px 0 7px; }
  .garden-side-progress { display: none; }
  .garden-side-summary { order: 0; width: min(100%, 540px); }
  .counter-zone-v2 { order: 1; width: 100%; }
  .session-summary-v2 { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 8px; }
  .session-summary-v2 > div:not(.session-message) { grid-template-columns: 1fr; justify-items: center; gap: 2px; padding: 4px; border-bottom: 0; border-left: 1px solid rgba(255,255,255,.08); }
  .session-summary-v2 > div:nth-child(3) { border-left: 0; }
  .session-summary-v2 .summary-icon, .session-message { display: none; }
  .session-summary-v2 small { font-size: .58rem; }
  .session-summary-v2 strong { font-size: .95rem; }
  .dhikr-title-card { margin-bottom: 8px; padding: 6px 12px; border-radius: 14px; }
  .dhikr-title-card > small, .dhikr-title-card > span { display: none; }
  .dhikr-title-card .current-dhikr { max-height: 70px; margin: 0; font-size: .9rem; line-height: 1.7; overflow-y: auto; }
  .counter-orbit { width: min(49vw, 205px); }
  .dhikr-button-v2 strong { font-size: 3.3rem; }
  .dhikr-button-v2 small, .dhikr-button-v2 > span:last-child { font-size: .68rem; }
  .counter-controls-v2 { margin: 10px 0 6px; }
  .voice-button-v2 { min-width: 220px; min-height: 40px; font-size: .78rem; }
  .voice-live-panel { min-height: 45px; grid-template-columns: 42px 1fr auto; margin-top: 6px; padding: 5px 10px; }
  .voice-live-panel strong { font-size: .67rem; }
  .voice-live-panel small { font-size: .55rem; }
  .voice-wave { height: 24px; }
  .scene-bottom-v2 { grid-template-columns: 48px 1fr 48px; gap: 6px; }
  .scene-bottom-v2 .scene-toggle { width: 48px; min-height: 45px; padding: 5px; }
  .scene-bottom-v2 blockquote { padding: 7px 9px; border-radius: 13px; }
  .scene-bottom-v2 blockquote strong { font-size: .75rem; }
  .scene-bottom-v2 blockquote span { font-size: .54rem; }
  .leaf { display: none; }
}

@media (max-width: 620px) {
  .garden-scene-v2 { background-position: 61% center; min-height: calc(100svh - 139px); border-radius: 22px; }
  .garden-heading h1 { font-size: 1rem; }
  .daily-card-v2 { width: 154px; }
  .daily-card-v2 strong { font-size: 1.55rem; }
  .scene-content-v2 { padding-top: 23px; }
  .counter-orbit { width: min(50vw, 190px); }
  .dhikr-button-v2 { border-width: 6px; }
  .dhikr-button-v2 strong { font-size: 3rem; }
  .orbit-flower-a { font-size: 1.65rem; }
  .counter-controls-v2 > button { width: 37px; height: 37px; }
  .voice-status { min-width: 142px; font-size: .68rem; }
  .voice-live-panel { width: min(100%, 360px); }
  .scene-bottom-v2 blockquote strong { max-width: 220px; margin: auto; }
}
