:root {
  --ink: #1c1b1a;
  --paper: #f7f2e8;
  --paper-deep: #efe7d7;
  --accent: #e4572e;
  --accent-soft: #fbdccf;
  --teal: #0f6e63;
  --teal-soft: #d9ece8;
  --plum: #6c3f7d;
  --plum-soft: #ecdfef;
  --gold: #c78a1e;
  --line: rgba(28, 27, 26, .16);
  --shadow: 0 10px 26px rgba(28, 27, 26, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.32; margin: 0; }
p { margin: 0 0 10px; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 66px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .18em; font-weight: 700;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 10px 0 10px; letter-spacing: -.01em; }
.section-head p { color: #4b4640; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.paper-note {
  font-size: 13px; color: #6d655b; background: var(--paper-deep);
  border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 2px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 242, 232, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-tag { display: block; font-size: 11px; color: #7a7268; letter-spacing: .06em; font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-block; padding: 6px 9px; font-size: 13.5px; border-radius: 4px;
  color: #3c3833; border-bottom: 2px solid transparent;
  transition: color .18s, background .18s, border-color .18s;
}
.nav a:hover { color: var(--accent); background: var(--accent-soft); border-bottom-color: var(--accent); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 7px 11px; font-size: 13px; font-family: inherit; color: var(--ink); cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(1100px 420px at 12% -12%, #fbe2d6 0%, transparent 62%),
    radial-gradient(900px 380px at 96% 8%, #dcece8 0%, transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 44px; align-items: center;
  padding: 46px 0 30px;
}
.hero h1 { font-size: clamp(30px, 4.7vw, 52px); letter-spacing: -.015em; margin: 14px 0 14px; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 9px;
  background: var(--accent-soft); z-index: -1; border-radius: 2px;
}
.lead { font-size: 16px; color: #43403a; max-width: 47ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.chip {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: #fffaf1; color: #4a453e;
}
/* 下载按钮 */
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 8px; font-size: 14.5px; font-weight: 700;
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(28,27,26,.18); }
.btn-dl.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-dl.ghost:hover { background: var(--ink); color: #fff; }
.btn-dl.accent { background: var(--accent); border-color: var(--accent); }
.btn-dl.accent:hover { background: #c94822; border-color: #c94822; }
.btn-dl .tag {
  font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 4px;
  background: rgba(255,255,255,.2); letter-spacing: .04em;
}
.btn-dl.ghost .tag { background: var(--accent-soft); color: var(--accent); }

/* HERO 轮播（纯 CSS 自动播放，无需 JS 渲染） */
.slider {
  position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fffaf1; box-shadow: var(--shadow);
}
.slides { position: relative; aspect-ratio: 4 / 3; }
.slides figure { margin: 0; position: absolute; inset: 0; opacity: 0; animation: heroFade 21s infinite; }
.slides figure:nth-child(1) { animation-delay: 0s; }
.slides figure:nth-child(2) { animation-delay: 7s; }
.slides figure:nth-child(3) { animation-delay: 14s; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.slides figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(20,18,16,.86)); color: #fff; font-size: 13.5px;
}
.slides figcaption b { display: block; font-size: 16px; margin-bottom: 2px; }
@keyframes heroFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  30% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}
.slider-strip {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; font-size: 12px; color: #5d564c; border-top: 1px solid var(--line);
}
.slider-strip span { display: inline-flex; align-items: center; gap: 6px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* 跑马灯 */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #17140f; color: #fff; padding: 9px 0;
}
.marquee-track { display: flex; gap: 34px; width: max-content; animation: slideText 32s linear infinite; }
.marquee-track span {
  font-size: 14px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
  background: linear-gradient(92deg, #ff8a3d, #ffd166 34%, #4fd1c5 66%, #b794f6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marquee-track span::after { content: " ◆"; color: #ff8a3d; -webkit-text-fill-color: #ff8a3d; }
@keyframes slideText { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 通用卡片 ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fffaf1; border: 1px solid var(--line); border-radius: 10px; padding: 18px;
}
.card h3 { font-size: 16.5px; margin-bottom: 6px; }
.card p { font-size: 14px; color: #4c473f; margin-bottom: 0; }
.meta-line { font-size: 12px; color: #7c7367; letter-spacing: .02em; }

/* 昨日爆款：编辑风竖图列表 */
.section--hot { background: linear-gradient(180deg, #f7f2e8, #fbeee4); }
.hot-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 30px; align-items: start; }
.hot-cover {
  position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow);
}
.hot-cover img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; }
.hot-cover figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(17,15,13,.9)); color: #fff;
}
.hot-cover figcaption b { display: block; font-size: 16px; }
.hot-cover figcaption span { font-size: 11.5px; color: #ffd8c6; letter-spacing: .05em; }
.hot-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hot-list li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline;
  padding: 10px 4px; border-bottom: 1px dashed var(--line); transition: background .16s;
}
.hot-list li:hover { background: #fffaf1; }
.hot-list .idx { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .04em; }
.hot-list .t { font-size: 14.5px; font-weight: 600; }
.hot-list .s { font-size: 12px; color: #837a6d; white-space: nowrap; }

/* 完结精选：三列图卡 */
.section--finish { background: var(--teal-soft); }
.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.finish-card {
  background: #fbfdfc; border: 1px solid rgba(15,110,99,.22); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.finish-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.finish-body { padding: 12px 14px 14px; }
.finish-body h3 { font-size: 15px; margin-bottom: 4px; }
.finish-body p { font-size: 13px; color: #3f5754; margin: 0 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags i {
  font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 3px;
  background: #e5f2ef; color: #0f6e63; border: 1px solid rgba(15,110,99,.2);
}
.date { display: block; font-size: 11.5px; color: #6a8481; margin-top: 8px; }

/* 飙升热榜：时间轴 */
.section--rank { background: #f3ecdd; }
.timeline { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold), var(--accent), var(--plum));
}
.timeline li { position: relative; padding: 0 0 18px 8px; }
.timeline li::before {
  content: ""; position: absolute; left: -25px; top: 7px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent);
}
.timeline time { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--accent); }
.timeline b { display: block; font-size: 14.5px; margin: 1px 0 1px; }
.timeline p { font-size: 13px; color: #514b41; margin: 0; }
.rank-note {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px;
}
.rank-note div { background: #fffaf1; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.rank-note b { font-size: 13.5px; display: block; margin-bottom: 2px; }
.rank-note span { font-size: 12.5px; color: #5c5549; }

/* 放映厅：左右结构 */
.section--theater { background: #efe4f0; }
.theater-layout { display: grid; grid-template-columns: 1fr .82fr; gap: 32px; align-items: start; }
.faq-item { border-bottom: 1px solid rgba(108,63,125,.22); padding: 11px 0; }
.faq-item b { font-size: 14.5px; color: #5a3269; display: block; margin-bottom: 2px; }
.faq-item p { font-size: 13.5px; color: #4d4455; margin: 0; }
.theater-poster {
  border: 1px solid rgba(108,63,125,.25); border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow);
}
.theater-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.theater-poster figcaption { padding: 12px 14px; font-size: 13px; color: #4d4455; }
.theater-poster figcaption b { display: block; font-size: 15px; color: #3f2549; margin-bottom: 2px; }

/* 创作者激励：错位小卡 */
.section--creator { background: #14120f; color: #f4eee2; }
.section--creator .eyebrow { color: #ffb27a; }
.section--creator .section-head p { color: #b9b0a3; }
.creator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.creator-card {
  background: #201d18; border: 1px solid #37322a; border-radius: 8px; padding: 16px;
  transition: transform .18s, border-color .18s;
}
.creator-card:hover { transform: translateY(-3px); border-color: #ffb27a; }
.creator-card .step {
  font-size: 11px; letter-spacing: .14em; color: #ffb27a; font-weight: 700;
}
.creator-card h3 { font-size: 15px; margin: 5px 0 4px; }
.creator-card p { font-size: 13px; color: #b9b0a3; margin: 0; }

/* 用户神评墙 */
.section--wall { background: #f7f2e8; }
.wall-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.comment {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px;
  background: #fffaf1; border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
.comment img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.comment b { font-size: 13.5px; }
.comment .who { font-size: 11.5px; color: #8a8172; display: block; margin-bottom: 3px; }
.comment p { font-size: 13.5px; color: #45403a; margin: 0; }

/* 未成年人保护（一问一答） + 意见反馈 */
.section--minor { background: #e6eeea; }
.qa { border-top: 1px solid rgba(15,110,99,.2); }
.qa-item { border-bottom: 1px solid rgba(15,110,99,.2); padding: 12px 0; }
.qa-item b { display: block; font-size: 14.5px; color: #0f5c53; margin-bottom: 2px; }
.qa-item p { font-size: 13.5px; color: #3d4f4b; margin: 0; }
.section--feedback { background: #fbe6d9; }
.feedback-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: start; }
.feedback-list { list-style: none; padding: 0; margin: 0; }
.feedback-list li {
  font-size: 13.5px; color: #4a3f37; padding: 9px 0 9px 20px; position: relative;
  border-bottom: 1px dashed rgba(228,87,46,.3);
}
.feedback-list li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.feedback-card { background: #fffaf1; border: 1px solid rgba(228,87,46,.24); border-radius: 10px; padding: 18px; }
.feedback-card h3 { font-size: 16px; margin-bottom: 8px; }
.feedback-card ol { margin: 0; padding-left: 20px; font-size: 13.5px; color: #4a3f37; }
.feedback-card li { margin-bottom: 7px; }

/* 安装步骤 + 底部下载 */
.section--install { background: #17140f; color: #f4eee2; }
.section--install .eyebrow { color: #ffb27a; }
.section--install .section-head p { color: #b9b0a3; }
.install-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.install-card { background: #201d18; border: 1px solid #37322a; border-radius: 8px; padding: 16px; }
.install-card span { font-size: 11px; letter-spacing: .14em; color: #ffb27a; font-weight: 700; }
.install-card h3 { font-size: 15px; margin: 5px 0 4px; }
.install-card p { font-size: 13px; color: #b9b0a3; margin: 0; }
.install-dl {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  border-top: 1px solid #37322a; padding-top: 24px;
}
.install-dl .btn-dl { border-color: #f4eee2; background: #f4eee2; color: #17140f; }
.install-dl .btn-dl:hover { background: #fff; }
.install-dl .btn-dl.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.install-dl .btn-dl.ghost { background: transparent; color: #f4eee2; border-color: #f4eee2; }
.install-dl .btn-dl.ghost:hover { background: #f4eee2; color: #17140f; }
.install-note { font-size: 12.5px; color: #9c9488; margin: 12px 0 0; }

/* 客户端下载（首屏头部栏目也指向这里） */
.section--client { background: var(--paper-deep); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-card {
  display: block; background: #fffaf1; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; transition: transform .16s, border-color .16s;
}
.client-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.client-card b { font-size: 15px; display: block; margin-bottom: 4px; }
.client-card p { font-size: 12.5px; color: #5c5549; margin: 0; }

/* ============ 页脚 ============ */
.site-footer { background: #16140f; color: #a9a294; font-size: 12.5px; padding: 34px 0 86px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-footer b { color: #e6dfd2; font-size: 13px; display: block; margin-bottom: 6px; }
.site-footer p { margin: 0 0 6px; line-height: 1.8; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a:hover { color: #ffb27a; }
.footer-bottom { border-top: 1px solid #2c2820; margin-top: 22px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.footer-bottom time { color: #7f776a; }

/* 浮动下载窗口 */
.float-dl {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 10px;
  background: #17140f; color: #fff; border: 1px solid #3a352b;
  border-radius: 999px; padding: 6px 8px 6px 7px; box-shadow: 0 12px 28px rgba(0,0,0,.28);
  max-width: calc(100% - 24px);
}
.float-dl img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.float-dl span { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.float-dl a {
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 6px 13px; border-radius: 999px; white-space: nowrap;
}

/* 复制链接弹窗（纯静态存在于 DOM，显示由 JS 切换 class） */
.copy-modal {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10,9,7,.55);
}
.copy-modal.is-open { display: flex; }
.copy-box {
  background: #fffaf1; color: var(--ink); border-radius: 12px; padding: 20px;
  width: min(420px, 100%); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.copy-box p { font-size: 13.5px; margin-bottom: 12px; color: #403a33; }
.copy-box code {
  display: block; font-size: 12.5px; word-break: break-all; background: var(--paper-deep);
  padding: 10px; border-radius: 6px; margin-bottom: 12px;
}
.copy-box .btn-dl { width: 100%; justify-content: center; }
.copy-close {
  margin-top: 9px; width: 100%; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px; font-family: inherit; font-size: 13px; cursor: pointer; color: #5c5549;
}

/* ============ 响应式 ============ */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hot-layout { grid-template-columns: 1fr; }
  .hot-cover img { aspect-ratio: 16 / 9; }
  .finish-grid, .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .theater-layout, .feedback-layout { grid-template-columns: 1fr; }
  .theater-poster img { aspect-ratio: 16 / 9; }
  .install-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .wrap { width: calc(100% - 28px); }
  .section { padding: 44px 0; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fffaf1; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 8px 14px 14px; max-height: 68vh; overflow-y: auto;
    box-shadow: 0 14px 24px rgba(28,27,26,.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 9px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 14px; }
  .header-inner { position: relative; }
  .hero-grid { padding: 30px 0 22px; }
  .hero h1 { font-size: clamp(25px, 7.6vw, 34px); overflow-wrap: anywhere; }
  .lead { font-size: 15px; }
  .dl-row { gap: 8px; }
  .btn-dl { flex: 1 1 46%; justify-content: center; padding: 10px 12px; font-size: 13.5px; }
  .slider-strip { flex-direction: column; align-items: flex-start; gap: 4px; }
  .finish-grid, .creator-grid, .wall-grid, .install-grid, .client-grid, .rank-note { grid-template-columns: 1fr; }
  .hot-list li { grid-template-columns: 30px 1fr; }
  .hot-list .s { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { padding-bottom: 96px; }
  .float-dl { padding: 5px 6px 5px 6px; gap: 7px; }
  .float-dl span { font-size: 11.5px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .float-dl a { font-size: 11.5px; padding: 5px 10px; }
  body { overflow-x: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .slides figure, .marquee-track { animation: none; }
  .slides figure:nth-child(1) { opacity: 1; }
}