/* Screen geometry follows ContentView.swift 0513; browser system chrome is simulated. */
.phone{--safe-top:62px;--safe-bottom:34px;container-type:inline-size}
.statusbar{height:var(--safe-top);padding-top:18px;z-index:35}
.brandbar{position:absolute;top:calc(var(--safe-top) + 13px);left:0;right:0;height:52px;margin:0;padding:0 14px;z-index:8}
.brandbar>img{width:min(30.8cqw,122.2375px);height:25.9875px;object-fit:contain;object-position:left center;margin-left:10px}
.phone.active #header-actions{visibility:visible}
.conversation{top:calc(var(--safe-top) + 76px);bottom:calc(var(--safe-bottom) + 155px);padding:12px 26px;scrollbar-width:none}
.conversation #answer{padding:11px 0}
.phone.call-welcome{background:radial-gradient(ellipse at 80% 28%,#f8ddea9e,transparent 62%),radial-gradient(ellipse at 28% 64%,#eee5ffad,transparent 65%),#fff}
#call-ambient{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.phone.call-welcome .conversation{inset:0;padding:0;overflow:hidden}
.phone.call-welcome #answer{padding:0}
.phone.call-welcome .welcome{position:absolute;left:9.5%;right:9.5%;top:calc(var(--safe-top) + (100cqh - var(--safe-top) - var(--safe-bottom)) * .25);padding:0;margin:0;color:#1a0f29}
.phone{container-type:size}
.welcome .hello{font-size:25px;font-weight:600;line-height:30px;margin:0 0 12px}
.welcome h2{font-size:34px;font-weight:700;line-height:41px;letter-spacing:normal;margin:0;white-space:nowrap}
.welcome h2 strong{color:#c42652;font-weight:700}
.welcome .hint{font-size:15px;font-weight:400;color:#978c9e;margin:38px 0 0;line-height:18px}
.welcome .suggestion{display:block;font-size:23px;font-weight:600;line-height:38px;height:38px;color:#544761;margin:17px 0 0;padding:0;white-space:nowrap;background:transparent;border:0}
.call-dock{height:132px;bottom:calc(var(--safe-bottom) - 10px);padding:12px 24px 8px;background:none;z-index:14;box-sizing:border-box}
.call-dock .panel-caption{font-size:14px;font-weight:400;line-height:20px;min-height:20px;height:20px;color:#5b1452;margin:0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-dock .controls{position:relative;height:82px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.call-dock .control{width:52px;height:52px;min-width:52px;padding:0}
.call-dock .control img{width:24px;height:24px;object-fit:contain}
.call-dock .control{background:#ffffffa6;border:.6px solid #00000024;box-shadow:inset 0 1px 2px #fff8,0 4px 15px #78617809;backdrop-filter:blur(18px)}
.call-dock .control[aria-pressed=true]{background:#e8cced26;border-color:#b799bc88;box-shadow:inset 0 1px 2px #fff8}
.call-dock #speaker-toggle{margin-right:auto}
.call-dock #mic-toggle{margin-left:auto}
.call-dock .orb{width:82px;height:82px;min-width:82px;position:absolute;left:calc(50% - 41px);top:0;margin:0;padding:0;background:none;animation:none;transform:none;box-shadow:none}
.call-dock .orb-core{width:78px;height:78px;inset:2px;animation:none;transform:none}
.phone.active>.disclaimer,.phone.active>.home-indicator{display:none}
.caption-box{margin-bottom:20px}.caption{height:28px;line-height:28px;font-size:18px}.nc-slot{height:auto;min-height:112px}.nc-slot+.nc-slot{margin-top:0}
.phone.active .conversation{overscroll-behavior:contain;overflow-anchor:none}
.current-voice-turn{min-height:calc(var(--voice-turn-min,0px) + 56px)}
.voice-caption[data-expanded="true"]{height:auto;min-height:28px;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere;text-overflow:clip;line-height:28px}
.voice-caption[data-expanded="false"]{white-space:nowrap;overflow:hidden;text-overflow:clip}
.voice-filler{font-size:16px;line-height:24px;color:#41354a;margin:0 0 12px}
.return-detail:not([hidden]),.camera-surface-controls>.return-detail:not([hidden]){display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;background:none;border:0;color:#161218;border-radius:0}
.return-detail[hidden],.camera-surface-controls>.return-detail[hidden]{display:none}
.phone.call-overlay .brandbar{padding-left:4px;justify-content:flex-start}
.phone.call-overlay #header-actions{margin-left:auto}
.phone.call-overlay .brandbar>img{margin-left:0}
.phone.call-overlay #detail-root,.phone.call-overlay #sheet-root:has(.native-config-sheet,.native-checkout){visibility:hidden;pointer-events:none}
.phone.call-overlay .camera-surface-controls{left:4px;gap:5px}
.phone.call-overlay .camera-surface-controls .camera-brand{max-width:100%}
.phone.surface-camera:not(.surface-camera-small) .camera-surface-controls>.return-detail{color:white}
.phone.floating-call-browsing .native-config-backdrop{bottom:0}
.phone.floating-call-browsing .native-product.nd-active,.phone.floating-call-browsing .native-store.nd-active{bottom:0}
.phone.full-trade-page > :not(#sheet-root):not(#toast):not(.statusbar){visibility:hidden!important;pointer-events:none!important}
.payment-failure-shortcut{margin:0 0 14px}
.nc-store.selected{background:white!important}.nc-store .store-copy{gap:8px}
.native-product,.native-store{padding-top:var(--safe-top);box-sizing:border-box}
.native-product .nd-nav{top:var(--safe-top)}
.native-product .detail-scroll,.native-store .detail-scroll{padding-bottom:0}
.native-product .nd-card>small{font-size:11px;color:#777}
.native-product .nd-gallery-wrap{flex:none;aspect-ratio:1}
.native-store .nd-store-gallery{height:65cqw}
.native-store .nd-dots .selected{background:#1677ff!important}
.native-config-backdrop{bottom:88px;z-index:42}
.sheet.native-config-sheet{padding:0;border-radius:14px 14px 0 0;max-height:90%;overflow:hidden}
.native-config-sheet:before{display:none}
.native-payment-sheet:before{margin:8px auto 0;height:4px;width:34px;background:#c7c7cc}
.native-config-sheet .native-config.nd-active{max-height:calc(100cqh - 190px)}
.native-config header{margin-bottom:0}
.native-config .nd-config-scroll button.selected{background:#fff5f5!important;border-color:#ff3038!important}
.native-alert-backdrop{align-items:center;justify-content:center}
.sheet.native-payment-sheet{max-height:none;overflow:hidden;border-radius:20px 20px 0 0}
.native-payment-sheet .nc-payment .primary{width:100%}
.nc-recharge .field-error[hidden]{display:none}
.phone.surface-camera:not(.surface-camera-small) .brandbar{visibility:hidden}
.phone.surface-camera:not(.surface-camera-small) .statusbar{color:#17131c;background:none}
.surface-camera-small .camera-surface-controls{isolation:isolate}
.surface-camera-small .camera-surface-controls:before{content:'';position:absolute;inset:0 -16px;background:white;z-index:-1}
.surface-camera-small .camera-surface-controls>button{border:.6px solid #0003}
.surface-camera-small .call-voice-picker>button{border-color:transparent}
.camera-surface-controls .call-voice-picker>button{font:500 13px system-ui}
.surface-camera:not(.surface-camera-small) .call-voice-picker>button img{filter:brightness(0) invert(1)}
.camera-surface-controls .call-voice-menu button{height:36px;flex:none;font:400 12px system-ui;color:#4d144a;background:transparent;border:0;border-radius:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px;backdrop-filter:none}
.camera-surface-controls .call-voice-menu button[aria-checked=true]{background:transparent;font-weight:500}
.compact-call-bar button{display:grid;place-items:center;box-shadow:inset 0 1px 2px #fff8,0 2px 6px #00000005;border-color:#00000024}
.phone .compact-call-bar .compact-end{border-color:#00000024}
.surface-camera #call-dock{bottom:calc(var(--safe-bottom) - 10px)!important}
.phone.compact-call .call-dock{display:none}
.phone.compact-call .statusbar{color:#17131c;background:white}
.phone .compact-call-bar{z-index:40}
.phone .sheet-backdrop{z-index:45}
.phone .native-config-backdrop{z-index:38}
.phone .nc-alert{font-family:inherit}
#home-root{inset:var(--safe-top) 0 0}
#ai-home-welcome{--home-side:clamp(20px,7cqw,34px);--card-expand:calc((100cqw - 2 * var(--home-side)) * .017);left:var(--home-side);right:var(--home-side);top:calc(76px + max(28px,(100cqh - var(--safe-top) - var(--safe-bottom) - 226px) * .22) * .53333333);bottom:162px}
#home-suggestions{margin-left:calc(-1 * var(--card-expand));margin-right:calc(-1 * var(--card-expand))}
.home-top-actions{gap:0;transform:translate(10px,-6px)}
.home-top-actions button{width:48px;height:44px}.home-top-actions img{width:25px;height:25px}.home-top-actions button:last-child img{width:24px;height:24px}
.mall-bottom #mall-ai-orb>img{transform:translateY(-20px)}
@media(max-width:760px){.phone{height:100svh;min-height:660px;max-height:none}.call-dock{padding-left:24px;padding-right:24px}}
