/* ═══════════════════════════════════════════════════════════════
   ATLAS SOCIAL — social.css
   Community feed, profiles, follow system
   ═══════════════════════════════════════════════════════════════ */

/* ── COMMUNITY PAGE ─────────────────────────────────────────── */
#community-view {
  display: none;
  min-height: 100vh;
  padding-top: 64px;
  background: var(--bg);
}

#community-view.active { display: block; }

.community-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .community-layout {
    grid-template-columns: 1fr;
    padding: 20px 16px 80px;
  }
  .community-sidebar-left,
  .community-sidebar-right { display: none; }
}

/* ── COMMUNITY HEADER ───────────────────────────────────────── */
.community-header {
  background: linear-gradient(135deg, var(--bg2) 0%, rgba(168,85,247,0.08) 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.community-header-title {
  font-family: var(--ff-bebas);
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
}

.community-header-title span {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-header-stats {
  display: flex;
  gap: 28px;
}

.community-header-stat {
  text-align: center;
}

.community-header-stat-num {
  font-family: var(--ff-bebas);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--cyan);
  line-height: 1;
}

.community-header-stat-label {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .community-header { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
  .community-header-title { font-size: 26px; }
  .community-header-stats { gap: 16px; }
}

/* ── FEED TABS ──────────────────────────────────────────────── */
.feed-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.feed-tab {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  padding: 12px 18px;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  text-transform: uppercase;
}

.feed-tab:hover { color: var(--text); }
.feed-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ── POST COMPOSER ──────────────────────────────────────────── */
.post-composer {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.post-composer-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.post-composer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-bebas);
  font-size: 18px;
  color: #0a0e1a;
  flex-shrink: 0;
  overflow: hidden;
}

.post-composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.post-composer-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--ff-raj);
  font-size: 14px;
  resize: none;
  min-height: 72px;
  max-height: 200px;
  transition: border-color .2s;
  width: 100%;
}

.post-composer-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.post-composer-input::placeholder { color: var(--muted); }

.post-composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.post-composer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.post-tag-btn {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
}

.post-tag-btn:hover,
.post-tag-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,201,255,0.06);
}

.post-tag-btn.pair-tag.active { border-color: var(--green); color: var(--green); background: rgba(0,255,136,0.06); }
.post-tag-btn.session-tag.active { border-color: var(--orange); color: var(--orange); background: rgba(255,136,0,0.06); }

.post-composer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.post-image-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
}

.post-image-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.post-submit-btn {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: #0a0e1a;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: opacity .2s;
  text-transform: uppercase;
}

.post-submit-btn:hover { opacity: .85; }
.post-submit-btn:disabled { opacity: .4; cursor: not-allowed; }

.post-char-count {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--muted);
}

.post-char-count.warning { color: var(--orange); }
.post-char-count.danger { color: var(--red); }

/* ── IMAGE PREVIEW IN COMPOSER ──────────────────────────────── */
.composer-image-preview {
  margin-top: 10px;
  position: relative;
  display: inline-block;
}

.composer-image-preview img {
  max-height: 160px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.composer-image-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── FEED POSTS ─────────────────────────────────────────────── */
.feed-post {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
  transition: border-color .2s;
  animation: postFadeIn .3s ease;
}

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

.feed-post:hover { border-color: var(--border2); }

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

.feed-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-bebas);
  font-size: 18px;
  color: #0a0e1a;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .2s;
  overflow: hidden;
}

.feed-post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.feed-post-avatar:hover { transform: scale(1.06); }

.feed-post-meta { flex: 1; }

.feed-post-name {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
}

.feed-post-name:hover { color: var(--cyan); }

.feed-post-time {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.feed-post-tags {
  display: flex;
  gap: 6px;
}

.feed-post-tag {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.feed-post-tag.pair { background: rgba(0,255,136,0.08); color: var(--green); border: 1px solid rgba(0,255,136,0.2); }
.feed-post-tag.session { background: rgba(255,136,0,0.08); color: var(--orange); border: 1px solid rgba(255,136,0,0.2); }

.feed-post-content {
  font-family: var(--ff-raj);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.feed-post-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  cursor: pointer;
  transition: opacity .2s;
}

.feed-post-image:hover { opacity: .92; }

.feed-post-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .2s;
}

.post-action-btn:hover { background: var(--bg3); color: var(--text); }
.post-action-btn.reacted { color: var(--cyan); }
.post-action-btn.reacted .post-action-icon { filter: drop-shadow(0 0 4px var(--cyan)); }

.post-action-icon { font-size: 14px; }

.post-action-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 4px;
}

.post-action-more {
  margin-left: auto;
  padding: 6px 8px;
  border-radius: 6px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  transition: all .2s;
}

.post-action-more:hover { background: var(--bg3); color: var(--text); }

/* ── COMMENTS ───────────────────────────────────────────────── */
.post-comments-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: none;
}

.post-comments-section.open { display: block; }

.post-comment {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  animation: postFadeIn .2s ease;
}

.post-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-bebas);
  font-size: 13px;
  color: #0a0e1a;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
}

.post-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.post-comment-body {
  flex: 1;
  background: var(--bg3);
  border-radius: 8px;
  padding: 8px 12px;
}

.post-comment-name {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 4px;
  cursor: pointer;
}

.post-comment-text {
  font-family: var(--ff-raj);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.post-comment-time {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.post-comment-input-wrap {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.post-comment-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-family: var(--ff-raj);
  font-size: 13px;
  transition: border-color .2s;
}

.post-comment-input:focus { outline: none; border-color: var(--cyan); }
.post-comment-input::placeholder { color: var(--muted); }

.post-comment-submit {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cyan);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
}

.post-comment-submit:hover { background: rgba(0,201,255,0.1); border-color: var(--cyan); }

/* ── FEED EMPTY / LOADING ───────────────────────────────────── */
.feed-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 1px;
}

.feed-empty-icon { font-size: 40px; margin-bottom: 12px; opacity: .4; }

.feed-loading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feed-skeleton {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  animation: skeletonPulse 1.4s ease infinite;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

.skeleton-line {
  height: 10px;
  background: var(--bg3);
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.full { width: 100%; }

/* ── SIDEBAR WIDGETS ────────────────────────────────────────── */
.community-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.community-widget-title {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.suggested-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .2s;
}

.suggested-user:last-child { border-bottom: none; }
.suggested-user:hover { opacity: .8; }

.suggested-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-bebas);
  font-size: 16px;
  color: #0a0e1a;
  flex-shrink: 0;
  overflow: hidden;
}

.suggested-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.suggested-info { flex: 1; overflow: hidden; }

.suggested-name {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggested-meta {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}

.suggested-follow-btn {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--cyan);
  background: none;
  color: var(--cyan);
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
  text-transform: uppercase;
}

.suggested-follow-btn:hover { background: rgba(0,201,255,0.1); }
.suggested-follow-btn.following { border-color: var(--border); color: var(--muted); }
.suggested-follow-btn.following:hover { border-color: var(--red); color: var(--red); }

/* ── PROFILE PANEL ──────────────────────────────────────────── */
.profile-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(4px);
}

.profile-panel-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.profile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 501;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.profile-panel.open { transform: translateX(0); }

.profile-panel-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all .2s;
  z-index: 2;
}

.profile-panel-close:hover { border-color: var(--cyan); color: var(--cyan); }

/* Profile header banner */
.profile-banner {
  height: 120px;
  background: linear-gradient(135deg, rgba(0,201,255,0.2), rgba(168,85,247,0.3));
  position: relative;
  flex-shrink: 0;
}

.profile-banner-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .3;
}

.profile-avatar-wrap {
  position: absolute;
  bottom: -28px;
  left: 24px;
}

.profile-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: 3px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-bebas);
  font-size: 32px;
  color: #0a0e1a;
  overflow: hidden;
}

.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-panel-body {
  padding: 44px 24px 24px;
  flex: 1;
}

.profile-panel-name {
  font-family: var(--ff-bebas);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.profile-panel-bio {
  font-family: var(--ff-raj);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.profile-panel-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.profile-stat {
  text-align: center;
  cursor: pointer;
  transition: opacity .2s;
}

.profile-stat:hover { opacity: .7; }

.profile-stat-num {
  font-family: var(--ff-bebas);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1;
}

.profile-stat-label {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.profile-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.profile-tag {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(0,201,255,0.06);
  color: var(--cyan);
  border: 1px solid rgba(0,201,255,0.2);
  text-transform: uppercase;
}

.profile-tag.strat {
  background: rgba(168,85,247,0.06);
  color: var(--purple);
  border-color: rgba(168,85,247,0.2);
}

.profile-follow-btn {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: #0a0e1a;
  cursor: pointer;
  font-weight: 700;
  transition: opacity .2s;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.profile-follow-btn:hover { opacity: .85; }

.profile-follow-btn.following {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
}

.profile-follow-btn.following:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Profile posts inside panel */
.profile-panel-section-title {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.profile-mini-post {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .2s;
}

.profile-mini-post:hover { border-color: var(--border2); }

.profile-mini-post-text {
  font-family: var(--ff-raj);
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-mini-post-meta {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 12px;
}

/* ── OWN PROFILE EDIT PANEL ─────────────────────────────────── */
.own-profile-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.profile-edit-field {
  margin-bottom: 14px;
}

.profile-edit-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.profile-edit-input,
.profile-edit-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--text);
  font-family: var(--ff-raj);
  font-size: 13px;
  transition: border-color .2s;
  box-sizing: border-box;
}

.profile-edit-input:focus,
.profile-edit-textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.profile-edit-textarea { min-height: 80px; resize: vertical; }

.profile-avatar-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-avatar-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-bebas);
  font-size: 26px;
  color: #0a0e1a;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-upload-btn {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
}

.avatar-upload-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.profile-save-btn {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: #0a0e1a;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: opacity .2s;
  text-transform: uppercase;
  width: 100%;
}

.profile-save-btn:hover { opacity: .85; }
.profile-save-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── REPORT MODAL ───────────────────────────────────────────── */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.report-modal-overlay.open { opacity: 1; pointer-events: all; }

.report-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: 360px;
  max-width: 90vw;
  transform: translateY(10px);
  transition: transform .2s;
}

.report-modal-overlay.open .report-modal { transform: translateY(0); }

.report-modal-title {
  font-family: var(--ff-bebas);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 16px;
}

.report-reason-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text);
  font-family: var(--ff-raj);
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all .2s;
}

.report-reason-btn:hover { border-color: var(--cyan); background: rgba(0,201,255,0.04); }
.report-reason-btn.selected { border-color: var(--cyan); background: rgba(0,201,255,0.08); color: var(--cyan); }

.report-submit-btn {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 10px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
  margin-top: 8px;
  transition: opacity .2s;
  text-transform: uppercase;
}

.report-submit-btn:hover { opacity: .85; }

.report-cancel-btn {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 8px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  width: 100%;
  margin-top: 6px;
  transition: all .2s;
  text-transform: uppercase;
}

.report-cancel-btn:hover { border-color: var(--text); color: var(--text); }

/* ── IMAGE LIGHTBOX ─────────────────────────────────────────── */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  cursor: zoom-out;
}

.image-lightbox.open { opacity: 1; pointer-events: all; }

.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* ── BANNED / READONLY NOTICE ───────────────────────────────── */
.community-ban-notice {
  background: rgba(255,68,102,0.08);
  border: 1px solid rgba(255,68,102,0.3);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--red);
  line-height: 1.6;
}

.community-readonly-notice {
  background: rgba(255,136,0,0.08);
  border: 1px solid rgba(255,136,0,0.3);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--orange);
  line-height: 1.6;
}

/* ── LOAD MORE ──────────────────────────────────────────────── */
.feed-load-more {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all .2s;
  text-transform: uppercase;
}

.feed-load-more:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── MOBILE COMMUNITY ───────────────────────────────────────── */
@media (max-width: 768px) {
  .profile-panel { width: 100%; }
  .post-composer-tags { display: none; }
  .community-header-stats { display: none; }
}
