/* ==========================================================================
   legacy.css · 旧版组件与页面规则（v1）
   作用：搜索页 / 专题页 / 自选页 / 新闻页等尚未迁移的模板继续可用
   说明：位于 v2 之前加载，同名类由 ui.css / pages.css 覆盖
   ========================================================================== */

/* ==========================================================================
   uuwis ui layer — 组件
   依赖 tokens.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.site-header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.brand img {
  display: block;
  width: 168px;
  height: auto;
}

.brand:hover img {
  opacity: .88;
}

.header-inner .hsearch {
  flex: 1 1 260px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.hsearch__field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0 6px 0 36px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.hsearch__field:focus-within {
  background: #fff;
  border-color: var(--brand-300);
  box-shadow: var(--ring);
}

.hsearch__icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--ink-400);
  pointer-events: none;
}

.hsearch__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: var(--fs-14);
  color: var(--ink-800);
  outline: none;
}

.hsearch__input::placeholder {
  color: var(--ink-400);
}

.hsearch__btn {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--brand-600);
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-13);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.hsearch__btn:hover {
  background: var(--brand-700);
}

/* 主导航 */
.hnav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.hnav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hnav__item {
  position: relative;
}

.hnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-700);
  font-family: inherit;
  font-size: var(--fs-14);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.hnav__link:hover,
.hnav__item.is-open > .hnav__link {
  background: var(--brand-50);
  color: var(--brand-700);
}

.hnav__link.is-active {
  color: var(--brand-700);
  background: var(--brand-50);
}

.hnav__caret {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.hnav__item.is-open .hnav__caret {
  transform: rotate(225deg);
  margin-top: 3px;
}

.hnav__link--vip {
  color: #b45309;
  background: #fff7ed;
}

.hnav__link--vip:hover {
  background: #ffedd5;
  color: #92400e;
}

/* 大分类面板 */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 408px;
  padding: 10px;
  transform: translate(-50%, 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.hnav__item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px 2px;
}

.mega__item.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
}

.mega__item.is-active .mega__dot {
  background: var(--brand-600);
}

.mega__item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 4px;
  border-radius: 8px;
  color: var(--ink-700);
  font-size: var(--fs-13);
  font-weight: 500;
  white-space: nowrap;
}

.mega__item:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.mega__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-400);
  flex: 0 0 auto;
}

.mega__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.mega__tag {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-600);
  font-size: 11.5px;
}

.mega__tag:hover {
  background: var(--brand-100);
  color: var(--brand-700);
}

/* 头部操作区 */
.header-actions {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-700);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--brand-700);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-700);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 移动端搜索 */
.msearch {
  display: none;
  padding: 0 var(--gutter) var(--s-3);
}

.msearch .hsearch__field {
  height: 44px;
  background: var(--surface-2);
}

/* --------------------------------------------------------------------------
   2. 抽屉导航
   -------------------------------------------------------------------------- */
.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  transition: opacity .24s ease;
}

.drawer-mask.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  width: min(86vw, 340px);
  height: 100%;
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateX(-100%);
  transition: transform .26s ease;
  overflow: hidden;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
}

.drawer__title {
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
}

.drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-600);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-4) var(--s-5) var(--s-10);
  -webkit-overflow-scrolling: touch;
}

.drawer__group + .drawer__group {
  margin-top: var(--s-5);
}

.drawer__label {
  margin: 0 0 var(--s-2);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.drawer__cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.drawer__cat {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-700);
  font-size: var(--fs-14);
  font-weight: 600;
}

.drawer__cat.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1px rgba(18, 183, 106, .24);
}

.drawer__cat:active {
  background: var(--brand-100);
  color: var(--brand-700);
}

.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  color: var(--ink-700);
  font-family: inherit;
  font-size: var(--fs-14);
  text-align: left;
  cursor: pointer;
}

.drawer__link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--ink-300);
  border-bottom: 1.6px solid var(--ink-300);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   3. 面包屑 / 页面头 / 区块头
   -------------------------------------------------------------------------- */
.u-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: var(--s-1) 0 0;
  font-size: var(--fs-13);
  color: var(--ink-500);
}

.u-crumb a {
  color: var(--ink-500);
}

.u-crumb a:hover {
  color: var(--brand-700);
}

.u-crumb__sep {
  color: var(--ink-300);
}

.u-crumb__current {
  color: var(--ink-700);
  font-weight: 600;
}

.u-pagehead {
  padding: var(--s-2) 0 var(--s-2);
  background:
    radial-gradient(900px 200px at 12% 0%, rgba(37, 216, 133, .14), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}

.u-pagehead__title {
  margin: var(--s-2) 0 var(--s-2);
  font-size: var(--fs-28);
  font-weight: 800;
  letter-spacing: -.01em;
}

.u-pagehead__desc {
  margin: 0;
  color: var(--ink-500);
  font-size: var(--fs-14);
}

.u-pagehead__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.u-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-600);
  font-size: var(--fs-13);
}

.u-chip strong {
  color: var(--brand-700);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.section-head__main {
  min-width: 0;
}

.section-head__title {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 800;
  letter-spacing: -.01em;
}

.section-head__title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
}

.section-head__sub {
  margin: 4px 0 0 12px;
  color: var(--ink-500);
  font-size: var(--fs-13);
}

.section-head__more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink-500);
}

.section-head__more:hover {
  color: var(--brand-700);
}

.section-head__more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   4. Buttons / badges
   -------------------------------------------------------------------------- */
.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: var(--fs-14);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.u-btn svg {
  width: 18px;
  height: 18px;
}

.u-btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(18, 183, 106, .8);
}

.u-btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(18, 183, 106, .85);
}

.u-btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-700);
}

.u-btn--outline:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
  background: var(--brand-50);
}

.u-btn--ghost {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.u-btn--ghost:hover {
  background: rgba(255, 255, 255, .26);
  color: #fff;
}

.u-btn--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: var(--fs-13);
}

.u-btn--block {
  width: 100%;
}

.u-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  font-size: var(--fs-12);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.u-badge--new {
  background: var(--brand-600);
  color: #fff;
}

.u-badge--hot {
  background: #fff1f0;
  color: var(--hot);
}

.u-badge--rec {
  background: #fff7e6;
  color: #b45309;
}

.u-badge--soft {
  background: rgba(255, 255, 255, .94);
  color: var(--ink-700);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
  border: 1px solid rgba(255, 255, 255, .8);
}

/* --------------------------------------------------------------------------
   5. 课程卡片
   -------------------------------------------------------------------------- */
.u-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.u-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--sh-md);
}

.u-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e9f7f0, #dff0ff);
  overflow: hidden;
}

.u-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.u-card:hover .u-card__media img {
  transform: scale(1.04);
}

.u-card__badges {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  display: flex;
  gap: 6px;
}

.u-card__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, .55);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.u-card:hover .u-card__play {
  opacity: 1;
  transform: translateY(0);
}

.u-card__play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.u-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-3) var(--s-4) var(--s-4);
}

.u-card__title {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
}

.u-card__title a {
  color: inherit;
}

.u-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-width: 0;
  color: var(--ink-500);
  font-size: var(--fs-12);
}

.u-card__tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-300);
}

.u-card__stat {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 紧凑卡片（横向） */
.u-card--row {
  flex-direction: row;
  align-items: stretch;
}

.u-card--row .u-card__media {
  flex: 0 0 132px;
  aspect-ratio: auto;
}

.u-card--row .u-card__body {
  padding: var(--s-3);
}

/* --------------------------------------------------------------------------
   6. 分类宫格
   -------------------------------------------------------------------------- */
.u-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-3);
}

.u-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-800);
  font-size: var(--fs-14);
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.u-cat:hover {
  transform: translateY(-2px);
  border-color: var(--brand-200);
  box-shadow: var(--sh-sm);
  color: var(--brand-800);
}

.u-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
}

.u-cat__icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.u-cat__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-cat.c1 .u-cat__icon { background: #eefbf4; color: #0d9355; }
.u-cat.c2 .u-cat__icon { background: #ecf5ff; color: #1d6fd8; }
.u-cat.c3 .u-cat__icon { background: #f3f0ff; color: #6b4ff0; }
.u-cat.c4 .u-cat__icon { background: #fff4ed; color: #d9730d; }
.u-cat.c5 .u-cat__icon { background: #eafaf8; color: #0f9488; }
.u-cat.c6 .u-cat__icon { background: #fff0f6; color: #d6336c; }
.u-cat.c7 .u-cat__icon { background: #eef2ff; color: #4459d6; }
.u-cat.c8 .u-cat__icon { background: #ecfdff; color: #0d94a8; }
.u-cat.c9 .u-cat__icon { background: #fff1f1; color: #d64545; }
.u-cat.c10 .u-cat__icon { background: #fff9e8; color: #b8860b; }
.u-cat.c11 .u-cat__icon { background: #f3fbe8; color: #5f9e17; }
.u-cat.c12 .u-cat__icon { background: #f6f0ff; color: #7c4dd6; }
.u-cat.c13 .u-cat__icon { background: #eef3f9; color: #3d5b80; }
.u-cat.c14 .u-cat__icon { background: #f6f9e2; color: #7d8b1a; }
.u-cat.c15 .u-cat__icon { background: #f6f1e9; color: #8a6a3c; }
.u-cat.c16 .u-cat__icon { background: #f1f0f7; color: #6a5d8a; }
.u-cat.c17 .u-cat__icon { background: #fff1ec; color: #d1502b; }

/* --------------------------------------------------------------------------
   7. 榜单 / 紧凑列表
   -------------------------------------------------------------------------- */
.u-rows {
  display: flex;
  flex-direction: column;
}

.u-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.u-row:last-child {
  border-bottom: 0;
}

.u-row:hover .u-row__title {
  color: var(--brand-700);
}

.u-row__num {
  flex: 0 0 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xs);
  background: var(--surface-2);
  color: var(--ink-500);
  font-size: var(--fs-12);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.u-row__num.is-top {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
}

.u-row__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.u-row__title {
  color: var(--ink-800);
  font-size: var(--fs-14);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-row__meta {
  color: var(--ink-400);
  font-size: var(--fs-12);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. 面板（侧栏卡片）
   -------------------------------------------------------------------------- */
.u-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.u-panel + .u-panel {
  margin-top: var(--s-4);
}

.u-panel__head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.u-panel__head svg {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  flex: 0 0 auto;
}

.u-panel__title {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: 800;
  color: var(--ink-900);
}

.u-panel__body {
  padding: var(--s-3) var(--s-4);
}

.u-panel__body--flush {
  padding: 6px var(--s-3);
}

.u-aside {
  position: relative;
  align-self: stretch;  /* 撑满行高，让内部面板有吸附空间 */
}

/* 列表页侧栏：紧凑列表 */
.u-aside--dense .u-panel__head {
  padding: 10px 14px;
}

.u-aside--dense .u-panel__body--flush {
  padding: 4px 12px;
}

.u-aside--dense .u-panel + .u-panel {
  margin-top: 12px;
}

.u-aside--dense .u-row {
  gap: 10px;
  padding: 7px 0;
}

.u-aside--dense .u-row__body {
  gap: 1px;
}

.u-aside--dense .u-row__num {
  flex: 0 0 20px;
  height: 20px;
  font-size: 11px;
}

.u-aside--dense .u-row__title {
  font-size: var(--fs-13);
}

.u-aside--dense .u-row__meta {
  font-size: 11px;
}

/* 侧栏：不做内部滚动；面板高于视口时由 JS 改为底部对齐吸附，避免正文下方留白 */
.u-aside__sticky {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

/* 侧栏公告卡（内容页 / 播放页共用） */
.u-notice {
  position: relative;
  border: 1px solid rgba(18, 183, 106, .26);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #f2fdf7 0%, #fff 52%);
  box-shadow: 0 14px 30px -24px rgba(6, 78, 59, .5);
  overflow: hidden;
}

.u-notice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), #3ec6ff);
}

.u-notice + .u-panel,
.u-notice + .u-play__panel,
.u-play__panel + .u-notice {
  margin-top: var(--s-4);
}

.u-notice__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px var(--s-4) 10px;
  border-bottom: 1px dashed rgba(18, 183, 106, .22);
}

.u-notice__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  flex: 0 0 auto;
}

.u-notice__icon svg {
  width: 100%;
  height: 100%;
}

.u-notice__title {
  margin: 0;
  color: var(--brand-800);
  font-size: var(--fs-14);
  font-weight: 800;
  letter-spacing: .5px;
}

.u-notice__tag {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--brand-500);
  color: #04231a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.u-notice__body {
  padding: 10px var(--s-3) 12px;
}

.u-notice__body--ad {
  padding: 8px;
  background: #fff;
}

/* 播放页公告：更醒目 */
.u-notice--ad {
  border-color: rgba(18, 183, 106, .4);
  background: linear-gradient(180deg, #eafff4 0%, #fff 60%);
  box-shadow: 0 18px 36px -22px rgba(6, 78, 59, .55);
}

.u-notice--ad .u-notice__head {
  background: linear-gradient(90deg, rgba(37, 216, 133, .16), rgba(62, 198, 255, .12));
}

.u-notice--ad .u-notice__tag {
  animation: notice-pulse 2.6s ease-in-out infinite;
}

@keyframes notice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 216, 133, .5); }
  55% { box-shadow: 0 0 0 7px rgba(37, 216, 133, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .u-notice--ad .u-notice__tag {
    animation: none;
  }
}

/* 侧栏图文卡 */
.u-mini {
  display: flex;
  gap: var(--s-2);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.u-mini:last-child {
  border-bottom: 0;
}

.u-mini__thumb {
  flex: 0 0 92px;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #e9f7f0, #dff0ff);
}

.u-mini__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-mini__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.u-mini__title {
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.45;
}

.u-mini:hover .u-mini__title {
  color: var(--brand-700);
}

.u-mini__meta {
  font-size: var(--fs-12);
  color: var(--ink-400);
}

/* --------------------------------------------------------------------------
   9. 分页
   -------------------------------------------------------------------------- */
.u-pager {
  display: flex;
  justify-content: center;
  margin: var(--s-8) 0 0;
}

.u-pager ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.u-pager a,
.u-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-600);
  font-size: var(--fs-13);
  font-weight: 600;
}

.u-pager a:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
  background: var(--brand-50);
}

.u-pager .is-current span,
.u-pager li.active > a,
.u-pager li.active > span {
  border-color: transparent;
  background: var(--brand-600);
  color: #fff;
}

.u-pager li.disabled > a,
.u-pager li.disabled > span {
  color: var(--ink-300);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. 播放器外壳 / 目录
   -------------------------------------------------------------------------- */
.player-shell {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--sh-md);
}

.player-shell .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}

.player-shell .video-frame iframe,
.player-shell .video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-shell .playing {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 20, .78));
  pointer-events: none;
}

.player-shell .playing h1,
.player-shell .playing strong {
  display: block;
  margin: 0;
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: rgba(8, 15, 28, .86);
  animation: player-loading-dismiss 0s 15s forwards;
}

@keyframes player-loading-dismiss {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.u-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-toc--spaced {
  margin-top: var(--s-3);
}

.u-toc li {
  min-width: 0;
}

/* 引擎对空播放地址会输出空 <li>，不参与排版 */
.u-toc li:empty {
  display: none;
}

.u-toc a {
  display: block;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-700);
  font-size: var(--fs-13);
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u-toc a:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
}

.u-toc li.is-current a {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 700;
}

/* 播放页动作条 */
.kmenu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kmenu li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-600);
  font-size: var(--fs-13);
  font-weight: 600;
}

.kmenu li a:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
}

.kmenu li.next a {
  border-color: transparent;
  background: var(--brand-600);
  color: #fff;
}

.kmenu li.next a:hover {
  background: var(--brand-700);
  color: #fff;
}

.kmenu li.prev a,
.kmenu li.hd-play a,
.kmenu li.apk a,
.kmenu li.contact a {
  background: var(--surface-2);
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   11. 折叠内容
   -------------------------------------------------------------------------- */
.u-collapse {
  position: relative;
  overflow: hidden;
  transition: max-height .28s ease;
}

.u-collapse.is-collapsed {
  max-height: 320px;
}

.u-collapse.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 70%);
  pointer-events: none;
}

.u-collapse__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  margin-top: var(--s-2);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  color: var(--ink-600);
  font-size: var(--fs-13);
  font-weight: 600;
  cursor: pointer;
}

.u-collapse__toggle:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}

.u-collapse__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.u-collapse__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.u-prose {
  color: var(--ink-600);
  font-size: var(--fs-14);
  line-height: 1.85;
  word-break: break-word;
}

.u-prose img {
  border-radius: var(--r-md);
}

.u-prose p {
  margin-bottom: var(--s-3);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--s-12);
  background: #0e231b;
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-13);
}

.site-footer a {
  color: rgba(255, 255, 255, .72);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.3fr 1fr .72fr .9fr;
  gap: var(--s-8);
  padding: var(--s-12) 0 var(--s-8);
}

.site-footer__brand img {
  width: 160px;
  margin-bottom: var(--s-4);
  filter: brightness(0) invert(1);
  opacity: .92;
}

.site-footer__desc {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, .58);
}

.site-footer__title {
  margin: 0 0 var(--s-3);
  font-size: var(--fs-14);
  font-weight: 700;
  color: #fff;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 栏目多时分栏，避免页脚被单列撑高 */
.site-footer__list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__btn {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .72);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}

.site-footer__btn:hover {
  color: #fff;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-600);
  font-family: inherit;
  font-size: var(--fs-12);
  font-weight: 700;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  cursor: pointer;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}

/* --------------------------------------------------------------------------
   14. 弹窗
   -------------------------------------------------------------------------- */
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
  background: rgba(15, 23, 42, .48);
  opacity: 0;
  transition: opacity .2s ease;
}

.modal-wrap.is-open {
  opacity: 1;
}

.modal-card {
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  transform: translateY(8px) scale(.98);
  transition: transform .22s ease;
}

.modal-wrap.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line-soft);
}

.modal-title {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 800;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-500);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.modal-body {
  padding: var(--s-5);
}

.modal-search__row {
  display: flex;
  gap: 8px;
}

.modal-search__row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  outline: none;
}

.modal-search__row input:focus {
  border-color: var(--brand-300);
  box-shadow: var(--ring);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-4);
}

.modal-tags a {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-600);
  font-size: var(--fs-13);
}

.modal-tags a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.modal-download {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  text-align: center;
}

.download-card:hover {
  border-color: var(--brand-300);
  background: #fff;
}

.download-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: var(--r-md);
  background: var(--brand-100);
  color: var(--brand-800);
  font-size: var(--fs-12);
  font-weight: 800;
}

.download-card strong {
  color: var(--ink-900);
  font-size: var(--fs-14);
}

.download-card span {
  color: var(--ink-500);
  font-size: var(--fs-12);
}

.modal-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}

.modal-contact img {
  width: 200px;
  height: 200px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  object-fit: cover;
}

.modal-contact__mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  background: var(--brand-50);
}

.modal-contact__mail span {
  color: var(--ink-500);
  font-size: var(--fs-12);
}

.modal-contact__mail a {
  color: var(--brand-800);
  font-size: var(--fs-14);
  font-weight: 700;
}

.modal-note {
  margin: var(--s-4) 0 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #fffbeb;
  color: #92400e;
  font-size: var(--fs-12);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   17. 旧标记降级兼容
   -------------------------------------------------------------------------- */
#loader-wrapper,
#loading {
  animation: legacy-loader-hide .01s 2.4s forwards;
}

@keyframes legacy-loader-hide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* 旧 Owl 轮播标记：无 JS 时降级为栅格 */
.owl-carousel:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}

.owl-carousel:not(.owl-loaded) > * {
  min-width: 0;
}

@media (max-width: 1023px) {
  .owl-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .owl-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3);
  }
}

/* --------------------------------------------------------------------------
   18. 空状态占位
   -------------------------------------------------------------------------- */
.u-empty {
  padding: var(--s-10) var(--s-4);
  text-align: center;
  color: var(--ink-500);
}

.u-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-3);
  color: var(--ink-300);
}

/* --------------------------------------------------------------------------
   16. 头部响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .header-inner .hsearch {
    max-width: 320px;
  }

  .hnav__link {
    padding: 0 9px;
    font-size: var(--fs-13);
  }
}

@media (max-width: 991px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    gap: var(--s-2);
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner .hsearch,
  .hnav {
    display: none;
  }

  .header-actions {
    display: flex;
    margin-left: auto;
  }

  .brand img {
    width: 146px;
  }

  .msearch.is-open {
    display: block;
  }

  .u-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6);
    padding-top: var(--s-8);
  }

  .u-aside__sticky {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .site-footer__list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .u-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .u-cat {
    min-height: 54px;
    padding: 8px 10px;
    font-size: var(--fs-13);
  }

  .u-cat__icon {
    width: 32px;
    height: 32px;
  }

  .u-toc {
    grid-template-columns: 1fr;
  }

  .modal-search__row {
    flex-direction: column;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .section-head__sub {
    display: none;
  }
}


/* ==========================================================================
   uuwis pages layer — 页面级布局
   依赖 tokens.css / ui.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 通用栅格
   -------------------------------------------------------------------------- */
.u-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-4);
}

.u-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.u-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--s-6);
  align-items: start;
}

.u-layout--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.u-band {
  padding: var(--s-2) 0;
}

.u-band--white {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.u-band--flush {
  padding-left: 0;
  padding-right: 0;
}

.u-main {
  display: block;
}

/* --------------------------------------------------------------------------
   2. 首页 Hero
   -------------------------------------------------------------------------- */
.u-hero {
  position: relative;
  overflow: hidden;
  padding: var(--s-10) 0 var(--s-12);
  background:
    radial-gradient(1000px 420px at 8% -10%, rgba(63, 221, 160, .38), transparent 62%),
    radial-gradient(760px 380px at 92% 4%, rgba(14, 165, 233, .26), transparent 60%),
    linear-gradient(135deg, #0b3f2c 0%, #0d5a3c 52%, #0b4a52 100%);
  color: #fff;
}

.u-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 100%);
  pointer-events: none;
}

.u-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--s-10);
  align-items: center;
}

.u-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: .02em;
}

.u-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(63, 221, 160, .25);
}

.u-hero__title {
  margin: var(--s-4) 0 var(--s-3);
  color: #fff;
  font-size: var(--fs-34);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.u-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #7dffc4, #b6f0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.u-hero__sub {
  margin: 0 0 var(--s-5);
  max-width: 560px;
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-14);
}

.u-hero__search {
  display: flex;
  gap: 8px;
  max-width: 560px;
  padding: 6px;
  background: rgba(255, 255, 255, .96);
  border-radius: var(--r-pill);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
}

.u-hero__search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  font-size: var(--fs-14);
  color: var(--ink-800);
  outline: none;
}

.u-hero__search input::placeholder {
  color: var(--ink-400);
}

.u-hero__hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-4);
  color: rgba(255, 255, 255, .62);
  font-size: var(--fs-12);
}

.u-hero__hot a {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .88);
}

.u-hero__hot a:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.u-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}

.u-hero__stats li {
  display: flex;
  flex-direction: column;
}

.u-hero__stats strong {
  font-family: var(--font-num);
  font-size: var(--fs-24);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.u-hero__stats span {
  color: rgba(255, 255, 255, .6);
  font-size: var(--fs-12);
}

.u-hero__side {
  display: grid;
  gap: var(--s-3);
}

.u-hero__card {
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px);
}

.u-hero__card h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 700;
}

.u-hero__card p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: var(--fs-13);
}

.u-hero__card--accent {
  background: linear-gradient(135deg, rgba(37, 216, 133, .28), rgba(14, 165, 233, .24));
  border-color: rgba(125, 255, 196, .38);
}

.u-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.u-hero__links a {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 600;
}

.u-hero__links a:hover {
  background: rgba(255, 255, 255, .28);
}

/* 首页分类区（白底） */
.u-home-cats {
  margin-top: calc(var(--s-8) * -1);
  position: relative;
  z-index: 2;
}

/* 首页一级栏目：紧凑按钮墙，每行 9 个等宽铺满 */
.u-home-cats .u-cats {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
}

.u-home-cats .u-cat {
  min-width: 0;
  min-height: 46px;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: var(--fs-14);
}

.u-home-cats .u-cat__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.u-home-cats .u-cat__icon svg {
  width: 16px;
  height: 16px;
}

/* 首页栏目标题卡 */
.u-cat-section {
  padding: var(--s-8) 0;
}

.u-cat-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}

.u-cat-section__title {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 800;
}

.u-cat-section__title span {
  color: var(--ink-400);
  font-size: var(--fs-12);
  font-weight: 500;
}

.u-cat-section__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.u-sub-pill {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-600);
  font-size: var(--fs-12);
}

.u-sub-pill:hover {
  background: var(--brand-100);
  color: var(--brand-800);
}

/* --------------------------------------------------------------------------
   3. 列表页
   -------------------------------------------------------------------------- */
.u-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: var(--s-3) 0 var(--s-5);
}

.u-filterbar__label {
  color: var(--ink-400);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .06em;
}

.u-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-600);
  font-size: var(--fs-13);
  font-weight: 600;
}

.u-pill:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}

.u-pill.is-active {
  border-color: transparent;
  background: var(--brand-600);
  color: #fff;
}

.u-listhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.u-listhead__title {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 700;
}

.u-listhead__hint {
  color: var(--ink-400);
  font-size: var(--fs-12);
}

/* --------------------------------------------------------------------------
   4. 内容页
   -------------------------------------------------------------------------- */
.u-course {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: var(--s-6);
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}

.u-course__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, #e9f7f0, #dff0ff);
}

.u-course__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-course__thumb .u-badge {
  position: absolute;
  left: 10px;
  top: 10px;
}

.u-course__title {
  margin: 0 0 var(--s-3);
  font-size: var(--fs-20);
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.u-course__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-4);
}

.u-course__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.u-section-card {
  margin-top: var(--s-4);
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.u-section-card--flat {
  margin-top: 0;
}

.u-section-card__head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line-soft);
}

.u-section-card__head svg {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
}

.u-section-card__head h2 {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   5. 播放页
   -------------------------------------------------------------------------- */
/* 播放区：全宽黑底，播放器左右两侧均为黑色 */
.u-watch {
  padding: 6px 0 24px;
  background: #0a0e14;
}

.u-watch .u-crumb,
.u-watch .u-crumb a {
  color: rgba(255, 255, 255, .62);
}

.u-watch .u-crumb a:hover {
  color: #fff;
}

.u-watch .u-crumb__current {
  color: rgba(255, 255, 255, .9);
}

.u-watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.u-watch__main {
  min-width: 0;
}

.u-watch__aside {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .24) transparent;
}

.u-watch__aside::-webkit-scrollbar {
  width: 6px;
}

.u-watch__aside::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.u-watch__aside::-webkit-scrollbar-track {
  background: transparent;
}

/* 剧场融入黑底：不再自带背景与内边距 */
.u-watch .u-theater {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 黑底上的课程目录 */
.u-watch .u-toc-card {
  margin-top: 20px;
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .09);
}

.u-watch .u-toc-card .u-section-card__head {
  border-bottom-color: rgba(255, 255, 255, .1);
}

.u-watch .u-toc-card .u-section-card__head h2 {
  color: #fff;
}

.u-watch .u-toc-card .u-section-card__head svg {
  color: var(--brand-400);
}

.u-watch .u-toc-card .u-badge--soft {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
  color: #d7e6f0;
  box-shadow: none;
}

/* 播放页目录：纯文字白字，无边框无背景 */
.u-watch .u-toc-card .u-toc {
  gap: 2px 6px;
}

.u-watch .u-toc-card .u-toc a {
  min-height: 30px;
  padding: 0 8px;
  border-color: transparent;
  background: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.u-watch .u-toc-card .u-toc a:hover {
  border-color: transparent;
  background: transparent;
  color: var(--brand-400);
  box-shadow: none;
}

.u-watch .u-toc-card .u-toc li.is-current a {
  border-color: transparent;
  background: rgba(37, 216, 133, .14);
  color: #7ff0b8;
  font-weight: 800;
  box-shadow: inset 2px 0 0 var(--brand-500);
}

.u-watch .u-toc-card.is-scrollable::after {
  background: linear-gradient(180deg, rgba(10, 14, 20, 0), rgba(10, 14, 20, .96) 70%);
}

.u-watch .u-toc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .22);
}

.u-play {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--s-5);
  align-items: start;
  padding-top: var(--s-4);
}

.u-play__stage {
  min-width: 0;
}

/* 剧场：播放器 + 标题 + 操作包成一块黑色沉浸区（含播放器左右两侧） */
.u-theater {
  padding: 16px 16px 6px;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 26px 50px -32px rgba(6, 16, 30, .7);
}

.u-theater .player-shell {
  border-radius: 14px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.u-theater .player-shell .video-frame {
  background: #000;
}

.u-theater .u-play__titlebar {
  padding: 14px 6px 6px;
}

.u-theater .u-play__title {
  display: -webkit-box;
  flex: 1 1 auto;
  color: #fff;
  font-size: var(--fs-18);
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.u-theater .u-play__now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  padding: 0;
  background: transparent;
  color: #7ff0b8;
  font-size: var(--fs-12);
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
}

.u-theater .u-play__now svg {
  width: 13px;
  height: 13px;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(37, 216, 133, .55));
}

.u-play__name {
  margin-right: 8px;
}

.u-play__part {
  color: rgba(255, 255, 255, .56);
  font-size: var(--fs-14);
  font-weight: 600;
  white-space: nowrap;
}

.u-theater .u-play__metas {
  padding: 0 6px;
  margin-bottom: 12px;
}

.u-theater .u-play__metas .u-chip {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  color: #c6d6e3;
}

.u-theater .u-play__metas .u-chip strong {
  color: #fff;
}

.u-theater .u-play__actions {
  padding: 12px 6px 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 0;
}

.u-theater .kmenu {
  gap: 4px 8px;
}

/* 按钮栏：纯文字白字 + 语义图标，无边框无背景 */
.u-theater .kmenu li a {
  min-height: 32px;
  padding: 0 9px;
  border-color: transparent;
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.u-theater .kmenu li a svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: .88;
  transition: opacity .16s ease;
}

.u-theater .kmenu li a:hover svg {
  opacity: 1;
}

.u-theater .kmenu li a:hover {
  background: transparent;
  color: var(--brand-400);
}

.u-theater .kmenu li.prev a,
.u-theater .kmenu li.next a {
  background: transparent;
  color: #fff;
  font-weight: 800;
}

.u-theater .kmenu li.hd-play a {
  border-color: transparent;
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.u-theater .kmenu li.next a svg,
.u-theater .kmenu li.hd-play a svg {
  color: var(--brand-400);
  opacity: 1;
}

.u-theater .kmenu li.hd-play a:hover {
  border-color: transparent;
  background: transparent;
  color: var(--brand-400);
}

.u-theater .kmenu li.next a:hover {
  background: transparent;
  color: var(--brand-400);
}

.u-play__titlebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) 0 var(--s-3);
}

.u-play__title {
  flex: 1 1 320px;
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 800;
  line-height: 1.4;
}

.u-play__now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 0 0;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: var(--fs-12);
  font-weight: 700;
  vertical-align: middle;
}

.u-play__metas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-3);
}

.u-summary {
  list-style: none;
  cursor: pointer;
}

.u-summary::-webkit-details-marker {
  display: none;
}

.u-tip {
  margin: 0;
  color: var(--ink-500);
  font-size: var(--fs-13);
  line-height: 1.8;
}

.u-play__actions {
  padding: var(--s-3) 0 var(--s-4);
  border-bottom: 1px solid var(--line);
}

.u-play__aside {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .35) transparent;
}

.u-play__aside::-webkit-scrollbar {
  width: 6px;
}

.u-play__aside::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(100, 116, 139, .35);
}

.u-play__aside::-webkit-scrollbar-track {
  background: transparent;
}

.u-play__panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.u-play__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border-bottom: 1px solid var(--line-soft);
}

.u-play__panel-head h2 {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: 800;
}

.u-play__panel-body {
  flex: 1;
  padding: var(--s-3);
}

.u-play__panel-body .u-toc {
  grid-template-columns: 1fr;
}

/* 播放页课程目录：限高 300px + 内部滚动 + 分集按钮 */
.u-toc-card {
  position: relative;
}

.u-toc-card .u-section-card__head .u-badge {
  margin-left: auto;
}

.u-toc-card .u-toc {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 8px;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .32) transparent;
  scrollbar-gutter: stable;
  padding: 2px 4px 2px 2px;
}

.u-toc-card .u-toc::-webkit-scrollbar {
  width: 6px;
}

.u-toc-card .u-toc::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(100, 116, 139, .32);
}

.u-toc-card .u-toc::-webkit-scrollbar-track {
  background: transparent;
}

.u-toc-card .u-toc a {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-700);
  font-size: var(--fs-13);
  font-weight: 600;
  text-align: left;
  box-shadow: inset 3px 0 0 transparent;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.u-toc-card .u-toc a:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: inset 3px 0 0 var(--brand-400);
}

.u-toc-card .u-toc li.is-current a {
  border-color: rgba(18, 183, 106, .35);
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--brand-500);
}

/* 溢出提示：底部渐隐，滚到底自动隐藏 */
.u-toc-card.is-scrollable::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  height: 30px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .96) 70%);
  pointer-events: none;
}

.u-theater + .u-section-card {
  margin-top: var(--s-2);
}

/* --------------------------------------------------------------------------
   6. 搜索页
   -------------------------------------------------------------------------- */
.u-searchbar {
  display: flex;
  gap: 8px;
  max-width: 720px;
  margin: var(--s-4) 0 var(--s-2);
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}

.u-searchbar input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  font-size: var(--fs-14);
  outline: none;
}

/* --------------------------------------------------------------------------
   7. 广告位
   -------------------------------------------------------------------------- */
.u-ad {
  margin: var(--s-4) 0;
}

.u-ad img {
  display: block;
  width: 100%;
  border-radius: var(--r-md);
}

.u-ad--rail {
  margin: 0;
}

/* 侧栏广告：iframe 抹平白底边框，贴合公告卡 */
.u-ad--rail iframe {
  display: block;
  width: 100% !important;
  height: 332px !important;
  border: 0 !important;
  border-radius: 10px;
  background: #fff;
}

.u-notice__body .u-ad {
  margin: 0;
}

/* 内容页公告：把 680px 宽的大卡片压缩进 300px 侧栏 */
.u-aside #ad-wrap {
  min-height: 180px;
}

.u-aside #ad-wrap .edu-ad-card {
  max-width: none;
  margin: 0;
  padding: 12px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.u-aside #ad-wrap .ad-header {
  margin-bottom: 10px;
}

.u-aside #ad-wrap .header-green-line {
  width: 4px;
  height: 20px;
  margin-right: 9px;
  border-radius: 2px;
}

.u-aside #ad-wrap .title-group .main-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.u-aside #ad-wrap .title-group .sub-desc {
  margin-top: 2px;
  font-size: 12px;
}

.u-aside #ad-wrap .grade-btn-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.u-aside #ad-wrap .grade-link {
  padding: 8px 2px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u-aside #ad-wrap .grade-link:hover {
  transform: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .16);
}

.u-aside #ad-wrap .ad-footer-text {
  margin-top: 10px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
  white-space: pre-line;
}

/* --------------------------------------------------------------------------
   8. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .u-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .u-play {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .u-home-cats .u-cats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .u-hero {
    padding: var(--s-8) 0 var(--s-10);
  }

  .u-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .u-hero__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .u-layout,
  .u-play {
    grid-template-columns: 1fr;
  }

  .u-layout--2 {
    grid-template-columns: 1fr;
  }

  /* 目录收到播放器下方（全端统一） */
  .u-watch__grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .u-watch__aside {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .u-watch {
    padding: 4px 0 18px;
  }

  .u-play__aside {
    position: static;
    max-height: none;
    overflow: visible;
    margin-top: var(--s-5);
  }

  .u-toc-card .u-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .u-play__panel {
    max-height: none;
  }

  .u-play__panel-body {
    max-height: 420px;
  }

  .u-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .u-course {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .u-grid,
  .u-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3);
  }

  .u-hero__title {
    font-size: var(--fs-28);
  }

  .u-hero__side {
    display: flex;
    gap: var(--s-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .u-hero__card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .u-hero__stats {
    gap: var(--s-5);
  }

  .u-hero__stats strong {
    font-size: var(--fs-20);
  }

  .u-home-cats {
    margin-top: calc(var(--s-6) * -1);
  }

  .u-home-cats .u-cats {
    gap: 6px;
    padding: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .u-home-cats .u-cat {
    min-height: 44px;
    gap: 5px;
    padding: 5px 6px;
    font-size: 12.5px;
  }

  .u-home-cats .u-cat__icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .u-home-cats .u-cat__icon svg {
    width: 14px;
    height: 14px;
  }

  .u-course {
    grid-template-columns: 1fr;
    padding: var(--s-4);
  }

  .u-course__thumb {
    max-width: 100%;
  }

  .u-course__title {
    font-size: var(--fs-20);
  }

  .u-toc-card .u-toc {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .u-cat-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2);
  }

  .u-play__title {
    font-size: var(--fs-16);
  }

  .u-card__title {
    font-size: var(--fs-14);
  }

  .u-card__body {
    padding: 10px 12px 12px;
  }

  .u-card__media {
    aspect-ratio: 16 / 11;
  }

  .u-card__meta {
    gap: 6px;
  }

  .u-card__dot {
    display: none;
  }

  .u-card__tag {
    max-width: 68%;
    font-size: 11px;
  }

  .u-card__stat {
    font-size: 11px;
  }

  .u-theater {
    padding: 10px 10px 4px;
    border-radius: 16px;
  }

  .u-theater .u-play__title {
    font-size: var(--fs-16);
  }

  .u-play__part {
    display: block;
    margin: 4px 0 0;
  }

  .u-theater .u-play__metas .u-chip {
    font-size: 11px;
  }
}
