/* ============================================================
   CLASSY CAJUN HUB v1.8.3 — BURGUNDY QUIET LUXURY
   Burgundy (#5C161D) + Ivory (#F4EADE) + Antique Gold (#8B6B2B)
   Zero Emojis · Luxury Icons Only · 1px Gold Card Borders
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand-burgundy:   #5C161D;
    --brand-burgundy-dark: #3D0F14;
    --brand-ivory:      #F4EADE;
    --brand-gold:       #8B6B2B;
    --brand-gold-dark:  #6B5020;
    --brand-gold-dim:   rgba(139,107,43,0.3);
    --brand-gold-glow:  rgba(139,107,43,0.15);
    --brand-white:      #FFFFFF;
    --brand-text:       #2C2C2C;
    --brand-text-dim:   rgba(44,44,44,0.6);
    --brand-green:      #2F5D50;
    --font-headline:    'Playfair Display', Georgia, serif;
    --font-body:        'Outfit', -apple-system, sans-serif;
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        16px;
    --radius-xl:        24px;
    --shadow-card:      0 4px 24px rgba(0,0,0,0.12);
    --shadow-gold:      0 0 20px rgba(139,107,43,0.15);
    --nav-height:       72px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--brand-ivory);
    color: var(--brand-text);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ── COVER SCREEN ──────────────────────────────────────── */
#cover-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: linear-gradient(160deg, #2D0A0E 0%, #3D0F14 35%, #5C161D 65%, #3D0F14 100%);
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start;
    padding: 48px 24px 32px; overflow-y: auto;
    animation: coverFadeIn .6s ease;
}

@keyframes coverFadeIn { from { opacity:0; } to { opacity:1; } }

#cover-screen.cover-exiting {
    animation: coverSlideOut .5s ease forwards;
}
@keyframes coverSlideOut {
    to { opacity:0; transform: translateY(-30px) scale(.97); }
}

/* Cover Particles */
.cover-particles {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.cover-particles .cp {
    position: absolute;
    width: 28px; height: 28px;
    object-fit: contain;
    opacity: 0.2;
    animation: particleFloat 18s linear infinite;
    filter: drop-shadow(0 0 4px rgba(139,107,43,0.3));
}
.cp1 { top: 8%; left: 12%; animation-delay: 0s; animation-duration: 22s; }
.cp2 { top: 15%; right: 15%; animation-delay: -3s; animation-duration: 18s; }
.cp3 { top: 35%; left: 8%; animation-delay: -6s; animation-duration: 20s; }
.cp4 { top: 50%; right: 10%; animation-delay: -9s; animation-duration: 16s; }
.cp5 { top: 65%; left: 20%; animation-delay: -12s; animation-duration: 24s; }
.cp6 { top: 75%; right: 20%; animation-delay: -15s; animation-duration: 19s; }
.cp7 { top: 85%; left: 10%; animation-delay: -4s; animation-duration: 21s; }
.cp8 { top: 25%; right: 8%; animation-delay: -8s; animation-duration: 17s; }

@keyframes particleFloat {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    25%  { transform: translateY(-20px) rotate(5deg); opacity: 0.3; }
    50%  { transform: translateY(-40px) rotate(-3deg); opacity: 0.15; }
    75%  { transform: translateY(-20px) rotate(4deg); opacity: 0.25; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
}

.cover-texture {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 30px,
        rgba(255,255,255,0.012) 30px, rgba(255,255,255,0.012) 31px
    );
}

/* Cover Top Badge */
.cover-top-badge {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 8px;
    font: 500 12px var(--font-body); letter-spacing: 2px; text-transform: uppercase;
    color: var(--brand-gold); margin-bottom: 20px;
}
.cover-badge-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--brand-gold); box-shadow: 0 0 6px var(--brand-gold);
}

/* Cover Emblem */
.cover-emblem {
    position: relative; z-index: 1;
    width: 90px; height: 90px; margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center;
}
.cover-emblem-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--brand-gold-dim); }
.cover-emblem-ring--outer { width: 100%; height: 100%; animation: emblemPulse 4s ease infinite; }
.cover-emblem-ring--inner { width: 72%; height: 72%; border-color: var(--brand-gold); }
.cover-emblem-core {
    width: 56px; height: 56px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,107,43,.15), transparent 70%);
    display: flex; align-items: center; justify-content: center;
}
.cover-emblem-icon-img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(139,107,43,.4)); border-radius: 50%; }
.cover-emblem-shimmer {
    position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(139,107,43,.25), transparent);
    animation: emblemSpin 6s linear infinite;
}
@keyframes emblemSpin { to { transform: rotate(360deg); } }
@keyframes emblemPulse { 0%,100% { transform:scale(1); opacity:.6; } 50% { transform:scale(1.06); opacity:1; } }

/* Cover Wordmark */
.cover-wordmark { position: relative; z-index: 1; text-align: center; margin-bottom: 28px; }
.cover-script {
    font: italic 400 16px var(--font-headline);
    color: rgba(255,255,255,.6); margin-bottom: 4px;
}
.cover-script--large { font-size: 18px; color: var(--brand-gold); margin-top: 8px; }
.cover-headline {
    font: 800 42px/1.1 var(--font-headline);
    color: var(--brand-white); text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.cover-headline em { font-style: italic; color: var(--brand-ivory); }

/* Main tagline */
.cover-empire-tagline {
    position: relative; z-index: 1;
    font: 400 14px var(--font-body); color: rgba(255,255,255,.6);
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.cover-empire-tagline em { font-style: italic; text-transform: none; color: rgba(255,255,255,.8); }

/* Cover Divider */
.cover-divider {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 12px; width: 60%; margin-bottom: 32px;
}
.cover-divider-line { flex: 1; height: 1px; background: var(--brand-gold-dim); }
.cover-divider-gem { color: var(--brand-gold); font-size: 10px; }

/* Cover Invite */
.cover-invite {
    position: relative; z-index: 1;
    text-align: center; margin-bottom: 20px;
}
.cover-invite-greeting {
    font: 600 20px var(--font-headline); color: var(--brand-white); margin-bottom: 4px;
}
.cover-invite-question {
    font: 400 15px var(--font-body); color: rgba(255,255,255,.7); margin-bottom: 12px;
}
.cover-invite-list {
    list-style: none; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.cover-invite-list li {
    font: 500 12px var(--font-body); color: var(--brand-gold);
    border: 1px solid var(--brand-gold-dim); border-radius: 20px;
    padding: 6px 14px; letter-spacing: 0.5px;
}
.cover-invite-then {
    font: italic 400 14px var(--font-headline); color: rgba(255,255,255,.4); margin-top: 12px;
}

/* Hub Cards — large vertical destination cards */
.cover-hub-cards {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 12px;
    width: 100%; max-width: 380px; margin-bottom: 20px;
}
.cover-hub-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-gold-dim);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 16px; display: flex; align-items: center; gap: 14px;
    transition: transform .2s, border-color .2s;
}
.cover-hub-card:hover { transform: translateY(-2px); border-color: var(--brand-gold); }
.cover-hub-card--featured { border-color: var(--brand-gold); box-shadow: var(--shadow-gold); }
.cover-hub-img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cover-hub-name { display: block; font: 600 15px var(--font-body); color: var(--brand-white); }
.cover-hub-desc { display: block; font: 400 12px var(--font-body); color: rgba(255,255,255,.55); margin-top: 2px; }
.cover-hub-star { display: inline-block; margin-top: 4px; font: 500 10px var(--font-body); color: var(--brand-gold); letter-spacing: 1px; }

/* Lagniappe card */
.cover-lagniappe-card {
    position: relative; z-index: 1;
    width: 100%; max-width: 380px;
    background: rgba(255,255,255,.03); border: 1px solid var(--brand-gold-dim);
    border-radius: var(--radius-md); padding: 16px; margin-bottom: 16px;
}
.lagniappe-card-inner { text-align: center; }
.lagniappe-card-badge {
    font: 500 11px var(--font-body); color: var(--brand-gold);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.lagniappe-item { display: flex; align-items: center; gap: 12px; text-align: left; }
.lagniappe-item-icon { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.lagniappe-item-body { flex: 1; }
.lagniappe-item-title { display: block; font: 600 14px var(--font-body); color: var(--brand-white); }
.lagniappe-item-desc { display: block; font: 400 12px var(--font-body); color: rgba(255,255,255,.55); }
.lagniappe-item-right { text-align: right; }
.lagniappe-price { display: block; font: 700 16px var(--font-body); color: var(--brand-gold); }
.lagniappe-link {
    display: inline-block; margin-top: 4px;
    font: 500 11px var(--font-body); color: var(--brand-gold);
    text-decoration: underline; text-underline-offset: 2px;
}
.lagniappe-card-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.lagniappe-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.25); cursor: pointer; transition: background .2s;
}
.lagniappe-dot.active { background: var(--brand-gold); }

/* Cover CTA */
.cover-cta-wrap { position: relative; z-index: 1; text-align: center; margin-bottom: 24px; }
.cover-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--brand-gold), #A47D3A);
    color: var(--brand-white); border: none; border-radius: var(--radius-xl);
    padding: 14px 32px; font: 600 16px var(--font-body);
    cursor: pointer; transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(139,107,43,.3);
}
.cover-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(139,107,43,.4); }
.cover-cta-icon-img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }
.cover-cta-text { font-weight: 600; }
.cover-cta-arrow { font-size: 18px; }
.cover-cta-hint { font: 400 12px var(--font-body); color: rgba(255,255,255,.45); margin-top: 8px; }

/* Cover Footer */
.cover-footer { position: relative; z-index: 1; text-align: center; margin-top: auto; padding-top: 16px; }
.cover-footer-brand { font: 500 12px var(--font-body); color: var(--brand-gold); letter-spacing: 1px; }
.cover-footer-sub { font: 400 11px var(--font-body); color: rgba(255,255,255,.35); margin-top: 4px; }

/* ── APP HEADER ────────────────────────────────────────── */
.app-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--brand-burgundy);
    padding: 12px 16px;
    box-shadow: 0 2px 12px rgba(92,22,29,.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon-img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }
.brand-text h1 { font: 600 16px var(--font-body); color: var(--brand-white); }
.brand-sub { font: 400 12px var(--font-body); color: rgba(255,255,255,.6); }
.credits-badge {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1); border: 1px solid var(--brand-gold-dim);
    border-radius: 20px; padding: 6px 12px;
    font: 500 13px var(--font-body); color: var(--brand-gold);
}
.credits-icon { border-radius: 50%; }

/* ── MAIN CONTENT ──────────────────────────────────────── */
.main-content {
    padding: 20px 16px; padding-bottom: calc(var(--nav-height) + 24px);
    max-width: 480px; margin: 0 auto;
}

/* Section Header */
.section-header { margin-bottom: 16px; }
.section-header h2 { font: 700 24px var(--font-headline); color: var(--brand-burgundy); }
.section-desc { font: 400 14px var(--font-body); color: var(--brand-text-dim); margin-top: 4px; }

/* Input Group */
.input-group { display: flex; flex-direction: column; gap: 12px; }
.input-group textarea {
    width: 100%; border: 1px solid var(--brand-gold);
    border-radius: var(--radius-md); padding: 14px;
    font: 400 15px var(--font-body); color: var(--brand-text);
    background: var(--brand-white); resize: none;
    transition: border-color .2s;
}
.input-group textarea:focus { outline: none; border-color: var(--brand-burgundy); box-shadow: 0 0 0 3px rgba(92,22,29,.1); }
.input-group textarea::placeholder { color: var(--brand-text-dim); }

/* Meal Prep Row */
.meal-prep-row {
    border: 1px solid var(--brand-gold-dim);
    border-radius: var(--radius-md); padding: 12px;
    background: linear-gradient(135deg, rgba(92,22,29,.06), rgba(139,107,43,.06));
    transition: border-color .2s, background .2s;
}
.meal-prep-toggle-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meal-prep-label { display: flex; align-items: center; gap: 10px; flex: 1; }
.meal-prep-icon-img { width: 22px; height: 22px; border-radius: 4px; }
.meal-prep-info strong { display: block; font: 600 14px var(--font-body); color: var(--brand-burgundy); }
.meal-prep-info span { font: 400 12px var(--font-body); color: var(--brand-text-dim); }

/* Toggle Switch */
.toggle-switch {
    width: 48px; height: 26px; border-radius: 13px;
    background: #ccc; border: none; cursor: pointer;
    position: relative; transition: background .2s;
}
.toggle-switch[aria-pressed="true"] { background: var(--brand-burgundy); }
.toggle-thumb {
    position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: white; transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-switch[aria-pressed="true"] .toggle-thumb { transform: translateX(22px); }

/* Input Options */
.input-options { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.voice-select { display: flex; align-items: center; gap: 6px; }
.voice-select label { font: 500 13px var(--font-body); color: var(--brand-text-dim); }
.voice-select select {
    font: 400 13px var(--font-body); padding: 6px 10px;
    border: 1px solid var(--brand-gold-dim); border-radius: var(--radius-sm);
    background: var(--brand-white); color: var(--brand-text);
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: none; border-radius: var(--radius-md); padding: 12px 20px;
    font: 600 14px var(--font-body); cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--brand-burgundy); color: var(--brand-white);
    box-shadow: 0 4px 12px rgba(92,22,29,.25);
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(92,22,29,.35); }
.btn-outline {
    background: transparent; color: var(--brand-burgundy);
    border: 1px solid var(--brand-gold);
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-icon-img { width: 20px; height: 20px; border-radius: 4px; }
.btn-loading {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.3); border-top-color: white;
    border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-cajun-cut {
    background: linear-gradient(135deg, var(--brand-burgundy), #7A1E27);
    color: var(--brand-white); box-shadow: 0 4px 12px rgba(92,22,29,.25);
}

/* ── RECIPE CARD ───────────────────────────────────────── */
.recipe-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-gold);
    border-radius: var(--radius-lg); padding: 20px;
    box-shadow: var(--shadow-card);
}
.recipe-header h3 { font: 700 22px var(--font-headline); color: var(--brand-burgundy); margin-bottom: 10px; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.meta-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font: 500 12px var(--font-body); color: var(--brand-text-dim);
    background: var(--brand-ivory); border: 1px solid var(--brand-gold-dim);
    border-radius: 20px; padding: 4px 10px;
}
.meta-icon { border-radius: 3px; vertical-align: middle; }
.meal-prep-badge { background: rgba(92,22,29,.08); color: var(--brand-burgundy); border-color: var(--brand-burgundy); }

.recipe-body { margin-bottom: 16px; }
.recipe-body h4 { font: 600 16px var(--font-body); color: var(--brand-burgundy); margin: 16px 0 8px; }
.recipe-body ul, .recipe-body ol { padding-left: 20px; margin-bottom: 12px; }
.recipe-body li { font: 400 14px/1.7 var(--font-body); color: var(--brand-text); margin-bottom: 4px; }

/* Meal Prep Section */
.meal-prep-section {
    border: 1px solid var(--brand-gold); border-radius: var(--radius-md);
    padding: 16px; margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(92,22,29,.04), rgba(139,107,43,.04));
}
.meal-prep-section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.meal-prep-section-header strong { font: 600 14px var(--font-body); color: var(--brand-burgundy); }
.meal-prep-section-header span { font: 400 12px var(--font-body); color: var(--brand-text-dim); display: block; }
.mp-section-icon { border-radius: 4px; }
.meal-prep-tips-list { list-style: disc; padding-left: 20px; }
.meal-prep-tips-list li { font: 400 13px/1.6 var(--font-body); color: var(--brand-text); margin-bottom: 4px; }

/* Voiceover Player */
.voiceover-player {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--brand-gold-dim); border-radius: var(--radius-md);
    padding: 12px; margin-bottom: 16px; background: var(--brand-ivory);
}
.player-label { font: 400 13px var(--font-body); color: var(--brand-text-dim); flex: 1; }
.player-icon { color: var(--brand-gold); }

/* Audio Wave */
.audio-wave { display: flex; align-items: center; gap: 2px; height: 24px; }
.wave-bar {
    width: 3px; height: 8px; background: var(--brand-gold-dim);
    border-radius: 2px; transition: height .3s;
}
.audio-wave.playing .wave-bar { animation: waveAnim .8s ease infinite alternate; background: var(--brand-burgundy); }
.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: .1s; }
.wave-bar:nth-child(3) { animation-delay: .2s; }
.wave-bar:nth-child(4) { animation-delay: .3s; }
.wave-bar:nth-child(5) { animation-delay: .4s; }
.wave-bar:nth-child(6) { animation-delay: .5s; }
.wave-bar:nth-child(7) { animation-delay: .6s; }
.wave-bar:nth-child(8) { animation-delay: .7s; }
.wave-bar:nth-child(9) { animation-delay: .8s; }
.wave-bar:nth-child(10) { animation-delay: .9s; }
.wave-bar:nth-child(11) { animation-delay: 1s; }
.wave-bar:nth-child(12) { animation-delay: 1.1s; }
@keyframes waveAnim { 0% { height: 6px; } 100% { height: 20px; } }

/* Recipe Action Grid */
.recipe-action-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.recipe-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    border: 1px solid var(--brand-gold); border-radius: var(--radius-md);
    padding: 12px 8px; background: var(--brand-white);
    cursor: pointer; transition: transform .15s, border-color .2s;
    text-align: center;
}
.recipe-action-btn:hover { transform: translateY(-2px); border-color: var(--brand-burgundy); }
.recipe-action-btn--primary { background: rgba(92,22,29,.05); border-color: var(--brand-burgundy); }
.action-btn-icon img { border-radius: 3px; }
.action-btn-label { font: 500 11px var(--font-body); color: var(--brand-text); }

/* Recipe Loading */
.recipe-loading-placeholder { display: flex; flex-direction: column; gap: 12px; }
.recipe-shimmer {
    height: 16px; background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
    background-size: 200% 100%; animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
.recipe-shimmer.short { width: 60%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── CAJUN CUT STUDIO ──────────────────────────────────── */
.studio-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-gold);
    border-radius: var(--radius-lg); padding: 20px;
    box-shadow: var(--shadow-card);
}
.studio-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.studio-title { display: flex; align-items: center; gap: 10px; }
.studio-title h3 { font: 700 18px var(--font-headline); color: var(--brand-burgundy); }
.studio-subtitle { font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.studio-icon-img { width: 28px; height: 28px; border-radius: 6px; }
.studio-close-btn { color: var(--brand-text-dim); }

/* Fork Screen */
.fork-screen { text-align: center; }
.fork-header h4 { font: 600 18px var(--font-body); color: var(--brand-burgundy); margin-bottom: 4px; }
.fork-header p { font: 400 13px var(--font-body); color: var(--brand-text-dim); margin-bottom: 16px; }
.fork-paths { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.fork-path-card {
    display: flex; align-items: center; gap: 12px; padding: 16px;
    border: 1px solid var(--brand-gold); border-radius: var(--radius-md);
    background: var(--brand-ivory); cursor: pointer; text-align: left;
    transition: transform .15s, border-color .2s;
}
.fork-path-card:hover { transform: translateY(-2px); border-color: var(--brand-burgundy); }
.fork-path-icon img { border-radius: 6px; }
.fork-path-body strong { display: block; font: 600 14px var(--font-body); color: var(--brand-text); }
.fork-path-body span { font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.fork-path-badge {
    font: 500 10px var(--font-body); color: var(--brand-gold);
    border: 1px solid var(--brand-gold-dim); border-radius: 12px; padding: 3px 8px;
    white-space: nowrap;
}
.fork-hint { font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.fork-back-btn {
    display: inline-block; margin-bottom: 12px;
    font: 500 13px var(--font-body); color: var(--brand-burgundy);
    background: none; border: none; cursor: pointer;
}

/* Clip Upload */
.clip-panel-header { margin-bottom: 12px; }
.clip-panel-title { display: flex; align-items: center; gap: 10px; }
.clip-panel-title img { border-radius: 4px; }
.clip-panel-title strong { font: 600 14px var(--font-body); color: var(--brand-text); }
.clip-panel-sub { font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.clip-strip { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0; margin-bottom: 12px; }
.clip-add-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 80px; height: 80px; border: 2px dashed var(--brand-gold-dim);
    border-radius: var(--radius-md); cursor: pointer;
    font: 500 12px var(--font-body); color: var(--brand-gold);
    transition: border-color .2s;
}
.clip-add-btn:hover { border-color: var(--brand-burgundy); }
.clip-add-icon { font-size: 24px; color: var(--brand-gold); }
.clip-thumbnails { display: flex; gap: 8px; }
.clip-thumb {
    position: relative; width: 80px; height: 80px; border-radius: var(--radius-sm);
    overflow: hidden; border: 1px solid var(--brand-gold-dim);
}
.clip-thumb-img, .clip-thumb-video { width: 100%; height: 100%; object-fit: cover; }
.clip-thumb-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    padding: 4px 6px; display: flex; align-items: center; justify-content: space-between;
}
.clip-thumb-name { font: 400 9px var(--font-body); color: white; }
.clip-thumb-remove { background: none; border: none; color: white; font-size: 12px; cursor: pointer; }
.clip-action-row { text-align: center; }
.clip-hint { font: 400 12px var(--font-body); color: var(--brand-text-dim); margin-top: 8px; }
.btn-generate-reel { display: inline-flex; }

/* AI Path Panel */
.ai-path-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ai-path-icon-img { border-radius: 6px; }
.ai-path-header strong { font: 600 14px var(--font-body); color: var(--brand-text); }
.ai-path-header span { font: 400 12px var(--font-body); color: var(--brand-text-dim); display: block; }

/* AI Generation Loading */
.ai-gen-loading { text-align: center; padding: 24px 0; }
.ai-gen-spinner { margin: 0 auto 16px; }
.ai-gen-ring {
    width: 48px; height: 48px; margin: 0 auto;
    border: 3px solid var(--brand-gold-dim); border-top-color: var(--brand-gold);
    border-radius: 50%; animation: spin 1s linear infinite;
}
.ai-gen-status { font: 500 14px var(--font-body); color: var(--brand-text); margin-bottom: 8px; }
.ai-gen-prompt-preview { font: italic 400 12px var(--font-body); color: var(--brand-text-dim); }

/* AI Photo Grid */
.ai-grid-label { font: 400 13px var(--font-body); color: var(--brand-text-dim); margin-bottom: 12px; }
.ai-grid-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ai-grid-item { cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--brand-gold-dim); }
.ai-grid-img-wrap { position: relative; aspect-ratio: 9/16; }
.ai-grid-img { width: 100%; height: 100%; object-fit: cover; }
.ai-grid-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.ai-grid-badge {
    font: 500 10px var(--font-body); color: var(--brand-gold);
    background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 10px;
}
.ai-grid-fallback { background: linear-gradient(135deg, var(--brand-burgundy), var(--brand-gold)); }
.ai-grid-hint { font: 400 11px var(--font-body); color: var(--brand-text-dim); text-align: center; }

/* AI Lightbox */
.ai-lightbox {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center;
}
.ai-lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.ai-lightbox-inner img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-md); }
.ai-lightbox-close {
    position: absolute; top: -12px; right: -12px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand-burgundy); color: white;
    border: none; font-size: 16px; cursor: pointer;
}

/* Progress Steps */
.cut-progress {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 16px; padding: 12px 0;
}
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.step-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--brand-gold-dim); transition: background .3s;
}
.progress-step.active .step-dot { background: var(--brand-burgundy); animation: pulse .8s infinite; }
.progress-step.done .step-dot { background: var(--brand-gold); }
.progress-step span { font: 400 10px var(--font-body); color: var(--brand-text-dim); }
.progress-line { width: 24px; height: 2px; background: var(--brand-gold-dim); margin-bottom: 16px; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* Generation Status */
.generation-status { text-align: center; padding: 24px 0; }
.status-spinner { margin-bottom: 16px; }
.spinner-ring {
    width: 56px; height: 56px; margin: 0 auto;
    border: 3px solid var(--brand-gold-dim); border-top-color: var(--brand-burgundy);
    border-radius: 50%; animation: spin 1s linear infinite;
}
.generation-status h4 { font: 600 16px var(--font-body); color: var(--brand-text); margin-bottom: 4px; }
.generation-status p { font: 400 13px var(--font-body); color: var(--brand-text-dim); }
.status-bar {
    width: 100%; max-width: 240px; height: 6px; margin: 12px auto;
    background: var(--brand-gold-dim); border-radius: 3px; overflow: hidden;
}
.status-bar-fill { height: 100%; background: var(--brand-burgundy); border-radius: 3px; transition: width .5s; }
.status-percent { font: 500 12px var(--font-body); color: var(--brand-gold); }

/* Reel Preview */
.reel-preview { text-align: center; }
.reel-container { margin-bottom: 16px; }
.canvas-reel-wrap { position: relative; max-width: 300px; margin: 0 auto; }
.canvas-reel-wrap canvas { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--brand-gold); }
.reel-overlay-brand {
    position: absolute; top: 8px; left: 8px; right: 8px;
    display: flex; justify-content: space-between; align-items: center;
}
.reel-overlay-logo { font: 600 12px var(--font-body); color: var(--brand-gold); text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.reel-overlay-play {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0,0,0,.4); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; cursor: pointer;
}
.ai-visuals-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,.6); border-radius: var(--radius-md);
}
.ai-visuals-ring {
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,.2); border-top-color: var(--brand-gold);
    border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 8px;
}
.ai-visuals-text { font: 400 12px var(--font-body); color: rgba(255,255,255,.7); }

/* AI Reel / Photo Grid */
.ai-reel-wrap { position: relative; max-width: 300px; margin: 0 auto; }
.photo-grid-reel {
    position: relative; aspect-ratio: 9/16;
    border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--brand-gold);
}
.photo-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100%; }
.grid-cell { overflow: hidden; }
.grid-img { width: 100%; height: 100%; object-fit: cover; }
.grid-color-grade { position: absolute; inset: 0; background: rgba(232,116,42,.08); pointer-events: none; }
.grid-vignette {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.4) 100%);
}
.grid-text-overlay {
    position: absolute; bottom: 60px; left: 0; right: 0; padding: 16px;
    text-align: center; animation: textFadeIn .5s ease;
}
@keyframes textFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.grid-brand-tag { font: 500 10px var(--font-body); color: var(--brand-gold); letter-spacing: 3px; margin-bottom: 4px; }
.grid-headline { font: 700 18px var(--font-headline); color: white; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.grid-sub { font: 400 12px var(--font-body); color: rgba(255,255,255,.8); margin-top: 4px; }
.grid-bottom-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.grid-bottom-brand { font: 500 10px var(--font-body); color: var(--brand-gold); }
.grid-slide-dots { display: flex; gap: 4px; }
.photo-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(255,255,255,.3); cursor: pointer;
}
.photo-dot-active { background: var(--brand-gold); }

/* Clip Reel */
.clip-reel-wrap { position: relative; max-width: 300px; margin: 0 auto; aspect-ratio: 9/16; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--brand-gold); }
.clip-reel-wrap video { width: 100%; height: 100%; object-fit: cover; }
.clip-reel-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.clip-reel-title { font: 600 16px var(--font-body); color: white; }
.clip-reel-badge { font: 400 11px var(--font-body); color: var(--brand-gold); margin-top: 4px; }

/* Reel Info & Actions */
.reel-info { margin-bottom: 12px; }
.reel-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 8px; }
.reel-badge {
    font: 500 10px var(--font-body); color: var(--brand-gold);
    border: 1px solid var(--brand-gold-dim); border-radius: 12px; padding: 3px 8px;
}
.meal-prep-reel-badge { background: rgba(92,22,29,.08); color: var(--brand-burgundy); border-color: var(--brand-burgundy); }
.path-badge { background: rgba(139,107,43,.08); }
.reel-info h4 { font: 600 16px var(--font-body); color: var(--brand-text); }
.reel-desc { font: 400 13px var(--font-body); color: var(--brand-text-dim); }
.reel-actions { display: flex; gap: 8px; justify-content: center; }

/* Style Info */
.style-info { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.style-card {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border: 1px solid var(--brand-gold); border-radius: var(--radius-md);
    background: var(--brand-ivory);
}
.style-swatch { width: 36px; height: 36px; border-radius: var(--radius-sm); flex-shrink: 0; }
.lagniappe-swatch { background: linear-gradient(135deg, #E8742A, #F4A261, #FFD4A0); }
.font-swatch {
    display: flex; align-items: center; justify-content: center;
    font: italic 600 16px var(--font-headline); color: var(--brand-burgundy);
    background: var(--brand-white); border: 1px solid var(--brand-gold-dim);
}
.style-details strong { display: block; font: 600 13px var(--font-body); color: var(--brand-text); }
.style-details span { font: 400 11px var(--font-body); color: var(--brand-text-dim); }

/* ── LIBRARY PAGE (Grandma's Table) ────────────────────── */
.library-page { }
.library-header { text-align: center; margin-bottom: 20px; }
.library-header-icon { border-radius: 6px; margin-bottom: 8px; }
.library-header h2 { font: 700 24px var(--font-headline); color: var(--brand-burgundy); }
.library-desc { font: 400 14px var(--font-body); color: var(--brand-text-dim); }
.library-list { display: flex; flex-direction: column; gap: 10px; }
.library-item {
    padding: 14px; border: 1px solid var(--brand-gold);
    border-radius: var(--radius-md); background: var(--brand-white);
}
.library-item-title { display: block; font: 600 14px var(--font-body); color: var(--brand-text); }
.library-item-meta { font: 400 12px var(--font-body); color: var(--brand-text-dim); margin-top: 4px; display: block; }
.library-item-date { font: 400 11px var(--font-body); color: var(--brand-text-dim); display: block; margin-top: 2px; }
.library-empty { text-align: center; padding: 40px 20px; }
.library-empty-icon-img { border-radius: 8px; margin-bottom: 12px; }
.library-empty h3 { font: 600 18px var(--font-body); color: var(--brand-text); margin-bottom: 6px; }
.library-empty p { font: 400 14px var(--font-body); color: var(--brand-text-dim); margin-bottom: 16px; }

/* ── ME PAGE ───────────────────────────────────────────── */
.me-page { }
.me-header { text-align: center; margin-bottom: 20px; }
.me-avatar { margin-bottom: 10px; }
.me-avatar-icon-img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand-gold); }
.me-header h2 { font: 700 20px var(--font-headline); color: var(--brand-burgundy); }
.me-email { font: 400 13px var(--font-body); color: var(--brand-text-dim); }
.me-card {
    border: 1px solid var(--brand-gold); border-radius: var(--radius-md);
    padding: 16px; margin-bottom: 12px; background: var(--brand-white);
}
.me-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.me-card-header strong { font: 600 14px var(--font-body); color: var(--brand-burgundy); }
.me-card-icon { border-radius: 50%; }
.me-credits-display { text-align: center; margin: 8px 0; }
.me-credits-number { font: 700 36px var(--font-headline); color: var(--brand-burgundy); }
.me-credits-label { display: block; font: 400 13px var(--font-body); color: var(--brand-text-dim); }
.me-credits-note { font: 400 12px var(--font-body); color: var(--brand-text-dim); text-align: center; }
.me-shop-btn {
    display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;
}
.me-shop-icon-img { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; }
.me-shop-text { flex: 1; }
.me-shop-text strong { display: block; font: 600 14px var(--font-body); color: var(--brand-text); }
.me-shop-text span { font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.me-shop-arrow { font-size: 18px; color: var(--brand-gold); }
.me-stats-card { display: flex; gap: 16px; justify-content: center; }
.me-stat { text-align: center; flex: 1; }
.me-stat-value { display: block; font: 700 24px var(--font-headline); color: var(--brand-burgundy); }
.me-stat-label { font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.me-brand-card { display: flex; align-items: center; gap: 12px; }
.me-brand-logo-img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--brand-gold); }
.me-brand-info strong { display: block; font: 600 14px var(--font-body); color: var(--brand-text); }
.me-brand-info span { display: block; font: 400 12px var(--font-body); color: var(--brand-text-dim); }
.me-brand-version { font: 400 11px var(--font-body); color: var(--brand-gold); }

/* ── PANTRY PAGE ───────────────────────────────────────── */
.pantry-page { }
.pantry-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pantry-header-icon { width: 28px; height: 28px; border-radius: 6px; }
.pantry-header-text h2 { font: 700 24px var(--font-headline); color: var(--brand-green); }
.pantry-desc { font: 400 14px var(--font-body); color: var(--brand-text-dim); }
.pantry-empty { text-align: center; padding: 40px 20px; }
.pantry-empty-icon { border-radius: 8px; margin-bottom: 12px; }
.pantry-empty h3 { font: 600 18px var(--font-body); color: var(--brand-text); margin-bottom: 6px; }
.pantry-empty p { font: 400 14px var(--font-body); color: var(--brand-text-dim); margin-bottom: 16px; }
.pantry-count-bar {
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
    padding: 10px 14px; background: rgba(47,93,80,.06);
    border: 1px solid rgba(47,93,80,.2); border-radius: var(--radius-md);
}
.pantry-count { font: 700 16px var(--font-body); color: var(--brand-green); }
.pantry-count-label { font: 400 13px var(--font-body); color: var(--brand-text-dim); }
.pantry-list { list-style: none; margin-bottom: 16px; }
.pantry-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-bottom: 1px solid rgba(139,107,43,.15);
}
.pantry-item-label { display: flex; align-items: center; gap: 10px; flex: 1; }
.pantry-checkbox { accent-color: var(--brand-green); width: 18px; height: 18px; }
.pantry-item-pill { font: 400 14px var(--font-body); color: var(--brand-text); transition: opacity .2s; }
.pantry-item-checked { opacity: .4; text-decoration: line-through; }
.pantry-item-remove { background: none; border: none; color: var(--brand-text-dim); font-size: 14px; cursor: pointer; padding: 4px; }
.pantry-action-row { display: flex; gap: 10px; margin-bottom: 16px; }
.pantry-btn { flex: 1; justify-content: center; }
.pantry-btn-icon { font-size: 14px; }
.pantry-tip-card {
    display: flex; align-items: flex-start; gap: 10px;
    border: 1px solid rgba(47,93,80,.2); border-radius: var(--radius-md);
    padding: 12px; background: rgba(47,93,80,.04);
}
.pantry-tip-icon { border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
.pantry-tip-card p { font: 400 13px/1.5 var(--font-body); color: var(--brand-text-dim); }

/* ── BOTTOM NAV ────────────────────────────────────────── */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-height);
    background: var(--brand-burgundy);
    display: flex; align-items: center; justify-content: space-around;
    padding: 0 8px;
    box-shadow: 0 -2px 12px rgba(92,22,29,.3);
    border-top: 1px solid rgba(139,107,43,.3);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: none; cursor: pointer; padding: 8px 6px;
    transition: opacity .2s;
}
.nav-item small { font: 500 10px var(--font-body); color: rgba(255,255,255,.6); }
.nav-item.active small { color: var(--brand-gold); }
.nav-icon { width: 24px; height: 24px; border-radius: 4px; opacity: .6; transition: opacity .2s; }
.nav-item.active .nav-icon { opacity: 1; }

/* ── TOAST ─────────────────────────────────────────────── */
.toast {
    position: fixed; bottom: calc(var(--nav-height) + 16px);
    left: 50%; transform: translateX(-50%);
    background: var(--brand-burgundy); color: var(--brand-white);
    padding: 12px 20px; border-radius: var(--radius-xl);
    font: 500 13px var(--font-body);
    box-shadow: 0 4px 16px rgba(92,22,29,.3);
    animation: toastIn .3s ease;
    z-index: 9999; max-width: 90vw; text-align: center;
}
.toast--action { display: flex; align-items: center; gap: 12px; }
.toast-link { color: var(--brand-gold); cursor: pointer; text-decoration: underline; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }


/* v1.8.3: Now Open badge positioned top-left of card */
.cover-hub-card { position: relative; }
.cover-hub-star--topleft {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(139,107,43,0.15);
    border: 1px solid var(--brand-gold);
    border-radius: 12px;
    padding: 2px 10px;
    font: 600 10px var(--font-body);
    color: var(--brand-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* v1.8.3: Lagniappe credits card large text */
.lagniappe-item-title[style*="font-size:28px"] {
    line-height: 1.2;
}

/* ══════════════════════════════════════════════════════════
   THE FRONT PORCH — COMMUNITY BOARD (v1.9.1)
   Quiet Luxury: Burgundy cards · Gold trim · Ivory text
   ══════════════════════════════════════════════════════════ */

/* Page wrapper */
.front-porch-page {
    padding: 20px 16px 24px;
}

/* Header */
.front-porch-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brand-gold-dim);
}

.front-porch-header h2 {
    font: 700 28px/1.2 var(--font-headline);
    color: var(--brand-burgundy);
    margin-bottom: 4px;
}

.front-porch-subtitle {
    font: 400 13px var(--font-body);
    color: var(--brand-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* New Post action row */
.front-porch-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.fp-new-post-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-burgundy);
    color: var(--brand-ivory);
    border: 1px solid var(--brand-gold);
    border-radius: var(--radius-xl);
    padding: 10px 22px;
    font: 600 14px var(--font-body);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 10px rgba(92,22,29,.2);
}

.fp-new-post-btn:hover,
.fp-new-post-btn:active {
    background: var(--brand-burgundy-dark);
    box-shadow: 0 4px 16px rgba(139,107,43,.25);
}

/* Post feed */
.front-porch-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual post card */
.fp-post-card {
    background: var(--brand-burgundy);
    border: 1px solid rgba(139,107,43,.35);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s;
}

.fp-post-card:hover {
    box-shadow: 0 6px 28px rgba(139,107,43,.18);
}

/* Post header row */
.fp-post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.fp-post-author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar initial circle */
.fp-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139,107,43,.25);
    border: 1px solid rgba(139,107,43,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 16px var(--font-headline);
    color: var(--brand-gold);
    flex-shrink: 0;
}

.fp-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-post-author-name {
    font: 600 14px var(--font-body);
    color: var(--brand-ivory);
}

.fp-post-handle {
    font: 400 11px var(--font-body);
    color: rgba(244,234,222,.5);
}

/* Right-side meta: badge + time */
.fp-post-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.fp-post-badge {
    font: 600 9px var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-gold);
    background: rgba(139,107,43,.15);
    border: 1px solid rgba(139,107,43,.4);
    border-radius: 10px;
    padding: 2px 8px;
}

.fp-post-time {
    font: 400 11px var(--font-body);
    color: rgba(244,234,222,.45);
}

/* Post body */
.fp-post-body {
    font: 400 14px/1.65 var(--font-body);
    color: var(--brand-ivory);
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(139,107,43,.2);
}

/* Post action buttons */
.fp-post-actions {
    display: flex;
    gap: 8px;
}

.fp-action-btn {
    background: rgba(139,107,43,.12);
    border: 1px solid rgba(139,107,43,.3);
    border-radius: var(--radius-xl);
    color: rgba(244,234,222,.75);
    font: 500 12px var(--font-body);
    padding: 5px 16px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.fp-action-btn:hover,
.fp-action-btn:active {
    background: rgba(139,107,43,.25);
    color: var(--brand-gold);
}

/* ============================================================
   TALKING PORCH — v2.0.4 (merged into Hub v2.1.0)
   Porch-specific styles scoped away from Hub palette
   ============================================================ */

/* Porch page: full-screen overlay when active */
#page-porch {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Scene Container */
.porch-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: var(--brand-ivory);
}

/* Swamp Background */
.swamp-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://static.prod-images.emergentagent.com/jobs/482c3ac1-c51c-432b-ab46-664cba34d086/images/8d3bb4767d660a25dbb7f995da70e4bb3034141ee6b16c60fb08640f93dfa18c.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.swamp-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--porch-ambient-overlay, rgba(255, 200, 100, 0.05));
  z-index: 1;
  transition: background 2s ease;
}

/* Fireflies */
.fireflies {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: var(--porch-firefly-opacity, 0);
  transition: opacity 3s ease;
}
.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #ffffaa 0%, transparent 70%);
  border-radius: 50%;
  animation: fireflyFloat 6s ease-in-out infinite;
}
.firefly:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s;    animation-duration: 5s; }
.firefly:nth-child(2) { top: 35%; left: 80%; animation-delay: 1.2s;  animation-duration: 7s; }
.firefly:nth-child(3) { top: 50%; left: 25%; animation-delay: 2.4s;  animation-duration: 6s; }
.firefly:nth-child(4) { top: 15%; left: 60%; animation-delay: 0.8s;  animation-duration: 8s; }
.firefly:nth-child(5) { top: 40%; left: 45%; animation-delay: 3s;    animation-duration: 5.5s; }
.firefly:nth-child(6) { top: 55%; left: 70%; animation-delay: 1.5s;  animation-duration: 6.5s; }
.firefly:nth-child(7) { top: 25%; left: 35%; animation-delay: 4s;    animation-duration: 7.5s; }
.firefly:nth-child(8) { top: 45%; left: 90%; animation-delay: 2s;    animation-duration: 5.8s; }

@keyframes fireflyFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  25%       { opacity: 1; }
  50%       { transform: translate(15px, -20px) scale(1.5); opacity: 0.8; }
  75%       { opacity: 1; }
}

/* Porch Frame */
.porch-frame {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 55%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Porch railing */
.porch-railing {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3d2510 0%, #6b4226 20%, #8B5E3C 50%, #6b4226 80%, #3d2510 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,200,100,0.1);
}
.porch-railing::before,
.porch-railing::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 12px; height: 60px;
  background: linear-gradient(180deg, #6b4226 0%, #4a2d14 100%);
  border-radius: 2px;
}
.porch-railing::before { left: 8%; }
.porch-railing::after  { right: 8%; }

/* Porch floor */
.porch-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 80px),
    linear-gradient(180deg, #5C3A1E 0%, #4A2D14 30%, #3D2510 100%);
  border-top: 3px solid #6b4226;
  box-shadow: inset 0 5px 15px rgba(0,0,0,0.4);
}
.porch-floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(92deg, transparent, transparent 40px, rgba(139,94,60,0.1) 40px, rgba(139,94,60,0.1) 42px);
  opacity: 0.5;
}

/* Bayou Belle Hostess */
.hostess {
  position: absolute;
  bottom: 8%; right: 4%;
  z-index: 15;
  text-align: center;
}
video.hostess-avatar {
  display: block;
  width: 340px;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(-4px 0 18px rgba(0,0,0,0.55));
  pointer-events: none;
  user-select: none;
  border-radius: 4px;
}
.hostess-label {
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  opacity: 0.8;
}

/* The Three Doors */
.doors-container {
  position: relative;
  z-index: 20;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.door {
  position: relative;
  width: 140px; height: 220px;
  background: linear-gradient(180deg, #4a2d14 0%, #3D2510 40%, #2a1a0e 100%);
  border: 3px solid var(--brand-gold-dark, var(--brand-gold));
  border-radius: 60px 60px 4px 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brand-ivory);
  background-color: transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,200,100,0.08), inset 0 -5px 15px rgba(0,0,0,0.3);
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.door::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(139, 107, 43, 0.2);
  border-radius: 55px 55px 2px 2px;
  pointer-events: none;
}
.door::after {
  content: '';
  position: absolute;
  top: 20%; left: 15%; right: 15%; bottom: 30%;
  border: 1px solid rgba(139, 107, 43, 0.15);
  border-radius: 30px 30px 2px 2px;
}
.door-knob {
  position: absolute;
  right: 15px; top: 55%;
  width: 12px; height: 12px;
  background: radial-gradient(circle at 35% 35%, #D4A843, var(--brand-gold));
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.door:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--brand-gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 30px rgba(139,107,43,0.2), inset 0 1px 0 rgba(255,200,100,0.15);
}
.door:hover .door-knob {
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.6);
}
.door:active { transform: translateY(-4px) scale(1.01); }
.door-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.door-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-ivory);
  text-align: center;
  position: relative; z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.door-sublabel {
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: var(--brand-gold);
  margin-top: 6px;
  opacity: 0.7;
  position: relative; z-index: 2;
}

/* Welcome Bar */
.welcome-bar {
  position: absolute;
  top: 5%; left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
}
.welcome-brand {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--brand-ivory);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.welcome-tagline {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-top: 6px;
  opacity: 0.8;
}

/* Time indicator */
.time-indicator {
  position: absolute;
  top: 12px; right: 16px;
  z-index: 25;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(244, 234, 222, 0.4);
}

/* Sound On / Unmute Button */
.sound-on-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px auto 0;
  padding: 10px 20px;
  background: var(--brand-burgundy);
  border: 1.5px solid var(--brand-gold);
  border-radius: 40px;
  color: var(--brand-ivory);
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: all;
  transition: opacity 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(92,22,29,0.5), 0 0 0 1px rgba(139,107,43,0.15);
}
.sound-on-btn:hover {
  box-shadow: 0 6px 24px rgba(92,22,29,0.7), 0 0 12px rgba(139,107,43,0.3);
  transform: translateY(-1px);
}
.sound-on-btn:active { transform: translateY(0); }
.sound-on-icon { font-size: 1rem; line-height: 1; }
.sound-on-text { font-weight: 600; }
.sound-on-btn--hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .doors-container { gap: 12px; padding: 12px; }
  .door { width: 100px; height: 170px; }
  .door-icon { font-size: 1.5rem; }
  .door-label { font-size: 0.7rem; }
  .hostess { right: 1%; bottom: 4%; }
  video.hostess-avatar { width: 200px; }
  .welcome-brand { font-size: 1.2rem; letter-spacing: 4px; }
  .sound-on-btn { font-size: 0.68rem; padding: 8px 14px; letter-spacing: 1.5px; }
}
@media (max-width: 480px) {
  .doors-container { flex-direction: column; gap: 16px; }
  .door { width: 200px; height: 100px; border-radius: 12px; flex-direction: row; gap: 12px; }
  .door::before { border-radius: 8px; }
  .door::after  { display: none; }
  .door-knob    { top: auto; bottom: 12px; right: 12px; }
  video.hostess-avatar { width: 160px; max-height: 50vh; }
  .sound-on-btn { font-size: 0.65rem; padding: 7px 12px; }
}


/* ================================================================
   BAYOULAND 1.0 — Interactive Map Styles
   8 Landmarks · Passport · Seasonal Engine · Quiet Luxury
   Deep Green + Burgundy + Gold + Ivory
   ================================================================ */

/* ── Scene ──────────────────────────────────────────────── */
.bayouland-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--brand-ivory);
    overflow: hidden;
}

/* ── Seasonal Engine: Atmosphere Overlay ────────────────── */
.bayouland-atmo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: background 1.2s ease;
}

/* Default — deep bayou green */
.season-default .bayouland-atmo {
    background:
        linear-gradient(180deg, rgba(8,22,14,0.74) 0%, rgba(8,22,14,0.22) 40%, transparent 65%),
        radial-gradient(ellipse 80% 45% at 50% 100%, rgba(47,93,80,0.28) 0%, transparent 70%),
        linear-gradient(0deg, rgba(8,22,14,0.52) 0%, transparent 28%);
}

/* Mardi Gras — purple & gold atmosphere */
.season-mardi-gras .bayouland-atmo {
    background:
        linear-gradient(180deg, rgba(22,8,40,0.76) 0%, rgba(18,6,32,0.22) 40%, transparent 65%),
        radial-gradient(ellipse 80% 45% at 50% 100%, rgba(120,45,160,0.22) 0%, transparent 70%),
        linear-gradient(0deg, rgba(22,8,40,0.55) 0%, transparent 28%);
}
.season-mardi-gras .bayouland-title { color: #F8E04A; text-shadow: 0 0 30px rgba(248,224,74,0.4), 0 2px 20px rgba(0,0,0,0.7); }
.season-mardi-gras .bayouland-subtitle { color: #B87FD4; }
.season-mardi-gras .bayouland-divider-gem { color: #B87FD4; }
.season-mardi-gras .bwb-text { color: rgba(248,224,74,0.7); }

/* Crawfish Season — warm red-orange */
.season-crawfish .bayouland-atmo {
    background:
        linear-gradient(180deg, rgba(40,10,8,0.74) 0%, rgba(32,8,5,0.22) 40%, transparent 65%),
        radial-gradient(ellipse 80% 45% at 50% 100%, rgba(160,40,20,0.22) 0%, transparent 70%),
        linear-gradient(0deg, rgba(40,10,8,0.52) 0%, transparent 28%);
}
.season-crawfish .bayouland-title { text-shadow: 0 2px 24px rgba(0,0,0,0.75), 0 0 40px rgba(200,60,30,0.2); }
.season-crawfish .bayouland-subtitle { color: #E07050; }
.season-crawfish .bwb-text { color: rgba(220,80,50,0.7); }

/* Fall Bayou — amber-brown */
.season-fall .bayouland-atmo {
    background:
        linear-gradient(180deg, rgba(30,18,5,0.74) 0%, rgba(22,12,3,0.22) 40%, transparent 65%),
        radial-gradient(ellipse 80% 45% at 50% 100%, rgba(120,70,15,0.25) 0%, transparent 70%),
        linear-gradient(0deg, rgba(30,18,5,0.52) 0%, transparent 28%);
}
.season-fall .bayouland-subtitle { color: #C89040; }
.season-fall .bwb-text { color: rgba(200,144,64,0.7); }

/* ── Header ──────────────────────────────────────────────── */
.bayouland-header {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 16px 20px 4px;
    width: 100%;
}

.bayouland-eyebrow {
    font: italic 400 12px var(--font-headline);
    color: rgba(244,234,222,0.5);
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.bayouland-title {
    font: 800 38px/1 var(--font-headline);
    color: var(--brand-ivory);
    letter-spacing: 5px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.75), 0 0 44px rgba(139,107,43,0.22);
    margin-bottom: 4px;
    transition: color 0.8s, text-shadow 0.8s;
}

.bayouland-subtitle {
    font: 500 9.5px var(--font-body);
    color: var(--brand-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: color 0.8s;
}

.bayouland-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 42%;
    margin: 0 auto;
}

.bayouland-divider-line { flex: 1; height: 1px; background: var(--brand-gold-dim); }
.bayouland-divider-gem  { color: var(--brand-gold); font-size: 7px; transition: color 0.8s; }

/* ── Water Bar (decorative accent) ───────────────────────── */
.bl-water-bar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 70%;
    max-width: 320px;
    margin: 4px auto 6px;
}

.bwb-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47,93,80,0.5), transparent);
}

.bwb-ripple-wrap {
    position: relative;
    width: 110px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bwb-text {
    position: relative;
    z-index: 2;
    font: italic 400 9px var(--font-headline);
    color: rgba(139,107,43,0.65);
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: color 0.8s;
}

.water-ring {
    position: absolute;
    border-radius: 50%;
    animation: waterRipple 3.5s ease-out infinite;
    pointer-events: none;
}
.wring-1 { width: 20px; height: 20px; border: 1px solid rgba(139,107,43,0.5); animation-delay: 0s; }
.wring-2 { width: 38px; height: 38px; border: 1px solid rgba(47,93,80,0.4);   animation-delay: 1s; }

@keyframes waterRipple {
    0%   { transform: scale(0.7); opacity: 0.9; }
    60%  { opacity: 0.35; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ── Map Grid — 4 cols tablet / 2 cols mobile ────────────── */
.bayouland-map {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 560px;
    padding: 0 12px 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Landmark Card ──────────────────────────────────────── */
.map-landmark {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px 9px;
    background: rgba(8,18,12,0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--brand-gold-dim);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition:
        transform 0.26s cubic-bezier(0.25,0.8,0.25,1),
        border-color 0.26s,
        box-shadow 0.26s,
        background 0.26s;
    color: var(--brand-ivory);
    text-align: center;
    min-height: 80px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-body);
}

.map-landmark:hover,
.map-landmark:focus-visible {
    transform: translateY(-5px) scale(1.035);
    border-color: var(--brand-gold);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.52),
        0 0 20px rgba(139,107,43,0.26),
        inset 0 1px 0 rgba(139,107,43,0.14);
    background: rgba(14,28,20,0.72);
    outline: none;
}

.map-landmark:active {
    transform: translateY(-1px) scale(0.99);
    transition-duration: 0.1s;
}

/* ── Icon Circle ────────────────────────────────────────── */
.ml-icon {
    position: relative;
    z-index: 2;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(139,107,43,0.14);
    border: 1px solid rgba(139,107,43,0.36);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.26s, border-color 0.26s;
}

.ml-icon img {
    width: 22px; height: 22px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45));
}

.map-landmark:hover .ml-icon { background: rgba(139,107,43,0.26); border-color: rgba(139,107,43,0.62); }

/* Color-coded icon variants */
.ml-icon--red     { background: rgba(160,30,30,0.18); border-color: rgba(160,30,30,0.45); }
.ml-icon--green   { background: rgba(47,93,80,0.18);  border-color: rgba(47,93,80,0.5); }
.ml-icon--amber   { background: rgba(140,90,20,0.18); border-color: rgba(140,90,20,0.45); }
.ml-icon--forest  { background: rgba(28,68,28,0.22);  border-color: rgba(28,68,28,0.55); }
.ml-icon--purple  { background: rgba(90,30,130,0.22); border-color: rgba(90,30,130,0.5); }
.ml-icon--gold    { background: rgba(139,107,43,0.22); border-color: rgba(139,107,43,0.58); }
.ml-icon--burgundy{ background: rgba(92,22,29,0.22);  border-color: rgba(92,22,29,0.5); }

/* Dim variant for coming-soon landmarks */
.ml-icon--dim { opacity: 0.45; filter: grayscale(0.55); }

/* Image tint filters per landmark */
.ml-gator  .ml-icon img   { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) hue-rotate(335deg) saturate(1.2); }
.ml-market .ml-icon img   { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) hue-rotate(100deg) saturate(0.9); }
.ml-story  .ml-icon img   { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) sepia(0.5) saturate(0.8); }
.ml-trapping .ml-icon img { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) hue-rotate(85deg) saturate(0.75); }
.ml-mardigras .ml-icon img{ filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) hue-rotate(260deg) saturate(0.9); }

/* ── Labels ──────────────────────────────────────────────── */
.ml-name {
    position: relative; z-index: 2;
    font: 600 10px/1.25 var(--font-body);
    color: var(--brand-ivory);
    letter-spacing: 0.3px;
}

.ml-sub {
    position: relative; z-index: 2;
    font: 400 8.5px var(--font-body);
    color: var(--brand-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ml-sub--soon {
    color: rgba(244,234,222,0.32);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.4px;
}

/* ── Glow Overlay ────────────────────────────────────────── */
.ml-glow {
    position: absolute; inset: 0;
    border-radius: var(--radius-md);
    background: radial-gradient(ellipse at center, rgba(139,107,43,0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; z-index: 0;
}
.map-landmark:hover .ml-glow { opacity: 1; }
.ml-glow--dim { background: radial-gradient(ellipse at center, rgba(139,107,43,0.05), transparent 70%); }

/* ── Pulse Dot ───────────────────────────────────────────── */
.ml-pulse {
    position: absolute; top: 8px; right: 8px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 6px rgba(139,107,43,0.85);
    animation: landmarkPulse 2.8s ease infinite;
    z-index: 5;
}
.ml-pulse--red   { background: #B83232; box-shadow: 0 0 6px rgba(184,50,50,0.8); animation-delay: 0.3s; }
.ml-pulse--green { background: var(--brand-green); box-shadow: 0 0 6px rgba(47,93,80,0.85); animation-delay: 0.7s; }
.ml-pulse--gold  { background: #C8993A; box-shadow: 0 0 6px rgba(200,153,58,0.8); animation-delay: 0.5s; }
.ml-pulse--dim   { background: rgba(244,234,222,0.18); box-shadow: none; animation: none; }

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

/* Coming-soon landmarks slightly dimmed */
.ml-faisdodo, .ml-story, .ml-trapping, .ml-mardigras { opacity: 0.78; }
.ml-faisdodo:hover, .ml-story:hover, .ml-trapping:hover, .ml-mardigras:hover { opacity: 1; }

/* ── Bayouland Passport Widget ──────────────────────────── */
.bl-passport {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 24px);
    max-width: 536px;
    margin: 8px auto 0;
    padding: 9px 14px;
    background: rgba(8,16,10,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--brand-gold-dim);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.bl-passport-left {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.bl-passport-icon {
    color: var(--brand-gold);
    opacity: 0.85;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.bl-passport-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bl-passport-label {
    font: 500 7.5px var(--font-body);
    color: rgba(244,234,222,0.45);
    letter-spacing: 1.8px;
}

.bl-passport-status {
    font: 600 12px var(--font-headline);
    color: var(--brand-ivory);
    letter-spacing: 0.5px;
    transition: color 0.4s;
}

/* Status color progression */
.passport-status--explorer .bl-passport-status { color: #7EC8B0; }
.passport-status--local    .bl-passport-status { color: #C8993A; }
.passport-status--boss     .bl-passport-status { color: var(--brand-gold); }

.bl-passport-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.bl-passport-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    width: 100%;
}

.bl-passport-bar {
    width: 100%;
    height: 4px;
    background: rgba(244,234,222,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bl-passport-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-gold-dim), var(--brand-gold));
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.bl-passport-count {
    font: 400 9px var(--font-body);
    color: rgba(244,234,222,0.4);
    letter-spacing: 0.8px;
    white-space: nowrap;
    align-self: flex-end;
}

/* ── Hostess sizing on Bayouland ────────────────────────── */
.bayouland-scene video.hostess-avatar         { width: 170px; }
@media (max-width: 768px) {
    .bayouland-scene video.hostess-avatar      { width: 130px; }
}
@media (max-width: 480px) {
    .bayouland-scene video.hostess-avatar      { width: 95px; max-height: 36vh; }
    .bayouland-scene .sound-on-btn             { font-size: 0.58rem; padding: 5px 9px; }
}

/* ── Responsive Grid ─────────────────────────────────────── */
/* Tablet 4-col is default above — narrow to 2-col on mobile */
@media (max-width: 600px) {
    .bayouland-map {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        gap: 8px;
    }
    .bayouland-title { font-size: 30px; letter-spacing: 4px; }
    .bayouland-header { padding: 14px 16px 4px; }
    .bl-passport { max-width: 376px; padding: 8px 12px; }
}

@media (max-width: 400px) {
    .bayouland-title  { font-size: 25px; letter-spacing: 3px; }
    .bayouland-map    { gap: 6px; padding: 0 8px 4px; }
    .map-landmark     { min-height: 70px; padding: 8px 4px 7px; gap: 3px; }
    .ml-icon          { width: 32px; height: 32px; }
    .ml-icon img      { width: 18px; height: 18px; }
    .ml-name          { font-size: 9px; }
    .ml-sub           { font-size: 7.5px; letter-spacing: 0.6px; }
    .bl-passport      { padding: 7px 10px; gap: 8px; }
    .bl-passport-status { font-size: 10px; }
}



/* ============================================================
   v2.3.0 — Brand Logo Classes
   Primary vintage-sign logo (cover) + Bayouland alligator logo (map)
   ============================================================ */

/* Primary cover logo — vintage Classy Cajun sign */
.brand-logo-main {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto 12px;
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.45), 0 0 0 2px rgba(139,107,43,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--brand-ivory);
}
.brand-logo-main:hover {
    transform: scale(1.025);
    box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 0 0 2px rgba(139,107,43,0.45);
}
@media (max-width: 480px) {
    .brand-logo-main {
        max-width: 220px;
        border-radius: 12px;
    }
}

/* Bayouland map header logo — alligator badge */
.brand-logo-map {
    display: block;
    max-height: 180px;
    width: auto;
    margin: 0 auto 8px;
    border-radius: 12px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.55));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.brand-logo-map:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.65));
}
@media (max-width: 480px) {
    .brand-logo-map {
        max-height: 130px;
    }
}

/* ── COVER SUBTITLE (v2.3.2 slim) ─────────────────────── */
.cover-subtitle {
    position: relative; z-index: 1;
    font: italic 400 18px var(--font-headline);
    color: var(--brand-gold);
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* ── COVER HOSTESS — top-right welcoming Belle ─────────── */
.cover-hostess {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 10;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    pointer-events: none;
}
.cover-hostess-video {
    width: 108px; height: 108px;
    object-fit: cover; object-position: top;
    border-radius: 50%;
    border: 2px solid var(--brand-gold);
    box-shadow: 0 0 16px rgba(139,107,43,.4);
}
.cover-hostess-name {
    font: 500 10px var(--font-body);
    color: var(--brand-gold);
    letter-spacing: 1.5px; text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ============================================================
   HUB CENTERPIECE — v2.3.5
   Welcome headline · Sub-headline · Description · Core Pillars
   Luxury Estate spacing · Playfair Display · Burgundy palette
   ============================================================ */

/* Centerpiece container */
.cover-centerpiece {
    position: relative; z-index: 1;
    width: 100%; max-width: 400px;
    text-align: center;
    margin-bottom: 28px;
    padding: 0 8px;
}

/* Headline — Playfair Display, elegant large serif */
.cp-headline {
    font: 700 28px/1.2 var(--font-headline);
    color: var(--brand-ivory);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 14px rgba(0,0,0,.45);
    margin-bottom: 10px;
}

/* Sub-headline — italic gold */
.cp-subheadline {
    font: italic 400 16px var(--font-headline);
    color: var(--brand-gold);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

/* Description */
.cp-description {
    font: 400 13.5px/1.65 var(--font-body);
    color: rgba(244,234,222,0.72);
    margin-bottom: 24px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* Core Pillars — horizontal row of luxury badges */
.cp-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Individual pillar badge */
.cp-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--brand-gold-dim);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 58px;
    transition: transform .2s, border-color .2s, background .2s;
}

.cp-pillar:hover {
    transform: translateY(-3px);
    border-color: var(--brand-gold);
    background: rgba(139,107,43,.1);
}

/* Pillar icon */
.cp-pillar-icon {
    font-size: 18px;
    line-height: 1;
    display: block;
}

/* Pillar label */
.cp-pillar-label {
    font: 600 10px var(--font-body);
    color: var(--brand-gold);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Responsive: on very small screens, allow pillars to be slightly smaller */
@media (max-width: 380px) {
    .cp-headline { font-size: 24px; }
    .cp-subheadline { font-size: 14px; }
    .cp-pillar { padding: 8px 10px; min-width: 50px; }
    .cp-pillar-icon { font-size: 16px; }
    .cp-pillar-label { font-size: 9px; }
}
