/* Original APP styles remain isolated inside a real, interactive viewport. */
html,body { width:100%; min-height:100%; background:white; scrollbar-width:none; }
body::-webkit-scrollbar { display:none; }
body { font-size:16px; }
.app { width:390px; max-width:100%; }
.ai-screen { height:844px; min-height:844px; overflow:hidden; }
.ai-screen .messages { min-height:0; overflow-y:auto; scrollbar-width:none; overscroll-behavior-y:contain; flex:1; }
.ai-screen .messages::-webkit-scrollbar { display:none; }
.ai-screen .messages > .bubble { flex-shrink:0; }
.ai-screen .extensions,.ai-screen .composer-area { flex-shrink:0; }
.ai-screen .composer-area { position:relative; bottom:auto; }
.demo-auto .home-header,.demo-auto .status,.demo-auto .composer-area,.demo-auto .extensions { position:relative; z-index:2; }
.demo-auto .messages { scroll-behavior:auto; overflow:hidden; }
.demo-auto .messages > * { transform-origin:50% 100%; }
.demo-reply-part { display:inline; }
.demo-card-only { width:244px; height:347px; overflow:hidden; background:transparent; }
.demo-card-only .app { width:244px; min-height:0; background:transparent; }
.demo-card-only .reply-product { width:244px; }
.demo-card-only .reply-product p { font-size:12px; line-height:18px; margin:8px 0 5px; }
.demo-card-only .reply-product-photo img { height:165px; }
::selection { color:#121827; background:#f6d77f; }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; } }
