/* ═══════════════════════════════════════════════════════════════════════════════
   PASUX - Betting Social Media App
   Instagram-Style Dark Neon Theme - v2 (Accent System + Mobile Margins)
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0A0E17;
    --bg-surface: #121829;
    --bg-elevated: #162035;
    --bg-input: #1A2035;
    --bg-hover: #1E2640;
    --bg-press: #253050;
    --border-color: #1E2A45;
    --border-light: #2A3050;
    --border-focus: #3A4570;
    --neon-green: #00E5A3;
    --neon-green-rgb: 0, 229, 163;
    --neon-blue: #10B981;
    --neon-blue-rgb: 16, 185, 129;
    --gold: #FFD700;
    --gold-rgb: 255, 215, 0;
    --red: #FF4757;
    --red-rgb: 255, 71, 87;
    --orange: #FFA502;
    --orange-rgb: 255, 165, 2;
    --purple: #9B59B6;
    --purple-rgb: 155, 89, 182;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #999999;
    --text-dim: #666666;
    --text-faint: #444444;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, monospace;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-float: 0 12px 36px rgba(0,0,0,0.5);
    --shadow-neon-green: 0 0 20px rgba(0,229,163,0.25);
    --shadow-neon-blue: 0 0 20px rgba(16,185,129,0.25);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-toast: 700;

    /* ── Accent color system (set via inline style per card) ── */
    --accent-hex: var(--neon-green);
    --accent-rgb: var(--neon-green-rgb);
}

img,
video,
.protected-media {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img.protected-media,
[data-bg-url].protected-media {
    pointer-events: none;
}

/* ─── Reset ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; overscroll-behavior-y:contain; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body { font-family:var(--font-main); background:var(--bg-primary); color:var(--text-secondary); min-height:100vh; line-height:1.6; overflow-x:hidden; -webkit-overflow-scrolling:touch; scroll-behavior:smooth; -webkit-tap-highlight-color:transparent; }
a { color:var(--neon-green); text-decoration:none; transition:opacity var(--duration-fast); }
a:hover { opacity:0.85; }
img { max-width:100%; display:block; object-fit:cover; }
button { font-family:inherit; cursor:pointer; border:none; background:none; outline:none; -webkit-tap-highlight-color:transparent; }
input, textarea, select { font-family:inherit; outline:none; }
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--border-light); border-radius:var(--radius-full); }
::selection { background:rgba(0,229,163,0.3); color:var(--text-primary); }


/* ═══════════════════════════════════════════════════════════════════════════════
   1. NAVBAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.navbar {
    position:sticky; top:0; z-index:var(--z-navbar);
    background:rgba(10,14,23,0.92);
    border-bottom:1px solid var(--border-color);
    backdrop-filter:blur(20px) saturate(180%);
    -webkit-backdrop-filter:blur(20px) saturate(180%);
}

.navbar-inner {
    display:flex; align-items:center; justify-content:space-between;
    height:60px; max-width:935px; margin:0 auto; padding:0 16px; gap:16px;
}

.nav-logo {
    display:flex; align-items:center; gap:10px;
    color:var(--text-primary); font-weight:800; font-size:22px;
    letter-spacing:1.5px; text-decoration:none; flex-shrink:0;
}
.nav-logo:hover { opacity:1; }

.logo-icon {
    width:34px; height:34px; border-radius:8px;
    background:linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    display:flex; align-items:center; justify-content:center;
    color:var(--bg-primary); font-weight:900; font-size:18px; flex-shrink:0;
    box-shadow:0 2px 8px rgba(0,229,163,0.3);
}

.logo-text {
    color:white; font-weight:800; font-size:22px; letter-spacing:1px;
    background:linear-gradient(135deg, var(--text-primary), var(--neon-green));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

.nav-center {
    display:flex; gap:4px;
}

.nav-link {
    display:flex; align-items:center; gap:6px;
    padding:8px 16px; border-radius:var(--radius-md);
    color:var(--text-muted); font-size:14px; font-weight:500;
    transition:all var(--duration-fast); position:relative;
}
.nav-link:hover { color:var(--text-primary); background:rgba(255,255,255,0.05); }
.nav-link.active { color:var(--neon-green); background:rgba(0,229,163,0.08); }
.nav-link.active::after {
    content:''; position:absolute; bottom:-1px; left:50%; transform:translateX(-50%);
    width:20px; height:2px; background:var(--neon-green); border-radius:var(--radius-full);
}

.nav-rail-toggle {
    display: none;
}

.nav-right { display:flex; gap:8px; align-items:center; }

.nav-icon-btn {
    background:var(--bg-input); border:1px solid var(--border-light);
    color:var(--text-muted); width:38px; height:38px;
    border-radius:var(--radius-md); cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:all var(--duration-fast); position:relative;
}
.nav-icon-btn:hover {
    color:var(--neon-green); border-color:rgba(0,229,163,0.4);
    background:rgba(0,229,163,0.08);
}

/* Desktop global navigation for non-home pages */
.desktop-global-nav { display:none; }
.desktop-global-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    height: 64px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.desktop-global-brand {
    color: var(--text-primary);
    font-weight: 800;
    text-decoration: none;
    flex-shrink: 0;
}
.desktop-global-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.desktop-global-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: rgba(255,255,255,0.01);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--duration-fast);
}
.desktop-global-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
    border-color: var(--border-color);
}
.desktop-global-link.active {
    color: var(--neon-green);
    background: rgba(0,229,163,0.1);
    border-color: rgba(0,229,163,0.32);
}
.desktop-global-auth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--duration-fast);
}
.desktop-global-auth:hover {
    color: var(--neon-green);
    border-color: rgba(0,229,163,0.32);
}
[data-theme="light"] .desktop-global-nav {
    background: rgba(255,255,255,0.94);
    border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .desktop-global-link {
    color: #475569;
}
[data-theme="light"] .desktop-global-link:hover {
    color: #0f172a;
    background: rgba(15,23,42,0.04);
    border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .desktop-global-link.active {
    color: #028e67;
    background: rgba(2,142,103,0.1);
    border-color: rgba(2,142,103,0.28);
}
[data-theme="light"] .desktop-global-auth {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(15,23,42,0.16);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   2. STORIES BAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.stories-bar {
    background:var(--bg-primary); border-bottom:1px solid var(--border-color);
    padding:10px 0; overflow:hidden;
}

.stories-scroll {
    display:flex; gap:20px; overflow-x:auto; scrollbar-width:none;
    -ms-overflow-style:none; scroll-snap-type:x proximity;
    padding:0 12px; -webkit-overflow-scrolling:touch;
}
.stories-scroll::-webkit-scrollbar { display:none; }

.story-item {
    display:flex; flex-direction:column; align-items:center; gap:6px;
    flex-shrink:0; cursor:pointer; scroll-snap-align:start; text-decoration:none;
}

.story-ring {
    width:68px; height:68px; border-radius:var(--radius-full); padding:3px;
    background:linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--purple));
    background-size:200% 200%; animation:storyGradientShift 4s ease infinite;
    transition:transform 180ms ease-out;
    aspect-ratio:1;
}
.story-item:hover .story-ring { transform:scale(1.03); }



@keyframes storyGradientShift {
    0%,100% { background-position:0% 50%; }
    50% { background-position:100% 50%; }
}

.story-avatar-wrap {
    width:100%; height:100%; border-radius:var(--radius-full);
    border:3px solid var(--bg-primary); background:var(--bg-elevated);
    display:flex; align-items:center; justify-content:center;
    color:var(--neon-green); font-weight:700; font-size:22px; overflow:hidden;
}
.story-avatar-wrap img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-full); }

.story-name {
    font-size:11px; color:var(--text-primary); max-width:110px;
    text-align:center; overflow:hidden;
    font-weight: 800;
    /* Allow 2 lines for full names like "Victor "Odi" Kiprono" */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.15;
    word-break: break-word;
}
.story-item.story-watched {
    opacity: 0.55;
}
.story-item.story-watched .story-ring {
    background: rgba(255,255,255,0.16);
}



/* ═══════════════════════════════════════════════════════════════════════════════
   3. FEED / POST CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.feed-container {
    max-width:750px; margin:0 auto; padding:0 16px 80px;
}

/* ── Post Card ── */
.post-card {
    background:
        linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
        linear-gradient(135deg, rgba(0,229,163,0.95), rgba(255,0,92,0.92)) border-box;
    border-radius:var(--radius-lg);
    border:1.5px solid transparent;
    border-left-width:3px;
    box-shadow:0 0 24px rgba(0,229,163,0.16), 0 0 24px rgba(255,0,92,0.16), 0 4px 16px rgba(0,0,0,0.3);
    overflow:hidden; position:relative;
    margin:0 0 12px 0;
    animation:cardEntrance var(--duration-slow) ease both;
}
.post-card:hover {
    box-shadow:0 0 30px rgba(0,229,163,0.24), 0 0 30px rgba(255,0,92,0.22), 0 8px 22px rgba(0,0,0,0.34);
}

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

/* ── Post Header ── */
.post-header {
    padding:12px 16px; display:flex; justify-content:space-between; align-items:center;
}

.post-user {
    display:flex; align-items:center; gap:10px; text-decoration:none; flex:1; min-width:0;
}
.post-user:hover { opacity:1; }

.post-avatar {
    width:36px; height:36px; border-radius:var(--radius-full);
    background:
        linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
        linear-gradient(135deg, #00E5A3, #FF005C) border-box;
    color:var(--neon-green);
    display:flex; align-items:center; justify-content:center;
    font-weight:700; font-size:14px; flex-shrink:0; overflow:hidden;
    border:2px solid transparent;
    box-shadow:0 0 14px rgba(0,229,163,0.34), 0 0 14px rgba(255,0,92,0.26);
}
.post-avatar img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-full); }

.post-user-info { display:flex; flex-direction:column; gap:1px; min-width:0; }

.post-username {
    color:white; font-weight:600; font-size:13px; line-height:1.2;
    display:flex; align-items:center; gap:4px; flex-wrap:wrap;
}

.post-handle {
    color:var(--text-dim); font-size:12px; line-height:1.2;
}

.post-header-right {
    display:flex; align-items:center; gap:8px; flex-shrink:0;
}

/* ── Verified Badge ── */
.verified-badge {
    display:inline-flex; align-items:center; justify-content:center;
    color:var(--neon-blue); font-size:13px; flex-shrink:0;
}

/* ── Pro Badge ── */
.pro-badge {
    display:inline-flex; align-items:center; gap:3px;
    padding:2px 7px; border-radius:4px; font-size:10px; font-weight:700;
    background:linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,165,2,0.15));
    color:var(--gold); border:1px solid rgba(255,215,0,0.4);
    letter-spacing:0.3px; text-transform:uppercase;
}

/* ── Follow Button ── */
.follow-btn {
    padding:5px 16px; border-radius:var(--radius-sm); font-size:12px; font-weight:700;
    cursor:pointer; transition:all var(--duration-normal); border:none; letter-spacing:0.2px;
    background:var(--neon-green); color:var(--bg-primary);
}
.follow-btn:hover { background:#00cc91; box-shadow:var(--shadow-neon-green); }
.follow-btn.following {
    background:transparent; color:var(--text-muted); border:1px solid var(--border-light);
}
.follow-btn.following:hover { border-color:var(--red); color:var(--red); background:rgba(255,71,87,0.08); }

.message-tipstar-btn {
    min-width:34px;
    height:30px;
    padding:0 10px;
    border-radius:var(--radius-sm);
    border:1px solid rgba(16,185,129,0.42);
    background:rgba(16,185,129,0.12);
    color:#6ee7b7;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    transition:all var(--duration-fast);
}
.message-tipstar-btn:hover {
    background:rgba(16,185,129,0.22);
    border-color:#6ee7b7;
    box-shadow:0 0 18px rgba(16,185,129,0.28);
    transform:translateY(-1px);
}
.profile-message-btn {
    height:42px;
    padding:0 18px;
    border-radius:var(--radius-md);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   4. ODDS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.post-odds-section {
    padding:20px 16px; text-align:center;
    background:
        radial-gradient(circle at 22% 18%, rgba(0,229,163,0.18), transparent 42%),
        radial-gradient(circle at 78% 14%, rgba(255,0,92,0.18), transparent 40%),
        linear-gradient(180deg, rgba(0,229,163,0.08), rgba(255,0,92,0.08) 48%, transparent);
    box-shadow: inset 0 -2px 14px rgba(0,229,163,0.08), inset 0 2px 14px rgba(255,0,92,0.08);
    position:relative;
}

.odds-display { position:relative; }

.odds-value {
    font-size:48px; font-weight:900; color:var(--accent-hex);
    text-shadow:0 0 30px rgba(var(--accent-rgb), 0.4), 0 0 60px rgba(var(--accent-rgb), 0.2), 0 0 100px rgba(var(--accent-rgb), 0.1);
    line-height:1; letter-spacing:-1px;
}

.odds-meta {
    display:flex; align-items:center; justify-content:center; gap:8px; margin-top:10px;
    flex-wrap:wrap; padding:0 12px;
}

.bookmaker-tag {
    min-height:28px; padding:6px 12px; border-radius:7px;
    background:linear-gradient(135deg, #10B981, #00E5A3);
    color:#06111f; border:1px solid rgba(255,255,255,0.18);
    font-size:12px; font-weight:900; letter-spacing:0.45px;
    text-transform:uppercase; line-height:1;
    box-shadow:0 8px 18px rgba(16,185,129,0.20), inset 0 1px 0 rgba(255,255,255,0.35);
    display:inline-flex; align-items:center; justify-content:center;
    max-width:180px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.bet-code {
    min-height:28px; padding:6px 11px; border-radius:7px;
    color:#F8FAFC; font-size:12px; font-family:var(--font-mono);
    font-weight:900; letter-spacing:0.75px; line-height:1;
    background:rgba(255,255,255,0.09);
    border:1px dashed rgba(255,255,255,0.28);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
    display:inline-flex; align-items:center; justify-content:center;
    max-width:190px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   5. BET LEGS
   ═══════════════════════════════════════════════════════════════════════════════ */
.post-legs { padding:0 16px; }

.leg-row {
    display:flex; align-items:center; gap:8px; padding:8px 0;
    border-bottom:1px solid rgba(255,255,255,0.04); transition:background var(--duration-fast);
}
.leg-row:last-child { border-bottom:none; }
.leg-row:hover { background:rgba(255,255,255,0.02); }
.leg-row.won { border-left:3px solid var(--neon-green); padding-left:5px; }
.leg-row.lost { border-left:3px solid var(--red); padding-left:5px; }

.leg-icon { color:var(--text-dim); font-size:12px; width:16px; text-align:center; }

.leg-match {
    color:var(--text-muted); font-size:13px; flex:1;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.leg-selection {
    color:white; font-size:13px; font-weight:600; max-width:120px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.leg-odds {
    color:var(--neon-green); font-size:13px; font-weight:700;
    font-family:var(--font-mono); min-width:36px; text-align:right;
}

.leg-number {
    padding:4px 8px; border-radius:6px;
    background:rgba(0,229,163,0.1); color:var(--neon-green);
    font-weight:700; font-size:12px; min-width:28px; text-align:center; flex-shrink:0;
}

.leg-info { display:flex; flex-direction:column; flex:1; min-width:0; }
.leg-market { color:var(--text-dim); font-size:12px; }


/* ═══════════════════════════════════════════════════════════════════════════════
   6. POST CAPTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.post-caption {
    padding:8px 16px; font-size:13px; line-height:1.5; color:var(--text-secondary);
}
.post-caption.full { padding:12px 16px; }
.post-caption p { margin:0; }
.prediction-label {
    display: block;
    margin: 0 0 5px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.caption-more {
    color:var(--text-dim); font-size:13px; cursor:pointer;
}
.caption-more:hover { color:var(--text-muted); }

.analysis-label {
    color:var(--neon-green); font-size:12px; font-weight:700;
    letter-spacing:1px; text-transform:uppercase; margin-bottom:6px;
    display:flex; align-items:center; gap:6px;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   7. REACTION BAR & BREAKDOWN
   ═══════════════════════════════════════════════════════════════════════════════ */
.post-reaction-bar {
    display:flex; align-items:center; gap:6px; padding:4px 16px; flex-wrap:wrap;
}

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

.breakdown-item {
    font-size:12px; color:var(--text-dim);
}

.reaction-total-count {
    font-size:13px; font-weight:600; color:var(--text-primary);
}

.post-stats-separator {
    color:var(--text-dim); font-size:13px; margin:0 2px;
}

.post-stat {
    font-size:13px; color:var(--text-dim);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   8. STAR RATING
   ═══════════════════════════════════════════════════════════════════════════════ */
.post-rating {
    display:flex; align-items:center; gap:2px; padding:4px 16px;
}

.star-btn {
    font-size:16px; color:var(--text-faint); cursor:pointer;
    transition:all var(--duration-fast); background:none; border:none; padding:2px; line-height:1;
}
.star-btn:hover { transform:scale(1.3); }
.star-btn.active { color:var(--gold); text-shadow:0 0 8px rgba(255,215,0,0.4); }
.star-btn.rated { color:var(--gold); }
.star-btn.bounce { animation:starBounce 0.4s ease; }

@keyframes starBounce {
    0% { transform:scale(1); }
    50% { transform:scale(1.4); }
    100% { transform:scale(1); }
}

.rating-text {
    font-size:12px; font-weight:700; color:var(--text-muted); margin-left:6px;
}

.rating-login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 229, 163, 0.26);
    background: rgba(0, 229, 163, 0.08);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.rating-login-link:hover {
    color: var(--neon-green);
    border-color: rgba(0, 229, 163, 0.42);
    background: rgba(0, 229, 163, 0.12);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   9. ACTION BUTTONS (Instagram-style bottom bar)
   ═══════════════════════════════════════════════════════════════════════════════ */
.post-actions {
    display:flex; align-items:center; justify-content:space-between;
    padding:6px 16px;
}

.action-btn {
    background:none; border:none; color:var(--text-primary);
    font-size:22px; padding:4px; cursor:pointer;
    transition:all var(--duration-fast); display:flex;
    align-items:center; justify-content:center;
    width:32px; height:32px; position:relative;
}
.action-btn:hover { opacity:0.6; }
.action-btn:active { transform:scale(0.85); }
.action-btn.guest-locked {
    opacity: 0.55;
}
.action-btn.guest-locked:hover {
    opacity: 0.78;
}

.action-btn.active, .action-heart.active {
    color:var(--red);
}
.action-heart.active:hover { opacity:0.8; }
.action-heart.bounce { animation:heartBounce 0.4s ease; }

@keyframes heartBounce {
    0% { transform:scale(1); }
    25% { transform:scale(1.3); }
    50% { transform:scale(0.95); }
    100% { transform:scale(1); }
}

.action-bookmark.active { color:var(--gold); }
.action-bookmark.active:hover { opacity:0.8; }


/* ═══════════════════════════════════════════════════════════════════════════════
   10. COMMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */
.comments-preview { padding:0 16px; }
.comments-preview.has-comments,
.comments-section {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}
.comments-preview.has-comments::-webkit-scrollbar,
.comments-section::-webkit-scrollbar { width: 5px; }
.comments-preview.has-comments::-webkit-scrollbar-thumb,
.comments-section::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-full);
}

.view-all-comments {
    color:var(--text-dim); font-size:13px; cursor:pointer;
    display:block; margin-bottom:4px; transition:color var(--duration-fast);
}
.view-all-comments:hover { color:var(--text-muted); }

.comments-section { padding:0 16px; }

.comments-title {
    color:var(--text-primary); font-size:16px; font-weight:700;
    padding:12px 0 8px; border-top:1px solid var(--border-color);
}

.comment-item {
    display:flex; gap:8px; padding:6px 0; font-size:13px; line-height:1.4;
}

.comment-avatar {
    width:24px; height:24px; border-radius:var(--radius-full);
    background:var(--bg-elevated); display:flex; align-items:center;
    justify-content:center; font-size:10px; font-weight:700;
    color:var(--neon-green); flex-shrink:0; overflow:hidden;
}

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

.comment-nick { font-weight:600; color:var(--text-primary); margin-right:4px; }

.comment-text { color:var(--text-secondary); word-break:break-word; }

.comment-meta { display:flex; gap:16px; margin-top:2px; }
.comment-meta span { font-size:11px; color:var(--text-dim); cursor:pointer; }
.comment-meta span:hover { color:var(--text-muted); }

.comment-time { font-size:11px; color:var(--text-dim); }

.no-comments { color:var(--text-dim); font-size:13px; padding:12px 0; text-align:center; }


/* ── Comment Input ── */
.comment-input {
    display:flex; align-items:center; gap:8px;
    padding:8px 16px; border-top:1px solid var(--border-color); min-height:48px;
    transition:max-height 0.24s ease, opacity 0.2s ease, padding 0.2s ease;
}
.comment-input.is-collapsed {
    max-height:0;
    min-height:0;
    opacity:0;
    overflow:hidden;
    padding-top:0;
    padding-bottom:0;
    border-top:0;
    pointer-events:none;
}
.comment-input.is-active {
    max-height:64px;
    opacity:1;
    pointer-events:auto;
}

.guest-interaction-note,
.guest-comment-lock {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:10px 16px 0;
    padding:12px 14px;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    background:rgba(255,255,255,0.04);
    color:rgba(245,251,255,0.75);
    font-size:13px;
    line-height:1.4;
    text-align:center;
}
.guest-interaction-note i,
.guest-comment-lock i {
    color:var(--accent);
    font-size:14px;
}

.comment-input-field {
    flex:1; background:none; border:none; color:var(--text-primary);
    font-size:14px; padding:6px 0; line-height:1.3;
}
.comment-input-field::placeholder { color:var(--text-dim); }

.comment-send-btn {
    background:none; border:none; color:var(--neon-green);
    font-size:14px; font-weight:700; padding:6px; cursor:pointer;
    opacity:0.4; transition:all var(--duration-fast);
}
.comment-send-btn:hover { opacity:1; }


/* Desktop Comments Drawer */
.desktop-comments-drawer {
    position:fixed; right:0; top:0; width:360px; height:100vh;
    background:var(--bg-surface); border-left:1px solid var(--border-color);
    z-index:var(--z-modal); transform:translateX(100%);
    transition:transform var(--duration-normal); display:flex;
    flex-direction:column; box-shadow:-4px 0 16px rgba(0,0,0,0.3);
}
.desktop-comments-drawer.show { transform:translateX(0); }

.drawer-header {
    display:flex; align-items:center; justify-content:space-between;
    padding:16px; border-bottom:1px solid var(--border-color); flex-shrink:0;
}
.drawer-header h3 {
    color:var(--text-primary); font-size:16px; font-weight:700; margin:0;
}
.drawer-close {
    background:none; border:none; color:var(--text-muted);
    font-size:18px; cursor:pointer; padding:4px;
    transition:color var(--duration-fast);
}
.drawer-close:hover { color:var(--text-primary); }

.drawer-content {
    flex:1; overflow-y:auto; padding:12px 16px;
    scrollbar-width:thin; scrollbar-color:var(--border-light) transparent;
}
.drawer-content::-webkit-scrollbar { width:6px; }
.drawer-content::-webkit-scrollbar-track { background:transparent; }
.drawer-content::-webkit-scrollbar-thumb {
    background:var(--border-light); border-radius:var(--radius-full);
}

.drawer-input {
    display:flex; align-items:center; gap:8px;
    padding:12px 16px; border-top:1px solid var(--border-color); flex-shrink:0;
}
.drawer-comment-input {
    flex:1; background:none; border:none; color:var(--text-primary);
    font-size:14px; padding:6px 0; line-height:1.3;
}
.drawer-comment-input::placeholder { color:var(--text-dim); }

.drawer-comment-send {
    background:none; border:none; color:var(--neon-green);
    font-size:14px; font-weight:700; padding:6px; cursor:pointer;
    opacity:0.4; transition:all var(--duration-fast);
}
.drawer-comment-send:hover { opacity:1; }

@media (max-width:768px) {
    .desktop-comments-drawer { display:none; }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   11. STATUS BADGES
   ═══════════════════════════════════════════════════════════════════════════════ */
.status-badge {
    display:inline-flex; align-items:center; gap:4px;
    padding:3px 10px; border-radius:var(--radius-sm);
    font-size:11px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase;
}

.status-active {
    background:rgba(0,229,163,0.12); color:var(--neon-green);
    border:1px solid rgba(0,229,163,0.3);
    animation:activePulse 2s ease infinite;
}
@keyframes activePulse {
    0%, 100% { opacity:1; }
    50% { opacity:0.7; }
}
.status-pending {
    background:rgba(255,165,2,0.12); color:var(--orange);
    border:1px solid rgba(255,165,2,0.3);
}
.status-won {
    background:rgba(0,229,163,0.12); color:var(--neon-green);
    border:1px solid rgba(0,229,163,0.3);
}
.status-lost {
    background:rgba(255,71,87,0.12); color:var(--red);
    border:1px solid rgba(255,71,87,0.3);
}
.status-partial {
    background:rgba(16,185,129,0.12); color:var(--neon-blue);
    border:1px solid rgba(16,185,129,0.3);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   12. DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.detail-container {
    max-width:614px; margin:0 auto; padding:16px 16px 80px;
}

.detail-post { border:1px solid var(--border-color); border-radius:var(--radius-lg); margin-bottom:16px; }
.detail-return-btn {
    display:inline-flex; align-items:center; gap:8px;
    margin:0 0 12px; padding:9px 14px;
    border-radius:var(--radius-full); border:1px solid var(--border-light);
    background:rgba(255,255,255,0.04); color:var(--text-primary);
    font-size:13px; font-weight:700; cursor:pointer;
}
.detail-return-btn:hover {
    border-color:rgba(0,229,163,0.4);
    background:rgba(0,229,163,0.08);
}

.detail-stats-row {
    display:flex; justify-content:space-around; padding:12px 16px;
    border-top:1px solid var(--border-color);
}
.detail-stats-row span {
    font-size:12px; color:var(--text-dim); display:flex; align-items:center; gap:4px;
}

/* Related Section */
.related-section {
    padding:0 16px; margin-top:24px;
}
.related-section h3 {
    color:var(--text-primary); font-size:16px; font-weight:700; margin-bottom:12px;
}

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

.related-card {
    background:var(--bg-surface); border-radius:var(--radius-md);
    border:1px solid var(--border-color); padding:12px;
    text-decoration:none; transition:all var(--duration-fast);
    display:flex; flex-direction:column; gap:4px;
}
.related-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }

.related-odds {
    font-size:20px; font-weight:900; color:var(--neon-green);
}

.related-status { font-size:10px; font-weight:700; letter-spacing:0.5px; }

.related-legs { font-size:11px; color:var(--text-dim); }


/* ═══════════════════════════════════════════════════════════════════════════════
   13. EXPLORE PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.explore-container {
    max-width:935px; margin:0 auto; padding:16px 12px 80px;
}

.explore-title {
    color:var(--text-primary); font-size:24px; font-weight:700;
    display:flex; align-items:center; gap:10px; margin-bottom:4px;
}
.explore-title i { color:var(--neon-green); }



.explore-tabs {
    display:flex; gap:4px; border-bottom:1px solid var(--border-color);
    margin-bottom:16px; overflow-x:auto; scrollbar-width:none;
}
.explore-tabs::-webkit-scrollbar { display:none; }

.explore-tab {
    padding:12px 20px; font-size:14px; font-weight:600;
    color:var(--text-muted); background:none; border:none;
    cursor:pointer; white-space:nowrap; position:relative;
    transition:color var(--duration-fast);
}
.explore-tab:hover { color:var(--text-primary); }
.explore-tab.active { color:var(--text-primary); }
.explore-tab.active::after {
    content:''; position:absolute; bottom:-1px; left:0; right:0;
    height:2px; background:var(--text-primary); border-radius:var(--radius-full);
}

.explore-section { /* Container for tab content */ }

.explore-grid {
    display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:12px;
}

.explore-card {
    background:var(--bg-surface); border-radius:var(--radius-lg);
    border:1px solid var(--border-color); padding:16px;
    transition:all var(--duration-normal); cursor:pointer; text-decoration:none;
    display:flex; flex-direction:column; gap:8px; position:relative;
}
.explore-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); border-color:var(--border-light); }

.explore-card-odds {
    font-size:28px; font-weight:900; color:var(--neon-green);
    text-shadow:0 0 20px rgba(0,229,163,0.3);
}

.explore-card-info { display:flex; flex-direction:column; gap:2px; }

.explore-card-tipster {
    color:var(--text-primary); font-size:14px; font-weight:600;
    display:flex; align-items:center; gap:4px;
}

.explore-card-meta { color:var(--text-dim); font-size:12px; }

.explore-card-stats {
    display:flex; gap:12px; font-size:12px; color:var(--text-dim);
}

.explore-card-rating {
    color:var(--text-muted); font-size:12px;
}
.explore-card-rating i { color:var(--gold); }

.hot-badge, .won-badge {
    position:absolute; top:8px; right:8px; padding:3px 8px;
    border-radius:var(--radius-sm); font-size:10px; font-weight:700;
    letter-spacing:0.5px; text-transform:uppercase;
}
.hot-badge {
    background:rgba(255,165,2,0.15); color:var(--orange);
    border:1px solid rgba(255,165,2,0.3);
}
.won-badge {
    background:rgba(0,229,163,0.15); color:var(--neon-green);
    border:1px solid rgba(0,229,163,0.3);
}

.won-card { border-color:rgba(0,229,163,0.2); }
.explore-card.hot { border-color:rgba(255,165,2,0.2); }


/* ═══════════════════════════════════════════════════════════════════════════════
   14. TIPSTARS PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.tipstars-container {
    max-width:935px; margin:0 auto; padding:16px 12px 80px;
}




/* ═══════════════════════════════════════════════════════════════════════════════
   15. PROFILE PAGE (Tipstar Detail)
   ═══════════════════════════════════════════════════════════════════════════════ */
.profile-container {
    max-width:935px; margin:0 auto; padding-bottom:80px;
}

.profile-header {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 26px rgba(var(--accent-rgb), 0.18);
    margin: 14px 12px 0;
    padding: 16px 14px 18px;
}

.profile-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,12,20,0.36) 0%, rgba(7,12,20,0.78) 62%, rgba(7,12,20,0.92) 100%);
}
.profile-cover img { width:100%; height:100%; object-fit:cover; }

.profile-header > *:not(.profile-cover) {
    position: relative;
    z-index: 1;
}

.profile-avatar-wrap {
    margin-top: 2px;
    display: inline-block;
    position: relative;
}

.profile-avatar {
    width:88px; height:88px; border-radius:var(--radius-full);
    background:linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    color:var(--bg-primary); display:inline-flex; align-items:center;
    justify-content:center; font-weight:900; font-size:36px;
    border:4px solid var(--bg-primary); box-shadow:0 0 30px rgba(0,229,163,0.25);
    overflow:hidden;
}
.profile-avatar img { width:100%; height:100%; border-radius:var(--radius-full); object-fit:cover; }

.profile-verified {
    position:absolute; bottom:2px; right:2px; width:22px; height:22px;
    background:var(--neon-blue); border-radius:var(--radius-full);
    border:2px solid var(--bg-primary); display:flex; align-items:center;
    justify-content:center; color:white; font-size:11px;
}

.profile-info { margin-top:8px; }
.profile-info h1 {
    color:white; font-size:20px; font-weight:700;
    display:flex; align-items:center; justify-content:center; gap:6px;
}

.profile-handle { color:var(--text-dim); font-size:14px; display:block; margin-top:2px; }

.profile-bio {
    color:var(--text-muted); font-size:14px; max-width:400px;
    margin:6px auto 0; line-height:1.5;
}

.profile-actions {
    display:flex; justify-content:center; gap:8px; margin-top:12px; flex-wrap:wrap;
}

.follow-btn-lg {
    padding:8px 40px; border-radius:var(--radius-sm); font-size:14px; font-weight:700;
    cursor:pointer; transition:all var(--duration-normal); border:none; letter-spacing:0.3px;
    background:var(--neon-green); color:var(--bg-primary);
}
.follow-btn-lg:hover { background:#00cc91; box-shadow:var(--shadow-neon-green); }
.follow-btn-lg.following {
    background:transparent; color:var(--text-muted); border:1px solid var(--border-light);
}
.follow-btn-lg.following:hover { border-color:var(--red); color:var(--red); }

.profile-meta-panel {
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    margin-top:14px;
}

.profile-meta-item {
    text-align:left;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,0.14);
    border-radius:var(--radius-md);
    background:rgba(7,12,20,0.42);
    min-width:0;
}

.profile-meta-item span {
    display:block;
    color:var(--text-dim);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:4px;
}

.profile-meta-item span i { margin-right:5px; }

.profile-meta-item strong {
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--text-primary);
    font-size:13px;
    overflow-wrap:anywhere;
}

.profile-meta-contact {
    width:100%;
    cursor:pointer;
    font:inherit;
}

.profile-meta-contact:hover {
    border-color:rgba(var(--accent-rgb), 0.55);
    background:rgba(var(--accent-rgb), 0.12);
}

.profile-color-dot {
    width:12px;
    height:12px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.55);
    flex:0 0 auto;
}

.profile-tip-panel {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
    padding:12px;
    border-radius:var(--radius-md);
    border:1px solid rgba(var(--accent-rgb), 0.34);
    background:rgba(7,12,20,0.55);
    text-align:left;
}

.profile-tip-icon {
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111827;
    background:#f7931a;
    font-size:20px;
    flex:0 0 auto;
}

.profile-tip-copy {
    flex:1;
    min-width:0;
}

.profile-tip-copy span {
    display:block;
    color:var(--text-primary);
    font-size:13px;
    font-weight:800;
}

.profile-tip-copy code {
    display:block;
    color:var(--text-muted);
    font-size:12px;
    margin-top:3px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.profile-tip-actions {
    display:flex;
    gap:6px;
    flex:0 0 auto;
}

.profile-tip-btn {
    width:34px;
    height:34px;
    border-radius:var(--radius-sm);
    border:1px solid rgba(255,255,255,0.16);
    background:rgba(255,255,255,0.08);
    color:var(--text-primary);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    text-decoration:none;
}

.profile-tip-btn:hover {
    border-color:rgba(var(--accent-rgb), 0.8);
    color:var(--accent-hex);
}



.profile-stats {
    display:flex; justify-content:center; padding:16px 0;
    border-top:1px solid rgba(255,255,255,0.14); margin-top:16px;
}

.profile-stat-item {
    text-align:center; flex:1; cursor:pointer; padding:4px 0;
    transition:opacity var(--duration-fast);
}
.profile-stat-item:hover { opacity:0.7; }
.profile-stat-item strong { display:block; font-size:18px; font-weight:800; color:var(--text-primary); }
.profile-stat-item span { font-size:13px; color:var(--text-muted); }

/* Profile Slips Grid */
.profile-slips-section { padding:0 16px; margin-top:16px; }
.profile-slips-section h2 {
    color:var(--text-primary); font-size:16px; font-weight:700; margin-bottom:12px;
}

.profile-slips-grid {
    display:grid; grid-template-columns:repeat(3, 1fr); gap:8px;
}

.profile-slip-card {
    aspect-ratio:1; background:var(--bg-surface); border-radius:var(--radius-md);
    border:1px solid var(--border-color); position:relative; overflow:hidden;
    cursor:pointer; transition:all var(--duration-fast); text-decoration:none;
    display:flex; flex-direction:column; justify-content:center; align-items:center;
    gap:4px; padding:12px;
}
.profile-slip-card:hover { opacity:0.85; }

.profile-slip-odds {
    font-size:20px; font-weight:900; color:var(--neon-green);
}

.profile-slip-meta { font-size:10px; color:var(--text-dim); }

.profile-slip-stats {
    display:flex; gap:8px; font-size:10px; color:var(--text-dim);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   16. BOOKMARKS PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.bookmarks-container {
    max-width:614px; margin:0 auto; padding:16px 12px 80px;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   17. BOTTOM NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */
.bottom-nav {
    position: fixed;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(92vw, 380px);
    min-height: 62px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: rgba(5, 17, 24, 0.82);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(0, 229, 163, 0.18);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
    z-index: var(--z-navbar);
}

.bottom-nav-item {
    flex: 1 1 0;
    min-width: 0;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    border-radius: 16px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.bottom-nav-item:hover { color:var(--text-primary); }
.bottom-nav-item.active {
    color: var(--neon-green);
    transform: translateY(-2px) scale(1.12);
    text-shadow: 0 0 16px rgba(0,229,163,0.42);
}
.bottom-nav-item i { font-size:19px; line-height:1; width:22px; text-align:center; }
.bottom-nav-item span {
    max-width: 100%;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   18. MODAL OVERLAY & SHARE SHEET
   ═══════════════════════════════════════════════════════════════════════════════ */





/* ═══ Modal Overlay (base - hidden by default, show when .show class added) ═══ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-overlay.show {
    display: flex !important;
}

.modal-overlay.show 









.search-result-avatar,
.search-result-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(0, 229, 163, 0.1);
    color: var(--neon-green);
    font-weight: 800;
    overflow: hidden;
}
.search-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.search-result-main {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.search-result-main strong {
    font-size: 14px;
}
.search-result-main small,

.search-result-main i {
    color: var(--neon-blue);
}
.post-reaction-bar .post-stats-separator:last-child {
    display: none;
}

/* Share Sheet */
.share-sheet {
    position:fixed; bottom:0; left:0; right:0;
    background:var(--bg-surface); border-radius:24px 24px 0 0;
    padding:8px 0 40px; z-index:var(--z-modal);
    transform:translateY(100%); transition:transform var(--duration-slow);
    max-height:70vh; overflow-y:auto; max-width:500px; margin:0 auto;
}

/* ═══ Modal Overlay (base - hidden by default, show when .show class added) ═══ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-overlay.show {
    display: flex !important;
}

.modal-overlay.show .share-sheet { transform:translateY(0); }

.share-sheet-handle {
    width:40px; height:4px; background:var(--border-light);
    border-radius:var(--radius-full); margin:8px auto 16px;
}

.share-sheet h3 {
    text-align:center; color:var(--text-primary); font-size:16px;
    font-weight:700; margin-bottom:16px; padding:0 16px;
}

.share-options {
    display:flex; justify-content:center; gap:20px; padding:0 16px;
    margin-bottom:20px; flex-wrap:wrap;
}

.share-opt {
    display:flex; flex-direction:column; align-items:center; gap:8px;
    cursor:pointer; transition:transform var(--duration-fast); background:none; border:none;
    color:white;
}
.share-opt:hover { transform:scale(1.08); }
.share-opt i {
    width:56px; height:56px; border-radius:var(--radius-full);
    display:flex; align-items:center; justify-content:center;
    font-size:24px; transition:box-shadow var(--duration-fast);
}
.share-opt span { font-size:11px; color:var(--text-muted); font-weight:500; }

.share-opt.whatsapp i { background:#25D366; color:white; }
.share-opt.twitter i { background:#1DA1F2; color:white; }
.share-opt.telegram i { background:#0088CC; color:white; }
.share-opt.copy i { background:var(--bg-elevated); color:var(--text-primary); border:1px solid var(--border-light); }


/* ═══════════════════════════════════════════════════════════════════════════════
   19. REACTION PICKER
   ═══════════════════════════════════════════════════════════════════════════════ */
.reaction-picker {
    position:fixed; background:var(--bg-elevated);
    border:1px solid var(--border-light); border-radius:var(--radius-xl);
    padding:6px 8px; display:flex; gap:2px;
    box-shadow:var(--shadow-float); z-index:var(--z-popover);
    opacity:0; visibility:hidden; pointer-events:none;
    transition:all var(--duration-normal);
}
.reaction-picker.show {
    opacity:1; visibility:visible; pointer-events:auto;
    animation:reactionPickerIn var(--duration-normal) ease;
}

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

.reaction-opt {
    width:42px; height:42px; display:flex; align-items:center;
    justify-content:center; font-size:24px; border-radius:var(--radius-full);
    cursor:pointer; transition:all var(--duration-fast); background:none; border:none;
}
.reaction-opt:hover { background:rgba(255,255,255,0.1); transform:scale(1.25) translateY(-4px); }
.reaction-opt:active { transform:scale(0.9); }


/* ═══════════════════════════════════════════════════════════════════════════════
   20. DOUBLE-TAP HEART
   ═══════════════════════════════════════════════════════════════════════════════ */
.double-tap-heart {
    position:fixed; z-index:var(--z-popover);
    font-size:80px; color:white; pointer-events:none;
    opacity:0; transform:scale(0);
    transition:all 0.3s ease;
}
.double-tap-heart.show {
    opacity:1; transform:scale(1);
    animation:doubleTapHeart 0.8s ease forwards;
}

@keyframes doubleTapHeart {
    0% { opacity:0; transform:scale(0); }
    15% { opacity:1; transform:scale(1.2); }
    30% { transform:scale(0.95); }
    45% { transform:scale(1.05); }
    80% { opacity:1; transform:scale(1); }
    100% { opacity:0; transform:scale(1) translateY(-20px); }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   21. TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.toast-container {
    position:fixed; top:72px; left:50%; transform:translateX(-50%);
    z-index:var(--z-toast); display:flex; flex-direction:column;
    align-items:center; gap:8px; pointer-events:none;
}

.toast {
    background:var(--bg-elevated); color:var(--text-primary);
    padding:12px 20px; border-radius:var(--radius-md); font-size:14px; font-weight:500;
    box-shadow:var(--shadow-float); border:1px solid var(--border-light);
    animation:toastIn var(--duration-normal) ease both; pointer-events:auto;
    max-width:90vw; backdrop-filter:blur(20px);
    opacity:0; transform:translateY(-16px) scale(0.9);
}
.toast.show { opacity:1; transform:translateY(0) scale(1); }

.toast-success, .toast.toast-success { border-color:rgba(0,229,163,0.3); }
.toast-error, .toast.toast-error { border-color:rgba(255,71,87,0.3); }
.toast-info, .toast.toast-info { border-color:rgba(16,185,129,0.3); }

@keyframes toastIn {
    from { opacity:0; transform:translateY(-16px) scale(0.9); }
    to { opacity:1; transform:translateY(0) scale(1); }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   22. INFINITE SCROLL LOADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.infinite-loader {
    display:flex; justify-content:center; padding:32px 0;
}

.loading-spinner {
    display:flex; gap:6px; align-items:center;
}

.spinner-dot {
    width:8px; height:8px; border-radius:var(--radius-full);
    background:var(--neon-green); animation:spinnerPulse 1.2s ease-in-out infinite;
}
.spinner-dot:nth-child(2) { animation-delay:0.2s; }
.spinner-dot:nth-child(3) { animation-delay:0.4s; }

@keyframes spinnerPulse {
    0%, 100% { opacity:0.3; transform:scale(0.8); }
    50% { opacity:1; transform:scale(1.2); }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   23. EMPTY STATES
   ═══════════════════════════════════════════════════════════════════════════════ */
.empty-state {
    text-align:center; padding:80px 20px; color:var(--text-dim);
    animation:fadeIn var(--duration-slow);
}
.empty-state i { font-size:48px; margin-bottom:16px; display:block; opacity:0.4; }
.empty-state h3 { color:var(--text-muted); font-size:18px; font-weight:600; margin-bottom:6px; }
.empty-state p { font-size:14px; max-width:300px; margin:0 auto; }

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


/* ═══════════════════════════════════════════════════════════════════════════════
   24. PAGINATION
   ═══════════════════════════════════════════════════════════════════════════════ */
.pagination {
    display:flex; justify-content:center; align-items:center;
    gap:20px; padding:32px 0;
}

.page-btn {
    padding:8px 20px; border-radius:var(--radius-md);
    background:var(--bg-surface); color:var(--neon-green);
    font-weight:600; font-size:14px; border:1px solid var(--border-light);
    transition:all var(--duration-fast); display:flex;
    align-items:center; gap:6px; text-decoration:none;
}
.page-btn:hover { background:var(--neon-green); color:var(--bg-primary); border-color:var(--neon-green); }

.page-info { color:var(--text-muted); font-size:14px; }


/* ═══════════════════════════════════════════════════════════════════════════════
   25. MISC ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(12px); }
    to { opacity:1; transform:translateY(0); }
}

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


/* ═══════════════════════════════════════════════════════════════════════════════
   26. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-center { display:none; }
    .bottom-nav { display:flex; }
    .navbar-inner {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 0 8px;
        max-width: 100%;
        width: 100%;
    }
    .nav-rail-toggle {
        margin: 0;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        padding: 0;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-light);
        background: var(--bg-input);
        color: var(--text-muted);
        line-height: 1;
        font-size: 16px;
        transition: all var(--duration-fast);
    }
    .nav-rail-toggle:hover {
        color: var(--neon-green);
        border-color: rgba(0,229,163,0.4);
        background: rgba(0,229,163,0.08);
    }
    .nav-logo {
        min-width: 0;
        flex-shrink: 0;
        white-space: nowrap;
        gap: 4px;
        font-size: 18px;
    }
    .nav-right {
        margin-left: auto;
        gap: 4px;
        flex-shrink: 0;
    }
    .feed-container { max-width:100%; padding:0 12px 40px; }
    .detail-container { max-width:100%; padding:16px 12px 80px; }
    .bookmarks-container { max-width:100%; padding:16px 12px 80px; }
    .explore-container { max-width:100%; padding:16px 12px 80px; }
    .tipstars-container { max-width:100%; padding:16px 12px 80px; }
    .profile-container { max-width:100%; }
    .explore-grid { grid-template-columns:repeat(2, 1fr); }

    .related-grid { grid-template-columns:repeat(2, 1fr); }
}

/* Legal and programmatic SEO pages */
.legal-page,
.pseo-page {
    min-height: 100vh;
    padding: 36px 16px 104px;
    background: var(--bg-primary);
    color: var(--text-primary);
}
.legal-shell,
.pseo-hero,
.pseo-grid {
    max-width: 980px;
    margin: 0 auto;
}
.legal-shell,
.pseo-hero,
.pseo-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
}
.legal-shell {
    padding: 28px;
}
.help-center-page {
    display: grid;
    gap: 18px;
}
.help-hero,
.help-section {
    scroll-margin-top: 96px;
}
.help-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.help-section-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    font-weight: 800;
}
.help-section-nav a:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}
.legal-shell a {
    color: var(--neon-green);
    font-weight: 800;
}
.legal-shell strong {
    color: var(--text-primary);
}
.legal-kicker,
.pseo-kicker {
    color: var(--neon-green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0 0 8px;
}
.legal-shell h1,
.pseo-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.05;
}
.legal-shell h2,
.pseo-card h2 {
    margin: 22px 0 8px;
    font-size: 19px;
}
.legal-shell p,
.pseo-hero p,
.pseo-card p {
    color: var(--text-secondary);
    line-height: 1.65;
}
.pseo-hero {
    padding: 34px;
}
.pseo-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.pseo-metrics div {
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.pseo-metrics strong {
    display: block;
    color: var(--neon-green);
    font-size: 24px;
    line-height: 1.1;
}
.pseo-metrics span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}
.pseo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.pseo-card {
    padding: 22px;
}
.pseo-card h2 {
    margin-top: 0;
}
.pseo-signal-list {
    display: grid;
    gap: 10px;
}
.pseo-signal-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border-light);
}
.pseo-signal-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pseo-signal-list strong {
    color: var(--neon-green);
}
[data-theme="light"] .legal-shell,
[data-theme="light"] .pseo-hero,
[data-theme="light"] .pseo-card {
    background: #fff;
    border-color: rgba(15,23,42,0.12);
}
[data-theme="light"] .pseo-metrics div,
[data-theme="light"] .pseo-signal-list a {
    background: #f8fafc;
    border-color: rgba(15,23,42,0.12);
}

@media (max-width: 768px) {
    .legal-page,
    .pseo-page {
        padding: 22px 12px 104px;
    }
    .legal-shell,
    .pseo-hero,
    .pseo-card {
        padding: 18px;
    }
    .pseo-grid,
    .pseo-metrics {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .bottom-nav { display:none; }
    .feed-container { max-width:750px; margin:0 auto; padding:0 16px 80px; }
    body.has-desktop-global-nav {
        padding-top: 64px;
    }
    .desktop-global-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 980;
        background: rgba(8, 13, 21, 0.95);
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: blur(16px) saturate(170%);
        -webkit-backdrop-filter: blur(16px) saturate(170%);
    }
}

@media (max-width: 480px) {
    .feed-container { padding:0 10px 80px; }
    .detail-container { padding:12px 10px 80px; }
    .bookmarks-container { padding:12px 10px 80px; }
    .explore-container { padding:12px 10px 80px; }
    .tipstars-container { padding:12px 10px 80px; }
    .explore-grid { grid-template-columns:1fr; }
    .profile-slips-grid { grid-template-columns:repeat(2, 1fr); }
    .profile-meta-panel { grid-template-columns:1fr; }
    .profile-tip-panel { align-items:flex-start; }
    .profile-tip-actions { flex-direction:column; }
    .odds-value { font-size:36px; }
    .post-card { margin:0 0 6px 0; border-radius:var(--radius-md); }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   27. LIGHT THEME
   ═══════════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] {
    --bg-primary: #F8F9FA;
    --bg-surface: #FFFFFF;
    --bg-elevated: #F0F2F5;
    --bg-input: #E4E6EB;
    --bg-hover: #D8DADF;
    --bg-press: #CED0D4;
    --border-color: #DBDFE4;
    --border-light: #E4E6EB;
    --border-focus: #B0B5BD;
    --text-primary: #1C1E21;
    --text-secondary: #4A4B4D;
    --text-muted: #65676B;
    --text-dim: #8A8D91;
    --text-faint: #B0B3B8;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    --shadow-float: 0 12px 36px rgba(0,0,0,0.1);
    --shadow-neon-green: 0 0 20px rgba(0,229,163,0.15);
    --shadow-neon-blue: 0 0 20px rgba(16,185,129,0.15);
}

[data-theme="light"] .navbar {
    background: rgba(248,249,250,0.92);
}

[data-theme="light"] .stories-bar {
    background: var(--bg-primary);
}

[data-theme="light"] .bottom-nav {
    background: rgba(248,249,250,0.95);
}

[data-theme="light"] .post-card {
    background: var(--bg-surface);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.08), 0 2px 8px rgba(0,0,0,0.06);
}
[data-theme="light"] .post-card:hover {
    background: rgba(0,0,0,0.01);
}

[data-theme="light"] .post-avatar {
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.15);
}

[data-theme="light"] .post-odds-section {
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.04), transparent);
}

[data-theme="light"] .odds-value {
    text-shadow: none;
}

[data-theme="light"] .logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--neon-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

[data-theme="light"] .explore-card-odds {
    text-shadow: none;
}

[data-theme="light"] .post-username {
    color: var(--text-primary);
}

[data-theme="light"] .leg-selection {
    color: var(--text-primary);
}

[data-theme="light"] .comment-nick {
    color: var(--text-primary);
}

[data-theme="light"] .share-opt {
    color: var(--text-primary);
}

[data-theme="light"] 

[data-theme="light"] .nav-link:hover {
    background: rgba(0,0,0,0.04);
}

[data-theme="light"] .nav-link.active {
    background: rgba(0,229,163,0.08);
}

[data-theme="light"] .nav-icon-btn:hover {
    background: rgba(0,229,163,0.08);
}

[data-theme="light"] .story-avatar-wrap {
    border-color: var(--bg-primary);
}

[data-theme="light"] .leg-row:hover {
    background: rgba(0,0,0,0.02);
}

[data-theme="light"] .leg-row {
    border-bottom-color: rgba(0,0,0,0.06);
}

[data-theme="light"] 

[data-theme="light"] .toast {
    background: var(--bg-surface);
    color: var(--text-primary);
}

[data-theme="light"] .profile-avatar {
    border-color: var(--bg-primary);
}

[data-theme="light"] .profile-verified {
    border-color: var(--bg-primary);
}



[data-theme="light"] .comment-input-field {
    color: var(--text-primary);
}

[data-theme="light"] .reaction-picker {
    background: var(--bg-surface);
}

[data-theme="light"] .share-sheet {
    background: var(--bg-surface);
}

[data-theme="light"] 

[data-theme="light"] .star-btn.active {
    text-shadow: none;
}




/* ═══════════════════════════════════════════════════════════════════════════════
   THEME TOGGLE
   ═══════════════════════════════════════════════════════════════════════════════ */
.theme-toggle {
    transition: all var(--duration-fast);
}
.theme-toggle:hover {
    transform: rotate(20deg);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   REELS PANEL - Won Bets Carousel
   ═══════════════════════════════════════════════════════════════════════════════ */
.reels-panel {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
.reels-header {
    padding: 0 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.reels-header h3 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.reels-header h3 i { color: var(--gold); }
.reels-timer-hint {
    font-size: 11px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 4px;
}
.reels-timer-hint i {
    font-size: 12px;
    color: var(--orange);
}
.reels-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.reels-scroll::-webkit-scrollbar { display: none; }

/* ── Reel Card Wrapper (multi-post support) ── */
.reel-card-wrapper {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Reel Mini Slips (horizontal row below reel card) ── */
.reel-slips-mini {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 2px;
}
.reel-slips-mini::-webkit-scrollbar { display: none; }

.reel-slip-mini {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    text-decoration: none;
    transition: all var(--duration-fast);
    cursor: pointer;
}
.reel-slip-mini:hover {
    border-color: rgba(var(--accent-rgb), 0.5);
    background: rgba(var(--accent-rgb), 0.06);
}

.reel-slip-mini-odds {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-hex);
    line-height: 1;
}

.reel-slip-mini-label {
    font-size: 9px;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.reel-slip-mini.single {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.3);
    flex-direction: row;
    gap: 4px;
    padding: 4px 10px;
}
.reel-slip-mini.single .reel-slip-mini-odds {
    font-size: 12px;
}
.reel-slip-mini.single .reel-slip-mini-label {
    font-size: 9px;
}




/* ═══════════════════════════════════════════════════════════════════════════════
   TIPSTER PROFILE VARIATIONS (Accent System via CSS Custom Properties)
   ═══════════════════════════════════════════════════════════════════════════════ */



/* Pro tipster gets a special glow effect */
.post-card.pro-post {
    background: linear-gradient(180deg, rgba(255,215,0,0.03), var(--bg-surface));
    box-shadow: inset 0 1px 0 rgba(255,215,0,0.1), 0 0 20px rgba(var(--accent-rgb), 0.2), 0 4px 16px rgba(0,0,0,0.3);
}
.post-card.pro-post .post-header {
    background: linear-gradient(90deg, rgba(255,215,0,0.03), transparent);
}

/* Verified tipster gets subtle badge glow */
.post-card.verified-post .verified-badge {
    filter: drop-shadow(0 0 4px rgba(16,185,129,0.5));
}




/* ═══════════════════════════════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg-primary);
}
.login-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    box-shadow: var(--shadow-xl);
}
.login-logo {
    text-align: center;
    margin-bottom: 32px;
}
.login-logo-img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 10px auto 6px;
}
.login-logo .logo-icon.large {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 auto 12px;
    font-size: 26px;
}
.login-logo h1 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-primary), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.login-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}
.login-form .form-group {
    margin-bottom: 16px;
}
.login-form .form-group label {
    display: block;
    color: var(--neon-green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.login-form .form-group label i {
    margin-right: 6px;
}
.login-form .form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.login-form .form-group input:focus {
    border-color: var(--neon-green);
}
.login-form .form-group input::placeholder {
    color: var(--text-dim);
}
.login-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--neon-green);
    color: var(--bg-primary);
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}
.login-btn:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-neon-green);
}
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--text-dim);
    font-size: 12px;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.login-btn-google {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    opacity: 0.7;
    position: relative;
}
.coming-soon-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0,229,163,0.15);
    color: var(--neon-green);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.login-footer {
    text-align: center;
    margin-top: 24px;
}
.login-footer a {
    color: var(--text-muted);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.login-footer a:hover {
    color: var(--neon-green);
    opacity: 1;
}
.alert {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 500;
}
.alert-error {
    background: rgba(255,71,87,0.12);
    color: var(--red);
    border: 1px solid rgba(255,71,87,0.3);
}
.alert-success {
    background: rgba(0,229,163,0.12);
    color: var(--neon-green);
    border: 1px solid rgba(0,229,163,0.3);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   28. LOGO ICON IMAGE (PX Logo)
   ═══════════════════════════════════════════════════════════════════════════════ */
.logo-icon-img {
    width:36px; height:36px; border-radius:8px; flex-shrink:0;
    object-fit:cover;
    box-shadow:0 2px 8px rgba(0,229,163,0.3);
}

.nav-back-btn {
    display:flex; align-items:center; justify-content:center;
    width:38px; height:38px; border-radius:var(--radius-md);
    color:var(--text-primary); text-decoration:none;
    transition:all var(--duration-fast);
}
.nav-back-btn:hover { background:rgba(255,255,255,0.05); }


/* ═══════════════════════════════════════════════════════════════════════════════
   29. ACTIVE LEG ROW
   ═══════════════════════════════════════════════════════════════════════════════ */
.leg-row.active-leg {
    border-left:3px solid var(--neon-green); padding-left:5px;
    background:rgba(0,229,163,0.03);
}
.leg-row.active-leg .leg-selection { color:var(--neon-green); }


/* ═══════════════════════════════════════════════════════════════════════════════
   30. SHARE LINK BOX
   ═══════════════════════════════════════════════════════════════════════════════ */
.share-link-preview {
    padding:0 16px 12px;
}
.share-link-box {
    display:flex; align-items:center; gap:8px;
    background:var(--bg-input); border-radius:var(--radius-md);
    border:1px solid var(--border-light); padding:4px 4px 4px 12px;
}
.share-link-box input {
    flex:1; background:none; border:none; color:var(--neon-green);
    font-size:13px; font-family:var(--font-mono); outline:none;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.copy-link-btn {
    padding:8px 14px; border-radius:var(--radius-sm);
    background:var(--neon-green); color:var(--bg-primary);
    font-size:12px; font-weight:700; cursor:pointer;
    transition:all var(--duration-fast); border:none;
    display:flex; align-items:center; gap:4px;
}
.copy-link-btn:hover { background:#00cc91; }


/* ═══════════════════════════════════════════════════════════════════════════════
   31. TIPSTARS SEARCH BAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.tipstars-search {
    display:flex; align-items:center; gap:12px;
    background:var(--bg-input); border-radius:var(--radius-md);
    border:1px solid var(--border-light); padding:10px 16px;
    margin-bottom:16px;
}
.tipstars-search i { color:var(--text-dim); font-size:14px; }
.tipstars-search input {
    flex:1; background:none; border:none; color:var(--text-primary);
    font-size:14px; outline:none;
}
.tipstars-search input::placeholder { color:var(--text-dim); }


/* ═══════════════════════════════════════════════════════════════════════════════
   32. TRENDING TIPSTERS BANNER
   ═══════════════════════════════════════════════════════════════════════════════ */
.tipstars-trending-banner {
    display:flex; align-items:center; gap:12px;
    background:#050308;
    background-color:#050308;
    background-image:linear-gradient(135deg, #0a0612 0%, #050308 100%);
    /* Very low opacity green stroke */
    border:2px solid rgba(0, 229, 163, 0.18);
    border-radius:24px; padding:12px 16px;
    margin-bottom:0; margin-top:0; cursor:pointer;
    transition:all 0.22s ease;
    text-decoration:none;
    /* Restored to original long width */
    max-width:935px;
    margin-left:auto;
    margin-right:auto;
    /* No glow - just flat drop shadow */
    box-shadow:0 6px 20px rgba(0,0,0,0.7);
}
/* hover included above */
/* hover included below */
.tipstars-trending-banner:hover { transform:scale(1.01); }

.trending-avatars {
    display:flex; gap:-4px; flex-wrap:nowrap; overflow:hidden;
}

.trending-avatar-ring {
    width:32px; height:32px; border-radius:var(--radius-full);
    border:2px solid rgba(255,255,255,0.3); overflow:hidden;
    background:var(--bg-elevated); display:flex; align-items:center;
    justify-content:center; font-size:12px; font-weight:700;
    color:var(--neon-green); margin-left:-6px; flex-shrink:0;
    box-shadow:0 0 8px rgba(0,0,0,0.2);
}
.trending-avatar-ring:first-child { margin-left:0; }
.trending-avatar-ring img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-full); }
.trending-avatar-ring.more-ring {
    background:rgba(255,255,255,0.2); color:white; font-size:10px;
}

.trending-info {
    flex:1; display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    text-align:center;
}
.trending-info strong {
    color:rgba(255,255,255,0.95);
    font-size:16px; font-weight:800;
    text-transform:uppercase; letter-spacing:2px;
    text-align:center;
}
.trending-info span {
    color:rgba(255,255,255,0.6);
    font-size:11px; font-weight:400;
    text-align:center;
}

.trending-arrow { color:rgba(255,255,255,0.5); font-size:16px; opacity:0.7; }


/* ═══════════════════════════════════════════════════════════════════════════════
   33. TIPSTARS SECTIONS & MINI CARDS (Reference Image 3 style)
   ═══════════════════════════════════════════════════════════════════════════════ */
.tipstars-section {
    margin-bottom:24px;
}
.tipstars-section-title {
    color:var(--text-primary); font-size:18px; font-weight:700;
    margin-bottom:12px; display:flex; align-items:center; gap:8px;
}

.tipstars-flex-row {
    display:flex; gap:12px; overflow-x:auto; scrollbar-width:none;
    padding-bottom:4px; -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
}
.tipstars-flex-row::-webkit-scrollbar { display:none; }

.tipstars-grid-row {
    flex-wrap:wrap;
}

.tipstars-all-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}
.tipstars-all-row::-webkit-scrollbar { display: none; }
.tipstars-all-row .tipstar-mini-card {
    flex-shrink: 0;
}

.tipstar-mini-card {
    flex-shrink:0; width:140px; background:var(--bg-surface);
    border-radius:var(--radius-lg); overflow:hidden; position:relative;
    text-decoration:none; transition:all var(--duration-normal);
    border:1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow:0 0 16px rgba(var(--accent-rgb), 0.1), 0 4px 12px rgba(0,0,0,0.2);
    scroll-snap-align:start; text-align:center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    isolation: isolate;
}
.tipstar-mini-card:hover {
    transform:translateY(-2px);
    box-shadow:0 0 20px rgba(var(--accent-rgb), 0.2), 0 8px 24px rgba(0,0,0,0.3);
    border-color:rgba(var(--accent-rgb), 0.35);
}
.tipstar-mini-card::before,
.tipstar-mini-card::after,
.top-tier-card::before,
.top-tier-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 0;
    z-index: 1;
}
.tipstar-mini-card::before,
.top-tier-card::before {
    display: none;
}
.tipstar-mini-card::after,
.top-tier-card::after {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.10));
    opacity: 0.42;
}
.tipstar-mini-card > *:not(.tipstar-mini-cover) {
    position: relative;
    z-index: 2;
}

.tipstars-grid-row .tipstar-mini-card {
    flex-shrink:0;
}

.tipstar-mini-cover {
    position:absolute;
    inset:0;
    height:auto;
    background:linear-gradient(135deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.1));
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.tipstar-mini-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,10,0.55) 0%, rgba(10,10,20,0.80) 50%, rgba(5,5,10,0.95) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.mini-verified {
    position:absolute; top:4px; left:4px; font-size:10px;
    color:var(--neon-blue);
    z-index: 2;
}
.mini-pro {
    position:absolute; top:4px; right:4px; padding:1px 5px;
    border-radius:3px; background:rgba(255,215,0,0.2);
    color:var(--gold); font-size:8px; font-weight:700; letter-spacing:0.3px;
    z-index: 2;
}

.rank-badge {
    position:absolute; bottom:4px; right:4px; padding:2px 6px;
    border-radius:3px; font-size:9px; font-weight:700;
    letter-spacing:0.3px; backdrop-filter:blur(10px);
}
.rank-badge.diamond {
    background:rgba(110,231,183, 0.9); color:#fff;
}
.rank-badge.ruby {
    background:rgba(255, 100, 150, 0.9); color:#fff;
}
.rank-badge.tanzanite {
    background:rgba(100, 255, 200, 0.9); color:#000;
}

.tipstar-mini-avatar {
    width:44px; height:44px; border-radius:var(--radius-full);
    margin:12px auto 8px; background:rgba(var(--accent-rgb), 0.15);
    color:var(--accent-hex); display:flex; align-items:center;
    justify-content:center; font-weight:700; font-size:16px;
    border:2px solid rgba(var(--accent-rgb), 0.6);
    overflow:hidden;
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.28);
}
.tipstar-mini-avatar img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-full); }

.tipstar-mini-card h4 {
    color:var(--text-primary); font-size:13px; font-weight:700;
    margin-bottom:2px; padding:0 8px;
}

.tipstar-mini-accuracy {
    color:rgba(255,255,255,0.82); font-size:11px; display:block; margin-bottom:4px;
}

.tipstar-mini-stats {
    display:flex; justify-content:center; gap:8px; font-size:10px;
    color:rgba(255,255,255,0.74); margin-bottom:6px;
}
.tipstar-mini-stats strong { color:#fff; }

.mini-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
    cursor: pointer;
    transition: transform var(--duration-fast), box-shadow var(--duration-fast), filter var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
    border: 1px solid rgba(255,255,255,0.24);
    margin: 6px 0 12px;
    color: #06111d;
    background: linear-gradient(135deg, #6EE7B7, #10B981);
    box-shadow: 0 8px 18px rgba(16,185,129,0.34), inset 0 1px 0 rgba(255,255,255,0.46);
    position: relative;
    overflow: hidden;
}
.mini-follow-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, transparent 0%, rgba(255,255,255,0.32) 45%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 0.45s ease;
}
.tipstar-mini-card:hover .mini-follow-btn::before {
    transform: translateX(120%);
}
.mini-follow-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.07);
}
.mini-follow-btn:active {
    transform: translateY(0);
}
.mini-follow-btn.following {
    background: rgba(8,14,24,0.6);
    color: #dce6ff;
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 6px 12px rgba(0,0,0,0.24);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mini-follow-btn.following:hover {
    border-color: rgba(255,110,110,0.78);
    color: #ffe2e2;
    background: rgba(255,71,87,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 14px rgba(255,71,87,0.24);
}
.mini-message-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:94px;
    padding:6px 14px;
    margin:0 0 12px;
    border-radius:var(--radius-full);
    border:1px solid rgba(16,185,129,0.38);
    background:rgba(16,185,129,0.10);
    color:#8beeff;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
    transition:all var(--duration-fast);
}
.mini-message-btn:hover {
    background:rgba(16,185,129,0.20);
    border-color:#6ee7b7;
    box-shadow:0 0 18px rgba(16,185,129,0.22);
}

.tipstars-top-row {
    display: flex;
    overflow-x: visible;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
}
.top-tier-card {
    position: relative;
    isolation: isolate;
    width: min(100%, 920px);
    max-width: 100%;
    min-height: 236px;
    padding: 0;
    display: block;
    text-align: left;
    overflow: hidden;
}
.top-tier-locked {
    cursor: pointer;
}
.top-tier-card-shell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2vw, 14px);
    min-height: 236px;
    padding: clamp(12px, 2.5vw, 18px) clamp(14px, 2.5vw, 22px);
}
.top-tier-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(8px, 2vw, 14px);
    flex-wrap: wrap;
}
.top-tier-badge {
    position: relative;
    z-index: 3;
    min-height: clamp(24px, 4vw, 32px);
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: clamp(4px, 1vw, 7px) clamp(8px, 1.5vw, 14px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #022C22;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.72px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.24);
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.12));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 7px 16px rgba(0,0,0,0.28);
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    pointer-events: none;
}
.top-tier-badge i {
    font-size: 10px;
    filter: drop-shadow(0 1px 0 rgba(255,255,255,0.26));
}
.top-tier-note-card {
    width: min(100%, 260px);
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(5, 10, 19, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.top-tier-note-card strong {
    color: #f7fbff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}
.top-tier-note-card span {
    color: rgba(232, 241, 255, 0.78);
    font-size: 12px;
    line-height: 1.5;
}
.top-tier-diamond {
    border-color: rgba(52,211,153,0.55);
    box-shadow: 0 0 22px rgba(52,211,153,0.18), 0 4px 12px rgba(0,0,0,0.25);
}
.top-tier-diamond .mini-follow-btn {
    background: linear-gradient(135deg, #6EE7B7, #10B981);
    color: #022C22;
    border-color: rgba(167,243,208,0.52);
    box-shadow: 0 10px 18px rgba(16,185,129,0.34), inset 0 1px 0 rgba(255,255,255,0.58);
}
.top-tier-diamond .top-tier-badge {
    color: #022C22;
    border-color: rgba(167,243,208,0.56);
    background: linear-gradient(135deg, #A7F3D0, #34D399);
}
.top-tier-gold {
    border-color: rgba(255,199,44,0.58);
    box-shadow: 0 0 22px rgba(255,199,44,0.18), 0 4px 12px rgba(0,0,0,0.25);
}
.top-tier-gold .mini-follow-btn {
    background: linear-gradient(135deg, #FFE69A, #FFB021);
    color: #3c2202;
    border-color: rgba(255,226,150,0.52);
    box-shadow: 0 10px 18px rgba(255,176,33,0.3), inset 0 1px 0 rgba(255,255,255,0.58);
}
.top-tier-gold .top-tier-badge {
    color: #3d2504;
    border-color: rgba(255,228,164,0.55);
    background: linear-gradient(135deg, #FFEFB8, #FFC65A);
}
.top-tier-platinum {
    border-color: rgba(210,222,235,0.58);
    box-shadow: 0 0 22px rgba(210,222,235,0.16), 0 4px 12px rgba(0,0,0,0.25);
}
.top-tier-platinum .mini-follow-btn {
    background: linear-gradient(135deg, #F2F6FC, #A5B5CB);
    color: #223248;
    border-color: rgba(223,233,245,0.62);
    box-shadow: 0 10px 18px rgba(149,167,191,0.32), inset 0 1px 0 rgba(255,255,255,0.62);
}
.top-tier-platinum .top-tier-badge {
    color: #243449;
    border-color: rgba(229,238,248,0.6);
    background: linear-gradient(135deg, #FCFDFF, #C5D2E3);
}
.top-tier-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    align-items: stretch;
    min-height: 0;
    flex: 1;
}
.top-tier-card-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
.top-tier-card .tipstar-mini-avatar {
    border-color: currentColor;
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0;
    flex-shrink: 0;
    align-self: center;
}
.top-tier-card-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}
.tipstars-top-row .top-tier-card h4 {
    padding: 0;
    margin: 0;
    font-size: clamp(16px, 4vw, 30px);
    line-height: 1.1;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tipstars-top-row .top-tier-card .tipstar-mini-accuracy {
    margin-bottom: 0;
    font-size: clamp(11px, 2vw, 16px);
    text-align: left;
    color: rgba(255,255,255,0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tipstars-top-row .top-tier-card .tipstar-mini-stats {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 16px);
    margin-bottom: 0;
    font-size: clamp(10px, 1.8vw, 14px);
    text-align: left;
    line-height: 1.5;
}
.tipstars-top-row .top-tier-card .tipstar-mini-stats strong {
    font-size: clamp(12px, 2vw, 16px);
}
.top-tier-card-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
}
.tipstars-top-row .top-tier-card .mini-follow-btn,
.tipstars-top-row .top-tier-card .mini-message-btn {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 50px;
    font-size: 14px;
    font-weight: 800;
}
.tipstars-top-row .top-tier-card .tipstar-mini-cover {
    background-position: center left;
}

.tipstars-all-row .mini-follow-btn,
.tipstars-all-grid .mini-follow-btn {
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.98), rgba(var(--accent-rgb),0.72));
    color: #06121d;
    border-color: rgba(255,255,255,0.24);
    box-shadow: 0 9px 16px rgba(var(--accent-rgb),0.34), inset 0 1px 0 rgba(255,255,255,0.45);
}

.tipstars-all-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}
.tipstars-all-grid::-webkit-scrollbar { width: 5px; }
.tipstars-all-grid::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-full);
}
.tipstars-all-grid .tipstar-mini-card {
    width: 100%;
    min-width: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   34. PROFILE PERFORMANCE DOTS (Reference Image 2 style)
   ═══════════════════════════════════════════════════════════════════════════════ */
.profile-performance-section {
    padding:16px; margin-top:8px;
}
.profile-performance-section h3 {
    color:var(--text-primary); font-size:14px; font-weight:700; margin-bottom:10px;
}

.performance-dots {
    display:flex; gap:8px; justify-content:center;
}
.perf-dot {
    width:28px; height:28px; border-radius:var(--radius-full);
    display:flex; align-items:center; justify-content:center;
    font-size:11px; transition:transform var(--duration-fast);
}
.perf-dot:hover { transform:scale(1.15); }
.perf-dot.won {
    background:rgba(0,229,163,0.15); color:var(--neon-green);
    border:1px solid rgba(0,229,163,0.3);
}
.perf-dot.lost {
    background:rgba(255,71,87,0.12); color:var(--text-dim);
    border:1px solid rgba(255,71,87,0.2);
}
.perf-dot.active {
    background:rgba(0,229,163,0.08); color:var(--text-dim);
    border:1px solid var(--border-light);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   35. PROFILE EMPTY STATE (Reference Image 2 style)
   ═══════════════════════════════════════════════════════════════════════════════ */
.profile-empty-slips {
    text-align:center; padding:32px 16px;
    background:var(--bg-surface); border-radius:var(--radius-lg);
    border:1px solid var(--border-color);
}
.profile-empty-slips i {
    font-size:32px; margin-bottom:12px; display:block; opacity:0.5;
}
.profile-empty-slips p {
    color:var(--text-primary); font-size:14px; font-weight:600; margin-bottom:4px;
}
.profile-empty-slips span {
    color:var(--text-dim); font-size:12px; display:block;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   36. RESPONSIVE ADDITIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .tipstars-flex-row.tipstars-grid-row {
        display:flex; flex-wrap:nowrap; overflow-x:auto;
    }
    .tipstar-mini-card { width:130px; }
    .profile-slips-grid { grid-template-columns:repeat(2, 1fr); }
    .tipstars-all-row { flex-wrap: nowrap; }
    .tipstars-top-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
        overflow: visible;
    }
    .top-tier-card {
        width: 100%;
        min-height: 0;
    }
    .top-tier-card-shell {
        min-height: 0;
        padding: 16px;
        gap: 12px;
    }
    .top-tier-card-header,
    .top-tier-card-body {
        display: flex;
        flex-direction: column;
    }
    .top-tier-card-header {
        gap: 12px;
    }
    .top-tier-note-card {
        width: 100%;
    }
    .top-tier-card-profile {
        align-items: flex-start;
        gap: 14px;
    }
    .top-tier-card .tipstar-mini-avatar {
        width: 72px;
        height: 72px;
    }
    .tipstars-top-row .top-tier-card h4 {
        font-size: 24px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .tipstars-top-row .top-tier-card .tipstar-mini-accuracy {
        font-size: 15px;
    }
    .tipstars-top-row .top-tier-card .tipstar-mini-stats {
        gap: 10px;
        font-size: 13px;
    }
    .top-tier-card-actions {
        margin-top: 4px;
    }
    .tipstars-top-row .top-tier-card .mini-follow-btn,
    .tipstars-top-row .top-tier-card .mini-message-btn {
        min-height: 48px;
        font-size: 14px;
    }
    .tipstars-top-row .tipstar-mini-card,
    .tipstars-all-grid .tipstar-mini-card {
        width: 100%;
    }
    .tipstars-all-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        max-height: 430px;
    }
}

/* Cookie and analytics consent */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(920px, calc(100vw - 28px));
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 229, 163, 0.22);
    background: rgba(8, 14, 24, 0.94);
    color: var(--text-primary);
    box-shadow: 0 22px 56px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}
.cookie-consent[hidden] {
    display: none !important;
}
.cookie-consent-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.cookie-consent-copy strong {
    font-size: 14px;
}
.cookie-consent-copy span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
}
.cookie-consent-copy a {
    width: fit-content;
    color: var(--neon-green);
    font-size: 12px;
    font-weight: 800;
}
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 900;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    background: var(--bg-input);
}
.cookie-btn.primary {
    color: #06110e;
    background: linear-gradient(135deg, var(--neon-green), #2cf6d3);
    border-color: rgba(255,255,255,0.2);
}
.cookie-btn.secondary {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
}

/* PWA install launcher */
.pwa-install-button[hidden],
.pwa-install-card[hidden] {
    display: none !important;
}
.pwa-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.desktop-global-install {
    min-height: 38px;
    padding: 0 13px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,229,163,0.24);
    background: rgba(0,229,163,0.10);
    color: var(--neon-green);
    font-size: 13px;
    font-weight: 900;
}
.desktop-global-install:hover {
    background: rgba(0,229,163,0.16);
    opacity: 1;
}
.pwa-install-card {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 860;
    width: min(390px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,229,163,0.24);
    background: rgba(8, 14, 24, 0.96);
    color: var(--text-primary);
    box-shadow: 0 22px 56px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}
.pwa-install-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
}
.pwa-install-close:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.08);
}
.pwa-install-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,229,163,0.12);
    border: 1px solid rgba(255,255,255,0.08);
}
.pwa-install-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pwa-install-copy {
    display: grid;
    gap: 4px;
    padding-right: 22px;
}
.pwa-install-copy strong {
    font-size: 15px;
    color: var(--text-primary);
}
.pwa-install-copy span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}
.pwa-install-steps {
    display: grid;
    gap: 3px;
    margin: 6px 0 0;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.35;
}
.pwa-install-steps[hidden] {
    display: none !important;
}
.pwa-install-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.pwa-install-primary,
.pwa-install-secondary {
    min-height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 900;
}
.pwa-install-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #06110e;
    background: linear-gradient(135deg, var(--neon-green), #2cf6d3);
}
.pwa-install-secondary {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
}
[data-theme="light"] .cookie-consent {
    background: rgba(255,255,255,0.94);
    color: #0f172a;
    border-color: rgba(0, 168, 132, 0.22);
    box-shadow: 0 22px 56px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .cookie-consent-copy span {
    color: #475569;
}
[data-theme="light"] .pwa-install-card {
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    border-color: rgba(0, 168, 132, 0.22);
    box-shadow: 0 22px 56px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .pwa-install-copy strong {
    color: #0f172a;
}
[data-theme="light"] .pwa-install-copy span {
    color: #475569;
}
[data-theme="light"] .pwa-install-secondary {
    background: #F8FAFC;
    color: #334155;
    border-color: rgba(148,163,184,0.40);
}

/* ==========================================================================
   TRENDING TIPSTERS — Fresh Rebuild
   ========================================================================== */
.dpc-lines,
.trending-tipster-mini-lines,
.guest-mask,
.guest-mask-wide {
    display: none !important;
}

.dash-premium-tipsters {
    max-width: 1240px !important;
    width: calc(100% - 32px);
    margin: 0 16px 20px 16px !important;
    padding: 0 !important;
}

.dash-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 18px);
    overflow: visible;
    max-width: 100%;
}

.dash-premium-card.dash-premium-card-fresh {
    min-height: clamp(180px, 30vh, 256px);
    padding: clamp(12px, 2.5vw, 22px) clamp(10px, 2vw, 20px) clamp(10px, 2vw, 18px);
    border-radius: clamp(16px, 2vw, 26px);
    background:
        linear-gradient(rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.70)),
        var(--dpc-cover-image),
        radial-gradient(circle at top left, rgba(255,255,255,0.10), transparent 26%),
        linear-gradient(180deg, rgba(15,20,34,0.98), rgba(7,10,18,0.98));
    background-position: center, center, top left, center;
    background-size: cover, cover, auto, auto;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-blend-mode: normal, normal, screen, normal;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 50px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2vw, 18px);
    overflow: hidden;
}

.dash-premium-card-fresh::before {
    display: none;
}

.dash-premium-card-fresh::after {
    display: none;
}

.dpc-tier-bar {
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    opacity: 0.9;
}

.dash-premium-platinum .dpc-tier-bar {
    background: linear-gradient(90deg, #eef4ff, #b8c6db, #eef4ff);
}

.dash-premium-gold .dpc-tier-bar {
    background: linear-gradient(90deg, #f9d66c, #c59116, #f9d66c);
}

.dash-premium-diamond .dpc-tier-bar {
    background: linear-gradient(90deg, #7ee7ff, #2f9fff, #7ee7ff);
}

.dash-premium-card-fresh .dpc-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(4px, 1vw, 12px);
    flex-wrap: nowrap;
    min-width: 0;
}

.dash-premium-card-fresh .dpc-tier-pill {
    position: static;
    transform: none;
    min-width: auto;
    justify-content: center;
    padding: clamp(4px, 1vw, 8px) clamp(8px, 1.5vw, 14px);
    border-radius: 999px;
    font-size: clamp(8px, 1.2vw, 11px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.dpc-rank-chip {
    min-width: auto;
    height: clamp(24px, 3.5vw, 32px);
    padding: 0 clamp(6px, 1vw, 12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.52);
    color: rgba(244,247,251,0.96);
    font-size: clamp(9px, 1.5vw, 12px);
    font-weight: 800;
    flex-shrink: 0;
}

.dash-premium-card-fresh .dpc-header {
    margin: 0;
    align-items: center;
    gap: clamp(6px, 1.5vw, 14px);
    min-width: 0;
}

.dash-premium-card-fresh .dpc-avatar {
    width: clamp(36px, 6vw, 56px);
    height: clamp(36px, 6vw, 56px);
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.dash-premium-card-fresh .dpc-name {
    font-size: clamp(12px, 2.5vw, 23px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dash-premium-card-fresh .dpc-handle {
    margin-top: clamp(2px, 0.5vw, 4px);
    color: rgba(233,241,250,0.82);
    font-size: clamp(9px, 1.5vw, 13px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.36);
}

.dash-premium-card-fresh .dpc-badge-pro,
.dash-premium-card-fresh .dpc-badge-verified {
    align-self: flex-start;
}

.dpc-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(4px, 1vw, 10px);
}

.dpc-stat-card {
    padding: clamp(6px, 1.5vw, 14px) clamp(4px, 1vw, 12px);
    border-radius: clamp(10px, 1.5vw, 18px);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    display: grid;
    gap: 6px;
}

.dpc-stat-card strong {
    color: #f6fbff;
    font-size: clamp(14px, 2.5vw, 24px);
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 3px 14px rgba(0,0,0,0.42);
}

.dpc-stat-card span {
    color: rgba(230,239,248,0.86);
    font-size: clamp(7px, 1.2vw, 12px);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dpc-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(4px, 1vw, 14px);
    flex-wrap: wrap;
}

.dpc-footnote {
    color: rgba(235,243,250,0.82);
    font-size: clamp(8px, 1.2vw, 12px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 10px rgba(0,0,0,0.34);
}

.dpc-cta {
    color: #ffffff;
    font-size: clamp(9px, 1.5vw, 13px);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 8px);
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-premium-platinum.dash-premium-card-fresh {
    border-color: rgba(229, 236, 245, 0.22);
    box-shadow: 0 24px 50px rgba(0,0,0,0.28), 0 0 0 1px rgba(229,236,245,0.04);
}

.dash-premium-gold.dash-premium-card-fresh {
    border-color: rgba(233, 180, 44, 0.34);
    box-shadow: 0 24px 50px rgba(0,0,0,0.28), 0 0 36px rgba(233,180,44,0.08);
}

.dash-premium-diamond.dash-premium-card-fresh {
    border-color: rgba(87, 205, 255, 0.30);
    box-shadow: 0 24px 50px rgba(0,0,0,0.28), 0 0 36px rgba(87,205,255,0.08);
}

.dash-premium-card-fresh:hover {
    transform: translateY(-4px);
}

.premium-guest-card .dpc-stat-grid {
    opacity: 0.92;
}

.premium-guest-card .dpc-footer.is-guest .dpc-cta {
    color: rgba(255,255,255,0.72);
}

.trending-tipsters-panel {
    padding: 6px 0 2px;
    background: transparent;
}

.trending-tipsters-viewport {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.trending-tipsters-track {
    gap: 14px;
}

.trending-tipster-card {
    width: calc((100% - 28px) / 3);
    min-width: 0;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.26);
    flex-shrink: 1;
    overflow: hidden;
}

.trending-tipster-card::before,
.trending-tipster-card::after {
    display: none;
}

.trending-tipster-banner {
    min-height: 224px;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.10), transparent 24%),
        linear-gradient(180deg, rgba(14,19,32,0.98), rgba(7,10,18,0.99));
    border: 1px solid rgba(255,255,255,0.08);
}

.trending-tipster-card:nth-child(1) .trending-tipster-banner,
.trending-tipsters-guest-card:nth-child(1) {
    border-color: rgba(229,236,245,0.22);
}

.trending-tipster-card:nth-child(2) .trending-tipster-banner,
.trending-tipsters-guest-card:nth-child(2) {
    border-color: rgba(233,180,44,0.34);
}

.trending-tipster-card:nth-child(3) .trending-tipster-banner,
.trending-tipsters-guest-card:nth-child(3) {
    border-color: rgba(87,205,255,0.30);
}

.trending-tipster-tier {
    top: 14px;
    left: auto;
    right: 14px;
    transform: none;
    min-width: auto;
    height: 32px;
    padding: 0 10px;
    font-size: clamp(8px, 1.5vw, 10px);
    letter-spacing: 0.18em;
}

.trending-tipster-card-content,
.trending-tipsters-guest-card-content {
    padding: 64px clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px);
    gap: clamp(8px, 2vw, 14px);
    min-height: 100%;
}

.trending-tipster-head,
.guest-head {
    gap: 12px;
    margin-top: 0;
}

.trending-tipster-avatar,
.guest-avatar {
    width: clamp(36px, 7vw, 52px);
    height: clamp(36px, 7vw, 52px);
    flex-shrink: 0;
}

.trending-tipster-name {
    font-size: clamp(14px, 3vw, 24px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.trending-tipster-handle,
.trending-tipsters-guest-meta {
    font-size: clamp(9px, 2vw, 12px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.trending-tipster-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.trending-tipster-stat {
    padding: clamp(6px, 1.5vw, 12px) clamp(4px, 1vw, 10px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    display: grid;
    gap: 5px;
    min-width: 0;
}

.trending-tipster-stat strong {
    color: #f7fbff;
    font-size: clamp(13px, 2.5vw, 19px);
    line-height: 1;
    font-weight: 900;
}

.trending-tipster-stat span {
    color: rgba(235,243,250,0.66);
    font-size: clamp(7px, 1.5vw, 10px);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.trending-tipster-stat-row.is-guest {
    opacity: 0.92;
}

.trending-tipsters-guest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.trending-tipsters-guest-card {
    min-height: 224px;
    border-radius: 24px;
}

@media (min-width: 769px) {
    .dash-premium-tipsters {
        display: block;
    }

    .trending-tipsters-panel {
        display: none;
    }
}

@media (max-width: 768px) {
    .dash-premium-tipsters {
        display: none !important;
    }

    .trending-tipsters-panel {
        display: block;
    }

    .trending-tipsters-viewport {
        padding: 0 12px;
    }

    .trending-tipsters-track {
        gap: 12px;
    }

    .trending-tipster-card {
        width: calc((100% - 12px) / 2);
        min-width: 0;
    }

    .trending-tipster-banner {
        min-height: 214px;
    }

    .trending-tipster-card-content,
    .trending-tipsters-guest-card-content {
        padding: 58px 14px 14px;
    }
    @media (max-width: 480px) {
        .trending-tipster-card {
            width: 100%;
        }
        .trending-tipsters-track {
            gap: 10px;
        }
        .trending-tipster-banner {
            min-height: 180px;
        }
        .trending-tipster-card-content,
        .trending-tipsters-guest-card-content {
            padding: 52px 10px 10px;
            gap: 8px;
        }
        .trending-tipster-head,
        .guest-head {
            gap: 8px;
        }
        .trending-tipster-name-block {
            min-width: 0;
            overflow: hidden;
        }
        .trending-tipster-stat-row {
            gap: 6px;
        }
    }


    .trending-tipster-name {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .trending-tipster-avatar,
    .guest-avatar {
        width: 46px;
        height: 46px;
    }

    .trending-tipster-pro,
    .trending-tipsters-guest-badge {
        font-size: 9px;
    }

    .trending-tipster-stat-row {
        gap: 8px;
        justify-items: stretch;
    }

    .trending-tipster-stat {
        padding: 10px 8px;
    }

    .trending-tipster-stat strong {
        font-size: 16px;
    }

    .trending-tipster-stat span {
        font-size: 9px;
    }

    .trending-tipsters-guest-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .trending-tipster-card {
        width: calc((100% - 12px) / 2);
    }

    .trending-tipster-tier {
        min-width: 92px;
        height: 30px;
        font-size: 9px;
        right: 12px;
    }

    .trending-tipster-name {
        font-size: 16px;
    }

    .trending-tipster-stat-row {
        grid-template-columns: 1fr 1fr;
    }

    .trending-tipster-stat:last-child {
        grid-column: 1 / span 2;
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .trending-tipster-banner .trending-tipster-tier,
    .trending-tipsters-guest-card .trending-tipster-tier {
        left: auto !important;
        right: 12px !important;
        transform: none !important;
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   Feed Post Cards — Single Layer Red/Green Theme
   ========================================================================== */
.feed-container .post-card,
.bookmarks-container .post-card,
.detail-container .post-card {
    background:
        linear-gradient(rgba(8, 21, 20, 0.96), rgba(6, 16, 16, 0.98)) padding-box,
        linear-gradient(135deg, rgba(0, 229, 163, 0.95), rgba(255, 0, 92, 0.92)) border-box !important;
    border: 1.5px solid transparent !important;
    border-left-width: 3px !important;
    box-shadow:
        0 0 0 1px rgba(0, 229, 163, 0.05),
        0 0 24px rgba(0, 229, 163, 0.18),
        0 12px 32px rgba(0, 0, 0, 0.34) !important;
}

.feed-container .post-card:hover,
.bookmarks-container .post-card:hover,
.detail-container .post-card:hover {
    box-shadow:
        0 0 0 1px rgba(76, 255, 203, 0.08),
        0 0 30px rgba(0, 229, 163, 0.26),
        0 14px 36px rgba(0, 0, 0, 0.38) !important;
}

.feed-container .post-card .post-header,
.bookmarks-container .post-card .post-header,
.detail-container .post-card .post-header {
    border-bottom: 1px solid rgba(0, 229, 163, 0.08);
}

.feed-container .post-card .post-odds-section,
.bookmarks-container .post-card .post-odds-section,
.detail-container .post-card .post-odds-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 229, 163, 0.16), transparent 34%),
        radial-gradient(circle at 82% 20%, rgba(255, 0, 92, 0.22), transparent 38%),
        linear-gradient(180deg, rgba(22, 74, 60, 0.42), rgba(9, 33, 29, 0.08) 82%) !important;
    box-shadow:
        inset 0 -1px 0 rgba(0, 229, 163, 0.08),
        inset 0 1px 0 rgba(164, 255, 225, 0.04) !important;
}

.feed-container .post-card .post-avatar,
.bookmarks-container .post-card .post-avatar,
.detail-container .post-card .post-avatar {
    background:
        linear-gradient(rgba(8, 21, 20, 0.98), rgba(8, 21, 20, 0.98)) padding-box,
        linear-gradient(135deg, #00e5a3, #ff005c) border-box !important;
    border: 2px solid transparent !important;
    color: #7dffd6 !important;
    box-shadow: 0 0 16px rgba(0, 229, 163, 0.22) !important;
}

.feed-container .post-card .verified-badge,
.bookmarks-container .post-card .verified-badge,
.detail-container .post-card .verified-badge {
    color: #6fffd5;
}

.feed-container .post-card .follow-btn,
.bookmarks-container .post-card .follow-btn,
.detail-container .post-card .follow-btn {
    background: linear-gradient(135deg, #5af3c0, #ff4d75);
    color: #041410;
    box-shadow: 0 10px 22px rgba(0, 229, 163, 0.24);
}

.feed-container .post-card .follow-btn:hover,
.bookmarks-container .post-card .follow-btn:hover,
.detail-container .post-card .follow-btn:hover {
    background: linear-gradient(135deg, #78ffd0, #ff6a8c);
}

.feed-container .post-card .message-tipstar-btn,
.bookmarks-container .post-card .message-tipstar-btn,
.detail-container .post-card .message-tipstar-btn {
    border-color: rgba(0, 229, 163, 0.34);
    background: rgba(37, 167, 125, 0.14);
    color: #86ffe0;
}

.feed-container .post-card .message-tipstar-btn:hover,
.bookmarks-container .post-card .message-tipstar-btn:hover,
.detail-container .post-card .message-tipstar-btn:hover {
    border-color: rgba(255, 0, 92, 0.5);
    background: rgba(37, 167, 125, 0.22);
}

.feed-container .post-card .slip-odds,
.bookmarks-container .post-card .slip-odds,
.detail-container .post-card .slip-odds {
    color: #61ffc8 !important;
    text-shadow: 0 0 26px rgba(0, 229, 163, 0.24), 0 0 48px rgba(255, 0, 92, 0.14) !important;
}

.feed-container .post-card .slip-leg-odds,
.bookmarks-container .post-card .slip-leg-odds,
.detail-container .post-card .slip-leg-odds,
.feed-container .post-card .leg-selection,
.bookmarks-container .post-card .leg-selection,
.detail-container .post-card .leg-selection {
    color: #76f7cf !important;
}

.feed-container .post-card .prediction-label,
.bookmarks-container .post-card .prediction-label,
.detail-container .post-card .prediction-label {
    color: #7fffd7;
}

.feed-container .post-card .action-btn.active,
.feed-container .post-card .action-heart.active,
.bookmarks-container .post-card .action-btn.active,
.bookmarks-container .post-card .action-heart.active,
.detail-container .post-card .action-btn.active,
.detail-container .post-card .action-heart.active,
.feed-container .post-card .action-bookmark.active,
.bookmarks-container .post-card .action-bookmark.active,
.detail-container .post-card .action-bookmark.active {
    color: #5ff7c6 !important;
}
[data-theme="light"] .desktop-global-install,
[data-theme="light"] .px-footer-install-btn {
    background: #E6F8F2;
    color: #047857;
    border-color: rgba(16,185,129,0.24);
}

/* Final card override: single layer only. This wins over mobile/light/special variants. */
.post-card,
.feed-container .post-card,
.bookmarks-container .post-card,
.detail-container .post-card,
.detail-post,
.post-card.pro-post,
.post-card.verified-post,
[data-theme="light"] .post-card,
[data-theme="light"] .detail-post {
    background:
        linear-gradient(rgba(8, 21, 20, 0.97), rgba(6, 16, 16, 0.99)) padding-box,
        linear-gradient(135deg, rgba(0, 229, 163, 0.98), rgba(255, 0, 92, 0.96)) border-box !important;
    border: 1.5px solid transparent !important;
    border-left: 3px solid rgba(0, 229, 163, 0.88) !important;
    border-radius: 16px !important;
    box-shadow:
        0 0 0 1px rgba(0, 229, 163, 0.08),
        0 0 28px rgba(0, 229, 163, 0.22),
        0 0 28px rgba(255, 0, 92, 0.18),
        0 10px 28px rgba(0, 0, 0, 0.34) !important;
    overflow: hidden !important;
}

.post-card:hover,
.feed-container .post-card:hover,
.bookmarks-container .post-card:hover,
.detail-container .post-card:hover,
.detail-post:hover,
.post-card.pro-post:hover,
.post-card.verified-post:hover,
[data-theme="light"] .post-card:hover,
[data-theme="light"] .detail-post:hover {
    transform: translateY(-1px) !important;
    box-shadow:
        0 0 0 1px rgba(0, 229, 163, 0.12),
        0 0 34px rgba(0, 229, 163, 0.28),
        0 0 34px rgba(255, 0, 92, 0.22),
        0 14px 36px rgba(0, 0, 0, 0.38) !important;
}

.post-card .post-header,
.feed-container .post-card .post-header,
.bookmarks-container .post-card .post-header,
.detail-container .post-card .post-header,
.detail-post .post-header {
    border-bottom: 1px solid rgba(0, 229, 163, 0.10) !important;
}

.post-card .post-avatar,
.feed-container .post-card .post-avatar,
.bookmarks-container .post-card .post-avatar,
.detail-container .post-card .post-avatar,
.detail-post .post-avatar {
    background:
        linear-gradient(rgba(8, 21, 20, 0.98), rgba(8, 21, 20, 0.98)) padding-box,
        linear-gradient(135deg, #00E5A3, #FF005C) border-box !important;
    border: 2px solid transparent !important;
    box-shadow: 0 0 16px rgba(0, 229, 163, 0.30), 0 0 16px rgba(255, 0, 92, 0.20) !important;
}

.post-card .post-odds-section,
.feed-container .post-card .post-odds-section,
.bookmarks-container .post-card .post-odds-section,
.detail-container .post-card .post-odds-section,
.detail-post .post-odds-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 229, 163, 0.18), transparent 34%),
        radial-gradient(circle at 82% 20%, rgba(255, 0, 92, 0.22), transparent 38%),
        linear-gradient(180deg, rgba(22, 74, 60, 0.42), rgba(9, 33, 29, 0.08) 82%) !important;
    box-shadow:
        inset 0 -1px 0 rgba(0, 229, 163, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.post-card .slip-odds,
.post-card .odds-value {
    color: #61ffc8 !important;
    text-shadow: 0 0 26px rgba(0, 229, 163, 0.24), 0 0 48px rgba(255, 0, 92, 0.14) !important;
}

.post-card .slip-leg-odds,
.post-card .leg-selection,
.post-card .leg-market {
    color: #7bf9d1 !important;
}

.post-card .follow-btn,
.post-card .follow-btn-lg,
.post-card .mini-follow-btn {
    background: linear-gradient(135deg, #5af3c0, #ff4d75) !important;
    color: #041410 !important;
    border-color: transparent !important;
}

.post-card .message-tipstar-btn,
.post-card .mini-message-btn {
    border-color: rgba(0, 229, 163, 0.34) !important;
    background: rgba(37, 167, 125, 0.14) !important;
    color: #86ffe0 !important;
}

.post-card .post-caption,
.post-card .post-reaction-bar,
.post-card .post-rating,
.post-card .post-actions,
.post-card .comments-preview {
    background: transparent !important;
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 88px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: min(420px, calc(100vw - 24px));
        padding: 14px;
    }
    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .pwa-install-card {
        left: 12px;
        right: 12px;
        bottom: 88px;
        width: auto;
    }
    .pwa-install-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .tipstar-mini-card { width:120px; }
    .tipstars-top-row,
    .tipstars-all-grid {
        gap: 8px;
    }
    .tipstars-all-grid {
        max-height: 390px;
    }
    .tipstars-all-grid .tipstar-mini-card,
    .tipstars-top-row .tipstar-mini-card {
        width: 100%;
    }
    .tipstars-all-grid .tipstar-mini-avatar,
    .tipstars-top-row .tipstar-mini-avatar {
        width: 40px;
        height: 40px;
    }
    .tipstars-top-row .top-tier-card h4 {
        font-size: 20px;
        line-height: 1.12;
    }
    .top-tier-card-shell {
        padding: 16px;
    }
    .top-tier-badge {
        min-height: 30px;
        padding: 6px 12px;
        font-size: 8px;
    }
    .top-tier-note-card {
        padding: 12px 14px;
    }
    .top-tier-note-card strong {
        font-size: 13px;
    }
    .top-tier-note-card span {
        font-size: 11px;
    }
    .tipstars-top-row .top-tier-card .tipstar-mini-accuracy {
        font-size: 14px;
    }
    .tipstars-top-row .top-tier-card .tipstar-mini-stats {
        font-size: 12px;
    }
    .tipstars-top-row .top-tier-card .mini-follow-btn,
    .tipstars-top-row .top-tier-card .mini-message-btn {
        font-size: 14px;
        min-height: 46px;
    }
    .tipstars-all-grid .tipstar-mini-stats {
        gap: 4px;
        font-size: 9px;
    }
    .tipstars-all-grid .mini-follow-btn,
    .tipstars-all-row .mini-follow-btn {
        padding: 5px 12px;
    }
    .tipstars-trending-banner { padding:10px 12px; }
    .trending-avatar-ring { width:28px; height:28px; }
    .logo-icon-img { width:30px; height:30px; }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   PASUAX LOGO — Styled text brand logo
   ═══════════════════════════════════════════════════════════════════════════════ */
.pasuax-logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    user-select: none;
}
.pasuax-logo-img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.pasuax-logo .pasuax-x {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    text-shadow: none;
    position: relative;
}
.nav-logo:hover .pasuax-logo { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════════════════════
   GLOBAL IMAGE FIX — object-fit: cover for all user content images
   ═══════════════════════════════════════════════════════════════════════════════ */
img {
    object-fit: cover;
}
.post-avatar img,
.story-avatar-wrap img,
.profile-avatar img,
.profile-cover img,
.comment-avatar img { object-fit: cover; }


/* ═══════════════════════════════════════════════════════════════════════════════
   HERO POSTER CAROUSEL — Auto-slide with scale animation
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero-carousel {
    position: relative;
    overflow: visible;
    padding: 4px 0 0;
    margin: 0 auto;
    max-width: 935px;
}
/* ════════════════════════════════════════════════════════════════════════════
   STORIES SECTION ALIGNMENT (added 2026-06-17)
   Align Stories title and bar with Live Market Signals (same max-width, centered)
   ════════════════════════════════════════════════════════════════════════════ */
.stories-section-title {
    max-width: 935px;
    margin: 18px auto 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stories-section-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.12;
}
.stories-section-title span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.stories-bar {
    max-width: 935px;
    margin: 8px auto 0;
    padding: 10px 10px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.stories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    padding: 0 2px;
    -webkit-overflow-scrolling: touch;
}
.stories-scroll::-webkit-scrollbar { display: none; }

.active-bets-strip {
    max-width: 935px;
    margin: 18px auto 0;
    padding: 12px 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}
.active-bets-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    text-align: center;
}
.active-bets-title h2 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.active-bets-title h2 i {
    color: var(--gold);
    text-shadow: 0 0 16px rgba(255,215,0,0.35);
}
.active-bets-title span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.active-bets-view {
    display: none;
    /* Hidden - centered style matches Active BET Slip Reels format */
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: var(--neon-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.hero-carousel-viewport {
    overflow: hidden;
    width: 100%;
}
.hero-carousel-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 20px 10px; /* Alibi kwa ajili ya scaling bila clipping */
    will-change: transform;
}

/* ════════════════════════════════════════════════════════════════════════════
   HERO-CARD RED BORDER + WHITE TEXT (updated 2026-06-19)
   User requested: all round cards in "Live Market Signals" use RED borders
   and WHITE text for all content.
   ════════════════════════════════════════════════════════════════════════════ */
.hero-card,
.hero-card-neighbor,
.hero-card-small,
.hero-card-active {
    --accent-hex: #FF4757 !important;
    --accent-rgb: 255, 71, 87 !important;
}
.hero-card {
    border: 3px solid rgba(255, 71, 87, 0.85) !important;
    box-shadow: 0 0 0 1px rgba(255,71,87,0.08), 0 0 20px rgba(255,71,87,0.25), 0 8px 32px rgba(0,0,0,0.5) !important;
}
.hero-card-active {
    border: 4px solid #FF4757 !important;
    box-shadow: 0 0 0 2px rgba(255,71,87,0.1), 0 0 30px rgba(255,71,87,0.35), 0 8px 22px rgba(0,0,0,0.5) !important;
}
.hero-card-neighbor {
    border: 3px solid rgba(255, 71, 87, 0.72) !important;
}
.hero-card-small {
    border: 3px solid rgba(255, 71, 87, 0.6) !important;
}
.hero-card-odds {
    color: #FFFFFF !important;
    background: rgba(0, 0, 0, 0.55) !important;
    border: 1px solid rgba(255, 71, 87, 0.4) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
}
.hero-card-legs {
    color: rgba(255, 255, 255, 0.85) !important;
}
.hero-active-bet {
    color: #FFFFFF !important;
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 71, 87, 0.4) !important;
}
.hero-card-rank {
    background: rgba(0, 0, 0, 0.72) !important;
    border: 1px solid rgba(255, 71, 87, 0.3) !important;
    color: #FFFFFF !important;
}
.hero-card-avatar,
.hero-card-avatar-letter {
    border-color: #FF4757 !important;
    box-shadow: 0 0 12px rgba(255,71,87,0.35) !important;
}
.hero-card-avatar-letter {
    color: #FFFFFF !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.hero-card {
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 3px solid rgba(var(--accent-rgb), 0.72);
    background: var(--bg-surface);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 30px rgba(var(--accent-rgb), 0.34), 0 8px 32px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, opacity 0.3s ease;
    aspect-ratio: 1;
    transform-origin: center;
    width: 125px; /* Base footprint stable kwa Desktop */
    height: 125px;
}

/* Desktop State Logic kutumia Scale kuzuia Layout Shift */
.hero-card-active { 
    transform: scale(1.2); 
    border-width: 4px; 
    border-color: var(--accent-hex); 
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 42px rgba(var(--accent-rgb), 0.55);
    z-index: 2;
}
.hero-card-neighbor { transform: scale(1); z-index: 1; }
.hero-card-small { transform: scale(0.85); opacity: 0.7; z-index: 0; }

.hero-card:hover {
    transform: scale(1.12) !important; /* Subtle, professional focus */
    z-index: 10 !important;
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4), 0 10px 30px rgba(0,0,0,0.5);
}

.hero-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}
.hero-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 1;
}
.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    border-radius: 50%;
}
.hero-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    gap: 0;
}
.hero-card-rank {
    position: absolute;
    left: 10px;
    bottom: 11px;
    z-index: 3;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 10, 18, 0.72);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 900;
    font-size: 9px;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.hero-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 7px;
}
.hero-card-odds {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(16,185,129, 0.24);
    border: 1px solid rgba(16,185,129, 0.38);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-hex);
    text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.6), 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1;
}
.hero-card-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    margin-top: 0;
    padding: 0 6px 0 22px;
    width: 100%;
}
.hero-card-tipstar {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-hex);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
}
.hero-card-avatar-letter {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.25);
    color: var(--accent-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    border: 2px solid var(--accent-hex);
}
.hero-card-name {
    color: white;
    font-weight: 700;
    font-size: 10px;
    max-width: 76px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hero-card-bookmaker {
    padding: 1px 6px;
    border-radius: 8px;
    background: rgba(16,185,129,0.18);
    color: var(--neon-blue);
    font-size: 9px;
    font-weight: 600;
}
.hero-card-legs {
    color: rgba(255,255,255,0.5);
    font-size: 7px;
}
.hero-card-status-wrap {
    margin-top: 0;
}
.hero-active-bet {
    color: #06110e;
    background: linear-gradient(135deg, #00E5A3, #2CF6D3);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 16px rgba(0,229,163,0.42);
    font-size: 8px;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 999px;
    white-space: normal;
    max-width: 58px;
}
/* Round empty state */
.hero-carousel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: var(--text-dim);
    gap: 6px;
    padding: 16px;
}
.hero-carousel-empty i {
    font-size: 48px;
    color: var(--neon-green);
    opacity: 0.4;
}
.hero-carousel-empty h3 {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
}
.hero-carousel-empty p {
    color: var(--text-dim);
    font-size: 13px;
}
[data-theme="light"] .hero-card { border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .hero-card-overlay {
    background: transparent;
}
@media (max-width: 768px) {
    .hero-card,
    .hero-card-active,
    .hero-card-neighbor,
    .hero-card-small { width: 86px; height: 86px; }
    .hero-card-active { border-width: 3px; }
    .hero-card-rank { left: 7px; bottom: 8px; min-width: 20px; height: 20px; font-size: 9px; padding: 0 4px; }
    .hero-card-odds { min-height: 20px; padding: 2px 5px; font-size: 13px; }
    .hero-card-name { font-size: 8px; max-width: 52px; }
    .hero-carousel { padding: 2px 0 0; }
    .hero-card-tipstar { top: 6px; right: 7px; }
    .hero-card-avatar, .hero-card-avatar-letter { width: 18px; height: 18px; font-size: 8px; border-width: 1px; }
    .hero-card-content { padding: 4px; gap: 0; }
    .hero-card-top { padding-top: 5px; gap: 0; }
    .hero-card-bottom { bottom: 3px; margin-top: 0; padding: 0 4px 0 15px; gap: 1px; }
    .hero-card-bookmaker { font-size: 7px; padding: 0px 3px; }
    .hero-card-legs { font-size: 7px; }
    .hero-card-status-wrap .status-badge { font-size: 5px; padding: 2px 4px; max-width: 44px; }
    .hero-carousel-viewport { min-height: 108px; }
    .hero-carousel-track { gap: 8px; padding: 10px 12px; }
    .hero-card { border-width: 2px; }
}
@media (max-width: 480px) {
    .hero-card,
    .hero-card-active,
    .hero-card-neighbor,
    .hero-card-small { width: 74px; height: 74px; }
    .hero-card-active { border-width: 2px; }
    .hero-card-rank { left: 6px; bottom: 7px; min-width: 18px; height: 18px; font-size: 8px; }
    .hero-card-odds { min-height: 18px; padding: 2px 4px; font-size: 11px; }
    .hero-card-name { font-size: 7px; max-width: 44px; }
    .hero-card-tipstar { top: 5px; right: 6px; }
    .hero-card-avatar, .hero-card-avatar-letter { width: 15px; height: 15px; font-size: 7px; border-width: 1px; }
    .hero-carousel-viewport { min-height: 94px; }
    .hero-carousel-track { gap: 7px; padding: 10px 12px; }
    .hero-card-content { padding: 3px; gap: 0; }
    .hero-card-bookmaker { font-size: 6px; padding: 0px 2px; }
    .hero-card-legs { font-size: 6px; }
    .hero-card-status-wrap .status-badge { font-size: 5px; padding: 2px 3px; max-width: 40px; }
    .hero-card { border-width: 1px; }
    .hero-card-bottom { bottom: 2px; padding: 0 3px 0 13px; }
    .hero-card-meta { gap: 3px; }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   TRENDING TIPTERS PANEL — Full banner cards, auto-scroll billboard carousel
   ═══════════════════════════════════════════════════════════════════════════════ */
.trending-tipsters-panel {
    background: var(--bg-primary);
    padding: 2px 0 0;
    overflow: hidden;
}
.trending-tipsters-viewport {
    overflow: hidden;
    max-width: 935px;
    margin: 0 auto;
    padding: 0 16px;
}
.trending-tipsters-track {
    display: flex;
    gap: 12px;
    will-change: transform;
    transform: translateZ(0);
}
.trending-tipster-card {
    flex-shrink: 0;
    width: calc((100% - 24px) / 3);
    min-width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    isolation: isolate;
    transition: transform var(--duration-normal), box-shadow var(--duration-normal);
    will-change: transform;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.trending-tipster-banner {
    position: relative;
}
.trending-tipster-tier {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    min-width: 88px;
    height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.88);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
}
.trending-tipster-tier::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}
.trending-tipster-card:nth-child(1) .trending-tipster-tier,
.trending-tipsters-guest-card:nth-child(1) .trending-tipster-tier {
    color: #f3f7fb;
    background: linear-gradient(135deg, rgba(243, 247, 251, 0.18), rgba(203, 213, 225, 0.10));
    border-color: rgba(226, 232, 240, 0.22);
}
.trending-tipster-card:nth-child(2) .trending-tipster-tier,
.trending-tipsters-guest-card:nth-child(2) .trending-tipster-tier {
    color: #ffd54a;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 236, 128, 0.10));
    border-color: rgba(255, 215, 0, 0.22);
}
.trending-tipster-card:nth-child(3) .trending-tipster-tier,
.trending-tipsters-guest-card:nth-child(3) .trending-tipster-tier {
    color: #8be9ff;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(59, 130, 246, 0.10));
    border-color: rgba(52,211,153, 0.22);
}
.trending-tipster-card::before,
.reel-banner-card::before {
    content: '';
    position: absolute;
    inset: -30% -20%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    background: linear-gradient(
        115deg,
        transparent 41%,
        rgba(255, 255, 255, 0.02) 44%,
        rgba(255, 255, 255, 0.95) 48%,
        rgba(255, 255, 255, 0.10) 49.5%,
        rgba(255, 255, 255, 0.00) 52%,
        transparent 58%
    );
    transform: translateX(-75%) rotate(8deg);
    filter: blur(0.25px);
    mix-blend-mode: screen;
    animation: bladeSweep 6.2s ease-in-out infinite;
}
.trending-tipster-card::after,
.reel-banner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(0, 229, 163, 0.08), transparent 18%, transparent 82%, rgba(16,185,129, 0.08)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 40%);
    opacity: 0.65;
}
@keyframes bladeSweep {
    0%, 58% {
        opacity: 0.02;
        transform: translateX(-80%) rotate(8deg);
    }
    66% {
        opacity: 0.95;
    }
    78% {
        opacity: 1;
        transform: translateX(34%) rotate(8deg);
    }
    88% {
        opacity: 0.72;
        transform: translateX(70%) rotate(8deg);
    }
    100% {
        opacity: 0.03;
        transform: translateX(92%) rotate(8deg);
    }
}
.trending-tipster-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.trending-tipster-card:hover::before,
.reel-banner-card:hover::before {
    opacity: 1;
    animation-duration: 1.4s;
}
.trending-tipster-banner {
    min-height: 220px;
    position: relative;
    display: flex;
    align-items: stretch;
    padding: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.07), transparent 18%),
        radial-gradient(circle at 80% 22%, rgba(255,255,255,0.06), transparent 20%),
        linear-gradient(180deg, rgba(8,12,20,0.98), rgba(5,8,14,0.98));
}
.trending-tipster-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,12,20,0.62) 0%, rgba(7,12,20,0.34) 60%, rgba(7,12,20,0.12) 100%);
    z-index: 1;
}
.trending-tipster-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 16px;
    width: 100%;
    gap: 10px;
}
.trending-tipster-head,
.guest-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.trending-tipster-avatar,
.guest-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.18), transparent 34%),
        linear-gradient(135deg, rgba(0, 229, 163, 0.22), rgba(16,185,129, 0.16));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}
.trending-tipster-avatar img,
.guest-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}
.trending-tipster-avatar i,
.guest-avatar i {
    font-size: 16px;
    color: #f4fbff;
}
.trending-tipster-name-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}
.trending-tipster-name {
    color: white;
    font-weight: 800;
    font-size: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.trending-tipster-handle,
.trending-tipsters-guest-meta {
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    font-weight: 500;
}
.trending-tipster-pro,
.trending-tipsters-guest-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255,215,0,0.18);
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 1px solid rgba(255,215,0,0.34);
}
.trending-tipster-mini-lines {
    display: grid;
    gap: 10px;
    margin-top: auto;
}
.trending-tipster-mini-lines span,
.guest-mask-wide .guest-line {
    display: block;
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.24), rgba(255,255,255,0.12));
}
.trending-tipster-mini-lines span:nth-child(1),
.guest-mask-wide .guest-line-lg { width: 76%; }
.trending-tipster-mini-lines span:nth-child(2),
.guest-mask-wide .guest-line-md { width: 58%; }
.trending-tipster-mini-lines span:nth-child(3),
.guest-mask-wide .guest-line-sm { width: 42%; }
.trending-tipster-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.trending-tipsters-guest-lock {
    display: grid;
    gap: 14px;
    padding: 18px 0 6px;
}

.trending-tipsters-guest-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 560px;
    padding: 20px 20px 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 18% 20%, rgba(0, 229, 163, 0.10), transparent 28%),
        radial-gradient(circle at 82% 16%, rgba(16,185,129, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(10, 14, 24, 0.96), rgba(7, 10, 18, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.trending-tipsters-guest-copy strong {
    color: #f4fbff;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.trending-tipsters-guest-copy span {
    color: rgba(244, 251, 255, 0.72);
    line-height: 1.5;
    font-size: 14px;
    max-width: 46ch;
}

.trending-tipsters-guest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trending-tipsters-guest-card {
    position: relative;
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8, 12, 23, 0.94), rgba(4, 8, 16, 0.98)),
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.08));
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.12), 0 8px 22px rgba(0,0,0,0.26);
    isolation: isolate;
}

.trending-tipsters-guest-card::before {
    content: '';
    position: absolute;
    inset: -36% -24%;
    background: linear-gradient(
        117deg,
        transparent 42%,
        rgba(255, 255, 255, 0.00) 46%,
        rgba(255, 255, 255, 0.92) 49%,
        rgba(255, 255, 255, 0.10) 50.5%,
        rgba(255, 255, 255, 0.00) 53%,
        transparent 59%
    );
    transform: translateX(-78%) rotate(8deg);
    mix-blend-mode: screen;
    opacity: 0.18;
    animation: bladeSweepGuest 5.2s linear infinite;
    pointer-events: none;
}

.trending-tipsters-guest-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 229, 163, 0.16), transparent 30%),
        radial-gradient(circle at 82% 16%, rgba(16,185,129, 0.18), transparent 28%);
    opacity: 0.85;
    pointer-events: none;
}

.trending-tipsters-guest-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px;
    gap: 10px;
}

.trending-tipsters-guest-identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}

.trending-tipsters-guest-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.32);
    background: rgba(255, 215, 0, 0.14);
    color: #FFD700;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.trending-tipsters-guest-name {
    color: #f4fbff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.trending-tipsters-guest-meta {
    color: rgba(244, 251, 255, 0.68);
    font-size: 12px;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   REEL BANNER CARDS — Full banner style (same as trending tipsters)
   ═══════════════════════════════════════════════════════════════════════════════ */
.reel-banner-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    transition: transform var(--duration-normal), box-shadow var(--duration-normal);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.reel-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.reel-banner-bg {
    height: 160px;
    position: relative;
    display: flex;
    align-items: stretch;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.reel-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,12,20,0.45) 0%, rgba(7,12,20,0.2) 60%, rgba(7,12,20,0.05) 100%);
    z-index: 1;
}
.reel-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    width: 100%;
}
.reel-banner-top {
    display: flex;
    align-items: center;
    gap: 6px;
}
.reel-banner-name {
    color: white;
    font-weight: 800;
    font-size: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.reel-banner-verified {
    color: var(--neon-blue);
    font-size: 12px;
}
.reel-banner-status {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0,229,163,0.2);
    color: var(--neon-green);
    border: 1px solid rgba(0,229,163,0.3);
}
.reel-banner-odds {
    font-size: 32px;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 30px rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.5);
    line-height: 1;
    text-align: center;
    letter-spacing: -1px;
}
.reel-banner-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.reel-banner-meta {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    font-weight: 600;
}
.reel-banner-cta {
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--duration-fast);
}
.reel-banner-card:hover .reel-banner-cta {
    background: rgba(255,255,255,0.25);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   STORY/STATUS VIEWER — WhatsApp-style full-screen popup
   ═══════════════════════════════════════════════════════════════════════════════ */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.story-viewer.show {
    opacity: 1;
    visibility: visible;
}

/* Fix for Desktop: Constrain the story viewer to a mobile-like frame */
@media (min-width: 1024px) {
    .story-viewer {
        background: rgba(0, 0, 0, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .story-viewer-progress,
    .story-viewer-header,
    .story-viewer-content {
        width: 420px !important; /* Mimic mobile viewport on desktop */
        margin-left: auto;
        margin-right: auto;
    }
    .story-viewer-content {
        height: calc(100vh - 92px);
        max-height: 760px;
    }
}

/* Progress bars at top */
.story-viewer-progress {
    display: flex;
    gap: 3px;
    padding: 8px 12px 4px;
    z-index: 10;
}
.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.story-progress-fill {
    height: 100%;
    width: 0;
    background: white;
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}
.story-progress-fill.complete {
    width: 100% !important;
    transition: none;
}
.story-progress-fill.active {
    width: 0;
}

/* Header */
.story-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    z-index: 10;
}
.story-viewer-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.story-viewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
}
.story-viewer-user-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.story-viewer-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
}
.story-viewer-time {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}
.story-viewer-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 30;
}
.story-sound-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.36);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity var(--duration-fast), background var(--duration-fast), transform var(--duration-fast);
}
.story-sound-toggle:hover {
    opacity: 1;
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}
.story-sound-toggle.hidden {
    display: none;
}
.story-viewer-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity var(--duration-fast);
    position: relative;
    z-index: 30;
}
.story-viewer-close:hover { opacity: 1; }

/* Content area */
.story-viewer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 28px;
    cursor: pointer;
    position: relative;
    background-color: #000;
    overflow: hidden;
}
.story-media-frame {
    width: min(100%, 520px);
    max-width: calc(100vw - 40px);
    aspect-ratio: 9 / 16;
    max-height: min(70vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}
.story-viewer-content img,
.story-viewer-content video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 12px;
    background: #000;
}
.story-media {
    display: block;
    pointer-events: none;
}
.story-nav-zone {
    position: absolute;
    top: 72px;
    bottom: 0;
    width: 50%;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 4;
}
.story-nav-prev {
    left: 0;
}
.story-nav-next {
    right: 0;
}
.story-edge-control {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 68px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    color: #18c8ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 12;
    text-shadow: 0 0 14px rgba(24, 200, 255, 0.78);
    transition: color var(--duration-fast), background var(--duration-fast), transform var(--duration-fast);
}
.story-edge-control:hover {
    color: #7df3ff;
    background: rgba(0, 120, 255, 0.18);
    transform: translateY(-50%) scale(1.04);
}
.story-edge-prev {
    left: 8px;
}
.story-edge-next {
    right: 8px;
}
.story-playback-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 14;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-play-pause {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at 30% 25%, rgba(0, 229, 255, 0.34), transparent 40%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(0, 120, 255, 0.34));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    cursor: pointer;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.52), 0 0 24px rgba(24, 200, 255, 0.36);
    transition: transform var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.story-play-pause:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.58), 0 0 28px rgba(0, 229, 255, 0.32);
}
.story-play-pause .fa-play {
    margin-left: 3px;
}

.tipstar-message-modal[hidden] {
    display:none;
}
.tipstar-message-modal {
    position:fixed;
    inset:0;
    z-index:10020;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
}
.tipstar-message-backdrop {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.74);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.tipstar-message-dialog {
    width:min(100%, 440px);
    position:relative;
    z-index:1;
    background:
        radial-gradient(circle at 16% 0%, rgba(16,185,129,0.22), transparent 36%),
        radial-gradient(circle at 88% 10%, rgba(255,0,92,0.16), transparent 38%),
        rgba(13,19,34,0.98);
    border:1px solid rgba(16,185,129,0.28);
    border-radius:18px;
    padding:20px;
    box-shadow:0 28px 70px rgba(0,0,0,0.58), 0 0 30px rgba(16,185,129,0.16);
}
.tipstar-message-close {
    position:absolute;
    top:14px;
    right:14px;
    width:34px;
    height:34px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    cursor:pointer;
}
.tipstar-message-heading {
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:16px;
    padding-right:40px;
}
.tipstar-message-icon {
    width:44px;
    height:44px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#06111d;
    background:linear-gradient(135deg, #6ee7b7, #10b981);
    box-shadow:0 0 20px rgba(16,185,129,0.28);
}
.tipstar-message-heading h2 {
    margin:0;
    color:#fff;
    font-size:20px;
}
.tipstar-message-heading p {
    margin:3px 0 0;
    color:var(--text-muted);
    font-size:13px;
}
.tipstar-message-dialog label {
    display:block;
    margin-bottom:12px;
}
.tipstar-message-dialog label span {
    display:block;
    color:#dce6ff;
    font-size:12px;
    font-weight:800;
    margin-bottom:6px;
}
.tipstar-message-dialog input,
.tipstar-message-dialog textarea {
    width:100%;
    border:1px solid rgba(255,255,255,0.12);
    border-radius:12px;
    background:rgba(4,9,18,0.68);
    color:#fff;
    padding:11px 12px;
    font:inherit;
    outline:none;
}
.tipstar-message-dialog textarea {
    resize:vertical;
    min-height:112px;
}
.tipstar-message-dialog input:focus,
.tipstar-message-dialog textarea:focus {
    border-color:#6ee7b7;
    box-shadow:0 0 0 3px rgba(16,185,129,0.18);
}
.tipstar-message-submit {
    width:100%;
    height:44px;
    border:0;
    border-radius:12px;
    background:linear-gradient(135deg, #00e5a3, #10b981);
    color:#06111d;
    font-weight:900;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
.tipstar-message-submit:disabled {
    opacity:0.65;
    cursor:not-allowed;
}
.tipstar-message-status {
    min-height:18px;
    margin:2px 0 10px;
    color:var(--text-muted);
    font-size:12px;
}
.tipstar-message-status.success {
    color:var(--neon-green);
}
.tipstar-message-status.error {
    color:var(--red);
}
body.modal-open {
    overflow:hidden;
}
.story-caption-overlay {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    margin: 0;
    padding: 12px 14px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.75);
    background: rgba(0,0,0,0.38);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 5;
}
.story-text-status {
    color: white;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    max-width: 90%;
    padding: 26px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,229,163,0.24), rgba(16,185,129,0.2));
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.story-viewer-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    max-width: 80%;
    line-height: 1.4;
    z-index: 2;
}
.story-viewer-bet-slip {
    z-index: 2;
    margin-top: 16px;
}
.story-bet-slip {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 12px;
    max-width: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 5;
    pointer-events: none;
}
.story-bet-slip-card {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    min-width: 200px;
}
.story-bet-slip-odds {
    font-size: 32px;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(0,229,163,0.4);
}
.story-bet-slip-bookmaker {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}
.story-bet-slip-code {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-family: var(--font-mono);
    margin-top: 2px;
}
.story-bet-slip-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 20px;
    background: var(--neon-green);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity var(--duration-fast);
}
.story-bet-slip-link:hover { opacity: 0.85; }


/* ═══════════════════════════════════════════════════════════════════════════════
   LIGHT MODE TEXT WEIGHT IMPROVEMENTS
   (Dark theme untouched — only light mode changes below)
   ═══════════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] .post-username { font-weight: 700; }
[data-theme="light"] .comment-nick { font-weight: 700; }
[data-theme="light"] .leg-selection { font-weight: 700; }
[data-theme="light"] .odds-value { font-weight: 900; }
[data-theme="light"] .post-caption { font-weight: 500; }
[data-theme="light"] .trending-tipster-name { font-weight: 800; }
[data-theme="light"] .trending-stat-value { font-weight: 900; }
[data-theme="light"] .trending-stat-label { font-weight: 700; }
[data-theme="light"] .explore-title { font-weight: 800; }

[data-theme="light"] .profile-info h1 { font-weight: 800; }
[data-theme="light"] .stories-bar { font-weight: 500; }
[data-theme="light"] .story-name { font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════════════════════
   LIGHT MODE — PasuaX logo adjustments
   ═══════════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] .pasuax-logo {
    color: #1a1a2e;
}
[data-theme="light"] .pasuax-logo .pasuax-x {
    background: linear-gradient(135deg, #10B981, #00E5A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}





/* ═══════════════════════════════════════════════════════════════════════════════
   LIGHT MODE — Trending tipsters panel
   ═══════════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] .trending-tipster-banner-overlay {
    background: linear-gradient(0deg, rgba(7,12,20,0.4) 0%, rgba(7,12,20,0.15) 60%, rgba(7,12,20,0.05) 100%) !important;
}
[data-theme="light"] .reel-banner-overlay {
    background: linear-gradient(0deg, rgba(7,12,20,0.4) 0%, rgba(7,12,20,0.15) 60%, rgba(7,12,20,0.05) 100%) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Trending tipsters & banner mobile adjustments
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .trending-tipsters-viewport { padding: 0 12px; }
    .trending-tipsters-track { gap: 12px; }
    .trending-tipster-card { width: calc((100% - 12px) / 2); min-width: 0; border-radius: var(--radius-lg); }
    .trending-tipster-banner { height: 160px; }
    .trending-tipster-card-content { padding: 12px 14px 18px; }
    .trending-tipster-top-row { gap: 5px; align-items: center; }
    .trending-tipster-name {
        font-size: 14px;
        line-height: 1.15;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .trending-tipster-verified { font-size: 12px; }
    .trending-tipster-stats-row { gap: 4px; }
    .trending-stat { display: none; }
    .trending-stat:nth-child(1),
    .trending-stat:nth-child(3) { display: flex; }
    .trending-stat-divider { display: none; }
    .trending-stat-divider:nth-child(2) { display: block; }
    .trending-stat-value { font-size: 16px; }
    .trending-stat-label { font-size: 8px; letter-spacing: 0.4px; }
    .trending-stat-divider { height: 26px; }
    .trending-tipster-bottom-row { align-items: flex-end; gap: 3px; }
    .trending-tipster-handle {
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .trending-tipster-cta { font-size: 10px; padding: 3px 8px; }
    .trending-tipster-pro { font-size: 9px; padding: 2px 6px; }
    .trending-tipsters-guest-lock {
        padding-top: 12px;
    }
    .trending-tipsters-guest-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .trending-tipsters-guest-card {
        min-height: 174px;
    }
    .trending-tipsters-guest-card-content {
        padding-bottom: 18px;
    }
    .trending-tipsters-guest-avatar {
        width: 44px;
        height: 44px;
    }
    .trending-tipsters-guest-avatar i {
        font-size: 16px;
    }
    .trending-tipsters-guest-head {
        gap: 10px;
    }
    .trending-tipsters-guest-name {
        font-size: 15px;
    }
    .trending-tipsters-guest-badge {
        padding: 4px 8px;
        font-size: 9px;
    }
    .trending-tipsters-guest-meta {
        font-size: 11px;
    }
    .trending-tipsters-guest-copy {
        padding: 18px 16px 16px;
        border-radius: 20px;
    }
    .trending-tipsters-guest-copy strong {
        font-size: 19px;
    }
    .trending-tipsters-guest-copy span {
        font-size: 13px;
    }

    .guest-mask {
        gap: 8px;
        margin-top: 12px;
        width: 100%;
    }

    .guest-line-lg { width: 78%; }
    .guest-line-md { width: 58%; }
    .guest-line-sm { width: 42%; }
    .reel-banner-bg { height: 140px; }
    .reel-banner-odds { font-size: 26px; }
    .tipstars-trending-banner { max-width:100%; margin-left:0; margin-right:0; border-radius:20px; }

}
@media (max-width: 480px) {
    .trending-tipsters-viewport { padding: 0 10px; }
    .trending-tipster-card { width: calc((100% - 12px) / 2); min-width: 0; }
    .trending-tipster-banner { height: 150px; }
    .trending-tipster-card-content { padding: 10px 12px 20px; }
    .trending-tipster-name { font-size: 13px; }
    .trending-stat-value { font-size: 14px; }
    .trending-stat-label { font-size: 7px; }
    .trending-tipster-pro { font-size: 8px; padding: 2px 5px; }
    .reel-banner-bg { height: 130px; }
    .reel-banner-odds { font-size: 22px; }
    .reel-banner-name { font-size: 12px; }

}


/* ═══════════════════════════════════════════════════════════════════════════════
   DESKTOP DASHBOARD LAYOUT — Sidebar + Header + Main Content
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Sidebar ── */
.dash-sidebar {
    display: none;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 228px;
    background:
        linear-gradient(180deg, rgba(10, 12, 20, 0.98), rgba(6, 9, 16, 0.96));
    border-right: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.28);
}
.dash-sidebar-logo {
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.dash-sidebar-nav {
    flex: 1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.22s ease;
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    width: 100%;
    text-align: left;
    letter-spacing: 0.01em;
}
.dash-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #00e5a3;
}
.dash-nav-item:hover {
    color: rgba(255,255,255,0.95);
    background: rgba(0,229,163,0.08);
    border-color: rgba(0,229,163,0.16);
    transform: translateX(2px);
}
.dash-nav-item.active {
    color: #ffffff;
    border-color: rgba(0,229,163,0.32);
    background: linear-gradient(135deg, rgba(0,229,163,0.16), rgba(16,185,129,0.12));
    box-shadow: 0 10px 24px rgba(0,229,163,0.08);
}
.dash-sidebar-footer {
    padding: 14px 12px 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: grid;
    gap: 8px;
}

/* ── Header ── */
.dash-header {
    display: none;
    position: fixed;
    top: 0;
    left: 228px;
    right: 0;
    height: 68px;
    background: rgba(10, 10, 18, 0.94);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
    align-items: center;
    padding: 0 24px;
    gap: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.dash-header-left {
    flex-shrink: 0;
}
.dash-header-title {
    font-size: 17px;
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dash-header-sub {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.56);
    margin-left: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.dash-header-center {
    flex: 1;
    max-width: 400px;
}





.dash-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}
.dash-header-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}
.dash-header-icon:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
.dash-header-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3333, #ff6644);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid #ff3333;
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.6), 0 0 16px rgba(255, 51, 51, 0.3);
    transition: box-shadow 0.3s;
}
.dash-header-avatar:hover {
    box-shadow: 0 0 12px rgba(255, 51, 51, 0.8), 0 0 24px rgba(255, 51, 51, 0.4);
}
.dash-header-avatar img {
    border-radius: 50%;
}

/* ── Main Content Area ── */
.dash-main {
    position: relative;
}

/* ── World Map Background ── */
.world-map-bg {
    display: none;
    position: fixed;
    top: 60px;
    left: 200px;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}
.world-map-svg {
    width: 100%;
    height: 100%;
}
.wm-continent {
    fill: rgba(255,255,255,0.12);
    stroke: none;
}
.wm-node {
    fill: #00ff88;
    filter: drop-shadow(0 0 4px #00ff88);
    animation: wmPulse 3s ease-in-out infinite;
}
.wm-line {
    stroke: rgba(0,255,136,0.25);
    stroke-width: 0.8;
}
@keyframes wmPulse {
    0%, 100% { opacity: 0.4; r: 3px; }
    50% { opacity: 1; r: 5px; }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   DESKTOP PREMIUM TRENDING TIPTERS STAT CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.dash-premium-tipsters {
    display: none;
    padding: 0 16px;
    margin-bottom: 4px;
    max-width: 935px;
    margin-left: auto;
    margin-right: auto;
}
.dash-section-header {
    margin-bottom: 6px;
    text-align: center;
    padding: 12px 0 8px;
}
.dash-section-header h2 {
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.dash-section-header span {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    display: block;
    margin: 4px 0 0;
    text-align: center;
}
.dash-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow: visible;
    max-width: 100%;
}
.dash-premium-card {
    min-height: 320px;
    border-radius: 24px;
    padding: 18px 18px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 14%, rgba(255,255,255,0.06), transparent 26%),
        radial-gradient(circle at 78% 20%, rgba(255,255,255,0.05), transparent 20%),
        linear-gradient(180deg, #0d1320 0%, #090d16 52%, #05070d 100%);
}
.dash-premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), transparent 18%),
        radial-gradient(circle at 50% 114%, rgba(0,0,0,0.28), transparent 42%);
    z-index: 1;
}
.dash-premium-card::after {
    content: '';
    position: absolute;
    inset: -38% -28%;
    background: linear-gradient(
        118deg,
        transparent 42%,
        rgba(255, 255, 255, 0.00) 46%,
        rgba(255, 255, 255, 0.96) 49%,
        rgba(255, 255, 255, 0.12) 50.5%,
        rgba(255, 255, 255, 0.00) 53%,
        transparent 59%
    );
    transform: translateX(-80%) rotate(8deg);
    mix-blend-mode: screen;
    opacity: 0.22;
    animation: bladeSweepGuest 4.8s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.dash-premium-card .dpc-cover {
    display: none !important;
}

.dash-premium-platinum,
.dash-premium-gold,
.dash-premium-diamond {
    box-shadow: 0 12px 28px rgba(0,0,0,0.34);
}
.dash-premium-platinum { border-color: rgba(226, 232, 240, 0.12); }
.dash-premium-gold { border-color: rgba(255, 215, 0, 0.12); }
.dash-premium-diamond { border-color: rgba(52,211,153, 0.12); }

.dash-premium-platinum .dpc-tier-pill {
    color: #f3f7fb;
    border-color: rgba(226, 232, 240, 0.22);
    background: linear-gradient(135deg, rgba(243, 247, 251, 0.18), rgba(203, 213, 225, 0.10));
}
.dash-premium-gold .dpc-tier-pill {
    color: #ffd54a;
    border-color: rgba(255, 215, 0, 0.22);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 236, 128, 0.10));
}
.dash-premium-diamond .dpc-tier-pill {
    color: #8be9ff;
    border-color: rgba(52,211,153, 0.22);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(59, 130, 246, 0.10));
}

.dash-premium-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Hakikisha elements zote za moja kwa moja za .dash-premium-card (isipokuwa .dpc-cover) ziko juu ya background */
.dash-premium-card > *:not(.dpc-cover) {
    position: relative;
    z-index: 1;
}
.dpc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.dpc-header-spaced {
    margin-top: 48px;
}
.dpc-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
}
.dash-premium-teal .dpc-avatar { background: linear-gradient(135deg, #00BFA5, #004D40); color: #00E5A3; }
.dash-premium-gold .dpc-avatar { background: linear-gradient(135deg, #FFD700, #8B6914); color: #fff; }
.dash-premium-crimson .dpc-avatar { background: linear-gradient(135deg, #FF3333, #8B0000); color: #fff; }

.dpc-avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.dpc-avatar-letter { font-size: 18px; font-weight: 800; }
.dpc-identity {
    flex: 1;
    min-width: 0;
}
.dpc-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dpc-handle {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.dpc-badge-pro {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,215,0,0.15);
    color: #FFD700;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255,215,0,0.3);
    flex-shrink: 0;
}
.dpc-badge-verified {
    color: #10B981;
    font-size: 16px;
    flex-shrink: 0;
}

.dpc-lines {
    display: grid;
    gap: 10px;
    margin: 16px 0 14px;
}
.dpc-line {
    display: block;
    height: 12px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.20), rgba(255,255,255,0.10));
    opacity: 0.88;
}
.dpc-line-lg { width: 72%; }
.dpc-line-md { width: 54%; }
.dpc-line-sm { width: 38%; }

.dpc-tier-pill {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    min-width: 94px;
    height: 34px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.dpc-cta {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   DESKTOP POST CARD — Clean minimal bet slip with thin red border
   ═══════════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════════
   DESKTOP DASHBOARD ACTIVATION — Show sidebar/header at >768px
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
    /* Show sidebar */
    .dash-sidebar {
        display: flex;
    }
    /* Show header */
    .dash-header {
        display: flex;
    }
    /* Show world map */
    .world-map-bg {
        display: block;
    }
    /* Show premium tipster cards */
    .dash-premium-tipsters {
        display: block;
        padding: 0 16px;
        margin-bottom: 4px;
    }
    /* Fix Search Modal positioning to not cover the search bar */
    
    
    /* Hide mobile billboard carousel on desktop (premium cards replace it) */
    .trending-tipsters-panel {
        display: none;
    }
    /* Adjust main content */
    .dash-main {
        margin-left: 228px;
        margin-top: 68px;
        position: relative;
        z-index: 1;
    }
    /* Feed container adjustments */
    .feed-container {
        max-width: 680px;
        margin: 0 auto;
        padding: 0 24px 80px;
    }
    /* Stories bar on desktop */
    .stories-bar {
        max-width: 935px;
        margin: 0 auto;
    }
    /* Hero carousel on desktop */
    .hero-carousel {
        max-width: 935px;
        margin: 0 auto;
    }
    /* Compact trending banner on desktop */
    .tipstars-trending-banner {
        max-width: 935px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Hide bottom nav on desktop */
    .bottom-nav {
        display: none;
    }
    /* Adjust comments drawer for sidebar offset */
    .desktop-comments-drawer.show {
        right: 24px;
    }
}

@media (min-width: 769px) {
    .dash-premium-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .feed-container {
        max-width: 720px;
    }
}

/* Neon red border for all tipster/won-bet containers (Mobile & Desktop) */
.dash-premium-card,
.tipstar-mini-card,
.tipstar-podium-card,
.trending-tipster-card,
.reel-banner-card,
.dash-reel-card {
    border: 1.5px solid rgba(255, 71, 87, 0.5) !important;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.15) !important;
}
.dash-premium-card:hover,
.tipstar-mini-card:hover,
.tipstar-podium-card:hover,
.trending-tipster-card:hover,
.reel-banner-card:hover,
.dash-reel-card:hover {
    border-color: #FF4757 !important;
    box-shadow: 0 0 25px rgba(255, 71, 87, 0.35), 0 8px 32px rgba(0,0,0,0.4) !important;
}

.dash-premium-platinum,
.dash-premium-gold,
.dash-premium-diamond {
    border-width: 1px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.34) !important;
}
.dash-premium-platinum:hover,
.dash-premium-gold:hover,
.dash-premium-diamond:hover {
    border-color: rgba(255,255,255,0.14) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.48) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   LIGHT MODE — Desktop Dashboard Overrides
   ═══════════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] .dash-sidebar {
    background: rgba(255, 255, 255, 0.97);
    border-right-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .dash-nav-item {
    color: rgba(0,0,0,0.62);
    background: rgba(0,0,0,0.02);
}
[data-theme="light"] .dash-nav-item:hover {
    color: rgba(0,0,0,0.92);
    background: rgba(0,229,163,0.08);
}
[data-theme="light"] .dash-nav-item.active {
    color: #062b21;
    border-color: rgba(0,229,163,0.24);
    background: linear-gradient(135deg, rgba(0,229,163,0.18), rgba(16,185,129,0.12));
}
[data-theme="light"] .dash-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .dash-header-title { color: #111; }
[data-theme="light"] .dash-header-sub { color: rgba(0,0,0,0.4); }
[data-theme="light"] 
[data-theme="light"] 
[data-theme="light"] 
[data-theme="light"] 
[data-theme="light"] .dash-header-icon {
    background: rgba(0,0,0,0.04);
    color: rgba(0,0,0,0.5);
}
[data-theme="light"] .dash-header-icon:hover { background: rgba(0,0,0,0.08); color: #111; }
[data-theme="light"] .dash-premium-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .dpc-name { color: #111; }
[data-theme="light"] .dpc-handle { color: rgba(0,0,0,0.4); }
[data-theme="light"] .dpc-stat { background: rgba(0,0,0,0.03); }
[data-line="light"] .dpc-stat-value { color: #111 !important; }
[data-theme="light"] .dpc-stat-label { color: rgba(0,0,0,0.4); }
[data-theme="light"] .dpc-cta { color: rgba(0,0,0,0.4); }
[data-theme="light"] .dash-premium-card:hover .dpc-cta { color: #111; }
[data-theme="light"] .wm-continent { fill: rgba(0,0,0,0.06); }
[data-theme="light"] .world-map-bg { opacity: 0.08; }
[data-theme="light"] .post-card {
    background: rgba(255,255,255,0.98) !important;
    border-color: rgba(255, 51, 51, 0.15) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   38. TIPSTARS PODIUM (Top 3 Diamond / Ruby / Tanzanite)
   ═══════════════════════════════════════════════════════════════════════════════ */
.tipstars-podium {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 16px;
    padding: 0 8px;
}
.tipstar-podium-card {
    flex-shrink: 0;
    width: 130px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--duration-normal);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
}
.tipstar-podium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.tipstar-podium-card.podium-diamond {
    border-color: rgba(110,231,183, 0.35);
    box-shadow: 0 0 20px rgba(110,231,183, 0.15);
    width: 145px;
}
.tipstar-podium-card.podium-ruby {
    border-color: rgba(255, 100, 150, 0.35);
    box-shadow: 0 0 20px rgba(255, 100, 150, 0.15);
}
.tipstar-podium-card.podium-tanzanite {
    border-color: rgba(100, 255, 200, 0.35);
    box-shadow: 0 0 20px rgba(100, 255, 200, 0.15);
}
.podium-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
}
.podium-diamond .podium-badge {
    background: linear-gradient(90deg, #6EE7B7, #10B981);
    color: #fff;
}
.podium-ruby .podium-badge {
    background: linear-gradient(90deg, #FF6496, #DC143C);
    color: #fff;
}
.podium-tanzanite .podium-badge {
    background: linear-gradient(90deg, #64FFC8, #00E5A3);
    color: #0A0E17;
}
.tipstar-podium-card .tipstar-mini-cover {
    height: 55px;
    position: relative;
}
.tipstar-podium-card .tipstar-mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    margin: -18px auto 6px;
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    border: 2px solid;
    overflow: hidden;
}
.tipstar-podium-card .tipstar-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}
.tipstar-podium-card h4 {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
    padding: 0 6px;
}
.tipstar-podium-card .tipstar-mini-accuracy {
    color: var(--text-dim);
    font-size: 10px;
    display: block;
    margin-bottom: 4px;
}
.tipstar-podium-card .tipstar-mini-stats {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 9px;
    color: var(--text-dim);
    margin-bottom: 6px;
    padding: 0 4px;
}
.tipstar-podium-card .tipstar-mini-stats strong {
    color: var(--text-muted);
}
.tipstar-podium-card .mini-follow-btn {
    display: inline-block;
    padding: 4px 16px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration-fast);
    border: none;
    margin-bottom: 10px;
}

.tipstars-top-rest {
    margin-top: 12px;
}
.tipstars-section-desc {
    color: var(--text-dim);
    font-size: 12px;
    margin-bottom: 12px;
    margin-top: -8px;
}

.rank-badge.rank-4, .rank-badge.rank-5, .rank-badge.rank-6,
.rank-badge.rank-7, .rank-badge.rank-8, .rank-badge.rank-9, .rank-badge.rank-10 {
    background: rgba(110,231,183, 0.12);
    color: var(--neon-blue);
    border: 1px solid rgba(110,231,183, 0.25);
}

@media (max-width: 768px) {
    .tipstars-podium {
        gap: 8px;
        padding: 0;
    }
    .tipstar-podium-card {
        width: 110px;
    }
    .tipstar-podium-card.podium-diamond {
        width: 120px;
    }
    .tipstar-podium-card .tipstar-mini-avatar {
        width: 40px;
        height: 40px;
        margin: -14px auto 4px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   39. MARKET INTELLIGENCE / LIVE NEWS PANEL (Desktop Right Side)
   ═══════════════════════════════════════════════════════════════════════════════ */
.dash-news-panel {
    display: none;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin: 0 auto 16px;
    max-width: 380px;
}
.dash-news-stick {
    display: none;
}
.dash-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(16,185,129, 0.06), transparent);
}
.dash-news-header h3 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.dash-news-header h3 i {
    color: var(--neon-blue);
    font-size: 14px;
}
.dash-news-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--neon-green);
    letter-spacing: 0.5px;
}
.dash-news-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.dash-news-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.dash-news-close:hover {
    color: var(--text-primary);
    border-color: rgba(255, 59, 59, 0.42);
    background: rgba(255, 59, 59, 0.12);
    transform: rotate(90deg);
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 163, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(0, 229, 163, 0); }
}

.dash-news-feed {
    padding: 8px 0;
}
.dash-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: background var(--duration-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.dash-news-item:last-child {
    border-bottom: none;
}
.dash-news-item:hover {
    background: rgba(255, 255, 255, 0.02);
}
.dash-news-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-elevated);
}
.dash-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dash-news-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dash-news-headline {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-news-snippet {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-news-time {
    color: var(--text-faint);
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.dash-news-time i {
    font-size: 9px;
}

/* Desktop layout: 3-column with news panel on right */
@media (min-width: 1200px) {
    .dash-news-panel {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 16px;
        top: 80px;
        width: 340px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        margin: 0;
        z-index: 1;
        transform: translateX(0);
        opacity: 1;
        transition: transform 0.28s ease, opacity 0.22s ease;
    }
    .dash-news-panel.collapsed {
        transform: translateX(calc(100% + 28px));
        opacity: 0;
        pointer-events: none;
    }
    .dash-news-stick {
        display: flex;
        position: fixed;
        right: 14px;
        top: 220px;
        width: 46px;
        height: 204px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-direction: column;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        border: 1px solid rgba(0,229,163,0.24);
        border-radius: 16px;
        background:
            linear-gradient(180deg, rgba(16,185,129,0.28), rgba(0,229,163,0.14)),
            rgba(8, 18, 30, 0.92);
        color: var(--text-primary);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.5px;
        z-index: 20;
        cursor: pointer;
        box-shadow: 0 18px 42px rgba(0,0,0,0.36), 0 0 28px rgba(16,185,129,0.16);
        transform: translateX(0);
        transition: transform 0.22s ease, opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .dash-news-stick i {
        color: var(--neon-green);
        font-size: 15px;
        text-shadow: 0 0 12px rgba(0,229,163,0.45);
    }
    .dash-news-stick:hover {
        border-color: rgba(0,229,163,0.46);
        box-shadow: 0 20px 50px rgba(0,0,0,0.42), 0 0 34px rgba(0,229,163,0.22);
        transform: translateX(-3px);
    }
    .dash-news-stick:not(.show) {
        opacity: 0;
        pointer-events: none;
        transform: translateX(calc(100% + 22px));
    }
    .dash-news-panel::-webkit-scrollbar { width: 4px; }
    .dash-news-panel::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: var(--radius-full); }
    
}


/* ── Desktop UI Rescue for Ayabu Bot ────────────────── */
/* ═══════════════════════════════════════════════════════════════════════════════
   40. TRENDING TIPSTERS BANNER - Dark blue / adaptive color
   ═══════════════════════════════════════════════════════════════════════════════ */
.tipstars-trending-banner {
    /* DARK CONTAINER + GREEN STROKE (very low opacity) - NO GLOW */
    background: #050308 !important;
    background-color: #050308 !important;
    background-image: linear-gradient(135deg, #0a0612 0%, #050308 100%) !important;
    /* Very low opacity green stroke */
    border: 2px solid rgba(0, 229, 163, 0.18) !important;
    border-radius: 24px !important;
    /* Restored to original long width */
    max-width: 935px !important;
    /* Center horizontally */
    margin-left: auto !important;
    margin-right: auto !important;
    /* No glow - just a flat subtle drop shadow for depth */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7) !important;
}
.tipstars-trending-banner:hover {
    background: #0a0612 !important;
    background-color: #0a0612 !important;
    background-image: linear-gradient(135deg, #10081a 0%, #0a0612 100%) !important;
    /* Still subtle on hover */
    border-color: rgba(0, 229, 163, 0.35) !important;
    /* No glow - just a flat subtle drop shadow for depth */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
}
/* Ensure banner text is readable on dark container */
.tipstars-trending-banner .trending-info strong,
.tipstars-trending-banner .trending-info span,
.tipstars-trending-banner .trending-arrow {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}

/* Desktop: narrower premium tipsters section */
@media (min-width: 769px) {
    .dash-premium-tipsters {
        max-width: 680px !important;
    }
}

/* Light theme adjustments for news panel */
[data-theme="light"] .dash-news-panel {
    background: #fff;
    border-color: #e0e0e0;
}
[data-theme="light"] .dash-news-header {
    background: linear-gradient(180deg, rgba(16,185,129, 0.04), transparent);
    border-bottom-color: #e0e0e0;
}
[data-theme="light"] .dash-news-headline {
    color: #111;
}
[data-theme="light"] .dash-news-snippet {
    color: #666;
}
[data-theme="light"] .dash-news-time {
    color: #999;
}
[data-theme="light"] .tipstars-trending-banner {
    background: rgba(13, 17, 23, 0.92) !important;
    border-color: rgba(168, 5, 146, 0.55) !important;
}
[data-theme="light"] .tipstars-trending-banner .trending-info strong,
[data-theme="light"] .tipstars-trending-banner .trending-info span,
[data-theme="light"] .tipstars-trending-banner .trending-arrow {
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   41. HOPE AI — Sports Analysis Assistant
   ═══════════════════════════════════════════════════════════════════════════════ */
.hope-ai-section {
    display: none;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}
.hope-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(0, 229, 163, 0.06), transparent);
}
.hope-ai-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hope-ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00E5A3, #10B981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0E17;
    font-size: 16px;
    flex-shrink: 0;
}
.hope-ai-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.hope-ai-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.hope-ai-tagline {
    font-size: 11px;
    color: var(--text-dim);
}
.hope-ai-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--neon-green);
    letter-spacing: 0.5px;
}
.hope-ai-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hope-ai-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.hope-ai-toggle:hover {
    color: var(--neon-green);
    border-color: rgba(0,229,163,0.35);
}
.hope-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    animation: livePulse 1.5s ease infinite;
}
.hope-ai-chat {
    display: none;
}
.hope-chat-messages {
    padding: 12px 16px;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}
.hope-chat-messages::-webkit-scrollbar { width: 4px; }
.hope-chat-messages::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: var(--radius-full); }

.hope-msg {
    display: flex;
    max-width: 90%;
}
.hope-msg-ai {
    align-self: flex-start;
}
.hope-msg-user {
    align-self: flex-end;
}
.hope-msg-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
}
.hope-msg-ai .hope-msg-bubble {
    background: rgba(0, 229, 163, 0.08);
    border: 1px solid rgba(0, 229, 163, 0.15);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}
.hope-msg-user .hope-msg-bubble {
    background: rgba(16,185,129, 0.12);
    border: 1px solid rgba(16,185,129, 0.2);
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
}

/* Hope Typing Indicator */
.hope-typing-indicator .hope-msg-bubble {
    display: flex;
    gap: 4px;
    padding: 10px 16px;
}
.hope-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    animation: hopeDotPulse 1.4s ease-in-out infinite;
}
.hope-dot:nth-child(2) { animation-delay: 0.2s; }
.hope-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes hopeDotPulse {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1.2); }
}

.hope-ai-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
}
.hope-ai-input input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 12px;
    padding: 6px 0;
    outline: none;
}
.hope-ai-input input::placeholder {
    color: var(--text-dim);
}
.hope-ai-input button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00E5A3, #10B981);
    color: #0A0E17;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.hope-ai-input button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 229, 163, 0.4);
}

/* ── Mobile Hope Bubble ── */
.hope-mobile-bubble {
    display: none;
    position: fixed;
    bottom: 68px;
    right: 18px;
    width: 46px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(0,229,163,0.36);
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,0.58), transparent 20%),
        linear-gradient(135deg, #00E5A3, #10B981);
    color: #0A0E17;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 500;
    box-shadow: 0 8px 22px rgba(0, 229, 163, 0.28), 0 3px 10px rgba(0,0,0,0.24);
    transition: transform 0.2s, box-shadow 0.2s;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.hope-desktop-bubble {
    display: none;
    position: fixed;
    right: 28px;
    bottom: 24px;
    width: 74px;
    height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(0,229,163,0.36);
    background:
        radial-gradient(circle at 26% 18%, rgba(255,255,255,0.62), transparent 20%),
        linear-gradient(135deg, #00E5A3 0%, #10B981 62%, #7C3AED 100%);
    color: #0A0E17;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 18px 42px rgba(0, 229, 163, 0.34), 0 4px 14px rgba(0,0,0,0.32);
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hope-bubble-core {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 900;
    letter-spacing: 0;
}
.hope-bubble-core span {
    font-size: 10px;
    line-height: 1;
}
.hope-desktop-bubble:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 22px 52px rgba(0, 229, 163, 0.44), 0 6px 16px rgba(0,0,0,0.34);
}
.hope-mobile-bubble:hover {
    transform: translateY(-2px) scale(1.04);
}
.hope-bubble-pulse {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-green);
    animation: livePulse 1.5s ease infinite;
    border: 1px solid var(--bg-primary);
}

/* ── Mobile Hope Overlay ── */
.hope-mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 1000;
    display: none;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hope-mobile-overlay.show {
    transform: translateY(0);
}
.hope-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(0, 229, 163, 0.06), transparent);
}
.hope-mobile-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hope-mobile-avatar {
    width: 40px;
    height: 40px;
}
.hope-mobile-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.hope-mobile-close:hover {
    background: rgba(255, 71, 87, 0.15);
    color: var(--red);
}
.hope-mobile-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hope-mobile-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.hope-mobile-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 16px;
    outline: none;
    transition: border-color 0.2s;
}
.hope-mobile-input input:focus {
    border-color: rgba(0, 229, 163, 0.4);
}
.hope-mobile-input input::placeholder {
    color: var(--text-dim);
}
.hope-mobile-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00E5A3, #10B981);
    color: #0A0E17;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.hope-mobile-input button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(0, 229, 163, 0.4);
}

/* ── Desktop: Show Hope AI in right panel ── */
@media (min-width: 769px) {
    .hope-ai-section {
        display: flex;
        flex-direction: column;
        border-top: 2px solid var(--border-color);
        position: fixed;
        right: 24px;
        bottom: 24px;
        width: 360px;
        max-height: min(640px, calc(100vh - 110px));
        margin-top: 0;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
        overflow: hidden;
        z-index: 1201;
    }
    .hope-ai-chat {
        display: block;
    }
    .hope-ai-section.minimized {
        display: none !important;
    }
    .hope-desktop-bubble {
        display: flex;
    }
}

/* ── Mobile: Show Hope bubble ── */
@media (max-width: 768px) {
    .hope-mobile-bubble {
        display: flex;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   42. DESKTOP WON BETS / REELS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.dash-reels-section {
    display: block;
    padding: 0 16px;
    margin-bottom: 4px;
    max-width: 935px;
    margin-left: auto;
    margin-right: auto;
}
.dash-reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.dash-reel-card {
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.dash-reel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.dash-reel-card-bg {
    height: 140px;
    position: relative;
    display: flex;
    align-items: stretch;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dash-reel-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,12,20,0.45) 0%, rgba(7,12,20,0.2) 60%, rgba(7,12,20,0.05) 100%);
    z-index: 1;
}
.dash-reel-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    width: 100%;
}
.dash-reel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-reel-odds {
    font-size: 22px;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 0 0 16px rgba(0, 229, 163, 0.4);
}
.dash-reel-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-reel-tipster {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dash-reel-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}
.dash-reel-avatar-letter {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-hex);
}
.dash-reel-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}
.dash-reel-legs {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

/* Shared auth gate and premium lock treatment */
.auth-onboarding-overlay {
    position: fixed;
    inset: 0;
    z-index: 99996;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at top left, rgba(0, 229, 163, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(16,185,129, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(4, 10, 22, 0.98), rgba(2, 6, 14, 0.98));
    color: #f5fbff;
}

.auth-onboarding-overlay.show {
    display: flex;
}

.auth-onboarding-shell {
    width: min(100%, 920px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(7, 11, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.auth-onboarding-hero {
    padding: 34px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at top left, rgba(0, 229, 163, 0.18), transparent 32%),
        radial-gradient(circle at right center, rgba(16,185,129, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(8,15,26,0.94), rgba(3,8,18,0.98));
}

.auth-onboarding-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dff9f2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-onboarding-title {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.auth-onboarding-copy {
    max-width: 32ch;
    color: rgba(245, 251, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
}

.auth-onboarding-highlights {
    display: grid;
    gap: 10px;
}

.auth-onboarding-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 251, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
}

.auth-onboarding-highlights i {
    color: #00e5a3;
}

.auth-onboarding-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(8, 12, 23, 0.98), rgba(5, 9, 18, 0.98));
}

.auth-onboarding-actions {
    display: grid;
    gap: 12px;
}

.auth-onboarding-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.auth-onboarding-btn:hover {
    transform: translateY(-1px);
}

.auth-onboarding-btn.google {
    background: #ffffff;
    color: #0d1117;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.auth-onboarding-btn.email {
    background: linear-gradient(135deg, #00e5a3, #10b981);
    color: #041017;
}

.auth-onboarding-btn:disabled,
.auth-onboarding-btn[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.72;
}

.auth-onboarding-footer {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(245, 251, 255, 0.72);
    font-size: 13px;
}

.auth-onboarding-login-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(245, 251, 255, 0.74);
}

.auth-onboarding-login-link {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.auth-onboarding-skip {
    background: transparent;
    border: 0;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 0;
}

html.auth-onboarding-active,
body.auth-onboarding-active {
    overflow: hidden !important;
    height: 100%;
}

.premium-locked-shell {
    position: relative;
    isolation: isolate;
}

.status-badge.status-locked {
    background: rgba(255, 255, 255, 0.06);
    color: #d8e2f0;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.premium-guest-shell {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    isolation: isolate;
}

.premium-guest-shell::before,
.premium-guest-shell::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 0;
}

.premium-guest-shell::before {
    inset: -34% -24%;
    z-index: 2;
    background: linear-gradient(
        116deg,
        transparent 42%,
        rgba(255, 255, 255, 0.00) 46%,
        rgba(255, 255, 255, 0.98) 49%,
        rgba(255, 255, 255, 0.10) 50.5%,
        rgba(255, 255, 255, 0.00) 53%,
        transparent 59%
    );
    transform: translateX(-78%) rotate(8deg);
    mix-blend-mode: screen;
    filter: blur(0.15px);
    opacity: 0.18;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.16);
    animation: bladeSweepGuest 5.2s linear infinite;
}

.premium-guest-shell::after {
    z-index: 1;
    background:
        radial-gradient(circle at 20% 22%, rgba(0, 229, 163, 0.16), transparent 30%),
        radial-gradient(circle at 80% 18%, rgba(16,185,129, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.03));
    opacity: 0.9;
}

.premium-guest-shell > * {
    position: relative;
    z-index: 3;
}

.premium-guest-shell:focus-visible {
    outline: 2px solid rgba(0, 229, 163, 0.55);
    outline-offset: 3px;
}

.premium-locked-post {
    min-height: 154px;
    padding: 20px 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(0, 229, 163, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(8, 12, 23, 0.92), rgba(4, 8, 16, 0.98));
    border-top: 1px solid rgba(255,255,255,0.06);
}

.premium-locked-post strong,
.premium-guest-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.premium-locked-post span,
.premium-guest-copy {
    color: rgba(245, 251, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.premium-guest-empty {
    min-height: 100px;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    background: linear-gradient(180deg, rgba(8, 12, 23, 0.86), rgba(4, 8, 16, 0.96));
}

.premium-guest-empty .premium-guest-title {
    font-size: 15px;
}

.premium-guest-empty .premium-guest-copy {
    font-size: 12px;
}

@keyframes bladeSweepGuest {
    0%, 58% {
        opacity: 0.04;
        transform: translateX(-82%) rotate(8deg);
    }
    66% {
        opacity: 0.96;
    }
    78% {
        opacity: 1;
        transform: translateX(32%) rotate(8deg);
    }
    88% {
        opacity: 0.72;
        transform: translateX(68%) rotate(8deg);
    }
    100% {
        opacity: 0.05;
        transform: translateX(96%) rotate(8deg);
    }
}

@media (max-width: 768px) {
    .tipstar-mini-card::before,
    .top-tier-card::before,
    .premium-guest-shell::before {
        inset: -42% -30%;
        opacity: 0.24;
        animation-duration: 4.2s;
    }

    .tipstar-mini-card::after,
    .top-tier-card::after,
    .premium-guest-shell::after {
        opacity: 0.88;
    }
}

.premium-locked-banner {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 16px;
}

.premium-locked-card {
    width: min(100%, 520px);
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(8, 12, 23, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.premium-locked-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.premium-locked-card p {
    margin: 0 0 14px;
    color: rgba(245, 251, 255, 0.74);
    font-size: 14px;
    line-height: 1.55;
}

.premium-locked-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, #00e5a3, #10b981);
    color: #041017;
    font-weight: 700;
}

.premium-locked-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.premium-locked-link.secondary {
    background: transparent;
    color: #dff9f2;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.premium-locked-link.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .premium-locked-post {
        min-height: 132px;
        padding: 18px 14px 16px;
    }

    .premium-guest-empty {
        min-height: 88px;
        padding: 14px 12px;
    }
}

@media (max-width: 768px) {
    .premium-locked-card {
        width: 100%;
        padding: 16px 16px 14px;
        border-radius: 20px;
    }

    .premium-locked-card strong {
        font-size: 16px;
    }

    .premium-locked-card p {
        font-size: 13px;
    }
}

@media (max-width: 980px) {
    .auth-onboarding-shell {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .auth-onboarding-hero {
        min-height: 280px;
        padding: 28px;
    }

    .auth-onboarding-panel {
        padding: 22px;
    }
}

/* Show reels section on desktop/tablet, keep mobile feed focused. */
@media (min-width: 769px) {
    .dash-reels-section {
        display: block;
    }
}
@media (max-width: 768px) {
    .dash-reels-section {
        display: none;
    }
}
@media (min-width: 769px) and (max-width: 1199px) {
    .dash-reels-section {
        max-width: 680px !important;
    }
}

/* Light theme for reels */
[data-theme="light"] .dash-reel-card {
    border-color: #e0e0e0;
    background: #fff;
}
[data-theme="light"] .dash-reel-card-bg {
    background-color: #E3F2FD;
}
[data-theme="light"] .dash-reel-name {
    color: #333;
}

/* ── Desktop: Expand news panel width to align with blue line ── */
@media (min-width: 1200px) {
    .dash-news-panel {
        width: 380px !important;
        right: 12px !important;
    }
    .dash-main {
        margin-right: 410px !important;
    }
    .dash-premium-tipsters {
        max-width: 100% !important;
    }
    /* Won Bets / Reels section same width as premium tipsters */
    .dash-reels-section {
        max-width: 100% !important;
    }
}

/* ── Light theme for Ayabu AI ── */
[data-theme="light"] .hope-msg-ai .hope-msg-bubble {
    background: rgba(0, 229, 163, 0.06);
    border-color: rgba(0, 229, 163, 0.15);
    color: #333;
}
[data-theme="light"] .hope-msg-user .hope-msg-bubble {
    background: rgba(16,185,129, 0.08);
    border-color: rgba(16,185,129, 0.15);
    color: #111;
}
[data-theme="light"] .hope-ai-header {
    background: linear-gradient(180deg, rgba(0, 229, 163, 0.03), transparent);
    border-bottom-color: #e0e0e0;
}
[data-theme="light"] .hope-ai-input {
    background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .hope-mobile-overlay {
    background: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LOGIN / LOGOUT BUTTONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.dash-header-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--duration-fast);
    text-decoration: none;
    white-space: nowrap;
}
.dash-header-login-btn:not(.dash-header-logout-btn) {
    background: var(--neon-green);
    color: var(--bg-primary);
    border: 1px solid var(--neon-green);
}
.dash-header-login-btn:not(.dash-header-logout-btn):hover {
    background: #00cc91;
    box-shadow: var(--shadow-neon-green);
}
.dash-header-logout-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}
.dash-header-logout-btn:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(255,71,87,0.08);
}

/* Mobile Won Bets Section Fix */
@media (max-width: 1024px) {
    .dash-reels-section {
        display: block !important;
        padding: 4px 12px !important;
        margin: 0 !important;
    }
    .dash-reels-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
@media (max-width: 480px) {
    .dash-reels-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Final light-theme corrections. These sit at the end so they beat older desktop overrides. */
[data-theme="light"] body {
    background: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
}
[data-theme="light"] .post-card,
[data-theme="light"] .detail-post {
    background: var(--bg-surface) !important;
    color: var(--text-secondary) !important;
    border-color: rgba(0,0,0,0.08) !important;
    border-left-color: var(--accent-hex) !important;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07) !important;
}
[data-theme="light"] .post-card:hover {
    background: #fff !important;
}
[data-theme="light"] .post-header,
[data-theme="light"] .post-actions,
[data-theme="light"] .post-rating,
[data-theme="light"] .comment-input,
[data-theme="light"] .comments-preview {
    border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .post-caption,
[data-theme="light"] .post-stat,
[data-theme="light"] .post-handle,
[data-theme="light"] .rating-text,
[data-theme="light"] .view-all-comments {
    color: var(--text-secondary) !important;
}
[data-theme="light"] .action-btn,
[data-theme="light"] .star-btn {
    color: var(--text-muted);
}
[data-theme="light"] .action-heart.active,
[data-theme="light"] .action-btn.active {
    color: var(--red) !important;
}
[data-theme="light"] .star-btn.active,
[data-theme="light"] .star-btn.rated {
    color: var(--gold) !important;
}
[data-theme="light"] .comment-input-field,
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    color: var(--text-primary) !important;
}
[data-theme="light"] .dash-main,
[data-theme="light"] .feed-container {
    background: transparent !important;
}

/* Broad light-mode rescue for the dashboard/feed pages. */
[data-theme="light"] .dash-layout,
[data-theme="light"] .dash-content,
[data-theme="light"] .main-content,
[data-theme="light"] .page-container,
[data-theme="light"] .detail-container {
    background: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
}
[data-theme="light"] .navbar,
[data-theme="light"] .bottom-nav,
[data-theme="light"] .dash-header,
[data-theme="light"] .dash-sidebar,
[data-theme="light"] .stories-bar,
[data-theme="light"] .hero-carousel,
[data-theme="light"] .reels-panel,
[data-theme="light"] .dash-reels-section,
[data-theme="light"] .dash-news-panel,
[data-theme="light"] .trending-tipsters-panel,
[data-theme="light"] .tipstars-trending-banner,
[data-theme="light"] .dash-premium-card,
[data-theme="light"] .explore-card,
[data-theme="light"] .profile-header,
[data-theme="light"] .comments-section,
[data-theme="light"] .desktop-comments-drawer,
[data-theme="light"] .share-sheet,
[data-theme="light"] 
[data-theme="light"] .post-odds-section,
[data-theme="light"] .hero-card,
[data-theme="light"] .dash-reel-card,
[data-theme="light"] .tipstar-podium-card,
[data-theme="light"] .comment-item,
[data-theme="light"] .leg-row,
[data-theme="light"] .comment-input,
[data-theme="light"] 
[data-theme="light"] .post-username,
[data-theme="light"] .leg-selection,
[data-theme="light"] .comment-nick,
[data-theme="light"] .dash-header-title,
[data-theme="light"] .dash-news-headline,
[data-theme="light"] .dpc-name,
[data-theme="light"] .explore-title,
[data-theme="light"] .profile-info h1,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] strong {
    color: var(--text-primary) !important;
}
[data-theme="light"] .post-handle,
[data-theme="light"] .post-caption,
[data-theme="light"] .comment-text,
[data-theme="light"] .dash-header-sub,
[data-theme="light"] .dash-news-snippet,
[data-theme="light"] .dpc-handle,
[data-theme="light"] .story-name,
[data-theme="light"] .nav-link,
[data-theme="light"] .bottom-nav-item span,
[data-theme="light"] p,
[data-theme="light"] span {
    color: inherit;
}
[data-theme="light"] .odds-value,
[data-theme="light"] .slip-odds {
    color: var(--accent-hex) !important;
    text-shadow: none !important;
}
[data-theme="light"] .slip-leg-odds,
[data-theme="light"] .leg-odds {
    color: var(--neon-green) !important;
}
[data-theme="light"] .follow-btn,
[data-theme="light"] .bookmaker-tag,
[data-theme="light"] .bet-code {
    color: var(--bg-primary) !important;
}

[data-theme="light"] .bookmaker-tag {
    color:#031827 !important;
    background:linear-gradient(135deg, #10B981, #22C55E) !important;
    border-color:rgba(3,24,39,0.14) !important;
    box-shadow:0 8px 18px rgba(16,185,129,0.20), inset 0 1px 0 rgba(255,255,255,0.65) !important;
}
[data-theme="light"] .bet-code {
    color:#0F172A !important;
    background:#FFFFFF !important;
    border:1px dashed rgba(15,23,42,0.32) !important;
    box-shadow:0 5px 14px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
[data-theme="dark"] .bookmaker-tag,
html:not([data-theme="light"]) .bookmaker-tag {
    color:#06111f !important;
}
[data-theme="dark"] .bet-code,
html:not([data-theme="light"]) .bet-code {
    color:#F8FAFC !important;
}

/* Light mode banner/card readability. */
[data-theme="light"] .hero-card,
[data-theme="light"] .trending-tipster-card,
[data-theme="light"] .reel-banner-card,
[data-theme="light"] .dash-reel-card,
[data-theme="light"] .tipstars-trending-banner {
    border-color: rgba(0,0,0,0.14) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16) !important;
}
[data-theme="light"] .hero-card-bg {
    opacity: 1 !important;
    filter: saturate(1.16) contrast(1.08) brightness(0.92);
}
[data-theme="light"] .trending-tipster-banner,
[data-theme="light"] .reel-banner-bg,
[data-theme="light"] .dash-reel-card-bg {
    filter: saturate(1.12) contrast(1.06);
}
[data-theme="light"] .hero-card-overlay {
    background: transparent !important;
}
[data-theme="light"] .trending-tipster-banner-overlay,
[data-theme="light"] .reel-banner-overlay,
[data-theme="light"] .dash-reel-card-overlay {
    background:
        linear-gradient(0deg, rgba(0,0,0,0.56) 0%, rgba(0,0,0,0.26) 60%, rgba(0,0,0,0.08) 100%) !important;
}
[data-theme="light"] .hero-card-content,
[data-theme="light"] .trending-tipster-card-content,
[data-theme="light"] .reel-banner-content,
[data-theme="light"] .dash-reel-card-content {
    color: #fff !important;
}
[data-theme="light"] .hero-card-name,
[data-theme="light"] .hero-card-legs,
[data-theme="light"] .trending-tipster-name,
[data-theme="light"] .trending-stat-value,
[data-theme="light"] .trending-stat-label,
[data-theme="light"] .trending-tipster-handle,
[data-theme="light"] .trending-tipster-cta,
[data-theme="light"] .reel-banner-name,
[data-theme="light"] .reel-banner-odds,
[data-theme="light"] .reel-banner-meta,
[data-theme="light"] .reel-banner-cta,
[data-theme="light"] .dash-reel-name,
[data-theme="light"] .dash-reel-legs {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.78), 0 0 1px rgba(0,0,0,0.9) !important;
}
[data-theme="light"] .hero-card-odds,
[data-theme="light"] .dash-reel-odds {
    color: #26ffd0 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.85), 0 0 18px rgba(0,229,163,0.7) !important;
}
[data-theme="light"] .trending-tipster-cta,
[data-theme="light"] .reel-banner-cta {
    background: rgba(0,0,0,0.38) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}
[data-theme="light"] .hero-card-bookmaker,
[data-theme="light"] .trending-tipster-pro,
[data-theme="light"] .reel-banner-status,
[data-theme="light"] .dash-reel-card .status-badge {
    color: #fff !important;
    background: rgba(0,0,0,0.46) !important;
    border-color: rgba(255,255,255,0.26) !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7) !important;
}
[data-theme="light"] .tipstars-trending-banner {
    background: rgba(13, 17, 23, 0.92) !important;
    border-color: rgba(168, 5, 146, 0.55) !important;
}
[data-theme="light"] .tipstars-trending-banner .trending-info strong,
[data-theme="light"] .tipstars-trending-banner .trending-info span,
[data-theme="light"] .tipstars-trending-banner .trending-arrow {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65) !important;
}
[data-theme="light"] .dash-premium-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.96)) !important;
    border-color: rgba(15,23,42,0.12) !important;
    box-shadow: 0 8px 24px rgba(15,23,42,0.10) !important;
}
[data-theme="light"] .dpc-name,
[data-theme="light"] .dpc-cover::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%) !important;
}
[data-theme="light"] .dpc-cover img {
    filter: brightness(1.0) !important; /* Angaza picha kwenye light mode pia */
}

[data-theme="light"] .dpc-name,
[data-theme="light"] .dpc-stat-value {
    color: #0f172a !important;
}
[data-theme="light"] .dpc-handle,
[data-theme="light"] .dpc-stat-label,
[data-theme="light"] .dpc-cta {
    color: #475569 !important;
}
[data-theme="light"] .dpc-stat {
    background: rgba(15,23,42,0.11) !important;
    border: 1px solid rgba(15,23,42,0.12) !important;
}

/* Keep text white on image-backed cards in light mode for contrast. */
[data-theme="light"] .tipstar-mini-card {
    color: #fff !important;
}
[data-theme="light"] .tipstar-mini-card h4,
[data-theme="light"] .tipstar-mini-card .tipstar-mini-accuracy,
[data-theme="light"] .tipstar-mini-card .tipstar-mini-stats,
[data-theme="light"] .tipstar-mini-card .tipstar-mini-stats strong {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.78), 0 0 1px rgba(0,0,0,0.9) !important;
}
[data-theme="light"] .profile-header .profile-info h1,
[data-theme="light"] .profile-header .profile-handle,
[data-theme="light"] .profile-header .profile-bio,
[data-theme="light"] .profile-header .profile-stat-item strong,
[data-theme="light"] .profile-header .profile-stat-item span {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.78), 0 0 1px rgba(0,0,0,0.9) !important;
}

/* Light theme status badges must keep their semantic colors visible. */
[data-theme="light"] .status-badge,
[data-theme="light"] .related-status,
[data-theme="light"] .hot-badge,
[data-theme="light"] .won-badge {
    text-shadow: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 4px 10px rgba(15,23,42,0.08) !important;
}
[data-theme="light"] .status-active,
[data-theme="light"] .related-status.status-active,
[data-theme="light"] .dash-reel-card .status-active {
    color: #047857 !important;
    background: #D1FAE5 !important;
    border: 1px solid #34D399 !important;
}
[data-theme="light"] .status-pending,
[data-theme="light"] .related-status.status-pending,
[data-theme="light"] .dash-reel-card .status-pending {
    color: #92400E !important;
    background: #FEF3C7 !important;
    border: 1px solid #F59E0B !important;
}
[data-theme="light"] .status-won,
[data-theme="light"] .related-status.status-won,
[data-theme="light"] .dash-reel-card .status-won,
[data-theme="light"] .won-badge {
    color: #065F46 !important;
    background: #A7F3D0 !important;
    border: 1px solid #10B981 !important;
}
[data-theme="light"] .status-lost,
[data-theme="light"] .related-status.status-lost,
[data-theme="light"] .dash-reel-card .status-lost {
    color: #991B1B !important;
    background: #FEE2E2 !important;
    border: 1px solid #F87171 !important;
}
[data-theme="light"] .status-partial,
[data-theme="light"] .related-status.status-partial,
[data-theme="light"] .dash-reel-card .status-partial {
    color: #075985 !important;
    background: #DBEAFE !important;
    border: 1px solid #10B981 !important;
}
[data-theme="light"] .hot-badge {
    color: #9A3412 !important;
    background: #FFEDD5 !important;
    border: 1px solid #FB923C !important;
}
[data-theme="light"] .dash-reel-card .status-badge {
    text-shadow: none !important;
}

/* Professional light-mode finish. */
[data-theme="light"] {
    --bg-primary: #F6F8FB;
    --bg-surface: #FFFFFF;
    --bg-elevated: #F1F5F9;
    --bg-input: #FFFFFF;
    --bg-hover: #EAF0F6;
    --border-color: #D8E0EA;
    --border-light: #E5EAF1;
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-dim: #94A3B8;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
    --shadow-md: 0 8px 22px rgba(15,23,42,0.08);
    --shadow-lg: 0 18px 44px rgba(15,23,42,0.10);
    --shadow-float: 0 20px 56px rgba(15,23,42,0.14);
}
[data-theme="light"] body {
    background:
        linear-gradient(180deg, #F8FAFC 0%, #EEF3F8 100%) fixed !important;
    color: #334155 !important;
}
[data-theme="light"] .navbar,
[data-theme="light"] .desktop-global-nav,
[data-theme="light"] .dash-header,
[data-theme="light"] .bottom-nav {
    background: rgba(255,255,255,0.88) !important;
    border-color: rgba(148,163,184,0.28) !important;
    box-shadow: 0 1px 0 rgba(15,23,42,0.04), 0 12px 30px rgba(15,23,42,0.06) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
}
[data-theme="light"] .post-card,
[data-theme="light"] .detail-post,
[data-theme="light"] .explore-card,
[data-theme="light"] .comments-section,
[data-theme="light"] .desktop-comments-drawer,
[data-theme="light"] 
[data-theme="light"] .post-card {
    border-left-color: rgba(var(--accent-rgb), 0.76) !important;
}
[data-theme="light"] .post-card:hover,
[data-theme="light"] .explore-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(15,23,42,0.11), inset 0 1px 0 rgba(255,255,255,0.95) !important;
}
[data-theme="light"] .post-odds-section,
[data-theme="light"] .comment-input,
[data-theme="light"] .comment-item,
[data-theme="light"] .leg-row,
[data-theme="light"] 
[data-theme="light"] .desktop-global-link:hover,
[data-theme="light"] .desktop-global-auth:hover,
[data-theme="light"] .nav-icon-btn:hover,
[data-theme="light"] .bottom-nav-item:hover {
    background: #EEF6F4 !important;
    color: #047857 !important;
}
[data-theme="light"] .desktop-global-link.active,
[data-theme="light"] .nav-link.active,
[data-theme="light"] .bottom-nav-item.active {
    background: #E6F8F2 !important;
    color: #047857 !important;
    border-color: rgba(16,185,129,0.24) !important;
}
[data-theme="light"] .post-username,
[data-theme="light"] .explore-title,
[data-theme="light"] .profile-info h1,
[data-theme="light"] .dash-header-title,
[data-theme="light"] .pasuax-logo,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] strong {
    color: #0F172A !important;
}
[data-theme="light"] .post-caption,
[data-theme="light"] .post-handle,
[data-theme="light"] .post-stat,
[data-theme="light"] .comment-text,
[data-theme="light"] .rating-text,
[data-theme="light"] .view-all-comments,
[data-theme="light"] .story-name,
[data-theme="light"] .dash-header-sub {
    color: #475569 !important;
}
[data-theme="light"] .action-btn,
[data-theme="light"] .star-btn {
    color: #64748B !important;
}
[data-theme="light"] .action-btn:hover,
[data-theme="light"] .star-btn:hover {
    color: #0F172A !important;
    background: rgba(15,23,42,0.05) !important;
}
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select,
[data-theme="light"] .comment-input-field,
[data-theme="light"] 
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #94A3B8 !important;
}
[data-theme="light"] .cookie-consent {
    background: rgba(255,255,255,0.96) !important;
    color: #0F172A !important;
    border-color: rgba(148,163,184,0.34) !important;
    box-shadow: 0 20px 56px rgba(15,23,42,0.16), inset 0 1px 0 rgba(255,255,255,0.96) !important;
}
[data-theme="light"] .cookie-consent-copy span {
    color: #475569 !important;
}
[data-theme="light"] .cookie-btn.secondary {
    background: #F8FAFC !important;
    color: #334155 !important;
    border-color: rgba(148,163,184,0.40) !important;
}

/* Mobile navigation: icon-only, no heavy bar treatment. */
@media (max-width: 768px) {
    .navbar {
        box-shadow: none !important;
    }
    .nav-icon-btn {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
    .bottom-nav {
        height: 54px;
        background: transparent !important;
        border-top: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        pointer-events: none;
    }
    .bottom-nav-item {
        pointer-events: auto;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-bottom: max(6px, env(safe-area-inset-bottom, 0px));
        border-radius: var(--radius-full);
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        color: var(--text-muted);
    }
    .bottom-nav-item span {
        display: none !important;
    }
    .bottom-nav-item i {
        font-size: 22px;
    }
    .bottom-nav-item.active {
        color: var(--neon-green);
    }
    [data-theme="dark"] .bottom-nav-item,
    html:not([data-theme="light"]) .bottom-nav-item {
        background: rgba(10, 14, 23, 0.72) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        box-shadow: 0 8px 22px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.04) !important;
        backdrop-filter: blur(14px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
        color: rgba(255,255,255,0.78);
    }
    [data-theme="dark"] .bottom-nav-item.active,
    html:not([data-theme="light"]) .bottom-nav-item.active {
        color: var(--neon-green);
        border-color: rgba(0,229,163,0.24) !important;
        box-shadow: 0 8px 22px rgba(0,0,0,0.42), 0 0 14px rgba(0,229,163,0.16) !important;
    }
    [data-theme="light"] .bottom-nav-item {
        color: #334155;
        text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    }
    [data-theme="light"] .bottom-nav-item.active {
        color: #008f6f;
    }
}

/* Mobile uses the dedicated News page instead of the home side panel. */
@media (max-width: 768px) {
    .dash-news-panel {
        display: none !important;
    }
}

/* ── Dedicated News Page ───────────────────────────────── */
.news-page {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 18px 16px 92px;
}
.news-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto 18px;
}
.news-back-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    text-decoration: none;
}
.news-page-kicker {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--neon-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
}
.news-page-header h1 {
    margin: 2px 0 0;
    font-size: 24px;
    line-height: 1.15;
}
.news-page-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.news-page-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
}
.news-page-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
}
.news-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-page-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-page-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}
.news-page-content h2 {
    margin: 8px 0 6px;
    font-size: 15px;
    line-height: 1.25;
}
.news-page-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.35;
}

@media (min-width: 769px) {
    .news-page {
        padding: 30px 24px;
    }
    .news-page-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .news-page-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .news-page-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }
    .news-page-content h2 {
        font-size: 14px;
    }
    .news-page-content p {
        font-size: 12px;
    }
}

/* Final public home refinements */
.dash-reels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .dash-reels-section {
        display: block !important;
        padding: 4px 12px 8px !important;
        margin: 0 auto 2px !important;
    }
    .dash-reels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .dash-reels-grid .dash-reel-card:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 480px) {
    .dash-reels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM PASUAX FOOTER — Institutional Grade Dark Theme
   ═══════════════════════════════════════════════════════════════════════════════ */
:root {
    --footer-bg: #0B0F19;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-text-muted: #9CA3AF;
    --footer-text-dim: #6B7280;
}

.px-footer {
    background-color: var(--footer-bg);
    color: var(--text-primary);
    padding: 36px 0 24px;
    border-top: 1px solid var(--footer-border);
    font-family: 'Inter', var(--font-main);
}

.px-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Upper Section */
.px-footer-upper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
}

.px-footer-brand-col {
    flex: 0 1 260px;
}

.px-footer-brand-col .pasuax-logo {
    font-size: 28px;
    margin-bottom: 12px;
}
.px-footer-brand-link {
    display: inline-flex;
    text-decoration: none;
}

.px-footer-app-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.px-footer-install-btn {
    width: fit-content;
    min-height: 42px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 163, 0.32);
    background: linear-gradient(135deg, rgba(0, 229, 163, 0.18), rgba(16,185,129, 0.14));
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 22px rgba(0,0,0,0.18);
}

.px-footer-install-btn:hover {
    color: var(--neon-green);
    border-color: rgba(0, 229, 163, 0.58);
    transform: translateY(-1px);
}

.px-app-btn {
    height: 40px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.px-app-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.px-footer-nav-col {
    flex: 1 1 auto;
}

.px-footer-nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    justify-content: center;
}

.px-footer-nav-link {
    color: var(--footer-text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.px-footer-nav-link:hover {
    color: var(--text-primary);
    opacity: 1;
}

.px-footer-social-col {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex: 0 1 160px;
}

.px-social-link {
    color: var(--footer-text-muted);
    font-size: 20px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.px-social-link:hover {
    color: var(--text-primary);
    transform: scale(1.15);
}

/* Divider */
.px-footer-divider {
    height: 1px;
    background-color: var(--footer-border);
    margin: 0;
}

/* Lower Section */
.px-footer-lower {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
}

.px-footer-compliance {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--footer-text-dim);
    font-size: 13px;
}

.px-18-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-weight: 800;
    font-size: 11px;
    flex-shrink: 0;
}

.px-footer-copyright {
    display: block;
    margin-top: 8px;
    color: var(--footer-text-dim);
    font-size: 12px;
}

.px-footer-policy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.px-footer-policy-link {
    color: var(--footer-text-dim);
    font-size: 12px;
    transition: color 0.2s ease;
}

.px-footer-policy-link:hover {
    color: var(--footer-text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .px-footer {
        padding: 18px 0 84px;
    }
    
    .px-footer-upper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding-bottom: 16px;
    }

    .px-footer-brand-col,
    .px-footer-nav-col,
    .px-footer-social-col {
        flex: 0 0 auto;
        width: 100%;
    }

    .px-footer-brand-col .pasuax-logo {
        justify-content: center;
        margin-bottom: 8px;
    }

    .px-footer-app-badges {
        justify-content: center;
        gap: 8px;
    }

    .px-app-btn {
        height: 32px;
    }

    .px-footer-nav-list {
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
    }

    .px-footer-social-col {
        justify-content: center;
        gap: 18px;
    }

    .px-footer-lower {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding-top: 14px;
    }

    .px-footer-compliance {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 0;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.45;
    }

    .px-footer-policy-list {
        justify-content: center;
        gap: 8px 16px; /* Reduced gap between policy links */
    }
}
.footer-contact-btn,
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}
.footer-contact-btn:hover,
.contact-submit-btn:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}
.contact-modal {
    width: min(460px, calc(100vw - 28px));
    margin: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 18px;
    transform: translateY(10px);
    transition: transform 180ms ease-out;
}

/* ═══ Modal Overlay (base - hidden by default, show when .show class added) ═══ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-overlay.show {
    display: flex !important;
}

.modal-overlay.show .contact-modal {
    transform: translateY(0);
}
.contact-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-modal-header h3 {
    margin: 0 0 4px;
    color: var(--text-primary);
}
.contact-modal-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}
.contact-modal-header button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}
.contact-form {
    display: grid;
    gap: 12px;
}
.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}
.contact-form label span {
    color: var(--text-muted);
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    padding: 10px 12px;
    font: inherit;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--neon-green);
}
.contact-consent {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    font-weight: 500 !important;
    line-height: 1.35;
}
.contact-consent input {
    width: auto;
    margin-top: 2px;
}
.contact-form-status {
    min-height: 18px;
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
}
.contact-page {
    min-height: 100vh;
    padding: 24px 16px 92px;
    background: var(--bg-primary);
    color: var(--text-primary);
}
.contact-page-shell {
    max-width: 680px;
    margin: 0 auto;
}
.contact-page-header {
    margin: 24px 0 20px;
}
.contact-page-header h1 {
    margin: 6px 0 8px;
    font-size: 30px;
    line-height: 1.1;
}
.contact-page-header p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}
.contact-page-alerts {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}
.contact-page-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}
.contact-page-form label {
    display: grid;
    gap: 7px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}
.contact-page-form label span {
    color: var(--text-muted);
    font-weight: 500;
}
.contact-page-form input,
.contact-page-form textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    padding: 11px 12px;
    font: inherit;
    outline: none;
}
.contact-page-form input:focus,
.contact-page-form textarea:focus {
    border-color: var(--neon-green);
}
.contact-page-form .contact-submit-btn {
    justify-self: start;
    min-width: 132px;
}

@media (max-width: 768px) {
    .public-footer {
        margin-bottom: 88px;
    }
    .public-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Active bets heading and floating mobile nav final polish */
[data-theme="light"] .active-bets-view {
    color: #008f72;
}
[data-theme="light"] .hero-card-rank {
    background: rgba(255,255,255,0.84);
    color: #101820;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .bottom-nav {
    background: rgba(255,255,255,0.84);
    border-color: rgba(16,185,129, 0.22);
    box-shadow: 0 18px 42px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="light"] .bottom-nav-item {
    color: #64748b;
}
[data-theme="light"] .bottom-nav-item:hover {
    color: #111827;
}
[data-theme="light"] .bottom-nav-item.active {
    color: #00a884;
}

@media (max-width: 520px) {
    /* ════════════════════════════════════════════════════════════════════════════
   STORIES SECTION ALIGNMENT (added 2026-06-17)
   Align Stories title and bar with Live Market Signals (same max-width, centered)
   ════════════════════════════════════════════════════════════════════════════ */
.stories-section-title {
    max-width: 935px;
    margin: 18px auto 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stories-section-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.12;
}
.stories-section-title span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.stories-bar {
    max-width: 935px;
    margin: 8px auto 0;
    padding: 10px 10px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.stories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    padding: 0 2px;
    -webkit-overflow-scrolling: touch;
}
.stories-scroll::-webkit-scrollbar { display: none; }

.active-bets-strip {
        margin-top: 12px;
        padding: 0 12px;
    }
    .active-bets-title {
        gap: 7px;
    }
    .active-bets-title h2 {
        font-size: 13px;
    }
    .active-bets-title span {
        font-size: 10px;
    }
    .dash-section-header h2 {
        font-size: 13px;
    }
    .dash-section-header span {
        font-size: 10px;
        opacity: 0.7;
    }
    .active-bets-view {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(0,229,163,0.08);
        border: 1px solid rgba(0,229,163,0.18);
        font-size: 11px;
    }
    .active-bets-view i {
        font-size: 10px;
    }
    .hero-card-rank {
        left: 7px;
        bottom: 8px;
        min-width: 20px;
        height: 20px;
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .bottom-nav {
        left: 50% !important;
        right: auto !important;
        bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
        transform: translateX(-50%) !important;
        width: min(92vw, 380px) !important;
        height: auto !important;
        min-height: 62px !important;
        padding: 8px !important;
        display: flex !important;
        gap: 4px !important;
        background: rgba(0, 0, 0, 0.92) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        border-radius: 24px !important;
        box-shadow: 0 18px 46px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.06) !important;
        backdrop-filter: blur(22px) saturate(170%) !important;
        -webkit-backdrop-filter: blur(22px) saturate(170%) !important;
        pointer-events: auto !important;
    }
    .bottom-nav-item {
        flex: 1 1 0 !important;
        width: auto !important;
        height: 46px !important;
        margin-bottom: 0 !important;
        border-radius: 16px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        color: var(--text-muted) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
    }
    .bottom-nav-item span {
        display: block !important;
    }
    .bottom-nav-item.active {
        color: var(--neon-green) !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: translateY(-2px) scale(1.12) !important;
        text-shadow: 0 0 16px rgba(0,229,163,0.42) !important;
    }
    .bottom-nav-item.active i {
        font-size: 23px !important;
    }
    [data-theme="light"] .bottom-nav {
        background: rgba(255,255,255,0.84) !important;
        border: 0 !important;
        box-shadow: 0 18px 42px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    }
    [data-theme="light"] .bottom-nav-item {
        color: #64748b !important;
        text-shadow: none !important;
    }
    [data-theme="light"] .bottom-nav-item.active {
        color: #00a884 !important;
        text-shadow: 0 0 14px rgba(0,168,132,0.24) !important;
    }
}

/* Mobile home layout spacing: keep each rail/card in its own vertical lane. */
@media (max-width: 768px) {
    .dash-main {
        overflow-x: hidden;
        padding-bottom: 104px;
    }

    .navbar {
        margin-bottom: 0 !important;
    }

    .stories-bar {
        margin-bottom: 14px !important;
        padding: 10px 0 12px !important;
        border-bottom: 1px solid var(--border-color);
    }

    /* ════════════════════════════════════════════════════════════════════════════
   STORIES SECTION ALIGNMENT (added 2026-06-17)
   Align Stories title and bar with Live Market Signals (same max-width, centered)
   ════════════════════════════════════════════════════════════════════════════ */
.stories-section-title {
    max-width: 935px;
    margin: 18px auto 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stories-section-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.12;
}
.stories-section-title span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.stories-bar {
    max-width: 935px;
    margin: 8px auto 0;
    padding: 10px 10px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.stories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    padding: 0 2px;
    -webkit-overflow-scrolling: touch;
}
.stories-scroll::-webkit-scrollbar { display: none; }

.active-bets-strip {
        margin: 0 auto 12px !important;
        padding: 0 12px !important;
        max-width: 100% !important;
        align-items: center !important;
    }

    .hero-carousel {
        margin: 0 auto 18px !important;
        padding: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .hero-carousel-viewport {
        min-height: 128px !important;
        overflow: hidden !important;
        display: flex;
        align-items: center;
    }

    .hero-carousel-track {
        min-height: 128px !important;
        padding: 18px 14px 20px !important;
        align-items: center !important;
    }

    .tipstars-trending-banner {
        margin: 0 12px 18px !important;
    }

    .dash-premium-tipsters,
    .dash-reels-section,
    .dash-news-panel,
    .hope-ai-section,
    .trending-tipsters-panel,
    .feed-container,
    .px-footer {
        clear: both;
    }

    .trending-tipsters-panel {
        margin: 0 0 18px !important;
        padding: 2px 0 4px !important;
    }

    .feed-container {
        padding: 0 12px 112px !important;
        display: grid;
        gap: 16px;
    }

    .feed-container .post-card {
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    /* ════════════════════════════════════════════════════════════════════════════
   STORIES SECTION ALIGNMENT (added 2026-06-17)
   Align Stories title and bar with Live Market Signals (same max-width, centered)
   ════════════════════════════════════════════════════════════════════════════ */
.stories-section-title {
    max-width: 935px;
    margin: 18px auto 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stories-section-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.12;
}
.stories-section-title span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.stories-bar {
    max-width: 935px;
    margin: 8px auto 0;
    padding: 10px 10px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.stories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    padding: 0 2px;
    -webkit-overflow-scrolling: touch;
}
.stories-scroll::-webkit-scrollbar { display: none; }

.active-bets-strip {
        margin-bottom: 10px !important;
        padding: 0 12px !important;
    }

    .hero-carousel {
        margin-bottom: 16px !important;
    }

    .hero-carousel-viewport,
    .hero-carousel-track {
        min-height: 116px !important;
    }

    .hero-carousel-track {
        padding: 16px 12px 18px !important;
    }

    .tipstars-trending-banner {
        margin: 0 10px 16px !important;
    }

    .feed-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 14px;
    }
}

/* Mobile bottom navigation */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    body {
        padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        transition: padding-bottom 0.24s ease;
    }

    .mobile-rail,
    .bottom-nav,
    .nav-rail-toggle,
    .mobile-rail-toggle,
    .mobile-rail-brand,
    .mobile-rail-badge,
    .mobile-rail-ai,
    .mobile-rail-divider,
    .mobile-rail-avatar,
    .mobile-rail-avatar-inner {
        display: none !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 50%;
        right: auto;
        top: auto;
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        width: min(94vw, 420px);
        transform: translateX(-50%);
        z-index: var(--z-navbar);
        display: flex;
        pointer-events: auto;
        transition: transform 0.24s ease, opacity 0.24s ease;
    }

    .navbar {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transition: width 0.24s ease;
    }

    .mobile-bottom-nav-shell {
        width: 100%;
        min-height: 74px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        padding: 8px;
        border-radius: 26px;
        background: rgba(6, 11, 18, 0.76);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 38px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        overflow: hidden;
        pointer-events: auto;
    }

    .mobile-bottom-nav-item {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 7px 2px;
        border-radius: 18px;
        color: rgba(255, 255, 255, 0.66);
        text-decoration: none;
        transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
        flex-direction: column;
    }

    .mobile-bottom-nav-item i {
        font-size: 18px;
        line-height: 1;
        text-align: center;
        flex: 0 0 auto;
    }

    .mobile-bottom-nav-item span {
        display: block;
        font-size: 9px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mobile-bottom-nav-item:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.04);
    }

    .mobile-bottom-nav-item.active {
        color: var(--neon-green);
        background: rgba(255, 255, 255, 0.07);
        box-shadow: inset 0 0 0 1px rgba(0, 229, 163, 0.16);
        transform: translateY(-2px);
    }

    .stories-section-title {
        max-width: 100%;
        margin: 10px 8px 4px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .stories-section-title h2 {
        margin: 0;
        color: var(--text-primary);
        font-size: 12px;
        font-weight: 900;
        line-height: 1.1;
    }

    .stories-section-title span {
        color: var(--text-muted);
        font-size: 12px;
        line-height: 1.2;
    }

    [data-theme="light"] .mobile-bottom-nav-shell {
        background: rgba(255, 255, 255, 0.86);
        border-color: rgba(148, 163, 184, 0.2);
        box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }

    [data-theme="light"] .mobile-bottom-nav-item {
        color: #475569;
    }

    [data-theme="light"] .mobile-bottom-nav-item:hover {
        background: rgba(15, 23, 42, 0.05);
    }

    [data-theme="light"] .mobile-bottom-nav-item.active {
        color: #028e67;
        background: rgba(0, 184, 216, 0.12);
        box-shadow: inset 0 0 0 1px rgba(0, 184, 216, 0.18);
    }

    .dash-main,
    .feed-container,
    .detail-container,
    .bookmarks-container,
    .explore-container,
    .tipstars-container,
    .profile-container,
    .news-page,
    .legal-page,
    .pseo-page,
    .help-center-page {
        margin-left: 0;
        width: auto;
        box-sizing: border-box;
        padding-left: 12px;
        padding-right: 12px;
    }

    .pasuax-notice {
        position: fixed;
        left: 50%;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        transform: translateX(-50%) translateY(12px);
        z-index: calc(var(--z-navbar) + 20);
        max-width: min(92vw, 360px);
        padding: 12px 16px;
        border-radius: 999px;
        background: rgba(7, 12, 20, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #f4fbff;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;
        text-align: center;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .pasuax-notice.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    [data-theme="light"] .pasuax-notice {
        background: rgba(255, 255, 255, 0.96);
        color: #0f172a;
        border-color: rgba(148, 163, 184, 0.2);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
    }
}

@media (max-width: 480px) {
    .mobile-bottom-nav {
        width: min(95vw, 410px);
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav-shell {
        min-height: 70px;
        padding: 7px;
        gap: 2px;
    }

    .mobile-bottom-nav-item {
        height: 46px;
        border-radius: 16px;
    }

    .mobile-bottom-nav-item i {
        font-size: 17px;
    }

    .mobile-bottom-nav-item span {
        font-size: 8px;
    }
}

@media (min-width: 769px) {
    .bottom-nav,
    .mobile-bottom-nav,
    .mobile-rail {
        display: none !important;
    }
}

/* Smooth infinite scroll loading */
.infinite-loader { transition: opacity 0.3s ease; }
.infinite-loader.loading { opacity: 0.7; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.post-card, .dash-reel-card { animation: fadeSlideIn 0.4s ease forwards; }


/* SIDEBAR NAV ICONS - RED COLOR (2026-06-19) */
.dash-nav-item i,
.dash-sidebar-nav .dash-nav-item i,
.dash-nav-item.active i,
.dash-nav-item:hover i,
.dash-sidebar .dash-nav-item i,
.dash-sidebar .dash-nav-item.active i,
.dash-sidebar .dash-nav-item:hover i,
aside.dash-sidebar nav.dash-sidebar-nav a.dash-nav-item i,
aside.dash-sidebar nav.dash-sidebar-nav a.dash-nav-item.active i,
aside.dash-sidebar nav.dash-sidebar-nav button.dash-nav-item i {
    color: #FF4757 !important;
}



/* Ensure leg-row has proper layout for copy button */
.leg-row {
    position: relative;
}





/* ═══ Global Nav Logo Size - matches download-app.html sizing (2026-06-22) ═══ */
/* Apply to ALL pages that use base.html (explore, tipster-analytics, bookmarks, contact, etc.) */

.desktop-global-brand .pasuax-brand-img,
.desktop-global-brand img,
.desktop-global-brand .pasuax-brand-img-wrap img {
    max-height: 36px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .desktop-global-brand .pasuax-brand-img,
    .desktop-global-brand img,
    .desktop-global-brand .pasuax-brand-img-wrap img {
        max-height: 32px !important;
    }
}

@media (max-width: 480px) {
    .desktop-global-brand .pasuax-brand-img,
    .desktop-global-brand img,
    .desktop-global-brand .pasuax-brand-img-wrap img {
        max-height: 28px !important;
    }
}

/* End Global Nav Logo Size */


/* ═══ PasuaX Brand Logo - CORRECT SIZE (applied to ALL pages) v7 ═══ */
/* Same sizes as /download-app/ page - 48px desktop, 36px mobile, 32px small mobile */

.pasuax-brand-img-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}

.pasuax-brand-img {
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Global nav brand logo (used on /explore/, /tipster-analytics/, /bookmarks/, /contact/, etc.) */
.desktop-global-brand .pasuax-brand-img,
.desktop-global-brand img,
.desktop-global-nav .pasuax-brand-img,
.desktop-global-nav img {
    max-height: 36px !important;
    width: auto !important;
    height: auto !important;
}

/* Footer brand logo */
.px-footer .pasuax-brand-img,
.px-footer-brand-col .pasuax-brand-img {
    max-height: 40px !important;
}

/* Mobile responsive - smaller on mobile */
@media (max-width: 768px) {
    .pasuax-brand-img {
        max-height: 36px !important;
    }
    .desktop-global-brand .pasuax-brand-img,
    .desktop-global-brand img,
    .desktop-global-nav .pasuax-brand-img,
    .desktop-global-nav img {
        max-height: 32px !important;
    }
    .px-footer .pasuax-brand-img,
    .px-footer-brand-col .pasuax-brand-img {
        max-height: 32px !important;
    }
}

@media (max-width: 480px) {
    .pasuax-brand-img {
        max-height: 32px !important;
    }
    .desktop-global-brand .pasuax-brand-img,
    .desktop-global-brand img,
    .desktop-global-nav .pasuax-brand-img,
    .desktop-global-nav img {
        max-height: 28px !important;
    }
    .px-footer .pasuax-brand-img,
    .px-footer-brand-col .pasuax-brand-img {
        max-height: 28px !important;
    }
}

/* Override any inline styles on the brand logo */
img.pasuax-brand-img,
img.pasuax-brand-logo-sidebar,
img.pasuax-brand-logo-header,
img.pasuax-brand-logo-footer,
.pasuax-brand-img-wrap img {
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
}

@media (max-width: 768px) {
    img.pasuax-brand-img,
    img.pasuax-brand-logo-sidebar,
    img.pasuax-brand-logo-header,
    img.pasuax-brand-logo-footer,
    .pasuax-brand-img-wrap img {
        max-height: 36px !important;
    }
}

@media (max-width: 480px) {
    img.pasuax-brand-img,
    img.pasuax-brand-logo-sidebar,
    img.pasuax-brand-logo-header,
    img.pasuax-brand-logo-footer,
    .pasuax-brand-img-wrap img {
        max-height: 32px !important;
    }
}

/* End PasuaX Brand Logo CSS v7 */


/* ═══ PasuaX Premium Search Bar (in style.css for proper loading) ═══ */
.px-search-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.px-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 229, 163, 0.45) !important;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
    transition: color 0.2s;
}
.px-search-input {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 46px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 22px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 400 !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.px-search-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
    font-weight: 300 !important;
}
.px-search-input:focus {
    background: rgba(0, 229, 163, 0.03) !important;
    border-color: rgba(0, 229, 163, 0.25) !important;
    box-shadow: 0 0 0 4px rgba(0, 229, 163, 0.06), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
.px-search-input:focus ~ .px-search-icon {
    color: #00E5A3 !important;
}
.px-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}
.px-search-clear:hover {
    background: rgba(255, 71, 87, 0.2);
    color: #FF6B7A;
}
.px-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 440px;
    overflow-y: auto;
    background: #0a0e14;
    border: 1px solid rgba(0, 229, 163, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 229, 163, 0.03);
    z-index: 1001;
    padding: 8px;
}
.px-search-dropdown.show {
    display: block;
    animation: pxSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pxSlideDown {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.px-search-dropdown .px-empty {
    padding: 32px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}
.px-search-dropdown .px-loading {
    padding: 24px 16px;
    text-align: center;
    color: #00E5A3;
    font-size: 14px;
}
.px-search-dropdown .px-loading i {
    animation: pxSpin 0.8s linear infinite;
}
@keyframes pxSpin {
    to { transform: rotate(360deg); }
}
.px-search-dropdown .px-section-title {
    padding: 10px 14px 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(0, 229, 163, 0.5);
}
.px-search-dropdown .px-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.15s ease;
}
.px-search-dropdown .px-result:hover {
    background: rgba(0, 229, 163, 0.05);
}
.px-search-dropdown .px-result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 229, 163, 0.15);
    flex-shrink: 0;
}
.px-search-dropdown .px-result-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 163, 0.1), rgba(0, 229, 163, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #00E5A3;
    font-size: 16px;
    flex-shrink: 0;
}
.px-search-dropdown .px-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 229, 163, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E5A3;
    font-size: 16px;
    flex-shrink: 0;
}
.px-search-dropdown .px-result-info {
    flex: 1;
    min-width: 0;
}
.px-search-dropdown .px-result-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
}
.px-search-dropdown .px-result-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 3px;
}
.px-search-dropdown .px-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.px-search-dropdown .px-status-active { background: rgba(255, 165, 2, 0.15); color: #FFA502; }
.px-search-dropdown .px-status-won { background: rgba(0, 229, 163, 0.15); color: #00E5A3; }
.px-search-dropdown .px-status-lost { background: rgba(255, 71, 87, 0.15); color: #FF6B7A; }
.px-search-dropdown::-webkit-scrollbar { width: 6px; }
.px-search-dropdown::-webkit-scrollbar-track { background: transparent; }
.px-search-dropdown::-webkit-scrollbar-thumb { background: rgba(0, 229, 163, 0.15); border-radius: 3px; }
@media (max-width: 768px) {
    .dash-header-center { display: none !important; }
}
/* End PasuaX Premium Search Bar CSS */


/* Center search bar in header — DESKTOP ONLY */
@media (min-width: 769px) {
    .dash-header-center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 1 !important;
    }
    .dash-header-left {
        flex: 0 0 auto !important;
    }
    .dash-header-right {
        flex: 0 0 auto !important;
        display: flex !important;
    }
    /* Desktop: hide the mobile-search-trigger icon button */
    .mobile-search-trigger {
        display: none !important;
    }
}

/* Mobile: hide the inline search wrap, show the icon button instead */
@media (max-width: 768px) {
    .dash-header-center,
    .px-search-wrap {
        display: none !important;
    }
    .mobile-search-trigger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}


/* ═══ Download App Button (moved to header-right) ═══ */
.px-download-app-btn {
    /* SAME SIZE as logout button + DARK container + PURPLE stroke + italic */
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;  /* same as logout */
    padding: 6px 14px !important;  /* same as logout */
    margin-left: 8px !important;
    background: #0d1117 !important;
    background-color: #0d1117 !important;
    color: #e6e6e6 !important;
    font-weight: 700 !important;  /* same as logout */
    font-size: 12px !important;  /* same as logout */
    font-style: italic !important;
    border-radius: var(--radius-sm) !important;  /* same as logout */
    text-decoration: none !important;
    border: 1px solid rgba(168, 5, 146, 0.55) !important;  /* same width as logout */
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(168, 5, 146, 0.18), 0 2px 6px rgba(0, 0, 0, 0.5) !important;
    vertical-align: middle !important;
    letter-spacing: 0.3px !important;  /* same as logout */
}
.px-download-app-btn span {
    font-style: italic !important;
    font-weight: 700 !important;
    /* Make italic more visually obvious with a slight skew */
    display: inline-block;
    transform: skewX(-9deg);
    transform-origin: center;
}
.px-download-app-btn:hover {
    background: #161c26 !important;
    background-color: #161c26 !important;
    border-color: rgba(168, 5, 146, 0.85) !important;
    box-shadow: 0 3px 12px rgba(168, 5, 146, 0.4), 0 4px 10px rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.px-download-app-btn i {
    font-size: 13px !important;
    color: #d8b4e2 !important;
}
@media (max-width: 768px) {
    .px-download-app-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
        margin-left: 4px !important;
        gap: 5px !important;
    }
    .px-download-app-btn span {
        display: inline !important;
    }
    .px-download-app-btn i {
        font-size: 12px !important;
    }
}
@media (max-width: 480px) {
    .px-download-app-btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
        margin-left: 3px !important;
    }
    .px-download-app-btn span {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .tipstars-top-row .top-tier-card h4 {
        font-size: clamp(14px, 3.5vw, 20px);
    }
    .top-tier-card-shell {
        padding: 12px 14px;
        gap: 10px;
    }
    .tipstars-top-row .top-tier-card .tipstar-mini-stats {
        gap: 8px;
        font-size: 11px;
    }
    .tipstars-top-row .top-tier-card .tipstar-mini-stats strong {
        font-size: 12px;
    }
}
@media (max-width: 600px) {
    .top-tier-card-header {
        flex-direction: column;
        gap: 8px;
    }
    .top-tier-card-actions {
        flex-direction: row;
        width: 100%;
    }
    .tipstars-top-row .top-tier-card .mini-follow-btn,
    .tipstars-top-row .top-tier-card .mini-message-btn {
        flex: 1;
    }
}

@media (max-width: 900px) {
    .dash-premium-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .dash-premium-card-fresh .dpc-name {
        font-size: clamp(10px, 2vw, 14px);
    }
    .dpc-stat-card strong {
        font-size: clamp(12px, 2vw, 18px);
    }
    .dpc-stat-card span {
        font-size: clamp(6px, 1vw, 9px);
    }
    .dpc-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
@media (max-width: 600px) {
    .dash-premium-grid {
        display: none !important;
    }
    .dash-premium-tipsters {
        display: none !important;
    }
}

/* Hide .trending-info text on desktop, show on mobile */

/* ═══════════════════════════════════════════════════════════════════════════════
   : Show all 16 tipster avatars (DESKTOP ONLY)
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
    /* ---- Banner container: full width, all items centered ---- */
    .dash-premium-tipsters .tipstars-trending-banner {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 10px 20px;
        border-radius: 22px;
        max-width: 935px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px !important;
    }

    /* ---- Avatars row: show ALL 16, no clipping ---- */
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatars {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        overflow: visible;
        flex: 0 1 auto;
        min-width: 0;
        align-items: center;
    }

    /* ---- Each avatar ring: proper size with accent border ---- */
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 2.5px solid;
        flex-shrink: 0;
        margin-left: 0 !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring:first-child {
        margin-left: 0 !important;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring:hover {
        transform: scale(1.18);
        z-index: 2;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    /* ---- Trending info text: show on desktop ---- */
    .dash-premium-tipsters .tipstars-trending-banner .trending-info {
        display: flex !important;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-info strong {
        color: rgba(255,255,255,0.95);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-info span {
        color: rgba(255,255,255,0.5);
        font-size: 10px;
        font-weight: 400;
    }

    /* ---- Chevron arrow ---- */
    .dash-premium-tipsters .tipstars-trending-banner .trending-arrow {
        color: rgba(255,255,255,0.5);
        font-size: 14px;
        opacity: 0.7;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   : Show all 16 tipster avatars
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatars {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        overflow: visible;
        flex: 0 1 auto;
        min-width: 0;
        align-items: center;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 2.5px solid;
        flex-shrink: 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring:hover {
        transform: scale(1.2);
        z-index: 2;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    /* Desktop: show trending-info alongside avatars */
    .dash-premium-tipsters .tipstars-trending-banner .trending-info {
        display: flex !important;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-info strong {
        color: rgba(255,255,255,0.95);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-info span {
        color: rgba(255,255,255,0.5);
        font-size: 10px;
        font-weight: 400;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-arrow {
        color: rgba(255,255,255,0.5);
        font-size: 14px;
        opacity: 0.7;
    }
    /* Desktop: banner sizing to fit all 16 avatars + text */
    .dash-premium-tipsters .tipstars-trending-banner {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 10px 18px;
        border-radius: 22px;
        max-width: 935px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DESKTOP TRENDING BANNER: Show all 16 tipster avatars (DESKTOP ONLY)
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
    /* Banner container on desktop */
    .dash-premium-tipsters .tipstars-trending-banner {
        display: flex !important;
        align-items: center;
        gap: 14px;
        padding: 10px 20px;
        border-radius: 22px;
        max-width: 935px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px !important;
    }

    /* Avatars row: show ALL tipsters, no clipping */
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatars {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 5px !important;
        overflow: visible !important;
        flex: 0 1 auto;
        min-width: 0;
        align-items: center;
    }

    /* Each avatar ring: proper size, no overlap */
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        border-width: 2.5px !important;
        border-style: solid !important;
        flex-shrink: 0 !important;
        margin-left: 0 !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring:first-child {
        margin-left: 0 !important;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring:hover {
        transform: scale(1.18);
        z-index: 2;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-avatar-ring img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 50% !important;
    }

    /* Show trending-info text on desktop inside banner */
    .dash-premium-tipsters .tipstars-trending-banner .trending-info {
        display: flex !important;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-info strong {
        color: rgba(255,255,255,0.95);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }
    .dash-premium-tipsters .tipstars-trending-banner .trending-info span {
        color: rgba(255,255,255,0.5);
        font-size: 10px;
        font-weight: 400;
    }

    /* Chevron arrow */
    .dash-premium-tipsters .tipstars-trending-banner .trending-arrow {
        color: rgba(255,255,255,0.5);
        font-size: 14px;
        opacity: 0.7;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TRENDING TIPSTERS: Mobile-Only Banner + Desktop-Only Hub Container
   ═══════════════════════════════════════════════════════════════════════════════ */
.mobile-trending-banner-only { display: block; }
@media (min-width: 769px) { .mobile-trending-banner-only { display: none !important; } }

.desktop-tipstars-hub {
    display: none; text-decoration: none; max-width: 935px; margin: 0 auto 20px;
    border-radius: 22px; padding: 16px 24px;
    background: linear-gradient(135deg, #0a0612, #0d0a18, #0a0612);
    border: 1.5px solid rgba(0,229,163,0.22);
    box-shadow: 0 6px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all 0.25s ease; cursor: pointer; position: relative; overflow: hidden;
}
.desktop-tipstars-hub::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 55%, transparent);
    animation: dthShimmer 5s ease-in-out infinite; pointer-events: none;
}
@keyframes dthShimmer { 0% { left: -60%; } 100% { left: 120%; } }
.desktop-tipstars-hub:hover {
    border-color: rgba(0,229,163,0.45);
    box-shadow: 0 8px 32px rgba(0,229,163,0.12), 0 6px 24px rgba(0,0,0,0.5);
    transform: translateY(-1px);
}
.dth-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 1; }
.dth-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.dth-icon-group {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,229,163,0.12), rgba(16,185,129,0.08));
    border: 1px solid rgba(0,229,163,0.2); flex-shrink: 0; position: relative;
}
.dth-icon-trophy { color: #FFD700; font-size: 18px; text-shadow: 0 0 10px rgba(255,215,0,0.4); }
.dth-icon-chart { color: #00e5a3; font-size: 14px; position: absolute; bottom: 2px; right: 4px; text-shadow: 0 0 8px rgba(0,229,163,0.4); }
.dth-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dth-title { color: rgba(255,255,255,0.95); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dth-amp { color: #00e5a3; font-weight: 900; }
.dth-subtitle { color: rgba(255,255,255,0.45); font-size: 11px; font-weight: 400; letter-spacing: 0.2px; }
.dth-right { flex-shrink: 0; }
.dth-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 999px;
    background: #2a2a2e;
    color: #e0e0e0; font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
    transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
.dth-cta i { font-size: 11px; transition: transform 0.2s ease; }
.desktop-tipstars-hub:hover .dth-cta { box-shadow: 0 6px 20px rgba(0,0,0,0.4); transform: scale(1.03); background: #353538; border-color: rgba(255,255,255,0.18); }
.desktop-tipstars-hub:hover .dth-cta i { transform: translateX(3px); }

@media (min-width: 769px) { .dash-premium-tipsters .desktop-tipstars-hub { display: block !important; } }
@media (max-width: 768px) { .desktop-tipstars-hub { display: none !important; } }

[data-theme="light"] .desktop-tipstars-hub { background: linear-gradient(135deg, #f8f9fc, #eef1f7, #f8f9fc); border-color: rgba(16,185,129,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
[data-theme="light"] .desktop-tipstars-hub:hover { border-color: rgba(16,185,129,0.5); box-shadow: 0 6px 28px rgba(16,185,129,0.12); }
[data-theme="light"] .dth-title { color: #111; }
[data-theme="light"] .dth-amp { color: #10b981; }
[data-theme="light"] .dth-subtitle { color: #666; }
[data-theme="light"] .dth-icon-group { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(0,229,163,0.05)); border-color: rgba(16,185,129,0.2); }


[data-theme="light"] .dth-cta { background: #e0e0e0; color: #333; border-color: rgba(0,0,0,0.1); }

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE: Hide "View all" button and "Analyze now" span
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .active-bets-view {
        display: none !important;
    }
    .active-bets-title span {
        display: none !important;
    }
}


/* ═════════════════════════════════════════════════════════════════
   SPACING CONSISTENCY FIX — Added 2026-07-01
   Standardizes card gaps and section spacing across the homepage.
     • Story cards gap:  16px desktop / 12px mobile
     • Hero cards gap:   16px desktop / 12px mobile
     • Stories edge inset (.stories-scroll padding): 16px / 12px
     • Major sections:   max-width 1100px, centered (margin: 0 auto)
     • Section rhythm:   24px desktop / 16px mobile
       (top + bottom on each section; adjacent block siblings collapse
        to a single 24px / 16px gap, so spacing is uniform throughout)
   Constraints honoured: ONLY spacing (margin / padding / gap /
   max-width) is touched. Colors, fonts, borders and card sizes are
   unchanged. Existing rules above are NOT removed — this appended
   block wins by source order, with targeted !important on the
   properties that previously had conflicting !important definitions.
   ═════════════════════════════════════════════════════════════════ */

/* ─────────────────────────  DESKTOP / BASE (≥769px)  ───────────────────────── */

/* Stories section title — aligned to the 1100px stories-bar width */
.stories-section-title {
    max-width: 1100px !important;
    margin: 24px auto 0 !important;
    padding: 0 16px !important;
}

/* Stories bar — horizontal avatar rail container.
   Horizontal padding cleared so .stories-scroll owns the 16px edge inset. */
.stories-bar {
    max-width: 1100px !important;
    margin: 8px auto 24px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Stories scroll — consistent 16px gap between avatar cards + 16px edge inset */
.stories-scroll {
    gap: 16px !important;
    padding: 0 16px !important;
}

/* "Live Market Signals" title row */
.active-bets-strip {
    max-width: 1100px !important;
    margin: 24px auto !important;
}

/* Hero carousel (circular hero-cards) */
.hero-carousel {
    max-width: 1100px !important;
    margin: 24px auto !important;
}

/* Hero track — consistent 16px gap between circular cards */
.hero-carousel-track {
    gap: 16px !important;
}

/* Trending Tipstars banner (rectangular card — shown on mobile) */
.tipstars-trending-banner {
    max-width: 1100px !important;
    margin: 24px auto !important;
}

/* Desktop Trending Tipstars hub: container + hub card.
   .dash-premium-tipsters wraps the hub so its max-width must widen too,
   otherwise it would cap the hub at the old 935px. */
.dash-premium-tipsters {
    max-width: 1100px !important;
    margin: 24px auto !important;
}
.desktop-tipstars-hub {
    max-width: 1100px !important;
    margin: 8px auto !important;
}

/* ─────────────────────────  MOBILE (≤768px)  ─────────────────────────
   Gaps & edge insets reduced to 12px; section rhythm tightened to 16px. */
@media (max-width: 768px) {
    .stories-section-title {
        margin: 16px auto 0 !important;
        padding: 0 12px !important;
    }
    .stories-bar {
        margin: 8px auto 16px !important;
    }
    .stories-scroll {
        gap: 12px !important;
        padding: 0 12px !important;
    }
    .active-bets-strip {
        max-width: 100% !important;
        margin: 16px auto !important;
    }
    .hero-carousel {
        max-width: 100% !important;
        margin: 16px auto !important;
    }
    .hero-carousel-track {
        gap: 12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .tipstars-trending-banner {
        margin: 16px 12px !important;
    }
    /* .dash-premium-tipsters & .desktop-tipstars-hub are display:none on
       mobile (existing rules) — no mobile spacing overrides needed here. */
}

/* ═════════════════════════════════════════════════════════════════
   STORY ITEM WIDTH FIX — Added 2026-07-01
   Problem: .story-item width was determined by text label (name length),
   so cards had widths 68/76/110px even though gap was 16px.
   This made the visual gap BETWEEN the rings look uneven.
   Fix: Force every .story-item to a fixed 80px width so the rings
   sit on a consistent grid, and truncate long names with ellipsis.
   ═════════════════════════════════════════════════════════════════ */

.stories-scroll {
    /* Use justify-content: flex-start so cards don't stretch */
    justify-content: flex-start !important;
}

.story-item {
    /* Fixed width so all rings sit on a consistent grid */
    width: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
    /* Center the ring inside the item */
    align-items: center !important;
    /* Allow the name to be truncated */
    overflow: hidden !important;
}

.story-name {
    /* Truncate long names with ellipsis */
    display: block !important;
    width: 80px !important;
    max-width: 80px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: center !important;
    /* Slightly smaller font for better fit */
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-top: 4px !important;
}

/* On mobile, use a slightly smaller fixed width */
@media (max-width: 768px) {
    .story-item {
        width: 72px !important;
        max-width: 72px !important;
        min-width: 72px !important;
    }
    .story-name {
        width: 72px !important;
        max-width: 72px !important;
        font-size: 10px !important;
    }
}

/* Ensure the ring itself stays at its original size (68px) and centered */
.story-ring {
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .story-ring {
        width: 60px !important;
        height: 60px !important;
    }
}
