/* v20 — minimal mobile usability and safe-area adjustments; desktop untouched. */
@media (max-width: 700px) {
  html {scroll-padding-top: 66px;}
  .lang-switch {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    min-height: 44px;
    box-sizing: border-box;
  }
  .lang-switch button {min-height: 40px; min-width: 38px; display: inline-grid; place-items:center;}
  .viewer-close, .close-project {min-width: 44px; min-height: 44px;}
  .viewer-details {min-width: 0;}
  .viewer-description, .about-info p, .about-block strong {overflow-wrap: anywhere;}
  .contact-email {max-width: calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); overflow-wrap: anywhere;}
  .footer-arrow-link {min-height: 44px;}
  .project-overlay {overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch;}
  .about {padding-left: max(18px, env(safe-area-inset-left))!important; padding-right: max(18px, env(safe-area-inset-right))!important;}
}
@media (max-width: 359px) {
  .lang-switch {padding: 3px 5px; gap: 2px;}
  .lang-switch button {min-width: 36px;}
  .about-intro, .about-info {min-width: 0;}
  .viewer-sticky {gap: 8px!important;}
  .viewer-details .viewer-description {max-width: calc(100vw - 115px)!important;}
}
