/* ==========================================================================
   SEIXAS SOCIAL · NEXT-GEN SUPER SOCIAL NETWORK STYLESHEET
   Harmonized with Official Brand Logo (logo_dss.jpg)
   ========================================================================== */

:root {
    /* Core Dark Aurora Palette (Default - Ultra Eye-Catching) */
    --bg-primary: #060b16;
    --bg-secondary: #0c1426;
    --bg-card: rgba(15, 25, 46, 0.82);
    --bg-card-solid: #101b33;
    --bg-elevated: rgba(24, 38, 68, 0.92);
    --bg-input: rgba(8, 15, 30, 0.85);
    --bg-hover: rgba(56, 189, 248, 0.10);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --brand-cyan: #06b6d4;
    --brand-sky: #38bdf8;
    --brand-blue: #2563eb;
    --brand-purple: #8b5cf6;
    --brand-pink: #ec4899;
    --brand-emerald: #10b981;
    --brand-amber: #f59e0b;
    --brand-rose: #f43f5e;

    --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-fire: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
    --gradient-story: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6, #06b6d4);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-surface: linear-gradient(180deg, rgba(30, 48, 84, 0.45) 0%, rgba(15, 25, 46, 0.88) 100%);

    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-glow: rgba(56, 189, 248, 0.38);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
    --shadow-popup: 0 20px 50px rgba(0, 0, 0, 0.65);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --nav-height: 68px;
    --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean Light Theme (Facebook Classic + Modern Crispness) */
[data-theme="light"] {
    --bg-primary: #eef2f8;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-solid: #ffffff;
    --bg-elevated: #f8fafc;
    --bg-input: #f1f5f9;
    --bg-hover: rgba(37, 99, 235, 0.08);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --border-subtle: rgba(15, 23, 42, 0.09);
    --border-glow: rgba(37, 99, 235, 0.35);
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.07);
    --shadow-glow: 0 6px 20px rgba(37, 99, 235, 0.18);
    --shadow-popup: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* Cyber Neon Theme (Futuristic High-Impact) */
[data-theme="cyber"] {
    --bg-primary: #04030c;
    --bg-secondary: #0b061d;
    --bg-card: rgba(17, 10, 38, 0.86);
    --bg-card-solid: #120b29;
    --bg-elevated: rgba(28, 16, 58, 0.95);
    --bg-input: rgba(9, 5, 22, 0.9);
    --bg-hover: rgba(236, 72, 153, 0.14);

    --brand-cyan: #00f5d4;
    --brand-blue: #7b2cbf;
    --brand-purple: #f72585;
    --gradient-brand: linear-gradient(135deg, #00f5d4 0%, #7b2cbf 50%, #f72585 100%);
    --border-subtle: rgba(247, 37, 133, 0.22);
    --border-glow: rgba(0, 245, 212, 0.5);
    --shadow-glow: 0 0 28px rgba(247, 37, 133, 0.32);
}

/* Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Aurora Background Mesh */
.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.26;
    animation: floatOrb 18s infinite alternate ease-in-out;
}

[data-theme="light"] .aurora-orb {
    opacity: 0.12;
}

.aurora-orb.orb-1 {
    width: 520px;
    height: 520px;
    background: var(--brand-cyan);
    top: -160px;
    left: -120px;
}

.aurora-orb.orb-2 {
    width: 480px;
    height: 480px;
    background: var(--brand-purple);
    top: 30%;
    right: -140px;
    animation-delay: -6s;
}

.aurora-orb.orb-3 {
    width: 420px;
    height: 420px;
    background: var(--brand-blue);
    bottom: -140px;
    left: 28%;
    animation-delay: -11s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(45px, 35px) scale(1.12); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-cyan);
}

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-card);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 320px 1fr 340px;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.18);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    object-fit: cover;
    border: 2px solid rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.45);
    transition: var(--transition);
}

.brand-logo-wrap:hover .brand-logo-img {
    transform: scale(1.07) rotate(-3deg);
    box-shadow: 0 0 26px rgba(6, 182, 212, 0.75);
}

.brand-title-group {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-cyan);
}

.global-search {
    position: relative;
    flex: 1;
    max-width: 210px;
}

.global-search i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.global-search input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.86rem;
    outline: none;
    transition: var(--transition);
}

.global-search input:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
    max-width: 240px;
}

/* Center Navigation Tabs (Facebook + NextGen Style) */
.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
}

.nav-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.12rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.nav-tab span.tab-label {
    font-size: 0.83rem;
    font-weight: 600;
    display: none;
}

@media (min-width: 1360px) {
    .nav-tab span.tab-label {
        display: inline;
    }
}

.nav-tab:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-tab.active {
    color: var(--brand-cyan);
    background: rgba(6, 182, 212, 0.11);
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 16%;
    right: 16%;
    height: 3.5px;
    border-radius: 99px 99px 0 0;
    background: var(--gradient-brand);
    box-shadow: 0 0 12px var(--brand-cyan);
}

.nav-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    background: var(--gradient-fire);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.5);
}

/* Right Actions */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.wallet-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.13);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--brand-emerald);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.wallet-pill:hover {
    transform: translateY(-1px);
    background: rgba(16, 185, 129, 0.22);
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.icon-btn.ai-glow-btn {
    background: var(--gradient-brand);
    color: #fff;
    border: none;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px 4px 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    cursor: pointer;
    transition: var(--transition);
}

.user-chip:hover {
    border-color: var(--brand-cyan);
}

.user-chip img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-cyan);
}

.user-chip span {
    font-size: 0.83rem;
    font-weight: 700;
}

/* ==========================================================================
   MAIN 3-COLUMN APP LAYOUT
   ========================================================================== */
.app-shell {
    max-width: 1520px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 20px) 18px 90px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.app-shell.full-center {
    grid-template-columns: 260px minmax(0, 1fr);
}

/* Sticky Sidebars */
.left-sidebar,
.right-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    max-height: calc(100vh - var(--nav-height) - 36px);
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Glass Card Common */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(148, 163, 184, 0.24);
}

/* Left Sidebar Profile Mini Card */
.mini-profile-card {
    overflow: hidden;
    position: relative;
}

.mini-cover {
    height: 76px;
    background: linear-gradient(125deg, #06b6d4, #2563eb, #7c3aed);
    position: relative;
}

.mini-cover-logo {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    opacity: 0.85;
    border: 1px solid rgba(255,255,255,0.4);
}

.mini-profile-body {
    padding: 0 16px 16px;
    text-align: center;
    margin-top: -34px;
}

.mini-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-card-solid);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    cursor: pointer;
}

.mini-name {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.verified-icon {
    color: var(--brand-sky);
    font-size: 0.88rem;
}

.mini-handle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.mini-stat-num {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mini-stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Left Menu Links */
.side-menu {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.89rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    width: 100%;
}

.side-link:hover,
.side-link.active {
    background: var(--bg-hover);
    color: var(--brand-cyan);
    transform: translateX(3px);
}

.side-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    color: #fff;
    flex-shrink: 0;
}

.side-pill {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(6, 182, 212, 0.16);
    color: var(--brand-cyan);
}

.side-pill.hot {
    background: rgba(244, 63, 94, 0.18);
    color: var(--brand-rose);
}

/* Live Audio Spaces Widget */
.spaces-card {
    padding: 15px;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.widget-title {
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-rose);
    box-shadow: 0 0 10px var(--brand-rose);
    animation: pulseLive 1.4s infinite;
}

@keyframes pulseLive {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: 0.55; }
}

.space-item {
    padding: 11px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
    margin-bottom: 9px;
    cursor: pointer;
    transition: var(--transition);
}

.space-item:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-2px);
}

.space-topic {
    font-size: 0.83rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.space-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--text-secondary);
}

.eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 13px;
}

.eq-bars span {
    width: 3px;
    background: var(--brand-cyan);
    border-radius: 2px;
    animation: eqBounce 0.9s infinite ease-in-out;
}
.eq-bars span:nth-child(2) { animation-delay: 0.2s; }
.eq-bars span:nth-child(3) { animation-delay: 0.4s; }
.eq-bars span:nth-child(4) { animation-delay: 0.1s; }

@keyframes eqBounce {
    0%, 100% { height: 4px; }
    50% { height: 13px; }
}

/* ==========================================================================
   STORIES CAROUSEL (2.0 IMMERSIVE)
   ========================================================================== */
.stories-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    margin-bottom: 12px;
}

.story-card {
    position: relative;
    min-width: 116px;
    width: 116px;
    height: 196px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.story-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.story-card:hover .story-bg {
    transform: scale(1.09);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.82) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.story-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2.5px;
    background: var(--gradient-story);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.story-ring.seen {
    background: rgba(148, 163, 184, 0.5);
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0b1324;
}

.story-author {
    font-size: 0.77rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    line-height: 1.2;
}

/* Create Story Card */
.story-create-top {
    height: 132px;
    overflow: hidden;
}
.story-create-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-create-bottom {
    height: 64px;
    background: var(--bg-card-solid);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10px;
    position: relative;
}
.story-plus-btn {
    position: absolute;
    top: -18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-brand);
    border: 3px solid var(--bg-card-solid);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   POST COMPOSER (WITH AI COPILOT & POLLS)
   ========================================================================== */
.composer-card {
    padding: 18px;
    margin-bottom: 18px;
}

.composer-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.composer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-cyan);
    flex-shrink: 0;
}

.composer-input-wrap {
    flex: 1;
}

.composer-textarea {
    width: 100%;
    min-height: 62px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.94rem;
    resize: vertical;
    outline: none;
    transition: var(--transition);
}

.composer-textarea:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
}

.composer-preview {
    margin-top: 12px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 320px;
}

.composer-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.remove-preview-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    cursor: pointer;
}

.composer-poll-builder {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-input);
    border: 1px dashed var(--brand-cyan);
}

.composer-poll-builder input {
    width: 100%;
    padding: 8px 12px;
    margin-top: 7px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card-solid);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.composer-feeling-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
    font-size: 0.78rem;
    font-weight: 600;
}

.composer-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 14px 0 12px;
}

.composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.composer-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tool-chip:hover {
    color: var(--text-primary);
    border-color: var(--border-subtle);
    transform: translateY(-1px);
}

.tool-chip.ai-chip {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(139, 92, 246, 0.22));
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--brand-sky);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gradient-brand);
    color: #fff;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.38);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(6, 182, 212, 0.52);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
}

/* Feed Filter Bar */
.feed-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.filter-pill {
    padding: 7px 15px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.81rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
}

/* ==========================================================================
   TIMELINE POST CARDS
   ========================================================================== */
.post-card {
    margin-bottom: 18px;
    overflow: hidden;
    animation: fadeSlideUp 0.35s ease;
}

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

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 10px;
}

.post-author-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(56, 189, 248, 0.45);
}

.post-author-name {
    font-size: 0.94rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-feeling {
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.post-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-body {
    padding: 4px 18px 14px;
    font-size: 0.94rem;
    line-height: 1.58;
    white-space: pre-line;
}

.post-hashtag {
    color: var(--brand-sky);
    font-weight: 600;
    cursor: pointer;
}

.post-media {
    width: 100%;
    max-height: 490px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* Interactive Poll inside Post */
.poll-container {
    margin: 6px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-option {
    position: relative;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.87rem;
    font-weight: 600;
    transition: var(--transition);
}

.poll-option:hover {
    border-color: var(--brand-cyan);
}

.poll-option.voted {
    border-color: var(--brand-cyan);
}

.poll-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.26), rgba(59, 130, 246, 0.22));
    z-index: 0;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.poll-option span {
    position: relative;
    z-index: 1;
}

/* AI Post Summary Box */
.ai-summary-box {
    margin: 4px 18px 12px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.82rem;
    color: var(--text-primary);
}

.post-stats {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.reaction-bubbles {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px 10px;
    gap: 4px;
}

.post-action-wrap {
    position: relative;
}

.post-action-btn {
    width: 100%;
    padding: 9px 6px;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: var(--transition);
}

.post-action-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.post-action-btn.reacted {
    color: var(--brand-cyan);
}

/* Reaction Hover Picker (Like Facebook + NextGen) */
.reaction-Dock {
    position: absolute;
    bottom: 105%;
    left: 6px;
    display: flex;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-popup);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.92);
    transition: var(--transition);
    z-index: 40;
}

.post-action-wrap:hover .reaction-Dock {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.react-emoji-btn {
    font-size: 1.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.react-emoji-btn:hover {
    transform: scale(1.42) translateY(-4px);
}

/* Comments Section */
.comments-area {
    padding: 12px 18px 16px;
    background: rgba(0, 0, 0, 0.12);
    border-top: 1px solid var(--border-subtle);
}

[data-theme="light"] .comments-area {
    background: rgba(15, 23, 42, 0.025);
}

.comment-item {
    display: flex;
    gap: 9px;
    margin-bottom: 10px;
}

.comment-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-bubble {
    background: var(--bg-elevated);
    padding: 8px 13px;
    border-radius: 14px;
    font-size: 0.83rem;
    max-width: 90%;
}

.comment-author {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.comment-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.comment-form input {
    flex: 1;
    padding: 9px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.83rem;
    outline: none;
}

.comment-form input:focus {
    border-color: var(--brand-cyan);
}

/* ==========================================================================
   RIGHT SIDEBAR (FRIEND REQUESTS, MARKET SPOTLIGHT, ONLINE CONTACTS)
   ========================================================================== */
.side-widget {
    padding: 15px;
}

.req-card {
    display: flex;
    gap: 11px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    margin-bottom: 10px;
}

.req-card img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.req-info {
    flex: 1;
}

.req-name {
    font-size: 0.86rem;
    font-weight: 700;
}

.req-mutual {
    font-size: 0.73rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.req-btns {
    display: flex;
    gap: 6px;
}

.btn-xs {
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-xs.accept {
    background: var(--gradient-brand);
    color: #fff;
}
.btn-xs.decline {
    background: var(--bg-input);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

/* Contacts List */
.contact-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 9px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.contact-row:hover {
    background: var(--bg-hover);
}

.avatar-status-wrap {
    position: relative;
    flex-shrink: 0;
}

.avatar-status-wrap img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--brand-emerald);
    border: 2px solid var(--bg-card-solid);
}

.status-dot.away {
    background: var(--brand-amber);
}

.contact-name {
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1;
}

.contact-role-tag {
    font-size: 0.67rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.18);
    color: #c4b5fd;
    font-weight: 700;
}

/* ==========================================================================
   MARKETPLACE VIEW ("SEIXAS MARKET")
   ========================================================================== */
.market-hero {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(125deg, rgba(6, 182, 212, 0.22), rgba(37, 99, 235, 0.25), rgba(139, 92, 246, 0.25));
    border: 1px solid var(--border-glow);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.market-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.market-search {
    flex: 1;
    min-width: 220px;
    padding: 11px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    outline: none;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 18px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-glow);
}

.product-img-wrap {
    position: relative;
    height: 185px;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.07);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(6, 11, 22, 0.82);
    backdrop-filter: blur(8px);
    color: var(--brand-cyan);
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.product-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(6, 11, 22, 0.7);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.product-fav-btn.saved {
    color: var(--brand-rose);
}

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-price {
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--brand-emerald);
}

.product-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 4px 0 6px;
    line-height: 1.35;
}

.product-loc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   FRIENDS & NETWORK VIEW
   ========================================================================== */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.person-card {
    overflow: hidden;
    text-align: center;
    padding-bottom: 16px;
}

.person-cover {
    height: 68px;
    background: var(--gradient-brand);
}

.person-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -38px;
    border: 3px solid var(--bg-card-solid);
    cursor: pointer;
}

.ai-match-pill {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.16);
    color: var(--brand-emerald);
    font-size: 0.7rem;
    font-weight: 800;
}

/* ==========================================================================
   PROFILE PAGE VIEW
   ========================================================================== */
.profile-header-card {
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-cover {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-header-body {
    padding: 0 26px 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: -54px;
}

.profile-main-id {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.profile-big-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-card-solid);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.profile-badges-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 26px 18px;
}

.gamified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    font-size: 0.76rem;
    font-weight: 700;
}

/* ==========================================================================
   FULL MESSENGER VIEW & FLOATING CHAT DOCK
   ========================================================================== */
.messenger-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: calc(100vh - var(--nav-height) - 55px);
    min-height: 540px;
    overflow: hidden;
}

.messenger-list {
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.messenger-chat-pane {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-pane-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-messages-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg-row {
    display: flex;
    flex-direction: column;
    max-width: 74%;
}

.msg-row.mine {
    align-self: flex-end;
    align-items: flex-end;
}

.msg-row.theirs {
    align-self: flex-start;
    align-items: flex-start;
}

.msg-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.msg-row.mine .msg-bubble {
    background: var(--gradient-brand);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-row.theirs .msg-bubble {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
}

.msg-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.chat-input-bar {
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-input-bar input {
    flex: 1;
    padding: 10px 15px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-primary);
    outline: none;
}

/* Floating Bottom-Right Chat Dock (Facebook Signature!) */
.floating-chat-dock {
    position: fixed;
    bottom: 0;
    right: 24px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    z-index: 950;
    pointer-events: none;
}

.floating-chat-box {
    width: 328px;
    height: 420px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-glow);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow-popup);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    animation: fadeSlideUp 0.25s ease;
}

.floating-chat-box.minimized {
    height: 48px;
}

.floating-chat-head {
    padding: 10px 13px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), rgba(37, 99, 235, 0.2));
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* ==========================================================================
   REELS / SHORTS IMMERSIVE CARDS
   ========================================================================== */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.reel-card {
    position: relative;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
}

.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reel-card:hover img {
    transform: scale(1.06);
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.88) 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

/* ==========================================================================
   MODALS & STORY VIEWER OVERLAY
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.78);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 18px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-panel {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-popup);
    padding: 24px;
    position: relative;
    animation: fadeSlideUp 0.25s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-primary);
    cursor: pointer;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--brand-cyan);
}

/* Story Fullscreen Viewer */
.story-viewer-box {
    width: 100%;
    max-width: 410px;
    height: 84vh;
    max-height: 730px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    background: #050a14;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.story-progress-track {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 99px;
    overflow: hidden;
    z-index: 10;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-brand);
    transition: width 0.1s linear;
}

/* Toast Notifications */
.toast-stack {
    /* avisos aparecem embaixo, no meio, e NÃO bloqueiam cliques (antes ficavam por cima do "Painel Admin") */
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}
@media (max-width: 880px) {
    .toast-stack { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card-solid);
    border-left: 4px solid var(--brand-cyan);
    box-shadow: var(--shadow-popup);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    animation: fadeSlideUp 0.25s ease;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
    .app-shell {
        grid-template-columns: 240px minmax(0, 1fr);
    }
    .right-sidebar {
        display: none;
    }
    .top-navbar {
        grid-template-columns: 250px 1fr 250px;
    }
}

@media (max-width: 880px) {
    .app-shell,
    .app-shell.full-center {
        grid-template-columns: 1fr;
    }
    .left-sidebar {
        display: none;
    }
    .nav-center {
        display: none;
    }
    .top-navbar {
        grid-template-columns: 1fr auto;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .messenger-layout {
        grid-template-columns: 1fr;
    }
    .floating-chat-dock {
        right: 10px;
        bottom: 64px;
    }
}

/* ==========================================================================
   LOGIN / CADASTRO
   ========================================================================== */
body.logged-out .top-navbar,
body.logged-out .app-shell,
body.logged-out .mobile-bottom-nav,
body.logged-out .floating-chat-dock { display: none !important; }
body:not(.logged-out) .auth-screen { display: none; }

.auth-screen {
    position: fixed; inset: 0; z-index: 50;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; overflow-y: auto;
}
.auth-box { width: 100%; max-width: 420px; padding: 28px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px;
    border-radius: var(--radius-full); background: var(--bg-elevated); margin-bottom: 20px;
}
.auth-tab {
    padding: 9px; border: none; border-radius: var(--radius-full); cursor: pointer;
    background: transparent; color: var(--text-secondary); font-weight: 700; font-family: inherit;
}
.auth-tab.active { background: var(--gradient-brand); color: #fff; }
.auth-submit { width: 100%; padding: 12px; margin-top: 6px; justify-content: center; }
.auth-error { color: var(--brand-rose); font-size: 0.84rem; min-height: 1.2em; margin-bottom: 6px; }

.post-delete-btn:hover i { color: var(--brand-rose); }
.comment-del { margin-left: 6px; cursor: pointer; color: var(--text-muted); font-weight: 400; }
.comment-del:hover { color: var(--brand-rose); }
.unread-pill {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px;
    background: var(--brand-rose); color: #fff; font-size: 0.7rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}
.sold-tag { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.55); color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: 2px; }
.msg-blocked { padding: 14px; text-align: center; font-size: 0.84rem; color: var(--text-muted); border-top: 1px solid var(--border-subtle); }

/* Cartões da lateral não encolhem (rola a lateral em vez de cortar o conteúdo) */
.left-sidebar > *,
.right-sidebar > * { flex-shrink: 0; }

/* Foto de perfil fica POR CIMA da capa (antes a capa cobria a foto) */
.mini-profile-body,
.profile-header-body,
.person-card > div,
.person-avatar { position: relative; z-index: 1; }

/* Nome e informações do perfil ficam abaixo da capa, ao lado da foto */
.profile-main-id { align-items: flex-start; }
.profile-main-id > div { margin-top: 62px; }
.profile-big-avatar { flex-shrink: 0; background: var(--bg-card-solid); }
.mini-avatar { background: var(--bg-card-solid); }
@media (max-width: 880px) {
    .profile-main-id > div { margin-top: 0; }
}

/* ---------- Abertura do site: sem "flash" da tela de login ao recarregar ---------- */
#bootSplash { display: none; }
body.booting #bootSplash {
    display: flex; position: fixed; inset: 0; z-index: 5000;
    flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
body.booting #bootSplash img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 40px rgba(6, 182, 212, .35); animation: bootPulse 1.4s ease-in-out infinite; }
body.booting .auth-screen,
body.booting .top-navbar,
body.booting .app-shell,
body.booting .mobile-bottom-nav,
body.booting .floating-chat-dock { visibility: hidden !important; }
.boot-dots { display: flex; gap: 7px; }
.boot-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-cyan, #06b6d4); opacity: .3; animation: bootDot 1s infinite; }
.boot-dots i:nth-child(2) { animation-delay: .15s; }
.boot-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bootDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes bootPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
