/* 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-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; }
.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 ───────────────────────────────────────── */
@media (max-width: 640px) {
  .home-hero h1 { font-size: 2.25rem; }
  .home-hero .hero-sub { font-size: 1.1rem; }
  .home-hero { padding: 2rem 0.75rem 1rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .home-hero .stats { gap: 1rem; }
  .home-hero .stat-number { font-size: 1.25rem; }
}
