/* Chesstok Homepage — TikTok-inspired dark theme */

/* ── Hero ────────────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}
.home-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.03em;
}
.home-hero .hero-sub {
  font-size: 1.05rem;
  opacity: 0.6;
  margin: 0.35rem 0 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.home-hero .stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 0;
  flex-wrap: wrap;
}
.home-hero .stat-item { text-align: center; }
.home-hero .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}
.home-hero .stat-label {
  font-size: 0.78rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Sections ────────────────────────────────────────── */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2rem 0 0.25rem;
  letter-spacing: -0.01em;
}
.section-desc {
  opacity: 0.6;
  margin: 0 0 1.25rem;
}
.section-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 1; }
.home-divider {
  margin: 2.5rem 0;
  border: 0;
  height: 1px;
  opacity: 0.07;
}

/* ── Featured Grid ───────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.featured-grid iframe {
  width: 100%;
  border-radius: 0 0 12px 12px;
  aspect-ratio: 9/16;
}
.featured-grid blockquote {
  min-height: 440px;
  margin: 0 !important;
}
.tiktok-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

/* Lazy TikTok embeds (click-to-load thumbnails) */
.tiktok-lazy {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.tiktok-lazy-placeholder {
  position: relative;
  aspect-ratio: 1 / 1.5;
  max-height: 500px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tiktok-lazy-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tiktok-lazy-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tiktok-lazy:hover .tiktok-lazy-thumb {
  transform: scale(1.03);
}
.tiktok-lazy-playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.tiktok-lazy-playbtn svg {
  width: 56px;
  height: 56px;
}
.tiktok-lazy-playbtn svg circle { fill: rgba(0,0,0,0.55); }
.tiktok-lazy:hover .tiktok-lazy-playbtn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.tiktok-lazy-fallback {
  display: block;
  padding: 3rem 1rem;
  text-align: center;
  opacity: 0.6;
  text-decoration: none;
}
.tiktok-lazy-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--color-primary, #fe2c55);
  border-radius: 50%;
  animation: tiktok-spin 0.8s linear infinite;
}
@keyframes tiktok-spin { to { transform: rotate(360deg); } }

/* Embed Labels */
.tiktok-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.15);
  flex-wrap: wrap;
}
.tiktok-label .label-handle {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.tiktok-label .label-handle svg { opacity: 0.7; }
.tiktok-label .label-status { margin-left: auto; }
.badge-challenge {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(254, 44, 85, 0.35);
  border-radius: 4px;
  opacity: 0.75;
}
.badge-unknown {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 4px;
  opacity: 0.4;
}
.btn-challenge-sm {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(254, 44, 85, 0.4);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-challenge-sm:hover {
  border-color: #fe2c55;
  background: rgba(254,44,85,0.1);
}

/* ── Who's Live ──────────────────────────────────────── */
.live-card {
  border: 1px solid rgba(254, 44, 85, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  margin: 1.5rem 0;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #00e676;
  animation: pulse 1.5s ease infinite;
}
.live-dot.offline {
  background: #fe2c55;
  animation: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.live-sub {
  opacity: 0.6;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}
.live-tracked {
  margin-top: 1rem;
}
.live-tracked-label {
  font-size: 0.8rem;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.live-tracked-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.live-tracked-chip {
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: border-color 0.2s;
}
.live-tracked-chip:hover { border-color: rgba(254,44,85,0.3); }
.live-tracked-chip svg { opacity: 0.6; }

/* Live cards (when ppl are live) */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.live-card-item {
  border: 1px solid rgba(254,44,85,0.3);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.live-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.live-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00e676;
  display: inline-block;
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}
.live-plat-tag {
  font-size: 0.75rem;
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}
.live-bio {
  font-size: 0.83rem;
  opacity: 0.65;
  flex-grow: 1;
  margin-bottom: 0.75rem;
}
.live-actions {
  display: flex;
  gap: 0.5rem;
}
.btn-live-watch, .btn-challenge {
  flex: 1;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.2s;
}
.btn-live-watch {
  border: 1px solid rgba(254,44,85,0.3);
}
.btn-live-watch:hover { border-color: #fe2c55; background: rgba(254,44,85,0.08); }
.btn-challenge {
  border: 1px solid rgba(254,44,85,0.4);
  background: rgba(254,44,85,0.08);
}
.btn-challenge:hover { background: rgba(254,44,85,0.18); }

/* ── CTA Cards ────────────────────────────────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(254,44,85,0.2);
}
.cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(254,44,85,0.5);
  box-shadow: 0 8px 24px rgba(254,44,85,0.1);
}
.cta-card .cta-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.cta-card .cta-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.2rem; }
.cta-card .cta-desc { font-size: 0.8rem; opacity: 0.65; }

/* ── Newsletter ───────────────────────────────────────── */
.newsletter-bar {
  text-align: center;
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
}
.news-sub {
  opacity: 0.6;
  margin-bottom: 1rem;
}
.btn-subscribe {
  display: inline-block;
  padding: 0.65rem 2rem;
  border: 1px solid rgba(254,44,85,0.4);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-subscribe:hover {
  background: rgba(254,44,85,0.1);
  border-color: #fe2c55;
}

/* ── Founder ──────────────────────────────────────────── */
.founder-byline { font-size: 0.9rem; opacity: 0.55; margin-bottom: 0.75rem; }
.founder-byline a { text-decoration: underline; }
.founder-socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.founder-social-icon {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color 0.2s;
}
.founder-social-icon:hover { border-color: rgba(254,44,85,0.3); }
.founder-social-icon svg { opacity: 0.6; }
.founder-links { font-size: 0.8rem; opacity: 0.35; }
.founder-links a { text-decoration: underline; }

/* ── Creator Directory ───────────────────────────────── */
.dir-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.dir-filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  flex-wrap: wrap;
  min-width: 200px;
}
.dir-filter-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  color: inherit;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  min-width: 140px;
}
.dir-filter-select:hover { border-color: rgba(255,255,255,0.25); }
.dir-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.dir-search-wrap:focus-within { border-color: rgba(254,44,85,0.4); }
.dir-search-wrap svg { opacity: 0.4; flex-shrink: 0; }
.dir-search {
  background: none;
  border: none;
  outline: none;
  color: inherit;
  font-size: 0.9rem;
  width: 100%;
  font-family: inherit;
}
.dir-search::placeholder { opacity: 0.35; }
.dir-count {
  font-size: 0.85rem;
  opacity: 0.5;
  white-space: nowrap;
}
.dir-legend {
  font-size: 0.78rem;
  opacity: 0.55;
  margin: 0.5rem 0 1rem;
  line-height: 1.8;
}
.dir-legend .badge-role { margin: 0 0.1rem; }
.dir-empty {
  text-align: center;
  opacity: 0.5;
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

/* Grid */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

/* Card */
.dir-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.dir-card:hover {
  border-color: rgba(254,44,85,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
.dir-card-body { padding: 1rem; flex-grow: 1; }

/* Card header: avatar + name/handle/followers */
.dir-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}
.dir-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.08);
}
.dir-avatar-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  margin: 0 !important;
  display: block;
}
.dir-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  background: linear-gradient(135deg, rgba(254,44,85,0.15), rgba(145,70,255,0.15));
}
.dir-card-info {
  flex: 1;
  min-width: 0;
}
.dir-card-nameline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}
.dir-name {
  font-size: 1.05rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.dir-card-handleline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dir-handle {
  font-size: 0.82rem;
  opacity: 0.6;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.dir-handle:hover { opacity: 1; color: #fe2c55; }
.dir-followers {
  font-size: 0.76rem;
  opacity: 0.5;
  white-space: nowrap;
}
.dir-followers-cc { opacity: 0.35; }
.dir-followers-elo { opacity: 0.4; color: #8b5cf6; font-weight: 600; }
.dir-bio {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-bottom: 0.65rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Socials */
.dir-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.dir-social-link {
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  font-size: 0.76rem;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: border-color 0.2s, background 0.2s;
}
.dir-social-link:hover {
  border-color: rgba(254,44,85,0.3);
  background: rgba(254,44,85,0.05);
}
.dir-social-link svg { opacity: 0.5; flex-shrink: 0; }
.dir-social-link span {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Card actions */
.dir-card-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.btn-detail {
  flex: 1;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: none;
  color: inherit;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-detail:hover { border-color: rgba(254,44,85,0.3); background: rgba(254,44,85,0.05); }

/* Pagination */
.dir-pagination {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.dir-pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.dir-page-btn {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: none;
  color: inherit;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.dir-page-btn:hover:not(.disabled) {
  border-color: rgba(254,44,85,0.3);
  background: rgba(254,44,85,0.05);
}
.dir-page-btn.disabled { opacity: 0.3; cursor: default; }
.dir-page-num {
  min-width: 34px;
  height: 34px;
  padding: 0.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: none;
  color: inherit;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dir-page-num:hover { border-color: rgba(255,255,255,0.2); }
.dir-page-num.active {
  background: rgba(254,44,85,0.15);
  border-color: rgba(254,44,85,0.4);
  color: #fe2c55;
  font-weight: 600;
}
.dir-page-ellipsis {
  color: rgba(255,255,255,0.3);
  padding: 0 0.2rem;
}
.dir-page-info {
  font-size: 0.78rem;
  opacity: 0.4;
}

/* Badges */
.badge-title {
  font-size: 0.72rem;
  padding: 0.12rem 0.4rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.5;
}

/* Role badges — honest creator classification */
.badge-role {
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge-role.role-titled {
  background: rgba(254,44,85,0.18);
  color: #fe2c55;
  border: 1px solid rgba(254,44,85,0.4);
}
.badge-role.role-streamer {
  background: rgba(145,70,255,0.18);
  color: #b794f6;
  border: 1px solid rgba(145,70,255,0.4);
}
.badge-role.role-creator {
  background: rgba(80,200,120,0.15);
  color: #6ee7a0;
  border: 1px solid rgba(80,200,120,0.3);
}
.badge-role.role-unconfirmed {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.45);
  border: 1px dashed rgba(255,255,255,0.2);
}

/* Live tracked chip title */
.live-tracked-chip .chip-title {
  font-size: 0.62rem;
  background: rgba(254,44,85,0.2);
  color: #fe2c55;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  margin-left: 0.25rem;
}

/* ── Detail Modal ────────────────────────────────────── */
.dir-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.dir-modal {
  background: #121212;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  animation: modalFadeIn 0.2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.dir-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.4;
  line-height: 1;
}
.dir-modal-close:hover { opacity: 1; }
.dir-modal-header { margin-bottom: 0.75rem; }
.dir-modal-header h2 { margin: 0; font-size: 1.5rem; }
.dir-modal-realname { opacity: 0.45; margin: 0.15rem 0 0.25rem; }
.dir-modal-bio { opacity: 0.65; margin-bottom: 1.25rem; line-height: 1.5; }
.dir-modal-section { margin-bottom: 1rem; }
.dir-modal-section h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.dir-modal-actions { text-align: center; margin-top: 1rem; }
.dir-modal-hint { font-size: 0.8rem; opacity: 0.4; margin-top: 0.5rem; }

.chess-stats-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.chess-stat {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-flex;
  gap: 0.3rem;
}

/* ── Community linkage widget (propose + vote) ───────── */
.comm-section { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; }
.comm-list { margin-bottom: 1rem; }
.comm-loading, .comm-empty {
  font-size: 0.85rem;
  opacity: 0.5;
  margin: 0.25rem 0 0.75rem;
}
.comm-proposal {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: rgba(255,255,255,0.02);
}
.comm-vote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 2rem;
}
.comm-vote {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem;
  transition: color 0.15s, transform 0.1s;
}
.comm-vote:hover { color: rgba(255,255,255,0.8); transform: scale(1.2); }
.comm-up.voted { color: #6ee7a0; }
.comm-down.voted { color: #fe2c55; }
.comm-net { font-size: 0.9rem; font-weight: 700; }
.comm-prop-body { flex: 1; min-width: 0; }
.comm-chesscom {
  color: #fe2c55;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.comm-chesscom:hover { text-decoration: underline; }
.comm-status {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  white-space: nowrap;
}
.comm-accepted { background: rgba(80,200,120,0.15); color: #6ee7a0; border: 1px solid rgba(80,200,120,0.3); }
.comm-rejected { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); border: 1px dashed rgba(255,255,255,0.2); }
.comm-note { font-size: 0.78rem; opacity: 0.6; margin: 0.25rem 0 0; line-height: 1.4; }

/* Confidence rating bar */
.comm-confidence {
  margin-top: 0.5rem;
}
.comm-confidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.comm-confidence-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.comm-confidence-pct {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.8;
}
.comm-confidence-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.comm-confidence-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease, background 0.3s ease;
}
.comm-hint {
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 0.3rem;
}

.comm-form { display: flex; flex-direction: column; gap: 0.5rem; }
.comm-form-label { font-size: 0.82rem; opacity: 0.7; }
.comm-form-row { display: flex; gap: 0.5rem; }
.comm-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.comm-input:focus { border-color: #fe2c55; }
.comm-note-input { font-size: 0.82rem; }
.comm-submit {
  background: #fe2c55;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
}
.comm-submit:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.comm-submit:disabled { opacity: 0.5; cursor: default; }
.comm-msg { font-size: 0.8rem; margin: 0.15rem 0 0; min-height: 1rem; }
.comm-msg.comm-ok { color: #6ee7a0; }
.comm-msg.comm-err { color: #fe2c55; }
.comm-cta {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  opacity: 0.7;
  text-align: center;
}
.comm-cta-link {
  color: #fe2c55;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.comm-cta-link:hover { text-decoration: underline; }

/* ── Animations ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────── */

/* Live badge on directory cards */
.dir-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #00e676;
  background: rgba(0,230,118,0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.dir-live-badge .live-dot {
  width: 6px;
  height: 6px;
  animation: pulse 1.5s ease infinite;
}
.dir-card-live {
  border-color: rgba(0,230,118,0.3) !important;
  box-shadow: 0 0 12px rgba(0,230,118,0.08);
}

@media (max-width: 640px) {
  .home-hero h1 { font-size: 2rem; }
  .home-hero .hero-sub { font-size: 1rem; }
  .home-hero { padding: 1.5rem 0.75rem 0.75rem; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .cta-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.3rem; }
  .home-hero .stats { gap: 0.75rem; flex-wrap: wrap; }
  .home-hero .stat-number { font-size: 1.1rem; }

  /* Toolbar: stack filters vertically, full width */
  .dir-filter-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .dir-search-wrap { width: 100% !important; }
  .dir-filter-select {
    width: 100% !important;
    font-size: 0.9rem !important;
  }
  .dir-toolbar { padding: 0 !important; }

  /* Cards: compact on mobile */
  .dir-card-body { padding: 0.75rem !important; }
  .dir-avatar { width: 42px !important; height: 42px !important; }
  .dir-name { font-size: 0.95rem !important; max-width: 140px !important; }
  .dir-card-header { gap: 0.6rem !important; margin-bottom: 0.5rem !important; }
  .dir-bio { font-size: 0.8rem !important; -webkit-line-clamp: 2 !important; }
  .dir-socials { gap: 0.35rem !important; }
  .dir-social-link span { display: none !important; } /* icon-only on mobile */
  .dir-card-actions { flex-direction: column !important; gap: 0.4rem !important; }
  .dir-card-actions .btn-challenge,
  .dir-card-actions .btn-detail { width: 100% !important; text-align: center !important; }

  /* Live section */
  .live-grid { grid-template-columns: 1fr !important; }
  .live-card-item { padding: 0.75rem !important; }
  .live-actions { flex-direction: column !important; gap: 0.4rem !important; }
  .live-actions .btn-live-watch,
  .live-actions .btn-challenge { width: 100% !important; text-align: center !important; }
  .live-tracked-grid { gap: 0.3rem !important; }
  .live-tracked-chip { font-size: 0.75rem !important; padding: 0.25rem 0.5rem !important; }

  /* Pagination: bigger touch targets */
  .dir-page-btn, .dir-page-num {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
  }
  .dir-pagination-controls { flex-wrap: wrap; justify-content: center; }

  /* Modal: full-screen on mobile */
  .dir-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  .dir-modal-overlay { padding: 0 !important; }
  .dir-modal-section { padding: 0.75rem !important; }
}

/* ── CTA: Follow on TikTok (multi-angle) ─────────────────── */

/* Challenge a Live Creator — homepage section */
.challenge-live-cta {
  text-align: center;
  padding: 1.5rem 1rem;
}
.btn-challenge-cta {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 2rem;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  border-radius: 12px;
  color: #00e676;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-challenge-cta:hover {
  background: rgba(0,230,118,0.15);
  border-color: rgba(0,230,118,0.5);
  transform: translateY(-2px);
}

/* Challengeable live card — highlighted */
.live-card-challengeable {
  border-color: rgba(0,230,118,0.3) !important;
  box-shadow: 0 0 12px rgba(0,230,118,0.06);
}
.btn-challenge-live {
  background: rgba(0,230,118,0.15) !important;
  border-color: rgba(0,230,118,0.4) !important;
  color: #00e676 !important;
  font-weight: 700;
  animation: pulse 2s ease infinite;
}
.dir-not-challengeable {
  font-size: 0.78rem;
  opacity: 0.4;
  font-style: italic;
  padding: 0.3rem 0.5rem;
}

/* Mission banner — above Get Featured */
.mission-banner {
  text-align: center;
  padding: 1.25rem 1.5rem;
  margin: 0.5rem 0 1rem;
}
.mission-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0D9488;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.mission-text {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto;
}
.mission-text strong {
  color: #fff;
  opacity: 1;
}
@media (max-width: 600px) {
  .mission-title { font-size: 1.25rem; }
  .mission-text { font-size: 0.88rem; }
}

/* Follow CTA on featured cards */
.follow-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.follow-count {
  font-size: 0.75rem;
  opacity: 0.55;
  white-space: nowrap;
}
.btn-follow-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  background: rgba(254,44,85,0.1);
  border: 1px solid rgba(254,44,85,0.3);
  border-radius: 8px;
  color: #fe2c55 !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-follow-cta:hover {
  background: rgba(254,44,85,0.2);
  border-color: #fe2c55;
}
.btn-follow-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Get Featured banner — top of page, unmissable */
.cta-get-featured {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem 0 1rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid #0D9488;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(13,148,136,0.03));
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-get-featured:hover {
  border-color: #0D9488;
  box-shadow: 0 0 20px rgba(13,148,136,0.15);
}
.cta-gf-icon {
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0D9488;
  white-space: nowrap;
}
.cta-gf-body {
  flex: 1;
}
.cta-gf-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.cta-gf-body p {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  opacity: 0.9;
  line-height: 1.45;
}
.cta-gf-body p strong {
  opacity: 1;
  color: #0D9488;
}
.cta-gf-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: #0D9488;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.cta-gf-btn:hover {
  background: #0a766c;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .cta-get-featured {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  .cta-gf-icon { font-size: 1.5rem; }
  .cta-gf-body h3 { font-size: 1.1rem; }
}

/* Angle 4: "First Dibs" — small line after featured grid */
.cta-first-dibs {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 0.5rem;
  text-align: center;
}
.cta-first-dibs a {
  color: #fe2c55;
  text-decoration: none;
  font-weight: 600;
}
.cta-first-dibs a:hover { text-decoration: underline; }

/* Challenge banner — matches Get Featured style, chess green accent */
.cta-challenge-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem 0 1rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid #00e676;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,230,118,0.08), rgba(0,230,118,0.03));
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-challenge-banner:hover {
  border-color: #00e676;
  box-shadow: 0 0 20px rgba(0,230,118,0.15);
}
.cta-ch-icon {
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: #00e676;
  white-space: nowrap;
}
.cta-ch-body { flex: 1; }
.cta-ch-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.cta-ch-body p {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  opacity: 0.9;
  line-height: 1.45;
}
.cta-ch-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: #00e676;
  color: #0a0a0a !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.cta-ch-btn:hover {
  background: #00c853;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .cta-challenge-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  .cta-ch-icon { font-size: 1.5rem; }
  .cta-ch-body h3 { font-size: 1.1rem; }
}
.build-with-me {
  text-align: center;
  padding: 1.5rem 1rem;
}

/* Discord CTA */
.discord-cta {
  padding: 0;
}
.discord-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 2px solid #5865F2;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(88,101,242,0.1), rgba(88,101,242,0.04));
  transition: box-shadow 0.2s;
}
.discord-cta-inner:hover {
  box-shadow: 0 0 24px rgba(88,101,242,0.2);
}
.discord-cta-left { flex: 1; }
.discord-cta-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.discord-cta-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.45;
  margin: 0;
}
.discord-cta-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
.discord-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: #5865F2;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.discord-btn-main:hover {
  background: #4752C4;
  transform: translateY(-1px);
}
.discord-btn-alt {
  font-size: 0.78rem;
  color: #99AAB5 !important;
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}
.discord-btn-alt:hover { color: #fff !important; }
@media (max-width: 640px) {
  .discord-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }
  .discord-cta-title { font-size: 1.1rem; justify-content: center; }
  .discord-cta-desc { font-size: 0.85rem; }
}
.bwm-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.bwm-text {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}
.bwm-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.bwm-cta:hover {
  border-color: #fe2c55;
  background: rgba(254,44,85,0.08);
  transform: translateY(-1px);
}

/* Angle 1: "The Curator" — footer tagline */
.curator-tagline {
  font-size: 0.82rem;
  opacity: 0.5;
  margin: 0.4rem 0 0.75rem;
  font-style: italic;
}
.curator-tagline a {
  color: #fe2c55;
  text-decoration: none;
  font-weight: 600;
  font-style: normal;
}
.curator-tagline a:hover { text-decoration: underline; }

/* Mobile adjustments for CTAs */
@media (max-width: 640px) {
  .cta-feature-banner { padding: 0.6rem 0.75rem; margin: 0.5rem 0 1rem; }
  .cta-feature-text { font-size: 0.8rem; }
  .build-with-me { padding: 1rem 0.75rem; }
  .bwm-title { font-size: 1.05rem; }
  .bwm-text { font-size: 0.85rem; }
  .bwm-cta { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .curator-tagline { font-size: 0.75rem; }
  .cta-first-dibs { font-size: 0.75rem; }
  .challenge-live-cta { padding: 1rem 0.75rem; }
  .btn-challenge-cta { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
}

/* Very small screens (≤400px) — TikTok app webview typical */
@media (max-width: 400px) {
  .home-hero h1 { font-size: 1.65rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .home-hero .stats { gap: 0.5rem; }
  .home-hero .stat-number { font-size: 1rem; }
  .dir-grid { grid-template-columns: 1fr; }
}
