/* NO KEN BURNS. No zoom, pan, drift, scale, translate, rotate or size change on any image, on any container of an image, or on any overlay drawn over an image — ever. Pictures may only fade (opacity). Nothing inside `.stage` may animate or transition `transform`, `scale`, `translate`, `rotate`, `width`, `height`, `inset`, `object-position`, `background-position` or `filter`. */
/* Small landscape screens keep the full-width base layout. */
@media (min-width: 700px) and (min-height: 560px), (min-width: 1100px) {
  #session {
    width: var(--card-width);
    height: var(--card-height);
    border: 1px solid var(--rule);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
  }
}
@media (min-width: 900px) and (min-height: 560px) {
  #devModal { align-items: center; justify-content: center; }
  #devModal .modal-panel {
    width: min(45rem, 100%);
    max-height: 86vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    overflow-wrap: anywhere;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1.5;
  }
  #devModal .quiet { font-size: .95rem; }
  #devModal button:enabled:hover { border-color: var(--moss); }
  #devModal button:focus-visible { border-color: var(--moss-deep); box-shadow: 0 0 0 3px rgba(77,98,68,.38); }
}

/* The phone-preview card is a phone. Settings and the language picker stay a
   bottom sheet inside it; the desktop-modal rule above is for real desktop pages (t376u). */
@media (min-width: 700px) and (min-height: 560px), (min-width: 1100px) {
  #devModal { align-items: flex-end; justify-content: center; }
  #devModal .modal-panel.dev-panel { width: 100%; max-width: none; }
}
