/* 优优短剧 · 主样式
   设计语言：暖米底 + 橘色主调 + 大圆角卡片 + 柔和渐变 */

:root {
  --orange: #ff761c;
  --orange-dark: #ec6410;
  --orange-soft: #fff1e6;
  --ink: #262528;
  --ink-2: #4a474b;
  --muted: #97949a;
  --line: #eeecea;
  --bg: #faf9f7;
  --card: #ffffff;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-1: 0 1px 2px rgba(60, 40, 20, .04), 0 8px 24px rgba(60, 40, 20, .05);
  --shadow-2: 0 12px 40px rgba(120, 70, 20, .12);
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }

p { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(238, 236, 234, .9);
}

.head-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-mark { display: inline-flex; width: 40px; height: 40px; flex: 0 0 40px; }

.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: .01em; }

.brand-text em { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: 8px; }

.main-nav a {
  padding: 8px 14px; border-radius: 10px; font-size: 15px; color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}

.main-nav a:hover { background: #f3efea; color: var(--ink); }

.main-nav a.on { color: var(--ink); font-weight: 700; position: relative; }

.main-nav a.on::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 22px; height: 3px;
  border-radius: 3px; background: var(--orange); transform: translateX(-50%);
}

.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; color: var(--ink-2);
}

.icon-btn:hover { background: #f3efea; color: var(--orange-dark); }

.inline { display: inline; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}

.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

.btn.block { width: 100%; }

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d, #f2600a);
  box-shadow: 0 6px 18px rgba(242, 96, 10, .22);
}

.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242, 96, 10, .28); }

.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }

.btn.ghost:hover { border-color: #f1d7c4; background: #fffaf5; }

.btn.plain { background: transparent; color: var(--muted); border-color: transparent; }

.btn.plain:hover { color: var(--ink); background: #f3efea; }

/* ---------- 公告条 ---------- */

.notice-strip {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0 18px; padding: 14px 18px;
  background: linear-gradient(90deg, #fff4e8, #fdf3ee 60%, #fdf1f4);
  border: 1px solid #f7e6d6; border-radius: 16px;
  min-width: 0;
}

.notice-icon {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--orange-dark); box-shadow: var(--shadow-1);
}

.notice-text { display: flex; flex-direction: column; min-width: 0; }

.notice-text em { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.notice-text strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.notice-more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--ink-2); flex: 0 0 auto;
}

/* ---------- 首页 hero ---------- */

.hero-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 24px; padding: 46px 44px; border-radius: 28px;
  background:
    radial-gradient(120% 140% at 100% 0%, #efe0ff 0%, rgba(239, 224, 255, 0) 55%),
    radial-gradient(120% 120% at 0% 100%, #ffe6cf 0%, rgba(255, 230, 207, 0) 50%),
    linear-gradient(135deg, #fff3e6, #fdf0ea 52%, #f3ecff);
  border: 1px solid #f4e6da;
  overflow: hidden;
}

.hero-copy { min-width: 0; }

.hero-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .18em; color: #a8734f;
  background: rgba(255, 255, 255, .7); padding: 6px 12px; border-radius: 999px;
  border: 1px solid #f3ddc9;
}

.hero-copy h1 {
  margin: 18px 0 14px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.2;
}

.hero-copy h1 .hl { color: var(--orange-dark); }

.hero-lead { color: #6b5c52; font-size: 16px; max-width: 46ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 22px 0 0; }

.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #7a6a5f; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }

.hero-visual { position: relative; min-height: 360px; }

.hv-ring {
  position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, .5);
}

.hv-card {
  position: absolute; width: 176px; padding: 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-2);
  border: 1px solid #f2e6da;
}

.hv-card.hv-a { left: 0; top: 6px; transform: rotate(-4deg); }

.hv-card.hv-b { right: 0; top: 132px; transform: rotate(4deg); }

.hv-cover { height: 116px; border-radius: 12px; background: linear-gradient(135deg, #ffd0a6, #f08a4b); margin-bottom: 10px; }

.hv-cover.alt { background: linear-gradient(135deg, #bcd6ff, #6c91db); }

.hv-card strong { display: block; font-size: 14px; }

.hv-card em { font-style: normal; font-size: 12px; color: var(--muted); }

.hv-badge {
  position: absolute; top: -10px; left: 10px; font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: #eafaf1; color: #17845a; border: 1px solid #cdeedd;
}

.hv-badge.alt { background: #fff4e2; color: #a2641a; border-color: #f5e2c4; }

.hv-chip {
  position: absolute; left: 0; bottom: 6px; padding: 10px 14px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-1); font-size: 13px; color: var(--ink-2);
}

.hv-chip b { color: var(--orange-dark); }

/* ---------- 三卡 ---------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0 10px; }

.trio-card {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  padding: 22px; border-radius: var(--radius); min-width: 0;
  border: 1px solid #f0e6da; transition: transform .16s ease, box-shadow .18s ease;
  overflow: hidden;
}

.trio-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }

.tone-amber { background: linear-gradient(140deg, #fff4e4, #fdeee2); }
.tone-sky { background: linear-gradient(140deg, #eef4ff, #e8f0fd); }
.tone-violet { background: linear-gradient(140deg, #f3edff, #efe9fd); }
.tone-mint { background: linear-gradient(140deg, #e9f8f0, #e4f4ec); }
.tone-rose { background: linear-gradient(140deg, #fff0f2, #fde9ee); }

.trio-text { min-width: 0; position: relative; z-index: 1; }

.trio-text h3 { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; }

.trio-text p { font-size: 13px; color: #7c6f66; margin-top: 6px; }

.trio-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--ink-2); }

.trio-link::before { content: "› "; color: var(--muted); }

.trio-art { position: absolute; right: 12px; bottom: -8px; width: 96px; height: 96px; opacity: .5; color: #c58a5f; }

.tone-sky .trio-art { color: #7d9bd0; }
.tone-violet .trio-art { color: #9c85cf; }

/* ---------- 区块 ---------- */

.section { margin: 54px 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }

.eyebrow { display: block; font-size: 11px; letter-spacing: .2em; color: #a49a91; margin-bottom: 8px; }

.section-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }

.accent-dot { color: var(--orange); }

.section-sub { color: #7f746c; margin-top: 8px; max-width: 60ch; }

.section-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); flex: 0 0 auto; }

.link-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); flex: 0 0 auto; }

/* ---------- 筛选 / 搜索 ---------- */

.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }

.tabs { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 12px; border: 1px solid var(--line); }

.tab {
  border: 0; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink-2);
  padding: 7px 14px; border-radius: 9px; cursor: pointer;
}

.tab.on { background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--ink-2);
}

.chip.on { background: #262528; border-color: #262528; color: #fff; }

.search-box {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--muted);
  min-width: 240px; flex: 1 1 240px; max-width: 320px;
}

.search-box input {
  border: 0; outline: 0; flex: 1; min-width: 0; font-family: inherit; font-size: 14px;
  background: transparent; color: var(--ink);
}

/* ---------- 方案卡 ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.plan-grid.wide { margin-top: 8px; }

.plan-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; min-width: 0; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}

.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.plan-art {
  position: relative; padding: 20px 18px 26px; min-height: 148px;
  background: linear-gradient(150deg, #f7ecff, #eee2fb);
  display: flex; align-items: center; justify-content: center;
}

.plan-card.tone-sky .plan-art { background: linear-gradient(150deg, #eaf2ff, #dfeafc); }
.plan-card.tone-amber .plan-art { background: linear-gradient(150deg, #fff1e2, #ffe3c9); }
.plan-card.tone-violet .plan-art { background: linear-gradient(150deg, #f4ecff, #e9ddfd); }
.plan-card.tone-mint .plan-art { background: linear-gradient(150deg, #e8f8f0, #d9f1e4); }
.plan-card.tone-rose .plan-art { background: linear-gradient(150deg, #fff0f3, #fce1e7); }

.plan-tag {
  position: absolute; left: 12px; top: 12px; font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink-2); border: 1px solid rgba(255, 255, 255, .9);
}

.plan-glyph { width: 74px; height: 74px; color: #a06bd6; opacity: .85; }

.plan-card.tone-sky .plan-glyph { color: #5b86cf; }
.plan-card.tone-amber .plan-glyph { color: #e08a36; }
.plan-card.tone-mint .plan-glyph { color: #3f9e75; }
.plan-card.tone-rose .plan-glyph { color: #d0698a; }

.plan-collection {
  position: absolute; left: 16px; bottom: 12px; font-size: 9px; letter-spacing: .18em; color: rgba(60, 40, 20, .32);
}

.plan-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }

.plan-cat { font-size: 12px; color: var(--muted); }

.plan-name { font-size: 18px; font-weight: 700; }

.plan-sub { font-size: 13px; color: #6f665f; }

.plan-threshold { font-size: 12px; color: #9a8f86; margin-top: 4px; }

.plan-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.plan-price { display: flex; align-items: baseline; gap: 2px; color: var(--orange-dark); font-weight: 800; }

.plan-price .cur { font-size: 13px; }

.plan-price .num { font-size: 24px; letter-spacing: -.02em; }

.plan-price s { color: #b9b2ac; font-size: 12px; font-weight: 400; margin-left: 6px; }

.plan-price em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 2px; }

.plan-go {
  width: 34px; height: 34px; border-radius: 50%; background: #fdf1e6; color: var(--orange-dark);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px;
}

.plan-card:hover .plan-go { background: var(--orange); color: #fff; }

/* ---------- 剧集卡 ---------- */

.drama-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.drama-card { min-width: 0; display: flex; flex-direction: column; gap: 10px; }

.drama-cover { border-radius: 16px; overflow: hidden; background: #f3efea; aspect-ratio: 200 / 280; }

.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }

.drama-card:hover .drama-cover img { transform: scale(1.03); }

.drama-meta h3 { font-size: 15px; font-weight: 700; }

.drama-meta p { font-size: 12px; color: var(--muted); }

.drama-badge { display: inline-block; margin-top: 6px; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #eafaf1; color: #17845a; }

/* ---------- 步骤 / 数据 ---------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }

.step-no { font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }

.steps h3 { font-size: 16px; margin: 10px 0 6px; }

.steps p { font-size: 13px; color: #7c736b; }

.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 10px;
}

.stat { text-align: center; min-width: 0; }

.stat b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; }

.stat em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; }

.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px;
}

.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }

.faq[open] summary::after { content: "–"; }

.faq p { padding: 0 0 16px; color: #6f665f; font-size: 14px; }

/* ---------- CTA ---------- */

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 60px 0 20px; padding: 34px 36px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff2e4, #fdeef3 60%, #f4edff); border: 1px solid #f5e4d8;
}

.cta-copy h2 { font-size: clamp(20px, 2.2vw, 26px); }

.cta-copy p { color: #7a6a5f; margin-top: 8px; }

.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: #fbfaf8; }

.foot-top { display: flex; justify-content: space-between; gap: 30px; padding: 34px 0 22px; flex-wrap: wrap; }

.foot-brand { display: flex; gap: 12px; align-items: flex-start; }

.foot-brand strong { font-size: 16px; }

.foot-brand p { font-size: 12px; color: var(--muted); }

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--ink-2); align-content: flex-start; }

.foot-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 16px 0 28px; font-size: 12px; color: var(--muted);
}

/* ---------- 内页通用 ---------- */

.page-head { padding: 30px 0 10px; }

.page-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 10px; }

.page-head p { color: #7c736b; max-width: 70ch; }

.flash { margin: 14px 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; }

.flash.ok { background: #ecfaf2; color: #14734f; border: 1px solid #cceedd; }

.flash.err { background: #fdeeea; color: #a83a22; border: 1px solid #f6d7cd; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

.empty.sm { padding: 22px; }

.empty p { margin-bottom: 12px; font-size: 14px; }

.muted { color: var(--muted); }

.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; }

.smtext { font-size: 12px; }

.trunc { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.neg { color: #b43b28; }

.pos { color: #17845a; }

.pill { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: #f2efec; color: #6f6660; }

.pill.ok { background: #eafaf1; color: #17845a; }

.pill.wait { background: #fff5e3; color: #a2641a; }

.pill.bad { background: #fdecea; color: #b03a25; }

.pill.soft { background: #f3f0ec; color: #7d736b; }

.pill.ok, .pill.wait, .pill.bad { white-space: nowrap; }

/* ---------- 方案详情 ---------- */

.plan-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px;
  padding: 36px; border-radius: var(--radius-lg); border: 1px solid #f2e6da; margin-top: 22px;
}

.crumb { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.plan-hero h1 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0 8px; }

.plan-hero-sub { color: #6f665f; }

.plan-hero-price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0; color: var(--orange-dark); font-weight: 800; }

.plan-hero-price .cur { font-size: 16px; }

.plan-hero-price .num { font-size: 40px; letter-spacing: -.02em; }

.plan-hero-price s { font-size: 14px; color: #b9b2ac; font-weight: 400; margin-left: 8px; }

.plan-hero-price em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }

.plan-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.plan-hero-note { margin-top: 14px; font-size: 12.5px; color: #8b8078; background: rgba(255, 255, 255, .6); padding: 10px 12px; border-radius: 10px; }

.plan-hero-side { background: rgba(255, 255, 255, .82); border-radius: var(--radius); padding: 22px; border: 1px solid #f1e6db; min-width: 0; }

.plan-hero-side h3 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 12px; letter-spacing: .04em; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.feature-list li { display: flex; gap: 9px; font-size: 14px; color: #4f4842; align-items: flex-start; }

.feature-list svg { flex: 0 0 16px; color: var(--orange); margin-top: 3px; }

.plan-hero-stats { display: flex; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed #eadfd4; }

.plan-hero-stats div { flex: 1; min-width: 0; }

.plan-hero-stats b { display: block; font-size: 20px; }

.plan-hero-stats em { font-style: normal; font-size: 12px; color: var(--muted); }

.long-text { color: #5f574f; max-width: 80ch; font-size: 15px; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }

.benefit h3 { font-size: 15px; margin-bottom: 6px; }

.benefit p { font-size: 13px; color: #7c736b; }

.boundary-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.boundary-list li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #5f574f; }

.boundary-list b { color: var(--ink); }

/* ---------- 剧库 / 剧集 ---------- */

.lib-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0 22px; }

.drama-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; padding: 24px 0 10px; align-items: start; }

.drama-poster img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-2); }

.drama-info { min-width: 0; }

.drama-info h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.drama-synopsis { color: #5f574f; max-width: 70ch; }

.fact-list { margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }

.fact-list div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 0; }

.fact-list dt { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.fact-list dd { margin: 2px 0 0; font-size: 14px; }

.task-list { display: grid; gap: 12px; }

.task-row { display: flex; gap: 18px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; flex-wrap: wrap; }

.task-main { min-width: 0; flex: 1 1 320px; }

.task-main h3 { font-size: 15px; }

.task-main p { font-size: 13px; color: #7c736b; margin-top: 4px; }

.task-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }

.task-side { display: flex; align-items: center; gap: 14px; }

.task-side b { color: var(--orange-dark); font-size: 18px; }

.task-side em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: -8px; }

.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.task-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.task-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.task-reward { color: var(--orange-dark); font-size: 18px; }

.task-reward em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 400; }

.task-card h3 { font-size: 15px; }

.task-drama { font-size: 12px; color: var(--muted); }

.task-brief { font-size: 13px; color: #6f665f; }

.task-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: #f6f2ed; color: #7d736b; }

.task-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--muted); }

.notice-inline { background: #fff8ee; border: 1px solid #f6e7d3; border-radius: 12px; padding: 12px 16px; font-size: 13px; color: #7a6a5f; }

.notice-inline b { color: var(--orange-dark); }

/* ---------- 表单 / 入驻 ---------- */

.join-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }

.join-tab { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }

.join-tab b { display: block; font-size: 16px; }

.join-tab span { font-size: 13px; color: var(--muted); }

.join-tab.on { border-color: #f5c9a6; background: #fffaf4; box-shadow: 0 0 0 3px rgba(255, 118, 28, .08); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin: 20px 0; }

.form-card.tight { padding: 20px; }

.form-card h2 { font-size: 17px; margin-bottom: 16px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }

.form-grid label, .form-card > label.full { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.span2 { grid-column: span 2; }

label > span { font-size: 12.5px; color: #7d736b; }

input, select, textarea {
  font-family: inherit; font-size: 14px; color: var(--ink);
  background: #fdfcfb; border: 1px solid #e9e4de; border-radius: 10px;
  padding: 10px 12px; outline: 0; width: 100%; min-width: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input:focus, select:focus, textarea:focus { border-color: #f3b181; box-shadow: 0 0 0 3px rgba(255, 118, 28, .1); background: #fff; }

input:disabled { background: #f6f3ef; color: #9b938c; }

textarea { resize: vertical; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }

.form-note { font-size: 12px; color: var(--muted); max-width: 60ch; }

.form-note a { color: var(--orange-dark); }

.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #6f665f; }

.check input { width: auto; }

.inline-form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.inline-form input { padding: 6px 8px; font-size: 12.5px; }

.done-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; text-align: center; margin: 30px 0; }

.done-icon { width: 56px; height: 56px; border-radius: 50%; background: #eafaf1; color: #17845a; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }

.done-card p { color: #7c736b; font-size: 14px; margin-top: 6px; }

/* ---------- 登录 ---------- */

.auth-wrap { display: flex; justify-content: center; padding: 40px 0 60px; }

.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-1); }

.auth-head { text-align: center; margin-bottom: 22px; }

.auth-head .brand-mark { margin: 0 auto 12px; }

.auth-head h1 { font-size: 22px; }

.auth-head p { font-size: 13px; color: var(--muted); margin-top: 6px; }

.auth-form { display: grid; gap: 14px; }

.auth-form label { display: flex; flex-direction: column; gap: 6px; }

.phone-field, .code-field { display: flex; align-items: center; gap: 8px; }

.phone-field b { font-size: 13px; color: var(--muted); padding: 0 4px; }

.code-field input { flex: 1; }

.demo-tip { margin-top: 16px; background: #fff8ee; border: 1px dashed #f2dcc2; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #8a7455; }

.demo-tip b { color: var(--orange-dark); }

.auth-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 支付 ---------- */

.pay-wrap { display: flex; justify-content: center; padding: 30px 0 60px; }

.pay-card { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }

.pay-card h1 { font-size: 22px; margin-bottom: 16px; }

.pay-amount { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; border-bottom: 1px dashed var(--line); }

.pay-amount span { font-size: 13px; color: var(--muted); }

.pay-amount b { font-size: 34px; color: var(--orange-dark); letter-spacing: -.02em; }

.pay-facts { margin: 16px 0; display: grid; gap: 8px; }

.pay-facts div { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }

.pay-facts dt { color: var(--muted); }

.pay-facts dd { margin: 0; }

.qr-block { text-align: center; padding: 18px; background: #fffaf4; border: 1px solid #f6e7d3; border-radius: 14px; }

.qr-block img { margin: 0 auto 10px; border-radius: 10px; }

.qr-block p { font-size: 13px; color: #7a6a5f; }

.pay-tip { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- 工作台 ---------- */

.app-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; padding: 26px 0 60px; align-items: start; }

.app-side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 14px; }

.app-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }

.app-brand b { font-size: 15px; }

.app-side nav { display: grid; gap: 2px; }

.app-side nav a { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }

.app-side nav a:hover { background: #f7f3ee; }

.app-side nav a.on { background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; }

.logout { margin-top: 12px; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; font-family: inherit; font-size: 13px; cursor: pointer; }

.logout:hover { background: #f7f3ee; color: var(--ink); }

.admin-back { display: block; margin-top: 8px; padding: 0 12px; font-size: 12px; color: var(--muted); }

.app-main { min-width: 0; }

.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }

.app-head h1 { font-size: clamp(20px, 2.2vw, 26px); }

.app-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.balance-card { background: linear-gradient(135deg, #fff4e7, #fdeaf1); border: 1px solid #f5e3d5; border-radius: 16px; padding: 14px 18px; min-width: 190px; }

.balance-card span { display: block; font-size: 12px; color: #907f72; }

.balance-card b { display: block; font-size: 24px; color: var(--orange-dark); letter-spacing: -.02em; }

.balance-card a { font-size: 12px; color: #907f72; }

.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }

.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; }

.kpi b { display: block; font-size: 22px; letter-spacing: -.02em; }

.kpi em { font-style: normal; font-size: 12px; color: #7d736b; }

.kpi small { display: block; font-size: 11px; color: var(--muted); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 16px; overflow: hidden; }

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }

.panel-head h2 { font-size: 15px; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }

.table td { padding: 11px 10px; border-bottom: 1px solid #f5f2ef; vertical-align: top; }

.table tr:last-child td { border-bottom: 0; }

.actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

.invite-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fff8ef; border: 1px solid #f5e4d2; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }

.invite-card span { display: block; font-size: 12px; color: #907f72; }

.invite-card code { font-size: 13px; word-break: break-all; }

.invite-side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.kv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.kv-list li { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; border-bottom: 1px dashed #f1ece6; padding-bottom: 8px; }

.kv-list span { color: var(--muted); }

.kv-list b { font-weight: 600; text-align: right; }

.thumb { border-radius: 6px; }

/* ---------- prose ---------- */

.prose-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; max-width: 820px; }

.prose-card h2 { font-size: 17px; margin: 22px 0 8px; }

.prose-card h2:first-child { margin-top: 0; }

.prose-card p, .prose-card li { color: #5f574f; font-size: 14.5px; }

.prose-card ul { padding-left: 20px; margin: 8px 0; }

.prose-card li { margin: 4px 0; }

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drama-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { display: none; }
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .app-side { position: static; }
  .app-side nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .drama-hero { grid-template-columns: minmax(0, 1fr); }
  .drama-poster { max-width: 220px; }
  .plan-hero { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .search-box { max-width: none; }
  .wrap { padding: 0 16px; }
  .head-inner { height: 66px; gap: 14px; }
  .brand-text em { display: none; }
  .drama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 24px; }
  .hero-card { padding: 26px 20px; }
  .panel { padding: 14px; overflow-x: auto; }
  .table { min-width: 560px; }
}

@media (max-width: 560px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .app-side nav { grid-template-columns: minmax(0, 1fr); }
  .join-tabs { grid-template-columns: minmax(0, 1fr); }
  .prose-card { padding: 20px; }
  .auth-card, .pay-card { padding: 22px; }
  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot-top { flex-direction: column; gap: 18px; }
  .task-row { flex-direction: column; align-items: flex-start; }
  .task-side { width: 100%; justify-content: space-between; }
}

/* ---------- 移动端底部导航 ---------- */

.mobile-tabs { display: none; }

@media (max-width: 860px) {
  .mobile-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-tabs a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 11px; color: var(--muted); padding: 4px 0; border-radius: 10px;
    min-width: 0;
  }
  .mobile-tabs a.on { color: var(--orange-dark); font-weight: 600; }
  body { padding-bottom: 64px; }
  .app-shell { padding-bottom: 20px; }
}

/* ---------- 悬浮客服 ---------- */

.support-fab { position: fixed; right: 22px; bottom: 26px; z-index: 55; }

.support-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, #ff8a3d, #f2600a);
  box-shadow: 0 10px 24px rgba(242, 96, 10, .28);
}

.support-pop {
  position: absolute; right: 0; bottom: 58px; width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-2); font-size: 13px;
}

.support-pop strong { display: block; margin-bottom: 6px; font-size: 14px; }

.support-pop p { margin: 4px 0; color: #5f574f; }

.support-pop p.muted { color: var(--muted); font-size: 12px; }

@media (max-width: 860px) {
  .support-fab { right: 14px; bottom: 78px; }
  .support-btn { height: 42px; padding: 0 14px; font-size: 13px; }
  .nav-app .support-fab, .nav-admin .support-fab { display: none; }
}
