:root {
    --ink: #241c2b;
    --ink-soft: #5c5266;
    --paper: #fffaf5;
    --pink: #ff4f86;
    --pink-deep: #e0306a;
    --violet: #6b4ce6;
    --mint: #16b8a6;
    --amber: #ffb020;
    --line: #ecd9dd;
    --radius: 18px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
  .section { padding: 60px 0; }
  .eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--pink-deep);
    background: #ffeaf0;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 12px;
  }
  h2 { font-size: 26px; line-height: 1.35; letter-spacing: .01em; }
  h3 { font-size: 18px; line-height: 1.45; }
  p { color: var(--ink-soft); }

  /* ---------- header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,250,245,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
    padding: 10px 18px;
    max-width: 1160px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; white-space: nowrap; }
  .brand img { height: 32px; width: auto; border-radius: 8px; }
  .nav-toggle {
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    padding: 6px 12px;
    color: var(--ink);
    font-family: inherit;
    cursor: pointer;
  }
  .main-nav { width: 100%; }
  .main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
  .main-nav a {
    display: block;
    font-size: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: background .2s, color .2s, transform .2s;
    white-space: nowrap;
  }
  .main-nav a:hover, .main-nav a:focus-visible {
    background: #ffeaf0;
    color: var(--pink-deep);
    transform: translateY(-1px);
  }
  .main-nav .nav-hot { background: linear-gradient(120deg, #ff4f86, #a05cff); color: #fff; }
  .main-nav .nav-hot:hover { background: linear-gradient(120deg, #e0306a, #8b3ce0); color: #fff; }

  /* ---------- hero ---------- */
  .hero {
    background:
      radial-gradient(circle at 12% 8%, #ffe1e9 0, transparent 42%),
      radial-gradient(circle at 92% 4%, #e6e0ff 0, transparent 38%),
      radial-gradient(circle at 80% 92%, #d9f5f0 0, transparent 40%),
      #fffaf5;
    padding: 44px 0 0;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 34px;
    align-items: center;
  }
  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.34;
    letter-spacing: .01em;
    margin-bottom: 14px;
  }
  .hero-copy h1 em { font-style: normal; color: var(--pink-deep); }
  .hero-lead { font-size: 16px; margin-bottom: 20px; max-width: 46em; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .tag {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-soft);
  }
  .tag.hot { background: #fff2d6; border-color: #ffd98a; color: #8a5b00; }
  .tag.cool { background: #e9f6f4; border-color: #b7e4dd; color: #0d6e63; }
  .dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700;
    padding: 11px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: transform .18s, box-shadow .18s, background .18s;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(224,48,106,.18); }
  .btn-main { background: linear-gradient(120deg, #ff4f86, #ff7a4f); color: #fff; }
  .btn-alt { background: #fff; border-color: var(--line); color: var(--ink); }
  .btn-alt:hover { box-shadow: 0 8px 18px rgba(107,76,230,.14); }
  .btn-mini { font-size: 13px; padding: 7px 13px; border-radius: 10px; background: #f5eefe; color: var(--violet); border: 1px solid #e2d6ff; }

  .hero-visual { position: relative; }
  .carousel { position: relative; }
  .slides { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(90,50,90,.16); }
  .slide { display: none; }
  .slide.is-active { display: block; }
  .slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(24,12,32,.82), rgba(24,12,32,0));
    color: #fff; font-size: 13px;
  }
  .slide figcaption strong { display: block; font-size: 15px; margin-bottom: 2px; }
  .dots { display: flex; gap: 7px; justify-content: center; margin-top: 12px; }
  .dots button {
    width: 9px; height: 9px; border-radius: 50%;
    border: 0; background: #e3d3da; padding: 0; cursor: pointer;
    transition: background .2s, width .2s;
  }
  .dots button.is-active { background: var(--pink); width: 22px; border-radius: 999px; }

  /* marquee */
  .marquee {
    margin-top: 34px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    padding: 10px 0;
  }
  .marquee-track { display: flex; gap: 26px; width: max-content; animation: slide-left 26s linear infinite; }
  .marquee-track span {
    font-size: 14px; font-weight: 700;
    background: linear-gradient(90deg, #ff2f74, #a35cff 55%, #12b0c9);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    white-space: nowrap;
  }
  .marquee-track span::before { content: "◆ "; color: #ffb020; -webkit-text-fill-color: #ffb020; }
  @keyframes slide-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ---------- 三个分类区 ---------- */
  .type-cn { background: #fff5f2; }
  .type-jp { background: #f3f7ff; }
  .type-kr { background: #fff9e9; }
  .sec-head { margin-bottom: 26px; }
  .sec-head p { max-width: 52em; margin-top: 8px; }

  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .book {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
  }
  .book:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(120,70,90,.12); }
  .book img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .book-body { padding: 13px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .book-body h3 { font-size: 16px; }
  .book-meta { font-size: 12px; color: #9a8f9f; }
  .book-desc { font-size: 13px; color: var(--ink-soft); }
  .book-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
  .book-tags span { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #fdeef3; color: var(--pink-deep); }
  .type-jp .book-tags span { background: #eaf0ff; color: #3857c8; }
  .type-kr .book-tags span { background: #fff3d1; color: #8a5b00; }

  /* 日漫：竖图 + 文案列表 */
  .split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
  }
  .split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 16px 32px rgba(50,70,140,.14); }
  .split-media figcaption { font-size: 12.5px; color: #8a93b3; margin-top: 8px; text-align: center; }
  .rank-list { list-style: none; display: grid; gap: 10px; }
  .rank-list li {
    display: flex; gap: 12px; align-items: flex-start;
    background: #fff; border: 1px solid #dde6ff; border-radius: 14px;
    padding: 12px 14px;
  }
  .rank-no {
    flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(130deg, #5b7cff, #8f5cff); color: #fff;
    font-size: 13px; font-weight: 800; display: grid; place-items: center;
  }
  .rank-list b { display: block; font-size: 15px; }
  .rank-list small { font-size: 12.5px; color: #7d86a3; line-height: 1.5; display: block; }

  /* 韩漫：横向滚动图墙 */
  .scroll-hint { font-size: 12.5px; color: #9a8f9f; margin-top: 6px; }
  .wall {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .wall figure { scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #f3e2bd; }
  .wall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .wall figcaption { padding: 11px 12px 13px; font-size: 13px; color: var(--ink-soft); }
  .wall figcaption b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }

  /* ---------- 今日热播榜 ---------- */
  .hot { background: #1c1327; color: #f4ecf7; }
  .hot h2, .hot h3 { color: #fff; }
  .hot p { color: #c6b8d4; }
  .hot .eyebrow { background: #3a2450; color: #ffc7dc; }
  .hot-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: start; }
  .timeline { list-style: none; position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(#ff4f86, #a35cff, #16b8a6);
  }
  .timeline li { position: relative; padding: 0 0 16px 4px; }
  .timeline li::before {
    content: ""; position: absolute; left: -25px; top: 8px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #ff8fb4; box-shadow: 0 0 0 4px rgba(255,79,134,.18);
  }
  .tl-time { font-size: 13px; font-weight: 800; color: #ffc7dc; letter-spacing: .05em; }
  .tl-title { font-size: 15px; font-weight: 700; color: #fff; }
  .tl-note { font-size: 12.5px; color: #b7a9c6; }
  .hot-side { display: grid; gap: 14px; }
  .hot-card { background: #2a1c3a; border: 1px solid #3d2a52; border-radius: 16px; padding: 16px; }
  .hot-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
  .hot-card b { color: #fff; font-size: 15px; display: block; margin-bottom: 4px; }
  .hot-card span { font-size: 12.5px; color: #b7a9c6; }

  /* ---------- 会员权益 ---------- */
  .vip { background: linear-gradient(160deg, #fff7e8, #ffeef5); }
  .vip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .vip-card {
    background: #fff; border-radius: 16px; padding: 18px;
    border: 1px solid #ffe0c4;
  }
  .vip-card h3 { font-size: 16px; margin-bottom: 6px; }
  .vip-card p { font-size: 13.5px; }
  .vip-note { font-size: 12.5px; color: #9a8f9f; margin-top: 16px; }

  /* ---------- 隐私安全 / 意见反馈 ---------- */
  .privacy { background: #eefaf7; }
  .safe-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; }
  .safe-list li { background: #fff; border: 1px solid #c9ece4; border-radius: 14px; padding: 14px 16px; font-size: 14px; }
  .safe-list b { display: block; font-size: 15px; margin-bottom: 3px; }

  .feedback { background: #f6f1ff; }
  .fb-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
  .fb-steps { list-style: none; counter-reset: fb; display: grid; gap: 12px; }
  .fb-steps li { counter-increment: fb; background: #fff; border-radius: 14px; padding: 14px 16px 14px 48px; position: relative; font-size: 14px; border: 1px solid #e2d6ff; }
  .fb-steps li::before {
    content: counter(fb); position: absolute; left: 14px; top: 13px;
    width: 24px; height: 24px; border-radius: 50%;
    background: #6b4ce6; color: #fff; font-size: 13px;
    display: grid; place-items: center; font-weight: 700;
  }
  .fb-card { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid #e2d6ff; }
  .fb-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
  .fb-card p { font-size: 13.5px; }

  /* ---------- 常见问题 ---------- */
  .faq { background: #fffaf0; }
  .faq-list { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
  .faq details {
    background: #fff; border: 1px solid #f0dfc4; border-radius: 14px; padding: 0;
    overflow: hidden;
  }
  .faq summary {
    cursor: pointer; font-weight: 700; font-size: 15px;
    padding: 14px 16px; list-style: none; position: relative;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "＋"; position: absolute; right: 16px; color: var(--pink-deep); }
  .faq details[open] summary::after { content: "－"; }
  .faq details p { padding: 0 16px 16px; font-size: 13.5px; }

  /* ---------- 下载专区 ---------- */
  .download { background: linear-gradient(180deg, #ffffff, #ffeef4); }
  .dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
  .dl-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 18px 16px; display: flex; flex-direction: column; gap: 8px;
    transition: transform .2s, box-shadow .2s;
  }
  .dl-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(224,48,106,.14); }
  .dl-card b { font-size: 15.5px; }
  .dl-card small { font-size: 12.5px; color: #9a8f9f; line-height: 1.55; }
  .dl-card .btn { align-self: flex-start; margin-top: auto; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .step { background: #fff; border: 1px dashed #ffc2d4; border-radius: 14px; padding: 16px; }
  .step b { display: block; color: var(--pink-deep); margin-bottom: 4px; }
  .step span { font-size: 13.5px; color: var(--ink-soft); }

  /* ---------- footer ---------- */
  .site-footer { background: #241c2b; color: #b6aabb; padding: 34px 0 90px; font-size: 12.5px; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
  .foot-grid h4 { color: #eee4f2; font-size: 13.5px; margin-bottom: 8px; }
  .foot-grid p { color: #9d92a3; font-size: 12.5px; }
  .foot-nav { list-style: none; display: grid; gap: 5px; }
  .foot-nav a { color: #b6aabb; }
  .foot-nav a:hover { color: #ffc7dc; }
  .foot-bottom {
    margin-top: 24px; padding-top: 14px; border-top: 1px solid #35293d;
    display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
    color: #8f8496; font-size: 12px;
  }
  .foot-bottom a { color: #8f8496; }
  .foot-bottom time { color: #8f8496; }

  /* ---------- floating download ---------- */
  .float-dl {
    position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
    z-index: 80;
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px 8px 8px;
    box-shadow: 0 10px 26px rgba(90,50,90,.2);
    max-width: calc(100% - 24px);
  }
  .float-dl img { height: 34px; width: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
  .float-dl .fd-text { min-width: 0; }
  .float-dl .fd-text b { display: block; font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-dl .fd-text small { display: block; font-size: 11px; color: #9a8f9f; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-dl .fd-btn {
    flex: 0 0 auto;
    font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(120deg, #ff4f86, #ff7a4f);
    padding: 8px 14px; border-radius: 999px;
  }

  /* ---------- copy modal ---------- */
  .copy-modal {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(20,12,26,.55);
    display: none; place-items: center;
    padding: 20px;
  }
  .copy-modal.is-open { display: grid; }
  .copy-box { background: #fff; border-radius: 16px; padding: 22px; max-width: 380px; width: 100%; }
  .copy-box p { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
  .copy-box input {
    width: 100%; font-size: 13px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 10px;
    font-family: inherit; color: var(--ink-soft);
    background: #fdf7f9;
    margin-bottom: 14px;
  }
  .copy-box .copy-actions { display: flex; gap: 10px; }
  .copy-box button {
    font-family: inherit; font-size: 14px; font-weight: 700;
    padding: 9px 16px; border-radius: 10px; border: 0; cursor: pointer;
  }
  .copy-box .do-copy { background: linear-gradient(120deg, #ff4f86, #ff7a4f); color: #fff; }
  .copy-box .do-close { background: #f2ecf3; color: var(--ink); }

  /* ---------- responsive ---------- */
  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero-copy h1 { font-size: 27px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: .9fr 1.1fr; gap: 20px; }
    .hot-grid { grid-template-columns: 1fr; }
    .fb-wrap { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .section { padding: 42px 0; }
    h2 { font-size: 22px; }
    .hero { padding-top: 26px; }
    .hero-grid { grid-template-columns: 1fr; gap: 22px; }
    .hero-copy h1 { font-size: 24px; }
    .hero-lead { font-size: 14.5px; }
    .main-nav { display: none; padding-top: 8px; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { border-radius: 10px; padding: 9px 12px; }
    .grid-3 { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split-media img { aspect-ratio: 16 / 10; }
    .vip-grid, .safe-list { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; gap: 18px; }
    .slide img { aspect-ratio: 16 / 10; }
    .float-dl { bottom: 10px; padding: 6px 10px 6px 6px; gap: 8px; }
    .float-dl img { height: 30px; width: 30px; }
    .float-dl .fd-text small { display: none; }
    .site-footer { padding-bottom: 86px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    * { transition: none !important; }
  }