/* jan-55: Ритуалы — раздел практик Сознание. */
.rituals-heading { display: flex; align-items: center; gap: 12px; padding: 18px 2px 6px; flex-wrap: wrap; }
.rituals-heading h1 { font-size: 22px; margin: 0; }
.rituals-heading p { margin: 0; color: var(--text-muted, #9aa4b2); font-size: 13px; flex-basis: 100%; }
.rituals-lotus { display: inline-flex; place-items: center; }
.rituals-list { display: grid; gap: 10px; padding-top: 8px; }
.rituals-item-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.rituals-arrow svg { width: 18px; height: 18px; stroke: var(--text-muted, #9aa4b2); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* jan-55 visual spec: deep blue-violet gradient, thin gold border with a
   soft glow, serif title, corner lotus, thin gold base lines. */
.rituals-sutra-card { position: relative; display: grid; gap: 10px; margin-top: 14px; padding: 18px 16px 16px; border: 1px solid rgba(212, 175, 55, 0.55); border-radius: 16px; background: linear-gradient(155deg, #232a54 0%, #32255e 48%, #1d1740 100%); box-shadow: 0 0 20px rgba(212, 175, 55, 0.16), inset 0 0 24px rgba(38, 26, 82, 0.35); overflow: hidden; }
.rituals-sutra-card h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; letter-spacing: .01em; color: #f0e6c8; }
.rituals-sutra-quote { margin: 0; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; color: #e8e6f2; }
.rituals-sutra-source { margin: 0; font-size: 12.5px; color: rgba(232, 230, 242, 0.62); }
.rituals-sutra-ornament { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.rituals-sutra-ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(212,175,55,0), rgba(212,175,55,0.55)); }
.rituals-sutra-ornament span:last-child { background: linear-gradient(270deg, rgba(212,175,55,0), rgba(212,175,55,0.55)); }
.rituals-sutra-ornament i { width: 6px; height: 6px; flex: 0 0 6px; transform: rotate(45deg); background: rgba(212, 175, 55, 0.75); }
.rituals-sutra-quote { margin: 0; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; }
.rituals-sutra-source { margin: 0; font-size: 12.5px; color: var(--text-muted, #9aa4b2); }
.rituals-sutra-source:empty { display: none; }
.rituals-description-link { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid rgba(212, 175, 55, 0.55); border-radius: 14px; background: linear-gradient(180deg, #1a1e2b 0%, #10131c 100%); box-shadow: 0 0 14px rgba(212, 175, 55, 0.12); text-decoration: none; color: inherit; min-height: 64px; }
.rituals-description-link .rituals-description-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; background: rgba(212, 175, 55, 0.16); border: 1px solid rgba(212, 175, 55, 0.45); color: #d4af37; box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.18); }
.rituals-description-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rituals-description-divider { width: 1px; height: 26px; flex: 0 0 1px; margin-left: auto; background: linear-gradient(180deg, rgba(212,175,55,0), rgba(212,175,55,0.45), rgba(212,175,55,0)); }
.rituals-description-link .rituals-arrow { color: #d4af37; }
.rituals-audio-heading h2 { font-size: 16px; white-space: nowrap; }
.rituals-audio { margin-top: 12px; }
.rituals-page .surya-calendar { margin-top: 14px; }

/* jan-55 fix: progress starts empty (the waveform default was 100%). */
.rituals-audio { --audio-progress: 0%; }
.rituals-description-icon { align-self: center; }
.rituals-description-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.rituals-description-link .rituals-arrow { align-self: center; display: grid; place-items: center; color: #d4af37; }
.rituals-description-link .rituals-arrow svg { width: 18px; height: 18px; stroke-width: 1.8; }
.rituals-description-divider { align-self: center; }

/* jan-55: the list cards are pure neuro-* classes; only the mark svg sizing
   and the list gap live here. */
.rituals-list { display: grid; gap: 12px; }
.neuro-mark.rituals-mark { display: grid; place-items: center; }
.rituals-mark svg, .neuro-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(232,187,104,.35)); }

/* jan-55: Сутра access dialog (Jan's reference: neon navy card, gold accents). */
.rituals-access-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(3,7,15,.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rituals-access-card { position: relative; width: min(342px, 100%); padding: 24px 20px 18px; border-radius: 22px; background: linear-gradient(180deg, #0b1a31 0%, #081120 100%); border: 1px solid rgba(96,190,255,.5); box-shadow: 0 0 26px rgba(70,160,255,.28), inset 0 0 18px rgba(70,160,255,.07); text-align: center; overflow: hidden; }
.rituals-access-lock { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; border: 1px solid rgba(96,190,255,.55); box-shadow: 0 0 16px rgba(80,180,255,.35); color: #7cc4ff; }
.rituals-access-lock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rituals-access-card h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: #fff; letter-spacing: .2px; }
.rituals-access-card > p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #91a4b8; }
.rituals-access-field { position: relative; display: block; margin: 0 0 12px; }
.rituals-access-field input { width: 100%; height: 46px; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(96,190,255,.35); background: rgba(255,255,255,.06); color: #fff; font-size: 15px; padding: 0 44px; outline: none; }
.rituals-access-field input:focus { border-color: rgba(96,190,255,.7); box-shadow: 0 0 0 3px rgba(80,170,255,.16); }
.rituals-access-field input::placeholder { color: #5c7290; }
.rituals-access-field-lock { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7cc4ff; pointer-events: none; }
.rituals-access-field-lock svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rituals-access-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; padding: 0; color: #7cc4ff; cursor: pointer; }
.rituals-access-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rituals-access-eye .rituals-eye-closed { display: none; }
.rituals-access-eye:focus-visible { outline: 1px solid rgba(96,190,255,.6); border-radius: 8px; }
.rituals-access-error { min-height: 18px; margin: -4px 0 8px; font-size: 12.5px; color: #ff8d8d; }
.rituals-access-submit { width: 100%; height: 46px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #2f8fff, #1e6fe8); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 18px rgba(47,143,255,.35); }
.rituals-access-submit:active { transform: scale(.99); }
.rituals-access-submit:disabled { opacity: .65; }
.rituals-access-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #5c7290; font-size: 11px; letter-spacing: 1.5px; }
.rituals-access-or::before, .rituals-access-or::after { content: ''; flex: 1; height: 1px; background: rgba(92,114,144,.4); }
.rituals-access-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; box-sizing: border-box; border-radius: 12px; border: 1px solid #d4af37; color: #ffd58b; font-size: 14.5px; text-decoration: none; background: none; }
.rituals-access-more::after { content: ''; width: 13px; height: 13px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M9 7h8v8'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M9 7h8v8'/></svg>") center / contain no-repeat; }
.rituals-access-waves { display: block; margin: 16px -20px -18px; }
.rituals-access-waves svg { display: block; width: 100%; height: 40px; }
.rituals-access-waves path { fill: none; stroke: #d4af37; stroke-width: 1.4; stroke-linecap: round; }
.rituals-access-waves path:nth-child(1) { opacity: .32; }
.rituals-access-waves path:nth-child(2) { opacity: .18; }

.rituals-access-text a { color: #7cc4ff; text-decoration: underline; text-underline-offset: 2px; }
.rituals-access-text a:active { opacity: .8; }

.rituals-access-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(147,164,184,.35); background: rgba(255,255,255,.05); color: #91a4b8; padding: 0; cursor: pointer; }
.rituals-access-close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rituals-access-close:active { transform: scale(.94); }
.rituals-access-close:focus-visible { outline: 1px solid rgba(96,190,255,.6); }

/* jan-55: Бхаджан мандала — образы дней. */
.rituals-bhajan-image { border: 1px solid #233343; border-radius: 18px; overflow: hidden; background: #071b29; }
.rituals-bhajan-image img { display: block; width: 100%; height: auto; }
.rituals-bhajan-mark { display: grid; place-items: center; }
.rituals-bhajan-mark img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(232,187,104,.45); filter: drop-shadow(0 0 8px rgba(232,187,104,.25)); }
/* jan-55: дополнительные аудио-блоки дня (Махимна, Рудрам). */
.rituals-audio-secondary { margin-top: 14px; }
/* jan-55 rev2: оверлей загрузки аудио — вращающийся ОМ. */
.rituals-audio { position: relative; }
.rituals-audio-loading { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 10px; z-index: 5; background: rgba(7, 27, 41, .72); border-radius: inherit; backdrop-filter: blur(2px); }
.rituals-audio-loading.is-visible { display: flex; }
.rituals-om-pulse { width: 64px; height: 64px; display: inline-block; animation: rituals-om-pulse 1.6s ease-in-out infinite; transform-origin: center; filter: drop-shadow(0 0 10px rgba(201, 163, 92, .35)); }
@keyframes rituals-om-pulse { 0%, 100% { transform: scale(.94); opacity: .82; } 50% { transform: scale(1.1); opacity: 1; } }
.rituals-audio-loading-text { font-size: 12px; letter-spacing: .08em; color: #9fb0bf; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .rituals-om-pulse { animation: none; } }
