:root {
    --paper: #f6f1e9;
    --paper-light: #fffdf8;
    --pink: #e07ba8;
    --pink-light: #f3a9c6;
    --blue: #6c83c4;
    --gold: #d9a441;
    --ink: #3a3346;
    --ink-soft: #7a7285;
    --ink-faint: #a9a2b0;
    --duo: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
    --hard: 3px 3px 0 var(--ink);
    --line: 1px solid rgba(58, 51, 70, 0.18);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--paper);
    background-image:
      repeating-linear-gradient(to bottom, transparent 0 30px, rgba(108, 131, 196, 0.16) 30px 31px),
      linear-gradient(90deg, transparent 0 38px, rgba(224, 123, 168, 0.28) 38px 39px, transparent 39px);
    background-attachment: fixed;
    color: var(--ink);
    line-height: 1.75;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4 {
    font-family: "STKaiti", "Kaiti SC", "KaiTi", serif;
    line-height: 1.3;
  }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border-radius: 10px;
    border: 2px solid var(--ink);
    box-shadow: var(--hard);
    font-weight: 700; font-size: 15px;
    cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
  .btn-primary { background: var(--duo); color: #fff; text-shadow: 0 1px 0 rgba(58,51,70,.35); }
  .btn-ghost { background: var(--paper-light); color: var(--ink); }
  .tag-pill {
    display: inline-flex; align-items: center;
    padding: 4px 14px; border-radius: 20px;
    border: 2px solid var(--ink); background: var(--paper-light);
    font-size: 13px; font-weight: 700;
  }

  /* ===== 导航 ===== */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 241, 233, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--ink);
  }
  .nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: 34px; object-fit: contain; }
  .brand-name { font-family: "STKaiti", "Kaiti SC", serif; font-size: 21px; font-weight: 700; letter-spacing: 1px; }
  .nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
  .nav-links a {
    padding: 6px 9px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
    color: var(--ink-soft); transition: color .15s, background .15s; white-space: nowrap;
  }
  .nav-links a:hover { color: var(--ink); background: rgba(224, 123, 168, .13); }
  .nav-dl { margin-left: 8px; padding: 9px 16px !important; font-size: 13.5px; border-radius: 9px; background: var(--duo); color: #fff !important; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
  .burger {
    display: none; margin-left: auto; width: 42px; height: 38px;
    border: 2px solid var(--ink); border-radius: 8px; background: var(--paper-light);
    box-shadow: var(--hard); cursor: pointer; padding: 8px 7px; flex-direction: column; justify-content: space-between;
  }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

  /* ===== 通用 section ===== */
  section { padding: 66px 0; position: relative; }
  .sec-head { margin-bottom: 34px; }
  .sec-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
    color: var(--blue); background: rgba(108,131,196,.13);
    padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
    border: 1.5px dashed rgba(108,131,196,.5);
  }
  .sec-head h2 { font-size: clamp(25px, 3.2vw, 34px); font-weight: 700; }
  .sec-head h2 em { font-style: normal; background: var(--duo); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .sec-head p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; max-width: 640px; }

  /* ===== 首屏 ===== */
  .hero { padding-top: 46px; padding-bottom: 56px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 22px; font-size: 13.5px; font-weight: 700;
    background: var(--paper-light); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--pink);
    margin-bottom: 18px;
  }
  .hero-badge i { font-style: normal; font-size: 16px; color: var(--blue); }
  .hero h1 { font-size: clamp(33px, 4.6vw, 52px); font-weight: 700; letter-spacing: 1px; }
  .hero h1 .hl { background: var(--duo); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-sub { margin-top: 16px; font-size: 16px; color: var(--ink-soft); max-width: 480px; }
  .hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
  .hero-stats {
    display: flex; gap: 0; margin-top: 30px;
    border: 2px solid var(--ink); border-radius: 12px; overflow: hidden;
    background: var(--paper-light); box-shadow: var(--hard);
  }
  .hero-stats .stat { flex: 1; padding: 13px 10px; text-align: center; }
  .hero-stats .stat + .stat { border-left: 2px dashed rgba(58,51,70,.25); }
  .hero-stats b { display: block; font-family: "STKaiti", "Kaiti SC", serif; font-size: 22px; color: var(--pink); }
  .hero-stats span { font-size: 12.5px; color: var(--ink-soft); }

  /* 日记本 */
  .diary {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--paper-light);
    border: 2px solid var(--ink); border-radius: 14px;
    box-shadow: 6px 6px 0 var(--ink);
    overflow: hidden;
    animation: breathe 5s ease-in-out infinite;
  }
  @keyframes breathe {
    0%, 100% { box-shadow: 6px 6px 0 var(--ink), 0 0 0 0 rgba(224,123,168,.0); }
    50% { box-shadow: 6px 6px 0 var(--ink), 0 0 26px 4px rgba(224,123,168,.22); }
  }
  .diary-page { padding: 22px 18px; position: relative; }
  .diary-page + .diary-page { border-left: 2px solid rgba(58,51,70,.22); }
  .diary-page::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(58,51,70,.08) 0, transparent 22px);
    pointer-events: none;
  }
  .diary-page.right::after { left: auto; right: 0; background: linear-gradient(270deg, rgba(58,51,70,.08) 0, transparent 22px); }
  .d-date { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 1px; }
  .d-title { font-family: "STKaiti","Kaiti SC",serif; font-size: 21px; font-weight: 700; margin: 6px 0 10px; }
  .d-note { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }
  .d-check { list-style: none; margin-top: 12px; }
  .d-check li { font-size: 13px; margin-bottom: 7px; display: flex; align-items: center; gap: 7px; }
  .d-check li::before { content: "☑"; color: var(--pink); font-size: 14px; }
  .d-page-num { position: absolute; bottom: 8px; right: 14px; font-size: 11px; color: var(--ink-faint); letter-spacing: 1px; }
  .d-photo { position: relative; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; aspect-ratio: 2 / 3; }
  .d-photo img { width: 100%; height: 100%; object-fit: cover; }
  .d-stamp {
    position: absolute; bottom: 30px; left: 12px;
    padding: 5px 10px; background: var(--paper-light);
    border: 2px solid var(--pink); border-radius: 6px;
    font-family: "STKaiti","Kaiti SC",serif; font-size: 13px; color: var(--pink);
    transform: rotate(-8deg); box-shadow: 2px 2px 0 rgba(58,51,70,.35);
  }
  .diary-ribbon {
    position: absolute; top: -2px; right: 26px; width: 22px; height: 74px;
    background: var(--pink); border: 2px solid var(--ink); border-top: none;
    border-radius: 0 0 5px 5px; z-index: 3;
  }
  .diary-ribbon::after { content: ""; position: absolute; bottom: -10px; left: 0; width: 100%; height: 10px;
    background: var(--pink); clip-path: polygon(0 0, 100% 0, 50% 100%); border: 0; }

  /* ===== 日记分区 ===== */
  .zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .zone-card {
    background: var(--paper-light); border: 2px solid var(--ink); border-radius: 12px;
    padding: 26px 18px 20px; position: relative; box-shadow: var(--hard);
    transition: transform .2s, box-shadow .2s;
  }
  .zone-card:hover { transform: translate(-3px, -5px); box-shadow: 6px 8px 0 var(--ink); }
  .zone-tab {
    position: absolute; top: -15px; left: 16px;
    padding: 2px 14px; border: 2px solid var(--ink); border-radius: 8px 8px 0 0;
    font-size: 12px; font-weight: 700; color: #fff; background: var(--pink);
  }
  .zone-card:nth-child(even) .zone-tab { background: var(--blue); }
  .zone-glyph { font-size: 26px; margin-bottom: 8px; }
  .zone-card h3 { font-size: 19px; margin-bottom: 8px; }
  .zone-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

  /* ===== 每日打卡 ===== */
  .day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .day-card {
    background: var(--paper-light); border: 2px solid var(--ink); border-radius: 12px;
    box-shadow: var(--hard); padding: 22px 20px; position: relative;
    transition: transform .2s, box-shadow .2s;
  }
  .day-card:hover { transform: translate(-3px, -4px); box-shadow: 6px 7px 0 var(--ink); }
  .day-box {
    position: absolute; top: 16px; right: 16px; width: 26px; height: 26px;
    border: 2px solid var(--ink); border-radius: 5px; background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--pink); font-weight: 700;
  }
  .day-num { font-family: "STKaiti","Kaiti SC",serif; font-size: 15px; color: var(--blue); font-weight: 700; letter-spacing: 1px; }
  .day-card h3 { font-size: 22px; margin: 6px 0 8px; }
  .day-card p { font-size: 13.5px; color: var(--ink-soft); }
  .day-line { margin-top: 14px; height: 8px; border: 2px solid var(--ink); border-radius: 5px; overflow: hidden; background: var(--paper); }
  .day-line i { display: block; height: 100%; background: var(--duo); }

  /* ===== 月度精选 ===== */
  .calendar {
    background: var(--paper-light); border: 2px solid var(--ink); border-radius: 14px;
    box-shadow: 6px 6px 0 var(--ink); overflow: hidden;
  }
  .cal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 2px solid var(--ink);
    background: var(--duo); color: #fff;
  }
  .cal-head h3 { font-size: 20px; letter-spacing: 1px; text-shadow: 0 1px 0 rgba(58,51,70,.4); }
  .cal-head span { font-size: 13px; font-weight: 700; }
  .cal-cols { display: grid; grid-template-columns: repeat(5, 1fr); }
  .cal-cell { padding: 14px 12px 18px; }
  .cal-cell + .cal-cell { border-left: 2px dashed rgba(58,51,70,.22); }
  .cal-date { font-family: "STKaiti","Kaiti SC",serif; font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 9px; }
  .cal-cell img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 7px; }
  .cal-name { font-size: 13.5px; font-weight: 700; margin-top: 9px; }
  .cal-meta { font-size: 12px; color: var(--ink-soft); display: flex; justify-content: space-between; margin-top: 3px; }
  .cal-score { color: var(--gold); font-weight: 700; }

  /* ===== 日记条目 ===== */
  .search-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
  .search-input {
    flex: 1 1 260px; display: flex; align-items: center; gap: 9px;
    background: var(--paper-light); border: 2px solid var(--ink); border-radius: 10px;
    padding: 10px 14px; box-shadow: var(--hard);
  }
  .search-input input { border: none; outline: none; background: transparent; font-size: 14.5px; width: 100%; color: var(--ink); font-family: inherit; }
  .search-input input::placeholder { color: var(--ink-faint); }
  .filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip {
    padding: 7px 15px; border-radius: 20px; border: 2px solid var(--ink);
    background: var(--paper-light); font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background .15s, color .15s; font-family: inherit; color: var(--ink);
  }
  .chip:hover { background: rgba(224,123,168,.15); }
  .chip.is-active { background: var(--duo); color: #fff; text-shadow: 0 1px 0 rgba(58,51,70,.35); }
  .entry-list { border: 2px solid var(--ink); border-radius: 12px; background: var(--paper-light); box-shadow: var(--hard); overflow: hidden; }
  .entry-row {
    display: grid; grid-template-columns: 60px 44px 1fr auto; gap: 14px; align-items: center;
    padding: 12px 16px; transition: background .15s, transform .15s;
  }
  .entry-row + .entry-row { border-top: 2px dashed rgba(58,51,70,.18); }
  .entry-row:hover { background: rgba(243,169,198,.14); }
  .entry-date { font-family: "STKaiti","Kaiti SC",serif; font-size: 13.5px; color: var(--blue); font-weight: 700; }
  .entry-row img { width: 44px; height: 58px; object-fit: cover; border: 2px solid var(--ink); border-radius: 5px; }
  .entry-title { font-size: 15px; font-weight: 700; }
  .entry-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-top: 2px; }
  .entry-tag { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 12px; background: rgba(108,131,196,.16); color: var(--blue); border: 1.5px solid rgba(108,131,196,.45); white-space: nowrap; }
  .entry-empty { padding: 26px; text-align: center; color: var(--ink-soft); font-size: 14px; }

  /* ===== 想看清单 ===== */
  .wish-list { display: grid; gap: 16px; }
  .wish-item {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
    background: var(--paper-light); border: 2px solid var(--ink); border-radius: 12px;
    padding: 14px 18px; box-shadow: var(--hard);
    transition: transform .2s, box-shadow .2s;
  }
  .wish-item:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--ink); }
  .wish-item img { width: 56px; height: 74px; object-fit: cover; border: 2px solid var(--ink); border-radius: 6px; }
  .wish-name { font-size: 16px; font-weight: 700; }
  .wish-type { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
  .wish-bar { margin-top: 8px; height: 12px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); overflow: hidden; }
  .wish-bar i { display: block; height: 100%; width: 0; background: var(--duo); transition: width .5s ease; }
  .wish-count { font-size: 12px; color: var(--ink-soft); margin-top: 5px; }
  .wish-btn {
    padding: 9px 16px; border-radius: 9px; border: 2px solid var(--ink);
    background: var(--paper-light); font-size: 13px; font-weight: 700; cursor: pointer;
    box-shadow: 3px 3px 0 var(--ink); font-family: inherit; color: var(--ink); white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
  }
  .wish-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
  .wish-btn.is-done { background: var(--duo); color: #fff; text-shadow: 0 1px 0 rgba(58,51,70,.35); }

  /* ===== 夜间放映 ===== */
  .night-grid { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: center; }
  .phone {
    width: 100%; max-width: 290px; margin: 0 auto; background: var(--ink);
    border-radius: 28px; padding: 10px; border: 2px solid var(--ink);
    box-shadow: 7px 7px 0 var(--pink); position: relative;
  }
  .phone-screen { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 16; background: #24202b; }
  .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
  .phone-screen img:not(:first-child) { opacity: 0; pointer-events: none; }
  .phone-hint {
    position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
    background: rgba(58,51,70,.78); color: #fff; font-size: 12px; padding: 6px 14px;
    border-radius: 20px; white-space: nowrap; animation: floatUp 2.4s ease-in-out infinite;
  }
  @keyframes floatUp { 0%,100% { transform: translate(-50%, 0); opacity: .85; } 50% { transform: translate(-50%, -7px); opacity: 1; } }
  .phone-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
  .phone-dots span { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper-light); transition: background .2s; }
  .phone-dots span.on { background: var(--pink); }
  .feature-list { display: grid; gap: 14px; }
  .feature-bar {
    display: flex; align-items: center; gap: 14px;
    border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-light);
    padding: 14px 18px; box-shadow: var(--hard);
    transition: transform .18s, box-shadow .18s;
  }
  .feature-bar:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--ink); }
  .feature-bar i {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--duo); color: #fff; font-style: normal; font-weight: 700; font-size: 15px;
    border: 2px solid var(--ink);
  }
  .feature-bar h3 { font-size: 17px; }
  .feature-bar p { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

  /* ===== 读者留言 ===== */
  .review-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
  .score-card {
    background: var(--duo); color: #fff; border: 2px solid var(--ink); border-radius: 12px;
    padding: 16px 26px; box-shadow: var(--hard); text-align: center;
  }
  .score-card b { display: block; font-family: "STKaiti","Kaiti SC",serif; font-size: 40px; line-height: 1; text-shadow: 0 2px 0 rgba(58,51,70,.4); }
  .score-card span { font-size: 12.5px; }
  .review-top p { font-size: 14px; color: var(--ink-soft); max-width: 420px; }
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review-card {
    background: var(--paper-light); border: 2px solid var(--ink); border-radius: 10px;
    padding: 24px 18px 18px; box-shadow: var(--hard); position: relative;
  }
  .review-card::before {
    content: ""; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-3deg);
    width: 58px; height: 16px; background: rgba(243,169,198,.65);
    border: 1px solid rgba(58,51,70,.3); border-radius: 2px;
  }
  .review-text { font-size: 13.5px; line-height: 1.9; color: var(--ink); }
  .review-user { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); display: flex; justify-content: space-between; }
  .review-user b { color: var(--blue); }

  /* ===== 常见问题 ===== */
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .faq-card {
    display: flex; gap: 14px; background: var(--paper-light);
    border: 2px solid var(--ink); border-radius: 10px; padding: 18px;
    box-shadow: var(--hard); transition: transform .18s, box-shadow .18s;
  }
  .faq-card:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--ink); }
  .faq-q {
    flex-shrink: 0; width: 34px; height: 34px; background: var(--ink); color: #fff;
    border-radius: 7px; display: flex; align-items: center; justify-content: center;
    font-family: "STKaiti","Kaiti SC",serif; font-size: 14px; font-weight: 700;
  }
  .faq-card h3 { font-size: 16px; margin-bottom: 6px; }
  .faq-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }

  /* ===== 下载区 ===== */
  .download-box {
    position: relative; overflow: hidden;
    background: var(--duo); border: 2px solid var(--ink); border-radius: 16px;
    box-shadow: 7px 7px 0 var(--ink); padding: 52px 34px; text-align: center;
  }
  .download-box::after {
    content: ""; position: absolute; right: 34px; top: -2px; width: 34px; height: 100px;
    background: #fff; opacity: .82; clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    border: 2px solid var(--ink);
  }
  .download-box h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; text-shadow: 2px 2px 0 rgba(58,51,70,.5); }
  .download-box p { color: #fff; font-size: 15px; margin: 12px auto 0; max-width: 540px; text-shadow: 0 1px 0 rgba(58,51,70,.4); }
  .download-box .btn { margin-top: 26px; background: var(--paper-light); color: var(--ink); text-shadow: none; border-width: 2px; }
  .dl-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .dl-tags span { font-size: 12.5px; font-weight: 700; color: #fff; border: 2px solid rgba(255,255,255,.85); border-radius: 20px; padding: 3px 13px; }

  /* ===== 页脚 ===== */
  .site-footer { border-top: 2px solid var(--ink); padding: 34px 0 26px; margin-top: 20px; }
  .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
  .footer-brand { max-width: 340px; }
  .footer-brand .brand { margin-bottom: 8px; }
  .footer-brand p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; max-width: 400px; }
  .footer-nav a { font-size: 12.5px; color: var(--ink-soft); }
  .footer-nav a:hover { color: var(--pink); }
  .footer-bottom { margin-top: 24px; padding-top: 14px; border-top: 1px dashed rgba(58,51,70,.25); font-size: 12px; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
  .footer-bottom a { color: var(--ink-soft); }
  .footer-bottom a:hover { color: var(--pink); }

  /* ===== 响应式 ===== */
  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .diary { max-width: 560px; margin: 0 auto; }
    .zones-grid { grid-template-columns: repeat(2, 1fr); }
    .day-grid { grid-template-columns: repeat(2, 1fr); }
    .cal-cols { grid-template-columns: repeat(3, 1fr); }
    .cal-cell:nth-child(3n+1) { border-left: none; }
    .cal-cell { border-top: 2px dashed rgba(58,51,70,.22); }
    .night-grid { grid-template-columns: 1fr; gap: 30px; }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .nav-links.is-open {
      display: flex; flex-direction: column; align-items: stretch;
      position: absolute; top: 66px; left: 0; right: 0;
      background: var(--paper-light); border-bottom: 2px solid var(--ink);
      padding: 12px 20px 18px; gap: 2px; box-shadow: 0 6px 0 rgba(58,51,70,.15);
    }
    .nav-links.is-open a { padding: 10px 8px; }
    .nav-dl { margin-left: 0; margin-top: 8px; text-align: center; }
    .burger { display: flex; }
  }
  @media (max-width: 768px) {
    section { padding: 48px 0; }
    .wrap { padding: 0 16px; }
    .hero h1 { font-size: 32px; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stats .stat { flex: 1 1 33.33%; }
    .diary { grid-template-columns: 1fr; }
    .diary-page + .diary-page { border-left: none; border-top: 2px solid rgba(58,51,70,.22); }
    .diary-ribbon { right: 16px; height: 58px; }
    .zones-grid, .day-grid, .review-grid, .faq-grid { grid-template-columns: 1fr; }
    .cal-cols { grid-template-columns: repeat(2, 1fr); }
    .cal-cell:nth-child(2n+1) { border-left: none; }
    .entry-row { grid-template-columns: 52px 38px 1fr; gap: 10px; padding: 11px 12px; }
    .entry-tag { display: none; }
    .entry-row img { width: 38px; height: 50px; }
    .wish-item { grid-template-columns: 46px 1fr; }
    .wish-item img { width: 46px; height: 62px; }
    .wish-btn { grid-column: 1 / -1; width: 100%; }
    .download-box { padding: 38px 20px; }
    .download-box::after { display: none; }
    .footer-grid { flex-direction: column; }
  }