﻿
        :root {
            --gold: #d8b86a;
            --gold-soft: rgba(216, 184, 106, 0.42);
            --ice: rgba(205, 235, 255, 0.42);
            --deep: #050814;
            --text: #ffffff; /* Nomainīts uz tīri baltu */
        }

        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            overflow-x: hidden;
            color: var(--text);
            font-family: 'Montserrat', sans-serif;
            background: #050814;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            user-select: none;
            -webkit-user-select: none;
            box-sizing: border-box;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            z-index: -2;
            background-image:
                radial-gradient(rgba(255,255,255,0.78), rgba(255,255,255,0.18) 1px, transparent 32px),
                radial-gradient(rgba(178,221,255,0.65), rgba(178,221,255,0.12) 1px, transparent 28px);
            background-size: 460px 460px, 320px 320px;
            background-position: 0 0, 80px 120px;
            opacity: 0.34;
            animation: particleDrift 34s linear infinite;
        }

        body::after {
            content: "";
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            background:
                radial-gradient(circle at 50% 34%, rgba(255,255,255,0.055) 0%, transparent 34%),
                radial-gradient(circle at 18% 72%, rgba(216,184,106,0.07) 0%, transparent 28%),
                linear-gradient(to bottom, rgba(4,7,18,0.12), rgba(4,7,18,0.34));
            animation: ambientBreath 12s ease-in-out infinite;
        }

        .background-overlay {
            position: fixed;
            inset: 0;
            z-index: -4;
            background-size: cover;
            background-position: center;
            opacity: 0.62;
            filter: saturate(1.1) contrast(1.06) brightness(0.95);
            transition: background-image 1s ease-in-out;
        }

        .gradient-dark-layer {
            position: fixed;
            inset: 0;
            z-index: -3;
            pointer-events: none;
            background:
                linear-gradient(to bottom, rgba(5,8,20,0.08) 0%, rgba(5,8,20,0.2) 64%, rgba(5,8,20,0.45) 100%),
                radial-gradient(ellipse at center, transparent 0%, rgba(4,7,18,0.18) 74%, rgba(4,7,18,0.42) 100%);
        }

        .atmosphere-layer {
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            opacity: 0.55;
            background:
                linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.045) 28%, transparent 48%),
                linear-gradient(250deg, transparent 10%, rgba(176,212,255,0.035) 42%, transparent 72%);
            mix-blend-mode: screen;
            animation: atmosphereMove 22s ease-in-out infinite alternate;
        }

.header-container {
    text-align: center;
    margin-top: 54px;
    padding: 0 20px;
    z-index: 10;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.34rem;
    font-weight: 500;
    margin: 0 0 10px 0;
    letter-spacing: 5.4px;
    text-transform: uppercase;
    color: rgba(255,250,236,0.98);
    text-shadow:
        0 2px 14px rgba(0,0,0,0.62),
        0 0 22px rgba(216,184,106,0.22),
        0 0 34px rgba(140,190,140,0.10);
}

.slogan {
    font-size: 0.80rem;
    font-weight: 400;
    letter-spacing: 3.25px;
    text-transform: uppercase;
    color: rgba(250,244,228,0.93);
    line-height: 1.6;
    text-shadow:
        0 2px 12px rgba(0,0,0,0.62),
        0 0 16px rgba(216,184,106,0.16);
    position: relative;
    top: -8px;
}

.onboarding-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    width: 100%;
    max-width: 520px;
    padding-bottom: 48px;
    box-sizing: border-box;
}

.intro-card-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 34px;
    margin-bottom: 34px;
    perspective: 1200px;
}

.intro-card-box::before {
    content: "";
    position: absolute;
    width: 238px;
    height: 350px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 22%, rgba(255,244,210,0.28), transparent 38%),
        radial-gradient(circle at 50% 62%, rgba(146,190,142,0.20), transparent 50%),
        linear-gradient(145deg, rgba(216,184,106,0.22), transparent 46%);
    filter: blur(23px);
    opacity: 0.70;
    transform: translateY(10px);
    animation: startAuraBreathOne 5.6s ease-in-out infinite;
}

.floating-card {
    position: relative;
    width: 238px;
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    background: rgba(12,18,34,0.24);
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    filter: saturate(1.08) contrast(1.07) brightness(0.98);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.30) inset,
        0 -1px 0 rgba(0,0,0,0.42) inset,
        0 0 0 1px rgba(232,205,145,0.36),
        0 18px 38px rgba(0,0,0,0.46),
        0 32px 72px rgba(0,0,0,0.36),
        0 0 25px rgba(232,205,145,0.22),
        0 0 39px rgba(118,170,118,0.17);
    animation: startCardFloatOne 5.4s ease-in-out infinite;
}

.floating-card::selection {
    background: transparent;
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    transform: translateY(-18px);
}

.glass-button {
    background: transparent;
    border: none;
    box-shadow: none;
    font-family: 'Cinzel', serif;
    font-size: 1.26rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;

    position: relative;
    padding: 8px 10px 13px;
    isolation: isolate;
    line-height: 1;

    color: rgba(255,250,236,1);

    text-shadow:
        0 2px 12px rgba(0,0,0,0.72),
        0 0 26px rgba(255,238,190,0.68),
        0 0 48px rgba(216,184,106,0.50),
        0 0 72px rgba(216,184,106,0.28);

    filter:
        drop-shadow(0 0 11px rgba(255,232,184,0.30))
        drop-shadow(0 0 24px rgba(216,184,106,0.20));

    animation: startRitualGlowOne 4.6s ease-in-out infinite;
    transition: transform 0.3s ease, opacity 0.3s ease, text-shadow 0.3s ease, filter 0.3s ease;
}

.glass-button::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 47%;
    width: 188px;
    height: 42px;
    transform: translate(-50%, -50%) scale(0.96);
    border-radius: 999px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255,244,205,0.48) 0%,
            rgba(255,232,184,0.34) 24%,
            rgba(216,184,106,0.20) 46%,
            rgba(118,170,118,0.07) 62%,
            transparent 78%
        );

    filter: blur(10px);
    opacity: 0.90;
    pointer-events: none;
    z-index: -1;
    animation: startRitualHaloOne 4.6s ease-in-out infinite;
}

.glass-button::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: calc(100% - 20px);
    height: 1.3px;
    transform: translateX(-50%) scaleX(0.98);

    background:
        linear-gradient(
            to right,
            rgba(216,184,106,0.26) 0%,
            rgba(245,218,155,0.58) 28%,
            rgba(255,244,205,0.95) 50%,
            rgba(245,218,155,0.58) 72%,
            rgba(216,184,106,0.26) 100%
        );

    box-shadow:
        0 0 5px rgba(255,244,205,0.42),
        0 0 12px rgba(216,184,106,0.26);

    opacity: 0.92;
    pointer-events: none;
    animation: startUnderlineOne 4.6s ease-in-out infinite;
}

.glass-button:hover {
    transform: scale(1.045);
}

@media(max-width: 430px) {
    .header-container {
        margin-top: 46px;
    }

    h1 {
        font-size: 1.95rem;
        letter-spacing: 4.4px;
    }

    .slogan {
        font-size: 0.72rem;
        letter-spacing: 2.3px;
    }

    .intro-card-box {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .floating-card {
        width: 222px;
    }

    .glass-button {
        min-width: 178px;
        font-size: 1.25rem !important;
        letter-spacing: 3px !important;
        padding: 13px 30px;
    }
}

@keyframes ritualPulse {
    0%, 100% {
        opacity: 0.86;
        text-shadow:
            0 2px 12px rgba(0,0,0,0.55),
            0 0 10px rgba(216,184,106,0.16),
            0 0 18px rgba(216,184,106,0.10);
    }

    50% {
        opacity: 1;
        text-shadow:
            0 2px 12px rgba(0,0,0,0.55),
            0 0 15px rgba(255,238,190,0.28),
            0 0 26px rgba(216,184,106,0.18);
    }
}

        .ritual-screen {
            display: none;
            flex-direction: column;
            align-items: center;
            width: 100%;
            box-sizing: border-box;
        }

        .game-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 350px;
            width: 100%;
            max-width: 960px;
            z-index: 10;
            padding: 10px;
            box-sizing: border-box;
        }

        .shuffle-table {
            position: relative;
            width: 260px;
            height: 260px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .shuffle-card,
        .main-deck-visual,
        .card-img,
        .zoomed-card-img {
            filter: saturate(1.1) contrast(1.06);
        }

.shuffle-table {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    isolation: isolate;
    overflow: visible;
}

.shuffle-table::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220px;
    height: 330px;
    border-radius: 24px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(ellipse at center,
            rgba(255,244,205,0.36) 0%,
            rgba(216,184,106,0.24) 34%,
            rgba(118,170,118,0.14) 56%,
            transparent 74%
        );
    filter: blur(20px);
    opacity: 0.72;
    animation: deckUnderLightBreath 5.4s ease-in-out infinite;
}

.shuffle-card,
.main-deck-visual,
.card-img,
.zoomed-card-img {
    filter: saturate(1.1) contrast(1.06);
}

.shuffle-card {
    position: absolute;
    width: 112px;
    aspect-ratio: 2 / 3;
    border-radius: 11px;
    box-shadow:
        0 14px 30px rgba(0,0,0,0.42),
        0 0 0 1px rgba(232,205,145,0.28),
        0 0 18px rgba(216,184,106,0.14);
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    transition: transform 0.32s ease-out, opacity 0.2s ease;
    object-fit: contain;
}

.main-deck-visual {
    position: relative;
    width: 190px;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    z-index: 5;
    object-fit: contain;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.30) inset,
        0 -1px 0 rgba(0,0,0,0.42) inset,
        0 0 0 1px rgba(232,205,145,0.42),
        0 0 12px rgba(255,244,205,0.30),
        0 0 26px rgba(216,184,106,0.30),
        0 0 42px rgba(118,170,118,0.18),
        0 18px 38px rgba(0,0,0,0.44),
        0 28px 58px rgba(0,0,0,0.32);
}

.card-glow {
    position: absolute;
    width: 138px;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    z-index: 1;
    box-shadow:
        0 0 20px rgba(255,255,255,0.12),
        0 0 28px rgba(216,184,106,0.12);
}

.shuffle-table.is-shuffling .main-deck-visual,
.shuffle-table.is-shuffling .card-glow {
    opacity: 0 !important;
    visibility: hidden !important;
}

.deck-particles {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    background: rgba(255,244,205,0.95);
    box-shadow:
        0 0 8px rgba(255,244,205,0.86),
        0 0 18px rgba(216,184,106,0.54),
        0 0 30px rgba(118,170,118,0.22);
    opacity: 0;
    mix-blend-mode: screen;
}

.deck-particles-a { animation: deckSparkA 5.2s ease-out infinite; }
.deck-particles-b { animation: deckSparkB 5.6s ease-out infinite; animation-delay: 0.4s; }
.deck-particles-c { animation: deckSparkC 6s ease-out infinite; animation-delay: 0.8s; }
.deck-particles-d { animation: deckSparkD 5.4s ease-out infinite; animation-delay: 1.1s; }
.deck-particles-e { animation: deckSparkE 5.8s ease-out infinite; animation-delay: 1.5s; }
.deck-particles-f { animation: deckSparkF 6.2s ease-out infinite; animation-delay: 1.9s; }
.deck-particles-g { animation: deckSparkG 5.7s ease-out infinite; animation-delay: 2.3s; }
.deck-particles-h { animation: deckSparkH 6.4s ease-out infinite; animation-delay: 2.7s; }
@media (max-width: 430px) {
    .shuffle-card {
        width: 104px;
    }
}

.three-cards-mode {
    display: none;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 16px 18px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 12px auto;
}

#cw2 {
    grid-column: 1 / 3;
}

.card-wrapper {
    position: relative;
    width: 175px;
    height: 262px;
    perspective: 1000px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: none;
}

#cw0 .card-inner { animation: kartsElpaA 5s ease-in-out infinite; }
#cw1 .card-inner { animation: kartsElpaB 6s ease-in-out infinite; }
#cw2 .card-inner { animation: kartsElpaC 5.5s ease-in-out infinite; }

.card-inner.flipped {
    transform: rotateY(180deg) !important;
    animation: none !important;
}

.card-inner.flipped.reversed {
    transform: rotateY(180deg) rotateZ(180deg) !important;
    animation: none !important;
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
}

.card-front {
    transform: rotateY(180deg);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.instruction {
    margin: 22px auto 0 auto;
    padding: 6px 20px;
    width: 100%;
    max-width: 92%;
    box-sizing: border-box;
    z-index: 10;
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: 0.8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    text-shadow:
        0px 2px 4px rgba(0, 0, 0, 1),
        0px 4px 10px rgba(0, 0, 0, 0.9),
        0px 0px 6px rgba(0, 0, 0, 0.8);
}

.instruction small {
            display: block;
            margin-top: 10px;
            
            /* Pārejam uz eleganto Cinzel fontu brīdinājumam */
            font-family: 'Cinzel', serif !important;
            
            /* Gaiši zelta krāsa, lai piesaistītu uzmanību, bet saglabātu eleganci */
            color: rgba(235, 215, 150, 0.95) !important;
            
            font-size: 0.85rem !important;
            
            /* Vairāk gaisa starp burtiem luksusa sajūtai */
            letter-spacing: 1.5px !important;
            line-height: 1.4;
            
            /* Mazliet biezāki burti izcēlumam */
            font-weight: 600 !important;
            
            /* Saglabājam melno ēnu, lai teksts nepazustu zālē */
            text-shadow: 
                0px 1px 3px rgba(0, 0, 0, 1),
                0px 2px 6px rgba(0, 0, 0, 0.9),
                0px 0px 4px rgba(0, 0, 0, 0.8) !important;
        }

.result-panel {
    display: none;
    width: min(92vw, 620px) !important;
    padding: 22px 24px 26px !important;

    background:
        linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.16) 14%, transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.33), rgba(255,248,236,0.16) 48%, rgba(255,255,255,0.26)),
        linear-gradient(28deg, transparent 0%, rgba(255,255,255,0.12) 17%, transparent 31%),
        linear-gradient(152deg, transparent 10%, rgba(255,232,184,0.12) 44%, transparent 66%) !important;

    background-color: rgba(255,250,242,0.17) !important;

    border: 1px solid rgba(255,255,255,0.88) !important;
    border-top-color: rgba(255,255,255,1) !important;
    border-bottom-color: rgba(230,210,176,0.30) !important;
    border-radius: 30px !important;

    backdrop-filter: blur(1.25px) brightness(1.23) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(1.25px) brightness(1.23) saturate(1.08) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 10px 20px rgba(255,255,255,0.14),
        inset 0 -1px 0 rgba(224,204,168,0.18),
        inset 1px 0 0 rgba(255,255,255,0.38),
        inset -1px 0 0 rgba(255,255,255,0.20),
        0 15px 32px rgba(112,88,58,0.12),
        0 0 0 1px rgba(255,232,184,0.14),
        0 0 30px rgba(255,232,184,0.15) !important;

    position: relative !important;
    overflow: hidden !important;
}

.result-panel::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;

    background:
        linear-gradient(136deg, rgba(255,255,255,0.52), transparent 11%, transparent 80%, rgba(255,255,255,0.12)),
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.16), transparent 24%),
        radial-gradient(ellipse at 18% 0%, rgba(255,232,184,0.12), transparent 34%);

    opacity: 0.52;
    mix-blend-mode: screen;
}

.result-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;

    background:
        linear-gradient(to right, rgba(255,255,255,0.08), transparent 18%, transparent 82%, rgba(255,255,255,0.06)),
        radial-gradient(ellipse at 50% 100%, rgba(224,204,168,0.06), transparent 42%);

    opacity: 0.36;
    mix-blend-mode: screen;
}

.result-panel > * {
    position: relative;
    z-index: 1;
}

.result-title-container {
    text-align: center;
    margin-bottom: 16px !important;
}

.result-main-title {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(1.9rem, 6.5vw, 2.28rem) !important;
    line-height: 1.05 !important;
    font-weight: 650 !important;
    letter-spacing: 4.4px !important;

    color: rgba(50, 36, 23, 1) !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.78),
        0 0 12px rgba(255,232,184,0.38),
        0 0 20px rgba(255,255,255,0.20) !important;
}

.result-sub-status {
    margin-top: 8px !important;

    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.55px !important;

    color: rgba(120, 54, 42, 0.92) !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.70),
        0 0 8px rgba(255,232,184,0.18) !important;
}

.tabs-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;

    padding: 13px 15px !important;
    margin-bottom: 18px !important;

    border-radius: 24px !important;
    border: 1px solid rgba(255,255,255,0.76) !important;
    border-top-color: rgba(255,255,255,0.94) !important;
    border-bottom-color: rgba(230,210,176,0.24) !important;

    background:
        linear-gradient(180deg, rgba(255,255,255,0.40) 0%, transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.23), rgba(255,248,236,0.10) 48%, rgba(255,255,255,0.18)),
        linear-gradient(28deg, transparent 0%, rgba(255,255,255,0.09) 18%, transparent 34%) !important;

    background-color: rgba(255,250,242,0.095) !important;

    backdrop-filter: blur(0.9px) brightness(1.18) saturate(1.04) !important;
    -webkit-backdrop-filter: blur(0.9px) brightness(1.18) saturate(1.04) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        inset 0 -1px 0 rgba(224,204,168,0.12),
        0 8px 17px rgba(112,88,58,0.065),
        0 0 14px rgba(255,232,184,0.08) !important;
}

.tabs-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
}

.tab-btn {
    width: 100% !important;
    max-width: 168px !important;
    min-height: 38px !important;
    padding: 8px 14px !important;

    font-family: 'Cinzel', serif !important;
    font-size: 0.86rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.55px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: none !important;

    color: rgba(42, 32, 22, 0.96) !important;

    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,250,240,0.08) 52%, rgba(255,255,255,0.20)) !important;

    border: 1px solid rgba(255,255,255,0.38) !important;
    border-radius: 999px !important;

    cursor: pointer !important;
    transition: all 0.25s ease !important;
	-webkit-tap-highlight-color: transparent;
-webkit-appearance: none;
appearance: none;
outline: none;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.78),
        0 0 8px rgba(255,232,184,0.12) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.84),
        inset 0 -1px 0 rgba(224,204,168,0.09),
        0 5px 12px rgba(112,88,58,0.035) !important;
}

.tab-btn.active {
    color: rgba(24, 18, 12, 1) !important;

    background:
        linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,236,196,0.80) 58%, rgba(255,250,236,0.74)),
        linear-gradient(135deg, rgba(255,220,160,0.42), rgba(255,255,255,0.16)) !important;

    border: 1px solid rgba(255,255,255,0.78) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        inset 0 -1px 0 rgba(202,160,90,0.28),
        0 0 17px rgba(255,220,160,0.42),
        0 0 22px rgba(255,255,255,0.16),
        0 7px 15px rgba(112,88,58,0.08) !important;
}

.tab-content {
    padding: 22px 19px !important;

    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,0.82) !important;
    border-top-color: rgba(255,255,255,0.94) !important;
    border-left: 1px solid rgba(255,232,184,0.54) !important;
    border-bottom-color: rgba(230,210,176,0.24) !important;

    background:
        linear-gradient(180deg, rgba(255,255,255,0.46) 0%, transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,0.40), rgba(255,247,232,0.20) 48%, rgba(255,255,255,0.31)),
        linear-gradient(28deg, transparent 0%, rgba(255,255,255,0.09) 20%, transparent 36%) !important;

    background-color: rgba(255,249,238,0.15) !important;

    backdrop-filter: blur(0.6px) brightness(1.15) saturate(1.04) !important;
    -webkit-backdrop-filter: blur(0.6px) brightness(1.15) saturate(1.04) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -1px 0 rgba(224,204,168,0.12),
        0 10px 21px rgba(112,88,58,0.07),
        0 0 14px rgba(255,232,184,0.08) !important;
}

.section-text {
    margin: 0;
    white-space: pre-line;

    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif !important;
    font-size: 0.98rem !important;
    line-height: 1.70 !important;
    font-weight: 450 !important;
    letter-spacing: 0.01em !important;

    color: rgba(43, 36, 29, 0.94) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.26) !important;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
}

.premium-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;

    justify-content: center;
    align-items: center;

    padding: 15px;
    box-sizing: border-box;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
}

.premium-box {
    max-width: 420px;
    width: 100%;

    padding: 38px 30px;

    border-radius: 28px;

    text-align: center;

    border: 1px solid rgba(156,112,47,0.25);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.94),
            rgba(255,248,238,0.88)
        );

    box-shadow:
        0 24px 70px rgba(48,34,20,0.25),
        inset 0 1px 0 rgba(255,255,255,0.65);
}

.premium-mark {
	
	display: flex;
align-items: center;
justify-content: center;

font-size: 20px;
    width: 42px;
    height: 42px;

    margin: 0 auto 18px;

    border-radius: 50%;

    border: 1px solid rgba(156,112,47,0.35);

    background:
        radial-gradient(
            circle,
            rgba(156,112,47,0.18),
            transparent
        );
}

.premium-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    font-weight: 600;

    color: #2d1f14;

    margin: 0 0 12px;
}

.premium-box p {
    font-size: 0.95rem;
    line-height: 1.6;

    color: #4a3526;

    margin: 0 0 18px;
}

.premium-box .premium-subtext {
    color: #8c6b37;

    font-weight: 600;

    border-top: 1px solid rgba(156,112,47,0.15);

    padding-top: 15px;
}

.premium-buy-btn,
.premium-login-btn,
.premium-close-btn {
    width: 100%;

    border-radius: 999px;

    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
}

.premium-buy-btn {
    margin-top: 18px;

    padding: 15px;

    border: none;

    background: #9c7332;

    color: white;

    font-weight: 700;

    font-size: 0.9rem;
}

.premium-close-btn {
    margin-top: 12px;

    padding: 12px;

    border: 1px solid rgba(156,112,47,0.18);

    background: rgba(156,112,47,0.05);

    color: #4a3526;
}

.premium-login-btn {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(156,112,47,0.24);
    background: rgba(255,255,255,0.44);
    color: #4a3526;
    font-weight: 700;
    font-size: 0.88rem;
}

        .zoom-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 100;
            justify-content: center;
            align-items: center;
            cursor: zoom-out;
            opacity: 0;
            background: rgba(4,8,20,0.88);
            transition: opacity 0.4s ease;
        }

        .zoom-overlay.active {
            display: flex;
            opacity: 1;
        }

        .zoomed-card-img {
            max-width: 95%;
            max-height: 85vh;
            object-fit: contain;
            border-radius: 16px;
        }

        .zoomed-card-img.reversed {
            transform: rotate(180deg);
        }

@media(min-width: 768px) {
    .card-wrapper {
        width: 220px;
        height: 330px;
    }
}

        @media(max-width: 430px) {
            .header-container { margin-top: 46px; }
            h1 { font-size: 1.95rem; letter-spacing: 4.4px; }
            .slogan { font-size: 0.72rem; letter-spacing: 2.3px; }
            .intro-card-box { margin-top: 12px; margin-bottom: 28px; }
            .floating-card { width: 222px; }
        }

        @media(max-height: 720px) {
            .header-container { margin-top: 36px; }
            .intro-card-box { margin-top: 22px; margin-bottom: 22px; }
            .floating-card { width: 210px; }
            .onboarding-screen { padding-bottom: 34px; }
        }
		
		@keyframes deckUnderLightBreath {
    0%, 100% {
        opacity: 0.50;
        transform: translate(-50%, -50%) scale(0.96);
    }

    50% {
        opacity: 0.82;
        transform: translate(-50%, -50%) scale(1.03);
    }
}

@keyframes deckSparkA {
    0% { opacity: 0; transform: translate(-92px, -80px) scale(0.45); }
    18% { opacity: 0.78; }
    100% { opacity: 0; transform: translate(-132px, -116px) scale(1.1); }
}

@keyframes deckSparkB {
    0% { opacity: 0; transform: translate(88px, -70px) scale(0.45); }
    18% { opacity: 0.72; }
    100% { opacity: 0; transform: translate(130px, -105px) scale(1.05); }
}

@keyframes deckSparkC {
    0% { opacity: 0; transform: translate(-102px, 2px) scale(0.45); }
    18% { opacity: 0.72; }
    100% { opacity: 0; transform: translate(-152px, 8px) scale(1.05); }
}

@keyframes deckSparkD {
    0% { opacity: 0; transform: translate(100px, 8px) scale(0.45); }
    18% { opacity: 0.68; }
    100% { opacity: 0; transform: translate(152px, 18px) scale(1); }
}

@keyframes deckSparkE {
    0% { opacity: 0; transform: translate(-86px, 82px) scale(0.45); }
    18% { opacity: 0.76; }
    100% { opacity: 0; transform: translate(-132px, 118px) scale(1.05); }
}

@keyframes deckSparkF {
    0% { opacity: 0; transform: translate(84px, 84px) scale(0.45); }
    18% { opacity: 0.70; }
    100% { opacity: 0; transform: translate(128px, 120px) scale(1.05); }
}

@keyframes deckSparkG {
    0% { opacity: 0; transform: translate(-8px, -118px) scale(0.42); }
    18% { opacity: 0.58; }
    100% { opacity: 0; transform: translate(-8px, -158px) scale(0.95); }
}

@keyframes deckSparkH {
    0% { opacity: 0; transform: translate(0, 116px) scale(0.42); }
    18% { opacity: 0.62; }
    100% { opacity: 0; transform: translate(0, 166px) scale(0.95); }
}

@keyframes premiumCardFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateZ(0deg);
    }

    50% {
        transform: translateY(-7px) rotateX(1.2deg) rotateZ(0.35deg);
    }
}

@keyframes auraPulse {
    0%, 100% {
        opacity: 0.42;
        transform: translateY(11px) scale(0.98);
    }

    50% {
        opacity: 0.62;
        transform: translateY(5px) scale(1.025);
    }
}

@keyframes ritualLinePulse {
    0%, 100% {
        opacity: 0.72;
        transform: translateX(-50%) scaleX(0.94);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

        @keyframes ambientBreath {
            0%, 100% { opacity: 0.78; }
            50% { opacity: 0.96; }
        }

        @keyframes atmosphereMove {
            0% { transform: translate3d(-1.5%, 0, 0); }
            100% { transform: translate3d(1.5%, -1%, 0); }
        }

        @keyframes particleDrift {
            0% { background-position: 0 0, 80px 120px; }
            100% { background-position: 26px -34px, 54px 160px; }
        }

        @keyframes kartsElpaA {
            0%, 100% { transform: translateY(0px) rotate(-1deg); }
            50% { transform: translateY(-8px) rotate(0deg); }
        }

        @keyframes kartsElpaB {
            0%, 100% { transform: translateY(-4px) rotate(1deg); }
            50% { transform: translateY(4px) rotate(-0.5deg); }
        }

        @keyframes kartsElpaC {
            0%, 100% { transform: translateY(2px) rotate(0deg); }
            50% { transform: translateY(-7px) rotate(1.2deg); }
        }
		
		@keyframes startCardFloatOne {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateZ(0deg);
    }

    50% {
        transform: translateY(-7px) rotateX(1.2deg) rotateZ(0.25deg);
    }
}

@keyframes startAuraBreathOne {
    0%, 100% {
        opacity: 0.48;
        transform: translateY(10px) scale(0.98);
    }

    50% {
        opacity: 0.70;
        transform: translateY(4px) scale(1.025);
    }
}

@keyframes startRitualGlowOne {
    0%, 100% {
        opacity: 0.92;
    }

    50% {
        opacity: 1;
    }
}

@keyframes startRitualHaloOne {
    0%, 100% {
        opacity: 0.62;
        transform: translate(-50%, -50%) scale(0.94);
    }

    50% {
        opacity: 0.96;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

@keyframes startUnderlineOne {
    0%, 100% {
        opacity: 0.72;
        transform: translateX(-50%) scaleX(0.96);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

@media (min-width: 1024px) {
    .three-cards-mode .card-wrapper {
        width: 190px !important;
        height: 285px !important;
    }

    .three-cards-mode {
        max-width: 720px !important;
        gap: 34px !important;
    }
}

@media (max-width: 767px) {
    .three-cards-mode {
        width: 100% !important;
        max-width: 330px !important;
        flex-wrap: wrap !important;
        gap: 16px 14px !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 5px auto !important;
    }

    .three-cards-mode .card-wrapper {
        width: 143px !important;
        height: 214px !important;
        flex: 0 0 143px !important;
    }

    .three-cards-mode .card-wrapper:has(.card-inner.flipped) {
        width: 190px !important;
        height: 285px !important;
        flex: 0 0 190px !important;
    }
}

.cosmo-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 300;
    overflow: hidden;
    isolation: isolate;

    width: min(calc(100vw - 42px), 470px);
    min-height: 64px;
    padding: 7px 10px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom-color: rgba(255, 255, 255, 0.04);

    background:
        radial-gradient(circle at 18% 0%, rgba(255,255,255,0.30), transparent 34%),
        radial-gradient(circle at 86% 120%, rgba(248,221,160,0.10), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06) 34%, rgba(18,20,30,0.64) 78%, rgba(18,20,30,0.54)),
        rgba(28, 30, 38, 0.64);

    backdrop-filter: blur(2.5px) saturate(2.15) contrast(1.28);
    -webkit-backdrop-filter: blur(2.5px) saturate(2.15) contrast(1.28);

    box-shadow:
        0 18px 42px rgba(0,0,0,0.28),
        0 0 14px rgba(255,232,184,0.035),
        inset 0 1px 0 rgba(255,255,255,0.30),
        inset 0 -12px 18px rgba(255,255,255,0.035),
        inset 0 -18px 22px rgba(0,0,0,0.035),
        inset 0 0 12px rgba(255,255,255,0.04);
}

.cosmo-bottom-nav::before,
.cosmo-bottom-nav::after {
    display: none;
}

.cosmo-nav-item {
    position: relative;
    z-index: 1;

    flex: 1 1 0;
    min-width: 0;
    height: 50px;
    padding: 5px 3px 4px;

    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    cursor: pointer;
    font-family: 'Cinzel', serif;
    color: rgba(255, 241, 184, 0.86);
}

.nav-icon {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
    opacity: 0.90;

    filter:
        drop-shadow(0 1px 2px rgba(0,0,0,0.42))
        drop-shadow(0 0 3px rgba(255,241,184,0.08));
}

.cosmo-nav-item small {
    max-width: 100%;
    font-size: 0.60rem;
    line-height: 1;
    letter-spacing: 0.18px;
    font-weight: 500;

    color: rgba(255, 241, 184, 0.84);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-shadow:
        0 1px 3px rgba(0,0,0,0.76),
        0 0 5px rgba(255,241,184,0.08);
}

.cosmo-nav-item.active {
    color: #fff1b8 !important;

    background:
        radial-gradient(ellipse at 30% 18%, rgba(255,255,255,0.34), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.065) 48%, transparent 82%),
        rgba(255, 241, 184, 0.06) !important;

    border: none !important;
    outline: none !important;

    box-shadow:
        0 0 14px rgba(255,241,184,0.14),
        inset 0 1px 0 rgba(255,255,255,0.26) !important;
}

.cosmo-nav-item.active::before,
.cosmo-nav-item.active::after {
    display: none;
}

.cosmo-nav-item.active .nav-icon {
    opacity: 1;

    filter:
        drop-shadow(0 1px 2px rgba(0,0,0,0.40))
        drop-shadow(0 0 5px rgba(255,241,184,0.18));
}

.cosmo-nav-item.active small {
    color: #fff1b8;
    text-shadow:
        0 1px 3px rgba(0,0,0,0.70),
        0 0 5px rgba(255,241,184,0.16);
}

body {
    padding-bottom: 140px;
}
@media (max-width: 430px) {
    .cosmo-bottom-nav {
        bottom: 13px;
        width: calc(100vw - 28px);
        min-height: 62px;
        padding: 7px 8px;
        gap: 2px;
    }

    .cosmo-nav-item {
        height: 48px;
        padding: 4px 2px 3px;
        gap: 4px;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
    }

    .cosmo-nav-item small {
        font-size: 0.58rem;
        letter-spacing: 0.12px;
    }

    body {
        padding-bottom: 130px;
    }
}
@media (max-width: 430px) {
    .cosmo-bottom-nav {
        bottom: 13px;
        width: calc(100vw - 28px);
        min-height: 62px;
        padding: 7px 8px;
        gap: 2px;
    }

    .cosmo-bottom-nav::after {
        left: 8%;
        right: 8%;
        bottom: 2px;
        height: 12px;
        opacity: 0.28;
    }

    .cosmo-nav-item {
        height: 48px;
        padding: 4px 2px 3px;
        gap: 4px;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
    }

    .cosmo-nav-item small {
        font-size: 0.58rem;
        letter-spacing: 0.12px;
    }

    body {
        padding-bottom: 130px;
    }
}

.guide-screen {
    display: none;
    width: 100%;
    max-width: 720px;
    padding: 10px 16px 42px;
    box-sizing: border-box;
    z-index: 10;
}

.guide-shell { width: 100%; }

.guide-title-block {
    margin: 6px 0 20px;
    text-align: center;
}

.guide-kicker,
.guide-section-heading span,
.guide-card-topline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255,241,184,0.72);
}

.guide-title-block h2 {
    margin: 7px 0 0;
    font-family: 'Cinzel', serif;
    font-size: 1.82rem;
    font-weight: 500;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    color: rgba(255,250,236,0.98);
    text-shadow: 0 2px 14px rgba(0,0,0,0.62), 0 0 22px rgba(216,184,106,0.18);
}

.guide-glass-card {
    margin: 0 0 17px;
    padding: 20px 18px;
    border: 1px solid rgba(246,244,239,0.014);
    border-top-color: rgba(255,253,248,0.07);
    border-bottom-color: rgba(198,184,166,0.010);
    border-radius: 21px;
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.38), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.20), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.72) 0%, rgba(229,233,235,0.50) 42%, rgba(207,220,232,0.42) 72%, rgba(191,211,230,0.35) 100%),
        rgba(218,227,236,0.20);
    backdrop-filter: blur(4px) brightness(1.10) saturate(0.98);
    -webkit-backdrop-filter: blur(4px) brightness(1.10) saturate(0.98);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.46),
        inset 2px 0 0 rgba(255,248,232,0.27),
        inset -2px 0 0 rgba(229,237,242,0.17),
        inset 0 -1px 0 rgba(181,155,119,0.055),
        inset 0 10px 28px rgba(255,250,239,0.085),
        inset 0 0 46px rgba(255,248,232,0.11),
        0 16px 31px rgba(20,38,68,0.19),
        0 0 40px rgba(240,224,194,0.11);
    color: rgba(48,34,23,0.96);
}

.guide-today-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 22px 20px 20px;
}

.guide-today-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 24% 3%, rgba(255,249,232,0.58), transparent 30%),
        radial-gradient(ellipse at 82% 7%, rgba(239,245,252,0.27), transparent 40%),
        radial-gradient(ellipse at 76% 72%, rgba(231,211,178,0.15), transparent 48%),
        linear-gradient(180deg, rgba(255,253,247,0.19), transparent 17%, transparent 82%, rgba(214,226,238,0.05)),
        linear-gradient(90deg, rgba(255,252,245,0.18), transparent 21%, transparent 78%, rgba(235,239,242,0.13));
}

.guide-today-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.34;
    background:
        radial-gradient(circle at 19% 13%, rgba(255,246,211,0.60) 0 0.75px, transparent 1.7px),
        radial-gradient(circle at 76% 10%, rgba(255,252,242,0.56) 0 0.75px, transparent 1.7px),
        radial-gradient(circle at 89% 28%, rgba(242,246,248,0.46) 0 0.65px, transparent 1.5px),
        radial-gradient(circle at 67% 36%, rgba(255,239,195,0.40) 0 0.65px, transparent 1.4px),
        radial-gradient(circle at 34% 30%, rgba(255,248,223,0.36) 0 0.6px, transparent 1.35px),
        radial-gradient(circle at 83% 57%, rgba(246,247,240,0.34) 0 0.6px, transparent 1.35px),
        radial-gradient(circle at 27% 71%, rgba(255,241,204,0.30) 0 0.55px, transparent 1.3px),
        radial-gradient(circle at 59% 84%, rgba(239,244,246,0.28) 0 0.55px, transparent 1.3px);
    animation: guideCelestialDrift 13s ease-in-out infinite alternate;
}

@keyframes guideCelestialDrift {
    from { transform: translate3d(0, 0, 0); opacity: 0.18; }
    to { transform: translate3d(0, -5px, 0); opacity: 0.28; }
}

.guide-today-card > * {
    position: relative;
    z-index: 1;
}

.guide-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(91,68,45,0.78);
}

.guide-daily-card-layout {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.guide-daily-card-layout::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 50%;
    width: 218px;
    height: 292px;
    z-index: 0;
    pointer-events: none;
    transform: translateY(-50%);
    border-radius: 48%;
    background:
        radial-gradient(ellipse at center, rgba(255,248,224,0.28) 0%, rgba(244,232,203,0.17) 34%, rgba(225,232,237,0.08) 56%, transparent 76%);
    filter: blur(18px);
    opacity: 0.82;
}

.guide-daily-card-layout > * {
    position: relative;
    z-index: 1;
}

.guide-card-image-frame {
    width: 150px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid rgba(255,238,196,0.88);
    border-radius: 13px;
    background: rgba(255,248,232,0.10);
    box-shadow:
        0 20px 32px rgba(24,31,48,0.30),
        0 5px 10px rgba(35,23,13,0.16),
        0 0 0 1px rgba(216,184,106,0.20),
        0 0 38px rgba(255,245,213,0.16),
        0 0 76px rgba(232,216,174,0.10);
}

.guide-card-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-card-image-frame img.reversed { transform: rotate(180deg); }
.guide-daily-card-info { min-width: 0; }

.guide-daily-card-info h3,
.guide-section-heading h3,
.journal-sheet-head h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: rgba(48,32,20,0.98);
    text-shadow: 0 1px 0 rgba(255,255,255,0.62);
}

.guide-daily-card-info h3 {
    font-size: 1.45rem;
    line-height: 1.18;
    letter-spacing: 2.35px;
    color: rgba(48,30,19,1);
    text-shadow: 0 1px 0 rgba(255,248,225,0.46);
}

.guide-daily-card-info p {
    margin: 9px 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.48px;
    color: rgba(119,72,31,1);
}

.guide-primary-btn,
.guide-soft-btn {
    min-height: 38px;
    border: 1px solid rgba(255,253,246,0.34);
    border-radius: 11px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 650;
    letter-spacing: 0.74px;
    color: rgba(58,39,22,0.98);
    background: linear-gradient(180deg, rgba(252,251,246,0.86), rgba(215,226,237,0.56));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), inset 0 -1px 0 rgba(203,180,143,0.14), 0 6px 12px rgba(38,56,79,0.14);
    transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.guide-primary-btn:active,
.guide-soft-btn:active { transform: scale(0.985); }

.guide-read-card-btn {
    width: auto;
    margin-top: 15px;
    padding: 9px 13px;
    font-size: 0.61rem;
}

.guide-entry-preview { display: none; }

.guide-journal-inline {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(169,145,101,0.34);
}

.guide-journal-inline h4 {
    margin: 0 0 7px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 1.18px;
    color: rgba(48,32,20,0.98);
}

.guide-journal-label {
    display: block;
    margin: 0 0 12px;
    font-size: 0.60rem;
    font-weight: 600;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: rgba(101,69,39,0.92);
}

#dailyJournalText,
#dailyJournalTextModal {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.guide-journal-inline #dailyJournalText {
    min-height: 168px;
    padding: 31px 29px;
    border: 1px solid rgba(233,239,240,0.16);
    border-top-color: rgba(255,252,243,0.30);
    border-left-color: rgba(245,247,242,0.24);
    border-right-color: rgba(180,196,203,0.10);
    border-bottom-color: rgba(163,177,184,0.08);
    border-radius: 7px 15px 12px 5px;
    background:
        radial-gradient(ellipse at 46% 44%, rgba(190,198,199,0.49) 0%, rgba(181,192,196,0.39) 62%, rgba(177,190,195,0.22) 88%, rgba(174,188,194,0.15) 100%),
        radial-gradient(ellipse at 18% 10%, rgba(252,247,235,0.14), transparent 58%),
        radial-gradient(ellipse at 84% 88%, rgba(212,221,223,0.10), transparent 56%),
        linear-gradient(118deg, transparent 0%, rgba(248,242,228,0.036) 28%, transparent 54%);
    color: rgba(48,37,29,0.98);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.7;
    box-shadow:
        inset 1px 1px 0 rgba(255,252,243,0.16),
        inset 8px 0 20px rgba(241,246,245,0.045),
        inset 0 10px 22px rgba(247,242,230,0.04),
        inset -10px -8px 24px rgba(61,80,94,0.07),
        inset 0 18px 34px rgba(48,67,85,0.10),
        0 0 12px rgba(236,229,211,0.045);
}

.guide-journal-inline #dailyJournalText::placeholder {
    color: rgba(76,59,45,0.76);
    font-style: italic;
    opacity: 1;
}

.guide-journal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.guide-journal-inline .guide-primary-btn {
    display: block;
    width: auto;
    margin: 0 !important;
    padding: 8px 15px;
    font-size: 0.67rem;
}

.guide-save-feedback {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px 4px;
    border: 1px solid rgba(232,241,237,0.22);
    border-top-color: rgba(255,255,248,0.46);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(241,246,239,0.52), rgba(198,218,216,0.34)),
        rgba(218,231,228,0.20);
    color: rgba(59,79,67,0.92);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.44px;
    line-height: 1;
    opacity: 0;
    transform: translateY(3px);
    pointer-events: none;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,248,0.46),
        0 4px 10px rgba(39,63,63,0.08);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.guide-save-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.guide-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.guide-section-heading span {
    display: block;
    margin-bottom: 6px;
    color: rgba(86,65,46,0.90);
    font-weight: 500;
}

.guide-section-heading h3 {
    font-size: 1.10rem;
    line-height: 1.28;
    letter-spacing: 1.30px;
    color: rgba(48,32,20,1);
}

.guide-calendar-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 2px;
}

.guide-calendar-nav-btn,
.guide-calendar-today-btn {
    border: 1px solid rgba(238,244,244,0.25);
    border-top-color: rgba(255,255,250,0.54);
    border-left-color: rgba(250,253,250,0.34);
    border-right-color: rgba(129,155,171,0.16);
    border-bottom-color: rgba(107,135,153,0.14);
    background:
        linear-gradient(145deg, rgba(248,249,245,0.52), rgba(197,216,228,0.30)),
        rgba(218,227,236,0.18);
    color: rgba(64,48,35,0.94);
    cursor: pointer;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.48),
        inset -1px -1px 0 rgba(90,120,139,0.10),
        0 4px 9px rgba(28,45,65,0.07);
}

.guide-calendar-nav-btn {
    width: 32px;
    height: 32px;
    padding: 0 0 3px;
    border-radius: 9px;
    font-family: Georgia, serif;
    font-size: 1.32rem;
    line-height: 1;
}

.guide-calendar-today-btn {
    min-height: 32px;
    padding: 7px 10px 6px;
    border-radius: 9px;
    font-family: 'Cinzel', serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.48px;
}

.guide-calendar-nav-btn:active,
.guide-calendar-today-btn:active {
    transform: scale(0.97);
}
.guide-week-row,
.guide-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.guide-week-row {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    gap: 7px;
    margin-bottom: 11px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(172,133,79,0.16);
}

.guide-week-row span {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(82,65,50,0.74);
}

.guide-calendar { gap: 8px; }

.guide-calendar-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    margin: 15px auto 0;
    padding-top: 11px;
    border-top: 1px solid rgba(140,163,172,0.20);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.61rem;
    font-weight: 600;
    line-height: 1.48;
    letter-spacing: 0.46px;
    color: rgba(54,43,35,0.92);
    text-shadow: 0 1px 0 rgba(255,255,250,0.42);
}

.guide-calendar-legend-mark {
    flex: 0 0 auto;
    width: 29px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(186,112,120,0.74) 22%, rgba(224,145,147,0.96) 52%, rgba(171,93,105,0.70) 80%, transparent);
    box-shadow: 0 0 5px rgba(198,119,126,0.20);
}
.guide-day, .guide-empty-day { aspect-ratio: 0.92; }

.guide-day {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    padding: 9px 0 0 10px;
    border: 1px solid rgba(228,239,244,0.34);
    border-top-color: rgba(255,255,250,0.58);
    border-left-color: rgba(252,253,249,0.46);
    border-right-color: rgba(128,155,174,0.26);
    border-bottom-color: rgba(100,128,149,0.22);
    border-radius: 6px;
    clip-path: polygon(0 5px, 5px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px));
    background:
        radial-gradient(ellipse at 22% 8%, rgba(255,255,250,0.26), transparent 38%),
        linear-gradient(132deg, rgba(255,255,250,0.49) 0%, rgba(255,255,250,0.16) 21%, transparent 43%),
        linear-gradient(315deg, rgba(88,127,155,0.20), transparent 46%),
        linear-gradient(168deg, rgba(231,241,247,0.24) 0%, rgba(192,213,227,0.15) 54%, rgba(160,187,206,0.13) 100%);
    color: rgba(61,49,40,0.94);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.50),
        inset 3px 0 7px rgba(252,252,246,0.17),
        inset -1px -1px 0 rgba(77,112,137,0.22),
        inset 0 -7px 12px rgba(75,113,141,0.09),
        0 5px 11px rgba(24,43,67,0.11),
        0 0 11px rgba(231,243,247,0.08);
}

.guide-day.is-openable {
    cursor: pointer;
}

.guide-day.is-openable:hover,
.guide-day.selected {
    border-top-color: rgba(255,255,248,0.74);
    border-left-color: rgba(250,252,247,0.58);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.62),
        inset 3px 0 7px rgba(252,252,246,0.17),
        inset -1px -1px 0 rgba(77,112,137,0.20),
        0 6px 13px rgba(24,43,67,0.13),
        0 0 13px rgba(231,243,247,0.11);
}

.guide-day.upcoming {
    cursor: default;
    opacity: 0.70;
}
.guide-day::before {
    content: "";
    position: absolute;
    inset: 2px;
    pointer-events: none;
    border-radius: 3px;
    clip-path: polygon(0 4px, 4px 0, 58% 0, 35% 30%, 0 54%);
    background: linear-gradient(135deg, rgba(255,255,250,0.26), rgba(255,255,250,0.025) 72%, transparent);
}

.guide-day::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 48%;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(315deg, rgba(80,118,145,0.12), transparent 76%);
}

.guide-day.today {
    border-color: rgba(205,174,118,0.62);
    border-top-color: rgba(255,255,245,0.98);
    border-left-color: rgba(255,244,216,0.90);
    border-right-color: rgba(176,137,75,0.42);
    border-bottom-color: rgba(143,104,52,0.38);
    background:
        radial-gradient(ellipse at 30% 18%, rgba(255,255,246,0.94), transparent 48%),
        radial-gradient(ellipse at 72% 78%, rgba(205,171,105,0.24), transparent 56%),
        linear-gradient(145deg, rgba(250,241,214,0.72), rgba(216,190,139,0.38));
    color: rgba(60,37,17,1);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,245,0.74);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,248,1),
        inset 3px 0 8px rgba(255,249,226,0.38),
        inset -1px -1px 0 rgba(140,99,46,0.26),
        inset 0 -7px 14px rgba(170,124,59,0.11),
        0 6px 14px rgba(113,78,35,0.18),
        0 0 20px rgba(244,222,175,0.24),
        0 0 32px rgba(235,214,171,0.12);
    filter: drop-shadow(0 0 7px rgba(244,222,175,0.14));
}

.guide-day.today::before {
    background: linear-gradient(135deg, rgba(255,255,248,0.40), rgba(255,249,226,0.06) 72%, transparent);
}

.guide-day-number {
    position: relative;
    z-index: 2;
}

.guide-day-status {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 4px;
    height: 3px;
    z-index: 2;
    border-radius: 999px;
    pointer-events: none;
}

.guide-day-status.done {
    background: linear-gradient(90deg, transparent, rgba(154,185,147,0.76) 24%, rgba(205,218,180,0.92) 52%, rgba(132,167,139,0.68) 78%, transparent);
    box-shadow: 0 0 5px rgba(168,195,153,0.22);
}

.guide-day-status.missing {
    background: linear-gradient(90deg, transparent, rgba(186,112,120,0.70) 22%, rgba(224,145,147,0.92) 52%, rgba(171,93,105,0.66) 80%, transparent);
    box-shadow: 0 0 5px rgba(198,119,126,0.22);
}

.guide-day-status.upcoming {
    background: transparent;
    box-shadow: none;
}
.guide-insight-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 4px 0 17px;
}

.guide-insight-btn {
    position: relative;
    width: 100%;
    min-height: 54px;
    padding: 14px 48px 13px 17px;
    border: 1px solid rgba(237,245,247,0.22);
    border-top-color: rgba(255,255,251,0.54);
    border-left-color: rgba(250,253,251,0.34);
    border-right-color: rgba(132,157,172,0.16);
    border-bottom-color: rgba(102,130,148,0.14);
    border-radius: 12px;
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.38), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.20), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.72) 0%, rgba(229,233,235,0.50) 42%, rgba(207,220,232,0.42) 72%, rgba(191,211,230,0.35) 100%),
        rgba(218,227,236,0.20);
    backdrop-filter: blur(4px) brightness(1.10) saturate(0.98);
    -webkit-backdrop-filter: blur(4px) brightness(1.10) saturate(0.98);
    color: rgba(42,32,25,0.98);
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.56px;
    line-height: 1.35;
    text-align: left;
    text-shadow: none;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.56),
        inset -1px -1px 0 rgba(89,119,138,0.12),
        0 5px 12px rgba(25,43,65,0.08);
    transition: transform 0.18s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.guide-insight-btn::before {
    content: "";
    position: absolute;
    left: 17px;
    right: 48px;
    bottom: 10px;
    height: 1px;
    background: linear-gradient(90deg, rgba(178,146,98,0.42), rgba(229,210,170,0.16), transparent);
}

.guide-insight-btn::after {
    content: "+";
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-52%);
    color: rgba(118,87,50,0.90);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.08rem;
    font-weight: 400;
}

.guide-insight-btn.active {
    border-top-color: rgba(255,253,241,0.78);
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,252,238,0.48), transparent 40%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.23), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.78) 0%, rgba(231,235,236,0.56) 42%, rgba(208,221,231,0.46) 72%, rgba(194,213,230,0.40) 100%),
        rgba(218,227,236,0.24);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,248,0.72),
        inset -1px -1px 0 rgba(113,134,145,0.14),
        0 7px 16px rgba(31,48,65,0.10),
        0 0 15px rgba(230,217,185,0.08);
}

.guide-insight-btn.active::after { content: "−"; }

.guide-insight-panel { display: none; }
.guide-insight-panel.is-open { display: block; }
.guide-top-card {
    padding: 15px 0;
    border-top: 1px solid rgba(151,116,73,0.18);
}

.guide-top-card:first-child {
    padding-top: 0;
    border-top: none;
}

.guide-top-card h4 {
    margin: 0 0 7px;
    font-family: 'Cinzel', serif;
    font-size: 0.97rem;
    letter-spacing: 1.20px;
    color: rgba(47,31,20,0.98);
}

.guide-top-card p,
.guide-muted-text,
.guide-lesson-text {
    margin: 0 0 12px;
    font-size: 0.83rem;
    line-height: 1.62;
    color: rgba(61,49,39,0.90);
}

.guide-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.guide-top-card .guide-soft-btn {
    min-height: auto;
    padding: 8px 2px 7px;
    border: none;
    border-bottom: 1px solid rgba(154,112,57,0.52);
    border-radius: 0;
    background: transparent;
    font-size: 0.63rem;
    letter-spacing: 0.72px;
    box-shadow: none;
}

.journal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 450;
    align-items: center;
    justify-content: center;
    padding: 22px;
    box-sizing: border-box;
    background: rgba(4,8,20,0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.journal-sheet {
    width: min(100%, 490px);
    padding: 24px 22px 20px;
    border: 1px solid rgba(239,245,245,0.18);
    border-top-color: rgba(255,255,250,0.58);
    border-left-color: rgba(251,253,249,0.38);
    border-right-color: rgba(131,158,175,0.15);
    border-bottom-color: rgba(105,132,150,0.12);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.40), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.16), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.82) 0%, rgba(229,233,235,0.66) 44%, rgba(204,220,232,0.57) 100%),
        rgba(218,227,236,0.42);
    backdrop-filter: blur(12px) brightness(1.06) saturate(0.98);
    -webkit-backdrop-filter: blur(12px) brightness(1.06) saturate(0.98);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.64),
        inset -1px -1px 0 rgba(99,129,148,0.12),
        0 24px 58px rgba(4,10,22,0.34),
        0 0 24px rgba(223,233,238,0.08);
    color: rgba(43,36,29,0.94);
}

.journal-sheet-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 17px;
}

.journal-sheet-head span {
    display: block;
    margin-bottom: 7px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 1.42px;
    text-transform: uppercase;
    color: rgba(93,72,53,0.72);
}

.journal-sheet-head h3 {
    font-size: 1.20rem;
    line-height: 1.24;
    letter-spacing: 1.06px;
    color: rgba(49,34,23,0.98);
    text-shadow: none;
}

.journal-close-btn {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid rgba(240,244,241,0.30);
    border-top-color: rgba(255,255,250,0.56);
    border-left-color: rgba(250,252,248,0.40);
    border-right-color: rgba(132,155,168,0.16);
    border-bottom-color: rgba(111,135,149,0.14);
    border-radius: 50%;
    background: rgba(228,236,240,0.34);
    color: rgba(63,49,39,0.82);
    cursor: pointer;
    font-size: 1.20rem;
    line-height: 1;
    box-shadow: inset 1px 1px 0 rgba(255,255,250,0.42);
}

#dailyJournalTextModal {
    min-height: 190px;
    padding: 22px 21px;
    border: 1px solid rgba(230,239,241,0.16);
    border-top-color: rgba(255,252,243,0.30);
    border-left-color: rgba(245,247,242,0.22);
    border-right-color: rgba(175,194,203,0.10);
    border-bottom-color: rgba(156,176,186,0.08);
    border-radius: 7px 15px 12px 6px;
    background:
        radial-gradient(ellipse at 46% 44%, rgba(190,198,199,0.34) 0%, rgba(181,192,196,0.26) 64%, rgba(174,188,194,0.14) 100%),
        radial-gradient(ellipse at 18% 10%, rgba(252,247,235,0.12), transparent 58%),
        linear-gradient(118deg, transparent 0%, rgba(248,242,228,0.034) 28%, transparent 54%);
    color: rgba(48,37,29,0.98);
    font-size: 0.94rem;
    line-height: 1.68;
    box-shadow:
        inset 1px 1px 0 rgba(255,252,243,0.15),
        inset -10px -8px 24px rgba(61,80,94,0.055),
        inset 0 16px 30px rgba(48,67,85,0.07);
}

#dailyJournalTextModal::placeholder {
    color: rgba(74,64,56,0.68);
    font-style: italic;
}

.journal-sheet > .guide-primary-btn {
    display: block;
    width: auto;
    min-height: 38px;
    margin: 16px 0 0 auto;
    padding: 10px 16px 9px;
    font-size: 0.70rem;
}
@media (max-width: 430px) {
    .guide-screen { padding: 4px 14px 36px; }

    .guide-calendar,
    .guide-week-row {
        max-width: none;
    }
    .guide-title-block h2 { font-size: 1.62rem; }

    .guide-today-card {
        padding: 17px 15px 18px;
        border-radius: 23px;
    }

    .guide-card-topline {
        gap: 8px;
        margin-bottom: 17px;
        font-size: 0.56rem;
        letter-spacing: 1.18px;
    }

    .guide-daily-card-layout {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 16px;
    }

    .guide-card-image-frame {
        width: 116px;
        border-radius: 11px;
    }

    .guide-daily-card-info h3 {
        font-size: 1.22rem;
        line-height: 1.16;
        letter-spacing: 2.15px;
    }

    .guide-daily-card-info p {
        margin-top: 9px;
        font-size: 0.72rem;
    }

    .guide-read-card-btn {
        min-height: 33px;
        margin-top: 15px;
        padding: 8px 11px;
        font-size: 0.60rem;
    }

    .guide-journal-inline {
        margin-top: 18px;
        padding-top: 17px;
    }

    .guide-journal-inline #dailyJournalText { min-height: 162px; }

    .guide-journal-inline .guide-primary-btn {
        min-height: 33px;
        margin: 0 !important;
        padding: 8px 14px;
        font-size: 0.61rem;
    }
    .guide-glass-card:not(.guide-today-card) {
        padding: 17px 14px;
        border-radius: 19px;
    }

    #guideThemePanel.guide-premium-section,
    #guideCardsPanel.guide-premium-section,
    #guideLessonsPanel.guide-premium-section,
    #guideLongTermPanel.guide-premium-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    #guideThemePanel .guide-premium-reading,
    #guideLessonsPanel .guide-premium-reading,
    #guideLongTermPanel .guide-premium-reading,
    #guideCardsPanel .guide-top-card p,
    #guideCardsPanel .guide-muted-text,
    #guideLessonsPanel .guide-muted-text,
    #guideLongTermPanel .guide-muted-text {
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* CEĻVEŽA PREMIUM IEKŠĒJĀ SISTĒMA
   Jaunām Ceļveža sadaļām lietot:
   .guide-premium-section  - ārējais sadaļas stikls un virsrakstu hierarhija
   .guide-premium-accent   - galvenais izcēlums ar champagne malu
   .guide-premium-stats    - atvērtas datu rindas bez UI kastes sajūtas
   .guide-premium-reading  - salasāms teksta slānis ar maigām izzūdošām malām
*/
.guide-premium-section {
    --guide-premium-ink: rgba(54, 49, 44, 0.88);
    --guide-premium-title: rgba(51, 39, 30, 1);
    --guide-premium-gold: rgba(203, 166, 102, 0.78);
    --guide-premium-gold-strong: rgba(139, 95, 42, 1);
    --guide-premium-line: rgba(163, 132, 86, 0.24);
    --guide-premium-pearl: rgba(255, 254, 250, 0.46);
}
.guide-premium-section .guide-section-heading span {
    color: rgba(123, 96, 59, 0.98);
}

.guide-premium-section .guide-section-heading h3 {
    color: var(--guide-premium-title);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

.guide-premium-accent {
    margin: 6px 0 12px;
    padding: 8px 0 12px 16px;
    border-left: 2px solid var(--guide-premium-gold);
    border-bottom: 1px solid rgba(174, 157, 132, 0.24);
    background: transparent;
}

.guide-premium-accent span {
    display: block;
    margin-bottom: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: rgba(138, 100, 52, 0.98);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
}

.guide-premium-accent strong {
    display: block;
    width: fit-content;
    font-family: 'Cinzel', serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 1.35px;
    color: rgba(74, 53, 34, 1);
    background: linear-gradient(95deg, rgba(104, 72, 36, 1), rgba(167, 132, 73, 1) 46%, rgba(102, 91, 78, 1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.guide-premium-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    margin: 0 0 10px;
    padding: 0 0 14px 16px;
    border: none;
    border-bottom: 1px solid var(--guide-premium-line);
    background: transparent;
}

.guide-premium-stats div {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "name count"
        "percentage percentage";
    justify-content: start;
    align-items: baseline;
    column-gap: 9px;
    row-gap: 4px;
    min-width: min(100%, 152px);
    padding: 6px 14px 7px 12px;
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
}

.guide-premium-stats div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(211, 178, 117, 0.72), rgba(211, 178, 117, 0.10));
}

.guide-premium-stats span {
    grid-area: name;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(60, 50, 41, 0.90);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
}

.guide-premium-stats strong {
    grid-area: count;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(132, 91, 42, 0.94);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.guide-premium-stats em {
    grid-area: percentage;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.70rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.70px;
    color: rgba(132, 91, 42, 0.88);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.20);
}

.guide-premium-reading {
    width: 100%;
    max-width: none;
    margin: 16px auto 0;
    padding: 18px 18px 19px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255,254,250,0.18), rgba(235,240,241,0.30) 50%, rgba(255,254,250,0.18)),
        rgba(226, 233, 236, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        inset 0 -1px 0 rgba(112,132,146,0.05);
    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.99rem;
    font-weight: 450;
    line-height: 1.72;
    letter-spacing: 0.01em;
    color: rgba(43, 36, 29, 0.94);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
}

/* ATKĀRTOJOŠĀS MĀCĪBAS */
.guide-repeating-lessons .guide-muted-text {
    margin-bottom: 0;
}

.guide-repeating-lesson + .guide-repeating-lesson {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--guide-premium-line);
}

.guide-repeating-lesson-head {
    margin-top: 0;
}

.guide-repeating-lesson-head em {
    display: block;
    margin-top: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.78px;
    color: rgba(135, 90, 42, 0.98);
    text-transform: uppercase;
}

.guide-repeating-lesson .guide-premium-reading {
    margin-top: 12px;
}
/* 30 DIENU KOPSAVILKUMA IEVADS UN PROGRESS */
.guide-summary-intro {
    margin: -2px 0 15px;
    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-style: italic;
    font-weight: 450;
    line-height: 1.62;
    color: rgba(58, 51, 45, 0.78);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.guide-summary-progress-host:empty { display: none; }

.guide-summary-progress {
    margin: 2px 0 4px;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(190, 160, 111, 0.22);
}

.guide-summary-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 9px;
}

.guide-summary-progress-head span,
.guide-summary-progress small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.72px;
    color: rgba(91, 75, 58, 0.76);
}

.guide-summary-progress-head strong {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.72px;
    color: rgba(132, 91, 42, 0.92);
    white-space: nowrap;
}

.guide-summary-progress-track {
    height: 2px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(108, 129, 139, 0.18);
}

.guide-summary-progress-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(164, 135, 88, 0.54), rgba(223, 197, 143, 0.92));
    box-shadow: 0 0 6px rgba(211, 178, 117, 0.20);
}
/* CEĻVEŽA IERAKSTU APSKATE */
.guide-records-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 520;
    align-items: center;
    justify-content: center;
    padding: 22px;
    box-sizing: border-box;
    background: rgba(4, 8, 20, 0.56);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.guide-records-sheet {
    width: min(100%, 540px);
    max-height: min(76vh, 680px);
    display: flex;
    flex-direction: column;
    padding: 24px 22px 20px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(239, 245, 245, 0.18);
    border-top-color: rgba(255, 255, 250, 0.62);
    border-left-color: rgba(251, 253, 249, 0.38);
    border-right-color: rgba(131, 158, 175, 0.14);
    border-bottom-color: rgba(105, 132, 150, 0.10);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255, 250, 239, 0.42), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241, 220, 183, 0.14), transparent 44%),
        linear-gradient(155deg, rgba(252, 250, 246, 0.88) 0%, rgba(229, 233, 235, 0.74) 44%, rgba(204, 220, 232, 0.66) 100%),
        rgba(218, 227, 236, 0.48);
    backdrop-filter: blur(14px) brightness(1.06) saturate(0.98);
    -webkit-backdrop-filter: blur(14px) brightness(1.06) saturate(0.98);
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 250, 0.66),
        inset -1px -1px 0 rgba(99, 129, 148, 0.12),
        0 26px 64px rgba(4, 10, 22, 0.40),
        0 0 28px rgba(223, 233, 238, 0.08);
    color: rgba(43, 36, 29, 0.94);
}

.guide-records-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(163, 132, 86, 0.22);
}

.guide-records-head span {
    display: block;
    margin-bottom: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 1.42px;
    text-transform: uppercase;
    color: rgba(123, 96, 59, 0.88);
}

.guide-records-head h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: 1.28px;
    color: rgba(49, 34, 23, 0.98);
}

.guide-records-head p {
    margin: 7px 0 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(93, 72, 53, 0.78);
}

.guide-records-list {
    margin-top: 2px;
    padding-right: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.guide-record-entry {
    padding: 17px 2px 18px;
    border-bottom: 1px solid rgba(163, 132, 86, 0.20);
}

.guide-record-entry time {
    display: block;
    margin-bottom: 7px;
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.72px;
    color: rgba(125, 84, 39, 0.94);
}

.guide-record-entry p,
.guide-records-empty {
    margin: 0;
    white-space: pre-wrap;
    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.94rem;
    font-weight: 450;
    line-height: 1.66;
    color: rgba(48, 40, 33, 0.92);
}

.guide-records-empty {
    padding: 20px 2px 4px;
}

.guide-repeating-lesson-actions {
    margin-top: 10px;
}

.guide-repeating-lesson-actions .guide-soft-btn {
    width: 100%;
    min-height: auto;
    padding: 8px 2px 7px;
    border: none;
    border-bottom: 1px solid rgba(154, 112, 57, 0.52);
    border-radius: 0;
    background: transparent;
    font-size: 0.63rem;
    letter-spacing: 0.72px;
    box-shadow: none;
}
/* KALENDĀRA DIENAS KĀRTS ATMIŅA */
.journal-card-memory {
    margin: 0 0 15px;
    padding: 11px 0 10px;
    border-top: 1px solid rgba(255, 252, 243, 0.26);
    border-bottom: 1px solid rgba(163, 132, 86, 0.22);
}

.journal-card-memory[hidden] {
    display: none;
}

.journal-card-memory > span {
    display: block;
    margin-bottom: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1.36px;
    text-transform: uppercase;
    color: rgba(123, 96, 59, 0.78);
}

.journal-card-memory div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.journal-card-memory strong {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1.14px;
    color: rgba(66, 45, 29, 0.98);
}

.journal-card-memory em {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.69rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.34px;
    color: rgba(118, 94, 72, 0.76);
}
/* ILGTERMIŅA TENDENCES */
.guide-long-term-block {
    padding: 10px 0 0;
    border-top: 1px solid rgba(163, 132, 86, 0.22);
}

.guide-long-term-block + .guide-long-term-block {
    margin-top: 22px;
}

.guide-long-term-heading {
    margin: 6px 0 12px;
    text-align: center;
}

.guide-long-term-heading span,
.guide-long-term-section h5 {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: rgba(123, 96, 59, 0.88);
}

.guide-long-term-heading h4 {
    margin: 6px 0 0;
    font-family: 'Cinzel', serif;
    font-size: 1.04rem;
    font-weight: 600;
    letter-spacing: 1.12px;
    color: rgba(51, 39, 30, 0.98);
}

.guide-long-term-section {
    margin-top: 16px;
}

.guide-long-term-section + .guide-long-term-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(163, 132, 86, 0.20);
}

.guide-long-term-section h5 {
    margin: 0 0 11px;
}

.guide-long-term-stats {
    gap: 7px 14px;
    margin-bottom: 15px;
}

.guide-long-term-stats div {
    min-width: min(100%, 132px);
}

.guide-long-term-empty {
    margin: 0;
    padding: 4px 0 2px;
}

.guide-long-term-lesson + .guide-long-term-lesson {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(163, 132, 86, 0.20);
}

.guide-long-term-block[hidden] {
    display: none;
}

.guide-long-term-period-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0 6px;
}

.guide-long-term-period-btn {
    min-height: 42px;
    padding: 10px 10px 9px;
    border: 1px solid rgba(239, 245, 245, 0.22);
    border-top-color: rgba(255, 255, 250, 0.58);
    border-left-color: rgba(251, 253, 249, 0.34);
    border-right-color: rgba(132, 157, 172, 0.14);
    border-bottom-color: rgba(102, 130, 148, 0.12);
    border-radius: 11px;
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.34), transparent 42%),
        linear-gradient(155deg, rgba(252,250,246,0.52), rgba(217,228,236,0.32));
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.76px;
    color: rgba(58, 43, 31, 0.90);
    cursor: pointer;
    box-shadow: inset 1px 1px 0 rgba(255,255,250,0.46);
}

.guide-long-term-period-btn.active {
    color: rgba(45, 31, 21, 0.98);
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255,252,238,0.58), transparent 42%),
        linear-gradient(155deg, rgba(255,253,246,0.66), rgba(226,234,239,0.42));
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.70),
        0 6px 14px rgba(27, 45, 62, 0.10);
}

/* ILGTERMIŅA TENDENCES - SADAĻU DALĪJUMS */
.guide-long-term-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 16px;
}

.guide-long-term-tab {
    min-height: 34px;
padding: 7px 8px 6px;
    border: 1px solid rgba(239, 245, 245, 0.22);
    border-top-color: rgba(255, 255, 250, 0.58);
    border-left-color: rgba(251, 253, 249, 0.34);
    border-right-color: rgba(132, 157, 172, 0.14);
    border-bottom-color: rgba(102, 130, 148, 0.12);
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.34), transparent 42%),
        linear-gradient(155deg, rgba(252,250,246,0.50), rgba(217,228,236,0.30));
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.72px;
    color: rgba(58, 43, 31, 0.90);
    cursor: pointer;
    box-shadow: inset 1px 1px 0 rgba(255,255,250,0.46);
}

.guide-long-term-tab.active {
    color: rgba(45, 31, 21, 0.98);
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255,252,238,0.56), transparent 42%),
        linear-gradient(155deg, rgba(255,253,246,0.64), rgba(226,234,239,0.40));
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.68),
        0 6px 14px rgba(27, 45, 62, 0.10);
}

.guide-long-term-detail {
    display: none;
    margin-top: 0;
    padding: 15px 13px 16px;
    border: 1px solid rgba(239,245,245,0.16);
    border-top-color: rgba(255,255,250,0.48);
    border-left-color: rgba(251,253,249,0.30);
    border-radius: 15px;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(255,250,239,0.38), transparent 42%),
        radial-gradient(ellipse at 82% 100%, rgba(214,226,234,0.28), transparent 50%),
        linear-gradient(155deg, rgba(252,250,246,0.60), rgba(224,232,237,0.46) 56%, rgba(210,224,234,0.38));
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.48),
        inset -1px -1px 0 rgba(103,128,145,0.08),
        0 10px 20px rgba(13,26,42,0.10);
}

.guide-long-term-detail.is-open {
    display: block;
}

.guide-long-term-detail .guide-long-term-section {
    margin-top: 0;
}

.guide-long-term-detail .guide-repeating-lesson-head {
    margin-bottom: 12px;
}
/* CEĻVEŽA LASĀMIE KOPSAVILKUMI */
#guideThemePanel.guide-premium-section,
#guideCardsPanel.guide-premium-section,
#guideLessonsPanel.guide-premium-section,
#guideLongTermPanel.guide-premium-section {
    position: relative;
    margin: 0 0 17px;
    padding: 20px 18px;
    border: 1px solid rgba(246,244,239,0.08);
    border-top-color: rgba(255,253,248,0.28);
    border-radius: 21px;
    overflow: hidden;
    color: rgba(48,34,23,0.96);
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.38), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.20), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.72) 0%, rgba(229,233,235,0.50) 42%, rgba(207,220,232,0.42) 72%, rgba(191,211,230,0.35) 100%),
        rgba(218,227,236,0.20) !important;
    -webkit-backdrop-filter: blur(4px) brightness(1.10) saturate(0.98) !important;
    backdrop-filter: blur(4px) brightness(1.10) saturate(0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.46),
        inset 2px 0 0 rgba(255,248,232,0.27),
        inset -2px 0 0 rgba(229,237,242,0.17),
        inset 0 -1px 0 rgba(181,155,119,0.055),
        0 16px 31px rgba(20,38,68,0.19),
        0 0 40px rgba(240,224,194,0.11) !important;
}

#guideThemePanel.guide-premium-section::before,
#guideCardsPanel.guide-premium-section::before,
#guideLessonsPanel.guide-premium-section::before,
#guideLongTermPanel.guide-premium-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 24% 3%, rgba(255,249,232,0.44), transparent 30%),
        radial-gradient(ellipse at 82% 7%, rgba(239,245,252,0.24), transparent 40%),
        linear-gradient(90deg, rgba(255,252,245,0.12), transparent 24%, transparent 78%, rgba(235,239,242,0.10));
}

#guideThemePanel.guide-premium-section > *,
#guideCardsPanel.guide-premium-section > *,
#guideLessonsPanel.guide-premium-section > *,
#guideLongTermPanel.guide-premium-section > * {
    position: relative;
    z-index: 1;
}

#guideThemePanel .guide-section-heading,
#guideCardsPanel .guide-section-heading,
#guideLessonsPanel .guide-section-heading,
#guideLongTermPanel .guide-section-heading {
    margin: 0 0 14px;
}

#guideThemePanel .guide-section-heading span,
#guideCardsPanel .guide-section-heading span,
#guideLessonsPanel .guide-section-heading span,
#guideLongTermPanel .guide-section-heading span,
#guideThemePanel .guide-premium-accent span,
#guideLessonsPanel .guide-repeating-lesson-head span {
    color: rgba(132, 86, 39, 0.92);
    text-shadow: 0 1px 0 rgba(255,255,255,0.42);
}

#guideThemePanel .guide-section-heading h3,
#guideCardsPanel .guide-section-heading h3,
#guideLessonsPanel .guide-section-heading h3,
#guideLongTermPanel .guide-section-heading h3,
#guideThemePanel .guide-premium-accent strong,
#guideCardsPanel .guide-top-card h4,
#guideLessonsPanel .guide-repeating-lesson-head strong,
#guideLongTermPanel .guide-long-term-section h5 {
    color: rgba(31, 25, 21, 0.96);
    -webkit-text-fill-color: currentColor;
    background: none;
    text-shadow: none;
}

#guideThemePanel .guide-summary-intro,
#guideCardsPanel .guide-summary-intro,
#guideLessonsPanel .guide-summary-intro,
#guideLongTermPanel .guide-summary-intro {
    color: rgba(35, 31, 28, 0.78) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.38) !important;
}

#guideThemePanel .guide-premium-stats span,
#guideThemePanel .guide-premium-stats strong,
#guideThemePanel .guide-premium-stats em,
#guideLessonsPanel .guide-repeating-lesson-head em {
    color: rgba(132, 86, 39, 0.92);
    text-shadow: 0 1px 0 rgba(255,255,255,0.28);
}

#guideThemePanel .guide-premium-accent,
#guideThemePanel .guide-premium-stats,
#guideCardsPanel .guide-top-card,
#guideLessonsPanel .guide-repeating-lesson,
#guideLongTermPanel .guide-long-term-detail {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#guideLongTermPanel .guide-long-term-detail {
    padding: 0;
}

#guideLongTermPanel .guide-long-term-section {
    text-align: center;
}

#guideLongTermPanel .guide-long-term-section h5 {
    margin: 18px auto 12px;
    text-align: center;
}

#guideLongTermPanel .guide-premium-accent {
    margin: 0 auto 2px;
    padding: 8px 0 2px;
    border-left: 0;
    border-bottom: 0;
    text-align: center;
}

#guideLongTermPanel .guide-premium-accent span,
#guideLongTermPanel .guide-premium-accent strong {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#guideLongTermPanel .guide-premium-stats {
    justify-content: center;
    margin: 0 auto 12px;
    padding: 0 0 11px;
    border-top: 0;
    border-bottom: 1px solid rgba(163, 132, 86, 0.18);
}

#guideLongTermPanel .guide-premium-stats div {
    justify-content: center;
    min-width: 0;
    padding: 0;
    text-align: center;
}

#guideLongTermPanel .guide-premium-stats div::before {
    display: none;
}

#guideLongTermPanel .guide-premium-stats em {
    flex-basis: 100%;
}

#guideThemePanel .guide-premium-accent {
    margin: 6px 0 0;
    padding: 8px 0 4px 16px;
    border-bottom: 0;
}

#guideThemePanel .guide-premium-accent span {
    margin-bottom: 6px;
}

#guideThemePanel .guide-premium-accent strong {
    line-height: 1.22;
}

#guideThemePanel .guide-premium-stats {
    margin: 0 0 10px 16px;
    padding: 4px 0 12px;
    border-top: 0;
    border-bottom: 1px solid rgba(163, 132, 86, 0.18);
}

#guideThemePanel .guide-premium-stats div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 9px;
    min-width: 0;
    padding: 0;
}

#guideThemePanel .guide-premium-stats div::before {
    display: none;
}

#guideThemePanel .guide-premium-stats span {
    font-size: 0.78rem;
    font-weight: 650;
    color: rgba(72, 58, 46, 0.86);
}

#guideThemePanel .guide-premium-stats strong {
    font-size: 0.88rem;
    color: rgba(132, 86, 39, 0.86);
}

#guideThemePanel .guide-premium-stats em {
    flex-basis: 100%;
    margin-top: 2px;
    font-size: 0.68rem;
    letter-spacing: 0.62px;
    color: rgba(132, 86, 39, 0.76);
}

#guideCardsPanel .guide-top-card,
#guideLessonsPanel .guide-repeating-lesson {
    margin-top: 14px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(163,132,86,0.24);
}

#guideCardsPanel .guide-top-card:first-child,
#guideLessonsPanel .guide-repeating-lesson:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

#guideLessonsPanel .guide-repeating-lesson + .guide-repeating-lesson {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(163,132,86,0.24);
}

#guideThemePanel .guide-premium-reading,
#guideLessonsPanel .guide-premium-reading,
#guideLongTermPanel .guide-premium-reading,
#guideCardsPanel .guide-top-card p,
#guideCardsPanel .guide-muted-text,
#guideLessonsPanel .guide-muted-text,
#guideLongTermPanel .guide-muted-text {
    width: 100%;
    max-width: none;
    margin: 16px auto 0;
    padding: 18px 18px 19px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255,254,250,0.18), rgba(235,240,241,0.30) 50%, rgba(255,254,250,0.18)),
        rgba(226, 233, 236, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        inset 0 -1px 0 rgba(112,132,146,0.05);
    color: rgba(43, 36, 29, 0.94);
}

#guideLongTermPanel .guide-premium-reading {
    margin: 14px 0 0;
    text-align: left;
}

#guideThemePanel .guide-premium-accent,
#guideLessonsPanel .guide-repeating-lesson-head {
    border-left-color: rgba(203, 166, 102, 0.78);
}

#guideCardsPanel .guide-card-actions,
#guideLessonsPanel .guide-repeating-lesson-actions {
    margin-top: 10px;
}

#guideCardsPanel .guide-top-card .guide-soft-btn,
#guideLessonsPanel .guide-repeating-lesson-actions .guide-soft-btn {
    background: rgba(255,254,250,0.14);
    border: 1px solid rgba(255,255,250,0.30);
    border-bottom-color: rgba(154,112,57,0.22);
    border-radius: 999px;
    min-height: 30px;
    padding: 6px 12px 5px;
    box-shadow: inset 1px 1px 0 rgba(255,255,250,0.26);
}
#guideThemePanel .guide-premium-accent:empty,
#guideThemePanel .guide-premium-stats:empty,
#guideCardsPanel .guide-top-cards:empty,
#guideLessonsPanel .guide-repeating-lessons:empty,
#guideLongTermPanel .guide-summary-progress-host:empty {
    display: none !important;
}

.guide-insight-panel .guide-summary-progress {
    margin-top: 10px;
    padding: 13px 0 4px;
    border-top-color: rgba(190, 160, 111, 0.16);
}

.guide-insight-panel .guide-summary-progress-track {
    height: 2px;
    background: rgba(80, 104, 122, 0.14);
}
#guideThemePanel .guide-summary-progress,
#guideCardsPanel .guide-summary-progress,
#guideLessonsPanel .guide-summary-progress,
#guideLongTermPanel .guide-summary-progress {
    border-top-color: rgba(190,160,111,0.18) !important;
}

#guideThemePanel .guide-premium-accent:empty,
#guideThemePanel .guide-premium-stats:empty,
#guideThemePanel .guide-premium-reading:empty,
#guideCardsPanel .guide-top-card:empty,
#guideCardsPanel .guide-muted-text:empty,
#guideLessonsPanel .guide-repeating-lesson:empty,
#guideLessonsPanel .guide-muted-text:empty,
#guideTopCards:empty,
#guideRepeatingLessons:empty,
#guideThemeComposition:empty,
#guideThemeStats:empty,
#guideLessonText:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

/* ASTRO - MĒNEŠA PROGNOZE */
.astro-screen {
    display: none;
    width: 100%;
    max-width: 720px;
    padding: 10px 16px 148px;
    box-sizing: border-box;
    z-index: 10;
}

.astro-title-block {
    margin-bottom: 20px;
}

.astro-forecast-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.astro-forecast-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 24% 3%, rgba(255,249,232,0.48), transparent 30%),
        radial-gradient(ellipse at 82% 7%, rgba(239,245,252,0.24), transparent 40%),
        linear-gradient(90deg, rgba(255,252,245,0.13), transparent 24%, transparent 78%, rgba(235,239,242,0.10));
}

.astro-forecast-card > * {
    position: relative;
    z-index: 1;
}

.astro-section-heading {
    margin: 0 0 14px;
}

.astro-reading {
    margin-top: 16px;
    padding: 18px 18px 19px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255,254,250,0.16), rgba(235,240,241,0.24) 50%, rgba(255,254,250,0.16)),
        rgba(226, 233, 236, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(112,132,146,0.05);
}

.astro-reading p {
    margin: 0;
    padding: 14px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: 0;
    color: rgba(43, 36, 29, 0.94);
}

.astro-reading p + p {
    margin-top: 13px;
    border-top: 1px solid rgba(163, 132, 86, 0.16);
}

.astro-reading p:first-child {
    padding-top: 0;
}

.astro-read-more-btn {
    display: block;
    width: min(100%, 230px);
    margin: 17px auto 0;
    padding: 10px 16px 9px;
    font-size: 0.7rem;
}

.astro-read-more-btn[hidden] {
    display: none;
}

/* PRAKSE - MĒNEŠA KRĀSU SPEKTRS */
.practice-screen {
    display: none;
    width: 100%;
    max-width: 720px;
    padding: 10px 16px 148px;
    box-sizing: border-box;
    z-index: 10;
}

.practice-shell {
    width: 100%;
}

.practice-title-block {
    margin: 6px 0 20px;
    text-align: center;
}

.practice-title-block h2 {
    margin: 7px 0 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.82rem;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: rgba(255,250,236,0.98);
    text-shadow: 0 2px 14px rgba(0,0,0,0.62), 0 0 22px rgba(216,184,106,0.18);
}

.practice-month-card,
.practice-spectrum-card {
    position: relative;
    margin: 0 0 17px;
    padding: 20px 18px;
    border: 1px solid rgba(246,244,239,0.08);
    border-top-color: rgba(255,253,248,0.28);
    border-radius: 21px;
    overflow: hidden;
    color: rgba(48,34,23,0.96);
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.38), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.20), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.48) 0%, rgba(229,233,235,0.50) 42%, rgba(207,220,232,0.42) 72%, rgba(191,211,230,0.35) 100%),
        rgba(218,227,236,0.20);
    -webkit-backdrop-filter: blur(4px) brightness(1.02) saturate(0.96);
    backdrop-filter: blur(4px) brightness(1.02) saturate(0.96);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.46),
        inset 2px 0 0 rgba(255,248,232,0.27),
        inset -2px 0 0 rgba(229,237,242,0.17),
        inset 0 -1px 0 rgba(181,155,119,0.055),
        0 16px 31px rgba(20,38,68,0.19),
        0 0 40px rgba(240,224,194,0.11);
}

.practice-month-card::before,
.practice-spectrum-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 24% 3%, rgba(255,249,232,0.44), transparent 30%),
        radial-gradient(ellipse at 82% 7%, rgba(239,245,252,0.24), transparent 40%),
        linear-gradient(90deg, rgba(255,252,245,0.12), transparent 24%, transparent 78%, rgba(235,239,242,0.10));
}

.practice-month-card > *,
.practice-spectrum-card > * {
    position: relative;
    z-index: 1;
}

.practice-month-card span,
.practice-spectrum-head span,
.practice-tone-sheet-head span,
.practice-day-editor > span,
.practice-result-reading > span,
.practice-mosaic-result-head span,
.practice-result-pending span,
.practice-cycle-alert span {
    display: block;
    margin-bottom: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(104, 72, 35, 0.98);
    text-shadow: 0 1px 0 rgba(255,255,255,0.52);
}

.practice-month-card h3 {
    margin: 0 0 14px;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.02rem, 4.7vw, 1.24rem);
    font-weight: 600;
    line-height: 1.34;
    letter-spacing: 1.05px;
    text-transform: uppercase;
    color: rgba(35, 27, 21, 0.98);
    text-shadow: 0 1px 0 rgba(255,255,255,0.70);
}

.practice-month-card p,
.practice-help-text,
.practice-important-note,
.practice-result p,
.practice-tone-modal-choice p,
.practice-cycle-alert p {
    margin: 0;
    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.62;
    color: rgba(35, 32, 29, 0.88);
    text-shadow: 0 1px 0 rgba(255,255,255,0.34);
}

.practice-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 60px);
    justify-content: center;
    gap: 12px 18px;
    max-width: 510px;
    margin: 18px auto 24px;
}

.practice-mosaic-day {
    --calendar-tone: var(--tone);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 60px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.46);
    border-top-color: rgba(255,255,255,0.72);
    border-left-color: rgba(255,255,255,0.56);
    border-radius: 14px;
    cursor: pointer;
    background:
        radial-gradient(ellipse at 28% 7%, rgba(255,255,255,0.78), rgba(255,255,255,0.30) 36%, transparent 68%),
        radial-gradient(ellipse at 82% 92%, rgba(221,226,239,0.18), transparent 62%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--calendar-tone) 42%, #fffaf0 58%) 0%,
            color-mix(in srgb, var(--calendar-tone) 38%, #f4f7f8 62%) 62%,
            color-mix(in srgb, var(--calendar-tone) 34%, #dfe5ee 66%) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.74),
        inset 0 -2px 5px rgba(90,100,122,0.012),
        0 2px 5px rgba(18,29,48,0.012);
    filter: saturate(0.74) brightness(1.08);
    transform: translateZ(0);
    transition: transform 0.18s ease, box-shadow 0.22s ease, opacity 0.2s ease, filter 0.2s ease;
}

.practice-mosaic-day.tone-lightness { --calendar-tone: #f4e78a; }
.practice-mosaic-day.tone-stability { --calendar-tone: #b7efc9; }
.practice-mosaic-day.tone-neutrality { --calendar-tone: #bfe2f3; }
.practice-mosaic-day.tone-stress { --calendar-tone: #e58f8b; }
.practice-mosaic-day.tone-resistance { --calendar-tone: #cfc4ee; }

.practice-mosaic-day::before {
    content: "";
    position: absolute;
    inset: 1px 2px auto 2px;
    z-index: 0;
    height: 46%;
    border-radius: 13px 13px 10px 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.56), rgba(255,255,255,0.12) 72%, transparent);
    opacity: 0.76;
    pointer-events: none;
}

.practice-mosaic-day::after {
    display: none;
    content: none;
}

.practice-mosaic-day span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1;
    color: rgba(43, 49, 68, 0.62);
    text-shadow: none;
}

.practice-mosaic-day:not(.filled) {
    background:
        radial-gradient(ellipse at 28% 7%, rgba(255,255,255,0.36), transparent 64%),
        linear-gradient(180deg, rgba(213,217,229,0.25), rgba(181,187,202,0.17));
    border-color: rgba(255,255,255,0.24);
    border-top-color: rgba(255,255,255,0.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.30),
        inset 0 -2px 5px rgba(70,82,104,0.014),
        0 2px 5px rgba(17,29,46,0.012);
    filter: saturate(0.58) brightness(1.055);
}

.practice-mosaic-day:not(.filled)::before {
    opacity: 0.36;
}

.practice-mosaic-day.filled {
    background:
        radial-gradient(ellipse at 28% 7%, rgba(255,255,255,0.82), rgba(255,255,255,0.30) 36%, transparent 68%),
        radial-gradient(ellipse at 82% 92%, rgba(226,231,240,0.18), transparent 62%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--calendar-tone) 76%, #fffaf0 24%) 0%,
            color-mix(in srgb, var(--calendar-tone) 70%, #f5f8f8 30%) 62%,
            color-mix(in srgb, var(--calendar-tone) 64%, #dfe6ef 36%) 100%
        );
    border-color: rgba(255,255,255,0.54);
    border-top-color: rgba(255,255,255,0.78);
    border-left-color: rgba(255,255,255,0.64);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.76),
        inset 0 -4px 10px rgba(72,82,98,0.032),
        0 4px 9px rgba(16,30,48,0.024);
    filter: saturate(0.86) brightness(1.055);
}

.practice-mosaic-day.filled span,
.practice-mosaic-day.selected span {
    color: rgba(39, 47, 66, 0.66);
}

.practice-mosaic-day.selected {
    transform: translateY(-1px) scale(1.025);
    border-color: rgba(255,255,255,0.70);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.66),
        inset 0 -2px 5px rgba(70,82,104,0.018),
        0 0 0 1px rgba(255,255,255,0.16),
        0 3px 7px rgba(17,29,46,0.028);
}

.practice-mosaic-day.future {
    opacity: 0.78;
    cursor: default;
    pointer-events: none;
}

.practice-mosaic-day.today {
    transform: translateY(-1px) scale(1.035);
    border-color: rgba(255,255,255,0.86);
    border-top-color: rgba(255,255,255,0.98);
    border-left-color: rgba(255,255,255,0.90);
    background:
        radial-gradient(ellipse at 50% 8%, rgba(255,255,255,0.80), rgba(255,255,255,0.18) 39%, transparent 68%),
        radial-gradient(ellipse at 50% 100%, rgba(245,216,154,0.20), transparent 58%),
        linear-gradient(180deg, rgba(255,250,222,0.66), rgba(239,245,246,0.34) 58%, rgba(216,226,232,0.24));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.90),
        inset 0 -3px 8px rgba(126,112,88,0.030),
        0 0 0 1px rgba(255,255,255,0.46),
        0 0 0 5px rgba(255,226,164,0.11),
        0 0 20px rgba(255,236,184,0.50),
        0 6px 13px rgba(18,29,48,0.045);
}

.practice-mosaic-day.today.filled {
    background:
        radial-gradient(ellipse at 28% 7%, rgba(255,255,255,0.82), rgba(255,255,255,0.30) 36%, transparent 68%),
        radial-gradient(ellipse at 50% 100%, rgba(245,216,154,0.16), transparent 58%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--calendar-tone) 76%, #fffaf0 24%) 0%,
            color-mix(in srgb, var(--calendar-tone) 70%, #f5f8f8 30%) 62%,
            color-mix(in srgb, var(--calendar-tone) 64%, #dfe6ef 36%) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.90),
        inset 0 -3px 8px rgba(126,112,88,0.030),
        0 0 0 1px rgba(255,255,255,0.46),
        0 0 0 5px rgba(255,226,164,0.11),
        0 0 20px color-mix(in srgb, var(--calendar-tone) 42%, transparent),
        0 6px 13px rgba(18,29,48,0.045);
}

.practice-mosaic-day.today span {
    color: rgba(39,44,59,0.82);
    font-weight: 720;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.58),
        0 0 8px rgba(255,250,232,0.34);
}

.practice-help-text {
    width: 100%;
    max-width: none;
    margin: 8px 0 22px;
    font-size: 0.88rem;
    line-height: 1.62;
}

.practice-day-editor {
    margin: -4px 0 18px;
    padding: 14px 12px 13px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(255,250,239,0.30), transparent 45%),
        rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.practice-tone-grid {
    display: grid;
    gap: 8px;
}

.practice-tone-choice {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 999px;
    display: grid;
    grid-template-columns: 16px 1fr auto;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: rgba(49, 41, 34, 0.88);
    cursor: pointer;
}

.practice-tone-choice i,
.practice-tone-stat i {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--tone);
    box-shadow: 0 0 9px color-mix(in srgb, var(--tone) 44%, transparent);
}

.practice-tone-choice span,
.practice-tone-choice em {
    font-family: "Montserrat", sans-serif;
}

.practice-tone-choice span {
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.7px;
}

.practice-tone-choice em {
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(86, 72, 58, 0.70);
}

.practice-tone-choice.active {
    background: rgba(255,255,255,0.24);
    border-color: rgba(255,255,255,0.38);
}

/* PRAKSE - DARBIBU POGAS */
.practice-result-btn,
.practice-important-btn {
    display: block;
    width: fit-content;
    margin: 7px auto 0;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(235,241,244,0.24) 58%, rgba(216,226,232,0.16) 100%),
        rgba(255,255,255,0.065);
    color: rgba(48, 38, 31, 0.88);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.95px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255,255,255,0.58);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow:
        inset 0 0 0 1px rgba(250,253,253,0.46),
        inset 0 1px 0 rgba(255,255,255,0.50),
        inset 0 -1px 0 rgba(112,128,140,0.040),
        0 4px 9px rgba(22,31,44,0.030);
    transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.practice-result-btn {
    min-height: 33px;
    padding: 8px 22px;
    font-size: 0.61rem;
}

.practice-important-btn {
    min-width: 82px;
    min-height: 28px;
    margin-top: 13px;
    padding: 6px 15px;
    color: rgba(55, 43, 34, 0.78);
    font-size: 0.60rem;
}

.practice-result-btn:hover,
.practice-important-btn:hover {
    transform: translateY(-1px);
}

.practice-result-btn:active,
.practice-important-btn:active {
    transform: scale(0.985);
}

.practice-result-btn::before,
.practice-result-btn::after,
.practice-important-btn::before,
.practice-important-btn::after {
    display: none;
    content: none;
}

.practice-test-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 12px auto 0;
}

.guide-test-controls {
    margin-top: 8px;
}

.practice-test-btn {
    min-height: 26px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.34);
    border-top-color: rgba(255,255,255,0.58);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34), rgba(223,232,238,0.14)),
        rgba(255,255,255,0.05);
    color: rgba(55, 43, 34, 0.70);
    font-family: "Montserrat", sans-serif;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.78px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.42),
        0 3px 7px rgba(22,31,44,0.025);
}

.practice-test-controls.active .practice-test-btn:first-child {
    color: rgba(43, 35, 29, 0.84);
}

.practice-test-btn.danger {
    color: rgba(105, 51, 47, 0.78);
}

.practice-test-btn:disabled {
    opacity: 0.42;
    cursor: default;
}

.practice-test-btn:not(:disabled):hover {
    transform: translateY(-1px);
}

/* PRAKSE - SVARIGI LOGS */
body.practice-important-open {
    overflow: hidden;
}

.practice-important-overlay,
.practice-tone-overlay {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 18, 0.52);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.practice-important-overlay {
    z-index: 2200;
    display: flex;
    padding: 22px;
}

.practice-important-overlay[hidden] {
    display: none;
}

.practice-important-dialog {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 54px);
    overflow: auto;
    padding: 24px 22px 22px;
    border-radius: 20px;
    border: 1px solid rgba(239,245,245,0.18);
    border-top-color: rgba(255,255,250,0.58);
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.40), transparent 38%),
        radial-gradient(ellipse at 92% 90%, rgba(241,220,183,0.16), transparent 44%),
        linear-gradient(155deg, rgba(252,250,246,0.82) 0%, rgba(229,233,235,0.66) 44%, rgba(204,220,232,0.57) 100%),
        rgba(218,227,236,0.42);
    -webkit-backdrop-filter: blur(12px) brightness(1.06) saturate(0.98);
    backdrop-filter: blur(12px) brightness(1.06) saturate(0.98);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,250,0.64),
        0 24px 58px rgba(4,10,22,0.34);
    color: rgba(43,36,29,0.94);
}

.practice-important-head,
.practice-tone-sheet-head,
.practice-mosaic-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.practice-important-head {
    margin-bottom: 16px;
}

.practice-important-head h3 {
    margin: 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.20rem;
    line-height: 1.24;
    font-weight: 600;
    letter-spacing: 1.06px;
    color: rgba(49,34,23,0.98);
}

.practice-important-close {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(240,244,241,0.30);
    border-top-color: rgba(255,255,250,0.56);
    background: rgba(228,236,240,0.34);
    color: rgba(63,49,39,0.82);
    font-size: 1.20rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 1px 1px 0 rgba(255,255,250,0.42);
}

.practice-important-copy {
    padding: 16px 16px 17px;
    border: 1px solid rgba(230,239,241,0.16);
    border-top-color: rgba(255,252,243,0.30);
    border-radius: 7px 15px 12px 6px;
    background:
        radial-gradient(ellipse at 46% 44%, rgba(190,198,199,0.26) 0%, rgba(181,192,196,0.19) 64%, rgba(174,188,194,0.10) 100%),
        radial-gradient(ellipse at 18% 10%, rgba(252,247,235,0.10), transparent 58%),
        linear-gradient(118deg, transparent 0%, rgba(248,242,228,0.030) 28%, transparent 54%);
    box-shadow:
        inset 1px 1px 0 rgba(255,252,243,0.15),
        inset -10px -8px 24px rgba(61,80,94,0.045),
        inset 0 16px 30px rgba(48,67,85,0.052);
}

.practice-important-copy p {
    margin: 0 0 12px;
    font-size: 0.94rem;
    line-height: 1.64;
    font-weight: 500;
    color: rgba(48,37,29,0.96);
    text-shadow: none;
}

.practice-important-copy p:last-child,
.practice-premium-reading p:last-child {
    margin-bottom: 0;
}

/* PRAKSE - DIENAS TONA MODALIS */
.practice-tone-overlay {
    z-index: 540;
    display: none;
    padding: 18px;
}

.practice-tone-sheet {
    width: min(92vw, 390px);
    max-height: min(78vh, 620px);
    overflow: auto;
    padding: 17px 15px 15px;
    border: 1px solid rgba(246,244,239,0.20);
    border-top-color: rgba(255,253,248,0.62);
    border-radius: 22px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    color: rgba(48,34,23,0.96);
    background:
        radial-gradient(ellipse at 18% 4%, rgba(255,250,239,0.48), transparent 38%),
        radial-gradient(ellipse at 90% 90%, rgba(216,231,241,0.28), transparent 46%),
        linear-gradient(155deg, rgba(252,250,246,0.82) 0%, rgba(229,233,235,0.68) 48%, rgba(207,220,232,0.58) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.58),
        0 26px 62px rgba(5, 10, 22, 0.42);
}

.practice-tone-sheet::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.practice-tone-sheet-head {
    margin-bottom: 12px;
}

.practice-tone-sheet-head h3 {
    display: none;
}

.practice-tone-modal-grid {
    display: grid;
    gap: 8px;
}

.practice-tone-modal-choice {
    display: grid;
    grid-template-columns: 18px 1fr;
    grid-template-areas:
        "swatch label"
        "swatch sub"
        "text text";
    gap: 2px 10px;
    width: 100%;
    padding: 11px 12px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-top-color: rgba(255,255,255,0.34);
    border-radius: 15px;
    background:
        radial-gradient(ellipse at 14% 0%, rgba(255,255,255,0.42), transparent 42%),
        radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--tone) 10%, transparent), transparent 52%),
        linear-gradient(145deg, rgba(255,255,255,0.30), rgba(212,224,232,0.18));
    text-align: left;
    cursor: pointer;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.44),
        inset 0 -1px 0 rgba(95, 112, 130, 0.08),
        0 0 0 1px color-mix(in srgb, var(--tone) 12%, transparent),
        0 9px 18px rgba(9,22,38,0.08);
}

.practice-tone-modal-choice.active {
    border-color: color-mix(in srgb, var(--tone) 36%, rgba(255,255,255,0.22));
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.52),
        inset 0 -1px 0 rgba(95, 112, 130, 0.08),
        0 0 0 1px color-mix(in srgb, var(--tone) 32%, transparent),
        0 0 22px color-mix(in srgb, var(--tone) 24%, transparent),
        0 11px 22px rgba(9,22,38,0.12);
}

.practice-tone-modal-choice i {
    grid-area: swatch;
    width: 14px;
    height: 34px;
    margin-top: 2px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 18%, rgba(255,255,255,0.72), transparent 30%),
        linear-gradient(180deg, color-mix(in srgb, var(--tone) 78%, #fff 22%), var(--tone));
    box-shadow:
        0 0 16px color-mix(in srgb, var(--tone) 64%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.68);
}

.practice-tone-modal-choice span {
    grid-area: label;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: 0.7px;
    color: rgba(34, 27, 22, 0.98);
    text-shadow: 0 1px 0 rgba(255,255,255,0.52);
}

.practice-tone-modal-choice em {
    grid-area: sub;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 750;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    color: rgba(136, 86, 33, 0.96);
    text-shadow: 0 1px 0 rgba(255,255,255,0.34);
}

.practice-tone-modal-choice p {
    grid-area: text;
    margin-top: 7px;
    font-size: 0.77rem;
    line-height: 1.42;
}

/* PRAKSE - REZULTATS */
.practice-important-note,
.practice-result {
    margin-top: 16px;
    padding: 15px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.practice-result {
    width: 100%;
    max-width: 620px;
    margin: 24px auto 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.practice-result[hidden] {
    display: none;
}

.practice-result span {
    display: block;
    margin-bottom: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: rgba(138, 100, 52, 0.98);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
}

.practice-result h4,
.practice-result-reading h4,
.practice-result-pending h4,
.practice-cycle-alert strong {
    margin: 0 0 10px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.32;
    font-weight: 600;
    letter-spacing: 1.35px;
    color: rgba(74, 53, 34, 1);
}

.practice-result-progress {
    height: 2px;
    margin-top: 13px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(70, 83, 105, 0.14);
}

.practice-result-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(164,135,88,0.54), rgba(223,197,143,0.92));
}

.practice-result-pending {
    padding: 7px 0 11px 16px;
    border-left: 2px solid rgba(203, 166, 102, 0.78);
    border-top: 0;
    border-bottom: 1px solid rgba(174, 157, 132, 0.24);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 231, 0.26), rgba(246, 247, 246, 0.08) 62%, transparent 100%);
    text-align: left;
}

.practice-result-pending h4 {
    margin: 7px 0 12px;
}

.practice-result-pending p {
    margin: 0 0 10px;
}

.practice-cycle-alert {
    max-width: 520px;
    margin: 20px auto 0;
    padding: 7px 16px 11px;
    border-left: 2px solid rgba(203, 166, 102, 0.78);
    border-top: 0;
    border-bottom: 1px solid rgba(174, 157, 132, 0.24);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 231, 0.26), rgba(246, 247, 246, 0.08) 62%, transparent 100%);
    box-shadow: none;
    text-align: left;
}

.practice-cycle-alert strong {
    display: block;
    margin: 7px 0 8px;
    font-size: 0.92rem;
}

.practice-cycle-alert p {
    max-width: none;
    margin: 0;
    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-style: italic;
    font-weight: 450;
    line-height: 1.62;
    color: rgba(58, 51, 45, 0.78);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.practice-mosaic-result {
    margin: 0 0 25px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.practice-mosaic-result-head {
    max-width: 430px;
    margin: 0 auto 16px;
    align-items: baseline;
}

.practice-mosaic-result-head strong {
    font-family: "Cinzel", Georgia, serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(55, 42, 32, 0.86);
}

.practice-stained-mosaic,
.practice-rosette-mosaic,
.practice-watercolor-mosaic,
.practice-spectrum-sky,
.practice-story-sky,
.practice-template-mosaic {
    display: block;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    filter: drop-shadow(0 18px 24px rgba(9, 21, 36, 0.13)) saturate(0.98) contrast(0.98);
}

.practice-stained-mosaic {
    max-width: 350px;
    border-radius: 26px;
}

.practice-rosette-mosaic {
    max-width: 310px;
    aspect-ratio: 1 / 1;
    margin-top: -2px;
    border-radius: 50%;
}

.practice-watercolor-mosaic,
.practice-spectrum-sky,
.practice-story-sky {
    max-width: 390px;
    aspect-ratio: 360 / 250;
    border-radius: 34px;
}

.practice-template-mosaic {
    max-width: 360px;
    aspect-ratio: 1 / 1;
    margin-top: -2px;
    border-radius: 28px;
}

.practice-result .practice-mosaic-caption {
    max-width: 390px;
    margin: 14px auto 0;
    text-align: center;
    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-style: italic;
    font-weight: 450;
    line-height: 1.62;
    color: rgba(58, 51, 45, 0.78);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.practice-result-reading {
    margin: 18px 0 17px;
    padding: 18px 18px 19px;
    box-sizing: border-box;

    border: 0;
    border-radius: 12px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(255,254,250,0.18),
            rgba(235,240,241,0.30) 50%,
            rgba(255,254,250,0.18)
        ),
        rgba(226,233,236,0.22);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        inset 0 -1px 0 rgba(112,132,146,0.05);

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    color: rgba(43,36,29,0.94);
}

.practice-reading-head {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
	text-align: center;
}

.practice-reading-head span {
    display: block;
    margin: 0 0 14px;

    font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: rgba(122, 70, 31, 0.96);
    text-shadow: 0 1px 0 rgba(255, 239, 214, 0.52);
}

.practice-reading-head h4 {
    margin: 0;

    font-family: "Inter", "Montserrat", "Avenir Next", sans-serif;
    font-size: clamp(0.76rem, 3.45vw, 0.95rem);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: rgba(72, 54, 39, 0.96);
    text-shadow: 0 1px 0 rgba(255, 245, 226, 0.35);
}

.practice-premium-reading {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.practice-premium-reading p {
    margin: 0 0 15px;

    font-family: "Avenir Next", "Nunito Sans", "Inter", "Montserrat", sans-serif;
    font-size: 0.98rem;
    line-height: 1.70;
    font-weight: 500;

    color: rgba(43,36,29,0.94);
}

.practice-premium-reading p:last-child {
    margin-bottom: 0;
}

.practice-tone-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    text-align: center;
}

.practice-tone-summary strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 0 4px;

    font-family: "Montserrat", "Avenir Next", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: rgba(96, 58, 28, 0.96);
}

.practice-tone-summary strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;

    background: linear-gradient(
        to right,
        rgba(166, 105, 46, 0.75),
        rgba(166, 105, 46, 0.08)
    );
}

.practice-tone-summary i {
    width: 5px;
    height: 5px;

    display: inline-block;

    border-radius: 50%;
    background: rgba(166, 105, 46, 0.56);

    position: relative;
    top: -3px;
}

/* STATISTIKA APAKŠĀ */

.practice-tone-stats {
    display: flex;
    flex-direction: column;
    gap: 7px;

    width: 190px;
    max-width: 100%;

    margin: 18px auto 0;
    padding: 0 0 12px;

    border-top: 0;
    border-bottom: 1px solid rgba(163,132,86,0.20);
}

.practice-tone-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 24px;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;
}

.practice-tone-stat::before,
.practice-tone-stat::after {
    display: none;
    content: none;
}

.practice-tone-stat div {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 0;
    flex: 1;
}

.practice-tone-stat i {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;

    border-radius: 50%;

    margin: 0;
}

.practice-tone-stat span {
    font-family: "Avenir Next", "Nunito Sans", "Montserrat", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: none;

    color: rgba(255,248,236,0.90);
    text-shadow: 0 1px 1px rgba(0,0,0,0.34);

    margin: 0;
}

.practice-tone-stat strong {
    flex: 0 0 36px;

    text-align: right;

    font-family: "Avenir Next", "Nunito Sans", "Montserrat", sans-serif;
    font-size: 0.80rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;

    color: rgba(238,202,146,0.94);
    text-shadow: 0 1px 1px rgba(0,0,0,0.36);

    margin: 0;
    padding: 0;
}

@media (max-width: 720px) {
    .practice-result {
        max-width: 100%;
    }

    .practice-premium-reading,
    .practice-tone-stats {
        max-width: 100%;
    }
}

@media (max-width: 430px) {
    .practice-screen {
        padding: 4px 14px 140px;
    }

    .practice-title-block h2 {
        font-size: 1.62rem;
        letter-spacing: 3.4px;
    }

    .practice-month-card,
    .practice-spectrum-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .practice-mosaic {
        max-width: 318px;
        grid-template-columns: repeat(6, 43px);
        gap: 10px 10px;
        margin: 16px auto 24px;
    }

    .practice-mosaic-day {
        width: 43px;
        height: 38px;
        border-radius: 12px;
    }

    .practice-mosaic-day::before {
        border-radius: 10px 10px 8px 8px;
    }

    .practice-mosaic-day span {
        font-size: 0.78rem;
    }

    .practice-help-text {
        font-size: 0.82rem;
    }

    .practice-important-overlay {
        padding: 16px;
    }

    .practice-important-dialog {
        width: min(100%, 330px);
        max-height: calc(100vh - 118px);
        padding: 22px 20px 20px;
        border-radius: 20px;
    }

    .practice-important-copy p {
        font-size: 0.90rem;
        line-height: 1.58;
    }

    .practice-template-mosaic,
    .practice-rosette-mosaic {
        max-width: 286px;
        border-radius: 24px;
    }

.practice-stained-mosaic,
.practice-watercolor-mosaic,
.practice-spectrum-sky,
.practice-story-sky {
    max-width: 315px;
}

.practice-premium-reading {
    padding: 0;
    font-size: 0.96rem;
    line-height: 1.72;
}

}

.profile-screen {
    display: none;
    width: 100%;
    padding: 0 0 110px;
    box-sizing: border-box;
    z-index: 10;
}

.profile-shell {
    width: min(84vw, 520px);
    margin: 0 auto;
    padding-top: 0;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.profile-account-card {
    width: 84%;
    margin: 0 auto 18px;
    padding: 13px 16px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.14));
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    box-sizing: border-box;
    color: #fff8ef;
    text-align: left;
}

.profile-account-card[hidden] {
    display: none;
}

.profile-account-card strong,
.profile-account-card small,
.profile-account-label {
    display: block;
}

.profile-account-label {
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(216, 184, 106, 0.95);
}

.profile-account-card strong {
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.profile-account-card small {
    margin-top: 6px;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 248, 239, 0.74);
}

.profile-tile {
    width: 84%;
    min-height: 52px;
    padding: 0 18px;

    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.30);

    background:
        linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.15));

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;

    color: #fff8ef;
}

.profile-tile span {
    font-size: 17px;
    line-height: 1;
    opacity: 0.9;
}

#profileAuthButtonText {
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    opacity: 1;
}

.profile-danger {
    color: rgba(190, 70, 62, 0.95);
}

.practice-rules-confirm {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.practice-rules-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(45, 34, 24, 0.92);
}

.practice-rules-ok-btn {
    min-width: 140px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.32);
    font-family: 'Cinzel', serif;
    letter-spacing: 1.4px;
    cursor: pointer;
}

.practice-rules-ok-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.guide-long-term-back-btn {
    display: inline-flex;
    align-items: center;
    margin: 0 0 2px;
    padding: 0;
    border: none;
    background: transparent;

    font-size: 11px;
    letter-spacing: 0.10em;

    color: rgba(70,55,42,0.78);
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0 120px;
    align-items: center;
    width: 100%;
}

.notification-premium-row {
    width: 84%;
    height: 58px;
    padding: 0 24px;

    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.30);

    background:
        linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.15));

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
    margin: 0;

    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #fff8ef;
    white-space: nowrap;
}

.notification-premium-row span {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.time-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255,246,224,0.28);
    backdrop-filter: blur(18px) brightness(1.08);
}

.time-picker-card {
    width: 100%;
    max-width: 320px;
    border-radius: 34px;
    padding: 28px 22px 22px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,250,238,0.98), rgba(218,193,139,0.9));
    border: 1px solid rgba(255,255,255,0.88);
    box-shadow: 0 24px 64px rgba(86,59,24,0.32);
}

.time-picker-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #352617;
}

.notification-switch-row {
    width: 100%;
    height: 44px;
    margin-bottom: 16px;
    padding: 0 16px;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(255,255,255,0.48);
    border: 1px solid rgba(255,255,255,0.62);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #352617;
}

.notification-switch-row input {
    display: none;
}

.premium-toggle-visual {
    width: 46px;
    height: 25px;
    border-radius: 999px;
    background: rgba(120,90,45,0.22);
    border: 1px solid rgba(255,255,255,0.62);
    position: relative;
    box-shadow: inset 0 2px 5px rgba(70,45,20,0.18);
}

.premium-toggle-visual::before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 2px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fffaf0, #d6b76a);
    box-shadow: 0 3px 8px rgba(80,50,20,0.28);
    transition: 0.25s ease;
}

.notification-switch-row input:checked + .premium-toggle-visual {
    background: linear-gradient(135deg, #8c682f, #d8b86a);
}

.notification-switch-row input:checked + .premium-toggle-visual::before {
    transform: translateX(20px);
}

.premium-wheel-time {
    height: 92px;
    margin-bottom: 18px;
    border-radius: 28px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(216,184,106,0.42);
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    align-items: center;
}

.premium-wheel-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.premium-wheel-column button {
    width: 38px;
    height: 22px;
    border: none;
    background: transparent;
    color: #9b7434;
    font-size: 18px;
    line-height: 1;
}

.premium-wheel-column div {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #24190f;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.85),
        0 0 18px rgba(216,184,106,0.28);
}

.premium-time-colon {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: #8c682f;
}

.time-save-btn,
.time-cancel-btn {
    width: 100%;
    height: 46px;
    border-radius: 999px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
    display: block;
}

.time-save-btn {
    background:
        radial-gradient(
            circle at 18% 22%,
            rgba(255,255,255,0.65),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #7a5524 0%,
            #b88c45 35%,
            #e0c07a 55%,
            #a87837 100%
        );

    color: #fffdf8;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.45),
        0 14px 28px rgba(110,75,25,0.18),
        0 4px 10px rgba(110,75,25,0.12);
}

.time-cancel-btn {
    background: rgba(255,255,255,0.62);
    color: #352617;
}

.notifications-screen {
    width: 100%;
    max-width: 720px;
    padding: 10px 16px 148px;
    box-sizing: border-box;
    z-index: 10;
}

.notifications-screen .profile-actions {
    width: 100%;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
}

.auth-card {
    position: relative;

    width: 100%;
    max-width: 360px;

    padding: 30px 24px;

    border-radius: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.92),
            rgba(255,248,238,0.82)
        );

    text-align: center;

    box-sizing: border-box;
}

.auth-card h3 {
    margin: 0 0 14px;

    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: #2d1f14;
}

.auth-card p {
    margin: 0 0 24px;

    line-height: 1.5;

    font-family: 'Montserrat', sans-serif;
    color: #4a3526;
}

.auth-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-primary-btn,
.auth-secondary-btn {
    min-height: 46px;
    padding: 0 14px;

    border-radius: 999px;

    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 0.8px;

    cursor: pointer;
}

.auth-primary-btn {
    border: 1px solid rgba(140,107,55,0.75);
    background: #8c6b37;
    color: white;
}

.auth-secondary-btn {
    border: 1px solid rgba(140,107,55,0.24);
    background: rgba(140,107,55,0.10);
    color: #3f2e20;
}

.auth-login-btn,
.auth-register-btn {
    width: 100%;
    height: 52px;

    margin-bottom: 12px;

    border: none;
    border-radius: 999px;

    font-family: 'Cinzel', serif;
    font-size: 15px;
    letter-spacing: 1px;
}

.auth-login-btn {
    background: #8c6b37;
    color: white;
}

.auth-register-btn {
    background: rgba(140,107,55,0.12);
    color: #3f2e20;
}

.auth-trial-box {
    margin-top: 2px;
    padding: 13px 14px;

    border-radius: 18px;

    background:
        linear-gradient(180deg, rgba(156,112,47,0.18), rgba(156,112,47,0.08));

    border: 1px solid rgba(156,112,47,0.28);

    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;

    color: #6f4b18;

    text-align: center;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.55),
        0 6px 14px rgba(112,75,24,0.10);
}

.auth-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 32px;
    height: 32px;

    border: none;
    background: transparent;

    font-size: 20px;
    line-height: 1;

    color: rgba(70,50,35,0.55);

    cursor: pointer;
}

.register-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
}

.auth-input {
    width: 100%;
    height: 48px;

    margin-bottom: 12px;
    padding: 0 16px;

    border-radius: 999px;
    border: 1px solid rgba(140,107,55,0.18);

    background: rgba(255,255,255,0.62);

    box-sizing: border-box;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;

    color: #3f2e20;
    outline: none;
}

.help-form-card {
    max-width: min(520px, calc(100vw - 32px));
}

.help-message-input {
    min-height: 150px;
    padding: 14px 16px;
    border-radius: 22px;
    resize: vertical;
    line-height: 1.45;
}

.auth-small-link {
    margin-top: 12px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;

    color: #6d553d;
}

.auth-small-link span {
    font-weight: 700;
    color: #8c6b37;
    cursor: pointer;
}

.auth-small-link {
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #6d553d;
}

.auth-small-link span {
    font-weight: 700;
    color: #8c6b37;
    cursor: pointer;
}

.auth-text-btn {
    border: none;
    background: transparent;
    padding: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;

    color: #8c6b37;
    cursor: pointer;
}

.auth-forgot-btn {
    display: block;
    margin: -4px auto 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tab-btn.locked-premium {
    opacity: 0.55;
    filter: grayscale(0.35);
}

.tab-btn.locked-premium::after {
    content: " 🔒";
    font-size: 11px;
}

#planScreen {
    display: none;
    width: 100%;
    max-width: 720px;
    padding: 0 16px 150px;
    box-sizing: border-box;
    z-index: 10;
}

#planScreen .profile-shell {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.subscription-box.premium-plan-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 26px 22px 28px;
    box-sizing: border-box;
    border-radius: 30px;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 18% 0%, rgba(255,255,255,0.24), transparent 42%),
        radial-gradient(ellipse at 80% 100%, rgba(216,184,106,0.10), transparent 46%),
        linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.055) 48%, rgba(18,18,30,0.76)),
        rgba(15,18,31,0.64);

    border: 1px solid rgba(255,255,255,0.22);
    border-top-color: rgba(255,255,255,0.42);

    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        0 16px 38px rgba(0,0,0,0.32),
        0 0 24px rgba(216,184,106,0.08);
}

.plan-status-line {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(216,184,106,0.86);
}

.subscription-box.premium-plan-card h3 {
    margin: 0 0 12px;
    font-family: 'Cinzel', serif;
    font-size: 1.58rem;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: 1.3px;
    color: rgba(255,250,236,0.98);
}

.subscription-text {
    max-width: 250px;
    margin: 0 auto 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.86rem;
    line-height: 1.48;
    color: rgba(255,255,255,0.80);
}

.premium-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 20px;
    background: linear-gradient(90deg, transparent, rgba(216,184,106,0.44), transparent);
}

.subscription-features {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: left;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255,238,200,0.88);
}

.feature-open,
.feature-premium-title {
    margin-top: 4px;
    margin-bottom: 2px;
    font-family: 'Cinzel', serif;
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: rgba(216,184,106,0.92);
}

.feature-premium-title {
    margin-top: 14px;
}

.subscription-price {
    margin: 22px auto 16px;
    font-family: 'Cinzel', serif;
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: rgba(255,250,236,0.96);
}

.subscription-btn {
    width: 100%;
    max-width: 245px;
    min-height: 42px;
    border: none;
    border-radius: 999px;
    cursor: pointer;

    background:
        linear-gradient(180deg, rgba(202,158,70,0.96), rgba(161,111,40,0.96));

    color: rgba(255,255,255,0.96);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        0 5px 12px rgba(0,0,0,0.18),
        0 0 12px rgba(216,184,106,0.08);
}

.premium-features-overlay {
    align-items: flex-start !important;
    padding: 42px 16px 120px !important;
    overflow-y: auto !important;
}

.premium-features-card {
    position: relative;
    width: min(92vw, 760px);
    margin: 0 auto;
    padding: 34px 34px 38px;
    box-sizing: border-box;
    border-radius: 34px;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 18% 0%, rgba(255,255,255,0.82), transparent 38%),
        radial-gradient(ellipse at 82% 100%, rgba(216,184,106,0.16), transparent 44%),
        linear-gradient(145deg, rgba(255,252,245,0.96), rgba(229,224,213,0.90) 52%, rgba(205,198,184,0.88)),
        rgba(240,236,226,0.94);

    border: 1px solid rgba(255,255,255,0.74);
    border-top-color: rgba(255,255,255,0.96);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.94),
        inset 0 -1px 0 rgba(174,143,94,0.16),
        0 22px 70px rgba(0,0,0,0.34),
        0 0 36px rgba(216,184,106,0.12);

    color: rgba(58,43,32,0.96);
}

.premium-features-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.42), transparent 18%, transparent 78%, rgba(216,184,106,0.10)),
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.28), transparent 26%);
    opacity: 0.7;
}

.premium-features-card > * {
    position: relative;
    z-index: 1;
}

.premium-features-close {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 3;

    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.28);
    color: rgba(87,68,52,0.72);

    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.premium-features-kicker {
    margin: 0 0 9px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-transform: uppercase;
    color: rgba(139,95,42,0.86);
}

.premium-features-card h3 {
    margin: 0 0 18px;
    padding: 0 34px;
    text-align: center;

    font-family: 'Cinzel', serif;
    font-size: clamp(1.7rem, 4.8vw, 2.25rem);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: 1.9px;

    color: rgba(50,36,26,1);
    text-shadow: 0 1px 0 rgba(255,255,255,0.76);
}

.premium-features-intro {
    max-width: 620px;
    margin: 0 auto 26px;
    padding: 0 0 24px;

    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    line-height: 1.68;
    font-weight: 500;

    color: rgba(70,55,44,0.88);
    border-bottom: 1px solid rgba(163,132,86,0.24);
}

.premium-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
}

.premium-features-list section {
    position: relative;
    padding: 0 0 0 18px;
    border-left: 1px solid rgba(203,166,102,0.46);
}

.premium-features-list h4 {
    margin: 0 0 8px;

    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: 1.35px;
    text-transform: uppercase;

    color: rgba(139,95,42,0.98);
}

.premium-features-list p {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.86rem;
    line-height: 1.62;
    font-weight: 500;

    color: rgba(62,51,43,0.88);
}

@media (max-width: 720px) {
    .premium-features-overlay {
        padding-top: 24px !important;
    }

    .premium-features-card {
        width: min(92vw, 390px);
        padding: 30px 24px 34px;
        border-radius: 30px;
    }

    .premium-features-card h3 {
        padding: 0 28px;
        font-size: 1.72rem;
    }

    .premium-features-intro {
        font-size: 0.90rem;
        line-height: 1.62;
    }

    .premium-features-list {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .premium-features-list section {
        padding-left: 15px;
    }

    .premium-features-list p {
        font-size: 0.84rem;
    }
}

.language-panel {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.language-option {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);

    background:
        radial-gradient(circle at 18% 0%, rgba(255,255,255,0.34), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08) 45%, rgba(18,20,30,0.42)),
        rgba(42,42,50,0.55);

    color: rgba(255,250,236,0.96);
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-align: left;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.30),
        0 12px 28px rgba(0,0,0,0.24);
}

.language-option strong {
    color: rgba(255,241,184,0.95);
    font-size: 1rem;
}

.language-note {
    margin: 16px auto 0;
    text-align: center;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255,241,184,0.62);
}

