/* Mobile finishing layer: preserve the approved desktop spread. */
@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
  .nav { gap: 10px; }
  .menu-toggle, .nav-order { min-height: 44px; }
  .menu-toggle { min-width: 44px; padding: 10px 2px; }
  .nav-order { justify-content: center; }
  .header-nav { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .header-nav.menu-open { gap: 4px; padding-block: 12px; }
  .header-nav a { display: flex; align-items: center; min-height: 44px; width: 100%; padding-block: 10px; }
  .reference-home .gallery { max-width: 560px; margin-inline: auto; }
  .reference-home .gallery-controls { padding-inline: 3px; }
  .reference-home .thumbs { gap: 10px; }
  .reference-home .thumbs button { min-width: 0; min-height: 44px; font-size: .875rem; line-height: 1.3; }
  .reference-home .purchase h1 { font-size: clamp(2.125rem, 8.8vw, 2.625rem); line-height: 1.08; }
  .purchase-meta { flex-wrap: wrap; gap: 12px 20px; }
  .mina-byline { min-height: 44px; font-size: .875rem; }
  .mina-byline small { font-size: .75rem; }
  .format-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: .875rem; }
  .format-row > span { min-width: 0; align-items: flex-start; gap: 7px; }
  .format-row > span + span { padding-left: 10px; }
  .format-row svg { margin-top: 1px; }
  .reference-home .addon { gap: 8px; }
  .reference-home .addon label { min-height: 52px; min-width: 0; }
  .reference-home .addon-name, .base-name { min-width: 0; font-size: 1rem; }
  .reference-home .info-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; font-size: 1rem; opacity: 1; }
  .bundle-nudge { flex-wrap: wrap; gap: 0 16px; padding-block: 4px; }
  .bundle-nudge button { min-height: 44px; font-size: .875rem; }
  .reference-home .included-faq p { font-size: 1rem; }
  .reference-home .section-heading { display: block; }
  .reference-home .section-heading > p { margin-top: 18px; }
  .reference-home .recipe-card p { font-size: .875rem; line-height: 1.55; }
  .reference-home .collection-card p { font-size: 1rem; }
  .reference-home .collection-meta { flex-wrap: wrap; gap: 0 12px; }
  .reference-home .collection-meta a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
  .reference-home .collection-meta b { font-size: 1rem; }
  .reference-home .footer-links, .support-footer nav { gap: 2px 24px; }
  .footer-links a, .support-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .text-link, .detail-link { min-height: 44px; padding-block: 10px; }
  .detail-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .detail-art { height: 380px; }
  .detail-chapters { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .help-layout, .about-story, .transparency { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .not-found > div { flex-wrap: wrap; }
  dialog { overscroll-behavior: contain; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .dialog-top { font-size: .875rem; padding: 8px 16px; }
  .dialog-top button { width: 44px; height: 44px; flex-shrink: 0; }
  .order-dialog { width: min(100%, 470px); max-width: 100%; height: 100dvh; max-height: 100dvh; }
  .order-body { padding: 24px 20px max(24px, env(safe-area-inset-bottom)); }
  .order-item { gap: 12px; font-size: 1rem; align-items: flex-start; }
  .order-item > div:nth-child(2) { min-width: 0; }
  .order-item small { font-size: .8125rem; }
  .order-item button { min-height: 44px; padding-block: 10px; font-size: .875rem; }
  .planning { gap: 10px; padding: 16px 14px; }
  .planning span { min-width: 0; }
  .planning b { font-size: 1rem; }
  .planning small { font-size: .875rem; }
  .planning strong { font-size: 1rem; }
  .recipe-reader { padding: 24px 20px max(24px, env(safe-area-inset-bottom)); }
  .reader-heading h2 { font-size: clamp(1.875rem, 8vw, 2.25rem); }
  .reader-tabs button, .reader-nav button { min-height: 44px; font-size: 1rem; }
  .recipe-meta { font-size: .875rem; }
  .ingredients li { font-size: 1rem; gap: 12px; }
  .ingredients b { width: 100px; }
  .dock { padding-bottom: env(safe-area-inset-bottom); }
  .dock .wrap { gap: 12px; }
  .dock .wrap > div { min-width: 0; }
  .dock .button { flex-shrink: 0; min-height: 48px; padding-inline: 16px; }
}

@media (max-width: 480px) {
  .format-row > span { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .format-row > span + span { padding-left: 0; }
  .reference-home .addon { padding: 10px; }
  .reference-home .addon label { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; row-gap: 3px; }
  .reference-home .addon .mini-cover { grid-column: 1; grid-row: 1 / 3; width: 32px; height: 48px; }
  .reference-home .addon-name { grid-column: 2; line-height: 1.3; }
  .reference-home .addon-price { grid-column: 2; font-size: 1rem; }
  .reference-home .info-button { align-self: center; }
  .reference-home .gallery-canvas.is-editorial { min-height: 0; }
  .gallery-recipe-preview .recipe-art { height: auto; aspect-ratio: 1; }
  .preview-spread { grid-template-columns: minmax(0, 1fr); transform: none; margin: 18px; }
  .spread-page { padding: 24px; }
  .spread-page:first-child { border-right: 0; border-bottom: 1px solid #bfbcae; }
  .spread-page .eyebrow { font-size: .75rem; }
  .spread-contents li { font-size: 1rem; }
  .spread-picture .recipe-art { aspect-ratio: 4 / 3; }
  .spread-picture p { font-size: 1rem; }
  .spread-note { font-size: .8125rem; }
  .reference-home .collection-card { grid-template-columns: 100px minmax(0, 1fr); column-gap: 16px; }
  .reference-home .collection-card .book-stage { height: 174px; }
  .reference-home .collection-card .book { width: 68px; max-width: none; }
  .reference-home .collection-card h3 { font-size: 1.5rem; }
}

@media (max-width: 359px) {
  .nav { gap: 6px; }
  .brand-name { font-size: 1.1875rem; letter-spacing: 1.4px; }
  .brand-descriptor { letter-spacing: 2px; }
  .nav-order:before { font-size: .875rem; margin-right: 5px; }
  .reference-home .thumbs { gap: 6px; }
  .reference-home .thumbs button { font-size: .8125rem; }
  .reference-home .recipes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reference-home .recipe-art { aspect-ratio: 4 / 3; }
  .reference-home .recipe-card h3 { font-size: 1.75rem; }
  .reference-home .collection-card { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; }
  .reference-home .collection-card .book-stage { height: 154px; }
  .reference-home .collection-card .book { width: 60px; }
  .reference-home .collection-card h3 { font-size: 1.4375rem; }
  .order-body, .recipe-reader { padding-inline: 16px; }
  .ingredients li { display: block; }
  .ingredients b { display: block; width: auto; margin-bottom: 3px; }
  .planning { display: grid; grid-template-columns: 20px minmax(0, 1fr); }
  .planning input { grid-row: 1 / 3; }
  .planning strong { grid-column: 2; }
}
