:root {
    --ink: #1a1a1a;
    --paper: #FDFCF9;
    --blue: #2b6ef2;
    --pink: #f25c93;
    --cyan: #1fcfc9;
    --line: 1px solid #333;
    --halftone: radial-gradient(circle, #e8e6e1 1px, transparent 1px);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--paper);
    background-image: var(--halftone);
    background-size: 14px 14px;
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; }

  /* ===== Header ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 252, 249, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--ink);
  }
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .brand img { height: 34px; width: auto; }
  .nav-list {
    display: flex;
    gap: 22px;
    font-size: 0.92rem;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-list a { position: relative; padding-bottom: 2px; transition: color .2s; }
  .nav-list a:hover { color: var(--blue); }
  .nav-list a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: var(--pink); transition: width .25s;
  }
  .nav-list a:hover::after { width: 100%; }
  .menu-toggle {
    display: none; background: none; border: var(--line); border-radius: 8px;
    font-size: 1.2rem; padding: 4px 10px; cursor: pointer; color: var(--ink);
  }

  /* ===== Hero ===== */
  .hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
  }
  .hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 2px;
    color: #0d0d0d;
    text-shadow: 4px 4px 0 rgba(242, 92, 147, 0.35), -2px -2px 0 rgba(43, 110, 242, 0.18);
    margin-bottom: 20px;
  }
  .hero-copy h1 .accent { color: var(--blue); }
  .hero-sub {
    font-size: 1.08rem;
    color: #3a3a3a;
    margin-bottom: 14px;
    max-width: 460px;
  }
  .hero-tags {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
  }
  .hero-tags span {
    font-size: 0.8rem; font-weight: 700; padding: 4px 12px;
    border: var(--line); border-radius: 999px; background: #fff;
  }
  .hero-tags span:nth-child(1) { color: var(--blue); border-color: var(--blue); }
  .hero-tags span:nth-child(2) { color: var(--pink); border-color: var(--pink); }
  .hero-tags span:nth-child(3) { color: var(--cyan); border-color: var(--cyan); }
  .hero-tags span:nth-child(4) { color: var(--ink); }

  .btn-bubble {
    display: inline-block;
    position: relative;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 16px 38px;
    border-radius: 30px;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--pink), -3px -3px 0 var(--blue);
    transition: transform .18s, box-shadow .18s;
  }
  .btn-bubble:hover {
    transform: translate(-2px, -2px);
    box-shadow: 9px 9px 0 var(--pink), -3px -3px 0 var(--blue);
  }
  .btn-bubble::after {
    content: '';
    position: absolute; left: 34px; bottom: -14px;
    border-width: 14px 12px 0 0;
    border-style: solid;
    border-color: var(--ink) transparent transparent transparent;
  }

  .hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .hero-cover {
    border: 5px solid #fff;
    outline: var(--line);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #eee;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.12);
    transform: rotate(-2deg);
    transition: transform .25s;
  }
  .hero-cover:nth-child(2) { transform: rotate(2.5deg) translateY(18px); }
  .hero-cover:hover { transform: rotate(0) scale(1.03); }
  .hero-cover img { width: 100%; height: 100%; object-fit: cover; }

  /* ===== Section base ===== */
  section { padding: 70px 20px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .sec-head { text-align: center; margin-bottom: 44px; }
  .sec-head h2 {
    display: inline-block;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
  }
  .sec-head h2::after {
    content: ''; display: block; height: 6px; margin-top: 6px;
    background: var(--pink); border-radius: 4px; transform: rotate(-1deg);
  }
  .sec-head p { margin-top: 14px; color: #555; font-size: 0.98rem; }

  /* ===== Discover / Masonry ===== */
  #discover { background: #fff; border-top: var(--line); border-bottom: var(--line); }
  .tag-row {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px;
  }
  .tag-row span {
    font-family: "Comic Sans MS", "Segoe Print", cursive;
    font-size: 0.95rem;
    padding: 2px 10px;
    font-weight: 700;
    border-bottom: 3px solid;
    transform: rotate(-1.5deg);
  }
  .tag-row span:nth-child(odd) { color: var(--blue); border-color: var(--blue); transform: rotate(1.2deg); }
  .tag-row span:nth-child(even) { color: var(--pink); border-color: var(--pink); }
  .tag-row span:nth-child(3n) { color: var(--cyan); border-color: var(--cyan); }

  .masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .comic-card {
    position: relative;
    background: #fff;
    border: 5px solid #fff;
    outline: var(--line);
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.08);
    transition: transform .22s;
  }
  .comic-card:nth-child(2n) { transform: rotate(1deg); }
  .comic-card:nth-child(3n) { transform: rotate(-1.4deg); }
  .comic-card:nth-child(5n) { margin-top: 20px; }
  .comic-card img { width: 100%; height: 100%; object-fit: cover; }
  .comic-card:hover { transform: rotate(-2.5deg) scale(1.04); z-index: 3; }
  .sfx {
    position: absolute;
    top: 10px; right: 10px;
    font-family: "Comic Sans MS", "Segoe Print", cursive;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    padding: 2px 10px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    transform: rotate(8deg);
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
  }
  .comic-card:hover .sfx { opacity: 1; }
  .sfx.boom { background: var(--pink); }
  .sfx.new { background: var(--blue); }
  .sfx.hot { background: var(--cyan); }

  /* ===== Features ===== */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .feature-card {
    background: #fff;
    border: var(--line);
    border-radius: 4px;
    padding: 32px 28px;
    position: relative;
    transition: transform .2s, box-shadow .2s;
  }
  .feature-card:hover { transform: translateY(-4px); box-shadow: 5px 5px 0 var(--blue); }
  .feature-card .num {
    position: absolute; top: 12px; right: 18px;
    font-family: "Comic Sans MS", cursive;
    font-size: 2.6rem; font-weight: 900; color: #eee;
    line-height: 1;
  }
  .feature-icon {
    width: 54px; height: 54px; margin-bottom: 18px;
    border: 2px solid var(--ink); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 900;
  }
  .feature-card:nth-child(1) .feature-icon { color: var(--blue); }
  .feature-card:nth-child(2) .feature-icon { color: var(--pink); }
  .feature-card:nth-child(3) .feature-icon { color: var(--cyan); }
  .feature-card:nth-child(4) .feature-icon { color: var(--ink); }
  .feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: .5px; }
  .feature-card p { font-size: 0.94rem; color: #444; }

  /* ===== Advantages / Bubbles ===== */
  #advantage { background: #FBF6E9; border-top: var(--line); border-bottom: var(--line); }
  .adv-list { display: flex; flex-direction: column; gap: 26px; }
  .adv-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: center;
  }
  .bubble-title {
    position: relative;
    background: #fff;
    border: var(--line);
    border-radius: 18px;
    padding: 14px 20px;
    font-weight: 900;
    font-size: 1.08rem;
    text-align: center;
  }
  .bubble-title::after {
    content: '';
    position: absolute; right: -11px; top: 50%; transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 12px solid var(--ink);
  }
  .bubble-title::before {
    content: '';
    position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
    width: 0; height: 0; z-index: 1;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 12px solid #fff;
  }
  .adv-item:nth-child(2) .bubble-title { border-color: var(--blue); }
  .adv-item:nth-child(3) .bubble-title { border-color: var(--pink); }
  .adv-item p { font-size: 0.98rem; color: #3d3d3d; }

  /* ===== Rankings / Notebook ===== */
  #rank { background: #fff; border-bottom: var(--line); }
  .notebook-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .notebook {
    background: var(--paper);
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 35px,
      #e3e0d8 35px,
      #e3e0d8 36px
    );
    border: var(--line);
    border-radius: 6px;
    padding: 20px 26px;
  }
  .notebook h3 {
    font-size: 1.25rem; margin-bottom: 12px;
    display: inline-block;
    background: #fff; padding: 0 8px;
  }
  .rank-item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0;
    font-size: 0.98rem;
  }
  .rank-num {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.95rem;
    background: #fff;
  }
  .rank-num.r1 { border: 2px solid var(--pink); border-radius: 50%; color: var(--pink); transform: rotate(-6deg); }
  .rank-num.r2 { border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); transform: rotate(5deg); }
  .rank-num.r3 { border: 2px solid var(--cyan); border-radius: 50%; color: var(--cyan); transform: rotate(-4deg); }
  .rank-name { font-weight: 700; flex: 1; }
  .rank-arrow { font-size: 0.85rem; font-weight: 700; }
  .up { color: #e0436f; }
  .down { color: #2c9a7a; }
  .star-mark { color: #e8a93a; }

  /* ===== Comments ===== */
  #comment { background: #F6F9FB; border-top: var(--line); }
  .comment-list { display: flex; flex-direction: column; gap: 22px; max-width: 860px; margin: 0 auto; }
  .comment-item { display: flex; gap: 16px; align-items: flex-start; }
  .comment-avatar {
    flex-shrink: 0; width: 56px; height: 56px;
    border: 3px solid var(--ink); border-radius: 50%;
    background: #fff; overflow: hidden;
  }
  .comment-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
  .comment-bubble {
    background: #fff;
    border: var(--line);
    border-radius: 4px 18px 18px 18px;
    padding: 12px 20px;
    font-size: 0.95rem;
    position: relative;
    flex: 1;
  }
  .comment-bubble strong { display: block; font-size: 0.85rem; margin-bottom: 4px; color: var(--blue); }
  .comment-item:nth-child(even) .comment-bubble strong { color: var(--pink); }

  /* ===== FAQ ===== */
  #faq { background: #fff; border-top: var(--line); }
  .faq-list { max-width: 820px; margin: 0 auto; }
  .faq-item { border: var(--line); border-radius: 4px; margin-bottom: 14px; background: var(--paper); overflow: hidden; }
  .faq-q {
    width: 100%; text-align: left; background: none; border: none;
    padding: 18px 22px; font-size: 1rem; font-weight: 800; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-family: inherit; color: var(--ink);
  }
  .faq-q .arrow { transition: transform .3s; font-size: 0.9rem; }
  .faq-item.open .faq-q .arrow { transform: rotate(180deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 22px;
  }
  .faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }
  .faq-a p { font-size: 0.94rem; color: #444; }

  /* ===== Download / Bookmark ===== */
  #download { background: #FBF6E9; border-top: var(--line); border-bottom: var(--line); }
  .bookmark {
    max-width: 720px; margin: 0 auto;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 10px;
    padding: 46px 40px 50px;
    position: relative;
    box-shadow: 8px 8px 0 rgba(43,110,242,0.18);
  }
  .bookmark::before {
    content: '';
    position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 22px solid var(--ink);
  }
  .bookmark h2 { text-align: center; font-size: 1.7rem; margin-bottom: 28px; }
  .step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
  .step {
    text-align: center; padding: 16px 10px;
    border: var(--line); border-radius: 6px;
  }
  .step .step-index {
    display: inline-block; width: 32px; height: 32px; line-height: 32px;
    border-radius: 50%; font-weight: 900; margin-bottom: 10px;
    font-family: "Comic Sans MS", cursive;
  }
  .step:nth-child(1) .step-index { background: var(--blue); color: #fff; }
  .step:nth-child(2) .step-index { background: var(--pink); color: #fff; }
  .step:nth-child(3) .step-index { background: var(--cyan); color: #fff; }
  .step p { font-size: 0.9rem; color: #333; }
  .download-center { text-align: center; }
  .download-note { font-size: 0.82rem; color: #777; margin-top: 16px; }

  /* ===== Footer ===== */
  .site-footer {
    background: var(--paper);
    border-top: 2px solid var(--ink);
    padding: 34px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
  }
  .site-footer .foot-brand { font-weight: 900; color: var(--ink); margin-bottom: 8px; }
  .site-footer time { color: #999; }

  /* ===== Baidu tip ===== */
  .baidu-mask {
    display: none;
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.55);
    align-items: center; justify-content: center;
    padding: 20px;
  }
  .baidu-mask.show { display: flex; }
  .baidu-box {
    background: #fff; border: 3px solid var(--ink); border-radius: 12px;
    padding: 28px 24px; max-width: 400px; width: 100%;
    text-align: center; box-shadow: 6px 6px 0 var(--pink);
  }
  .baidu-box h4 { font-size: 1.1rem; margin-bottom: 12px; }
  .baidu-box p { font-size: 0.9rem; color: #555; margin-bottom: 16px; word-break: break-all; }
  .baidu-box .copy-btn {
    background: var(--ink); color: #fff; border: none; border-radius: 24px;
    padding: 10px 26px; font-size: 0.95rem; font-weight: 700; cursor: pointer;
    font-family: inherit;
  }
  .baidu-box .copy-btn:active { transform: scale(0.97); }
  .baidu-box .close-btn {
    display: block; margin: 12px auto 0; background: none; border: none;
    color: #999; font-size: 0.85rem; cursor: pointer; font-family: inherit;
  }

  /* ===== Responsive ===== */
  @media (max-width: 1023px) {
    .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
    .hero-visual { max-width: 440px; margin: 0 auto; }
    .masonry { grid-template-columns: repeat(3, 1fr); }
    .adv-item { grid-template-columns: 230px 1fr; gap: 20px; }
    .notebook-wrap { gap: 24px; }
  }

  @media (max-width: 767px) {
    .header-inner { flex-wrap: wrap; }
    .menu-toggle { display: block; }
    .nav-list {
      display: none;
      width: 100%;
      flex-direction: column;
      gap: 0;
      padding-top: 10px;
      border-top: 1px dashed #ccc;
    }
    .nav-list.open { display: flex; }
    .nav-list a { padding: 10px 4px; border-bottom: 1px dashed #eee; }
    .nav-list a::after { display: none; }

    .hero { padding: 34px 16px 24px; }
    .hero-copy h1 { font-size: 2.1rem; letter-spacing: 1px; }
    .hero-visual { max-width: 320px; }
    .btn-bubble { font-size: 1rem; padding: 14px 28px; }

    .masonry { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .comic-card:nth-child(5n) { margin-top: 0; }

    .feature-grid { grid-template-columns: 1fr; }

    .adv-item { grid-template-columns: 1fr; gap: 10px; }
    .bubble-title::after, .bubble-title::before { display: none; }

    .notebook-wrap { grid-template-columns: 1fr; gap: 20px; }

    .step-list { grid-template-columns: 1fr; }
    .bookmark { padding: 32px 20px 40px; }
    .bookmark h2 { font-size: 1.4rem; }

    section { padding: 48px 16px; }
  }