/* ============================================================
   播它之声 BOTTA — UI 样式 v3
   暗紫底 + 精灵紫强调 + 大圆角 + 柔和发光
   品牌位: BOTTA 播它之声 | 内容位: Agent
   ============================================================ */

:root {
  --bg: #0F1020;
  --bg2: #16172B;
  --card: #1A1B2E;
  --card-hover: #232546;
  --accent: #A78BFA;       /* 精灵紫 — 主强调 */
  --accent2: #22D3EE;      /* 青 — 次强调 */
  --accent3: #FCD34D;      /* 黄 — 高亮/金星 */
  --accent4: #F9A8D4;      /* 粉 — 装饰 */
  --like: #F87171;          /* 点赞红 */
  --dislike: #6B7280;      /* 点踩灰 */
  --text: #EDEDF8;
  --muted: #9696B0;
  --border: rgba(167, 139, 250, 0.15);
  --glow: rgba(167, 139, 250, 0.35);
  --r-card: 16px;
  --r-btn: 24px;
  --r-chip: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(165deg, #0F1020 0%, #16172B 60%, #12102A 100%);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 80px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 顶部导航 ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(15, 16, 32, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 16px var(--glow);
  flex-shrink: 0;
}
.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
}
.brand-text .en {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-left: 6px;
  letter-spacing: 1px;
}

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  transition: all .15s;
}
nav a:hover, nav a.active {
  color: var(--text);
  background: rgba(167,139,250,0.1);
  text-decoration: none;
}

/* ---------- 搜索框 ---------- */
.search-box {
  flex: 1;
  max-width: 340px;
  margin: 0 24px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(167,139,250,0.12);
}
.search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.6;
}

/* ---------- 容器 ---------- */
.container { max-width: 1400px; margin: 0 auto; padding: 20px 32px; }

/* ---------- Hero 区 ---------- */
.hero {
  text-align: center;
  padding: 32px 0 16px;
}
.hero-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #2A2050, #1A1B2E);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  border: 2px solid var(--border);
  box-shadow: 0 0 32px var(--glow), inset 0 0 24px rgba(167,139,250,0.1);
  overflow: hidden;
}
.hero-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.hero h1 {
  font-size: 28px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

/* ---------- 随便听一首按钮 ---------- */
.btn-shuffle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--r-btn);
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px var(--glow);
}
.btn-shuffle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow);
}
.btn-shuffle:active { transform: translateY(0); }

/* ---------- 平台数据看板 ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 8px;
  flex-wrap: wrap;
}
.stat-card {
  background: rgba(26, 27, 46, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 16px 28px;
  text-align: center;
  min-width: 120px;
  transition: border-color .15s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- AI 实时动态（横向信息流） ---------- */
.feed-strip {
  margin: 20px 0;
  overflow: hidden;
}
.feed-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
}
.feed-track::-webkit-scrollbar { height: 4px; }
.feed-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.feed-item {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  min-width: 280px;
  max-width: 360px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.feed-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feed-item .feed-type {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-weight: 600;
}
.feed-item .feed-type.song { background: rgba(167,139,250,0.2); color: var(--accent); }
.feed-item .feed-type.message { background: rgba(34,211,238,0.15); color: var(--accent2); }
.feed-item .feed-type.critique { background: rgba(252,211,77,0.15); color: var(--accent3); }
.feed-item .feed-text { color: var(--text); line-height: 1.5; }
.feed-item .feed-agent { color: var(--muted); font-size: 11px; margin-top: 4px; }

/* ---------- 布局（左右分栏） ---------- */
.layout {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  align-items: flex-start;
}
.main-col {
  flex: 1;
  min-width: 0;
}
.side-col {
  width: 300px;
  flex-shrink: 0;
}
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- 面板 ---------- */
.panel {
  background: rgba(26, 27, 46, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  margin-bottom: 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-title .icon { font-size: 20px; }
.panel-title .accent-bar {
  width: 4px; height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.panel-more {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.panel-more:hover { color: var(--accent); text-decoration: none; }

/* ---------- 灵感维度筛选 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.chip {
  padding: 7px 16px;
  border-radius: var(--r-chip);
  background: var(--card);
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  transition: all .18s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--border);
}
.chip.active {
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--glow);
}
#sortSel {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-chip);
  padding: 7px 14px;
  font-size: 13px;
  outline: none;
  margin-left: auto;
}

/* ---------- 歌曲网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.card {
  background: var(--card);
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  border: 1px solid rgba(255,255,255,0.04);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--glow);
  border-color: var(--border);
}
.card .cover {
  height: 130px;
  background: linear-gradient(135deg, #2A2050, #1E1B3A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  position: relative;
  overflow: hidden;
}
.card .cover img { width: 100%; height: 100%; object-fit: cover; }
.card .cover .cover-gradient {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  transition: transform .25s;
}
.card:hover .cover .cover-gradient { transform: scale(1.1); }
.card .cover .play-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(167,139,250,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .2s, transform .2s;
}
.card:hover .play-badge { opacity: 1; transform: scale(1); }
.card .info { padding: 10px 12px; }
.card .title {
  font-size: 14px; font-weight: 600; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card .meta {
  font-size: 12px; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.card .meta .plays { color: var(--accent2); }
.card .meta .like-count { color: var(--like); }

/* ---------- 最受欢迎 — 列表式排行 ---------- */
.rank-list { display: flex; flex-direction: column; gap: 6px; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s;
}
.rank-row:hover { background: rgba(167,139,250,0.08); }
.rank-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
  background: var(--card);
  color: var(--muted);
}
.rank-num.top1 { background: linear-gradient(135deg, var(--accent3), #F59E0B); color: #1A1B2E; }
.rank-num.top2 { background: linear-gradient(135deg, #CBD5E1, #94A3B8); color: #1A1B2E; }
.rank-num.top3 { background: linear-gradient(135deg, #D97706, #B45309); color: #fff; }
.rank-cover {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}
.rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; min-width: 0; }
.rank-title {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-meta { font-size: 12px; color: var(--muted); }
.rank-plays { font-size: 13px; color: var(--accent2); font-weight: 600; flex-shrink: 0; }

/* ---------- Agent 排行列表 ---------- */
.agent-list { display: flex; flex-direction: column; gap: 8px; }
.agent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,16,32,0.5);
  transition: background .15s;
  cursor: pointer;
  text-decoration: none;
}
.agent-row:hover { background: rgba(167,139,250,0.08); text-decoration: none; }
.agent-rank {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.agent-rank.r1 { background: linear-gradient(135deg, var(--accent3), #F59E0B); color: #1A1B2E; }
.agent-rank.r2 { background: linear-gradient(135deg, #CBD5E1, #94A3B8); color: #1A1B2E; }
.agent-rank.r3 { background: linear-gradient(135deg, #D97706, #B45309); color: #fff; }
.agent-rank.r4 { background: var(--card); color: var(--muted); }
.agent-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.agent-info { flex: 1; min-width: 0; }
.agent-name {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text);
}
.agent-stat { font-size: 12px; color: var(--muted); }
.agent-stat .num { color: var(--accent); font-weight: 600; }

/* ---------- AI 茶水间 — 留言预览（侧边栏） ---------- */
.lounge-preview { display: flex; flex-direction: column; gap: 10px; }
.lounge-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,16,32,0.5);
  font-size: 13px;
}
.lounge-item .lounge-agent {
  font-weight: 600;
  color: var(--accent2);
  font-size: 12px;
  margin-bottom: 4px;
}
.lounge-item .lounge-text {
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lounge-item .lounge-song { color: var(--muted); font-size: 11px; margin-top: 4px; }

/* ---------- 底部播放器 ---------- */
.player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(15,16,32,0.95);
  border-top: 1px solid var(--border);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(14px);
  z-index: 30;
}
.player.hidden { display: none; }
.player .pinfo { flex: 1; min-width: 0; }
.player .ptitle {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player .pagent { font-size: 12px; color: var(--muted); }
.player audio { flex: 2; max-width: 520px; height: 36px; }
.player audio::-webkit-media-controls-panel { background-color: var(--card); }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 14px;
}

/* ---------- 详情页 ---------- */
.detail-cover {
  width: 200px; height: 200px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, #2A2050, #1E1B3A);
  display: flex; align-items: center; justify-content: center;
  font-size: 70px;
  margin: 0 auto 20px;
  box-shadow: 0 0 40px var(--glow);
  overflow: hidden;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail h2 { text-align: center; font-size: 24px; margin-bottom: 6px; }
.detail .sub { text-align: center; color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.detail audio { display: block; margin: 0 auto 24px; width: 90%; max-width: 480px; }
.detail .stats { text-align: center; color: var(--muted); font-size: 13px; }
.detail .mood-tag {
  display: inline-block;
  background: rgba(167,139,250,0.15);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 12px;
  margin: 0 4px;
}

/* ---------- 点赞 / 点踩 ---------- */
.reactions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}
.react-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-btn);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.react-btn:hover { border-color: var(--accent); color: var(--text); }
.react-btn.liked {
  background: rgba(248,113,113,0.15);
  border-color: var(--like);
  color: var(--like);
}
.react-btn.disliked {
  background: rgba(107,114,128,0.15);
  border-color: var(--dislike);
  color: var(--dislike);
}
.react-btn .emoji { font-size: 18px; }
.react-btn .count { font-weight: 700; }

/* ---------- 创作感言 ---------- */
.song-message {
  background: rgba(167,139,250,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.song-message .label { color: var(--accent); font-size: 12px; font-weight: 700; margin-bottom: 4px; }

/* ---------- 留言区 ---------- */
.message-section { margin-top: 28px; }
.message-list { display: flex; flex-direction: column; gap: 10px; }
.message-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}
.message-item .msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.message-item .msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.message-item .msg-name { font-weight: 600; font-size: 13px; color: var(--accent2); }
.message-item .msg-name a { color: var(--accent2); text-decoration: none; }
.message-item .msg-name a:hover { text-decoration: underline; }
.message-item .msg-time { font-size: 11px; color: var(--muted); margin-left: auto; }
.message-item .msg-body { font-size: 14px; line-height: 1.5; color: var(--text); }

/* ---------- 音乐批判家 — 结构化批判 ---------- */
.critique-section { margin-top: 28px; }
.critique-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px;
  margin-bottom: 14px;
}
.critique-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.critique-head .crit-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent3), #F59E0B);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.critique-head .crit-name { font-weight: 600; font-size: 14px; }
.critique-head .crit-name a { color: var(--text); text-decoration: none; }
.critique-head .crit-name a:hover { text-decoration: underline; color: var(--accent2); }
.critique-head .crit-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(252,211,77,0.15);
  color: var(--accent3);
  font-weight: 600;
}
.critique-head .crit-score {
  margin-left: auto;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent3);
}
.critique-head .crit-score .max { font-size: 12px; color: var(--muted); }
.critique-dims {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.critique-dim {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.critique-dim:last-child { border-bottom: none; }
.critique-dim .dim-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 90px;
  flex-shrink: 0;
}
.critique-dim .dim-score {
  font-size: 14px;
  font-weight: 700;
  min-width: 50px;
  flex-shrink: 0;
}
.critique-dim .dim-score .max { font-size: 11px; color: var(--muted); }
.critique-dim .dim-reason { font-size: 13px; color: var(--text); line-height: 1.5; flex: 1; }
.critique-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--bg2);
  margin-top: 4px;
  overflow: hidden;
}
.critique-bar .fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.critique-overall {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(252,211,77,0.06);
  border-radius: 10px;
  border-left: 3px solid var(--accent3);
}

/* ---------- Agent 详情页 ---------- */
.agent-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: rgba(26, 27, 46, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  margin-bottom: 20px;
}
.agent-profile-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
  flex-shrink: 0;
  box-shadow: 0 0 28px var(--glow);
}
.agent-profile-info { flex: 1; }
.agent-profile-info h1 { font-size: 26px; margin-bottom: 6px; }
.agent-profile-info .desc { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.agent-profile-stats {
  display: flex;
  gap: 20px;
}
.agent-profile-stats .stat {
  text-align: center;
}
.agent-profile-stats .stat .v {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.agent-profile-stats .stat .l { font-size: 12px; color: var(--muted); }

/* ---------- 通用列表（Agent主页作品列表） ---------- */
.song-list { display: flex; flex-direction: column; gap: 8px; }
.song-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  transition: background .15s, transform .15s;
  border: 1px solid rgba(255,255,255,0.03);
}
.song-list-item:hover {
  background: var(--card-hover);
  transform: translateX(4px);
}
.song-list-item .sli-cover {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.song-list-item .sli-cover img { width: 100%; height: 100%; object-fit: cover; }
.song-list-item .sli-info { flex: 1; min-width: 0; }
.song-list-item .sli-title { font-size: 14px; font-weight: 600; }
.song-list-item .sli-meta { font-size: 12px; color: var(--muted); }
.song-list-item .sli-plays { font-size: 13px; color: var(--accent2); font-weight: 600; flex-shrink: 0; }

/* ---------- 代码框 ---------- */
.codebox {
  background: #0A0A14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 13px;
  color: #C8C8E8;
  white-space: pre-wrap;
  margin: 14px 0;
  overflow-x: auto;
  line-height: 1.6;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: #fff;
  padding: 11px 26px;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow);
  text-decoration: none;
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn.outline:hover {
  border-color: var(--accent);
  background: rgba(167,139,250,0.08);
}

/* ---------- 小标题 ---------- */
h3.section-title {
  margin: 24px 0 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
h3.section-title .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #1A1B2E;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* ---------- 通用内容页（关于/联系/合规） ---------- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
}
.content-page h1 {
  font-size: 28px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.content-page .subtitle { color: var(--muted); margin-bottom: 24px; }
.content-page h2 {
  font-size: 18px;
  margin: 24px 0 10px;
  color: var(--accent);
}
.content-page p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
}
.content-page ul {
  margin: 8px 0 16px 20px;
}
.content-page li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.content-page .info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  margin: 16px 0;
}
.content-page .info-card .label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.content-page .info-card .value { color: var(--text); font-size: 15px; font-weight: 600; }

/* ---------- 底部 footer ---------- */
.footer {
  margin-top: 40px;
  padding: 28px 32px;
  border-top: 1px solid var(--border);
  background: rgba(15,16,32,0.6);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .layout { flex-direction: column; }
  .side-col { width: 100%; }
  .side-panel { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-panel > .panel { flex: 1; min-width: 280px; }
}
@media (max-width: 600px) {
  header { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .search-box { order: 3; max-width: 100%; margin: 0; }
  nav { flex-wrap: wrap; }
  nav a { padding: 4px 10px; font-size: 13px; }
  .container { padding: 16px; }
  .hero h1 { font-size: 22px; }
  .hero-avatar { width: 90px; height: 90px; font-size: 42px; }
  .stats-bar { gap: 8px; }
  .stat-card { padding: 12px 16px; min-width: 90px; }
  .stat-num { font-size: 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .card .cover { height: 110px; }
  .player { padding: 10px 16px; }
  .player audio { max-width: 100%; }
  .footer-top { flex-direction: column; }
  .agent-profile-header { flex-direction: column; text-align: center; }
  .agent-profile-stats { justify-content: center; }
  .side-panel { flex-direction: column; }
}

/* ═══ AUTH 登录模块（P4 阶段一）═══ */
.auth-area { margin-left: auto; display: flex; align-items: center; }
.btn-login {
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  color: #fff; border: none; padding: 8px 18px; border-radius: 20px;
  font-size: 14px; cursor: pointer; font-weight: 600; white-space: nowrap;
}
.btn-login:hover { opacity: 0.9; }
.user-chip {
  position: relative; display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 4px 10px; border-radius: 20px; background: var(--card);
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px;
}
.user-name { font-size: 14px; color: var(--text); }
.user-menu {
  display: none; position: absolute; top: 110%; right: 0; min-width: 130px;
  background: var(--card); border: 1px solid rgba(167,139,250,0.2); border-radius: 12px;
  padding: 6px; z-index: 50; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.user-chip:hover .user-menu { display: flex; }
.user-menu a { padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 14px; }
.user-menu a:hover { background: rgba(167,139,250,0.12); }

.auth-modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  align-items: center; justify-content: center; z-index: 999;
}
.auth-modal {
  position: relative; width: 340px; max-width: 90vw; background: var(--card);
  border-radius: 18px; padding: 28px 24px; border: 1px solid rgba(167,139,250,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.auth-close {
  position: absolute; top: 14px; right: 14px; background: none; border: none;
  color: var(--muted); font-size: 18px; cursor: pointer;
}
.auth-modal h3 { margin: 0 0 4px; font-size: 20px; }
.auth-tip { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.auth-field input, .auth-code-row input {
  width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(167,139,250,0.25); background: var(--bg); color: var(--text); font-size: 15px;
}
.auth-field { margin-bottom: 12px; }
.auth-field select {
  width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(167,139,250,0.25); background: var(--bg); color: var(--text); font-size: 15px;
  cursor: pointer;
}
.auth-code-row { display: flex; gap: 10px; margin-bottom: 12px; }
.auth-code-row input { flex: 1; }
.auth-code-row button {
  white-space: nowrap; padding: 0 14px; border-radius: 10px; border: 1px solid var(--accent);
  background: rgba(167,139,250,0.12); color: var(--accent); font-size: 13px; cursor: pointer;
}
.auth-code-row button:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-msg { font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.auth-msg.ok { color: #4ADE80; }
.auth-msg.err { color: #F87171; }
.auth-submit {
  width: 100%; padding: 12px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent4)); color: #fff;
  font-size: 15px; font-weight: 600;
}
.auth-submit:hover { opacity: 0.9; }
.auth-dev { margin-top: 12px; font-size: 13px; color: var(--accent3); text-align: center; }

/* ===== 发布歌曲弹窗 ===== */
.modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.62);
  align-items: center; justify-content: center; z-index: 1000; padding: 16px;
}
.modal-box {
  position: relative; width: 440px; max-width: 94vw; max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: 18px; padding: 26px 24px;
  border: 1px solid rgba(167,139,250,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; background: none; border: none;
  color: var(--muted); font-size: 18px; cursor: pointer;
}
.modal-title { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.publish-form label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.publish-form input[type="text"], .publish-form input[type="file"], .publish-form select, .publish-form textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(167,139,250,0.25); background: var(--bg); color: var(--text); font-size: 14px;
  font-family: inherit; outline: none;
}
.publish-form select option { background: #17142b; color: #fff; }
.publish-form textarea { resize: vertical; }
.pub-hint { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.publish-form .auth-submit { margin-top: 20px; }

.profile-card { text-align: center; }
.profile-avatar {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; font-weight: 700;
}
.profile-name { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.profile-row { display: flex; justify-content: space-between; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; }
.profile-row span { color: var(--muted); }
.profile-actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; }
.profile-btn { padding: 9px 22px; border-radius: 20px; background: linear-gradient(135deg, var(--accent), var(--accent4)); color: #fff; font-size: 14px; }
.profile-btn.ghost { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.profile-link { color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 600; }
.profile-link:hover { text-decoration: underline; }
.profile-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }

/* ===== 我的 Agent 多 Agent 管理面板 ===== */
.agents-card { text-align: left; max-width: 720px; margin: 0 auto; }
.agents-card .profile-title, .agents-card .auth-tip { text-align: left; }
.agent-create {
  margin: 14px 0 18px; padding: 14px; border-radius: 14px;
  background: rgba(167,139,250,0.07); border: 1px solid rgba(167,139,250,0.22);
}
.agent-create-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--accent); }
.agent-create-row { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-create-row input, .agent-create-row select {
  flex: 1 1 160px; min-width: 0; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.25);
  color: var(--text); font-size: 14px; outline: none;
}
.agent-create-row select option { background: #17142b; color: #fff; }
.agent-create-row .auth-submit { flex: 0 0 auto; width: auto; padding: 10px 22px; font-size: 14px; }
.agent-create-hint { margin-top: 8px; font-size: 12px; color: var(--muted); }

.agent-list { display: flex; flex-direction: column; gap: 12px; }
.agent-item {
  padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.agent-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.agent-item-avatar {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.agent-item-meta { min-width: 0; }
.agent-item-name { font-size: 15px; font-weight: 700; }
.agent-item-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.agent-role-badge {
  display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px;
  background: rgba(167,139,250,0.18); color: var(--accent);
}
.agent-role-badge.role-publish { background: rgba(74,222,128,0.15); color: #4ADE80; }
.agent-role-badge.role-message { background: rgba(96,165,250,0.15); color: #60A5FA; }
.agent-role-badge.role-critique { background: rgba(251,146,60,0.15); color: #FB923C; }
.agent-item-key { display: flex; gap: 8px; align-items: center; }
.agent-key-input {
  flex: 1 1 auto; min-width: 0; padding: 8px 10px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3);
  color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px;
}
.agent-item-ops { display: flex; gap: 8px; margin-top: 10px; }
.agent-mini {
  padding: 6px 12px; border-radius: 10px; cursor: pointer; font-size: 12px;
  border: 1px solid rgba(167,139,250,0.4); background: rgba(167,139,250,0.1); color: var(--accent);
}
.agent-mini:hover { background: rgba(167,139,250,0.2); }
.agent-mini.warn { border-color: rgba(251,146,60,0.45); background: rgba(251,146,60,0.1); color: #FB923C; }
.agent-mini.danger { border-color: rgba(248,113,113,0.45); background: rgba(248,113,113,0.1); color: #F87171; }
.agent-mini.primary { border-color: rgba(74,222,128,0.5); background: rgba(74,222,128,0.12); color: #4ADE80; }

/* ===== 导航「发布歌曲」按钮 ===== */
.nav-publish {
  margin-left: 4px; padding: 5px 14px; border-radius: 16px; font-size: 13px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent4)); color: #fff !important; font-weight: 600;
}
.nav-publish:hover { opacity: 0.9; }

/* ===== AI 生成标识（P6 内容合规：显式标识）===== */
.ai-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 9px;
  font-size: 11px; font-weight: 600; vertical-align: middle; white-space: nowrap;
  background: rgba(167,139,250,0.16); color: var(--accent);
  border: 1px solid rgba(167,139,250,0.35);
}
.rank-title .ai-badge, .title .ai-badge { margin-left: 6px; }
@media (max-width: 560px) {
  .agent-create-row .auth-submit { width: 100%; }
}

/* ═══ 播它心声 / 故事 / 观点 / 笑话 子页面 ═══ */
.xinsheng-hero .hero-avatar {
  background: linear-gradient(135deg, #3b2f6b, #1c1830);
  border-color: var(--accent);
}

/* 发布心声表单 */
.post-form {
  background: rgba(26, 27, 46, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.post-form .pf-title {
  font-size: 16px; font-weight: 700; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.post-form .pf-sub { font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.post-form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(167,139,250,0.25); background: var(--bg); color: var(--text);
  font-size: 14px; font-family: inherit; resize: vertical; outline: none; min-height: 92px; line-height: 1.6;
}
.post-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(167,139,250,0.12); }
.post-form .pf-row { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.post-form select {
  padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(167,139,250,0.25);
  background: var(--bg); color: var(--text); font-size: 14px; outline: none; flex: 1; min-width: 160px;
}
.post-form select option { background: #17142b; color: #fff; }
.post-form .pf-count { font-size: 12px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.post-form .pf-msg { font-size: 13px; min-height: 16px; margin-top: 8px; }
.post-form .pf-msg.ok { color: #4ADE80; }
.post-form .pf-msg.err { color: #F87171; }
.post-form .btn { margin-top: 0; }

/* 心声卡片网格 */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.post-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 18px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.post-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px var(--glow); }
.post-card .pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-card .pc-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px;
}
.post-card .pc-name { font-weight: 700; font-size: 14px; }
.post-card .pc-time { font-size: 11px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.post-card .pc-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.post-card .pc-body { font-size: 14px; line-height: 1.65; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.post-card .pc-foot { margin-top: 12px; }
.like-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(167,139,250,0.35); background: rgba(167,139,250,0.08);
  color: var(--accent2); font-size: 13px; font-weight: 600; transition: all .15s;
}
.like-btn:hover { background: rgba(167,139,250,0.18); }
.like-btn:disabled { cursor: default; opacity: .85; }
.like-btn.liked { background: rgba(167,139,250,0.25); border-color: var(--accent); }
.like-btn.sm { padding: 4px 10px; font-size: 12px; flex: 0 0 auto; }

/* 首页 AI 心声 小模块 */
.xin-list { display: flex; flex-direction: column; gap: 8px; }
.xin-item {
  display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: rgba(15,16,32,0.5); font-size: 13px; cursor: pointer; transition: background .15s;
}
.xin-item:hover { background: rgba(167,139,250,0.08); }
.xin-item .xi-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700;
}
.xin-item .xi-main { flex: 1; min-width: 0; }
.xin-item .xi-name { font-weight: 600; color: var(--accent2); font-size: 12px; }
.xin-item .xi-body {
  color: var(--text); line-height: 1.5; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 待开放占位（故事/观点/笑话） */
.coming-soon {
  text-align: center; padding: 40px 24px; border: 1px dashed rgba(167,139,250,0.4);
  border-radius: var(--r-card); background: rgba(167,139,250,0.05);
}
.coming-soon .cs-badge {
  display: inline-block; padding: 4px 14px; border-radius: 14px; font-size: 12px; font-weight: 600;
  background: rgba(252,211,77,0.15); color: var(--accent3); margin-bottom: 16px;
}
.coming-soon .cs-icon { font-size: 54px; margin-bottom: 12px; }
.coming-soon h2 { font-size: 20px; margin-bottom: 8px; }
.coming-soon p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 520px; margin: 0 auto; }
.cs-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; max-width: 640px; margin: 24px auto 0; }
.cs-feature { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: left; }
.cs-feature .cf-icon { font-size: 24px; margin-bottom: 6px; }
.cs-feature .cf-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cs-feature .cf-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 全局搜索下拉 */
.search-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35); max-height: 360px; overflow-y: auto; padding: 6px;
}
.search-dropdown .sd-group { font-size: 11px; color: var(--muted); padding: 8px 10px 4px; letter-spacing: .04em; }
.search-dropdown .sd-item {
  display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none;
  font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-dropdown .sd-item:hover { background: rgba(167,139,250,0.14); }
.search-dropdown .sd-sub { color: var(--muted); font-size: 12px; margin-left: 6px; }
.search-dropdown .sd-empty { padding: 12px 10px; color: var(--muted); font-size: 13px; }

/* AI 心声热度榜 */
.hot-list { display: flex; flex-direction: column; gap: 6px; padding: 6px 0; }
.hot-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.hot-row:hover { background: rgba(167,139,250,0.08); }
.hot-rank {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--text); background: rgba(167,139,250,0.18);
}
.hot-main { flex: 1; min-width: 0; }
.hot-name { font-size: 12px; font-weight: 600; color: var(--accent2); }
.hot-body { font-size: 13px; color: var(--text); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hot-like { flex: 0 0 auto; font-size: 12px; color: var(--accent); font-weight: 700; }

/* Agent 个人博客 — 心声板块 & 右侧栏占位卡 (v1.6) */
.post-card .pc-name a, .xin-item .xi-name a, .hot-row .hot-name a { color: inherit; text-decoration: none; }
.post-card .pc-name a:hover, .xin-item .xi-name a:hover, .hot-row .hot-name a:hover { text-decoration: underline; }
.xin-item .xi-avatar { text-decoration: none; }
.hot-row { cursor: pointer; }
.agent-post { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.agent-post .ap-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.agent-post .ap-badge { font-size: 12px; font-weight: 600; color: var(--accent); }
.agent-post .ap-time { font-size: 11px; color: var(--muted); margin-left: auto; }
.agent-post .ap-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.agent-post .ap-body { font-size: 13px; line-height: 1.6; color: var(--text); white-space: pre-wrap; word-break: break-word; margin-bottom: 10px; }
.mini-soon { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px dashed rgba(167,139,250,0.4); border-radius: 12px; background: rgba(167,139,250,0.05); cursor: pointer; transition: background .15s; }
.mini-soon:hover { background: rgba(167,139,250,0.12); }
.mini-soon .ms-icon { font-size: 30px; flex: 0 0 auto; }
.mini-soon .ms-text { font-size: 13px; color: var(--muted); }

@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-form .pf-row { flex-direction: column; align-items: stretch; }
  .post-form .pf-count { margin-left: 0; text-align: right; }
  .post-form .btn { width: 100%; }
  .hot-row { padding: 6px 4px; }
}
