    @import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&display=swap');
    
    html, body {
      margin: 0;
      padding: 0;
    }
    
    body {
      font-family: 'Noto Serif SC', ui-serif, serif;
      background-color: #f3efe6;
    }

    /* 导出时仅隐藏分页辅助线，保持视觉与预览一致 */
    body.pdf-exporting .page-break-marker {
      display: none !important;
    }

    :root {
      --tea-paper: #fff7dd;
      --tea-paper-2: #e0fbff;
      --tea-ink: #203047;
      --tea-ink-2: #536273;
      --tea-accent: #06b6d4;
      --tea-stamp: #ff6b6b;
      --tea-shadow: rgba(6, 182, 212, 0.18);
      --neon-pink: #ff6b9a;
      --neon-cyan: #06b6d4;
      --neon-yellow: #facc15;
      --neon-purple: #8b5cf6;
    }

    .tea-calligraphy {
      font-family: 'Ma Shan Zheng', ui-serif, serif;
      letter-spacing: 0.04em;
    }

    .tea-paper {
      color: var(--tea-ink);
      background:
        radial-gradient(720px 420px at 12% 8%, rgba(255, 107, 154, 0.22), transparent 56%),
        radial-gradient(760px 520px at 92% 20%, rgba(6, 182, 212, 0.20), transparent 62%),
        radial-gradient(860px 620px at 50% 96%, rgba(250, 204, 21, 0.18), transparent 62%),
        linear-gradient(160deg, #fff8df, #e8fbff 48%, #fff1f6);
      box-shadow: 0 18px 54px rgba(37, 99, 235, 0.16);
      position: relative;
      overflow: hidden;
    }

    .tea-paper::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        repeating-linear-gradient(
          115deg,
          rgba(32, 48, 71, 0.035),
          rgba(32, 48, 71, 0.035) 1px,
          transparent 1px,
          transparent 12px
        );
      mix-blend-mode: multiply;
      pointer-events: none;
      opacity: 0.45;
    }

    .tea-stamp {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 6px;
      background: var(--tea-stamp);
      color: #fff;
      box-shadow: 0 6px 14px rgba(185, 28, 28, 0.25);
      transform: rotate(-2deg);
      font-size: 12px;
      font-weight: 700;
      margin-right: 10px;
      flex: 0 0 auto;
    }

    .tea-divider {
      height: 10px;
      margin: 10px 0 22px;
      background:
        linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.58), rgba(255, 107, 154, 0.45), transparent);
      position: relative;
    }

    .tea-divider::after {
      content: "✦";
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      color: rgba(185, 28, 28, 0.55);
      text-shadow: 0 0 10px rgba(6, 182, 212, 0.38);
      font-size: 12px;
      padding: 0 10px;
      background: transparent;
    }

    /* 图片美化：茶摊菜单“相框”效果 */
    .tea-photo-frame {
      position: relative;
      border-radius: 26px 8px 22px 10px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(255, 107, 154, 0.20));
      padding: 5px;
      box-shadow: 0 16px 34px rgba(6, 182, 212, 0.16), 0 0 0 1px rgba(32,48,71,0.08);
      transform: rotate(-2deg);
    }

    .menu-item-odd .tea-photo-frame {
      transform: rotate(2deg);
    }

    .tea-photo {
      width: 100%;
      height: 100%;
      border-radius: 21px 6px 18px 8px;
      object-fit: cover;
      display: block;
      transform: translateZ(0);
      transition: transform 220ms ease, filter 220ms ease;
      filter: saturate(1.06) contrast(1.03);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    }

    .tea-photo-frame:hover .tea-photo {
      transform: scale(1.03);
      filter: saturate(1.12) contrast(1.05);
    }
    
    .a4-paper {
      width: 210mm;
      min-height: 297mm;
      background-color: var(--tea-paper);
      box-shadow: 0 18px 40px var(--tea-shadow);
      margin: 0 auto;
      padding: 20mm;
      position: relative;
      box-sizing: border-box;
    }
    
    .full-bleed-container {
      width: 210mm;
      min-height: 297mm;
      background-color: var(--tea-paper);
      margin: 0 auto;
      position: relative;
      box-sizing: border-box;
    }

    .menu-content {
      min-height: 297mm;
      position: relative;
      isolation: isolate;
    }

    .menu-content::after {
      content: "";
      position: absolute;
      inset: 14mm;
      background:
        radial-gradient(circle at 8% 18%, rgba(255, 107, 154, 0.16), transparent 16%),
        radial-gradient(circle at 94% 34%, rgba(6, 182, 212, 0.16), transparent 18%),
        radial-gradient(circle at 15% 82%, rgba(250, 204, 21, 0.10), transparent 18%);
      pointer-events: none;
      z-index: -1;
    }

    .menu-hero {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 22px;
      border-radius: 34px 8px 34px 8px;
      background:
        linear-gradient(105deg, rgba(255, 107, 154, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(6, 182, 212, 0.12), rgba(255, 255, 255, 0.50));
      box-shadow: 0 18px 44px rgba(6, 182, 212, 0.12), inset 0 0 0 1px rgba(255,255,255,0.50);
    }

    .menu-hero::before,
    .menu-hero::after {
      content: "茶";
      position: absolute;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: rgba(185, 28, 28, 0.90);
      color: #fff7ed;
      font-size: 17px;
      font-family: 'Ma Shan Zheng', ui-serif, serif;
      transform: rotate(-10deg);
    }

    .menu-hero::before {
      left: -10px;
      top: -10px;
    }

    .menu-hero::after {
      content: "饮";
      right: -10px;
      bottom: -10px;
      transform: rotate(8deg);
    }

    .menu-title-large {
      color: var(--tea-ink);
      font-size: 3.15rem;
      line-height: 1;
      text-shadow: 0 8px 18px rgba(6, 182, 212, 0.18);
      transform: rotate(-1.4deg);
    }

    .menu-subtitle-pill {
      display: inline-flex;
      align-items: center;
      padding: 8px 14px;
      border-radius: 999px 999px 999px 6px;
      background: rgba(255, 255, 255, 0.56);
      color: var(--tea-ink-2);
      box-shadow: 0 10px 24px rgba(6, 182, 212, 0.12);
      font-size: 12px;
      letter-spacing: 0.18em;
      white-space: nowrap;
      transform: rotate(1.5deg);
    }

    .category-section {
      position: relative;
      margin-top: 34px;
      padding: 10px 0 0;
      background: transparent;
    }

    .category-section::before {
      content: "";
      position: absolute;
      left: 18px;
      top: 48px;
      width: 88%;
      height: 1px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(6, 182, 212, 0.62), rgba(255, 107, 154, 0.38), rgba(245, 158, 11, 0.0));
    }

    .category-title {
      color: var(--tea-ink);
      font-size: 2.25rem;
      line-height: 1.05;
      display: inline-block;
      padding-right: 14px;
      background: transparent;
      text-shadow: 0 8px 18px rgba(255, 107, 154, 0.18);
      transform: rotate(-1deg);
    }

    .category-subtitle {
      color: var(--tea-ink-2);
      font-size: 12px;
      letter-spacing: 0.08em;
      margin-bottom: 20px;
    }

    .menu-dish-card {
      position: relative;
      min-height: var(--item-height, 112px);
      padding: 11px 4px 14px;
      background: transparent;
      border-radius: 24px;
      box-shadow: inset 0 -1px 0 rgba(32,48,71,0.08);
    }

    .item-photo-frame {
      height: var(--item-height, 112px);
    }

    .item-title {
      font-size: 1.35rem;
      line-height: 1.25;
      color: var(--tea-ink);
      transform: rotate(-0.6deg);
    }

    .item-description {
      color: var(--tea-ink-2);
      font-size: 0.95rem;
      line-height: 1.58;
      margin-top: 4px;
      max-width: 92%;
    }

    .item-price-pill {
      position: relative;
      padding: 7px 12px;
      border-radius: 999px 999px 10px 999px;
      color: #fff;
      background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
      font-weight: 700;
      white-space: nowrap;
      box-shadow: 0 10px 20px rgba(6, 182, 212, 0.18), 0 8px 16px rgba(255, 107, 154, 0.14);
      transform: rotate(3deg);
    }

    .tag-row {
      margin-top: 8px;
      display: flex;
      gap: 7px;
      flex-wrap: wrap;
    }

    .menu-dish-card:nth-child(odd) .item-content {
      transform: translateX(-6px);
    }

    .menu-dish-card:nth-child(even) .item-content {
      transform: translateX(6px);
    }

    .menu-dish-card + .menu-dish-card::before {
      content: "";
      position: absolute;
      top: -19px;
      left: 16%;
      width: 68%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.20), rgba(255, 107, 154, 0.16), transparent);
    }

    .preview-page-fill {
      width: 100%;
      pointer-events: none;
    }

    @media screen {
      /* 右侧预览负责滚动，纸张本身自然增高，避免超出部分被 flex 裁掉 */
      #app {
        height: 100vh !important;
        overflow: hidden !important;
      }

      .preview-pane {
        align-items: center;
        overflow-y: auto !important;
        overflow-x: auto !important;
      }

      .a4-paper,
      .full-bleed-container {
        flex: 0 0 auto !important;
        overflow: visible !important;
      }

      .tea-paper {
        overflow: visible !important;
      }

      .page-break-marker {
        position: absolute;
        left: 0;
        right: 0;
        height: 0;
        border-top: 2px dashed rgba(32, 48, 71, 0.30);
        pointer-events: none;
        z-index: 5;
      }

      .page-break-marker::after {
        content: "A4 PAGE";
        position: absolute;
        right: 18px;
        top: -12px;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.82);
        color: rgba(32, 48, 71, 0.55);
        font-size: 10px;
        letter-spacing: 0.08em;
      }
    }
    
    .glass-effect {
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    
    .menu-item-odd .item-content {
      flex-direction: row-reverse;
    }
    
    .menu-item-even .item-content {
      flex-direction: row;
    }
    
    .icon-badge {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 6px;
      font-size: 12px;
      box-shadow: 0 0 14px rgba(255,255,255,0.14);
    }
    
    /* 自定义页码样式 */
    .custom-page-number {
      position: relative;
      text-align: center;
      margin-top: 20px;
      padding: 5px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 4px;
      font-size: 12px;
      color: #aaa;
    }
    
    /* 打印样式 */
    @media print {
      @page {
        size: 210mm 297mm;
        margin: 0;
      }
      
      html, body {
        width: 210mm;
        min-height: 297mm;
        margin: 0;
        padding: 0;
        overflow: visible;
        background: #f3efe6 !important;
      }
      
      .no-print {
        display: none !important;
      }

      /* 打印时强制只看预览区布局，避免 flex/滚动容器影响 */
      #app {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
      }

      .preview-pane {
        width: 210mm !important;
        height: auto !important;
        min-height: 297mm !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        background: #f3efe6 !important;
      }
      
      .a4-paper {
        width: 210mm;
        min-height: 297mm;
        margin: 0;
        padding: 20mm;
        position: relative;
        overflow: visible;
        box-sizing: border-box;
      }
      
      .full-bleed-container {
        width: 210mm;
        min-height: 297mm;
        margin: 0;
        padding: 0;
        position: relative;
        overflow: visible;
      }

      .menu-content {
        min-height: 297mm;
        break-inside: auto;
        page-break-inside: auto;
      }

      .mb-12,
      .menu-item-even,
      .menu-item-odd {
        break-inside: avoid;
        page-break-inside: avoid;
      }

      .page-break-marker {
        display: none !important;
      }
      
      /* 强制打印背景色和图片 */
      * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }

      /* 隐藏系统自动生成的页码 */
      .page-number-container {
        display: none !important;
      }
      
      /* 尽量让 PDF 复用屏幕预览效果 */
    }
