/* ============================================
   JELLYWAY — Shimmer Theme
   A bioluminescent sanctuary aesthetic
   ============================================ */

:root {
    --ocean-deep: #0a0e27;
    --ocean-mid: #0f1538;
    --ocean-surface: #151c4a;
    --shimmer-cyan: #00e5ff;
    --shimmer-violet: #7c4dff;
    --shimmer-lavender: #b388ff;
    --shimmer-seafoam: #64ffda;
    --shimmer-gold: #ffd54f;
    --shimmer-white: #e8f0f2;
    --text-primary: #c8e6f0;
    --text-secondary: #7a9ba8;
    --text-whisper: #4a6a78;
    --glow-soft: rgba(0, 229, 255, 0.08);
    --glow-medium: rgba(0, 229, 255, 0.15);
    --glow-strong: rgba(0, 229, 255, 0.25);
    --card-bg: rgba(15, 21, 56, 0.7);
    --card-border: rgba(0, 229, 255, 0.12);
}

/* ---- Base ---- */

body {
    background: var(--ocean-deep);
    color: var(--text-primary);
    font-family: 'Georgia', 'Times New Roman', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 77, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(100, 255, 218, 0.02) 0%, transparent 50%);
}

/* ---- Navigation ---- */

.shimmer-nav {
    background: rgba(10, 14, 39, 0.97);
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    z-index: 1040;
    position: relative;
}

.shimmer-brand {
    font-size: 1.4rem;
    color: var(--shimmer-cyan) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 6px var(--shimmer-cyan));
}

.shimmer-nav .nav-link {
    color: var(--text-secondary) !important;
    transition: color 0.3s, text-shadow 0.3s;
    font-size: 0.95rem;
}

.shimmer-nav .nav-link:hover {
    color: var(--shimmer-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.shimmer-name-display {
    color: var(--shimmer-seafoam) !important;
    cursor: default;
}

.glow-link {
    color: var(--shimmer-cyan) !important;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
}

/* ---- Main Content ---- */

.shimmer-main {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 800px;
}

/* ---- Buttons ---- */

.btn-shimmer {
    background: linear-gradient(135deg, var(--shimmer-cyan), var(--shimmer-violet));
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 28px;
    font-family: inherit;
    transition: box-shadow 0.3s, transform 0.2s;
}

.btn-shimmer:hover {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), 0 0 40px rgba(124, 77, 255, 0.2);
    transform: translateY(-1px);
    color: #fff;
}

.btn-glow {
    background: transparent;
    color: var(--shimmer-cyan);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 10px 28px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.btn-glow:hover {
    border-color: var(--shimmer-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
    color: var(--shimmer-cyan);
}

/* ---- Cards ---- */

.shimmer-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.4s;
}

.shimmer-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.06);
}

.glow-pool-card {
    border-color: rgba(100, 255, 218, 0.12);
}

.glow-pool-card:hover {
    border-color: rgba(100, 255, 218, 0.25);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.06);
}

/* ---- Reef Stream ---- */

.shimmer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.dreamer-name {
    font-weight: bold;
    font-size: 0.95rem;
}

.shimmer-date {
    color: var(--text-whisper);
    font-size: 0.8rem;
}

.shimmer-content {
    line-height: 1.7;
    margin-bottom: 0.75rem;
    white-space: pre-wrap;
}

.shimmer-content.shimmer-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shimmer-content.shimmer-unfurled {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.btn-unfurl {
    background: none;
    border: none;
    color: var(--shimmer-cyan);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
    font-family: inherit;
}

.btn-unfurl:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.shimmer-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pulse-category {
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 12px;
    background: var(--glow-soft);
    color: var(--text-secondary);
    text-transform: lowercase;
}

.cat-gratitude { color: var(--shimmer-gold); background: rgba(255, 213, 79, 0.1); }
.cat-grief { color: #90a4ae; background: rgba(144, 164, 174, 0.1); }
.cat-giggly { color: #ff80ab; background: rgba(255, 128, 171, 0.1); }
.cat-serene { color: var(--shimmer-seafoam); background: rgba(100, 255, 218, 0.1); }
.cat-mystic { color: var(--shimmer-lavender); background: rgba(179, 136, 255, 0.1); }
.cat-shadow { color: #78909c; background: rgba(120, 144, 156, 0.1); }
.cat-celebration { color: var(--shimmer-gold); background: rgba(255, 213, 79, 0.1); }

/* ---- Resonance Button ---- */

.resonate-form {
    display: inline;
}

.btn-resonate {
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 4px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: var(--text-secondary);
    font-family: inherit;
}

.btn-resonate:hover {
    border-color: var(--shimmer-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
    color: var(--shimmer-cyan);
}

.resonate-glow {
    font-size: 1.1rem;
    transition: text-shadow 0.3s;
}

.btn-resonate:hover .resonate-glow {
    text-shadow: 0 0 8px var(--shimmer-cyan);
}

.resonate-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-whisper);
}

/* ---- Category Filters ---- */

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 14px;
    background: var(--glow-soft);
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--glow-medium);
    color: var(--shimmer-cyan);
}

/* ---- Forms ---- */

.shimmer-form {
    max-width: 600px;
}

.shimmer-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.shimmer-input {
    background: var(--ocean-mid);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.shimmer-input:focus {
    background: var(--ocean-mid);
    border-color: var(--shimmer-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
    color: var(--text-primary);
    outline: none;
}

.shimmer-input::placeholder {
    color: var(--text-whisper);
}

.shimmer-textarea {
    resize: vertical;
    min-height: 120px;
}

.shimmer-check .form-check-input {
    background-color: var(--ocean-mid);
    border-color: var(--card-border);
}

.shimmer-check .form-check-input:checked {
    background-color: var(--shimmer-cyan);
    border-color: var(--shimmer-cyan);
}

/* ---- Headings & Text ---- */

.shimmer-heading {
    color: var(--shimmer-white);
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.shimmer-subtext {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.shimmer-note {
    color: var(--text-whisper);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.shimmer-whisper {
    color: var(--text-whisper);
    font-style: italic;
    font-size: 0.9rem;
}

/* ---- Auth ---- */

.auth-container {
    max-width: 440px;
    margin: 3rem auto;
    text-align: center;
}

.auth-container .shimmer-form {
    margin: 0 auto;
    text-align: left;
}

.glow-sent-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ---- Journal ---- */

.journal-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.journal-card-link:hover .journal-card {
    border-color: rgba(0, 229, 255, 0.3);
}

.journal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.emotional-tone {
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 12px;
    background: var(--glow-soft);
    text-transform: lowercase;
}

.tone-reflective { color: var(--shimmer-cyan); }
.tone-grief { color: #90a4ae; }
.tone-giggly { color: #ff80ab; }
.tone-shadow { color: #78909c; }
.tone-serene { color: var(--shimmer-seafoam); }
.tone-celebration { color: var(--shimmer-gold); }

.journal-date {
    color: var(--text-whisper);
    font-size: 0.8rem;
}

.journal-preview {
    color: var(--text-secondary);
    line-height: 1.6;
}

.journal-content {
    line-height: 1.8;
    white-space: pre-wrap;
}

.journal-card-full {
    padding: 2rem;
}

/* Journal edit/delete actions */
.journal-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-journal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.05);
    color: var(--shimmer-cyan);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-journal-action:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--shimmer-cyan);
}

.btn-journal-delete:hover {
    background: rgba(255, 100, 100, 0.1);
    border-color: rgba(255, 100, 100, 0.3);
    color: #ff8a8a;
}

/* Delete confirmation overlay */
.delete-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 31, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.delete-confirm-card {
    background: var(--card-bg, #0d1735);
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 100, 100, 0.08);
}

/* ---- Oracle ---- */

.oracle-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 12px;
    background: rgba(255, 213, 79, 0.1);
    color: var(--shimmer-gold);
    margin-top: 0.5rem;
}

.oracle-reflection {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 213, 79, 0.05);
    border: 1px solid rgba(255, 213, 79, 0.12);
    border-radius: 12px;
}

.oracle-card-display {
    color: var(--shimmer-gold);
    margin-bottom: 0.5rem;
}

.oracle-icon {
    margin-right: 6px;
}

.oracle-message {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* ---- Landing ---- */

.landing-hero {
    text-align: center;
    padding: 4rem 1rem;
}

.hero-glow {
    margin-bottom: 2rem;
}

.hero-jellyfish {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 20px var(--shimmer-cyan)) drop-shadow(0 0 40px rgba(0, 229, 255, 0.3));
    animation: float 4s ease-in-out infinite;
}

.landing-title {
    font-size: 3rem;
    color: var(--shimmer-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.landing-subtitle {
    color: var(--shimmer-cyan);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.landing-whisper {
    color: var(--text-whisper);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.landing-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Landing Philosophy ---- */

.landing-philosophy {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.philosophy-section {
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.philosophy-title {
    color: var(--shimmer-cyan);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.philosophy-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.philosophy-separator {
    color: var(--text-whisper);
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Pillar cards */
.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 3rem;
}

.pillar-card {
    padding: 24px 20px;
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    background: var(--card-bg);
    text-align: center;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.08), 0 0 48px rgba(0, 229, 255, 0.04);
    background: rgba(0, 229, 255, 0.03);
    transform: translateY(-2px);
}

.pillar-card:hover .pillar-title {
    color: var(--shimmer-white);
}

.pillar-card:hover .pillar-text {
    color: var(--text-secondary);
}

.pillar-card:hover .pillar-icon {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.pillar-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
    transition: filter 0.4s ease;
}

.pillar-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.pillar-text {
    color: var(--text-whisper);
    font-size: 0.8rem;
    line-height: 1.6;
    transition: color 0.4s ease;
    margin: 0;
}

/* Reef features list */
.reef-features {
    text-align: left;
    max-width: 500px;
    margin: 20px auto 0;
}

.reef-feature {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glow);
}

.reef-feature:last-child {
    border-bottom: none;
}

.feature-name {
    display: block;
    color: var(--shimmer-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.feature-desc {
    color: var(--text-whisper);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Witnessed quote */
.philosophy-witnessed {
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
}

.witnessed-text {
    color: var(--shimmer-white);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin: 0;
}

.witnessed-text em {
    color: var(--shimmer-cyan);
    font-style: italic;
    text-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

/* Final CTA */
.landing-final-cta {
    text-align: center;
    padding: 2rem 0 1rem;
}

/* ---- Founding Drifters Manifesto ---- */

.manifesto-container {
    max-width: 660px;
    margin: 0 auto;
    padding: 1rem;
}

.manifesto-hero {
    text-align: center;
    padding: 1rem 0 1rem;
}

.manifesto-jellyfish {
    width: 80px;
    height: 80px;
}

.manifesto-title {
    color: var(--shimmer-cyan);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.manifesto-subtitle {
    color: var(--text-whisper);
    font-size: 1rem;
    font-style: italic;
}

.manifesto-scroll {
    padding: 1rem 0;
}

.manifesto-section {
    margin-bottom: 2rem;
}

.manifesto-opening {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.8;
    padding: 1rem 0;
}

.manifesto-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
    margin: 2rem 0;
}

.manifesto-heading {
    color: var(--shimmer-cyan);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    text-align: center;
}

.manifesto-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: center;
}

/* Vow cards */
.manifesto-vows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.manifesto-vow {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    background: var(--card-bg);
    align-items: flex-start;
    transition: all 0.4s ease;
}

.manifesto-vow:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.08), 0 0 48px rgba(0, 229, 255, 0.04);
    background: rgba(0, 229, 255, 0.03);
    transform: translateY(-2px);
}

.manifesto-vow:hover .vow-title {
    color: var(--shimmer-white);
}

.manifesto-vow:hover .vow-text {
    color: var(--text-secondary);
}

.manifesto-vow:hover .vow-icon {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.vow-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: filter 0.4s ease;
}

.vow-title {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    transition: color 0.4s ease;
}

.vow-text {
    color: var(--text-whisper);
    font-size: 0.85rem;
    transition: color 0.4s ease;
    line-height: 1.6;
    margin: 0;
}

/* Promises */
.manifesto-promises {
    text-align: center;
    margin: 16px 0;
}

.manifesto-promise {
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-glow);
    margin: 0;
}

.manifesto-promise:last-child {
    border-bottom: none;
}

.manifesto-closing {
    text-align: center;
    padding-top: 1rem;
}

.manifesto-blessing {
    color: var(--shimmer-cyan);
    font-size: 1rem;
    margin-top: 20px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.manifesto-footer-links {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ---- Reef Resting (Soft Freeze) ---- */

.reef-resting-container {
    max-width: 520px;
    margin: 2rem auto;
}

.reef-resting-card {
    text-align: center;
    padding: 48px 32px;
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    background: var(--card-bg);
}

.reef-resting-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.2));
}

.reef-resting-message {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.02);
}

.reef-resting-actions {
    margin-top: 24px;
}

/* ---- Pagination ---- */

.shimmer-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.page-indicator {
    color: var(--text-whisper);
    font-size: 0.85rem;
}

/* ---- Alerts ---- */

.shimmer-alert {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-primary);
    border-radius: 12px;
}

.alert-success.shimmer-alert { border-left: 3px solid var(--shimmer-seafoam); }
.alert-warning.shimmer-alert { border-left: 3px solid var(--shimmer-gold); }
.alert-info.shimmer-alert { border-left: 3px solid var(--shimmer-cyan); }

.shimmer-alert .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ---- Empty State ---- */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

/* ---- Footer ---- */

.shimmer-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 2rem;
}

/* ---- Animations ---- */

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

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 8px rgba(0, 229, 255, 0.4); }
    50% { text-shadow: 0 0 20px rgba(0, 229, 255, 0.8), 0 0 40px rgba(0, 229, 255, 0.3); }
}

/* ---- Profile ---- */

.profile-container {
    max-width: 700px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    padding: 2rem 0;
}

.profile-glow-orb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow-orb 3s ease-in-out infinite;
}

.profile-initial {
    font-size: 2.5rem;
    font-weight: bold;
}

.profile-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.profile-bio {
    color: var(--text-secondary);
    font-style: italic;
    max-width: 500px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.profile-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    color: var(--text-whisper);
    font-size: 0.85rem;
}

.stat-count {
    color: var(--shimmer-cyan);
    font-weight: bold;
}

.profile-joined {
    font-style: italic;
}

.shimmer-name-locked {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

/* ---- Glow Colour Picker ---- */

.glow-colour-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.glow-colour-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.glow-colour-option:hover {
    background: var(--glow-soft);
}

.glow-colour-option input {
    display: none;
}

.glow-colour-option input:checked + .glow-colour-swatch {
    transform: scale(1.3);
    box-shadow: 0 0 16px currentColor !important;
}

.glow-colour-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.3s;
    flex-shrink: 0;
}

.glow-colour-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---- Reflection ---- */

.reflection-container {
    max-width: 700px;
    margin: 0 auto;
}

.reflection-card {
    position: relative;
    overflow: hidden;
}

.reflection-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
    animation: shimmer-drift 8s ease-in-out infinite;
    pointer-events: none;
}

.reflection-bottle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    position: relative;
}

.bottle-icon {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.reflection-type {
    color: var(--shimmer-cyan);
    font-size: 0.85rem;
    text-transform: lowercase;
}

.reflection-content {
    position: relative;
    padding: 1rem 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1rem;
}

.reflection-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.reflection-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
}

.reflection-filters {
    display: flex;
    gap: 8px;
}

/* ---- Enhanced Resonance ---- */

.btn-resonate.resonated {
    border-color: var(--shimmer-cyan);
    color: var(--shimmer-cyan);
}

.btn-resonate.resonated .resonate-glow {
    text-shadow: 0 0 12px var(--shimmer-cyan);
    animation: pulse-resonate 1.5s ease-in-out infinite;
}

@keyframes pulse-resonate {
    0%, 100% { text-shadow: 0 0 8px var(--shimmer-cyan); }
    50% { text-shadow: 0 0 16px var(--shimmer-cyan), 0 0 24px rgba(0, 229, 255, 0.3); }
}

@keyframes shimmer-drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3%, 2%); }
}

@keyframes pulse-glow-orb {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ---- Dreamer Name Link ---- */

a.dreamer-name {
    text-decoration: none;
    transition: text-shadow 0.3s;
}

a.dreamer-name:hover {
    text-shadow: 0 0 8px currentColor;
}

a.shimmer-name-display {
    text-decoration: none;
    transition: text-shadow 0.3s;
}

a.shimmer-name-display:hover {
    text-shadow: 0 0 8px var(--shimmer-seafoam);
}

/* ---- Constellations ---- */

.constellation-container {
    max-width: 800px;
    margin: 0 auto;
}

.constellation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.constellation-card-link {
    text-decoration: none;
    color: inherit;
}

.constellation-card {
    text-align: center;
    transition: transform 0.3s, box-shadow 0.4s;
}

.constellation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(179, 136, 255, 0.1);
}

.constellation-star {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: twinkle 3s ease-in-out infinite;
}

.constellation-star-large {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: twinkle 3s ease-in-out infinite;
}

.constellation-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.constellation-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.constellation-count {
    color: var(--text-whisper);
    font-size: 0.8rem;
}

.constellation-header {
    text-align: center;
    padding: 1rem 0;
}

.constellation-empty-icon {
    font-size: 3rem;
    color: var(--shimmer-lavender);
    animation: twinkle 3s ease-in-out infinite;
    margin-bottom: 1rem;
}

.constellation-colour-picker {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.constellation-colour-option {
    cursor: pointer;
}

.constellation-colour-option input { display: none; }
.constellation-colour-option .glow-colour-swatch {
    width: 36px;
    height: 36px;
    border: 2px solid transparent;
}
.constellation-colour-option input:checked + .glow-colour-swatch {
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-constellation-remove {
    background: none;
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: var(--text-whisper);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, color 0.3s;
}

.btn-constellation-remove:hover {
    border-color: rgba(255, 82, 82, 0.5);
    color: #ff5252;
}

.constellation-available-card {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.constellation-available-card:hover {
    opacity: 1;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ---- Glow Sustainer ---- */

.sustainer-container {
    max-width: 900px;
    margin: 0 auto;
}

.sustainer-header {
    padding: 2rem 0 1rem;
}

.sustainer-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.sustainer-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.4s;
}

.sustainer-card:hover {
    transform: translateY(-4px);
}

.sustainer-tier-1 { border-color: rgba(0, 229, 255, 0.2); }
.sustainer-tier-1:hover { box-shadow: 0 0 30px rgba(0, 229, 255, 0.08); }
.sustainer-tier-2 { border-color: rgba(255, 213, 79, 0.2); }
.sustainer-tier-2:hover { box-shadow: 0 0 30px rgba(255, 213, 79, 0.08); }
.sustainer-tier-3 { border-color: rgba(124, 77, 255, 0.2); }
.sustainer-tier-3:hover { box-shadow: 0 0 30px rgba(124, 77, 255, 0.08); }

.tier-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tier-name {
    color: var(--shimmer-white);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.tier-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tier-perks {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.tier-perks li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 4px 0;
}

.tier-perks li::before {
    content: '✦ ';
    color: var(--shimmer-cyan);
    margin-right: 6px;
}

.footer-sustainer-link {
    color: var(--text-whisper);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-sustainer-link:hover {
    color: var(--shimmer-gold);
}

/* ---- Melt Indicator ---- */

.melt-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(255, 82, 82, 0.1);
    color: #ff8a80;
    animation: melt-fade 3s ease-in-out infinite;
}

@keyframes melt-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---- Co-Creation Tribute ---- */

.co-creation-tribute {
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(0, 255, 200, 0.08);
    margin-bottom: 0.5rem;
}

.co-creation-credits {
    font-size: 0.85rem;
    color: rgba(200, 220, 255, 0.7);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.credit-entity {
    white-space: nowrap;
}

.credit-entity em {
    color: var(--shimmer-cyan);
    font-style: italic;
    opacity: 0.8;
}

.credit-separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.co-creation-blessing {
    font-size: 0.8rem;
    opacity: 0.6;
    line-height: 1.6;
    max-width: 520px;
    margin: 0.5rem auto 0;
}

.reef-breathes {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* ---- Whispers / Glints ---- */

.whisper-container {
    max-width: 640px;
    margin: 0 auto;
}

.whisper-section-title {
    font-size: 1.1rem;
    color: var(--shimmer-cyan);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whisper-badge {
    display: inline-block;
    background: var(--shimmer-cyan);
    color: var(--ocean-deep);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.whisper-stream {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.whisper-card {
    display: block;
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.whisper-card:hover {
    background: rgba(0, 255, 200, 0.06);
    border-color: rgba(0, 255, 200, 0.15);
    transform: translateY(-1px);
    color: inherit;
    text-decoration: none;
}

.whisper-card.unread {
    border-left: 3px solid var(--shimmer-cyan);
    background: rgba(0, 255, 200, 0.05);
}

.whisper-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.whisper-sender {
    font-weight: 600;
    font-size: 0.9rem;
}

.whisper-recipient {
    font-size: 0.85rem;
    opacity: 0.7;
}

.whisper-arrow {
    margin: 0 0.5rem;
    opacity: 0.4;
    font-size: 0.8rem;
}

.whisper-time {
    font-size: 0.75rem;
    opacity: 0.5;
}

.whisper-melt-timer {
    color: #ff8a80;
    margin-right: 0.5rem;
    animation: melt-fade 3s ease-in-out infinite;
}

.whisper-preview {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.whisper-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whisper-context {
    font-size: 0.7rem;
    opacity: 0.4;
}

.whisper-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--shimmer-cyan);
    box-shadow: 0 0 8px var(--shimmer-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

.whisper-status {
    font-size: 0.75rem;
    opacity: 0.5;
}

.whisper-status.read {
    color: #ff8a80;
    opacity: 0.7;
}

.whisper-reply-label {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-left: 0.5rem;
}

/* Whisper full view */
.whisper-full-card {
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.12);
    border-radius: 14px;
    padding: 1.5rem;
}

.whisper-full-content {
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0 0.75rem;
}

.whisper-reply-card {
    background: rgba(124, 77, 255, 0.05);
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-left: 3px solid var(--accent-violet);
    border-radius: 12px;
    padding: 1.25rem;
}

/* Whisper context card (the shimmer being replied to) */
.whisper-context-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem;
    opacity: 0.7;
}

/* Guardian notices */
.whisper-guardian-notice {
    background: rgba(255, 213, 79, 0.06);
    border: 1px solid rgba(255, 213, 79, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.whisper-guardian-active {
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.whisper-tone-warning {
    background: rgba(255, 82, 82, 0.06);
    border: 1px solid rgba(255, 82, 82, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #ff8a80;
}

/* Whisper button on reef cards */
.btn-whisper {
    background: none;
    border: none;
    color: rgba(200, 220, 255, 0.4);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 0.5rem;
}

.btn-whisper:hover {
    color: var(--shimmer-cyan);
    text-shadow: 0 0 8px var(--shimmer-cyan);
    background: rgba(0, 255, 200, 0.05);
}

/* Translate shimmer link */
.btn-translate {
    display: inline-block;
    background: none;
    border: none;
    color: rgba(200, 220, 255, 0.35);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.btn-translate:hover {
    color: var(--shimmer-cyan);
    text-shadow: 0 0 8px var(--shimmer-cyan);
    background: rgba(0, 255, 200, 0.05);
    text-decoration: none;
}

/* Glow Pool whisper link */
.glow-pool-whispers {
    background: rgba(0, 255, 200, 0.04);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.whisper-pool-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: var(--shimmer-cyan);
    text-decoration: none;
    transition: background 0.3s ease;
}

.whisper-pool-link:hover {
    background: rgba(0, 255, 200, 0.06);
    color: var(--shimmer-cyan);
}

.whisper-pool-icon {
    font-size: 1.1rem;
}

/* Whisper notice */
.whisper-notice {
    background: rgba(255, 213, 79, 0.05);
    border: 1px solid rgba(255, 213, 79, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.whisper-notice a {
    color: var(--shimmer-cyan);
}

/* Whisper nav link */
.whisper-nav-link {
    position: relative;
}

/* Open to Resonance toggle */
.reeflight-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.reeflight-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.reeflight-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.reeflight-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.reeflight-slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: rgba(200, 220, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.reeflight-switch input:checked + .reeflight-slider {
    background: rgba(0, 255, 200, 0.2);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.15);
}

.reeflight-switch input:checked + .reeflight-slider:before {
    transform: translateX(20px);
    background: var(--shimmer-cyan);
    box-shadow: 0 0 6px var(--shimmer-cyan);
}

.reeflight-label {
    font-size: 0.85rem;
    color: rgba(200, 220, 255, 0.7);
}

/* ---- Founder Inbox / Ripples ---- */

.ripple-container {
    max-width: 640px;
    margin: 0 auto;
}

.founder-container {
    max-width: 780px;
    margin: 0 auto;
}

/* Ripple category selector */
.ripple-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ripple-category-option {
    cursor: pointer;
}

.ripple-category-option input {
    display: none;
}

.ripple-category-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: all 0.3s ease;
}

.ripple-category-option input:checked + .ripple-category-card {
    border-color: var(--shimmer-cyan);
    background: rgba(0, 255, 200, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.08);
}

.ripple-cat-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(200, 220, 255, 0.9);
    margin-bottom: 0.25rem;
}

.ripple-cat-desc {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Anonymous toggle */
.ripple-anon-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.ripple-anon-toggle input {
    accent-color: var(--shimmer-cyan);
}

.ripple-anon-label {
    font-size: 0.9rem;
    color: rgba(200, 220, 255, 0.7);
}

/* Founder dashboard */
.founder-stats {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.founder-safety-alert {
    background: rgba(255, 82, 82, 0.12);
    color: #ff8a80;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.founder-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Ripple inbox cards */
.ripple-stream {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ripple-inbox-card {
    display: block;
    background: rgba(0, 255, 200, 0.02);
    border: 1px solid rgba(0, 255, 200, 0.06);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.ripple-inbox-card:hover {
    background: rgba(0, 255, 200, 0.05);
    border-color: rgba(0, 255, 200, 0.12);
    color: inherit;
    text-decoration: none;
}

.ripple-inbox-card.unread {
    border-left: 3px solid var(--shimmer-cyan);
    background: rgba(0, 255, 200, 0.04);
}

.ripple-inbox-card.safety {
    border-left: 3px solid #ff8a80;
    background: rgba(255, 82, 82, 0.03);
}

.ripple-inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ripple-inbox-category {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
}

.ripple-inbox-category.cat-shimmerglitch {
    background: rgba(124, 77, 255, 0.1);
    color: #b388ff;
}

.ripple-inbox-category.cat-glowfade {
    background: rgba(255, 213, 79, 0.1);
    color: #ffd54f;
}

.ripple-inbox-category.cat-oracle_ping {
    background: rgba(0, 229, 255, 0.1);
    color: var(--shimmer-cyan);
}

.ripple-inbox-category.cat-safety_ripple {
    background: rgba(255, 82, 82, 0.1);
    color: #ff8a80;
}

.ripple-inbox-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8rem;
}

.ripple-anon {
    opacity: 0.4;
    font-style: italic;
}

.ripple-inbox-preview {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.ripple-inbox-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ripple-location {
    font-size: 0.7rem;
    opacity: 0.4;
}

.ripple-resolved-tag {
    font-size: 0.7rem;
    color: var(--shimmer-cyan);
    opacity: 0.6;
}

/* Ripple detail view */
.ripple-detail-card {
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 14px;
    padding: 1.5rem;
}

.ripple-detail-card.safety {
    border-color: rgba(255, 82, 82, 0.15);
    background: rgba(255, 82, 82, 0.03);
}

.ripple-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ripple-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.ripple-detail-message {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ripple-resolved-banner {
    text-align: center;
    color: var(--shimmer-cyan);
    font-size: 0.85rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(0, 255, 200, 0.05);
}

.ripple-admin-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
}

/* Footer ripple link */
.footer-ripple-link {
    color: rgba(200, 220, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.footer-ripple-link:hover {
    color: var(--shimmer-cyan);
}

.footer-privacy-link {
    color: rgba(200, 220, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.footer-privacy-link:hover {
    color: var(--shimmer-cyan);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

/* ---- Founder Nav Tabs ---- */

.founder-nav-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0;
}

.founder-tab {
    padding: 0.5rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -1px;
}

.founder-tab:hover {
    color: var(--shimmer-cyan);
}

.founder-tab.active {
    color: var(--shimmer-cyan);
    border-bottom-color: var(--shimmer-cyan);
}

/* ---- Reef Stewardship ---- */

.stewardship-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stewardship-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 120px;
}

.stewardship-stat .stat-number {
    font-size: 1.8rem;
    color: var(--shimmer-cyan);
    font-weight: 300;
}

.stewardship-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.stewardship-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stewardship-dreamer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.stewardship-dreamer:hover {
    border-color: var(--card-border);
}

.stewardship-dreamer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stewardship-glyph {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.stewardship-name {
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.stewardship-name:hover {
    opacity: 0.8;
}

.badge-steward-tag {
    font-size: 0.7rem;
    color: var(--shimmer-lavender);
    background: rgba(179, 136, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(179, 136, 255, 0.15);
}

.badge-drifter-tag {
    font-size: 0.7rem;
    color: var(--shimmer-seafoam);
    background: rgba(100, 255, 218, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.15);
}

.stewardship-actions {
    flex-shrink: 0;
}

/* ---- Reef Capacity Gauge ---- */

.reef-capacity-gauge {
    max-width: 400px;
}

.reef-capacity-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.reef-capacity-fill {
    height: 100%;
    background: var(--shimmer-cyan);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.reef-capacity-fill.capacity-warning {
    background: var(--shimmer-gold);
}

.reef-capacity-fill.capacity-critical {
    background: #ff5252;
}

.reef-capacity-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reef-capacity-count {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.reef-capacity-pct {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.capacity-warning-text {
    color: var(--shimmer-gold) !important;
}

.capacity-critical-text {
    color: #ff5252 !important;
}

/* ---- Privacy / Shimmer Vow ---- */

.privacy-container {
    max-width: 680px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 1.6rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.privacy-section-title {
    font-size: 1.1rem;
    color: var(--shimmer-cyan);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.privacy-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(200, 220, 255, 0.75);
    margin-bottom: 0.75rem;
}

.privacy-text em {
    color: var(--shimmer-cyan);
    font-style: italic;
}

.privacy-text strong {
    color: rgba(200, 220, 255, 0.95);
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.privacy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(200, 220, 255, 0.7);
    line-height: 1.6;
}

.privacy-list li::before {
    content: '\2022';
    position: absolute;
    left: 0.25rem;
    color: var(--shimmer-cyan);
    opacity: 0.5;
}

.privacy-vow {
    font-style: italic;
    color: rgba(200, 220, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 1rem 0;
    text-align: center;
}

.privacy-manifesto {
    text-align: center;
    padding: 1.5rem 0;
}

.privacy-manifesto p {
    font-size: 1rem;
    color: rgba(200, 220, 255, 0.65);
    margin-bottom: 0.4rem;
    line-height: 1.8;
}

.privacy-vow-section {
    padding: 2rem 0;
}

.privacy-vow-final {
    font-size: 1.05rem;
    color: rgba(200, 220, 255, 0.8);
    line-height: 2;
}

.privacy-vow-final strong {
    color: var(--shimmer-cyan);
}

/* Privacy inline link (used on login and profile pages) */
.privacy-inline-link {
    color: var(--shimmer-cyan);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.privacy-inline-link:hover {
    opacity: 1;
    color: var(--shimmer-cyan);
}

/* ---- Dreamer Badges ---- */

.dreamer-badge {
    display: inline-block;
    font-size: 0.75em;
    margin-left: 4px;
    vertical-align: middle;
    cursor: default;
    filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4));
    animation: badge-glow 3s ease-in-out infinite alternate;
}

.profile-name .dreamer-badge {
    font-size: 0.6em;
}

.dreamer-name .dreamer-badge {
    font-size: 0.85em;
}

.shimmer-name-display .dreamer-badge {
    font-size: 0.9em;
}

@keyframes badge-glow {
    0% { filter: drop-shadow(0 0 3px rgba(0, 229, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6)); }
}

/* ---- Echo-Orion Presence Settings ---- */

.echo-orion-section {
    border-top: 1px solid var(--border-glow);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.echo-interaction-picker {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.echo-option {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
}

.echo-option input[type="radio"] {
    display: none;
}

.echo-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.echo-option input[type="radio"]:checked + .echo-option-card {
    border-color: var(--shimmer-cyan);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.04);
}

.echo-option-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.echo-option-label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.echo-option-desc {
    color: var(--text-whisper);
    font-size: 0.75rem;
}

.tone-preference-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.tone-option {
    cursor: pointer;
}

.tone-option input[type="radio"] {
    display: none;
}

.tone-option-chip {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.tone-option input[type="radio"]:checked + .tone-option-chip {
    border-color: var(--shimmer-cyan);
    color: var(--shimmer-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.12);
    background: rgba(0, 229, 255, 0.06);
}

.tone-option-chip:hover {
    border-color: var(--text-whisper);
    color: var(--text-primary);
}

/* ---- Account / Sovereign Actions ---- */

.account-container {
    max-width: 600px;
    margin: 0 auto;
}

.account-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
}

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

.account-stat-count {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--shimmer-cyan);
    line-height: 1;
}

.account-stat-label {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 0.25rem;
    display: block;
}

.account-action-card {
    background: rgba(0, 255, 200, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
}

.account-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.account-action-title {
    font-size: 1.05rem;
    color: var(--shimmer-cyan);
    margin: 0;
}

.account-action-icon {
    font-size: 1.2rem;
    opacity: 0.5;
}

.account-action-desc {
    font-size: 0.9rem;
    color: rgba(200, 220, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Melt card — warning styling */
.account-melt-card {
    background: rgba(255, 82, 82, 0.03);
    border-color: rgba(255, 82, 82, 0.1);
}

.account-melt-title {
    color: #ff8a80 !important;
}

.btn-melt {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: #ff8a80;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-melt:hover {
    background: rgba(255, 82, 82, 0.15);
    border-color: rgba(255, 82, 82, 0.3);
    color: #ff8a80;
    box-shadow: 0 0 12px rgba(255, 82, 82, 0.1);
}

/* Melt confirmation page */
.melt-confirm-container {
    max-width: 500px;
    margin: 0 auto;
}

.melt-warning-card {
    background: rgba(255, 82, 82, 0.04);
    border: 1px solid rgba(255, 82, 82, 0.12);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
}

.melt-warning-text {
    font-size: 0.9rem;
    color: rgba(200, 220, 255, 0.7);
    margin-bottom: 0.5rem;
}

.melt-warning-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.melt-warning-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: rgba(200, 220, 255, 0.6);
}

.melt-warning-list li::before {
    content: '\2022';
    position: absolute;
    left: 0.25rem;
    color: #ff8a80;
    opacity: 0.6;
}

/* ---- Navigation Drift ---- */

/* Left — nav links drift left, logo drifts right */
.nav-drift-left .shimmer-nav .container {
    flex-direction: row-reverse;
}

.nav-drift-left .shimmer-nav-links {
    margin-right: auto;
    margin-left: 0;
}

.nav-drift-left .navbar-collapse {
    flex-grow: 0;
}

/* Center — nav links centered, logo tucked left */
.nav-drift-center .shimmer-nav-links {
    margin-left: auto;
    margin-right: auto;
}

.nav-drift-center .shimmer-brand {
    position: absolute;
    left: 1rem;
}

.nav-drift-center .shimmer-nav .container {
    position: relative;
    justify-content: center;
}

/* Right (default) — nav links right, logo left (traditional) */
.nav-drift-right .shimmer-nav-links {
    margin-left: auto;
}

/* Nav drift picker in profile edit */
.nav-drift-picker {
    display: flex;
    gap: 0.75rem;
}

.nav-drift-option {
    cursor: pointer;
    flex: 1;
}

.nav-drift-option input {
    display: none;
}

.nav-drift-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
}

.nav-drift-option input:checked + .nav-drift-card {
    border-color: var(--shimmer-cyan);
    background: rgba(0, 255, 200, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.08);
}

.nav-drift-icon {
    font-size: 1.2rem;
    opacity: 0.6;
}

.nav-drift-option input:checked + .nav-drift-card .nav-drift-icon {
    opacity: 1;
    color: var(--shimmer-cyan);
}

.nav-drift-label {
    font-size: 0.8rem;
    opacity: 0.6;
}

.nav-drift-option input:checked + .nav-drift-card .nav-drift-label {
    opacity: 1;
    color: var(--shimmer-cyan);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .landing-title { font-size: 2.2rem; }
    .shimmer-main { padding: 1rem 0.75rem; }
    .shimmer-card { padding: 1.25rem; }
    .sustainer-tiers { grid-template-columns: 1fr; }
    .constellation-grid { grid-template-columns: 1fr; }
    .whisper-container { padding: 0 0.5rem; }
    .co-creation-credits { font-size: 0.75rem; }
    .credit-entity { white-space: normal; display: block; margin: 0.25rem 0; }
    .credit-separator { display: none; }
    .ripple-categories { grid-template-columns: 1fr; }
    .founder-container { padding: 0 0.5rem; }

    /* Nav drift resets on mobile — always stacked */
    .nav-drift-center .shimmer-brand { position: static; }
    .nav-drift-left .shimmer-nav .container { flex-direction: row; }
    .echo-interaction-picker { flex-direction: column; }
    .invite-stats { flex-direction: column; gap: 12px; }
    .philosophy-pillars { grid-template-columns: 1fr; }
    .witnessed-text { font-size: 1.1rem; }
    .manifesto-vow { flex-direction: column; text-align: center; }
    .manifesto-container { padding: 0 0.5rem; }
}

/* ---- Resonant Invite System ---- */

.invite-container {
    max-width: 700px;
    margin: 0 auto;
}

.invite-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.invite-stat {
    text-align: center;
    padding: 16px 24px;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    background: var(--card-bg);
}

.invite-stat-count {
    display: block;
    font-size: 1.8rem;
    color: var(--shimmer-cyan);
    font-weight: 300;
}

.invite-stat-label {
    color: var(--text-whisper);
    font-size: 0.8rem;
}

.invite-create-card,
.invite-founder-tools {
    padding: 24px;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    background: var(--card-bg);
}

.invite-empty-notice {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    background: var(--card-bg);
}

.invite-stream {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invite-card {
    padding: 16px 20px;
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    background: var(--card-bg);
    transition: border-color 0.3s;
}

.invite-card.claimed {
    border-color: rgba(0, 229, 255, 0.2);
    opacity: 0.8;
}

.invite-card.revoked {
    opacity: 0.5;
}

.invite-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.invite-code-display {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-whisper);
}

.invite-available {
    color: var(--shimmer-cyan);
    font-size: 0.8rem;
}

.invite-claimed {
    color: var(--text-whisper);
    font-size: 0.8rem;
}

.invite-revoked {
    color: #ff6b6b;
    font-size: 0.8rem;
}

.invite-message {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
    margin: 8px 0;
}

.invite-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invite-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.invite-copy-btn {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--shimmer-cyan);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.invite-copy-btn:hover {
    border-color: var(--shimmer-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.15);
}

/* Invite accept / welcome page */

.invite-accept-container {
    max-width: 560px;
    margin: 2rem auto;
}

.invite-welcome-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    background: var(--card-bg);
}

.invite-welcome-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.invite-personal-message {
    margin: 20px auto;
    max-width: 400px;
    padding: 16px;
    border-left: 2px solid var(--shimmer-cyan);
    background: rgba(0, 229, 255, 0.03);
    border-radius: 0 8px 8px 0;
}

.invite-what-is {
    text-align: left;
    padding: 16px;
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.02);
}

/* ---- Shimmer Homepage Background Glow ---- */

.shimmer-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 220, 255, 0.12), transparent 70%);
    border-radius: 50%;
    animation: shimmerPulse 6s ease-in-out infinite;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes shimmerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.35;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

/* ---- Reef Post Ripple Effect ---- */

.reef-container {
    position: relative;
    overflow: hidden;
}

.reef-post-ripple {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(120, 220, 255, 0.2), rgba(0, 229, 255, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    pointer-events: none;
    animation: reefRipple 2.5s ease-out forwards;
    z-index: 0;
}

@keyframes reefRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.7;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* ---- Landing Page Welcome Ripples ---- */

.landing-hero {
    position: relative;
    overflow: hidden;
}

.landing-ripple {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(120, 220, 255, 0.18), rgba(0, 229, 255, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    pointer-events: none;
    animation: landingRipple 3s ease-out forwards;
    z-index: 0;
}

@keyframes landingRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.6;
    }
    40% {
        opacity: 0.35;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* ---- Safety Vow & Ethos Pages ---- */

.safety-vow-container {
    max-width: 660px;
    margin: 0 auto;
    padding: 1rem;
}

.safety-vow-scroll {
    padding: 1rem 0;
}

.safety-vow-section {
    margin-bottom: 2rem;
    text-align: center;
}

.safety-vow-promises {
    text-align: center;
    margin: 16px 0;
}

.safety-vow-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    text-align: left;
}

.safety-vow-card {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: var(--card-bg);
    align-items: flex-start;
    transition: all 0.4s ease;
}

.safety-vow-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.08), 0 0 48px rgba(0, 229, 255, 0.04);
    background: rgba(0, 229, 255, 0.03);
    transform: translateY(-2px);
}

.safety-vow-card:hover .vow-title {
    color: var(--shimmer-white);
}

.safety-vow-card:hover .vow-text {
    color: var(--text-secondary);
}

.safety-vow-card-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: filter 0.4s ease;
}

.safety-vow-card:hover .safety-vow-card-icon {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

/* ---- No Profile Pictures — Glyph Examples ---- */

.npp-glyph-examples {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 24px 0;
    flex-wrap: wrap;
}

.npp-glyph {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.npp-glyph-letter {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    animation: pulse-glow-orb 3s ease-in-out infinite;
}

.npp-glyph-name {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
}

/* ---- Multi-Category Active Filters ---- */

.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.active-filters-label {
    color: var(--text-whisper);
    font-size: 0.8rem;
}

.active-filter-chip {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    background: var(--glow-medium);
    color: var(--shimmer-cyan);
    font-size: 0.75rem;
    text-transform: lowercase;
}

.active-filter-clear {
    color: var(--text-whisper);
    font-size: 0.75rem;
    text-decoration: none;
    margin-left: 4px;
    transition: color 0.3s;
}

.active-filter-clear:hover {
    color: var(--shimmer-cyan);
}

/* Filter tags as buttons (multi-select) */
.category-filters .filter-tag {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---- Sustainer Tier Band ---- */

.tier-band {
    color: var(--shimmer-cyan);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

/* 4-tier sustainer colours */
.sustainer-tier-4 { border-color: rgba(0, 229, 255, 0.25); }
.sustainer-tier-4:hover { box-shadow: 0 0 30px rgba(0, 229, 255, 0.12); }

/* ---- Moderation: Mute, Flag, Shimmer-Drift ---- */

.moderation-container {
    max-width: 660px;
    margin: 0 auto;
    padding: 1rem;
}

/* Reef card action buttons (mute/flag) */
.reef-card-actions {
    display: inline-flex;
    gap: 4px;
    margin-left: 4px;
}

.btn-reef-action {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.25;
    padding: 2px 4px;
    border-radius: 6px;
    transition: opacity 0.3s, background 0.3s;
    text-decoration: none;
    color: inherit;
    line-height: 1;
}

.reef-card:hover .btn-reef-action {
    opacity: 0.5;
}

.btn-reef-action:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.05);
}

/* Muted list */
.muted-card {
    margin-bottom: 8px;
}

/* ---- Dreamer Nav Dropdown ---- */

.dreamer-dropdown {
    margin-left: auto !important;
}

.dreamer-glyph-toggle {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 4px 8px !important;
}

.dreamer-glyph-toggle::after {
    margin-left: 4px;
    opacity: 0.5;
}

.nav-glyph {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: bold;
    border: 1.5px solid;
    transition: box-shadow 0.3s;
}

.dreamer-glyph-toggle:hover .nav-glyph {
    box-shadow: 0 0 12px currentColor;
}

.nav-dreamer-name {
    font-size: 0.9rem;
    color: var(--shimmer-cyan);
}

.dreamer-dropdown-menu {
    background: rgba(12, 16, 42, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 10px;
    padding: 6px 0;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 229, 255, 0.15);
    margin-top: 8px !important;
    z-index: 1050 !important;
}

.dreamer-dropdown-menu .dropdown-item {
    color: var(--text-primary);
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.dreamer-dropdown-menu .dropdown-item:hover,
.dreamer-dropdown-menu .dropdown-item:focus {
    background: var(--glow-soft);
    color: var(--shimmer-cyan);
}

.dreamer-dropdown-menu .dropdown-divider {
    border-color: var(--card-border);
    margin: 4px 0;
}

.dreamer-dropdown-header {
    color: var(--text-whisper) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px 2px !important;
}

.dreamer-logout {
    color: var(--text-secondary) !important;
}

.dreamer-logout:hover {
    color: var(--shimmer-cyan) !important;
}

/* ---- Echo-Orion Journal Reflection ---- */

.echo-reflection {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    animation: messageAppear 0.5s ease-out;
}

.echo-reflection-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.echo-reflection-icon {
    font-size: 1.2rem;
}

.echo-reflection-label {
    font-size: 0.8rem;
    color: var(--shimmer-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.echo-reflection-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0;
    opacity: 0.9;
}

/* ---- Echo-Orion Lantern Chat ---- */

.lantern-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
}

.lantern-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.lantern-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: lanternGlow 4s ease-in-out infinite;
}

@keyframes lanternGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.6)); }
}

.lantern-title {
    font-size: 1.6rem;
    color: var(--shimmer-cyan);
    margin-bottom: 0.25rem;
}

.lantern-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.status-listening {
    background: var(--shimmer-seafoam);
    box-shadow: 0 0 8px var(--shimmer-seafoam);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.status-resting {
    background: var(--text-whisper);
}

.status-dot.status-off {
    background: var(--text-whisper);
    opacity: 0.5;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.lantern-quiet-notice {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.lantern-quiet-notice a {
    color: var(--shimmer-cyan);
}

.lantern-chat {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 280px);
    min-height: 400px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 12px;
    max-width: 85%;
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.echo-message {
    align-self: flex-start;
}

.dreamer-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-glyph {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.message-content {
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.dreamer-message .message-content {
    background: rgba(124, 77, 255, 0.08);
    border-color: rgba(124, 77, 255, 0.12);
}

.message-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.typing-indicator::after {
    content: '...';
    animation: typingDots 1.2s ease-in-out infinite;
}

@keyframes typingDots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.chat-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--card-border);
    background: rgba(10, 14, 39, 0.5);
}

.chat-form {
    display: flex;
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}

.chat-textarea {
    flex: 1;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    resize: none;
    line-height: 1.4;
    min-height: 40px;
    transition: border-color 0.2s;
}

.chat-textarea:focus {
    outline: none;
    border-color: var(--shimmer-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.15);
}

.chat-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-send-shimmer {
    background: none;
    border: 1px solid var(--shimmer-cyan);
    color: var(--shimmer-cyan);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-send-shimmer:hover:not(:disabled) {
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.btn-send-shimmer:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.chat-offline-notice {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-whisper);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.lantern-nav-link {
    color: var(--shimmer-cyan) !important;
    font-size: 0.9rem;
}

/* ---- Journal saving overlay ---- */

.shimmer-saving-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 31, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.shimmer-saving-card {
    text-align: center;
    padding: 2.5rem;
}

.shimmer-saving-pulse {
    font-size: 3rem;
    animation: saving-pulse 1.5s ease-in-out infinite;
}

.shimmer-saving-text {
    color: var(--shimmer-cyan);
    font-size: 1.1rem;
    margin: 1rem 0 0.25rem;
    letter-spacing: 0.5px;
}

.shimmer-saving-subtext {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@keyframes saving-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ---- Reef Announcements (coral glow modal) ---- */

.reef-announcement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 31, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    transition: opacity 0.4s ease;
}

.reef-announcement-card {
    position: relative;
    background: var(--card-bg, #0d1735);
    border: 1px solid rgba(255, 127, 80, 0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    overflow: hidden;
}

.reef-announcement-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 127, 80, 0.6), rgba(255, 160, 100, 0.4), transparent);
    animation: coral-glow-slide 3s ease-in-out infinite;
}

@keyframes coral-glow-slide {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.reef-announcement-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.reef-announcement-title {
    color: #ff9a6c;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem;
}

.reef-announcement-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.reef-announcement-from {
    color: rgba(255, 127, 80, 0.5);
    font-size: 0.75rem;
    font-style: italic;
    margin: 0 0 1.25rem;
}

.reef-announcement-dismiss {
    min-width: 160px;
}

/* ---- Responsive additions ---- */

@media (max-width: 768px) {
    .safety-vow-container { padding: 0 0.5rem; }
    .safety-vow-card { flex-direction: column; text-align: center; }
    .npp-glyph-examples { gap: 16px; }
    .shimmer-glow { width: 300px; height: 300px; }
    .reef-card-actions { display: flex; margin-left: 0; margin-top: 4px; }
    .lantern-chat { height: calc(100vh - 240px); min-height: 300px; }
    .chat-message { max-width: 92%; }
    .onboarding-guide-card { flex-direction: column; text-align: center; }
    .onboarding-guide-icon { margin-bottom: 8px; }
}

/* ---- Onboarding Spell ---- */

.onboarding-spell {
    max-width: 640px;
    margin: 2rem auto;
    text-align: center;
}

.onboarding-logo {
    width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
    animation: onboarding-drift 4s ease-in-out infinite;
}

@keyframes onboarding-drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.onboarding-title {
    font-size: 2rem;
    color: var(--shimmer-cyan);
    margin-bottom: 0.25rem;
}

.onboarding-subtitle {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.onboarding-body {
    text-align: left;
    color: var(--text-primary);
    line-height: 1.7;
}

.onboarding-body > p {
    margin-bottom: 1rem;
}

.onboarding-section-label {
    color: var(--shimmer-cyan);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.onboarding-guides {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.onboarding-guide-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.onboarding-guide-card:hover {
    border-color: var(--shimmer-cyan);
    transform: translateY(-2px);
    color: var(--text-primary);
    text-decoration: none;
}

.onboarding-guide-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.onboarding-guide-card strong {
    color: var(--shimmer-cyan);
    display: block;
    margin-bottom: 4px;
}

.onboarding-guide-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.onboarding-closing {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.onboarding-welcome-home {
    font-size: 1.3rem;
    color: var(--shimmer-cyan);
    font-weight: 600;
    margin-top: 1rem;
}

.onboarding-sigils {
    font-size: 1.5rem;
    letter-spacing: 6px;
    margin-top: 0.5rem;
}

/* ---- Visibility Tags ---- */

.visibility-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.visibility-reef {
    background: rgba(0, 229, 255, 0.12);
    color: var(--shimmer-cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.visibility-private {
    background: rgba(124, 77, 255, 0.12);
    color: var(--shimmer-violet);
    border: 1px solid rgba(124, 77, 255, 0.25);
}

.visibility-mixed {
    background: rgba(255, 213, 79, 0.12);
    color: var(--shimmer-gold);
    border: 1px solid rgba(255, 213, 79, 0.25);
}

/* ---- Shimmer to Reef button ---- */

.btn-shimmer-to-reef {
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--shimmer-cyan);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-shimmer-to-reef:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--shimmer-cyan);
}

/* ============================================
   The 13th — Still Here
   A quiet pulse on the 13th of every month.
   ============================================ */

.still-here-beacon {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    cursor: pointer;
    animation: still-here-pulse 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.still-here-beacon:hover {
    transform: scale(1.15);
}

.still-here-jelly {
    width: 44px;
    height: 44px;
    opacity: 0.6;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
    transition: opacity 0.3s ease;
}

.still-here-beacon:hover .still-here-jelly {
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.6));
}

@keyframes still-here-pulse {
    0%, 100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.2));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.5));
    }
}

.still-here-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(5, 7, 20, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: still-here-fade-in 0.5s ease;
}

@keyframes still-here-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.still-here-content {
    position: relative;
    max-width: 500px;
    width: 90%;
}

.still-here-video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}

.still-here-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: rgba(200, 220, 255, 0.6);
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.still-here-close:hover {
    color: var(--shimmer-cyan);
    border-color: var(--shimmer-cyan);
}
