/* ============================================================
   LUMEN — 教程 / 产品图 站点样式
   ============================================================ */

:root {
  --bg: #08080a;
  --bg-2: #0b0b0f;
  --surface: #101015;
  --surface-2: #15151c;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f3f6;
  --muted: #9a9aa8;
  --muted-2: #6c6c7a;
  --accent: #ffb86b;
  --accent-2: #ff8a5c;
  --ink: #1a1206;
  --wrap: 1240px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei UI",
          "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
::selection { background: rgba(255, 184, 107, .28); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.hide-sm { display: inline-flex; }

.ic { width: 20px; height: 20px; flex: none; }

/* ---------------- 顶栏 ---------------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
}
.site-head.is-scrolled {
  background: rgba(8, 8, 10, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.site-head::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: -1;
  background: linear-gradient(to bottom, rgba(6, 6, 9, .78) 0%, rgba(6, 6, 9, .45) 45%, rgba(6, 6, 9, 0) 100%);
  pointer-events: none; transition: opacity .3s;
}
.site-head.is-scrolled::before { opacity: 0; }
.head-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 34px; height: 34px; color: var(--accent); display: block; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 15.5px; letter-spacing: .01em; }
.brand-text i {
  font-style: normal; font-size: 9.5px; letter-spacing: .22em;
  color: var(--muted-2); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--muted); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}

.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02);
  color: var(--muted); transition: .22s var(--ease); cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .06); }
.menu-btn { display: none; }

.mobile-nav {
  display: grid; gap: 2px; padding: 10px 20px 18px;
  background: rgba(8, 8, 10, .96); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  padding: 12px 10px; border-radius: 10px; font-size: 15px; color: var(--muted);
}
.mobile-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }

/* ---------------- 按钮 ---------------- */
.btn {
  --bg-btn: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .25s, border-color .25s, color .2s, box-shadow .25s;
  cursor: pointer;
}
.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--ink); border-color: transparent;
  box-shadow: 0 10px 30px -12px rgba(255, 160, 90, .7);
}
.btn-primary:hover { box-shadow: 0 16px 38px -12px rgba(255, 160, 90, .85); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--line-2); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: min(84vh, 820px);
  display: flex; align-items: flex-end; padding: 118px 0 76px; overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  transform: scale(1.06); animation: heroZoom 24s ease-out forwards;
  filter: saturate(1.05);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(8, 8, 10, .9) 30%, rgba(8, 8, 10, .46) 58%, rgba(8, 8, 10, .3) 100%),
    linear-gradient(100deg, rgba(8, 8, 10, .88) 0%, rgba(8, 8, 10, .52) 38%, rgba(8, 8, 10, .04) 76%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-empty {
  background:
    radial-gradient(900px 500px at 12% 18%, rgba(255, 184, 107, .16), transparent 62%),
    radial-gradient(700px 460px at 82% 8%, rgba(120, 150, 255, .14), transparent 60%),
    linear-gradient(180deg, #0a0a0e 0%, #08080a 100%);
  min-height: min(76vh, 700px);
}
.hero-inner { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 10px; margin-bottom: 22px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px);
  font-size: 12px; letter-spacing: .12em; color: #e8e8ee; text-transform: uppercase;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 184, 107, .7); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 184, 107, .55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 184, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 184, 107, 0); }
}
.hero-title {
  font-size: clamp(38px, 6.2vw, 76px); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.06; max-width: 15em; text-wrap: balance;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}
.hero-desc {
  margin-top: 20px; max-width: 34em; font-size: clamp(14px, 1.3vw, 16.5px);
  color: #c9c9d4; line-height: 1.75; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 30px; font-size: 12.5px; color: #b9b9c6;
}
.hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ic { width: 15px; height: 15px; opacity: .8; }
.tag-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--cat, var(--accent)); font-weight: 600; letter-spacing: .04em; }
.tag-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cat, var(--accent)); box-shadow: 0 0 12px var(--cat, var(--accent)); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px;
  display: grid; place-items: center; opacity: .55; transition: opacity .25s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span {
  width: 3px; height: 8px; border-radius: 2px; background: var(--text);
  animation: scrollDot 1.8s infinite var(--ease);
}
@keyframes scrollDot {
  0% { translate: 0 -6px; opacity: 0; }
  35% { opacity: 1; }
  100% { translate: 0 7px; opacity: 0; }
}

/* ---------------- 区块 ---------------- */
.section { padding: 86px 0; position: relative; }
.section-tight { padding: 46px 0 90px; }
.section-alt {
  background:
    radial-gradient(900px 380px at 80% 0%, rgba(255, 184, 107, .05), transparent 70%),
    #0a0a0e;
  border-block: 1px solid var(--line);
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 38px;
}
.eyebrow {
  display: block; font-size: 10.5px; letter-spacing: .3em; color: var(--muted-2);
  margin-bottom: 10px; font-weight: 600;
}
.sec-head h2, .about h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.sec-more {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted);
  padding-bottom: 4px; transition: color .2s, gap .2s;
}
.sec-more .ic { width: 16px; height: 16px; }
.sec-more:hover { color: var(--accent); gap: 11px; }

/* ---------------- 视频卡片 ---------------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 32px 22px; }
.vcard { display: block; }
.vcard-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.vcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.vcard:hover .vcard-media {
  border-color: rgba(255, 184, 107, .45);
  box-shadow: 0 22px 50px -28px rgba(255, 160, 90, .55);
  transform: translateY(-3px);
}
.vcard:hover .vcard-media img { transform: scale(1.055); filter: brightness(.82); }
.vcard-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .16); }
.vcard-glyph .ic { width: 42px; height: 42px; }
.vcard-play {
  position: absolute; inset: 0; display: grid; place-items: center; margin: auto;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  opacity: 0; scale: .86; transition: opacity .3s var(--ease), scale .3s var(--ease), background .3s;
}
.vcard-play .ic { width: 22px; height: 22px; margin-left: 2px; }
.vcard:hover .vcard-play { opacity: 1; scale: 1; background: rgba(255, 184, 107, .92); border-color: transparent; color: var(--ink); }
.badge-dur {
  position: absolute; right: 10px; bottom: 10px;
  padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600;
  background: rgba(0, 0, 0, .68); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .12); letter-spacing: .03em;
}
.badge-flow {
  position: absolute; left: 10px; top: 10px; padding: 2px 8px; border-radius: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  background: rgba(94, 234, 212, .16); color: #7ef2df;
  border: 1px solid rgba(94, 234, 212, .35); backdrop-filter: blur(6px);
}
.vcard-body { padding: 14px 2px 0; }
.vcard-cat {
  display: inline-block; font-size: 10.5px; letter-spacing: .16em; font-weight: 700;
  color: var(--cat, var(--accent)); margin-bottom: 7px;
}
.vcard-body h3 {
  font-size: 16.5px; font-weight: 650; line-height: 1.45; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em;
}
.vcard:hover h3 { color: #fff; }
.vcard-meta { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 12px; color: var(--muted-2); }
.dot { opacity: .5; }

/* ---------------- 图册卡片 ---------------- */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 30px 22px; }
.acard-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.acard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.acard:hover .acard-media { border-color: rgba(255, 184, 107, .4); transform: translateY(-3px); }
.acard:hover .acard-media img { transform: scale(1.05); filter: brightness(.86); }
.badge-count {
  position: absolute; left: 10px; top: 10px; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14);
}
.acard-body { padding: 13px 2px 0; }
.acard-body h3 { font-size: 15.5px; font-weight: 650; }
.acard-body p { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

/* ---------------- 首页产品图网格 ---------------- */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mtile {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.mtile-lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mtile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .4s;
}
.mtile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.mtile-cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 12.5px; font-weight: 600;
  opacity: 0; translate: 0 6px; transition: .35s var(--ease);
}
.mtile:hover img { transform: scale(1.06); filter: brightness(.9); }
.mtile:hover::after, .mtile:hover .mtile-cap { opacity: 1; translate: 0 0; }

/* ---------------- 关于 ---------------- */
.about { border-top: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 60px; align-items: start; }
.about-lead { margin-top: 18px; font-size: clamp(17px, 2vw, 21px); line-height: 1.62; color: #e6e6ee; letter-spacing: -.01em; text-wrap: pretty; }
.about-note { margin-top: 16px; color: var(--muted); max-width: 46em; text-wrap: pretty; }
.about-stats { display: flex; gap: 44px; margin-top: 34px; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats b { font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.about-stats span { font-size: 12px; color: var(--muted-2); letter-spacing: .06em; }
.about-card {
  padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
}
.about-card h3 { font-size: 15px; letter-spacing: .02em; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 13px; }
.ci {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 184, 107, .1); color: var(--accent); border: 1px solid rgba(255, 184, 107, .18);
}
.ci .ic { width: 18px; height: 18px; }
.contact-list i { display: block; font-style: normal; font-size: 11px; color: var(--muted-2); letter-spacing: .1em; }
.contact-list b { font-size: 14px; font-weight: 600; letter-spacing: .01em; }

/* ---------------- 页头（内页） ---------------- */
.page-hero {
  padding: 132px 0 40px;
  background: radial-gradient(700px 320px at 10% 0%, rgba(255, 184, 107, .08), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.035em; font-weight: 800; }
.page-sub { margin-top: 14px; color: var(--muted); max-width: 60em; }
.page-sub b { color: var(--text); }

/* ---------------- 筛选条 ---------------- */
.filterbar {
  position: sticky; top: 74px; z-index: 60;
  background: rgba(8, 8, 10, .82); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.filter-inner { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  height: 34px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  font-size: 13px; color: var(--muted); transition: .22s var(--ease); cursor: pointer;
}
.chip span { font-size: 11px; opacity: .6; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-on {
  color: var(--ink); background: var(--cat, var(--accent)); border-color: transparent; font-weight: 650;
}
.chip.is-on span { opacity: .65; }
.searchbox {
  display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none;
  height: 38px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background .2s;
}
.searchbox:focus-within { border-color: rgba(255, 184, 107, .5); background: rgba(255, 255, 255, .05); }
.searchbox .ic { width: 17px; height: 17px; color: var(--muted-2); }
.searchbox input {
  width: 210px; border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 13.5px; outline: 0;
}
.searchbox input::placeholder { color: var(--muted-2); }
.searchbox input::-webkit-search-cancel-button { display: none; }
.search-clear { display: grid; place-items: center; width: 20px; height: 20px; color: var(--muted-2); }
.search-clear .ic { width: 14px; height: 14px; }

/* ---------------- 面包屑 ---------------- */
.crumbs {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 104px 0 26px; font-size: 12.5px; color: var(--muted-2);
}
.crumbs a:hover { color: var(--accent); }
.crumbs b { color: var(--text); font-weight: 500; }
.crumbs span { opacity: .45; }
.page-watch .crumbs, .page-album .crumbs { padding-top: 100px; }

/* ---------------- 播放页 ---------------- */
.watch { padding: 0 0 100px; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 342px; gap: 42px; align-items: start; }

.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: #000; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .95);
}
.player-video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.player-cover {
  position: absolute; inset: 0; background: #0d0d12 center/cover no-repeat;
  display: grid; place-items: center; cursor: pointer; z-index: 3;
  transition: opacity .4s var(--ease), visibility .4s;
}
.player-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .55)); }
.player-cover.is-hidden { opacity: 0; visibility: hidden; }
.player-big {
  position: relative; z-index: 2; width: 86px; height: 86px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: .3s var(--ease);
}
.player-big svg { width: 30px; height: 30px; margin-left: 4px; }
.player-big:hover { background: var(--accent); color: var(--ink); border-color: transparent; scale: 1.05; }
.player-big-ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); animation: ring 2.8s infinite; }
@keyframes ring {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}

.player-ui {
  position: absolute; inset: auto 0 0; z-index: 4; padding: 42px 16px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .35) 55%, transparent);
  opacity: 0; translate: 0 6px; transition: opacity .28s, translate .28s;
}
.player:hover .player-ui, .player.is-paused .player-ui, .player.is-ui .player-ui { opacity: 1; translate: 0 0; }
.player.is-playing.idle { cursor: none; }
.player.is-playing.idle .player-ui { opacity: 0; }

.p-progress { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; }
.p-progress::before {
  content: ""; position: absolute; inset: 7px 0; border-radius: 99px; background: rgba(255, 255, 255, .18);
}
.p-buffer { position: absolute; left: 0; top: 7px; bottom: 7px; width: 0; border-radius: 99px; background: rgba(255, 255, 255, .3); }
.p-played { position: absolute; left: 0; top: 7px; bottom: 7px; width: 0; border-radius: 99px; background: var(--accent); }
.p-played i {
  position: absolute; right: 0; top: 50%; translate: 50% -50%;
  width: 12px; height: 12px; border-radius: 50%; background: #fff; scale: 0;
  transition: scale .2s var(--ease); box-shadow: 0 0 0 4px rgba(255, 184, 107, .25);
}
.player:hover .p-played i { scale: 1; }

.p-row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.p-btn {
  width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px;
  background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s;
}
.p-btn:hover { background: rgba(255, 255, 255, .14); }
.p-btn svg { width: 19px; height: 19px; }
.p-btn .i-pause, .player.is-playing .p-btn .i-play { display: none; }
.player.is-playing .p-btn .i-pause { display: block; }
.p-btn .i-mute { display: none; }
.player.is-muted .p-btn .i-mute { display: block; }
.player.is-muted .p-btn .i-vol { display: none; }
.p-time { font-size: 12px; color: rgba(255, 255, 255, .82); font-variant-numeric: tabular-nums; margin-left: 4px; letter-spacing: .02em; }
.p-time b { font-weight: 600; color: #fff; }
.p-spacer { flex: 1; }
.p-vol { display: flex; align-items: center; }
.p-vol-range {
  width: 0; opacity: 0; accent-color: var(--accent); transition: width .25s var(--ease), opacity .2s, margin .25s;
  height: 4px; cursor: pointer;
}
.p-vol:hover .p-vol-range, .p-vol-range:focus-visible { width: 72px; opacity: 1; margin-left: 4px; }
.p-rate { width: auto; min-width: 46px; padding: 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.player-toast {
  position: absolute; left: 50%; top: 18px; translate: -50% 0; z-index: 6;
  padding: 6px 14px; border-radius: 8px; font-size: 12.5px;
  background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12); opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.player-toast.is-on { opacity: 1; }
.player-resume {
  position: absolute; left: 50%; bottom: 24%; translate: -50% 0; z-index: 3;
  height: 38px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 550;
  transition: .2s var(--ease);
}
.player-resume:hover { background: var(--accent); color: var(--ink); border-color: transparent; }
.player-fallback { position: absolute; inset: 0; display: grid; place-items: center; gap: 14px; text-align: center; color: var(--muted); }
.player-fallback .ic { width: 40px; height: 40px; opacity: .5; margin: 0 auto; }
.player-broken { display: grid; place-items: center; background: var(--surface); }
.player-error {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(30, 22, 18, .92), rgba(8, 8, 10, .97));
  text-align: center; padding: 24px;
}
.player-error-box { max-width: 420px; display: grid; justify-items: center; gap: 10px; }
.player-error-box svg { width: 34px; height: 34px; color: var(--accent); opacity: .9; }
.player-error-box b { font-size: 16px; }
.player-error-box p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.hint-inline { font-size: 12.5px; color: var(--muted-2); }

.watch-head { padding: 30px 0 0; }
.watch-head h1 { font-size: clamp(24px, 3.2vw, 38px); letter-spacing: -.03em; margin-top: 12px; text-wrap: balance; }
.watch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
.watch-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.watch-meta .ic { width: 15px; height: 15px; }
.meta-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  height: 32px; padding: 0 13px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  font-size: 12.5px; color: var(--muted); transition: .2s;
}
.meta-btn:hover { color: var(--text); border-color: var(--line-2); }
.meta-btn.is-done { color: var(--accent); border-color: rgba(255, 184, 107, .4); }
.meta-btn .ic { width: 15px; height: 15px; }

.watch-desc {
  margin-top: 30px; padding: 24px 26px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .022);
}
.watch-desc h3 { font-size: 12px; letter-spacing: .16em; color: var(--muted-2); font-weight: 600; margin-bottom: 12px; }
.watch-desc p { color: #cfcfda; line-height: 1.85; }
.watch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.watch-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.wnav {
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); transition: .25s var(--ease); min-width: 0;
}
.wnav i { display: block; font-style: normal; font-size: 11px; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 6px; }
.wnav b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wnav:hover { border-color: rgba(255, 184, 107, .4); background: rgba(255, 184, 107, .05); }
.wnav-r { text-align: right; }

.watch-side { position: sticky; top: 100px; padding-top: 8px; }
.side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.side-head h3 { font-size: 13px; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
.side-title-link { color: inherit; transition: color .2s; }
.side-title-link:hover { color: var(--accent); }
.side-head span { font-size: 11px; color: var(--muted-2); }
.related-list { display: grid; gap: 12px; }
.rel { display: flex; gap: 12px; padding: 6px; border-radius: 12px; transition: background .22s; }
.rel:hover { background: rgba(255, 255, 255, .045); }
.rel-thumb {
  position: relative; width: 104px; flex: none; aspect-ratio: 16 / 10; border-radius: 9px;
  overflow: hidden; background: var(--surface-2); border: 1px solid var(--line);
}
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel-thumb i {
  position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 10px;
  padding: 0 5px; border-radius: 4px; background: rgba(0, 0, 0, .7);
}
.rel-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.rel-body b {
  font-size: 13.5px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rel-body i { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.side-all {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px;
  height: 40px; border-radius: 11px; border: 1px solid var(--line); font-size: 13px; color: var(--muted);
  transition: .22s;
}
.side-all:hover { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.side-all .ic { width: 15px; height: 15px; }
.side-empty { font-size: 13px; color: var(--muted-2); padding: 20px 0; }

/* ---------------- 图册详情 ---------------- */
.album-head { padding: 10px 0 34px; border-bottom: 1px solid var(--line); }
.album-head-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.album-head h1 { font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -.035em; }
.album-head p { margin-top: 14px; color: var(--muted); max-width: 52em; }
.album-count { text-align: right; flex: none; }
.album-count b { display: block; font-size: 46px; font-weight: 750; letter-spacing: -.04em; line-height: 1; color: rgba(255, 255, 255, .9); }
.album-count span { font-size: 9.5px; letter-spacing: .3em; color: var(--muted-2); }

.shots { columns: var(--cols, 3); column-gap: 16px; }
.shot { margin: 0 0 16px; break-inside: avoid; cursor: zoom-in; }
.shot-frame {
  position: relative; padding-top: var(--pad); border-radius: 12px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.shot-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .35s;
}
.shot:hover .shot-frame img { transform: scale(1.03); filter: brightness(.88); }
.shot figcaption { margin-top: 8px; font-size: 12px; color: var(--muted-2); padding-left: 2px; }

/* ---------------- 灯箱 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(4, 4, 6, .94); backdrop-filter: blur(14px);
  animation: lbIn .25s var(--ease);
}
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { margin: 0; max-width: min(92vw, 1500px); display: grid; gap: 14px; justify-items: center; }
.lb-stage img {
  max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
}
.lb-stage figcaption { font-size: 13px; color: var(--muted); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .07);
  color: #fff; cursor: pointer; transition: .2s var(--ease); backdrop-filter: blur(10px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .16); }
.lb-close { top: 24px; right: 26px; }
.lb-prev { left: 26px; top: 50%; translate: 0 -50%; }
.lb-next { right: 26px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font-size: 12px; letter-spacing: .12em; color: var(--muted); }

/* ---------------- 空状态 ---------------- */
.empty {
  text-align: center; padding: 70px 24px; border-radius: var(--r-lg);
  border: 1px dashed rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .012);
}
.empty-icon {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 16px;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(255, 184, 107, .1); border: 1px solid rgba(255, 184, 107, .18);
}
.empty h3 { font-size: 17px; margin-bottom: 8px; }
.empty p { color: var(--muted); font-size: 13.5px; max-width: 36em; margin: 0 auto 22px; }

/* ---------------- 页脚 ---------------- */
.site-foot { border-top: 1px solid var(--line); padding: 60px 0 30px; background: #070709; }
.foot-top { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; padding-bottom: 40px; }
.foot-brand { display: flex; gap: 13px; align-items: flex-start; max-width: 26em; }
.foot-brand b { font-size: 16px; }
.foot-brand p { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); }
.foot-cols { display: flex; gap: 70px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 { font-size: 11px; letter-spacing: .18em; color: var(--muted-2); font-weight: 600; margin-bottom: 4px; }
.foot-col a, .foot-col span { font-size: 13px; color: var(--muted); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2);
}

/* ---------------- 入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------------- 系列 / 章节 / 续看 ---------------- */
.series-tag {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 12px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 184, 107, .07); font-size: 12px; color: var(--accent);
  transition: .2s var(--ease);
}
.series-tag span { color: var(--muted-2); font-size: 11.5px; }
.series-tag:hover { border-color: rgba(255, 184, 107, .45); background: rgba(255, 184, 107, .12); }
.page-watch .watch-head h1 { margin-top: 10px; }

.chapters {
  margin-top: 22px; border-radius: var(--r); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .022); overflow: hidden;
}
.chapters-head {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.chapters-head h3 { font-size: 12px; letter-spacing: .16em; color: var(--muted-2); font-weight: 600; }
.chapters-head span { font-size: 11.5px; color: var(--muted-2); opacity: .7; }
.chapter-list { list-style: none; margin: 0; padding: 0; }
.chapter-list li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.chap {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 22px;
  background: none; border: 0; text-align: left; cursor: pointer; color: var(--text);
  transition: background .18s, color .18s;
}
.chap:hover { background: rgba(255, 184, 107, .07); }
.chap-t {
  font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--accent);
  font-weight: 600; letter-spacing: .02em; flex: none; min-width: 46px;
}
.chap-n { flex: 1; font-size: 13.5px; color: #dcdce6; }
.chap:hover .chap-n { color: #fff; }
.chap-go { opacity: 0; color: var(--accent); transition: opacity .2s; }
.chap-go .ic { width: 15px; height: 15px; }
.chap:hover .chap-go { opacity: 1; }

/* 侧栏：系列目录 */
.ep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ep {
  display: flex; gap: 11px; padding: 9px 10px; border-radius: 11px;
  border: 1px solid transparent; transition: .18s var(--ease);
}
.ep:hover { background: rgba(255, 255, 255, .045); }
.ep.is-on { background: rgba(255, 184, 107, .1); border-color: rgba(255, 184, 107, .28); }
.ep-no {
  flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; color: var(--muted-2);
  background: rgba(255, 255, 255, .05); font-variant-numeric: tabular-nums;
}
.ep.is-on .ep-no { background: var(--accent); color: var(--ink); }
.ep-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ep-body b {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-body i { font-style: normal; font-size: 11px; color: var(--muted-2); }
.ep.is-on .ep-body b { color: #fff; }
.series-desc {
  font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: -4px 0 14px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* 系列详情页 */
.series-hero {
  padding: 34px 0 46px; border-bottom: 1px solid var(--line);
  background: radial-gradient(760px 380px at 12% 0%, rgba(255, 184, 107, .09), transparent 70%);
}
.series-hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: center; }
.series-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; margin-top: 10px; }
.series-hero-text p { margin-top: 14px; color: var(--muted); line-height: 1.75; max-width: 44em; }
.series-meta { display: flex; gap: 18px; margin: 18px 0 26px; font-size: 12.5px; color: var(--muted-2); }
.series-meta span { display: inline-flex; align-items: center; gap: 6px; }
.series-meta .ic { width: 15px; height: 15px; }
.series-hero-cover { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.series-hero-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* 系列卡片（首页 / 教程库） */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 28px 22px; }
.scard { display: block; }
.scard-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.scard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.scard:hover .scard-media {
  border-color: rgba(255, 184, 107, .4); transform: translateY(-3px);
  box-shadow: 0 22px 46px -28px rgba(255, 160, 90, .5);
}
.scard:hover .scard-media img { transform: scale(1.045); filter: brightness(.85); }
.scard-body { padding: 13px 2px 0; }
.scard-body h3 { font-size: 15.5px; font-weight: 650; }
.scard-body p { margin-top: 5px; font-size: 12px; color: var(--muted-2); }

/* 教程库顶部的系列条 */
.series-strip { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.series-strip .wrap { display: flex; align-items: center; gap: 12px; padding-block: 12px; overflow-x: auto; }
.series-strip .label { flex: none; font-size: 11px; letter-spacing: .16em; color: var(--muted-2); }
.series-chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text); background: rgba(255, 255, 255, .02); transition: .2s;
}
.series-chip span { color: var(--muted-2); font-size: 11px; }
.series-chip:hover { border-color: rgba(255, 184, 107, .42); color: var(--accent); }

.ep-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px 20px; }.ep-card { display: block; }
.ep-card-media {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 13px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.ep-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.ep-card:hover .ep-card-media { border-color: rgba(255, 184, 107, .4); transform: translateY(-2px); }
.ep-card:hover .ep-card-media img { transform: scale(1.04); filter: brightness(.85); }
.ep-card-no {
  position: absolute; left: 10px; top: 10px; padding: 1px 8px; border-radius: 7px;
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
}
.ep-card-body { display: block; padding: 12px 2px 0; }
.ep-card-body b { display: block; font-size: 15px; font-weight: 650; line-height: 1.45; }
.ep-card-body p { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

/* 继续观看 */
.resume-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.vcard-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18);
}
.vcard-progress i { display: block; height: 100%; background: var(--accent); }
.resume-badge {
  position: absolute; left: 10px; top: 10px; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; background: rgba(255, 184, 107, .92); color: var(--ink);
}

/* ---------------- 恒域：品牌 Hero / 栏目 / 文档 ---------------- */
.hero-brand {
  min-height: min(76vh, 700px);
  background:
    radial-gradient(900px 500px at 12% 6%, rgba(255, 184, 107, .15), transparent 62%),
    radial-gradient(760px 460px at 88% 2%, rgba(96, 140, 255, .13), transparent 60%),
    linear-gradient(180deg, #0a0a11 0%, #08080a 100%);
}
.hero-brand .hero-veil { background: linear-gradient(to top, var(--bg) 0%, rgba(8, 8, 10, .35) 40%, transparent 100%); }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  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: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 76%);
}
.hero-en {
  margin-top: 14px; font-size: 11.5px; letter-spacing: .42em; color: rgba(255, 255, 255, .55);
  font-weight: 500;
}
.hero-words {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px;
  font-size: 10px; letter-spacing: .3em; color: rgba(255, 255, 255, .38);
}
.hero-words i { font-style: normal; opacity: .5; }

.chgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 14px; }
.chcard {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 24px 22px 20px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: border-color .28s var(--ease), transform .28s var(--ease), background .28s;
  overflow: hidden;
}
.chcard::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(255, 184, 107, .16), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.chcard:hover { border-color: rgba(255, 184, 107, .38); transform: translateY(-3px); }
.chcard:hover::after { opacity: 1; }
.chcard-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 184, 107, .1); color: var(--accent); border: 1px solid rgba(255, 184, 107, .18);
  margin-bottom: 10px;
}
.chcard-icon .ic { width: 20px; height: 20px; }
.chcard-en { font-size: 9.5px; letter-spacing: .24em; color: var(--muted-2); }
.chcard b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.chcard p { font-size: 12.5px; color: var(--muted); line-height: 1.6; min-height: 2.6em; }
.chcard-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 11.5px; color: var(--muted-2);
}
.chcard:hover .chcard-meta { color: var(--accent); }
.chcard-meta .ic { width: 14px; height: 14px; transition: transform .25s; }
.chcard:hover .chcard-meta .ic { transform: translateX(3px); }
.chgrid-sm .chcard { padding: 20px 18px 16px; }

.badge-type {
  position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600;
  background: rgba(0, 0, 0, .58); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
}
.badge-type .ic { width: 12px; height: 12px; }
.rcard-media { background-size: cover; }
.rcard-icon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .34); }
.rcard-icon .ic { width: 34px; height: 34px; }
.rcard:hover .rcard-icon { color: rgba(255, 255, 255, .62); }
.rcard.is-off { opacity: .7; cursor: default; }

.section-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.section-pill {
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.section-pill b { color: var(--text); font-weight: 600; }

/* 文档页 */
.doc { padding: 10px 0 40px; }
.doc-wrap { max-width: 820px; }
.doc-head h1 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.03em; margin-top: 10px; }
.doc-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px;
  font-size: 12.5px; color: var(--muted-2);
}
.doc-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.doc-meta .ic { width: 15px; height: 15px; }
.doc-desc { color: var(--muted); }
.doc-cover { margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.doc-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.doc-body { margin-top: 34px; }
.rt { color: #d6d6e0; font-size: 15px; line-height: 1.9; }
.rt > * + * { margin-top: 16px; }
.rt h2 { font-size: 22px; margin-top: 38px; color: var(--text); letter-spacing: -.02em; }
.rt h3 { font-size: 18px; margin-top: 30px; color: var(--text); }
.rt h4 { font-size: 15.5px; margin-top: 24px; color: var(--text); }
.rt p { margin: 0; }
.rt ul, .rt ol { padding-left: 22px; margin: 0; }
.rt li { margin: 6px 0; }
.rt li::marker { color: var(--accent); }
.rt strong { color: #fff; font-weight: 650; }
.rt a { color: var(--accent); border-bottom: 1px solid rgba(255, 184, 107, .35); }
.rt code {
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace; font-size: 13px;
  padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .07);
  color: #ffd9ae;
}
.rt pre {
  padding: 16px 18px; border-radius: 12px; overflow-x: auto;
  background: #0b0b10; border: 1px solid var(--line);
}
.rt pre code { background: none; padding: 0; color: #cfd6e4; font-size: 12.5px; line-height: 1.75; }
.rt blockquote {
  margin: 0; padding: 12px 18px; border-left: 2px solid var(--accent);
  background: rgba(255, 184, 107, .06); border-radius: 0 10px 10px 0; color: var(--muted);
}
.doc-foot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }

/* 关于页 */
.about-hero { padding-bottom: 46px; }
.about-en { margin-top: 8px; font-size: 13px; letter-spacing: .18em; color: var(--muted-2); }
.intro-words { margin-top: 18px; }
.about-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 54px; align-items: start; }
.about-main h2 { font-size: 22px; margin: 34px 0 12px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { color: var(--muted); line-height: 1.85; }
.about-list { margin: 16px 0; padding-left: 20px; color: var(--muted); line-height: 1.9; }
.about-list b { color: var(--text); }
.about-list li::marker { color: var(--accent); }
.about-channels { display: grid; gap: 8px; margin-top: 8px; }
.about-channel {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line); transition: .2s;
}
.about-channel:hover { border-color: rgba(255, 184, 107, .35); background: rgba(255, 255, 255, .03); }
.about-channel .chcard-icon { margin: 0; width: 34px; height: 34px; border-radius: 10px; }
.about-channel > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.about-channel b { font-size: 14px; font-weight: 600; }
.about-channel i { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.about-channel em { font-style: normal; font-size: 12px; color: var(--muted-2); }
.about-side { display: grid; gap: 14px; }
.kv-list { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 12.5px; color: var(--muted-2); }
.kv-list b { color: var(--text); font-weight: 500; }

/* 搜索页 */
.search-hero { padding-bottom: 40px; }
.search-big {
  display: flex; align-items: center; gap: 12px; margin-top: 24px; max-width: 620px;
  height: 54px; padding: 0 8px 0 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
}
.search-big:focus-within { border-color: rgba(255, 184, 107, .5); }
.search-big .ic { width: 20px; height: 20px; color: var(--muted-2); }
.search-big input {
  flex: 1; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: 0;
}
.search-hint { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); }

.foot-en { font-size: 11px; letter-spacing: .14em; color: var(--muted-2); font-weight: 400; margin-left: 6px; }
.foot-n { color: var(--muted-2); font-size: 11px; margin-left: 4px; }

/* 交互内容（流程图 / Demo 内嵌） */
.flow-block { margin-top: 26px; }
.flow-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 14px;
}
.flow-head h2 { font-size: 20px; letter-spacing: -.02em; }
.flow-head p { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.flow-frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: #080e1a; box-shadow: 0 30px 70px -50px rgba(0, 0, 0, .9);
}
.flow-frame iframe { display: block; width: 100%; height: 780px; border: 0; background: #080e1a; }
@media (max-width: 860px) { .flow-frame iframe { height: 540px; } .flow-head { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* 空栏目占位 */
.soon {
  text-align: center; padding: 66px 26px 58px; border-radius: var(--r-lg);
  border: 1px dashed rgba(255, 255, 255, .14);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 184, 107, .07), transparent 70%),
    rgba(255, 255, 255, .012);
}
.soon-icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 17px;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(255, 184, 107, .1); border: 1px solid rgba(255, 184, 107, .2);
}
.soon-icon .ic { width: 26px; height: 26px; }
.soon-tag {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 10.5px; letter-spacing: .16em; color: var(--muted-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.soon h3 { margin: 16px 0 0; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.02em; }
.soon p { margin: 10px auto 0; max-width: 40em; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.soon-topics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.soon-topics span {
  padding: 4px 13px; border-radius: 999px; font-size: 12px;
  color: #c9c9d4; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
}
.soon-note { margin-top: 24px; font-size: 11.5px; color: var(--muted-2); opacity: .8; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .watch-grid { grid-template-columns: 1fr; gap: 34px; }
  .watch-side { position: static; }
  .related-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .shots { columns: 2; }
  .series-hero-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .head-inner { height: 64px; gap: 12px; }
  .head-actions { margin-left: auto; }
  .brand-text i { display: none; }
  .hide-sm { display: none; }
  .filterbar { top: 64px; }
  .filter-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .searchbox { margin-left: 0; }
  .searchbox input { width: 100%; }
  .hero { min-height: 78vh; padding: 100px 0 70px; }
  .hero-meta { gap: 12px 16px; }
  .section { padding: 64px 0; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .mtile-lg { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
  .vgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 16px; }
  .watch-nav { grid-template-columns: 1fr; }
  .wnav-r { text-align: left; }
  .shots { columns: 1; }
  .foot-top { flex-direction: column; gap: 34px; }
  .foot-cols { gap: 44px; }
  .page-hero { padding: 108px 0 32px; }
  .album-head-inner { flex-direction: column; align-items: flex-start; }
  .album-count { display: none; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 34px; }
  .hero-actions .btn { flex: 1 1 0; }
  .about-stats { gap: 30px; }
  .vgrid { grid-template-columns: 1fr; }
  .rel-thumb { width: 96px; }
  .p-time { font-size: 11px; }
  .p-vol-range { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
