/* ─── SexyShare Design System ─────────────────────────────── */
:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0eef5;
  --text-muted: #8b8798;
  --accent: #ff2d6b;
  --accent-soft: rgba(255, 45, 107, 0.15);
  --accent-glow: rgba(255, 45, 107, 0.4);
  --gold: #ffd166;
  --gradient: linear-gradient(135deg, #ff2d6b 0%, #ff6b9d 50%, #c44dff 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(255,45,107,0.2), rgba(196,77,255,0.1));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: 'Outfit', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255,45,107,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(196,77,255,0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.hidden { display: none !important; }

/* ─── Language switch ─────────────────────────────────────── */
.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.lang-switch--center { justify-content: center; margin-top: 20px; }

.lang-btn {
  padding: 5px 10px;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active { background: var(--accent-soft); color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--text); }

.form-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}

/* ─── Age Gate ────────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.age-gate__card {
  max-width: 440px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  box-shadow: var(--shadow);
}

.age-gate__logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.age-gate__logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.age-gate h2 { font-size: 1.4rem; margin-bottom: 12px; }
.age-gate p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--accent-glow); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn--ghost:hover { color: var(--text); }

.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--xs { padding: 5px 10px; font-size: 0.75rem; gap: 4px; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn--danger {
  border-color: rgba(255, 68, 68, 0.45);
  color: #ff6b6b;
}

.btn--danger:hover {
  border-color: #ff4444;
  color: #ff4444;
  background: rgba(255, 68, 68, 0.08);
}

.btn--primary.btn--danger {
  background: linear-gradient(135deg, #ff4444, #cc2244);
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.35);
}

.btn--primary.btn--danger:hover {
  box-shadow: 0 6px 28px rgba(255, 68, 68, 0.45);
}
.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ─── Nav ─────────────────────────────────────────────────── */
.app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.nav__logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav__search {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  color: var(--text-muted);
}

.nav__search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
}

.nav__links { display: flex; gap: 4px; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.nav__link:hover, .nav__link.active { color: var(--text); background: var(--accent-soft); }
.nav__link.active { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu button {
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  cursor: pointer;
}

.mobile-menu__search { margin-bottom: 4px; }

.mobile-menu__search input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}

.mobile-menu__auth { display: flex; flex-direction: column; gap: 8px; }

.mobile-menu__logout {
  color: #ff6b6b !important;
  border-color: rgba(255, 68, 68, 0.35) !important;
}

/* ─── Main ────────────────────────────────────────────────── */
.main { flex: 1; max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 24px 60px; }

.page { display: none; animation: fadeIn 0.3s ease; }
.page.active { display: block; }

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

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 80px;
}

.hero__badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 28px; max-width: 480px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.hero__stats span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.hero__visual { position: relative; height: 420px; min-width: 300px; }

.hero__card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  width: 280px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
}

.hero__card:hover {
  border-color: rgba(255, 45, 107, 0.35);
  box-shadow: 0 16px 48px rgba(255, 45, 107, 0.12);
  transform: translateY(-4px);
}

#hero-latest-user { top: 0; left: 0; animation-delay: 0s; }
#hero-latest-post { top: 150px; right: 0; animation-delay: -3s; }
.hero__card--post { width: 300px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero__card-body { min-height: 60px; }

.hero__card-empty {
  padding: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.hero__card strong { display: block; font-size: 1rem; }
.hero__card span { font-size: 0.8rem; color: var(--text-muted); }

.mini-stats { display: flex; gap: 16px; margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); }

/* ─── Latest activity cards ───────────────────────────────── */
.section--latest { margin-top: 8px; }

.latest-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.activity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: border-color 0.2s;
  font-size: 0.85rem;
}

.activity-card:hover { border-color: rgba(255, 45, 107, 0.25); }

.activity-card h3 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.latest-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 4px 0;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.latest-card:hover { background: var(--bg-elevated); }

.latest-card--compact {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  font-size: 0.8rem;
}

.activity-card .latest-card--compact {
  padding: 2px 0;
}

.activity-card .latest-card--compact .avatar--sm {
  width: 22px;
  height: 22px;
  font-size: 0.55rem;
}

.latest-card--post { flex-direction: column; gap: 10px; }

.latest-card__info {
  flex: 1;
  min-width: 0;
}

.latest-card__info strong,
.latest-card__post-head strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1px;
}

.latest-card__info > span,
.latest-card__post-head span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.latest-card__post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.latest-card__preview {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-card__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ─── Avatar ──────────────────────────────────────────────── */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.avatar--sm { width: 24px; height: 24px; font-size: 0.6rem; }
.avatar--lg { width: 56px; height: 56px; font-size: 1rem; }
.avatar--xl { width: 96px; height: 96px; font-size: 1.5rem; border: 3px solid var(--bg-card); }

.avatar--img { background: var(--bg-elevated); overflow: hidden; padding: 0; }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; }

.nav__avatar.avatar--img img { border-radius: 50%; }

/* ─── Tags ────────────────────────────────────────────────── */
.platform-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag--of { background: rgba(0,174,239,0.2); color: #00aeef; }
.tag--cm { background: rgba(255,107,53,0.2); color: #ff6b35; }
.tag--x { background: rgba(255,255,255,0.1); color: #e7e7e7; }
.tag--fansly { background: rgba(29,161,242,0.2); color: #1da1f2; }
.tag--redgifs { background: rgba(255, 68, 68, 0.2); color: #ff4444; }
.tag--da { background: rgba(5, 175, 60, 0.2); color: #05af3c; }
.tag--ig { background: rgba(225,48,108,0.2); color: #e1306c; }
.tag--other { background: var(--accent-soft); color: var(--accent); }

/* ─── Section ─────────────────────────────────────────────── */
.section { margin-top: 20px; }

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section__head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tabs { display: flex; gap: 4px; background: var(--bg-elevated); padding: 4px; border-radius: var(--radius-sm); }

.tab {
  padding: 8px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active, .tab:hover { background: var(--accent-soft); color: var(--accent); }

/* ─── Feed / Posts ────────────────────────────────────────── */
.feed { display: flex; flex-direction: column; gap: 16px; }

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.post-card:hover {
  border-color: rgba(255, 45, 107, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.post-card__owner-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -8px 0 14px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.post-card__owner-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: auto;
}

.post-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-card__header .info { flex: 1; cursor: pointer; }
.post-card__header .info strong { display: block; font-size: 0.95rem; }
.post-card__header .info span { font-size: 0.8rem; color: var(--text-muted); }
.post-card__time { font-size: 0.75rem; color: var(--text-muted); }

.post-card__content { margin-bottom: 16px; line-height: 1.5; }

.post-card__content--html { word-break: break-word; }
.post-card__content--html img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 8px 0;
  cursor: pointer;
}
.post-card__content--html a { color: var(--accent); }
.post-card__content--html h3 { font-size: 1.1rem; margin: 8px 0; }

.post-media {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border: none;
  padding: 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.post-media--image:hover .post-media__zoom { opacity: 1; }

.post-card__image {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0a0a0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.post-card--media .post-media,
.post-card--media .post-card__image {
  margin-top: 4px;
  margin-bottom: 12px;
}

.post-card--media .post-media--image {
  border: none;
  max-height: 680px;
}

.post-media__zoom {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.post-media--video {
  cursor: default;
  aspect-ratio: 16 / 9;
  background: #000;
}

.post-media--video iframe,
.post-media--video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: var(--radius-sm);
}

.post-card__media-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.9rem;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.post-card__link:hover { border-color: var(--accent); transform: translateX(4px); }

.post-card__actions {
  display: flex;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}

.post-action:hover, .post-action.liked { color: var(--accent); }
.post-action.liked svg { fill: var(--accent); }

/* ─── Creator Grid ────────────────────────────────────────── */
.page-header { padding: 48px 0 32px; }
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.page-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }

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

.creator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.creator-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}

.creator-card:hover { transform: translateY(-4px); border-color: rgba(255,45,107,0.3); box-shadow: var(--shadow); }
.creator-card:hover::before { opacity: 1; }

.creator-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.creator-card__head .info strong { display: block; }
.creator-card__head .info span { font-size: 0.8rem; color: var(--text-muted); }

.creator-card__bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creator-card__stats {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.creator-card__stats strong { color: var(--accent); }

.creator-card__rank {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ─── Platform Filters ────────────────────────────────────── */
.platform-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  padding: 8px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter.active, .filter:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}

.category-tag {
  padding: 4px 12px;
  background: rgba(255, 45, 120, 0.12);
  border: 1px solid rgba(255, 45, 120, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.creator-card .category-tags { margin: 8px 0 12px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.category-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
  user-select: none;
}

.category-check:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.category-check:has(input:disabled) {
  opacity: 0.4;
  cursor: not-allowed;
}

.category-check input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.profile-info .category-tags { margin: 12px 0 4px; }

/* ─── Profile Page ────────────────────────────────────────── */
.profile-banner {
  height: 200px;
  background: var(--gradient-subtle);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin-bottom: -40px;
  position: relative;
}

.profile-banner--editable { cursor: pointer; }

.profile-banner--editable:hover .profile-edit-overlay {
  opacity: 1;
}

.profile-edit-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.profile-owner-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px 0;
  margin-bottom: -12px;
  position: relative;
  z-index: 2;
}

.profile-avatar-wrap--editable {
  cursor: pointer;
  position: relative;
}

.profile-avatar-wrap--editable:hover .profile-edit-overlay--avatar {
  opacity: 1;
}

.profile-edit-overlay--avatar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  opacity: 0;
}

.profile-header {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 0 24px 32px;
  flex-wrap: wrap;
}

.profile-info { flex: 1; min-width: 200px; }
.profile-info h1 { font-size: 1.8rem; font-weight: 800; }
.profile-info .username { color: var(--text-muted); margin-bottom: 8px; }
.profile-info .bio { color: var(--text-muted); max-width: 500px; }

.profile-stats {
  display: flex;
  gap: 28px;
  margin-top: 16px;
}

.profile-stats div { text-align: center; }
.profile-stats strong { display: block; font-size: 1.3rem; color: var(--accent); }
.profile-stats span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }

/* ─── Links Hub (profil) ──────────────────────────────────── */
.links-hub {
  padding: 0 24px 32px;
}

.links-hub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.links-hub__head h2 { font-size: 1.2rem; font-weight: 700; }

.links-hub__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-hub__empty {
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
}

.link-btn:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px var(--accent-glow); }

.link-btn--big {
  width: 100%;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  justify-content: flex-start;
}

.link-btn--big .link-btn__icon { font-size: 1.6rem; width: 44px; text-align: center; flex-shrink: 0; }
.link-btn--big .link-btn__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.link-btn--big .link-btn__text strong { font-size: 1rem; }
.link-btn--big .link-btn__text small { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.link-btn--big .link-btn__arrow { color: var(--accent); font-size: 1.2rem; font-weight: 700; }

.link-btn--onlyfans:hover { border-color: #00aeef; box-shadow: 0 4px 20px rgba(0,174,239,0.25); }
.link-btn--coomeet:hover { border-color: #ff6b35; box-shadow: 0 4px 20px rgba(255,107,53,0.25); }
.link-btn--x:hover { border-color: #e7e7e7; }
.link-btn--fansly:hover { border-color: #1da1f2; box-shadow: 0 4px 20px rgba(29,161,242,0.25); }
.link-btn--redgifs:hover { border-color: #ff4444; box-shadow: 0 4px 20px rgba(255, 68, 68, 0.25); }
.link-btn--deviantart:hover { border-color: #05af3c; box-shadow: 0 4px 20px rgba(5, 175, 60, 0.25); }

.links-hub__quick { margin-top: 20px; }
.links-hub__quick-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.links-hub__quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.platform-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: var(--bg-elevated);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.platform-quick-btn span:first-child { font-size: 1.5rem; }
.platform-quick-btn:hover { border-color: var(--accent); border-style: solid; background: var(--accent-soft); color: var(--accent); transform: translateY(-2px); }

.platform-quick-btn--onlyfans:hover { border-color: #00aeef; color: #00aeef; background: rgba(0,174,239,0.1); }
.platform-quick-btn--coomeet:hover { border-color: #ff6b35; color: #ff6b35; background: rgba(255,107,53,0.1); }
.platform-quick-btn--fansly:hover { border-color: #1da1f2; color: #1da1f2; background: rgba(29,161,242,0.1); }
.platform-quick-btn--redgifs:hover { border-color: #ff4444; color: #ff4444; background: rgba(255, 68, 68, 0.1); }
.platform-quick-btn--deviantart:hover { border-color: #05af3c; color: #05af3c; background: rgba(5, 175, 60, 0.1); }

.onboarding-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(255,45,107,0.25);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.onboarding-card__icon { font-size: 2rem; flex-shrink: 0; }
.onboarding-card h3 { font-size: 1rem; margin-bottom: 6px; }
.onboarding-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.onboarding-card strong { color: var(--accent); }

.profile-posts { padding: 0 24px; }
.profile-posts h2 { font-size: 1.2rem; margin-bottom: 20px; }

.share-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0 24px 32px;
}

.share-box input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
}

/* ─── Dashboard ─────────────────────────────────────────────── */
.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.dash-card h3 { font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }

.dash-card--full { grid-column: 1 / -1; }

.dash-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.dash-post-item:last-child { border-bottom: none; }

.dash-post-item__info {
  flex: 1;
  min-width: 0;
}

.dash-post-item__info strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dash-post-item__info p {
  font-size: 0.9rem;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-post-item__stats {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dash-post-item__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0 0;
  flex-wrap: wrap;
}

.dash-header__info { flex: 1; min-width: 200px; }

.dash-header__info h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.dash-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dash-muted {
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dash-muted--sm {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.dash-email {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dash-stat-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}



.username-field {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.username-field:focus-within { border-color: var(--accent); }

.username-field__prefix {
  padding: 12px 0 12px 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.username-field input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding-left: 4px !important;
  box-shadow: none !important;
}

.username-status--ok { color: #4ade80; }
.username-status--error { color: #ff6b6b; }

.dash-stat {
  text-align: center;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.dash-stat strong { display: block; font-size: 1.8rem; color: var(--accent); }
.dash-stat span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }

.dash-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.dash-hint--stats {
  margin: 16px 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.link-item .info { flex: 1; min-width: 0; }
.link-item .info strong { display: block; font-size: 0.9rem; }
.link-item .info span { font-size: 0.75rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

.link-item .clicks { font-size: 0.8rem; color: var(--text-muted); }

.btn-delete {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
}

.btn-delete:hover { color: #ff4444; }

/* ─── Modal ───────────────────────────────────────────────── */
.modal {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  background: var(--bg-card);
  color: var(--text);
  max-width: 480px;
  width: calc(100% - 40px);
  margin-left: 20px;
  box-shadow: var(--shadow);
}

/* Desktop: left aligned with small space from left edge */
@media (min-width: 601px) {
  .modal {
    position: fixed !important;
    top: 90px !important;
    left: 20px !important;
    margin: 0 !important;
    width: min(480px, calc(100% - 40px)) !important;
    max-height: 80vh !important;
    overflow: auto !important;
  }
}

.modal::backdrop { background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.modal__header h2 { font-size: 1.3rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.modal__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal__close:hover { color: var(--text); }

.modal__body { padding: 24px 28px 28px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }

.input-prefix {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.input-prefix span {
  padding: 12px 0 12px 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.input-prefix input {
  border: none;
  background: none;
  flex: 1;
}

/* ─── Auth tabs ─────────────────────────────────────────────── */
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 0 28px 16px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.oauth-block {
  padding: 0 28px 8px;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-oauth:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-oauth__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.btn-oauth--google .btn-oauth__icon {
  background: #fff;
  color: #4285f4;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}

.btn-oauth--x .btn-oauth__icon {
  color: #e7e7e7;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.oauth-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.4;
}

.oauth-complete-info {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 45, 120, 0.2);
}

/* ─── Post editor ─────────────────────────────────────────── */
.post-editor {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}

.post-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.editor-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.15s;
}

.editor-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.post-editor__area {
  min-height: 100px;
  max-height: 200px;
  overflow-y: auto;
  padding: 12px 14px;
  line-height: 1.5;
  outline: none;
  font-size: 0.95rem;
}

.post-editor__area:empty::before,
.post-editor__area.is-empty::before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  pointer-events: none;
}

.post-editor__area img { max-width: 100%; border-radius: 6px; }

.post-media-preview {
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.post-media-preview .post-media { margin-bottom: 0; }

.post-media-status {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent);
}

.post-media-status.is-error { color: #ff6b6b; }

.post-media--loading {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: default;
}

.post-media--embed {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.post-media--embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.post-media--vertical {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.post-media--vertical iframe {
  min-height: 480px;
}

#post-media-url {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  line-height: 1.4;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-row input { accent-color: var(--accent); }

/* ─── Lightbox ─────────────────────────────────────────────── */
.modal--confirm { max-width: 420px; }

.confirm-message {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--text);
}

.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal--lightbox {
  max-width: min(96vw, 1100px);
  width: 96vw;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.92);
}

.modal--lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox__close:hover { background: rgba(255, 45, 120, 0.5); }

.lightbox__content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  max-height: 90vh;
  padding: 48px 24px 24px;
}

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__content .post-media {
  width: 100%;
  max-width: 900px;
  margin: 0;
}

.auth-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ─── Upload zone ───────────────────────────────────────────── */
.upload-zone {
  margin-bottom: 18px;
  cursor: pointer;
}

.upload-zone__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  background: var(--bg-elevated);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.2s;
  min-height: 120px;
  overflow: hidden;
  position: relative;
}

.upload-zone:hover .upload-zone__preview { border-color: var(--accent); color: var(--accent); }

.upload-zone--sm .upload-zone__preview { min-height: 80px; padding: 16px; }

.upload-zone__preview.has-image { padding: 0; border-style: solid; }
.upload-zone__preview.has-image img { width: 100%; height: 120px; object-fit: cover; }
.upload-zone--sm .upload-zone__preview.has-image img { height: 80px; }

.upload-zone__icon { font-size: 1.8rem; }

.avatar-upload {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.avatar-upload:hover .profile-edit-overlay--avatar { opacity: 1; }

.profile-avatar-wrap { position: relative; margin-top: -20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ─── Live badge & status ─────────────────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(255, 45, 45, 0.2);
  border: 1px solid #ff4444;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff6b6b;
  animation: livePulse 2s ease-in-out infinite;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  vertical-align: middle;
  margin-left: 4px;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.5); }
  50% { opacity: 0.85; box-shadow: 0 0 0 8px rgba(255, 68, 68, 0); }
}

.avatar-wrap--live .avatar {
  box-shadow: 0 0 0 3px #ff4444, 0 0 20px rgba(255, 68, 68, 0.5);
  animation: livePulse 2s ease-in-out infinite;
}

.profile-live-status {
  color: #ff6b6b;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.live-schedule {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.live-schedule strong { color: var(--gold); }

.link-btn--live-pulse {
  border-color: #ff4444 !important;
  animation: livePulse 2s ease-in-out infinite;
  background: rgba(255, 68, 68, 0.08) !important;
}

/* Live now grid */
.section--live.hidden { display: none; }

.live-now-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.live-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 68, 68, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  min-width: 220px;
}

.live-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255, 68, 68, 0.2); }
.live-card strong { display: block; font-size: 0.9rem; }
.live-card span { font-size: 0.75rem; color: var(--text-muted); }
.live-card__badge { font-size: 0.7rem; font-weight: 700; color: #ff6b6b; margin-left: auto; }

.creator-card--live { border-color: rgba(255, 68, 68, 0.35); }
.creator-card__live {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ff6b6b;
  background: rgba(255, 68, 68, 0.15);
  padding: 3px 8px;
  border-radius: 100px;
}

/* Top week */
.top-week-info {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-align: center;
}

.top-week-list .creator-card__rank {
  font-size: 1.1rem;
}

/* Live toggle dashboard */
.live-panel { padding: 4px 0; }

.live-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.live-toggle input { display: none; }

.live-toggle__slider {
  width: 48px;
  height: 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.live-toggle__slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s;
}

.live-toggle input:checked + .live-toggle__slider {
  background: rgba(255, 68, 68, 0.25);
  border-color: #ff4444;
}

.live-toggle input:checked + .live-toggle__slider::after {
  left: 25px;
  background: #ff4444;
}

.live-toggle__label { font-weight: 600; font-size: 0.95rem; }

.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.qr-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.qr-preview img { border-radius: 8px; }
.qr-preview span { font-size: 0.85rem; color: var(--text-muted); }

/* QR Modal */
.qr-modal {
  text-align: center;
}

.qr-modal img {
  border-radius: 12px;
  margin: 0 auto 16px;
  display: block;
  border: 1px solid var(--border);
}

.qr-modal__url {
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 20px;
}

.qr-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 10000;
  box-shadow: var(--shadow);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer__brand { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.footer__brand span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }

.footer__links { display: flex; justify-content: center; gap: 24px; margin: 16px 0; flex-wrap: wrap; }
.footer__links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer__links a:hover { color: var(--accent); }

.footer__copy { font-size: 0.75rem !important; }

.footer__ad {
  max-width: 728px;
  margin: 20px auto 28px;
  width: 100%;
}

/* ─── Ad slots ────────────────────────────────────────────── */
.ad-banner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  width: 100%;
}

.ad-banner-wrap--compact { margin-bottom: 24px; }

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.sidebar-ads {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.profile-posts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.ad-slot {
  background: var(--bg-card);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
}

.ad-slot--native {
  border-style: solid;
  border-color: var(--border);
  margin: 4px 0;
}

.ad-slot__label {
  display: block;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.75;
  padding: 5px 10px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.ad-slot__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 90px;
}

.ad-slot--leaderboard .ad-slot__inner {
  aspect-ratio: 728 / 90;
  max-width: 728px;
  min-height: 90px;
}

.ad-slot--rectangle .ad-slot__inner {
  aspect-ratio: 300 / 250;
  min-height: 250px;
}

.ad-slot--halfpage .ad-slot__inner {
  aspect-ratio: 300 / 600;
  min-height: 400px;
}

.ad-slot--native .ad-slot__inner {
  min-height: 100px;
  aspect-ratio: auto;
}

.ad-slot__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  color: var(--text-muted);
  text-align: center;
}

.ad-slot__dims {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 45, 107, 0.55);
  font-variant-numeric: tabular-nums;
}

.ad-slot__hint {
  font-size: 0.72rem;
  max-width: 220px;
  line-height: 1.45;
  opacity: 0.85;
}

/* ─── NSFW blur gate ──────────────────────────────────────── */
.nsfw-gate {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.nsfw-gate__preview {
  filter: blur(22px) brightness(0.55);
  transform: scale(1.06);
  pointer-events: none;
  user-select: none;
  max-height: 420px;
  overflow: hidden;
}

.nsfw-gate__preview .post-card__image,
.nsfw-gate__preview img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.nsfw-gate__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1020, #2a1530);
  min-height: 200px;
}

.nsfw-gate__placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.nsfw-gate__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(10, 10, 15, 0.45);
  border: none;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.nsfw-gate__btn:hover {
  background: rgba(10, 10, 15, 0.6);
}

.nsfw-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 68, 68, 0.9);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
}

/* ─── Legal pages ─────────────────────────────────────────── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.4);
  color: #ff6b6b;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 10px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.legal-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.legal-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__links a.active {
  color: var(--accent);
  font-weight: 600;
}

/* ─── Empty state ─────────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}

.empty h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 8px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .latest-activity-grid { grid-template-columns: 1fr; }
  .nav__links, .nav__search { display: none; }
  .nav__burger { display: flex; }
  .dashboard { grid-template-columns: 1fr; }
  .dash-stat-grid,
  .dash-stat-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .profile-stats { flex-wrap: wrap; gap: 16px; }
  .content-with-sidebar,
  .profile-posts-layout { grid-template-columns: 1fr; }
  .sidebar-ads { display: none; }
  .ad-slot--halfpage .ad-slot__inner { min-height: 250px; aspect-ratio: 300 / 250; }
}

@media (max-width: 600px) {
  .nav { padding: 0 16px; }
  .main { padding: 0 16px 40px; }
  .hero { padding: 32px 0 48px; }
  .profile-header { flex-direction: column; align-items: flex-start; }
  .profile-owner-bar { padding: 14px 16px 0; }
  .profile-owner-bar .btn { flex: 1; min-width: calc(50% - 4px); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .share-box {
    flex-wrap: wrap;
    margin: 0 16px 24px;
    padding: 14px;
  }
  .share-box input { width: 100%; min-width: 0; }
  .share-box .btn { flex: 1; min-width: calc(50% - 6px); }
  .modal {
    width: calc(100vw - 40px);
    margin-left: 20px;
    max-width: none;
  }
  .links-hub { padding: 0 16px 24px; }
}