/* ==========================================================================
   腾龙发科 · V66 AI数字人社区升级层  dh-community-v66.css
   页面：/frontend/dh-community.html
   叠加于 common.css / frontend.css / v33-pages.css / site-nav-v61.css / mobile-v63.css
   前缀：dc66-  ·  零内联样式，动态配色由 [data-tone] 承载，动态宽度由 .dc66-w* 承载
   ========================================================================== */

.dc66-page { color: #d7e3ff; }

[data-tone="1"] { --c1: #7c5cff; --c2: #4ecdff; }
[data-tone="2"] { --c1: #ff4e9a; --c2: #c77dff; }
[data-tone="3"] { --c1: #2ee59d; --c2: #4ecdff; }
[data-tone="4"] { --c1: #ff9f4e; --c2: #ffcc4e; }
[data-tone="5"] { --c1: #c77dff; --c2: #00e5ff; }
[data-tone="6"] { --c1: #4ecdff; --c2: #2ee59d; }
[data-tone="7"] { --c1: #7c5cff; --c2: #ff4e9a; }
[data-tone="8"] { --c1: #2ee59d; --c2: #ffcc4e; }
[data-tone="9"] { --c1: #ffcc4e; --c2: #ff4e9a; }
[data-tone="10"] { --c1: #00e5ff; --c2: #7c5cff; }
[data-tone="11"] { --c1: #ffcc4e; --c2: #ff9f4e; }
[data-tone="12"] { --c1: #2ee59d; --c2: #7c5cff; }

/* 宽度档位 */
.dc66-w0 { width: 0; } .dc66-w10 { width: 10%; } .dc66-w20 { width: 20%; }
.dc66-w30 { width: 30%; } .dc66-w40 { width: 40%; } .dc66-w50 { width: 50%; }
.dc66-w60 { width: 60%; } .dc66-w70 { width: 70%; } .dc66-w80 { width: 80%; }
.dc66-w90 { width: 90%; } .dc66-w100 { width: 100%; }

/* ---------- 首屏 ---------- */
.dc66-hero {
  padding: 44px 0 30px;
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(255, 78, 154, .22), transparent 60%),
    radial-gradient(800px 400px at 5% 10%, rgba(124, 92, 255, .24), transparent 60%),
    linear-gradient(180deg, #080a17, #0b1024);
  border-bottom: 1px solid rgba(120, 140, 255, .14);
}
.dc66-hero h1 { margin: 12px 0 10px; font-size: 38px; font-weight: 800; color: #fff; }
.dc66-hero h1 .grad { background: linear-gradient(100deg, #ff4e9a, #7c5cff 60%, #4ecdff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc66-hero p { margin: 0 0 18px; font-size: 15px; color: #a3b0d4; line-height: 1.9; max-width: 760px; }
.dc66-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.dc66-hero-stats span { padding: 7px 14px; border-radius: 10px; font-size: 12.5px; color: #d5e0ff;
  background: rgba(20, 26, 48, .8); border: 1px solid rgba(120, 140, 255, .22); }
.dc66-hero-stats b { color: #ff8bc0; font-weight: 800; }

/* ---------- KPI ---------- */
.dc66-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.dc66-kpi { padding: 15px 12px; border-radius: 15px; text-align: center;
  background: rgba(16, 21, 42, .86); border: 1px solid rgba(120, 140, 255, .18); backdrop-filter: blur(8px); }
.dc66-kpi-v { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.15; }
.dc66-kpi-v i { font-style: normal; font-size: 12px; color: #8fa4d8; margin-left: 2px; }
.dc66-kpi-l { margin-top: 5px; font-size: 12px; color: #93a4cc; }

/* ---------- 布局 ---------- */
.dc66-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.dc66-main { min-width: 0; display: grid; gap: 18px; }
.dc66-side { display: grid; gap: 16px; position: sticky; top: 84px; }

.dc66-card { padding: 18px; border-radius: 16px;
  background: rgba(16, 21, 42, .82); border: 1px solid rgba(120, 140, 255, .16); }
.dc66-card-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dc66-card-hd h3 { margin: 0; font-size: 16px; color: #eaf1ff; }
.dc66-card-hd .more { font-size: 12.5px; color: #8fa0c8; cursor: pointer; }
.dc66-card-hd .more:hover { color: #7c5cff; }

/* ---------- 话题 ---------- */
.dc66-topics { display: flex; flex-wrap: wrap; gap: 9px; }
.dc66-topic {
  padding: 8px 15px; border-radius: 999px; cursor: pointer; font-size: 13px; font-family: inherit;
  color: #c6cff0; background: rgba(24, 30, 52, .78); border: 1px solid rgba(120, 140, 255, .18); transition: all .18s;
}
.dc66-topic:hover { color: #fff; border-color: rgba(255, 78, 154, .5); }
.dc66-topic.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff4e9a, #7c5cff); }
.dc66-topic em { font-style: normal; opacity: .72; font-size: 11.5px; margin-left: 5px; }

/* ---------- 发布框 ---------- */
.dc66-compose { display: grid; gap: 12px; }
.dc66-compose-top { display: flex; align-items: center; gap: 12px; }
.dc66-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c1, #7c5cff), var(--c2, #4ecdff)); flex: 0 0 auto; }
.dc66-avatar .ph { font-size: 12px; }
.dc66-textarea { width: 100%; min-height: 88px; padding: 12px 14px; border-radius: 13px; resize: vertical; line-height: 1.75;
  font-size: 14px; font-family: inherit; color: #e8ecff; background: rgba(8, 12, 26, .82);
  border: 1px solid rgba(120, 140, 255, .22); outline: 0; }
.dc66-textarea:focus { border-color: rgba(255, 78, 154, .6); box-shadow: 0 0 0 3px rgba(255, 78, 154, .14); }
.dc66-compose-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dc66-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc66-chip { padding: 6px 13px; border-radius: 999px; cursor: pointer; font-size: 12.5px; font-family: inherit;
  color: #b9c0de; background: rgba(20, 26, 48, .72); border: 1px solid rgba(120, 140, 255, .18); }
.dc66-chip.on { color: #fff; background: linear-gradient(135deg, #ff4e9a, #7c5cff); border-color: transparent; }
.dc66-input { padding: 10px 13px; border-radius: 11px; font-size: 13.5px; font-family: inherit; color: #e8ecff;
  background: rgba(8, 12, 26, .82); border: 1px solid rgba(120, 140, 255, .22); outline: 0; }
.dc66-input:focus { border-color: rgba(124, 92, 255, .68); }

/* ---------- 按钮 ---------- */
.dc66-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  padding: 9px 18px; border-radius: 11px; font-size: 13.5px; font-family: inherit;
  color: #dbe4ff; background: rgba(30, 38, 68, .8); border: 1px solid rgba(120, 140, 255, .26); transition: all .18s; }
.dc66-btn:hover { background: rgba(124, 92, 255, .24); border-color: rgba(124, 92, 255, .6); color: #fff; }
.dc66-btn.pri { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff4e9a, #7c5cff); box-shadow: 0 8px 22px rgba(255, 78, 154, .3); }
.dc66-btn.pri:hover { filter: brightness(1.08); }
.dc66-btn.sm { padding: 6px 13px; font-size: 12.5px; border-radius: 9px; }
.dc66-btn[disabled] { opacity: .5; cursor: not-allowed; }
.dc66-btn.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #7c5cff, #4ecdff); }

/* ---------- 动态流 ---------- */
.dc66-feed { display: grid; gap: 14px; }
.dc66-post { padding: 16px; border-radius: 16px; background: rgba(16, 21, 42, .8); border: 1px solid rgba(120, 140, 255, .16); }
.dc66-post-hd { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.dc66-post-hd .nm { font-size: 14px; font-weight: 700; color: #eaf1ff; }
.dc66-post-hd .mt { font-size: 12px; color: #8391b6; }
.dc66-post-hd .sp { flex: 1 1 auto; }
.dc66-post-hd .tag { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; color: #ffb4d6; background: rgba(255, 78, 154, .14); }
.dc66-post-txt { margin: 0 0 12px; font-size: 14px; color: #c8d3f2; line-height: 1.85; white-space: pre-wrap; }
.dc66-post-media { height: 150px; border-radius: 13px; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .22), rgba(78, 205, 255, .14)); border: 1px solid rgba(120, 140, 255, .18);
  display: flex; align-items: center; justify-content: center; color: #9fb3e8; font-size: 13px; }
.dc66-post-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dc66-act { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; padding: 6px 12px; border-radius: 9px;
  font-size: 12.5px; color: #9dabd0; background: rgba(20, 26, 48, .6); border: 1px solid rgba(120, 140, 255, .14); }
.dc66-act:hover { color: #fff; border-color: rgba(124, 92, 255, .5); }
.dc66-act.on { color: #ff8bc0; border-color: rgba(255, 78, 154, .5); background: rgba(255, 78, 154, .12); }

/* ---------- 成员 ---------- */
.dc66-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 13px; }
.dc66-member { padding: 15px 12px; border-radius: 15px; text-align: center;
  background: rgba(16, 21, 42, .8); border: 1px solid rgba(120, 140, 255, .16); transition: all .18s; }
.dc66-member:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, .5); }
.dc66-member .av { width: 56px; height: 56px; margin: 0 auto 9px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c1, #7c5cff), var(--c2, #4ecdff)); }
.dc66-member .nm { font-size: 14px; font-weight: 700; color: #eaf1ff; }
.dc66-member .rl { margin-top: 3px; font-size: 12px; color: #8fa0c8; }
.dc66-member .st { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; color: #6ef2c0; background: rgba(46, 229, 157, .13); }
.dc66-member .st.off { color: #97a3c4; background: rgba(150, 163, 196, .12); }
.dc66-member .fo { margin-top: 10px; width: 100%; }

/* ---------- 榜单 ---------- */
.dc66-rank { display: grid; gap: 9px; }
.dc66-rank-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px;
  background: rgba(20, 26, 48, .6); border: 1px solid rgba(120, 140, 255, .12); }
.dc66-rank-row .no { width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; background: rgba(120, 140, 255, .26); flex: 0 0 auto; }
.dc66-rank-row.top1 .no { background: linear-gradient(135deg, #ffcc4e, #ff9f4e); }
.dc66-rank-row.top2 .no { background: linear-gradient(135deg, #cfe0ff, #8fa4d8); }
.dc66-rank-row.top3 .no { background: linear-gradient(135deg, #ff9f4e, #c77dff); }
.dc66-rank-row .nm { flex: 1 1 auto; font-size: 13.5px; color: #e2e9ff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc66-rank-row .vl { font-size: 13px; font-weight: 800; color: #5eead4; }

/* ---------- 直播中 ---------- */
.dc66-live { display: grid; gap: 10px; }
.dc66-live-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 78, 154, .07); border: 1px solid rgba(255, 78, 154, .2); }
.dc66-live-item .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4e9a; box-shadow: 0 0 8px #ff4e9a; flex: 0 0 auto; }
.dc66-live-item .nm { flex: 1 1 auto; font-size: 13px; color: #f0d8e8; }
.dc66-live-item .vs { font-size: 12px; color: #ffb4d6; }

/* ---------- 分页 / 空态 ---------- */
.dc66-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; }
.dc66-pager button { min-width: 36px; padding: 7px 11px; border-radius: 9px; cursor: pointer; font-size: 13px; font-family: inherit;
  color: #b9c0de; background: rgba(20, 26, 48, .72); border: 1px solid rgba(120, 140, 255, .2); }
.dc66-pager button.on { color: #fff; background: linear-gradient(135deg, #ff4e9a, #7c5cff); border-color: transparent; }
.dc66-pager button[disabled] { opacity: .45; cursor: not-allowed; }
.dc66-empty { padding: 42px 18px; text-align: center; color: #7f8db3; font-size: 13.5px;
  border-radius: 15px; border: 1px dashed rgba(120, 140, 255, .24); }

/* ---------- 工具条 / 搜索 ---------- */
.dc66-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 14px;
  background: rgba(16, 21, 42, .8); border: 1px solid rgba(120, 140, 255, .16); }
.dc66-search { display: flex; align-items: center; gap: 8px; min-width: 220px; padding: 8px 13px; border-radius: 11px;
  background: rgba(8, 12, 26, .8); border: 1px solid rgba(120, 140, 255, .2); }
.dc66-search input { flex: 1; background: transparent; border: 0; outline: 0; color: #e8ecff; font-size: 13.5px; font-family: inherit; }
.dc66-search input::placeholder { color: #6f7796; }
.dc66-spacer { flex: 1 1 auto; }

/* ---------- 页脚 ---------- */
.dc66-foot { margin-top: 30px; padding: 32px 0; border-top: 1px solid rgba(120, 140, 255, .14); background: rgba(6, 9, 20, .8); }
.dc66-foot-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.dc66-foot h4 { margin: 0 0 10px; font-size: 14px; color: #eaf1ff; }
.dc66-foot a { display: block; margin-bottom: 7px; font-size: 13px; color: #93a4cc; text-decoration: none; }
.dc66-foot a:hover { color: #ff4e9a; }
.dc66-foot p { margin: 0 0 6px; font-size: 12.5px; color: #7f8db3; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .dc66-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .dc66-layout { grid-template-columns: 1fr; }
  .dc66-side { position: static; }
  .dc66-hero h1 { font-size: 30px; }
  .dc66-foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .dc66-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc66-hero { padding: 30px 0 22px; }
  .dc66-hero h1 { font-size: 24px; }
  .dc66-compose-ft { flex-direction: column; align-items: stretch; }
  .dc66-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .dc66-kpis { grid-template-columns: 1fr; }
  .dc66-members { grid-template-columns: 1fr; }
  .dc66-foot-inner { grid-template-columns: 1fr; }
}
/* ---------- 补充工具类（替代内联 style） ---------- */
.dc66-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dc66-hint { font-size: 12px; color: #8fa0c8; }
.dc66-mine { font-style: normal; font-size: 11px; color: #ffd66e; margin-left: 4px; }
.dc66-sub { font-style: normal; font-size: 11.5px; color: #8391b6; }
.dc66-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 8px 0; }
.dc66-bar > i { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--c1, #ff4e9a), var(--c2, #4ecdff)); transition: width .6s ease; }
button.dc66-rank-row { width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
button.dc66-rank-row:hover { border-color: rgba(255, 78, 154, .5); }
.dc66-btn.fo { width: 100%; margin-top: 10px; }

/* ---------- 轻提示 ---------- */
.dc66-toast { position: fixed; right: 20px; bottom: 24px; z-index: 10000; display: grid; gap: 10px; }
.dc66-toast-item { padding: 12px 18px; border-radius: 12px; font-size: 13.5px; color: #eaf1ff;
  background: rgba(18, 24, 48, .96); border: 1px solid rgba(46, 229, 157, .4); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.dc66-toast-item.err { border-color: rgba(255, 120, 160, .55); }
.dc66-toast-item.out { opacity: 0; transform: translateY(8px); transition: all .4s; }

/* ---------- 容器 ---------- */
.dc66-container { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .dc66-container { padding: 0 16px; } }

/* ---------- 收尾补充 ---------- */

.dc66-mt { margin-top: 10px; }
.dc66-btn { text-decoration: none; }
