:root {
    --paper: #fdf6ec;
    --ink: #2b2320;
    --ink-soft: #6b5d55;
    --rose: #d85a6b;
    --rose-deep: #a8374a;
    --plum: #5c3a56;
    --amber: #e8a13a;
    --sky: #3f6f8f;
    --mint: #4c8b78;
    --line: rgba(43, 35, 32, 0.14);
    --card: #fffaf2;
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

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

  /* ---------- header ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(253, 246, 236, 0.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;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.03em;
    color: var(--plum);
  }
  .brand img {
    height: 32px;
    width: 32px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid var(--line);
  }

  .nav-desktop {
    display: none;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
  }
  .nav-list a {
    display: inline-block;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: color .18s ease, background .18s ease, transform .18s ease;
  }
  .nav-list a:hover,
  .nav-list a:focus-visible {
    color: #fff;
    background: var(--rose);
    transform: translateY(-1px);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 14px;
    color: var(--plum);
    cursor: pointer;
  }
  .nav-toggle .bars {
    display: inline-block;
    width: 16px;
    height: 12px;
    position: relative;
  }
  .nav-toggle .bars::before,
  .nav-toggle .bars::after,
  .nav-toggle .bars span {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--plum);
  }
  .nav-toggle .bars::before { top: 0; }
  .nav-toggle .bars span { top: 5px; }
  .nav-toggle .bars::after { top: 10px; }

  .nav-mobile {
    display: none;
    padding: 6px 0 16px;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .nav-mobile a {
    display: block;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    color: var(--plum);
  }
  .nav-mobile a:hover { background: #fbe9e4; }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    padding: 28px 0 0;
    background:
      radial-gradient(circle at 12% 8%, rgba(216, 90, 107, 0.16), transparent 46%),
      radial-gradient(circle at 88% 22%, rgba(232, 161, 58, 0.16), transparent 44%),
      linear-gradient(180deg, #fdf2e6 0%, #fdf6ec 100%);
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }
  .hero-copy h1 {
    font-size: 30px;
    line-height: 1.35;
    margin: 0 0 14px;
    color: var(--plum);
    letter-spacing: 0.01em;
  }
  .hero-copy h1 em {
    font-style: normal;
    color: var(--rose-deep);
    background: linear-gradient(180deg, transparent 62%, rgba(232, 161, 58, 0.42) 62%);
  }
  .hero-lead {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0 0 10px;
  }
  .hero-points {
    list-style: none;
    padding: 0;
    margin: 16px 0 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hero-points li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ink);
  }
  .hero-points li b {
    display: block;
    font-size: 13px;
    color: var(--rose-deep);
    letter-spacing: 0.04em;
  }

  .device-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
  }
  .btn-device {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn-device:hover { transform: translateY(-2px); }
  .btn-device .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.75;
  }
  .btn-android {
    background: var(--mint);
    color: #fff;
    box-shadow: 0 8px 20px rgba(76, 139, 120, 0.28);
  }
  .btn-ios {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 8px 20px rgba(43, 35, 32, 0.24);
  }
  .btn-web {
    background: #fff;
    color: var(--sky);
    border-color: var(--sky);
  }
  .btn-harmony {
    background: var(--amber);
    color: #43290a;
    box-shadow: 0 8px 20px rgba(232, 161, 58, 0.32);
  }

  .hero-note {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 10px 0 0;
  }

  /* carousel */
  .hero-visual {
    position: relative;
  }
  .carousel {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #f4e8d8;
    box-shadow: 0 16px 40px rgba(92, 58, 86, 0.12);
    aspect-ratio: 4 / 3;
  }
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide.is-active { opacity: 1; }
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  .carousel-dots button {
    width: 26px;
    height: 6px;
    border-radius: 999px;
    border: none;
    background: rgba(92, 58, 86, 0.22);
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
    padding: 0;
  }
  .carousel-dots button.active {
    width: 40px;
    background: var(--rose);
  }

  /* marquee */
  .marquee {
    margin-top: 26px;
    background: #2b2320;
    overflow: hidden;
    padding: 11px 0;
    border-top: 2px solid var(--amber);
    border-bottom: 2px solid var(--rose);
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 26s linear infinite;
  }
  .marquee-track span {
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    background: linear-gradient(90deg, #ff9a6c, #ffd166, #ff7a9a, #a4e2c6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  @keyframes scrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ---------- generic section ---------- */
  section { padding: 52px 0; }
  .sec-head {
    margin-bottom: 24px;
  }
  .sec-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--rose-deep);
    background: rgba(216, 90, 107, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
  }
  .sec-head h2 {
    font-size: 25px;
    margin: 0 0 8px;
    color: var(--plum);
    line-height: 1.4;
  }
  .sec-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 760px;
  }

  /* 国漫：横向滑动截图墙 */
  .bg-guoman { background: #fcefe4; }
  .scroll-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 2px 16px;
    scroll-snap-type: x mandatory;
  }
  .scroll-strip::-webkit-scrollbar { height: 6px; }
  .scroll-strip::-webkit-scrollbar-thumb { background: rgba(216,90,107,.35); border-radius: 999px; }
  .strip-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .strip-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
  }
  .strip-card .strip-body { padding: 12px 14px 16px; }
  .strip-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--plum);
  }
  .strip-card .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }
  .tag {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f7e3d3;
    color: #8a5030;
  }
  .strip-card p { margin: 0; font-size: 13px; color: var(--ink-soft); }
  .date-line {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--rose-deep);
  }

  /* 日漫：左右均衡 */
  .bg-riman { background: #eef3f7; }
  .split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .split-figure {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 30px rgba(63, 111, 143, 0.12);
  }
  .split-figure img { width: 100%; height: 100%; object-fit: cover; }
  .list-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
  }
  .list-items li {
    background: #fff;
    border: 1px solid rgba(63, 111, 143, 0.18);
    border-left: 4px solid var(--sky);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ink);
  }
  .list-items li b { color: var(--sky); }

  /* 韩漫：色块拼贴 */
  .bg-hanman { background: #f5eef4; }
  .mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tile {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(92, 58, 86, 0.16);
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .tile .num {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--plum);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tile p { margin: 0; font-size: 14px; color: var(--ink); }
  .tile p b { color: var(--rose-deep); display: block; margin-bottom: 2px; }

  /* 热播榜：时间轴 */
  .bg-rank { background: #fbf1e2; }
  .timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 18px;
    border-left: 2px dashed rgba(232, 161, 58, 0.6);
  }
  .timeline li {
    position: relative;
    padding: 0 0 20px 20px;
  }
  .timeline li::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--amber);
    border: 3px solid #fbf1e2;
    box-shadow: 0 0 0 2px var(--amber);
  }
  .timeline .slot {
    font-weight: 700;
    color: #8a5a12;
    font-size: 15px;
  }
  .timeline .slot-text {
    font-size: 14px;
    color: var(--ink-soft);
  }

  /* 会员 & 隐私：问答 */
  .bg-faq { background: #eaf4ef; }
  .qa-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .qa-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(76, 139, 120, 0.2);
  }
  .qa-item .q {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--mint);
  }
  .qa-item .a {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
  }

  /* 意见反馈 */
  .bg-feedback { background: #fdeef0; }
  .feedback-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feedback-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    font-size: 14px;
    border: 1px solid rgba(216, 90, 107, 0.2);
  }
  .feedback-card strong { color: var(--rose-deep); }
  .comments {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }
  .comment {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--line);
  }
  .comment img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 36px;
  }
  .comment .who { font-size: 13px; font-weight: 700; color: var(--plum); }
  .comment .say { font-size: 13px; color: var(--ink-soft); margin: 2px 0 0; }

  /* 下载专区 */
  .bg-download { background: linear-gradient(180deg, #eff3f8 0%, #fdf6ec 100%); }
  .steps {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    counter-reset: step;
  }
  .steps li {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 14px 16px 14px 52px;
    position: relative;
    font-size: 14px;
    color: var(--ink-soft);
  }
  .steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rose);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .steps li b { color: var(--ink); display: block; }
  .download-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(92, 58, 86, 0.1);
  }
  .download-panel h3 {
    margin: 0 0 6px;
    color: var(--plum);
    font-size: 18px;
  }
  .download-panel p { margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); }
  .download-panel .device-bar { margin-bottom: 0; }

  /* footer */
  .site-footer {
    background: #2b2320;
    color: #b8a99f;
    font-size: 13px;
    padding: 34px 0 90px;
  }
  .footer-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fdf6ec;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
  }
  .footer-brand img {
    height: 30px;
    width: 30px;
    border-radius: 8px;
    object-fit: cover;
  }
  .site-footer h3 {
    color: #fdf6ec;
    font-size: 14px;
    margin: 0 0 10px;
    font-weight: 600;
  }
  .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 16px;
  }
  .footer-links a { color: #b8a99f; }
  .footer-links a:hover { color: #f0c98a; }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 24px;
    padding-top: 16px;
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #8d7f76;
  }
  .footer-bottom a { color: #a9988d; }
  .footer-bottom time { color: #8d7f76; }

  /* floating download */
  .float-dl {
    position: fixed;
    left: 50%;
    bottom: 16px;
    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 14px 8px 8px;
    box-shadow: 0 12px 30px rgba(43, 35, 32, 0.2);
    max-width: calc(100% - 24px);
  }
  .float-dl img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 36px;
  }
  .float-dl .float-text {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.3;
    max-width: 190px;
  }
  .float-dl .float-text b {
    display: block;
    font-size: 13px;
    color: var(--plum);
  }
  .float-dl .float-go {
    background: var(--rose);
    color: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  /* 百度 App 提示框 */
  .baidu-tip {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(20, 14, 12, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .baidu-tip.show { display: flex; }
  .baidu-box {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    max-width: 360px;
    width: 100%;
    text-align: center;
  }
  .baidu-box p {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.6;
  }
  .baidu-box .link-field {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px dashed var(--rose);
    border-radius: 10px;
    background: #fdf3ef;
    color: var(--rose-deep);
    font-size: 13px;
    word-break: break-all;
    margin-bottom: 12px;
  }
  .baidu-box button {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: none;
    background: var(--rose);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }
  .baidu-box .close-tip {
    background: transparent;
    color: var(--ink-soft);
    font-weight: 400;
    margin-top: 6px;
  }

  /* breakpoints */
  @media (min-width: 768px) {
    .header-inner { padding: 14px 0; }
    .nav-mobile ul { grid-template-columns: repeat(3, 1fr); }
    .hero-copy h1 { font-size: 38px; }
    .hero-points { grid-template-columns: repeat(4, 1fr); }
    .carousel { aspect-ratio: 16 / 10; }
    .split { grid-template-columns: 1fr 1.15fr; gap: 30px; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .qa-grid { grid-template-columns: repeat(2, 1fr); }
    .feedback-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
    .float-dl .float-text { max-width: 230px; }
  }

  @media (min-width: 1024px) {
    .nav-desktop { display: block; }
    .nav-toggle { display: none; }
    .nav-mobile { display: none !important; }
    .hero { padding-top: 40px; }
    .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
    .hero-copy h1 { font-size: 42px; }
    .hero-points { grid-template-columns: repeat(2, 1fr); }
    .carousel { aspect-ratio: 4 / 4.4; }
    section { padding: 68px 0; }
    .sec-head h2 { font-size: 30px; }
    .strip-card { flex: 0 0 250px; }
    .mosaic { grid-template-columns: repeat(5, 1fr); }
    .mosaic .tile { flex-direction: column; }
    .split-reverse { grid-template-columns: 1.15fr 1fr; }
    .split-reverse .split-figure { order: 2; }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
  }

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