:root {
    --paper: #FFE55C;
    --paper-deep: #F5D63D;
    --ink: #111111;
    --pink: #FF5C9E;
    --pink-deep: #E8407F;
    --white: #FFFDF3;
    --shadow: 6px 6px 0 var(--ink);
    --shadow-sm: 4px 4px 0 var(--ink);
    --border: 3px solid var(--ink);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
    background-color: var(--paper);
    background-image: radial-gradient(var(--paper-deep) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { line-height: 1.25; font-weight: 900; letter-spacing: 0.5px; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

  /* ---------- 顶部导航 ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: var(--border);
    box-shadow: 0 4px 0 rgba(17,17,17,0.12);
  }
  .bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 16px; max-width: 1180px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img {
    height: 36px; width: 36px; object-fit: cover;
    border: 3px solid var(--ink); border-radius: 8px; background: #fff;
  }
  .brand-name { font-size: 20px; font-weight: 900; letter-spacing: 1px; }
  .nav-links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    font-size: 14px; font-weight: 800; white-space: nowrap;
    padding: 6px 12px; border: 2px solid var(--ink);
    border-radius: 999px; background: #fff;
    transition: transform .15s, background-color .15s;
  }
  .nav-links a:hover { background: var(--pink); transform: translate(-2px,-2px); }
  .header-cta {
    display: none; font-size: 14px; font-weight: 900;
    background: var(--pink); color: var(--ink);
    padding: 8px 16px; border: var(--border);
    border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap;
  }

  /* ---------- 通用区块 ---------- */
  section { padding: 40px 0; }
  .sec-head { margin-bottom: 22px; }
  .sec-tag {
    display: inline-block; font-size: 13px; font-weight: 900;
    background: var(--ink); color: var(--paper);
    padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
  }
  .sec-head h2 { font-size: 26px; }
  .sec-head p { margin-top: 8px; font-size: 15px; max-width: 620px; }
  .card {
    background: var(--white);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 16px; font-weight: 900;
    padding: 12px 22px; border: var(--border); border-radius: 12px;
    background: var(--pink); color: var(--ink);
    box-shadow: var(--shadow-sm); cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .15s;
  }
  .btn:hover { background: var(--pink-deep); color: #fff; }
  .btn:active { transform: translate(4px,4px); box-shadow: 0 0 0 var(--ink); }
  .btn.ghost { background: var(--white); }
  .btn.ghost:hover { background: var(--ink); color: var(--paper); }
  .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

  /* ---------- 首屏 ---------- */
  .hero { padding-top: 30px; }
  .hero-grid { display: grid; gap: 26px; align-items: center; }
  .hero-copy h1 { font-size: 32px; margin-bottom: 14px; }
  .hero-copy h1 em {
    font-style: normal; background: var(--pink);
    padding: 0 8px; border-radius: 6px;
    display: inline-block; transform: rotate(-1.5deg);
  }
  .hero-copy .lead { font-size: 16px; margin-bottom: 18px; }
  .hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .hero-badges span {
    font-size: 12px; font-weight: 800; background: #fff;
    border: 2px solid var(--ink); border-radius: 8px; padding: 4px 10px;
  }
  .hero-poster {
    position: relative; display: flex; justify-content: center;
  }
  .phone-frame {
    width: 100%; max-width: 320px;
    border: var(--border); border-radius: 18px;
    box-shadow: var(--shadow);
    background: var(--ink); padding: 8px; overflow: hidden;
  }
  .phone-frame img {
    width: 100%; border-radius: 12px;
    aspect-ratio: 3 / 4; object-fit: cover;
  }
  .hero-sticker {
    position: absolute; top: -12px; right: 4px;
    background: var(--pink); border: var(--border); border-radius: 10px;
    font-size: 13px; font-weight: 900; padding: 4px 12px;
    transform: rotate(6deg); box-shadow: var(--shadow-sm);
  }

  /* ---------- 剧集横滑 ---------- */
  .rail {
    display: flex; gap: 16px; overflow-x: auto;
    padding: 6px 4px 18px; scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .rail::-webkit-scrollbar { height: 8px; }
  .rail::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 4px; }
  .poster-card {
    flex: 0 0 168px; scroll-snap-align: start;
    background: var(--white); border: var(--border);
    border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease;
  }
  .poster-card:hover { transform: translateY(-6px) rotate(-1deg); }
  .poster-card img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-bottom: var(--border);
  }
  .poster-meta { padding: 8px 10px 10px; }
  .poster-meta h3 { font-size: 14px; margin-bottom: 4px; }
  .poster-meta p { font-size: 12px; color: #4a4a4a; }
  .tag-line { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 800;
    background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 1px 7px; }

  /* ---------- 今日更新 ---------- */
  .update-grid { display: grid; gap: 16px; }
  .update-item {
    display: flex; gap: 14px; padding: 12px;
    border: var(--border); border-radius: 14px;
    background: var(--white); box-shadow: var(--shadow-sm);
  }
  .update-item img {
    width: 84px; aspect-ratio: 3 / 4; object-fit: cover;
    border: 2px solid var(--ink); border-radius: 8px; flex-shrink: 0;
  }
  .update-item h3 { font-size: 16px; margin-bottom: 4px; }
  .update-item p { font-size: 13px; color: #3d3d3d; }
  .new-dot {
    display: inline-block; background: var(--pink); color: var(--ink);
    font-size: 11px; font-weight: 900; border: 2px solid var(--ink);
    border-radius: 6px; padding: 0 6px; margin-left: 6px;
  }

  /* ---------- 追剧日历 ---------- */
  .calendar { display: grid; gap: 14px; }
  .day-card {
    border: var(--border); border-radius: 14px; background: var(--white);
    box-shadow: var(--shadow-sm); padding: 14px;
  }
  .day-card h3 {
    font-size: 15px; display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px dashed var(--ink);
  }
  .day-card h3 span {
    background: var(--ink); color: var(--paper);
    font-size: 12px; border-radius: 6px; padding: 1px 8px;
  }
  .day-list { list-style: none; display: grid; gap: 8px; }
  .day-list li { display: flex; gap: 10px; align-items: center; font-size: 13px; }
  .day-list img {
    width: 42px; aspect-ratio: 3 / 4; object-fit: cover;
    border: 2px solid var(--ink); border-radius: 6px; flex-shrink: 0;
  }

  /* ---------- 卡片墙（旋转切换卡） ---------- */
  .tilt-wall {
    display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr);
  }
  .tilt-card {
    border: var(--border); border-radius: 12px; overflow: hidden;
    background: var(--white); box-shadow: var(--shadow-sm);
    transform: rotate(-1.5deg);
    transition: transform .25s ease;
  }
  .tilt-card:nth-child(even) { transform: rotate(1.5deg); }
  .tilt-card:hover { transform: rotate(0deg) scale(1.02); }
  .tilt-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .tilt-card .cap {
    padding: 8px 10px; font-size: 13px; font-weight: 800;
    border-top: var(--border); background: var(--paper);
  }

  /* ---------- 排行榜 ---------- */
  .rank-list { display: grid; gap: 12px; }
  .rank-row {
    display: flex; align-items: center; gap: 12px;
    background: var(--white); border: var(--border); border-radius: 12px;
    padding: 10px 12px; box-shadow: var(--shadow-sm);
  }
  .rank-no {
    font-size: 18px; font-weight: 900; color: var(--ink);
    background: var(--paper); border: 2px solid var(--ink); border-radius: 8px;
    min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .rank-row:nth-child(1) .rank-no { background: var(--pink); }
  .rank-row:nth-child(2) .rank-no { background: #FFD2E2; }
  .rank-row:nth-child(3) .rank-no { background: #FFF0B3; }
  .rank-row img {
    width: 46px; aspect-ratio: 3 / 4; object-fit: cover;
    border: 2px solid var(--ink); border-radius: 6px;
  }
  .rank-info { flex: 1; min-width: 0; }
  .rank-info h3 { font-size: 15px; }
  .rank-info p { font-size: 12px; color: #4a4a4a; }
  .rank-bar {
    height: 8px; background: var(--paper-deep);
    border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; margin-top: 4px;
  }
  .rank-bar i { display: block; height: 100%; background: var(--pink); border-right: 2px solid var(--ink); }

  /* ---------- 流程 ---------- */
  .steps { display: grid; gap: 14px; }
  .step {
    background: var(--white); border: var(--border); border-radius: 12px;
    padding: 14px; box-shadow: var(--shadow-sm); position: relative;
  }
  .step h3 { font-size: 16px; margin-bottom: 6px; }
  .step p { font-size: 14px; color: #2f2f2f; }
  .step-num {
    position: absolute; top: -12px; left: 14px;
    background: var(--pink); border: 2px solid var(--ink); border-radius: 8px;
    font-size: 12px; font-weight: 900; padding: 1px 8px;
  }

  /* ---------- 教程 ---------- */
  .tutorial { display: grid; gap: 16px; }
  .tutorial-block {
    background: var(--white); border: var(--border); border-radius: 14px;
    padding: 16px; box-shadow: var(--shadow-sm);
  }
  .tutorial-block h3 { font-size: 17px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
  .tutorial-block h3::before {
    content: ""; width: 12px; height: 12px; background: var(--pink);
    border: 2px solid var(--ink); border-radius: 3px;
  }
  .tutorial-block ol { padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }

  /* ---------- 证书 ---------- */
  .cert-box {
    background: var(--white); border: var(--border); border-radius: 16px;
    box-shadow: var(--shadow); padding: 20px;
    display: grid; gap: 14px;
  }
  .cert-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--paper); border: 2px solid var(--ink);
    border-radius: 8px; padding: 4px 12px; font-size: 13px; font-weight: 900;
  }
  .cert-list { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
  .cert-list div {
    border: 2px dashed var(--ink); border-radius: 10px;
    padding: 10px; font-size: 13px; font-weight: 700; background: #fff;
  }

  /* ---------- FAQ ---------- */
  .faq-list { display: grid; gap: 12px; }
  .faq-item {
    background: var(--white); border: var(--border); border-radius: 12px;
    box-shadow: var(--shadow-sm); overflow: hidden;
  }
  .faq-item summary {
    cursor: pointer; list-style: none;
    padding: 13px 16px; font-size: 15px; font-weight: 900;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+"; font-size: 20px; font-weight: 900; color: var(--pink-deep);
    flex-shrink: 0;
  }
  .faq-item[open] summary::after { content: "–"; }
  .faq-item p { padding: 0 16px 14px; font-size: 14px; color: #333; }

  /* ---------- 下载区 ---------- */
  .download-box {
    background: var(--ink); color: var(--paper);
    border: var(--border); border-radius: 18px;
    box-shadow: var(--shadow); padding: 26px 20px; text-align: center;
  }
  .download-box h2 { font-size: 26px; margin-bottom: 10px; color: var(--paper); }
  .download-box p { font-size: 15px; margin-bottom: 20px; color: #F6E88E; }
  .download-box .btn-row { justify-content: center; }
  .download-box .btn { color: var(--ink); }
  .download-box .btn:hover { color: #fff; }
  .download-note { margin-top: 16px; font-size: 12px; color: #C9BC72; }

  /* ---------- 相关搜索 / 页脚 ---------- */
  .search-terms { display: flex; flex-wrap: wrap; gap: 8px; }
  .search-terms a {
    font-size: 12px; font-weight: 700; background: #fff;
    border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px;
  }
  .search-terms a:hover { background: var(--pink); }
  footer {
    margin-top: 30px; border-top: var(--border);
    background: var(--paper-deep); padding: 22px 0;
    font-size: 12px; color: #3a3a3a;
  }
  .foot-inner { display: grid; gap: 8px; text-align: center; }
  .foot-inner a.beian { color: #3a3a3a; text-decoration: underline; }
  .foot-inner a.beian:hover { color: #000; }

  /* ---------- 响应式 ---------- */
  @media (min-width: 768px) {
    .sec-head h2 { font-size: 30px; }
    .hero-copy h1 { font-size: 42px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 34px; }
    .update-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar { grid-template-columns: repeat(2, 1fr); }
    .tilt-wall { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .tutorial { grid-template-columns: repeat(2, 1fr); }
    .poster-card { flex: 0 0 190px; }
    .nav-links { gap: 8px; }
    .download-box { padding: 40px 30px; }
  }
  @media (min-width: 1024px) {
    .header-cta { display: inline-flex; }
    .hero-copy h1 { font-size: 50px; }
    .update-grid { grid-template-columns: repeat(3, 1fr); }
    .calendar { grid-template-columns: repeat(3, 1fr); }
    .tilt-wall { grid-template-columns: repeat(5, 1fr); }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .rank-list { grid-template-columns: repeat(2, 1fr); }
    .cert-list { grid-template-columns: repeat(4, 1fr); }
    .phone-frame { max-width: 340px; }
  }