:root {
    --bg: #faf6ff;
    --bg-white: #fff;
    --lavender: #f0e6ff;
    --pink-light: #ffe4f2;
    --primary: #8b5cf6;
    --primary-dark: #6d3fd4;
    --pink: #f0569b;
    --cyan: #22c7d6;
    --ink: #1a1130;
    --ink-soft: #4a3d66;
    --line: #2a1d44;
    --shadow: 4px 4px 0 var(--line);
    --shadow-lg: 6px 6px 0 var(--line);
    --radius: 14px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; scroll-padding-top: 84px; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* 网点底纹 */
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--lavender) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  ul { list-style: none; }
  button { font-family: inherit; cursor: pointer; }

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

  /* ========== 导航 ========== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--line);
  }

  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
  }

  .brand img {
    height: 34px;
    width: 34px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--line);
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: color .2s, background .2s;
    white-space: nowrap;
  }

  .nav-links a:hover { color: var(--primary-dark); background: var(--lavender); }

  .nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

  .search-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--lavender);
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 600;
  }

  .search-entry::before { content: "🔍"; font-size: 0.8rem; }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 800;
    border-radius: 999px;
    border: 2px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .18s, box-shadow .18s;
    text-align: center;
    padding: 10px 22px;
    font-size: 0.95rem;
  }

  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
  .btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--line); }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: #fff;
  }

  .btn-ghost {
    background: var(--bg-white);
    color: var(--primary-dark);
  }

  .btn-sm { padding: 7px 16px; font-size: 0.85rem; }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--bg-white);
    border: 2px solid var(--line);
    border-radius: 10px;
    padding: 0 9px;
  }

  .hamburger span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s, opacity .25s;
  }

  /* ========== 首屏 ========== */
  .hero {
    position: relative;
    padding: 56px 0 64px;
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink-light);
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 20px;
    box-shadow: 3px 3px 0 var(--line);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 3.2rem);
    line-height: 1.24;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
  }

  .hero h1 .hl {
    background: linear-gradient(transparent 58%, #ffe45c 58%);
    padding: 0 4px;
  }

  .hero h1 .hl-pink { color: var(--pink); }

  .hero-sub {
    font-size: 1.02rem;
    color: var(--ink-soft);
    margin-bottom: 28px;
    max-width: 520px;
  }

  .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

  .hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 2px dashed var(--primary);
  }

  .stat-item strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.2;
  }

  .stat-item span { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

  /* 漫画分镜封面 */
  .comic-cover {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    transform: rotate(1.5deg);
  }

  .frame {
    position: relative;
    border: 3px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
  }

  .frame img { width: 100%; height: 100%; object-fit: cover; }

  .frame-main { grid-row: 1 / span 2; aspect-ratio: 3 / 4; }
  .frame-sub { aspect-ratio: 1 / 1; }

  .frame-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
  }

  .frame-tag.pink { background: var(--pink); }
  .frame-tag.cyan { background: var(--cyan); color: var(--ink); }

  .bubble {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: #fff;
    border: 2.5px solid var(--line);
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
    z-index: 3;
    box-shadow: 3px 3px 0 rgba(42, 29, 68, 0.85);
  }

  .bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--line);
  }

  .bubble::before {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #fff;
    z-index: 1;
  }

  /* ========== 通用区块 ========== */
  section { padding: 64px 0; position: relative; }

  .sec-head { margin-bottom: 36px; }

  .sec-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .sec-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.3px;
  }

  .sec-head p {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 0.96rem;
    max-width: 620px;
  }

  /* ========== 分镜片库 ========== */
  .library-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .lib-card {
    position: relative;
    border: 2.5px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: transform .22s, box-shadow .22s;
  }

  .lib-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }

  .lib-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--lavender);
  }

  .lib-thumb img { width: 100%; height: 100%; object-fit: cover; }

  .lib-frame-no {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--ink);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
  }

  .lib-score {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ffe45c;
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 999px;
    border: 2px solid var(--line);
  }

  .lib-info { padding: 10px 10px 12px; }

  .lib-info h3 {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  .lib-meta {
    font-size: 0.7rem;
    color: var(--ink-soft);
    font-weight: 600;
  }

  .lib-meta .genre {
    display: inline-block;
    background: var(--lavender);
    color: var(--primary-dark);
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 4px;
  }

  /* ========== 竖屏连看 ========== */
  .watch-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
  }

  .feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }

  .feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-white);
    border: 2.5px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: 3px 3px 0 var(--line);
  }

  .feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid var(--line);
    font-size: 1.15rem;
    background: var(--lavender);
  }

  .feature-item h3 { font-size: 1rem; font-weight: 800; margin-bottom: 2px; }
  .feature-item p { font-size: 0.86rem; color: var(--ink-soft); }

  /* 手机演示 */
  .phone-stage { position: relative; display: flex; justify-content: center; }

  .phone {
    position: relative;
    width: 260px;
    aspect-ratio: 9 / 19;
    background: var(--ink);
    border-radius: 34px;
    padding: 10px;
    box-shadow: 8px 8px 0 rgba(109, 63, 212, 0.35);
    border: 3px solid var(--line);
    overflow: hidden;
  }

  .phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--lavender);
  }

  .phone-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
  }

  .phone-slide.active { opacity: 1; }

  .phone-slide img { width: 100%; height: 100%; object-fit: cover; }

  .phone-slide .slide-caption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 52px;
    background: rgba(26, 17, 48, 0.86);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 8px;
    line-height: 1.4;
  }

  .phone-hud {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .phone-hud .arrow { display: block; font-size: 1rem; animation: nudge 1.6s infinite; }

  @keyframes nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  .phone-dots {
    position: absolute;
    right: -26px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .phone-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    padding: 0;
    transition: background .2s, transform .2s;
  }

  .phone-dots button.active { background: var(--pink); transform: scale(1.25); }

  /* ========== 魔改工坊 ========== */
  .workshop-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 52px;
    align-items: center;
  }

  .pipeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pipe-step {
    display: flex;
    gap: 14px;
    background: var(--bg-white);
    border: 2.5px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: 3px 3px 0 var(--line);
    align-items: center;
  }

  .pipe-step .step-no {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    border: 2px solid var(--line);
  }

  .pipe-step h3 { font-size: 0.92rem; font-weight: 800; }
  .pipe-step p { font-size: 0.8rem; color: var(--ink-soft); }

  .template-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
  }

  .template-chips span {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: var(--pink-light);
    color: var(--pink);
  }

  /* 剧本预览示意 */
  .script-preview {
    position: relative;
    background: var(--bg-white);
    border: 3px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }

  .script-preview .preview-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--cyan);
    color: var(--ink);
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 12px;
  }

  .story-row {
    border-left: 4px solid var(--primary);
    background: var(--lavender);
    border-radius: 0 10px 10px 0;
    padding: 10px 12px;
    font-size: 0.86rem;
    margin-bottom: 10px;
  }

  .story-row strong { display: block; font-size: 0.72rem; color: var(--primary-dark); margin-bottom: 2px; letter-spacing: 1px; }

  .story-row.mutate { border-left-color: var(--pink); background: var(--pink-light); }
  .story-row.mutate strong { color: var(--pink); }

  .story-row.gen { border-left-color: var(--cyan); background: #e2fbfd; }
  .story-row.gen strong { color: #128d98; }

  .preview-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
  }

  .preview-strip .strip-cell {
    aspect-ratio: 1 / 1;
    border: 2px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--lavender);
  }

  .preview-strip .strip-cell img { width: 100%; height: 100%; object-fit: cover; }

  /* ========== 题材筛选 ========== */
  .filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .chip {
    font-size: 0.84rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: var(--bg-white);
    color: var(--ink-soft);
    box-shadow: 2px 2px 0 var(--line);
    transition: background .18s, color .18s, transform .18s;
  }

  .chip:hover { transform: translateY(-2px); }

  .chip.active {
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: #fff;
  }

  .filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  /* ========== 用户评价 ========== */
  .rating-board {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border: 3px solid var(--line);
    border-radius: 18px;
    padding: 14px 26px;
    box-shadow: var(--shadow);
    margin-bottom: 34px;
  }

  .rating-score {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .rating-board .rating-note strong { display: block; font-size: 0.95rem; font-weight: 800; }
  .rating-board .rating-note span { font-size: 0.78rem; color: var(--ink-soft); }

  .review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .review-card {
    position: relative;
    background: var(--bg-white);
    border: 2.5px solid var(--line);
    border-radius: 18px;
    padding: 22px 20px 18px;
    box-shadow: var(--shadow);
    transition: transform .2s;
  }

  .review-card:hover { transform: translateY(-4px); }

  .review-card::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--line);
  }

  .review-card::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 31.5px;
    width: 0;
    height: 0;
    border-left: 10.5px solid transparent;
    border-right: 10.5px solid transparent;
    border-top: 10.5px solid var(--bg-white);
    z-index: 1;
  }

  .review-quote {
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 14px;
    font-weight: 600;
  }

  .review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-soft);
  }

  .avatar-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--pink));
  }

  /* ========== FAQ ========== */
  .faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

  .faq-item {
    background: var(--bg-white);
    border: 2.5px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 var(--line);
    overflow: hidden;
  }

  .faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 0.98rem;
    font-weight: 800;
    text-align: left;
    color: var(--ink);
  }

  .faq-q .faq-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: var(--lavender);
    transition: transform .25s, background .25s;
  }

  .faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--pink); color: #fff; }

  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .faq-a p {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: var(--ink-soft);
  }

  /* ========== 下载区 ========== */
  .download-band { padding-bottom: 80px; }

  .download-box {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--line);
    border-radius: 24px;
    padding: 52px 40px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, var(--lavender) 55%, var(--pink-light) 100%);
    box-shadow: var(--shadow-lg);
  }

  .download-box::before,
  .download-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.28;
    pointer-events: none;
  }

  .download-box::before { width: 220px; height: 220px; top: -70px; left: -60px; }
  .download-box::after { width: 260px; height: 260px; bottom: -100px; right: -70px; }

  .download-box h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
  }

  .download-box p {
    font-size: 0.98rem;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
  }

  .download-box .btn { position: relative; z-index: 1; font-size: 1.05rem; padding: 15px 44px; }

  .dl-points {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 26px;
    position: relative;
    z-index: 1;
  }

  .dl-points span {
    font-size: 0.82rem;
    font-weight: 700;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 5px 14px;
    box-shadow: 2px 2px 0 var(--line);
  }

  /* ========== 页脚 ========== */
  .site-footer {
    border-top: 2px solid var(--line);
    background: #fff;
    padding: 40px 0 28px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 26px;
    border-bottom: 1px solid #eee6f8;
  }

  .footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; margin-bottom: 10px; }

  .footer-brand img { height: 30px; width: 30px; object-fit: cover; border-radius: 7px; border: 2px solid var(--line); }

  .footer-desc { font-size: 0.82rem; color: #8b7fa3; line-height: 1.75; max-width: 340px; }

  .footer-col h3 { font-size: 0.85rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }

  .footer-col ul { display: flex; flex-direction: column; gap: 8px; }

  .footer-col a { font-size: 0.82rem; color: #8b7fa3; transition: color .2s; }
  .footer-col a:hover { color: var(--primary-dark); }

  .footer-bottom {
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.74rem;
    color: #a99dbf;
  }

  .footer-bottom a { color: #a99dbf; }
  .footer-bottom a:hover { color: var(--primary-dark); }

  .footer-meta { display: flex; flex-direction: column; gap: 4px; }

  /* ========== 响应式 ========== */
  @media (max-width: 1024px) {
    .library-grid, .filter-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { gap: 32px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-links a { font-size: 0.82rem; padding: 5px 9px; }
    .search-entry { display: none; }
  }

  @media (max-width: 768px) {
    html { scroll-padding-top: 72px; }
    .nav-wrap { height: 60px; }
    .nav-links {
      position: fixed;
      top: 62px;
      left: 0;
      right: 0;
      background: #fff;
      flex-direction: column;
      align-items: stretch;
      padding: 14px 20px 22px;
      border-bottom: 2px solid var(--line);
      gap: 4px;
      transform: translateY(-130%);
      transition: transform .28s ease;
      max-height: calc(100vh - 62px);
      overflow-y: auto;
      z-index: 99;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a { padding: 10px 12px; font-size: 0.95rem; }
    .hamburger { display: flex; }
    .brand img { height: 30px; width: 30px; }
    .brand { font-size: 1rem; }
    .btn-sm { padding: 6px 12px; font-size: 0.8rem; }

    .hero { padding: 34px 0 46px; }
    .hero-grid { grid-template-columns: 1fr; }
    .comic-cover { order: -1; transform: rotate(0deg); max-width: 420px; margin: 0 auto 8px; }
    .hero-sub { font-size: 0.95rem; }
    .hero-stats { gap: 20px; }

    .library-grid, .filter-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .review-grid { grid-template-columns: 1fr; }
    .watch-split, .workshop-split { grid-template-columns: 1fr; gap: 36px; }
    .phone-stage { order: -1; }

    section { padding: 48px 0; }

    .download-box { padding: 40px 22px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; }
  }

  @media (max-width: 400px) {
    .library-grid, .filter-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lib-info h3 { font-size: 0.82rem; }
    .phone { width: 220px; }
  }

  /* 滚动淡入 */
  .reveal {
    opacity: 1;
    transform: translateY(24px);
    transition: transform .6s ease, opacity .6s ease;
  }
  .reveal.in { transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { transform: none; }
  }