:root {
    --bg: #07122b;
    --bg-elevated: rgba(13, 24, 54, 0.86);
    --bg-elevated-2: rgba(21, 34, 74, 0.88);
    --line: rgba(164, 181, 255, 0.16);
    --text: #f7f8ff;
    --text-soft: #c7d0f2;
    --text-muted: #97a6d7;
    --accent: #8a63ff;
    --accent-soft: rgba(138, 99, 255, 0.2);
    --accent-2: #d4cbff;
    --success: #7ae1bc;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1240px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: radial-gradient(circle at top, rgba(44, 65, 136, 0.28), transparent 28%), var(--bg); color: var(--text); }
body { min-height: 100vh; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
p { line-height: 1.65; color: var(--text-soft); }
h1, h2, h3 { margin: 0 0 0.75rem; line-height: 1.1; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
strong { color: var(--text); }

.site-shell { width: min(100%, var(--max-width)); margin: 0 auto; padding: 24px; }
.site-header, .site-footer { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.site-header { padding: 10px 0 28px; }
.site-footer { margin: 36px 0 10px; padding: 22px 0 10px; color: var(--text-muted); border-top: 1px solid var(--line); font-size: 0.95rem; }
.footer-links { text-align: right; }

.brand-link { display: flex; gap: 14px; align-items: center; color: var(--text); text-decoration: none; }
.brand-link img { width: 52px; height: 52px; }
.brand-name { font-weight: 700; font-size: 1.15rem; }
.brand-tagline { color: var(--text-muted); font-size: 0.92rem; }

.site-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-nav a, .site-nav button {
    color: var(--text-soft);
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 999px;
}
.site-nav a:hover, .site-nav button:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.site-nav .nav-cta { background: linear-gradient(135deg, var(--accent), #a17dff); color: white; box-shadow: var(--shadow); }
.nav-form { margin: 0; }

.site-main { display: grid; gap: 22px; }
.panel {
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(12px);
}
.inset-panel { padding: 20px; border-radius: var(--radius-lg); }
.narrow-panel { width: min(100%, 760px); margin: 0 auto; }
.wide-panel { width: min(100%, 980px); }

.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; }
.compact-hero { padding-bottom: 22px; }
.hero-brand-card img { border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); }
.hero-lead { font-size: 1.08rem; max-width: 58ch; }
.hero-copy-block { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; color: #cfc7ff; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: var(--text-soft); font-size: 0.92rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.marketing-grid, .plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.marketing-card, .plan-card { min-height: 100%; }
.plan-card { display: flex; flex-direction: column; gap: 16px; }
.plan-card-topline { display: inline-flex; width: fit-content; padding: 6px 12px; border-radius: 999px; background: rgba(122, 215, 196, 0.12); border: 1px solid rgba(122, 215, 196, 0.28); color: #ddfff7; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.plan-card.featured { border-color: rgba(138, 99, 255, 0.4); box-shadow: 0 0 0 1px rgba(138, 99, 255, 0.2), var(--shadow); }
.plan-card.is-current { border-color: rgba(122, 215, 196, 0.58); box-shadow: 0 0 0 2px rgba(122, 215, 196, 0.22), 0 18px 48px rgba(3, 8, 24, 0.46); background: linear-gradient(180deg, rgba(122, 215, 196, 0.08), rgba(8, 13, 33, 0.96)); }
.plan-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-card-header--stacked { align-items: flex-start; flex-direction: column; }
.plan-name { font-size: 1.15rem; font-weight: 700; }
.plan-name-current { font-size: 1.6rem; letter-spacing: 0.01em; }
.plan-price { margin-top: -4px; font-size: 1.08rem; }
.plan-status-ribbon { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(122, 215, 196, 0.16); border: 1px solid rgba(122, 215, 196, 0.3); color: #ddfff7; font-weight: 700; font-size: 0.92rem; }
.plan-footer { margin-top: auto; display: flex; align-items: center; justify-content: flex-start; min-height: 52px; }
.plan-current-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(122, 215, 196, 0.16); border: 1px solid rgba(122, 215, 196, 0.3); color: #ddfff7; font-weight: 700; }
.billing-current-summary { display: grid; gap: 6px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.billing-current-label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cfc7ff; }
.billing-current-value { font-size: 1.45rem; font-weight: 800; color: #ffffff; }
.billing-intro { margin-bottom: 18px; }
.wisdom-panel { border-color: rgba(122, 215, 196, 0.18); }
.wisdom-feature { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
.wisdom-avatar-shell { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 28px; background: radial-gradient(circle at top, rgba(138, 99, 255, 0.24), rgba(7, 13, 33, 0.96)); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.wisdom-avatar { width: 100%; height: 100%; object-fit: cover; }
.wisdom-attribution { margin-bottom: 8px; color: #ddfff7; font-weight: 700; letter-spacing: 0.01em; }
.wisdom-copy { font-size: 1.06rem; line-height: 1.8; color: var(--text-soft); max-width: 62ch; }
.wisdom-note { margin-top: 12px; }
.delivery-preferences-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.checkbox-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }
.checkbox-card strong { display: block; margin-bottom: 4px; }
.checkbox-card small { color: var(--text-muted); display: block; line-height: 1.5; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-heading.left { justify-content: flex-start; }
.status-banner, .validation-summary {
    background: rgba(138, 99, 255, 0.12);
    border: 1px solid rgba(138, 99, 255, 0.22);
    color: var(--accent-2);
}
.status-banner.compact { margin-top: 14px; }
.status-banner.warning { background: rgba(255, 190, 110, 0.12); border-color: rgba(255, 190, 110, 0.22); color: #ffd8a6; }
.validation-summary.small { margin-bottom: 18px; }
.muted { color: var(--text-muted); }

.form-grid { display: grid; gap: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text); }
input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(7, 13, 33, 0.76);
    color: var(--text);
    outline: none;
    font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: rgba(138, 99, 255, 0.6); box-shadow: 0 0 0 4px rgba(138, 99, 255, 0.12); }
span.field-validation-error, .validation-summary ul { color: #ffb7c7; }
.validation-summary ul { margin: 0; padding-left: 20px; }

.primary-button, .secondary-button, .secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}
.primary-button {
    border: 0;
    background: linear-gradient(135deg, var(--accent), #a17dff);
    color: white;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(138, 99, 255, 0.28);
}
.primary-button:disabled { opacity: 0.6; cursor: not-allowed; }
.secondary-button {
    border: 1px solid rgba(255,255,255,0.16);
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
}
.secondary-link {
    color: var(--text-soft);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
}

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.compact-top { margin-top: 14px; }
.spaced-top { margin-top: 18px; }
.upgrade-callout, .empty-state {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-soft);
}

.reading-meta, .history-topline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.context-strip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 18px;
    background: rgba(138, 99, 255, 0.12);
    border: 1px solid rgba(138, 99, 255, 0.18);
    color: var(--accent-2);
    font-size: 0.94rem;
}
.reading-text p { margin: 0 0 14px; }
.reading-heading {
    margin: 20px 0 8px;
    color: #efeaff;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}
.reading-text .reading-heading:first-child { margin-top: 0; }
.pro-value-grid, .admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.pro-value-card, .admin-metric-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
.pro-value-card p { margin: 8px 0 0; font-size: 0.95rem; }
.admin-metric-card { display: grid; gap: 4px; }
.admin-metric-card strong { font-size: 1.35rem; }
.admin-metric-card span { color: var(--text-muted); font-size: 0.88rem; line-height: 1.35; }
.history-list { display: grid; gap: 14px; }
.history-item {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.full-history-item { padding: 22px; }
.compact-reading p { margin-bottom: 10px; }

.checklist {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.checklist > li,
.checklist > div {
    list-style: none;
}
.plan-card .checklist {
    margin-top: 0;
}
.check-item {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-soft);
}
.check-item.done {
    background: rgba(122, 225, 188, 0.12);
    border-color: rgba(122, 225, 188, 0.28);
    color: #d6fff0;
}
.check-link {
    display: block;
    text-decoration: none;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.check-link:hover {
    transform: translateY(-1px);
    border-color: rgba(138, 99, 255, 0.28);
    background: rgba(138, 99, 255, 0.08);
}
.checkin-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.checkin-chip {
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-soft);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.checkin-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(138, 99, 255, 0.34);
    background: rgba(138, 99, 255, 0.1);
}
.compact-callout {
    margin-top: 0;
}

.questionnaire-grid { display: grid; gap: 16px; }
.question-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.question-prompt { font-weight: 700; margin-bottom: 12px; }
.radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    margin-top: 10px;
    cursor: pointer;
}
.radio-card input { width: auto; }
.checkbox-row { display: flex; gap: 10px; align-items: center; }
.checkbox-row input { width: auto; }
.question-consent { padding-top: 8px; }

@media (max-width: 980px) {
    .hero-grid, .grid-2, .marketing-grid, .plans-grid, .two-col, .pro-value-grid, .admin-metric-grid { grid-template-columns: 1fr; }
    .site-header, .site-footer { flex-direction: column; align-items: flex-start; }
    .site-nav { width: 100%; }
}

@media (max-width: 640px) {
    .site-shell { padding: 16px; }
    .panel { padding: 20px; border-radius: 22px; }
    .site-nav { gap: 8px; }
    .site-nav a, .site-nav button { padding: 8px 12px; }
    .checkin-option-grid { grid-template-columns: 1fr; }
}

.compact-panel { padding: 16px 20px; border-radius: 18px; }
.necessary-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--text-soft); margin-bottom: 8px; }
.notice-links { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.no-top { margin-top: 0; }
.compact-checklist { margin-top: 0; }
.source-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.84rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}
.source-badge.live { background: rgba(122, 225, 188, 0.12); border-color: rgba(122, 225, 188, 0.28); color: #d6fff0; }
.source-badge.fallback { background: rgba(245, 186, 90, 0.12); border-color: rgba(245, 186, 90, 0.28); color: #ffe6b0; }
.source-badge.local { background: rgba(138, 99, 255, 0.14); border-color: rgba(138, 99, 255, 0.24); color: var(--accent-2); }
.loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 8, 24, 0.78);
    z-index: 9999;
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s ease;
}
.loading-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.loading-overlay.is-fading {
    opacity: 0;
    pointer-events: none;
}
.loading-overlay[hidden] { display: none !important; }

.loading-card {
    width: min(92vw, 420px);
    padding: 32px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(13,24,54,0.96), rgba(21,34,74,0.96));
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
    transform: translateY(12px) scale(0.985);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}
.loading-overlay.is-visible .loading-card {
    transform: translateY(0) scale(1);
}
.loading-overlay.is-fading .loading-card {
    transform: translateY(10px) scale(0.992);
}

@media (max-width: 980px) {
    .necessary-notice { flex-direction: column; align-items: flex-start; }
    .notice-links { white-space: normal; }
}

.question-card-invalid {
    border-color: rgba(255, 150, 150, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 130, 130, 0.22) inset;
}

.field-error {
    color: #ffb7b7;
    font-size: 0.95rem;
    margin: 0 0 0.85rem;
}

.field-hint {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.tarot-panel {
    overflow: hidden;
}

.tarot-grid {
    align-items: start;
}

.tarot-subpanel {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    scroll-margin-top: 26px;
    transition: border-color 0.55s ease, box-shadow 0.55s ease, transform 0.55s ease;
}

.tarot-subpanel.ritual-focus {
    border-color: rgba(138, 99, 255, 0.34);
    box-shadow: 0 0 0 1px rgba(138, 99, 255, 0.18), 0 18px 44px rgba(0,0,0,0.24);
    transform: translateY(-2px);
}

.tarot-meta {
    margin-bottom: 18px;
}

.tarot-reveal,
.tarot-spread-grid {
    perspective: 1400px;
}

.tarot-reveal-single {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.tarot-spread-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tarot-slot {
    min-width: 0;
}

.tarot-slot-label {
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: #cfc7ff;
}

.tarot-card-shell {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    opacity: 1;
}

.js .tarot-card-shell.pending-reveal {
    transform: translateY(18px) rotateY(0deg) scale(0.985);
}

.tarot-card-shell.is-front-visible {
    transform: rotateY(180deg);
}

.js .tarot-card-shell.is-animating {
    animation: tarot-reveal-flip 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tarot-card-shell--single {
    width: min(100%, 250px);
    height: 360px;
}

.tarot-card-shell--spread {
    width: 100%;
    height: 292px;
}

.tarot-card-face {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0,0,0,0.28);
}

.tarot-card-back {
    background:
        radial-gradient(circle at top, rgba(205, 191, 255, 0.38), transparent 35%),
        linear-gradient(180deg, rgba(18, 28, 63, 0.96), rgba(9, 16, 38, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.tarot-card-back::before,
.tarot-card-back::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
}

.tarot-card-back::after {
    inset: 26px;
    border-color: rgba(207, 199, 255, 0.18);
}

.tarot-card-back-glow {
    position: absolute;
    inset: 18% 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191,171,255,0.28), transparent 70%);
    filter: blur(8px);
}

.tarot-card-back-symbol {
    position: relative;
    font-size: 2rem;
    color: #efeaff;
}

.tarot-card-back-word {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.76rem;
    color: #d5caff;
}

.tarot-card-front {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle at top, rgba(126, 209, 255, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(17, 26, 57, 0.98), rgba(11, 18, 40, 0.98));
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.tarot-card-front-top {
    display: grid;
    gap: 10px;
}

.tarot-card-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.tarot-card-art {
    position: relative;
    height: 136px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08), rgba(255,255,255,0) 72%);
    border: 1px solid rgba(255,255,255,0.08);
}

.tarot-card-art::before {
    content: '';
    position: absolute;
    inset: 16px 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157,220,255,0.18), transparent 72%);
    filter: blur(8px);
}

.tarot-card-art img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.28));
    opacity: 0.96;
}

.tarot-card-shell--spread .tarot-card-art {
    height: 82px;
    border-radius: 18px;
}

.tarot-card-shell--spread .tarot-card-art img {
    padding: 10px;
}

.tarot-card-front h4 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.15;
}

.tarot-card-shell--spread h4 {
    font-size: 1rem;
}

.tarot-card-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    color: #cfc7ff;
}

.tarot-card-orientation {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    font-size: 0.82rem;
    color: var(--text-soft);
}

.tarot-card-theme {
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.tarot-card-shell--spread .tarot-card-theme {
    font-size: 0.78rem;
}

.tarot-copy {
    margin-top: 10px;
}

@keyframes tarot-reveal-flip {
    0% {
        opacity: 0;
        transform: translateY(26px) rotateY(0deg) scale(0.975);
    }
    12% {
        opacity: 1;
    }
    36% {
        opacity: 1;
        transform: translateY(0) rotateY(0deg) scale(1);
    }
    62% {
        opacity: 1;
        transform: translateY(0) rotateY(86deg) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateY(180deg) scale(1);
    }
}

.loading-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    margin-bottom: 16px;
    position: relative;
}

.loading-visual-reading {
    min-height: 118px;
}

.reading-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.16);
    animation: reading-orbit 5s linear infinite;
}

.reading-orbit-outer {
    width: 96px;
    height: 96px;
}

.reading-orbit-inner {
    width: 62px;
    height: 62px;
    animation-direction: reverse;
    opacity: 0.7;
}

.reading-core {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #efeaff;
    background: radial-gradient(circle, rgba(161,125,255,0.75), rgba(91,72,158,0.32));
    box-shadow: 0 0 32px rgba(161,125,255,0.28);
    font-size: 1.35rem;
}

@keyframes reading-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-visual-tarot-card,
.loading-visual-tarot-spread {
    gap: 14px;
}

.loading-card-back {
    width: 82px;
    height: 126px;
    border-radius: 18px;
    position: relative;
    background:
        radial-gradient(circle at top, rgba(205, 191, 255, 0.35), transparent 35%),
        linear-gradient(180deg, rgba(18, 28, 63, 0.96), rgba(9, 16, 38, 0.98));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 16px 32px rgba(0,0,0,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    animation: tarot-card-float 2.4s ease-in-out infinite;
}

.loading-card-back::before,
.loading-card-back::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
}

.loading-card-back::after {
    inset: 20px;
    border-color: rgba(207, 199, 255, 0.18);
}

.loading-card-sigil,
.loading-card-word {
    position: relative;
}

.loading-card-sigil {
    font-size: 1.2rem;
    color: #f3eeff;
}

.loading-card-word {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #d7ceff;
}

.tarot-back-single {
    width: 112px;
    height: 168px;
}

@keyframes tarot-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 980px) {
    .tarot-spread-grid {
        grid-template-columns: 1fr;
    }

    .tarot-card-shell--spread {
        height: 288px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-overlay,
    .loading-card,
    .tarot-subpanel {
        transition: none;
    }

    .reading-orbit,
    .loading-card-back {
        animation: none;
    }

    .js .tarot-card-shell.pending-reveal,
    .tarot-card-shell.is-front-visible,
    .js .tarot-card-shell.is-animating {
        animation: none !important;
        transform: rotateY(180deg);
    }
}

.admin-grid {
    align-items: start;
}

.admin-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-metric-card, .pro-value-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.admin-metric-card {
    display: grid;
    gap: 4px;
}

.admin-metric-card strong {
    font-size: 1.45rem;
    color: #fff;
}

.admin-metric-card span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.pro-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pro-value-card h3 {
    margin-bottom: 6px;
}

.small-chip {
    padding: 6px 11px;
    font-size: 0.82rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
}

.data-table th,
.data-table td {
    padding: 16px 14px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.data-table thead th {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-top: 0;
}

.table-user-block {
    display: grid;
    gap: 4px;
}

.table-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-form {
    margin: 0;
}

.stacked-form {
    display: grid;
    gap: 10px;
}

.admin-action-stack {
    display: grid;
    gap: 10px;
}

.small-text {
    font-size: 0.9rem;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
    padding: 0.12rem 0.36rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--accent-2);
}

@media (max-width: 980px) {
    .admin-meta-grid {
        grid-template-columns: 1fr;
    }
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pagination-controls {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.secondary-link.is-disabled {
    opacity: 0.48;
    pointer-events: none;
    cursor: default;
}

.about-panel {
    display: grid;
    gap: 14px;
}

.about-dedication {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

@media (max-width: 860px) {
  .wisdom-feature, .delivery-preferences-grid { grid-template-columns: 1fr; }
  .wisdom-avatar-shell { width: 88px; height: 88px; }
}

.locked-upgrade-link {
    display: block;
    text-decoration: none;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.locked-upgrade-link:hover {
    transform: translateY(-1px);
    border-color: rgba(138, 99, 255, 0.32);
    background: rgba(138, 99, 255, 0.08);
}
.detailed-checkin-callout h3 {
    margin-top: 0;
}

/* Phase 9 public trust / SEO pages */
.site-nav a.is-active {
    background: rgba(138, 99, 255, 0.18);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(212, 203, 255, 0.18);
}
.acquisition-grid { margin-top: 0; }
.faq-list { display: grid; gap: 16px; }
.faq-item h2 { font-size: 1.25rem; }
.faq-item p { margin-bottom: 0; }
.sample-reading-note { color: var(--text-muted); font-size: 0.95rem; }
.public-page-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Phase 15: mobile navigation polish and Leyra touch ritual */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.site-shell {
    padding-inline: clamp(14px, 3vw, 24px);
}

@media (max-width: 760px) {
    .site-header {
        gap: 14px;
        padding: 8px 0 18px;
    }

    .brand-link {
        gap: 12px;
    }

    .brand-link img {
        width: 46px;
        height: 46px;
    }

    .brand-name {
        font-size: 1.08rem;
    }

    .brand-tagline {
        max-width: 28ch;
        line-height: 1.25;
        font-size: 0.84rem;
    }

    .site-nav {
        width: calc(100% + 16px);
        margin-inline: -8px;
        padding: 2px 8px 10px;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a,
    .site-nav button,
    .site-nav .nav-form {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .site-nav a,
    .site-nav button {
        min-height: 40px;
        padding: 8px 12px;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.025);
        white-space: nowrap;
        font-size: clamp(0.86rem, 3.7vw, 0.98rem);
    }

    .site-nav a.is-active {
        background: rgba(138, 99, 255, 0.24);
        border-color: rgba(212, 203, 255, 0.28);
    }

    .necessary-notice.compact-panel,
    .panel {
        padding: clamp(18px, 5vw, 22px);
    }

    .site-main {
        gap: 18px;
    }

    .reading-text p {
        font-size: clamp(1rem, 4.2vw, 1.12rem);
        line-height: 1.72;
    }

    .context-strip {
        display: flex;
        width: 100%;
        font-size: clamp(0.92rem, 3.9vw, 1rem);
        line-height: 1.45;
    }

    .form-actions .primary-button,
    .form-actions .secondary-button,
    .form-actions .secondary-link {
        min-width: min(100%, 260px);
    }
}

@media (max-width: 420px) {
    .site-shell {
        padding-inline: 12px;
    }

    .brand-link img {
        width: 42px;
        height: 42px;
    }

    .brand-tagline {
        max-width: 22ch;
    }

    h1 {
        font-size: clamp(1.88rem, 10vw, 2.7rem);
    }

    h2 {
        font-size: clamp(1.45rem, 8vw, 2.05rem);
    }
}

body.ritual-active {
    overflow: hidden;
}

.ritual-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 22px;
    background:
        radial-gradient(circle at 50% 36%, rgba(138, 99, 255, 0.22), transparent 30%),
        rgba(2, 8, 24, 0.82);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.ritual-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.ritual-overlay.is-fading {
    opacity: 0;
    pointer-events: none;
}

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

.ritual-card {
    width: min(92vw, 430px);
    display: grid;
    place-items: center;
    gap: 14px;
    padding: clamp(26px, 7vw, 36px);
    border-radius: 30px;
    border: 1px solid rgba(212, 203, 255, 0.16);
    background: linear-gradient(180deg, rgba(13,24,54,0.97), rgba(17,29,68,0.97));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
    text-align: center;
    transform: translateY(10px) scale(0.985);
    transition: transform 0.35s ease;
}

.ritual-overlay.is-visible .ritual-card {
    transform: translateY(0) scale(1);
}

.ritual-orb {
    --ritual-progress: 0;
    position: relative;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        conic-gradient(from -90deg, rgba(122,225,188,0.92) calc(var(--ritual-progress) * 1turn), rgba(255,255,255,0.08) 0),
        radial-gradient(circle, rgba(161,125,255,0.34), rgba(7, 13, 33, 0.96));
    box-shadow: 0 0 44px rgba(138, 99, 255, 0.24), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.ritual-orb::before {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at top, rgba(23, 37, 82, 0.98), rgba(6, 12, 30, 0.98));
}

.ritual-orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
}

.ritual-orb-ring-one {
    inset: -12px;
    animation: ritual-spin 9s linear infinite;
}

.ritual-orb-ring-two {
    inset: 20px;
    border-color: rgba(122,225,188,0.2);
    animation: ritual-spin 7s linear infinite reverse;
}

.ritual-orb-core {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #f4efff;
    font-size: 1.6rem;
    background: radial-gradient(circle, rgba(161,125,255,0.7), rgba(91,72,158,0.22));
    box-shadow: 0 0 32px rgba(122,225,188,0.2);
}

.ritual-overlay.is-holding .ritual-orb,
.ritual-overlay.is-complete .ritual-orb {
    box-shadow: 0 0 54px rgba(122,225,188,0.34), 0 0 88px rgba(138,99,255,0.2);
}

.ritual-card h3 {
    margin: 8px 0 0;
}

.ritual-card p {
    margin: 0;
    max-width: 34ch;
}

.ritual-hold-button,
.ritual-skip-button {
    font: inherit;
    border-radius: 999px;
    cursor: pointer;
}

.ritual-hold-button {
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid rgba(122,225,188,0.34);
    background: rgba(122,225,188,0.12);
    color: #e5fff7;
    font-weight: 800;
    touch-action: none;
    user-select: none;
}

.ritual-hold-button:active {
    transform: translateY(1px);
}

.ritual-skip-button {
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
}

@keyframes ritual-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ritual-overlay,
    .ritual-card {
        transition: none;
    }

    .ritual-orb-ring {
        animation: none;
    }
}



/* Phase 16: mobile menu affordance, preference cards, and intention ritual copy polish */
.site-nav-wrap {
    position: relative;
    min-width: 0;
}

.site-nav-scroll-hint {
    display: none;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-width: 22px;
    height: 22px;
    padding: 0;
    flex: 0 0 auto;
    accent-color: #7ae1bc;
}

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

.checkbox-row span {
    min-width: 0;
}

.checkbox-card {
    align-items: flex-start;
    min-width: 0;
}

.checkbox-card input[type="checkbox"] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin: 2px 0 0;
}

.checkbox-card span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.checkbox-card strong,
.checkbox-card small {
    overflow-wrap: normal;
    word-break: normal;
}

.delivery-panel .checkbox-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025));
}

.ritual-card h3::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(122,225,188,0.8), transparent);
}

@media (max-width: 980px) {
    .site-nav-wrap {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .site-nav-wrap {
        width: calc(100% + 16px);
        margin-inline: -8px;
        padding-inline: 8px;
        padding-bottom: 22px;
        overflow: hidden;
    }

    .site-nav-wrap::before,
    .site-nav-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 24px;
        width: 34px;
        pointer-events: none;
        z-index: 2;
    }

    .site-nav-wrap::before {
        left: 0;
        background: linear-gradient(90deg, var(--bg), rgba(7,18,43,0));
    }

    .site-nav-wrap::after {
        right: 0;
        background: linear-gradient(270deg, var(--bg), rgba(7,18,43,0));
    }

    .site-nav-scroll-hint {
        display: inline-flex;
        position: absolute;
        right: 12px;
        bottom: 0;
        z-index: 3;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(7, 18, 43, 0.84);
        border: 1px solid rgba(212, 203, 255, 0.18);
        color: var(--text-muted);
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .site-nav {
        width: 100%;
        margin-inline: 0;
        padding-inline: 0 34px;
    }

    .delivery-preferences-grid {
        gap: 12px;
    }

    .checkbox-card {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .checkbox-card input[type="checkbox"] {
        width: 24px;
        min-width: 24px;
        height: 24px;
    }
}

@media (max-width: 420px) {
    .site-nav-wrap {
        width: calc(100% + 24px);
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .delivery-panel .section-heading h2 {
        font-size: clamp(1.5rem, 9vw, 2.15rem);
    }
}

/* Phase 18 profile and admin control polish */
.personal-lens-panel {
    position: relative;
    overflow: hidden;
}

.personal-lens-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(122, 225, 188, 0.12), transparent 38%);
}

.personal-lens-panel > * {
    position: relative;
    z-index: 1;
}

.personal-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.personal-signal-card {
    border: 1px solid rgba(212, 203, 255, 0.14);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    line-height: 1.5;
}

.skip-checkin-form {
    align-items: center;
    gap: 12px;
}

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

.admin-question-control-panel .section-heading {
    margin-bottom: 18px;
}

.admin-question-form textarea {
    min-height: 72px;
}

.admin-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-option-grid > div {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(212, 203, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.admin-question-list {
    display: grid;
    gap: 12px;
    max-height: 760px;
    overflow: auto;
    padding-right: 4px;
}

.admin-question-row {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(212, 203, 255, 0.14);
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.admin-question-row.is-muted {
    opacity: 0.72;
}

.admin-question-row h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.admin-question-row-header,
.admin-question-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-question-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(212, 203, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 760px) {
    .personal-signal-grid,
    .admin-option-grid {
        grid-template-columns: 1fr;
    }

    .skip-checkin-form {
        align-items: stretch;
    }

    .admin-question-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mini-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.trust-grid .panel {
    min-height: 100%;
}

@media (max-width: 860px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Phase 19: release safety, warning cleanup, and visible memory timeline */
.profile-timeline-panel {
    border-color: rgba(122, 225, 188, 0.16);
}

.profile-timeline-list {
    display: grid;
    gap: 12px;
}

.profile-timeline-item {
    position: relative;
    padding: 16px 16px 16px 22px;
    border: 1px solid rgba(212, 203, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}

.profile-timeline-item::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(122,225,188,0.82), rgba(138,99,255,0.45));
}

.profile-timeline-item h3 {
    margin: 8px 0 4px;
    font-size: 1.05rem;
}

.profile-timeline-item p {
    margin: 0;
}

.profile-timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-timeline-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(212, 203, 255, 0.12);
    background: rgba(255,255,255,0.035);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.reading-quality-panel .admin-metric-card strong {
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}

@media (max-width: 760px) {
    .profile-timeline-item {
        padding: 15px 15px 15px 20px;
    }
}

/* Phase 20: guided daily path, ritual feedback, and observability polish */
.daily-plan-panel {
    border-color: rgba(122, 225, 188, 0.16);
}

.daily-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.daily-plan-card {
    display: grid;
    gap: 8px;
    min-height: 172px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(212, 203, 255, 0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.026));
    color: var(--text-soft);
    text-decoration: none;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.daily-plan-card:hover {
    transform: translateY(-1px);
    border-color: rgba(122, 225, 188, 0.32);
    background: linear-gradient(180deg, rgba(122,225,188,0.09), rgba(255,255,255,0.03));
    text-decoration: none;
}

.daily-plan-card strong {
    font-size: 1.02rem;
}

.daily-plan-card span:not(.daily-plan-status) {
    line-height: 1.55;
}

.daily-plan-card em {
    align-self: end;
    color: #ddfff7;
    font-style: normal;
    font-weight: 800;
}

.daily-plan-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(212, 203, 255, 0.14);
    background: rgba(255,255,255,0.045);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.daily-plan-card.is-complete {
    border-color: rgba(122, 225, 188, 0.32);
    background: linear-gradient(180deg, rgba(122,225,188,0.11), rgba(255,255,255,0.028));
}

.daily-plan-card.is-complete .daily-plan-status {
    color: #ddfff7;
    background: rgba(122,225,188,0.13);
    border-color: rgba(122,225,188,0.28);
}

.daily-plan-card.is-locked {
    opacity: 0.82;
}

.daily-plan-card.is-locked .daily-plan-status {
    color: #d4cbff;
}

.ritual-progress-text {
    min-height: 22px;
    color: #ddfff7;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@media (max-width: 980px) {
    .daily-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .daily-plan-grid {
        grid-template-columns: 1fr;
    }

    .daily-plan-card {
        min-height: 0;
    }
}

/* Phase 21: setup guidance, conversion clarity, and admin funnel */
.setup-progress-panel {
    border-color: rgba(122, 225, 188, 0.2);
}

.setup-progress-track {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
}

.setup-progress-fill {
    min-width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(122,225,188,0.92), rgba(161,125,255,0.96));
}

.setup-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.setup-step-grid,
.plan-comparison-grid,
.memory-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.setup-step-card,
.plan-comparison-card,
.memory-principle-card {
    display: grid;
    gap: 9px;
    padding: 16px;
    min-height: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
    color: var(--text-soft);
    text-decoration: none;
}

.setup-step-card:hover {
    text-decoration: none;
    transform: translateY(-1px);
    border-color: rgba(212, 203, 255, 0.22);
}

.setup-step-card.is-complete {
    border-color: rgba(122,225,188,0.26);
    background: rgba(122,225,188,0.07);
}

.setup-step-card.is-open {
    border-color: rgba(161,125,255,0.28);
    background: rgba(138,99,255,0.08);
}

.setup-step-card.is-locked {
    opacity: 0.72;
}

.setup-step-badge {
    display: inline-flex;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    color: #ddfff7;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.setup-step-card em,
.plan-comparison-card em {
    color: var(--accent-2);
    font-style: normal;
    font-weight: 700;
}

.plan-comparison-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
    line-height: 1.65;
}

.plan-comparison-card.featured {
    border-color: rgba(138, 99, 255, 0.34);
    background: linear-gradient(180deg, rgba(138,99,255,0.11), rgba(255,255,255,0.035));
}

.memory-principle-card h2 {
    font-size: 1.2rem;
}

.admin-funnel-panel .admin-metric-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .setup-step-grid,
    .plan-comparison-grid,
    .memory-principle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-funnel-panel .admin-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .setup-step-grid,
    .plan-comparison-grid,
    .memory-principle-grid,
    .admin-funnel-panel .admin-metric-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 22: reflection journal and profile memory visibility */
.journal-hero-panel .hero-lead {
    max-width: 70ch;
}

.journal-summary-card,
.journal-signal-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(138, 99, 255, 0.09);
    border: 1px solid rgba(138, 99, 255, 0.18);
}

.journal-summary-card strong,
.journal-signal-box strong {
    display: block;
    color: #efeaff;
    margin-bottom: 6px;
}

.journal-summary-card p,
.journal-signal-box p {
    margin: 0;
    color: var(--text-soft);
}

.journal-metric-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.journal-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.journal-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-soft);
    text-decoration: none;
}

.journal-filter-chip:hover {
    text-decoration: none;
    border-color: rgba(138,99,255,0.3);
    background: rgba(138,99,255,0.08);
}

.journal-filter-chip.is-active {
    color: #ffffff;
    background: rgba(122,225,188,0.14);
    border-color: rgba(122,225,188,0.32);
}

.journal-filter-chip em {
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    color: #ddfff7;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 800;
}

.journal-entry-list {
    display: grid;
    gap: 16px;
}

.journal-entry-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.journal-entry-card h3 {
    margin: 0;
    font-size: 1.08rem;
    color: #ffffff;
}

.journal-question {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.journal-tags {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

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

@media (max-width: 980px) {
    .journal-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .journal-metric-grid {
        grid-template-columns: 1fr;
    }

    .journal-entry-card {
        padding: 16px;
    }

    .journal-pagination {
        justify-content: flex-start;
    }
}

/* Phase 22: weekly pattern lens and accessible mobile navigation */
.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(212, 203, 255, 0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text-soft);
    font: inherit;
    cursor: pointer;
    padding: 10px 14px;
}

.site-nav-toggle::after {
    content: "☰";
    font-size: 0.95rem;
    line-height: 1;
}

.metric-grid,
.pattern-report-grid,
.pattern-theme-grid {
    display: grid;
    gap: 14px;
}

.metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card,
.pattern-report-card,
.pattern-theme-card,
.pattern-signal-item {
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    padding: 16px;
}

.metric-card {
    display: grid;
    gap: 4px;
}

.metric-card strong {
    font-size: 1.5rem;
}

.metric-card span,
.pattern-theme-card span,
.pattern-theme-card small,
.pattern-report-card span {
    color: var(--text-muted);
}

.pattern-report-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pattern-report-card span {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.pattern-report-card p,
.pattern-signal-item p {
    margin-bottom: 0;
}

.pattern-theme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pattern-theme-card {
    display: grid;
    gap: 6px;
}

.pattern-theme-card em {
    color: var(--success);
    font-style: normal;
    font-size: 0.88rem;
}

.pattern-signal-list {
    display: grid;
    gap: 12px;
}

.weekly-pattern-panel {
    border-color: rgba(122, 225, 188, 0.24);
}

@media (max-width: 980px) {
    .metric-grid,
    .pattern-report-grid,
    .pattern-theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-nav-toggle {
        display: inline-flex;
        width: 100%;
    }

    .js .site-nav-wrap {
        padding-bottom: 0;
        overflow: visible;
    }

    .js .site-nav-wrap::before,
    .js .site-nav-wrap::after,
    .js .site-nav-scroll-hint {
        display: none;
    }

    .js .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 8px;
        right: 8px;
        z-index: 20;
        width: auto;
        padding: 12px;
        border: 1px solid rgba(212, 203, 255, 0.18);
        border-radius: 20px;
        background: rgba(7, 18, 43, 0.98);
        box-shadow: var(--shadow);
    }

    .js .site-nav.is-open {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .js .site-nav a,
    .js .site-nav button,
    .js .site-nav .nav-form {
        width: 100%;
    }

    .js .site-nav a,
    .js .site-nav button {
        text-align: left;
        justify-content: flex-start;
    }

    .metric-grid,
    .pattern-report-grid,
    .pattern-theme-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 24: feedback loop, reading-prep reliability, and tarot mobile fit */
.reading-feedback-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(122, 225, 188, 0.18);
    border-radius: 18px;
    background: rgba(122, 225, 188, 0.055);
}

.reading-feedback-panel > div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.reading-feedback-panel > div:first-child span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(212, 203, 255, 0.14);
    color: var(--text-muted);
    background: rgba(255,255,255,0.045);
    font-size: 0.85rem;
}

.reading-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reading-feedback-actions button {
    border: 1px solid rgba(212, 203, 255, 0.18);
    background: rgba(255,255,255,0.05);
    color: var(--text-soft);
    border-radius: 999px;
    min-height: 38px;
    padding: 0 13px;
    cursor: pointer;
}

.reading-feedback-actions button:hover {
    border-color: rgba(122, 225, 188, 0.34);
    color: #ffffff;
}

.reading-feedback-note {
    display: grid;
    gap: 6px;
}

.reading-feedback-note input {
    min-height: 42px;
}

@media (max-width: 760px) {
    .tarot-spread-grid {
        gap: 20px;
    }

    .tarot-slot {
        display: grid;
        justify-items: center;
    }

    .tarot-slot-label {
        justify-self: stretch;
    }

    .tarot-card-shell--spread {
        width: min(100%, 272px);
        height: 390px;
        margin-inline: auto;
    }

    .tarot-card-shell--spread .tarot-card-art {
        height: 176px;
    }

    .tarot-card-shell--spread .tarot-card-art img {
        width: auto;
        max-width: 100%;
        max-height: 100%;
        padding: 14px;
    }

    .tarot-card-shell--spread h4 {
        font-size: 1.18rem;
    }

    .tarot-card-shell--spread .tarot-card-theme {
        font-size: 0.9rem;
    }

    .reading-feedback-actions,
    .reading-feedback-actions button {
        width: 100%;
    }

    .reading-feedback-actions {
        flex-direction: column;
    }
}

.remembered-proof-panel,
.pledge-ledger-panel {
    border-color: rgba(122, 225, 188, 0.18);
}

.remembered-proof-grid,
.pledge-ledger-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.remembered-proof-grid article,
.pledge-ledger-grid div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.045);
}

.remembered-proof-grid strong,
.pledge-ledger-grid strong {
    color: #ffffff;
}

.remembered-proof-grid span,
.pledge-ledger-grid span {
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 760px) {
    .remembered-proof-grid,
    .pledge-ledger-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 25: pricing list consistency and daily hub uniqueness cards */
.sign-teaser-list {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.sign-teaser-list div {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.sign-teaser-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sign-teaser-list strong {
    display: block;
    color: #f7f8ff;
    line-height: 1.45;
}

.plan-card .source-badge {
    width: fit-content;
}

@media (max-width: 620px) {
    .plan-card {
        gap: 14px;
    }

    .plan-footer .primary-button,
    .plan-footer .secondary-button {
        width: 100%;
    }
}


/* Phase 27: public-reading gate, pricing mobile polish, and memory controls */
.form-helper {
    margin: -4px 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

form[data-requires-birthdate="true"] .primary-button:disabled,
form[data-requires-birthdate="true"] .primary-button[aria-disabled="true"] {
    opacity: 0.46;
    cursor: not-allowed;
    box-shadow: none;
    filter: saturate(0.72);
}

.memory-control-panel {
    border-color: rgba(122, 225, 188, 0.18);
}

.memory-control-list {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--text-soft);
    line-height: 1.6;
}

.journal-entry-actions {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.journal-forget-button {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 183, 199, 0.24);
    background: rgba(255, 183, 199, 0.075);
    color: #ffd6df;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.journal-forget-button:hover {
    border-color: rgba(255, 183, 199, 0.42);
    background: rgba(255, 183, 199, 0.12);
}

@media (max-width: 620px) {
    .plans-grid {
        gap: 16px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .plan-card {
        min-height: auto;
        gap: 12px;
    }

    .plan-card h2 {
        overflow-wrap: anywhere;
    }

    .plan-card .checklist {
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none outside none;
    }

    .plan-card .checklist > li,
    .plan-card .check-item {
        display: block;
        width: 100%;
        margin: 0;
        list-style: none outside none;
        line-height: 1.42;
        overflow-wrap: break-word;
    }

    .plan-card .checklist > li::marker,
    .plan-card .check-item::marker {
        content: "";
    }

    .plan-card .check-item {
        padding: 12px 13px;
        border-radius: 16px;
    }

    .plan-footer {
        margin-top: 4px;
        min-height: 0;
    }

    .plan-footer .primary-button,
    .plan-footer .secondary-button {
        width: 100%;
        color: #ffffff;
        text-align: center;
    }
}

/* Phase 28: soft memory and donation ledger workflow */
.softened-watchpoint-box,
.journal-softened-note {
    border-color: rgba(122, 225, 188, 0.22);
    background: rgba(122, 225, 188, 0.055);
}

.journal-softened-note {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(122, 225, 188, 0.22);
    border-radius: 14px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.memory-control-panel .secondary-link.is-active {
    border-color: rgba(122, 225, 188, 0.42);
    background: rgba(122, 225, 188, 0.08);
}

.admin-donation-ledger-panel .form-grid {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
}

.inline-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
}

.pledge-public-table td,
.pledge-public-table th {
    vertical-align: top;
}

@media (max-width: 720px) {
    .admin-donation-ledger-panel .two-col {
        grid-template-columns: 1fr;
    }

    .pledge-public-table,
    .pledge-public-table thead,
    .pledge-public-table tbody,
    .pledge-public-table th,
    .pledge-public-table td,
    .pledge-public-table tr {
        display: block;
    }

    .pledge-public-table thead {
        display: none;
    }

    .pledge-public-table tr {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .pledge-public-table td {
        padding: 6px 0;
    }
}


/* Phase 29: public-safe shareable daily cards */
.share-card-hero .chip-row {
    margin-top: 16px;
}

.share-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.share-card-tile {
    display: grid;
    grid-template-columns: minmax(180px, 0.94fr) 1fr;
    gap: 18px;
    align-items: center;
}

.share-card-tile img,
.share-card-preview-image {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(164, 181, 255, 0.2);
    background: #07122b;
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.share-card-detail-grid {
    align-items: start;
}

.share-card-preview-panel {
    display: grid;
    gap: 16px;
}

.share-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.share-card-actions .primary-button,
.share-card-actions .secondary-button,
.share-card-actions .secondary-link {
    min-height: 46px;
}

.mini-list {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.mini-list > div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.mini-list strong,
.mini-list span {
    display: block;
}

.mini-list strong {
    margin-bottom: 4px;
}

@media (max-width: 820px) {
    .share-card-grid {
        grid-template-columns: 1fr;
    }

    .share-card-tile {
        grid-template-columns: 1fr;
    }

    .share-card-actions .primary-button,
    .share-card-actions .secondary-button,
    .share-card-actions .secondary-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* Update 46: morning/evening ritual surfaces */
.ritual-promo-grid,
.ritual-public-grid,
.evening-ritual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ritual-public-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ritual-hero {
    overflow: hidden;
}

.ritual-public-card,
.evening-ritual-card {
    min-width: 0;
}

.evening-ritual-card {
    padding: 20px;
    border: 1px solid rgba(122, 225, 188, 0.24);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(27, 54, 88, 0.72), rgba(20, 29, 67, 0.86));
}

.evening-ritual-card.is-locked {
    border-color: rgba(164, 181, 255, 0.18);
    background: rgba(21, 34, 74, 0.62);
}

.evening-ritual-card strong,
.ritual-public-card strong {
    display: block;
    margin: 4px 0 10px;
    font-size: 1.15rem;
}

.evening-ritual-card em,
.ritual-public-card em {
    display: block;
    color: var(--accent-2);
    font-style: normal;
    line-height: 1.55;
}

.mini-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tarot-daily-card {
    display: grid;
    place-items: center;
}

.public-tarot-card {
    width: min(100%, 320px);
}

.public-tarot-card .tarot-card-art {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 203, 255, 0.26);
    background:
        radial-gradient(circle at 50% 35%, rgba(164, 181, 255, 0.28), transparent 34%),
        linear-gradient(180deg, rgba(34, 60, 106, 0.9), rgba(8, 15, 42, 0.95));
}

.public-tarot-card .tarot-card-art span {
    font-size: clamp(1.3rem, 5vw, 2rem);
    font-weight: 800;
}

/* Keep plan feature cards clean on mobile and desktop */
.plan-card .checklist,
.plans-grid .checklist {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.plan-card .checklist > li,
.plans-grid .checklist > li,
.plan-card .check-item {
    list-style: none !important;
    max-width: 100%;
}

.plan-card .checklist > li::marker,
.plans-grid .checklist > li::marker,
.plan-card .check-item::marker {
    content: "";
}

.ritual-preference-grid input[type="radio"] {
    accent-color: var(--success);
}

@media (max-width: 760px) {
    .ritual-promo-grid,
    .ritual-public-grid,
    .evening-ritual-grid {
        grid-template-columns: 1fr;
    }

    .evening-ritual-card {
        padding: 18px;
    }

    .public-tarot-card .tarot-card-art {
        min-height: 340px;
    }

    .plan-card .checklist {
        width: 100%;
    }

    .plan-card .check-item {
        display: block;
        width: 100%;
        overflow-wrap: anywhere;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.admin-social-panel .hero-lead {
    max-width: 820px;
}

.social-generator-panel,
.social-filter-panel {
    overflow: visible;
}

.social-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 10px;
}

.social-post-list {
    display: grid;
    gap: 18px;
}

.social-post-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.social-post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.social-edit-form textarea {
    min-height: 120px;
}

.social-action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-copy-status {
    min-height: 1.4em;
    margin-top: 12px;
}

.source-badge.draft,
.source-badge.approved,
.source-badge.rejected,
.source-badge.published {
    text-transform: capitalize;
}

.source-badge.approved {
    border-color: rgba(122, 225, 188, 0.36);
}

.source-badge.rejected {
    border-color: rgba(255, 165, 165, 0.36);
}

.source-badge.published {
    border-color: rgba(212, 203, 255, 0.4);
}

@media (max-width: 780px) {
    .social-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .social-post-header {
        flex-direction: column;
    }

    .social-action-row {
        align-items: stretch;
    }

    .social-action-row .inline-form,
    .social-action-row button,
    .social-action-row .secondary-button,
    .social-action-row .primary-button {
        width: 100%;
    }
}

.why-cancer-panel {
    border-color: rgba(122, 225, 188, 0.24);
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.08), rgba(255, 255, 255, 0.035));
}

.admin-ai-telemetry-panel .data-table code,
.social-calendar-post code {
    white-space: normal;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.social-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.social-calendar-day {
    padding: 16px;
    min-height: 230px;
}

.social-calendar-day.today {
    border-color: rgba(122, 225, 188, 0.42);
    box-shadow: 0 0 0 1px rgba(122, 225, 188, 0.12);
}

.social-calendar-day.past {
    opacity: 0.78;
}

.social-calendar-day-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.social-calendar-day-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.social-calendar-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.social-calendar-counts span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    font-size: 0.75rem;
    color: var(--muted-text);
}

.social-calendar-posts {
    display: grid;
    gap: 8px;
}

.social-calendar-post {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 9px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.035);
}

.social-calendar-post span,
.social-calendar-post strong,
.social-calendar-post small {
    display: block;
}

.social-calendar-post strong {
    color: var(--text);
    margin-top: 2px;
}

.social-calendar-post small {
    color: var(--muted-text);
    margin-top: 2px;
}

@media (max-width: 1100px) {
    .social-calendar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .calendar-nav {
        align-items: stretch;
    }

    .calendar-nav a,
    .calendar-nav strong {
        width: 100%;
        text-align: center;
    }

    .social-calendar-grid {
        grid-template-columns: 1fr;
    }

    .social-calendar-day {
        min-height: auto;
    }
}

.social-performance-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(90px, 1fr));
    gap: 10px;
}

.social-performance-grid input[type="number"] {
    min-width: 0;
}

.social-calendar-summary {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.social-calendar-mix {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-calendar-mix span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--muted-text);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.86rem;
}

.social-week-generate-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.secondary-button.subtle {
    opacity: 0.86;
}

@media (max-width: 980px) {
    .social-performance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .social-performance-grid {
        grid-template-columns: 1fr 1fr;
    }

    .social-week-generate-form,
    .social-week-generate-form .secondary-button {
        width: 100%;
    }
}


.founder-offer-panel,
.founder-hero,
.admin-founder-panel {
    border-color: rgba(212, 203, 255, 0.24);
    background: linear-gradient(135deg, rgba(212, 203, 255, 0.08), rgba(122, 225, 188, 0.04));
}

.founder-chip {
    border-color: rgba(255, 224, 138, 0.5);
    background: rgba(255, 224, 138, 0.12);
    color: #fff4c2;
}

.founder-mini-card {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 224, 138, 0.24);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255, 224, 138, 0.075);
}

.founder-mini-card strong {
    color: #fff4c2;
}

.founder-mini-card span {
    color: var(--muted-text);
    font-size: 0.92rem;
}

.admin-founder-panel .setup-progress-track {
    max-width: 680px;
}

@media (max-width: 760px) {
    .founder-offer-panel .section-heading,
    .admin-founder-panel .section-heading {
        align-items: stretch;
    }

    .founder-offer-panel .secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* Update 53: birthday / year-ahead milestone flow */
.year-ahead-panel,
.year-ahead-reading-panel,
.birthday-reading-hero,
.year-ahead-hero {
    position: relative;
    overflow: hidden;
}

.year-ahead-panel::before,
.birthday-reading-hero::before,
.year-ahead-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.16), transparent 28rem);
}

.year-ahead-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.year-ahead-stat-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.055);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.year-ahead-stat-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.year-ahead-stat-card strong {
    font-size: 1.08rem;
}

.year-ahead-stat-card em {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .year-ahead-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Update 55: new/full moon ritual surfaces */
.moon-moment-hero,
.moon-ritual-hero {
    position: relative;
    overflow: hidden;
}

.moon-moment-hero::after,
.moon-ritual-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -36% auto;
    width: min(320px, 60vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(164, 181, 255, 0.28), rgba(122, 225, 188, 0.08) 46%, transparent 70%);
    pointer-events: none;
}

.moon-moment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.moon-moment-card,
.moon-ritual-panel .year-ahead-stat-card {
    border: 1px solid rgba(164, 181, 255, 0.18);
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(29, 46, 92, 0.7), rgba(12, 21, 52, 0.76));
}

.moon-moment-card strong,
.moon-moment-card span,
.moon-moment-card em {
    display: block;
}

.moon-moment-card strong {
    margin-bottom: 8px;
    color: #fff;
}

.moon-moment-card em {
    color: var(--accent-2);
    font-style: normal;
    line-height: 1.55;
}

.moon-moment-cta,
.moon-ritual-panel .upgrade-callout {
    border-color: rgba(122, 225, 188, 0.22);
    background: linear-gradient(145deg, rgba(21, 58, 76, 0.62), rgba(25, 28, 74, 0.74));
}

.moon-ritual-panel .year-ahead-stat-grid {
    align-items: stretch;
}

.moon-ritual-reading-panel .reading-feedback-panel {
    border-color: rgba(122, 225, 188, 0.2);
}

@media (max-width: 760px) {
    .moon-moment-grid {
        grid-template-columns: 1fr;
    }

    .moon-moment-card,
    .moon-ritual-panel .year-ahead-stat-card {
        padding: 16px;
    }
}

/* Phase 56: user-led memory edit and reframe controls */
.journal-reframe-panel {
    margin-top: 8px;
    border: 1px solid rgba(138, 99, 255, 0.18);
    border-radius: 18px;
    background: rgba(138, 99, 255, 0.055);
    overflow: hidden;
}

.journal-reframe-panel summary {
    cursor: pointer;
    padding: 13px 15px;
    color: #efeaff;
    font-weight: 800;
}

.journal-reframe-panel[open] summary {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.journal-reframe-form {
    display: grid;
    gap: 12px;
    padding: 14px 15px;
}

.journal-reframe-form label {
    display: grid;
    gap: 6px;
    color: var(--text-soft);
    font-weight: 700;
}

.journal-reframe-form textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid rgba(212, 203, 255, 0.16);
    border-radius: 14px;
    background: rgba(2, 8, 28, 0.44);
    color: #ffffff;
    padding: 12px 13px;
    font: inherit;
    line-height: 1.45;
}

.journal-reframe-form textarea:focus {
    outline: none;
    border-color: rgba(138, 99, 255, 0.58);
    box-shadow: 0 0 0 3px rgba(138, 99, 255, 0.15);
}

.journal-original-memory,
.journal-user-note {
    display: grid;
    gap: 6px;
    padding: 12px 13px;
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-soft);
}

.journal-original-memory strong,
.journal-user-note strong {
    color: #efeaff;
}

.journal-original-memory span,
.journal-original-memory em,
.journal-user-note span {
    overflow-wrap: anywhere;
}

.journal-original-memory em {
    font-style: normal;
    color: var(--text-muted);
}

.small-action-button {
    min-height: 42px;
    padding-inline: 16px;
}

@media (max-width: 620px) {
    .journal-reframe-panel summary,
    .journal-reframe-form {
        padding-inline: 12px;
    }
}


/* Update 57: site-wide feedback capture */
.leyra-feedback-widget {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.leyra-feedback-toggle {
    border: 1px solid rgba(122, 225, 188, 0.32);
    border-radius: 999px;
    padding: 0.78rem 1rem;
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.98), rgba(138, 99, 255, 0.92));
    color: #071127;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.leyra-feedback-toggle:focus-visible,
.leyra-feedback-close:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.leyra-feedback-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(420px, calc(100vw - 28px));
    max-height: min(720px, calc(100vh - 120px));
    overflow: auto;
    border: 1px solid rgba(164, 181, 255, 0.24);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(11, 20, 49, 0.98), rgba(24, 33, 83, 0.97));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
    padding: 18px;
}

.leyra-feedback-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.leyra-feedback-panel-head strong,
.leyra-feedback-panel-head span {
    display: block;
}

.leyra-feedback-panel-head strong {
    color: #ffffff;
    font-size: 1.08rem;
}

.leyra-feedback-panel-head span,
.leyra-feedback-context-note {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.leyra-feedback-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.leyra-feedback-form {
    display: grid;
    gap: 12px;
}

.leyra-feedback-form label {
    display: grid;
    gap: 6px;
    color: var(--text-soft);
    font-weight: 800;
}

.leyra-feedback-form select,
.leyra-feedback-form input,
.leyra-feedback-form textarea {
    width: 100%;
    border: 1px solid rgba(212, 203, 255, 0.16);
    border-radius: 14px;
    background: rgba(2, 8, 28, 0.52);
    color: #ffffff;
    padding: 12px 13px;
    font: inherit;
    line-height: 1.45;
}

.leyra-feedback-form textarea {
    resize: vertical;
}

.leyra-feedback-form select:focus,
.leyra-feedback-form input:focus,
.leyra-feedback-form textarea:focus {
    outline: none;
    border-color: rgba(122, 225, 188, 0.56);
    box-shadow: 0 0 0 3px rgba(122, 225, 188, 0.13);
}

.leyra-feedback-result {
    min-height: 1.3rem;
    font-weight: 800;
    color: var(--text-soft);
}

.leyra-feedback-result.is-success {
    color: var(--accent-2);
}

.leyra-feedback-result.is-error {
    color: #ffb8c2;
}

.leyra-feedback-form button[disabled] {
    opacity: 0.65;
    cursor: wait;
}

.admin-feedback-list {
    display: grid;
    gap: 18px;
}

.admin-feedback-card {
    overflow-wrap: anywhere;
}

.feedback-message {
    margin: 14px 0;
    padding: 16px 18px;
    border-left: 4px solid rgba(122, 225, 188, 0.5);
    border-radius: 16px;
    background: rgba(122, 225, 188, 0.06);
    color: #ffffff;
    line-height: 1.6;
}

.admin-feedback-context {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-feedback-context div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.admin-feedback-context strong {
    color: #ffffff;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-feedback-context span {
    color: var(--text-soft);
}

.admin-feedback-update-form {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

@media (max-width: 760px) {
    .leyra-feedback-widget {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: auto;
    }

    .leyra-feedback-toggle {
        padding: 0.72rem 0.92rem;
        font-size: 0.94rem;
    }

    .leyra-feedback-panel {
        right: -4px;
        width: calc(100vw - 28px);
        max-height: calc(100vh - 96px);
        padding: 15px;
        border-radius: 20px;
    }

    .admin-feedback-context {
        grid-template-columns: 1fr;
    }
}

.footer-disclaimer {
    margin-top: 0.35rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.035);
}

.stat-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.35rem;
}

.stat-card span {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    margin: 0 0.25rem 0.25rem 0;
    padding: 0.2rem 0.48rem;
    border-radius: 999px;
    background: rgba(122, 225, 188, 0.12);
    color: #dfffee;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-pill.warning {
    background: rgba(255, 210, 130, 0.14);
    color: #ffe5b4;
}

.status-pill.danger {
    background: rgba(255, 117, 138, 0.14);
    color: #ffc0ca;
}

.warning-text {
    color: #ffd39b;
    font-weight: 800;
    font-size: 0.84rem;
}

.admin-pre-wrap {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 360px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-soft);
}

.admin-detail-row td {
    background: rgba(255, 255, 255, 0.02);
}

/* Update 60: launch analytics dashboard */
.launch-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.launch-watch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.launch-watch-item.warning {
    border-color: rgba(255, 210, 130, 0.3);
    background: rgba(255, 210, 130, 0.06);
}

.launch-watch-item.danger {
    border-color: rgba(255, 117, 138, 0.34);
    background: rgba(255, 117, 138, 0.06);
}

.launch-funnel-list {
    display: grid;
    gap: 12px;
}

.launch-funnel-step {
    display: grid;
    grid-template-columns: minmax(66px, auto) 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.launch-funnel-step strong {
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
}

.launch-funnel-step h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.launch-funnel-step p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .launch-funnel-step {
        grid-template-columns: 1fr;
    }
}

/* update62 launch readiness polish */
.launch-period-grid,
.launch-readiness-list {
    gap: 1rem;
}

.launch-readiness-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.launch-readiness-item {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.launch-readiness-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.launch-readiness-item.ready {
    border-color: rgba(156, 255, 210, 0.35);
}

.launch-readiness-item.watch,
.launch-readiness-item.check {
    border-color: rgba(255, 221, 150, 0.35);
}

.launch-readiness-item.action {
    border-color: rgba(255, 160, 180, 0.5);
}

.status-pill.success {
    border-color: rgba(156, 255, 210, 0.5);
    background: rgba(69, 180, 130, 0.18);
    color: #d9fff0;
}

.launch-mini-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.launch-period-card .admin-metric-card strong,
.launch-retention-panel .admin-metric-card strong,
.launch-conversion-panel .admin-metric-card strong,
.launch-email-panel .admin-metric-card strong {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

@media (max-width: 720px) {
    .launch-readiness-list,
    .launch-period-grid,
    .launch-mini-metric-grid {
        grid-template-columns: 1fr;
    }

    .launch-readiness-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* update63: public-safe ritual share cards */
.ritual-share-grid .share-card-tile-image,
.ritual-share-detail-grid .share-card-preview-image {
    background: radial-gradient(circle at top right, rgba(212, 203, 255, 0.18), rgba(7, 18, 43, 0.88));
}

.ritual-share-tile .eyebrow {
    margin-bottom: 0.35rem;
}

.ritual-share-detail-grid .mini-list div {
    min-height: auto;
}

@media (max-width: 720px) {
    .ritual-share-grid,
    .ritual-share-detail-grid {
        grid-template-columns: 1fr;
    }

    .ritual-share-detail-grid .share-card-preview-image {
        width: 100%;
        max-height: none;
    }
}

/* update64: final public launch SEO/QA polish */
.seo-landing-hero .hero-lead,
.launch-qa-hero .hero-lead {
    max-width: 68ch;
}

.seo-depth-grid .mini-panel,
.memory-proof-grid .mini-panel,
.launch-qa-grid .mini-panel {
    min-height: 100%;
}

.zodiac-depth-panel .marketing-grid {
    margin-top: 0;
}

.launch-qa-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.launch-qa-list li {
    position: relative;
    padding: 0.78rem 0.9rem 0.78rem 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
}

.launch-qa-list li::before {
    content: "✓";
    position: absolute;
    left: 0.85rem;
    top: 0.78rem;
    color: var(--success);
    font-weight: 900;
}

@media (max-width: 760px) {
    .seo-landing-hero,
    .launch-qa-hero,
    .zodiac-depth-panel {
        padding: 21px;
    }

    .seo-depth-grid,
    .memory-proof-grid,
    .launch-qa-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        gap: 0.38rem 0.5rem;
    }

    .footer-links span {
        display: none;
    }
}

/* Update 65: launch support and runbook polish */
.support-hero,
.launch-runbook-hero {
    position: relative;
    overflow: hidden;
}

.support-grid .mini-panel,
.launch-runbook-grid .mini-panel {
    min-height: 100%;
}

.support-grid .secondary-button,
.support-hero .secondary-button,
.support-hero .primary-button {
    white-space: normal;
}

.launch-runbook-grid code {
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .support-hero .button-row,
    .launch-runbook-hero .public-page-links,
    .launch-runbook-grid .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .support-hero .button-row > *,
    .launch-runbook-hero .public-page-links > *,
    .launch-runbook-grid .button-row > * {
        width: 100%;
        text-align: center;
    }
}

/* update66: launch triage polish */
.launch-triage-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.launch-triage-count {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.35rem 0 0.65rem;
    color: var(--muted-text);
}

.launch-triage-count strong {
    font-size: 1.7rem;
    color: var(--heading-text);
}

.launch-triage-detail-grid .data-table td {
    vertical-align: top;
}

@media (max-width: 760px) {
    .launch-triage-hero .button-row,
    .launch-triage-summary .button-row {
        align-items: stretch;
        width: 100%;
    }

    .launch-triage-hero .button-row > *,
    .launch-triage-summary .button-row > * {
        width: 100%;
        justify-content: center;
    }
}


/* update67: final public mobile QA, CTA clarity and feedback overlay fit */
#free-reading {
    scroll-margin-top: 18px;
}

.launch-cta-row {
    align-items: center;
}

.primary-button,
.secondary-button,
.secondary-link {
    line-height: 1.2;
    white-space: normal;
    text-align: center;
}

.footer-utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
    justify-content: flex-end;
    margin: 0.4rem 0 0.85rem;
}

.footer-utility-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 0.8rem;
    border: 1px solid rgba(122, 225, 188, 0.2);
    border-radius: 999px;
    background: rgba(122, 225, 188, 0.07);
    color: #ddfff7;
    font-weight: 800;
}

.footer-disclaimer {
    max-width: 54ch;
}

.share-card-tile .public-page-links,
.ritual-share-tile .form-actions {
    align-items: stretch;
}

.launch-support-panel .public-page-links,
.cta-panel .form-actions {
    align-items: stretch;
}

@media (max-width: 760px) {
    .hero-actions.launch-cta-row,
    .form-actions,
    .public-page-links,
    .button-row {
        align-items: stretch;
        width: 100%;
    }

    .hero-actions.launch-cta-row > *,
    .form-actions > *,
    .public-page-links > *,
    .button-row > * {
        width: 100%;
        justify-content: center;
    }

    .plan-footer,
    .plan-footer form {
        width: 100%;
    }

    .plan-footer .primary-button,
    .plan-footer .secondary-button,
    .plan-footer .secondary-link,
    .plan-current-pill {
        width: 100%;
        justify-content: center;
    }

    .footer-utility-links {
        justify-content: flex-start;
    }

    .footer-utility-links a {
        flex: 1 1 100%;
        justify-content: center;
    }

    .share-card-tile,
    .ritual-share-tile {
        gap: 16px;
    }

    .share-card-tile img,
    .share-card-tile-image,
    .share-card-preview-image {
        max-height: 76vh;
        object-fit: contain;
    }
}

@media (max-width: 620px) {
    .site-shell {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .hero-brand-card {
        order: -1;
    }

    .hero-brand-card img {
        width: min(100%, 320px);
        margin-inline: auto;
    }

    .chip-row {
        gap: 8px;
    }

    .chip {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .leyra-feedback-widget {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        align-items: flex-end;
        pointer-events: none;
    }

    .leyra-feedback-toggle,
    .leyra-feedback-panel {
        pointer-events: auto;
    }

    .leyra-feedback-toggle {
        margin-left: auto;
        min-height: 46px;
    }

    .leyra-feedback-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom));
        width: auto;
        max-height: min(680px, calc(100dvh - 104px));
        border-radius: 20px;
        padding: 16px;
    }

    .leyra-feedback-panel-head {
        gap: 10px;
    }

    .leyra-feedback-close {
        flex: 0 0 38px;
    }
}

@media (max-width: 420px) {
    .site-shell {
        padding-inline: 12px;
    }

    .panel {
        padding: 18px;
    }

    .primary-button,
    .secondary-button,
    .secondary-link {
        padding-inline: 14px;
    }

    .eyebrow {
        letter-spacing: 0.14em;
    }
}


/* update68: admin launch alert indicators and triage shortcuts */
.launch-alert-panel,
.launch-triage-shortcut-panel {
    position: relative;
}

.launch-alert-counts,
.launch-alert-strip-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.launch-alert-counts span,
.launch-alert-strip-counts span {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.launch-alert-counts strong,
.launch-alert-strip-counts strong {
    color: var(--text);
}

.launch-alert-chip-grid,
.launch-triage-shortcuts,
.launch-alert-strip-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
}

.launch-alert-chip,
.launch-alert-strip-chip {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
    text-decoration: none;
}

.launch-alert-chip:hover,
.launch-alert-strip-chip:hover,
.launch-triage-shortcut:hover {
    text-decoration: none;
    border-color: rgba(212, 203, 255, 0.35);
}

.launch-alert-chip.action,
.launch-alert-strip-chip.action,
.launch-triage-shortcut.action,
.launch-alert-strip.action {
    border-color: rgba(255, 117, 138, 0.36);
    background: rgba(255, 117, 138, 0.055);
}

.launch-alert-chip.watch,
.launch-alert-chip.check,
.launch-alert-strip-chip.watch,
.launch-alert-strip-chip.check,
.launch-triage-shortcut.watch,
.launch-triage-shortcut.check,
.launch-alert-strip.watch,
.launch-alert-strip.check {
    border-color: rgba(255, 210, 130, 0.34);
    background: rgba(255, 210, 130, 0.045);
}

.launch-alert-chip.ready,
.launch-alert-strip-chip.ready,
.launch-triage-shortcut.ready,
.launch-alert-strip.ready {
    border-color: rgba(122, 225, 188, 0.28);
}

.launch-alert-chip strong,
.launch-alert-strip-chip strong {
    color: var(--text);
}

.launch-alert-chip em {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-style: normal;
}

.launch-alert-chip-top {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    align-items: center;
}

.launch-alert-strip {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
}

.launch-alert-strip-copy {
    display: grid;
    gap: 0.35rem;
}

.launch-alert-strip-copy > span:not(.status-pill) {
    color: var(--text-soft);
}

.launch-alert-strip-chips {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.launch-alert-strip-chip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.8rem;
}

.launch-triage-shortcuts {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.launch-triage-shortcut {
    min-height: 100%;
}

.launch-conversion-mini-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

@media (max-width: 760px) {
    .launch-alert-strip,
    .launch-alert-panel .section-heading,
    .launch-triage-shortcut-panel .section-heading {
        grid-template-columns: 1fr;
    }

    .launch-alert-counts,
    .launch-alert-strip-counts {
        justify-content: flex-start;
    }

    .launch-alert-strip-chip {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* update69: SEO depth pack 1 for zodiac, moon phase, tarot and calm horoscope pages */
.update69-seo-depth,
.update69-calm-horoscope-depth,
.update69-daily-horoscope-depth,
.update69-zodiac-depth,
.update69-moon-phase-depth,
.update69-tarot-depth,
.update69-moon-tarot-depth {
    position: relative;
}

.update69-seo-depth .section-heading,
.update69-internal-links .section-heading {
    align-items: flex-start;
}

.update69-practice-panel p:first-of-type,
.moon-depth-panel .mini-panel p,
.tarot-depth-panel .mini-panel p {
    line-height: 1.65;
}

.update69-faq-visible {
    display: grid;
    gap: 1rem;
}

.update69-faq-visible .faq-item {
    padding: 0;
}

.update69-faq-visible .faq-item h2 {
    margin-bottom: 0.35rem;
}

.update69-internal-links .mini-panel,
.update69-seo-depth .mini-panel {
    min-height: 100%;
}

@media (max-width: 760px) {
    .update69-seo-depth,
    .update69-calm-horoscope-depth,
    .update69-daily-horoscope-depth,
    .update69-zodiac-depth,
    .update69-moon-phase-depth,
    .update69-tarot-depth,
    .update69-moon-tarot-depth {
        padding: 21px;
    }

    .update69-internal-links,
    .moon-depth-panel .marketing-grid,
    .tarot-depth-panel .marketing-grid {
        grid-template-columns: 1fr;
    }
}

/* update70: email and retention dashboard refinement */
.update70-email-retention .launch-email-detail-grid {
    align-items: stretch;
}

.launch-preference-trend-list {
    display: grid;
    gap: 0.75rem;
}

.launch-preference-trend {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.launch-preference-trend > strong {
    min-width: 2.4rem;
    text-align: center;
    font-size: 1.35rem;
}

.launch-preference-trend h4 {
    margin: 0 0 0.2rem;
}

.launch-preference-trend p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.compact-table-wrap {
    margin-top: 0.75rem;
}

.compact-data-table th,
.compact-data-table td {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .update70-email-retention .launch-email-detail-grid {
        grid-template-columns: 1fr;
    }

    .compact-data-table th,
    .compact-data-table td {
        white-space: normal;
    }
}

/* update70: email usefulness and fatigue signal cards */
.launch-email-signal-grid {
    align-items: stretch;
}

.launch-email-signal-card {
    min-height: 100%;
}

.launch-email-signal-card .status-pill {
    margin-bottom: 0.45rem;
}

/* update71: donation ledger and compliance polish */
.update71-pledge-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donation-compliance-strip,
.update71-giving-back-compliance .compliance-note-grid article {
    border: 1px solid rgba(122, 225, 188, 0.18);
    background: rgba(122, 225, 188, 0.055);
    border-radius: 20px;
}

.donation-compliance-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 18px;
    align-items: start;
    padding: 18px;
}

.donation-compliance-strip h3 {
    margin: 4px 0 8px;
}

.compact-list {
    margin: 0;
    padding-left: 20px;
}

.update71-donation-period-table td,
.update71-donation-period-table th {
    vertical-align: top;
}

.compliance-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.compliance-note-grid article {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.compliance-note-grid strong {
    color: #ffffff;
}

.compliance-note-grid span {
    color: var(--text-muted);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .update71-pledge-summary-grid,
    .compliance-note-grid,
    .donation-compliance-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .update71-donation-period-table,
    .update71-donation-period-table thead,
    .update71-donation-period-table tbody,
    .update71-donation-period-table th,
    .update71-donation-period-table td,
    .update71-donation-period-table tr {
        display: block;
    }

    .update71-donation-period-table thead {
        display: none;
    }

    .update71-donation-period-table tr {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .update71-donation-period-table td {
        padding: 6px 0;
    }
}

/* update72: analytics exports and weekly launch report */
.update72-weekly-report .button-row,
.update72-export-panel .button-row {
    align-items: center;
    gap: 0.75rem;
}

.launch-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.launch-export-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
}

.launch-export-card strong {
    color: var(--text-strong, #f7f3ff);
}

.launch-export-card span {
    color: var(--text-muted, rgba(255, 255, 255, 0.72));
    font-size: 0.94rem;
}

.update72-report-grid .launch-funnel-step {
    align-items: flex-start;
}

.update72-readiness-panel .launch-readiness-list,
.update72-watch-panel .launch-readiness-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 720px) {
    .update72-weekly-report .section-heading,
    .update72-export-panel .section-heading {
        gap: 1rem;
    }

    .update72-weekly-report .button-row,
    .update72-export-panel .button-row {
        width: 100%;
    }

    .update72-weekly-report .button-row > *,
    .update72-export-panel .button-row > *,
    .launch-export-card {
        width: 100%;
    }
}

/* update73: audit trust hardening and consent polish */
.analytics-consent-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.75rem auto 0;
}

.analytics-consent-banner[hidden] {
    display: none !important;
}

.analytics-consent-banner .notice-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.plan-trust-note {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.update73-pricing-confidence,
.update73-trust-policy {
    line-height: 1.68;
}

.update73-trust-policy h2 {
    margin-top: 1.6rem;
}

.birth-month-day-fields input {
    width: 100%;
}

@media (max-width: 720px) {
    .analytics-consent-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .analytics-consent-banner .notice-links,
    .analytics-consent-banner .notice-links .primary-button,
    .analytics-consent-banner .notice-links .secondary-button {
        width: 100%;
    }

    .analytics-consent-banner .notice-links .primary-button,
    .analytics-consent-banner .notice-links .secondary-button {
        justify-content: center;
    }
}

/* update74: paid launch hardening and Stripe readiness */
.launch-qa-grid .mini-panel h2,
.launch-alert-chip h3,
.launch-triage-item h3 {
    overflow-wrap: anywhere;
}

.launch-alert-chip[data-area="Billing"],
.launch-triage-item[data-area="Billing"] {
    min-width: 0;
}

/* update75: data lifecycle and privacy operations */
.privacy-controls-hero,
.update75-admin-privacy-operations {
    position: relative;
}

.privacy-data-summary,
.privacy-action-grid,
.privacy-operations-table-wrap {
    width: 100%;
}

.privacy-summary-grid .admin-metric-card strong {
    overflow-wrap: anywhere;
}

.privacy-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.privacy-action-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.privacy-action-card form {
    margin-top: auto;
}

.danger-zone-card {
    border-color: rgba(140, 67, 85, 0.35);
}

.danger-button {
    border-color: rgba(140, 67, 85, 0.55);
}

.danger-button:hover,
.danger-button:focus-visible {
    border-color: rgba(140, 67, 85, 0.85);
}

.privacy-operations-table td,
.privacy-operations-table th {
    vertical-align: top;
}

@media (max-width: 920px) {
    .privacy-action-grid {
        grid-template-columns: 1fr;
    }
}

/* update76: AI privacy routing and LiteLLM readiness prep */
.update76-ai-privacy,
.launch-alert-chip[data-area="AI routing"],
.launch-triage-item[data-area="AI routing"] {
    overflow-wrap: anywhere;
}

.ai-telemetry-table code {
    overflow-wrap: anywhere;
}

/* update77: admin security and operational audit hardening */
.update77-admin-security-panel,
.update77-admin-audit,
.update77-admin-security-summary,
.update77-admin-audit-table,
.launch-alert-strip-chip[href="/Admin/AdminAudit"] {
    overflow-wrap: anywhere;
}

.admin-security-status-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
}

.update77-audit-table td,
.update77-audit-table th {
    vertical-align: top;
}

.update77-audit-table .small-text {
    max-width: 260px;
}

@media (max-width: 760px) {
    .update77-admin-security-panel .button-row,
    .update77-admin-audit .button-row,
    .update77-admin-security-panel .button-row > *,
    .update77-admin-audit .button-row > * {
        width: 100%;
    }

    .admin-security-status-strip {
        align-items: stretch;
        flex-direction: column;
    }
}

/* update78: admin enforcement and deployment governance */
.update78-deployment-governance,
.update78-deployment-summary,
.update78-deployment-checks,
.update78-schema-probes,
.update78-deployment-panel,
.launch-alert-strip-chip[href="/Admin/DeploymentGovernance"] {
    overflow-wrap: anywhere;
}

.update78-governance-card.action {
    border-color: rgba(140, 67, 85, 0.45);
}

.update78-governance-card.watch {
    border-color: rgba(196, 154, 79, 0.35);
}

.update78-governance-card.ready {
    border-color: rgba(83, 143, 107, 0.35);
}

.update78-probe-table td,
.update78-probe-table th {
    vertical-align: top;
}

.update78-sensitive-action-form input[name="adminReason"],
.admin-action-stack input[name="adminReason"],
.inline-form input[name="adminReason"],
.stacked-form input[name="adminReason"] {
    min-width: min(100%, 12rem);
}

@media (max-width: 760px) {
    .update78-deployment-panel .button-row,
    .update78-deployment-governance .button-row,
    .update78-deployment-panel .button-row > *,
    .update78-deployment-governance .button-row > * {
        width: 100%;
    }

    .update78-probe-table code {
        white-space: normal;
    }
}

/* update78-hotfix5: AI route diagnostics and workload visibility */
.ai-route-diagnostics {
    padding-top: 0.35rem;
}

.ai-route-test-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.ai-route-test-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
}

.ai-route-test-card code,
.ai-workload-summary-table code {
    overflow-wrap: anywhere;
}

.ai-route-test-card.all-routes {
    border-color: rgba(162, 126, 255, 0.35);
}

.small-button {
    min-height: 2.2rem;
    padding: 0.45rem 0.85rem;
}

.ai-workload-summary-table td,
.ai-workload-summary-table th {
    vertical-align: top;
}

@media (max-width: 760px) {
    .ai-route-test-grid {
        grid-template-columns: 1fr;
    }

    .ai-route-test-card,
    .ai-route-test-card .small-button {
        width: 100%;
    }
}

/* update78-hotfix6: GPU-visible AI diagnostics and production route telemetry clarity */
.ai-route-diagnostics .small-text code { white-space: nowrap; }

/* update79: router cutover consolidation and context evidence */
.update79-router-cutover {
    border-color: rgba(162, 126, 255, 0.32);
}

.update79-router-cutover.ready {
    border-color: rgba(127, 225, 178, 0.38);
}

.update79-router-cutover.action {
    border-color: rgba(255, 173, 173, 0.42);
}

.ai-router-cutover-table td,
.ai-router-cutover-table th,
.ai-router-production-table td,
.ai-router-production-table th {
    vertical-align: top;
}

.ai-router-cutover-table code,
.ai-router-production-table code {
    overflow-wrap: anywhere;
}

.update79-router-cutover-table,
.update79-production-router-table {
    margin-top: 0.9rem;
}

@media (max-width: 760px) {
    .update79-router-cutover .status-pill {
        margin-top: 0.35rem;
    }
}

/* update80: runtime/browser QA, performance and accessibility pass */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    transform: translateY(-160%);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    color: #07122b;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid rgba(162, 126, 255, 0.85);
    outline-offset: 3px;
}

.site-main:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid rgba(162, 126, 255, 0.88);
    outline-offset: 3px;
}

button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.secondary-link:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    box-shadow: 0 0 0 4px rgba(162, 126, 255, 0.18);
}

.update80-browser-qa,
.update80-browser-qa-summary,
.update80-browser-qa-checks,
.update80-browser-qa-journeys,
.update80-browser-qa-commands,
.launch-alert-strip-chip[href="/Admin/BrowserQa"] {
    overflow-wrap: anywhere;
}

.update80-browser-qa-card.ready {
    border-color: rgba(127, 225, 178, 0.38);
}

.update80-browser-qa-card.watch {
    border-color: rgba(196, 154, 79, 0.35);
}

.update80-browser-qa-card.action {
    border-color: rgba(255, 173, 173, 0.42);
}

.update80-browser-qa-table td,
.update80-browser-qa-table th {
    vertical-align: top;
}

.update80-browser-qa-code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .ritual-focus,
    .leyra-feedback-widget,
    .reading-loading-overlay {
        transition: none !important;
    }
}

@media (max-width: 760px) {
    .update80-browser-qa .button-row,
    .update80-browser-qa .button-row > * {
        width: 100%;
    }

    .update80-browser-qa-table code {
        white-space: normal;
    }
}

/* update82: AI workload route controls and tarot badge polish */
.ai-function-route-map {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.ai-function-route-form .two-col,
.ai-function-route-form .three-col {
    display: grid;
    gap: 0.8rem;
}

.ai-function-route-form .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-function-route-form .three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-function-route-form input {
    font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
}

@media (max-width: 760px) {
    .ai-function-route-form .three-col,
    .ai-function-route-form .two-col {
        grid-template-columns: 1fr;
    }
}

/* update83: route dropdowns and checkout conversion polish */
.ai-function-route-form select.update83-route-select {
    font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
}

.update83-checkout-confidence,
.update83-billing-route {
    border-color: rgba(146, 123, 255, 0.22);
}

.update83-checkout-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.update83-billing-route .update83-checkout-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.update83-checkout-steps article {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
}

.update83-checkout-steps strong {
    color: var(--text);
}

.update83-checkout-steps span {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .update83-checkout-steps,
    .update83-billing-route .update83-checkout-steps {
        grid-template-columns: 1fr;
    }
}

/* update84: router-sourced workload route dropdowns */
.ai-function-route-map code {
    word-break: break-word;
}

/* update84: SEO/content depth pack 2 */
.update84-depth-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.update84-depth-grid article {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
}

.update84-depth-grid strong {
    color: var(--text);
}

.update84-depth-grid span,
.update84-visible-faq details p {
    color: var(--text-muted);
    line-height: 1.5;
}

.update84-visible-faq details {
    border-top: 1px solid var(--border);
    padding: 0.9rem 0;
}

.update84-visible-faq details:first-of-type {
    border-top: 0;
}

.update84-visible-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

@media (max-width: 900px) {
    .update84-depth-grid {
        grid-template-columns: 1fr;
    }
}


/* update85: user/admin dashboard UX polish */
.update85-home-actions {
    margin-top: 1.1rem;
}

.update85-user-home-panel {
    border-color: rgba(122, 225, 188, 0.2);
}

.update85-home-status-grid,
.update85-admin-focus-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.update85-home-status-card,
.update85-admin-focus-card {
    display: grid;
    gap: 0.35rem;
    min-height: 140px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
}

.update85-home-status-card:hover,
.update85-admin-focus-card:hover,
.update85-home-jump-nav a:hover,
.update85-admin-jump-nav a:hover {
    text-decoration: none;
    border-color: rgba(212, 203, 255, 0.36);
    background: rgba(255, 255, 255, 0.055);
}

.update85-home-status-card span,
.update85-home-status-card em,
.update85-admin-focus-card em {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.45;
}

.update85-home-status-card strong,
.update85-admin-focus-card strong {
    font-size: 1.02rem;
}

.update85-home-status-card.is-ready,
.update85-admin-focus-card.ready {
    border-color: rgba(122, 225, 188, 0.28);
    background: rgba(122, 225, 188, 0.065);
}

.update85-home-status-card.is-next,
.update85-admin-focus-card.watch,
.update85-admin-focus-card.check {
    border-color: rgba(245, 186, 90, 0.28);
    background: rgba(245, 186, 90, 0.06);
}

.update85-home-status-card.is-locked,
.update85-admin-focus-card.action {
    border-color: rgba(255, 135, 165, 0.24);
    background: rgba(255, 135, 165, 0.055);
}

.update85-home-jump-nav,
.update85-admin-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.update85-home-jump-nav a,
.update85-admin-jump-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.035);
    font-weight: 700;
}

.update85-admin-command-panel {
    border-color: rgba(146, 123, 255, 0.24);
}

.update85-admin-focus-card .status-pill {
    justify-self: start;
}

@media (max-width: 1100px) {
    .update85-home-status-grid,
    .update85-admin-focus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .update85-home-status-grid,
    .update85-admin-focus-grid {
        grid-template-columns: 1fr;
    }

    .update85-home-jump-nav a,
    .update85-admin-jump-nav a {
        flex: 1 1 46%;
        justify-content: center;
    }
}

/* update86: calmer Today page, founder circle and footer cleanup */
.update86-footer {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2.6fr);
    gap: 2rem;
    align-items: start;
    text-align: left;
}
.footer-brand-block {
    max-width: 24rem;
}
.footer-brand-wordmark {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.footer-link-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.footer-link-columns h2,
.footer-link-columns .footer-column-heading {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 0.45rem;
}
.footer-link-columns a {
    display: block;
    margin: 0.32rem 0;
    color: var(--text);
    text-decoration: none;
}
.footer-link-columns a:hover,
.footer-link-columns a:focus-visible {
    color: var(--text);
    text-decoration: underline;
}
.footer-legal-line {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.today-secondary-grid,
.community-post-list {
    display: grid;
    gap: 1rem;
}
.today-secondary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.today-secondary-card,
.community-post-card,
.community-guidelines-card {
    border: 1px solid rgba(149, 226, 213, 0.2);
    background: rgba(13, 28, 66, 0.7);
    border-radius: 1.2rem;
    padding: 1rem;
}
.today-secondary-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
.today-secondary-card strong,
.community-post-card strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.today-secondary-card span,
.community-post-card p {
    color: var(--text-muted);
}
.community-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
}
.community-post-card.is-own {
    border-color: rgba(139, 92, 246, 0.45);
}
.community-guidelines-card ul {
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}
.update85-home-jump-nav { display: none; }
@media (max-width: 900px) {
    .update86-footer,
    .footer-link-columns,
    .today-secondary-grid {
        grid-template-columns: 1fr;
    }
    .footer-legal-line {
        flex-direction: column;
    }
}

/* update87: calmer Today follow-up, community moderation, sharing and profile account centre */
.calmer-today-hero {
    max-width: 74rem;
}

.calmer-today-hero .hero-lead {
    max-width: 48rem;
}

.update85-home-status-card,
.today-secondary-card,
.community-post-card,
.social-share-button,
.checkbox-card,
.checkin-chip,
.primary-button,
.secondary-button,
.secondary-link {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.update85-home-status-card:hover,
.update85-home-status-card:focus-visible,
.today-secondary-card:hover,
.today-secondary-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(189, 167, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(189, 167, 255, 0.25), 0 0 28px rgba(139, 92, 246, 0.28), inset 0 0 24px rgba(122, 225, 188, 0.08);
    background: radial-gradient(circle at 18% 14%, rgba(189, 167, 255, 0.18), transparent 34%), rgba(17, 31, 70, 0.88);
    text-decoration: none;
}

.update85-home-status-card:hover strong,
.update85-home-status-card:focus-visible strong,
.today-secondary-card:hover strong,
.today-secondary-card:focus-visible strong {
    color: #ffffff;
}

.update86-footer .footer-link-columns a,
.footer-link-columns a {
    padding: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

.update86-footer .footer-link-columns a:hover,
.update86-footer .footer-link-columns a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    box-shadow: none;
}

.social-share-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.social-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(189, 167, 255, 0.28);
    border-radius: 999px;
    background: rgba(19, 31, 70, 0.72);
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.social-share-button:hover,
.social-share-button:focus-visible {
    border-color: rgba(122, 225, 188, 0.58);
    box-shadow: 0 0 22px rgba(122, 225, 188, 0.18);
}

.community-edit-details summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
}

.danger-link {
    color: #ffd1d1;
}

.compact-admin-form {
    gap: 0.5rem;
}

.community-admin-table td {
    vertical-align: top;
}

.profile-account-centre,
.comms-roadmap-panel,
.community-share-panel {
    border-color: rgba(122, 225, 188, 0.16);
}

@media (max-width: 760px) {
    .social-share-grid .social-share-button {
        flex: 1 1 46%;
    }

    .calmer-today-hero .hero-actions > * {
        width: 100%;
    }
}

/* update88: calmer Today polish, symbolic cards, wider layouts and admin user clarity */
:root {
    --max-width: 1560px;
}

@media (min-width: 1760px) {
    :root { --max-width: 1720px; }
    .panel { padding: 32px; }
    .admin-table-wrap .data-table { min-width: 1220px; }
}

.zodiac-chip,
.zodiac-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.zodiac-glyph,
.zodiac-card-symbol {
    font-family: "Times New Roman", serif;
    font-size: 1.35em;
    line-height: 1;
    color: #e9ddff;
    text-shadow: 0 0 16px rgba(189, 167, 255, 0.48), 0 0 28px rgba(122, 225, 188, 0.18);
}

.home-card-symbol {
    position: absolute;
    right: 1rem;
    top: 0.95rem;
    opacity: 0.45;
    font-size: 1.65rem;
    line-height: 1;
    color: #d4cbff;
    filter: drop-shadow(0 0 16px rgba(138, 99, 255, 0.42));
}

.update85-home-status-card {
    position: relative;
    overflow: hidden;
}

.today-reading-single {
    display: block;
}

.today-reading-single > .reading-panel {
    width: min(100%, 980px);
}

.tarot-placeholder-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 1rem 0 1.15rem;
}

.tarot-placeholder-row-single {
    justify-content: flex-start;
}

.tarot-placeholder-row-spread {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tarot-placeholder-card {
    width: 86px;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    border: 1px solid rgba(189, 167, 255, 0.32);
    background:
        radial-gradient(circle at 50% 34%, rgba(122, 225, 188, 0.2), transparent 30%),
        radial-gradient(circle at 50% 76%, rgba(138, 99, 255, 0.25), transparent 32%),
        linear-gradient(145deg, rgba(17, 31, 70, 0.96), rgba(8, 15, 38, 0.98));
    box-shadow: 0 12px 28px rgba(0,0,0,0.32), inset 0 0 28px rgba(189, 167, 255, 0.08);
    display: grid;
    place-items: center;
    color: #f7f8ff;
    text-align: center;
    transform: rotate(-1deg);
}

.tarot-placeholder-row-spread .tarot-placeholder-card:nth-child(2) { transform: translateY(-4px); }
.tarot-placeholder-row-spread .tarot-placeholder-card:nth-child(3) { transform: rotate(1deg); }

.tarot-placeholder-card span {
    display: block;
    font-size: 1.7rem;
    text-shadow: 0 0 18px rgba(122, 225, 188, 0.42);
}

.tarot-placeholder-card em {
    display: block;
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.prep-question-actions {
    align-items: center;
}

.admin-hint-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(122, 225, 188, 0.22);
    background: rgba(10, 24, 54, 0.66);
    color: var(--text-soft);
}

.admin-hint-card.warning {
    border-color: rgba(255, 207, 130, 0.38);
    background: rgba(80, 53, 14, 0.22);
}

.admin-insight-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-insight-strip > div {
    border: 1px solid rgba(149, 226, 213, 0.18);
    border-radius: 1rem;
    background: rgba(13, 28, 66, 0.62);
    padding: 1rem;
}

.admin-insight-strip strong {
    display: block;
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    margin-bottom: 0.25rem;
}

.admin-insight-strip span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.slim-table-wrap .data-table,
.slim-data-table {
    min-width: 720px;
}

.slim-data-table th,
.slim-data-table td {
    padding: 0.75rem 0.85rem;
}

.user-admin-filter {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.2rem;
    background: rgba(255,255,255,0.035);
    padding: 1rem;
}

.user-admin-panel .data-table th,
.user-admin-panel .data-table td {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (max-width: 980px) {
    .admin-insight-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .today-reading-single > .reading-panel { width: 100%; }
}

@media (max-width: 640px) {
    .admin-insight-strip { grid-template-columns: 1fr; }
    .tarot-placeholder-card { width: 72px; }
    .home-card-symbol { font-size: 1.35rem; }
}


/* update88 hotfix1: wider Today surfaces and full-width single-reading layout */
:root {
    --max-width: 1920px;
}

@media (min-width: 2200px) {
    :root { --max-width: 2100px; }
}

@media (min-width: 2600px) {
    :root { --max-width: 2380px; }
}

.calmer-today-hero,
.update85-user-home-panel,
.today-secondary-panel,
.today-reading-single,
#premium-reading-panel,
#premium-tarot-ritual {
    width: 100%;
    max-width: none;
}

.today-reading-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.today-reading-single > .reading-panel {
    width: 100%;
    max-width: none;
}

@media (min-width: 1320px) {
    .today-reading-single > .reading-panel .reading-text,
    .today-reading-single > .reading-panel .reading-feedback-panel {
        max-width: none;
    }
}

/* update88 hotfix3: reward icons, calmer hold copy and question-rotation polish */
.tier-reward-chip,
.tier-reward-label,
.plan-name .tier-reward-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tier-reward-icon {
    display: inline-grid;
    place-items: center;
    width: 1.55em;
    height: 1.55em;
    border-radius: 999px;
    color: #fff;
    font-size: 0.92em;
    font-weight: 800;
    line-height: 1;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,0.95), rgba(255,255,255,0.24) 20%, transparent 45%),
        linear-gradient(135deg, rgba(138,99,255,0.9), rgba(122,225,188,0.62));
    box-shadow: 0 0 18px rgba(138,99,255,0.42), inset 0 0 12px rgba(255,255,255,0.18);
    text-shadow: 0 0 12px rgba(255,255,255,0.5);
}

.tier-reward-chip.tier-pro .tier-reward-icon,
.plan-card:has(.plan-name .tier-reward-icon) .plan-name .tier-reward-icon {
    box-shadow: 0 0 20px rgba(212,203,255,0.5), 0 0 36px rgba(122,225,188,0.16);
}

.update85-home-status-card:focus-visible,
.today-secondary-card:focus-visible,
.plan-card:focus-visible {
    outline: 2px solid rgba(122,225,188,0.85);
    outline-offset: 4px;
}

.today-secondary-panel .section-heading p {
    margin-top: 0.25rem;
}

/* update88 hotfix4: whole-site clickable glow, calm metadata labels and mission line */
button:not(:disabled):not([aria-disabled="true"]),
.primary-button,
.secondary-button,
.secondary-link,
.checkin-chip,
.reading-feedback-actions button,
.social-share-button,
.today-secondary-card,
.update85-home-status-card,
.locked-upgrade-link,
.empty-state[href],
.launch-alert-chip,
.launch-alert-strip-chip {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

button:not(:disabled):not([aria-disabled="true"]):hover,
button:not(:disabled):not([aria-disabled="true"]):focus-visible,
.primary-button:not(:disabled):hover,
.primary-button:not(:disabled):focus-visible,
.secondary-button:not(:disabled):hover,
.secondary-button:not(:disabled):focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.checkin-chip:hover,
.checkin-chip:focus-visible,
.reading-feedback-actions button:hover,
.reading-feedback-actions button:focus-visible,
.social-share-button:hover,
.social-share-button:focus-visible,
.locked-upgrade-link:hover,
.locked-upgrade-link:focus-visible,
.empty-state[href]:hover,
.empty-state[href]:focus-visible,
.launch-alert-chip:hover,
.launch-alert-chip:focus-visible,
.launch-alert-strip-chip:hover,
.launch-alert-strip-chip:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(189, 167, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(189, 167, 255, 0.22), 0 0 26px rgba(139, 92, 246, 0.24), inset 0 0 18px rgba(122, 225, 188, 0.06);
    background-image: radial-gradient(circle at 18% 12%, rgba(189, 167, 255, 0.18), transparent 34%);
}

.footer-link-columns a:hover,
.footer-link-columns a:focus-visible {
    transform: none;
    box-shadow: none;
    background-image: none;
}

.metadata-chip-row {
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.metadata-chip-row .metadata-chip,
.metadata-chip {
    border-radius: 0.45rem;
    padding: 0.32rem 0.55rem;
    min-height: 0;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
    font-size: 0.78rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    font-weight: 800;
}

.mission-line,
.footer-mission {
    color: var(--text-soft);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.mission-line {
    margin: 0.65rem 0 0;
    max-width: 46rem;
}

.footer-mission {
    margin: 0.6rem 0;
}

/* update89: conversion analytics polish, saved states, route discovery and journal filters */
.site-nav a,
.site-nav button,
.nav-cta,
.journal-stat-link,
.journal-filter-chip,
.admin-metric-card.journal-stat-link,
.data-table a,
.button-row a,
.button-row button {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.journal-stat-link:hover,
.journal-stat-link:focus-visible,
.journal-filter-chip:hover,
.journal-filter-chip:focus-visible,
.data-table a:hover,
.data-table a:focus-visible,
.button-row a:hover,
.button-row a:focus-visible,
.button-row button:hover,
.button-row button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(189, 167, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(189, 167, 255, 0.22), 0 0 26px rgba(139, 92, 246, 0.24), inset 0 0 18px rgba(122, 225, 188, 0.06);
    background-image: radial-gradient(circle at 18% 12%, rgba(189, 167, 255, 0.18), transparent 34%);
    text-decoration: none;
}

.reading-feedback-actions button.is-saved-feedback,
.reading-feedback-actions button[aria-pressed="true"] {
    border-color: rgba(122, 225, 188, 0.72);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.32), rgba(20, 184, 166, 0.22));
    color: #f8fffb;
    box-shadow: 0 0 0 1px rgba(122, 225, 188, 0.22), 0 0 24px rgba(122, 225, 188, 0.26), inset 0 0 18px rgba(122, 225, 188, 0.08);
}

.reading-feedback-actions button.is-saved-feedback::after,
.reading-feedback-actions button[aria-pressed="true"]::after {
    content: " ✓";
}

.social-share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    align-items: stretch;
}

.social-share-button {
    width: 100%;
    min-height: 44px;
    gap: 0.5rem;
}

.social-share-button:hover,
.social-share-button:focus-visible {
    border-color: rgba(189, 167, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(189, 167, 255, 0.22), 0 0 26px rgba(139, 92, 246, 0.24), inset 0 0 18px rgba(122, 225, 188, 0.06);
    background-image: radial-gradient(circle at 18% 12%, rgba(189, 167, 255, 0.18), transparent 34%);
}

.share-logo {
    display: inline-grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(189, 167, 255, 0.22);
    font-weight: 900;
}

.journal-stat-link {
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.journal-filtered-results-panel {
    display: grid;
    gap: 1.2rem;
}

.journal-filter-connected {
    margin: -0.3rem -0.3rem 0;
    padding: 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(189, 167, 255, 0.14);
    background: rgba(8, 18, 46, 0.36);
}

.page-hit-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .page-hit-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* update89: feedback clarity, router model discovery, share polish and journal result filters */
.site-nav a,
.site-nav button,
button:not(:disabled):not([aria-disabled="true"]),
.primary-button,
.secondary-button,
.secondary-link,
.checkin-chip,
.reading-feedback-actions button,
.social-share-button,
.today-secondary-card,
.update85-home-status-card,
.journal-stat-link,
.journal-filter-chip,
.journal-reframe-panel summary {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, filter 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible,
button:not(:disabled):not([aria-disabled="true"]):hover,
button:not(:disabled):not([aria-disabled="true"]):focus-visible,
.primary-button:not(:disabled):hover,
.primary-button:not(:disabled):focus-visible,
.secondary-button:not(:disabled):hover,
.secondary-button:not(:disabled):focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.checkin-chip:hover,
.checkin-chip:focus-visible,
.reading-feedback-actions button:hover,
.reading-feedback-actions button:focus-visible,
.social-share-button:hover,
.social-share-button:focus-visible,
.today-secondary-card:hover,
.today-secondary-card:focus-visible,
.update85-home-status-card:hover,
.update85-home-status-card:focus-visible,
.journal-stat-link:hover,
.journal-stat-link:focus-visible,
.journal-filter-chip:hover,
.journal-filter-chip:focus-visible,
.journal-reframe-panel summary:hover,
.journal-reframe-panel summary:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(189, 167, 255, 0.78);
    box-shadow: 0 0 0 1px rgba(189, 167, 255, 0.25), 0 0 28px rgba(139, 92, 246, 0.26), inset 0 0 18px rgba(189, 167, 255, 0.08);
    background-image: radial-gradient(circle at 18% 12%, rgba(189, 167, 255, 0.22), transparent 34%);
    text-decoration: none;
}

.footer-link-columns a:hover,
.footer-link-columns a:focus-visible,
.update86-footer .footer-link-columns a:hover,
.update86-footer .footer-link-columns a:focus-visible {
    transform: none;
    box-shadow: none;
    background-image: none;
    border-color: transparent;
    text-decoration: underline;
}

.reading-feedback-actions button.is-saved-feedback,
.reading-feedback-actions button.is-saved-feedback:hover,
.reading-feedback-actions button.is-saved-feedback:focus-visible {
    border-color: rgba(122, 225, 188, 0.76);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.32), rgba(20, 184, 166, 0.22));
    box-shadow: 0 0 0 1px rgba(122, 225, 188, 0.25), 0 0 24px rgba(122, 225, 188, 0.28), inset 0 0 18px rgba(122, 225, 188, 0.1);
}

.reading-feedback-actions button.is-saved-feedback::before {
    content: "✓";
    margin-right: 0.35rem;
}

.social-share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.7rem;
}

.social-share-button {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
}

.social-share-icon {
    display: inline-grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: rgba(189, 167, 255, 0.14);
    border: 1px solid rgba(189, 167, 255, 0.25);
    font-weight: 900;
    line-height: 1;
}

.journal-stats-panel .admin-metric-card.journal-stat-link,
.admin-metric-card.journal-stat-link {
    color: var(--text);
    text-decoration: none;
    min-height: 100%;
}

.journal-results-panel {
    border-color: rgba(189, 167, 255, 0.2);
}

.journal-filter-connected {
    margin: -0.2rem 0 1.4rem;
    padding: 1rem;
    border: 1px solid rgba(189, 167, 255, 0.16);
    border-radius: 1.2rem;
    background: rgba(13, 24, 58, 0.48);
}

.journal-filter-row {
    align-items: center;
}

.journal-filter-chip.is-active {
    border-color: rgba(122, 225, 188, 0.6);
    background: rgba(122, 225, 188, 0.12);
    box-shadow: 0 0 0 1px rgba(122, 225, 188, 0.12);
}

.admin-page-hit-panel .data-table-wrap {
    margin-top: 0;
}

.home-pledge-strip {
    border-color: rgba(122, 225, 188, 0.18);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(139, 92, 246, 0.08));
}

.home-pledge-strip strong {
    color: #ffffff;
}

/* update90: memory proof demo, admin user clarity and wider admin actions */
.memory-demo-hero,
.update90-memory-proof-panel,
.update90-memory-control-grid,
.update90-memory-demo-strip {
    border-color: rgba(189, 167, 255, 0.18);
}

.memory-proof-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.memory-proof-step {
    padding: 1rem;
    border: 1px solid rgba(189, 167, 255, 0.18);
    border-radius: 1.1rem;
    background: rgba(11, 21, 52, 0.48);
}

.memory-proof-step > span {
    display: inline-flex;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(139, 92, 246, 0.26);
    border: 1px solid rgba(189, 167, 255, 0.26);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.memory-proof-step p {
    margin: 0.5rem 0 0;
}

.admin-action-stack .inline-form,
.admin-action-stack form.inline-form {
    display: grid;
    grid-template-columns: minmax(10rem, auto) minmax(11rem, 1fr);
    gap: 0.6rem;
    align-items: center;
}

.admin-action-stack .inline-form input[name="adminReason"] {
    min-width: 0;
    width: 100%;
}

.admin-user-analytics-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(122, 225, 188, 0.16);
    border-radius: 1.1rem;
    background: rgba(13, 24, 58, 0.42);
}

.admin-user-analytics-strip > div {
    display: grid;
    gap: 0.25rem;
}

.admin-user-analytics-strip strong {
    color: #fff;
}

.admin-user-analytics-strip span {
    color: var(--muted);
}

@media (max-width: 1000px) {
    .memory-proof-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-action-stack .inline-form,
    .admin-action-stack form.inline-form,
    .admin-user-analytics-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .memory-proof-timeline {
        grid-template-columns: 1fr;
    }
}

/* update91: PWA installability phase 0/1 */
.pwa-install-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border-color: rgba(189, 167, 255, 0.22);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(20, 184, 166, 0.08));
}

.pwa-install-card[hidden] {
    display: none !important;
}

.pwa-install-card h2 {
    margin: 0.1rem 0 0.25rem;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.pwa-install-card p {
    margin: 0;
    color: var(--muted);
}

.pwa-install-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    align-items: center;
}

.pwa-install-hero,
.pwa-install-safety,
.pwa-install-grid .mini-panel {
    border-color: rgba(189, 167, 255, 0.18);
}

.pwa-install-steps {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--muted);
}

.pwa-install-steps li + li {
    margin-top: 0.45rem;
}

@media (max-width: 820px) {
    .pwa-install-card {
        grid-template-columns: 1fr;
    }

    .pwa-install-card-actions {
        justify-content: flex-start;
    }
}

/* update93: PWA push opt-in controls */
.pwa-push-preferences-panel .hidden-antiforgery-form {
    display: none;
}

.pwa-push-status[data-state="ready"] {
    border-color: rgba(128, 232, 199, 0.55);
    box-shadow: 0 0 0 1px rgba(128, 232, 199, 0.18), 0 0 24px rgba(128, 232, 199, 0.12);
}

.pwa-push-status[data-state="action"] {
    border-color: rgba(255, 192, 125, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 192, 125, 0.18), 0 0 24px rgba(255, 192, 125, 0.12);
}

/* update94: PWA reminder preferences and admin notification visibility */
.update94-reminder-grid .reminder-channel-card legend {
    font-weight: 800;
    margin-bottom: .55rem;
}
.update94-reminder-grid .reminder-channel-card label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: .25rem .75rem .25rem 0;
    cursor: pointer;
}
.inline-field-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}
.update94-pwa-batch-panel form input[name="adminReason"] {
    width: 100%;
}
.update94-pwa-notifications .admin-security-status-strip {
    margin-top: 1rem;
}
@media (max-width: 720px) {
    .inline-field-pair {
        grid-template-columns: 1fr;
    }
}

/* update96: founder/social proof and public feedback snippets */
.social-proof-panel {
    border-color: rgba(189, 167, 255, 0.2);
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.social-proof-grid article,
.social-proof-snippet,
.public-proof-editor {
    border: 1px solid rgba(189, 167, 255, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
    padding: 1rem;
}

.social-proof-grid strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1;
}

.social-proof-grid span,
.social-proof-snippet footer {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.social-proof-snippet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.social-proof-snippet {
    margin: 0;
}

.social-proof-snippet p {
    margin-top: 0;
}

.public-proof-editor {
    display: grid;
    gap: 0.85rem;
}

.public-proof-editor legend {
    font-weight: 800;
    padding: 0 0.35rem;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
}

.checkbox-line input[type="checkbox"] {
    margin-top: 0.18rem;
}

.trust-note {
    border-left: 3px solid rgba(189, 167, 255, 0.4);
    padding-left: 0.75rem;
}

@media (max-width: 900px) {
    .social-proof-grid,
    .social-proof-snippet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .social-proof-grid,
    .social-proof-snippet-grid {
        grid-template-columns: 1fr;
    }
}

/* Calm/no-doom SEO cluster expansion */
.seo-cluster-hero {
    border-color: rgba(122, 225, 188, 0.2);
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.09), rgba(139, 92, 246, 0.11));
}

.seo-feature-grid .marketing-card,
.seo-cluster-section,
.seo-related-cluster-links,
.seo-safety-note,
.seo-calm-no-doom-cluster,
.seo-calm-no-doom-cluster-links {
    border-color: rgba(189, 167, 255, 0.18);
}

.seo-check-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    list-style: none;
    padding-left: 0;
}

.seo-cluster-faq .faq-item + .faq-item {
    border-top: 1px solid rgba(189, 167, 255, 0.14);
    margin-top: 1rem;
    padding-top: 1rem;
}

@media (max-width: 800px) {
    .seo-check-list {
        grid-template-columns: 1fr;
    }
}


/* update99: share-card growth loop depth */
.share-growth-panel,
.update99-share-growth-panel,
.update99-share-privacy-note {
    position: relative;
}

.update99-share-growth-hub .hero-actions,
.share-card-cta-strip {
    flex-wrap: wrap;
}

.share-card-channel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.share-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid rgba(212, 203, 255, 0.28);
    border-radius: 999px;
    padding: 0.56rem 0.82rem;
    text-decoration: none;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.055);
}

.share-channel-link span {
    min-width: 1.1rem;
    text-align: center;
}

.update99-share-tile .public-page-links,
.share-card-detail-grid .public-page-links {
    gap: 0.65rem;
}

@media (max-width: 720px) {
    .share-card-channel-grid,
    .share-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .share-channel-link,
    .share-card-actions > * {
        justify-content: center;
        width: 100%;
    }
}


/* update100: admin-visible two-pass safety scoring */
.update100-safety-scoreboard code {
    color: inherit;
    font-weight: 800;
}

.safety-score-stack {
    display: grid;
    gap: 0.22rem;
    min-width: 9rem;
}

.safety-score-pill,
.safety-score-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 203, 255, 0.28);
    border-radius: 999px;
    padding: 0.2rem 0.48rem;
    font-weight: 900;
    line-height: 1.15;
    background: rgba(255,255,255,0.07);
}

.safety-score-pill {
    width: fit-content;
    font-size: 0.95rem;
}

.score-strong,
.score-good {
    border-color: rgba(174, 255, 206, 0.42);
}

.score-watch {
    border-color: rgba(255, 226, 141, 0.48);
}

.score-review,
.score-missing {
    border-color: rgba(255, 161, 188, 0.52);
}


/* update98: weekly reflection habit loop */
.weekly-reflection-summary-panel {
    border-color: rgba(122, 225, 188, 0.22);
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.08), rgba(139, 92, 246, 0.09));
}

.weekly-reflection-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.weekly-reflection-card {
    border: 1px solid rgba(189, 167, 255, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
}

.weekly-reflection-card span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.weekly-reflection-card p {
    margin-bottom: 0;
}

.weekly-reflection-day-card legend {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.weekly-reflection-day-card label {
    display: inline-flex;
    gap: 0.35rem;
    margin: 0.2rem 0.75rem 0.2rem 0;
}

@media (max-width: 1000px) {
    .weekly-reflection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .weekly-reflection-grid {
        grid-template-columns: 1fr;
    }
}


/* update101: personal profile and memory consent foundation */
.memory-consent-status-card .section-heading,
.personal-context-form .section-heading {
    align-items: flex-start;
}

.memory-consent-status-card .status-pill.warning,
.memory-consent-box {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.045);
    border-radius: 18px;
}

.memory-consent-box {
    padding: 1rem;
}

.checkbox-row {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-weight: 700;
}

.checkbox-row input[type="checkbox"] {
    width: 1.15rem;
    min-width: 1.15rem;
    height: 1.15rem;
    margin-top: .2rem;
}

.personal-context-form textarea {
    min-height: 7rem;
}

.personal-context-form .field-hint {
    margin-top: .35rem;
}

/* update102: daily check-ins and emotional weather */
.daily-checkin-form-panel .three-col,
.daily-checkin-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.daily-checkin-form select,
.daily-checkin-form textarea {
    width: 100%;
}

.memory-choice-box {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255,255,255,.04);
}

.memory-choice-box.warning {
    border-color: rgba(255, 210, 135, .35);
}

.daily-checkin-memory-options {
    display: grid;
    gap: .65rem;
    margin-top: .75rem;
}

.compact-radio-row input[type="radio"] {
    width: auto;
    min-width: 1rem;
}

.daily-checkin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.daily-checkin-summary-grid > div,
.daily-checkin-trend-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: .85rem;
    background: rgba(255,255,255,.035);
}

.daily-checkin-summary-grid strong,
.daily-checkin-summary-grid span,
.daily-checkin-trend-card strong {
    display: block;
}

.daily-checkin-summary-grid strong {
    color: rgba(255,255,255,.68);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.daily-checkin-summary-grid span {
    margin-top: .25rem;
    font-weight: 700;
}

.warning-text {
    color: #ffdca8;
}

.update102-daily-checkin-panel .secondary-link {
    align-self: start;
}

@media (max-width: 760px) {
    .daily-checkin-form-panel .three-col,
    .daily-checkin-selects,
    .daily-checkin-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* update103: reading pipeline v2 audit */
.update103-reading-pipeline-v2-audit .admin-code-block,
.admin-code-block {
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 40rem;
}
.update103-reading-pipeline-v2-privacy-summary strong {
    font-variant-numeric: tabular-nums;
}
.compact-chip-row {
    gap: .35rem;
}


/* update104: active themes and memory candidates */
.memory-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.memory-theme-card, .memory-candidate-card { min-height: 100%; }
.warning-panel { border-color: rgba(255, 196, 87, 0.45); }


/* update105: What Leyra Remembers page and controls */
.memory-control-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.memory-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.memory-list { display: grid; gap: .75rem; }
.inline-memory-form { display: inline-flex; }
.update105-memory-metric small { display: block; margin-top: .35rem; opacity: .78; }
@media (max-width: 720px) { .memory-control-grid { grid-template-columns: 1fr; } }


/* update108: Leyra Capacity Guard and AI job telemetry */
.update108-capacity-guard-admin .chip-row,
.update108-capacity-browser-qa .button-row {
    gap: .5rem;
}
.metric-large {
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
    margin: .35rem 0;
}
.admin-table code {
    white-space: nowrap;
}


/* update109: UX consolidation, visual check-ins, Ask Leyra conversation polish and brand-variant foundation */
.brand-variant-starite .brand-name::after {
    content: "";
}

.checkin-weather-meter {
    display: grid;
    grid-template-columns: auto minmax(160px, 360px) auto;
    align-items: center;
    gap: .8rem;
    margin-top: 1.25rem;
    max-width: 480px;
    font-size: 1.6rem;
}

.weather-meter-track {
    position: relative;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(154, 168, 205, .24), rgba(165, 143, 255, .30), rgba(255, 214, 122, .38));
    border: 1px solid rgba(255,255,255,.14);
}

.weather-meter-track i {
    position: absolute;
    inset: 2px auto 2px 10%;
    width: 34%;
    border-radius: inherit;
    background: rgba(255,255,255,.45);
    box-shadow: 0 0 24px rgba(255,255,255,.25);
    animation: leyra-weather-drift 5s ease-in-out infinite;
}

@keyframes leyra-weather-drift {
    0%, 100% { transform: translateX(0); opacity: .45; }
    50% { transform: translateX(155%); opacity: .85; }
}

.checkin-choice-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.checkin-choice-fieldset legend {
    font-weight: 800;
    margin-bottom: .65rem;
}

.visual-option-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.compact-visual-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-radio-card {
    position: relative;
    min-height: 96px;
    padding: .9rem .75rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    display: grid;
    place-items: center;
    text-align: center;
    gap: .4rem;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.visual-radio-card:hover,
.visual-radio-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(177, 151, 255, .45);
    background: linear-gradient(180deg, rgba(177,151,255,.16), rgba(255,255,255,.045));
}

.visual-radio-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.visual-radio-card:has(input:checked) {
    border-color: rgba(177,151,255,.82);
    box-shadow: 0 0 0 1px rgba(177,151,255,.24) inset, 0 18px 44px rgba(75,49,138,.22);
    background: linear-gradient(180deg, rgba(177,151,255,.22), rgba(255,255,255,.065));
}

.visual-radio-symbol {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.compact-visual-radio-card {
    min-height: 76px;
}

.checkin-energy-need-grid {
    align-items: start;
}

.ask-leyra-latest {
    border-color: rgba(122,225,188,.24);
}

.ask-leyra-mode-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.ask-leyra-mode-pill {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.045);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ask-leyra-mode-pill:hover,
.ask-leyra-mode-pill:focus-within,
.ask-leyra-mode-pill.is-selected,
.ask-leyra-mode-pill:has(input:checked) {
    transform: translateY(-1px);
    border-color: rgba(177,151,255,.58);
    background: rgba(177,151,255,.12);
}

.ask-leyra-mode-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.mode-pill-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 1.1rem;
}

.ask-leyra-mode-pill strong,
.ask-leyra-mode-pill em {
    display: block;
    font-style: normal;
}

.ask-leyra-mode-pill em {
    margin-top: .18rem;
    color: var(--text-soft);
    font-size: .88rem;
}

.ask-leyra-question-field textarea {
    min-height: 8.5rem;
}

.ask-conversation-thread {
    display: grid;
    gap: .9rem;
}

.ask-message-bubble {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 1rem;
    max-width: 860px;
}

.ask-message-bubble-user {
    margin-left: auto;
    background: rgba(177,151,255,.12);
    border-color: rgba(177,151,255,.25);
}

.ask-message-bubble-leyra {
    background: rgba(122,225,188,.075);
    border-color: rgba(122,225,188,.20);
}

.ask-message-speaker {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-soft);
    margin-bottom: .35rem;
    font-weight: 800;
}

.ask-answer-details summary {
    cursor: pointer;
    color: var(--accent-2);
    font-weight: 800;
}

.ask-leyra-history-item.highlight {
    border-color: rgba(122,225,188,.28);
    background: rgba(122,225,188,.045);
}

.ask-leyra-submit-hint {
    margin-top: .8rem;
}

@media (max-width: 980px) {
    .visual-option-grid,
    .ask-leyra-mode-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .checkin-weather-meter,
    .visual-option-grid,
    .compact-visual-option-grid,
    .ask-leyra-mode-strip,
    .checkin-energy-need-grid {
        grid-template-columns: 1fr;
    }

    .visual-radio-card {
        min-height: 72px;
        grid-template-columns: auto 1fr;
        text-align: left;
        place-items: center start;
    }

    .ask-message-bubble-user,
    .ask-message-bubble-leyra {
        margin-left: 0;
    }
}


/* update109: UX consolidation, Ask Leyra conversation polish and brand shell */
.brand-variant-starite .brand-name::after { content: " Starite"; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ask-leyra-thinking-inline { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding: .85rem 1rem; border-radius: 18px; border: 1px solid rgba(181,145,255,.45); background: rgba(151,112,255,.14); }
.thinking-orb { display: inline-flex; gap: .22rem; align-items: center; }
.thinking-orb span { width: .45rem; height: .45rem; border-radius: 999px; background: currentColor; animation: leyraThinkingPulse 1s infinite ease-in-out; }
.thinking-orb span:nth-child(2) { animation-delay: .16s; }
.thinking-orb span:nth-child(3) { animation-delay: .32s; }
@keyframes leyraThinkingPulse { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
form.is-submitting .ask-leyra-submit-hint { color: var(--accent); }

/* update109: UX consolidation and Ask Leyra polish */

/* update109b fixes: inline upgrade nudge, elapsed timer, locked card clarity */
.inline-upgrade-nudge { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 1rem; border-radius: 12px; background: rgba(151,112,255,.09); border: 1px solid rgba(181,145,255,.35); }
.inline-upgrade-nudge p { margin: 0; flex: 1; min-width: 180px; }
.ask-leyra-elapsed { font-size: .8rem; opacity: .75; transition: opacity .3s; }
.update85-home-status-card.is-locked { opacity: .7; position: relative; }
.update85-home-status-card.is-locked::after { content: "Pro only"; position: absolute; top: .5rem; right: .5rem; font-size: .65rem; font-weight: 600; letter-spacing: .04em; padding: 2px 6px; border-radius: 99px; background: rgba(181,145,255,.25); color: rgba(181,145,255,.9); }


/* update110: WhatsApp safety queue and command audit */
.update110-whatsapp-table details p,
.update110-whatsapp-command-audit details p {
    white-space: pre-wrap;
}
.stacked-mini-form {
    display: grid;
    gap: .45rem;
    min-width: 11rem;
}
.stacked-mini-form textarea,
.stacked-mini-form select {
    width: 100%;
}
.update110-whatsapp-queue-metrics .admin-metric-card strong {
    font-variant-numeric: tabular-nums;
}

/* update111: SEO/social brand canonical hygiene */

/* update112: reading conversion CTA and waitlist friction cleanup */
.update112-free-reading-next-step,
.update112-basic-reading-upgrade-cta,
.update112-whatsapp-waitlist-card,
.update112-whatsapp-waitlist-page {
    border-color: rgba(177, 132, 255, 0.36);
    background: linear-gradient(135deg, rgba(130, 96, 255, 0.16), rgba(255, 255, 255, 0.045));
}

.update112-free-reading-next-step .hero-actions,
.update112-basic-reading-upgrade-cta .hero-actions,
.update112-whatsapp-waitlist-card .hero-actions {
    margin-top: 0.9rem;
}

.update112-waitlist-grid {
    align-items: stretch;
}

.update112-whatsapp-waitlist-form input[type="email"] {
    width: 100%;
}

.update112-inline-next-step {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}



/* update113: indexability dashboard and crawlability QA */
.update113-indexability-dashboard,
.update113-indexability-browser-qa,
.update113-indexability-launch-checklist {
    border-color: rgba(132, 205, 255, 0.32);
}
.update113-indexability-grid { align-items: stretch; }
.admin-command-block {
    white-space: pre-wrap;
    overflow-x: auto;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(3, 8, 24, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.12);
}


/* update114: release-safety UX fixes, clearer today-state cards, full tarot art and mandatory reading profile question */
.update114-release-safety-marker { position: relative; }
.update85-home-status-card {
    position: relative;
    isolation: isolate;
    transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease;
}
.update85-home-status-card .home-card-symbol {
    transition: color .18s ease, filter .18s ease, opacity .18s ease, transform .18s ease;
}
.update85-home-status-card.is-ready {
    border-color: rgba(126, 232, 180, .55);
    box-shadow: 0 0 0 1px rgba(126, 232, 180, .22), 0 20px 50px rgba(56, 213, 148, .12);
}
.update85-home-status-card.is-ready .home-card-symbol {
    opacity: 1;
    color: #eafff3;
    filter: drop-shadow(0 0 12px rgba(126, 232, 180, .8));
    text-shadow: 0 0 20px rgba(126, 232, 180, .9);
}
.update85-home-status-card.is-next {
    border-color: rgba(255, 198, 112, .46);
    box-shadow: 0 0 0 1px rgba(255, 198, 112, .14), 0 18px 42px rgba(255, 164, 72, .08);
}
.update85-home-status-card.is-next .home-card-symbol {
    opacity: .72;
    color: #ffe0ad;
    filter: drop-shadow(0 0 8px rgba(255, 198, 112, .35));
}
.update85-home-status-card.is-locked,
.update85-home-status-card[aria-disabled="true"] {
    opacity: .66;
    filter: grayscale(.55);
    border-color: rgba(255,255,255,.11);
}
.update85-home-status-card.is-locked .home-card-symbol {
    opacity: .36;
    filter: grayscale(1);
}
.update85-home-status-card::after {
    display: inline-flex;
    align-self: start;
    width: fit-content;
    margin-top: .55rem;
    padding: .26rem .58rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
}
.update85-home-status-card.is-ready::after {
    content: "Viewed today";
    background: rgba(126, 232, 180, .16);
    color: #cffff0;
    border: 1px solid rgba(126, 232, 180, .28);
}
.update85-home-status-card.is-next::after {
    content: "Not viewed yet";
    background: rgba(255, 198, 112, .14);
    color: #ffe6bd;
    border: 1px solid rgba(255, 198, 112, .24);
}
.update85-home-status-card.is-locked::after {
    content: "Locked";
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.12);
}
.detailed-checkin-callout.update114-profile-gate,
.detailed-checkin-callout {
    border-color: rgba(164, 131, 255, .32);
}
.detailed-checkin-callout .prep-question-actions form:has(input[name="skipPrepQuestionId"]) {
    display: none !important;
}
.detailed-checkin-callout .checkin-chip[value="not-sure"],
.detailed-checkin-callout button[value="not-sure"] {
    border-style: dashed;
    opacity: .94;
}
.tarot-card-shell--spread {
    height: 390px;
}
.tarot-card-shell--spread .tarot-card-front {
    gap: 12px;
}
.tarot-card-shell--spread .tarot-card-art {
    height: 166px;
    min-height: 166px;
    overflow: visible;
}
.tarot-card-shell--spread .tarot-card-art img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 12px;
}
@media (max-width: 980px) {
    .tarot-spread-grid {
        grid-template-columns: 1fr;
    }
    .tarot-card-shell--spread {
        width: min(100%, 292px);
        margin-inline: auto;
    }
}
@media (max-width: 760px) {
    .tarot-card-shell--spread {
        height: 402px;
    }
    .tarot-card-shell--spread .tarot-card-art {
        height: 176px;
    }
}

/* update116: Ask Leyra composer-first chat polish and private profile summary fix */
.update116-ask-chat-page {
    padding-block: clamp(1rem, 2vw, 1.5rem);
}
.update116-ask-topline,
.update116-composer-head,
.update116-thread-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.update116-ask-chat-page h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    margin-bottom: .55rem;
}
.update116-ask-chat-page .muted { max-width: 58rem; }
.update116-ask-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
    min-width: 12rem;
}
.update116-ask-status span,
.update116-suggestion {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    border-radius: 999px;
    padding: .42rem .65rem;
    color: rgba(255,255,255,.78);
    font-size: .9rem;
}
.update116-chat-composer {
    border-color: rgba(164,131,255,.34);
    box-shadow: 0 18px 54px rgba(62, 46, 150, .16);
}
.update116-chat-form { display: grid; gap: .75rem; }
.update116-composer-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.update116-question-field { margin: 0; }
.update116-question-field textarea {
    min-height: 118px;
    font-size: 1.05rem;
    line-height: 1.55;
}
.update116-suggestion-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.update116-suggestion {
    cursor: pointer;
    font: inherit;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.update116-suggestion:hover,
.update116-suggestion:focus-visible {
    border-color: rgba(164,131,255,.62);
    background: rgba(164,131,255,.16);
    transform: translateY(-1px);
}
.update116-composer-tools {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1.2fr) auto;
    gap: .75rem;
    align-items: end;
}
.update116-mode-select {
    display: grid;
    gap: .35rem;
    color: rgba(255,255,255,.74);
    font-size: .9rem;
}
.update116-mode-select select {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 16px;
    padding: .72rem .85rem;
}
.update116-memory-check {
    min-height: 44px;
    align-items: center;
}
.update116-limit-banner {
    margin: 0;
    border-color: rgba(255, 190, 104, .35);
}
.update116-thinking-state {
    display: flex;
    gap: .8rem;
    align-items: center;
    padding: .8rem 1rem;
    border: 1px solid rgba(164,131,255,.28);
    border-radius: 18px;
    background: rgba(164,131,255,.1);
}
.update116-thinking-state[hidden] { display: none !important; }
.update116-thinking-state span { display: block; color: rgba(255,255,255,.72); }
.update116-thinking-orb {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #fff, #d8c7ff 30%, #8f72ff 58%, rgba(143,114,255,.12) 72%);
    box-shadow: 0 0 24px rgba(164,131,255,.7);
    animation: update116Pulse 1.3s ease-in-out infinite alternate;
    flex: 0 0 auto;
}
@keyframes update116Pulse {
    from { transform: scale(.92); opacity: .72; }
    to { transform: scale(1.08); opacity: 1; }
}
.update116-chat-thread { border-color: rgba(126,232,180,.28); }
.update116-chat-pair,
.update116-thread-body { display: grid; gap: .8rem; }
.update116-bubble {
    border-radius: 22px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.1);
}
.update116-bubble strong {
    display: block;
    margin-bottom: .35rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .72rem;
    color: rgba(255,255,255,.7);
}
.update116-bubble-user {
    background: rgba(255,255,255,.055);
    margin-left: clamp(0rem, 9vw, 5rem);
}
.update116-bubble-leyra {
    background: rgba(86, 158, 190, .16);
    border-color: rgba(126,232,180,.24);
    margin-right: clamp(0rem, 9vw, 5rem);
}
.update116-thread-list { display: grid; gap: .65rem; }
.update116-thread-item {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.035);
}
.update116-thread-item summary {
    cursor: pointer;
    display: grid;
    gap: .25rem;
    padding: .85rem 1rem;
}
.update116-thread-item summary em {
    color: rgba(255,255,255,.72);
    font-style: normal;
}
.update116-thread-body { padding: 0 1rem 1rem; }
.update116-user-only-safety-wording ~ .panel .safety-score-strip,
.update116-user-only-safety-wording ~ .panel .admin-safety-proof {
    display: none !important;
}
@media (max-width: 860px) {
    .update116-ask-topline,
    .update116-composer-head,
    .update116-thread-head {
        display: grid;
    }
    .update116-ask-status {
        justify-content: flex-start;
        min-width: 0;
    }
    .update116-composer-tools {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .update116-bubble-user,
    .update116-bubble-leyra { margin-inline: 0; }
    .update116-question-field textarea { min-height: 132px; }
    body:has(.update116-ask-chat-page) .feedback-widget,
    body:has(.update116-ask-chat-page) .floating-feedback,
    body:has(.update116-ask-chat-page) #feedback-widget,
    body:has(.update116-ask-chat-page) [data-feedback-widget] {
        transform: scale(.84);
        transform-origin: bottom right;
        opacity: .86;
    }
}

/* update119: Today sequence, profile-quality score, evening moon step and email/UX reliability */
.update119-today-steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.update85-home-status-card.is-waiting {
    border-color: rgba(180, 194, 255, .26);
    background: rgba(180, 194, 255, .045);
    opacity: .86;
}
.update85-home-status-card.is-waiting .home-card-symbol {
    opacity: .56;
    color: rgba(220, 226, 255, .8);
    filter: drop-shadow(0 0 6px rgba(180, 194, 255, .22));
}
.update85-home-status-card.is-waiting::after {
    content: "Available later";
    background: rgba(180, 194, 255, .12);
    color: #dce2ff;
    border: 1px solid rgba(180, 194, 255, .22);
}
.update119-profile-quality-note {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: .75rem;
}
.update119-profile-quality-chip {
    border-color: rgba(122, 225, 188, .3);
}
.update119-evening-moon-panel .moon-ritual-summary-card {
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(180, 194, 255, .22);
    background: linear-gradient(135deg, rgba(62, 56, 139, .22), rgba(7, 20, 46, .42));
}
.update119-more-insights-bottom {
    margin-top: 1.2rem;
}
@media (max-width: 760px) {
    .update119-today-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .update119-today-steps-grid .update85-home-status-card {
        min-height: 132px;
    }
}


/* update121-growth-card: gift/referral/founding 500 growth surfaces */
.update121-gift-page .hero-actions,
.update121-referral-dashboard .hero-actions,
.update121-founding-500-page .hero-actions { flex-wrap: wrap; }
.update121-gift-home-cta,
.update121-gift-pricing-cta { border-color: rgba(122, 225, 188, 0.34); }
.update121-referral-signup-banner { border-color: rgba(122, 225, 188, 0.32); }

/* update123: cancer research story and pledge visibility */
.update123-home-pledge-visibility,
.update123-cancer-story-hero,
.update123-pledge-mechanic-panel,
.update123-pledge-visibility-status {
    border-color: rgba(122, 225, 188, 0.22);
}

.update123-home-pledge-visibility,
.update123-cancer-story-hero {
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.085), rgba(138, 99, 255, 0.065), rgba(255,255,255,0.035));
}

.pledge-story-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pledge-story-cards article {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.045);
}

.pledge-story-cards strong {
    color: #ffffff;
}

.pledge-story-cards span {
    color: var(--text-muted);
    line-height: 1.55;
}

.update123-cancer-story-grid .panel,
.update123-pledge-mechanics-grid .panel {
    min-height: 100%;
}

.update123-pledge-source-note {
    border-style: dashed;
}

.stacked-action-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 980px) {
    .pledge-story-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pledge-story-cards {
        grid-template-columns: 1fr;
    }

    .stacked-action-links {
        width: 100%;
    }

    .stacked-action-links .secondary-button,
    .stacked-action-links .secondary-link,
    .update123-home-pledge-visibility .primary-button,
    .update123-pledge-hero-actions .primary-button,
    .update123-pledge-hero-actions .secondary-button {
        width: 100%;
        justify-content: center;
    }
}

/* update123-pledge-snapshot-grid: clearer giving-back proof cards on homepage, pricing and pledge pages */
.update123-pricing-pledge-snapshot,
.update123-pledge-transparency-hero,
.update123-pledge-at-a-glance,
.update123-pledge-calculation-panel,
.update123-cancer-boundaries-panel,
.update123-cancer-faq-panel,
.update123-giving-back-story,
.update123-pledge-compliance-panel {
    border-color: rgba(122, 225, 188, 0.22);
}

.pledge-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pledge-snapshot-grid article {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028));
}

.pledge-snapshot-grid strong {
    color: #ffffff;
    font-size: 1.02rem;
}

.pledge-snapshot-grid p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.pledge-rate {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(122, 225, 188, 0.32);
    background: rgba(122, 225, 188, 0.12);
    color: #ddfff7;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.inline-link {
    color: #ddfff7;
    font-weight: 700;
}

@media (max-width: 840px) {
    .pledge-snapshot-grid {
        grid-template-columns: 1fr;
    }
}

/* update123-full-release-polish: pledge story, proof and no-overclaim panels */
.update123-giving-back-hero,
.update123-cancer-purpose-story,
.update123-pledge-visibility-panel,
.update123-no-overclaim-guardrails,
.update123-cancer-story-cta,
.update123-purpose-pledge-panel,
.update123-pledge-ledger-visibility,
.update123-pledge-compliance {
    border-color: rgba(122, 225, 188, 0.24);
}

.update123-giving-back-hero,
.update123-pledge-at-a-glance,
.update123-purpose-pledge-panel {
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.07), rgba(138, 99, 255, 0.055), rgba(255,255,255,0.03));
}

.update123-pledge-home-proof-grid .mini-panel,
.update123-pledge-visibility-panel .mini-panel,
.update123-pledge-at-a-glance .mini-panel {
    border-color: rgba(122, 225, 188, 0.18);
}

/* update124 public asset performance and mobile LCP pass */
.hero-brand-picture {
    display: block;
}

.hero-brand-picture img,
.update124-brand-logo-webp {
    aspect-ratio: 1 / 1;
}

.update124-lcp-hero-card img {
    width: min(100%, 392px);
    height: auto;
    margin-inline: auto;
}

.update124-below-fold-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 560px;
}

@media (max-width: 620px) {
    .hero-brand-card.update124-lcp-hero-card {
        order: 0;
    }

    .hero-brand-card.update124-lcp-hero-card img {
        width: min(100%, 280px);
        margin-top: 8px;
    }

    .hero.panel.hero-grid {
        gap: 18px;
    }
}

/* update125 signed-in UX simplification, check-in polish and feedback instrumentation */
.update125-signed-in-focus-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(122, 225, 188, 0.22);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.08), rgba(138, 99, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.update125-focus-copy h3 {
    margin: 4px 0 8px;
}

.update125-focus-copy p {
    margin: 0 0 6px;
}

.update125-focus-action {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 150px;
}

.update125-today-focus-card .setup-progress-track {
    width: min(180px, 100%);
}

.update125-core-path-grid,
.update125-optional-path-grid {
    scroll-margin-top: 112px;
}

.update125-optional-path {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
}

.update125-optional-path summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--text-main);
}

.update125-checkin-flow-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.update125-checkin-flow-strip span {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.88rem;
    font-weight: 800;
}

.update125-onboarding-strip,
.update125-dashboard-checkin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.update125-onboarding-strip a,
.update125-dashboard-checkin-grid label,
.update125-dashboard-checkin-note {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.update125-onboarding-strip a {
    text-decoration: none;
    color: inherit;
}

.update125-onboarding-strip strong {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(122, 225, 188, 0.14);
}

.update125-dashboard-checkin-form {
    padding: 16px;
    border: 1px solid rgba(122, 225, 188, 0.18);
    border-radius: 22px;
    background: rgba(7, 12, 26, 0.32);
}

.update125-dashboard-checkin-note {
    margin-top: 12px;
}

.update125-dashboard-checkin-grid span,
.update125-dashboard-checkin-note span {
    font-weight: 800;
}

.update125-dashboard-checkin-form select,
.update125-dashboard-checkin-form input[type="text"] {
    width: 100%;
}

.update125-checkin-form .primary-button,
.update125-feedback-instrumented button {
    scroll-margin-top: 110px;
}

.update125-feedback-instrumented {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.update125-personalisation-proof-panel .launch-mini-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

@media (max-width: 720px) {
    .update125-signed-in-focus-card {
        grid-template-columns: 1fr;
    }

    .update125-focus-action {
        justify-items: stretch;
    }
}

/* update127 capacity guard v2: queue, quota and fallback-budget admin/status polish. */
.update127-capacity-v2-admin .hero-lead,
.update127-human-queue-policy .muted,
.update127-openai-budget-caps .muted,
.update127-human-quota-policy .muted,
.update127-ask-capacity-queue-ux {
  max-width: 68rem;
}

.update127-ask-capacity-queue-ux {
  margin-top: 1rem;
}

.update127-openai-budget-caps .admin-metric-card strong,
.update127-human-queue-policy .admin-metric-card strong {
  letter-spacing: -0.01em;
}

/* update128 monthly journey report and Pro continuity timeline */
.monthly-journey-hero,
.monthly-summary-panel,
.monthly-report-panel,
.monthly-proof-panel,
.monthly-reflection-grid,
.monthly-themes-panel,
.monthly-timeline-panel,
.monthly-archive-panel {
  scroll-margin-top: 96px;
}

.monthly-timeline-panel .history-item h3 {
  margin: 0.35rem 0 0.25rem;
}

.monthly-archive-panel .chip.active {
  border-color: rgba(185, 142, 69, 0.85);
  font-weight: 700;
}

/* update129: PWA reminder/notification observability polish. */
.update129-pwa-notification-observability .status-banner,
.update129-pwa-event-timeline .data-table-wrap {
  margin-top: 1rem;
}
.update129-pwa-event-timeline .data-table td:last-child {
  max-width: 28rem;
}

/* update132 launch readout and data-informed hardening */
.update132-launch-readout-dashboard .button-row,
.update132-next-release-panel .data-table-wrap,
.update132-metric-proof-panel .data-table-wrap,
.update132-trend-panel .data-table-wrap {
  width: 100%;
}

.update132-readout-scorecard .status-banner {
  max-width: 100%;
}

.update132-decision-gates-panel .launch-readiness-item.action,
.update132-next-release-panel tr:has(.status-pill.danger) {
  border-color: rgba(160, 79, 61, 0.35);
}

.update132-evidence-source-panel .history-item {
  min-height: 100%;
}

/* update133 memory proof and admin 2FA hardening */
.update133-memory-before-after,
.update133-dashboard-memory-proof,
.update133-admin-2fa-security,
.update133-security-status-panel,
.update133-recovery-codes-panel {
  scroll-margin-top: 96px;
}

.update133-before-after-grid,
.update133-memory-proof-grid,
.update133-recovery-code-grid {
  display: grid;
  gap: 14px;
}

.update133-before-after-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.update133-before-after-grid article,
.update133-memory-proof-grid article,
.update133-authenticator-key-box,
.update133-2fa-setup-list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.update133-before-after-grid article {
  padding: 18px;
  min-height: 100%;
}

.update133-before-after-grid article:last-child {
  border-color: rgba(122, 225, 188, 0.28);
  background: linear-gradient(180deg, rgba(122, 225, 188, 0.08), rgba(255, 255, 255, 0.035));
}

.update133-before-after-grid em,
.update133-carried-forward-list li,
.update133-2fa-setup-list li,
.update133-authenticator-key-box span {
  color: var(--text-muted);
}

.update133-memory-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.update133-memory-proof-grid article {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.update133-memory-proof-grid strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.update133-memory-proof-grid span {
  color: var(--text-muted);
}

.update133-carried-forward-list,
.update133-2fa-setup-list {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.update133-carried-forward-list li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(122, 225, 188, 0.18);
  border-radius: 16px;
  background: rgba(122, 225, 188, 0.055);
}

.update133-carried-forward-list li::before {
  content: "✦";
  position: absolute;
  left: 15px;
  top: 12px;
  color: var(--success);
}

.update133-recovery-code-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.update133-recovery-code-grid code,
.update133-authenticator-key-box code {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 10, 26, 0.72);
  color: #f7f8ff;
  overflow-wrap: anywhere;
}

.update133-authenticator-key-box {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.update133-2fa-setup-list li {
  padding: 12px 14px;
}

.inline-check input[type="checkbox"] {
  width: auto;
}

.chip.warning {
  border-color: rgba(255, 190, 110, 0.32);
  background: rgba(255, 190, 110, 0.12);
  color: #ffd8a6;
}

@media (max-width: 760px) {
  .update133-before-after-grid,
  .update133-memory-proof-grid {
    grid-template-columns: 1fr;
  }
}

/* update135 activation and profile-basics quickstart */
.update135-activation-step-grid,
.update135-profile-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.update135-activation-step-grid article,
.update135-profile-state-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.update135-profile-state-grid strong {
    display: block;
    font-size: 1.1rem;
}

.update135-deferred-profile-details {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.035);
}

.update135-deferred-profile-details summary {
    cursor: pointer;
    font-weight: 700;
}

.update135-deferred-profile-details[open] summary {
    margin-bottom: 0.75rem;
}

.update135-free-reading-friction-reduction.is-birthdate-ready .primary-button {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 22px rgba(151, 113, 255, 0.22);
}

/* update136 reliability, router diagnostics and memory evidence */
.admin-readiness-checklist {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-medium);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.ai-router-cutover-table .update136-router-diagnostics-clarity,
.ai-router-production-table .update136-router-production-diagnostics {
  margin-top: 0.35rem;
}

/* update137 WhatsApp live-pilot quickstart: uses existing panel, metric and form styles for the Admin WhatsApp setup flow. */
.update137-whatsapp-quickstart code,
.update137-whatsapp-cloud-quickstart code {
    word-break: break-word;
}


/* update141 conversion readiness, internal links and account trust polish */
.pricing-quick-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pricing-quick-compare .mini-panel { display: flex; flex-direction: column; gap: .45rem; }
.update141-memory-demo-upgrade .grid-3 .mini-panel span { display: block; margin-top: .35rem; }
.update141-internal-link-cluster .public-page-links, .update141-account-trust-polish .public-page-links { align-items: center; }
@media (max-width: 820px) { .pricing-quick-compare { grid-template-columns: 1fr; } }


/* update148 — UX clarity, sharing polish and engagement hooks */
.site-share-trigger {
    border: 1px solid rgba(226, 232, 255, .22);
    background: rgba(255,255,255,.07);
    color: #f8fbff;
    border-radius: 999px;
    min-width: 2.35rem;
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.site-share-trigger:hover,
.site-share-trigger:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(196, 181, 253, .65);
}

.update148-ask-mode-cards {
    border: 0;
    padding: 0;
    margin: 1rem 0;
}

.update148-ask-mode-cards legend {
    font-weight: 800;
    margin-bottom: .65rem;
}

.update148-ask-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .75rem;
}

.update148-ask-mode-card {
    position: relative;
    display: grid;
    gap: .35rem;
    padding: .9rem;
    border: 1px solid rgba(226, 232, 255, .16);
    border-radius: 1rem;
    background: rgba(255,255,255,.055);
    cursor: pointer;
    min-height: 5.5rem;
}

.update148-ask-mode-card input {
    position: absolute;
    inset: .75rem .75rem auto auto;
    accent-color: #c4b5fd;
}

.update148-ask-mode-card:has(input:checked) {
    border-color: rgba(196,181,253,.78);
    background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(14,165,233,.12));
    box-shadow: 0 0 0 1px rgba(196,181,253,.22), 0 18px 42px rgba(15,23,42,.28);
}

.update148-ask-mode-card-title {
    font-weight: 800;
    padding-right: 1.5rem;
}

.update148-ask-mode-card-copy {
    color: rgba(226,232,255,.78);
    font-size: .92rem;
    line-height: 1.35;
}

.leyra-share-overlay[hidden] { display: none; }
.leyra-share-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    transition: opacity .18s ease;
}
.leyra-share-overlay.is-open { opacity: 1; }
.leyra-share-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .68);
    backdrop-filter: blur(8px);
}
.leyra-share-overlay-panel {
    position: relative;
    width: min(92vw, 34rem);
    margin: 10vh auto 0;
    padding: 1.25rem;
    border: 1px solid rgba(226,232,255,.18);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(13,23,56,.98), rgba(8,15,36,.98));
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.leyra-share-overlay-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    border: 0;
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
}
.leyra-share-overlay-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: .6rem;
    margin: 1rem 0;
}
.leyra-share-overlay-action {
    display: inline-flex;
    justify-content: center;
    padding: .7rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(226,232,255,.16);
    background: rgba(255,255,255,.06);
    color: #f8fbff;
    text-decoration: none;
    font-weight: 750;
}

@keyframes leyraScrollFocusPulse {
    0% { box-shadow: 0 0 0 0 rgba(196,181,253,.0); transform: translateY(0); }
    25% { box-shadow: 0 0 0 6px rgba(196,181,253,.18), 0 0 42px rgba(129,140,248,.34); transform: translateY(-2px); }
    100% { box-shadow: 0 0 0 0 rgba(196,181,253,0); transform: translateY(0); }
}

.scroll-focus-pulse {
    animation: leyraScrollFocusPulse 1.45s ease-out 1;
    border-color: rgba(196,181,253,.45) !important;
}

.pwa-notification-clarity .mini-panel,
.update148-notification-steps .mini-panel {
    display: grid;
    gap: .35rem;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-focus-pulse { animation: none; outline: 2px solid rgba(196,181,253,.7); outline-offset: 4px; }
    .site-share-trigger:hover,
    .site-share-trigger:focus-visible { transform: none; }
}

@media (max-width: 760px) {
    .site-nav-wrap { gap: .5rem; }
    .site-share-trigger { order: 2; }
    .update148-ask-mode-grid { grid-template-columns: 1fr; }
    .leyra-share-overlay-panel { margin-top: 6vh; }
}


/* update153 — Inner Compass MVP */
.update153-inner-compass-mvp .hero-lead { max-width: 74ch; }
.choice-card-fieldset { border: 0; padding: 0; margin: 0; }
.choice-card-fieldset legend { font-weight: 800; margin-bottom: .35rem; }
.update153-inner-compass-proof article strong { display: block; }
.update153-inner-compass-safety { border-color: rgba(173, 139, 255, .28); }


/* update172 — premium UI/professional polish pass */
:root {
    --leyra-click-glow: 0 0 0 1px rgba(196, 181, 253, .28), 0 0 34px rgba(139, 92, 246, .30), inset 0 0 22px rgba(196, 181, 253, .08);
    --leyra-complete-glow: 0 0 0 1px rgba(122, 225, 188, .30), 0 0 30px rgba(34, 197, 94, .28), inset 0 0 20px rgba(122, 225, 188, .08);
}

/* Make every clickable surface feel deliberately interactive, not like a passive panel. */
a.primary-button,
a.secondary-button,
a.secondary-link,
button.primary-button,
button.secondary-button,
.site-nav a,
.site-nav button,
.update85-home-status-card,
.today-secondary-card,
.plan-card a,
.update148-ask-mode-card,
.social-share-button,
.leyra-share-overlay-action,
.checkin-chip,
.reading-feedback-actions button {
    will-change: transform, box-shadow, border-color, background;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible,
.primary-button:not(:disabled):hover,
.primary-button:not(:disabled):focus-visible,
.secondary-button:not(:disabled):hover,
.secondary-button:not(:disabled):focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.update148-ask-mode-card:hover,
.update148-ask-mode-card:focus-within,
.leyra-share-overlay-action:hover,
.leyra-share-overlay-action:focus-visible {
    box-shadow: var(--leyra-click-glow);
    border-color: rgba(196, 181, 253, .74);
    background-image: radial-gradient(circle at 18% 14%, rgba(196,181,253,.20), transparent 38%);
    text-decoration: none;
}

/* Today cards: clearer done/not-done states with lit/dim icons. */
.update172-premium-ui-polish-marker { display: contents; }
.update85-home-status-card {
    min-height: 154px;
    overflow: hidden;
}
.update85-home-status-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(circle at 18% 12%, rgba(196, 181, 253, .22), transparent 34%);
    transition: opacity .18s ease;
}
.update85-home-status-card:hover::before,
.update85-home-status-card:focus-visible::before { opacity: 1; }
.update85-home-status-card.is-ready {
    box-shadow: var(--leyra-complete-glow);
}
.update85-home-status-card.is-ready::after { content: "Completed today"; }
.update85-home-status-card.is-next::after { content: "Not viewed yet"; }
.update85-home-status-card.is-waiting::after { content: "Available later"; }
.update85-home-status-card.is-locked::after { content: "Upgrade to unlock"; }
.update85-home-status-card.is-ready .home-card-symbol,
.update85-home-status-card.is-next .home-card-symbol {
    transform: scale(1.03);
}
.update85-home-status-card.is-locked .home-card-symbol,
.update85-home-status-card.is-waiting .home-card-symbol {
    filter: grayscale(.8) brightness(.75);
}
.update85-home-status-card.is-waiting {
    opacity: .76;
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
}
.update85-home-status-card.is-waiting .home-card-symbol { opacity: .48; }

/* Ask Leyra: make mode cards more scan-friendly and less word-heavy. */
.update148-ask-mode-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.update148-ask-mode-card {
    min-height: 4.9rem;
    padding: .95rem 1rem;
}
.update148-ask-mode-card-copy {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.update116-composer-head h2,
.update116-thread-head h2 {
    letter-spacing: -.02em;
}
.update116-suggestion-row {
    gap: .5rem;
}
.update116-suggestion {
    border-color: rgba(196,181,253,.18);
}

/* Feedback: saved button should read as saved immediately. */
.reading-feedback-actions button.is-saved-feedback,
.reading-feedback-actions button[aria-pressed="true"] {
    box-shadow: var(--leyra-complete-glow) !important;
}
.reading-feedback-actions button.is-saved-feedback::after,
.reading-feedback-actions button[aria-pressed="true"]::after {
    content: " · saved";
    font-weight: 800;
}

/* Tarot spread: keep full card art visible. */
.tarot-card-shell--spread {
    min-height: 410px;
}
.tarot-card-shell--spread .tarot-card-art {
    height: clamp(174px, 28vw, 214px);
    min-height: 174px;
}
.tarot-card-shell--spread .tarot-card-art img,
.public-tarot-card .tarot-card-art img {
    object-fit: contain !important;
    object-position: center center !important;
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

/* Footer: plain text utility links, not lozenges. */
.update86-footer .footer-link-columns a,
.footer-link-columns a,
.update86-footer .secondary-link,
.footer-brand-block .secondary-link {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    display: block;
    color: rgba(226,232,255,.88);
    font-weight: 650;
}
.footer-brand-block .secondary-link {
    display: inline;
    color: #dcd6ff;
}
.update86-footer .footer-link-columns a:hover,
.update86-footer .footer-link-columns a:focus-visible,
.footer-brand-block .secondary-link:hover,
.footer-brand-block .secondary-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    transform: none !important;
}

/* Premium polish: fewer visual fights between hero and secondary panels. */
.calmer-today-hero,
.update133-dashboard-memory-proof,
.update85-user-home-panel,
.reading-panel,
.today-secondary-panel {
    background: linear-gradient(180deg, rgba(14,25,58,.92), rgba(9,18,44,.90));
}
.calmer-today-hero .hero-actions {
    margin-top: 1.35rem;
}
.mission-line {
    color: rgba(247,248,255,.94);
}

@media (prefers-reduced-motion: reduce) {
    .update85-home-status-card,
    .update148-ask-mode-card,
    .primary-button,
    .secondary-button,
    .secondary-link { transition: none !important; }
}

@media (max-width: 760px) {
    .update85-home-status-card { min-height: 132px; }
    .update148-ask-mode-grid { grid-template-columns: 1fr; }
    .tarot-card-shell--spread { min-height: 390px; }
}

/* update177 — signed-in navigation simplification, You hub, share icon and seeded downloads */
.update177-global-share-button {
    width: 2.45rem;
    height: 2.45rem;
    min-width: 2.45rem;
    min-height: 2.45rem;
    padding: 0;
    margin-left: .35rem;
    flex: 0 0 auto;
}
.site-share-icon {
    display: block;
    pointer-events: none;
}
.update177-you-hub .chip.warning,
.update177-reflection-metric small,
.update177-summary-grid .history-item p {
    color: var(--text-muted);
}
.update177-you-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.update177-you-grid .today-secondary-card,
.update177-seeded-download-card {
    min-height: 100%;
}
.update177-mobile-reminders-entry {
    border-color: rgba(122, 225, 188, .24);
    background: linear-gradient(180deg, rgba(122,225,188,.08), rgba(255,255,255,.035));
}
.update177-reflection-question-card legend {
    font-size: 1.02rem;
    line-height: 1.45;
}
.update177-reflection-question-card .update148-ask-mode-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.update177-personalisation-user-card .status-pill,
.update177-reflection-score-summary .status-pill {
    text-transform: none;
}
.update177-seeded-download-card .button-row {
    align-items: center;
}
.update177-public-seeded-downloads .hero-actions,
.update177-seeded-download-card .button-row {
    gap: .65rem;
}
@media (min-width: 761px) {
    .site-nav-wrap {
        display: flex;
        align-items: center;
        gap: .65rem;
    }
}
@media (max-width: 760px) {
    .update177-global-share-button {
        order: 1;
    }
    .site-nav-toggle {
        width: auto;
        min-width: 8.25rem;
        order: 2;
    }
    .js .site-nav {
        top: calc(100% + 10px);
    }
    .update177-reflection-question-card .update148-ask-mode-grid,
    .update177-you-grid {
        grid-template-columns: 1fr;
    }
}

/* update180-trust-conversion-polish: user-safe reading actions and personalisation proof footer. */
.reading-action-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.personalisation-proof-footer {
    border: 1px solid rgba(168, 146, 255, 0.22);
    background: rgba(168, 146, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
}

.personalisation-proof-footer strong {
    display: block;
    color: var(--accent-2);
    margin-bottom: 0.35rem;
}

.personalisation-proof-footer ul {
    margin: 0.4rem 0 0.55rem;
    padding-left: 1.1rem;
}

.personalisation-proof-footer li {
    margin: 0.2rem 0;
}

.personalisation-proof-footer span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

/* update200-perceived-progress: keep long AI waits transparent instead of blank. */
.loading-progress-shell {
    width: min(100%, 280px);
    height: 8px;
    margin: 1rem auto 0.7rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-progress-bar {
    display: block;
    width: 8%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(122, 225, 188, 0.72), rgba(181, 145, 255, 0.9));
    box-shadow: 0 0 18px rgba(181, 145, 255, 0.22);
    transition: width 0.65s ease;
}

.loading-stage {
    margin: 0.45rem auto 0;
    max-width: 32rem;
    color: #efeaff;
    font-weight: 700;
}

.loading-elapsed {
    margin: 0.25rem auto 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .loading-progress-bar {
        transition: none;
    }
}

/* update212-nasa-sky-visualisation: first GUI layer over parsed NASA/JPL longitude evidence. */
.real-sky-orbit-panel {
    overflow: hidden;
}

.real-sky-orbit-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
    gap: 20px;
    align-items: start;
}

.real-sky-orbit-shell {
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    background:
        radial-gradient(circle at 50% 50%, rgba(138, 99, 255, 0.18), transparent 34%),
        radial-gradient(circle at top, rgba(122, 225, 188, 0.12), transparent 42%),
        rgba(255,255,255,0.035);
    padding: 16px;
    box-shadow: inset 0 0 80px rgba(138,99,255,0.08);
}

.real-sky-orbit-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.real-sky-orbit-halo,
.real-sky-orbit-zodiac,
.real-sky-orbit-current,
.real-sky-orbit-natal,
.real-sky-orbit-placeholder {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.real-sky-orbit-halo {
    stroke: rgba(255,255,255,0.06);
    stroke-width: 24;
}

.real-sky-orbit-zodiac {
    stroke: rgba(207,199,255,0.2);
    stroke-width: 1.5;
    stroke-dasharray: 2 8;
    transform-origin: 220px 220px;
    animation: realSkySlowTurn 46s linear infinite;
}

.real-sky-orbit-current {
    stroke: rgba(122,225,188,0.38);
    stroke-width: 2;
}

.real-sky-orbit-natal {
    stroke: rgba(212,203,255,0.38);
    stroke-width: 2;
}

.real-sky-orbit-placeholder {
    stroke: rgba(212,203,255,0.22);
    stroke-width: 2;
    stroke-dasharray: 8 10;
    transform-origin: 220px 220px;
    animation: realSkySlowTurn 28s linear infinite reverse;
}

.real-sky-orbit-tick {
    stroke: rgba(255,255,255,0.16);
    stroke-width: 1;
}

.real-sky-orbit-sign,
.real-sky-marker text,
.real-sky-orbit-centre-label,
.real-sky-orbit-centre-sub {
    text-anchor: middle;
    dominant-baseline: middle;
    fill: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    paint-order: stroke;
    stroke: rgba(7,18,43,0.78);
    stroke-width: 3px;
}

.real-sky-orbit-sign {
    fill: #cfc7ff;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.real-sky-orbit-centre {
    fill: rgba(138,99,255,0.18);
    stroke: rgba(212,203,255,0.32);
    stroke-width: 1.5;
}

.real-sky-orbit-centre-label {
    fill: #ffffff;
    font-size: 13px;
}

.real-sky-orbit-centre-sub {
    fill: var(--text-muted);
    font-size: 11px;
}

.real-sky-marker circle {
    vector-effect: non-scaling-stroke;
    stroke-width: 2;
    animation: realSkyMarkerPulse 3.8s ease-in-out infinite;
}

.real-sky-marker--current circle {
    fill: rgba(122,225,188,0.92);
    stroke: rgba(214,255,240,0.95);
    filter: drop-shadow(0 0 10px rgba(122,225,188,0.42));
}

.real-sky-marker--natal circle {
    fill: rgba(138,99,255,0.9);
    stroke: rgba(212,203,255,0.95);
    filter: drop-shadow(0 0 10px rgba(138,99,255,0.42));
}

.real-sky-marker--current text {
    fill: #d6fff0;
}

.real-sky-marker--natal text {
    fill: #d4cbff;
}

.real-sky-orbit-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.real-sky-orbit-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.035);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.legend-dot-current { background: #7ae1bc; }
.legend-dot-natal { background: #8a63ff; }

.real-sky-orbit-data {
    min-width: 0;
}

.compact-table th,
.compact-table td {
    padding-top: 9px;
    padding-bottom: 9px;
}

@keyframes realSkySlowTurn {
    to { transform: rotate(360deg); }
}

@keyframes realSkyMarkerPulse {
    0%, 100% { opacity: 0.78; transform: scale(1); transform-origin: center; }
    50% { opacity: 1; transform: scale(1.18); transform-origin: center; }
}

@media (max-width: 980px) {
    .real-sky-orbit-layout { grid-template-columns: 1fr; }
}

/* update300-v279-sky-wow-animation: stronger NASA/JPL orbit visual with in-disc symbols, hover titles and distance lanes. */
.real-sky-orbit-distance-band {
    fill: none;
    stroke: rgba(255,255,255,0.055);
    stroke-width: 1;
    stroke-dasharray: 4 10;
    vector-effect: non-scaling-stroke;
    transform-origin: 220px 220px;
}

.real-sky-orbit-distance-band--near { stroke: rgba(190, 204, 220, 0.18); }
.real-sky-orbit-distance-band--solar { stroke: rgba(255, 210, 92, 0.18); }
.real-sky-orbit-distance-band--inner { stroke: rgba(122, 225, 188, 0.14); }
.real-sky-orbit-distance-band--outer { stroke: rgba(207, 199, 255, 0.16); }

.real-sky-distance-spoke {
    stroke: rgba(122, 225, 188, 0.13);
    stroke-width: 0.75;
    stroke-dasharray: 3 7;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.real-sky-orbit-band-label {
    text-anchor: middle;
    dominant-baseline: middle;
    fill: rgba(214, 255, 240, 0.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    paint-order: stroke;
    stroke: rgba(7,18,43,0.74);
    stroke-width: 3px;
}

.real-sky-marker {
    cursor: help;
}

.real-sky-marker circle {
    transition: transform 220ms ease, filter 220ms ease, stroke-width 220ms ease;
}

.real-sky-marker:hover circle,
.real-sky-marker:focus-within circle {
    transform: scale(1.22);
    transform-box: fill-box;
    transform-origin: center;
    stroke-width: 2.8;
}

.real-sky-marker-symbol {
    fill: #08203a;
    font-size: 13px;
    font-weight: 900;
    text-anchor: middle;
    dominant-baseline: middle;
    paint-order: normal;
    stroke: none;
    pointer-events: none;
}

.real-sky-marker--natal .real-sky-marker-symbol {
    fill: #f7f4ff;
}

.real-sky-marker--current.real-sky-body-sun circle,
.real-sky-body-chip.real-sky-body-sun {
    fill: rgba(255, 205, 71, 0.98);
    stroke: rgba(255, 243, 177, 0.98);
    filter: drop-shadow(0 0 14px rgba(255, 201, 71, 0.55));
}

.real-sky-marker--current.real-sky-body-sun .real-sky-marker-symbol {
    fill: #2a1a00;
    font-size: 16px;
}

.real-sky-marker--current.real-sky-body-moon circle,
.real-sky-body-chip.real-sky-body-moon {
    fill: rgba(190, 198, 211, 0.96);
    stroke: rgba(244, 248, 255, 0.98);
    filter: drop-shadow(0 0 12px rgba(220, 228, 242, 0.42));
}

.real-sky-marker--current.real-sky-body-moon .real-sky-marker-symbol {
    fill: #182234;
    font-size: 16px;
}

.real-sky-marker--current.real-sky-body-mercury circle { fill: rgba(152, 215, 205, 0.96); }
.real-sky-marker--current.real-sky-body-venus circle { fill: rgba(122, 225, 188, 0.98); }
.real-sky-marker--current.real-sky-body-mars circle { fill: rgba(255, 151, 112, 0.96); stroke: rgba(255, 214, 196, 0.96); }
.real-sky-marker--current.real-sky-body-jupiter circle { fill: rgba(134, 205, 255, 0.96); stroke: rgba(214, 239, 255, 0.96); }
.real-sky-marker--current.real-sky-body-saturn circle { fill: rgba(207, 199, 255, 0.96); stroke: rgba(239, 233, 255, 0.98); }

.real-sky-body-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(122,225,188,0.18);
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

.real-sky-body-chip.real-sky-body-sun { color: #2a1a00; }
.real-sky-body-chip.real-sky-body-moon { color: #182234; }


/* update214-context-receipt: user-facing personalisation proof without exposing raw answers. */
.context-receipt-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.context-receipt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.context-receipt-source {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.035);
}

.context-receipt-source span {
    display: block;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}

.context-receipt-source p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.context-receipt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.context-receipt-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.035);
    color: var(--text-muted);
    font-size: 0.86rem;
}

/* update220-user-facing-reading-insight-polish: explain personal reading shape without exposing internal profile labels. */
.reading-insight-polish {
    border: 1px solid rgba(233, 213, 255, 0.28);
    background: linear-gradient(135deg, rgba(88, 58, 139, 0.24), rgba(20, 184, 166, 0.10));
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(8, 6, 18, 0.18);
}

.reading-insight-polish strong {
    color: var(--leyra-gold, #f7d58b);
}

.reading-insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.65rem;
}

.reading-insight-grid span {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* update230-audio-cache-manifest-readiness */
.update230-audio-cache-manifest-board code,
.update230-audio-cache-test-pack code,
.update230-audio-cache-public-explainer strong {
  word-break: break-word;
}

.update230-audio-cache-test-pack pre {
  white-space: pre-wrap;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

/* update231-audio-playback-shell: manifest-driven public/admin/signed-in audio player shell. */
.audio-ritual-player-shell {
    border: 1px solid rgba(247, 213, 139, 0.24);
    background: linear-gradient(135deg, rgba(88, 58, 139, 0.22), rgba(10, 18, 43, 0.72));
}

.audio-ritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.audio-ritual-card {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.045);
}

.audio-ritual-card h3 {
    margin: 0 0 0.35rem;
}

.audio-ritual-card audio {
    width: 100%;
    margin-top: 0.8rem;
}

.audio-ritual-card code {
    display: block;
    margin-top: 0.8rem;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    color: var(--text-muted);
}


/* update232-audio-event-telemetry: playback event buttons for shared audio ritual cards. */
.audio-ritual-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.audio-ritual-actions .small-button {
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
}

.update232-audio-event-telemetry-board .metric-card strong {
    font-variant-numeric: tabular-nums;
}

/* update233-audio-tier-time-compass-selection: shared ritual ranking proof without private audio text. */
.update233-audio-selection-card {
    position: relative;
}

.audio-selection-reason {
    margin: 0.65rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(247, 213, 139, 0.22);
    background: rgba(247, 213, 139, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.84rem;
    line-height: 1.35;
}

.update233-audio-selection-readiness-board code,
.update233-audio-selection-public-proof code {
    word-break: break-word;
}

/* update234-audio-selection-result-logging: admin evidence for ranked audio selection impressions. */
.update234-audio-selection-result-logging .metric-card strong {
    font-variant-numeric: tabular-nums;
}

.update234-audio-selection-result-logging {
    border-color: rgba(138, 180, 248, 0.22);
}

/* update236-signed-in-personal-sky-graphics: Today page sky evidence is visual, but raw data remains visible. */
.update236-signed-in-personal-sky-graphics {
    border-color: rgba(138, 180, 248, 0.24);
    background: linear-gradient(135deg, rgba(18, 33, 74, 0.72), rgba(88, 58, 139, 0.18));
}

.update236-personal-sky-evidence-grid article strong {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.update236-personal-sky-raw-evidence .feature-card p {
    overflow-wrap: anywhere;
}


/* update237-reading-level-sky-visual-proof: attach birth/current sky proof to the generated detailed reading without hiding the raw rows. */
.reading-sky-bridge.update237-reading-level-sky-visual-proof {
    border-radius: 26px;
    border: 1px solid rgba(122, 225, 188, 0.16);
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.075), rgba(138, 99, 255, 0.09));
    padding: 18px;
}

.reading-sky-bridge .real-sky-orbit-panel {
    background: rgba(7, 18, 43, 0.28);
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 12px;
}

.update237-reading-sky-source-grid .feature-card h4 {
    margin: 0.35rem 0;
}

.update237-reading-sky-source-grid .feature-card p {
    margin-bottom: 0;
}

/* update238-share-safe-static-sky-render-proof: prepare a static sky snapshot that can later be exported/shared without private profile or memory data. */
.share-safe-sky-render.update238-share-safe-static-sky-render-proof {
    border: 1px solid rgba(190, 169, 255, 0.2);
    border-radius: 22px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(126, 87, 194, 0.12), rgba(24, 32, 56, 0.72));
}

.share-safe-sky-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 1rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.13), rgba(17, 22, 40, 0.88));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.share-safe-sky-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.share-safe-sky-card-body {
    margin-top: 0.75rem;
}


/* update239-share-safe-sky-svg-export: user-triggered SVG export/copy controls for the privacy-bounded sky card. */
.share-safe-sky-export-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 0.85rem;
}

.share-safe-sky-export-actions [data-sky-share-status] {
    color: rgba(226, 234, 255, 0.72);
}


/* update240-share-safe-sky-png-export: PNG export button uses the same safe action row as SVG/copy, with browser fallback status text. */
.share-safe-sky-export-actions [data-sky-share-png] {
    font-weight: 700;
}

.update240-share-safe-sky-png-export .note-card {
    border-color: rgba(122, 225, 188, 0.22);
}


/* update241-public-proof-conversion-evidence: proof-backed growth strips for homepage, pricing and admin proof gate. */
.update241-proof-backed-growth-strip,
.update241-pricing-proof-backed-trust,
.update241-public-proof-conversion-evidence,
.update241-public-proof-launch-gate {
    border-color: rgba(122, 225, 188, 0.2);
}

.proof-backed-growth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.proof-backed-growth-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.045);
}

.proof-backed-growth-grid strong {
    display: block;
    margin-bottom: 0.35rem;
}

.proof-backed-growth-grid span {
    color: rgba(229, 235, 255, 0.76);
}

/* update242-public-proof-publication-shortcuts */
.update242-public-proof-publication-shortcuts .evidence-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,.035);
}

.update242-public-proof-publication-shortcuts .compact-list li {
    margin-bottom: 8px;
}

.update242-public-proof-next-step-transparency .history-item {
    min-height: 100%;
}


/* update245-public-proof-copy-pack */
.update245-public-proof-copy-pack .leyra-copy-box {
    width: 100%;
    min-height: 8rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,.055);
    color: inherit;
    font: inherit;
    line-height: 1.45;
    resize: vertical;
}

.update245-public-proof-copy-pack .leyra-copy-box:focus {
    outline: 2px solid rgba(255,255,255,.28);
    outline-offset: 2px;
}

.update245-public-proof-safe-publication-boundary .history-item {
    border-color: rgba(255,255,255,.13);
}


/* update246-public-proof-publication-receipt */
.update246-public-proof-publication-receipt .history-item,
.update246-public-proof-receipt-transparency .history-item,
.update246-first-pledge-publication-receipt .history-item {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255,255,255,.04);
}

.update246-proof-receipt-checklist {
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 1rem;
}


/* update247-public-proof-cross-page-consistency */
.update247-public-proof-cross-page-consistency .history-item,
.update247-reviews-proof-consistency .history-item,
.update247-giving-back-proof-consistency .history-item {
    border-style: dashed;
}
.update247-public-proof-cross-page-consistency .secondary-link,
.update247-reviews-proof-consistency .secondary-link {
    display: inline-flex;
    margin-top: .65rem;
}


/* update248-proof-copy-unlock-gate */
.update248-proof-copy-unlock-gate .status-banner { border-style: dashed; }
.update248-proof-copy-unlock-gate .proof-backed-growth-grid article { min-height: 6rem; }

/* update249-launch-evidence-command-centre: roll-up cards reuse launch-alert-chip-grid so the daily launch stand-up view stays compact. */
.update249-launch-evidence-command-centre .launch-alert-chip em {
    font-style: normal;
    opacity: 0.85;
}

/* update250-launch-evidence-action-plan: ordered launch gate actions for the daily stand-up board. */
.update250-launch-evidence-action-plan .launch-evidence-action-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
}

.update250-launch-evidence-action-plan .launch-evidence-action-step {
    border-left: 4px solid rgba(124, 84, 143, 0.35);
}

.update250-launch-evidence-action-plan .launch-evidence-action-step.action {
    border-left-color: rgba(180, 54, 54, 0.75);
}

.update250-launch-evidence-action-plan .launch-evidence-action-step.watch,
.update250-launch-evidence-action-plan .launch-evidence-action-step.check {
    border-left-color: rgba(189, 132, 49, 0.75);
}

.update250-launch-evidence-action-plan .launch-evidence-action-step.ready {
    border-left-color: rgba(61, 136, 91, 0.75);
}

/* update251-launch-evidence-snapshot-export: keep the evidence CSV export obvious on the launch triage board. */
.update251-launch-evidence-snapshot-export-actions {
    justify-content: flex-end;
}

.update251-launch-evidence-snapshot-export-note {
    border-left-style: solid;
}

/* update253-search-console-inspection-receipt: CSV receipt link/coverage panel uses existing panel, checklist, button and status-pill styles. */

/* update254-audio-cache-evidence-receipt: compact manual AHDP evidence capture before playback is enabled. */
.update254-audio-cache-evidence-receipt .form-grid.five {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.update254-audio-cache-evidence-receipt code {
    word-break: break-word;
}
.update254-audio-cache-evidence-receipt .table-shell td {
    vertical-align: top;
}

/* update278-games-pilot-shell: game slots stay framed and noindex until admin/pilot evidence is clean. */
.game-frame-wrap {
    width: 100%;
    min-height: 72vh;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(4, 10, 27, .92);
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.game-frame-wrap iframe {
    display: block;
    width: 100%;
    min-height: 72vh;
    border: 0;
    background: #050b1d;
}

.update278-games-pilot-shell code {
    word-break: break-word;
}

/* update279-games-asset-receipt: manifest/hash evidence for staged game assets. */
.update279-games-asset-receipt code {
    word-break: break-word;
}
.update279-games-asset-receipt .admin-table td {
    vertical-align: top;
}

/* update301-v279-sky-marker-lock: keep SVG symbols locked inside marker discs; pause pulse on hover/focus so browser title text is easier to read. */
.real-sky-marker {
    outline: none;
}

.real-sky-marker-node {
    transform-box: fill-box;
    transform-origin: center;
    animation: realSkyMarkerPulse 3.8s ease-in-out infinite;
}

.real-sky-marker circle {
    animation: none;
}

.real-sky-marker:hover circle,
.real-sky-marker:focus circle,
.real-sky-marker:focus-within circle {
    transform: none;
}

.real-sky-marker:hover .real-sky-marker-node,
.real-sky-marker:focus .real-sky-marker-node,
.real-sky-marker:focus-within .real-sky-marker-node {
    animation-play-state: paused;
    transform: scale(1.14);
}

.real-sky-marker:focus-visible .real-sky-marker-node {
    filter: drop-shadow(0 0 16px rgba(255,255,255,0.42));
}

/* update302-v279-sky-insight-stars: clickable planet insight panel, brighter solar-system stage and evidence-labelled sign star guide. */
.update302-sky-insight-stars .real-sky-orbit-shell {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 205, 71, 0.10) 0, rgba(138, 99, 255, 0.13) 28%, rgba(9, 25, 58, 0.72) 58%, rgba(5, 12, 30, 0.92) 100%),
        linear-gradient(145deg, rgba(122, 225, 188, 0.08), rgba(138, 99, 255, 0.10));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 70px rgba(122,225,188,0.08), 0 28px 90px rgba(0,0,0,0.28);
}

.real-sky-orbit-solar-glow {
    opacity: 0.92;
    pointer-events: none;
}

.real-sky-starfield {
    fill: rgba(255,255,255,0.78);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.42));
    animation: realSkyStarTwinkle 4.8s ease-in-out infinite;
}

.real-sky-starfield--two { animation-delay: -1.3s; }
.real-sky-starfield--three { animation-delay: -2.1s; }
.real-sky-starfield--four { animation-delay: -3.2s; }

@keyframes realSkyStarTwinkle {
    0%, 100% { opacity: 0.42; transform: scale(0.85); transform-origin: center; }
    50% { opacity: 1; transform: scale(1.25); transform-origin: center; }
}

.real-sky-body-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(122,225,188,0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(122,225,188,0.09), rgba(138,99,255,0.12));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.real-sky-body-detail-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(255,205,71,0.92);
    color: #241600;
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(255,205,71,0.42);
}

.real-sky-body-detail h3 {
    margin: 0.1rem 0 0.25rem;
}

.real-sky-body-detail p {
    margin: 0.35rem 0 0;
}

.real-sky-marker.is-selected .real-sky-marker-node {
    animation-play-state: paused;
    transform: scale(1.2);
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.42));
}

.real-sky-fixed-star-guide {
    padding: 15px;
    border: 1px solid rgba(207,199,255,0.18);
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
}

.real-sky-fixed-star-guide h3 {
    margin: 0.2rem 0 0.35rem;
}

.real-sky-fixed-star-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.real-sky-fixed-star-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.055);
    color: var(--text-soft);
    font-weight: 800;
}

.real-sky-fixed-star-list span::before {
    content: "✦";
    color: #ffd66f;
    text-shadow: 0 0 10px rgba(255,214,111,0.55);
}

@media (max-width: 720px) {
    .real-sky-body-detail {
        grid-template-columns: 1fr;
    }
}

/* update303-v279-sky-wow-sun-reference-stars: brighter solar-system stage, custom sun glyph and evidence-labelled sign-star map points. */
.update303-sky-wow-sun-reference-stars .real-sky-orbit-shell {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 218, 88, 0.18) 0, rgba(255, 184, 56, 0.10) 17%, rgba(122, 225, 188, 0.08) 31%, rgba(138, 99, 255, 0.15) 52%, rgba(4, 11, 28, 0.96) 100%),
        linear-gradient(145deg, rgba(122, 225, 188, 0.10), rgba(255, 205, 71, 0.07) 45%, rgba(138, 99, 255, 0.12));
    box-shadow: inset 0 0 92px rgba(255,205,71,0.10), inset 0 0 130px rgba(122,225,188,0.08), 0 30px 100px rgba(0,0,0,0.34);
}

.real-sky-orbit-earth-glow {
    opacity: 0.72;
    pointer-events: none;
    animation: realSkyEarthBreath 8s ease-in-out infinite;
}

.real-sky-orbit-energy {
    fill: none;
    stroke-width: 1.25;
    stroke-dasharray: 2 10;
    transform-origin: 220px 220px;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.real-sky-orbit-energy--one {
    stroke: rgba(255, 214, 111, 0.24);
    animation: realSkySlowTurn 34s linear infinite;
}

.real-sky-orbit-energy--two {
    stroke: rgba(122, 225, 188, 0.18);
    animation: realSkySlowTurn 54s linear infinite reverse;
}

.real-sky-orbit-centre-pulse {
    fill: none;
    stroke: rgba(214,255,240,0.28);
    stroke-width: 1.5;
    transform-origin: 220px 220px;
    animation: realSkyCentrePulse 4.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes realSkyEarthBreath {
    0%, 100% { opacity: 0.46; transform: scale(0.96); transform-origin: 220px 220px; }
    50% { opacity: 0.88; transform: scale(1.05); transform-origin: 220px 220px; }
}

@keyframes realSkyCentrePulse {
    0%, 100% { opacity: 0.28; transform: scale(0.92); }
    50% { opacity: 0.72; transform: scale(1.1); }
}

.real-sky-sun-glyph {
    filter: drop-shadow(0 0 7px rgba(255,205,71,0.72));
    pointer-events: none;
}

.real-sky-sun-core {
    fill: #ffc43d;
    stroke: #fff1a8;
    stroke-width: 1.5;
}

.real-sky-sun-inner {
    fill: #ffdf73;
    opacity: 0.98;
}

.real-sky-sun-ray {
    stroke: #ffd45f;
    stroke-width: 3.2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.real-sky-body-sun .real-sky-marker-node {
    animation: realSkySunPulse 4.5s ease-in-out infinite;
}

.real-sky-body-sun:hover .real-sky-marker-node,
.real-sky-body-sun:focus .real-sky-marker-node,
.real-sky-body-sun:focus-within .real-sky-marker-node,
.real-sky-body-sun.is-selected .real-sky-marker-node {
    animation-play-state: paused;
    transform: scale(1.18);
}

@keyframes realSkySunPulse {
    0%, 100% { opacity: 0.88; transform: scale(0.9) rotate(0deg); transform-origin: center; }
    50% { opacity: 1; transform: scale(1.08) rotate(8deg); transform-origin: center; }
}

.real-sky-reference-star {
    cursor: help;
    outline: none;
}

.real-sky-reference-star path {
    fill: rgba(255, 229, 149, 0.98);
    stroke: rgba(255,255,255,0.74);
    stroke-width: 0.9;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 8px rgba(255,214,111,0.58));
    animation: realSkyReferenceStarPulse 5.8s ease-in-out infinite;
    transform-origin: center;
}

.real-sky-reference-star:nth-of-type(2n) path { animation-delay: -1.6s; }
.real-sky-reference-star:nth-of-type(3n) path { animation-delay: -2.7s; }

.real-sky-reference-star:hover path,
.real-sky-reference-star:focus path,
.real-sky-reference-star:focus-within path {
    animation-play-state: paused;
    transform: scale(1.35);
}

@keyframes realSkyReferenceStarPulse {
    0%, 100% { opacity: 0.54; transform: scale(0.82) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.18) rotate(18deg); }
}

@media (prefers-reduced-motion: reduce) {
    .real-sky-orbit-earth-glow,
    .real-sky-orbit-energy,
    .real-sky-orbit-centre-pulse,
    .real-sky-body-sun .real-sky-marker-node,
    .real-sky-reference-star path {
        animation: none !important;
    }
}


/* update304-v279-cosmic-journey-switch: optional birth-to-current sky journey mode adapted from the uploaded cosmic journey animation, while preserving evidence boundaries. */
.update304-sky-cosmic-journey-switch .real-sky-orbit-shell {
    position: relative;
}

.real-sky-view-switch {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(2,7,20,0.62);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.real-sky-view-button {
    border: 0;
    border-radius: 999px;
    padding: 7px 11px;
    background: transparent;
    color: rgba(235,242,255,0.66);
    font: inherit;
    font-weight: 900;
    font-size: 0.74rem;
    cursor: pointer;
}

.real-sky-view-button.is-active,
.real-sky-view-button[aria-pressed="true"] {
    color: #06101d;
    background: linear-gradient(135deg, #ffd56a, #7ae1bc);
    box-shadow: 0 0 18px rgba(255,213,106,0.28);
}

.real-sky-view-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.real-sky-view-panel {
    display: none;
}

.real-sky-view-panel.is-active {
    display: block;
}

.real-sky-journey-panel {
    position: relative;
    min-height: 440px;
}

.real-sky-journey-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 440px;
}

.real-sky-journey-glow {
    opacity: 0.95;
    pointer-events: none;
}

.real-sky-journey-trail {
    fill: none;
    stroke: rgba(255,255,255,0.16);
    stroke-width: 1.1;
    stroke-dasharray: 3 9;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 6px rgba(122,225,188,0.18));
}

.real-sky-journey-birth-dot {
    fill: rgba(138,99,255,0.82);
    stroke: rgba(234,225,255,0.76);
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
}

.real-sky-journey-now-dot {
    fill: rgba(122,225,188,0.82);
    stroke: rgba(228,255,246,0.82);
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
}

.real-sky-journey-body .real-sky-marker-node {
    filter: drop-shadow(0 0 14px rgba(255,255,255,0.28));
}

.real-sky-journey-overlay {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr minmax(110px, 190px) auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(3,8,22,0.72);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.real-sky-journey-overlay p {
    margin: 0.25rem 0 0;
}

.real-sky-journey-progress {
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
}

.real-sky-journey-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8a63ff, #7ae1bc, #ffd56a);
    box-shadow: 0 0 14px rgba(122,225,188,0.45);
}

.real-sky-journey-panel.is-running .real-sky-journey-progress span {
    animation: realSkyJourneyProgress 7s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

@keyframes realSkyJourneyProgress {
    from { width: 0; }
    to { width: 100%; }
}

.real-sky-journey-unavailable {
    min-height: 440px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 26px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;
    background: radial-gradient(circle at 50% 35%, rgba(138,99,255,0.18), rgba(6,15,34,0.92) 68%);
}

@media (max-width: 780px) {
    .real-sky-journey-overlay {
        grid-template-columns: 1fr;
    }

    .real-sky-view-switch {
        position: static;
        margin: 10px;
        width: calc(100% - 20px);
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-sky-journey-panel.is-running .real-sky-journey-progress span {
        animation: none !important;
        width: 100%;
    }
}


/* update305-v279-cosmic-journey-native: keep journey mode available as an honest preview when natal cache is missing, and make the custom Sun marker clickable. */
.update305-sky-cosmic-journey-native .real-sky-view-button:disabled {
    opacity: 0.62;
}

.real-sky-marker-hit {
    fill: transparent !important;
    stroke: transparent !important;
    pointer-events: all;
}

.real-sky-body-sun .real-sky-marker-hit {
    cursor: pointer;
}

.real-sky-journey-trail--preview {
    stroke: rgba(255, 213, 106, 0.20);
    stroke-dasharray: 2 7;
}

.real-sky-journey-birth-dot--preview {
    fill: rgba(255, 213, 106, 0.62);
    stroke: rgba(255, 244, 202, 0.76);
}

.real-sky-journey-body--preview .real-sky-marker-node {
    opacity: 0.94;
}


/* update306-v279-cinematic-cosmic-journey: make the uploaded cosmic journey feel visible and cinematic without covering the animation. */
.update306-cinematic-cosmic-journey .real-sky-journey-panel {
    min-height: 0;
}

.real-sky-cinematic-stage {
    position: relative;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 218, 104, 0.15), transparent 18%),
        radial-gradient(circle at 50% 50%, rgba(123, 191, 255, 0.13), transparent 38%),
        linear-gradient(145deg, #02030a 0%, #050916 48%, #03040a 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 24px 72px rgba(0,0,0,0.42);
}

.real-sky-cinematic-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.real-sky-cinematic-canvas--main {
    z-index: 2;
}

.real-sky-cinematic-ui {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    color: rgba(246, 250, 255, 0.72);
}

.real-sky-cinematic-top-left,
.real-sky-cinematic-top-right {
    position: absolute;
    top: 18px;
    display: grid;
    gap: 3px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(2, 6, 16, 0.34);
    backdrop-filter: blur(6px);
    font-size: 0.67rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.real-sky-cinematic-top-left {
    left: 18px;
    grid-auto-flow: column;
    align-items: center;
}

.real-sky-cinematic-top-right {
    right: 18px;
    text-align: right;
    border-radius: 16px;
}

.real-sky-cinematic-top-right strong {
    color: rgba(255, 242, 185, 0.88);
    font-size: 0.72rem;
}

.real-sky-cinematic-top-right span {
    color: rgba(255,255,255,0.44);
}

.real-sky-cinematic-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #7ae1bc;
    box-shadow: 0 0 16px rgba(122,225,188,0.82);
    animation: realSkyCinematicLiveDot 2s ease-in-out infinite;
}

@keyframes realSkyCinematicLiveDot {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.18); }
}

.real-sky-cinematic-bottom-label {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255,255,255,0.34);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.update306-cinematic-cosmic-journey .real-sky-journey-svg--fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.update306-cinematic-cosmic-journey .real-sky-journey-control-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(140px, 230px) auto;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(5, 11, 25, 0.52);
    backdrop-filter: blur(8px);
}

.update306-cinematic-cosmic-journey .real-sky-journey-control-bar p {
    max-width: 58ch;
}

.update306-cinematic-cosmic-journey .real-sky-journey-progress span {
    transition: width 0.15s linear;
}

@media (max-width: 780px) {
    .real-sky-cinematic-stage { min-height: 480px; }
    .update306-cinematic-cosmic-journey .real-sky-journey-control-bar { grid-template-columns: 1fr; }
    .real-sky-cinematic-top-left, .real-sky-cinematic-top-right { top: 12px; }
    .real-sky-cinematic-top-left { left: 12px; }
    .real-sky-cinematic-top-right { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .real-sky-cinematic-live-dot { animation: none !important; }
}

/* update307-v279-cosmic-user-sign-layout: keep cosmic journey notes readable below the animation and make the user sign emphasis clearer. */
.update307-cosmic-user-sign-layout .real-sky-journey-control-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px 14px;
}

.update307-cosmic-user-sign-layout .real-sky-journey-copy {
    display: grid;
    gap: 3px;
}

.update307-cosmic-user-sign-layout .real-sky-journey-copy p {
    max-width: none;
    margin: 0;
    line-height: 1.45;
}

.update307-cosmic-user-sign-layout .real-sky-journey-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

@media (max-width: 560px) {
    .update307-cosmic-user-sign-layout .real-sky-journey-actions {
        grid-template-columns: 1fr;
    }
}

/* update309-games-live-tiered: signed-in games are live by subscription tier, with Know You hidden until partner/profile integration is ready. */
.games-live-grid .game-live-card {
    min-height: 260px;
}

.update309-live-game-frame,
.update309-live-game-frame iframe {
    min-height: min(820px, 82vh);
}

.update309-games-live-tiered .compact-callout {
    margin-top: 1rem;
}

/* update311-v279-games-frame-diagnostics: same-origin iframe proof panel for live games. */
.update311-game-frame-diagnostic {
    margin-top: 1rem;
    background: rgba(7, 18, 43, .78);
    border-color: rgba(201, 169, 110, .24);
}

.update311-game-frame-diagnostic summary {
    cursor: pointer;
    color: var(--gold, #e8d5a3);
    font-weight: 650;
    letter-spacing: .01em;
}

.game-frame-diagnostic-grid {
    display: grid;
    gap: .65rem;
    margin: .85rem 0;
}

.game-frame-diagnostic-grid > div {
    display: grid;
    gap: .2rem;
    padding: .65rem .75rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
}

.game-frame-diagnostic-grid dt {
    color: rgba(232, 213, 163, .85);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.game-frame-diagnostic-grid dd {
    margin: 0;
    color: rgba(245, 236, 212, .84);
    overflow-wrap: anywhere;
}

/* update312-v279-games-sandbox-correction: diagnostic panel now separates header blocking from iframe sandbox isolation. */

/* update313-v279-games-play-route-hardening: iframe now loads the authenticated, cache-busted /games/{slug}/play document. */
.update313-game-frame-play-route iframe {
    background: #050b1d;
}

/* update331-cosmic-journey-uploaded-animation: uploaded Leyra cosmic journey renderer adapted to live NASA/JPL view-model data. */
.update331-cosmic-uploaded-animation .real-sky-cosmic-uploaded-stage {
    position: relative;
    min-height: 620px;
    border-radius: 22px;
    overflow: hidden;
    background: #010208;
    box-shadow: inset 0 0 80px rgba(123, 191, 255, 0.12), 0 18px 70px rgba(0, 0, 0, 0.35);
}
.update331-cosmic-uploaded-animation .real-sky-cinematic-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.update331-cosmic-uploaded-animation .real-sky-cinematic-canvas--main {
    pointer-events: none;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-hud {
    position: absolute;
    top: 18px;
    left: 22px;
    right: 22px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    pointer-events: none;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-nasa-row {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .63rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.58);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-user-line {
    margin-top: .28rem;
    color: rgba(255,255,255,.46);
    font-size: .76rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-date-col {
    text-align: right;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-date-col strong {
    display: block;
    color: #fff;
    font-size: .98rem;
    text-shadow: 0 0 20px rgba(123,191,255,.5);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-date-col span {
    display: block;
    margin-top: .25rem;
    color: #7bbfff;
    font-size: .57rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-exp {
    position: absolute;
    top: 62px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-exp div {
    color: rgba(255,255,255,.42);
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-exp span {
    display: block;
    margin-top: .2rem;
    color: rgba(255,255,255,.24);
    font-size: .56rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend {
    position: absolute;
    right: 16px;
    bottom: 108px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    pointer-events: none;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend span {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255,255,255,.42);
    font-size: .56rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend i {
    width: 18px;
    height: 2px;
    display: inline-block;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend-birth { border-top: 1px dashed rgba(255,200,80,.72); }
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend-today { background: rgba(255,255,255,.6); }
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend-harmony { background: rgba(100,220,150,.7); }
.update331-cosmic-uploaded-animation .real-sky-cosmic-legend-tense { background: rgba(255,110,70,.7); }
.update331-cosmic-uploaded-animation .real-sky-cosmic-tip {
    position: absolute;
    z-index: 20;
    min-width: 155px;
    padding: .7rem .85rem;
    border: 1px solid rgba(100,160,255,.35);
    border-radius: 12px;
    background: #060d20;
    color: #fff;
    font-size: .7rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease;
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-tip-title {
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .4rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-tip div:not(.real-sky-cosmic-tip-title) {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: rgba(255,255,255,.4);
    margin-bottom: .2rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-tip strong {
    color: rgba(255,255,255,.9);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-tip em {
    display: inline-block;
    margin-top: .35rem;
    padding: .18rem .45rem;
    border: 1px solid;
    border-radius: 6px;
    font-size: .56rem;
    font-style: normal;
    font-weight: 700;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: .7rem 1.1rem .85rem;
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(12,16,34,.96);
    backdrop-filter: blur(16px);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-progress-labels {
    display: flex;
    justify-content: space-between;
    color: #6a80a8;
    font-size: .62rem;
    margin-bottom: .35rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-progress-track {
    height: 2px;
    margin-bottom: .65rem;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255,255,255,.1);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-progress-track span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg,#ffb43c,#7bbfff);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-controls {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-button {
    padding: .5rem .95rem;
    border: 2px solid #4488cc;
    border-radius: 999px;
    background: #1a3060;
    color: #88bbff;
    font-family: inherit;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-button.is-active {
    border-color: #7bbfff;
    background: #2255aa;
    color: #fff;
    box-shadow: 0 0 14px rgba(100,170,255,.4);
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-button--replay {
    border-color: #bb7700;
    background: #5a3500;
    color: #ffcc33;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-button--replay.is-active {
    border-color: #ffdd44;
    background: #704000;
}
@media (max-width: 760px) {
    .update331-cosmic-uploaded-animation .real-sky-cosmic-uploaded-stage { min-height: 560px; }
    .update331-cosmic-uploaded-animation .real-sky-cosmic-exp { display: none; }
    .update331-cosmic-uploaded-animation .real-sky-cosmic-hud { left: 14px; right: 14px; }
    .update331-cosmic-uploaded-animation .real-sky-cosmic-legend { display: none; }
}

/* update332-cosmic-button-hitbox-comms-evidence: keep cosmic journey control text inside the clickable button hit target. */
.update331-cosmic-uploaded-animation .real-sky-cosmic-button,
.update331-cosmic-uploaded-animation .real-sky-cosmic-button * {
    pointer-events: auto;
}
.update331-cosmic-uploaded-animation .real-sky-cosmic-controls {
    position: relative;
    z-index: 40;
    pointer-events: auto;
}

/* update338-cosmic-scale-travel-animation: third real-sky animation for distance travelled from birth date to current service date, adapted from uploaded cosmic-scale_12.html. */
.update338-cosmic-scale-travel-animation .real-sky-scale-panel {
    position: relative;
    min-height: 620px;
}
.real-sky-scale-stage {
    position: relative;
    min-height: 620px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 28px;
    background: #000310;
    box-shadow: inset 0 0 80px rgba(123,191,255,.12), 0 18px 70px rgba(0,0,0,.35);
}
.real-sky-scale-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.real-sky-scale-user-line,
.real-sky-scale-heading,
.real-sky-scale-nasa,
.real-sky-scale-counter,
.real-sky-scale-stats,
.real-sky-scale-replay {
    position: absolute;
    z-index: 4;
}
.real-sky-scale-user-line {
    top: 18px;
    left: 22px;
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    letter-spacing: .08em;
}
.real-sky-scale-user-line span {
    display: block;
    margin-top: .25rem;
    color: rgba(255,255,255,.28);
    font-size: .64rem;
}
.real-sky-scale-heading {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 210px));
    text-align: center;
    pointer-events: none;
}
.real-sky-scale-heading div {
    font-size: .58rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255,255,255,.38);
}
.real-sky-scale-heading strong {
    display: block;
    margin-top: .25rem;
    color: rgba(255,255,255,.92);
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: 0 0 28px rgba(123,191,255,.4);
}
.real-sky-scale-heading span {
    display: block;
    margin-top: .25rem;
    color: rgba(255,255,255,.32);
    font-size: .66rem;
}
.real-sky-scale-nasa {
    top: 20px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.36);
    font-size: .56rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.real-sky-scale-nasa span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4af;
    box-shadow: 0 0 8px #4af;
}
.real-sky-scale-counter {
    left: 50%;
    bottom: 132px;
    transform: translateX(-50%);
    display: grid;
    gap: .35rem;
    text-align: center;
    pointer-events: none;
}
.real-sky-scale-counter span,
.real-sky-scale-counter em {
    color: rgba(255,255,255,.34);
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-style: normal;
}
.real-sky-scale-counter strong {
    color: #fff;
    font-size: clamp(2rem, 7vw, 3.3rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 46px rgba(123,191,255,.45);
}
.real-sky-scale-stats {
    left: 50%;
    right: auto;
    bottom: 76px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    width: min(720px, calc(100% - 42px));
    pointer-events: none;
}
.real-sky-scale-stats article {
    padding: 0 14px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
}
.real-sky-scale-stats article:last-child { border-right: 0; }
.real-sky-scale-stats strong {
    display: block;
    color: rgba(255,255,255,.82);
    font-size: .95rem;
    font-variant-numeric: tabular-nums;
}
.real-sky-scale-stats span {
    display: block;
    margin-top: .2rem;
    color: rgba(255,255,255,.34);
    font-size: .5rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.real-sky-scale-replay {
    right: 22px;
    bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(255,204,80,.66);
    border-radius: 999px;
    background: rgba(110,62,0,.72);
    color: #ffd56a;
    font-weight: 900;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}
.real-sky-scale-replay:hover,
.real-sky-scale-replay:focus-visible {
    color: #fff;
    background: rgba(150,84,0,.82);
    box-shadow: 0 0 18px rgba(255,180,60,.32);
}
@media (max-width: 780px) {
    .real-sky-scale-stage { min-height: 540px; }
    .real-sky-scale-heading { top: 58px; width: calc(100% - 34px); }
    .real-sky-scale-nasa { display: none; }
    .real-sky-scale-stats { grid-template-columns: repeat(2, 1fr); gap: .6rem 0; bottom: 78px; }
    .real-sky-scale-stats article:nth-child(2) { border-right: 0; }
    .real-sky-scale-counter { bottom: 158px; }
}

/* update339-exact-upload-cosmic-scale: preserve the supplied cosmic-scale_12.html inside an isolated iframe; only birth/today query values are injected. */
.update339-exact-upload-cosmic-scale .real-sky-scale-upload-frame-shell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 660px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 28px;
    background: #000310;
    box-shadow: inset 0 0 80px rgba(123,191,255,.12), 0 18px 70px rgba(0,0,0,.35);
}
.update339-exact-upload-cosmic-scale .real-sky-scale-upload-frame {
    width: 780px;
    height: 640px;
    max-width: 100%;
    border: 0;
    border-radius: 20px;
    background: #000310;
}
@media (max-width: 840px) {
    .update339-exact-upload-cosmic-scale .real-sky-scale-upload-frame-shell {
        min-height: 560px;
        align-items: flex-start;
        padding-top: 12px;
    }
    .update339-exact-upload-cosmic-scale .real-sky-scale-upload-frame {
        width: 780px;
        height: 640px;
        transform: scale(.82);
        transform-origin: top center;
        max-width: none;
    }
}

/* update342-pro-voice-protected-playback */
.voice-playback-card {
    border: 1px solid rgba(123, 191, 255, .22);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(7, 14, 38, .62);
}
.full-width-audio {
    width: 100%;
}

/* update345-today-ux-reset: make Today start with the daily action, then expose longer proof/sky sections as optional drawers. */
.today-ux-quick-nav {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    align-items: center;
    position: sticky;
    top: 74px;
    z-index: 16;
    margin-top: .8rem;
    padding: .7rem .85rem;
    background: rgba(6, 12, 34, .86);
    backdrop-filter: blur(14px);
}
.today-ux-quick-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .48rem .75rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    background: rgba(255,255,255,.045);
}
.today-ux-quick-nav a:hover,
.today-ux-quick-nav a:focus-visible {
    color: #fff;
    border-color: rgba(183, 136, 255, .44);
    background: rgba(139, 92, 246, .22);
}
.today-ux-drawer {
    margin-top: .9rem;
}
.today-ux-drawer > summary,
.today-ux-subdrawer > summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .25rem .75rem;
    align-items: center;
    cursor: pointer;
    list-style: none;
    min-height: 54px;
}
.today-ux-drawer > summary::-webkit-details-marker,
.today-ux-subdrawer > summary::-webkit-details-marker {
    display: none;
}
.today-ux-drawer > summary::after,
.today-ux-subdrawer > summary::after {
    content: "Open";
    justify-self: end;
    grid-row: 1 / span 2;
    grid-column: 3;
    padding: .4rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.72);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,.04);
}
.today-ux-drawer[open] > summary::after,
.today-ux-subdrawer[open] > summary::after {
    content: "Close";
}
.today-ux-drawer > summary .eyebrow,
.today-ux-subdrawer > summary .eyebrow {
    grid-column: 1 / 3;
    margin: 0;
}
.today-ux-drawer > summary strong,
.today-ux-subdrawer > summary strong {
    grid-column: 1 / 2;
    color: #fff;
    font-size: 1.05rem;
}
.today-ux-drawer > summary .small-muted,
.today-ux-subdrawer > summary .small-muted {
    grid-column: 2 / 3;
    margin: 0;
}
.today-ux-drawer-card,
.today-ux-subdrawer {
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.035);
}
.today-ux-subdrawer-heading {
    margin-top: 1rem;
}
@media (max-width: 780px) {
    .today-ux-quick-nav {
        position: static;
        padding: .6rem;
    }
    .today-ux-quick-nav a {
        flex: 1 1 calc(50% - .4rem);
        justify-content: center;
    }
    .today-ux-drawer > summary,
    .today-ux-subdrawer > summary {
        grid-template-columns: 1fr;
    }
    .today-ux-drawer > summary .eyebrow,
    .today-ux-subdrawer > summary .eyebrow,
    .today-ux-drawer > summary strong,
    .today-ux-subdrawer > summary strong,
    .today-ux-drawer > summary .small-muted,
    .today-ux-subdrawer > summary .small-muted,
    .today-ux-drawer > summary::after,
    .today-ux-subdrawer > summary::after {
        grid-column: 1;
    }
    .today-ux-drawer > summary::after,
    .today-ux-subdrawer > summary::after {
        justify-self: start;
        grid-row: auto;
    }
}

/* update346-today-visual-above-fold: make Today feel visual and less hidden while preserving the working drawers below. */
.pwa-install-card.update91-pwa-install-card {
    padding: .72rem 1rem;
    gap: .75rem;
    border-radius: 18px;
    margin-bottom: .8rem;
}
.pwa-install-card.update91-pwa-install-card .eyebrow { margin-bottom: .1rem; }
.pwa-install-card.update91-pwa-install-card h2 {
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    margin: 0 0 .1rem;
}
.pwa-install-card.update91-pwa-install-card p {
    font-size: .84rem;
    line-height: 1.35;
}
.today-visual-hero {
    padding: 1.05rem 1.25rem;
    overflow: hidden;
}
.today-visual-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
    gap: 1rem;
    align-items: stretch;
}
.today-visual-hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.today-visual-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: .55rem;
}
.today-visual-hero .hero-lead {
    max-width: 58ch;
    margin-bottom: .5rem;
}
.today-visual-hero .mission-line {
    margin: .15rem 0 .9rem;
}
.today-visual-hero .hero-actions {
    margin-top: .2rem;
}
.today-hero-sky-card {
    position: relative;
    display: grid;
    grid-template-rows: minmax(180px, 1fr) auto;
    min-height: 270px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(123, 191, 255, .22);
    background: radial-gradient(circle at 28% 22%, rgba(123, 191, 255, .18), transparent 34%), linear-gradient(135deg, rgba(8, 14, 35, .9), rgba(27, 18, 58, .9));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 18px 54px rgba(0,0,0,.28);
}
.today-hero-sky-card:hover,
.today-hero-sky-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 218, 118, .45);
    box-shadow: 0 22px 70px rgba(123, 92, 255, .18), inset 0 0 0 1px rgba(255,255,255,.06);
}
.today-hero-sky-media {
    position: relative;
    min-height: 190px;
    background: #000310;
    overflow: hidden;
}
.today-hero-space-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 780px;
    height: 640px;
    border: 0;
    transform: translate(-50%, -50%) scale(.45);
    transform-origin: center;
    pointer-events: none;
}
.today-hero-sky-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(5, 10, 28, .92));
    pointer-events: none;
}
.today-hero-sky-fallback {
    min-height: 190px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(255,255,255,.8);
}
.today-hero-sky-fallback span {
    display: block;
    font-size: 4rem;
    text-shadow: 0 0 28px rgba(255, 218, 118, .42);
}
.today-hero-sky-fallback em {
    display: block;
    max-width: 22ch;
    color: rgba(255,255,255,.62);
    font-style: normal;
}
.today-hero-sky-caption {
    position: relative;
    z-index: 2;
    display: grid;
    gap: .16rem;
    padding: .85rem .95rem 1rem;
    background: linear-gradient(180deg, rgba(7, 14, 38, .78), rgba(7, 14, 38, .96));
}
.today-hero-sky-caption span {
    color: rgba(123, 191, 255, .86);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.today-hero-sky-caption strong {
    font-size: 1.08rem;
}
.today-hero-sky-caption em {
    color: rgba(255,255,255,.62);
    font-style: normal;
    font-size: .84rem;
}
.update85-user-home-panel.update125-signed-in-ux-home {
    margin-top: .85rem;
    padding-top: 1.05rem;
    padding-bottom: 1rem;
}
.update85-user-home-panel .section-heading.left {
    align-items: end;
    margin-bottom: .5rem;
}
.update125-today-focus-card {
    padding: .85rem;
}
.update125-core-path-grid.update119-today-steps-grid {
    gap: .65rem;
}
.update125-core-path-grid .update85-home-status-card {
    min-height: 116px;
    background: radial-gradient(circle at 90% 12%, rgba(255, 218, 118, .12), transparent 30%), rgba(255,255,255,.045);
}
.today-ux-quick-nav {
    margin-top: .65rem;
    padding: .45rem .55rem;
    opacity: .92;
}
.today-ux-quick-nav a {
    min-height: 30px;
    padding: .35rem .62rem;
    font-size: .72rem;
}
.today-ux-drawer > summary,
.today-ux-subdrawer > summary {
    grid-template-columns: auto auto 1fr;
    min-height: 76px;
    padding: .25rem .35rem;
}
.today-ux-drawer > summary .eyebrow,
.today-ux-subdrawer > summary .eyebrow {
    grid-column: 2 / 4;
}
.today-ux-drawer > summary strong,
.today-ux-subdrawer > summary strong {
    grid-column: 2 / 3;
}
.today-ux-drawer > summary .small-muted,
.today-ux-subdrawer > summary .small-muted {
    grid-column: 3 / 4;
}
.today-ux-drawer > summary::after,
.today-ux-subdrawer > summary::after {
    grid-column: 4;
    grid-row: 1 / span 2;
}
.today-drawer-thumb {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}
.today-drawer-thumb-memory {
    background: radial-gradient(circle at 35% 35%, rgba(255, 218, 118, .28), transparent 33%), radial-gradient(circle at 68% 66%, rgba(139, 92, 246, .35), transparent 38%), #061026;
}
.today-drawer-thumb-memory span {
    color: #ffdf7c;
    font-size: 2rem;
    text-shadow: 0 0 24px rgba(255, 218, 118, .5);
}
.today-drawer-thumb-sky {
    grid-template-columns: repeat(3, 1fr);
    gap: .16rem;
    padding: .45rem;
    background: radial-gradient(circle at 50% 50%, rgba(123,191,255,.28), transparent 42%), linear-gradient(145deg, #020613, #13245a 62%, #020613);
}
.today-drawer-thumb-sky span {
    color: rgba(255,255,255,.84);
    font-size: 1.15rem;
    filter: drop-shadow(0 0 10px rgba(123,191,255,.48));
}
@media (max-width: 980px) {
    .today-visual-hero-grid {
        grid-template-columns: 1fr;
    }
    .today-hero-sky-card {
        min-height: 240px;
    }
    .today-hero-space-frame {
        transform: translate(-50%, -50%) scale(.42);
    }
}
@media (max-width: 780px) {
    .pwa-install-card.update91-pwa-install-card {
        padding: .65rem .75rem;
    }
    .today-visual-hero {
        padding: .9rem;
    }
    .today-hero-sky-card {
        min-height: 220px;
    }
    .today-hero-space-frame {
        transform: translate(-50%, -50%) scale(.36);
    }
    .today-ux-drawer > summary,
    .today-ux-subdrawer > summary {
        grid-template-columns: auto 1fr;
    }
    .today-drawer-thumb {
        grid-column: 1;
        grid-row: 1 / span 3;
    }
    .today-ux-drawer > summary .eyebrow,
    .today-ux-subdrawer > summary .eyebrow,
    .today-ux-drawer > summary strong,
    .today-ux-subdrawer > summary strong,
    .today-ux-drawer > summary .small-muted,
    .today-ux-subdrawer > summary .small-muted,
    .today-ux-drawer > summary::after,
    .today-ux-subdrawer > summary::after {
        grid-column: 2;
    }
}

/* update357-nasa-real-sky-wow-proof: surface the real-sky evidence above the fold without overclaiming birth data. */
.today-real-sky-wow-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
}
.today-real-sky-wow-strip span {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    min-height: 30px;
    padding: .38rem .58rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 191, 255, .2);
    background: rgba(4, 10, 28, .42);
    color: rgba(255,255,255,.78);
    font-size: .76rem;
    font-weight: 700;
}
.today-real-sky-wow-strip strong {
    color: #ffdf7c;
    font-weight: 900;
}
.update357-nasa-real-sky-wow-proof-card {
    border-color: rgba(255, 218, 118, .18);
    background: radial-gradient(circle at 8% 10%, rgba(255, 218, 118, .12), transparent 32%), rgba(255,255,255,.045);
}
.update357-admin-wow-proof-card {
    border-color: rgba(123, 191, 255, .18);
}

/* update358-media-evidence-dashboard */
.update358-media-lane-grid .admin-meta-grid,
.admin-two-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.update358-media-lane-card.ready {
    border-color: rgba(72, 187, 120, 0.35);
}

.update358-media-lane-card.watch {
    border-color: rgba(237, 137, 54, 0.35);
}

.update358-media-lane-card.action {
    border-color: rgba(245, 101, 101, 0.45);
}

.mini-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

/* update359-you-account-ux-reset: account essentials first, deeper personalisation separated into drawers. */
.update359-you-account-ux-reset {
    border-color: rgba(122, 225, 188, .2);
    background: radial-gradient(circle at 8% 16%, rgba(122, 225, 188, .14), transparent 30%), radial-gradient(circle at 92% 8%, rgba(189, 167, 255, .16), transparent 34%), rgba(7, 14, 38, .82);
}
.you-reset-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 1rem;
    align-items: stretch;
}
.you-reset-status-strip {
    margin-top: .85rem;
}
.you-reset-next-card,
.you-reset-proof-note,
.you-reset-drawer {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.045);
    border-radius: 1.2rem;
}
.you-reset-next-card {
    display: grid;
    gap: .62rem;
    align-content: center;
    padding: 1rem;
    min-height: 100%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.you-reset-next-card > span {
    width: fit-content;
    padding: .24rem .52rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 218, 118, .24);
    color: #ffdf7c;
    background: rgba(255, 218, 118, .08);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.you-reset-next-card strong {
    font-size: 1.18rem;
    color: #fff;
}
.you-reset-next-card p,
.you-reset-proof-note span,
.you-reset-drawer summary em,
.you-reset-action-card em {
    color: var(--text-muted);
    font-style: normal;
}
.you-reset-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
}
.you-reset-action-card {
    display: grid;
    gap: .45rem;
    min-height: 150px;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(149, 226, 213, .18);
    border-radius: 1.15rem;
    background: radial-gradient(circle at 92% 10%, rgba(189, 167, 255, .1), transparent 32%), rgba(13, 28, 66, .68);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.you-reset-action-card.primary {
    border-color: rgba(122, 225, 188, .3);
    background: radial-gradient(circle at 88% 12%, rgba(122, 225, 188, .16), transparent 34%), rgba(13, 28, 66, .78);
}
.you-reset-action-card:hover,
.you-reset-action-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(189, 167, 255, .72);
    box-shadow: 0 0 0 1px rgba(189, 167, 255, .22), 0 0 24px rgba(139, 92, 246, .24);
    text-decoration: none;
}
.you-reset-action-card span {
    color: rgba(122, 225, 188, .88);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.you-reset-action-card strong {
    color: #fff;
    font-size: 1.05rem;
}
.you-reset-readiness-meter {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(0,0,0,.22);
}
.you-reset-readiness-meter > div {
    height: 100%;
    min-width: 6%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(122,225,188,.88), rgba(255,218,118,.92));
}
.you-reset-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}
.you-reset-proof-note {
    display: grid;
    gap: .25rem;
    padding: .85rem 1rem;
}
.you-reset-proof-note strong {
    color: #fff;
}
.you-reset-drawer {
    margin-top: .8rem;
    padding: .25rem;
}
.you-reset-drawer summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .25rem .7rem;
    align-items: center;
    cursor: pointer;
    padding: .75rem .85rem;
    list-style: none;
}
.you-reset-drawer summary::-webkit-details-marker {
    display: none;
}
.you-reset-drawer summary::after {
    content: "+";
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    color: rgba(255,255,255,.72);
    font-weight: 900;
}
.you-reset-drawer[open] summary::after {
    content: "–";
}
.you-reset-drawer-icon {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #ffdf7c;
    background: rgba(255, 218, 118, .09);
    border: 1px solid rgba(255, 218, 118, .16);
}
.you-reset-drawer summary strong {
    color: #fff;
}
.you-reset-drawer summary em {
    grid-column: 2;
    font-size: .9rem;
}
.you-reset-drawer .you-reset-card-grid {
    padding: 0 .6rem .75rem;
}
.you-reset-signout-form {
    margin: 0;
}
@media (max-width: 900px) {
    .you-reset-hero-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .you-reset-card-grid {
        grid-template-columns: 1fr;
    }
    .you-reset-drawer summary {
        grid-template-columns: auto 1fr auto;
    }
    .you-reset-drawer summary em {
        grid-column: 2 / 4;
    }
}

/* update360-fixed-subscription-footer: replace the sticky Today quick nav with a fixed bottom action footer and show the cosmic journey above the fold. */
.update360-retired-sticky-top-menu[hidden] {
    display: none !important;
}
.today-hero-cosmic-media {
    min-height: 225px;
}
.today-hero-cosmic-panel,
.today-hero-cosmic-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.today-hero-cosmic-panel {
    display: block;
    background: #010208;
}
.today-hero-cosmic-stage {
    min-height: 100%;
    border-radius: 0;
}
.today-hero-cosmic-stage .real-sky-cinematic-canvas {
    inset: 0;
}
.today-hero-cosmic-hud {
    left: .7rem;
    right: .7rem;
    top: .65rem;
    padding: .48rem .58rem;
    border-radius: 14px;
    font-size: .72rem;
    background: rgba(3, 7, 20, .58);
    border-color: rgba(255,255,255,.08);
}
.today-hero-cosmic-hud .real-sky-cosmic-user-line {
    font-size: .72rem;
}
.today-hero-cosmic-mini-bar {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .7rem;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .55rem;
    align-items: center;
    color: rgba(255,255,255,.72);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.today-hero-cosmic-track {
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.today-hero-cosmic-track i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(122,225,188,.9), rgba(255,218,118,.95));
    box-shadow: 0 0 16px rgba(255,218,118,.42);
}
.today-fixed-action-footer {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(190px, auto) minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: .62rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(5, 11, 31, .92), rgba(18, 15, 48, .92));
    box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.035);
    backdrop-filter: blur(18px);
}
.today-fixed-plan-offers {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    padding: .42rem .5rem;
    border: 1px solid rgba(255,218,118,.18);
    border-radius: 18px;
    background: radial-gradient(circle at 12% 20%, rgba(255,218,118,.16), transparent 40%), rgba(255,255,255,.045);
}
.today-fixed-plan-offers span {
    color: rgba(255,255,255,.78);
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}
.today-fixed-plan-offers.subscribed {
    border-color: rgba(122,225,188,.2);
    background: radial-gradient(circle at 12% 20%, rgba(122,225,188,.14), transparent 40%), rgba(255,255,255,.045);
}
.today-fixed-plan-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .42rem .7rem;
    border-radius: 999px;
    color: #fff;
    font-size: .75rem;
    font-weight: 950;
    text-decoration: none;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
}
.today-fixed-plan-link:hover,
.today-fixed-plan-link:focus-visible {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.28);
}
.today-fixed-plan-link-pro {
    background: linear-gradient(135deg, #ffd86b, #b887ff);
    color: #170d2b;
    border-color: rgba(255,255,255,.24);
    box-shadow: 0 8px 22px rgba(184,135,255,.24);
}
.today-fixed-step-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .35rem;
}
.today-fixed-step-nav a {
    min-width: 0;
    min-height: 48px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem;
    align-items: center;
    padding: .42rem .55rem;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.05);
    text-decoration: none;
}
.today-fixed-step-nav a:hover,
.today-fixed-step-nav a:focus-visible {
    color: #fff;
    border-color: rgba(183,136,255,.42);
    background: rgba(139,92,246,.18);
}
.today-fixed-step-nav a span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #ffdf7c;
    font-size: .94rem;
}
.today-fixed-step-nav a strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .74rem;
    font-weight: 950;
}
.today-fixed-step-nav a.is-complete {
    border-color: rgba(122,225,188,.22);
    background: rgba(122,225,188,.08);
}
.today-fixed-step-nav a.is-complete span {
    color: #7ae1bc;
}
.today-fixed-step-nav a.is-locked {
    opacity: .78;
}
.today-fixed-step-nav a.is-locked span::after {
    content: "";
}
.today-fixed-action-footer-spacer {
    height: 92px;
}
@media (max-width: 980px) {
    .today-fixed-action-footer {
        grid-template-columns: 1fr;
        gap: .45rem;
    }
    .today-fixed-plan-offers {
        justify-content: center;
    }
}
@media (max-width: 680px) {
    .today-fixed-action-footer {
        left: max(8px, env(safe-area-inset-left));
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        padding: .5rem;
        border-radius: 20px;
    }
    .today-fixed-plan-offers span {
        display: none;
    }
    .today-fixed-step-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .today-fixed-step-nav a {
        min-height: 42px;
        padding: .34rem .4rem;
    }
    .today-fixed-step-nav a strong {
        font-size: .68rem;
    }
    .today-fixed-action-footer-spacer {
        height: 150px;
    }
    .today-hero-cosmic-hud {
        font-size: .64rem;
    }
}

/* update361-global-customer-footer: shared customer footer appears across signed-in customer pages, not only Today. */
.customer-fixed-action-footer {
    grid-template-columns: minmax(185px, auto) minmax(0, 1fr);
}
.customer-fixed-step-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
.today-fixed-step-nav a.is-active,
.customer-fixed-step-nav a.is-active {
    color: #fff;
    border-color: rgba(255,218,118,.42);
    background: linear-gradient(135deg, rgba(255,218,118,.16), rgba(139,92,246,.18));
}
.today-fixed-step-nav a.is-active span,
.customer-fixed-step-nav a.is-active span {
    color: #fff1a8;
    background: rgba(255,218,118,.16);
}
.customer-fixed-action-footer-spacer {
    height: 96px;
}
@media (max-width: 980px) {
    .customer-fixed-action-footer {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .customer-fixed-step-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .customer-fixed-action-footer-spacer {
        height: 154px;
    }
}
@media (max-width: 420px) {
    .customer-fixed-step-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .customer-fixed-action-footer-spacer {
        height: 198px;
    }
}

/* update362-full-cosmic-journey-viewport: keep the Today above-fold Cosmic Journey fully visible instead of clipping the 420px canvas inside a short hero card. */
.today-visual-hero.update362-full-cosmic-journey-viewport {
    padding-top: clamp(.85rem, 1.5vw, 1.2rem);
    padding-bottom: clamp(.85rem, 1.5vw, 1.15rem);
}
.update362-full-cosmic-journey-viewport .today-visual-hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(360px, .95fr);
    align-items: center;
}
.update362-full-cosmic-journey-viewport .today-hero-sky-card {
    grid-template-rows: minmax(380px, clamp(380px, 46vh, 520px)) auto;
    min-height: clamp(455px, 56vh, 610px);
}
.update362-full-cosmic-journey-viewport .today-hero-sky-media,
.update362-full-cosmic-journey-viewport .today-hero-cosmic-media {
    min-height: clamp(380px, 46vh, 520px);
}
.update362-full-cosmic-journey-viewport .today-hero-cosmic-stage {
    min-height: 100%;
    width: 100%;
}
.update362-full-cosmic-journey-viewport .today-hero-cosmic-stage .real-sky-cinematic-canvas {
    width: 100%;
    height: 100%;
}
.update362-full-cosmic-journey-viewport .today-hero-sky-media::after {
    background: linear-gradient(180deg, transparent 72%, rgba(5, 10, 28, .7));
}
.update362-full-cosmic-journey-viewport .today-hero-cosmic-hud {
    top: .75rem;
}
.update362-full-cosmic-journey-viewport .today-hero-cosmic-mini-bar {
    bottom: .82rem;
}
@media (max-width: 980px) {
    .update362-full-cosmic-journey-viewport .today-visual-hero-grid {
        grid-template-columns: 1fr;
    }
    .update362-full-cosmic-journey-viewport .today-hero-sky-card {
        min-height: clamp(420px, 58vh, 540px);
        grid-template-rows: minmax(350px, clamp(350px, 50vh, 470px)) auto;
    }
    .update362-full-cosmic-journey-viewport .today-hero-sky-media,
    .update362-full-cosmic-journey-viewport .today-hero-cosmic-media {
        min-height: clamp(350px, 50vh, 470px);
    }
}
@media (max-width: 680px) {
    .update362-full-cosmic-journey-viewport .today-hero-sky-card {
        grid-template-rows: minmax(320px, 42vh) auto;
        min-height: 400px;
    }
    .update362-full-cosmic-journey-viewport .today-hero-sky-media,
    .update362-full-cosmic-journey-viewport .today-hero-cosmic-media {
        min-height: 320px;
    }
    .update362-full-cosmic-journey-viewport .today-hero-cosmic-mini-bar {
        left: .62rem;
        right: .62rem;
    }
}

/* update363-reading-ux-reset: calmer reading path, answer-first detailed reading, evidence drawer and clearer saved feedback state. */
.reading-ux-reset-panel {
    border-color: rgba(122, 225, 188, 0.18);
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.075), rgba(138, 99, 255, 0.085));
}

.reading-ux-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.reading-ux-step-card {
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 124px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(212, 203, 255, 0.16);
    background: rgba(255,255,255,0.045);
    color: var(--text-soft);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.reading-ux-step-card:hover,
.reading-ux-step-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(122, 225, 188, 0.34);
    background: rgba(255,255,255,0.07);
}

.reading-ux-step-card span {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid rgba(212, 203, 255, 0.16);
    color: var(--text-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.reading-ux-step-card strong {
    color: #fff;
    font-size: 1.02rem;
}

.reading-ux-step-card em {
    color: var(--text-muted);
    font-size: .92rem;
    font-style: normal;
    line-height: 1.45;
}

.reading-ux-step-card.is-ready {
    border-color: rgba(122, 225, 188, 0.38);
    background: rgba(122, 225, 188, 0.095);
}

.reading-ux-step-card.is-next {
    border-color: rgba(190, 169, 255, 0.4);
    box-shadow: 0 16px 40px rgba(91, 63, 196, 0.16);
}

.reading-ux-step-card.is-locked {
    opacity: .76;
}

.reading-ux-summary-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(212, 203, 255, 0.14);
    background: rgba(255,255,255,0.045);
    margin-bottom: 14px;
}

.reading-ux-summary-card.detailed {
    border-color: rgba(122, 225, 188, 0.22);
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.07), rgba(138, 99, 255, 0.07));
}

.reading-ux-summary-card p {
    margin: 4px 0 0;
    color: var(--text-muted);
}

.reading-ux-summary-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.9), rgba(255,255,255,.18) 24%, transparent 50%), linear-gradient(135deg, rgba(138, 99, 255, .82), rgba(122,225,188,.48));
    box-shadow: 0 0 22px rgba(138, 99, 255, .32);
    color: #fff;
    font-size: 1.2rem;
}

.reading-ux-detailed-card .reading-text {
    padding: clamp(16px, 2.4vw, 28px);
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(7,18,43,0.38);
    font-size: clamp(1rem, 1.08vw, 1.13rem);
    line-height: 1.72;
}

.reading-ux-detailed-card .reading-heading {
    margin-top: 1.35em;
    font-size: clamp(1.08rem, 1.25vw, 1.28rem);
}

.reading-evidence-drawer > summary {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
}

.reading-evidence-drawer > summary::-webkit-details-marker {
    display: none;
}

.reading-evidence-drawer > summary strong {
    color: #fff;
}

.reading-feedback-helper {
    color: var(--text-muted);
    font-size: .85rem;
    font-style: normal;
}

.reading-feedback-actions button.is-saved-feedback,
.reading-feedback-actions button[aria-pressed="true"] {
    border-color: rgba(122, 225, 188, 0.72) !important;
    background: linear-gradient(135deg, rgba(122, 225, 188, 0.24), rgba(68, 217, 168, 0.16)) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(122, 225, 188, .18), 0 10px 24px rgba(28, 177, 128, .16) !important;
}

.update363-reading-action-strip {
    align-items: center;
}

@media (max-width: 980px) {
    .reading-ux-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reading-ux-summary-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .reading-ux-summary-card > .secondary-link {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .reading-ux-step-grid {
        grid-template-columns: 1fr;
    }

    .reading-evidence-drawer > summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .reading-evidence-drawer > summary .eyebrow,
    .reading-evidence-drawer > summary .status-pill {
        grid-column: 2;
        justify-self: start;
    }
}

/* update363-reading-history-ux-reset: history cards scan before expanding the saved reading text. */
.reading-history-reset .section-heading {
    align-items: flex-start;
}

.reading-history-card {
    border-color: rgba(190, 169, 255, 0.18);
}

.reading-history-details > summary {
    display: grid;
    gap: 4px;
    cursor: pointer;
    padding: 12px 0;
    list-style: none;
}

.reading-history-details > summary::-webkit-details-marker {
    display: none;
}

.reading-history-details > summary span {
    color: #fff;
    font-weight: 800;
}

.reading-history-details > summary em {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.4;
}

/* update364-condensed-today-hero-path: move the primary Today path into the Good to see you hero so the page does not repeat Start here and Reading path panels below the animation. */
.update364-condensed-today-hero .today-visual-hero-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(.7rem, 1.2vw, .95rem);
}
.update364-condensed-today-hero .hero-actions,
.update364-condensed-today-hero .chip-row,
.update364-condensed-today-hero .today-real-sky-wow-strip {
    margin-top: 0;
}
.today-hero-path-panel {
    display: grid;
    gap: .68rem;
    padding: clamp(.8rem, 1.3vw, 1rem);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 10%, rgba(122,225,188,.12), transparent 34%),
        radial-gradient(circle at 100% 8%, rgba(184,135,255,.13), transparent 38%),
        rgba(255,255,255,.045);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.today-hero-path-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: .65rem;
}
.today-hero-path-head h2 {
    margin: .12rem 0 0;
    font-size: clamp(1.08rem, 1.7vw, 1.45rem);
    line-height: 1;
}
.today-hero-next-action {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .52rem;
    align-items: center;
    min-height: 46px;
    padding: .54rem .66rem .7rem;
    border: 1px solid rgba(255,218,118,.22);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,218,118,.13), rgba(139,92,246,.14));
    text-decoration: none;
}
.today-hero-next-action strong,
.today-hero-next-action em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.today-hero-next-action strong {
    font-size: .9rem;
}
.today-hero-next-action em {
    color: rgba(255,255,255,.72);
    font-size: .73rem;
    font-style: normal;
    font-weight: 850;
}
.today-hero-next-action i {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    max-width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(122,225,188,.92), rgba(255,218,118,.96));
    box-shadow: 0 0 14px rgba(255,218,118,.32);
}
.today-hero-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .52rem;
}
.today-hero-step-card {
    min-width: 0;
    min-height: 82px;
    display: grid;
    align-content: start;
    gap: .24rem;
    padding: .68rem .72rem;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    color: rgba(255,255,255,.84);
    background: rgba(255,255,255,.046);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.today-hero-step-card:hover,
.today-hero-step-card:focus-visible {
    transform: translateY(-1px);
    color: #fff;
    border-color: rgba(184,135,255,.34);
    background: rgba(139,92,246,.14);
}
.today-hero-step-card span {
    justify-self: start;
    padding: .16rem .44rem;
    border-radius: 999px;
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.075);
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.today-hero-step-card strong {
    font-size: .88rem;
    line-height: 1.05;
}
.today-hero-step-card em {
    color: rgba(210,220,255,.68);
    font-size: .72rem;
    font-style: normal;
    line-height: 1.25;
}
.today-hero-step-card.is-ready {
    border-color: rgba(122,225,188,.22);
    background: rgba(122,225,188,.075);
}
.today-hero-step-card.is-ready span {
    color: #94f3d0;
    background: rgba(122,225,188,.12);
}
.today-hero-step-card.is-next {
    border-color: rgba(255,218,118,.24);
    background: rgba(255,218,118,.075);
}
.today-hero-step-card.is-next span {
    color: #ffe493;
    background: rgba(255,218,118,.13);
}
.today-hero-step-card.is-locked {
    opacity: .8;
}
@media (max-width: 1100px) {
    .today-hero-step-grid {
        grid-template-columns: 1fr;
    }
    .today-hero-step-card {
        min-height: 66px;
    }
}
@media (max-width: 980px) {
    .today-hero-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 580px) {
    .today-hero-path-head {
        align-items: stretch;
        flex-direction: column;
    }
    .today-hero-step-grid {
        grid-template-columns: 1fr;
    }
    .today-hero-next-action {
        grid-template-columns: 1fr;
    }
}

/* update365-today-declutter: reduce Today duplication after independent page review by keeping one hero CTA, compressing the four-step strip, and demoting evidence/reminder chrome. */
.surface-today .pwa-install-card.update91-pwa-install-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: .5rem .75rem;
    margin-bottom: .65rem;
    border-radius: 16px;
    background: rgba(14, 27, 68, .72);
}
.surface-today .pwa-install-card.update91-pwa-install-card h2 {
    font-size: .98rem;
    margin: 0;
}
.surface-today .pwa-install-card.update91-pwa-install-card .eyebrow,
.surface-today .pwa-install-card.update91-pwa-install-card p {
    display: none;
}
.surface-today .pwa-install-card.update91-pwa-install-card .pwa-install-card-actions {
    gap: .35rem;
}
.update365-today-declutter.today-visual-hero {
    padding: clamp(.8rem, 1.25vw, 1rem);
}
.update365-today-declutter .today-visual-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(380px, 1.05fr);
    gap: clamp(.75rem, 1.4vw, 1.05rem);
}
.update365-today-declutter .today-visual-hero-copy {
    justify-content: start;
    gap: .55rem;
}
.update365-today-declutter.today-visual-hero h1 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin: 0;
}
.update365-today-declutter.today-visual-hero .hero-lead {
    max-width: 56ch;
    margin: 0;
    color: rgba(231,236,255,.82);
}
.today-hero-command-row.update365-today-declutter-command {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: .1rem;
}
.today-hero-status-row.update365-today-declutter-status,
.update365-today-declutter .today-real-sky-wow-strip {
    gap: .35rem;
}
.update365-today-declutter .today-hero-status-row .chip,
.update365-today-declutter .today-real-sky-wow-strip span {
    min-height: 26px;
    padding: .28rem .48rem;
    font-size: .72rem;
}
.today-hero-path-panel.update365-today-step-strip {
    gap: .45rem;
    padding: .62rem;
    border-radius: 20px;
    background: rgba(255,255,255,.035);
}
.update365-today-step-strip .today-hero-path-head {
    align-items: center;
}
.update365-today-step-strip .today-hero-path-head h2 {
    font-size: 1.02rem;
    margin: .05rem 0 0;
}
.update365-profile-quality-link {
    text-decoration: none;
}
.today-hero-step-grid.update365-today-step-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .38rem;
}
.update365-today-step-strip-grid .today-hero-step-card {
    min-height: 74px;
    padding: .55rem .56rem;
    border-radius: 15px;
}
.update365-today-step-strip-grid .today-hero-step-card span {
    padding: .12rem .34rem;
    font-size: .56rem;
}
.update365-today-step-strip-grid .today-hero-step-card strong {
    font-size: .8rem;
}
.update365-today-step-strip-grid .today-hero-step-card em {
    font-size: .66rem;
    line-height: 1.16;
}
.surface-today .today-ux-drawer {
    margin-top: .55rem;
}
.surface-today .today-ux-drawer > summary,
.surface-today .today-ux-subdrawer > summary {
    min-height: 48px;
    padding: .18rem .28rem;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
}
.surface-today .today-drawer-thumb {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}
.surface-today .today-drawer-thumb-memory span {
    font-size: 1.35rem;
}
.surface-today .today-drawer-thumb-sky {
    padding: .32rem;
}
.surface-today .today-drawer-thumb-sky span {
    font-size: .8rem;
}
.surface-today .today-ux-drawer > summary .eyebrow,
.surface-today .today-ux-subdrawer > summary .eyebrow {
    display: none;
}
.surface-today .today-ux-drawer > summary strong,
.surface-today .today-ux-subdrawer > summary strong {
    grid-column: 2 / 3;
    font-size: .9rem;
}
.surface-today .today-ux-drawer > summary .small-muted,
.surface-today .today-ux-subdrawer > summary .small-muted {
    grid-column: 3 / 4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .75rem;
}
.surface-today #daily-emotional-weather-panel,
.surface-today #basic-reading-panel,
.surface-today #premium-reading-panel,
.surface-today #premium-tarot-ritual,
.surface-today #evening-moon-panel,
.surface-today #audio-ritual-player,
.surface-today #today-more-insights {
    margin-top: .75rem;
}
.surface-today #today-more-insights .today-secondary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}
.surface-today #today-more-insights .today-secondary-card {
    min-height: 58px;
    padding: .55rem .65rem;
}
.surface-today #today-more-insights .today-secondary-card span {
    font-size: .72rem;
    line-height: 1.18;
}
@media (max-width: 1220px) {
    .today-hero-step-grid.update365-today-step-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 980px) {
    .update365-today-declutter .today-visual-hero-grid {
        grid-template-columns: 1fr;
    }
    .surface-today .pwa-install-card.update91-pwa-install-card {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 680px) {
    .today-hero-step-grid.update365-today-step-strip-grid,
    .surface-today #today-more-insights .today-secondary-grid {
        grid-template-columns: 1fr;
    }
    .surface-today .today-ux-drawer > summary .small-muted,
    .surface-today .today-ux-subdrawer > summary .small-muted {
        white-space: normal;
    }
}

/* update366-today-simplified-flow: remove duplicate footer/top-menu actions, move audio to You, and make Today proof layers explicit compact links. */
.customer-fixed-step-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.update366-today-simplified-flow .today-hero-path-panel.update365-today-step-strip {
    order: 1;
    margin-top: .08rem;
}
.update366-today-simplified-flow .today-hero-command-row.update365-today-declutter-command {
    order: 2;
}
.update366-today-simplified-flow .today-hero-status-row,
.update366-today-simplified-flow .today-real-sky-wow-strip {
    order: 3;
}
.today-proof-layers.update366-today-proof-layer-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-top: .7rem;
    padding: .58rem;
    background: rgba(255, 255, 255, .026);
}
.today-proof-layer-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .45rem .6rem;
    min-height: 54px;
    padding: .55rem .7rem;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.045);
    text-decoration: none;
}
.today-proof-layer-card:hover,
.today-proof-layer-card:focus-visible {
    color: #fff;
    border-color: rgba(122,225,188,.26);
    background: rgba(122,225,188,.075);
}
.today-proof-layer-card span {
    grid-row: 1 / 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 28px;
    padding: .2rem .45rem;
    border-radius: 999px;
    color: #d7c8ff;
    background: rgba(139,92,246,.16);
    font-size: .68rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.today-proof-layer-card strong,
.today-proof-layer-card em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.today-proof-layer-card strong {
    font-size: .92rem;
}
.today-proof-layer-card em {
    color: rgba(210,220,255,.68);
    font-size: .74rem;
    font-style: normal;
}
.today-proof-layer-card b {
    grid-row: 1 / 3;
    justify-self: end;
    padding: .32rem .55rem;
    border-radius: 999px;
    color: #fff1a8;
    background: rgba(255,218,118,.13);
    font-size: .68rem;
    white-space: nowrap;
}
.surface-today #today-sky-tools.today-ux-sky-drawer {
    margin-top: .45rem;
}
.surface-today #today-sky-tools.today-ux-sky-drawer > summary {
    min-height: 42px;
    padding: .14rem .24rem;
    opacity: .92;
}
.you-audio-section.update366-audio-moved-to-you {
    border-color: rgba(122,225,188,.18);
    background: linear-gradient(135deg, rgba(122,225,188,.08), rgba(88,58,139,.18), rgba(10,18,43,.72));
}
.you-pro-voice-card {
    display: grid;
    gap: .6rem;
}
.you-pro-voice-card .form-actions {
    align-items: center;
}
@media (max-width: 760px) {
    .customer-fixed-step-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .today-proof-layers.update366-today-proof-layer-cards {
        grid-template-columns: 1fr;
    }
    .today-proof-layer-card {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .today-proof-layer-card span {
        grid-row: auto;
        justify-self: start;
    }
    .today-proof-layer-card strong,
    .today-proof-layer-card em {
        grid-column: 1 / -1;
        white-space: normal;
    }
    .today-proof-layer-card b {
        grid-row: auto;
    }
}


/* update367-footer-and-hero-step-title-tidy: remove duplicated Ask entry from customer footer and make the Today steps title a full-width header above the four cards. */
.customer-fixed-action-footer.update367-footer-no-ask .customer-fixed-step-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.update367-footer-and-hero-step-title-tidy .today-hero-path-panel.update365-today-step-strip {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: .48rem;
}
.update367-footer-and-hero-step-title-tidy .today-hero-path-head.update367-step-title-fixed {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 0 .12rem;
}
.update367-footer-and-hero-step-title-tidy .today-hero-path-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
}
.update367-footer-and-hero-step-title-tidy .today-hero-path-title .eyebrow {
    flex: 0 0 auto;
    margin: 0;
    font-size: .66rem;
    letter-spacing: .15em;
}
.update367-footer-and-hero-step-title-tidy .today-hero-path-title h2 {
    flex: 1 1 auto;
    margin: 0;
    text-align: right;
    font-size: clamp(.95rem, 1.25vw, 1.12rem);
    line-height: 1.08;
}
.update367-footer-and-hero-step-title-tidy .today-hero-step-grid.update365-today-step-strip-grid {
    grid-column: 1 / -1;
    width: 100%;
}
.update367-footer-and-hero-step-title-tidy .today-hero-command-row.update367-single-hero-action {
    margin-top: .18rem;
}
.update367-footer-and-hero-step-title-tidy .today-hero-command-row.update367-single-hero-action .primary-button {
    min-width: min(100%, 152px);
}
@media (max-width: 760px) {
    .customer-fixed-action-footer.update367-footer-no-ask .customer-fixed-step-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .customer-fixed-action-footer.update367-footer-no-ask .customer-fixed-step-nav a {
        padding-inline: .42rem;
    }
}
@media (max-width: 560px) {
    .update367-footer-and-hero-step-title-tidy .today-hero-path-title {
        display: grid;
        gap: .1rem;
    }
    .update367-footer-and-hero-step-title-tidy .today-hero-path-title h2 {
        text-align: left;
    }
}

/* update368-delivery-preferences-ux-reset: make delivery preferences feel like a customer settings page, not an operations page. */
.delivery-reset-hero .hero-content.narrow {
    max-width: 980px;
}
.delivery-reset-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}
.delivery-reset-summary-card,
.delivery-reset-block,
.delivery-reset-drawer,
.delivery-reset-fieldset,
.delivery-reset-verification,
.delivery-reset-history-grid article {
    border: 1px solid rgba(255,255,255,.105);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}
.delivery-reset-summary-card {
    display: grid;
    gap: .3rem;
    min-height: 82px;
    padding: .85rem;
}
.delivery-reset-summary-card span,
.delivery-reset-block-heading span,
.delivery-reset-drawer summary span {
    color: rgba(210,220,255,.7);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.delivery-reset-summary-card strong {
    color: #fff;
    font-size: .9rem;
    line-height: 1.15;
}
.delivery-reset-panel {
    border-color: rgba(122,225,188,.14);
}
.delivery-reset-form {
    display: grid;
    gap: .75rem;
}
.delivery-reset-block {
    padding: .95rem;
}
.delivery-reset-block.primary {
    border-color: rgba(122,225,188,.18);
    background: radial-gradient(circle at 12% 18%, rgba(122,225,188,.10), transparent 34%), linear-gradient(135deg, rgba(139,92,246,.10), rgba(255,255,255,.03));
}
.delivery-reset-block-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .45rem;
}
.delivery-reset-block-heading h3 {
    margin: .1rem 0 0;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.delivery-reset-block-heading > span {
    flex: 0 0 auto;
    padding: .35rem .58rem;
    border-radius: 999px;
    color: #fff1a8;
    background: rgba(255,218,118,.12);
    border: 1px solid rgba(255,218,118,.16);
}
.delivery-reset-option-grid {
    display: grid;
    gap: .6rem;
}
.delivery-reset-option-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.delivery-reset-option-grid.three,
.delivery-reset-channel-grid,
.delivery-reset-history-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.delivery-reset-option-grid.two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.delivery-reset-option-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .55rem;
    min-height: 82px;
    padding: .72rem;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    cursor: pointer;
}
.delivery-reset-option-card:hover,
.delivery-reset-option-card:focus-within {
    border-color: rgba(122,225,188,.28);
    background: rgba(122,225,188,.065);
}
.delivery-reset-option-card input {
    margin-top: .16rem;
    accent-color: #b887ff;
}
.delivery-reset-option-card span {
    display: grid;
    gap: .25rem;
}
.delivery-reset-option-card strong {
    color: #fff;
    font-size: .88rem;
}
.delivery-reset-option-card small,
.delivery-reset-fieldset small,
.delivery-reset-history-grid small {
    color: rgba(210,220,255,.68);
    line-height: 1.35;
}
.delivery-reset-option-card.quiet {
    border-color: rgba(255,218,118,.16);
}
.delivery-reset-drawer {
    padding: .72rem .9rem;
}
.delivery-reset-drawer summary {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) auto;
    align-items: center;
    gap: .8rem;
    cursor: pointer;
    list-style: none;
}
.delivery-reset-drawer summary::-webkit-details-marker {
    display: none;
}
.delivery-reset-drawer summary::after {
    content: "Open";
    justify-self: end;
    padding: .3rem .52rem;
    border-radius: 999px;
    color: #fff1a8;
    background: rgba(255,218,118,.13);
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.delivery-reset-drawer[open] summary::after {
    content: "Close";
}
.delivery-reset-drawer summary strong {
    color: #fff;
    font-size: .9rem;
}
.delivery-reset-channel-grid,
.delivery-reset-history-grid {
    display: grid;
    gap: .6rem;
}
.delivery-reset-fieldset,
.delivery-reset-verification,
.delivery-reset-history-grid article {
    display: grid;
    gap: .45rem;
    padding: .75rem;
}
.delivery-reset-fieldset legend,
.delivery-reset-fieldset > label:first-child,
.delivery-reset-verification strong,
.delivery-reset-history-grid article strong {
    color: #fff;
    font-weight: 950;
}
.delivery-reset-fieldset label {
    color: rgba(238,242,255,.84);
    font-size: .86rem;
}
.delivery-reset-fieldset input[type="text"],
.delivery-reset-fieldset input:not([type]),
.delivery-reset-fieldset select,
.delivery-reset-fieldset .inline-field-pair input,
.delivery-reset-verification input {
    width: 100%;
}
.delivery-reset-history-grid article span {
    color: rgba(238,242,255,.86);
}
.delivery-reset-actions {
    align-items: center;
}
.delivery-reset-device-panel {
    border-color: rgba(184,135,255,.16);
}
.delivery-reset-device-count {
    background: rgba(255,255,255,.035);
}
.delivery-reset-roadmap {
    border-color: rgba(122,225,188,.12);
    background: linear-gradient(135deg, rgba(122,225,188,.055), rgba(139,92,246,.055));
}
@media (max-width: 980px) {
    .delivery-reset-summary-grid,
    .delivery-reset-option-grid.four,
    .delivery-reset-option-grid.three,
    .delivery-reset-channel-grid,
    .delivery-reset-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .delivery-reset-summary-grid,
    .delivery-reset-option-grid.four,
    .delivery-reset-option-grid.three,
    .delivery-reset-option-grid.two,
    .delivery-reset-channel-grid,
    .delivery-reset-history-grid,
    .delivery-reset-drawer summary {
        grid-template-columns: 1fr;
    }
    .delivery-reset-drawer summary::after {
        justify-self: start;
    }
    .delivery-reset-block-heading {
        display: grid;
        align-items: start;
    }
    .delivery-reset-block-heading > span {
        justify-self: start;
    }
}

/* update369-admin-ux-reset */
.update369-admin-command-centre {
    margin-top: 1.1rem;
    padding: 1rem;
    border: 1px solid rgba(212, 203, 255, 0.16);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(146, 123, 255, 0.10), rgba(17, 28, 64, 0.40));
}

.update369-admin-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.update369-admin-priority-card {
    display: grid;
    gap: 0.45rem;
    min-height: 140px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-main);
    text-decoration: none;
}

.update369-admin-priority-card:hover {
    transform: translateY(-1px);
    border-color: rgba(212, 203, 255, 0.34);
    background: rgba(255, 255, 255, 0.065);
    text-decoration: none;
}

.update369-admin-priority-card strong {
    font-size: 1.02rem;
}

.update369-admin-priority-card em {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.45;
}

.update369-admin-primary-links,
.update369-admin-module-drawer summary,
.update369-admin-advanced-drawer summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.update369-admin-primary-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-weight: 800;
    text-decoration: none;
}

.update369-admin-primary-links a:hover {
    border-color: rgba(212, 203, 255, 0.34);
    background: rgba(255, 255, 255, 0.065);
    text-decoration: none;
}

.update369-admin-module-drawer,
.update369-admin-advanced-drawer {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
}

.update369-admin-module-drawer summary,
.update369-admin-advanced-drawer summary {
    cursor: pointer;
    padding: 1rem 1.1rem;
    list-style: none;
    justify-content: space-between;
}

.update369-admin-module-drawer summary::-webkit-details-marker,
.update369-admin-advanced-drawer summary::-webkit-details-marker {
    display: none;
}

.update369-admin-module-drawer summary span,
.update369-admin-advanced-drawer summary span {
    font-weight: 900;
    color: var(--text-main);
}

.update369-admin-module-drawer summary em,
.update369-admin-advanced-drawer summary em {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.4;
}

.update369-admin-module-drawer summary::after,
.update369-admin-advanced-drawer summary::after {
    content: "Open";
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.update369-admin-module-drawer[open] summary::after,
.update369-admin-advanced-drawer[open] summary::after {
    content: "Close";
}

.update369-admin-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.update369-admin-module-grid .mini-panel {
    margin: 0;
    padding: 1rem;
    min-height: 0;
}

.update369-admin-module-grid .mini-panel h2 {
    font-size: 1.02rem;
}

.update369-admin-module-grid .mini-panel p {
    font-size: 0.9rem;
    line-height: 1.45;
}

.update369-admin-advanced-body {
    display: grid;
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.update369-admin-advanced-body > .panel {
    margin: 0;
}

@media (max-width: 1100px) {
    .update369-admin-priority-grid,
    .update369-admin-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .update369-admin-priority-grid,
    .update369-admin-module-grid {
        grid-template-columns: 1fr;
    }

    .update369-admin-module-drawer summary,
    .update369-admin-advanced-drawer summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* update371-partner-self-learning-gamification */
.learning-path-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
    gap: 1rem;
    align-items: stretch;
}

.learning-path-meter {
    margin-top: 1rem;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.learning-path-meter > div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(149, 109, 255, 0.85), rgba(141, 245, 215, 0.75));
}

.learning-step-grid,
.learning-game-grid,
.learning-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.learning-step-card,
.learning-game-card,
.learning-partner-card {
    min-height: 168px;
}

.learning-step-card.complete {
    border-color: rgba(141, 245, 215, 0.28);
}

.learning-step-card.next {
    border-color: rgba(255, 218, 126, 0.24);
}

.learning-step-card .secondary-button,
.learning-game-card .primary-button,
.learning-game-card .secondary-button {
    margin-top: auto;
}

@media (max-width: 900px) {
    .learning-path-hero-grid,
    .learning-step-grid,
    .learning-game-grid,
    .learning-partner-grid {
        grid-template-columns: 1fr;
    }
}

.learning-step-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.learning-step-card h3,
.learning-game-card h3,
.learning-partner-card h3 {
    margin: 0;
}

.learning-step-card p,
.learning-game-card p,
.learning-partner-card p {
    color: var(--muted-text);
}


/* update373-charity-cancer-research-proof */
.update373-proof-state-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.update373-proof-state-grid .history-item {
    min-height: 150px;
    border-color: rgba(255, 255, 255, 0.12);
}

.update373-proof-state-grid .history-item.complete {
    border-color: rgba(141, 245, 215, 0.24);
}

.update373-proof-state-grid .history-item.waiting {
    border-color: rgba(255, 218, 126, 0.24);
}

.update373-cancer-proof-status .section-heading,
.update373-cancer-proof-boundary .section-heading,
.update373-cancer-research-proof-link .section-heading,
.update373-charity-proof-control .section-heading {
    align-items: flex-start;
}

@media (max-width: 900px) {
    .update373-proof-state-grid {
        grid-template-columns: 1fr;
    }
}

/* update374-auto-seo-social-approval */
.social-approval-gate,
.social-approval-plan {
    border-color: rgba(161, 139, 255, 0.24);
}

.social-approval-grid .admin-metric-card strong {
    font-size: 1.5rem;
}

.social-approval-plan-form .three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 860px) {
    .social-approval-plan-form .three-col {
        grid-template-columns: 1fr;
    }
}
