/**
 * Mantra Counter & Sadhana PWA Styles (M11)
 */
:root {
    --color-saffron: #e07020;
    --color-maroon: #8b1e0f;
    --color-gold: #c68a4c;
    --color-cream: #faf5ee;
}

.mantra-counter-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}

.mantra-stage-wrapper {
    max-width: 680px;
    margin: 0 auto;
    box-sizing: border-box;
}

.mala-wrapper {
    background: radial-gradient(circle at center, #fffbf5 0%, #faf3e8 100%);
    border-radius: 20px;
    margin: 10px 0;
}

.mala-visual-container {
    width: 100%;
    max-width: 460px;
    height: 460px;
    margin: 10px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 500px) {
    .mala-visual-container {
        max-width: 360px;
        height: 360px;
    }
}

.mala-svg-element {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(180, 80, 0, 0.08));
}

/* 3D Realistic Beads */
.mala-bead {
    cursor: pointer;
    transition: r 0.15s ease-out, filter 0.15s ease-out;
}

.mala-bead:hover {
    r: 9px;
    filter: url(#active-glow);
}

.mala-bead.active-bead {
    r: 10.5px !important;
    filter: url(#active-glow) !important;
    animation: beadPulse 1.2s infinite alternate ease-in-out;
}

@keyframes beadPulse {
    0% { r: 9px; }
    100% { r: 11px; }
}

/* Milestone Numbers */
.mala-milestone-text {
    font-size: 11px;
    font-weight: 800;
    font-family: system-ui, -apple-system, sans-serif;
    fill: #9a4914;
    user-select: none;
    letter-spacing: -0.2px;
}

.mala-milestone-dot {
    fill: #d97706;
}

/* Center Tactile Tap Medallion - Perfectly Centered inside the Ring */
.btn-tap-bead {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 230px !important;
    height: 230px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 45% 35%, #ffffff 30%, #fff7eb 75%, #fce7cf 100%) !important;
    border: 4.5px solid #d49a55 !important;
    box-shadow: 0 14px 35px rgba(180, 75, 0, 0.18), inset 0 2px 10px rgba(255, 255, 255, 0.95), inset 0 -3px 8px rgba(180, 75, 0, 0.12) !important;
    outline: none !important;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.08s ease-out, box-shadow 0.12s ease-out;
    z-index: 5;
}

@media (max-width: 500px) {
    .btn-tap-bead {
        width: 185px !important;
        height: 185px !important;
    }
}

.tap-inner-circle {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.badge-bead-tag {
    background: rgba(224, 112, 32, 0.12);
    color: #9c4b00;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(224, 112, 32, 0.25);
}

.bead-dot-mini {
    width: 7px;
    height: 7px;
    background: #e07020;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff9800;
}

.display-bead-count {
    font-size: 58px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    color: #2b1404 !important;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: -1.5px;
}

@media (max-width: 500px) {
    .display-bead-count {
        font-size: 46px !important;
    }
}

.display-bead-target {
    font-size: 15px;
    color: var(--color-saffron);
    font-weight: 700;
}

.tap-hint-text {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-tap-bead:active {
    transform: translate(-50%, -50%) scale(0.95) !important;
    box-shadow: 0 4px 15px rgba(224, 112, 32, 0.3), inset 0 2px 5px rgba(0, 0, 0, 0.08) !important;
    background: radial-gradient(circle at 50% 50%, #fef3e3 40%, #f5dfc4 100%) !important;
}

.btn-tap-bead:focus-visible {
    box-shadow: 0 0 0 4px rgba(224, 112, 32, 0.4) !important;
}

/* Bead Type Selector */
.bead-type-btn.active {
    background-color: #f7ede1 !important;
    border-color: #d89658 !important;
    color: #8c3b06 !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(180, 80, 0, 0.12);
}

/* Left-hand layout adjustment */
body.mala-left-handed .mantra-counter-page {
    direction: ltr;
}

body.mala-left-handed .mala-visual-container {
    transform: scaleX(-1);
}

body.mala-left-handed .btn-tap-bead span {
    transform: scaleX(-1);
}

/* Target preset button group */
.target-btn.active {
    background-color: var(--color-saffron) !important;
    border-color: var(--color-saffron) !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* Sankalp plan button group */
.sankalp-plan-btn.active {
    background-color: var(--color-saffron) !important;
    border-color: var(--color-saffron) !important;
    color: #ffffff !important;
    font-weight: 700;
}

.border-saffron {
    border-color: #e5cbaf !important;
}

.border-saffron:focus {
    border-color: var(--color-saffron) !important;
    box-shadow: 0 0 0 0.2rem rgba(224, 112, 32, 0.15) !important;
}

.btn-saffron {
    background-color: var(--color-saffron);
    color: #ffffff;
    border: none;
}

.btn-saffron:hover {
    background-color: #c75e14;
    color: #ffffff;
}

/* Active toggle buttons */
button.active-toggle.active {
    background-color: #faebd7 !important;
    color: #9c4b00 !important;
    border-color: #d8bca0 !important;
}

/* ==========================================================================
   Sacred Deity Altar — Live Darshan, Diya, Dhoop & Kapoor Animations
   ========================================================================== */
.sacred-altar-container {
    max-width: 680px;
    margin: 0 auto 16px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.08);
}

.altar-badge-icon {
    font-size: 20px;
}

.altar-tool-btn {
    border-radius: 20px;
    font-size: 12px;
    padding: 4px 10px;
}

/* Deity Selector Pills */
.deity-selector-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
}
.deity-selector-scroll::-webkit-scrollbar {
    display: none !important;
}

.deity-select-pill {
    flex-shrink: 0 !important;
    background: #faf6f0;
    border: 1px solid #ebd9c8;
    color: #4a2810;
    border-radius: 24px;
    padding: 5px 12px;
    white-space: nowrap !important;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.deity-select-pill:hover {
    background: #fdf0dc;
    border-color: #d97706;
    color: #b45309;
}

.deity-select-pill.active {
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: #b45309;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(180, 83, 9, 0.3);
}

/* Temple Sanctum Stage */
.altar-sanctum {
    background: radial-gradient(circle at 50% 25%, #2a140f 0%, #150906 80%, #0c0402 100%);
    border: 2px solid #b45309;
    border-top: none;
    border-radius: 0 0 20px 20px;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.sanctum-aura-glow {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.32) 0%, rgba(217, 119, 6, 0.1) 50%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    animation: sanctumPulse 4s infinite ease-in-out alternate;
}

@keyframes sanctumPulse {
    0% { transform: translateX(-50%) scale(0.92); opacity: 0.6; }
    100% { transform: translateX(-50%) scale(1.08); opacity: 0.95; }
}

.altar-deity-portrait-wrapper {
    position: relative;
    z-index: 2;
    padding: 0 0 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.altar-deity-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 330px;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
    transition: opacity 0.3s ease;
}

.altar-shloka-banner {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-family: 'Martel', serif;
    font-size: 11.5px;
    font-weight: 600;
    color: #fde68a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
    letter-spacing: 0.3px;
    padding: 3px 14px;
    background: rgba(15, 6, 3, 0.75);
    border: 1px solid rgba(217, 119, 6, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Realistic Live Offerings Overlaid DIRECTLY on Altar Photo Base (दीप बायाँ, धूप बत्ती बीच में, दीप दायाँ) */
.altar-offerings-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 6, 3, 0.3) 30%, rgba(10, 4, 2, 0.82) 100%);
    padding: 2px 8px 4px;
    border-top: 1px solid rgba(217, 119, 6, 0.35);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    box-sizing: border-box;
}

.altar-offerings-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
}

.flame-illumination-cast {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 80px;
    background: radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.45) 0%, rgba(245, 158, 11, 0.18) 60%, transparent 85%);
    pointer-events: none;
    animation: flameCastFlicker 1.8s infinite ease-in-out alternate;
}

@keyframes flameCastFlicker {
    0% { opacity: 0.65; transform: translateX(-50%) scaleX(0.95); }
    50% { opacity: 0.95; transform: translateX(-50%) scaleX(1.05); }
    100% { opacity: 0.75; transform: translateX(-50%) scaleX(1.0); }
}

.offering-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.offering-diya-left {
    margin-right: auto !important;
}

.offering-dhoop {
    margin: 0 auto !important;
}

.offering-diya-right {
    margin-left: auto !important;
}

.offering-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #d1b89d;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.offering-label-active {
    color: #fbbf24;
}

/* --------------------------------------------------------------------------
   1. Real Brass Diya (सजीव प्रज्वलित दीपक)
   -------------------------------------------------------------------------- */
.diya-fixture {
    width: 64px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.diya-flame-container {
    position: relative;
    width: 20px;
    height: 38px;
    margin-bottom: -4px;
    z-index: 3;
}

.flame-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, rgba(249, 115, 22, 0.2) 50%, transparent 75%);
    border-radius: 50%;
    animation: auraBreath 2.2s infinite ease-in-out alternate;
}

@keyframes auraBreath {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.flame-outer {
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 18px;
    height: 34px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #fef08a 0%, #f59e0b 50%, #dc2626 90%);
    border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
    box-shadow: 0 0 10px #f59e0b, 0 0 20px #ea580c;
    animation: flameOuterWaver 1.1s infinite ease-in-out alternate;
    transform-origin: bottom center;
}

@keyframes flameOuterWaver {
    0% { transform: translateX(-50%) rotate(-1.5deg) scaleY(0.96) scaleX(1.02); }
    50% { transform: translateX(-50%) rotate(2deg) scaleY(1.04) scaleX(0.97); }
    100% { transform: translateX(-50%) rotate(-0.5deg) scaleY(0.98) scaleX(1.01); }
}

.flame-inner {
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 10px;
    height: 22px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffffff 0%, #fef08a 70%, #f59e0b 100%);
    border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
    animation: flameInnerWaver 0.9s infinite ease-in-out alternate;
    transform-origin: bottom center;
}

@keyframes flameInnerWaver {
    0% { transform: translateX(-50%) rotate(1deg) scaleY(0.95); }
    100% { transform: translateX(-50%) rotate(-1.5deg) scaleY(1.05); }
}

.flame-blue-base {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 6px;
    background: radial-gradient(circle, #38bdf8 0%, #0284c7 80%, transparent 100%);
    border-radius: 50%;
}

.diya-wick {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    height: 7px;
    background: #1c1917;
    border-radius: 1px;
}

.offering-diya-left .flame-outer { animation-delay: -0.2s; }
.offering-diya-left .flame-inner { animation-delay: -0.4s; }
.offering-diya-right .flame-outer { animation-delay: -0.7s; }
.offering-diya-right .flame-inner { animation-delay: -0.9s; }

.brass-diya-body {
    width: 54px;
    height: 22px;
    position: relative;
    z-index: 2;
}

.diya-rim {
    width: 54px;
    height: 12px;
    background: linear-gradient(90deg, #78350f, #d97706 30%, #fef08a 50%, #d97706 70%, #78350f);
    border-radius: 50%;
    border: 1px solid #fef08a;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.diya-belly {
    width: 44px;
    height: 10px;
    margin: -5px auto 0;
    background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
    border-radius: 0 0 22px 22px;
    border: 1px solid #92400e;
    border-top: none;
}

.diya-stand {
    width: 28px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(90deg, #78350f, #d97706, #78350f);
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   2. Fragrant Dhoop & Rising Smoke (धूप बत्ती)
   -------------------------------------------------------------------------- */
.dhoop-fixture {
    width: 50px;
    height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.dhoop-smoke-wrap {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 130px;
    pointer-events: none;
    overflow: visible;
}

.smoke-path {
    stroke-dasharray: 20 10;
    animation: smokeWaft 3.6s infinite linear;
}

.smoke-path-1 {
    animation-duration: 3.2s;
}

.smoke-path-2 {
    animation-duration: 4.0s;
    animation-delay: -1.2s;
}

.smoke-path-3 {
    animation-duration: 3.6s;
    animation-delay: -2.1s;
}

@keyframes smokeWaft {
    0% {
        stroke-dashoffset: 60;
        opacity: 0;
        transform: translateY(10px) scaleX(0.85);
    }
    30% {
        opacity: 0.7;
    }
    70% {
        opacity: 0.45;
    }
    100% {
        stroke-dashoffset: -90;
        opacity: 0;
        transform: translateY(-40px) scaleX(1.35);
    }
}

.dhoop-stick {
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #451a03 0%, #291205 100%);
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.dhoop-ember {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #ff4500;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff4500, 0 0 12px #ff7a00;
    animation: emberBreathe 2.5s infinite ease-in-out alternate;
}

@keyframes emberBreathe {
    0% { transform: translateX(-50%) scale(0.85); background: #ea580c; box-shadow: 0 0 4px #ea580c; }
    100% { transform: translateX(-50%) scale(1.3); background: #fef08a; box-shadow: 0 0 8px #ff4500, 0 0 16px #fbbf24; }
}

.brass-dhoop-stand {
    width: 26px;
    height: 8px;
    background: linear-gradient(90deg, #78350f, #d97706, #78350f);
    border-radius: 4px;
    border: 1px solid #fef08a;
    margin-top: -2px;
}

/* --------------------------------------------------------------------------
   3. Sacred Burning Kapoor (पवित्र प्रज्वलित कर्पूर)
   -------------------------------------------------------------------------- */
.kapoor-fixture {
    width: 50px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.kapoor-flame-wrap {
    position: relative;
    width: 18px;
    height: 32px;
    margin-bottom: -4px;
    z-index: 3;
}

.kapoor-flame-core {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 14px;
    height: 26px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 50%, #38bdf8 85%, #0284c7 100%);
    border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
    box-shadow: 0 0 10px #7dd3fc, 0 0 18px #0284c7;
    animation: kapoorFlicker 0.95s infinite ease-in-out alternate;
    transform-origin: bottom center;
}

@keyframes kapoorFlicker {
    0% { transform: translateX(-50%) rotate(2deg) scaleY(0.92) scaleX(1.05); }
    50% { transform: translateX(-50%) rotate(-2deg) scaleY(1.08) scaleX(0.95); }
    100% { transform: translateX(-50%) rotate(1deg) scaleY(0.97) scaleX(1.02); }
}

.kapoor-flame-halo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, transparent 70%);
    border-radius: 50%;
    animation: kapoorHalo 1.5s infinite ease-in-out alternate;
}

@keyframes kapoorHalo {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.sparkle {
    position: absolute;
    color: #fef08a;
    font-size: 8px;
    opacity: 0;
    animation: sparkleFloat 2.2s infinite ease-out;
}

.spark-1 {
    top: 5px;
    left: -4px;
    animation-delay: 0.3s;
}

.spark-2 {
    top: 2px;
    right: -4px;
    animation-delay: 1.2s;
}

@keyframes sparkleFloat {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    40% { opacity: 0.9; }
    100% { transform: translateY(-16px) scale(1.1); opacity: 0; }
}

.brass-katori {
    width: 44px;
    height: 16px;
    background: linear-gradient(90deg, #78350f, #d97706, #fef08a, #d97706, #78350f);
    border-radius: 0 0 22px 22px;
    border: 1px solid #fde68a;
    position: relative;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.6);
}

.kapoor-tablet {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 6px;
    background: #f8fafc;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   4. Full Immersion Focus Mode (एकाग्र ध्यान मोड)
   -------------------------------------------------------------------------- */
body.altar-focus-active {
    background-color: #0c0503 !important;
    overflow-x: hidden;
}

body.altar-focus-active .site-header,
body.altar-focus-active .site-footer,
body.altar-focus-active .announcement-ticker,
body.altar-focus-active .mobile-dock,
body.altar-focus-active .breadcrumbs,
body.altar-focus-active #grace-alert-box {
    display: none !important;
}

body.altar-focus-active .mantra-counter-page {
    max-width: 1000px;
}

body.altar-focus-active .card {
    background: #140805 !important;
    border-color: #451a03 !important;
    color: #f5eedf !important;
}

/* --------------------------------------------------------------------------
   5. Dedicated Mobile Optimization (Smartphone Devotional UI)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .site-header {
        position: relative !important;
        padding: 0 4px !important;
    }
    .announcement-ticker,
    .page-share-bar {
        display: none !important;
    }
    .mantra-counter-page,
    .mantra-stage-wrapper {
        max-width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        padding-top: 0 !important;
    }
    .sacred-altar-container {
        max-width: 100% !important;
        margin-bottom: 4px !important;
    }
    .altar-header {
        padding: 4px 6px !important;
    }
    .altar-header > div:first-child {
        display: none !important; /* Hides bulky shrine title bar on mobile so Murti and Mala fit instantly */
    }
    .altar-sanctum {
        min-height: 220px !important;
        max-height: 245px !important;
        border-radius: 0 0 16px 16px !important;
    }
    .altar-deity-portrait-wrapper {
        padding: 0 4px 26px !important;
    }
    .altar-deity-image {
        max-height: 215px !important;
    }
    .altar-shloka-banner {
        font-size: 10.5px !important;
        padding: 2px 6px !important;
    }
    .altar-offerings-overlay {
        padding: 2px 4px 2px !important;
    }
    .altar-offerings-row {
        padding: 0 6px !important;
    }
    .offering-item {
        transform: scale(0.78);
        transform-origin: bottom center;
        gap: 0 !important;
    }
    .offering-label {
        font-size: 8px !important;
    }
    .diya-fixture {
        height: 46px !important;
    }
    .diya-flame-container {
        height: 24px !important;
    }
    .flame-outer {
        height: 22px !important;
        width: 12px !important;
    }
    .dhoop-smoke-wrap {
        bottom: 12px !important;
    }
    .smoke-svg {
        width: 50px !important;
        height: 85px !important;
    }
    .mala-wrapper {
        padding: 2px !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }
    .mala-visual-container {
        max-width: 260px !important;
        height: 260px !important;
        margin: 0 auto !important;
    }
    .btn-tap-bead {
        width: 135px !important;
        height: 135px !important;
    }
    .display-bead-count {
        font-size: 38px !important;
    }
    .tap-hint-text {
        font-size: 9.5px !important;
    }
}

@media (max-width: 380px) {
    .altar-sanctum {
        min-height: 160px !important;
        max-height: 180px !important;
    }
    .altar-deity-image {
        max-height: 140px !important;
    }
    .mala-visual-container {
        max-width: 265px !important;
        height: 265px !important;
    }
    .btn-tap-bead {
        width: 140px !important;
        height: 140px !important;
    }
    .display-bead-count {
        font-size: 38px !important;
    }
}

body.altar-focus-active .altar-sanctum {
    min-height: 380px;
}

body.altar-focus-active .altar-deity-image {
    max-height: 360px;
}

body.altar-focus-active #active-mantra-sanskrit {
    color: #fde68a !important;
}

body.altar-focus-active .mala-wrapper {
    background: radial-gradient(circle at center, #1e0c07 0%, #100603 100%);
    border: 1px solid #451a03;
}