/* У мобильного MAX высота страницы зависит от размера шторки. */
@media (max-width: 600px) and (max-height: 740px) {
    html.max-client .header {
        padding-top: calc(6px + max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)));
        padding-bottom: 6px;
    }
    html.max-client .container { padding-top: 12px; }
    html.max-client .screen-illustration,
    html.max-client #screen-family .family-portrait {
        --scene-height: clamp(72px, 14svh, 100px);
    }
    html.max-client .onb-hero { gap: 8px; }
    html.max-client #screen-family .family-card { padding-block: 12px; }
    html.max-client #supportDock { padding-top: 0; padding-bottom: max(4px, env(safe-area-inset-bottom, 0px)); }
    html.max-client #supForm { padding-top: 14px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
    html.max-client #supForm textarea { min-height: 76px; }
    html.max-client #supForm [data-sheet-handle],
    html.max-client #supForm .sup-form-history { min-height: 44px; }
}
