/* index.css — losgekoppelde stijl van index.html */

 
  
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    /* Dark theme — PeeksSocial inspired */
    --bg:           #060606;
    --bg-2:         #232328;
    --bg-3:         #2a2a30;
    --surface:      #232328;
    --surface-hi:   #2c2c33;
    --border:       #060606;
    --border-soft:  #2c2c33;
    --text:         #ffffff;
    --text-2:       #b8b8c0;
    --text-3:       #6e6e78;
    --pink: #b97ad9;
    /*! --pink-2:       #287b8f; */
    /*! --pink-soft:    rgba(233, 20, 200, 0.15); */
    --live-red: #b97ad9;
    --green:        #22c55e;
    --gold:         #f59e0b;
    --orange:       #fb923c;
    --safe-top:     env(safe-area-inset-top, 0px);
    --safe-bot:     env(safe-area-inset-bottom, 0px);
    --accent:       #b515c9;
    --accent-2:     #b97ad9;
    --sidebar-w:    240px;
  }

  /* ── App shell: sidebar + content ─────────────────────── */
  .app-shell { display: flex; min-height: 100vh; }

  .sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: #090808;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 90;
  }
  .sidebar-brand {
    display: flex; align-items: center; gap: 9px;
    font-size: 22px; font-weight: 900; letter-spacing: -.5px;
    color: #fff; text-decoration: none; margin-bottom: 20px; padding: 0 4px;
  }
  .sidebar-brand .logo-dot {
    width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #b97ad9);
    display: inline-block; flex-shrink: 0;
  }
  .sidebar-join {
    display: block; text-align: center;
    background: linear-gradient(90deg, #b97ad9, #b97ad9);
    color: #fff; font-weight: 800; font-size: 15px;
    border: none; border-radius: 30px; padding: 12px; cursor: pointer;
    margin-bottom: 22px; text-decoration: none;
    transition: filter .15s, transform .1s;
  }
  .sidebar-join:hover { filter: brightness(1.08); }
  .sidebar-join:active { transform: scale(.98); }

  .sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px; border-radius: 10px;
    color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 15px;
    background: none; border: none; cursor: pointer; text-align: left; width: 100%;
    transition: background .15s, color .15s;
  }
  .side-link:hover { background: var(--bg-3); color: var(--text); }
  .side-link.active { color: #b97ad9; }
  .side-link.active svg { color: #b97ad9; }
  .side-link svg { width: 20px; height: 20px; flex-shrink: 0; }

  .sidebar-promo {
    margin: 20px 4px; padding: 16px 14px;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    text-align: center;
  }
  .sidebar-promo .sp-t { font-size: 13px; color: var(--text-2); font-weight: 700; margin-bottom: 10px; }

  .sidebar-footer {
    margin-top: auto; padding-top: 18px;
    display: flex; flex-direction: column; gap: 7px;
  }
  .sidebar-footer a {
    color: var(--text-3); font-size: 12px; text-decoration: none;
  }
  .sidebar-footer a:hover { color: var(--text-2); }
  .sidebar-footer .age-note {
    margin-top: 12px; font-size: 11px; color: var(--text-3); font-weight: 700; line-height: 1.5;
  }

  /* ── Sidebar divider ─────────────────── */
  .sidebar-divider {
    height: 1px;
    background: var(--border-soft);
    margin: 10px 12px;
  }

  /* ── Sidebar badges ──────────────────── */
  .side-badge {
    margin-left: auto;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 20px;
    letter-spacing: .5px;
    flex-shrink: 0;
  }
  .side-badge--new {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
  }
  .side-badge--gold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a0a00;
  }

  /* ── Roulette link accent ────────────── */
  .side-link--roulette { color: var(--text-2); }
  .side-link--roulette:hover { color: #a78bfa; }
  .side-link--roulette:hover svg { color: #a78bfa; }

  /* ── VIP Login accent ────────────────── */
  .side-link--vip:hover { color: var(--gold); }
  .side-link--vip:hover svg { color: var(--gold); }

  /* ── Become VIP accent ───────────────── */
  .side-link--become-vip:hover { color: #fbbf24; }
  .side-link--become-vip:hover svg { color: #fbbf24; }

  /* ── Page Footer ─────────────────────────────────────────── */
  .page-footer {
    background: #080808;
    border-top: 1px solid var(--border-soft);
    padding: 48px 32px 32px;
    margin-top: auto;
  }
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
  @media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  }
  @media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .page-footer { padding: 32px 20px 24px; }
  }

  .footer-brand-col .footer-logo {
    display: flex; align-items: center; gap: 9px;
    font-size: 20px; font-weight: 900; letter-spacing: -.5px;
    color: #fff; text-decoration: none; margin-bottom: 12px;
  }
  .footer-brand-col .footer-logo .logo-dot {
    width: 24px; height: 24px; border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), #b97ad9);
    flex-shrink: 0;
  }
  .footer-brand-col p {
    font-size: 13px; color: var(--text-3); font-weight: 600;
    line-height: 1.6; max-width: 240px; margin-bottom: 18px;
  }
  .footer-social {
    display: flex; gap: 10px;
  }
  .footer-social a {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--bg-3); border: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); transition: color .15s, background .15s, border-color .15s;
    text-decoration: none;
  }
  .footer-social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
  .footer-social svg { width: 16px; height: 16px; }

  .footer-col h4 {
    font-size: 12px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-3); margin-bottom: 14px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .footer-col ul li a {
    color: var(--text-2); font-size: 13px; font-weight: 600;
    text-decoration: none; transition: color .12s;
    display: flex; align-items: center; gap: 7px;
  }
  .footer-col ul li a:hover { color: #fff; }
  .footer-col ul li a svg { width: 14px; height: 14px; opacity: .6; }

  .footer-vip-link {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--gold) !important;
    font-weight: 800 !important;
  }
  .footer-vip-link svg { opacity: 1 !important; color: var(--gold); }

  .footer-bottom {
    max-width: 1100px; margin: 32px auto 0;
    padding-top: 20px; border-top: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap;
  }
  .footer-bottom p {
    font-size: 12px; color: var(--text-3); font-weight: 600;
  }
  .footer-bottom .footer-age {
    font-size: 11px; font-weight: 900; color: var(--text-3);
    padding: 4px 10px; border: 1px solid var(--border-soft);
    border-radius: 6px; letter-spacing: .5px;
  }

  .content {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
  }

  /* Sidebar backdrop (mobiel) */
  .sidebar-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.6); z-index: 89;
  }
  .sidebar-backdrop.show { display: block; }

  @media (max-width: 860px) {
    .sidebar {
      position: fixed; left: 0; top: 0; bottom: 0;
      transform: translateX(-100%);
      transition: transform .25s ease;
    }
    .sidebar.open { transform: translateX(0); }
  }

  html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  body {
    padding-top: var(--safe-top);
    padding-bottom: calc(var(--safe-bot) + 90px);
  }

  /* ── Header ───────────────────────────────────────────── */
  .topbar {
    position: sticky; top: 0; z-index: 60;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    padding-top: calc(12px + var(--safe-top));
    display: flex; align-items: center; gap: 14px;
  }
  .menu-btn {
    background: none; border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    margin-left: -8px;
    display: none;
  }
  .menu-btn svg { width: 22px; height: 22px; }
  @media (max-width: 860px) {
    .menu-btn { display: flex; }
  }
  /* Op desktop staat het merk al in de sidebar → topbar-brand verbergen */
  @media (min-width: 861px) {
    .content .topbar .brand { display: none; }
  }

  .brand {
    flex: 1;
    font-size: 22px; font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--pink) 0%, #ff5b8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
  }
  .brand sup {
    font-size: 9px;
    color: var(--text-3);
    font-weight: 700;
    margin-left: 2px;
    vertical-align: super;
    -webkit-text-fill-color: var(--text-3);
  }

  .header-btn {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 800; font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .15s, background .15s;
  }
  .header-btn:hover { border-color: var(--text); }
  .header-btn.primary {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
  }
  .header-btn.primary:hover { background: var(--pink-2); border-color: var(--pink-2); }

  .header-account {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: var(--bg-3);
    color: var(--text);
    text-decoration: none;
    font-weight: 800; font-size: 13px;
  }
  .header-account .av {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--pink);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900;
    overflow: hidden;
    font-size: 13px;
  }
  .header-account .av img { width: 100%; height: 100%; object-fit: cover; }

  /* ── Tab bar ───────────────────────────────────────────── */
  .tabs {
    display: flex;
    gap: 4px;
    padding: 8px 12px 0;
    border-bottom: 1px solid var(--border-soft);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }

  .tab {
    flex-shrink: 0;
    padding: 12px 16px;
    color: var(--text-3);
    font-weight: 800; font-size: 14px;
    cursor: pointer;
    border: none;
    background: transparent;
    border-bottom: 2px solid transparent;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .12s;
    font-family: inherit;
    margin-bottom: -1px;
  }
  .tab:hover { color: var(--text-2); }
  .tab.active {
    color: var(--pink);
    border-bottom-color: var(--pink);
  }
  .tab .ic { width: 14px; height: 14px; }

  /* ── Section heading ───────────────────────────────────── */
  .section-wrap { padding: 20px 16px 30px; max-width: 1280px; margin: 0 auto; }

  /* ── Promo banner ──────────────────────────────────────── */
  .promo-banner {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: var(--bg-2);
    line-height: 0;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  }
  .promo-banner:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
  .promo-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
  }

  .section-title {
    font-size: 22px; font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -.5px;
    display: flex; align-items: center; gap: 10px;
  }
  .live-counter {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
  }

  /* ── Filter-pills rij (Discover) ──────────────────────── */
  .filter-row {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px; flex-wrap: wrap;
  }
  .filter-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: none; color: var(--text-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .15s, color .15s;
  }
  .filter-icon:hover { border-color: var(--text-2); color: var(--text); }
  .filter-icon svg { width: 18px; height: 18px; }
  .pill {
    padding: 9px 18px; border-radius: 22px;
    border: 1px solid var(--border);
    background: none; color: var(--text);
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
  }
  .pill:hover:not(:disabled):not(.active) { border-color: var(--text-2); }
  .pill.active {
    border-color: #b97ad9;            /* cyan rand zoals screenshot */
    color: #b97ad9;
  }
  .pill:disabled { color: var(--text-3); cursor: default; opacity: .8; }
  .filter-divider {
    width: 1px; height: 22px; background: var(--border); margin: 0 2px;
  }
  .pill-add {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: none; color: var(--text-2);
    font-size: 20px; font-weight: 400; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .15s, color .15s;
  }
  .pill-add:not(:disabled):hover { border-color: var(--text-2); color: var(--text); }
  .pill-add:disabled { opacity: .6; cursor: default; }

  /* ── Grid ──────────────────────────────────────────────── */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* mobiel: 2 naast elkaar */
    gap: 14px;
  }
  @media (max-width: 540px) {
    .grid { grid-template-columns: 1fr; }    /* smal mobiel: 1 kolom */
  }
  @media (min-width: 861px) {
    .grid { gap: 20px; grid-template-columns: repeat(3, 1fr); }  /* desktop: exact 3 */
  }

  /* ── Card (Discover-stijl: 16:9 thumb, info eronder) ───── */
  .card {
    background: transparent;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    display: flex; flex-direction: column;
    transition: transform .12s;
  }
  .card:hover { transform: translateY(-2px); }
  .card:active { transform: scale(.99); }

  .card-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: var(--bg-2);
  }
  .card-thumb img {
    width: 100%; height: 135%;
    object-fit: cover;
    display: block;
  }
  .card-thumb .thumb-letter {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 56px;
    font-weight: 900;
    color: var(--pink);
    background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  }

  /* Live badge top-left */
  .card-live-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--live-red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 5px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    display: inline-flex; align-items: center; gap: 5px;
  }
  .card-live-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
  }
  @keyframes pulse {
    50% { opacity: 0.4; transform: scale(0.85); }
  }

  /* VIP crown top-right */
  .card-vip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #c60bf5, #fbbf24);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 5px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }

  /* Viewer count bottom-right (gebruikt niet hier maar bewaar voor later) */
  .card-views {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    display: inline-flex; align-items: center; gap: 5px;
  }
  .card-views svg { width: 11px; height: 11px; }

  /* ── Message button overlay (DM van card) ────────────── */
  .card-msg-btn {
    position: absolute;
    bottom: 10px; right: 10px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .12s, border-color .15s;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    padding: 0;
    font: inherit;
  }
  .card-msg-btn:hover {
    background: var(--pink);
    border-color: var(--pink);
    transform: scale(1.08);
  }
  .card-msg-btn:active { transform: scale(.92); }
  .card-msg-btn svg { width: 16px; height: 16px; }

  /* ── Stream overlay binnen thumb (title + username) ──── */
  /* Gradient fade onderaan met title bovenop username.
     Padding-right = ruimte voor de message button (36px + margin) */
  /* ── Card info ONDER de thumb (Discover-stijl) ────────── */
  .card-info {
    display: block;
    padding: 10px 2px 0;
  }
  .card-userrow {
    display: flex; align-items: center; gap: 8px; margin-bottom: 5px;
  }
  .card-avatar {
    width: 22px; height: 22px; border-radius: 50%;
    flex-shrink: 0; overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
  }
  .card-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .card-name {
    font-size: 14px; font-weight: 800; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .card-info .card-live-badge {
    position: static;
    box-shadow: none;
    padding: 2px 6px;
    font-size: 9px;
    flex-shrink: 0;
  }
  .card-title {
    font-size: 13px; color: var(--text-2); line-height: 1.3; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-tags {
    display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px;
  }
  .card-tag {
    font-size: 10px; color: var(--text-3); background: var(--bg-3);
    padding: 2px 8px; border-radius: 20px; font-weight: 600;
  }

  /* oude overlay-stijl uit (we tonen info nu onder de thumb) */
  .card-overlay, .card-title-overlay, .card-username-overlay { display: none; }

  /* ── Empty state ──────────────────────────────────────── */
  .empty-state {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-3);
  }
  .empty-state .icon {
    font-size: 48px;
    opacity: .4;
    margin-bottom: 14px;
  }
  .empty-state h3 {
    font-size: 18px;
    color: var(--text-2);
    font-weight: 800;
    margin-bottom: 8px;
  }
  .empty-state p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
    font-weight: 600;
  }

  /* ── Skeleton ─────────────────────────────────────────── */
  .skeleton-card {
    background: transparent;
  }
  .skeleton-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
    border-radius: 14px;
  }
  .skeleton-line {
    height: 10px;
    background: var(--bg-2);
    border-radius: 4px;
    margin-top: 10px;
  }
  .skeleton-line.short { width: 50%; }
  @keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* ── Floating Action Button (Go Live) ────────────────────── */
  .fab {
    position: fixed;
    bottom: calc(20px + var(--safe-bot));
    right: 20px;
    z-index: 80;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform .12s, background .15s;
    font-family: inherit;
  }
  .fab:hover { background: var(--pink-2); }
  .fab:active { transform: scale(.94); }
  .fab svg { width: 26px; height: 26px; }
  .fab .label {
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0; transform: translateX(8px);
    pointer-events: none;
    transition: opacity .15s, transform .15s;
  }
  @media (hover: hover) {
    .fab:hover .label { opacity: 1; transform: translateX(0); }
  }

  /* If user is live, FAB becomes a "Stop" button */
  .fab.live {
    background: var(--live-red);
  }
  .fab.live:hover { background: #ff3d5e; }
  @keyframes live-pulse {
    0%, 100% { box-shadow: 0 12px 28px rgba(239, 43, 77, 0.5); }
    50%      { box-shadow: 0 12px 28px rgba(239, 43, 77, 0.8), 0 0 0 8px rgba(239, 43, 77, 0.15); }
  }

  /* ── Side menu drawer ─────────────────────────────────── */
  .drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 100;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
  }
  .drawer-overlay.show { opacity: 1; pointer-events: auto; }

  .drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(85vw, 320px);
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    z-index: 101;
    transform: translateX(-100%);
    transition: transform .25s ease;
    padding: 16px 0;
    padding-top: calc(16px + var(--safe-top));
    display: flex; flex-direction: column;
  }
  .drawer.show { transform: translateX(0); }
  .drawer-head {
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 14px;
  }
  .drawer-head .av {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--pink);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px;
    overflow: hidden;
  }
  .drawer-head .av img { width: 100%; height: 100%; object-fit: cover; }
  .drawer-head .name { font-weight: 900; font-size: 15px; }
  .drawer-head .sub { font-size: 12px; color: var(--text-3); font-weight: 700; }

  .drawer-nav {
    padding: 12px 0;
    flex: 1;
  }
  .drawer-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800; font-size: 15px;
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
  }
  .drawer-link svg { width: 20px; height: 20px; color: var(--pink); }
  .drawer-link:hover { background: var(--bg-3); }
  .drawer-unread-badge {
    background: var(--pink);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(233, 20, 200, 0.35);
  }

  .drawer-foot {
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
  }

  /* ── Signup modal ─────────────────────────────────────── */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 110;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
  }
  .modal-overlay.show { display: flex; }

  /* ── JOIN FOR FREE auth-overlay ─────────────────────────── */
  .auth-card {
    position: relative;
    width: 100%; max-width: 420px;
    border-radius: 18px;
    padding: 40px 34px 34px;
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(123,46,160,.55), transparent 60%),
      radial-gradient(120% 90% at 100% 10%, rgba(40,70,160,.5), transparent 55%),
      linear-gradient(160deg, #2a1340 0%, #1a1030 55%, #14131f 100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 90px rgba(0,0,0,.7);
    color: #fff;
  }
  .auth-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; color: #fff; opacity: .8;
    font-size: 26px; line-height: 1; cursor: pointer; padding: 4px;
  }
  .auth-close:hover { opacity: 1; }
  .auth-title {
    font-size: 30px; font-weight: 900; letter-spacing: -.5px;
    text-align: center; margin: 0 0 6px;
  }
  .auth-switch {
    text-align: center; font-size: 15px; color: #cfc6db; margin: 0 0 22px;
  }
  .auth-switch a {
    color: #c061ff; font-weight: 700; text-decoration: none;
  }
  .auth-switch a:hover { text-decoration: underline; }
  .auth-promo {
    text-align: center; font-weight: 800; font-size: 15px;
    background: linear-gradient(90deg, #ff3df0, #b15bff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 auto 24px; max-width: 280px; line-height: 1.4;
  }
  .auth-label {
    display: block; font-size: 13px; font-weight: 700;
    color: #e9e2f5; margin: 0 0 7px;
  }
  .auth-input {
    width: 100%; box-sizing: border-box;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    padding: 14px 15px; font-size: 15px; color: #fff;
    margin-bottom: 18px; outline: none;
    transition: border-color .15s, background .15s;
  }
  .auth-input::placeholder { color: #8d84a3; }
  .auth-input:focus {
    border-color: #c061ff;
    background: rgba(255,255,255,.07);
  }
  .auth-pass-wrap { position: relative; }
  .auth-pass-wrap .auth-input { margin-bottom: 0; padding-right: 46px; }
  .auth-eye {
    position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: #b9aecb; padding: 6px; display: flex;
  }
  .auth-eye:hover { color: #fff; }
  .auth-eye svg { width: 20px; height: 20px; }
  .auth-eye.off svg { opacity: .45; }
  .auth-btn {
    width: 100%; margin-top: 22px;
    background: linear-gradient(90deg, #b515c9, #ff1f8e);
    border: none; border-radius: 30px;
    padding: 15px; font-size: 16px; font-weight: 800; color: #fff;
    cursor: pointer; transition: filter .15s, transform .1s;
  }
  .auth-btn:hover { filter: brightness(1.08); }
  .auth-btn:active { transform: scale(.98); }
  .auth-btn:disabled { opacity: .6; cursor: default; }
  #auth-signup-view .err, #auth-login-view .err {
    color: #ff8095; font-size: 13px; min-height: 18px; margin-top: 10px; text-align: center;
  }

  .modal {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    width: 100%; max-width: 380px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }
  .modal h3 {
    font-size: 22px; font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: -.3px;
    text-align: center;
  }
  .modal-sub {
    text-align: center;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
  }
  .modal label {
    display: block;
    font-size: 11px;
    color: var(--text-2);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .modal input[type=text], .modal input[type=password] {
    width: 100%;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 16px; font-weight: 700;
    outline: none;
    transition: border-color .12s, background .12s;
  }
  .modal input:focus { border-color: var(--pink); background: var(--bg-3); }
  .modal .err {
    color: var(--live-red);
    font-size: 13px;
    font-weight: 800;
    min-height: 18px;
    margin: 4px 0 10px;
  }
  .modal .btn {
    width: 100%;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: inherit;
    font-weight: 900; font-size: 15px;
    cursor: pointer;
    transition: background .12s;
    margin-top: 6px;
  }
  .modal .btn:hover { background: var(--pink-2); }
  .modal .btn:disabled { opacity: .5; cursor: not-allowed; }
  .modal .modal-extra {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    font-weight: 700;
  }
  .modal .modal-extra a {
    color: var(--pink);
    text-decoration: none;
    font-weight: 900;
  }

  /* ── Toast ─────────────────────────────────────────────── */
  .toast {
    position: fixed; top: calc(70px + var(--safe-top));
    left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.92);
    color: #fff;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px; font-weight: 800;
    z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
  }
  .toast.show { opacity: 1; }
  .toast.error { background: var(--live-red); }



  /* ── Age Gate Modal ──────────────────────────────────── */
  .age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ageGateFadeIn .2s ease;
  }
  .age-gate-overlay.show { display: flex; }
  @keyframes ageGateFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .age-gate-modal {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6),
                0 0 0 1px rgba(239, 43, 107, 0.15);
    animation: ageGatePop .25s cubic-bezier(.34, 1.56, .64, 1);
  }
  @keyframes ageGatePop {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .age-gate-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.5px;
    box-shadow: 0 8px 24px rgba(239, 43, 107, 0.35);
  }

  .age-gate-modal h2 {
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -.3px;
  }
  .age-gate-modal h2 .accent {
    color: var(--pink);
  }

  .age-gate-modal .rules {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0 8px;
    text-align: left;
  }
  .age-gate-modal .rules p {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
    line-height: 1.5;
    margin: 0;
  }
  .age-gate-modal .rules .ok {
    color: var(--text);
  }
  .age-gate-modal .rules .ok::before {
    content: '✓';
    color: var(--green);
    font-weight: 900;
    margin-right: 6px;
  }
  .age-gate-modal .rules .no {
    color: var(--text);
    margin-top: 6px;
  }
  .age-gate-modal .rules .no::before {
    content: '✗';
    color: var(--live-red);
    font-weight: 900;
    margin-right: 6px;
  }

  .age-gate-modal .disclaimer {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    margin: 14px 0 22px;
    line-height: 1.5;
  }

  .age-gate-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
  .age-gate-btn {
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .12s, box-shadow .15s, background .15s;
    letter-spacing: -.1px;
  }
  .age-gate-btn:active { transform: scale(.97); }

  .age-gate-btn.agree {
    background: linear-gradient(135deg, var(--pink), #ff4d8a);
    color: #fff;
    box-shadow: 0 6px 18px rgba(239, 43, 107, 0.4);
  }
  .age-gate-btn.agree:hover {
    box-shadow: 0 8px 24px rgba(239, 43, 107, 0.55);
  }

  .age-gate-btn.exit {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
  }
  .age-gate-btn.exit:hover {
    background: var(--bg-3);
    color: var(--text);
  }