/* Mobile reference: four-image strips, a square stage, six animated columns. */
.mobile-site { background: #000; }
.cosmic-atmosphere { display: none; }
.mobile-showcase { position: relative; padding-block: 25%; }
.mobile-header { position: absolute; top: calc(100% / 6); left: 0; right: 0; min-height: 48px; padding: 4px 8px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px; }
.brand-lockup { transform: none; min-height: 44px; }
.brand-lockup .brand-mark, .brand-lockup .brand-mark img { width: 28px; height: 28px; }
.next-brand-copy strong, .next-brand-copy b { font-size: clamp(8px, 2.5vw, 12px); }
.next-brand-copy i { margin-inline: 2px; font-size: 10px; }
.get-app-button { position: static; min-height: 44px; padding: 4px 6px; font-size: 9px; max-width: 95px; white-space: normal; text-align: center; }
.header-tools { grid-column: auto; }
.mobile-header > .header-tools { display: none; }
.universe-hero { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; }
.mobile-bean-trigger { top: 16%; left: 22%; }
.mobile-catalog { padding: 0; }
.mobile-settings { position: relative; font-size: 12px; }
.mobile-settings summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #244754; border-radius: 8px; background: rgba(10, 25, 32, .85); cursor: pointer; list-style: none; }
.mobile-settings summary::-webkit-details-marker { display: none; }
.mobile-settings-content { position: absolute; top: calc(100% + 6px); right: 0; width: min(276px, calc(100vw - 16px)); max-height: calc(100dvh - min(25vw, 150px) - 60px); overflow-y: auto; padding: 12px; display: grid; gap: 8px; background: rgba(3, 12, 17, .97); border: 1px solid #244754; border-radius: 12px; box-shadow: 0 8px 30px #0009; }
.mobile-settings:not([open]) .mobile-settings-content { display: none; }
.mobile-settings-content .header-tools { display: block; order: 3; }
.mobile-settings-content .language-switch { display: flex; justify-content: center; }
.mobile-settings-content .language-switch button { flex: 1; min-height: 44px; font-size: 14px; }
.mobile-settings-content .website-quality { position: static; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 8px; margin: 0; transform: none; font-size: 14px; }
.mobile-settings-content select { min-height: 44px; font-size: 16px; color: #e5faff; background: #10212a; border: 1px solid #244754; border-radius: 6px; }
.mobile-contact-link { display: grid; place-items: center; min-height: 44px; order: 4; border-radius: 6px; background: #10212a; }
.homepage-carousel { position: absolute; left: 0; width: 100%; height: var(--carousel-tile-size); overflow: hidden; cursor: pointer; }
.homepage-carousel--top { top: 0; }
.homepage-carousel--bottom { bottom: 0; }
.homepage-carousel[hidden] { display: none; }
.homepage-carousel-strip { display: flex; width: max-content; height: 100%; }
.homepage-carousel-tile { position: relative; flex: 0 0 var(--carousel-tile-size); width: var(--carousel-tile-size); height: 100%; }
.homepage-carousel-tile img, .homepage-carousel-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.homepage-carousel-tile video { position: absolute; inset: 0; }
.homepage-carousel-tile::after { content: ''; position: absolute; inset: 0; background: #0007; pointer-events: none; }
.homepage-carousel-toggle, .homepage-carousel-options button { width: 100%; min-height: 44px; color: #e5faff; background: #10212a; border-radius: 6px; font-size: 14px; }
.homepage-carousel-toggle { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.homepage-carousel-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 4px; }
.homepage-carousel-options[hidden] { display: none; }
.mobile-sidebar-menu { top: 50px; left: 8px; width: min(290px, calc(100vw - 16px)); max-height: 65dvh; overflow-y: auto; }
.mobile-sidebar-item { min-height: 44px; grid-template-columns: 28px minmax(0, 1fr) 12px; }
.mobile-sidebar-item__copy b { font-size: 13px; }
.mobile-sidebar-item__copy small { font-size: 10px; }
body[data-bean-mobile="true"] .bean-chat-overlay.is-mobile,
body[data-bean-mobile="true"] .bean-chat-overlay.is-mobile.is-expanded { position: fixed !important; inset: var(--mobile-chat-top, 0px) 0 auto !important; width: 100% !important; height: var(--mobile-chat-height, 100dvh) !important; max-height: none !important; border-radius: 0 !important; transform: none !important; }
body .bean-chat-overlay.is-mobile .bean-chat-panel { grid-template-rows: minmax(0, 1fr) auto; padding-top: env(safe-area-inset-top); }
body .bean-chat-overlay.is-mobile .bean-chat-log { padding: 56px 12px 12px; min-height: 0; overflow-y: auto; }
body .bean-chat-overlay.is-mobile .bean-chat-agent-layout { display: flex; flex-direction: column; min-height: 100%; height: auto; gap: 12px; }
body .bean-chat-overlay.is-mobile .bean-chat-agent-stage { position: relative; inset: auto; flex: 0 0 130px; height: 130px; min-height: 130px; width: 100%; overflow: hidden; }
body .bean-chat-overlay.is-mobile .bean-chat-agent-art { position: relative !important; inset: auto !important; width: auto !important; max-width: 100% !important; height: 100% !important; transform: none !important; object-fit: contain; }
body .bean-chat-overlay.is-mobile .bean-chat-agent-main { position: relative; inset: auto; flex: 1 0 auto; width: 100%; min-height: 0; overflow: visible; }
body .bean-chat-overlay.is-mobile .bean-chat-intro-message p, body .bean-chat-overlay.is-mobile .bean-chat-message-card p { font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
body .bean-chat-overlay.is-mobile .bean-chat-actions { padding: 8px 12px max(8px, env(safe-area-inset-bottom)); }
body .bean-chat-overlay.is-mobile .bean-chat-input { font-size: 16px; min-height: 44px; }
body .bean-chat-overlay.is-mobile .bean-chat-send, body .bean-chat-overlay.is-mobile .bean-chat-tool { min-width: 44px; min-height: 44px; }
body .bean-chat-overlay.is-mobile .bean-chat-expand { display: none !important; }
body .bean-chat-overlay.is-mobile .bean-chat-form { height: auto; min-height: 44px; }
body .bean-chat-overlay.is-mobile .bean-chat-conversion { grid-template-columns: minmax(0, 1fr) 70px; min-height: 110px; gap: 8px; }
body .bean-chat-overlay.is-mobile .bean-chat-conversion-link { min-height: 44px; }
body .bean-chat-overlay.is-mobile .bean-chat-conversion-link strong { font-size: 12px; }
body .bean-chat-overlay.is-mobile .bean-chat-conversion-link small { font-size: 10px; }
@media (min-width: 520px) { .mobile-site { width: min(100%, 600px); } }
@media (orientation: landscape) and (max-height: 500px) { body .bean-chat-overlay.is-mobile .bean-chat-agent-stage { height: 80px; min-height: 80px; } }
