/* ===== 共创实验室 · COLLAB LAB 共享样式 ===== */

:root {
  --collab-bg: #0d0f12;
  --collab-bg2: #14171c;
  --collab-bg3: #1a1e24;
  --collab-border: rgba(230,233,236,.08);
  --collab-text: #e6e9ec;
  --collab-text2: rgba(230,233,236,.6);
  --collab-text3: rgba(230,233,236,.35);
  --collab-brand: #5FE3C0;
  --collab-brand-dim: rgba(95,227,192,.15);
  --collab-lyrics: #FF8C42;
  --collab-melody: #C8F562;
  --collab-arrange: #8B7CF6;
  --collab-mixing: #5FE3C0;
  --collab-radius: 12px;
  --collab-radius-lg: 18px;
}

.collab-page {
  background: var(--collab-bg);
  color: var(--collab-text);
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  min-height: 100vh;
}

.collab-page .grain { display: none; }

/* ===== 顶部导航 ===== */
.collab-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(13,15,18,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--collab-border);
}
.collab-nav-left { display: flex; align-items: center; gap: 12px; }
.collab-logo {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle, var(--collab-brand) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.collab-logo::before {
  content: ''; position: absolute; inset: 4px;
  border-radius: 50%; border: 2px solid var(--collab-brand);
  border-top-color: var(--collab-lyrics);
  border-right-color: var(--collab-melody);
  border-bottom-color: var(--collab-arrange);
}
.collab-logo-text strong {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600;
  display: block; line-height: 1.1;
}
.collab-logo-text em {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  color: var(--collab-text3); letter-spacing: 2px; font-style: normal;
}
.collab-nav-center { display: flex; gap: 6px; }
.collab-filter-btn {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--collab-border);
  background: transparent; color: var(--collab-text2); font-size: 13px;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.collab-filter-btn:hover { border-color: var(--collab-brand); color: var(--collab-text); }
.collab-filter-btn.active {
  background: var(--collab-brand); color: #0d0f12; border-color: var(--collab-brand);
  font-weight: 600;
}
.collab-nav-right { display: flex; align-items: center; gap: 14px; }
.collab-back {
  color: var(--collab-text3); font-size: 13px; text-decoration: none;
  transition: color .2s;
}
.collab-back:hover { color: var(--collab-brand); }
.collab-btn-primary {
  padding: 9px 22px; border-radius: 22px; border: none;
  background: linear-gradient(135deg, var(--collab-brand), #3dd4a8);
  color: #0d0f12; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: transform .15s, box-shadow .2s;
}
.collab-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(95,227,192,.3); }
.collab-btn-ghost {
  padding: 9px 22px; border-radius: 22px; border: 1px solid var(--collab-border);
  background: transparent; color: var(--collab-text); font-size: 14px;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.collab-btn-ghost:hover { border-color: var(--collab-brand); color: var(--collab-brand); }

/* ===== Hero ===== */
.collab-hero {
  padding: 70px 40px 50px;
  position: relative; overflow: hidden;
}
.collab-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 72% 8%, rgba(95,227,192,.09), transparent 65%),
    radial-gradient(620px 420px at 8% 82%, rgba(255,140,66,.07), transparent 65%),
    radial-gradient(500px 320px at 95% 90%, rgba(139,124,246,.06), transparent 65%);
  animation: collabGlowBreath 6s ease-in-out infinite;
}
@keyframes waveMove { 0% { transform: translateY(0); } 100% { transform: translateY(30px); } }
.collab-hero-title {
  font-family: 'Fraunces', 'Noto Serif SC', serif;
  font-size: 56px; font-weight: 600; line-height: 1.15;
  margin-bottom: 16px; position: relative;
}
.collab-hero-title .accent-orange { color: var(--collab-lyrics); }
.collab-hero-title .accent-green { color: var(--collab-brand); }
.collab-hero-sub {
  font-size: 16px; color: var(--collab-text2); margin-bottom: 36px;
  position: relative;
}
.collab-hero-stats { display: flex; gap: 16px; position: relative; }
.collab-stat-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--collab-border);
  border-radius: var(--collab-radius); padding: 18px 28px;
  backdrop-filter: blur(10px);
}
.collab-stat-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 32px; font-weight: 600;
  color: var(--collab-brand);
}
.collab-stat-label { font-size: 12px; color: var(--collab-text3); margin-top: 4px; }

/* ===== 项目网格 ===== */
.collab-section { padding: 30px 40px 60px; }
.collab-section-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
.collab-section-title {
  font-family: 'Fraunces', 'Noto Serif SC', serif; font-size: 22px; font-weight: 600;
}
.collab-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.collab-card {
  background: var(--collab-bg2); border: 1px solid var(--collab-border);
  border-radius: var(--collab-radius-lg); overflow: hidden;
  cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.collab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border-color: rgba(95,227,192,.2);
}
.collab-card-cover {
  height: 140px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.collab-card-cover .big-char {
  font-family: 'Fraunces', serif; font-size: 64px; font-weight: 600;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.collab-card-body { padding: 16px; }
.collab-card-title {
  font-size: 16px; font-weight: 600; margin-bottom: 6px;
  font-family: 'Noto Serif SC', serif;
}
.collab-card-tags {
  display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap;
}
.collab-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 10px;
  background: rgba(255,255,255,.05); color: var(--collab-text2);
}
.collab-phase-dots { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; }
.collab-phase-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.collab-phase-dot.done-lyrics { background: var(--collab-lyrics); }
.collab-phase-dot.done-melody { background: var(--collab-melody); }
.collab-phase-dot.done-arrange { background: var(--collab-arrange); }
.collab-phase-dot.done-mixing { background: var(--collab-mixing); }
.collab-phase-dot.active { animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.collab-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--collab-text3);
}
.collab-card-captain { display: flex; align-items: center; gap: 6px; }
.collab-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--collab-bg3); display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--collab-text2);
}
.collab-status-badge {
  font-size: 11px; padding: 3px 10px; border-radius: 10px; font-weight: 500;
}
.collab-status-open { background: rgba(255,140,66,.15); color: var(--collab-lyrics); }
.collab-status-voting { background: rgba(200,245,98,.15); color: var(--collab-melody); }
.collab-status-producing { background: rgba(139,124,246,.15); color: var(--collab-arrange); }
.collab-status-done { background: rgba(95,227,192,.15); color: var(--collab-brand); }

/* ===== 首页入口通栏 ===== */
.collab-entry {
  margin: 40px auto; max-width: 1200px;
  background: linear-gradient(135deg, #14171c 0%, #1a1e24 100%);
  border: 1px solid var(--collab-border);
  border-radius: var(--collab-radius-lg);
  padding: 44px 48px;
  display: flex; align-items: center; gap: 40px;
  position: relative; overflow: hidden;
}
.collab-entry::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(520px 300px at 92% 0%, rgba(95,227,192,.08), transparent 65%),
    radial-gradient(420px 280px at 4% 100%, rgba(139,124,246,.07), transparent 65%);
  animation: collabGlowBreath 7s ease-in-out infinite;
}
.collab-entry-left { flex: 6; position: relative; z-index: 1; }
.collab-entry-right { flex: 4; position: relative; z-index: 1; }
.collab-entry-label {
  display: inline-block; padding: 4px 14px; border-radius: 12px;
  background: var(--collab-brand-dim); color: var(--collab-brand);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px;
  margin-bottom: 14px;
}
.collab-entry-title {
  font-family: 'Fraunces', 'Noto Serif SC', serif;
  font-size: 42px; font-weight: 600; line-height: 1.2; margin-bottom: 10px;
}
.collab-entry-title .gradient {
  background: linear-gradient(90deg, var(--collab-lyrics), var(--collab-brand));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.collab-entry-sub { font-size: 15px; color: var(--collab-text2); margin-bottom: 20px; }
.collab-entry-stats { display: flex; gap: 24px; margin-bottom: 24px; }
.collab-entry-stat .num {
  font-family: 'IBM Plex Mono', monospace; font-size: 24px; font-weight: 600;
  color: var(--collab-brand);
}
.collab-entry-stat .label { font-size: 12px; color: var(--collab-text3); }
.collab-entry-btns { display: flex; gap: 12px; }
.collab-entry-cards {
  display: flex; gap: -10px; justify-content: flex-end;
}
.collab-entry-card {
  width: 130px; background: var(--collab-bg3); border-radius: 12px;
  overflow: hidden; border: 1px solid var(--collab-border);
  transition: transform .2s;
}
.collab-entry-card:hover { transform: translateY(-3px); }
.collab-entry-card + .collab-entry-card { margin-left: -20px; }
.collab-entry-card-cover {
  height: 80px; display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 32px; color: rgba(255,255,255,.9);
}
.collab-entry-card-body { padding: 8px 10px; }
.collab-entry-card-title { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.collab-entry-card-meta { font-size: 10px; color: var(--collab-text3); }
.collab-entry-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    var(--collab-lyrics) 0%, var(--collab-lyrics) 25%,
    var(--collab-melody) 25%, var(--collab-melody) 50%,
    var(--collab-arrange) 50%, var(--collab-arrange) 75%,
    var(--collab-mixing) 75%, var(--collab-mixing) 100%);
}

/* ===== 项目详情页 ===== */
.collab-detail { padding-bottom: 60px; }
.collab-detail-head {
  padding: 30px 40px 24px;
  border-bottom: 1px solid var(--collab-border);
}
.collab-detail-back {
  color: var(--collab-text3); font-size: 13px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
}
.collab-detail-back:hover { color: var(--collab-brand); }
.collab-detail-title-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.collab-detail-title {
  font-family: 'Fraunces', 'Noto Serif SC', serif;
  font-size: 36px; font-weight: 600;
}
.collab-detail-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--collab-text2); }
.collab-detail-members { display: flex; align-items: center; gap: 8px; }
.collab-member-avatars { display: flex; }
.collab-member-avatars .collab-avatar {
  width: 28px; height: 28px; border: 2px solid var(--collab-bg);
  margin-left: -8px; font-size: 12px;
}
.collab-member-avatars .collab-avatar:first-child { margin-left: 0; }
.collab-phase-bar {
  display: flex; align-items: center; gap: 0; margin-top: 20px;
}
.collab-phase-node {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 80px;
}
.collab-phase-circle {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  border: 2px solid rgba(255,255,255,.15);
  color: var(--collab-text3); background: var(--collab-bg2);
}
.collab-phase-node.done .collab-phase-circle {
  background: var(--collab-brand); border-color: var(--collab-brand); color: #0d0f12;
}
.collab-phase-node.active .collab-phase-circle {
  border-color: var(--collab-lyrics); color: var(--collab-lyrics);
  animation: pulse 1.5s ease-in-out infinite;
}
.collab-phase-label { font-size: 12px; color: var(--collab-text3); }
.collab-phase-node.active .collab-phase-label { color: var(--collab-lyrics); font-weight: 600; }
.collab-phase-node.done .collab-phase-label { color: var(--collab-brand); }
.collab-phase-line {
  flex: 1; height: 2px; background: rgba(255,255,255,.1);
  margin: 0 8px; margin-bottom: 22px;
}
.collab-phase-line.done { background: var(--collab-brand); }

.collab-detail-body {
  display: flex; gap: 24px; padding: 24px 40px;
  max-width: 1400px; margin: 0 auto;
}
.collab-detail-main { flex: 7; min-width: 0; }
.collab-detail-sidebar { flex: 3; min-width: 300px; }

.collab-plan-card {
  background: var(--collab-bg2); border: 1px solid var(--collab-border);
  border-radius: var(--collab-radius); padding: 20px; margin-bottom: 20px;
}
.collab-plan-card h3 {
  font-size: 14px; font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.collab-plan-row {
  font-size: 13px; color: var(--collab-text2); margin-bottom: 8px;
  line-height: 1.6;
}
.collab-plan-row strong { color: var(--collab-text); margin-right: 8px; }

/* 片段位卡片 */
.collab-slot {
  background: var(--collab-bg2); border: 1px solid var(--collab-border);
  border-radius: var(--collab-radius); margin-bottom: 14px; overflow: hidden;
  transition: border-color .2s;
}
.collab-slot.open { border-color: rgba(255,140,66,.3); }
.collab-slot.selected { border-color: rgba(95,227,192,.3); }
.collab-slot.locked { border-color: rgba(255,255,255,.06); opacity: .7; }
.collab-slot.skipped { border-color: rgba(255,255,255,.08); opacity: .6; background: rgba(255,255,255,.02); }
.collab-skip-btn {
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: rgba(255,255,255,.75);
  border-radius: 8px; padding: 8px 14px; font-size: 12.5px; cursor: pointer; transition: all .2s;
}
.collab-skip-btn:hover { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.4); color: #FF8B8B; }
.collab-slot-head {
  padding: 16px 20px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.collab-slot-name {
  font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.collab-slot-desc { font-size: 12px; color: var(--collab-text3); margin-top: 4px; }
.collab-slot-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--collab-text3); }
.collab-slot-body { padding: 0 20px 20px; border-top: 1px solid var(--collab-border); }
.collab-submission {
  padding: 14px 0; border-bottom: 1px solid var(--collab-border);
  display: flex; gap: 14px;
}
.collab-submission:last-child { border-bottom: none; }
.collab-sub-info { flex: 1; min-width: 0; }
.collab-sub-user {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  margin-bottom: 8px;
}
.collab-sub-text {
  font-size: 14px; color: var(--collab-text); line-height: 1.7;
  white-space: pre-wrap; word-break: break-word;
}
.collab-sub-attachments { display: flex; gap: 8px; margin-top: 8px; }
.collab-sub-attach {
  font-size: 11px; padding: 3px 10px; border-radius: 8px;
  background: rgba(255,255,255,.05); color: var(--collab-text3);
}
.collab-sub-vote {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 60px;
}
.collab-vote-count {
  font-family: 'IBM Plex Mono', monospace; font-size: 20px; font-weight: 600;
  color: var(--collab-lyrics);
}
.collab-vote-btn {
  padding: 5px 14px; border-radius: 14px; border: 1px solid var(--collab-lyrics);
  background: transparent; color: var(--collab-lyrics); font-size: 12px;
  cursor: pointer; font-family: inherit; transition: all .2s; white-space: nowrap;
}
.collab-vote-btn:hover { background: rgba(255,140,66,.1); }
.collab-vote-btn.voted {
  background: var(--collab-lyrics); color: #0d0f12; font-weight: 600;
}
.collab-vote-btn.collab-reject-btn {
  border-color: rgba(255,107,107,.55); color: #FF6B6B;
}
.collab-vote-btn.collab-reject-btn:hover { background: rgba(255,107,107,.1); }
.collab-submit-area {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--collab-border);
}
.collab-submit-area textarea {
  width: 100%; min-height: 80px; padding: 12px; border-radius: 8px;
  background: var(--collab-bg); border: 1px solid var(--collab-border);
  color: var(--collab-text); font-size: 14px; font-family: inherit;
  resize: vertical; box-sizing: border-box;
}
.collab-submit-area textarea:focus { outline: none; border-color: var(--collab-lyrics); }
.collab-submit-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.collab-upload-btns { display: flex; gap: 8px; }
.collab-upload-btn {
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--collab-border);
  background: transparent; color: var(--collab-text2); font-size: 12px;
  cursor: pointer; font-family: inherit;
}
.collab-upload-btn:hover { border-color: var(--collab-brand); color: var(--collab-brand); }
.collab-submit-btn {
  padding: 8px 24px; border-radius: 18px; border: none;
  background: var(--collab-lyrics); color: #0d0f12; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: inherit;
}
.collab-selected-content {
  padding: 14px 0; font-size: 14px; line-height: 1.7; color: var(--collab-text);
}
.collab-selected-user {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--collab-brand); margin-bottom: 8px; font-weight: 500;
}

/* 侧边栏 */
.collab-sidebar-card {
  background: var(--collab-bg2); border: 1px solid var(--collab-border);
  border-radius: var(--collab-radius); padding: 18px; margin-bottom: 16px;
}
.collab-sidebar-card h3 {
  font-size: 14px; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.collab-member-item {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
  font-size: 13px;
}
.collab-member-item .role {
  font-size: 10px; padding: 2px 8px; border-radius: 8px;
  background: var(--collab-brand-dim); color: var(--collab-brand);
}
.collab-chat {
  display: flex; flex-direction: column; height: 360px;
}
.collab-chat-messages {
  flex: 1; overflow-y: auto; padding: 8px 0;
}
.collab-chat-msg { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.collab-chat-msg.me { flex-direction: row-reverse; }
.collab-chat-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; cursor: pointer; overflow: hidden;
  background: linear-gradient(135deg, #8B7CF6, #5FE3C0); color: #0a0c0f;
  user-select: none;
}
.collab-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.collab-chat-bubble { max-width: 78%; display: flex; flex-direction: column; min-width: 0; }
.collab-chat-msg.me .collab-chat-bubble { align-items: flex-end; }
.collab-chat-msg-head {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: var(--collab-text3); margin-bottom: 2px;
}
.collab-chat-msg.me .collab-chat-msg-head { flex-direction: row-reverse; }
.collab-chat-msg-head .captain-badge {
  font-size: 10px; color: var(--collab-lyrics);
}
.collab-chat-del {
  margin-left: auto; font-size: 10px; color: #f4777f; background: none;
  border: none; cursor: pointer; padding: 2px 6px; border-radius: 6px;
  opacity: .55;
}
.collab-chat-msg.me .collab-chat-del { margin-left: 0; margin-right: auto; }
.collab-chat-del:hover { opacity: 1; background: rgba(244,119,127,.1); }
.g-btn-danger { background: rgba(244,119,127,.12); color: #f4777f; border-color: rgba(244,119,127,.4) !important; }
.g-btn-danger:hover { background: rgba(244,119,127,.22); }
.collab-chat-msg-content {
  font-size: 13px; color: var(--collab-text); line-height: 1.5;
  background: var(--collab-bg); padding: 8px 12px; border-radius: 8px;
  display: inline-block; max-width: 100%; word-break: break-word;
}
.collab-chat-msg.me .collab-chat-msg-content {
  background: linear-gradient(135deg, rgba(95,227,192,.16), rgba(139,124,246,.12));
  border: 1px solid rgba(95,227,192,.28);
}

/* 聊天头像点击 · 用户资料卡 */
.collab-user-card { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; }
.collab-user-card .uc-mask { position: absolute; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(2px); }
.collab-user-card .uc-panel {
  position: relative; width: 82%; max-width: 320px;
  background: #14171c; border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 22px 20px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.collab-user-card .uc-body { display: flex; flex-direction: column; align-items: center; }
.uc-avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; overflow: hidden;
  background: linear-gradient(135deg, #FF8C42, #8B7CF6); color: #0a0c0f;
}
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-name { text-align: center; font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.uc-vip {
  display: inline-block; font-size: 10px; font-weight: 700; vertical-align: middle;
  background: linear-gradient(135deg, #FFD700, #FFA500); color: #0a0c0f;
  border-radius: 999px; padding: 2px 8px; margin-left: 6px;
}
.uc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 10px; }
.uc-tag { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.5); }
.uc-sig { font-size: 12px; color: rgba(255,255,255,.65); text-align: center; font-style: italic; margin-bottom: 8px; }
.uc-desc { font-size: 12px; color: rgba(255,255,255,.45); text-align: center; line-height: 1.5; }
.collab-user-card .uc-close { width: 100%; margin-top: 14px; justify-content: center; }
.collab-chat-input { display: flex; gap: 8px; margin-top: 10px; }
.collab-chat-input input {
  flex: 1; padding: 8px 12px; border-radius: 8px;
  background: var(--collab-bg); border: 1px solid var(--collab-border);
  color: var(--collab-text); font-size: 13px; font-family: inherit;
}
.collab-chat-input input:focus { outline: none; border-color: var(--collab-brand); }
.collab-chat-send {
  padding: 8px 16px; border-radius: 8px; border: none;
  background: var(--collab-brand); color: #0d0f12; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: inherit;
}
.collab-chat-hint { font-size: 11px; color: var(--collab-text3); margin-top: 6px; text-align: center; }

/* ===== 发起项目页 ===== */
.collab-create { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; }
.collab-create-steps {
  display: flex; justify-content: center; gap: 0; margin-bottom: 40px;
}
.collab-step {
  display: flex; align-items: center; gap: 8px; font-size: 14px;
  color: var(--collab-text3);
}
.collab-step.active { color: var(--collab-brand); font-weight: 600; }
.collab-step.done { color: var(--collab-brand); }
.collab-step-num {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid currentColor; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 600;
}
.collab-step.active .collab-step-num { background: var(--collab-brand); color: #0d0f12; border-color: var(--collab-brand); }
.collab-step-line { width: 40px; height: 2px; background: var(--collab-border); margin: 0 12px; }
.collab-step.done + .collab-step-line { background: var(--collab-brand); }

.collab-form-group { margin-bottom: 24px; }
.collab-form-label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px;
  color: var(--collab-text);
}
.collab-form-hint { font-size: 12px; color: var(--collab-text3); margin-bottom: 8px; }
.collab-form-input, .collab-form-textarea, .collab-form-select {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: var(--collab-bg2); border: 1px solid var(--collab-border);
  color: var(--collab-text); font-size: 14px; font-family: inherit;
  box-sizing: border-box;
}
.collab-form-input:focus, .collab-form-textarea:focus, .collab-form-select:focus {
  outline: none; border-color: var(--collab-brand);
}
.collab-form-textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.collab-tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.collab-tag-option {
  padding: 6px 16px; border-radius: 16px; border: 1px solid var(--collab-border);
  background: transparent; color: var(--collab-text2); font-size: 13px;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.collab-tag-option:hover { border-color: var(--collab-brand); }
.collab-tag-option.selected {
  background: var(--collab-brand-dim); border-color: var(--collab-brand);
  color: var(--collab-brand);
}
.collab-slot-editor {
  background: var(--collab-bg2); border: 1px solid var(--collab-border);
  border-radius: 10px; padding: 16px; margin-bottom: 12px;
}
.collab-slot-editor-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.collab-slot-editor-row input { flex: 1; }
.collab-slot-remove {
  padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255,100,100,.3);
  background: transparent; color: rgba(255,100,100,.7); font-size: 12px;
  cursor: pointer; font-family: inherit;
}
.collab-add-slot {
  width: 100%; padding: 10px; border-radius: 10px;
  border: 1px dashed var(--collab-border); background: transparent;
  color: var(--collab-text3); font-size: 13px; cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.collab-add-slot:hover { border-color: var(--collab-brand); color: var(--collab-brand); }
.collab-phase-section { margin-bottom: 28px; }
.collab-phase-section-title {
  font-size: 16px; font-weight: 600; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--collab-border);
  display: flex; align-items: center; gap: 10px;
}
.collab-phase-section-title .phase-color {
  width: 10px; height: 10px; border-radius: 50%;
}
.collab-form-actions {
  display: flex; justify-content: space-between; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--collab-border);
}
.collab-radio-group { display: flex; gap: 12px; }
.collab-radio-option {
  flex: 1; padding: 14px; border-radius: 10px;
  border: 1px solid var(--collab-border); background: var(--collab-bg2);
  cursor: pointer; transition: all .2s;
}
.collab-radio-option.selected {
  border-color: var(--collab-brand); background: var(--collab-brand-dim);
}
.collab-radio-option .radio-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.collab-radio-option .radio-desc { font-size: 12px; color: var(--collab-text3); }

.collab-empty {
  text-align: center; padding: 60px 20px; color: var(--collab-text3);
}
.collab-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .5; }
.collab-empty-text { font-size: 15px; margin-bottom: 20px; }

.collab-loading {
  text-align: center; padding: 40px; color: var(--collab-text3);
  font-size: 14px;
}

/* 滚动条 */
.collab-page ::-webkit-scrollbar { width: 6px; }
.collab-page ::-webkit-scrollbar-track { background: transparent; }
.collab-page ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

/* ============================================================
   高保真升级层 · Hi-Fi Layer（追加，不删除旧类）
   依据已确认效果图：深色玻璃拟态 / 四阶段配色 / 金银铜排行榜
   ============================================================ */

/* ---------- 全局背景纹理与柔光 ---------- */
.collab-page {
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(95,227,192,.06), transparent 60%),
    radial-gradient(1000px 480px at 85% 110%, rgba(255,140,66,.05), transparent 60%),
    #0d0f12;
}
.collab-page::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(95,227,192,.05), transparent 60%),
    radial-gradient(800px 500px at 110% 15%, rgba(255,140,66,.05), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(139,124,246,.04), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(200,245,98,.04), transparent 60%);
  animation: collabPageBreath 9s ease-in-out infinite;
}
.collab-page > * { position: relative; z-index: 1; }

/* ---------- GlassCard 玻璃拟态 ---------- */
.glass-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  transition: all .3s;
}
.glass-card-hover { cursor: pointer; }
.glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* ---------- 渐变按钮 ---------- */
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 12px; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; text-decoration: none;
  background: linear-gradient(135deg, #5FE3C0 0%, #3DBDA0 100%);
  color: #0a0c0f; transition: all .2s;
}
.g-btn:hover { box-shadow: 0 8px 24px rgba(95,227,192,.25); transform: translateY(-1px); }
.g-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.g-btn-outline {
  background: transparent; border: 1px solid rgba(95,227,192,.4);
  color: #5FE3C0; padding: 12px 24px;
}
.g-btn-outline:hover { background: rgba(95,227,192,.1); box-shadow: none; }
.g-btn-sm { padding: 8px 16px; font-size: 12px; border-radius: 10px; }
.g-btn-lg { padding: 14px 32px; font-size: 15px; }

/* ---------- 导航升级 ---------- */
.collab-nav {
  padding: 14px 44px;
  background: rgba(13,15,18,.8);
  backdrop-filter: blur(20px);
}
.collab-nav.scrolled { border-bottom-color: rgba(255,255,255,.1); }
.collab-nav-center .collab-filter-btn {
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid transparent; color: rgba(255,255,255,.55);
}
.collab-nav-center .collab-filter-btn:hover { color: #fff; border-color: rgba(255,255,255,.15); }
.collab-nav-center .collab-filter-btn.active {
  background: #5FE3C0; color: #0a0c0f; font-weight: 600; border-color: #5FE3C0;
}

/* ---------- 大厅 Hero（大标题 + 波形背景 + 统计卡） ---------- */
.collab-hero {
  padding: 110px 44px 60px;
  display: flex; align-items: center; gap: 64px;
}
.collab-hero-left { flex: 1; min-width: 0; }
.collab-hero-title {
  font-size: 72px; line-height: 1.08; letter-spacing: -1px;
  margin-bottom: 20px;
}
.collab-hero-title .accent-gradient {
  background: linear-gradient(90deg, #FF8C42, #C8F562, #8B7CF6, #5FE3C0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.collab-hero-sub { font-size: 17px; color: rgba(255,255,255,.45); margin-bottom: 40px; max-width: 480px; line-height: 1.7; }
.collab-hero-stats { display: flex; gap: 16px; }
.collab-stat-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 20px 32px; min-width: 140px;
  backdrop-filter: blur(4px);
}
.collab-stat-num { font-size: 38px; color: #5FE3C0; }
.collab-stat-label { color: rgba(255,255,255,.35); }
.collab-hero-wave {
  flex: 1; height: 240px; display: flex; align-items: center; justify-content: center;
  gap: 3px; opacity: .9;
}
.collab-hero-wave span {
  width: 4px; border-radius: 2px; display: block;
  background: linear-gradient(180deg, #5FE3C0, #8B7CF6);
}

/* ---------- 区块标题升级 ---------- */
.collab-section { padding: 40px 44px 70px; }
.collab-section-title { font-size: 26px; letter-spacing: .5px; }
.collab-section-title em {
  font-style: normal; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: 3px;
  display: block; margin-bottom: 8px; font-weight: 400;
}

/* ---------- 项目卡片升级 ---------- */
.collab-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}
.collab-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.collab-card-cover { height: 150px; }
.collab-card-title { font-size: 17px; }
.collab-status-badge { padding: 4px 12px; border-radius: 999px; }

/* ---------- 阶段进度圆点（发光三态） ---------- */
.collab-phase-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.collab-phase-dot.active {
  box-shadow: 0 0 8px currentColor;
  transform: scale(1.3);
  animation: pulse 1.5s ease-in-out infinite;
}
.collab-phase-dot.done-lyrics { background: #FF8C42; color: #FF8C42; }
.collab-phase-dot.done-melody { background: #C8F562; color: #C8F562; }
.collab-phase-dot.done-arrange { background: #8B7CF6; color: #8B7CF6; }
.collab-phase-dot.done-mixing { background: #5FE3C0; color: #5FE3C0; }

/* ---------- 团队排行榜（金/银/铜渐变边框） ---------- */
.collab-rank-section {
  margin: 0 44px 60px;
  padding: 34px;
  border-radius: 20px;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(95,227,192,.05), transparent 60%),
    rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
}
.collab-rank-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px;
}
.collab-rank-title { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.collab-rank-title .trophy { font-size: 22px; }
.collab-rank-sub { font-size: 12px; color: rgba(168,155,255,.65); margin-top: 6px; font-weight: 400; }
.collab-rank-more {
  font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px; transition: color .2s;
}
.collab-rank-more:hover { color: #5FE3C0; }
.collab-rank-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
}
.rank-card {
  position: relative; border-radius: 16px; cursor: pointer;
  padding: 1px; transition: transform .25s, box-shadow .25s;
}
.rank-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.rank-card-inner {
  position: relative; border-radius: 15px; padding: 20px 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  height: 100%; box-sizing: border-box;
}
.rank-card:not(.rank-top3) .rank-card-inner {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.rank-top3-1 { background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700); }
.rank-top3-2 { background: linear-gradient(135deg, #5FE3C0, #3DB387, #5FE3C0); }
.rank-top3-3 { background: linear-gradient(135deg, #FF8C42, #8B3A00, #FF8C42); }
.rank-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rank-num-wrap { display: flex; align-items: center; gap: 8px; }
.rank-crown { width: 22px; height: 22px; }
.rank-num { font-size: 32px; font-weight: 900; font-family: 'IBM Plex Mono', monospace; }
.rank-1 .rank-num { color: #FFD700; }
.rank-2 .rank-num { color: #5FE3C0; }
.rank-3 .rank-num { color: #FF8C42; }
.rank-card:not(.rank-top3) .rank-num { color: #A89BFF; }
.rank-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #0a0c0f;
}
.rank-team-name, .rank-name { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #B9A8FF; }
.rank-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.rank-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(139,124,246,.14); color: #A89BFF;
  border: 1px solid rgba(139,124,246,.28);
}
.rank-influence-row { display: flex; align-items: center; justify-content: space-between; }
.rank-influence { display: flex; align-items: baseline; gap: 4px; color: #A89BFF; }
.rank-influence .val { font-size: 20px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: #FFD700; }
.rank-influence .unit { font-size: 10px; color: #A89BFF; }
.rank-members { font-size: 11px; color: rgba(95,227,192,.85); }
.rank-enter {
  display: block; text-align: center; margin-top: 14px;
  font-size: 12px; color: #A89BFF;
  border: 1px solid rgba(139,124,246,.4); border-radius: 999px;
  padding: 6px 0; transition: all .2s;
}
.rank-enter:hover { color: #0a0c0f; background: #5FE3C0; border-color: #5FE3C0; }

/* 排行榜卡片整卡可点击（rank-link 由 <a> 改为 span 保持视觉） */
.rank-link {
  display: block; text-align: center; margin-top: 14px;
  font-size: 12px; color: #A89BFF;
  border: 1px solid rgba(139,124,246,.4); border-radius: 999px;
  padding: 6px 0; transition: all .2s; pointer-events: none;
}
.rank-link:hover { color: #0a0c0f; background: #5FE3C0; border-color: #5FE3C0; }

/* ---------- 首页入口通栏 · 高保真（渐变边框波形态） ---------- */
.collab-entry-hifi {
  margin: 10px auto 40px; max-width: 1200px;
  border-radius: 24px; padding: 1px; cursor: pointer;
  background: linear-gradient(135deg, #FF8C42 0%, #8B7CF6 50%, #5FE3C0 100%);
  position: relative; overflow: hidden;
}
.collab-entry-hifi-inner {
  border-radius: 23px; padding: 42px 44px;
  background: linear-gradient(135deg, #1a1510 0%, #0a0c0f 30%, #0a0c0f 70%, #0d1a17 100%);
  position: relative; overflow: hidden;
}
.collab-entry-hifi-inner::before {
  content: ''; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.collab-entry-hifi-glow1, .collab-entry-hifi-glow2 {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.collab-entry-hifi-glow1 { width: 360px; height: 360px; background: rgba(255,140,66,.16); top: -120px; left: -80px; }
.collab-entry-hifi-glow2 { width: 360px; height: 360px; background: rgba(95,227,192,.13); bottom: -140px; right: -60px; }
.collab-entry-hifi-body {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 44px;
}
.collab-entry-hifi-left { flex: 1; min-width: 0; }
.collab-entry-hifi-label {
  display: inline-block; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; color: #5FE3C0;
  margin-bottom: 14px;
}
.collab-entry-hifi-title {
  font-size: 46px; font-weight: 700; line-height: 1.15; margin-bottom: 12px;
}
.collab-entry-hifi-title .gradient4 {
  background: linear-gradient(90deg, #FF8C42, #C8F562, #8B7CF6, #5FE3C0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.collab-entry-hifi-sub { font-size: 15px; color: rgba(255,255,255,.4); margin-bottom: 26px; line-height: 1.6; }
.collab-entry-hifi-stats { display: flex; align-items: center; gap: 36px; margin-bottom: 28px; }
.collab-entry-hifi-stat .num { font-size: 36px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.collab-entry-hifi-stat .label { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 2px; }
.collab-entry-hifi-divider { width: 1px; height: 44px; background: rgba(255,255,255,.1); }
/* 团队影响力 TOP3（默认隐藏，仅移动端展示在数据旁） */
.collab-entry-hifi-top3 { display: none; }
.collab-entry-hifi-btns { display: flex; gap: 12px; }
.collab-entry-hifi-wave {
  display: flex; align-items: center; justify-content: center; gap: 3px; height: 96px;
}
.collab-entry-hifi-wave span {
  width: 3px; border-radius: 2px; display: block;
  animation: waveBounce 2.4s ease-in-out infinite;
}
@keyframes waveBounce { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.collab-entry-hifi-cards { position: relative; width: 300px; height: 300px; flex-shrink: 0; }
.collab-entry-hifi-card {
  position: absolute; width: 175px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1); background: #0f1216;
  box-shadow: 0 20px 40px rgba(0,0,0,.5); overflow: hidden;
  transition: transform .3s;
}
.collab-entry-hifi-card:hover { transform: scale(1.05) !important; }
.collab-entry-hifi-card .cover {
  height: 88px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; font-family: 'Fraunces', serif; color: rgba(255,255,255,.92);
}
.collab-entry-hifi-card .info { padding: 10px 12px; }
.collab-entry-hifi-card .info .t { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.collab-entry-hifi-card .info .meta { display: flex; align-items: center; gap: 6px; font-size: 10px; color: rgba(255,255,255,.4); }
.collab-entry-hifi-labels { display: flex; gap: 8px; margin-top: 22px; }
.collab-entry-hifi-labels span {
  font-size: 10px; padding: 4px 12px; border-radius: 999px;
}
.collab-entry-hifi-bar {
  display: flex; height: 6px; width: 100%;
}
.collab-entry-hifi-bar div { height: 100%; }

/* ---------- 团队详情页 ---------- */
.collab-team {
  max-width: 1280px; margin: 0 auto; padding: 0 44px 80px;
}
.collab-team-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 44px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(13,15,18,.8); backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 100;
}
.collab-team-nav a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; }
.collab-team-nav a:hover { color: #5FE3C0; }
.collab-team-nav .divider { width: 1px; height: 18px; background: rgba(255,255,255,.12); }
.collab-team-nav .name { font-size: 15px; font-weight: 600; }
.collab-team-nav .rank-chip {
  font-size: 10px; padding: 3px 10px; border-radius: 999px; font-weight: 600;
}
.collab-team-nav .tags { display: flex; gap: 6px; margin-left: 4px; }
.collab-team-nav .spacer { flex: 1; }
.collab-team-nav .influence { font-size: 13px; color: rgba(255,255,255,.55); font-family: 'IBM Plex Mono', monospace; }
.collab-team-hero { padding: 44px 0 36px; }
.collab-team-hero-card {
  padding: 36px; border-radius: 20px;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(95,227,192,.07), transparent 60%),
    rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 40px;
}
.collab-team-hero-left { flex: 1; }
.collab-team-hero-name { font-size: 40px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
.collab-team-hero-desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 24px; max-width: 620px; }
.collab-team-hero-stats { display: flex; gap: 36px; }
.collab-team-hero-stat .num { font-size: 26px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: #5FE3C0; }
.collab-team-hero-stat .label { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; }
.collab-team-avatar-big {
  width: 128px; height: 128px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 700; color: #0a0c0f;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.collab-team-members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.collab-team-member {
  padding: 18px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.collab-team-member .m-avatar {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #0a0c0f;
}
.collab-team-member .m-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.collab-team-member .m-role { font-size: 11px; color: rgba(255,255,255,.4); }
.collab-team-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- 项目详情 · 三栏升级 ---------- */
.collab-detail-body {
  display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 20px;
  padding: 28px 44px; max-width: 1400px; margin: 0 auto;
}
.collab-detail-main { min-width: 0; }
.collab-detail-sidebar { min-width: 0; }
.collab-plan-card, .collab-sidebar-card, .collab-slot {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}
.collab-detail-head { padding: 30px 44px 24px; }
.collab-detail-title { font-size: 38px; }
.collab-slot-head { padding: 16px 20px; }
.collab-chat { height: 440px; }
.collab-chat-send { background: #5FE3C0; }

/* ---------- 创建页 · 高保真 ---------- */
.collab-create { max-width: 900px; padding: 40px 24px 80px; }
.collab-create-steps {
  display: flex; justify-content: center; align-items: center; margin-bottom: 44px;
}
.collab-step { flex-direction: column; gap: 6px; font-size: 13px; }
.collab-step-num {
  width: 32px; height: 32px; font-size: 13px;
  border: 2px solid rgba(255,255,255,.15); color: rgba(255,255,255,.4);
}
.collab-step.active .collab-step-num, .collab-step.done .collab-step-num {
  background: #5FE3C0; color: #0a0c0f; border-color: #5FE3C0;
  box-shadow: 0 0 12px rgba(95,227,192,.4);
}
.collab-step-line { width: 90px; }
.collab-radio-option.selected {
  border-color: rgba(95,227,192,.4); background: rgba(95,227,192,.08);
}
.collab-form-input, .collab-form-textarea, .collab-form-select {
  background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08);
  border-radius: 12px;
}
.collab-form-input:focus, .collab-form-textarea:focus { border-color: #5FE3C0; }
.collab-tag-option.selected {
  background: #5FE3C0; color: #0a0c0f; border-color: #5FE3C0; font-weight: 600;
}
.collab-tag-option:hover { border-color: rgba(95,227,192,.5); color: #5FE3C0; }

/* ---------- 空态 / 加载 ---------- */
.collab-empty { padding: 80px 20px; }
.collab-loading { padding: 60px; }

/* ---------- 响应式（桌面优先，最小适配） ---------- */
@media (max-width: 1200px) {
  .collab-hero-title { font-size: 56px; }
  .collab-hero { gap: 36px; }
  .collab-entry-hifi-cards { width: 240px; }
  .collab-rank-grid { grid-template-columns: repeat(3, 1fr); }
  .collab-team-members-grid { grid-template-columns: repeat(3, 1fr); }
  .collab-team-projects { grid-template-columns: repeat(2, 1fr); }
  .collab-detail-body { grid-template-columns: 1fr; }
}

/* ============================================================
   动效增强层：呼吸 / 浮动 / 渐变流动 / 入场（对接云端认可效果）
   ============================================================ */

/* 通用卡片浮动呼吸 */
@keyframes collabFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.glass-card:hover, .collab-card:hover, .rank-card:hover, .collab-team-member:hover,
.collab-entry-hifi-card:hover, .collab-slot:hover {
  border-color: rgba(95,227,192,.35);
  box-shadow: 0 18px 44px rgba(0,0,0,.45), 0 0 24px rgba(95,227,192,.08);
}

/* 光晕呼吸（入口通栏 / Hero 装饰光） */
@keyframes collabGlowBreath {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.08); }
}
.collab-entry-hifi-glow1 { animation: collabGlowBreath 5s ease-in-out infinite; }
.collab-entry-hifi-glow2 { animation: collabGlowBreath 6s ease-in-out infinite reverse; }

/* 渐变标题流动 */
@keyframes collabGradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.collab-entry-hifi-title .gradient4,
.collab-hero-title .gradient4,
.gradient-arrangement, .gradient-mixing {
  background-size: 200% 100%;
  animation: collabGradientFlow 6s linear infinite;
}

/* 卡片入场动画（错峰上浮淡入） */
@keyframes collabCardEnter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.rank-card, .collab-card, .collab-team-member, .collab-entry-hifi-card {
  animation: collabCardEnter .6s cubic-bezier(.22,.61,.36,1) both;
}
.rank-card:nth-child(2), .collab-card:nth-child(2), .collab-team-member:nth-child(2) { animation-delay: .08s; }
.rank-card:nth-child(3), .collab-card:nth-child(3), .collab-team-member:nth-child(3) { animation-delay: .16s; }
.rank-card:nth-child(4), .collab-card:nth-child(4), .collab-team-member:nth-child(4) { animation-delay: .24s; }
.rank-card:nth-child(5), .collab-card:nth-child(5), .collab-team-member:nth-child(5) { animation-delay: .32s; }
.rank-card:nth-child(6), .collab-card:nth-child(6), .collab-team-member:nth-child(6) { animation-delay: .4s; }

/* 排行榜 TOP3 金/银/铜徽章微光 */
.rank-top3-1 { animation: collabGoldShine 3.5s ease-in-out infinite; }
@keyframes collabGoldShine {
  0%, 100% { box-shadow: 0 0 12px rgba(255,215,0,.25); }
  50% { box-shadow: 0 0 26px rgba(255,215,0,.5); }
}
.rank-top3-2 { animation: collabSilverShine 4s ease-in-out infinite; }
@keyframes collabSilverShine {
  0%, 100% { box-shadow: 0 0 10px rgba(192,192,192,.2); }
  50% { box-shadow: 0 0 22px rgba(192,192,192,.42); }
}
.rank-top3-3 { animation: collabCopperShine 4.5s ease-in-out infinite; }
@keyframes collabCopperShine {
  0%, 100% { box-shadow: 0 0 10px rgba(205,127,50,.2); }
  50% { box-shadow: 0 0 22px rgba(205,127,50,.45); }
}

/* 阶段圆点 / 状态徽章脉冲 */
.collab-phase-dot.active { animation: collabDotPulse 1.4s ease-in-out infinite; }
@keyframes collabDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(95,227,192,.35); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(95,227,192,0); }
}
.collab-status-badge { animation: collabBadgeBreath 2.6s ease-in-out infinite; }
@keyframes collabBadgeBreath {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

/* 主按钮流光 */
.g-btn { position: relative; overflow: hidden; }
.g-btn::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  animation: collabBtnShine 4.5s ease-in-out infinite;
}
@keyframes collabBtnShine {
  0%, 55% { left: -120%; }
  85%, 100% { left: 160%; }
}
.g-btn-outline::after { background: linear-gradient(105deg, transparent, rgba(95,227,192,.18), transparent); }

/* 热稿榜金银铜奖牌 */
.collab-hot-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02);
  margin-bottom: 10px; transition: transform .25s, border-color .25s;
}
.collab-hot-item:hover { transform: translateX(4px); }
.collab-hot-medal {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #0a0c0f;
}
.collab-hot-medal.gold { background: linear-gradient(135deg, #FFD700, #FFA500); box-shadow: 0 0 12px rgba(255,215,0,.4); }
.collab-hot-medal.silver { background: linear-gradient(135deg, #C0C0C0, #E8E8E8); box-shadow: 0 0 10px rgba(192,192,192,.35); }
.collab-hot-medal.bronze { background: linear-gradient(135deg, #CD7F32, #D4A574); box-shadow: 0 0 10px rgba(205,127,50,.35); }
.collab-hot-item .hot-main { flex: 1; min-width: 0; }
.collab-hot-item .hot-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.collab-hot-item .hot-slot { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 2px; }
.collab-hot-item .hot-votes {
  font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 700;
  color: #FF8C42; text-align: right; flex-shrink: 0;
}
.collab-hot-item .hot-votes small { font-size: 9px; color: rgba(255,255,255,.35); font-weight: 400; }

@keyframes collabPageBreath {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}


/* 我的项目入口按钮 */
.collab-my-projects-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #5FE3C0;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(95,227,192,.08); border: 1px solid rgba(95,227,192,.3);
  text-decoration: none; transition: all .25s;
}
.collab-my-projects-btn:hover {
  background: rgba(95,227,192,.16); box-shadow: 0 0 16px rgba(95,227,192,.25);
  transform: translateY(-1px);
}


/* ---------- 我的项目页 ---------- */
.collab-my-projects { max-width: 1280px; margin: 0 auto; padding: 36px 44px 80px; }
.collab-myp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.collab-myp-stat {
  padding: 24px; border-radius: 18px; text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
}
.collab-myp-stat::before {
  content: ''; position: absolute; inset: 0; opacity: .1;
  background: var(--g);
  animation: collabGlowBreath 5s ease-in-out infinite;
}
.collab-myp-stat .num { font-size: 36px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; position: relative; }
.collab-myp-stat .label { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px; position: relative; }
.collab-myp-tabs { display: flex; gap: 10px; margin-bottom: 24px; }
.collab-myp-tab {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5);
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  transition: all .25s;
}
.collab-myp-tab em { font-style: normal; font-size: 11px; background: rgba(255,255,255,.08); padding: 2px 8px; border-radius: 999px; }
.collab-myp-tab.active { background: rgba(95,227,192,.12); border-color: rgba(95,227,192,.4); color: #5FE3C0; }
.collab-myp-tab.active em { background: #5FE3C0; color: #0a0c0f; }
.collab-myp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collab-myp-card {
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  animation: collabCardEnter .6s cubic-bezier(.22,.61,.36,1) both;
}
.collab-myp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(95,227,192,.35);
  box-shadow: 0 18px 44px rgba(0,0,0,.45), 0 0 24px rgba(95,227,192,.08);
}
.collab-myp-cover { position: relative; height: 110px; display: flex; align-items: center; justify-content: center; }
.collab-myp-cover .big-char { font-size: 46px; font-weight: 700; font-family: 'Fraunces', serif; color: rgba(255,255,255,.92); animation: collabCoverPulse 3s ease-in-out infinite; }
@keyframes collabCoverPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.collab-myp-unread { position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: #FF8C42; box-shadow: 0 0 10px rgba(255,140,66,.8); }
.collab-myp-body { padding: 16px 18px; }
.collab-myp-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.collab-myp-title { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collab-myp-role { font-size: 10px; padding: 3px 10px; border-radius: 999px; font-weight: 600; flex-shrink: 0; }
.collab-myp-role.captain { background: rgba(255,215,0,.15); color: #FFD700; border: 1px solid rgba(255,215,0,.35); }
.collab-myp-role.member { background: rgba(95,227,192,.12); color: #5FE3C0; border: 1px solid rgba(95,227,192,.3); }
.collab-myp-tags { display: flex; gap: 6px; margin-bottom: 12px; }
.collab-myp-info { display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.collab-myp-contrib { display: flex; gap: 8px; }
.collab-myp-contrib .contrib-item { flex: 1; text-align: center; font-size: 10px; color: rgba(255,255,255,.35); padding: 8px 4px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.collab-myp-contrib .contrib-item b { display: block; font-size: 14px; color: #5FE3C0; font-family: 'IBM Plex Mono', monospace; }


/* ---------- 视角切换 + 成员身份 ---------- */
.collab-detail-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.collab-view-switch { display: flex; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 4px; }
.collab-view-btn {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5);
  padding: 7px 16px; border-radius: 999px; border: none; background: transparent; cursor: pointer;
  transition: all .25s;
}
.collab-view-btn.active { background: rgba(95,227,192,.14); color: #5FE3C0; box-shadow: 0 0 12px rgba(95,227,192,.2); }
.collab-member-strip {
  margin-top: 16px; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(95,227,192,.1), rgba(95,227,192,.02));
  border: 1px solid rgba(95,227,192,.3);
  animation: collabCardEnter .5s ease both;
}
.collab-member-strip .strip-icon { font-size: 22px; }
.collab-member-strip .strip-main { flex: 1; min-width: 0; }
.collab-member-strip .strip-title { font-size: 14px; font-weight: 700; color: #5FE3C0; }
.collab-member-strip .strip-sub { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; }
.collab-member-strip .strip-actions { display: flex; gap: 8px; flex-shrink: 0; }
.collab-member-item.me {
  background: rgba(95,227,192,.08); border: 1px solid rgba(95,227,192,.3);
}
.collab-online-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #5FE3C0; margin-left: auto;
  box-shadow: 0 0 8px rgba(95,227,192,.8); animation: collabDotPulse 2s ease-in-out infinite;
}


/* ---------- 子页面通用 ---------- */
.collab-subpage { max-width: 1100px; margin: 0 auto; padding: 40px 44px 80px; }
.collab-subpage-title { font-size: 30px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.collab-subpage-sub { font-size: 14px; color: rgba(255,255,255,.45); margin-bottom: 32px; line-height: 1.7; }
.collab-subpage .g-btn-sm { padding: 8px 16px; font-size: 12px; }

/* 会员页 */
.collab-membership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collab-membership-card {
  border-radius: 20px; padding: 28px 24px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  transition: transform .3s, box-shadow .3s;
}
.collab-membership-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.collab-membership-card.hot {
  background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(255,140,66,.04));
  border: 1px solid rgba(255,200,80,.35);
  box-shadow: 0 0 30px rgba(255,200,80,.08);
}
.collab-membership-card .m-price { font-size: 42px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: #5FE3C0; margin: 14px 0 4px; }
.collab-membership-card .m-price small { font-size: 13px; color: rgba(255,255,255,.4); font-weight: 400; }
.collab-membership-card .m-name { font-size: 16px; font-weight: 700; }
.collab-membership-card .m-desc { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.collab-membership-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.collab-membership-card li { font-size: 13px; color: rgba(255,255,255,.6); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.collab-membership-card li::before { content: '✓'; color: #5FE3C0; font-weight: 700; }
.collab-membership-card .hot-tag { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; background: linear-gradient(135deg,#FFD700,#FFA500); color: #0a0c0f; padding: 4px 12px; border-radius: 999px; }

/* 投票类页面 */
.collab-vote-rule { font-size: 12px; color: rgba(255,255,255,.45); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; line-height: 1.7; }
.collab-candidate-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.collab-candidate-card {
  border-radius: 16px; padding: 18px 20px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 14px;
  transition: all .25s;
}
.collab-candidate-card:hover { border-color: rgba(95,227,192,.35); transform: translateY(-2px); }
.collab-candidate-card .c-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #0a0c0f; }
.collab-candidate-card .c-main { flex: 1; min-width: 0; }
.collab-candidate-card .c-name { font-size: 14px; font-weight: 600; }
.collab-candidate-card .c-meta { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 3px; }
.collab-vote-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 10px; }
.collab-vote-progress i { display: block; height: 100%; border-radius: 999px; transition: width .8s ease; }
.collab-vs-area { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 40px 0; }
.collab-vs-side { flex: 1; text-align: center; border-radius: 20px; padding: 30px 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: all .25s; }
.collab-vs-side:hover { border-color: rgba(95,227,192,.4); transform: translateY(-4px); }
.collab-vs-side .vs-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: #0a0c0f; }
.collab-vs-side .vs-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.collab-vs-side .vs-votes { font-size: 24px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: #5FE3C0; }
.collab-vs-center { text-align: center; flex-shrink: 0; }
.collab-vs-center .vs-vs { font-size: 34px; font-weight: 800; font-family: 'IBM Plex Mono', monospace; background: linear-gradient(135deg,#FF8C42,#8B7CF6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.collab-vs-center .vs-time { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 6px; }
.collab-countdown { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 700; color: #5FE3C0; letter-spacing: 2px; }

/* 编曲选择题 */
.collab-question-card { border-radius: 18px; padding: 22px 24px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); margin-bottom: 18px; }
.collab-question-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.collab-question-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.collab-q-option { padding: 12px 16px; border-radius: 12px; font-size: 13px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.collab-q-option:hover { border-color: rgba(95,227,192,.4); }
.collab-q-option .q-bar { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.collab-q-option .q-bar i { display: block; height: 100%; background: linear-gradient(90deg,#FF8C42,#C8F562,#8B7CF6,#5FE3C0); border-radius: 999px; }
.collab-q-option .q-pct { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(255,255,255,.5); }

/* 平台兜底 / 队长易主 */
.collab-fallback-hero { border-radius: 20px; padding: 34px 30px; text-align: center; background: linear-gradient(135deg, rgba(139,124,246,.1), rgba(95,227,192,.04)); border: 1px solid rgba(139,124,246,.3); margin-bottom: 24px; }
.collab-fallback-hero .f-icon { font-size: 44px; margin-bottom: 10px; animation: collabGlowBreath 4s ease-in-out infinite; }
.collab-fallback-hero .f-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.collab-fallback-hero .f-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; max-width: 560px; margin: 0 auto; }
.collab-cond-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.collab-cond-item { border-radius: 14px; padding: 18px 16px; text-align: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.collab-cond-item .c-num { font-size: 26px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: #8B7CF6; }
.collab-cond-item .c-label { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* 成员管理 */
.collab-manage-table { width: 100%; border-collapse: collapse; }
.collab-manage-table th { text-align: left; font-size: 11px; color: rgba(255,255,255,.4); padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 500; }
.collab-manage-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.collab-manage-table .c-progress { width: 120px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.collab-manage-table .c-progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#5FE3C0,#8B7CF6); }

/* 创建成功 */
.collab-success-wrap { text-align: center; padding: 60px 0; }
.collab-success-ring { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 26px; display: flex; align-items: center; justify-content: center; font-size: 52px; background: radial-gradient(circle, rgba(95,227,192,.2), transparent 70%); animation: collabGlowBreath 3s ease-in-out infinite; }
.collab-success-title { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.collab-success-sub { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 30px; }
.collab-success-links { display: flex; gap: 14px; justify-content: center; margin-bottom: 40px; }

/* 商单成交 */
.collab-deal-pick { display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); margin-bottom: 10px; cursor: pointer; transition: all .2s; }
.collab-deal-pick:hover { border-color: rgba(95,227,192,.35); }
.collab-deal-pick.picked { background: rgba(95,227,192,.08); border-color: rgba(95,227,192,.45); }
.collab-deal-pick .pick-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; }
.collab-deal-pick.picked .pick-check { background: #5FE3C0; border-color: #5FE3C0; color: #0a0c0f; }

/* 个人中心 */
.collab-profile-head { display: flex; align-items: center; gap: 20px; padding: 30px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); margin-bottom: 24px; }
.collab-profile-avatar { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; color: #0a0c0f; background: linear-gradient(135deg,#5FE3C0,#8B7CF6); }
.collab-profile-name { font-size: 20px; font-weight: 700; }
.collab-profile-meta { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; }
.collab-profile-stats { display: flex; gap: 24px; margin-top: 14px; }
.collab-profile-stat .num { font-size: 20px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: #5FE3C0; }
.collab-profile-stat .label { font-size: 11px; color: rgba(255,255,255,.4); }

/* ============ 封面上传（发起项目） ============ */
.collab-cover-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.collab-cover-preview {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  animation: collabFloat 3s ease-in-out infinite;
}
.collab-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collab-cover-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.collab-cover-remove:hover { background: #e5484d; }
.collab-cover-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  padding: 8px 4px;
  text-align: left;
}
.collab-cover-pick:hover .cover-pick-text { color: #5FE3C0; }
.cover-pick-icon { font-size: 24px; }
.cover-pick-text { font-size: 14px; font-weight: 600; color: var(--collab-text1, #fff); }
.cover-pick-sub { font-size: 11px; color: var(--collab-text3, rgba(255,255,255,.45)); }
.collab-cover-uploading {
  color: #5FE3C0;
  font-size: 13px;
  padding: 12px 0;
}
.collab-cover-uploading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid rgba(95,227,192,.3);
  border-top-color: #5FE3C0;
  border-radius: 50%;
  vertical-align: -2px;
  animation: collabSpin .8s linear infinite;
}
@keyframes collabSpin { to { transform: rotate(360deg); } }

/* ============ 排行榜封面 ============ */
.rank-cover {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* ============ 项目详情封面 ============ */
.collab-detail-cover {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  animation: collabFloat 3.2s ease-in-out infinite;
}
.collab-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collab-detail-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ============ 个人中心头像上传 ============ */
.collab-profile-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.collab-profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5FE3C0, #2E8B77);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: #0a0c0f;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(95,227,192,.25), 0 10px 30px rgba(0,0,0,.4);
  transition: box-shadow .3s ease;
}
.collab-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collab-profile-avatar:hover { box-shadow: 0 0 0 3px rgba(95,227,192,.5), 0 12px 36px rgba(0,0,0,.5); }
.collab-avatar-edit {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--collab-text2, rgba(255,255,255,.7));
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
}
.collab-avatar-edit:hover {
  border-color: rgba(95,227,192,.5);
  color: #5FE3C0;
  background: rgba(95,227,192,.08);
}
.collab-avatar-edit:disabled { opacity: .6; cursor: default; }
.collab-member-badge {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,200,80,.15);
  color: #FFC850;
  border: 1px solid rgba(255,200,80,.3);
  margin-left: 8px;
}
.collab-login-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(95,227,192,.12), rgba(139,124,246,.08));
  border: 1px solid rgba(95,227,192,.25);
  font-size: 13px;
  color: var(--collab-text2, rgba(255,255,255,.7));
}

/* ============ 呼吸动效 ============ */
@keyframes collabFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ============ 建议与反馈页 ============ */
.collab-suggest-page { max-width: 1100px; }
.collab-suggest-form {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09); border-radius: 18px;
  padding: 20px; margin-bottom: 28px;
}
.collab-suggest-form-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 600; margin-bottom: 12px;
}
.collab-suggest-form-note { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.4); }
.collab-suggest-form textarea {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 76px;
  background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 14px; color: var(--collab-text);
  font-size: 13.5px; font-family: inherit; outline: none;
}
.collab-suggest-form textarea:focus { border-color: rgba(95,227,192,.45); }
.collab-suggest-form textarea:disabled { opacity: .5; }
.collab-suggest-form-foot {
  display: flex; align-items: center; justify-content: space-between; margin-top: 10px;
}
.collab-suggest-count { font-size: 11px; color: rgba(255,255,255,.35); }
.collab-suggest-login { margin-top: 10px; font-size: 12.5px; text-align: center; }
.collab-suggest-list-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; margin-bottom: 12px;
}
.collab-suggest-list-total { font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.35); }
.collab-suggest-item {
  display: flex; gap: 12px; padding: 16px 14px;
  background: rgba(255,255,255,.028); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; margin-bottom: 10px;
}
.collab-suggest-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; overflow: hidden;
  background: linear-gradient(135deg, #8B7CF6, #5FE3C0); color: #0a0c0f;
}
.collab-suggest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.collab-suggest-main { flex: 1; min-width: 0; }
.collab-suggest-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.collab-suggest-name { font-size: 12.5px; font-weight: 600; }
.collab-suggest-time { font-size: 10.5px; color: rgba(255,255,255,.3); }
.collab-suggest-content {
  font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.9);
  word-break: break-word; white-space: pre-wrap;
}
.collab-suggest-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.collab-suggest-vote-btn, .collab-suggest-cmt-btn {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75); border-radius: 999px;
  font-size: 11.5px; padding: 5px 13px; cursor: pointer; transition: all .2s;
}
.collab-suggest-vote-btn:hover { border-color: rgba(95,227,192,.45); color: #5FE3C0; }
.collab-suggest-vote-btn.voted {
  background: rgba(95,227,192,.14); border-color: rgba(95,227,192,.4); color: #5FE3C0;
}
.collab-suggest-cmt-count { font-size: 10.5px; opacity: .65; }
.collab-suggest-votes {
  font-size: 11px; color: rgba(255,255,255,.45); margin-top: 8px;
}
.collab-suggest-votes b { color: #FFD700; font-size: 13px; }
.collab-suggest-comments {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.08);
}
.collab-suggest-comment-input { display: flex; gap: 8px; margin-bottom: 10px; }
.collab-suggest-comment-input input {
  flex: 1; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: 8px 14px; color: var(--collab-text); font-size: 12.5px; outline: none;
}
.collab-suggest-comment-input input:disabled { opacity: .5; }
.collab-suggest-comment {
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px;
}
.collab-suggest-comment-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.collab-suggest-comment-name { font-size: 10.5px; color: rgba(255,255,255,.4); }
.collab-suggest-comment-text { font-size: 12.5px; color: rgba(255,255,255,.85); line-height: 1.5; word-break: break-word; }

/* ===== r21 队长弹窗（编辑项目 / 加片段） ===== */
.collab-captain-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; }
.collab-captain-modal .ccm-mask { position: absolute; inset: 0; background: rgba(5,7,10,.72); backdrop-filter: blur(6px); }
.collab-captain-modal .ccm-panel {
  position: relative; width: min(480px, 92vw); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(160deg, #161b24, #0f141d);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 22px 22px 16px; box-shadow: 0 24px 80px rgba(0,0,0,.55);
  animation: ccmPop .22s ease-out;
}
@keyframes ccmPop { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.collab-captain-modal .ccm-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.collab-captain-modal .ccm-body { display: flex; flex-direction: column; gap: 12px; }
.collab-captain-modal .ccm-field label { display: block; font-size: 12px; color: var(--collab-text2); margin-bottom: 5px; }
.collab-captain-modal .ccm-field input,
.collab-captain-modal .ccm-field textarea,
.collab-captain-modal .ccm-field select {
  width: 100%; box-sizing: border-box; background: #0c1018; color: #eef1f6;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  padding: 9px 11px; font-size: 13px; font-family: inherit; outline: none;
}
.collab-captain-modal .ccm-field input:focus,
.collab-captain-modal .ccm-field textarea:focus,
.collab-captain-modal .ccm-field select:focus { border-color: var(--collab-brand); }
.collab-captain-modal .ccm-field textarea { resize: vertical; }
.collab-captain-modal .ccm-tip { font-size: 11.5px; color: var(--collab-text3); line-height: 1.6; }
.collab-captain-modal .ccm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ===== r21 项目详情页美化 ===== */
.collab-detail-title {
  background: linear-gradient(120deg, #fff 20%, var(--collab-brand) 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255,255,255,.08);
}
.collab-detail-cover {
  width: 128px; height: 128px; flex: none; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 34px rgba(0,0,0,.4);
  background: var(--collab-bg2);
}
.collab-detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collab-detail-title-row { gap: 18px; }
.collab-plan-card { position: relative; overflow: hidden; }
.collab-plan-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--collab-brand), transparent 70%);
  opacity: .6;
}
.collab-tag {
  background: linear-gradient(135deg, rgba(255,140,66,.16), rgba(200,245,98,.12));
  border: 1px solid rgba(255,255,255,.14);
}
