/* ROSE mobile presentation. Load after style.css and app.css. */
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
  body:not(.admin-body) { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
  body:not(.admin-body) header { height: auto; min-height: 72px; padding: 12px 18px; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid #f3e7ec; background: #fffafd; }
  header .brand { font-size: 34px; letter-spacing: -2px; flex-shrink: 0; }
  header .brand-star { font-size: 26px; margin: 0 7px 0 3px; }
  header .brand small { font-size: 8px; letter-spacing: 2px; }
  body:not(.admin-body) header nav { gap: 16px; font-size: 12px; margin-left: auto; flex-wrap: wrap; }
  header nav a, header #account-link { min-height: 40px; display: inline-flex; align-items: center; }
  header .nav-action#account-link { display: inline-flex; border: 0; padding: 0; white-space: nowrap; font-size: 12px; }
  header nav a[href='#about'] { display: inline-flex; }
  .hero { display: grid; grid-template-columns: minmax(0,1fr); min-height: 0; padding: 26px 22px 34px; gap: 24px; }
  .hero-copy { padding: 0; }
  .hero-copy > .eyebrow { font-size: 9px; letter-spacing: 1.3px; margin: 0 0 15px; flex-wrap: wrap; }
  .hero h1 { font-size: clamp(36px,9.5vw,52px); line-height: 1.35; margin: 0 0 22px; letter-spacing: 0; }
  .pink-word i { font-size: .72em; }
  .intro { font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
  .hero .button { min-height: 46px; padding: 12px 20px; gap: 28px; border-radius: 24px; }
  .hero-bottom { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 9px; }
  .hero-art { width: min(100%,330px); justify-self: center; margin: 0; padding: 4px 24px 28px; min-height: 0; }
  .hero-art:before { inset: 6px 0 12px; }
  .photo-frame { height: auto; padding: 8px 8px 30px; transform: rotate(3deg); }
  .photo-frame > img { display: block; width: 100%; height: auto; max-height: 310px; object-fit: contain; }
  .photo-caption { font-size: 8px; letter-spacing: 1px; left: 10px; right: 10px; }
  .round-stamp { width: 68px; height: 68px; left: 0; bottom: 44px; font-size: 9px; padding-top: 10px; outline-width: 3px; }
  .round-stamp em { font-size: 14px; }.round-stamp span { font-size: 16px; }
  .vertical-note { right: 2px; top: 40px; font-size: 8px; letter-spacing: 1.4px; }
  .art-note { font-size: 10px; right: 18px; bottom: 0; }
  .ticker { padding: 11px 18px; font-size: 9px; gap: 20px; }
  .collection { padding: 32px 16px 40px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
  .section-heading h2 { font-size: clamp(23px,6vw,30px); line-height: 1.5; margin: 10px 0; }
  .section-heading > p { font-size: 12px; margin: 10px 0 0; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; align-items: start; }
  .cards > .card { min-width: 0; padding: 0; background: white; border: 1px solid #f0e1e7; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px #6f284207; }
  .card .cover { height: auto; display: flex; flex-direction: column; overflow: visible; background: #fff6fa; }
  .card .cover img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; display: block; transform: none; border-radius: 13px 13px 0 0; }
  .card .cover:after { display: none; }
  .card .tag { top: 8px; left: 8px; font-size: 8px; padding: 3px 7px; border-radius: 20px; }
  .card .cover-title { position: static; display: block; max-width: none; margin: 10px 12px 0; font: 13px/1.45 Georgia,serif; letter-spacing: 0; color: #9e5e78; overflow-wrap: anywhere; overflow: visible; -webkit-line-clamp: unset; }
  .card .cover-link { position: static; color: #8d6677; font-size: 10px; margin: 4px 12px 10px; }
  .card .card-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 12px; }
  .card .card-info h3 { font-size: 16px; line-height: 1.45; margin-bottom: 4px; }
  .card .card-info p { font-size: 10px; line-height: 1.6; }
  .card .card-info .price { margin: 0; }
  .card .card-info .price strong { font-size: 21px; margin: 0; }
  .card .buy-link { min-height: 44px; padding: 10px 12px; font-size: 12px; background: #fff5f9; gap: 6px; align-items: center; }
  .sample-note { font-size: 12px; margin-top: 22px; overflow-wrap: anywhere; }
  .about { padding: 34px 20px; }.about h2 { font-size: 24px; line-height: 1.65; }
  .about > p:not(.eyebrow) { font-size: 13px; }
  body:not(.admin-body) footer { padding: 25px 18px calc(25px + env(safe-area-inset-bottom)); gap: 16px; align-items: flex-start; font-size: 12px; }
  footer .actions { gap: 10px 18px; flex-wrap: wrap; } footer .actions a { min-height: 36px; display: inline-flex; align-items: center; }
  footer p { width: 100%; margin: 0; font-size: 11px; order: 3; }
  .app-main { width: 100%; padding: 0 16px; margin: 16px auto 36px; }
  .app-main > p { margin: 12px 0 18px; }
  .detail-layout,.payment-grid,.grid-2 { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .detail-layout > * { min-width: 0; }
  .detail-cover { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 14px; }
  .detail-thumbs { max-width: 100%; gap: 8px; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .detail-thumbs button { flex: 0 0 auto; scroll-snap-align: start; }
  .detail-thumbs img { width: 60px; height: 78px; object-fit: contain; }
  .detail-copy { padding: 20px; border: 1px solid #efdee6; border-radius: 16px; background: white; }
  .detail-copy h1 { font-size: 28px; line-height: 1.45; }
  .detail-copy .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .detail-copy .big-price { font-size: 30px; margin: 16px 0; }
  .detail-description { font-size: 14px; line-height: 1.9; margin: 16px 0; overflow-wrap: anywhere; }
  .detail-copy > .button { width: 100%; min-height: 50px; justify-content: center; gap: 16px; }
  .notice { font-size: 13px; padding: 13px 14px; }
  .page-title { margin: 20px 0; }.page-title h1 { font-size: 28px; line-height: 1.4; }
  .page-title p { font-size: 13px; }.panel { padding: 20px; border-radius: 16px; }
  .qq-contact-panel { margin-bottom: 30px; padding: 20px 16px; }
  .qq-product { margin-bottom: 20px; padding-bottom: 15px; gap: 12px; }.qq-product h2 { font-size: 20px; overflow-wrap: anywhere; }
  .qq-contact .eyebrow { justify-content: center; font-size: 10px; }
  .qq-contact h2 { font-size: 24px; margin-bottom: 10px; }.qq-contact > .muted { font-size: 13px; }
  .qq-contact-image { width: min(100%,280px); margin-top: 18px; border-radius: 14px; }
  .qq-contact-hint { font-size: 15px; padding: 12px 8px; margin: 12px auto; }
  .qq-book-name { font-size: 13px; }.qq-copy-row { flex-direction: column; gap: 10px; margin-top: 18px; }
  .qq-copy-row input { font-size: 21px; padding: 10px; }.qq-copy-row .button { width: 100%; min-height: 48px; justify-content: center; }
  .policy-nav { flex-wrap: wrap; gap: 12px 18px; }.policy-copy { font-size: 14px; overflow-wrap: anywhere; }
  .field input,.field textarea,.field select,input.control,select.control { font-size: 16px; }
  .button,.secondary { min-height: 44px; }.toast { bottom: calc(16px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 32px); font-size: 13px; }
}
@media (max-width: 359px) {
  body:not(.admin-body) header { gap: 6px 10px; padding-inline: 14px; }
  body:not(.admin-body) header nav { gap: 10px; }
  .collection { padding-inline: 12px; }.cards { gap: 10px 8px; }
  .card .card-info,.card .cover-title { margin-left: 10px; margin-right: 10px; }
  .card .card-info h3 { font-size: 14px; }.card .buy-link { padding-inline: 10px; }
}
/* Hover feedback moves the frame without cropping the image. */
@media (hover:hover) and (pointer:fine) {
  .cards > .card { transition: transform .25s ease; }
  .cards > .card:hover { transform: translateY(-5px); }
  .card .cover { transition: box-shadow .25s ease; }
  .card:hover .cover { box-shadow: 0 14px 30px #6f28421a; }
}
@media (prefers-reduced-motion:reduce) {
  .cards > .card:hover { transform: none; }
}
