/* EBONY STORE — Community styles */
.community-wrap { max-width: 1080px; padding-bottom: 40px; }

.community-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 18px 0 4px;
}
.community-top h1 { margin: 0 0 2px; font-size: 24px; }

.community-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px; margin-top: 12px;
}
@media (max-width: 900px) { .community-grid { grid-template-columns: 1fr; } }

.crow-side { display: flex; flex-direction: column; gap: 16px; }

.crow-input {
  width: 100%; background: #141414; border: 1px solid #333; border-radius: 10px;
  color: var(--text); padding: 10px 12px; font: inherit; resize: vertical;
}
.crow-compose-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.upload-label { cursor: pointer; }

.crow-feed { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }

.crow-post { background: var(--bg-card); border: 1px solid #2a2a2a; border-radius: 14px; padding: 14px; }
.crow-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.crow-post-by { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.crow-del { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; opacity: .7; }
.crow-del:hover { opacity: 1; color: var(--accent); }
.crow-post-text { white-space: pre-wrap; margin-bottom: 8px; word-break: break-word; }
.crow-post-video { width: 100%; max-height: 420px; border-radius: 10px; background: #000; }

.crow-ident { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.crow-name { color: var(--text); }
.crow-verified {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: #1d9bf0; border-radius: 50%;
  width: 16px; height: 16px; font-size: 11px; line-height: 1;
}
.crow-model-badge {
  font-size: 10px; letter-spacing: .5px; padding: 1px 6px; border-radius: 99px;
  background: var(--accent); color: #fff; font-weight: 800;
}
.crow-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.crow-avatar-ph {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #412, #111); color: var(--accent); font-size: 18px;
}

.crow-msg { padding: 6px 8px; border-bottom: 1px solid #222; }
.crow-msg:hover { background: #1d1d1d; }
.crow-msg-text { color: var(--text); margin: 0 6px; }
.crow-msgs {
  height: 300px; overflow-y: auto; background: #141414; border-radius: 10px;
  padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.crow-chat-input { display: flex; gap: 8px; margin-top: 10px; }
.crow-chat-input input { flex: 1; background: #141414; border: 1px solid #333; border-radius: 10px; color: var(--text); padding: 9px 12px; }

.crow-live-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #222; }
.crow-live-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; flex: none;
  box-shadow: 0 0 8px #ff3b30; animation: cm-pulse 1.4s infinite;
}
@keyframes cm-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.crow-live-info { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.crow-live-title { color: var(--text-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow-live-locked { text-align: center; padding: 8px 0; }
.crow-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.crow-code {
  display: block; background: #0c0c0c; padding: 8px 10px; border-radius: 8px;
  margin: 6px 0; word-break: break-all; font-size: 12px;
}
.crow-me-box { display: flex; align-items: center; gap: 12px; }
.crow-me-info { display: flex; flex-direction: column; gap: 4px; }
.crow-me-btns { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }

.crow-modal { max-width: 480px; width: 94%; }
.crow-modal-x { margin-top: 14px; width: 100%; }
.crow-pay { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }

.ai-reply { margin-top: 10px; background: #131313; border: 1px solid #2a2a2a; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.55; word-break: break-word; }
.ai-reply code { background: #000; padding: 1px 5px; border-radius: 5px; }
.crow-more { width: 100%; margin-top: 12px; }

.cm-toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 99px;
  font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 999;
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.cm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.footer { padding: 24px; text-align: center; color: var(--text-muted); font-size: 13px; }