/* ==========================================================================
   赛蜂学堂 · SellerBee Academy — Homepage Stylesheet
   Brand: 赛力比智能科技（苏州）有限公司
   Domain: sellerbee.cn
   ========================================================================== */

/* ===================== VARIABLES ===================== */
:root {
  --c-primary: #0B1F3A;       /* 深藏青 — 主色 */
  --c-primary-dark: #061428;
  --c-primary-light: #1A3A6B;
  --c-accent: #C62828;        /* 砖红 — 强调色 */
  --c-accent-dark: #8E1B1B;
  --c-gold: #FFD700;          /* 金色 — 高亮 */
  --c-gold-soft: #FFC83D;
  --c-blue: #1565C0;
  --c-green: #2E7D32;
  --c-orange: #FB8C00;
  --c-red-light: #E53935;

  --c-text: #1A1A1A;
  --c-text-soft: #555555;
  --c-text-muted: #888888;
  --c-border: #E5E8EE;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F7FA;
  --c-bg-dark: #0B1F3A;

  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
             "Noto Sans CJK SC", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }

/* ===================== LAYOUT HELPERS ===================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--c-accent);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--c-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--c-primary);
}
.btn-ghost:hover {
  background: var(--c-bg-soft);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-primary);
  border-color: var(--c-gold);
}
.btn-gold:hover {
  background: var(--c-gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(255, 215, 0, 0.3);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--c-primary);
  transition: background var(--transition);
}
.icon-btn:hover { background: var(--c-bg-soft); }

/* ===================== TOP NOTIFICATION BAR ===================== */
.topbar {
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff;
  font-size: 14px;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 24px;
  position: relative;
}
.topbar-text { font-weight: 500; }
.topbar-link {
  color: var(--c-gold);
  font-weight: 600;
}
.topbar-link:hover { text-decoration: underline; }
.topbar-close {
  position: absolute;
  right: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1;
}
.topbar-close:hover { color: #fff; }

/* ===================== HEADER ===================== */
.header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 99;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-size: 18px;
  color: var(--c-primary);
  letter-spacing: 0.5px;
}
.logo-text em {
  font-size: 11px;
  color: var(--c-text-muted);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-main {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-main ul {
  display: flex;
  gap: 4px;
}
.nav-main a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-soft);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-main a:hover { color: var(--c-primary); background: var(--c-bg-soft); }
.nav-main a.active { color: var(--c-primary); font-weight: 700; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.nav-mobile {
  border-top: 1px solid var(--c-border);
  background: #fff;
  padding: 16px 24px 24px;
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.nav-mobile a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-soft);
  border-radius: var(--radius-sm);
}
.nav-mobile a.active {
  color: var(--c-primary);
  background: var(--c-bg-soft);
  font-weight: 700;
}
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-grad {
  position: absolute;
  inset: 0;
  /* 与底部 CTA 横幅同款深藏青渐变（#0B1F3A → #061428），保留淡金色氛围光 */
  background:
    radial-gradient(ellipse 800px 600px at 80% -10%, rgba(255, 215, 0, 0.12), transparent 60%),
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 800px 600px at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 800px 600px at 50% 50%, #000 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.hero-title-cn {
  display: block;
  color: #fff;
  letter-spacing: 4px;
}
.hero-title-en {
  display: block;
  font-size: 0.32em;
  font-weight: 600;
  color: var(--c-gold); /* 与顶部“了解更多”同款金色 */
  letter-spacing: 4px;
  margin-top: 8px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
}
.hero-promise {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}
.hero-divider {
  display: inline-block;
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.3);
}

.hero-search {
  max-width: 680px;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.hero-search:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.16);
}
.hero-search-icon {
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
}
.hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
  padding: 12px 16px;
  background: transparent;
  color: var(--c-text);
}
.hero-search-btn {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  transition: background var(--transition);
}
.hero-search-btn:hover { background: var(--c-primary-dark); }

.hero-search-tags {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.hero-search-tags a {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}
.hero-search-tags a:hover {
  background: var(--c-gold);
  color: var(--c-primary);
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
/* 深蓝 hero 背景：主按钮改金色，描边按钮改白色，保证对比度 */
.hero-cta .btn-primary {
  background: var(--c-gold);
  color: var(--c-primary);
}
.hero-cta .btn-primary:hover {
  background: var(--c-gold-soft);
  color: var(--c-primary-dark);
}
.hero-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.hero-cta .btn-outline:hover {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stat strong {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ===================== SECTION COMMON ===================== */
.section {
  padding: 80px 0;
}
.section-light {
  background: var(--c-bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--c-primary);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--c-text-soft);
  max-width: 720px;
  margin: 0 auto;
}
.section-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================== 7 STEPS ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-primary);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step-card:hover::before { transform: scaleY(1); }
.step-card:nth-child(3n+1)::before { background: var(--c-accent); }
.step-card:nth-child(3n+2)::before { background: var(--c-blue); }

.step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.step-card h3 {
  font-size: 18px;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.step-time {
  display: inline-block;
  font-size: 12px;
  color: var(--c-text-muted);
  padding: 3px 10px;
  background: var(--c-bg-soft);
  border-radius: 999px;
}

/* ===================== COURSES ===================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.course-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  overflow: hidden;
}
.course-card:nth-child(2) .course-thumb { background: linear-gradient(135deg, var(--c-accent) 0%, #ff6f6f 100%); }
.course-card:nth-child(3) .course-thumb { background: linear-gradient(135deg, var(--c-blue) 0%, #42a5f5 100%); }
.course-card:nth-child(4) .course-thumb { background: linear-gradient(135deg, var(--c-green) 0%, #66bb6a 100%); }
.course-card:nth-child(5) .course-thumb { background: linear-gradient(135deg, var(--c-orange) 0%, #ffb74d 100%); }
.course-card:nth-child(6) .course-thumb { background: linear-gradient(135deg, #6a1b9a 0%, #ab47bc 100%); }

.thumb-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.course-card:hover .thumb-play {
  background: var(--c-gold);
  transform: translate(-50%, -50%) scale(1.1);
}
.thumb-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

.course-body {
  padding: 16px;
}
.course-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-meta {
  font-size: 12px;
  color: var(--c-text-muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.meta-level {
  background: rgba(11, 31, 58, 0.08);
  color: var(--c-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ===================== HELP / FAQ ===================== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.help-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: block;
  transition: all var(--transition);
}
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  border-radius: var(--radius-sm);
  font-size: 24px;
  margin-bottom: 16px;
}
.help-card h4 {
  font-size: 16px;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.help-card p {
  font-size: 13px;
  color: var(--c-text-soft);
}

/* ===================== Q&A ===================== */
.qa-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qa-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.qa-item:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.qa-status {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}
.qa-solved {
  background: rgba(46, 125, 50, 0.1);
  color: var(--c-green);
}
.qa-wait {
  background: rgba(255, 160, 0, 0.12);
  color: #b26500;
}
.qa-official-badge {
  background: rgba(11, 31, 58, 0.08);
  color: var(--c-primary);
}

/* ===== 骨架屏（动态内容加载占位，避免静态演示数据闪现） ===== */
@keyframes skelPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel-shimmer {
  background: linear-gradient(90deg, #eef1f6 25%, #f8fafc 50%, #eef1f6 75%);
  background-size: 200% 100%;
  animation: skelPulse 1.6s linear infinite;
  border-radius: 6px;
}
/* 覆盖课程卡第 2/3/4 张封面的彩色渐变，骨架占位统一用浅灰 */
.courses-grid .course-thumb.skel-shimmer {
  background-color: #eef1f6;
  background-image: linear-gradient(90deg, #eef1f6 25%, #f8fafc 50%, #eef1f6 75%);
}
.qa-status.skel-shimmer {
  background-color: #eef1f6;
}
.skel-line {
  height: 13px;
  margin: 7px 0;
}
.qa-main {
  flex: 1;
  min-width: 0;
}
.qa-main h3 a {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  display: block;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.qa-main h3 a:hover { color: var(--c-primary); }
.qa-main p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qa-meta {
  font-size: 12px;
  color: var(--c-text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.qa-tag {
  background: rgba(11, 31, 58, 0.06);
  color: var(--c-primary);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.qa-official {
  color: var(--c-accent);
  font-weight: 600;
}

/* ===================== WEEKLY DIAGNOSTIC ===================== */
.weekly-card {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.weekly-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.weekly-author {
  font-weight: 600;
  color: var(--c-primary);
}

.weekly-topic {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.topic-keyword {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.weekly-topic h3 {
  font-size: 24px;
  color: var(--c-primary);
}

.weekly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.weekly-metric {
  padding: 16px;
  background: var(--c-bg-soft);
  border-radius: var(--radius-sm);
  text-align: center;
}
.metric-label {
  display: block;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 8px;
}
.metric-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary);
}

.weekly-verdict {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.verdict-item {
  flex: 1;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.verdict-watch {
  background: rgba(251, 140, 0, 0.08);
  border: 1px solid rgba(251, 140, 0, 0.3);
}
.verdict-go {
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.3);
}
.verdict-tag {
  font-size: 16px;
  font-weight: 700;
}
.verdict-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-soft);
}

.weekly-cta {
  text-align: center;
}

/* ===================== PRACTICE ===================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.practice-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
  cursor: pointer;
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.practice-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(198, 40, 40, 0.1);
  color: var(--c-accent);
  margin-bottom: 16px;
}
.practice-card h3 {
  font-size: 17px;
  color: var(--c-text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.practice-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin-bottom: 16px;
}
.practice-meta {
  font-size: 12px;
  color: var(--c-text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

/* ===================== CHANGELOG ===================== */
.changelog-list {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.changelog-list::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--c-border);
}
.changelog-item {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  position: relative;
}
.changelog-version {
  flex-shrink: 0;
  width: 80px;
  padding-top: 4px;
  font-weight: 700;
  color: var(--c-primary);
  font-size: 15px;
  text-align: right;
}
.changelog-content {
  flex: 1;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  position: relative;
}
.changelog-content::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-bg-soft);
  box-shadow: 0 0 0 4px rgba(11, 31, 58, 0.1);
}
.changelog-date {
  font-size: 12px;
  color: var(--c-text-muted);
}
.changelog-content h4 {
  font-size: 16px;
  color: var(--c-primary);
  margin: 6px 0 12px;
}
.changelog-content ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--c-text-soft);
  padding-left: 4px;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background:
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(255, 215, 0, 0.2), transparent 60%),
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #061025;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--c-gold);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--c-gold); }

.footer-logo {
  margin-bottom: 16px;
  display: inline-block;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* 新版 logo 为白底方形 JPEG：深色页脚上以圆角白底徽标呈现，
     不再套用反白滤镜（反白会把白底整块变成白色方块） */
  border-radius: 10px;
  opacity: 0.94;
}
.footer-logo strong {
  display: block;
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.footer-logo em {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
  letter-spacing: 1px;
}
.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 13px;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--c-gold);
  color: var(--c-primary);
  transform: translateY(-2px);
}
/* 悬停（移动端点击聚焦）时在按钮上方浮动显示二维码 */
.qr-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px) scale(0.96);
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 5;
  line-height: 0;
}
.qr-pop img {
  width: 140px;
  height: 140px;
  /* 覆盖全局 img { max-width:100% }：浮层宽度由图片撑开，
     百分比上限会与收缩宽度互相依赖把图片压扁 */
  max-width: none;
  display: block;
  border-radius: 6px;
}
.footer-socials a:hover .qr-pop,
.footer-socials a:focus .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.footer-icp {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.icp-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
}
.icp-row > span:first-child {
  flex-shrink: 0;
  min-width: 110px;
  color: rgba(255, 255, 255, 0.5);
}
.icp-row strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  word-break: break-word;
}
.icp-scope {
  font-size: 11.5px;
  line-height: 1.7;
}
.icp-row-licenses {
  margin-top: 8px;
  gap: 16px;
}
.icp-license-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-license {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.license-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.license-placeholder a {
  color: var(--c-gold);
  text-decoration: none;
}
.license-placeholder a:hover {
  text-decoration: underline;
}

/* ===================== MODAL ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: var(--c-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--c-bg-soft); color: var(--c-primary); }
/* 视频弹窗：iframe 会盖住普通绝对定位的关闭按钮，需要提高层级；
   半透明深色圆底 + 白色 ×，在任意颜色的视频画面上都可见 */
.video-modal-box .modal-close {
  z-index: 3;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}
.video-modal-box .modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.modal-title {
  font-size: 22px;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 14px;
  color: var(--c-text-soft);
  margin-bottom: 24px;
}

.modal-box label {
  display: block;
  margin-bottom: 16px;
}
.modal-box label > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-soft);
  margin-bottom: 6px;
}
.modal-box input[type=text],
.modal-box input[type=password],
.modal-box input[type=tel] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--transition);
  background: var(--c-bg-soft);
}
.modal-box input:focus {
  outline: 0;
  border-color: var(--c-primary);
  background: #fff;
}
.input-group {
  display: flex;
  gap: 8px;
}
.input-group input { flex: 1; }
.btn-send-code {
  padding: 0 16px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-send-code:hover { background: var(--c-primary-dark); }

.modal-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 20px;
}
.modal-extra a {
  color: var(--c-primary);
}
.checkbox, .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text-soft);
  font-size: 13px;
  cursor: pointer;
}
.checkbox-row {
  display: flex;
  margin: 16px 0 20px;
}
.checkbox-row a {
  color: var(--c-primary);
  text-decoration: underline;
}
/* 弹窗内的通用 label 样式（.modal-box label）会覆盖 .checkbox-row 的 flex 布局，
   需用更高优先级的选择器把协议行改回单行排列 */
.modal-box label.checkbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0 20px;
}
.modal-box label.checkbox-row > span {
  display: inline;
  font-weight: 400;
  margin-bottom: 0;
  color: var(--c-text-soft);
}

.modal-foot {
  text-align: center;
  font-size: 14px;
  color: var(--c-text-soft);
  margin-top: 16px;
}
.modal-foot a {
  color: var(--c-primary);
  font-weight: 600;
}

/* ===================== SEARCH OVERLAY ===================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px;
}
.search-overlay[hidden] { display: none; }
.search-overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(8px);
}
.search-overlay-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
}
.search-overlay-box form {
  display: flex;
  align-items: center;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 4px 4px 4px 16px;
}
.search-overlay-box form:focus-within {
  border-color: var(--c-primary);
}
.search-overlay-box input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
  padding: 12px 16px;
  background: transparent;
}
.search-overlay-close {
  width: 40px;
  height: 40px;
  font-size: 28px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.search-overlay-close:hover { background: var(--c-bg-soft); }

.search-suggest {
  margin-top: 20px;
  font-size: 14px;
  color: var(--c-text-muted);
}
.search-suggest a {
  display: inline-block;
  margin: 4px 6px;
  padding: 4px 12px;
  background: var(--c-bg-soft);
  color: var(--c-primary);
  border-radius: 999px;
  font-size: 13px;
  transition: all var(--transition);
}
.search-suggest a:hover {
  background: var(--c-primary);
  color: #fff;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .nav-main ul { gap: 0; }
  .nav-main a { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .menu-btn { display: flex; }
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 14px;
  }
  .icon-btn { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .weekly-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar-text { font-size: 12px; }
  .topbar-link { display: none; }

  .header-inner { height: 60px; }
  .logo-text em { display: none; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary {
    padding: 7px 12px;
    font-size: 13px;
  }

  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }

  .section-head { margin-bottom: 32px; }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-license { justify-content: center; }

  .icp-row > span:first-child {
    min-width: 90px;
    font-size: 11px;
  }

  .weekly-card { padding: 20px; }
  .weekly-grid { grid-template-columns: 1fr 1fr; }
  .weekly-verdict { flex-direction: column; }

  .qa-item {
    flex-direction: column;
    gap: 12px;
  }
  .qa-status {
    width: 100%;
    height: auto;
    padding: 8px;
    flex-direction: row;
    gap: 8px;
  }

  .changelog-item { gap: 16px; }
  .changelog-list::before { left: 60px; }
  .changelog-version { width: 60px; font-size: 13px; }
  .changelog-content::before { left: -24px; }

  .modal-box { padding: 24px; }
}

/* ===================== ACCESSIBILITY ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Selection */
::selection {
  background: var(--c-gold);
  color: var(--c-primary);
}

/* ===================== FOOTER CERTS (资质证书公示) ===================== */
.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(50% - 8px);
  min-width: 240px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s, transform .2s;
}
.cert-card:hover {
  border-color: var(--c-gold);
  background: rgba(255, 215, 0, 0.06);
  transform: translateY(-2px);
}
.cert-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 营业执照原图逆时针旋转 90°，这里转正显示 */
.cert-thumb.is-rot img {
  transform: rotate(-90deg) scale(1.32);
}
.cert-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cert-title {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.cert-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}
.cert-view {
  margin-left: auto;
  font-size: 11px;
  color: var(--c-gold);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cert-card { width: 100%; }
}
/* ===================== V1.1 新增：登录态用户菜单 ===================== */
.user-chip {
  position: relative;
  margin-left: 4px;
}
.user-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  white-space: nowrap;
}
.user-chip-btn:hover { border-color: var(--c-primary); }
.user-chip-avatar { font-size: 14px; }
.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 50;
}
.user-menu[hidden] { display: none; }
.user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--c-text);
  border-radius: 6px;
}
.user-menu button:hover { background: var(--c-bg-soft); color: var(--c-primary); }

@media (max-width: 900px) {
  .user-chip-btn #userChipText { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
}

/* ===================== V1.1 新增：视频弹窗 ===================== */
.video-modal-box {
  max-width: 860px;
  padding: 16px 16px 20px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-info { padding: 14px 4px 0; }
.video-info h3 {
  font-size: 17px;
  color: var(--c-primary);
  margin-bottom: 6px;
  padding-right: 28px;
}
.video-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}
.video-meta-row a {
  color: var(--c-primary);
  font-weight: 600;
  white-space: nowrap;
}
.video-meta-row a:hover { color: var(--c-accent); }

/* ===================== V1.1 新增：提问 / 我的提问 ===================== */
.modal-box .input-box {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  background: var(--c-bg-soft);
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.modal-box .input-box:focus {
  outline: 0;
  border-color: var(--c-primary);
  background: #fff;
}
.myqa-modal-box { max-width: 520px; }
.myqa-list { max-height: 46vh; overflow-y: auto; margin-bottom: 6px; }
.muted-line { color: var(--c-text-muted); font-size: 14px; text-align: center; padding: 18px 0; }
.myqa-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
}
.myqa-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.myqa-status {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.myqa-ok { background: #e8f5e9; color: #2e7d32; }
.myqa-wait { background: #fff8e1; color: #b26500; }
.myqa-time { font-size: 12px; color: var(--c-text-muted); }
.myqa-item h4 {
  font-size: 15px;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.myqa-q {
  font-size: 13.5px;
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: 10px;
  white-space: pre-wrap;
}
.myqa-answer {
  font-size: 13.5px;
  line-height: 1.7;
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-gold);
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--c-text);
}
.myqa-answer b { color: var(--c-primary); }

.section-head-actions { margin-top: 16px; }

/* ===================== V1.1 新增：全局 Toast ===================== */
.app-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: none;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  word-break: break-word;
}
.app-toast-ok { background: #2e7d32; }
.app-toast-err { background: var(--c-accent); }

/* ===================== V1.2 新增：文章列表 / 详情（二级页） ===================== */
.article-list { display: flex; flex-direction: column; gap: 14px; }
.article-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border, #e3e8f0);
  border-radius: 14px; padding: 20px 22px; cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.article-item:hover { border-color: var(--c-primary, #0B1F3A); box-shadow: 0 6px 20px rgba(11,31,58,.08); }
.article-item .a-body { flex: 1; min-width: 0; }
.article-item .a-cat {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--c-accent, #C62828);
  background: rgba(198,40,40,.08); border-radius: 4px; padding: 2px 8px; margin-bottom: 8px;
}
.article-item .a-pin {
  display: inline-block; font-size: 12px; font-weight: 700; color: #b26500;
  background: #fff3e0; border: 1px solid #ffd699; border-radius: 4px; padding: 2px 8px;
  margin-left: 8px; margin-bottom: 8px;
}
.article-item h3 { font-size: 17px; color: var(--c-primary, #0B1F3A); margin-bottom: 8px; line-height: 1.45; }
.article-item p { font-size: 14px; color: var(--c-text-soft, #5a6b82); line-height: 1.7; }
.article-meta { margin-top: 10px; font-size: 13px; color: #8a97ab; display: flex; gap: 10px; flex-wrap: wrap; }
.article-item .a-cover {
  width: 150px; height: 92px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #eef1f6;
}
@media (max-width: 640px) { .article-item .a-cover { display: none; } }

.article-detail { background: #fff; border: 1px solid var(--c-border, #e3e8f0); border-radius: 14px; padding: 36px 40px; }
.article-detail .detail-meta { font-size: 13px; color: #8a97ab; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--c-border, #e3e8f0); }
.article-detail .detail-body { font-size: 15px; color: #333f52; line-height: 1.9; }
.article-detail .detail-body p { margin-bottom: 14px; }
.article-detail .detail-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; display: block; }
.article-detail .detail-body h2,
.article-detail .detail-body h3,
.article-detail .detail-body h4 {
  color: var(--c-primary, #0B1F3A); line-height: 1.4; margin: 28px 0 12px; padding-left: 12px;
  border-left: 4px solid #FFD700;
}
.article-detail .detail-body h2 { font-size: 21px; }
.article-detail .detail-body h3 { font-size: 19px; }
.article-detail .detail-body h4 { font-size: 16px; }
.article-detail .detail-body ul,
.article-detail .detail-body ol { padding-left: 26px; margin: 0 0 16px; }
.article-detail .detail-body li { margin-bottom: 9px; }
.article-detail .detail-body li::marker { color: var(--c-accent, #C62828); }
.article-detail .detail-body blockquote {
  margin: 18px 0; padding: 13px 18px; background: #f7f9fc;
  border-left: 3px solid #FFD700; border-radius: 0 8px 8px 0; color: #4a5568;
}
.article-detail .detail-body strong { color: var(--c-primary, #0B1F3A); }
.article-detail .detail-body a { color: var(--c-accent, #C62828); }
.article-detail .detail-body hr { border: 0; border-top: 1px solid var(--c-border, #e3e8f0); margin: 26px 0; }
.article-detail .detail-cover { width: 100%; max-height: 380px; object-fit: cover; border-radius: 10px; margin-bottom: 22px; }
.article-detail .detail-back { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--c-border, #e3e8f0); }
.article-detail .detail-back a { font-size: 14px; font-weight: 600; color: var(--c-primary, #0B1F3A); }

/* 详情页顶部视频（复用全局 .video-frame 16:9 样式） */
.detail-video { margin-bottom: 22px; }
.detail-video[hidden] { display: none; }

/* Quill 富文本格式渲染（正文区 ql-* 格式类：对齐/缩进/字号/字体/代码块） */
.detail-body .ql-align-center { text-align: center; }
.detail-body .ql-align-right { text-align: right; }
.detail-body .ql-align-justify { text-align: justify; }
.detail-body .ql-indent-1 { padding-left: 2em; }
.detail-body .ql-indent-2 { padding-left: 4em; }
.detail-body .ql-indent-3 { padding-left: 6em; }
.detail-body .ql-indent-4 { padding-left: 8em; }
.detail-body .ql-size-small { font-size: 0.78em; }
.detail-body .ql-size-large { font-size: 1.45em; }
.detail-body .ql-size-huge { font-size: 2em; }
.detail-body .ql-font-serif { font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif; }
.detail-body .ql-font-monospace { font-family: Monaco, Menlo, Consolas, "Courier New", monospace; }
.detail-body h1 { font-size: 23px; }
.detail-body h5, .detail-body h6 { font-size: 15px; color: var(--c-primary, #0B1F3A); margin: 24px 0 10px; }
.detail-body pre {
  background: #f4f6fa; border: 1px solid var(--c-border, #e3e8f0); border-radius: 8px;
  padding: 14px 16px; margin: 14px 0; overflow-x: auto;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 13.5px;
  line-height: 1.65; white-space: pre-wrap; color: #333f52;
}
.detail-body sub, .detail-body sup { line-height: 0; }
.detail-body iframe { width: 100%; aspect-ratio: 16 / 9; display: block; margin: 16px 0; border: 0; border-radius: 10px; background: #000; }
@media (max-width: 640px) { .article-detail { padding: 24px 18px; } }

/* 步骤卡片为链接元素时保持卡片观感 */
a.step-card { color: inherit; text-decoration: none; cursor: pointer; }

