@import url("https://fonts.googleapis.com/css2?family=Bellefair&display=swap");

:root {
    --aru-gold: #b86159;
    --aru-gold-deep: #7b3f3a;
    --aru-black: #070707;
    --aru-charcoal: #111111;
    --aru-panel: #171717;
    --aru-panel-soft: #1d1b19;
    --aru-ivory: #f2ede3;
    --aru-muted: #b3a896;
    --aru-line: rgba(184, 97, 89, 0.16);
}

/* Shared legal/safety note shown at the end of the test flow and reports. */
.auracle-disclaimer {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0.72rem max(1rem, env(safe-area-inset-left)) calc(0.72rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(247, 241, 232, 0.18);
    background: rgba(31, 31, 31, 0.9);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.14);
    color: rgba(247, 241, 232, 0.9);
    text-align: center;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: "Noto Sans SC", "Inter", sans-serif;
    font-size: clamp(0.75rem, 1vw, 0.88rem);
    font-weight: 500;
    line-height: 1.55;
    pointer-events: none;
}

.auracle-disclaimer__text {
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: 0;
    line-height: inherit;
}

.site-foot .auracle-disclaimer__text,
.site-footer .auracle-disclaimer__text,
.page-footer .auracle-disclaimer__text {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0.72rem max(1rem, env(safe-area-inset-left)) calc(0.72rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(247, 241, 232, 0.18);
    background: rgba(31, 31, 31, 0.9);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.14);
    color: rgba(247, 241, 232, 0.9);
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: "Noto Sans SC", "Inter", sans-serif;
    font-size: clamp(0.75rem, 1vw, 0.88rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.55;
    text-align: center;
    text-transform: none;
    pointer-events: none;
}

@media (max-width: 640px) {
    .auracle-disclaimer,
    .site-foot .auracle-disclaimer__text,
    .site-footer .auracle-disclaimer__text,
    .page-footer .auracle-disclaimer__text {
        padding-top: 0.58rem;
        font-size: 0.72rem;
        line-height: 1.5;
    }
}

/* Full-screen result wait state shared by the report intake pages. */
.auracle-result-loading {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

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

.auracle-result-loading__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 31, 31, 0.52);
}

.auracle-result-loading__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 1.05vw, 20px);
    padding: clamp(24px, 1.7vw, 32px) clamp(30px, 2.1vw, 40px);
    border: 1.5px solid rgba(71, 44, 18, 0.18);
    border-radius: clamp(9px, 0.65vw, 12px);
    background: rgba(255, 250, 239, 0.96);
    box-shadow: 0 clamp(6px, 0.42vw, 8px) clamp(24px, 1.7vw, 32px) rgba(0, 0, 0, 0.18);
}

.auracle-result-loading__spinner {
    width: clamp(38px, 2.5vw, 48px);
    height: clamp(38px, 2.5vw, 48px);
    border: 3.5px solid rgba(119, 131, 102, 0.28);
    border-top-color: #778366;
    border-radius: 50%;
    animation: auracle-result-loading-spin 0.85s linear infinite;
}

.auracle-result-loading__text {
    margin: 0;
    color: #586546;
    font-family: "Bellefair", "Noto Sans SC", sans-serif;
    font-size: clamp(18px, 1.25vw, 24px);
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.auracle-result-loading__estimate {
    max-width: min(360px, calc(100vw - 72px));
    margin: clamp(-6px, -0.3vw, -3px) 0 0;
    color: rgba(88, 101, 70, 0.72);
    font-family: "Inter", "Noto Sans SC", sans-serif;
    font-size: clamp(12px, 0.78vw, 15px);
    line-height: 1.5;
    text-align: center;
}

html[lang="zh-CN"] .auracle-result-loading__text {
    font-family: "Noto Sans SC", sans-serif;
}

@keyframes auracle-result-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auracle-result-loading__spinner {
        animation: none;
        opacity: 0.85;
    }
}

/* On-demand guide */
.test-guide-trigger {
    position: fixed;
    top: 5.75rem;
    right: 3rem;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.4rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(247, 241, 232, 0.48);
    border-radius: 3px;
    background: rgba(35, 32, 31, 0.84);
    color: rgba(250, 246, 240, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    font: 500 0.8rem/1 "Inter", "Noto Sans SC", sans-serif;
    letter-spacing: 0;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.test-guide-trigger:hover,
.test-guide-trigger:focus-visible {
    border-color: rgba(247, 241, 232, 0.9);
    background: rgba(68, 57, 53, 0.94);
    outline: none;
    transform: translateY(-1px);
}

.test-guide-trigger__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.72rem;
    line-height: 1;
}

.auracle-onboarding-open {
    overflow: hidden !important;
}

.auracle-onboarding {
    position: fixed;
    inset: 0;
    z-index: 10000;
    color: #211b18;
    font-family: "Inter", "Noto Sans SC", sans-serif;
}

.auracle-onboarding__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: auto;
}

.auracle-onboarding__spotlight {
    position: fixed;
    z-index: 1;
    border: 1px solid rgba(247, 241, 232, 0.92);
    border-radius: 4px;
    box-shadow: 0 0 0 9999px rgba(16, 13, 12, 0.72), 0 0 0 5px rgba(247, 241, 232, 0.12);
    pointer-events: none;
    transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease;
}

.auracle-onboarding__popover {
    position: fixed !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2;
    box-sizing: border-box;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 1.35rem 1.45rem 1.1rem;
    border: 1px solid rgba(247, 241, 232, 0.62);
    border-radius: 4px;
    background: #f7f1e8;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    animation: auracle-onboarding-rise 220ms ease both;
}

.auracle-onboarding__eyebrow {
    margin-bottom: 0.65rem;
    color: #9b625a;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.auracle-onboarding__popover h2 {
    margin: 0;
    color: #251e1b;
    font-family: "Cormorant Garamond", "Noto Sans SC", serif;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.05;
}

.auracle-onboarding__popover p {
    margin: 0.8rem 0 1.15rem;
    color: rgba(37, 30, 27, 0.78);
    font-size: 0.94rem;
    line-height: 1.55;
}

.auracle-onboarding__footer {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(37, 30, 27, 0.12);
}

.auracle-onboarding__progress {
    color: rgba(37, 30, 27, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.auracle-onboarding__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
}

.auracle-onboarding__button {
    min-width: 4.5rem;
    min-height: 2.45rem;
    padding: 0.58rem 1rem;
    border: 1px solid rgba(37, 30, 27, 0.46);
    border-radius: 999px;
    background: transparent;
    color: #251e1b;
    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.auracle-onboarding__button:hover,
.auracle-onboarding__button:focus-visible {
    border-color: #251e1b;
    outline: none;
}

.auracle-onboarding__button--skip,
.auracle-onboarding__button--back {
    border-color: transparent;
    color: rgba(37, 30, 27, 0.58);
}

.auracle-onboarding__button--skip {
    min-width: 0;
    justify-self: start;
    padding-left: 0;
    padding-right: 0.35rem;
}

.auracle-onboarding__button--back {
    justify-self: end;
}

.auracle-onboarding__button--next {
    min-width: 5.5rem;
    background: #251e1b;
    color: #f7f1e8;
}

.auracle-onboarding__button--next:hover,
.auracle-onboarding__button--next:focus-visible {
    background: #9b625a;
    color: #fffaf4;
}

.auracle-onboarding__button[hidden] {
    display: none;
}

@keyframes auracle-onboarding-rise {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 640px) {
    .test-guide-trigger {
        top: 3.15rem;
        right: 0.75rem;
        min-width: 2.5rem;
        width: 2.5rem;
        min-height: 2.5rem;
        justify-content: center;
        padding: 0;
    }

    .test-guide-trigger__label {
        display: none;
    }

    .auracle-onboarding__popover {
        padding: 1.1rem 1.1rem 0.9rem;
    }

    .auracle-onboarding__footer {
        gap: 0.7rem;
    }

    .auracle-onboarding__progress {
        align-self: flex-start;
    }

    .auracle-onboarding__actions {
        width: 100%;
    }

    .auracle-onboarding__button--next {
        min-width: 5.5rem;
    }

    .auracle-onboarding__spotlight {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auracle-onboarding__popover,
    .auracle-onboarding__spotlight {
        animation: none;
        transition: none;
    }
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top, rgba(184, 97, 89, 0.12) 0%, rgba(184, 97, 89, 0) 26%),
        linear-gradient(180deg, #0a0a0a 0%, #070707 100%);
    color: var(--aru-ivory);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.font-serif {
    font-family: "Bodoni Moda", serif;
}

.gold-text {
    color: var(--aru-gold);
}

.gold-bg {
    background: linear-gradient(180deg, #d8c19a 0%, #b78c57 100%);
}

.gold-border {
    border-color: var(--aru-gold);
}

.hover\:gold-border:hover {
    border-color: var(--aru-gold);
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 10, 10, 0.82);
    border-bottom: 1px solid var(--aru-line);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.top-nav a {
    color: var(--aru-ivory) !important;
}

.top-nav a:hover {
    color: var(--aru-gold) !important;
}

.top-nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 65%;
    max-width: 52rem;
}

.top-nav-link {
    position: relative;
    font-family: "Gentium Book Basic", "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--aru-muted) !important;
    text-decoration: none;
    padding: 0.5rem 1.05rem 0.58rem;
    border-radius: 9999px;
    background: rgba(184, 97, 89, 0.12);
    border: 1px solid rgba(184, 97, 89, 0.14);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.top-nav-link::before {
    display: none;
}

.top-nav-link::after {
    display: none;
}

.top-nav-link:hover,
.top-nav-link-active {
    color: var(--aru-ivory) !important;
    background: rgba(184, 97, 89, 0.24);
    border-color: rgba(184, 97, 89, 0.3);
}

.main-card {
    border: 1px solid rgba(184, 97, 89, 0.12);
    transition: all 0.4s;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%),
        var(--aru-panel);
    cursor: pointer;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.main-card:hover {
    border-color: var(--aru-gold);
    transform: translateY(-5px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(184, 97, 89, 0.08);
}

.ritual-nav-shell {
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.6rem);
    box-sizing: border-box;
}

.ritual-nav-stage {
    position: relative;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.ritual-nav-stage::after {
    display: none;
}

.ritual-nav-grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4.5rem);
    width: min(100%, 760px);
    max-width: 100%;
    margin: 0;
    pointer-events: auto;
}

.ritual-nav-grid::after {
    display: none;
}

.ritual-nav-item {
    position: relative;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(250, 246, 240, 0.9);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    overflow: visible;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
    font-family: "Bellefair", "Gentium Book Basic", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

html[data-lang="zh"] .ritual-nav-item {
    font-family: "Noto Sans SC", "Inter", sans-serif;
}

.ritual-nav-item::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.74rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 9999px;
    background: currentColor;
    transform: translateX(-50%) scale(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.ritual-nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.42rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease;
}

.ritual-nav-badge {
    display: none;
}

.ritual-nav-badge::before {
    display: none;
}

.ritual-nav-label {
    display: inline-flex;
}

.ritual-nav-title {
    font-family: "Gentium Book Basic", "Times New Roman", serif;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    text-shadow: none;
    letter-spacing: 0;
}

.ritual-nav-copy {
    display: none;
}

.ritual-nav-item:hover,
.ritual-nav-item:focus-visible,
.ritual-nav-item-active {
    color: var(--aru-ivory);
    transform: none;
    border-color: rgba(250, 246, 240, 0.18);
    background: rgba(250, 246, 240, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ritual-nav-item:hover,
.ritual-nav-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(250, 246, 240, 0.32);
    background: rgba(250, 246, 240, 0.12);
    opacity: 1;
}

.ritual-nav-item:hover::before,
.ritual-nav-item:focus-visible::before {
    transform: translateX(-50%) scale(0);
    opacity: 0;
}

.ritual-nav-item:hover::after,
.ritual-nav-item:focus-visible::after {
    transform: scaleX(0);
}

.ritual-nav-item-active::after {
    transform: scaleX(0);
}

.ritual-nav-item-active::before {
    transform: translateX(-50%) scale(0);
    opacity: 0;
}

.ritual-nav-item-active {
    border-color: rgba(210, 136, 127, 0.72);
    background: rgba(184, 97, 89, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(184, 97, 89, 0.08);
}

.ritual-nav-item:hover .ritual-nav-badge,
.ritual-nav-item:focus-visible .ritual-nav-badge,
.ritual-nav-item-active .ritual-nav-badge {
    transform: none;
    filter: none;
    box-shadow: none;
}

.ritual-nav-item-active .ritual-nav-badge {
    background: none;
}

.ritual-nav-item:focus-visible {
    outline: none;
}

.ritual-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
    gap: 0;
}

.ritual-nav-dropdown-trigger {
    gap: 0.35rem;
}

.ritual-nav-caret {
    display: inline-flex;
    align-items: center;
    font-size: 0.72em;
    line-height: 1;
    transition: transform 0.22s ease;
}

.ritual-nav-dropdown-open .ritual-nav-caret,
.ritual-nav-dropdown-trigger[aria-expanded="true"] .ritual-nav-caret {
    transform: rotate(180deg);
}

.ritual-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: min(22rem, calc(100vw - 2rem));
    width: 22rem;
    padding: 0.9rem;
    border: 1px solid rgba(184, 97, 89, 0.18);
    border-radius: 1.05rem;
    background: rgba(9, 9, 9, 0.96);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(18px);
    transform: translateY(-0.5rem) scale(0.985);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0s linear 0.18s;
    z-index: 20;
}

.ritual-nav-dropdown:hover .ritual-nav-dropdown-panel,
.ritual-nav-dropdown:focus-within .ritual-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0s linear 0s;
}

.ritual-nav-dropdown-open .ritual-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0s linear 0s;
}

.ritual-nav-dropdown-options {
    display: grid;
    gap: 0.6rem;
}

.ritual-nav-dropdown-option {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(184, 97, 89, 0.16);
    background:
        linear-gradient(180deg, rgba(184, 97, 89, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    color: var(--aru-ivory);
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
    pointer-events: auto;
}

.ritual-nav-dropdown-option:hover,
.ritual-nav-dropdown-option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(184, 97, 89, 0.34);
    background:
        linear-gradient(180deg, rgba(184, 97, 89, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    outline: none;
}

.ritual-nav-dropdown-option-title {
    font-family: "Gentium Book Basic", "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.1;
}

.ritual-nav-dropdown-option-copy {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aru-muted);
    line-height: 1.3;
}

.ritual-nav-panel,
.ritual-nav-panel-copy,
.ritual-nav-kicker,
.ritual-nav-link {
    display: none;
}

.ritual-nav-global {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: block;
    pointer-events: auto;
    border-bottom: 1px solid rgba(250, 246, 240, 0.16);
    background: #1f1b1a;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateY(0);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.ritual-nav-global.ritual-nav-global-retracted {
    transform: translateY(calc(-100% - 12px));
    pointer-events: none;
}

.ritual-nav-global::after {
    display: none;
}

.ritual-nav-global:hover::after,
.ritual-nav-global:focus-within::after,
.ritual-nav-global.ritual-nav-hovered::after {
    display: none;
}

.ritual-nav-guide-line {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    background: rgba(250, 246, 240, 0.92);
    pointer-events: none;
    z-index: 39;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.ritual-nav-guide-line.ritual-nav-guide-line-visible {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.ritual-nav-guide-line.ritual-nav-guide-line-retracted {
    transform: translateX(-50%) scaleX(0);
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .ritual-nav-global {
        transition: none;
    }

    .ritual-nav-guide-line {
        transition: none;
    }
}

.ritual-nav-global-hidden {
    display: none;
}

.ritual-nav-global .ritual-nav-item {
    pointer-events: auto;
}

.auracle-module-quota-badge {
    position: fixed;
    top: 86px;
    right: clamp(16px, 3vw, 44px);
    z-index: 900;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    width: min(360px, calc(100vw - 28px));
    max-width: min(360px, calc(100vw - 28px));
    padding: 8px 10px 8px 14px;
    border: 1px solid rgba(252, 247, 239, 0.18);
    border-radius: 8px;
    color: #fcf7ef;
    background: rgba(20, 17, 14, 0.72);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.auracle-module-quota-badge__text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.auracle-module-quota-badge__text span:first-child {
    color: rgba(252, 247, 239, 0.92);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.auracle-module-quota-badge__text span:last-child {
    color: rgba(252, 247, 239, 0.58);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.auracle-module-quota-badge strong {
    min-width: 34px;
    color: #f4d19a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    text-align: right;
}

.auracle-module-quota-badge[data-state="loading"] strong,
.auracle-module-quota-badge[data-state="error"] strong {
    min-width: 58px;
    color: rgba(252, 247, 239, 0.66);
    font-size: 12px;
}

.auracle-module-quota-badge[data-state="empty"] strong {
    color: #eaa185;
}

.auracle-module-quota-badge a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(244, 209, 154, 0.38);
    border-radius: 999px;
    color: #f4d19a;
    background: rgba(244, 209, 154, 0.1);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.auracle-module-quota-badge a:hover,
.auracle-module-quota-badge a:focus-visible {
    border-color: rgba(244, 209, 154, 0.7);
    background: rgba(244, 209, 154, 0.16);
    outline: none;
}

.homepage-language-picker {
    position: fixed;
    top: clamp(1rem, 2vw, 1.75rem);
    right: clamp(1rem, 2.4vw, 2.2rem);
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(242, 237, 227, 0.22);
    border-radius: 999px;
    background: rgba(7, 7, 7, 0.48);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.homepage-language-picker__option {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(242, 237, 227, 0.76);
    cursor: pointer;
    font-family: "Gentium Book Basic", "Times New Roman", serif;
    font-size: clamp(0.82rem, 1.1vw, 1rem);
    line-height: 1;
    padding: 0.55rem 0.82rem;
    transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.homepage-language-picker__option:hover,
.homepage-language-picker__option:focus-visible,
.homepage-language-picker__option.is-selected {
    background: rgba(242, 237, 227, 0.14);
    color: var(--aru-ivory);
    outline: none;
}

.homepage-language-picker__option:not(.is-selected) {
    opacity: 0.72;
}

.k-bar {
    width: 10px;
    position: relative;
    border-radius: 1px;
}

.k-line-stem {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.star-page {
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
}

.star-pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px #ffffff, 0 0 40px var(--aru-gold);
    animation: pulse 3s infinite;
    margin-bottom: 3rem;
}

.minimal-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333333;
    color: white;
    text-align: center;
    font-size: 3rem;
    font-family: "Bodoni Moda", serif;
    outline: none;
    width: 200px;
    margin: 2rem 0;
}

.empty-state {
    border: 1px dashed rgba(184, 97, 89, 0.22);
    padding: 2rem;
    text-align: center;
    color: var(--aru-muted);
    background: rgba(255, 255, 255, 0.02);
}

.text-black {
    color: var(--aru-ivory) !important;
}

.text-gray-400,
.text-gray-500,
.text-gray-600,
.text-gray-800 {
    color: var(--aru-muted) !important;
}

.bg-white,
.bg-white\/90,
.bg-gray-50,
.bg-gray-50\/30,
.bg-gray-50\/50 {
    background-color: var(--aru-panel) !important;
}

.border-gray-50,
.border-gray-100 {
    border-color: rgba(210, 180, 138, 0.12) !important;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-8 {
    gap: 2rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.leading-tight {
    line-height: 1.25;
}

.border-b {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.border-black {
    border-color: currentColor;
}

.text-center {
    text-align: center;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-\[9px\] {
    font-size: 9px;
}

.text-\[10px\] {
    font-size: 10px;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}

.tracking-\[0\.4em\] {
    letter-spacing: 0.4em;
}

.uppercase {
    text-transform: uppercase;
}

.w-fit {
    width: fit-content;
}

.no-underline {
    text-decoration: none;
}

input,
textarea {
    color: var(--aru-ivory);
}

input::placeholder,
textarea::placeholder {
    color: rgba(179, 168, 150, 0.72);
}

input[type="date"],
input[type="time"] {
    color-scheme: dark;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .ritual-nav-global {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .ritual-nav-shell {
        width: 100%;
        max-width: 100%;
        padding: 4px 4px 0;
    }

    .ritual-nav-grid {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.8fr));
        align-items: center;
        gap: 0;
        width: calc(100vw - 8px);
        max-width: 390px;
        min-height: 44px;
        height: 44px;
    }

    .ritual-nav-stage {
        padding: 0;
    }

    .ritual-nav-panel {
        display: none;
    }

    .ritual-nav-link {
        width: 100%;
        min-height: 44px;
    }

    .ritual-nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        width: 100%;
        min-height: 44px;
        padding: 0 2px;
        font-size: 10px;
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ritual-nav-dropdown {
        position: relative;
        left: auto;
        top: auto;
        min-width: 0;
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    .ritual-nav-grid > [data-nav-page="oracle-hub"],
    .ritual-nav-grid > [data-nav-page="shop"],
    .ritual-nav-grid > [data-nav-page="bazi-input"] {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
    }

    .ritual-nav-grid > [data-nav-page="oracle-hub"] {
        grid-column: 1;
    }

    .ritual-nav-grid > [data-nav-page="shop"] {
        grid-column: 3;
    }

    .ritual-nav-grid > [data-nav-page="bazi-input"] {
        grid-column: 4;
    }

    .ritual-nav-dropdown-trigger {
        gap: 0.16rem;
    }

    .ritual-nav-dropdown-panel {
        right: auto;
        left: 50%;
        width: min(20.5rem, calc(100vw - 1rem));
        transform-origin: top center;
        transform: translate(-50%, -0.5rem) scale(0.985);
    }

    .ritual-nav-dropdown:hover .ritual-nav-dropdown-panel,
    .ritual-nav-dropdown:focus-within .ritual-nav-dropdown-panel {
        transform: translate(-50%, 0) scale(1);
    }

    .ritual-nav-dropdown-open .ritual-nav-dropdown-panel {
        transform: translate(-50%, 0) scale(1);
    }

    .auracle-module-quota-badge {
        top: 58px;
        left: 50%;
        right: auto;
        grid-template-columns: minmax(0, 1fr) auto auto;
        width: min(356px, calc(100vw - 24px));
        transform: translateX(-50%);
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.auracle-report-strong {
    font-weight: 700;
}

.auracle-result-share-trigger {
    position: fixed;
    z-index: 70;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid rgba(255, 250, 240, 0.24);
    border-radius: 999px;
    color: #fffaf0;
    background: #283f2d;
    box-shadow: 0 12px 34px rgba(26, 43, 30, 0.28);
    font: 700 13px/1.1 Arial, sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.auracle-result-share-trigger:hover { transform: translateY(-2px); }
.auracle-result-share[hidden] { display: none; }
.auracle-result-share { position: fixed; z-index: 130; inset: 0; }
.auracle-result-share__backdrop { position: absolute; inset: 0; background: rgba(19, 24, 20, 0.68); backdrop-filter: blur(5px); }
.auracle-result-share__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(560px, calc(100vw - 28px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    transform: translate(-50%, -50%);
    padding: 32px;
    border: 1px solid rgba(117, 92, 45, 0.28);
    border-radius: 24px;
    color: #29332a;
    background: #fffaf0;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}
.auracle-result-share__close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: #6b6a5e; font-size: 28px; cursor: pointer; }
.auracle-result-share__eyebrow { margin: 0 0 10px; color: #987835; font: 700 10px/1 Arial, sans-serif; letter-spacing: 0.18em; }
.auracle-result-share__panel h2 { margin: 0; color: #243b2a; font: 600 28px/1.2 Georgia, "Songti SC", serif; }
.auracle-result-share__lead, .auracle-result-share__note { color: #6d7067; font: 13px/1.65 Arial, sans-serif; }
.auracle-result-share__actions { display: flex; align-items: center; gap: 12px; }
.auracle-result-share__actions button { min-height: 43px; padding: 0 18px; border: 0; border-radius: 999px; font: 700 12px Arial, sans-serif; cursor: pointer; }
.auracle-result-share__actions button:first-child { color: #fffaf0; background: #2b4431; }
.auracle-result-share__link { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.auracle-result-share__link input { min-width: 0; padding: 10px 12px; border: 1px solid #d8d3c2; border-radius: 9px; background: #fff; }
.auracle-result-share__link button { padding: 0 15px; border: 0; border-radius: 9px; color: white; background: #8b7334; cursor: pointer; }
.auracle-result-share__status { min-height: 18px; margin: 8px 0 0; color: #41614a; font: 12px/1.5 Arial, sans-serif; }
.auracle-result-share__status.is-error { color: #a54837; }
.auracle-result-share-open { overflow: hidden; }

@media (max-width: 768px) {
    .auracle-result-share-trigger {
        right: 14px;
        bottom: calc(var(--auracle-disclaimer-height, 0px) + 14px);
    }
    .auracle-result-share__panel { padding: 26px 18px 20px; border-radius: 20px; }
    .auracle-result-share__actions { align-items: stretch; flex-direction: column; }
}
