/* ---------- Stage Visibility ---------- */

.stage {
    display: none;
}

.stage.active {
    display: block;
}


/* ---------- Mood Grid ---------- */

#sensation-moods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 540px;
    margin: 0 auto 32px;
}

#sensation-moods .tool-card {
    width: 100%;
    max-width: 150px;
}


/* ---------- Breathing Area ---------- */

.breath-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 24px;
}


/* ---------- Breathing Circle ---------- */

.breath-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 45%,
        rgba(52, 211, 153, 0.38),
        rgba(139, 92, 246, 0.22) 62%,
        rgba(10, 17, 22, 0.85)
    );
    box-shadow:
        0 0 26px rgba(52, 211, 153, 0.28),
        0 0 70px rgba(139, 92, 246, 0.18);
    transition:
        transform 0.3s ease-out,
        box-shadow 0.3s ease-out;
}


/* ---------- Breathing States ---------- */

.breath-circle.inhale {
    transform: scale(1.35);
    box-shadow:
        0 0 48px rgba(52, 211, 153, 0.55),
        0 0 110px rgba(167, 139, 250, 0.32);
    transition-duration: 4s;
    transition-timing-function: ease-out;
}

.breath-circle.exhale {
    transform: scale(0.85);
    box-shadow:
        0 0 20px rgba(52, 211, 153, 0.25),
        0 0 55px rgba(139, 92, 246, 0.15);
    transition-duration: 6s;
    transition-timing-function: ease-in;
}

.breath-circle.hold {
    transform: scale(1.35);
    box-shadow:
        0 0 48px rgba(52, 211, 153, 0.45),
        0 0 110px rgba(167, 139, 250, 0.32);
}


/* ---------- Breathing Text ---------- */

.breath-label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text);
}

.breath-counter {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--muted);
}


/* ---------- Mobile ---------- */

@media (max-width: 640px) {
    #sensation-moods {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    #sensation-moods .tool-card {
        max-width: none;
    }

    .breath-circle {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 400px) {
    #sensation-moods {
        grid-template-columns: 1fr;
    }
}
.completion-cta[hidden] {
    display: none !important;
}
#completionCta[hidden] {
    display: none !important;
}