/* ==========================================================================
   万小灵 · 7天邀约工具包   展示站样式
   页面：index.html（首页） / posters.html（海报） / drama.html（短剧） / copy.html（文案）
   ========================================================================== */

:root {
  --ink: #070d20;
  --ink-2: #0c1734;
  --blue: #1f5bff;
  --blue-2: #4c86ff;
  --blue-soft: #eaf0ff;
  --orange: #ff6b2c;
  --orange-soft: #fff0e8;
  --lime: #c9f45e;
  --bg: #ffffff;
  --tint: #f5f7fc;
  --text: #0a1533;
  --muted: #5a6784;
  --muted-2: #8894ac;
  --line: #e5e9f3;
  --line-2: #eef1f8;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(10, 21, 51, .04), 0 6px 18px -8px rgba(10, 21, 51, .12);
  --shadow-md: 0 2px 4px rgba(10, 21, 51, .04), 0 24px 48px -20px rgba(10, 21, 51, .22);
  --maxw: 1320px;
  --ease: cubic-bezier(.22, .68, .24, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 内容不足一屏时，页脚仍贴在视口底部 */
main { flex: 1 0 auto; }

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

/* ------------------------------------------------------------- 通用元素 -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--orange);
  letter-spacing: .06em;
}
.eyebrow__num::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: currentColor;
  opacity: .45;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, .18);
}
.eyebrow--light { color: var(--muted); }
.band .eyebrow { color: var(--muted); }
.band .eyebrow__num { color: #2b5cff; }
.band .eyebrow__num::after { opacity: .45; }
.band .eyebrow__dot { background: #366cff; box-shadow: 0 0 0 4px rgba(54, 108, 255, .18); }

.sec-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.16; letter-spacing: -.028em; }
.sec-desc { max-width: 640px; margin-top: 16px; font-size: 15px; line-height: 1.85; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #2b66ff, #1440d8);
  box-shadow: 0 12px 28px -12px rgba(31, 91, 255, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(31, 91, 255, .9); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.btn--line { border: 1px solid var(--line); color: var(--text); background: #fff; }
.btn--line:hover { border-color: #c9d2e6; background: #f7f9ff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 13.5px; }

/* 浅蓝底纹上的按钮 */
.band .btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #3a72ff, #1a45d8);
  box-shadow: 0 16px 32px -16px rgba(31, 91, 255, .85);
}
.band .btn--primary:hover { box-shadow: 0 20px 38px -16px rgba(31, 91, 255, .95); }
.band .btn--ghost {
  color: var(--blue);
  background: #fff;
  border: 1px solid #cbdcfb;
  box-shadow: 0 10px 24px -18px rgba(23, 49, 120, .5);
}
.band .btn--ghost:hover { background: #f4f8ff; border-color: #a9c5f8; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--blue);
  background: var(--blue-soft);
}
.pill--orange { color: #d8490d; background: var(--orange-soft); }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 14px;
  color: inherit;
  background: rgba(255, 255, 255, .1);
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }

/* ------------------------------------------------------------- 顶部导航 -- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 16px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  /* 顶栏左右贴边，与内容区（1320 居中）分离 */
  max-width: none;
  padding: 0 40px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo {
  display: block;
  height: 38px;
  width: auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__text strong { font-size: 15.5px; font-weight: 800; letter-spacing: .02em; }
.brand__text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted-2);
  transition: color .35s;
}

.nav { display: flex; gap: 4px; margin-left: auto; margin-right: -16px; }
.nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: #eaf1fd; }
.nav a.is-active { color: var(--blue); background: var(--blue-soft); }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px; height: 42px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid rgba(54, 108, 255, .18);
  background: #fff;
  box-shadow: 0 6px 16px -10px rgba(10, 21, 51, .35);
}
.nav-toggle span {
  display: block;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .2s;
}
.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); }

body:not(.at-top) .site-header {
  padding: 10px 0;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-2);
  box-shadow: 0 8px 30px -22px rgba(10, 21, 51, .4);
}

/* --------------------------------------------------------- 浅蓝底纹区块 -- */
.band {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(158deg, #f4f9ff 0%, #e7f2fd 46%, #d7eafd 100%);
  border-bottom: 1px solid rgba(54, 108, 255, .1);
}

/* 点阵 */
.band__grid {
  position: absolute; inset: -8% -8% 0;
  background-image: radial-gradient(rgba(54, 108, 255, .26) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
  pointer-events: none;
}

/* 柔光 */
.band__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.band__glow--a {
  width: 620px; height: 620px; top: -300px; left: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, .95), transparent 66%);
}
.band__glow--b {
  width: 520px; height: 520px; top: 40px; right: -140px;
  background: radial-gradient(circle, rgba(120, 170, 255, .5), transparent 70%);
}

/* 同心圆 */
.band__rings {
  position: absolute;
  top: -140px; right: -110px;
  width: 560px; height: 560px;
  pointer-events: none;
}
.band__rings i {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(54, 108, 255, .2);
}
.band__rings i:nth-child(1) { inset: 0; }
.band__rings i:nth-child(2) { inset: 76px; border-color: rgba(54, 108, 255, .14); }
.band__rings i:nth-child(3) { inset: 158px; border-color: rgba(54, 108, 255, .09); }

/* 转角卡片 */
.band__square {
  position: absolute;
  left: -90px; bottom: -130px;
  width: 300px; height: 300px;
  border-radius: 62px;
  border: 1.5px solid rgba(54, 108, 255, .16);
  transform: rotate(16deg);
  pointer-events: none;
}
.band__square::after {
  content: "";
  position: absolute;
  inset: 46px;
  border-radius: 44px;
  border: 1.5px solid rgba(54, 108, 255, .1);
}

/* ------------------------------------------------------------------ 首页 -- */
.hero {
  display: flex;
  align-items: center;
  min-height: 400px;
  padding: 70px 0 0;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 40px;
  padding-bottom: 10px;
}
.hero__title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, #1440d8 0%, #366cff 45%, #6fa2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 560px;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.92;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.hero__art { position: relative; min-height: 300px; display: grid; place-items: center; }
.art-stack { position: relative; display: flex; align-items: center; justify-content: center; transition: transform .5s var(--ease); }
.hero__art:hover .art-stack { transform: scale(1.035); }
.art-card {
  position: relative;
  width: clamp(106px, 11.4vw, 160px);
  aspect-ratio: 9 / 16;
  margin: 0 -14px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #fff;
  background: #eaf2ff;
  cursor: pointer;
  box-shadow: 0 26px 50px -24px rgba(23, 49, 120, .45), 0 2px 8px rgba(23, 49, 120, .1);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}
.art-card img { width: 100%; height: 100%; object-fit: cover; }
.art-card:hover { box-shadow: 0 34px 60px -22px rgba(23, 49, 120, .55), 0 0 0 3px rgba(54, 108, 255, .35); }
.art-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.art-zoom {
  position: absolute;
  right: 8px; bottom: 8px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #0a1533;
  background: rgba(255, 255, 255, .92);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s var(--ease);
}
.art-zoom svg { width: 14px; height: 14px; }
.art-card:hover .art-zoom { opacity: 1; transform: none; }
.art-card--1 { transform: rotate(-9deg) translateY(14px); z-index: 1; }
.art-card--2 { transform: rotate(2deg) translateY(-14px); z-index: 3; width: clamp(118px, 12.4vw, 174px); }
.art-card--3 { transform: rotate(9deg) translateY(18px); z-index: 2; }
.hero__art:hover .art-card--1 { transform: rotate(-13deg) translateY(6px); }
.hero__art:hover .art-card--2 { transform: rotate(2deg) translateY(-24px) scale(1.02); }
.hero__art:hover .art-card--3 { transform: rotate(13deg) translateY(10px); }



/* 首页入口卡 */
.entries-sec { padding: clamp(12px, 1.6vw, 20px) 0 clamp(4px, 0.6vw, 8px); }
.entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.entry {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.entry:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d5def1; }
.entry__cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1738; }
.entry__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transition: transform .6s var(--ease);
  opacity: .92;
}
.entry:hover .entry__cover img { transform: scale(1.04); }
.entry__cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 32, .35) 0%, rgba(7, 13, 32, 0) 42%, rgba(7, 13, 32, .55) 100%);
}
.entry__num {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #1440d8;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 16px -10px rgba(10, 21, 51, .6);
}
.entry__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 70px; height: 70px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 0 0 22px rgba(0, 0, 0, .28);
  transition: transform .3s var(--ease), border-color .25s, box-shadow .25s;
}
.entry__play svg {
  width: 32px; height: 32px;
  margin-left: 3px;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .55));
}
.entry:hover .entry__play {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .35);
}
.entry__body { display: block; padding: 18px 22px 20px; }
.entry__kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--orange);
}
.entry__title {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.entry__desc {
  display: block;
  margin-top: 11px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.entry__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
}
.entry__more i { font-style: normal; transition: transform .25s var(--ease); }
.entry:hover .entry__more i { transform: translateX(4px); }

/* ---------------------------------------------------------- 内页页头 -- */
.page-hero {
  display: flex;
  align-items: center;
  min-height: 400px;
  padding: 88px 0;
}
.page-hero__inner { position: relative; }
.page-hero h1 {
  font-size: clamp(30px, 4.3vw, 54px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.page-hero__desc {
  max-width: 620px;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #33507f;
  background: #fff;
  border: 1px solid rgba(54, 108, 255, .16);
  box-shadow: 0 8px 18px -14px rgba(23, 49, 120, .45);
}
.page-hero__meta b { color: var(--blue); font-size: 13px; }

/* ---------------------------------------------------------------- 内容区 -- */
.page-main { padding: clamp(44px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); }
.page-main--tint { background: var(--tint); }

/* ------------------------------------------------------------ 海报日历 -- */
.daybar {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 34px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.daybar::-webkit-scrollbar { display: none; }
.daytab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.daytab:hover { border-color: #c8d3ea; transform: translateY(-1px); }
.daytab__id { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--muted-2); }
.daytab__theme { display: flex; flex-direction: column; line-height: 1.3; }
.daytab__theme em { font-style: normal; font-size: 13.5px; font-weight: 700; }
.daytab__theme small { font-size: 11px; color: var(--muted-2); }
.daytab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 18px 34px -22px rgba(7, 13, 32, .9);
}
.daytab[aria-selected="true"] .daytab__id { color: var(--lime); }
.daytab[aria-selected="true"] .daytab__theme small { color: rgba(255, 255, 255, .55); }

@media (min-width: 1081px) {
  .daybar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }
  .daytab { flex-direction: column; align-items: flex-start; gap: 5px; height: auto; padding: 14px 14px 16px; }
  .daytab__id { font-size: 11px; letter-spacing: .12em; }
  .daytab__theme { gap: 3px; }
  .daytab__theme em { font-size: 14px; }
  .daytab__theme small {
    font-size: 10.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.day-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.day-head__left { display: flex; align-items: center; gap: 18px; }
.day-ghost {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px #cfd8ea;
}
.day-head h2 { font-size: clamp(20px, 2.2vw, 27px); }
.day-head p { margin-top: 5px; font-size: 13.5px; color: var(--muted); }

.postergrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pcard {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d5def1; }
.pcard__media { position: relative; overflow: hidden; background: #101a33; }
.pcard__media--fit::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.1);
  opacity: .65;
}
.pcard__media.pcard__media--fit img { position: relative; object-fit: contain; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.035); }
.pcard__slot {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(7, 13, 32, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pcard__zoom {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #0a1533;
  background: rgba(255, 255, 255, .92);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.pcard:hover .pcard__zoom { opacity: 1; transform: none; }
.pcard__zoom svg { width: 16px; height: 16px; }

.pcard__meta { padding: 14px 16px 16px; }
.pcard__row { display: flex; align-items: center; gap: 8px; }
.pcard__id { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--muted-2); }
.pcard__title { margin-top: 6px; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.pcard__cap {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard--still .pcard__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 13, 32, .35));
  pointer-events: none;
}

/* ------------------------------------------------------------ 灯箱 -- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 8, 20, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fade .3s var(--ease);
}
.lb-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  width: 100%;
  max-width: 1180px;
  padding: 24px 72px;
  align-items: center;
  animation: rise .38s var(--ease);
}
.lb-figure { margin: 0; }
.lb-figure img {
  width: auto;
  max-width: 100%;
  max-height: 84vh;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.lb-side { color: #fff; max-height: 84vh; display: flex; flex-direction: column; }
.lb-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lb-top .pill { background: rgba(255, 255, 255, .12); color: #fff; }
.lb-slot { font-size: 12px; font-weight: 700; color: var(--lime); letter-spacing: .06em; }
.lb-top .icon-btn { margin-left: auto; }
.lb-side h3 { font-size: 23px; letter-spacing: -.02em; }
.lb-caption {
  margin-top: 14px;
  padding-right: 8px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .78);
  white-space: pre-line;
}
.lb-caption::-webkit-scrollbar { width: 4px; }
.lb-caption::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 4px; }
.lb-actions { display: flex; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lb-actions .btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .24); }
.lb-actions .btn--line:hover { background: rgba(255, 255, 255, .1); }
.lb-hint { margin-top: 14px; font-size: 11.5px; color: rgba(255, 255, 255, .38); letter-spacing: .04em; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .2s;
}
.lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* ------------------------------------------------------------ 短剧文案 -- */
.drama-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 280px;
  max-width: 420px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: #b9c8ea; box-shadow: 0 0 0 4px rgba(31, 91, 255, .08); }
.search svg { width: 17px; height: 17px; color: var(--muted-2); flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.search input::placeholder { color: var(--muted-2); }
.tagbar { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}
.chip:hover { border-color: #c3cfe8; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.epgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.epcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 18px;
  text-align: left;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.epcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5def1; }
.epcard__top { display: flex; align-items: center; gap: 10px; }
.epcard__no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.epcard__pain {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted-2);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.epcard__h { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.45; letter-spacing: -.01em; }
.epcard__lead {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.epcard__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
}
.epcard__foot span { transition: transform .25s var(--ease); }
.epcard:hover .epcard__foot span { transform: translateX(3px); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

.ep-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.ep-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(780px, 100%);
  max-height: 88vh;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
  animation: rise .35s var(--ease);
  overflow: hidden;
}
.ep-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 18px;
  border-bottom: 1px solid var(--line-2);
}
.ep-modal__head h3 { margin-top: 10px; font-size: 21px; line-height: 1.4; }
.ep-modal__head .icon-btn { background: #f2f5fb; color: var(--muted); flex: none; }
.ep-modal__head .icon-btn:hover { background: #e8edf8; transform: none; }
.ep-modal__pain {
  padding: 14px 28px;
  font-size: 13px;
  color: var(--muted);
  background: var(--tint);
}
.ep-modal__pain::before { content: "核心痛点 · "; font-weight: 800; color: var(--orange); }
.ep-modal__body {
  padding: 22px 28px 8px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 2;
  color: #26324f;
}
.ep-modal__body p { margin-bottom: 12px; }
.ep-modal__body .lead { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.75; }
.ep-modal__body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.ep-modal__body .tags b {
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 9px;
  border-radius: 6px;
}
.ep-modal__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px 20px;
  border-top: 1px solid var(--line-2);
  background: #fff;
}
.ep-modal__hint { font-size: 12px; color: var(--muted-2); }

/* ---------------------------------------------------------- 短剧视频 -- */
.epcard__ico { width: 10px; height: 10px; flex: none; }
.epcard__foot { gap: 7px; }

/* 视频封面上的集数角标 */
.ep-video__frame { position: relative; display: inline-block; line-height: 0; max-width: 100%; }
.ep-video__tag {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.6;
  color: #0a1533;
  background: #fff;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .65);
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.ep-video__tag.is-hidden { opacity: 0; }
/* 有视频时：左边竖屏播放器，右边正文 */
.ep-modal__main { display: flex; flex-direction: column; min-height: 0; }

.ep-modal__panel.has-video {
  width: min(1020px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
}
.ep-modal__panel.has-video .ep-video {
  display: grid;
  place-items: center;
  padding: 14px;
  background: #0a1730;
}
.ep-modal__panel.has-video video {
  display: block;
  height: 74vh;
  max-height: 720px;
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #000;
}
.ep-modal__panel.has-video .ep-modal__main { max-height: 88vh; }
.ep-modal__panel.has-video .ep-modal__body { flex: 1; min-height: 0; }
.ep-modal__panel.has-video .ep-modal__head,
.ep-modal__panel.has-video .ep-modal__pain,
.ep-modal__panel.has-video .ep-modal__foot { flex: none; }

.ep-nav { display: flex; gap: 8px; margin-left: auto; }
.ep-nav button {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  transition: all .2s;
}
.ep-nav button:hover:not(:disabled) { color: var(--blue); border-color: #bfcdf0; background: #f6f9ff; }
.ep-nav button:disabled { opacity: .38; cursor: not-allowed; }

/* ------------------------------------------------------------ 私信文案 -- */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.track {
  padding: 26px 26px 8px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.track__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.track__badge {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(150deg, #2f68ff, #1236c9);
  flex: none;
}
.track:nth-child(2) .track__badge { background: linear-gradient(150deg, #ff8a4d, #f0531a); }
.track__head h3 { font-size: 18px; }
.track__head p { font-size: 12.5px; color: var(--muted); }
.track__head .pill { margin-left: auto; }

.round { padding: 22px 0; border-bottom: 1px dashed var(--line); }
.round:last-child { border-bottom: 0; }
.round__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.round__step {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-soft);
  flex: none;
}
.round__label { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.round__copy {
  margin-left: auto;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all .2s;
}
.round__copy:hover { color: var(--blue); border-color: #bfcdf0; background: #f6f9ff; }
.round__text { font-size: 14px; line-height: 1.95; color: #2b3752; white-space: pre-line; }
.round__text p + p { margin-top: 10px; }
.round__img {
  display: block;
  width: 128px;
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.round__img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }

/* ------------------------------------------------------------ 教程 / 手册 -- */
.manual-layout { display: block; }

/* 目录：下拉面板，滚动时吸顶 */
.manual-toc {
  position: sticky;
  top: 64px;
  z-index: 30;
  max-width: 880px;
  margin: 0 auto 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 12px 30px -26px rgba(10, 21, 51, .6);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.manual-toc.is-open { box-shadow: 0 22px 44px -30px rgba(10, 21, 51, .65); }
.manual-toc__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
}
.manual-toc__label {
  flex: none;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--text);
}
.manual-toc__label::after {
  content: "";
  display: inline-block;
  width: 1px; height: 12px;
  margin-left: 12px;
  vertical-align: -1px;
  background: var(--line);
}
.manual-toc__current {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}
.manual-toc__chev {
  flex: none;
  width: 18px; height: 18px;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.manual-toc.is-open .manual-toc__chev { transform: rotate(180deg); }

.manual-toc__list {
  max-height: 0;
  overflow-y: auto;
  border-top: 1px solid transparent;
  transition: max-height .35s var(--ease), border-color .2s;
  scrollbar-width: thin;
}
.manual-toc__list::-webkit-scrollbar { width: 5px; }
.manual-toc__list::-webkit-scrollbar-thumb { background: #d7dfee; border-radius: 4px; }
.manual-toc.is-open .manual-toc__list {
  max-height: min(58vh, 460px);
  border-top-color: var(--line-2);
}
.manual-toc__list a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.manual-toc__list a:hover { color: var(--blue); background: #f6f9ff; }
.manual-toc__list a.lv1 {
  font-weight: 800;
  color: var(--text);
  font-size: 14px;
  border-top: 1px solid var(--line-2);
}
.manual-toc__list a.lv1:first-child { border-top: 0; }
.manual-toc__list a.lv2 { padding-left: 34px; }
.manual-toc__list a.is-active { color: var(--blue); background: var(--blue-soft); font-weight: 700; }
.manual-content { max-width: 880px; min-width: 0; margin: 0 auto; }
.manual-content h1 {
  margin: 62px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -.02em;
}
.manual-content h1:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.manual-content h2 { margin: 38px 0 14px; font-size: 20px; letter-spacing: -.015em; }
.manual-content h3 { margin: 26px 0 10px; font-size: 16.5px; }
.manual-content p {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: #2b3752;
}
.manual-content .li-item {
  position: relative;
  margin-bottom: 7px;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #2b3752;
}
.manual-content .li-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .82em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #a5b8d8;
}
.manual-content .li-item.lv2 { margin-left: 22px; }
.manual-content figure { margin: 24px 0; }
.manual-content figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.manual-content figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
}
.manual-table {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.manual-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.manual-table th {
  position: relative;
  padding: 11px 12px;
  text-align: left;
  font-weight: 800;
  color: var(--text);
  background: #f3f7fd;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line-2);
  white-space: nowrap;
}
.manual-table td {
  padding: 11px 12px;
  vertical-align: top;
  line-height: 1.75;
  color: #2b3752;
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
}
.manual-table tr:last-child td { border-bottom: 0; }
.manual-table th:last-child, .manual-table td:last-child { border-right: 0; }
.manual-table__cap {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
}

@media (max-width: 820px) {
  .manual-toc { top: 58px; margin: 0 auto 22px; border-radius: 12px; }
  .manual-toc__toggle { padding: 12px 14px; gap: 10px; }
  .manual-toc__label::after { display: none; }
  .manual-toc__list a { padding: 9px 14px; }
  .manual-toc__list a.lv2 { padding-left: 26px; }
  .manual-toc.is-open .manual-toc__list { max-height: 62vh; }
}
/* ---------------------------------------------------------------- footer -- */
.site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 8px 0 12px;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-copy {
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--muted);
}
.footer-copy .sep { margin: 0 9px; color: #c9d2e4; }
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--blue); text-decoration: underline; }
.footer-disclaimer {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.85;
  color: #6d7a95;
}

/* ----------------------------------------------------------------- toast -- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(9, 16, 36, .94);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* -------------------------------------------------------------- 动效/适配 -- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 20px; }
  .hero__art { min-height: 0; margin-top: 26px; order: 2; }
  .art-card { width: clamp(96px, 20vw, 150px); }
  .art-card--2 { width: clamp(106px, 22vw, 164px); }
  .entries { grid-template-columns: 1fr; }
  .entry { flex-direction: row; align-items: stretch; }
  .entry__cover { flex: 0 0 210px; aspect-ratio: auto; }
  .entry__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .postergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .epgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-inner { grid-template-columns: 1fr; gap: 22px; padding: 20px 56px; }
  .lb-side { max-height: none; }
  .lb-caption { max-height: 28vh; }
  .lb-figure img { max-height: 46vh; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 18px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 8px 18px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 26px 40px -30px rgba(10, 21, 51, .45);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 15px; }
  .hero { padding-top: 98px; min-height: 0; display: block; }
  .page-hero { padding: 104px 0 36px; min-height: 0; display: block; }
  .entry { flex-direction: column; }
  .entry__cover { flex: none; aspect-ratio: 16 / 9; }
  .tracks { grid-template-columns: 1fr; }
  .postergrid { gap: 16px; }
  .day-head { align-items: flex-start; }
}

@media (max-width: 640px) {
  .postergrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__meta { padding: 11px 12px 13px; }
  .pcard__title { font-size: 14px; }
  .pcard__cap { display: none; }
  .epgrid { grid-template-columns: 1fr; }
  .epcard__pain { display: none; }
  .hero__title { font-size: clamp(34px, 10vw, 46px); }
  .hero__lead { font-size: 14.5px; }
  .lb-inner { padding: 14px 14px 20px; }
  .lb-nav { width: 38px; height: 38px; font-size: 20px; top: 34%; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
  .ep-modal { padding: 12px; }
  .ep-modal__panel.has-video { display: flex; flex-direction: column; }
  .ep-modal__panel.has-video .ep-video { padding: 0; background: #0a1730; }
  .ep-modal__panel.has-video video { height: 42vh; max-height: none; width: auto; max-width: 100%; border-radius: 0; }
  .ep-modal__head, .ep-modal__body, .ep-modal__foot, .ep-modal__pain { padding-left: 18px; padding-right: 18px; }
  .toast { bottom: 20px; font-size: 12.5px; }
}

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