/* ============================================================
   musen · AI 学院 & 解读站 — 1:1 对标 musen-ai.pages.dev 全套架构与视觉规范
   ============================================================ */

/* ── 顶栏补充样式：多语言选择器与推特按钮 ── */
.nav-link-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link-btn:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}
.nav-link-btn.active {
  color: var(--ember);
  font-weight: 600;
}

.lang-segment {
  display: inline-flex;
  align-items: center;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px;
  margin-right: 8px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.lang-btn:hover {
  color: var(--ink);
}
.lang-btn.active {
  background: var(--surface);
  color: var(--ember);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
html.dark .lang-btn.active {
  background: var(--surface-2);
  color: var(--ember);
}

.search-kbd {
  font-size: 10px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 6px;
  color: var(--muted);
}

.x-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ink);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
}
.x-follow-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
html.dark .x-follow-btn {
  background: #ffffff;
  color: #111111 !important;
}

/* ── 移动端侧栏呼出条 ── */
.mobile-sidebar-toggle-bar {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
}
.mst-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

/* ── 核心双列布局 (Academy Frame) ── */
.academy-page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  overflow-x: hidden;
}
.academy-container {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

/* ── 左侧学院导航树 (Circle.so 1:1 对标) ── */
.academy-sidebar-col {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.academy-sidebar-col::-webkit-scrollbar {
  width: 4px;
}
.academy-sidebar-col::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.academy-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 12px;
  box-shadow: var(--shadow);
}

.sidebar-brand-box {
  padding: 10px 10px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.sbb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.sbb-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember);
  background: var(--ember-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.sbb-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--verify);
  box-shadow: 0 0 6px var(--verify);
}
.sbb-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sbb-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.sidebar-group {
  margin-bottom: 16px;
}
.sidebar-group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px 6px;
}
.sidebar-group-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: none;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sidebar-nav-btn:hover {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  color: var(--ink);
}
.sidebar-nav-btn.active {
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
}
html.dark .sidebar-nav-btn.active {
  background: var(--surface-2);
  color: var(--ember);
  border: 1px solid var(--line);
}
.snb-icon {
  font-size: 14px;
  width: 18px;
  display: inline-flex;
  justify-content: center;
}
.snb-label {
  flex: 1;
}
.snb-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--muted);
}
.sidebar-nav-btn.active .snb-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.snb-badge.hot {
  background: var(--ember);
  color: #fff;
}

.sidebar-author-card {
  margin-top: 18px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sac-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.sac-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
html.dark .sac-avatar {
  background: var(--ember);
}
.sac-check {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  background: var(--verify);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--surface);
}
.sac-name {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.2;
}
.sac-handle {
  font-size: 11px;
  color: var(--muted);
}
.sac-bio {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.sac-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.sac-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* ── 右侧主内容列 ── */
.academy-main-col {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

/* ── 顶部栏目 Pills 条 ── */
.main-cat-strip {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.cat-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}
.cat-pills-list::-webkit-scrollbar {
  display: none;
}
.cat-pill-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.cat-pill-btn:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.cat-pill-btn.active {
  background: var(--ember);
  color: #ffffff;
  border-color: var(--ember);
  font-weight: 600;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--ember) 30%, transparent);
}

/* ── Feed Hero 区 ── */
.feed-hero {
  padding: 10px 0 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verify);
  box-shadow: 0 0 6px var(--verify);
}
.hero-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin: 4px 0 10px;
  color: var(--ink);
}
.accent-text {
  color: var(--ember);
}
.hero-subtext {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ── 今日精选卡片 (Featured Hero Card) ── */
.feed-featured-section {
  margin-bottom: 34px;
}
.sec-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.sec-header-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sec-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.featured-hero-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(145deg, #1b2420, #131715 70%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.featured-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.fhc-watermark {
  position: absolute;
  right: 24px;
  bottom: 12px;
  font-size: clamp(50px, 10vw, 90px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 0.04em;
  pointer-events: none;
}
.fhc-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.fhc-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.fhc-category-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
}
.fhc-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--verify);
  font-size: 11.5px;
  font-weight: 600;
}
.fhc-free-badge {
  background: var(--verify);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.fhc-source {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 6px;
}
.fhc-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #ffffff;
}
.fhc-summary {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.fhc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.fhc-dot {
  opacity: 0.5;
}

/* ── 3 列卡片网格与卡片细节 (1:1 对标 Circle.so 与 best.musen-ai.pages.dev) ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s, border-color 0.22s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.ac-cover-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.ac-flag-free {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--verify);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.ac-serial {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
}

/* ── 核心亮点：封面左下角悬浮作者圆形头像徽章 (Circle.so 标志设计) ── */
.ac-author-floating {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  align-items: center;
  z-index: 4;
}
.ac-avatar-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.ac-avatar-letter {
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
}
html.dark .ac-avatar-ring {
  background: var(--ember);
}
.ac-check-icon {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--verify);
  color: #ffffff;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--surface);
}

.ac-cover-procedural {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c1d22, #141418);
}
.ac-cp-wm {
  font-size: 42px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
}

.ac-body {
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ac-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ac-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ember);
}
.ac-cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}
.ac-date {
  font-size: 11px;
  color: var(--muted);
}
.ac-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-summary {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ac-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.ac-tags-list {
  display: flex;
  gap: 5px;
}
.ac-tag-chip {
  font-size: 11px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.ac-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ac-btn-like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s, transform 0.1s;
}
.ac-btn-like:hover {
  color: var(--ember);
  transform: scale(1.08);
}
.ac-btn-like.liked {
  color: #e0245e;
}
.ac-like-icon {
  font-size: 13px;
}
.ac-action-icon {
  font-size: 11.5px;
  color: var(--muted);
}

/* ── 工具箱视图 (Toolbox View) ── */
.toolbox-view, .prompt-lib-view, .monetization-view, .community-view {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.view-header {
  margin-bottom: 28px;
}
.vh-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember);
  margin-bottom: 6px;
}
.vh-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.vh-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 840px;
}

.vh-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.vh-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  max-width: 520px;
}
.vh-search input {
  background: none;
  border: none;
  width: 100%;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}
.vh-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vh-tab {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 5px 13px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.vh-tab:hover {
  color: var(--ink);
}
.vh-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
html.dark .vh-tab.active {
  background: var(--ember);
  border-color: var(--ember);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.tc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.tc-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.tc-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--ember-soft);
  color: var(--ember);
  padding: 1px 6px;
  border-radius: 4px;
}
.tc-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--stance);
}
.tc-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.tc-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 14px;
}
.tc-verdict {
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  flex: 1;
}
.tc-verdict-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ember);
  display: block;
  margin-bottom: 4px;
}
.tc-verdict-text {
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.tc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.tc-tags {
  display: flex;
  gap: 6px;
}
.tc-tag {
  font-size: 11px;
  color: var(--muted);
}
.tc-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.tc-link:hover {
  text-decoration: underline;
}

/* ── 提示词库视图 (Prompt Library View) ── */
.prompts-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.prompt-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.pc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pc-cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ember);
}
.pc-scene {
  font-size: 11px;
  color: var(--muted);
}
.pc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.pc-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.pc-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.pc-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--muted);
}
.pc-copy-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.pc-copy-btn:hover {
  opacity: 0.9;
}
.pc-copy-btn.copied {
  background: var(--verify);
}
html.dark .pc-copy-btn {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
}
html.dark .pc-copy-btn.copied {
  background: var(--verify);
  color: #fff;
}
.pc-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  max-height: 240px;
  overflow-y: auto;
}
.pc-tags {
  display: flex;
  gap: 8px;
}
.pc-tag {
  font-size: 11.5px;
  color: var(--muted);
}

/* ── 搞钱灵感视图 (Monetization View) ── */
.ideas-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.ideas-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.idea-nav-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.idea-nav-card:hover {
  border-color: var(--line-2);
}
.idea-nav-card.active {
  background: var(--surface);
  border-color: var(--ember);
  box-shadow: 0 0 0 1.5px var(--ember);
}
.inc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.inc-cat {
  font-size: 10.5px;
  color: var(--muted);
}
.inc-mrr {
  font-size: 11px;
  font-weight: 700;
  color: var(--verify);
}
.inc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.inc-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.idea-detail-card {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.idc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.idc-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}
.idc-cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ember);
}
.idc-barrier {
  font-size: 11.5px;
  color: var(--muted);
}
.idc-rev {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--stance);
}
.idc-title {
  font-size: 22px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 12px;
}
.idc-summary {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.idc-section {
  margin-bottom: 20px;
}
.idc-sec-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 10px;
}
.idc-arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.idc-arch-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.idc-arch-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--ember);
}
.idc-arch-text {
  font-size: 12.5px;
  color: var(--ink);
}
.idc-playbook-box {
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.idc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 24px;
}
.idc-discuss-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── 社区视图 (Community View) ── */
.community-card-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.cc-box-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.cc-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.cc-box-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.cc-box-item p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 18px;
}
.cc-action-btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.cc-bot-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ember);
  padding: 6px 12px;
  border-radius: 6px;
}

/* ── 响应式适配 (Responsive Media Queries) ── */
@media (max-width: 1080px) {
  .academy-container {
    flex-direction: column;
  }
  .mobile-sidebar-toggle-bar {
    display: block;
  }
  .academy-sidebar-col {
    display: none;
    width: 100%;
    position: static;
    max-height: none;
  }
  .academy-sidebar-col.mobile-show {
    display: block;
    margin-bottom: 20px;
  }
  .ideas-container {
    flex-direction: column;
  }
  .ideas-sidebar {
    width: 100%;
  }
}
@media (max-width: 680px) {
  .x-follow-btn {
    display: none;
  }
  .lang-segment {
    margin-right: 2px;
    padding: 1px;
  }
  .lang-btn {
    padding: 2px 6px;
    font-size: 11px;
  }
  .academy-page-wrapper {
    padding: 14px 12px 40px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .featured-hero-card {
    padding: 24px 20px;
  }
}

.feed-empty-state { border: 1px solid var(--line); border-radius: 12px; padding: 32px 22px; color: var(--ink-2); background: var(--surface); }
.feed-empty-state p { margin-bottom: 16px; }
.feed-empty-state button { border: 0; border-radius: 8px; padding: 10px 15px; background: var(--ember); color: #fff; font-weight: 700; cursor: pointer; }
.art-brief-label { color: var(--ember); background: var(--ember-soft); border-radius: 5px; padding: 3px 7px; font-weight: 700; }
.article-cover-media img { object-position: center; }
@media (max-width: 680px) {
  .art-crumb-bar { padding-top: 16px !important; }
  .art-crumb { flex-wrap: wrap; }
  .art-trustwrap { margin-bottom: 18px !important; }
  .trust-bar .src { overflow-wrap: anywhere; }
  .article-cover-media { margin-bottom: 28px !important; }
}

/* 2026 editorial refresh: clearer hierarchy, real featured media, compact mobile navigation */
.academy-page-wrapper { max-width: 1500px; padding: 28px 28px 72px; }
.academy-container { gap: 32px; }
.academy-sidebar-col { width: 238px; position: static; max-height: none; overflow: visible; }
.academy-sidebar-col::-webkit-scrollbar { display: none; }
.academy-sidebar { border-radius: 14px; box-shadow: none; }
.sidebar-brand-box { padding-bottom: 18px; margin-bottom: 18px; }
.sidebar-group { margin-bottom: 20px; }
.sidebar-nav-btn { min-height: 39px; }
.main-cat-strip { margin-bottom: 26px; padding-bottom: 15px; }
.cat-pills-list { gap: 10px; }
.cat-pill-btn { padding: 8px 15px; }
.cat-pill-btn.active { box-shadow: none; }
.feed-hero { padding: 9px 0 29px; }
.hero-heading { font-size: clamp(2.35rem, 4.5vw, 4.25rem); line-height: 1.14; letter-spacing: -.055em; margin: 7px 0 14px; }
.hero-subtext { font-size: 14px; line-height: 1.65; }
.feed-featured-section { margin-bottom: 38px; }
.sec-header-title { font-size: 15px; letter-spacing: .01em; }
.featured-hero-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: stretch; gap: 22px; padding: 18px; background: var(--surface); color: var(--ink); box-shadow: none; border-radius: 16px; }
.featured-hero-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.fhc-watermark { display: none; }
.fhc-content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 15px 12px 13px; }
.fhc-meta-row { margin-bottom: 18px; }
.fhc-category-pill { color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); }
.fhc-source { color: var(--muted); }
.fhc-title { color: var(--ink); font-size: clamp(1.5rem, 2.5vw, 2.1rem); letter-spacing: -.025em; }
.fhc-summary { color: var(--ink-2); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fhc-footer { color: var(--muted); margin-top: auto; }
.fhc-read-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 17px; border-radius: 9px; background: var(--ember); color: #fff; font-size: 13px; font-weight: 700; }
.fhc-media { position: relative; min-height: 290px; overflow: hidden; border-radius: 11px; background: var(--surface-2); }
.fhc-media img { transition: transform .35s ease; }
.featured-hero-card:hover .fhc-media img { transform: scale(1.025); }
.articles-grid { gap: 18px; }
.article-card { box-shadow: none; border-radius: 12px; }
.article-card:hover { transform: translateY(-2px); }
.ac-title { font-size: 16px; line-height: 1.48; }
.mobile-sidebar-backdrop { display: none; }

@media (max-width: 1080px) {
  .academy-page-wrapper { padding: 22px 20px 64px; }
  .mobile-sidebar-toggle-bar { display: flex; justify-content: flex-end; padding: 7px 20px; background: var(--bg); }
  .mst-btn { width: auto; gap: 13px; min-height: 40px; border-radius: 9px; padding: 7px 12px; }
  .academy-sidebar-col.mobile-show { position: fixed; z-index: 80; top: 0; left: 0; width: min(340px, 88vw); height: 100dvh; max-height: 100dvh; overflow-y: auto; margin: 0; background: var(--surface); box-shadow: 18px 0 60px rgba(0,0,0,.4); }
  .academy-sidebar-col.mobile-show .academy-sidebar { border: 0; border-radius: 0; }
  .mobile-sidebar-backdrop { display: block; position: fixed; z-index: 79; top: 0; right: 0; bottom: 0; left: min(340px, 88vw); width: auto; border: 0; background: rgba(0,0,0,.65); }
}
@media (max-width: 680px) {
  .academy-page-wrapper { padding: 14px 16px 48px; }
  .main-cat-strip { margin-bottom: 22px; padding-bottom: 12px; }
  .cat-pill-btn { min-height: 40px; padding: 8px 13px; }
  .feed-hero { padding: 5px 0 26px; }
  .hero-eyebrow { font-size: 11px; }
  .hero-heading { font-size: clamp(2.05rem, 8.2vw, 2.75rem); line-height: 1.18; margin: 8px 0 12px; }
  .hero-subtext { font-size: 14px; }
  .featured-hero-card { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .fhc-media { grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; border-radius: 11px 11px 0 0; }
  .fhc-content { padding: 20px; }
  .fhc-title { font-size: 1.4rem; }
  .fhc-summary { font-size: 14px; -webkit-line-clamp: 3; }
  .fhc-meta-row { margin-bottom: 12px; }
  .fhc-source { display: none; }
  .fhc-read-link { margin-top: 17px; }
  .feed-featured-section { margin-bottom: 32px; }
}
