/* ============================================================
   红领巾通讯社 · 专业网站视觉系统
   品牌色：红领巾红 + 星火金 · 编辑式排版 · 桌面优先 + 响应式
   ============================================================ */

/* ── 设计令牌 ── */
:root {
  --red-900: #7E0E0E;
  --red-700: #B71C1C;
  --red-600: #C62828;
  --red-500: #E53935;
  --red-100: #FCEBE9;
  --amber:   #F9A825;
  --amber-600: #EF6C00;
  --gold:    #FFB300;
  --gold-100: #FFF6E0;

  --ink-900: #221A13;
  --ink-700: #4B4237;
  --ink-500: #7D7467;
  --ink-300: #B9B0A2;

  --paper: #F6F1E8;
  --card: #FFFFFF;
  --line: #E9E0D2;
  --line-soft: #F1EADA;

  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;

  --grad-brand: linear-gradient(135deg, #B71C1C 0%, #E53935 100%);
  --grad-gold: linear-gradient(135deg, #F9A825 0%, #FFB300 100%);
  --grad-hero: linear-gradient(152deg, #7E0E0E 0%, #B71C1C 38%, #D6382C 72%, #E8602E 100%);
  --grad-hero-deep: linear-gradient(160deg, #5D0909 0%, #8E1414 45%, #C0392B 100%);

  --shadow-sm: 0 1px 2px rgba(34,26,19,.05), 0 6px 18px -6px rgba(34,26,19,.10);
  --shadow-md: 0 10px 30px -10px rgba(34,26,19,.16);
  --shadow-lg: 0 24px 60px -18px rgba(126,14,14,.30);
  --shadow-gold: 0 8px 24px -8px rgba(249,168,37,.55);

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1200px;
  --header-h: 72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-900);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

a { text-decoration: none; color: inherit; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: var(--red-600); color: #fff; }

/* ── 页面切换系统 ── */
.page { display: none; }
.page.active { display: block; animation: pageIn .38s cubic-bezier(.22,.61,.36,1); }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   顶部导航
   ════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(34,26,19,.14);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.12rem; font-weight: 700; color: var(--ink-900); letter-spacing: .02em; }
.brand-text small { font-size: .68rem; color: var(--ink-500); letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .55rem .95rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  transition: all .2s ease;
}
.nav-link:hover { color: var(--red-600); background: var(--red-100); }
.nav-link.active { color: var(--red-700); background: var(--red-100); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.header-user {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .9rem .42rem .42rem;
  border-radius: var(--radius-pill);
  background: var(--red-100);
  color: var(--red-700);
  font-size: .9rem; font-weight: 600;
  transition: transform .2s ease;
}
.header-user:hover { transform: translateY(-1px); }
.header-user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; overflow: hidden;
}
.header-user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.header-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 600;
  transition: all .2s ease;
}
.header-btn.login { color: var(--red-700); }
.header-btn.login:hover { background: var(--red-100); }
.header-btn.register { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-sm); }
.header-btn.register:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* 顶部导航登录态（body.is-authed 由 JS 切换） */
#headerUser { display: none; }
#headerLoginBtn, #headerRegisterBtn { display: inline-flex; }
body.is-authed #headerUser { display: inline-flex; }
body.is-authed #headerLoginBtn, body.is-authed #headerRegisterBtn { display: none; }

.mobile-menu-btn {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; color: var(--ink-900);
  padding: .4rem .6rem; border-radius: 10px;
}

/* ════════════════════════════════════════════
   按钮
   ════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: .98rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-solid { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-ghost-light { background: #fff; color: var(--red-700); box-shadow: var(--shadow-sm); }
.btn-ghost-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--red-700); border: 1.5px solid var(--red-500); }
.btn-outline:hover { background: var(--red-100); }

.btn-wechat { background: #07C160; color: #fff; }
.btn-wechat:hover { background: #06ad56; transform: translateY(-2px); }

.btn-logout { background: #fff; color: var(--red-600); border: 1.5px solid var(--line); width: 100%; padding: .95rem; }
.btn-logout:hover { background: var(--red-100); border-color: var(--red-500); }

.btn-full { width: 100%; }

.btn-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.btn-icon:hover { background: rgba(255,255,255,.32); }

/* 返回按钮 */
.back-btn {
  position: fixed; top: calc(var(--header-h) + 14px); left: 18px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 1.05rem;
  display: none; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.back-btn:hover { transform: translateX(-3px); }
.back-btn.show { display: flex; }

/* ════════════════════════════════════════════
   首页 · 英雄区
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 4.5rem 0 6rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-glow.glow-a { width: 520px; height: 520px; top: -160px; right: -100px; background: rgba(255,179,0,.18); }
.hero-glow.glow-b { width: 460px; height: 460px; bottom: -200px; left: -120px; background: rgba(255,80,60,.22); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 40%, transparent 75%);
}
.hero-stars { position: absolute; inset: 0; }
.h-star {
  position: absolute; color: rgba(255,220,120,.75);
  font-size: 1rem; animation: starFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .55s);
}
.h-star:nth-child(1) { top: 18%; right: 16%; font-size: 1.15rem; }
.h-star:nth-child(2) { top: 30%; right: 34%; font-size: .8rem; }
.h-star:nth-child(3) { top: 14%; right: 48%; font-size: .65rem; }
.h-star:nth-child(4) { top: 44%; right: 12%; font-size: .75rem; }
.h-star:nth-child(5) { top: 60%; right: 30%; font-size: .9rem; }
.h-star:nth-child(6) { top: 8%; right: 62%; font-size: .7rem; }

@keyframes starFloat {
  0%, 100% { opacity: .55; transform: translateY(0) scale(1); }
  50% { opacity: 1; transform: translateY(-8px) scale(1.2); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: .86rem; font-weight: 500; letter-spacing: .05em;
  margin-bottom: 1.1rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.16;
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-divider { display: inline-block; width: 3px; height: .9em; background: var(--gold); border-radius: 3px; margin: 0 .9rem; vertical-align: .12em; }

.hero-desc {
  color: rgba(255,255,255,.9);
  font-size: 1.04rem;
  max-width: 560px;
  margin-bottom: 1.8rem;
  line-height: 1.9;
}

.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .8rem;
  max-width: 640px;
}
.stat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: .95rem .9rem;
  display: flex; align-items: center; gap: .7rem;
  backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.stat-card:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.stat-num-box {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 11px;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.05rem;
}
.stat-info { display: flex; flex-direction: column; line-height: 1.2; }
.stat-number { font-size: 1.28rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .72rem; color: rgba(255,255,255,.72); }

/* 英雄区右侧 Banner 轮播 */
.hero-aside { position: relative; }
.hero-swiper {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(60,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  background: #fff;
}
.hero-swiper .swiper-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-swiper .swiper-slide.active { opacity: 1; }
.hero-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-swiper .slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(30,0,0,.78), transparent);
  color: #fff; font-weight: 700; font-size: 1.02rem;
}
.hero-swiper .swiper-dots {
  position: absolute; bottom: 14px; right: 16px;
  display: flex; gap: 6px;
}
.hero-swiper .swiper-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
  transition: all .3s ease;
}
.hero-swiper .swiper-dots i.on { background: var(--gold); width: 22px; border-radius: 999px; }

.hero-swiper .swiper-empty {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(160deg, #fff, #FFF3E0);
  color: var(--ink-700); text-align: center; padding: 2rem;
}
.hero-swiper .swiper-empty i { font-size: 2.6rem; color: var(--gold); }
.hero-swiper .swiper-empty b { font-family: var(--serif); font-size: 1.25rem; color: var(--red-700); }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 56px; }

/* ════════════════════════════════════════════
   首页 · 快捷入口
   ════════════════════════════════════════════ */
.quick-entries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
  margin-top: -34px;
  position: relative; z-index: 5;
  padding-bottom: 1rem;
}
.entry-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  box-shadow: var(--shadow-md);
  transition: all .28s ease;
  border: 1px solid var(--line-soft);
}
.entry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.entry-icon {
  width: 62px; height: 62px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.12), var(--shadow-sm);
}
.entry-gold  .entry-icon { background: linear-gradient(135deg, #F9A825, #FF8F00); }
.entry-pink  .entry-icon { background: linear-gradient(135deg, #E91E63, #AD1457); }
.entry-green .entry-icon { background: linear-gradient(135deg, #00897B, #00695C); }
.entry-blue  .entry-icon { background: linear-gradient(135deg, #1976D2, #0D47A1); }
.entry-label { font-size: .92rem; font-weight: 600; color: var(--ink-900); }

/* ════════════════════════════════════════════
   首页 · 栏目通用
   ════════════════════════════════════════════ */
.home-section { padding: 3rem 0; }
.home-section.tinted { background: #FBFAF6; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.6rem;
}
.head-badge {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.head-badge.gold   { background: linear-gradient(135deg, #F9A825, #FF8F00); }
.head-badge.blue   { background: linear-gradient(135deg, #1976D2, #0D47A1); }
.head-badge.purple { background: linear-gradient(135deg, #7B1FA2, #4A148C); }
.head-badge.red    { background: linear-gradient(135deg, #C62828, #E53935); }

.head-text { flex: 1; min-width: 0; }
.head-text h2 { font-size: 1.45rem; font-weight: 700; color: var(--ink-900); font-family: var(--serif); letter-spacing: .02em; }
.head-text p { font-size: .85rem; color: var(--ink-500); margin-top: 2px; }

.head-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 600; color: var(--red-700);
  padding: .5rem 1rem; border-radius: var(--radius-pill);
  background: var(--red-100);
  transition: all .2s ease;
  flex-shrink: 0;
}
.head-more:hover { background: var(--red-600); color: #fff; gap: .65rem; }

/* ════════════════════════════════════════════
   小主播网格（首页）
   ════════════════════════════════════════════ */
.broadcasters-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: .9rem;
}
.broadcaster-card {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.1rem .6rem .9rem;
  cursor: pointer;
  transition: all .25s ease;
}
.broadcaster-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.broadcaster-avatar {
  position: relative;
  width: 68px; height: 68px; border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line), var(--shadow-sm);
  background: linear-gradient(135deg, #FFE0EC, #FFC1D9);
  display: flex; align-items: center; justify-content: center;
  color: #E57373; font-size: 1.5rem; font-weight: 700;
}
.broadcaster-avatar.gold { box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(255,179,0,.55); }
.broadcaster-avatar.silver { box-shadow: 0 0 0 2px #C0C0C0; }
.broadcaster-avatar.bronze { box-shadow: 0 0 0 2px #CD7F32; }
.broadcaster-avatar img { width: 100%; height: 100%; object-fit: cover; }
.broadcaster-avatar .medal {
  position: absolute; bottom: -2px; right: -2px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #fff;
  background: #C0C0C0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .62rem;
}
.broadcaster-avatar.gold .medal { background: linear-gradient(135deg,#FFC107,#FF9800); }
.broadcaster-avatar.silver .medal { background: linear-gradient(135deg,#B0BEC5,#78909C); }
.broadcaster-avatar.bronze .medal { background: linear-gradient(135deg,#A1887F,#6D4C41); }

.broadcaster-name {
  font-size: .86rem; font-weight: 600; color: var(--ink-900);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ════════════════════════════════════════════
   课程卡片
   ════════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
}
.courses-grid.list-page { grid-template-columns: repeat(4, minmax(0,1fr)); }

.mp-course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all .28s ease;
}
.mp-course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mp-course-img {
  position: relative;
  height: 148px;
  overflow: hidden;
  background: linear-gradient(135deg, #E8F4FD, #D6EAFA);
  display: flex; align-items: center; justify-content: center;
}
.mp-course-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.mp-course-card:hover .mp-course-img img { transform: scale(1.06); }
.mp-course-img-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(25,118,210,.35); font-size: 2.2rem; }
.mp-course-img img + .mp-course-img-bg,
.mp-article-img img + .mp-article-img-bg,
.mp-article-thumb img + .mp-article-img-bg,
.mp-activity-img img + .mp-activity-img-bg,
.mp-work-img img + .mp-work-img-bg { display: none; }

.mp-course-body { padding: .85rem .9rem; }
.mp-course-title {
  font-size: .98rem; font-weight: 600; line-height: 1.45; color: var(--ink-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.85em;
}
.mp-course-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .55rem; }
.mp-course-price { font-size: 1.02rem; font-weight: 800; color: #1976D2; }
.mp-course-points { font-size: .78rem; font-weight: 700; color: var(--amber-600); background: var(--gold-100); padding: 2px 8px; border-radius: 999px; }

/* ════════════════════════════════════════════
   文章（首页：大图 + 列表 编辑式布局）
   ════════════════════════════════════════════ */
.home-articles {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}
.home-articles .mp-article-featured { margin-bottom: 0; }
.home-articles .mp-article-item { margin-bottom: .85rem; }

.mp-article-featured {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: all .28s ease;
}
.mp-article-featured:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mp-article-img {
  position: relative; height: 100%; min-height: 210px;
  background: linear-gradient(135deg, #F3E5F5, #EAD5EF);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.home-articles .mp-article-featured .mp-article-img { height: 260px; flex-shrink: 0; }
.mp-article-img img, .mp-article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mp-article-featured:hover .mp-article-img img { transform: scale(1.05); }
.mp-article-img .mp-article-img-bg { color: rgba(123,31,162,.32); font-size: 3rem; }
.mp-article-body { padding: 1rem 1.1rem; }
.mp-article-title { font-size: 1.12rem; font-weight: 700; line-height: 1.45; color: var(--ink-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-article-meta, .mp-article-item-body > div { display: flex; align-items: center; gap: .55rem; margin-top: .55rem; }
.mp-cat { font-size: .74rem; padding: 2px 9px; border-radius: 999px; background: rgba(123,31,162,.1); color: #7B1FA2; font-weight: 600; }
.mp-date { font-size: .76rem; color: var(--ink-300); }

.mp-article-item {
  display: flex; align-items: center; gap: .85rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: .7rem .85rem;
  cursor: pointer;
  transition: all .22s ease;
}
.mp-article-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.mp-article-thumb {
  position: relative;
  width: 76px; height: 62px; flex-shrink: 0;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #F3E5F5, #EAD5EF);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: rgba(123,31,162,.3);
}
.mp-article-item-body { flex: 1; min-width: 0; }
.mp-article-item-title { font-size: .92rem; font-weight: 600; line-height: 1.45; color: var(--ink-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-arrow { color: var(--ink-300); flex-shrink: 0; transition: transform .2s ease; }
.mp-article-item:hover .mp-arrow { transform: translateX(3px); color: var(--red-600); }

/* ════════════════════════════════════════════
   活动卡片
   ════════════════════════════════════════════ */
.home-activities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.1rem;
}
.home-activities .mp-activity-card { margin-bottom: 0; }

.mp-activity-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: .9rem;
  cursor: pointer;
  transition: all .28s ease;
}
.mp-activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mp-activity-img {
  position: relative;
  width: 128px; min-height: 128px; flex-shrink: 0;
  background: linear-gradient(135deg, #FFF3F0, #FFE7E2);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(229,57,53,.3); font-size: 2rem;
}
.mp-activity-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-activity-body { flex: 1; padding: .85rem 1rem; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.mp-activity-title { font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--ink-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-activity-badges { display: flex; gap: .4rem; margin: .45rem 0; flex-wrap: wrap; }
.mp-badge { font-size: .74rem; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.mp-badge-red  { background: rgba(229,57,53,.1); color: #E53935; }
.mp-badge-gold { background: rgba(249,168,37,.16); color: var(--amber-600); }
.mp-activity-loc { font-size: .8rem; color: var(--ink-500); display: flex; align-items: center; gap: .3rem; }

/* 活动列表页 */
.activities-list-page { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; padding: .5rem 0 2.5rem; }
.activities-list-page .mp-activity-card { margin-bottom: 0; }
.activities-list-page .mp-activity-img { width: 150px; min-height: 138px; }

/* ════════════════════════════════════════════
   作品卡片
   ════════════════════════════════════════════ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
  padding: .5rem 0 2.5rem;
}
.mp-work-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all .28s ease;
}
.mp-work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mp-work-img {
  position: relative; height: 158px;
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mp-work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mp-work-card:hover .mp-work-img img { transform: scale(1.06); }
.mp-work-img-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(249,168,37,.4); font-size: 2.2rem; }
.mp-work-featured {
  position: absolute; top: 10px; left: 10px;
  background: var(--grad-brand); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.mp-work-body { padding: .8rem .9rem; }
.mp-work-title { font-size: .96rem; font-weight: 600; line-height: 1.4; color: var(--ink-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mp-work-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; font-size: .8rem; color: var(--ink-500); }
.mp-work-author { font-weight: 600; color: var(--ink-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-work-meta span:last-child { display: inline-flex; gap: .45rem; flex-shrink: 0; }

/* ════════════════════════════════════════════
   页面横幅（列表页头部）
   ════════════════════════════════════════════ */
.page-banner {
  position: relative;
  background: var(--grad-hero-deep);
  padding: 3.4rem 0 2.8rem;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255,179,0,.16) 0 180px, transparent 180px),
                    radial-gradient(circle at 10% 100%, rgba(255,255,255,.08) 0 200px, transparent 200px);
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner-kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .35em;
  color: var(--gold); margin-bottom: .55rem;
}
.page-banner-title { font-family: var(--serif); font-size: 2.1rem; font-weight: 900; color: #fff; letter-spacing: .04em; }
.page-banner-sub { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .35rem; }
.page-banner-cta { margin-top: 1.4rem; }

/* ════════════════════════════════════════════
   筛选
   ════════════════════════════════════════════ */
.filters, .glist-tabs {
  display: flex; gap: .6rem; flex-wrap: wrap;
  padding: 1.4rem 0 .6rem;
}
.filter-btn {
  padding: .5rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  font-size: .9rem; font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--red-500); color: var(--red-700); }
.filter-btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); font-weight: 600; }

/* ════════════════════════════════════════════
   空状态 / 加载
   ════════════════════════════════════════════ */
.mp-empty { text-align: center; color: var(--ink-300); padding: 2.5rem 0; font-size: .95rem; }
.page-loading { text-align: center; color: var(--ink-300); padding: 3rem 0; }

/* ════════════════════════════════════════════
   小主播列表页
   ════════════════════════════════════════════ */
.broadcasters-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
  padding: 1rem 0 2.8rem;
}
.broadcasters-grid-list .broadcaster-card {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
  padding: 1rem 1.1rem;
}
.broadcasters-grid-list .broadcaster-avatar { width: 58px; height: 58px; flex-shrink: 0; font-size: 1.2rem; }
.broadcasters-grid-list .broadcaster-info { flex: 1; min-width: 0; }
.broadcasters-grid-list .broadcaster-info h4 { font-size: 1rem; font-weight: 700; color: var(--ink-900); margin: 0 0 2px; }
.broadcasters-grid-list .broadcaster-info > p { font-size: .76rem; color: var(--ink-500); margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.broadcaster-meta { display: flex; gap: .8rem; font-size: .74rem; color: var(--ink-500); }
.broadcaster-meta span { display: inline-flex; align-items: center; gap: 4px; }
.broadcaster-arrow { color: var(--ink-300); font-size: .85rem; flex-shrink: 0; }

/* ════════════════════════════════════════════
   文章列表页
   ════════════════════════════════════════════ */
.articles-list { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 0 2.8rem; }
.article-card {
  display: flex; gap: 0;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: all .25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-cover { position: relative; width: 220px; min-height: 140px; flex-shrink: 0; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-cover img { transform: scale(1.05); }
.article-cover-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7B1FA2, #4A148C);
  color: rgba(255,255,255,.6); font-size: 2rem; height: 100%;
}
.article-body { flex: 1; min-width: 0; padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.article-body h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink-900); margin: 6px 0 6px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-body > p { font-size: .82rem; color: var(--ink-500); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-date { font-size: .76rem; color: var(--ink-300); margin-top: auto; }
.badge { font-size: .7rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; color: #fff; align-self: flex-start; }
.cat-badge { background: rgba(123,31,162,.12); color: #7B1FA2; }
.featured-badge { position: absolute; top: 10px; left: 10px; background: var(--grad-brand); }

/* ════════════════════════════════════════════
   详情页
   ════════════════════════════════════════════ */
.detail-page {
  background: #FBFAF6;
  min-height: calc(100vh - var(--header-h));
  padding-bottom: 3rem;
}
.detail-page > .detail-card { margin: 1.5rem auto; max-width: 860px; }

.detail-cover {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #7B1FA2, #4A148C);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 3.5rem;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover-ph { display: flex; align-items: center; justify-content: center; height: 100%; }
.detail-badge-red, .detail-badge-green {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: #fff;
  background: #E53935; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.detail-badge-green { background: #43A047; }

.detail-page-inner {
  max-width: 860px;
  margin: -48px auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-md);
}
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .9rem; margin-bottom: .9rem; }
.detail-title { font-size: 1.55rem; font-weight: 800; line-height: 1.35; color: var(--ink-900); margin: 0; flex: 1; font-family: var(--serif); }
.detail-crown {
  flex-shrink: 0;
  background: var(--grad-gold); color: #fff;
  font-size: .8rem; font-weight: 700; padding: 6px 14px;
  border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

.detail-info-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: .5rem 1.1rem;
  margin-bottom: 1.1rem;
}
.detail-info-row { display: flex; align-items: center; padding: .62rem 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.detail-info-row:last-child { border-bottom: none; }
.detail-info-row > i { color: var(--red-600); width: 24px; text-align: center; margin-right: .55rem; }
.detail-info-row .lbl { color: var(--ink-500); width: 70px; flex-shrink: 0; }
.detail-info-row .val { color: var(--ink-900); font-weight: 500; margin-left: auto; text-align: right; }

.detail-section-title { display: flex; align-items: center; gap: .55rem; font-size: 1.06rem; font-weight: 700; color: var(--ink-900); margin: 1.4rem 0 .7rem; font-family: var(--serif); }
.detail-section-title .bar { width: 4px; height: 18px; border-radius: 2px; background: var(--grad-brand); }

.detail-rich { color: var(--ink-700); line-height: 1.95; font-size: .95rem; word-break: break-word; }
.detail-rich img { max-width: 100%; border-radius: 10px; }
.detail-rich p { margin: .5rem 0; }
.detail-rich video { max-width: 100%; border-radius: 10px; }
.detail-abstract {
  background: #F6F1FB; border-left: 3px solid #7B1FA2;
  padding: .7rem 1rem; border-radius: 8px;
  color: var(--ink-700); font-size: .92rem; margin-bottom: .9rem;
}

.detail-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.detail-tags .tag { font-size: .76rem; padding: 4px 11px; border-radius: 999px; background: rgba(123,31,162,.08); color: #7B1FA2; font-weight: 600; }
.detail-tags .tag-member { background: rgba(197,17,98,.1); color: #C51162; }

.detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; font-size: .8rem; color: var(--ink-500); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.detail-divider { height: 1px; background: var(--line); margin: 1.2rem 0; }
.detail-source { font-size: .8rem; color: var(--ink-300); text-align: center; }

.detail-author-card {
  display: flex; align-items: center; gap: .85rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: .85rem 1.05rem; margin-bottom: 1.1rem;
}
.detail-author-avatar {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg,#FFE0EC,#FFC1D9);
  display: flex; align-items: center; justify-content: center;
  color: #E57373; font-size: 1.4rem; overflow: hidden;
}
.detail-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.detail-author-info { flex: 1; min-width: 0; }
.detail-author-info .name { font-size: .98rem; font-weight: 700; color: var(--ink-900); }
.detail-author-info .sub { font-size: .78rem; color: var(--ink-500); }
.detail-author-stats { font-size: .82rem; color: var(--ink-500); flex-shrink: 0; display: flex; gap: .6rem; }

/* 小主播详情 */
.broadcaster-hero {
  padding: 3.4rem 0 2.4rem;
  background: linear-gradient(155deg, #5D0909 0%, #8E1414 45%, #B23A2C 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.broadcaster-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 88% 30%, rgba(255,179,0,.18) 0 160px, transparent 160px);
}
.broadcaster-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; gap: 1.6rem;
}
.broadcaster-big-avatar {
  width: 110px; height: 110px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(255,255,255,.65);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  background: #fff;
}
.broadcaster-big-avatar img { width: 100%; height: 100%; object-fit: cover; }
.broadcaster-hero-info { flex: 1; min-width: 0; }
.broadcaster-badge {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.2); margin-bottom: .5rem;
}
.broadcaster-hero .broadcaster-name { font-size: 1.8rem; font-weight: 800; margin: 0; font-family: var(--serif); }
.broadcaster-member { display: inline-block; margin: .4rem 0 0 .5rem; font-size: .72rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--grad-gold); box-shadow: var(--shadow-gold); }
.broadcaster-sub { font-size: .86rem; color: rgba(255,255,255,.85); margin: .25rem 0; }
.broadcaster-bio { font-size: .88rem; color: rgba(255,255,255,.92); margin: .5rem 0 0; line-height: 1.7; }
.broadcaster-stats { display: flex; gap: 2.2rem; margin-top: 1.4rem; }
.broadcaster-stats .bstat { display: flex; flex-direction: column; align-items: center; }
.broadcaster-stats .bstat b { font-size: 1.4rem; font-weight: 800; }
.broadcaster-stats .bstat span { font-size: .76rem; color: rgba(255,255,255,.82); }

/* ════════════════════════════════════════════
   通讯社页
   ════════════════════════════════════════════ */
.society-hero {
  position: relative;
  background: var(--grad-hero);
  padding: 4.4rem 0 4.6rem;
  overflow: hidden;
}
.society-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.society-hero-inner { position: relative; z-index: 1; }
.society-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .92rem; font-weight: 700;
  background: rgba(255,255,255,.12);
  padding: .5rem 1.1rem; border-radius: 999px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255,255,255,.2);
}
.society-title { font-family: var(--serif); font-size: 2.7rem; font-weight: 900; color: #fff; letter-spacing: .05em; }
.society-slogan { color: var(--gold); font-size: 1.25rem; font-weight: 600; margin-top: .5rem; }
.society-desc { color: rgba(255,255,255,.88); font-size: 1rem; max-width: 620px; margin-top: .8rem; line-height: 1.9; }
.society-actions { display: flex; gap: .9rem; margin: 1.8rem 0 2.2rem; flex-wrap: wrap; }

.society-swiper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 820px;
}
.swiper-slide { position: relative; height: 220px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  padding: 2rem 1.1rem .85rem;
  color: #fff; font-weight: 700; font-size: .98rem;
}

.society-stats {
  display: flex; align-items: center; justify-content: space-around;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  margin-top: -30px; position: relative; z-index: 5;
  box-shadow: var(--shadow-md);
  max-width: 760px;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--red-700); }
.stat-label { font-size: .86rem; color: var(--ink-500); }
.stat-divider { width: 1px; height: 2.8rem; background: var(--line); }

.society-about {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  margin: 2.4rem 0;
  box-shadow: var(--shadow-sm);
}
.about-text { font-size: 1rem; line-height: 2; color: var(--ink-700); margin-bottom: 1.8rem; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.2rem 1.2rem;
  display: flex; align-items: flex-start; gap: .9rem;
  transition: all .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--red-100); border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red-600); font-size: 1.25rem;
}
.feature-card h4 { font-size: 1.02rem; font-weight: 700; color: var(--ink-900); margin-bottom: .5rem; }
.feature-card p { font-size: .88rem; color: var(--ink-500); line-height: 1.7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.feature-tags span { background: var(--red-100); color: var(--red-700); padding: 4px 12px; border-radius: 999px; font-size: .82rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.feature-grid span { display: flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--ink-700); }
.feature-grid i { color: var(--red-600); font-size: .88rem; }

.branches-section { padding-bottom: 3rem; }
.branches-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; }
.branch-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; cursor: pointer;
  transition: all .25s ease;
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.branch-cover { width: 130px; height: 110px; flex-shrink: 0; overflow: hidden; }
.branch-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.branch-card:hover .branch-cover img { transform: scale(1.06); }
.branch-cover-ph { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(135deg,#7B1FA2,#4A148C); color: rgba(255,255,255,.6); font-size: 2rem; }
.branch-info { flex: 1; padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; }
.branch-info h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink-900); }
.branch-info p { font-size: .82rem; color: var(--ink-500); margin-top: .3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.branch-link { font-size: .84rem; color: var(--red-700); display: flex; align-items: center; gap: .3rem; font-weight: 600; }

/* ════════════════════════════════════════════
   积分中心
   ════════════════════════════════════════════ */
.points-hero {
  position: relative;
  background: var(--grad-hero-deep);
  padding: 3.6rem 0 3.2rem;
  overflow: hidden;
}
.points-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,179,0,.16) 0 160px, transparent 160px);
}
.points-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.points-label { font-size: .9rem; color: rgba(255,255,255,.82); }
.points-balance { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1.1; font-family: var(--serif); }
.points-balance span { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-left: .3rem; }
.points-hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.points-tip {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 1rem auto 0; padding: 0 1.25rem;
  color: rgba(255,255,255,.8); font-size: .86rem;
  display: flex; align-items: center; gap: .4rem;
}
.points-section { padding: 2rem 0 3.5rem; }

.points-empty { text-align: center; color: var(--ink-300); padding: 2.5rem 0; }
.points-empty i { font-size: 2.2rem; opacity: .5; color: var(--ink-300); }
.points-log-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: .85rem 1.1rem; margin-bottom: .7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.points-log-item:hover { transform: translateX(4px); }
.points-log-left { flex: 1; }
.points-log-type { font-size: .9rem; font-weight: 600; color: var(--ink-900); }
.points-log-date { font-size: .74rem; color: var(--ink-300); margin-top: 2px; }
.points-log-amount { font-size: 1.15rem; font-weight: 800; }
.points-log-amount.plus { color: #2E7D32; }
.points-log-amount.minus { color: #C62828; }

/* ════════════════════════════════════════════
   引导页
   ════════════════════════════════════════════ */
.guide-page {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.25rem;
}
.guide-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 3rem 2.6rem;
  max-width: 520px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.guide-icon {
  width: 92px; height: 92px; margin: 0 auto 1.4rem;
  border-radius: 28px;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.3rem;
  box-shadow: var(--shadow-gold);
}
.guide-title { font-size: 1.5rem; font-weight: 800; color: var(--ink-900); margin-bottom: .7rem; font-family: var(--serif); }
.guide-desc { font-size: .95rem; color: var(--ink-500); line-height: 1.8; margin-bottom: 1.8rem; }
.guide-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════
   个人中心
   ════════════════════════════════════════════ */
.profile-header {
  position: relative;
  background: var(--grad-hero-deep);
  padding: 3.6rem 0 2.6rem;
  overflow: hidden;
}
.profile-header-bg { position: absolute; inset: 0; pointer-events: none; }
.profile-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.profile-login, .profile-user { display: flex; flex: 1; gap: 1.2rem; align-items: center; text-align: left; }
.profile-login { flex-direction: column; text-align: center; padding: 1rem 0; }
.profile-login-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.8rem;
}
.profile-hint-title { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0; font-family: var(--serif); }
.profile-hint-desc { font-size: .88rem; color: rgba(255,255,255,.82); margin: .4rem 0 0; }
.profile-login-actions { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }

.profile-avatar { position: relative; width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: #fff; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-300); font-size: 2rem; }
.profile-avatar::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--gold), var(--amber)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: -1;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: .2rem; font-family: var(--serif); }
.profile-school { font-size: .9rem; color: rgba(255,255,255,.82); margin-bottom: .55rem; }
.profile-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.tag-role { background: rgba(255,255,255,.2); color: #fff; }
.tag-member { background: var(--grad-gold); color: #fff; display: flex; align-items: center; gap: .25rem; box-shadow: var(--shadow-gold); }

.profile-stats {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  display: flex; overflow: hidden;
  max-width: 560px;
}
.profile-stat {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 1.1rem; cursor: pointer;
  transition: background .2s ease;
}
.profile-stat:hover { background: rgba(255,255,255,.1); }
.profile-stat-icon { color: var(--gold); font-size: 1rem; margin-bottom: .3rem; }
.profile-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.profile-stat-label { font-size: .82rem; color: rgba(255,255,255,.85); }
.profile-stat-divider { width: 1px; background: rgba(255,255,255,.25); }

.profile-menu { padding: 1.6rem 0 3rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; align-items: start; }
.menu-section {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.menu-section-title {
  display: flex; align-items: center; gap: .55rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .98rem; font-weight: 700; color: var(--ink-900);
}
.menu-section-bar { width: 4px; height: 16px; border-radius: 2px; background: var(--grad-brand); }
.menu-items { display: flex; flex-direction: column; }
.menu-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--paper); }
.menu-item-icon {
  width: 38px; height: 38px;
  background: var(--red-100); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red-600); font-size: 1rem; flex-shrink: 0;
}
.menu-item span { flex: 1; font-size: .96rem; color: var(--ink-900); }
.menu-item-arrow { color: var(--ink-300); font-size: .85rem; }

.profile-menu .btn-logout { grid-column: 1 / -1; }

/* ════════════════════════════════════════════
   登录 / 注册
   ════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.25rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(198,40,40,.06) 0 240px, transparent 240px),
    radial-gradient(circle at 85% 80%, rgba(249,168,37,.1) 0 260px, transparent 260px),
    var(--paper);
}
.auth-card {
  width: 100%; max-width: 480px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.auth-head {
  background: var(--grad-hero);
  padding: 2.6rem 1.5rem 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.auth-head::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06); border-radius: 50%;
}
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: .5rem; position: relative; }
.auth-logo-icon {
  width: 62px; height: 62px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.6rem;
}
.auth-logo span { font-family: var(--serif); font-size: 1.45rem; font-weight: 900; color: #fff; letter-spacing: .06em; }
.auth-slogan { color: rgba(255,255,255,.82); font-size: .86rem; margin-top: .55rem; }

.auth-form { padding: 2rem 2rem 2.2rem; }
.auth-title { font-size: 1.35rem; font-weight: 800; color: var(--ink-900); margin-bottom: 1.5rem; text-align: center; font-family: var(--serif); }
.form-group { margin-bottom: 1.15rem; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-700); margin-bottom: .45rem; }
.form-input-wrapper { position: relative; }
.form-input-icon { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--ink-300); font-size: .95rem; }
.form-input {
  width: 100%;
  padding: .85rem 1rem .85rem 3rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: .96rem; font-family: inherit;
  color: var(--ink-900);
  background: #fff;
  transition: all .2s ease;
}
.form-input:focus { outline: none; border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(229,57,53,.1); }
.form-input::placeholder { color: var(--ink-300); }
.form-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--ink-500); cursor: pointer; }
.link { color: var(--red-700); font-size: .88rem; font-weight: 500; }
.link:hover { text-decoration: underline; }
.auth-divider { text-align: center; position: relative; margin: 1.3rem 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.auth-divider span { background: #fff; padding: 0 1rem; position: relative; color: var(--ink-300); font-size: .82rem; }
.auth-footer { text-align: center; margin-top: 1.4rem; font-size: .88rem; color: var(--ink-500); }

/* ════════════════════════════════════════════
   CTA 引导条
   ════════════════════════════════════════════ */
.cta-band {
  background:
    radial-gradient(circle at 88% 30%, rgba(255,179,0,.14) 0 200px, transparent 200px),
    var(--grad-hero-deep);
  border-radius: var(--radius-lg);
  margin: 1rem 1.25rem 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 3rem 2.5rem; flex-wrap: wrap;
}
.cta-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .86rem; font-weight: 600;
  margin-bottom: .7rem;
}
.cta-copy { flex: 1; min-width: 260px; }
.cta-copy h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1.35; margin-bottom: .7rem; }
.cta-copy p { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.8; max-width: 620px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════
   页脚
   ════════════════════════════════════════════ */
.site-footer {
  background: #241B14;
  color: rgba(255,255,255,.72);
  margin-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.2rem 1.25rem 2.4rem;
}
.footer-brand-row { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .brand-mark { background: var(--grad-brand); }
.footer-brand .brand-text strong { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-text small { color: rgba(255,255,255,.5); }
.footer-about { font-size: .86rem; line-height: 1.9; color: rgba(255,255,255,.6); max-width: 340px; }
.footer-col h4 {
  font-size: .92rem; font-weight: 700; color: #fff;
  margin-bottom: 1.1rem; letter-spacing: .04em;
  position: relative; padding-bottom: .6rem;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col li { font-size: .86rem; }
.footer-col a { color: rgba(255,255,255,.68); transition: all .2s ease; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-col li span { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.68); }
.footer-col li i { color: var(--gold); width: 16px; text-align: center; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-sync { display: inline-flex; align-items: center; gap: .4rem; }
.footer-sync i { color: var(--gold); }

/* ════════════════════════════════════════════
   移动端底部导航（仅手机）
   ════════════════════════════════════════════ */
.bottom-nav { display: none; }

/* ════════════════════════════════════════════
   响应式
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .broadcasters-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .courses-grid, .courses-grid.list-page, .works-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .broadcasters-grid-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-aside { max-width: 520px; }
  .home-articles { grid-template-columns: 1fr; }
  .home-articles .mp-article-featured .mp-article-img { height: 220px; }
  .society-swiper { grid-template-columns: 1fr; max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  /* 导航 → 抽屉 */
  .mobile-menu-btn { display: block; }
  .header-actions .header-btn, .header-actions .header-user { display: none !important; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: .8rem 1.25rem 1.2rem;
    box-shadow: 0 20px 40px -12px rgba(34,26,19,.2);
    border-bottom: 1px solid var(--line);
    display: none;
    z-index: 999;
  }
  .nav-links.show { display: flex; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: .8rem 1rem; font-size: 1rem; border-radius: 12px; }

  .hero { padding: 3.2rem 0 5rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-divider { display: none; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-swiper { height: 300px; }

  .quick-entries { grid-template-columns: repeat(4, minmax(0,1fr)); gap: .6rem; margin-top: -26px; }
  .entry-card { padding: 1rem .4rem; }
  .entry-icon { width: 52px; height: 52px; border-radius: 15px; font-size: 1.2rem; }

  .home-section { padding: 2.2rem 0; }
  .broadcasters-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: .6rem; }
  .broadcaster-card { padding: .85rem .3rem .75rem; }
  .broadcaster-avatar { width: 58px; height: 58px; }

  .courses-grid, .courses-grid.list-page, .works-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
  .mp-course-img { height: 118px; }

  .home-activities, .activities-list-page, .branches-grid { grid-template-columns: 1fr; }
  .mp-activity-img { width: 104px; min-height: 108px; }

  .broadcasters-grid-list { grid-template-columns: 1fr; }

  .article-cover { width: 120px; min-height: 96px; }
  .article-body h3 { font-size: .98rem; }
  .article-body > p { display: none; }

  .detail-cover { height: 220px; }
  .detail-page-inner { margin-top: -30px; padding: 1.2rem 1.1rem; border-radius: var(--radius); }
  .detail-title { font-size: 1.25rem; }
  .detail-page-inner { margin-left: .9rem; margin-right: .9rem; }

  .broadcaster-hero-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .broadcaster-big-avatar { width: 92px; height: 92px; }
  .broadcaster-stats { justify-content: center; }
  .broadcaster-member { margin-left: 0; }

  .society-title { font-size: 2rem; }
  .society-actions, .cta-inner { flex-direction: column; align-items: stretch; }
  .society-actions .btn, .cta-actions .btn { width: 100%; }
  .society-about { padding: 1.4rem 1.2rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .points-hero-inner { flex-direction: column; align-items: flex-start; }
  .points-hero-actions .btn { width: auto; }

  .profile-content { flex-direction: column; text-align: center; }
  .profile-user { flex-direction: column; text-align: center; }
  .profile-info { text-align: center; }
  .profile-tags { justify-content: center; }
  .profile-menu { grid-template-columns: 1fr; padding: 1.2rem 0 2.4rem; }

  .auth-card { max-width: 420px; }
  .auth-form { padding: 1.6rem 1.4rem 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .back-btn { top: calc(var(--header-h) + 10px); left: 14px; width: 40px; height: 40px; }

  /* 移动端底部导航 */
  body { padding-bottom: 76px; }
  .bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: .4rem .4rem calc(.4rem + env(safe-area-inset-bottom));
  }
  .nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem;
    background: none; border: none; padding: .25rem;
  }
  .nav-item i { font-size: 1.22rem; color: var(--ink-300); transition: all .2s ease; }
  .nav-item span { font-size: .68rem; font-weight: 500; color: var(--ink-300); transition: color .2s ease; }
  .nav-item.active i { color: var(--red-600); }
  .nav-item.active span { color: var(--red-700); font-weight: 600; }

  .page-banner { padding: 2.8rem 0 2.2rem; }
  .page-banner-title { font-size: 1.7rem; }
}

/* ════════════════════════════════════════════
   专属摸底问卷 CTA 卡片
   ════════════════════════════════════════════ */
.survey-cta-card {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow-md);
  margin-top: -30px;
}
.survey-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.survey-cta-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 30%, rgba(255,179,0,.2) 0 140px, transparent 140px),
    radial-gradient(circle at 15% 80%, rgba(255,255,255,.08) 0 120px, transparent 120px);
  pointer-events: none;
}
.survey-cta-content {
  position: relative; z-index: 1;
  flex: 1; min-width: 0;
}
.survey-cta-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  padding: 4px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; color: var(--gold);
  margin-bottom: .6rem;
}
.survey-cta-title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 900;
  color: #fff; margin-bottom: .3rem;
}
.survey-cta-desc {
  color: rgba(255,255,255,.85); font-size: .92rem; margin-bottom: .8rem;
}
.survey-cta-features {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.survey-cta-features span {
  display: inline-flex; align-items: center; gap: .35rem;
  color: rgba(255,255,255,.9); font-size: .82rem;
}
.survey-cta-features i { color: var(--gold); }
.survey-cta-arrow {
  position: relative; z-index: 1;
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  transition: transform .3s ease;
}
.survey-cta-card:hover .survey-cta-arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .survey-cta-card {
    padding: 1.2rem 1.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: -20px;
  }
  .survey-cta-title { font-size: 1.2rem; }
  .survey-cta-features { gap: .6rem; }
  .survey-cta-features span { font-size: .75rem; }
  .survey-cta-arrow { align-self: flex-end; }
}
