/**
 * 论坛云社区 — 对齐腾讯云开发者社区帖子流（导航栏保持站点默认）
 * https://cloud.tencent.com/developer
 */
body.page-forum-cloud {
  background: #f5f7fa !important;
}
body.page-forum-cloud .cc-page {
  padding: 16px 0 56px;
  position: relative;
}
body.page-forum-cloud .cc-page--feed {
  padding-top: 8px;
}
body.page-forum-cloud .cc-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero */
.cc-hero {
  display: block;
  margin-bottom: 24px;
}
.cc-banner {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(ellipse 55% 90% at 92% 35%, rgba(0, 102, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 40% 60% at 8% 80%, rgba(125, 211, 252, 0.2), transparent 55%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.92) 0%, rgba(232, 241, 255, 0.88) 48%, rgba(245, 249, 255, 0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 82, 217, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 40px 40px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(200px, 0.95fr);
  gap: 24px;
  align-items: center;
}
.cc-banner-glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18), transparent 68%);
  pointer-events: none;
}
.cc-banner-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0066ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cc-banner h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.28;
  letter-spacing: -0.03em;
}
.cc-hl {
  background: linear-gradient(90deg, #0066ff, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cc-banner-sub {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: #4e5969;
}
.cc-banner-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cc-banner-stats {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cc-stat-chip {
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 102, 255, 0.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.cc-stat-chip strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0066ff;
  line-height: 1.1;
}
.cc-stat-chip span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #86909c;
}

.cc-btn-primary {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #0066ff, #0052d9);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.28);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.34);
  color: #fff !important;
}
.cc-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 102, 255, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: #1d2129 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cc-btn-ghost:hover {
  border-color: #0066ff;
  color: #0066ff !important;
  background: #fff;
}
.cc-btn-ai {
  background: rgba(0, 102, 255, 0.06);
  color: #0066ff !important;
}

/* Hero art — floating panels */
.cc-banner-art {
  position: relative;
  min-height: 220px;
}
.cc-art-orb {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #bfdbfe 45%, #60a5fa 100%);
  opacity: 0.85;
  filter: blur(0.5px);
}
.cc-art-panel {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cc-art-panel-a {
  left: 0;
  top: 24px;
  width: 200px;
  padding: 14px 16px;
  z-index: 2;
}
.cc-art-panel-a .cc-art-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.cc-art-panel-a em {
  font-style: normal;
  font-size: 11px;
  color: #86909c;
}
.cc-art-panel-a strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #1d2129;
  line-height: 1.4;
}
.cc-art-panel-b {
  right: 0;
  bottom: 8px;
  width: 168px;
  padding: 16px 14px;
  z-index: 3;
  text-align: left;
}
.cc-art-panel-b span {
  display: block;
  font-size: 12px;
  color: #86909c;
}
.cc-art-panel-b strong {
  display: block;
  margin-top: 4px;
  font-size: 32px;
  color: #0066ff;
  line-height: 1;
  font-weight: 800;
}
.cc-art-panel-b em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: #4e5969;
}
.cc-art-panel-c {
  right: 48px;
  top: 0;
  width: 120px;
  height: 72px;
  padding: 12px;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  z-index: 1;
}
.cc-art-panel-c i {
  flex: 1;
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #93c5fd, #3b82f6);
}
.cc-art-panel-c i:nth-child(1) { height: 28px; opacity: 0.5; }
.cc-art-panel-c i:nth-child(2) { height: 42px; }
.cc-art-panel-c i:nth-child(3) { height: 34px; opacity: 0.75; }

/* User card */
.cc-user-card {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 4px;
  padding: 18px 16px 14px;
  box-shadow: none;
  margin-bottom: 0;
}
.cc-side > .cc-user-card { margin-bottom: 0; }
.cc-user-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cc-user-top img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f7;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.12);
}
.cc-user-top strong {
  display: block;
  font-size: 16px;
  color: #1d2129;
}
.cc-user-top span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #86909c;
}
.cc-user-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.cc-user-stats b {
  display: block;
  font-size: 18px;
  color: #0066ff;
  font-weight: 800;
}
.cc-user-stats span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #86909c;
}
.cc-user-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  gap: 6px;
}
.cc-user-links a {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #4e5969;
  text-decoration: none;
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.cc-user-links a:hover {
  color: #0066ff;
  background: rgba(0, 102, 255, 0.06);
}
.cc-link-tasks { color: #0066ff !important; font-weight: 700; }
.cc-task-cta {
  display: block;
  margin-top: 12px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(56, 189, 248, 0.12));
  color: #0066ff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid rgba(0, 102, 255, 0.12);
}
.cc-task-cta:hover { background: rgba(0, 102, 255, 0.14); }
.cc-user-guest {
  text-align: center;
  padding: 12px 4px 8px;
}
.cc-guest-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052d9, #4d8fff);
  box-shadow: 0 6px 16px rgba(0, 82, 217, 0.22);
  position: relative;
}
.cc-guest-icon::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(25deg);
}
.cc-user-guest img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.cc-user-guest h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2329;
}
.cc-user-guest p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #86909c;
  line-height: 1.55;
}
.cc-user-guest .cc-btn-primary,
.cc-user-guest .cc-btn-ghost {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  border-radius: 3px;
  height: 36px;
  box-shadow: none;
}

/* Main grid */
.cc-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.cc-main.is-side-collapsed {
  grid-template-columns: minmax(0, 1fr);
}
.cc-side-shell { position: relative; min-width: 0; }
.cc-side-fold {
  position: absolute;
  left: -13px;
  top: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  padding: 0 8px 0 6px;
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 10px 0 0 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #4e5969;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: -2px 4px 16px rgba(15, 23, 42, 0.08);
  transition: color 0.15s, border-color 0.15s;
}
.cc-side-fold:hover { color: #0066ff; border-color: #93c5fd; }
.cc-side-fold span { writing-mode: vertical-rl; letter-spacing: 0.08em; }
.cc-side-reopen {
  position: fixed;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 110;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 36px;
  min-height: 72px;
  padding: 10px 6px;
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 12px 0 0 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #4e5969;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: -2px 4px 16px rgba(15, 23, 42, 0.08);
}
.cc-side-reopen span { writing-mode: vertical-rl; letter-spacing: 0.08em; }
.cc-side-reopen:hover { color: #0066ff; border-color: #93c5fd; }

/* Feed panel — 白底列表，贴近腾讯云开发者社区 */
.cc-feed {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
}

.cc-feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 16px;
  border-bottom: 1px solid #e7eaf0;
  background: #fff;
}
.cc-feed-toolbar .cc-tabs {
  flex: 1;
  min-width: 0;
  border-bottom: 0;
}
.cc-feed-toolbar .cc-publish {
  flex: 0 0 auto;
  margin: 8px 0;
}

/* Underline tabs */
.cc-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  padding: 0 20px;
  border-bottom: 1px solid #e7eaf0;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}
.cc-tabs::-webkit-scrollbar { display: none; }
.cc-tab {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: 15px;
  color: #4e5969;
  text-decoration: none;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.cc-tab:hover {
  color: #0052d9;
  background: transparent;
}
.cc-tab.is-active {
  color: #0052d9;
  font-weight: 600;
  background: transparent;
  border-bottom-color: #0052d9;
  box-shadow: none;
  position: relative;
}
.cc-tab.is-active::after { display: none; }

.cc-searchbar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #eef0f4;
  background: #fff;
}
.cc-searchbar input {
  flex: 1;
  height: 36px;
  border: 1px solid #d0d5dd;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cc-searchbar input:focus {
  border-color: #0052d9;
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.12);
}
.cc-searchbar button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 3px;
  background: #0052d9;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}
.cc-publish {
  height: 36px;
  padding: 0 16px;
  border-radius: 3px;
  border: 1px solid #0052d9;
  background: #fff;
  color: #0052d9 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: none;
}
.cc-publish:hover { color: #fff !important; background: #0052d9; }

/* Thread rows */
.cc-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cc-item {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  border-radius: 0;
  background: #fff;
  transition: background 0.15s;
}
.cc-item:last-child {
  border-bottom: 0;
}
.cc-item:hover {
  background: #fafbfd;
}
.cc-item-main {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  align-items: flex-start;
}
.cc-item-text {
  flex: 1;
  min-width: 0;
}
.cc-item-body { flex: 1; min-width: 0; }
.cc-item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}
.cc-item-title a {
  color: #1f2329;
  text-decoration: none;
}
.cc-item-title a:hover { color: #0052d9; }
.cc-item-excerpt {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #86909c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-item-foot {
  margin-top: 14px;
}
.cc-item-author-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: #86909c;
}
.cc-item-tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
}
.cc-tag-label {
  color: #86909c;
}
.cc-date {
  color: #86909c;
}
.cc-item-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: #86909c;
}
.cc-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4e5969;
  text-decoration: none;
}
.cc-author:hover { color: #0052d9; }
.cc-author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.cc-meta-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cc-meta-stat i {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2386909c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.cc-meta-stat--reply i {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2386909c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
.cc-item-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.cc-item-tags em {
  font-style: normal;
  color: #86909c;
  font-size: 12px;
}
.cc-tag {
  display: inline-flex;
  padding: 1px 8px;
  border-radius: 2px;
  background: #f2f3f5;
  color: #4e5969;
  font-size: 12px;
  font-weight: 500;
}
.cc-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}
.cc-badge-top { background: #fff1f0; color: #cf1322; }
.cc-badge-hot {
  background: #ff4d4f;
  color: #fff;
}
.cc-badge-ess { background: #fff7e6; color: #d46b08; }
.cc-item-thumb {
  flex: 0 0 168px;
  width: 168px;
  height: 105px;
  border-radius: 2px;
  overflow: hidden;
  background: #eef2f7;
  box-shadow: none;
  align-self: center;
}
.cc-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-empty {
  padding: 72px 16px;
  text-align: center;
  color: #86909c;
  font-size: 14px;
}
.cc-load-more {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #eef0f4;
}
.cc-load-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 36px;
  padding: 0 24px;
  border: 1px solid #d0d5dd;
  border-radius: 2px;
  background: #fff;
  color: #4e5969;
  font-size: 14px;
  text-decoration: none;
}
.cc-load-more a:hover {
  color: #0052d9;
  border-color: #0052d9;
}
.cc-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px 20px 22px;
}
.cc-pager a,
.cc-pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  color: #4e5969;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.cc-pager a:hover {
  color: #0066ff;
  border-color: rgba(0, 102, 255, 0.2);
  background: rgba(0, 102, 255, 0.06);
}
.cc-pager .is-current {
  background: linear-gradient(135deg, #0066ff, #0052d9);
  color: #fff;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

/* Sidebar cards */
.cc-side { display: flex; flex-direction: column; gap: 12px; }
.cc-side-card {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: none;
}
.cc-side-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2329;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cc-side-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: center / contain no-repeat;
}
.cc-side-icon--tag {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230052d9' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='%230052d9'/%3E%3C/svg%3E");
}
.cc-side-icon--star {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffb400' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
}
.cc-side-icon--rank {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230052d9' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10l1 7H6z'/%3E%3C/svg%3E");
}
.cc-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cc-tag-cloud a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #e7eaf0;
  border-radius: 3px;
  background: #fff;
  color: #4e5969;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.cc-tag-cloud a:hover {
  color: #0052d9;
  border-color: #0052d9;
  background: #f0f5ff;
}
.cc-star { color: #0052d9; font-size: 14px; }
.cc-reco { display: flex; flex-direction: column; gap: 0; }
.cc-reco-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  transition: none;
}
.cc-reco-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.cc-reco-item:first-child { padding-top: 4px; }
.cc-reco-item:hover {
  background: transparent;
  border-color: #eef0f4;
}
.cc-reco-item strong {
  display: block;
  font-size: 14px;
  color: #1f2329;
}
.cc-reco-item p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #86909c;
  line-height: 1.45;
}
.cc-outline {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #0052d9;
  border-radius: 3px;
  color: #0052d9 !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #fff;
}
.cc-outline:hover { background: #f0f5ff; }

.cc-boards { display: flex; flex-direction: column; gap: 4px; }
.cc-boards a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #4e5969;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.cc-boards a:hover,
.cc-boards a.is-on {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
}
.cc-boards em {
  font-style: normal;
  color: #c0c4cc;
  font-size: 12px;
}

.cc-hot {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-hot li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.15s;
}
.cc-hot li:hover { background: rgba(0, 102, 255, 0.05); }
.cc-rank {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #f2f3f5;
  color: #86909c;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.cc-rank.is-hot {
  background: linear-gradient(135deg, #ff4d4f, #ff7a45);
  color: #fff;
}
.cc-hot a {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: #1d2129;
  text-decoration: none;
}
.cc-hot a:hover { color: #0066ff; }

/* Live ticker inside feed */
.cc-feed .ac-live-ticker {
  margin: 16px 20px 0;
  border-radius: 14px;
  border-color: rgba(0, 102, 255, 0.12);
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.06), rgba(255, 255, 255, 0.9));
}

@media (max-width: 980px) {
  .cc-hero,
  .cc-main { grid-template-columns: 1fr; }
  .cc-main.is-side-collapsed { grid-template-columns: 1fr; }
  .cc-banner-copy {
    position: relative;
    z-index: 2;
    text-align: left;
  }
  .cc-side-fold {
    left: auto;
    right: 8px;
    top: -14px;
    border-radius: 10px 10px 0 0;
    padding: 4px 10px;
    height: auto;
  }
  .cc-side-fold span { writing-mode: horizontal-tb; }
  .cc-side-reopen {
    position: fixed;
    right: 64px;
    top: auto;
    bottom: 120px;
    z-index: 100;
    border-radius: 12px;
    min-height: auto;
    width: auto;
    flex-direction: row;
    padding: 8px 12px;
    transform: none;
  }
  .cc-side-reopen span { writing-mode: horizontal-tb; }
  .cc-banner {
    grid-template-columns: 1fr;
    padding: 28px 22px 24px;
    min-height: auto;
    overflow: visible;
  }
  .cc-banner-art {
    display: none !important;
  }
  .cc-item-thumb {
    flex-basis: 112px;
    width: 112px;
    height: 74px;
  }
  .cc-searchbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .cc-searchbar input {
    flex: 1 1 200px;
    min-width: 0;
  }
  .cc-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cc-feed-toolbar {
    flex-wrap: wrap;
    padding-right: 12px;
  }
  .cc-feed-toolbar .cc-publish {
    margin-left: auto;
  }
  .cc-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  body.page-forum-cloud .cc-wrap { padding: 0 14px; }
  body.page-forum-cloud .cc-page { padding: 12px 0 48px; }
  .cc-banner {
    padding: 22px 18px 20px;
    border-radius: 18px;
  }
  .cc-banner h1 { font-size: 22px; line-height: 1.35; }
  .cc-banner-sub { font-size: 14px; max-width: none; }
  .cc-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cc-btn-primary,
  .cc-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .cc-banner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .cc-stat-chip {
    min-width: 0;
    padding: 8px 10px;
    text-align: center;
  }
  .cc-stat-chip strong { font-size: 16px; }
  .cc-item-main {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .cc-item {
    gap: 10px;
    padding: 0;
  }
  .cc-side-card { padding: 14px; }

  body.page-forum-cloud .cc-main,
  body.page-forum-cloud .cc-feed {
    min-width: 0;
    max-width: 100%;
  }

  body.page-forum-cloud .cc-feed {
    border-radius: 16px;
    overflow: hidden;
  }

  /* 搜索：输入框 + 搜索按钮同一行，发布单独一行 */
  .cc-searchbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 0 12px 14px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }
  .cc-searchbar input {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    height: 40px;
    font-size: 14px;
  }
  .cc-searchbar button[type="submit"] {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 64px;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.18);
  }
  .cc-searchbar .cc-publish {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.18);
  }

  /* 版块 Tab 横向滑动 */
  .cc-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 12px 12px 8px;
    gap: 6px;
    margin: 0;
  }
  .cc-tabs::-webkit-scrollbar {
    display: none;
  }
  .cc-tab {
    flex: 0 0 auto;
    flex-shrink: 0;
    font-size: 13px;
    padding: 7px 14px;
  }

  /* 帖子列表 */
  .cc-list {
    padding: 8px 10px 14px;
  }
  .cc-item {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    padding: 14px 12px;
    gap: 10px;
  }
  .cc-item:hover {
    transform: none;
  }
  .cc-item-body {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  .cc-item-title {
    font-size: 15px;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .cc-item-title a {
    display: inline;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .cc-item-excerpt {
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 3;
  }
  .cc-item-meta {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
  }
  .cc-item-meta > span,
  .cc-item-meta > a {
    max-width: 100%;
    min-width: 0;
  }
  .cc-item-thumb {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: 160px;
    aspect-ratio: 16 / 9;
    order: 2;
  }
  .cc-feed .ac-live-ticker {
    margin: 10px 10px 0;
  }
  .cc-pager {
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 14px;
  }
}
