/* Mobile consistency fixes. Presentation only; no changes to purchasing or consent. */
@media(max-width:960px){
  body .site-header{position:relative}
  body .site-header .site-nav{top:100%!important;max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:760px){
  /* The same usable language controls on every current page. */
  body .site-header{gap:6px!important;min-height:64px}
  body .site-header .brand,body .site-header .brand img{width:140px;max-width:140px}
  body .site-header .menu-toggle{width:44px;min-width:44px;height:44px;flex-shrink:0;margin-left:auto}
  body .site-header .language{display:flex;align-items:center;gap:0!important;margin-left:0!important;flex-shrink:0;overflow:visible}
  body .site-header .language>a,body .site-header .language>button,body .site-header .language>.active{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px!important;min-height:44px!important;padding:8px!important;font-size:.875rem!important;line-height:1.4!important;border-radius:24px}
  body .site-header .language>span[aria-hidden]{display:none!important}
  body .site-header .language>.active,body .site-header .language>[aria-pressed=true]{background:#e4ece4;color:#173b2e}
  .home-masthead .site-header .language>.active,.download-masthead .site-header .language>.active{background:#203c35;color:#d0efda}
  body .site-header .nav-cart{width:44px;min-width:44px;min-height:44px;padding:6px!important;gap:4px!important;flex-shrink:0}
  body .site-header .nav-cart>span:not([data-cart-count]){display:none}
  body .site-header .site-nav>a{min-height:44px;box-sizing:border-box;white-space:normal;line-height:1.5;font-size:1rem}

  /* Short links, search suggestions and disclosure headings need real tap areas. */
  #contact.mc-footer .mc-footer-language a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;font-size:.875rem}
  #contact.mc-footer .mc-footer-group summary{min-height:48px}
  #contact.mc-footer .mc-footer-group summary h2{font-size:.875rem}
  #contact.mc-footer .mc-footer-group li a{font-size:.875rem}
  body .ab-nav-links a,body .pp-nav-links a,body .store-section-nav a{min-width:44px;justify-content:center;font-size:.875rem}
  body .hc-shortcuts button{min-height:44px;padding-block:10px;font-size:.875rem}
  body .lh-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:.875rem}
  body .shop-faq details{padding-block:10px!important}
  body .shop-faq summary{display:flex;align-items:center;min-height:48px;padding-block:10px!important;font-size:1rem!important;line-height:1.55!important;box-sizing:border-box}
  body .checkout-reward>summary{display:flex;align-items:center;min-height:44px;padding-block:10px;font-size:.875rem}
  body .pt-footer-nav a,body .pt-document-end a{min-width:44px}

  /* Keep supporting copy readable without making headings larger. */
  body main p{font-size:1rem!important;line-height:1.75!important}
  body main li{font-size:1rem;line-height:1.75}
  body main :is(.eyebrow,.section-label,.ec-eyebrow,.ab-eyebrow,.pv-eyebrow,.sc-eyebrow,.pp-overline,.pt-eyebrow,.guide-kicker,.help-kicker){font-size:.8125rem!important;line-height:1.5!important;letter-spacing:.04em!important}
  body main :is(.guide-meta,.knowledge-meta,.gallery-note,.pp-small,.micro,.sc-file-note,.checkout-payment-note,.pt-chapter-body>p:first-of-type){font-size:.8125rem!important;line-height:1.7!important}
  body main :is(.pp-status,.shop-platform,.edition-timing,.shop-price-note,.store-activation-note,.knowledge-disclosure){font-size:.875rem!important;line-height:1.65!important}
  body main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:1rem!important;min-height:44px}
  body .checkout-panel label{font-size:.875rem;line-height:1.6}
  body .checkout-panel .checkbox-row{min-height:44px;box-sizing:border-box}

  /* On a short or landscape screen the dialog scrolls within the viewport. */
  body .privacy-panel{box-sizing:border-box;width:min(620px,calc(100% - 24px))!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;right:12px!important;left:auto!important;bottom:12px!important;overflow-y:auto!important;overscroll-behavior:contain;padding:28px 20px 20px!important;scrollbar-gutter:stable}
  body .privacy-panel-copy{padding-right:14px;min-width:0}
  body .privacy-panel-copy h2{font-size:1.375rem!important;line-height:1.35!important;letter-spacing:-.025em!important}
  body .privacy-panel-copy>span{font-size:.75rem!important;line-height:1.5}
  body .privacy-panel-copy p{font-size:1rem!important;line-height:1.65!important}
  body .privacy-panel-copy a{font-size:.875rem!important;min-height:44px;display:inline-flex;align-items:center}
  body .privacy-panel-actions button{min-height:44px;font-size:.875rem!important;line-height:1.5;padding:10px 16px}
  body .privacy-close{width:44px!important;height:44px!important;top:0!important;right:0!important}
}
@media(max-width:380px){
  body .site-header .brand,body .site-header .brand img{width:126px!important;max-width:126px!important}
  body.site-store .site-header{gap:4px!important}
  body.site-store .site-header .brand,body.site-store .site-header .brand img{width:96px!important;max-width:96px!important}
}
@media(max-width:760px) and (max-height:420px){
  body .site-header .site-nav{max-height:calc(100dvh - 82px);padding:12px;overflow-y:auto}
  body .privacy-panel{padding:22px 20px 16px!important}
}
