:root {
    --cream: #fff9f0;
    --cream-deep: #fdf1e0;
    --orange: #ff8a3d;
    --orange-soft: #ffe4cf;
    --strawberry: #f2586b;
    --lemon: #ffd85e;
    --coffee: #4a3428;
    --coffee-light: #7a6052;
    --pink-card: #ffeef2;
    --yellow-card: #fff7dd;
    --blue-bg: #eaf2f8;
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --wrap: 1200px;
  }

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

  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--cream);
    color: var(--coffee);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

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

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

  /* ---------- 吸顶导航 ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 249, 240, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px dashed rgba(255, 138, 61, 0.35);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--coffee);
    flex-shrink: 0;
  }
  .brand img { height: 34px; width: auto; }
  .nav-links {
    display: none;
    gap: 22px;
    font-size: 15px;
    color: var(--coffee-light);
    font-weight: 600;
  }
  .nav-links a { transition: color 0.25s, transform 0.25s; display: inline-block; }
  .nav-links a:hover { color: var(--orange); transform: translateY(-2px); }

  .btn {
    display: inline-block;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
    cursor: pointer;
  }
  .btn:hover { transform: scale(1.06); }
  .btn-nav {
    background: var(--orange);
    color: #fff;
    padding: 9px 22px;
    font-size: 15px;
    box-shadow: 0 6px 16px rgba(255, 138, 61, 0.32);
    white-space: nowrap;
  }

  /* ---------- Hero ---------- */
  .hero {
    padding: 32px 0 20px;
  }
  .hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #ffeede 0%, #ffe0ea 55%, #fff3d6 100%);
    border-radius: var(--radius-lg);
    padding: 54px 26px 48px;
    text-align: center;
    border: 2px dashed rgba(242, 88, 107, 0.3);
  }
  .hero-card::before,
  .hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
  }
  .hero-card::before { width: 220px; height: 220px; top: -90px; left: -60px; }
  .hero-card::after { width: 160px; height: 160px; bottom: -70px; right: -40px; }
  .hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-size: 22px;
    color: var(--lemon);
    line-height: 1;
  }
  .hero-stars span { position: absolute; animation: twinkle 3.2s ease-in-out infinite; }
  .hero-stars span:nth-child(1) { top: 14%; left: 8%; animation-delay: 0s; }
  .hero-stars span:nth-child(2) { top: 26%; right: 12%; animation-delay: 0.7s; font-size: 16px; }
  .hero-stars span:nth-child(3) { bottom: 20%; left: 16%; animation-delay: 1.4s; font-size: 14px; }
  .hero-stars span:nth-child(4) { bottom: 30%; right: 6%; animation-delay: 2.1s; }
  .hero-stars span:nth-child(5) { top: 8%; right: 34%; animation-delay: 1.1s; font-size: 13px; }
  @keyframes twinkle {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.85; }
    50% { transform: scale(1.35) translateY(-6px); opacity: 1; }
  }

  .hero-slogan {
    display: inline-block;
    position: relative;
    z-index: 2;
    background: #fff;
    color: var(--strawberry);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1.5px dashed var(--strawberry);
    margin-bottom: 18px;
  }
  .hero h1 {
    position: relative;
    z-index: 2;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--coffee);
  }
  .hero h1 em {
    font-style: normal;
    color: var(--orange);
    position: relative;
  }
  .hero-sub {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 16px auto 28px;
    font-size: 15px;
    color: var(--coffee-light);
  }
  .hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
  .btn-primary {
    background: var(--orange);
    color: #fff;
    padding: 13px 34px;
    font-size: 16px;
    box-shadow: 0 10px 22px rgba(255, 138, 61, 0.35);
  }
  .btn-outline {
    background: #fff;
    color: var(--strawberry);
    padding: 13px 34px;
    font-size: 16px;
    border: 2px solid var(--strawberry);
    box-shadow: 0 8px 18px rgba(242, 88, 107, 0.16);
  }
  .hero-visual {
    position: relative;
    z-index: 2;
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .hero-visual img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 3px solid #fff;
    box-shadow: 0 10px 26px rgba(122, 96, 82, 0.16);
  }

  /* ---------- 通用区块标题 ---------- */
  section { padding: 44px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    background: var(--orange-soft);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
  }
  .sec-head h2 {
    font-size: 23px;
    font-weight: 900;
    color: var(--coffee);
    letter-spacing: 0.5px;
  }
  .sec-head p {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--coffee-light);
    max-width: 760px;
  }

  /* ---------- 每日更新 ---------- */
  .update-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
  }
  .update-strip::-webkit-scrollbar { height: 6px; }
  .update-strip::-webkit-scrollbar-thumb { background: rgba(255, 138, 61, 0.4); border-radius: 999px; }
  .day-pill {
    flex: 0 0 auto;
    min-width: 96px;
    text-align: center;
    padding: 12px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1.5px solid #f4e3d2;
    font-weight: 700;
    font-size: 14px;
    color: var(--coffee-light);
    transition: transform 0.25s;
  }
  .day-pill:hover { transform: translateY(-4px) scale(1.03); }
  .day-pill.today {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 8px 20px rgba(255, 138, 61, 0.3);
  }
  .day-pill small { display: block; font-weight: 400; font-size: 11.5px; opacity: 0.85; margin-top: 2px; }

  /* ---------- 排行榜 ---------- */
  .rank-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rank-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 14px 34px rgba(122, 96, 82, 0.16);
  }
  .rank-main img { width: 100%; height: 320px; object-fit: cover; }
  .rank-crown {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--lemon);
    color: var(--coffee);
    font-weight: 900;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .rank-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(to top, rgba(40, 26, 18, 0.82), transparent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
  }
  .rank-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .rank-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(122, 96, 82, 0.1);
    transition: transform 0.25s;
  }
  .rank-item:hover { transform: translateY(-5px) scale(1.02); }
  .rank-item img { width: 100%; height: 118px; object-fit: cover; }
  .rank-item figcaption {
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 9px 9px;
    color: var(--coffee);
    line-height: 1.4;
  }

  /* ---------- 分类标签云 ---------- */
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .tag-cloud span {
    background: #fff;
    border: 1.5px dashed rgba(255, 138, 61, 0.5);
    color: var(--coffee-light);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    transition: transform 0.22s, background 0.22s, color 0.22s;
  }
  .tag-cloud span:hover {
    transform: scale(1.08) rotate(-1deg);
    background: var(--orange-soft);
    color: var(--coffee);
  }

  /* ---------- 编辑推荐 ---------- */
  .editor-list {
    display: grid;
    gap: 22px;
  }
  .editor-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid #f7e6d5;
    transition: transform 0.28s, box-shadow 0.28s;
  }
  .editor-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(122, 96, 82, 0.14); }
  .editor-card img { width: 100%; height: 230px; object-fit: cover; }
  .editor-body { padding: 20px 20px 22px; }
  .editor-body h3 { font-size: 18px; font-weight: 900; margin-bottom: 10px; }
  .editor-body p { font-size: 14px; color: var(--coffee-light); }
  .editor-quote {
    margin-top: 14px;
    background: var(--yellow-card);
    border-left: 4px solid var(--lemon);
    border-radius: 0 12px 12px 0;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #7a5f16;
  }

  /* ---------- 萌谷茶话会 ---------- */
  .tea-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tea-card {
    background: var(--pink-card);
    border-radius: 30px 30px 30px 30px / 42px 42px 42px 42px;
    border: 2px dashed rgba(242, 88, 107, 0.35);
    padding: 14px 14px 20px;
    transition: transform 0.3s;
  }
  .tea-card:nth-child(even) { background: var(--yellow-card); border-color: rgba(255, 138, 61, 0.38); }
  .tea-card:hover { transform: translateY(-7px) scale(1.015); }
  .tea-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 22px;
    border: 3px solid #fff;
  }
  .tea-body { padding: 14px 6px 0; }
  .tea-body h3 { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
  .tea-body p { font-size: 13.8px; color: var(--coffee-light); }
  .tea-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 700;
  }
  .tea-meta span {
    background: #fff;
    border-radius: 999px;
    padding: 5px 13px;
    color: var(--strawberry);
  }
  .tea-meta span.sweet { color: var(--orange); }

  /* ---------- 心动预警 ---------- */
  .heart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .heart-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 12px 26px rgba(242, 88, 107, 0.15);
    background: #fff;
    transition: transform 0.28s;
  }
  .heart-card:hover { transform: translateY(-6px) rotate(-0.6deg); }
  .heart-card img { width: 100%; height: 220px; object-fit: cover; }
  .heart-bow {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--strawberry);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(242, 88, 107, 0.4);
  }
  .heart-card figcaption {
    padding: 12px 14px 16px;
    font-size: 13.5px;
    color: var(--coffee-light);
    line-height: 1.65;
  }
  .heart-note {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--strawberry);
  }

  /* ---------- 截图墙 ---------- */
  .wall-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .wall-grid figure {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 6px 16px rgba(122, 96, 82, 0.1);
  }
  .wall-grid img { width: 100%; height: 140px; object-fit: cover; }
  .wall-grid figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(40, 26, 18, 0.8), transparent);
    color: #fff;
    font-size: 11.5px;
    padding: 22px 8px 7px;
    line-height: 1.4;
  }

  /* ---------- 萌点 / 放映室 ---------- */
  .meng-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .meng-main img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-md); border: 3px solid #fff; box-shadow: 0 12px 28px rgba(122, 96, 82, 0.14); }
  .danmaku-box {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1.5px dashed rgba(255, 138, 61, 0.4);
    padding: 18px;
  }
  .danmaku-box h3 { font-size: 16px; font-weight: 900; margin-bottom: 12px; }
  .danmaku-line {
    font-size: 13.5px;
    color: var(--coffee-light);
    padding: 8px 0;
    border-bottom: 1px dashed #f0e2d4;
  }
  .danmaku-line:last-child { border-bottom: none; }
  .danmaku-line b { color: var(--strawberry); font-weight: 700; }

  /* ---------- 年度神作 ---------- */
  .dark-card {
    background: #3a2a22;
    border-radius: var(--radius-lg);
    padding: 34px 24px;
    color: #f8ecdf;
    border: 2px dashed rgba(255, 216, 94, 0.35);
  }
  .dark-card h2 { font-size: 22px; font-weight: 900; margin-bottom: 12px; color: var(--lemon); }
  .dark-card p { font-size: 14.5px; color: #e6d5c6; margin-bottom: 12px; }
  .dark-card img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius-md); margin-top: 10px; }

  /* ---------- 深度专栏 ---------- */
  .column-list { display: grid; gap: 16px; }
  .column-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1.5px solid #f6e8da;
  }
  .column-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
  .column-item h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; }
  .column-item p { font-size: 13px; color: var(--coffee-light); }

  /* ---------- 追番周历 ---------- */
  .week-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .week-cell {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    border: 1.5px solid #f4e5d6;
  }
  .week-cell strong { display: block; font-size: 14px; margin-bottom: 6px; }
  .week-cell span { font-size: 12.5px; color: var(--coffee-light); }
  .week-cell.active {
    background: var(--orange-soft);
    border-color: var(--orange);
  }
  .week-cell.active strong { color: var(--orange); }

  /* ---------- 下载区 ---------- */
  .download-section { padding: 0; margin-top: 20px; }
  .download-panel {
    background: var(--blue-bg);
    padding: 44px 0;
  }
  .download-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
  }
  .phone-wrap {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .phone-shot {
    width: 46%;
    border-radius: 22px;
    border: 5px solid #fff;
    box-shadow: 0 20px 44px rgba(70, 96, 120, 0.24);
    transform: rotateY(-10deg) rotateX(4deg);
    overflow: hidden;
    background: #fff;
  }
  .phone-shot:last-child { transform: rotateY(10deg) rotateX(4deg) translateY(18px); margin-left: -30px; }
  .phone-shot img { width: 100%; height: auto; display: block; }
  .download-text h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
  .download-text p { font-size: 14.5px; color: #4d6377; margin-bottom: 18px; }
  .feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .feature-chips span {
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #3f5b70;
    box-shadow: 0 4px 12px rgba(70, 96, 120, 0.1);
  }
  .faq details {
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #3f5b70;
  }
  .faq summary { cursor: pointer; font-weight: 700; }
  .faq p { margin-top: 8px; font-size: 13.5px; color: #5b7387; }
  .download-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .btn-android { background: var(--orange); color: #fff; padding: 13px 30px; box-shadow: 0 10px 22px rgba(255, 138, 61, 0.3); }
  .btn-ios { background: var(--strawberry); color: #fff; padding: 13px 30px; box-shadow: 0 10px 22px rgba(242, 88, 107, 0.3); }

  /* ---------- Footer ---------- */
  .site-footer {
    background: var(--cream-deep);
    padding: 30px 0 34px;
    margin-top: 40px;
    border-top: 1.5px dashed rgba(255, 138, 61, 0.3);
  }
  .footer-inner { text-align: center; }
  .footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
  .footer-brand img { height: 24px; width: auto; }
  .footer-inner p { font-size: 12px; color: #a08a7b; line-height: 1.9; }
  .footer-inner a { color: #a08a7b; }
  .footer-inner a:hover { color: var(--orange); }

  /* ---------- 悬浮按钮 ---------- */
  .fab {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 120;
  }
  .fab-btn {
    display: none;
  }
  .fab > .btn-primary {
    padding: 12px 22px;
    font-size: 14px;
    background: linear-gradient(90deg, var(--orange) 0 50%, var(--strawberry) 50% 100%);
    box-shadow: 0 12px 26px rgba(242, 88, 107, 0.32);
  }

  /* ---------- 断点 ---------- */
  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero h1 { font-size: 40px; }
    .hero-card { padding: 70px 50px 60px; }
    .hero-visual img { height: 260px; }
    .rank-grid { grid-template-columns: 1.25fr 1fr; }
    .editor-list { grid-template-columns: 1fr 1fr; }
    .tea-grid { grid-template-columns: 1fr 1fr; }
    .heart-grid { grid-template-columns: repeat(2, 1fr); }
    .wall-grid { grid-template-columns: repeat(3, 1fr); }
    .wall-grid img { height: 170px; }
    .meng-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
    .download-inner { grid-template-columns: 1fr 1fr; }
    .week-table { grid-template-columns: repeat(3, 1fr); }
    .column-list { grid-template-columns: 1fr 1fr; }
  }

  @media (min-width: 1024px) {
    .hero h1 { font-size: 46px; }
    .hero-sub { font-size: 16.5px; }
    .sec-head h2 { font-size: 27px; }
    .hero-visual { grid-template-columns: repeat(4, 1fr); }
    .hero-visual img { height: 210px; }
    .rank-main img { height: 420px; }
    .rank-side { grid-template-columns: 1fr 1fr; }
    .rank-item img { height: 155px; }
    .editor-list { grid-template-columns: 1fr 1fr; }
    .tea-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .heart-grid { grid-template-columns: repeat(3, 1fr); }
    .heart-card img { height: 250px; }
    .wall-grid { grid-template-columns: repeat(3, 1fr); }
    .wall-grid img { height: 210px; }
    .week-table { grid-template-columns: repeat(4, 1fr); }
    .column-list { grid-template-columns: 1fr 1fr; }
    .download-text h2 { font-size: 28px; }
  }