/* ============================================================
   Wheel of Becoming — Initiation CSS
   Uses cosmic-theme.css design tokens
   ============================================================ */

/* --- Hide Elgg layout chrome during initiation --- */
#initiation-app ~ *,
#initiation-app .elgg-page-footer,
.elgg-page-footer,
.elgg-page-topbar,
.elgg-sidebar {
    display: none !important;
}
/* Remove gap and border between navbar and initiation content */
#initiation-app {
    position: relative;
    z-index: 10;
    background: var(--color-void, #0a0a12);
    min-height: 100vh;
    margin-top: -40px;
    padding-top: 40px;
}
}

/* --- Screen management --- */
.init-screen {
    display: none;
    min-height: 100vh;
    position: relative;
}
.init-screen.init-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Loading --- */
.init-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-glass-border, rgba(200,200,220,0.15));
    border-top-color: var(--color-aurora-teal, #00d4aa);
    border-radius: 50%;
    animation: init-spin 0.8s linear infinite;
}
@keyframes init-spin {
    to { transform: rotate(360deg); }
}

.init-center {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.init-loading-text,
.init-comingsoon-text {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    color: var(--color-text-secondary, #9ca3b0);
    margin-top: 1.5rem;
    font-size: 1.75rem;
}

.init-error-text {
    color: var(--color-supernova, #ff4757);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.init-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-md, 8px);
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base, 250ms ease-out);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.init-btn-primary,
a.init-btn-primary,
a.init-btn-primary:link,
a.init-btn-primary:visited {
    background: linear-gradient(135deg, var(--color-aurora-teal, #00d4aa), #00a896);
    color: var(--color-void, #0a0a12) !important;
}
.init-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
    color: var(--color-void, #0a0a12) !important;
    text-decoration: none !important;
}
.init-btn-secondary {
    background: transparent;
    border: 2px solid var(--color-stardust, #c9b8ff);
    color: var(--color-stardust, #c9b8ff);
}
.init-btn-secondary:hover {
    background: rgba(201, 184, 255, 0.1);
    color: var(--color-stardust, #c9b8ff);
    text-decoration: none;
}
.init-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- Gateway / Cinematic intro --- */
#init-gateway {
    background: var(--color-void, #0a0a12);
    overflow: hidden;
}

.init-gateway-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.init-starfield {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 20% 90%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 15% 45%, rgba(201,184,255,0.7), transparent),
        radial-gradient(2px 2px at 85% 55%, rgba(0,212,170,0.5), transparent),
        radial-gradient(2px 2px at 45% 85%, rgba(255,215,0,0.4), transparent);
    animation: init-twinkle 4s ease-in-out infinite alternate;
}
@keyframes init-twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.init-gateway-content {
    position: relative;
    z-index: 2;
    animation: init-fadein 1.5s ease-out;
}
@keyframes init-fadein {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.init-sign-icon-wrap {
    margin-bottom: 1.5rem;
}
.init-sign-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--color-glass-border, rgba(200,200,220,0.15));
    box-shadow: 0 0 40px rgba(201, 184, 255, 0.3);
    animation: init-glow 3s ease-in-out infinite alternate;
}
@keyframes init-glow {
    0% { box-shadow: 0 0 40px rgba(201, 184, 255, 0.2); }
    100% { box-shadow: 0 0 60px rgba(201, 184, 255, 0.5), 0 0 100px rgba(0, 212, 170, 0.2); }
}

.init-subtitle {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.75rem;
    letter-spacing: 0.3em;
    color: var(--color-aurora-teal, #00d4aa);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.init-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 4rem;
    color: var(--color-moonbeam, #e8e4f0);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.init-house-label {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.4rem;
    color: var(--color-solar-gold, #ffd700);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.init-gateway-text {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.8rem;
    color: var(--color-text-secondary, #9ca3b0);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.init-gateway-begin {
    font-size: 1.75rem;
    padding: 1.2rem 4.5rem;
    animation: init-pulse 2s ease-in-out infinite;
}
.init-restart-note {
    font-size: 1.17rem;
    color: var(--color-text-muted, #9ca3af);
    margin-top: 1rem;
    max-width: 600px;
    text-align: center;
    line-height: 1.5;
}
@keyframes init-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(0, 212, 170, 0); }
}

/* --- Header / Progress --- */
.init-header {
    width: 100%;
    max-width: 700px;
    padding: 1.5rem 2rem 0;
    margin: 0 auto;
}

.init-placement-label {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1rem;
    color: var(--color-text-muted, #6b7280);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.init-phase-label {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 2rem;
    color: var(--color-moonbeam, #e8e4f0);
    margin-bottom: 0.75rem;
    text-align: center;
}

.init-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--color-glass, rgba(200,200,220,0.08));
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.init-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-aurora-teal, #00d4aa), var(--color-stardust, #c9b8ff));
    border-radius: 2px;
    transition: width 0.6s ease-out;
    width: 0%;
}

.init-step-label {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.3rem;
    color: var(--color-text-muted, #6b7280);
    text-align: center;
}

/* --- Dual Score Meter --- */
.init-scores-wrap {
    width: 100%;
    max-width: 550px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.init-score-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.init-score-label {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.1rem;
    color: var(--color-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.init-score-bar-left .init-score-label { text-align: right; }
.init-score-bar-right .init-score-label { text-align: left; }
.init-score-track {
    width: 100%;
    height: 6px;
    background: var(--color-glass, rgba(200,200,220,0.08));
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.init-score-bar-left .init-score-track {
    direction: rtl;
}
.init-score-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease-out;
    width: 0%;
}
.init-score-fill-left {
    background: var(--color-aurora-pink, #ff6b9d);
}
.init-score-fill-right {
    background: var(--color-solar-gold, #ffd700);
}
.init-score-val {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1rem;
    color: var(--color-text-muted, #6b7280);
}
.init-score-bar-left .init-score-val { text-align: right; }
.init-score-bar-right .init-score-val { text-align: left; }
.init-score-center-label {
    flex: 0 0 auto;
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.1rem;
    color: var(--color-aurora-teal, #00d4aa);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    padding-top: 1.2rem;
    transition: all 0.3s ease;
}
.init-score-balance-val {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-aurora-teal, #00d4aa);
    margin-top: 0.2rem;
    transition: all 0.3s ease;
}
.init-score-center-label.init-balance-glow .init-score-balance-val {
    text-shadow: 0 0 12px rgba(0, 212, 170, 0.9), 0 0 30px rgba(0, 212, 170, 0.5);
}
.init-score-center-label.init-balance-glow {
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 212, 170, 0.9), 0 0 30px rgba(0, 212, 170, 0.5);
    transform: scale(1.3);
    font-weight: bold;
}

/* --- Content area --- */
#init-main {
    padding-bottom: 3rem;
}
.init-content-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.init-intro-text {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.8rem;
    color: var(--color-text-secondary, #9ca3b0);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: left;
}

.init-question {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 2.1rem;
    color: var(--color-moonbeam, #e8e4f0);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* --- Multiple choice options --- */
.init-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.init-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: var(--color-surface-card, rgba(29, 37, 65, 0.85));
    border: 1px solid var(--color-glass-border, rgba(200,200,220,0.15));
    border-radius: var(--radius-md, 8px);
    color: var(--color-text-primary, #e8e4f0);
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.6rem;
    line-height: 1.5;
    cursor: pointer;
    transition: all var(--transition-base, 250ms ease-out);
}
.init-option:hover {
    border-color: var(--color-aurora-teal, #00d4aa);
    background: rgba(0, 212, 170, 0.08);
    transform: translateX(4px);
}
.init-option.init-selected {
    border-color: var(--color-aurora-teal, #00d4aa);
    background: rgba(0, 212, 170, 0.12);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}
.init-option:disabled {
    cursor: default;
    opacity: 0.6;
    transform: none;
}
.init-option-hidden {
    display: none !important;
}
.init-option-understand {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    margin-top: 0.25rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px dashed var(--color-aurora-teal, #00d4aa);
    border-radius: var(--radius-md, 8px);
    color: var(--color-aurora-teal, #00d4aa);
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.5s ease, background 250ms ease-out;
    text-align: center;
}
.init-question-ready {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
}
.init-option-understand:hover {
    background: rgba(0, 212, 170, 0.2);
}
.init-early-click-warn {
    color: var(--color-supernova, #ff4757);
    font-size: 1.5rem;
    text-align: center;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 300ms ease;
    margin-bottom: 0.75rem;
}
.init-early-click-warn.init-warn-visible {
    opacity: 1;
}
.init-read-warn {
    color: var(--color-supernova, #ff4757);
    font-size: calc(1.25rem + 2px);
    text-align: center;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 300ms ease;
    margin-bottom: 0.5rem;
}
.init-read-warn.init-warn-visible {
    opacity: 1;
}
.init-read-warn.init-warn-blink {
    animation: init-minlength-blink 0.6s ease-in-out 3;
}

/* --- Reflection textarea --- */
.init-textarea {
    width: 100%;
    padding: 1.25rem;
    background: var(--color-surface-card, rgba(29, 37, 65, 0.85));
    border: 1px solid var(--color-glass-border, rgba(200,200,220,0.15));
    border-radius: var(--radius-md, 8px);
    color: var(--color-text-primary, #e8e4f0);
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.35rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 1rem;
    transition: border-color var(--transition-fast, 150ms ease-out);
    box-sizing: border-box;
}
.init-textarea:focus {
    outline: none;
    border-color: var(--color-aurora-teal, #00d4aa);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}
.init-textarea::placeholder {
    color: var(--color-text-muted, #6b7280);
}
.init-reflection-minlength {
    font-size: 1.7rem;
    color: var(--color-text-muted, #6b7280);
    margin-top: 0.5rem;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}
.init-reflection-minlength.init-minlength-warn {
    color: #ef4444;
    font-weight: 600;
    animation: init-minlength-blink 0.6s ease-in-out 3;
}
@keyframes init-minlength-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.init-reflection-counter {
    font-size: 1.5rem;
    color: var(--color-text-muted, #6b7280);
    text-align: right;
    margin-top: 0.2rem;
    transition: color 0.3s;
}
.init-reflection-counter.init-counter-near-limit {
    color: #ef4444;
    font-weight: 600;
}

/* --- Disclaimer --- */
.init-disclaimer {
    text-align: center;
    max-width: 540px;
    margin: 2rem auto 0;
}
.init-disclaimer-text {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-text-muted, #9ca3af);
    margin-bottom: 2rem;
    font-style: italic;
}
.init-disclaimer .init-btn {
    display: block;
    width: 100%;
    margin-bottom: 0.8rem;
}

/* --- Emotional check-in --- */
.init-checkin-content {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.init-checkin-title {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading, #e5e7eb);
}
.init-checkin-subtitle {
    font-size: 1.6rem;
    color: var(--color-text-muted, #9ca3af);
    margin-bottom: 2rem;
}
.init-checkin-feelings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    justify-content: center;
}
.init-checkin-feeling-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border, #374151);
    border-radius: 2rem;
    font-size: 1.5rem;
    color: var(--color-text, #d1d5db);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.init-checkin-feeling-label:hover {
    border-color: var(--color-accent, #6366f1);
}
.init-checkin-feeling-label:has(input:checked) {
    background: var(--color-accent, #6366f1);
    border-color: var(--color-accent, #6366f1);
    color: #fff;
}
.init-checkin-feeling input[type="checkbox"] {
    display: none;
}
.init-checkin-hint {
    font-size: 1.35rem;
    color: var(--color-text-muted, #9ca3af);
    margin-bottom: 0.5rem;
    font-style: italic;
}
.init-feeling-disabled {
    opacity: 0.3;
    pointer-events: none;
}
.init-checkin-freeform-label {
    font-size: 1.5rem;
    color: var(--color-text-muted, #9ca3af);
    margin-bottom: 0.5rem;
}
.init-checkin-content .init-textarea {
    margin-bottom: 1.5rem;
}
.init-btn-link {
    background: none;
    border: none;
    color: var(--color-text-muted, #9ca3af);
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0.5rem 1rem;
    display: block;
    margin: 0.5rem auto 0;
}
.init-btn-link:hover {
    color: var(--color-text, #d1d5db);
}

/* --- Integration suggestions --- */
.init-integration {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 3px solid var(--color-accent, #6366f1);
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--color-text, #d1d5db);
}

.init-section-title {
    font-size: 1.8rem;
    color: var(--color-heading, #e5e7eb);
    margin-bottom: 1rem;
}

/* --- Timer bar (legacy, hidden — circular timer used instead) --- */
.init-timer-bar {
    display: none;
}

.init-option.init-timed-out {
    opacity: 0.3;
    border-color: var(--color-supernova, #ff4757);
}
.init-timeout-label {
    color: var(--color-supernova, #ff4757);
    font-size: 1.1em;
    letter-spacing: 0.03em;
}

/* --- Feedback --- */
.init-feedback {
    margin-top: 1.5rem;
    animation: init-fadein 0.5s ease-out;
}
.init-feedback-text {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.6rem;
    color: var(--color-text-primary, #e8e4f0);
    line-height: 1.7;
    padding: 1.5rem;
    background: var(--color-surface-card, rgba(29, 37, 65, 0.85));
    border-left: 3px solid var(--color-stardust, #c9b8ff);
    border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
    margin-bottom: 1.5rem;
}

/* AI response styling */
.init-feedback-text.init-ai-response {
    border-left-color: var(--color-aurora-teal, #00d4aa);
    background: rgba(0, 212, 170, 0.05);
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.55rem;
}

.init-save-btn {
    display: inline-block;
    margin: 0.8rem 0 0.4rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md, 8px);
    color: #9ca3b0;
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.init-save-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.init-save-btn .fa-bookmark {
    color: #00d4aa;
}
.init-save-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.8rem 0 0.4rem;
}
.init-save-row .init-save-btn {
    margin: 0;
}
a.init-save-btn-link,
a.init-save-btn-link:link,
a.init-save-btn-link:visited {
    text-decoration: none;
    color: #9ca3b0;
}
a.init-save-btn-link:hover {
    color: #fff;
    text-decoration: none;
}

.init-reflecting {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-secondary, #9ca3b0);
}
.init-reflecting .init-spinner {
    margin: 0 auto 1rem;
}

/* --- Completion screen --- */
#init-complete {
    background: var(--color-void, #0a0a12);
    justify-content: flex-start;
    padding-top: 4rem;
}
.init-complete-content {
    animation: init-fadein 1s ease-out;
}
.init-complete-text {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.7rem;
    color: var(--color-text-primary, #e0dde5);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
}

.init-reward {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.75rem;
    color: var(--color-solar-gold, #ffd700);
    margin-bottom: 1rem;
    animation: init-reward-glow 2s ease-in-out infinite alternate;
}
@keyframes init-reward-glow {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

.init-complete-wallet {
    text-align: center;
    margin-bottom: 1.5rem;
}
.init-complete-wallet-amount {
    display: block;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 2.5rem;
    color: var(--color-solar-gold, #ffd700);
    line-height: 1.1;
}
.init-complete-wallet-label {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1rem;
    color: var(--color-text-muted, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.init-duration {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.2rem;
    letter-spacing: 0.04em;
}
.init-meter-result {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.55rem;
    color: var(--color-aurora-teal, #64ffda);
    margin-bottom: 2rem;
    font-style: italic;
}

/* --- Gateway Recap (previous initiations) --- */
.init-gateway-recap {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}
.init-recap-title {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.2rem;
    text-align: center;
}
.init-recap-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1rem;
    border-left: 3px solid rgba(100, 255, 218, 0.3);
}
.init-recap-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.init-recap-planet {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}
.init-recap-sign {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}
.init-recap-house {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 0.3rem;
}
.init-recap-tendency {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}
.init-recap-tendency-label {
    font-weight: 600;
    color: var(--color-aurora-teal, #64ffda);
}
.init-recap-interp {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}
.init-recap-scores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.4);
}
.init-recap-score-left { color: rgba(255, 107, 157, 0.6); }
.init-recap-score-center { color: rgba(0, 212, 170, 0.6); }
.init-recap-score-right { color: rgba(255, 215, 0, 0.6); }
.init-recap-reward {
    color: rgba(255, 215, 0, 0.5);
}

.init-synthesis {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--color-aurora-teal, #64ffda);
    border-radius: 0 8px 8px 0;
    text-align: left;
}
.init-synthesis p {
    margin: 0 0 1rem 0;
}
.init-synthesis p:last-child {
    margin-bottom: 0;
}
.init-feedback-text p {
    margin: 0 0 0.8rem 0;
}
.init-feedback-text p:last-child {
    margin-bottom: 0;
}

/* --- Admin debug prompt --- */
.init-fast-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: rgba(50, 50, 50, 0.8);
    color: #aaa;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.init-fast-toggle.init-fast-active {
    background: rgba(255, 200, 0, 0.3);
    color: #ffc800;
    border-color: #ffc800;
}
.init-debug-prompt {
    font-family: monospace;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 400px;
    overflow-y: auto;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .init-screen.init-active {
        justify-content: flex-start;
        padding-top: 2rem;
    }
    .init-title {
        font-size: 2.2rem;
    }
    .init-subtitle {
        font-size: 1.1rem;
    }
    .init-sign-icon {
        width: 90px;
        height: 90px;
    }
    .init-sign-icon-wrap {
        margin-bottom: 1rem;
    }
    .init-gateway-text {
        font-size: 1.4rem;
        max-width: 95%;
    }
    .init-gateway-begin {
        font-size: 1.3rem;
        padding: 1rem 3rem;
    }
    .init-content-area {
        padding: 1rem;
    }
    .init-score-label {
        font-size: 0.85rem;
    }
    .init-scores-wrap {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    .init-center {
        padding: 1rem;
    }
}

/* --- Floating Plutoken counter --- */
.init-token-counter {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(29, 37, 65, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 2rem;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.3rem;
    color: var(--color-solar-gold, #ffd700);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: init-fadein 0.5s ease-out 1s forwards;
}
.init-token-counter.init-token-pop {
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}
.init-token-icon {
    font-size: 1.1rem;
}

/* Token burst particles */
.init-token-burst {
    position: fixed;
    top: 2rem;
    right: 3rem;
    z-index: 99;
    pointer-events: none;
}
.init-token-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-solar-gold, #ffd700);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    animation: init-particle 1.1s ease-out forwards;
}
@keyframes init-particle {
    0% { opacity: 1; transform: translate(0, 0) scale(1.2); }
    60% { opacity: 0.8; }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

/* --- Screen transitions --- */
.init-screen.init-fadeout {
    animation: init-fadeout 0.4s ease-out forwards;
}
@keyframes init-fadeout {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- Hub / Dashboard --- */
.init-hub {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    background: var(--color-void, #0a0a12);
}
.init-hub-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: init-fadein 1s ease-out;
}
.init-hub-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 3.6rem;
    color: var(--color-moonbeam, #e8e4f0);
    margin-bottom: 0.5rem;
}
.init-hub-subtitle {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.8rem;
    color: var(--color-text-secondary, #9ca3b0);
    line-height: 1.6;
}
.init-hub-tokens {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 2rem;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.8rem;
    color: var(--color-solar-gold, #ffd700);
}

.init-hub-tokens-info {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.5rem;
    color: var(--color-text-muted, #6b7280);
    margin-top: 1rem;
    line-height: 1.5;
}
.init-hub-link,
.init-hub-link:link,
.init-hub-link:visited {
    color: var(--color-aurora-teal, #00d4aa);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    transition: border-color 0.2s ease;
}
.init-hub-link:hover {
    border-bottom-color: var(--color-aurora-teal, #00d4aa);
    text-decoration: none;
}

.init-hub-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.init-hub-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--color-surface-card, rgba(29, 37, 65, 0.85));
    border: 1px solid var(--color-glass-border, rgba(200,200,220,0.15));
    border-radius: var(--radius-md, 8px);
    transition: all 0.25s ease-out;
    text-decoration: none;
    animation: init-fadein 0.5s ease-out backwards;
}
.init-hub-item:nth-child(1) { animation-delay: 0.05s; }
.init-hub-item:nth-child(2) { animation-delay: 0.1s; }
.init-hub-item:nth-child(3) { animation-delay: 0.15s; }
.init-hub-item:nth-child(4) { animation-delay: 0.2s; }
.init-hub-item:nth-child(5) { animation-delay: 0.25s; }
.init-hub-item:nth-child(6) { animation-delay: 0.3s; }
.init-hub-item:nth-child(7) { animation-delay: 0.35s; }
.init-hub-item:nth-child(8) { animation-delay: 0.4s; }
.init-hub-item:nth-child(9) { animation-delay: 0.45s; }
.init-hub-item:nth-child(10) { animation-delay: 0.5s; }
.init-hub-item:nth-child(11) { animation-delay: 0.55s; }
.init-hub-item:nth-child(12) { animation-delay: 0.6s; }
.init-hub-item:nth-child(13) { animation-delay: 0.65s; }
.init-hub-item:nth-child(14) { animation-delay: 0.7s; }

.init-hub-item.init-hub-available {
    cursor: pointer;
    border-color: var(--color-aurora-teal, #00d4aa);
}
.init-hub-item.init-hub-available:hover {
    background: rgba(0, 212, 170, 0.08);
    transform: translateX(4px);
    text-decoration: none;
}
.init-hub-item.init-hub-completed {
    border-color: var(--color-solar-gold, #ffd700);
}
.init-hub-rerun-label {
    display: block;
    margin-top: 0.25rem;
    color: var(--color-solar-gold, #ffd700);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.init-hub-rerun-label:hover {
    opacity: 1;
    text-decoration: underline;
}
.init-hub-item.init-hub-locked {
    opacity: 0.4;
    cursor: default;
}

.init-hub-planet-icon {
    font-size: 2.9rem;
    width: 3.5rem;
    text-align: center;
    flex-shrink: 0;
}
.init-hub-item-info {
    flex: 1;
    min-width: 0;
}
.init-hub-item-name {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.9rem;
    color: var(--color-moonbeam, #e8e4f0);
    margin-bottom: 0.2rem;
}
.init-hub-item-theme {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.5rem;
    color: var(--color-text-muted, #6b7280);
}
.init-hub-item-subtitle {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    margin-left: 0.3rem;
}
.init-hub-item-sign {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.4rem;
    color: var(--color-stardust, #c9b8ff);
    font-weight: normal;
    margin-left: 0.3rem;
}
.init-hub-item-house {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.3rem;
    color: var(--color-text-muted, #9ca3af);
    font-weight: normal;
}
.init-hub-item-details {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.init-hub-item-interp {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 0.4rem;
}
.init-hub-item-scores {
    display: flex;
    gap: 1rem;
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.1rem;
    color: var(--color-text-muted, #6b7280);
    margin-bottom: 0.3rem;
}
.init-hub-score-left { color: #ff6b9d; }
.init-hub-score-center { color: #00d4aa; }
.init-hub-score-right { color: #ffd700; }
.init-hub-item-reward {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.15rem;
    color: var(--color-solar-gold, #ffd700);
}
.init-hub-synth-toggle {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.1rem;
    color: var(--color-aurora-teal, #00d4aa);
    cursor: pointer;
    margin-top: 0.4rem;
    user-select: none;
}
.init-hub-synth-toggle:hover {
    text-decoration: underline;
}
.init-hub-synth-text {
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border-left: 2px solid var(--color-aurora-teal, #64ffda);
}
.init-hub-synth-text p {
    margin: 0 0 0.8rem 0;
}
.init-hub-synth-text p:last-child {
    margin-bottom: 0;
}
.init-hub-item-status {
    flex-shrink: 0;
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
}
.init-hub-status-completed {
    color: var(--color-solar-gold, #ffd700);
    background: rgba(255, 215, 0, 0.1);
}
.init-hub-status-available {
    color: var(--color-aurora-teal, #00d4aa);
    background: rgba(0, 212, 170, 0.1);
}
.init-hub-status-progress {
    color: var(--color-stardust, #c9b8ff);
    background: rgba(201, 184, 255, 0.1);
}
.init-hub-status-locked {
    color: var(--color-text-muted, #6b7280);
}
.init-hub-reward {
    font-size: 1rem;
    color: var(--color-solar-gold, #ffd700);
    margin-left: 0.5rem;
}

@media (max-width: 600px) {
    .init-hub {
        padding: 1rem;
    }
    .init-hub-title {
        font-size: 2.4rem;
    }
    .init-hub-item {
        padding: 1rem;
        gap: 1rem;
    }
    .init-hub-item-name {
        font-size: 1.45rem;
    }
    .init-token-counter {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.1rem;
        padding: 0.4rem 0.9rem;
    }
}

/* ============================================================
   VISUAL EFFECTS — SVG animations, phase backgrounds, particles
   ============================================================ */

/* --- SVG draw animation --- */
@keyframes init-draw {
    to { stroke-dashoffset: 0; }
}
.init-svg-glyph {
    display: block;
}

/* --- Gateway visual: sign + planet -> house --- */
.init-visual-gateway {
    position: relative;
    width: 350px;
    height: 220px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.init-visual-house {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-out;
    text-align: center;
}
.init-visual-house-name {
    display: block;
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 0.9rem;
    color: rgba(201, 184, 255, 0);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.3rem;
    transition: color 0.8s ease-out;
}
.init-visual-house-name.init-visual-show {
    color: rgba(201, 184, 255, 0.7);
}
.init-visual-sign {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}
.init-visual-planet {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

/* After house draws, sign+planet merge into center */
.init-visual-merged .init-visual-house {
    opacity: 1;
}
.init-visual-merged .init-visual-sign {
    left: 50%;
    transform: translate(-75%, -50%) scale(0.55);
    opacity: 0.7;
}
.init-visual-merged .init-visual-planet {
    right: 50%;
    transform: translate(75%, -50%) scale(0.55);
    opacity: 0.7;
}

/* --- Step background watermark --- */
.init-visual-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}
.init-content-area {
    position: relative;
    z-index: 1;
}

/* --- Phase ambient background on #init-main --- */
#init-main {
    transition: background-image 1.5s ease-out;
    position: relative;
    overflow: hidden;
}

/* --- Phase transition overlay --- */
.init-phase-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}
.init-phase-transition-active {
    opacity: 1;
    background: radial-gradient(circle at 50% 50%, rgba(10,10,18,0.95) 0%, rgba(10,10,18,0.98) 100%);
}
.init-phase-transition-out {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.init-phase-transition-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    text-shadow: 0 0 30px currentColor;
}
.init-phase-transition-label.init-phase-label-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Choice particles --- */
.init-choice-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 150;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Responsive for visuals --- */
@media (max-width: 600px) {
    .init-visual-gateway {
        width: 200px;
        height: 170px;
    }
    .init-visual-bg {
        opacity: 0.04;
    }
    .init-phase-transition-label {
        font-size: 2rem;
    }
}

/* =========================================
   Passages Hub
   ========================================= */
.passages-aspect-section {
    margin-bottom: 2rem;
}
.passages-aspect-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.passages-aspect-icon {
    font-size: 1.4rem;
    margin-right: 0.3rem;
}
.passages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
}
.passages-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    text-decoration: none;
    color: #e0e0e0;
    transition: background 0.2s, border-color 0.2s;
    font-size: 0.9rem;
}
.passages-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}
.passages-item-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.passages-item-name {
    flex: 1;
}
.passages-item-sign {
    font-size: 0.75rem;
    opacity: 0.6;
}
.passages-item-done {
    color: #7bed9f;
    font-weight: bold;
}
.passages-completed {
    border-color: rgba(123,237,159,0.3);
    background: rgba(123,237,159,0.05);
}
.passages-in-progress {
    border-color: rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.05);
}
@media (max-width: 600px) {
    .passages-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}

.init-visual-passage-item {
    position: relative;
    flex-shrink: 0;
}
.init-visual-passage-item.init-visual-aspect {
    margin: 0 -0.5rem;
}

/* Passage boxes (transit hub) */
.passage-box {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.2rem;
    margin-bottom: 0.7rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #e0e0e0;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    font-size: 1.45rem;
    flex-wrap: wrap;
}
.passage-box:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.passage-glyph-planet {
    font-size: 2.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.passage-glyph-aspect {
    font-size: 1.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.passage-glyph-sign {
    font-size: 1.9rem;
    opacity: 0.7;
}
.passage-box-label {
    font-weight: 600;
    font-size: 1.55rem;
    color: #fff;
    flex-basis: 100%;
    white-space: normal;
}
.passage-box-orb {
    opacity: 0.5;
}
.passage-box-desc {
    display: block;
    /* The aspect blurb under each Crossroads/Passages box read a touch small
       against the Initiations copy. rem, not em: the mobile breakpoint drops
       .passage-box to 1.05rem, and an em-based blurb rode that down to ~9px
       while .passage-box-label — also rem — stayed at 15.5px. That left the
       blurb at 0.67x the label on phones against 0.91x on desktop. A fixed
       1.4rem holds the desktop size and lifts mobile to match it. */
    font-size: 1.4rem;
    opacity: 0.7;
    font-style: italic;
    margin-top: 0.2rem;
    line-height: 1.3;
}
.passage-box-row2 {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0;
}
.passage-box-lon {
    font-size: 0.75em;
    opacity: 0.4;
    letter-spacing: 0.02em;
}
.passage-box-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    font-size: 1.35rem;
}
.passage-box-done {
    color: #7bed9f;
    font-weight: 600;
}
.passage-box-rerun {
    color: #c9b8ff;
    cursor: pointer;
}
.passage-box-rerun:hover {
    color: #fff;
    text-decoration: underline;
}
.passage-box-resume {
    color: #ffd700;
    font-size: 1.35rem;
    margin-left: auto;
}
.passage-box-available {
    color: #7bed9f;
    font-size: 1.35rem;
    margin-left: auto;
}
.passage-box-locked {
    opacity: 0.5;
    cursor: default;
}
.passage-box-completed {
    border-color: rgba(123,237,159,0.2);
    background: rgba(123,237,159,0.03);
}
.passage-box-progress {
    border-color: rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.05);
}
@media (max-width: 600px) {
    .passage-box {
        gap: 0.5rem;
        padding: 0.8rem;
        font-size: 1.05rem;
        flex-wrap: wrap;
        white-space: normal;
    }
    .passage-glyph-planet {
        font-size: 1.8rem;
    }
    .passage-glyph-aspect {
        font-size: 1.4rem;
    }
    .passage-glyph-sign {
        font-size: 1.4rem;
    }
}

/* ============================================================
   ENHANCED GAMIFICATION VISUALS
   Card-based choices, visual meter, completion ceremony
   ============================================================ */

/* --- Card-based timed choices --- */
.init-options {
    gap: 1rem;
    perspective: 1000px;
}
.init-option {
    position: relative;
    padding: 1.4rem 1.6rem 1.4rem 3.2rem;
    border-radius: 14px;
    border: 1px solid rgba(200,200,220,0.18);
    background: linear-gradient(145deg, rgba(30,40,72,0.95) 0%, rgba(18,22,48,0.98) 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
    transform: translateY(0);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.init-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, rgba(0,212,170,0.4), rgba(201,184,255,0.3));
    border-radius: 14px 0 0 14px;
    transition: all 300ms ease;
}
.init-option:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 24px rgba(0,212,170,0.1);
    background: linear-gradient(145deg, rgba(30,42,80,0.98) 0%, rgba(0,212,170,0.08) 100%);
}
.init-option:hover::before {
    background: linear-gradient(180deg, #00d4aa, #64ffda);
    width: 6px;
    box-shadow: 0 0 12px rgba(0,212,170,0.6);
}
.init-option.init-selected {
    border-color: rgba(0,212,170,0.6);
    background: linear-gradient(145deg, rgba(0,212,170,0.14) 0%, rgba(0,212,170,0.04) 100%);
    box-shadow: 0 0 30px rgba(0,212,170,0.2), 0 4px 20px rgba(0,0,0,0.3), inset 0 0 20px rgba(0,212,170,0.05);
    transform: translateY(-3px);
}
.init-option.init-selected::before {
    background: linear-gradient(180deg, #00d4aa, #64ffda);
    width: 6px;
    box-shadow: 0 0 16px rgba(0,212,170,0.8);
}
.init-option:disabled {
    opacity: 0.5;
    transform: none;
}
.init-option:disabled:not(.init-selected) {
    filter: grayscale(0.3);
}
.init-option.init-timed-out {
    opacity: 0.25;
    border-color: rgba(255,71,87,0.3);
}
.init-option.init-timed-out::before {
    background: var(--color-supernova, #ff4757);
}

/* Card entrance animation */
.init-option.init-card-enter {
    animation: initCardEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes initCardEnter {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Circular Timer --- */
.init-timer-wrap {
    width: 56px;
    height: 56px;
    margin: 10px auto 1.2rem;
    position: relative;
    border-radius: 50%;
    overflow: visible;
    background: transparent;
    overflow: visible;
}
.init-timer-bar {
    display: none;
}
.init-timer-ring {
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
}
.init-timer-ring-bg {
    fill: none;
    stroke: rgba(200,200,220,0.1);
    stroke-width: 3;
}
.init-timer-ring-fill {
    fill: none;
    stroke: var(--color-aurora-teal, #00d4aa);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
}
.init-timer-ring-fill.init-timer-urgent {
    stroke: var(--color-supernova, #ff4757);
}
.init-timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-body, 'Source Sans Pro', system-ui, sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary, #e8e4f0);
    letter-spacing: 0.02em;
}
.init-timer-text.init-timer-urgent {
    color: var(--color-supernova, #ff4757);
}

/* --- Enhanced Score Meter (Orbital) --- */
.init-scores-wrap {
    max-width: 520px;
    padding: 1.2rem 1.5rem;
    background: rgba(29,37,65,0.5);
    border-radius: 16px;
    border: 1px solid rgba(200,200,220,0.08);
    backdrop-filter: blur(4px);
}
.init-score-track {
    height: 8px;
    border-radius: 4px;
    background: rgba(200,200,220,0.06);
}
.init-score-fill {
    border-radius: 4px;
    position: relative;
}
.init-score-fill-left {
    background: linear-gradient(90deg, #ff6b9d, #ff8faf);
    box-shadow: 0 0 8px rgba(255,107,157,0.3);
}
.init-score-fill-right {
    background: linear-gradient(90deg, #ffc800, #ffd700);
    box-shadow: 0 0 8px rgba(255,215,0,0.3);
}
.init-score-label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.init-score-val {
    font-size: 1.15rem;
    font-weight: 700;
}
.init-score-center-label {
    min-width: 80px;
}
.init-balance-glow {
    animation: initBalancePulse 1.5s ease-in-out;
}
@keyframes initBalancePulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1.3); }
}

/* Score change indicator */
.init-score-delta {
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
    animation: initScorePop 1.2s ease-out forwards;
    pointer-events: none;
    z-index: 5;
}
.init-score-delta-positive { color: var(--color-solar-gold, #ffd700); }
.init-score-delta-negative { color: var(--color-aurora-pink, #ff6b9d); }
.init-score-delta-balanced { color: var(--color-aurora-teal, #00d4aa); }
@keyframes initScorePop {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    70% { opacity: 1; transform: translateY(-24px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-36px) scale(0.8); }
}

/* --- Completion Ceremony --- */
.init-complete-ceremony {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}
.init-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: initParticleRise var(--duration, 2s) ease-out forwards;
}
@keyframes initParticleRise {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    50% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(var(--rise, -200px)) scale(0.3) rotate(var(--rotation, 180deg)); }
}
.init-complete-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(0,212,170,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 99;
    animation: initFlash 1.5s ease-out forwards;
}
@keyframes initFlash {
    0% { opacity: 0; }
    15% { opacity: 1; }
    100% { opacity: 0; }
}

/* Enhanced completion content */
.init-complete-content {
    animation: initCompleteReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes initCompleteReveal {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.init-reward {
    font-size: 1.9rem;
    animation: initRewardShine 3s ease-in-out infinite alternate;
}
@keyframes initRewardShine {
    0% { text-shadow: 0 0 10px rgba(255,215,0,0.3), 0 0 20px rgba(255,215,0,0.1); }
    50% { text-shadow: 0 0 20px rgba(255,215,0,0.5), 0 0 40px rgba(255,215,0,0.2), 0 0 60px rgba(255,215,0,0.1); }
    100% { text-shadow: 0 0 10px rgba(255,215,0,0.3), 0 0 20px rgba(255,215,0,0.1); }
}

/* Mobile touch optimizations */
@media (max-width: 768px) {
    .init-option {
        padding: 1.2rem 1.4rem 1.2rem 2.8rem;
        font-size: 1.45rem;
    }
    .init-timer-wrap {
        width: 48px;
        height: 48px;
        overflow: visible;
    }
    .init-timer-ring {
        width: 48px;
        height: 48px;
    }
    .init-timer-text {
        font-size: 1rem;
    }
    .init-scores-wrap {
        padding: 1rem;
    }
}

/* Touch feedback for mobile */
@media (hover: none) {
    .init-option:active {
        transform: scale(0.98);
        transition: transform 100ms ease;
    }
    .init-option:hover {
        transform: none;
        border-color: rgba(200,200,220,0.12);
        box-shadow: 0 2px 12px rgba(0,0,0,0.3);
        background: linear-gradient(135deg, rgba(29,37,65,0.9) 0%, rgba(20,25,50,0.95) 100%);
    }
    .init-option:hover::before {
        background: rgba(200,200,220,0.15);
        box-shadow: none;
    }
}
