@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
    --font-main: 'Inter', sans-serif;
}

/* Matrix Terminal family - Specific Enhancements */
.theme-matrix,
.theme-matrix-gray,
.theme-matrix-blue {
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --font-main: 'Courier New', Courier, monospace;
}

/* Retro Synth - Specific Enhancements */
.theme-retro {
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

/* Glassmorphism - Specific Enhancements */
.theme-glass {
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

/* Space Dark (Default) */
.theme-dark,
:root {
    --bg: #0d1117;
    --surface: #161b22;
    --surface-2: #1c2128;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-1: #e6edf3;
    --text-2: #7d8590;
    --accent: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-red: #f87171;
}

/* Glassmorphism */
.theme-glass {
    --bg: #030712;
    --surface: rgba(17, 24, 39, 0.7);
    --surface-2: rgba(31, 41, 55, 0.85);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --text-1: #f9fafb;
    --text-2: #9ca3af;
    --accent: #3b82f6;
    --accent-cyan: #22d3ee;
    --accent-red: #fb7185;
}

/* Retro Synth */
.theme-retro {
    --bg: #2b033d;
    --surface: #3d065e;
    --surface-2: #4d0a85;
    --border: rgba(255, 0, 255, 0.2);
    --border-hover: rgba(255, 0, 255, 0.4);
    --text-1: #00fff2;
    --text-2: #ff00ff;
    --accent: #ff00ff;
    --accent-cyan: #00fff2;
    --accent-red: #ff4d4d;
}

/* Deep Forest */
.theme-forest {
    --bg: #0a140a;
    --surface: #142114;
    --surface-2: #1b2e1b;
    --border: rgba(74, 222, 128, 0.1);
    --border-hover: rgba(74, 222, 128, 0.2);
    --text-1: #ecfdf5;
    --text-2: #6ee7b7;
    --accent: #10b981;
    --accent-cyan: #34d399;
    --accent-red: #ef4444;
}

/* Ocean Abyss */
.theme-ocean {
    --bg: #051622;
    --surface: #0b2c3d;
    --surface-2: #123c52;
    --border: rgba(0, 168, 204, 0.15);
    --border-hover: rgba(0, 168, 204, 0.3);
    --text-1: #e1f5fe;
    --text-2: #4fc3f7;
    --accent: #00a8cc;
    --accent-cyan: #29b6f6;
    --accent-red: #ff5252;
}

/* Matrix Terminal (classic green) */
.theme-matrix {
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-2: #111111;
    --border: #00ff41;
    --border-hover: #00ff41;
    --text-1: #00ff41;
    --text-2: #008f11;
    --accent: #00ff41;
    --accent-cyan: #00ff41;
    --accent-red: #ff0000;
}

.theme-matrix .post-card, 
.theme-matrix .sidebar-inner {
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.1);
}

.theme-matrix .btn-primary {
    background: #000;
    color: #00ff41;
    border: 1px solid #00ff41;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.theme-matrix .btn-primary:hover {
    background: #00ff41;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* Matrix Terminal — Gray phosphor */
.theme-matrix-gray {
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-2: #141414;
    --border: #a8a8a8;
    --border-hover: #d0d0d0;
    --text-1: #c8c8c8;
    --text-2: #6e6e6e;
    --accent: #d4d4d4;
    --accent-cyan: #b0b0b0;
    --accent-red: #ff5555;
}

.theme-matrix-gray .post-card,
.theme-matrix-gray .sidebar-inner {
    text-shadow: 0 0 5px rgba(200, 200, 200, 0.45);
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.08);
}

.theme-matrix-gray .btn-primary {
    background: #000;
    color: #c8c8c8;
    border: 1px solid #a8a8a8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.2);
}

.theme-matrix-gray .btn-primary:hover {
    background: #c8c8c8;
    color: #000;
    box-shadow: 0 0 20px rgba(200, 200, 200, 0.4);
}

/* Matrix Terminal — Blue phosphor */
.theme-matrix-blue {
    --bg: #000000;
    --surface: #02080f;
    --surface-2: #061018;
    --border: #4fc3ff;
    --border-hover: #7dd3ff;
    --text-1: #4fc3ff;
    --text-2: #1a6a9a;
    --accent: #4fc3ff;
    --accent-cyan: #4fc3ff;
    --accent-red: #ff5555;
}

.theme-matrix-blue .post-card,
.theme-matrix-blue .sidebar-inner {
    text-shadow: 0 0 5px rgba(79, 195, 255, 0.5);
    box-shadow: 0 0 10px rgba(79, 195, 255, 0.1);
}

.theme-matrix-blue .btn-primary {
    background: #000;
    color: #4fc3ff;
    border: 1px solid #4fc3ff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 10px rgba(79, 195, 255, 0.2);
}

.theme-matrix-blue .btn-primary:hover {
    background: #4fc3ff;
    color: #000;
    box-shadow: 0 0 20px rgba(79, 195, 255, 0.4);
}

/* 11. Midnight OLED */
.theme-oled {
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-2: #141414;
    --border: #222222;
    --border-hover: #333333;
    --text-1: #ffffff;
    --text-2: #888888;
    --accent: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-red: #ef4444;
}

/* 12. Cyberpunk Neon */
.theme-cyber {
    --bg: #0d0221;
    --surface: #19043d;
    --surface-2: #240b5e;
    --border: #fb00ff;
    --border-hover: #00fff2;
    --text-1: #00fff2;
    --text-2: #fb00ff;
    --accent: #fb00ff;
    --accent-cyan: #00fff2;
    --accent-red: #ff0055;
}

.theme-cyber .post-card {
    box-shadow: 0 0 15px rgba(251, 0, 255, 0.15);
}

.theme-cyber .sidebar-avatar {
    box-shadow: 0 0 20px rgba(0, 255, 242, 0.3);
}

/* 13. Slate Gold */
.theme-slate-gold {
    --bg: #0f172a;
    --surface: #1e293b;
    --surface-2: #334155;
    --border: #94a3b8;
    --border-hover: #fbbf24;
    --text-1: #f8fafc;
    --text-2: #94a3b8;
    --accent: #fbbf24;
    --accent-cyan: #e2e8f0;
    --accent-red: #f43f5e;
}


.theme-glass body {
    background: radial-gradient(circle at 0% 0%, #111827 0%, #030712 100%);
    background-attachment: fixed;
}

.theme-glass .post-card,
.theme-glass .sidebar-newsletter,
.theme-glass .glass-panel,
.theme-glass .comments-section {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text-1);
    min-height: 100vh;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.page-wrap {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 16px;
    gap: 32px;
}

/* ── SIDEBAR ────────────────────────────────────────────────── */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    padding-top: 0;
    align-self: flex-start;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 12px;
}

.partner-rotate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    line-height: 1.4;
}


.sidebar-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, var(--accent-cyan), var(--accent)) border-box;
    transition: transform 0.3s ease;
    will-change: transform;
}

.sidebar-avatar:hover {
    transform: scale(1.05);
}

.animated-border {
    position: relative;
    background: var(--surface) padding-box !important;
    border: 2px solid transparent !important;
    animation: borderRotate 4s linear infinite;
    background-origin: border-box !important;
    background-clip: content-box, border-box !important;
    will-change: transform, --angle;
}

.border-scheme-cyan {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), var(--accent-cyan), var(--accent), var(--accent-cyan)) !important;
}

.border-scheme-rainbow {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000) !important;
}

.border-scheme-matrix {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #003300, #00ff41, #008f11, #003300) !important;
}

.border-scheme-matrix-gray {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #2a2a2a, #c8c8c8, #6e6e6e, #2a2a2a) !important;
}

.border-scheme-matrix-blue {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #0a2a40, #4fc3ff, #1a6a9a, #0a2a40) !important;
}

.border-scheme-sunset {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #ff512f, #f09819, #ff512f) !important;
}

.border-scheme-lava {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #4b1248, #f03030, #4b1248) !important;
}

.border-scheme-gold {
    background-image: 
        linear-gradient(var(--surface), var(--surface)), 
        linear-gradient(var(--angle), #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c) !important;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to {
    --angle: 360deg;
  }
}

.sidebar-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-1);
}

.sidebar-bio {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.5;
}

.sidebar-link.active {
    background: var(--surface-2);
    color: var(--accent);
    border-left: 2px solid var(--accent);
    padding-left: 10px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-1);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.sidebar-link:hover {
    background: var(--surface-2);
    color: #fff;
}

.sidebar-link svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.sidebar-search {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 36px 10px 14px;
    color: var(--text-1);
    font-size: 0.82rem;
    outline: none;
    transition: all 0.2s;
}

.sidebar-search:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.connect-widget {
    width: 100%;
    margin-top: 32px;
}

.mobile-drawer .connect-widget {
    margin-top: 4px;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.social-mini-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}

.social-mini-link:hover {
    background: var(--surface-2);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.social-mini-youtube {
    background: rgba(255, 0, 0, 0.12);
    border-color: rgba(255, 0, 0, 0.45);
    color: #ff2a2a;
}

.social-mini-youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.45);
}

.sidebar-social {
    display: flex;
    gap: 12px;
    padding: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
}

.sidebar-social a {
    color: var(--text-2);
    transition: color 0.2s;
}

.sidebar-social a:hover {
    color: var(--accent-cyan);
}

/* ── FEED ───────────────────────────────────────────────────── */
.feed {
    flex: 1;
    min-width: 0;
    padding: 16px 16px 64px; /* Global side padding for everything */
    display: flex;
    flex-direction: column;
    gap: 16px; /* Universal spacing between ALL cards */
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

#posts-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* ── POST CARD ── */
.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px 0;
    transition: background 0.15s;
    animation: fadeIn 0.3s ease;
    margin: 0 !important; /* Managed by parent gap */
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* ── FEED BANNER ── */
.feed-banner {
    margin: 0 !important; /* Managed by parent gap */
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    line-height: 0;
    background: #000;
    max-height: 120px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.feed-banner-img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 900px) {
    .feed-banner {
        max-height: 88px;
        border-radius: 0;
        top: 65px; /* Sit below sticky mobile-header */
        transition: top 0.25s ease;
    }
    .feed-banner-img {
        height: 88px;
    }
    body.header-hidden .feed-banner {
        top: 0;
    }
}

/* ── AFFILIATE CARD ── */
.affiliate-card {
    --aff-color: var(--accent-cyan);
    --aff-bg: rgba(6, 182, 212, 0.1);
    --aff-border: rgba(6, 182, 212, 0.3);
    --aff-hover-fg: #000;
    --aff-ticker-speed: 15s;
    background: linear-gradient(90deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    margin: 0 !important;
}

.affiliate-card.aff-scheme-blue {
    --aff-color: var(--accent);
    --aff-bg: rgba(59, 130, 246, 0.12);
    --aff-border: rgba(59, 130, 246, 0.35);
}

.affiliate-card.aff-scheme-yellow {
    --aff-color: #fbbf24;
    --aff-bg: rgba(251, 191, 36, 0.12);
    --aff-border: rgba(251, 191, 36, 0.4);
}

.affiliate-card.aff-scheme-red {
    --aff-color: var(--accent-red);
    --aff-bg: rgba(248, 113, 113, 0.12);
    --aff-border: rgba(248, 113, 113, 0.35);
}

.affiliate-card.aff-scheme-cyan {
    --aff-color: var(--accent-cyan);
    --aff-bg: rgba(6, 182, 212, 0.1);
    --aff-border: rgba(6, 182, 212, 0.3);
}

.affiliate-ticker-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 4px 0;
}

.affiliate-text {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: affiliate-ticker var(--aff-ticker-speed, 15s) linear infinite;
    font-weight: 600;
    color: var(--aff-color);
    font-size: 0.85rem;
}

.affiliate-card:hover .affiliate-text,
.affiliate-card:focus-within .affiliate-text {
    animation: none;
    padding-left: 0;
    transform: none;
    display: block;
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
    .affiliate-text {
        animation: none !important;
        padding-left: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .aff-scheme-rainbow .affiliate-label,
    .aff-scheme-rainbow .affiliate-text,
    .aff-scheme-rainbow .btn-affiliate-link {
        animation: none !important;
    }
}

@keyframes affiliate-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes affRainbowShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.affiliate-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--aff-color);
    background: var(--aff-bg);
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.btn-affiliate-link {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--aff-color);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--aff-border);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.btn-affiliate-link:hover {
    background: var(--aff-color);
    color: var(--aff-hover-fg);
    border-color: var(--aff-color);
}

/* Rainbow scheme — animated gradient label + rotating button border */
.aff-scheme-rainbow .affiliate-label {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 200% 100%;
    animation: affRainbowShift 4s linear infinite;
}

.aff-scheme-rainbow .affiliate-text {
    color: transparent;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation:
        affiliate-ticker var(--aff-ticker-speed, 15s) linear infinite,
        affRainbowShift 4s linear infinite;
}

.aff-scheme-rainbow .btn-affiliate-link {
    color: var(--text-1);
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(var(--angle, 0deg), #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: borderRotate 4s linear infinite;
}

.aff-scheme-rainbow .btn-affiliate-link:hover {
    color: #fff;
    background:
        linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff) padding-box,
        linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: none;
}

@media (max-width: 900px) {
    .feed {
        padding: 0 0 64px; /* No sides on mobile */
    }
    .post-card, .feed-banner, .affiliate-card {
        margin: 0 0 16px 0 !important; /* Re-add bottom gap for mobile since parent gap might not work same way */
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card:hover {
    background: var(--surface-2);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, var(--accent-cyan), var(--accent)) border-box;
}

.post-meta-wrap {
    flex: 1;
}

.post-author {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-1);
}

.post-time {
    font-size: 0.78rem;
    color: var(--text-2);
}

.post-type-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

.post-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-1);
    margin-bottom: 12px;
    word-break: break-word;
}

.post-media-wrap {
    margin: 0 -20px;
    background: #000;
    position: relative;
    line-height: 0; /* kill inline/media baseline gap under thumbnails */
}

.video-container {
    width: 100%;
}

/* Full-bleed 16:9 — matches image posts (no inset radius / letterbox strip) */
.video-placeholder {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder.is-playing {
    cursor: default;
}

.video-placeholder img,
.video-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-placeholder img {
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-placeholder:hover img {
    opacity: 0.9;
    transform: scale(1.02);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.video-placeholder:hover .play-overlay {
    background: rgba(0,0,0,0);
}

.play-button-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-cyan);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-placeholder:hover .play-button-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.post-media {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: cover;
    display: block;
    background: #000;
    cursor: pointer;
    transition: transform 0.2s;
}

.post-media:hover {
    transform: scale(1.01);
}

/* ── POST GALLERY ─────────────────────────────────────────── */
.post-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 15px;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) transparent;
}

.post-gallery::-webkit-scrollbar {
    height: 6px;
}

.post-gallery::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 80%; /* Show most of one, peek at next */
    aspect-ratio: 16 / 9;
    scroll-snap-align: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #000;
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 400px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: opacity 0.2s ease;
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.2s;
    user-select: none;
    z-index: 10001;
}

.lb-nav:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
}

.lb-prev { left: 30px; }
.lb-next { right: 30px; }

@media (max-width: 600px) {
    .lb-nav { width: 40px; height: 40px; font-size: 1.2rem; }
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
}

/* ── ACTION BAR ─────────────────────────────────────────────── */
.post-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    border-top: 1px solid var(--border);
    margin: 12px -20px 0;
    padding-left: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-2);
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-1);
}

.action-btn.liked {
    color: var(--accent-red);
}

.action-btn.liked:hover {
    background: rgba(248, 113, 113, 0.1);
}

.action-btn.pop {
    animation: popHeart 0.3s ease;
}

@keyframes popHeart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

/* ── COMMENTS ───────────────────────────────────────────────── */
.comments-section {
    margin: 0 -20px;
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.15);
}

.comment-gate {
    background: var(--surface-2);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    margin: 8px 0;
}

.gate-title {
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.gate-desc {
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 12px;
}

.gate-form {
    display: flex;
    gap: 8px;
    max-width: 300px;
    margin: 0 auto;
}

.gate-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
}

.gate-btn {
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gate-btn:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .gate-form {
        flex-direction: column;
    }
}

.comment-list,
.comment-thread {
    min-width: 0;
    max-width: 100%;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.comment {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

.comment.new-comment {
    animation: fadeIn 0.4s ease;
}

.comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.comment-body {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.comment-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-1);
    margin-right: 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-2);
}

.comment-text {
    font-size: 0.875rem;
    color: var(--text-1);
    line-height: 1.5;
    margin-top: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.replies-list {
    margin-left: 20px;
    padding-left: 18px;
    border-left: 1px solid var(--border);
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.comment.comment-reply .comment-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
}

.comment-action-btn.like-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comment-action-btn.like-comment-btn.liked {
    color: var(--accent-cyan);
}

.comment-action-btn.like-comment-btn.liked svg {
    fill: var(--accent-cyan);
}

.comment-action-btn.eng-down.downvoted {
    color: var(--accent-red, #ef4444);
}

.eng-name {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
    min-height: 0;
    height: auto;
    resize: none;
    background: var(--surface-2);
    color: var(--text-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font: inherit;
}

.eng-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 72px;
    resize: vertical;
    background: var(--surface-2);
    color: var(--text-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font: inherit;
}

.eng-count,
.eng-note {
    font-size: 0.8rem;
    color: var(--text-2);
    line-height: 1.45;
}

.engagement-page .post-actions {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
}

.view-replies-btn, .show-more-comments-btn {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    transition: opacity 0.2s;
}

.view-replies-btn:hover, .show-more-comments-btn:hover {
    opacity: 0.8;
}

.show-more-comments-btn {
    width: 100%;
    justify-content: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    margin-top: 24px;
    background: rgba(255,255,255,0.02);
}

.comment-form-row {
    margin-bottom: 8px;
}

/* ── COMMENT ACTIONS ───────────────────────────────────────── */
.comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    max-width: 100%;
}

.comment-action-btn {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-2);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.comment-action-btn:hover {
    color: var(--accent-cyan);
}

.comment-action-btn.delete:hover {
    color: var(--accent-red);
}

/* ── INPUTS ─────────────────────────────────────────────────── */
.input-sm {
    width: 100%;
    padding: 9px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-1);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
}

.input-sm::placeholder {
    color: var(--text-2);
}

.input-sm:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-1);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 10px;
}

.input-field::placeholder {
    color: var(--text-2);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

textarea.input-field {
    min-height: 100px;
    resize: vertical;
}

select.input-field {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237d8590' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: 4px;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: transparent;
    color: var(--text-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--border-hover);
}

.btn-subscribe {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-subscribe:hover {
    opacity: 0.85;
}

.btn-comment {
    padding: 9px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-comment:hover {
    opacity: 0.85;
}

/* ── PARTNER ROTATE ─────────────────────────────────────────── */
.partner-rotate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.partner-link-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    transition: opacity 0.4s;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 48px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav a:hover {
    color: var(--accent-cyan);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-2);
    opacity: 0.6;
    letter-spacing: 0.02em;
}


/* ── GLASS PANEL (admin / about / disclosure) ─────────────── */
.glass-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-1);
}

.section-desc {
    color: var(--text-2);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.site-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, var(--text-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-subtitle {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* shared container for about/disclosure pages */
.container {
    max-width: 700px;
    margin: 48px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-header {
    text-align: center;
}

.text-content p {
    font-size: 0.95rem;
    color: var(--text-2);
    margin-bottom: 14px;
    line-height: 1.7;
}

.text-content p strong {
    color: var(--text-1);
}

/* ── ADMIN STYLES (scoped — used inside admin.php <style>) ──── */
.admin-container {
    max-width: 820px;
    margin: 32px auto;
    padding: 0 20px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
/* ── MOBILE HEADER (Hidden by default) ── */
.mobile-header {
    display: none !important;
}

@media (max-width: 900px) {
    .mobile-header {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: transform 0.25s ease;
        will-change: transform;
    }

    .mobile-header.is-hidden {
        transform: translateY(-100%);
    }
}

.mobile-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-menu-toggle {
    background: none;
    border: none;
    color: var(--text-1);
    padding: 8px;
    margin-left: auto;
    cursor: pointer;
    display: none;
}

@media (max-width: 900px) {
    .btn-menu-toggle {
        display: block;
    }
}

/* ── MOBILE DRAWER ── */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-2);
    padding: 8px;
    cursor: pointer;
}

.mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    object-fit: cover;
    will-change: transform;
}

.mobile-info {
    flex: 1;
}

.mobile-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-1);
}

.mobile-subtitle {
    font-size: 0.75rem;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

@media (max-width: 900px) {
    .mobile-header {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .page-wrap {
        padding: 0;
    }

    .feed {
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 600px) {
    .post-card {
        padding: 12px 12px 0;
        margin-bottom: 12px !important;
    }

    .post-body {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .post-actions {
        padding: 8px 12px;
        margin: 8px -12px 0;
        gap: 16px;
    }

    .action-btn {
        font-size: 0.75rem;
    }

    .comments-section {
        margin: 0 -12px;
        padding: 10px 12px;
    }

    .post-media-wrap {
        margin: 0 -12px;
    }

    .container {
        padding: 0 12px;
        margin: 16px auto;
    }

    .glass-panel {
        padding: 16px 12px;
    }
}

/* ── SIDEBAR EXTRAS ────────────────────────────────────────── */
.sidebar-status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.progress-bar-base {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--project-accent, var(--accent-cyan)), var(--project-accent-end, var(--accent)));
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 15px var(--project-accent, var(--accent-cyan));
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scanning highlight effect */
.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    width: 60px;
    animation: bar-scan 2s infinite linear;
}

@keyframes bar-scan {
    0% { transform: translateX(-60px); }
    100% { transform: translateX(300px); }
}

.progress-percent {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--project-accent, var(--accent-cyan));
    text-shadow: 0 0 10px var(--project-accent, var(--accent-cyan));
    animation: text-pulse 2s infinite;
}

@keyframes text-pulse {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.7; filter: brightness(1.5); }
}

.status-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--project-accent, var(--accent-cyan));
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.status-text {
    font-size: 0.8rem;
    color: var(--text-1);
    line-height: 1.4;
}

.badge-soon {
    font-size: 0.6rem;
    font-weight: 800;
    background: var(--surface-2);
    color: var(--text-2);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    text-transform: uppercase;
    border: 1px solid var(--border);
}

/* ── TOAST NOTIFICATIONS ── */
#toast-container {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--surface-2);
    color: var(--text-1);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    pointer-events: auto;
}

@keyframes toastUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast.fade-out {
    animation: toastDown 0.3s forwards;
}

@keyframes toastDown {
    to { transform: translateY(20px); opacity: 0; }
}

/* ── SHARED POST HIGHLIGHT ── */
@keyframes highlightGlow {
    0% { border-color: var(--border); box-shadow: none; }
    20% { border-color: var(--accent-cyan); box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); transform: scale(1.01); }
    80% { border-color: var(--accent-cyan); box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); transform: scale(1.01); }
    100% { border-color: var(--border); box-shadow: none; transform: scale(1); }
}

.post-card.highlight-target {
    animation: highlightGlow 3s ease-out forwards;
    z-index: 10;
}
