:root {
    --bg: #fdf6d8;
    --bg-soft: #fffbe8;
    --ink: #2b2416;
    --ink-soft: #6b5f45;
    --red: #e0362c;
    --red-dark: #b82820;
    --line: #e8dcb0;
    --radius: 14px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }

  /* 顶部滚动横幅 */
  .ticker {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    padding: 7px 0;
  }
  .ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 28s linear infinite;
  }
  .ticker-track span { margin: 0 22px; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }

  /* 导航 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 246, 216, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
  }
  .header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex: 0 0 auto;
  }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .nav-toggle {
    display: none;
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
  }
  .site-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
    flex-wrap: wrap;
  }
  .site-nav a {
    text-decoration: none;
    font-size: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: background .2s, color .2s;
  }
  .site-nav a:hover { background: #fff3c0; color: var(--ink); }

  /* 通用容器 */
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
  section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 {
    font-size: 24px;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
  }
  .section-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
  }
  .eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 6px;
  }

  /* 首屏 */
  .hero {
    padding: 52px 0 56px;
    background:
      radial-gradient(circle at 85% 12%, #ffe9a8 0%, transparent 55%),
      radial-gradient(circle at 6% 90%, #fff2b8 0%, transparent 50%);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.28;
    margin: 0 0 16px;
    letter-spacing: 0.5px;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--red);
  }
  .hero-lead {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0 0 24px;
    max-width: 30em;
  }
  .download-btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 0 var(--red-dark);
    transition: transform .12s ease, box-shadow .12s ease, background .2s;
  }
  .download-btn:hover { background: #ec4038; }
  .download-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--red-dark);
  }
  .update-time {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--ink-soft);
  }
  .update-time strong { color: var(--ink); font-weight: 600; }
  .hero-tags {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-tags span {
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 5px 13px;
    border-radius: 999px;
  }
  .hero-shot {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(120, 96, 20, 0.12);
  }
  .hero-shot img { width: 100%; height: auto; }

  /* 轮播 */
  .carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #2b2416;
    box-shadow: 0 14px 34px rgba(120, 96, 20, 0.16);
  }
  .slides { position: relative; aspect-ratio: 16 / 10; }
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .55s ease, transform 6s linear;
  }
  .slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
  .slide img { width: 100%; height: 100%; object-fit: cover; }
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
  }
  .carousel-btn.prev { left: 12px; }
  .carousel-btn.next { right: 12px; }
  .dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
  }
  .dots button.is-active { background: #fff; width: 22px; border-radius: 5px; }

  /* 分类片库 */
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
  }
  .card h3 { font-size: 17px; margin: 0 0 8px; }
  .card p { margin: 0; font-size: 14px; color: var(--ink-soft); }

  .poster-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
  }
  .poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .4s ease;
  }
  .poster:hover img { transform: scale(1.05); }
  .play-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 16, 8, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .play-mask span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .play-mask span::after {
    content: "";
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
  }
  .poster-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 10px 9px;
    color: #fff;
    font-size: 13px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  }

  /* 高能漫展 */
  .expo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 22px;
  }
  .expo-item {
    position: relative;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .expo-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  /* 安装方式 */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: step;
  }
  .step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
  }
  .step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 8px;
  }
  .step h3 { margin: 0 0 8px; font-size: 16px; }
  .step p { margin: 0; font-size: 14px; color: var(--ink-soft); }

  /* 常见问题 */
  .faq-list { display: grid; gap: 12px; }
  .faq-item {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
  }
  .faq-item h3 { margin: 0 0 6px; font-size: 16px; }
  .faq-item p { margin: 0; font-size: 14px; color: var(--ink-soft); }

  /* 网友热议 */
  .comment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .comment {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
  }
  .comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffe9a8;
    color: #8a6d12;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }
  .comment-name { font-size: 14px; font-weight: 700; }
  .comment-stars { font-size: 12px; color: #e0a800; letter-spacing: 1px; }
  .comment p { margin: 0; font-size: 14px; color: var(--ink-soft); }

  /* 图墙 */
  .wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 26px;
  }
  .wall img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
  }

  /* 弹窗 */
  .modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(28, 22, 10, 0.55);
  }
  .modal.is-open { display: flex; }
  .modal-box {
    background: #fffdf2;
    border-radius: 18px;
    padding: 30px 26px 26px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
  }
  .modal-box h3 { margin: 0 0 10px; font-size: 20px; }
  .modal-box p { margin: 0 0 20px; font-size: 14px; color: var(--ink-soft); }
  .modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: var(--ink-soft);
    cursor: pointer;
    line-height: 1;
  }

  /* 页脚 */
  .site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 34px;
    margin-top: 20px;
  }
  .site-footer p {
    margin: 0 0 6px;
    font-size: 12px;
    color: #9a8e70;
    line-height: 1.8;
  }
  .site-footer a { color: #9a8e70; text-decoration: none; }
  .site-footer a:hover { text-decoration: underline; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 32px; }
    .poster-grid { grid-template-columns: repeat(4, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .wall { grid-template-columns: repeat(4, 1fr); }
    .comment-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #fffdf2;
      border-bottom: 1px solid var(--line);
      padding: 10px 14px 16px;
      flex-direction: column;
      gap: 2px;
      margin-left: 0;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px 12px; border-radius: 8px; }
    .header-inner { position: relative; }
    .hero { padding: 32px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero h1 { font-size: 27px; }
    .download-btn { width: 100%; text-align: center; padding: 15px 20px; }
    .hero-shot { order: -1; }
    .carousel-block { margin-top: 8px; }
    .slides { aspect-ratio: 4 / 3; }
    section { padding: 34px 0; }
    .section-head h2 { font-size: 21px; }
    .poster-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4, .steps, .comment-grid { grid-template-columns: 1fr; }
    .expo-grid { grid-template-columns: repeat(2, 1fr); }
    .wall { grid-template-columns: repeat(3, 1fr); }
    .ticker { font-size: 12px; }
  }