/* R法学园 APP — 极简高级风 */
:root {
  --primary: #1A2332;
  --accent: #EA580C;
  --accent-soft: rgba(234, 88, 12, 0.1);
  --live: #E05252;
  --bg: #FFFFFF;
  --bg-subtle: #f9f9f9;
  --surface: #FFFFFF;
  --text-primary: #1A2332;
  --text-secondary: #5C6573;
  --text-muted: #94A0AE;
  --border: #ECEEF2;
  --radius: 10px;
  --radius-lg: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-padding-y: 10px;
  --tabbar-inner: 44px;
  --tabbar-height: calc(var(--tabbar-padding-y) * 2 + var(--tabbar-inner));
  --page-x: 10px;
  --section-gap: 10px;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #EBEDF0;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-wrapper {
  max-width: 414px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
}

.app-content {
  padding-bottom: calc(var(--tabbar-height) + var(--safe-bottom));
}

/* ── 顶部 ── */
.page-header {
  padding: 10px var(--page-x);
  background: var(--bg);
}

/* 快捷入口以下：灰底 + 卡片分区 */
.page-sections {
  background: var(--bg-subtle);
  padding: 10px 0 8px;
}

.section-card {
  margin: 0 var(--page-x) var(--section-gap);
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .section-card,
.page-home .hero-slide {
  border-radius: 10px;
}

.page-sections > .section-card:first-child {
  margin-top: 0;
}

.page-header__bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.page-brand img {
  display: block;
  height: 30px;
  width: auto;
  border-radius: 4px;
}

.page-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.page-header__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  position: relative;
}

.page-header__actions .icon-scan {
  display: block;
  width: 1em;
  height: 1em;
}

.page-header__actions a i {
  display: block;
  line-height: 1;
}

.page-header__actions .badge-dot {
  position: absolute;
  top: 0;
  right: -2px;
  width: 7px;
  height: 7px;
  background: var(--live);
  border-radius: 50%;
}

.page-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border-radius: 20px;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
}

.page-search i {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
}

.page-search span {
  color: var(--text-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 首页频道导航 ── */
.home-channel-bar {
  display: flex;
  align-items: flex-end;
  background: var(--bg-subtle);
  padding-top:10px;
}

.home-channel-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: transparent;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-channel-nav::-webkit-scrollbar {
  display: none;
}

.home-channel-bar__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 44px;
  padding: 0 0 9px;
  border: none;
  background: transparent;
  color: #292e34;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.home-channel-bar__more i {
  display: block;
  line-height: 1;
}

.home-channel-nav__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  font-size: 15px;
  font-weight: 400;
  color: #3f4659;
  text-decoration: none;
  position: relative;
  padding: 0 8px 9px;
  white-space: nowrap;
  line-height: 1;
}

.home-channel-nav__item:first-child {
  padding-left: var(--page-x);
}

.home-channel-nav__item.active {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 9px;
}

.home-channel-nav__item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── 编辑分类弹窗 ── */
.channel-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.channel-edit-modal[hidden] {
  display: none;
}

.channel-edit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.45);
}

.channel-edit-modal__panel {
  position: relative;
  width: 100%;
  max-width: 414px;
  height: 50vh;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.channel-edit-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--page-x);
  background: var(--bg);
  flex-shrink: 0;
}

.channel-edit-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.channel-edit-modal__title {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
}

.channel-edit-modal__done {
  padding: 6px 16px;
  border: none;
  border-radius: 16px;
  background: #FFB87A;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.channel-edit-modal__hint {
  margin: 0;
  padding: 14px var(--page-x) 12px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.channel-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 var(--page-x) calc(20px + var(--safe-bottom));
  align-content: start;
}

.channel-edit-grid__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.3;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
  touch-action: none;
}

.channel-edit-grid__item--fixed {
  color: var(--text-muted);
  cursor: default;
  touch-action: auto;
}

.channel-edit-grid__item.is-dragging {
  box-shadow: 0 4px 14px rgba(26, 35, 50, 0.16);
  transform: scale(1.04);
  z-index: 1;
  position: relative;
}

.channel-edit-grid__item.is-drag-over {
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* ── Banner ── */
.hero {
  padding: 8px var(--page-x) 0;
  background: var(--bg-subtle);
}

.hero .carousel {
  position: relative;
}

.hero .carousel,
.hero .carousel-inner {
  background: transparent;
}

/* Bootstrap carousel markup + JS，未引入 bootstrap.css 时需自行补全轮播布局 */
.hero .carousel-inner {
  overflow: hidden;
}

.hero .carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.hero .carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.hero .carousel-item.active,
.hero .carousel-item-next,
.hero .carousel-item-prev {
  display: block;
}

.hero .carousel-item-next:not(.carousel-item-start),
.hero .carousel-item.active.carousel-item-end {
  transform: translateX(100%);
}

.hero .carousel-item-prev:not(.carousel-item-end),
.hero .carousel-item.active.carousel-item-start {
  transform: translateX(-100%);
}

.hero .carousel-item-next.carousel-item-start,
.hero .carousel-item-prev.carousel-item-end {
  transform: translateX(0);
}

.hero-slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

a.hero-slide--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.hero-slide--link:active {
  opacity: 0.92;
}

.hero-slide img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 35, 50, 0.72) 100%);
  padding: 20px var(--page-x);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-slide__tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.hero-slide__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.4;
}

.hero-slide__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.hero .carousel-indicators {
  position: static;
  margin: 12px 0 0;
  justify-content: center;
  gap: 5px;
}

.hero .carousel-indicators [data-bs-target] {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  opacity: 1;
}

.hero .carousel-indicators .active {
  background: var(--accent);
  width: 16px;
  border-radius: 3px;
}

/* ── 快捷入口 ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 12px;
  padding: 20px 12px 16px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.menu-item__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--text-secondary);
}

.menu-item__icon--course { background: #EAFBF1; color: #16A34A; }
.menu-item__icon--super  { background: #FFF4E6; color: #D97706; }
.menu-item__icon--practice { background: #F0FDFA; color: #0D9488; }
.menu-item__icon--live    { background: #FFF0F0; color: #EF4444; }
.menu-item__icon--event   { background: #F8F0FE; color: #AE79CF; }
.menu-item__icon--mall    { background: #FFF8E8; color: #EA980C; }
.menu-item__icon--teacher { background: #EFF6FF; color: #2563EB; }
.menu-item__icon--share   { background: #ECFDF8; color: #0D9488; }
.menu-item__icon--promo   { background: #FFF4EB; color: #EA580C; }
.menu-item__icon--commission { background: #FFF8E8; color: #EA980C; }
.menu-item__icon--healer    { background: #EAFBF1; color: #16A34A; }
.menu-item__icon--live-start { background: #FFF0F0; color: #EF4444; }
.menu-item__icon--more    { background: #F4F6F8; color: #64748B; }
.menu-item__icon--school     { background: #FEF2F2; color: #DC2626; }
.menu-item__icon--school-alt { background: #F0F9FF; color: #0284C7; }

.menu-item__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

/* 首页快捷入口 — 渐变卡片图标 */
.menu-grid--premium {
  gap: 22px 10px;
  padding: 22px 0 18px;
}

.menu-grid--premium .menu-item {
  gap: 11px;
}

.menu-grid--premium .menu-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.menu-grid--premium .menu-item__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.menu-grid--premium .menu-item__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.1px;
}

/* 首页快捷入口 — 图标尺寸对齐疗愈师功能入口 */
.page-home .menu-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 8px;
}

.page-home .menu-grid .menu-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  font-size: 0;
}

.page-home .menu-grid .menu-item__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── 区块 ── */
.block {
  padding: 20px 12px 16px;
}

.block.section-card--last {
  margin-bottom: 0;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.block-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.3px;
}

.block-more {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.block-more i {
  font-size: 10px;
}

/* ── 直播横滑 ── */
.live-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.live-row::-webkit-scrollbar {
  display: none;
}

.live-row::after {
  content: '';
  flex: 0 0 1px;
}

.live-item {
  flex: 0 0 260px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.live-item__img {
  position: relative;
  height: 140px;
}

.live-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--live);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.live-item__body {
  padding: 14px;
}

.live-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-item__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.page-home .live-row-empty {
  padding: 16px 12px;
  text-align: center;
}

.page-home .live-row-empty__text {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── 分类 Tab ── */
.filter-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.filter-tabs--category {
  margin-bottom: 10px;
}

.filter-type-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.filter-type-tabs::-webkit-scrollbar {
  display: none;
}

.filter-type-tab {
  flex: 0 0 auto;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary, #5c6573);
  background: var(--bg-muted, #f3f4f6);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.filter-type-tab.active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(234, 88, 12, 0.1);
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  flex: 0 0 auto;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  margin-bottom: -1px;
}

.filter-tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.filter-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ── 课程列表 ── */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.course-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.course-item:last-child {
  border-bottom: none;
}

.course-item__cover {
  flex: 0 0 108px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.course-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-item__time {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 10px;
  color: #fff;
  background: rgba(26, 35, 50, 0.65);
  padding: 1px 5px;
  border-radius: 3px;
}

.course-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-item__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-item__price {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.course-item__price--free {
  color: #16A34A;
}

.course-item__price del {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

.course-item__count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── 推广条 ── */
.promo-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  text-decoration: none;
  color: inherit;
}

.promo-strip__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.promo-strip__text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 2px;
}

.promo-strip__text p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.promo-strip > i {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
}

/* ── 下载 APP 引导条（导航下方） ── */
.app-download-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px var(--page-x);
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0.06) 100%);
  border-bottom: 1px solid rgba(234, 88, 12, 0.15);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}

.app-download-bar__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.app-download-bar__text {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.app-download-bar__arrow {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--accent);
}

.app-download-bar--on-media {
  position: relative;
  z-index: 6;
  background: rgba(26, 35, 50, 0.82);
  border-bottom: none;
  color: #fff;
}

.app-download-bar--on-media .app-download-bar__text {
  color: #fff;
}

.app-download-bar--on-media .app-download-bar__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.app-download-bar--on-media .app-download-bar__arrow {
  color: rgba(255, 255, 255, 0.75);
}

.page-header + .app-download-bar {
  margin-top: -2px;
}

.page-home .app-content > .app-download-bar:first-child,
.app-download-bar--home-top {
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid rgba(234, 88, 12, 0.15);
}

/* ── 活动 ── */
.event-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.event-card__img {
  height: 140px;
}

.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: 16px;
}

.event-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.event-category-tag,
.event-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}

.event-category-tag {
  color: var(--accent);
  background: rgba(234, 88, 12, 0.1);
}

.event-tag {
  color: #fff;
}

.event-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.4;
}

.event-card__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ── 底部导航 ── */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: var(--tabbar-height);
  padding: var(--tabbar-padding-y) 0 calc(var(--tabbar-padding-y) + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 200;
}

.tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
  text-decoration: none;
  color: #666;
  font-size: 10px;
  font-weight: 400;
  padding: 0 4px;
}

.tabbar-item i {
  font-size: 26px;
  line-height: 1;
}

.tabbar-item__icon {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.tabbar-item.active {
  color: var(--accent);
  font-weight: 500;
}

.tabbar-item.active i {
  font-weight: 900;
}

.block--last {
  padding-bottom: 16px;
}

/* ══════════════════════════════════════
   子页面 / 课程列表 / 课程详情
   ══════════════════════════════════════ */

.app-content--subpage {
  background: var(--bg-subtle);
  min-height: 100vh;
}

.app-content--detail {
  position: relative;
  padding-bottom: calc(72px + var(--safe-bottom));
  background: var(--bg-subtle);
}

/* ── 子页顶栏 ── */
.sub-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px var(--page-x);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sub-header__back,
.sub-header__action {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  background: none;
  border: none;
  font-size: 16px;
  padding: 0;
}

.sub-header__title {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* ── 课程列表工具栏 ── */
.course-quick-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 var(--page-x);
  margin-top: 8px;
}

.course-quick-nav .live-card__cover {
  height: 120px;
}

.course-quick-nav .live-card__body {
  padding: 8px 12px 10px;
}

.course-quick-nav .live-card__head {
  column-gap: 8px;
  row-gap: 2px;
}

.course-quick-nav .live-card__title {
  font-size: 14px;
  line-height: 1.35;
}

.course-quick-nav .live-card__meta {
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-quick-nav .live-card__action {
  font-size: 12px;
}

.course-quick-nav .live-card__action span {
  gap: 2px;
  padding-bottom: 0;
  border-bottom: none;
}

.course-quick-nav .live-card__action span i {
  font-size: 11px;
}

.course-quick-nav .live-card__action-col {
  padding-top: 0;
}

.course-column-banner {
  position: relative;
  overflow: hidden;
}

.app-content--courses > .course-column-banner {
  margin-top: 10px;
}

.course-column-banner__bg {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
}

.course-column-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.08) 0%, rgba(26, 35, 50, 0.78) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.course-column-banner__tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.course-column-banner__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.35;
}

.course-column-banner__desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.course-mode-tabs {
  display: flex;
  gap: 0;
  background: var(--bg);
  padding: 0 var(--page-x);
  margin-top: 8px;
  border-bottom: 1px solid var(--border);
}

.course-mode-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 8px;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
}

.course-mode-tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.course-mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

a.course-mode-tab {
  text-decoration: none;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.4;
  font: inherit;
}

a.course-mode-tab:visited {
  color: var(--text-muted);
}

a.course-mode-tab.active,
a.course-mode-tab.active:visited {
  color: var(--text-primary);
}

.course-toolbar {
  background: var(--bg);
  padding: 10px var(--page-x) 0px;
}

.course-toolbar--search {
  padding: 4px var(--page-x) 10px;
}

.course-search--compact {
  padding: 4px 8px;
  border-radius: 14px;
  gap: 4px;
}

.course-search--compact i {
  font-size: 11px;
}

.course-search--compact input {
  font-size: 11px;
}

.course-search--compact .course-search__clear {
  font-size: 11px;
}

.course-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border-radius: 20px;
  padding: 10px 14px;
}

.course-search i {
  color: var(--text-muted);
  font-size: 14px;
}

.course-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  min-width: 0;
}

.course-search input::placeholder {
  color: var(--text-muted);
}

.course-search__clear {
  border: none;
  background: none;
  color: var(--text-muted);
  padding: 0;
  font-size: 14px;
}

.course-toolbar--filters {
  padding-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.category-pill.active {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
  font-weight: 600;
}

a.category-pill {
  text-decoration: none;
  display: inline-block;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
}

a.category-pill:visited {
  color: var(--text-secondary);
}

a.category-pill.active,
a.category-pill.active:visited {
  color: var(--accent);
}

.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
  border-top: 1px solid var(--border);
}

.sort-bar--type {
  padding-top: 0;
  padding-bottom: 8px;
  border-top: none;
}

.sort-bar__label {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sort-options {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.sort-options::-webkit-scrollbar {
  display: none;
}

.sort-option {
  flex: 0 0 auto;
  border: none;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
}

.sort-option.active {
  background: var(--primary);
  color: #fff;
  font-weight: 500;
}

.sort-option--status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sort-option__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sort-option__dot--live {
  background: var(--live);
  animation: live-pulse 1.5s infinite;
}

.sort-option.active .sort-option__dot--live {
  background: #fff;
}

a.sort-option {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
}

a.sort-option:visited {
  color: var(--text-secondary);
}

a.sort-option.active,
a.sort-option.active:visited {
  color: #fff;
}

.my-courses-filters {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.my-courses-filters .event-status-tabs {
  padding: 0 var(--page-x);
}

.course-page-body {
  padding: 10px var(--page-x) 16px;
}

.course-result-tip {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px 4px;
}

.course-result-tip strong {
  color: var(--text-primary);
  font-weight: 600;
}

.course-list--page {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 0 14px;
}

.course-list--page .course-item:first-child {
  padding-top: 14px;
}

.course-list--page .course-item:last-child {
  padding-bottom: 14px;
}

.my-course-item__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.my-school-course-item__school {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}

.my-school-course-item .course-item__title {
  margin-bottom: 4px;
}

.my-course-item__badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: rgba(22, 163, 74, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
}

.my-course-item__progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.my-course-item__progress-head strong {
  color: var(--accent);
  font-weight: 600;
}

.my-course-item__progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.my-course-item__progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #F97316);
  border-radius: 2px;
}

.course-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.course-empty i {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.btn-reset {
  margin-top: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 20px;
}

/* ── 课程详情 ── */
.detail-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #1a2332;
  z-index: 1;
}

.detail-hero__cover {
  position: absolute;
  inset: 0;
}

.detail-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.detail-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.35) 0%, rgba(26, 35, 50, 0.15) 50%, rgba(26, 35, 50, 0.5) 100%);
}

.detail-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--page-x);
  z-index: 2;
}

.detail-nav__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
}

.detail-nav__actions {
  display: flex;
  gap: 8px;
}

.detail-nav__btn .fa-heart {
  color: var(--accent);
}

.detail-hero__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -20%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  color: #fff;
  z-index: 2;
}

.detail-hero__play i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 3px;
}

.detail-hero__play span {
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

a.detail-hero__play {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

a.premium-dashboard__buy {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.detail-hero--dashboard {
  height: auto;
  min-height: 0;
  padding: 52px var(--page-x) 24px;
  background: linear-gradient(165deg, #9e4545 0%, #c25858 42%, #864040 100%);
  display: flex;
  flex-direction: column;
}

.premium-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.premium-dashboard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.premium-dashboard__title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.premium-dashboard__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.premium-dashboard__benefits {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.premium-dashboard__benefits i {
  font-size: 9px;
  opacity: 0.85;
}

.premium-dashboard__summary {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.premium-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}

.premium-dashboard__stat {
  text-align: center;
}

.premium-dashboard__stat--full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.premium-dashboard__stat--full .premium-dashboard__stat-label {
  margin: 0;
  flex-shrink: 0;
}

.premium-dashboard__stat--full .premium-dashboard__stat-value {
  font-size: 14px;
  margin: 0;
  text-align: right;
}

.premium-dashboard__stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
  white-space: nowrap;
}

.premium-dashboard__stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
}

.premium-dashboard__buy {
  align-self: center;
  width: auto;
  max-width: 100%;
  padding: 9px 20px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #6b2424;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.premium-dashboard__buy--disabled,
.premium-dashboard__buy:disabled {
  opacity: 0.72;
  cursor: default;
}

.app-content--premium-detail {
  padding-bottom: calc(16px + var(--safe-bottom));
}

.app-content--premium-intro {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
}

.course-premium-intro {
  flex: 1;
  padding: 8px var(--page-x) 32px;
}

.course-premium-intro__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.course-premium-intro__slogan {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.course-premium-intro__body {
  background: var(--bg);
  border-radius: 12px;
  padding: 4px 0 0;
}

.detail-summary {
  margin: 10px var(--page-x) var(--section-gap);
  padding: 18px 14px;
  position: relative;
  z-index: 3;
}

.detail-summary__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 10px;
}

.detail-summary__school {
  margin: 0 0 8px;
  font-size: 12px;
  color: #2563eb;
  line-height: 1.4;
}

.detail-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.detail-summary__meta i {
  margin-right: 4px;
  font-size: 11px;
}

.detail-summary__meta .fa-star {
  color: #F59E0B;
}

.detail-progress {
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.detail-progress__head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.detail-progress__head strong {
  color: var(--accent);
}

.detail-progress__bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.detail-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #F97316);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.detail-progress__tip {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.detail-summary__tags-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-summary__tags-wrap .detail-summary__tags {
  margin-left: 0;
  width: 100%;
  justify-content: space-between;
}

.detail-summary__price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.detail-price--free {
  color: #16A34A;
}

.detail-summary__price del {
  font-size: 13px;
  color: var(--text-muted);
}

.detail-summary__tags {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.detail-tag {
  font-size: 11px;
  color: #16A34A;
  background: #EAFBF1;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.detail-tag--commission {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #FF9A2E 0%, #EA7700 100%);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(234, 119, 0, 0.35);
}

.detail-tag--commission i {
  font-size: 12px;
}

.detail-teacher {
  padding: 16px 14px;
}

.detail-teacher__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.detail-teacher__head h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.detail-teacher__head a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.teacher-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.teacher-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.teacher-card__name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.teacher-card__title {
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 6px;
}

.teacher-card__bio {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teacher-card__arrow {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 18px;
}

.detail-tabs-wrap {
  padding: 0;
}

.detail-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 6px;
}

.detail-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 14px 8px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
}

.detail-tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.detail-panel {
  display: none;
  padding: 16px 14px 18px;
}

.detail-panel.active {
  display: block;
}

.detail-intro h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
}

.detail-intro h3:not(:first-child) {
  margin-top: 18px;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.detail-list li {
  margin-bottom: 6px;
}

.detail-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}

/* ── 章节目录 ── */
.chapter-group {
  margin-bottom: 16px;
}

.chapter-group:last-child {
  margin-bottom: 0;
}

.chapter-group__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.chapter-group--nested {
  margin-top: 4px;
  margin-left: 4px;
  border-left: 2px solid var(--bg-subtle);
  padding-left: 8px;
}

.chapter-group--nested .chapter-group__title {
  font-size: 13px;
  color: var(--text-secondary);
}

.chapter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 4px 0 8px;
  margin: 0;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.chapter-group__aside {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.chapter-group__meta {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.chapter-group__arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.chapter-group--open .chapter-group__arrow {
  transform: rotate(180deg);
}

.chapter-list .learn-status {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 6px;
  border-radius: 4px;
}

.chapter-list .learn-status--done {
  background: #dcfce7;
  color: #16a34a;
}

.chapter-list .learn-status--doing {
  background: var(--accent-soft);
  color: var(--accent);
}

.chapter-list .learn-status--todo {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.chapter-list .lesson-item--done .lesson-item__icon {
  color: #16a34a;
}

.chapter-list .lesson-item--doing .lesson-item__icon {
  color: var(--accent);
}

.lesson-item--doing .lesson-item__icon {
  color: var(--accent);
}

.lesson-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  text-align: left;
}

.lesson-item--locked {
  opacity: 0.55;
}

.lesson-item--completed .lesson-item__icon {
  color: #16A34A;
}

.lesson-item--trial .lesson-item__icon {
  color: var(--accent);
}

.lesson-item--unlocked .lesson-item__icon {
  color: #2563EB;
}

.lesson-item__icon {
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  color: var(--text-muted);
}

.lesson-item__body {
  flex: 1;
  min-width: 0;
}

.lesson-item__title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.lesson-item__meta {
  font-size: 12px;
  color: var(--text-muted);
}

.lesson-item__badge {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

a.lesson-item,
button.lesson-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  font: inherit;
}

a.detail-bar__icon,
a.detail-bar__cta {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

a.detail-bar__cta {
  color: #fff;
}

button.detail-bar__icon {
  font: inherit;
  cursor: pointer;
}

.app-content--subpage .course-empty {
  padding: 48px 16px;
  text-align: center;
}

/* ── 评价 ── */
.review-summary {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.review-summary__score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-summary__score strong {
  font-size: 28px;
  color: var(--text-primary);
}

.review-summary__score > span {
  font-size: 13px;
  color: var(--text-muted);
}

.stars {
  color: #F59E0B;
  font-size: 12px;
  display: flex;
  gap: 2px;
}

.stars--lg {
  font-size: 14px;
}

.stars__empty {
  opacity: 0.25;
}

.review-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-item__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.review-item__user {
  font-size: 14px;
  font-weight: 500;
}

.review-item__date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-item__text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 8px 0 0;
  line-height: 1.6;
}

.detail-spacer {
  height: 8px;
}

/* ── 底部操作栏 ── */
.detail-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px var(--page-x) calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 200;
}

.detail-bar__icon {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 10px;
  padding: 0 10px;
  min-width: 48px;
}

.detail-bar__icon i {
  font-size: 18px;
}

.detail-bar__icon .fa-heart {
  color: var(--accent);
}

.detail-bar__cta {
  flex: 1;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ── 弹层 ── */
.modal-sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-sheet[hidden] {
  display: none;
}

.modal-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.45);
}

.modal-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 414px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 18px var(--page-x) calc(20px + var(--safe-bottom));
}

.modal-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-sheet__head h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding-right: 12px;
}

.modal-sheet__close {
  border: none;
  background: var(--bg-subtle);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-secondary);
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--page-x);
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.45);
}

.confirm-modal__panel {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 24px 20px 20px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.confirm-modal__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.confirm-modal__msg {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 22px;
}

.confirm-modal__actions {
  display: flex;
  gap: 12px;
}

.confirm-modal__btn {
  flex: 1;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.confirm-modal__btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.confirm-modal__btn--danger {
  border-color: #DC2626;
  background: #DC2626;
  color: #fff;
  font-weight: 600;
}

.trial-player__screen {
  aspect-ratio: 16 / 9;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  gap: 8px;
}

.trial-player__screen i {
  font-size: 48px;
  color: #fff;
}

.trial-player__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.trial-player__track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.trial-player__played {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.trial-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 14px 0;
}

.btn-primary-block {
  display: block;
  width: 100%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
}

.note-form__label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.note-form__textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg);
  resize: vertical;
  min-height: 88px;
}

.note-chapter-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  color: var(--text-primary);
  background: var(--bg);
  cursor: pointer;
  text-align: left;
}

.note-chapter-pick--empty .note-chapter-pick__text {
  color: var(--text-muted);
}

.note-chapter-pick > .fa-chevron-right {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 8px;
}

/* ActionSheet */
.action-sheet {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.action-sheet[hidden] {
  display: none;
}

.action-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.action-sheet__wrap {
  position: relative;
  width: 100%;
  max-width: 414px;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0));
  z-index: 1;
}

.action-sheet__group {
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
}

.action-sheet__group:last-child {
  margin-bottom: 0;
}

.action-sheet__title {
  padding: 12px 16px 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.action-sheet__options {
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.action-sheet__option {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 14px 16px;
  font-size: 16px;
  text-align: center;
  color: var(--accent);
  cursor: pointer;
  border-top: 1px solid var(--border);
  line-height: 1.35;
}

.action-sheet__options .action-sheet__option:first-child {
  border-top: none;
}

.action-sheet__option.active {
  font-weight: 600;
}

.action-sheet__option:disabled,
.action-sheet__option--disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.55;
}

.action-sheet__cancel {
  display: block;
  width: 100%;
  border: none;
  background: var(--bg);
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.note-list {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.note-list__empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

.note-item {
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.note-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.note-item__head strong {
  font-size: 13px;
}

.note-item__del {
  border: none;
  background: none;
  color: var(--text-muted);
  padding: 4px;
}

.note-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 6px;
  line-height: 1.5;
}

.note-item time {
  font-size: 11px;
  color: var(--text-muted);
}

.toast-tip {
  position: fixed;
  left: 50%;
  bottom: calc(90px + var(--safe-bottom));
  transform: translateX(-50%);
  background: rgba(26, 35, 50, 0.88);
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 20px;
  z-index: 400;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-tip[hidden] {
  display: none;
}

/* ══════════════════════════════════════
   直播列表 / 直播观看
   ══════════════════════════════════════ */

.sub-header__action--placeholder {
  visibility: hidden;
}

.sub-header__action--text {
  width: auto;
  min-width: 36px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.live-status-tabs {
  display: flex;
  gap: 0;
  background: var(--bg);
  padding: 0 var(--page-x);
  border-bottom: 1px solid var(--border);
}

.live-status-tabs--embedded {
  padding: 0;
  margin: 0 calc(var(--page-x) * -1);
  border-bottom: none;
}

.live-status-tab,
a.live-status-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 14px 8px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

a.live-status-tab {
  text-decoration: none;
  box-sizing: border-box;
}

.live-status-tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.live-status-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.live-status-tab__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.live-status-tab__dot--live {
  background: var(--live);
  animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.live-page-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.live-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.live-card__cover {
  position: relative;
  height: 180px;
}

.live-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.live-card__tag--live {
  background: var(--live);
  color: #fff;
}

.live-card__tag--upcoming {
  background: rgba(26, 35, 50, 0.72);
  color: #fff;
}

.live-card__tag--ended {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-secondary);
}

.live-card__viewers {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  color: #fff;
  background: rgba(26, 35, 50, 0.55);
  padding: 3px 8px;
  border-radius: 4px;
}

.live-card__body {
  padding: 14px;
}

.live-card__head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
}

.live-card__title-link,
.live-card__meta-link {
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.live-card__title-link {
  grid-column: 1;
  grid-row: 1;
}

.live-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.45;
}

.live-card__action-col {
  grid-column: 2;
  grid-row: 1 / -1;
  white-space: nowrap;
  align-self: start;
  padding-top: 1px;
}

.live-card__meta-link {
  grid-column: 1;
  grid-row: 2;
  display: block;
}

.live-card__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.live-card__action {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.live-card__action span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  line-height: 1.3;
}

.live-card__action span i {
  font-size: 12px;
  line-height: 1;
}

.live-card__action--live {
  color: var(--live);
}

.live-card__action--muted {
  color: var(--text-muted);
  font-weight: 400;
}

.live-card__btn {
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
}

.live-card__btn--done {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.live-card__tag--edu {
  background: var(--accent);
  color: #fff;
}

/* ── 直播详情页 ── */
.sub-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  max-width: 414px;
  margin: 0 auto;
}

.sub-header__back--light {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  color: #fff;
  width: 36px;
  height: 36px;
}

.sub-header__title--hidden {
  visibility: hidden;
}

.live-detail-hero {
  position: relative;
  height: 220px;
  background: #000;
  z-index: 1;
}

.live-detail-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-detail-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.15) 100%);
}

.live-detail-hero__badge {
  position: absolute;
  bottom: 26px;
  left: var(--page-x);
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.live-detail-hero__badge--live {
  background: var(--live);
  color: #fff;
}

.live-detail-hero__badge--upcoming {
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
}

.live-detail-hero__badge--ended {
  background: rgba(255,255,255,0.88);
  color: var(--text-secondary);
}

.live-detail-hero__badge--school {
  background: var(--accent);
  color: #fff;
}

.live-detail-summary {
  margin: -16px var(--page-x) var(--section-gap);
  padding: 18px 14px;
  position: relative;
  z-index: 2;
}

.live-detail-summary__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.45;
}

.school-detail-name-en {
  font-size: 13px;
  color: var(--text-muted);
  margin: -6px 0 10px;
}

.live-detail-summary__meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.live-detail-summary__meta i {
  margin-right: 4px;
}

.live-dot {
  color: var(--live);
  font-size: 8px;
  vertical-align: middle;
}

.live-detail-teacher {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-subtle);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
}

.live-detail-teacher img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.live-detail-teacher strong {
  display: block;
  font-size: 14px;
}

.live-detail-teacher span {
  font-size: 12px;
  color: var(--text-muted);
}

.live-detail-teacher > i {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
}

.live-detail-summary__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.live-detail-intro {
  margin: 0 var(--page-x) var(--section-gap);
  padding: 16px 14px;
}

.live-detail-intro__head {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

.live-detail-intro__body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 12px;
}

.live-detail-intro__body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 10px;
}

.live-detail-intro__body ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.detail-panel#panel-courses {
  padding-top: 16px;
  padding-bottom: 0;
}

.detail-panel#panel-courses .course-item:first-child {
  padding-top: 0;
}

.detail-panel#panel-advisor {
  padding-top: 16px;
}

.school-advisor__body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.school-advisor__left {
  flex: 0 0 148px;
}

.school-advisor__wx-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.school-advisor__avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
}

.school-advisor__wx-meta strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}

.school-advisor__wx-meta span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--text-muted);
}

.school-advisor__qr-wrap {
  width: 148px;
  height: 148px;
}

.school-advisor__qr-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.school-advisor__qr-tip {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--text-muted);
}

.school-advisor__info {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.school-advisor__info p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

.school-advisor__info p:last-child {
  margin-bottom: 0;
}

.school-advisor__info span {
  color: var(--text-secondary);
}

.school-advisor__info a {
  color: var(--text-primary);
  text-decoration: none;
}

/* ── 院校详情 · 每日金句弹窗 ── */
body.quote-modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  pointer-events: none;
}

.quote-modal.quote-modal--open,
.quote-modal:not([hidden]) {
  display: flex;
  pointer-events: auto;
}

.quote-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.55);
}

.quote-modal__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
}

.quote-modal__card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 35, 50, 0.18);
}

.quote-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 12px;
}

.quote-modal__user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.quote-modal__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-subtle);
}

.quote-modal__greet {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.quote-modal__date {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.quote-modal__logo {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.quote-modal__study {
  position: relative;
  min-height: 148px;
  padding: 8px 16px 18px;
  overflow: hidden;
}

.quote-modal__study-label,
.quote-modal__class-label {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.quote-modal__class-label {
  margin-top: 10px;
}

.quote-modal__program {
  margin: 0;
  max-width: 68%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #2563eb;
}

.quote-modal__class {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.quote-modal__watermark {
  position: absolute;
  right: -8px;
  top: 28px;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: rgba(26, 35, 50, 0.05);
  pointer-events: none;
  user-select: none;
}

.quote-modal__graduate {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 150px;
  height: 132px;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to left, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 72%, transparent 100%);
  pointer-events: none;
}

.quote-modal__quote-box {
  position: relative;
  margin: 0 12px 14px;
  padding: 22px 18px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(26, 35, 50, 0.08);
}

.quote-modal__quote-mark {
  position: absolute;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #e05252;
  font-family: Georgia, "Times New Roman", serif;
}

.quote-modal__quote-mark--open {
  top: 8px;
  left: 12px;
}

.quote-modal__quote-mark--close {
  right: 12px;
  bottom: 28px;
}

.quote-modal__quote-text {
  margin: 0;
  padding: 8px 10px 12px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-primary);
}

.quote-modal__quote-foot {
  margin: 0;
  font-size: 12px;
  color: #b8956a;
}

.quote-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 18px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.live-intro-figure {
  margin: 0 0 14px;
}

.live-intro-figure img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.live-intro-figure figcaption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.live-booking {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.live-booking__time {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.live-booking__time > i {
  font-size: 24px;
  color: var(--accent);
  margin-top: 4px;
}

.live-booking__time strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.live-booking__time span {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-primary-block--done {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

/* ── 直播间（全屏） ── */
.live-room-body {
  margin: 0;
  background: #000;
  overflow: hidden;
}

.live-room {
  position: relative;
  width: 100%;
  max-width: 414px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
}

.live-room__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-room__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.live-room__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  z-index: 10;
}

.live-room__host {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 24px;
  padding: 4px 12px 4px 4px;
}

.live-room__host-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.live-room__host-name {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.live-room__top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-room__audience {
  display: flex;
}

.live-room__audience img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: -8px;
}

.live-room__audience img:first-child {
  margin-left: 0;
}

.live-room__count {
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

.live-room__exit {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}

.live-room__duration {
  position: absolute;
  top: calc(52px + env(safe-area-inset-top, 0px));
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 10;
}

.live-room__duration .fa-signal {
  color: #4ADE80;
  font-size: 10px;
}

.live-room__danmaku {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.room-danmaku-fly {
  position: absolute;
  left: 100%;
  display: inline-flex;
  align-items: center;
  max-width: 85%;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  will-change: transform;
  animation: room-danmaku-fly var(--dm-duration, 8s) linear forwards;
}

@keyframes room-danmaku-fly {
  from { transform: translateX(0); }
  to { transform: translateX(var(--dm-distance, -120vw)); }
}

.live-room__messages {
  position: absolute;
  left: 12px;
  right: 80px;
  bottom: calc(130px + env(safe-area-inset-bottom, 0px));
  max-height: 200px;
  overflow-y: auto;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 6px;
  mask-image: linear-gradient(transparent, #000 15%);
  -webkit-mask-image: linear-gradient(transparent, #000 15%);
}

.live-room__messages::-webkit-scrollbar {
  display: none;
}

.room-msg {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  font-size: 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.room-msg__user {
  color: #93C5FD;
  font-weight: 500;
}

.room-msg__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: #3B82F6;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}

.room-msg__tag--qa {
  background: #16A34A;
}

.room-msg__prefix {
  font-size: 11px;
  font-weight: 600;
  margin-right: 2px;
}

.room-msg__prefix--danmaku {
  color: #FDE68A;
}

.room-msg__prefix--qa {
  color: #86EFAC;
}

.room-msg--gift {
  color: #FDE68A;
}

.live-room__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-room__input-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.live-room__input-bar {
  display: flex;
  align-items: center;
  min-height: 44px;
  background: rgba(40, 40, 40, 0.85);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.live-room__input-bar input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  min-width: 0;
}

.live-room__input-bar input::placeholder {
  color: rgba(255,255,255,0.45);
}

.live-room__mode {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  padding: 11px 14px 11px 10px;
  border-left: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-room__mode .fa-circle-check {
  color: #4ADE80;
  font-size: 14px;
}

.live-room__mode-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(40, 40, 40, 0.95);
  border-radius: 12px;
  padding: 6px;
  min-width: 120px;
  backdrop-filter: blur(12px);
}

.live-room__mode-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: none;
  background: none;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
}

.live-room__mode-opt.active {
  color: #fff;
}

.live-room__mode-opt .fa-circle-check {
  color: #4ADE80;
}

.live-room__mode-opt .fa-regular.fa-circle {
  color: rgba(255,255,255,0.35);
}

.live-room__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 44px;
}

.live-room__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: none;
  background: none;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  padding: 0;
  min-width: 38px;
  height: 44px;
}

.live-room__action i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.live-room__action span {
  white-space: nowrap;
}

.toast-tip--room {
  bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
}

.live-more-sheet {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.live-more-sheet[hidden] {
  display: none;
}

.live-more-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.live-more-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 414px;
  background: #141414;
  border-radius: 16px 16px 0 0;
  padding: 18px 12px calc(22px + env(safe-area-inset-bottom, 0));
  transform: translateY(100%);
  transition: transform 0.28s ease;
}

.live-more-sheet--open .live-more-sheet__backdrop {
  opacity: 1;
}

.live-more-sheet--open .live-more-sheet__panel {
  transform: translateY(0);
}

.live-more-sheet__title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.live-more-sheet__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 6px;
}

.live-more-sheet__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  color: #fff;
  cursor: pointer;
}

.live-more-sheet__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.live-more-sheet__icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.live-more-sheet__label {
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

/* ══════════════════════════════════════
   活动列表 / 详情 / 报名
   ══════════════════════════════════════ */

.event-view-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 3px;
}

.event-view-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 14px;
}

.event-view-btn.active {
  background: var(--bg);
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.event-filters {
  background: var(--bg);
  padding-bottom: 8px;
}

.event-status-tabs {
  display: flex;
  padding: 0 var(--page-x);
  border-bottom: 1px solid var(--border);
}

.event-status-tab,
a.event-status-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 8px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
}

a.event-status-tab {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.event-status-tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.event-status-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--accent);
}

.event-filter-row {
  display: flex;
  gap: 8px;
  padding: 10px var(--page-x) 0;
}

.event-filter-select {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg);
}

.event-view-panel {
  display: none;
}

.event-view-panel.active {
  display: block;
}

/* 列表时间轴 */
.event-timeline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-timeline-group {
  margin-bottom: 8px;
}

.event-timeline-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 0 10px;
}

.event-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.event-timeline-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
}

.event-timeline-card__cover {
  flex: 0 0 100px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.event-timeline-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-timeline-card__body {
  flex: 1;
  min-width: 0;
}

.event-timeline-card__type {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.event-timeline-card__body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-timeline-card__body p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.event-timeline-card__spots {
  margin-top: 4px !important;
  color: var(--text-secondary) !important;
}

.event-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.event-badge--free {
  background: #EAFBF1;
  color: #16A34A;
}

.event-badge--paid {
  background: rgba(26,35,50,0.72);
  color: #fff;
}

.event-badge--full {
  background: #FEE2E2;
  color: #DC2626;
}

.event-badge--ended {
  background: rgba(255,255,255,0.9);
  color: var(--text-muted);
}

/* 我的活动 */
.my-event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-event-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.my-event-card__link {
  display: flex;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}

.my-event-card__cover {
  position: relative;
  flex: 0 0 96px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.my-event-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-event-card__badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.my-event-card__badge--active {
  background: rgba(124, 58, 237, 0.92);
  color: #fff;
}

.my-event-card__badge--ended {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-muted);
}

.my-event-card__body {
  flex: 1;
  min-width: 0;
}

.my-event-card__type {
  display: inline-block;
  font-size: 11px;
  color: #7C3AED;
  background: #F3EEFF;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.my-event-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
}

.my-event-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
  line-height: 1.4;
}

.my-event-card__meta i {
  width: 14px;
  text-align: center;
  margin-right: 2px;
}

.my-event-card__reg {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 6px 0 0;
}

.my-event-card__foot {
  padding: 0 14px 14px;
  display: flex;
  justify-content: flex-end;
}

.my-event-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

/* 日历视图 */
.event-calendar-wrap {
  padding: 12px var(--page-x) 16px;
}

.event-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.event-calendar-head strong {
  font-size: 16px;
}

.event-cal-nav {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
}

.event-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.event-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.event-cal-cell {
  aspect-ratio: 1;
  border: none;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  position: relative;
}

.event-cal-cell--empty {
  background: transparent;
}

.event-cal-cell--today .event-cal-day {
  color: var(--accent);
  font-weight: 700;
}

.event-cal-cell--selected {
  background: var(--accent-soft);
}

.event-cal-cell--has .event-cal-day {
  font-weight: 600;
}

.event-cal-day {
  font-size: 14px;
  color: var(--text-primary);
}

.event-cal-mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.event-cal-mark--num {
  width: auto;
  height: auto;
  min-width: 14px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  padding: 0 4px;
  line-height: 14px;
}

.event-day-panel {
  margin-top: 16px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.event-day-panel__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

.event-day-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  padding: 16px;
}

.event-day-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.event-day-item:last-child {
  border-bottom: none;
}

.event-day-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.event-day-item div {
  flex: 1;
  min-width: 0;
}

.event-day-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.event-day-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.event-day-item > i {
  color: var(--text-muted);
  font-size: 12px;
}

/* 活动详情 */
.event-detail-hero {
  position: relative;
  height: 220px;
  background: #000;
  z-index: 1;
}

.event-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
}

.event-detail-hero__type {
  position: absolute;
  bottom: 26px;
  left: var(--page-x);
  z-index: 3;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

.event-detail-summary {
  margin: -16px var(--page-x) var(--section-gap);
  padding: 18px 14px;
  position: relative;
  z-index: 2;
}

.event-detail-summary__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.45;
}

.event-detail-meta__item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.event-detail-meta__item > i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 2px;
}

.event-detail-meta__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.event-detail-meta__item span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.event-detail-status {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.event-detail-status__fee,
.event-detail-status__spots {
  flex: 1;
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.event-fee {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.event-fee--free {
  color: #16A34A;
}

.event-fee-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.event-spots {
  font-size: 14px;
  color: var(--text-secondary);
}

.event-spots strong {
  color: var(--accent);
  font-size: 18px;
}

.event-spots--full {
  color: #DC2626;
  font-weight: 600;
}

.event-spots--ended {
  color: var(--text-muted);
}

.event-detail-section {
  margin: 0 var(--page-x) var(--section-gap);
  padding: 16px 14px;
}

.event-detail-section h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

.event-teachers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-teacher-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.event-teacher-item img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.event-teacher-item__body {
  flex: 1;
  min-width: 0;
}

.event-teacher-item__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.event-teacher-item strong {
  font-size: 14px;
}

.event-teacher-item__role {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.event-teacher-item__title {
  display: block;
  font-size: 12px;
  color: var(--accent);
}

.event-teacher-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 6px 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-teacher-item__arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.event-teacher-item span:not(.event-teacher-item__role):not(.event-teacher-item__title) {
  font-size: 12px;
  color: var(--accent);
}

.event-detail-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 12px;
}

.event-detail-intro h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 8px;
}

.event-detail-intro ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.event-schedule-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.event-schedule-row:last-child {
  border-bottom: none;
}

.event-schedule-time {
  flex: 0 0 110px;
  color: var(--accent);
  font-weight: 500;
  font-size: 13px;
}

.event-notes {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.detail-bar__cta--disabled {
  background: var(--bg-subtle) !important;
  color: var(--text-muted) !important;
}

/* 报名页 */
.event-register-body {
  padding: 10px var(--page-x) 80px;
}

.event-register-card {
  padding: 16px 14px;
  margin-bottom: var(--section-gap);
}

.event-register-card h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.event-register-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
}

.event-register-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.event-register-form label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.event-register-form label span {
  color: var(--live);
}

.event-register-form input,
.event-register-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  color: var(--text-primary);
  background: var(--bg);
}

.event-pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
}

.event-pay-opt.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.event-pay-opt input {
  display: none;
}

.event-pay-opt .fa-weixin {
  color: #07C160;
  font-size: 22px;
}

.event-pay-opt .fa-alipay {
  color: #1677FF;
  font-size: 22px;
}

.event-register-total {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 4px;
}

.event-register-total strong {
  color: var(--accent);
  font-size: 18px;
}

.detail-bar:has(.event-register-total) {
  gap: 12px;
}

.detail-bar:has(.event-register-total) .detail-bar__cta {
  flex: 1;
}

/* 报名凭证 */
.event-voucher__card {
  text-align: center;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.event-voucher__qr {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
}

.event-voucher__code {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.event-voucher__card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

.event-voucher__card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.event-voucher__time {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-top: 8px !important;
}

.event-cancel-btn {
  width: 100%;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  padding: 12px;
  margin-top: 8px;
}

/* ========== 商城 ========== */
.mall-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mall-cart-btn {
  position: relative;
}

.mall-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
}

.mall-cart-badge--light {
  background: #fff;
  color: var(--accent);
}

.mall-promo {
  margin: 10px var(--page-x) 0;
  padding: 0;
  overflow: hidden;
}

.mall-promo__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}

.mall-promo__link i:first-child {
  font-size: 18px;
}

.mall-promo__link span {
  flex: 1;
  font-weight: 500;
}

.mall-promo__link .fa-chevron-right {
  font-size: 12px;
  opacity: 0.6;
}

.mall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mall-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mall-card__cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.mall-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mall-card__discount {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
}

.mall-card__soldout {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}

.mall-card__body {
  padding: 10px;
}

.mall-card__cat {
  font-size: 11px;
  color: var(--text-muted);
}

.mall-card__body h3 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mall-card__foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mall-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.mall-card__price del {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

.mall-card__sales {
  font-size: 11px;
  color: var(--text-muted);
}

/* 商品详情 */
.product-hero {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-subtle);
  overflow: hidden;
}

.product-gallery {
  position: absolute;
  inset: 0;
}

.product-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}

.product-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
}

.product-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 2px 8px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  z-index: 2;
}

.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-discount-tag {
  flex-shrink: 0;
  margin-top: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
}

.product-summary__title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-summary__title {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.product-summary {
  margin-top: -12px;
  padding: 18px 14px;
  position: relative;
  z-index: 1;
}

.product-summary__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-summary__price-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.product-summary__price-left del {
  font-size: 14px;
  color: var(--text-muted);
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.product-summary__meta {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.product-stock {
  margin-top: 12px;
  font-size: 13px;
}

.product-stock__ok {
  color: var(--text-secondary);
}

.product-stock__out {
  color: var(--live);
}

.product-coupon-entry {
  padding: 0;
  overflow: hidden;
}

.product-coupon-entry__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}

.product-coupon-entry__link i:first-child {
  font-size: 18px;
}

.product-coupon-entry__link span {
  flex: 1;
  font-weight: 500;
}

.product-coupon-entry__link .fa-chevron-right {
  font-size: 12px;
  opacity: 0.6;
}

.product-specs {
  padding: 16px 14px;
}

.product-specs__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.product-specs__picked {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.product-specs__picked strong {
  color: var(--text-primary);
  font-weight: 500;
}

.product-specs__picked .product-stock {
  margin-top: 0;
  font-size: 13px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-option {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
}

.spec-option.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 500;
}

.spec-option--disabled,
.spec-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-intro p,
.product-intro li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.product-intro ul {
  padding-left: 18px;
  margin: 8px 0 0;
}

.product-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.product-review__head span {
  font-size: 13px;
  font-weight: 500;
}

.product-review p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

.product-review-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 0;
  margin: 0;
}

.product-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 100;
}

.product-bar__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  font-size: 10px;
  color: var(--text-secondary);
  text-decoration: none;
}

.product-bar__icon i {
  font-size: 18px;
}

.product-bar__icon--cart .mall-cart-badge {
  top: -8px;
  right: 4px;
}

.product-bar__btn {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.product-bar__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-bar__btn--cart {
  color: var(--accent);
  background: var(--accent-soft);
}

.product-bar__btn--buy {
  color: #fff;
  background: var(--accent);
}

/* 购物车 */
.cart-body {
  padding: 10px var(--page-x) 100px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  margin-bottom: var(--section-gap);
  background: #fff;
  border-radius: var(--radius-lg);
}

.cart-item__check {
  padding-top: 28px;
}

.cart-item__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.cart-item > img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__body {
  flex: 1;
  min-width: 0;
}

.cart-item__body h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__cat {
  font-size: 12px;
  color: var(--text-muted);
}

.cart-item__spec {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item__price {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-subtle);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.qty-control span {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
}

.cart-item__del {
  border: none;
  background: none;
  color: var(--text-muted);
  padding: 4px;
  font-size: 14px;
  cursor: pointer;
}

.cart-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 100;
}

.cart-bar__check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.cart-bar__check input {
  accent-color: var(--accent);
}

.cart-bar__total {
  flex: 1;
  font-size: 14px;
  text-align: right;
}

.cart-bar__total strong {
  color: var(--accent);
  font-size: 18px;
}

.cart-bar .detail-bar__cta {
  flex-shrink: 0;
  min-width: 110px;
  height: 44px;
  padding: 0 20px;
  line-height: 44px;
  border-radius: 22px;
}

/* 确认订单 / 订单详情 */
.order-confirm-body,
.order-detail-body {
  padding: 10px var(--page-x) 100px;
}

.app-content--order-confirm .order-confirm-body {
  padding-bottom: 168px;
}

.order-items__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

.order-item-row__cover-empty {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.order-pay__empty {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.order-confirm-notice {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  bottom: calc(64px + var(--safe-bottom));
  z-index: 19;
  padding: 8px 16px 10px;
  background: #fff7ed;
  border-top: 1px solid #ffedd5;
  font-size: 12px;
  line-height: 1.65;
  color: #9a3412;
  box-sizing: border-box;
}

.order-confirm-notice div + div {
  margin-top: 2px;
}

.order-address {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  margin-bottom: var(--section-gap);
}

.order-address > .fa-location-dot {
  font-size: 20px;
  color: var(--accent);
}

.order-address strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.order-address p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.order-address > .fa-chevron-right {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
}

.order-items {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-items h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-row img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.order-item-row > div {
  flex: 1;
  min-width: 0;
}

.order-item-row h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.35;
}

.order-item-row span {
  font-size: 12px;
  color: var(--text-muted);
}

.order-item-row > strong {
  font-size: 14px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.order-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  margin-bottom: var(--section-gap);
  font-size: 14px;
}

.order-coupon__pick {
  border: none;
  background: none;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
}

.order-summary {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
}

.order-summary__row--discount span:last-child {
  color: var(--accent);
}

.order-summary__row--total {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-primary);
}

.order-summary__row--total strong {
  font-size: 18px;
  color: var(--accent);
}

.order-pay {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-pay h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

.detail-bar__cta--pay {
  flex-shrink: 0;
  min-width: 120px;
  height: 44px;
  padding: 0 24px;
  line-height: 44px;
  border-radius: 22px;
}

.detail-bar__cta--block {
  flex: 1;
  width: 100%;
}

.detail-bar--shipped {
  gap: 8px;
}

.detail-bar__btn-outline {
  flex: 1;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.detail-bar--shipped .detail-bar__cta--pay {
  flex: 1.2;
  min-width: 0;
}

.confirm-modal__panel--form {
  text-align: left;
  max-height: 85vh;
  overflow-y: auto;
}

.confirm-modal__panel--form .confirm-modal__msg {
  text-align: left;
  margin-bottom: 14px;
}

.confirm-modal__panel--form .confirm-modal__actions {
  margin-top: 18px;
}

.reject-modal__input {
  width: 100%;
  margin: 0;
}

.aftersale-upload-wrap {
  margin-bottom: 18px;
}

.aftersale-upload__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.aftersale-upload__label span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.aftersale-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aftersale-image {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.aftersale-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aftersale-image__del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

.aftersale-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72px;
  height: 72px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
}

.aftersale-upload i {
  font-size: 18px;
}

.order-aftersale__images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.order-aftersale__images img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.aftersale-types {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.aftersale-type {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
}

.aftersale-type input {
  display: none;
}

.aftersale-type.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 500;
}

.aftersale-reasons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.aftersale-reason {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
}

.aftersale-reason input {
  accent-color: var(--accent);
}

.aftersale-note {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  resize: none;
  margin-bottom: 18px;
}

.order-aftersale h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
}

.order-aftersale h3 i {
  margin-right: 6px;
  color: var(--accent);
}

.order-aftersale p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 6px;
}

.order-aftersale__status {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
}

.order-card__status--shipped { color: #2563eb; }

.order-logistics__time {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.order-card__aftersale {
  font-size: 13px;
  color: var(--accent);
}

.aftersale-apply-body {
  padding: 10px var(--page-x) 100px;
}

.aftersale-form {
  padding: 16px 14px;
}

.aftersale-form h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

.aftersale-form h3:not(:first-child) {
  margin-top: 18px;
}

.aftersale-form__tip {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.55;
}

.aftersale-form .aftersale-note {
  margin-bottom: 0;
}

.aftersale-form .aftersale-upload-wrap {
  margin-bottom: 0;
}

.aftersale-form .aftersale-upload__label {
  margin-bottom: 10px;
}

/* 优惠券 */
.coupon-pick-list {
  padding: 0 16px 16px;
  max-height: 50vh;
  overflow-y: auto;
}

.coupon-pick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.coupon-pick-item.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.coupon-pick-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.coupon-pick-item__amount {
  min-width: 56px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

.coupon-pick-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.coupon-pick-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.coupon-pick-item em {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted);
}

.coupon-page-body {
  padding: 10px var(--page-x) 24px;
}

.coupon-card {
  display: flex;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.coupon-card__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 16px 12px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
}

.coupon-card__left strong {
  font-size: 24px;
  font-weight: 700;
}

.coupon-card__left span {
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.9;
}

.coupon-card__right {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coupon-card__right h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.coupon-card__right p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.coupon-card__btn {
  align-self: flex-start;
  padding: 6px 16px;
  border: none;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.coupon-card__btn--done,
.coupon-card__btn:disabled {
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: default;
}

/* 订单列表 */
.order-status-tabs {
  display: flex;
  gap: 0;
  padding: 0 var(--page-x);
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order-status-tab,
a.order-status-tab {
  flex-shrink: 0;
  padding: 12px 14px;
  border: none;
  background: none;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
}

a.order-status-tab {
  display: inline-block;
  text-decoration: none;
  box-sizing: border-box;
}

.order-status-tab.active {
  color: var(--accent);
  font-weight: 600;
}

.order-status-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.order-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.order-card__status {
  font-weight: 600;
}

.order-card__status--pending,
.order-card__status--unpaid { color: var(--live); }
.order-card__status--paid,
.order-card__status--toship { color: var(--accent); }
.order-card__status--completed,
.order-card__status--toreview { color: #16a34a; }
.order-card__status--aftersale { color: #7c3aed; }
.order-card__status--cancelled,
.order-card__status--refunded { color: var(--text-muted); }

.order-card__time {
  color: var(--text-muted);
}

.order-card__body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
}

.order-card__body img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.order-card__body > div {
  flex: 1;
  min-width: 0;
}

.order-card__body h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.35;
}

.order-card__body span {
  font-size: 12px;
  color: var(--text-muted);
}

.order-card__body > strong {
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.order-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px 12px;
}

.order-card__btn,
a.order-card__btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  line-height: 1.4;
}

.order-card__btn--primary {
  border-color: var(--accent);
  color: var(--accent);
}

/* 订单详情状态 */
.order-detail-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  margin-bottom: var(--section-gap);
}

.order-detail-status > i {
  font-size: 32px;
  color: var(--accent);
}

.order-detail-status strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.order-detail-status span {
  font-size: 13px;
  color: var(--text-secondary);
}

.order-logistics {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-logistics h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
}

.order-logistics h3 i {
  margin-right: 6px;
  color: var(--accent);
}

.order-logistics p {
  font-size: 14px;
  margin: 0 0 6px;
}

.order-logistics__status {
  font-size: 13px;
  color: var(--accent);
}

.order-info {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
}

.order-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 6px;
}

/* 收货地址 */
a.order-address {
  text-decoration: none;
  color: inherit;
}

.order-address--empty strong {
  color: var(--accent);
}

.order-address--empty p {
  color: var(--text-muted);
}

.address-list-body,
.address-edit-body {
  padding: 10px var(--page-x) 100px;
}

.address-card {
  padding: 14px;
  margin-bottom: var(--section-gap);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.address-card--selected {
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.address-card__pick {
  flex-shrink: 0;
  padding-top: 2px;
  color: var(--text-muted);
  font-size: 18px;
}

.address-card--selected .address-card__pick {
  color: var(--accent);
}

.address-card__main {
  flex: 1;
  min-width: 0;
}

.address-card__main--pickable {
  cursor: pointer;
}

.address-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.address-card__head strong {
  font-size: 15px;
}

.address-card__head span {
  font-size: 14px;
  color: var(--text-secondary);
}

.address-card__tag {
  font-style: normal;
  font-size: 11px;
  color: var(--accent);
  background: rgba(234, 88, 12, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.address-card__detail {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.address-card__actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.address-card__btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.address-card__btn--danger {
  color: var(--live);
}

.address-paste-card {
  padding: 14px;
}

.address-paste-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.address-paste-card__head > i {
  color: var(--accent);
  font-size: 13px;
}

.address-paste-card__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed rgba(234, 88, 12, 0.35);
  border-radius: var(--radius);
  background: rgba(234, 88, 12, 0.04);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  resize: none;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.address-paste-card__input::placeholder {
  color: var(--text-muted);
}

.address-paste-card__input:focus {
  border-color: rgba(234, 88, 12, 0.55);
  background: var(--bg);
}

.address-paste-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.address-paste-card__btn {
  flex: 1;
  min-height: 36px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.address-paste-card__btn--ghost {
  flex: 0 0 auto;
  padding: 0 16px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.address-edit-card {
  padding: 16px 14px;
}

.address-default-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-size: 14px !important;
  color: var(--text-primary) !important;
}

.address-default-check input {
  width: auto !important;
  margin: 0 !important;
}

.detail-bar--address {
  padding: 10px var(--page-x);
}

.detail-bar__cta--full {
  flex: 1;
  width: 100%;
  min-height: 44px;
}

.detail-bar--review {
  gap: 10px;
}

.detail-bar--review .detail-bar__btn-outline {
  flex: 0.9;
  min-height: 44px;
}

.detail-bar--review .detail-bar__cta--pay {
  flex: 1.4;
  min-height: 44px;
}

.order-review-item {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-review-item__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.4;
}

.order-review-item__score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.order-review-item__score > span {
  font-size: 13px;
  color: var(--text-secondary);
}

.order-review-stars {
  display: flex;
  gap: 4px;
}

.order-review-star {
  border: none;
  background: none;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: #E5E7EB;
  cursor: pointer;
}

.order-review-star.active {
  color: #F59E0B;
}

.order-review-score-label {
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
}

.order-review-text {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg);
  resize: vertical;
  min-height: 84px;
  margin-bottom: 0;
}

.order-review-upload {
  margin-top: 12px;
  margin-bottom: 0;
}

.order-review-upload .aftersale-upload__label {
  margin-bottom: 8px;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.review-images__item {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-subtle);
}

.order-review-done__item .review-images {
  margin-top: 8px;
}

.product-review .review-images {
  margin-top: 8px;
}

.order-review-done {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.order-review-done h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-review-done h3 i {
  color: #F59E0B;
}

.order-review-done__item {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.order-review-done__item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.order-review-done__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.order-review-done__head strong {
  font-size: 14px;
}

.order-review-done__spec {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.order-review-done__item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.order-review-done__time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.product-review__spec {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin: -2px 0 6px;
}

.address-region-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  color: var(--text-primary);
  background: var(--bg);
  cursor: pointer;
  text-align: left;
}

.address-region-pick--empty .address-region-pick__text {
  color: var(--text-muted);
}

.address-region-pick > .fa-chevron-right {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 8px;
}

.region-picker-panel {
  padding-bottom: 0;
}

.region-picker {
  display: flex;
  height: 280px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.region-picker__col {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-right: 1px solid var(--border);
}

.region-picker__col:last-child {
  border-right: none;
}

.region-picker__item {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 12px 10px;
  font-size: 14px;
  text-align: left;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.3;
}

.region-picker__item.active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(234, 88, 12, 0.06);
}

.region-picker__foot {
  padding: 12px var(--page-x) calc(12px + env(safe-area-inset-bottom, 0));
}

/* ── 个人中心 ── */
.app-content--profile {
  position: relative;
  padding-bottom: calc(var(--tabbar-height) + var(--safe-bottom));
  background: var(--bg-subtle);
}

.app-content--profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(14px + env(safe-area-inset-top, 0) + 76px + 10px + 47px);
  background: linear-gradient(
    180deg,
    #FFF7ED 0%,
    #FFF4EB 55%,
    rgba(255, 244, 235, 0.35) 82%,
    rgba(255, 247, 237, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.app-content--profile > * {
  position: relative;
  z-index: 1;
}

.profile-header {
  padding: calc(14px + env(safe-area-inset-top, 0)) var(--page-x) 20px;
  background: transparent;
  color: var(--text-primary);
}

.profile-header__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-header__user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.profile-header__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  /* border: 2px solid var(--accent); */
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
}

.profile-header__info {
  flex: 1;
  min-width: 0;
}

.profile-header__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--text-primary);
}

.profile-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-header__promoter {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(234, 88, 12, 0.25);
}

.profile-header__promoter--plus {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.3);
}

.profile-header__phone {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.profile-header__actions {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
  padding-top: 2px;
}

.profile-header__action,
button.profile-header__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 36px;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
}

button.profile-header__action {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.profile-header__action i {
  font-size: 22px;
  line-height: 1;
  color: #334155;
}

.profile-header__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.profile-header__action span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  line-height: 1.2;
}

.profile-header__badge {
  position: absolute;
  top: -2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--live);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.profile-badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.profile-badge--distributor {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.profile-badge--plus {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.3);
}

.promo-apply__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.profile-sections {
  margin-top: -8px;
  position: relative;
  z-index: 1;
  background: transparent;
}


.profile-block {
  padding: 16px 14px;
}

.profile-block--last {
  margin-bottom: 0;
}

.profile-block__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

.profile-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  gap: 16px 0;
}

.profile-menu-grid .menu-item {
  gap: 6px;
  padding: 6px 4px;
}

.profile-menu-grid .menu-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
}

.profile-menu-grid .menu-item__hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-top: -4px;
}

.menu-item__icon--report {
  background: #EFF6FF;
  color: #2563EB;
}

.menu-item__icon--assessment {
  background: #FFF4EB;
  color: #EA580C;
}

.profile-orders .profile-block__title {
  margin-bottom: 0;
}

.profile-orders__head {
  margin-bottom: 14px;
}

.profile-order-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-order-block__head .profile-block__title {
  margin-bottom: 0;
}

.profile-order-block__all {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.profile-order-block__all i {
  font-size: 11px;
}

.profile-order-block--course .profile-block__title {
  margin-bottom: 4px;
}

.profile-order-subs {
  display: flex;
  flex-direction: column;
}

.profile-order-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--border);
}

.profile-order-sub:first-child {
  border-top: none;
  padding-top: 8px;
}

.profile-order-sub:last-child {
  padding-bottom: 0;
}

.profile-order-sub--course .profile-order-card__icon {
  background: rgba(22, 163, 74, 0.12);
  color: #16A34A;
}

.profile-order-sub--school .profile-order-card__icon {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
}

.profile-order-block .profile-order-card__statuses {
  padding: 0;
  margin: 0;
}

.profile-order-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-order-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.profile-order-card--course {
  border-color: rgba(22, 163, 74, 0.15);
  background: linear-gradient(180deg, #F8FDF9 0%, var(--bg) 48px);
}

.profile-order-card--event {
  border-color: rgba(124, 58, 237, 0.12);
  background: linear-gradient(180deg, #FAF7FF 0%, var(--bg) 48px);
}

.profile-order-card--mall {
  border-color: rgba(234, 152, 12, 0.15);
  background: linear-gradient(180deg, #FFFBF2 0%, var(--bg) 48px);
}

.profile-order-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
}

.profile-order-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.profile-order-card--course .profile-order-card__icon {
  background: rgba(22, 163, 74, 0.12);
  color: #16A34A;
}

.profile-order-card--event .profile-order-card__icon {
  background: #F8F0FE;
  color: #AE79CF;
}

.profile-order-card--mall .profile-order-card__icon {
  background: rgba(234, 152, 12, 0.12);
  color: #EA980C;
}

.profile-order-card__info {
  flex: 1;
  min-width: 0;
}

.profile-order-card__info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.profile-order-card__info span {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-order-card__all {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.profile-order-card__all i {
  font-size: 11px;
}

.profile-order-card--simple .profile-order-card__head {
  padding-bottom: 14px;
}

/* 与其他订单区 5 列网格中第一个状态图标左边缘对齐 */
.profile-order-card--simple .profile-order-card__icon {
  margin-left: calc(10% - 24px);
}

.profile-order-card__statuses {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 0;
  padding: 4px 0 14px;
  border-top: none;
}

.profile-order-card__statuses--mall .profile-order-card__status {
  padding: 6px 2px;
}

.profile-order-card__statuses--mall .profile-order-card__status-label {
  font-size: 10px;
}

.profile-order-card__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--text-secondary);
}

.profile-order-card__status-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.profile-order-card__status-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-secondary);
  white-space: nowrap;
}

.profile-order-card--event .profile-order-card__status-icon,
.profile-order-block--event .profile-order-card__status-icon {
  background: #F8F0FE;
  color: #AE79CF;
}

.profile-order-card--mall .profile-order-card__status-icon,
.profile-order-block--mall .profile-order-card__status-icon {
  background: rgba(234, 152, 12, 0.1);
  color: #EA980C;
}

.profile-order-card__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--live);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid var(--bg);
}

.profile-link-list {
  display: flex;
  flex-direction: column;
}

.profile-link-list--plain .profile-link-row {
  padding-left: 0;
  padding-right: 0;
}

.profile-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--border);
}

.profile-link-row:first-child {
  border-top: none;
  padding-top: 0;
}

.profile-link-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.profile-link-row__icon--promo {
  background: #FFF4EB;
  color: var(--accent);
}

.profile-link-row__icon--share {
  background: #ECFDF8;
  color: #0D9488;
}

.profile-link-row__icon--commission {
  background: #FFF8E8;
  color: #EA980C;
}

.profile-link-row__label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.profile-link-row__extra {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.profile-link-row > .fa-chevron-right {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-link-row__icon--address {
  background: #EFF6FF;
  color: #2563EB;
}

.profile-link-row__icon--phone {
  background: #ECFDF5;
  color: #059669;
}

.profile-link-row__icon--password {
  background: #FFF7ED;
  color: var(--accent);
}

.profile-link-row__icon--cache {
  background: #F3F4F6;
  color: #6B7280;
}

.profile-link-row__icon--danger {
  background: #FEF2F2;
  color: #DC2626;
}

.settings-body {
  padding: 16px var(--page-x) 24px;
}

.settings-group {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.settings-group .profile-link-row {
  padding: 8px 0;
  border-top: none;
}

.settings-group .profile-link-row:first-child {
  padding-top: 0;
}

.settings-group .profile-link-row:last-child {
  padding-bottom: 0;
}

.settings-row-btn {
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.settings-row-btn--danger .profile-link-row__label {
  color: #DC2626;
}

.settings-cache-size {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.settings-phone-extra {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 2px;
}

.account-form__tip {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.form-sms-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.form-sms-row input {
  flex: 1;
  min-width: 0;
  margin-bottom: 0 !important;
}

.form-sms-row__btn {
  flex-shrink: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.form-sms-row__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.settings-logout {
  display: block;
  width: calc(100% - var(--page-x) * 2);
  margin: 24px var(--page-x) 0;
  padding: 14px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--border);
}

.settings-logout:active {
  opacity: 0.85;
}

.profile-edit-body {
  padding: 10px var(--page-x) 100px;
}

.profile-edit-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 14px;
  margin-bottom: var(--section-gap);
}

.profile-edit-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-edit-avatar__btn {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 16px;
  cursor: pointer;
}

.report-body,
.promo-body {
  padding: 10px var(--page-x) 20px;
}

.promo-body .section-card {
  margin-left: 0;
  margin-right: 0;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 14px;
  margin-bottom: var(--section-gap);
}

.report-summary__item {
  text-align: center;
}

.report-summary__item strong {
  display: block;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 4px;
}

.report-summary__item span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.report-summary__item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.report-summary__item--link span i {
  font-size: 9px;
  margin-left: 1px;
  opacity: 0.45;
  vertical-align: 0.5px;
}

.report-section {
  padding: 14px;
}

.report-section h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

a.report-course {
  text-decoration: none;
  color: inherit;
}

a.report-course:active {
  opacity: 0.72;
}

.report-course {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.report-course:first-of-type {
  border-top: none;
  padding-top: 0;
}

.report-course img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.report-course strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.report-course span {
  font-size: 12px;
  color: var(--text-muted);
}

.promo-hero {
  padding: 20px 14px;
  margin-bottom: var(--section-gap);
}

.promo-hero h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 8px;
}

.promo-hero p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
}

.promo-stats {
  padding: 16px 14px;
}

.promo-stats__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

.promo-stats__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.promo-stats__row strong {
  color: var(--text-primary);
  font-size: 15px;
}

.promo-apply {
  padding: 20px 14px;
  margin-bottom: var(--section-gap);
  text-align: center;
}

.promo-apply h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.promo-apply p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
}

.promo-apply__approved .promo-apply__badges,
.promo-apply__guest .promo-apply__badges,
.promo-apply__pending .promo-apply__badges {
  margin-bottom: 4px;
}

.promo-apply__approved .profile-badge {
  margin-bottom: 0;
}

.promo-apply__pending i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 10px;
}

.promo-apply__info {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.promo-apply__info p {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 8px;
  line-height: 1.5;
}

.promo-apply__info p:last-child {
  margin-bottom: 0;
}

.promo-apply__info span {
  flex-shrink: 0;
  width: 48px;
  color: var(--text-muted);
}

.promo-apply-form {
  padding-bottom: 8px;
}

.promo-apply-page__tip {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 8px 0 0;
}

.promo-apply-page__status {
  padding: 28px 14px;
  text-align: center;
}

.promo-apply-page__status i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 12px;
}

.promo-apply-page__status h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.promo-apply-page__status p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px;
}

.promo-apply-page__status .profile-badge {
  display: inline-block;
  margin-bottom: 10px;
}

.promo-apply-page__status .promo-apply__info {
  margin-bottom: 20px;
}

.promo-apply-page__status-icon--success {
  color: #16A34A !important;
}

.promo-apply-page__status-icon--danger {
  color: #DC2626 !important;
}

.promo-apply-page__reject-reason {
  color: #DC2626 !important;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.promo-apply-page__reject-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  background: #FEF2F2;
  border-radius: 8px;
  text-align: left;
}

.promo-apply-page__reject-banner > i {
  flex-shrink: 0;
  font-size: 20px;
  color: #DC2626;
  margin-top: 2px;
}

.promo-apply-page__reject-banner strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #DC2626;
  margin-bottom: 2px;
}

.promo-apply-page__reject-banner .promo-apply-page__reject-reason {
  background: none;
  padding: 0;
}

.promotion-apply-page .event-register-body {
  padding-bottom: calc(80px + 52px);
}

.promotion-apply-page .detail-bar:not([hidden]) {
  bottom: 52px;
}

.proto-status-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px var(--page-x) calc(8px + var(--safe-bottom));
  background: #1F2937;
  color: #F9FAFB;
  z-index: 220;
  font-size: 12px;
}

.proto-status-bar__label {
  flex-shrink: 0;
  color: #9CA3AF;
}

.proto-status-bar__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.proto-status-bar__opt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
}

.proto-status-bar__opt input {
  accent-color: var(--accent);
}

.promo-summary {
  margin-bottom: var(--section-gap);
}

.promo-section__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.promo-tools {
  padding: 16px 14px;
  margin-bottom: var(--section-gap);
}

.promo-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 8px;
  margin-top: 14px;
}

.promo-tools__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 4px 2px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  color: inherit;
}

.promo-tools__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.promo-tools__icon--apply {
  background: #FFF4EB;
  color: var(--accent);
}

.promo-tools__icon--poster {
  background: #EFF6FF;
  color: #2563EB;
}

.promo-tools__icon--link {
  background: #ECFDF8;
  color: #0D9488;
}

.promo-tools__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.promo-tools__hint {
  font-size: 10px;
  color: var(--text-muted);
  font-style: normal;
}

.promo-rank {
  padding: 16px 14px;
  margin-bottom: var(--section-gap);
}

.promo-rank__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.promo-rank__tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: 8px;
}

.promo-rank__tab {
  border: none;
  background: none;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}

.promo-rank__tab.active {
  background: var(--bg);
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.promo-rank-me {
  margin-bottom: 14px;
  padding: 14px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(234, 179, 8, 0.06) 100%);
}

.promo-rank-me__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.promo-rank-me__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.promo-rank-me__badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
}

.promo-rank-me__body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-rank-me__no {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.promo-rank-me__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent-soft);
}

.promo-rank-me__info {
  flex: 1;
  min-width: 0;
}

.promo-rank-me__info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.promo-rank-me__info p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.promo-rank-me__info em {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
}

.promo-rank__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.promo-rank__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.promo-rank__item:first-child {
  border-top: none;
  padding-top: 0;
}

.promo-rank__item--me {
  background: rgba(234, 88, 12, 0.04);
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 8px;
  border-top: none;
}

.promo-rank__no {
  width: 24px;
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.promo-rank__item--top1 .promo-rank__no::before { content: '🥇'; font-size: 18px; }
.promo-rank__item--top2 .promo-rank__no::before { content: '🥈'; font-size: 18px; }
.promo-rank__item--top3 .promo-rank__no::before { content: '🥉'; font-size: 18px; }

.promo-rank__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.promo-rank__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
}

.promo-rank__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.promo-poster-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}

.promo-poster-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.promo-poster-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.promo-poster-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
}

.promo-poster-card__save {
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.promo-link-box {
  padding-bottom: 8px;
}

.promo-link-box__tip {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 12px;
}

.promo-link-box__url {
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  word-break: break-all;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.commission-card {
  padding: 20px 14px;
  margin-bottom: var(--section-gap);
  text-align: center;
}

.commission-card > span {
  font-size: 13px;
  color: var(--text-muted);
}

.commission-card > strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin: 8px 0 16px;
  line-height: 1.1;
}

.commission-card__sub {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 18px;
}

.commission-card__sub em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.commission-card__sub b {
  font-size: 15px;
  color: var(--text-primary);
}

.commission-log__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.commission-log__item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.commission-log__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.commission-log__item span {
  font-size: 12px;
  color: var(--text-muted);
}

.commission-log__item em {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.commission-card__history {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.commission-card__history i {
  font-size: 10px;
}

/* 提现申请 */
.withdraw-balance-card {
  text-align: center;
  padding: 20px 14px;
}

.withdraw-balance-card span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.withdraw-balance-card strong {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.withdraw-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.withdraw-method-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  margin: 0;
}

.withdraw-method-tab input {
  display: none;
}

.withdraw-method-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.withdraw-method-tab .fa-weixin {
  color: #07C160;
  font-size: 24px;
}

.withdraw-method-tab .fa-credit-card {
  color: #2563EB;
  font-size: 22px;
}

.withdraw-fields[hidden] {
  display: none !important;
}

/* 提现记录 */
.withdraw-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.withdraw-card {
  padding: 14px;
}

.withdraw-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.withdraw-card__status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.withdraw-card__status--pending {
  background: #EFF6FF;
  color: #2563EB;
}

.withdraw-card__status--success {
  background: #ECFDF5;
  color: #059669;
}

.withdraw-card__status--rejected {
  background: #FEF2F2;
  color: #DC2626;
}

.withdraw-card__time {
  font-size: 12px;
  color: var(--text-muted);
}

.withdraw-card__body {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.withdraw-card__main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.withdraw-card__amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.withdraw-card__method {
  font-size: 13px;
  color: var(--text-secondary);
}

.withdraw-card__account {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.withdraw-card__extra {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.5;
}

.withdraw-card__extra--reject {
  color: #DC2626;
}

.withdraw-card__id {
  font-size: 11px;
  color: var(--text-muted);
  margin: 10px 0 0;
}

/* 讲师列表 */
.teacher-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.teacher-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}

.teacher-list-item__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent-soft);
}

.teacher-list-item__body {
  flex: 1;
  min-width: 0;
}

.teacher-list-item__name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.teacher-list-item__title {
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 6px;
  line-height: 1.4;
}

.teacher-list-item__bio {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teacher-list-item__arrow {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 24px;
  flex-shrink: 0;
}

/* 全能疗愈师列表 */
.healer-roster-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.healer-roster-item {
  padding: 14px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.healer-roster-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.healer-roster-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #EAFBF1;
}

.healer-roster-item__name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.healer-roster-item__arrow {
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
}

.healer-roster-item__stats {
  display: flex;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.healer-roster-item__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.healer-roster-item__stat + .healer-roster-item__stat {
  border-left: 1px solid var(--border);
}

.healer-roster-item__stat strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.healer-roster-item__stat span {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* 学员详情 */
.healer-detail-body {
  padding: 10px var(--page-x) 20px;
}

.healer-detail-hero {
  text-align: center;
  padding: 24px 16px 18px;
  margin-bottom: var(--section-gap);
}

.healer-detail-hero__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #16A34A;
  margin-bottom: 12px;
}

.healer-detail-hero__name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
}

.healer-detail-hero__meta {
  margin: 0 0 14px;
}

.healer-detail-hero__level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #16A34A;
  background: #EAFBF1;
  padding: 4px 10px;
  border-radius: 20px;
}

.healer-detail-info {
  text-align: left;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.healer-detail-info__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.healer-detail-info__row + .healer-detail-info__row {
  margin-top: 8px;
}

.healer-detail-info__row em {
  font-style: normal;
  color: var(--text-primary);
  font-weight: 500;
}

.healer-detail-stats {
  display: flex;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.healer-detail-stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.healer-detail-stats__item + .healer-detail-stats__item {
  border-left: 1px solid var(--border);
}

.healer-detail-stats__item strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.healer-detail-stats__item span {
  font-size: 11px;
  color: var(--text-muted);
}

.healer-detail-cases {
  padding: 14px;
}

.healer-detail-cases__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.healer-detail-cases__head .profile-block__title {
  margin: 0;
}

.healer-detail-cases__count {
  font-size: 12px;
  color: var(--text-muted);
}

.case-history-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-history-card__main {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-history-card__foot--action {
  margin-top: 0;
  padding: 10px 14px 12px;
}

.case-history-card__report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 16px;
  background: #EAFBF1;
  color: #16A34A;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.case-history-card__report-link--muted {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 500;
}

.case-history-card__arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
}

.case-history-card__supervision--done {
  color: #16A34A;
}

/* 个案详情 */
.app-content--case-detail {
  padding-bottom: 80px;
}

.case-detail-body {
  padding: 10px var(--page-x) 20px;
}

.case-detail-head {
  padding: 14px;
}

.case-detail-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.case-detail-head__healer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.case-detail-head__healer img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.case-detail-head__healer span {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.case-detail-head__healer i {
  color: var(--text-muted);
  font-size: 12px;
}

.case-detail-block {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.case-detail-block--warn {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}

.case-detail-block__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-detail-block__title i {
  color: #16A34A;
}

.case-detail-block__time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-detail-block__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.case-detail-block__hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-detail-block__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: #16A34A;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
}

.case-detail-block__link--outline {
  background: #fff;
  color: #16A34A;
  border: 1px solid #16A34A;
}

.case-detail-empty-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.case-detail-empty-tag {
  font-size: 13px;
  color: var(--text-muted);
}

.case-detail-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-detail-photos__item {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
}

.case-detail-result__badge {
  display: inline-block;
  margin-bottom: 8px;
}

.case-detail-result__points {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #16A34A;
}

.case-detail-result__reject {
  margin: 0;
  padding: 10px 12px;
  background: #FFF0F0;
  border-radius: 8px;
  font-size: 13px;
  color: #EF4444;
  line-height: 1.5;
}

/* 督导报告 */
.supervision-report-intro {
  padding: 14px;
  margin-bottom: var(--section-gap);
}

.supervision-report-intro__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.supervision-report-intro__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.supervision-report-intro__head strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.supervision-report-intro__head p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.supervision-report-intro__preview {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 讲师详情 */
.teacher-detail-body {
  padding: 10px var(--page-x) 20px;
}

.teacher-detail-hero {
  text-align: center;
  padding: 28px 20px 24px;
  margin-bottom: var(--section-gap);
}

.teacher-detail-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin-bottom: 14px;
}

.teacher-detail-hero__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.teacher-detail-hero__title {
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 12px;
  line-height: 1.5;
}

.teacher-detail-hero__bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  text-align: left;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.teacher-detail-intro {
  padding: 16px 14px;
}

.teacher-detail-intro__head {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.teacher-detail-intro__body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 12px;
}

.teacher-detail-intro__body p:last-child {
  margin-bottom: 0;
}

/* 官方客服 IM */
.app-content--chat {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-subtle);
  padding-bottom: 0;
}

.cs-header {
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.cs-header__info {
  flex: 1;
  min-width: 0;
}

.cs-header__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.cs-header__status {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cs-header__status i {
  font-size: 6px;
  color: #22C55E;
  vertical-align: middle;
  margin-right: 2px;
}

.cs-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px var(--page-x);
  -webkit-overflow-scrolling: touch;
}

.cs-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.cs-msg--user {
  flex-direction: row-reverse;
}

.cs-msg__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cs-msg__avatar--service {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
  color: #fff;
  font-size: 14px;
}

.cs-msg__bubble {
  max-width: 72%;
  padding: 10px 12px;
  border-radius: 14px;
  position: relative;
}

.cs-msg--service .cs-msg__bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.cs-msg--user .cs-msg__bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.cs-msg__text {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
}

.cs-msg__time {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  opacity: 0.65;
}

.cs-msg--image .cs-msg__bubble {
  padding: 4px;
  overflow: hidden;
}

.cs-msg--user.cs-msg--image .cs-msg__bubble {
  background: var(--bg);
  border: 1px solid var(--border);
}

.cs-msg__image {
  display: block;
  max-width: 180px;
  max-height: 240px;
  border-radius: 10px;
  object-fit: cover;
}

.cs-msg--image .cs-msg__time {
  padding: 0 8px 6px;
  margin-top: 4px;
}

.cs-composer {
  flex-shrink: 0;
  padding: 8px var(--page-x) calc(10px + var(--safe-bottom));
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cs-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cs-quick::-webkit-scrollbar {
  display: none;
}

.cs-quick__item {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.cs-composer__bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-composer__attach {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cs-composer__attach:active {
  opacity: 0.85;
}

.cs-composer__input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-subtle);
  color: var(--text-primary);
  min-width: 0;
}

.cs-composer__input:focus {
  outline: none;
  border-color: var(--accent);
}

.cs-composer__send {
  flex-shrink: 0;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
}

.cs-composer__send:active {
  opacity: 0.9;
}

/* 平台公告 */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.notice-bar__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.notice-bar__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 20px;
}

.notice-bar__track {
  display: flex;
  flex-direction: column;
  animation: notice-scroll 12s linear infinite;
}

.notice-bar__track--static {
  animation: none;
}

.notice-bar__track--dual {
  animation: notice-scroll-dual 8s linear infinite;
}

.notice-bar__item {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  flex-shrink: 0;
  height: 20px;
}

.notice-bar__item:hover {
  color: var(--accent);
}

.notice-bar__more {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
}

@keyframes notice-scroll {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-20px); }
  66%, 94% { transform: translateY(-40px); }
  100% { transform: translateY(-40px); }
}

@keyframes notice-scroll-dual {
  0%, 45% { transform: translateY(0); }
  50%, 95% { transform: translateY(-20px); }
  100% { transform: translateY(-20px); }
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.announcement-item {
  display: block;
  position: relative;
  padding: 14px 36px 14px 14px;
  text-decoration: none;
  color: inherit;
}

.announcement-item__pin {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.announcement-item__tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.announcement-item__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 6px;
}

.announcement-item__summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-item__time {
  font-size: 12px;
  color: var(--text-muted);
}

.announcement-item__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-muted);
}

.announcement-detail {
  padding: 10px var(--page-x) 20px;
}

.announcement-detail__head {
  padding: 18px 14px;
  margin-bottom: var(--section-gap);
}

.announcement-detail__tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.announcement-detail__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
}

.announcement-detail__time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.announcement-detail__body {
  padding: 16px 14px;
}

.announcement-detail__body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 14px;
}

.announcement-detail__body p:last-child {
  margin-bottom: 0;
}

/* 系统消息 */
.sys-msg-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.sys-msg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 32px 14px 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.sys-msg-item--unread {
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.04) 0%, var(--bg) 40%);
}

.sys-msg-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sys-msg-item__icon--order { background: #EFF6FF; color: #2563EB; }
.sys-msg-item__icon--course { background: #FFF7ED; color: var(--accent); }
.sys-msg-item__icon--live { background: #FEF2F2; color: var(--live); }
.sys-msg-item__icon--commission { background: #ECFDF5; color: #059669; }
.sys-msg-item__icon--account { background: #F3F4F6; color: #6B7280; }

.sys-msg-item__body {
  flex: 1;
  min-width: 0;
}

.sys-msg-item__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.sys-msg-item__tag {
  font-size: 11px;
  color: var(--text-muted);
}

.sys-msg-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  flex-shrink: 0;
}

.sys-msg-item__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 4px;
}

.sys-msg-item--unread .sys-msg-item__title {
  color: var(--text-primary);
}

.sys-msg-item__summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sys-msg-item__time {
  font-size: 12px;
  color: var(--text-muted);
}

.sys-msg-item__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-muted);
}

.sys-msg-detail {
  padding: 10px var(--page-x) 24px;
}

.sys-msg-detail__head {
  padding: 18px 14px;
  margin-bottom: var(--section-gap);
}

.sys-msg-detail__tag {
  display: inline-block;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.sys-msg-detail__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
}

.sys-msg-detail__time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.sys-msg-detail__body {
  padding: 16px 14px;
  margin-bottom: var(--section-gap);
}

.sys-msg-detail__body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 14px;
}

.sys-msg-detail__body p:last-child {
  margin-bottom: 0;
}

.sys-msg-detail__action {
  padding: 0 var(--page-x);
}

/* 推广任务列表 */
.promo-task-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.promo-task-card {
  padding: 0;
  overflow: hidden;
}

.promo-task-card__course {
  display: flex;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
}

.promo-task-card__cover {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.promo-task-card__course-info {
  flex: 1;
  min-width: 0;
}

.promo-task-card__label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.promo-task-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-task-card__body {
  padding: 12px 14px;
}

.promo-task-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

.promo-task-card__row:first-child {
  border-top: none;
  padding-top: 0;
}

.promo-task-card__row em {
  font-style: normal;
  color: var(--text-primary);
  font-size: 13px;
}

.promo-task-card__commission {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.promo-task-card__foot {
  padding: 0 14px 14px;
}

.promo-task-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
}

.promo-task-card__badge--active {
  background: #ECFDF5;
  color: #059669;
}

.promo-task-card__badge--upcoming {
  background: #EFF6FF;
  color: #2563EB;
}

.promo-task-card__badge--ended {
  background: #F3F4F6;
  color: #6B7280;
}

.promo-task-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.promo-task-empty i {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.35;
}

.promo-task-empty p {
  margin: 0;
  font-size: 14px;
}

.promo-tools__icon--tasks {
  background: #F0FDF4;
  color: #16A34A;
}

/* 推广海报页 */
.promo-poster-page {
  padding-bottom: 80px;
}

.promo-poster-page--image {
  padding: 0;
}

.app-wrapper--poster {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body:has(.app-wrapper--poster) {
  overflow: hidden;
}

.app-content--poster {
  height: 100%;
  min-height: 0;
  padding-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-content--poster .sub-header {
  flex-shrink: 0;
}

.app-content--poster .promo-body {
  padding: 0;
}

.app-content--poster .promo-poster-page--image {
  flex: 1;
  min-height: 0;
  padding-bottom: calc(64px + var(--safe-bottom));
  overflow: hidden;
}

.app-content--poster .promo-poster-page__image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
}

.app-content--poster .promo-poster-page__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-poster-page__tip {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.5;
}

.promo-poster-preview {
  padding: 24px 20px 28px;
  text-align: center;
  background: linear-gradient(180deg, #FFF7ED 0%, #fff 42%);
}

.promo-poster-preview__brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.promo-poster-preview__user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.promo-poster-preview__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.promo-poster-preview__user-text {
  text-align: left;
}

.promo-poster-preview__label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.promo-poster-preview__name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.promo-poster-preview__qr-wrap {
  display: inline-flex;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
  margin-bottom: 16px;
}

.promo-poster-preview__qr-wrap canvas {
  display: block;
  width: 180px;
  height: 180px;
}

.promo-poster-preview__hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.promo-poster-preview__link {
  font-size: 11px;
  color: var(--text-muted);
  word-break: break-all;
  margin: 0;
  line-height: 1.5;
}

/* 课程分享海报弹层 */
.modal-sheet--poster {
  align-items: center;
  padding: 24px var(--page-x);
  z-index: 320;
}

.modal-sheet--poster .modal-sheet__panel {
  border-radius: var(--radius-lg);
  max-height: 92vh;
}

.modal-sheet__panel--poster {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 0 0;
}

.modal-sheet__panel--poster .modal-sheet__head {
  flex-shrink: 0;
  padding: 0 var(--page-x);
  margin-bottom: 12px;
}

.modal-sheet__poster-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 var(--page-x);
  -webkit-overflow-scrolling: touch;
}

.modal-sheet__poster-footer {
  flex-shrink: 0;
  padding: 12px var(--page-x) calc(16px + var(--safe-bottom));
  background: var(--bg);
  box-shadow: 0 -4px 12px rgba(26, 35, 50, 0.06);
}

.course-share-poster {
  padding: 20px 18px 22px;
  text-align: center;
  background: linear-gradient(180deg, #FFF7ED 0%, #fff 38%);
  border-radius: var(--radius-md);
  margin-bottom: 0;
}

.course-share-poster__brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.course-share-poster__cover {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(26, 35, 50, 0.1);
}

.course-share-poster__cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.course-share-poster__main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}

.course-share-poster__info {
  flex: 1;
  min-width: 0;
}

.course-share-poster__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.45;
  text-align: left;
}

.course-share-poster__teacher {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
  text-align: left;
}

.course-share-poster__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0;
  text-align: left;
}

.course-share-poster__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.course-share-poster__original {
  font-size: 13px;
  color: var(--text-muted);
}

.course-share-poster__original[hidden] {
  display: none;
}

.course-share-poster__qr-wrap {
  display: inline-flex;
  flex-shrink: 0;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
  margin-bottom: 0;
}

.course-share-poster__qr-wrap canvas,
.course-share-poster__qr-img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.course-share-poster__qr-empty {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
}

.btn-primary-block.is-disabled,
.btn-primary-block:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.share-poster-canvas {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 750px;
  height: 980px;
  opacity: 0;
  pointer-events: none;
}

.share-poster-save {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--page-x);
  box-sizing: border-box;
}

.share-poster-save[hidden] {
  display: none;
}

.share-poster-save__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.55);
}

.share-poster-save__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px 16px;
  text-align: center;
}

.share-poster-save__tip {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.share-poster-save__box img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
}

.course-share-poster__link {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.course-share-poster__link-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.course-share-poster__link-tip {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

.course-share-poster__link-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.course-share-poster__link-url {
  flex: 1;
  min-width: 0;
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  word-break: break-all;
  color: var(--text-primary);
  line-height: 1.5;
}

.course-share-poster__link-copy {
  flex-shrink: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.course-share-poster__rules {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  margin-bottom: 12px;
  text-align: left;
}

.course-share-poster__rules-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.course-share-poster__rules-list {
  margin: 0;
  padding-left: 16px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.course-share-poster__rules-list li + li {
  margin-top: 4px;
}

.course-share-poster__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── 登录 / 注册 ── */
.app-content--auth {
  min-height: 100vh;
  padding: 0 var(--page-x) calc(24px + var(--safe-bottom));
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 42%);
}

.auth-header {
  padding: 12px 0 0;
}

.auth-header__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.06);
}

.auth-brand {
  padding: 28px 4px 24px;
}

.auth-brand__logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 4px;
  line-height: 1.2;
}

.auth-brand__slogan {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-card {
  padding: 0;
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.auth-tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.auth-panel {
  display: none;
  padding: 18px 14px 0;
}

.auth-panel.active {
  display: block;
}

.auth-panel .event-register-form {
  margin: 0;
}

.auth-panel .event-register-form input {
  margin-bottom: 14px;
}

.auth-form-extra {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 4px;
}

.auth-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}

.form-password-row {
  position: relative;
  margin-bottom: 14px;
}

.form-password-row input {
  width: 100%;
  padding-right: 42px;
  margin-bottom: 0 !important;
}

.form-password-row__toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.auth-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 14px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

.auth-agree input {
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--accent);
}

.auth-agree a {
  color: var(--accent);
  text-decoration: none;
}

.auth-actions {
  margin-top: 20px;
}

.auth-submit {
  border: none;
  cursor: pointer;
}

.auth-oauth {
  margin-top: 28px;
  padding: 0 14px;
  text-align: center;
}

.auth-oauth__label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.auth-oauth__signin {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
}

.auth-oauth__signin.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.auth-oauth__signin--wechat {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.auth-oauth__signin-icon {
  font-size: 20px;
  line-height: 1;
}

.auth-oauth__signin-icon--wechat {
  color: #07c160;
}

.auth-oauth__signin-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.auth-oauth__signin-text--wechat {
  color: #1a2332;
}

.auth-switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-demo-tip {
  margin: 24px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.auth-demo-tip strong {
  color: var(--accent);
  font-weight: 600;
}

/* 我的页 — 未登录 */
.profile-guest__user {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.profile-guest__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  color: var(--text-muted);
}

.profile-guest__info {
  flex: 1;
  min-width: 0;
}

.profile-guest__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.profile-guest__desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-guest__arrow {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.profile-sections--guest {
  opacity: 0.72;
}

/* ── 搜索页 ── */
.search-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px var(--page-x);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.search-header__back {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
}

.search-header__field {
  flex: 1;
  min-width: 0;
}

.search-body {
  padding: 8px var(--page-x) 24px;
}

.search-section {
  margin-top: 8px;
}

.search-section__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tag {
  padding: 8px 14px;
  background: var(--bg-subtle);
  border: none;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.search-result-group {
  margin-bottom: 20px;
}

.search-result-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.search-result-group__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.search-result-group__more {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.search-result-group__more i {
  font-size: 10px;
}

.search-result-group__list .course-item + .course-item,
.search-result-group__list .teacher-list-item + .teacher-list-item,
.search-result-group__list .search-event-item + .search-event-item {
  margin-top: 10px;
}

.search-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}

.search-event-item__cover {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-event-item__body {
  flex: 1;
  min-width: 0;
}

.search-event-item__tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 6px;
}

.search-event-item__tag--live {
  color: var(--live);
  background: rgba(224, 82, 82, 0.1);
}

.search-event-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-event-item__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-event-item__arrow {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── 课程播放页 ── */
.course-play-body {
  background: var(--primary);
}

.course-play-body .app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.course-play {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.course-play__video {
  position: relative;
  flex-shrink: 0;
  background: #000;
  padding-bottom: 2px;
}

.course-play__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.course-play__screen--player {
  overflow: visible;
  background: #000;
}

.course-play__screen--audio {
  background: #0f1419;
}

.course-play__audio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0f1419;
}

.course-play__video-el--audio {
  background: transparent;
}

.course-play__audio-fx {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 46px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.course-play__cd-stage {
  position: relative;
  width: 130px;
  height: 130px;
}

.course-play__cd-mask {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
}

.course-play__cd-rotor {
  position: relative;
  width: 130px;
  height: 130px;
  transform: rotate(0deg);
  will-change: transform;
}

.course-play__cd-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid #2a2a2a;
  pointer-events: none;
}

.course-play__cd-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.course-play__cd-cover-fallback {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(251, 146, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-play__cd-cover-icon {
  font-size: 36px;
  color: #fb923c;
  line-height: 1;
}

.course-play__cd-groove {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 8px solid rgba(0, 0, 0, 0.35);
  pointer-events: none;
  box-sizing: border-box;
}

.course-play__cd-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #0f1419;
  border: 1px solid #333;
  pointer-events: none;
}

.course-play__cd-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #666;
  pointer-events: none;
}

.course-play__play-btn {
  position: relative;
  z-index: 3;
  border: none;
  background: none;
  padding: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.course-play__screen-tip {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 13px;
}

.course-play__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  background: #000;
  pointer-events: auto;
}

.course-play__video-el.is-visible {
  z-index: 1;
}

.course-play__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.course-play__watermark {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  max-width: 80%;
  padding: 2px 8px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.9s ease;
}

.course-play__watermark.is-ready {
  opacity: 1;
}

.course-play__screen--locked {
  background: #1a2332;
}

.course-play__lock {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.course-play__buy-link {
  z-index: 1;
  margin-top: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.course-play__play-btn.is-playing {
  display: none;
}

.course-play__screen-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.course-play__action-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.course-play__action-btn--done,
.course-play__action-btn.is-done {
  color: #4ADE80;
}

.course-play__progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px 4px;
  background: #111827;
}

.course-play__progress-bar--actions {
  justify-content: flex-end;
}

.course-play__bar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.course-play__rate-tip {
  border: none;
  background: none;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fb923c;
  cursor: pointer;
  font-family: inherit;
  line-height: 28px;
}

.course-play__fullscreen-btn {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.course-play__fullscreen-icon {
  position: relative;
  width: 12px;
  height: 12px;
}

.course-play__fullscreen-corner {
  position: absolute;
  width: 5px;
  height: 5px;
  border-color: rgba(255, 255, 255, 0.75);
  border-style: solid;
}

.course-play__fullscreen-corner--tl {
  top: 0;
  left: 0;
  border-width: 1.5px 0 0 1.5px;
}

.course-play__fullscreen-corner--tr {
  top: 0;
  right: 0;
  border-width: 1.5px 1.5px 0 0;
}

.course-play__fullscreen-corner--bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1.5px 1.5px;
}

.course-play__fullscreen-corner--br {
  bottom: 0;
  right: 0;
  border-width: 0 1.5px 1.5px 0;
}

.course-play__rate-dropdown {
  background: #111827;
  padding: 8px 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.course-play__rate-title {
  margin: 0 0 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.course-play__rate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-play__rate-chip {
  min-width: 44px;
  padding: 6px 8px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
}

.course-play__rate-chip--active {
  background: rgba(234, 88, 12, 0.9);
}

.course-play__rate-chip-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.course-play__rate-chip-text--active {
  color: #fff;
  font-weight: 700;
}

.course-play__fs-rate {
  position: absolute;
  right: 12px;
  bottom: 46px;
  z-index: 4;
  height: 40px;
  padding: 0 10px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.course-play__screen.is-video-fs .course-play__fs-rate {
  bottom: 8px;
}

.course-play__fs-rate-text {
  font-size: 16px;
  font-weight: 700;
  color: #fb923c;
  line-height: 40px;
}

.course-play__fs-panel {
  position: absolute;
  right: 12px;
  bottom: 90px;
  z-index: 4;
  width: 210px;
  padding: 8px 6px 10px 12px;
  background: #111827;
  box-sizing: border-box;
}

.course-play__screen.is-video-fs .course-play__fs-panel {
  bottom: 52px;
}

.course-play__fs-panel-title {
  margin: 0 0 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.course-play__fs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-play__fs-chip {
  min-width: 44px;
  padding: 6px 8px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
}

.course-play__fs-chip--active {
  background: rgba(234, 88, 12, 0.9);
}

.course-play__fs-chip-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.course-play__fs-chip-text--active {
  color: #fff;
  font-weight: 700;
}

.course-play__track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.course-play__played {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.course-play__time {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}

.course-play__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: calc(8px + env(safe-area-inset-top, 0)) 10px 12px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.course-play__back {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.course-play__nav-info {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.course-play__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-play__course {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-play--fullscreen {
  min-height: 100vh;
}

.course-play--fullscreen .course-play__tabs {
  display: none;
}

.course-play--fullscreen .course-play__video {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  max-width: none;
}

.course-play--fullscreen .course-play__screen {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
}

.course-play--fullscreen .course-play__progress-bar {
  flex-shrink: 0;
}

.course-play__video:fullscreen,
.course-play__video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-width: none;
  background: #000;
  display: flex;
  flex-direction: column;
}

.course-play__video:fullscreen .course-play__screen,
.course-play__video:-webkit-full-screen .course-play__screen {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
  width: 100%;
}

.course-play__video:fullscreen .course-play__progress-bar,
.course-play__video:-webkit-full-screen .course-play__progress-bar {
  flex-shrink: 0;
}

.course-play__tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg);
  border-radius: 12px 12px 0 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.course-play__tabs .detail-tabs {
  flex-shrink: 0;
}

.course-play__tabs .detail-panel {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.course-play__tabs .detail-panel#panel-chapters {
  padding: 12px 14px 18px;
}

.course-play__tabs .detail-panel#panel-notes {
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0));
}

.lesson-item--playing {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.25);
}

.lesson-item__badge--playing {
  background: var(--accent);
  color: #fff;
}

.course-play__note-head {
  margin-bottom: 12px;
}

.course-play__note-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.course-play__note-lesson {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.course-play__note-input {
  margin-bottom: 12px;
}

.course-play__note-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── 直播回放页 ── */
.live-replay__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.live-replay .course-play__screen {
  overflow: hidden;
}

.live-replay .course-play__play-btn,
.live-replay .course-play__screen-tip {
  position: relative;
  z-index: 2;
}

.live-replay .course-play__video-el {
  pointer-events: auto;
}

.live-replay .course-play__screen-actions {
  z-index: 2;
}

.course-landscape__screen {
  position: relative;
  overflow: hidden;
}

.course-landscape__screen .live-replay__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.course-landscape__screen .course-landscape__play-btn,
.course-landscape__screen .course-landscape__screen-tip {
  position: relative;
  z-index: 1;
}

.course-play__tabs .detail-panel#panel-intro {
  padding: 0;
}

.live-replay__detail .live-detail-summary {
  margin: 0 0 10px;
}

.live-replay__detail .live-detail-intro {
  margin: 0;
}

.live-replay__messages-panel {
  display: none;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.live-replay__messages-panel.active {
  display: flex;
}

.live-replay__msg-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px;
}

.live-replay-msg {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.live-replay-msg:last-child {
  border-bottom: none;
}

.live-replay-msg__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.live-replay-msg__body {
  flex: 1;
  min-width: 0;
}

.live-replay-msg__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.live-replay-msg__user {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.live-replay-msg__tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  vertical-align: middle;
}

.live-replay-msg--host .live-replay-msg__user {
  color: var(--accent);
}

.live-replay-msg__time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.live-replay-msg__text {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  word-break: break-word;
}

.live-replay__msg-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.live-replay__msg-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 14px;
  background: var(--bg-subtle);
  outline: none;
}

.live-replay__msg-input:focus {
  border-color: var(--accent);
}

.live-replay__msg-send {
  flex-shrink: 0;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

/* ── 横屏播放页 ── */
.course-landscape-body {
  margin: 0;
  background: #000;
  overflow: hidden;
}

.course-landscape-body .app-wrapper {
  max-width: none;
}

.course-landscape {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #000;
}

.course-landscape__back {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0));
  left: calc(10px + env(safe-area-inset-left, 0));
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.course-landscape__screen {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  background: var(--primary);
}

.course-landscape__play-btn {
  border: none;
  background: none;
  padding: 0;
  color: #fff;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
}

.course-landscape__screen-tip {
  margin: 0;
  font-size: 13px;
}

/* 系统无法锁定横屏时，竖屏下旋转页面模拟横屏 */
.course-landscape-body--portrait {
  overflow: hidden;
}

.course-landscape-body--portrait .course-landscape {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vh;
  height: 100vw;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
}

@media (orientation: portrait) {
  .course-landscape__screen-tip::after {
    content: ' · 请旋转设备横屏观看';
  }
}

/* ══════════════════════════════════════
   全能疗愈师
   ══════════════════════════════════════ */

.tabbar--5 .tabbar-item {
  min-width: 0;
  flex: 1;
}

.tabbar--5 .tabbar-item i {
  font-size: 26px;
}

.page-healer.app-wrapper {
  background: var(--bg-subtle);
}

.app-content--healer {
  background: var(--bg-subtle);
  min-height: 100vh;
}

.healer-sections {
  padding-top: 0;
  padding-bottom: 0;
}

.healer-sections .section-card--last {
  margin-bottom: 0;
}

.healer-hero {
  position: relative;
  padding: 28px var(--page-x) 24px;
  overflow: hidden;
  color: #fff;
}

.healer-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, #1A2332 0%, #2D3A52 45%, #3D4F6E 100%);
}

.healer-hero__bg::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.15);
  filter: blur(2px);
}

.healer-hero__content {
  position: relative;
  z-index: 1;
}

.healer-hero__eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  opacity: 0.72;
  margin-bottom: 8px;
}

.healer-hero__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  line-height: 1.25;
}

.healer-hero__desc {
  font-size: 13px;
  opacity: 0.88;
  margin: 0 0 16px;
  line-height: 1.5;
}

.healer-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.healer-hero__level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 500;
}

.healer-hero__level i {
  color: #FDBA74;
  font-size: 11px;
}

.healer-hero__stage {
  font-size: 12px;
  opacity: 0.75;
}

.healer-hero__progress {
  margin-top: 16px;
}

.growth-hero .healer-hero__bg {
  background:
    linear-gradient(180deg, rgba(18, 24, 20, 0.38) 0%, rgba(12, 16, 14, 0.78) 100%),
    url('../images/banner-growth-hero.jpg') center 58% / cover no-repeat;
}

.growth-hero .healer-hero__bg::after {
  background: rgba(22, 163, 74, 0.12);
}

.growth-hero ~ .healer-sections {
  padding-top: 15px;
}

.healer-hero__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  overflow: hidden;
}

.healer-hero__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #F97316);
  border-radius: 3px;
}

.healer-stats {
  display: flex;
  padding: 16px 8px;
  margin-top: -12px;
  position: relative;
  z-index: 2;
}

.healer-stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.healer-stats__item + .healer-stats__item {
  border-left: 1px solid var(--border);
}

.healer-stats__item strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.healer-stats__item span {
  font-size: 11px;
  color: var(--text-muted);
}

.healer-nav-block {
  padding: 18px 14px 16px;
}

.healer-nav-block__head {
  margin-bottom: 14px;
}

.healer-nav-block__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.healer-nav-block__sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.healer-nav-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.healer-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.healer-nav-card:active {
  background: #EEF0F4;
}

.healer-nav-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.healer-nav-card--committee .healer-nav-card__icon {
  background: #E8F6F4;
  color: #6BA89E;
}

.healer-nav-card--booking .healer-nav-card__icon {
  background: #F8F0FE;
  color: #AE79CF;
}

.healer-nav-card--exam .healer-nav-card__icon {
  background: #FFF5EE;
  color: #D97706;
}

.healer-nav-card--map .healer-nav-card__icon {
  background: #E8F6F4;
  color: #6BA89E;
}

.healer-nav-card--month .healer-nav-card__icon {
  background: #EDF2FA;
  color: #6B8FC7;
}

.healer-nav-card__body {
  flex: 1;
  min-width: 0;
}

.healer-nav-card__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 3px;
  color: var(--text-primary);
}

.healer-nav-card__desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.healer-nav-card__arrow {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── 实操课导航 ── */
.page-practice.app-wrapper {
  background: var(--bg-subtle);
}

.practice-hero {
  padding-top: 16px;
}

.practice-hero__back {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.page-practice .healer-hero__bg {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(145deg, #1A2A28 0%, #234840 45%, #2F6A5C 100%);
}

.page-practice .healer-hero__bg::after {
  background: rgba(234, 88, 12, 0.18);
}

.page-practice .healer-hero__level {
  text-decoration: none;
  color: inherit;
}

.healer-nav-card--case .healer-nav-card__icon {
  background: #FFF1F2;
  color: #E11D48;
}

.healer-nav-card--advanced .healer-nav-card__icon {
  background: #F8F0FE;
  color: #AE79CF;
}

.detail-bar--practice-case {
  gap: 10px;
}

.detail-bar--practice-case .detail-bar__btn-outline,
.detail-bar--practice-case .detail-bar__cta {
  flex: 1;
  min-height: 44px;
  border-radius: var(--radius);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-bar--practice-case .detail-bar__btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.page-practice-case .sub-header__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.practice-advanced {
  padding: 18px 14px 20px;
}

.practice-advanced-block + .practice-advanced-block {
  margin-top: 28px;
}

.practice-advanced-block__title {
  position: relative;
  margin: 0;
  padding-left: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.practice-advanced-block__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.practice-advanced-block--plain .practice-advanced-block__title {
  padding-left: 0;
}

.practice-advanced-block--plain .practice-advanced-block__title::before {
  display: none;
}

.practice-advanced-block__label {
  margin: 10px 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.practice-advanced-block__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

.practice-advanced-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.practice-advanced-photos img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  background: var(--bg-subtle);
}

.practice-advanced-block__empty {
  margin: 0;
  min-height: 44px;
  font-size: 13px;
  color: var(--text-muted);
}

.practice-cert-form {
  padding: 18px 14px 8px;
}

.practice-cert-form label {
  font-size: 13px;
  color: var(--text-muted);
}

.practice-cert-form input,
.practice-cert-form textarea {
  margin-bottom: 18px;
}

.practice-cert-form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}

/* ── 实操学员 ── */
.practice-roster-item {
  cursor: default;
}

.practice-roster-item .healer-roster-item__avatar {
  border-color: #CCFBF1;
}

.practice-roster-item__info {
  flex: 1;
  min-width: 0;
}

.practice-roster-item__stage {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.practice-roster-item__head {
  margin-bottom: 0;
}

.practice-roster-item__assess-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid #99F6E4;
  border-radius: 999px;
  background: #F0FDFA;
  color: #0F766E;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.practice-roster-item__assess-btn:active {
  opacity: 0.85;
}

.practice-advanced-assessment-form {
  padding: 18px 14px 20px;
}

.practice-advanced-assessment-form__field + .practice-advanced-assessment-form__field {
  margin-top: 16px;
}

.practice-advanced-assessment-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.practice-advanced-assessment-form__score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.practice-advanced-assessment-form__score input {
  width: 120px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  background: #fff;
}

.practice-advanced-assessment-form__score input:focus {
  outline: none;
  border-color: #14B8A6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.practice-advanced-assessment-form__unit {
  font-size: 14px;
  color: var(--text-secondary);
}

.practice-advanced-assessment-result {
  padding: 18px 14px 22px;
}

.practice-advanced-assessment-result__score-panel {
  text-align: center;
  padding: 24px 16px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
  border: 1px solid #CCFBF1;
}

.practice-advanced-assessment-result__score-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
}

.practice-advanced-assessment-result__score {
  margin: 10px 0 8px;
  line-height: 1;
  color: #0F766E;
}

.practice-advanced-assessment-result__score strong {
  font-size: 48px;
  font-weight: 700;
}

.practice-advanced-assessment-result__score span {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 600;
}

.practice-advanced-assessment-result__time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.practice-advanced-assessment-result__comment {
  margin-top: 24px;
}

.practice-advanced-assessment-result__comment-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

.practice-advanced-assessment-empty__hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.practice-roster-item__case {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: block;
  text-decoration: none;
  color: inherit;
}

.practice-roster-item__case:active {
  opacity: 0.85;
}

.practice-roster-item__case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.practice-roster-item__case-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.practice-roster-item__case-summary {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.practice-roster-item__case-time {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.practice-roster-item__case-empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.practice-detail-hero__stage {
  background: #F0FDFA;
  color: #0D9488;
}

.practice-detail-hero__stage i {
  color: #14B8A6;
}

.practice-record-card__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.practice-case-detail-head {
  padding: 14px;
}

.practice-case-detail-head__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.practice-case-detail-head__user .healer-roster-item__avatar {
  width: 44px;
  height: 44px;
  border-color: #CCFBF1;
}

.practice-case-detail-head__name {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
}

.practice-case-detail-head__meta {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.practice-case-detail-head__user .case-history-card__status {
  margin-left: auto;
  flex-shrink: 0;
}

.practice-case-detail {
  margin-top: var(--section-gap);
}

.practice-case-detail__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.practice-case-detail__textarea {
  margin-bottom: 0;
}

.practice-case-detail__comment-time {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

.healer-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 14px;
}

.healer-notice__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFF8E8;
  color: #EA980C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.healer-notice__text h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.healer-notice__text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

.healer-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 40px 24px;
  text-align: center;
}

.healer-placeholder__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.healer-placeholder h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.healer-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 260px;
}

/* ── 成长地图（关卡列表） ── */
.world-map-body {
  padding: 10px 0 20px;
}

.world-map-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
}

.world-map-summary__points {
  flex-shrink: 0;
  text-align: center;
  min-width: 88px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.world-map-summary__label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.world-map-summary__value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.world-map-summary__info {
  flex: 1;
  min-width: 0;
}

.world-map-summary__info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.world-map-summary__info p + p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.world-map-summary__rank {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 52px;
  padding-left: 14px;
  border: none;
  border-left: 1px solid var(--border);
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-secondary);
  text-decoration: none;
}

.world-map-summary__rank i {
  font-size: 20px;
  color: #EAB308;
}

.world-map-summary__rank span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

.world-map-track {
  padding: 16px 14px 20px;
}

.world-map-track__tip {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.world-level-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.world-level {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-bottom: 40px;
}

.world-level:last-child {
  padding-bottom: 0;
}

.world-level:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.world-level--done:not(:last-child)::before {
  background: var(--accent);
  opacity: 0.35;
}

.world-level__node {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  position: relative;
  z-index: 1;
}

.world-level__planet {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.world-level--current .world-level__planet {
  filter: drop-shadow(0 0 6px rgba(234, 88, 12, 0.55));
}

.world-level__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.world-level__badge--done {
  background: #16A34A;
  color: #fff;
}

.world-level__badge--lock {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.world-level__body {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}

.world-level__title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.world-level--locked .world-level__title {
  color: var(--text-secondary);
}

.world-level__meta {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.world-level__points::before {
  content: '·';
  margin: 0 6px;
  color: inherit;
}

.world-level__status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
}

.world-level--current .world-level__status {
  color: var(--accent);
}

.world-level--done .world-level__status {
  color: #16A34A;
}

.world-level--current .world-level__meta {
  color: var(--text-muted);
}

.world-level--done .world-level__meta {
  color: var(--text-muted);
}

.growth-rank-modal .modal-sheet__panel {
  max-height: 70vh;
}

.growth-rank-list {
  list-style: none;
  margin: 0;
  padding: 0 16px 20px;
  overflow-y: auto;
  max-height: calc(70vh - 60px);
}

.growth-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.growth-rank-item:last-child {
  border-bottom: none;
}

.growth-rank-item--me {
  background: var(--accent-soft);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: var(--radius);
  border-bottom: none;
}

.growth-rank-item__rank {
  width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.growth-rank-item--top .growth-rank-item__rank {
  font-size: 18px;
}

.growth-rank-item--top:nth-child(1) .growth-rank-item__rank { color: #EAB308; }
.growth-rank-item--top:nth-child(2) .growth-rank-item__rank { color: #94A3B8; }
.growth-rank-item--top:nth-child(3) .growth-rank-item__rank { color: #CD7F32; }

.growth-rank-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
}

.growth-rank-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.growth-rank-item__info strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.growth-rank-item__info em {
  font-size: 11px;
  color: var(--text-muted);
  font-style: normal;
}

.growth-rank-item__points {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── 成长排行榜页 ── */
.growth-rank-page {
  padding: 10px 0 20px;
}

.growth-rank-section__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.growth-rank-me {
  padding: 16px 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(234, 88, 12, 0.06) 100%);
}

.growth-rank-me__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.growth-rank-me__badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
}

.growth-rank-me__body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.growth-rank-me__rank {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.growth-rank-me__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}

.growth-rank-me__info {
  flex: 1;
  min-width: 0;
}

.growth-rank-me__info strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.growth-rank-me__info p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.growth-rank-me__info em {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
}

.growth-rank-top {
  padding: 16px 14px 20px;
}

.growth-rank-top .growth-rank-section__title {
  margin-bottom: 16px;
}

.growth-rank-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

.growth-rank-podium__item {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.growth-rank-podium__medal {
  font-size: 22px;
  line-height: 1;
}

.growth-rank-podium__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
}

.growth-rank-podium__item--1 .growth-rank-podium__avatar {
  width: 48px;
  height: 48px;
  border: 2px solid #EAB308;
  background: rgba(234, 179, 8, 0.1);
  color: #EAB308;
}

.growth-rank-podium__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.growth-rank-podium__world {
  font-size: 11px;
  color: var(--text-muted);
  font-style: normal;
}

.growth-rank-podium__points {
  font-size: 13px;
  font-weight: 700;
}

.growth-rank-podium__bar {
  display: block;
  width: 100%;
  margin-top: 6px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, rgba(0, 0, 0, 0.04) 100%);
}

.growth-rank-podium__item--1 .growth-rank-podium__bar {
  height: 72px;
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.25) 0%, rgba(234, 179, 8, 0.08) 100%);
}

.growth-rank-podium__item--2 .growth-rank-podium__bar {
  height: 52px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.25) 0%, rgba(148, 163, 184, 0.08) 100%);
}

.growth-rank-podium__item--3 .growth-rank-podium__bar {
  height: 40px;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.25) 0%, rgba(205, 127, 50, 0.08) 100%);
}

.growth-rank-others {
  padding: 16px 14px;
}

.growth-rank-others .growth-rank-section__title {
  margin-bottom: 4px;
}

.growth-rank-others__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.growth-rank-others__list .growth-rank-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.growth-rank-others__list .growth-rank-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── 世界页面（积分任务） ── */
.world-page-body {
  padding: 10px 0 20px;
}

.world-page-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  margin-top: 0;
}

.world-page-hero__planet {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.world-page-hero__info {
  flex: 1;
  min-width: 0;
}

.world-page-hero__name {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.world-page-hero__label {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.world-page-hero__tip {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.world-task-block {
  padding: 0 var(--page-x) 8px;
}

.world-task-block__head {
  margin-bottom: 12px;
  padding: 0 4px;
}

.world-task-block__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.world-task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.world-task-card {
  padding: 14px 12px;
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.world-task-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.world-task-card__main {
  flex: 1;
  min-width: 0;
}

.world-task-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.world-task-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.world-task-card__icon--quiz { background: #EFF6FF; color: #2563EB; }
.world-task-card__icon--case { background: #F3EEFF; color: #7C3AED; }
.world-task-card__icon--event { background: #FFF4EB; color: var(--accent); }
.world-task-card__icon--assessment { background: #ECFDF8; color: #0D9488; }
.world-task-card__icon--volunteer { background: #FFF0F0; color: #EF4444; }

.world-task-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.world-task-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.world-task-card__desc strong {
  color: var(--accent);
  font-weight: 600;
}

.world-task-card__rules {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.world-task-card__rules li + li {
  margin-top: 4px;
}

.world-task-card__rules strong {
  color: var(--accent);
  font-weight: 600;
}

.world-task-card__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.world-task-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 7px 14px;
  border: none;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.world-task-card__btn--soft {
  background: var(--accent-soft);
  color: var(--accent);
}

.world-task-card__secondary {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.world-map-summary__info--link {
  position: relative;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding-right: 18px;
}

.world-map-summary__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-muted);
}

.world-level__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.world-level__arrow {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}

.world-level--current .world-level__title {
  color: var(--accent);
}

/* ── 提交个案记录 ── */
.app-content--case-submit {
  padding-bottom: calc(72px + var(--safe-bottom));
}

.case-submit-body {
  padding: 10px 0 16px;
}

.case-submit-form {
  padding: 16px 14px 18px;
  margin-top: 0;
}

.case-submit-field + .case-submit-field {
  margin-top: 18px;
}

.case-submit-field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.case-submit-field__textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg);
  resize: vertical;
  min-height: 96px;
}

.case-submit-field__textarea::placeholder {
  color: var(--text-muted);
}

.case-upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: pointer;
}

.case-upload i {
  font-size: 22px;
}

.case-upload-preview {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
}

.case-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-upload-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.case-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 6px 14px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.case-tag.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.case-supervision {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.case-supervision__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-supervision__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.case-supervision__hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.form-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.form-switch__slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s ease;
}

.form-switch__slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.form-switch input:checked + .form-switch__slider {
  background: var(--accent);
}

.form-switch input:checked + .form-switch__slider::before {
  transform: translateX(18px);
}

.case-supervision__panel {
  margin-top: 16px;
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--bg-subtle);
}

.case-supervisor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.case-supervisor__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.case-supervisor__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.case-supervisor__balance {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.case-supervisor__balance strong {
  color: var(--accent);
  font-weight: 700;
}

.case-supervision-history {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.case-supervision-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.case-supervision-history li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-supervision-history span {
  color: var(--text-primary);
  font-weight: 500;
}

.case-supervision-history time {
  color: var(--text-muted);
  font-size: 12px;
}

/* ── 个案提交记录列表 ── */
.case-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-history-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.case-history-card:last-child {
  border-bottom: none;
}

.case-history-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.case-history-card__time {
  font-size: 13px;
  color: var(--text-secondary);
}

.case-history-card__status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.case-history-card__status--pending {
  background: #FFF8E8;
  color: #EA980C;
}

.case-history-card__status--approved {
  background: #EAFBF1;
  color: #16A34A;
}

.case-history-card__status--rejected {
  background: #FFF0F0;
  color: #EF4444;
}

.case-history-card__preview {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-history-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.case-history-card__tag {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

.case-history-card__reject {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #FFF0F0;
  font-size: 12px;
  color: #EF4444;
  line-height: 1.5;
}

.case-history-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}

.case-history-card__supervision {
  font-size: 12px;
  color: var(--text-muted);
}

.case-history-card__supervision i {
  margin-right: 4px;
  color: var(--text-secondary);
}

.case-history-card__points {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ── 疗愈师考核试卷列表 ── */
.assessment-page-body {
  padding-bottom: 20px;
}

.assessment-paper-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assessment-paper-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.assessment-paper-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.assessment-paper-card__stage {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

.assessment-paper-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.assessment-paper-card__tag,
.assessment-paper-card__status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.assessment-paper-card__tag--retake {
  background: #F3EEFF;
  color: #7C3AED;
}

.assessment-paper-card__tag--once {
  background: #F3F4F6;
  color: var(--text-muted);
}

.assessment-paper-card__status--available {
  background: #EFF6FF;
  color: #2563EB;
}

.assessment-paper-card__status--completed {
  background: #EAFBF1;
  color: #16A34A;
}

.assessment-paper-card__status--failed {
  background: #FFF1F2;
  color: #E11D48;
}

.assessment-paper-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.assessment-paper-card__desc {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.assessment-paper-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.assessment-paper-card__meta i {
  margin-right: 4px;
  opacity: 0.75;
}

.assessment-paper-card__hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.assessment-paper-card__action {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 10px;
}

.assessment-paper-card__action--disabled {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

/* ── 考试记录列表 ── */
.assessment-record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assessment-record-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.assessment-record-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.assessment-record-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.assessment-record-card__status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.assessment-record-card__status--passed {
  background: #EAFBF1;
  color: #16A34A;
}

.assessment-record-card__status--failed {
  background: #FFF0F0;
  color: #EF4444;
}

.assessment-record-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assessment-record-card__time {
  font-size: 12px;
  color: var(--text-muted);
}

.assessment-record-card__score {
  font-size: 13px;
  color: var(--text-secondary);
}

.assessment-record-card__score strong {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 700;
}

/* ── 考试答题页 ── */
.app-content--exam-take {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 72px;
}

.sub-header--exam .sub-header__title {
  font-size: 16px;
}

.exam-take-header__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.exam-take-timer {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.exam-take-submit {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}

.exam-take-submit:active {
  opacity: 0.85;
}

.exam-take-body {
  flex: 1;
  padding: 10px var(--page-x) 12px;
}

.exam-take-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.exam-take-progress__bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.exam-take-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #F97316);
  border-radius: 3px;
  transition: width 0.2s ease;
}

.exam-take-progress__text {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.exam-take-card {
  padding: 16px 14px;
  margin-bottom: 12px;
}

.exam-take-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.exam-take-card__index {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.exam-take-card__type {
  font-size: 11px;
  font-weight: 600;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 4px;
}

.exam-take-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-primary);
}

.exam-take-card__content {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-subtle);
}

.exam-take-card__content-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.exam-take-card__content-text + .exam-take-card__content-media {
  margin-top: 12px;
}

.exam-take-card__content-media {
  margin: 0;
}

.exam-take-card__content-image {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: var(--bg);
}

.exam-take-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exam-take-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}

.exam-take-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.exam-take-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.exam-take-option__label {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-take-option.is-selected .exam-take-option__label {
  background: var(--accent);
  color: #fff;
}

.exam-take-option__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
  padding-top: 2px;
}

.exam-take-sheet {
  padding: 14px;
}

.exam-take-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.exam-take-sheet__head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.exam-take-sheet__head span {
  font-size: 12px;
  color: var(--text-muted);
}

.exam-take-sheet__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.exam-take-sheet__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.exam-take-sheet__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.exam-take-sheet__legend-dot--answered {
  background: var(--accent-soft);
  border: 1px solid #FDBA74;
}

.exam-take-sheet__legend-dot--unanswered {
  background: var(--bg);
  border: 1px solid var(--border);
}

.exam-take-sheet__legend-dot--current {
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.exam-take-sheet__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.exam-take-sheet__item {
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.exam-take-sheet__item.is-answered {
  border-color: #FDBA74;
  background: var(--accent-soft);
  color: var(--accent);
}

.exam-take-sheet__item.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  color: var(--accent);
}

.exam-take-tips {
  padding: 16px 14px;
  background: #F0F4F8;
}

.exam-take-tips__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.exam-take-tips__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.exam-take-tips__list li + li {
  margin-top: 4px;
}

.exam-take-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  gap: 10px;
  padding: 10px var(--page-x) calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  z-index: 120;
}

.exam-take-footer__btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
}

.exam-take-footer__btn--ghost {
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.exam-take-footer__btn:disabled {
  opacity: 0.45;
}

.exam-result {
  flex: 1;
  overflow-y: auto;
  padding: 16px var(--page-x) 12px;
}

.app-content--exam-result {
  padding-bottom: calc(64px + var(--safe-bottom));
}

.exam-result__panel {
  padding: 28px 20px 22px;
  text-align: center;
  margin-bottom: 12px;
}

.exam-result__review {
  padding: 16px 14px;
  margin-bottom: 0;
}

.exam-result__review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.exam-result__review-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.exam-result__review-count {
  font-size: 12px;
  color: var(--text-muted);
}

.exam-result__review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exam-result__review-empty {
  margin: 0;
  padding: 24px 12px;
  text-align: center;
  font-size: 14px;
  color: #16A34A;
  background: #EAFBF1;
  border-radius: 10px;
}

.exam-result__review-empty i {
  margin-right: 6px;
}

.exam-result-review-card {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-subtle);
}

.exam-result-review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.exam-result-review-card__index {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.exam-result-review-card__badge {
  font-size: 11px;
  font-weight: 600;
  color: #EF4444;
  background: #FFF0F0;
  padding: 3px 8px;
  border-radius: 4px;
}

.exam-result-review-card__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-primary);
}

.exam-result-review-card__content {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg);
}

.exam-result-review-card__content-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.exam-result-review-card__content-media {
  margin: 0;
}

.exam-result-review-card__content-text + .exam-result-review-card__content-media {
  margin-top: 10px;
}

.exam-result-review-card__content-media img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.exam-result-review-card__answers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exam-result-review-card__answer {
  padding: 10px 12px;
  border-radius: 8px;
}

.exam-result-review-card__answer--wrong {
  background: #FFF0F0;
}

.exam-result-review-card__answer--correct {
  background: #EAFBF1;
}

.exam-result-review-card__label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
}

.exam-result-review-card__answer--wrong .exam-result-review-card__label {
  color: #EF4444;
}

.exam-result-review-card__answer--correct .exam-result-review-card__label {
  color: #16A34A;
}

.exam-result-review-card__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
}

.exam-result-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 414px;
  display: flex;
  gap: 10px;
  padding: 10px var(--page-x) calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  z-index: 120;
}

.exam-result-footer__btn {
  flex: 1;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
}

.exam-result-footer__btn--ghost {
  color: var(--accent);
  background: var(--accent-soft);
}

.exam-result__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.exam-result__icon--pass {
  background: #EAFBF1;
  color: #16A34A;
}

.exam-result__icon--fail {
  background: #FFF0F0;
  color: #EF4444;
}

.exam-result__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.exam-result__score {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.exam-result__score strong {
  font-size: 36px;
  color: var(--text-primary);
  font-weight: 700;
}

.exam-result__meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 每日一答 ── */
.daily-quiz-page-body {
  padding-bottom: 20px;
}

.daily-quiz-banner {
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 12px;
}

.daily-quiz-banner__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2563EB;
  background: #EFF6FF;
}

.daily-quiz-banner__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.daily-quiz-banner__desc {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.daily-quiz-banner__date {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.daily-quiz-result {
  padding: 18px 16px;
  text-align: center;
}

.daily-quiz-result__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.daily-quiz-result__time {
  font-size: 12px;
  color: var(--text-muted);
}

.daily-quiz-result__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.daily-quiz-result__score {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.daily-quiz-result__score strong {
  font-size: 32px;
  color: var(--text-primary);
  font-weight: 700;
}

.daily-quiz-result__points {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #D97706;
}

.daily-quiz-result__points i {
  margin-right: 4px;
}

.daily-quiz-result__hint {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.daily-quiz-result__tip {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.exam-result__points {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #D97706;
}

.exam-result__points i {
  margin-right: 4px;
}

.quiz-history-card__foot-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.quiz-history-card__head {
  margin-bottom: 0;
}

.quiz-history-card .assessment-record-card__foot {
  margin-top: 8px;
}

.quiz-history-card__points {
  font-size: 13px;
  font-weight: 600;
  color: #D97706;
}

/* ── 学历页 · 介绍视频 ── */
.schools-intro-video {
  margin: 10px var(--page-x) 0;
  overflow: hidden;
}

.schools-intro-video__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a2332;
  overflow: hidden;
}

.schools-intro-video__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.schools-intro-video__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.15) 0%, rgba(26, 35, 50, 0.45) 100%);
  pointer-events: none;
}

.schools-intro-video__play,
.schools-intro-video__pause {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding-left: 3px;
  z-index: 2;
}

.schools-intro-video__pause {
  position: static;
  transform: none;
  padding-left: 0;
  margin-bottom: 8px;
}

.schools-intro-video__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: rgba(26, 35, 50, 0.62);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.schools-intro-video__playing {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  z-index: 3;
}

.schools-intro-video__playing p {
  margin: 0;
  font-size: 13px;
}

.schools-intro-video__screen.is-playing .schools-intro-video__cover,
.schools-intro-video__screen.is-playing .schools-intro-video__shade,
.schools-intro-video__screen.is-playing .schools-intro-video__duration {
  visibility: hidden;
}

/* ── 官方客服二维码 · 居中弹窗 ── */
body.cs-qrcode-modal-open {
  overflow: hidden;
}

.cs-qrcode-modal {
  position: fixed;
  inset: 0;
  z-index: 550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--page-x);
}

.cs-qrcode-modal[hidden] {
  display: none;
}

.cs-qrcode-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.45);
}

.cs-qrcode-modal__panel {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 24px 20px 20px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cs-qrcode-modal__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.cs-qrcode-modal__img-wrap {
  width: 220px;
  height: 220px;
  margin: 8px auto 12px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.cs-qrcode-modal__img-wrap img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.cs-qrcode-modal__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.cs-qrcode-modal__empty i {
  font-size: 28px;
  opacity: 0.7;
}

.cs-qrcode-modal__empty p {
  margin: 0;
}

.cs-qrcode-modal__tip {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
}

.cs-qrcode-modal__close {
  display: block;
  width: 100%;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
