:root{--bg: #ededed;--bg-elevated: #ffffff;--bg-soft: #f7f7f7;--bg-muted: #e8eaed;--text: #111111;--text-secondary: #888888;--text-tertiary: #b2b2b2;--border: #e6e6e6;--border-strong: #d9d9d9;--brand: #18b96e;--brand-soft: #e8f8ef;--brand-hover: #12965a;--success: #22c55e;--success-soft: #ecfdf5;--danger: #ef4444;--danger-soft: #fef2f2;--warning: #f59e0b;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);--shadow: 0 4px 20px rgba(15, 23, 42, .06);--shadow-md: 0 8px 30px rgba(15, 23, 42, .08);--radius-sm: 10px;--radius: 16px;--radius-lg: 20px;--radius-xl: 24px;--radius-full: 9999px;--sidebar-width: 240px;--header-h: 64px;--mobile-nav-h: 64px;--mobile-header-h: 56px;--font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ease: cubic-bezier(.22, 1, .36, 1);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}html.theme-dark{--bg: #0f172a;--bg-elevated: #1e293b;--bg-soft: #1e293b;--bg-muted: #334155;--text: #f1f5f9;--text-secondary: #94a3b8;--text-tertiary: #64748b;--border: #334155;--border-strong: #475569;--brand-soft: rgba(59, 130, 246, .15);--card: #1e293b}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;width:100%;overflow:hidden}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}ul,ol{list-style:none}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.app-shell{display:flex;min-height:100vh;min-height:100dvh;background:var(--bg)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--bg-elevated);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:20px 14px;z-index:40}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:8px 10px 24px}.brand-mark{width:40px;height:40px;border-radius:10px;background:transparent;display:grid;place-items:center;color:#fff;flex-shrink:0;overflow:hidden;padding:0}.brand-mark img,.app-logo{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block}.brand-text .name{font-size:18px;font-weight:700;letter-spacing:.02em;line-height:1.2}.brand-text .sub{font-size:12px;color:var(--text-secondary);margin-top:2px}.nav-list{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:12px;color:var(--text-secondary);font-size:14px;font-weight:500;transition:background .2s var(--ease),color .2s var(--ease),transform .15s var(--ease)}.nav-item:hover{background:var(--bg-soft);color:var(--text)}.nav-item:active{transform:scale(.98)}.nav-item.active{background:var(--brand-soft);color:var(--brand)}.nav-divider{height:1px;background:var(--border);margin:16px 8px}.sidebar-footer{margin-top:auto;padding-top:12px}.logout-btn{width:100%;display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:12px;color:var(--text-secondary);font-size:14px;font-weight:500;transition:background .2s var(--ease),color .2s var(--ease)}.logout-btn:hover{background:var(--danger-soft);color:var(--danger)}.main-area{flex:1;margin-left:var(--sidebar-width);min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:28px 32px 8px}.topbar-greeting h1{font-size:26px;font-weight:700;letter-spacing:-.02em}.topbar-greeting p{margin-top:6px;color:var(--text-secondary);font-size:14px}.topbar-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.icon-btn{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:var(--text-secondary);background:var(--bg-elevated);border:1px solid var(--border);position:relative;transition:background .2s var(--ease),color .2s var(--ease),transform .15s var(--ease)}.icon-btn:hover{background:var(--bg-soft);color:var(--text)}.icon-btn:active{transform:scale(.96)}.icon-btn .badge{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:var(--danger);border:2px solid white}.user-chip{display:flex;align-items:center;gap:10px;padding:6px 12px 6px 6px;border-radius:999px;background:var(--bg-elevated);border:1px solid var(--border);transition:background .2s var(--ease)}.user-chip:hover{background:var(--bg-soft)}.user-chip img{width:32px;height:32px;border-radius:50%;object-fit:cover}.user-chip span{font-size:14px;font-weight:500}.page-content{padding:16px 32px 40px;flex:1}.page-content.compact{padding-top:8px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-head h2{font-size:16px;font-weight:600}.link-more{font-size:13px;color:var(--text-secondary);display:inline-flex;align-items:center;gap:2px;transition:color .2s var(--ease)}.link-more:hover{color:var(--brand)}.card{background:var(--bg-elevated);border-radius:var(--radius-lg);box-shadow:var(--shadow);border:1px solid rgba(229,231,235,.7)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:12px;font-size:14px;font-weight:600;transition:background .2s var(--ease),color .2s var(--ease),transform .15s var(--ease),box-shadow .2s var(--ease)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 6px 16px #3b82f640}.btn-primary:hover:not(:disabled){background:var(--brand-hover)}.btn-secondary{background:var(--bg-soft);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--bg-muted)}.btn-ghost{background:transparent;color:var(--text-secondary)}.btn-ghost:hover:not(:disabled){background:var(--bg-soft);color:var(--text)}.btn-white{background:#fff;color:var(--text);box-shadow:var(--shadow)}.btn-white:hover:not(:disabled){box-shadow:var(--shadow-md)}.btn-danger{background:var(--danger);color:#fff}.btn-block{width:100%}.btn-lg{height:52px;border-radius:14px;font-size:15px}.btn-pill{border-radius:999px}.status-dot{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--success);font-weight:500}.status-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px #22c55e26}.relatives-row{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.relatives-row::-webkit-scrollbar{height:6px}.relatives-row::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:99px}.relative-card{flex:0 0 168px;scroll-snap-align:start;background:var(--bg-elevated);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;border:1px solid rgba(229,231,235,.8);transition:transform .2s var(--ease),box-shadow .2s var(--ease);text-align:left}.relative-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.relative-card:active{transform:scale(.99)}.relative-card .photo{aspect-ratio:1;overflow:hidden;background:var(--bg-soft)}.relative-card .photo img{width:100%;height:100%;object-fit:cover}.relative-card .meta{padding:12px 14px 14px}.relative-card .meta h3{font-size:15px;font-weight:600}.relative-card .meta .years{font-size:12px;color:var(--text-tertiary);margin:2px 0 8px}.relative-card.add{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;border:1.5px dashed var(--border-strong);background:var(--bg-elevated);box-shadow:none;color:var(--text-secondary);gap:10px}.relative-card.add:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.add-plus{width:48px;height:48px;border-radius:50%;background:var(--bg-soft);display:grid;place-items:center}.home-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:18px;margin-top:8px}.chat-list{padding:6px 8px}.chat-item{display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:14px;width:100%;text-align:left;transition:background .2s var(--ease)}.chat-item:hover{background:var(--bg-soft)}.chat-item img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}.chat-item .body{flex:1;min-width:0}.chat-item .body .row{display:flex;justify-content:space-between;gap:8px;margin-bottom:2px}.chat-item .body .name{font-size:14px;font-weight:600}.chat-item .body .time{font-size:12px;color:var(--text-tertiary);flex-shrink:0}.chat-item .body .preview{font-size:13px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.call-hero{position:relative;overflow:hidden;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;text-align:center}.call-hero .bg{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;filter:blur(2px);transform:scale(1.05)}.call-hero .bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#ffffff8c,#ffffffc7)}.call-hero .content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:280px}.call-hero .avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid white;box-shadow:var(--shadow-md)}.call-hero h3{font-size:18px;font-weight:700}.call-hero .label{font-size:13px;color:var(--text-secondary);margin-top:-6px}.feature-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px;padding:18px}.feature-item{display:flex;align-items:center;gap:12px}.feature-icon{width:40px;height:40px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;flex-shrink:0}.feature-item h4{font-size:13px;font-weight:600}.feature-item p{font-size:12px;color:var(--text-tertiary)}.page-footer{text-align:center;padding:24px 16px 8px;color:var(--text-tertiary);font-size:12px;line-height:1.7}.disclaimer{max-width:640px;margin:0 auto 8px;color:var(--text-tertiary);font-size:12px}.mobile-only{display:none}.desktop-only{display:block}.mobile-header{display:none;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--bg-elevated);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:30}.mobile-header .center{text-align:center}.mobile-header .center .name{font-size:18px;font-weight:700}.mobile-header .center .sub{font-size:11px;color:var(--text-secondary)}.mobile-bottom-nav{display:none;position:fixed;left:0;right:0;bottom:0;height:calc(var(--mobile-nav-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:40;justify-content:space-around;align-items:center}.mobile-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--text-tertiary);font-size:10px;font-weight:500;padding:8px 4px;transition:color .2s var(--ease)}.mobile-nav-item.active{color:var(--brand)}.mobile-avatars{display:none;gap:16px;overflow-x:auto;padding:4px 2px 8px;-webkit-overflow-scrolling:touch}.mobile-avatars::-webkit-scrollbar{display:none}.avatar-item{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:8px;width:64px}.avatar-ring{position:relative;width:56px;height:56px}.avatar-ring img,.avatar-ring .add-circle{width:56px;height:56px;border-radius:50%;object-fit:cover}.avatar-ring .add-circle{background:var(--bg-soft);border:1.5px dashed var(--border-strong);display:grid;place-items:center;color:var(--text-secondary)}.avatar-ring .online{position:absolute;right:2px;bottom:2px;width:10px;height:10px;border-radius:50%;background:var(--success);border:2px solid white}.avatar-item span{font-size:12px;color:var(--text-secondary);font-weight:500}.page-title-block{margin-bottom:20px}.page-title-block h1{font-size:24px;font-weight:700}.page-title-block p{margin-top:6px;color:var(--text-secondary);font-size:14px}.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.form-card{padding:28px;max-width:720px}.form-group{margin-bottom:18px}.form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:var(--text)}.form-group .hint{font-size:12px;color:var(--text-tertiary);font-weight:400;margin-left:6px}.input,.textarea,.select{width:100%;border:1px solid var(--border);background:var(--bg-elevated);border-radius:12px;padding:12px 14px;font-size:14px;transition:border-color .2s var(--ease),box-shadow .2s var(--ease)}.input:focus,.textarea:focus,.select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #3b82f61f}.textarea{min-height:96px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.upload-zone{border:1.5px dashed var(--border-strong);border-radius:var(--radius);padding:24px 16px;text-align:center;background:var(--bg-soft);color:var(--text-secondary);transition:border-color .2s var(--ease),background .2s var(--ease);cursor:pointer}.upload-zone:hover,.upload-zone.dragover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.upload-zone .icon{margin:0 auto 10px;width:44px;height:44px;border-radius:12px;background:#fff;display:grid;place-items:center;box-shadow:var(--shadow-sm);color:var(--brand)}.upload-zone .title{font-size:14px;font-weight:600;color:var(--text)}.upload-zone .desc{font-size:12px;margin-top:4px}.upload-zone.success{border-style:solid;border-color:#86efac;background:var(--success-soft)}.upload-zone.error{border-style:solid;border-color:#fca5a5;background:var(--danger-soft)}.upload-zone .preview-img{width:72px;height:72px;border-radius:12px;object-fit:cover;margin:0 auto 10px}.steps{display:flex;gap:8px;margin-bottom:24px}.step-pill{flex:1;height:4px;border-radius:99px;background:var(--bg-muted)}.step-pill.active{background:var(--brand)}.step-pill.done{background:#93c5fd}.detail-hero{display:grid;grid-template-columns:280px 1fr;gap:24px;padding:24px;margin-bottom:20px}.detail-hero .portrait{aspect-ratio:1;border-radius:var(--radius);overflow:hidden;background:var(--bg-soft)}.detail-hero .portrait img{width:100%;height:100%;object-fit:cover}.detail-hero h1{font-size:28px;font-weight:700}.detail-hero .sub{color:var(--text-secondary);margin-top:6px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.memory-grid{display:grid;gap:12px}.memory-block{padding:18px 20px}.memory-block h3{font-size:14px;font-weight:600;margin-bottom:8px}.memory-block p{font-size:14px;color:var(--text-secondary);line-height:1.7;white-space:pre-wrap}.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.album-card{overflow:hidden;text-align:left;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}.album-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.album-card .thumb{aspect-ratio:4/3;overflow:hidden;background:var(--bg-soft)}.album-card .thumb img{width:100%;height:100%;object-fit:cover}.album-card .info{padding:14px 16px 16px}.album-card .info h3{font-size:15px;font-weight:600}.album-card .info p{font-size:13px;color:var(--text-secondary);margin-top:4px}.album-card .info .date{font-size:12px;color:var(--text-tertiary);margin-top:8px}.album-upload-card{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1.5px dashed var(--border-strong);background:var(--bg-elevated);color:var(--text-secondary);box-shadow:none}.album-upload-card:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.call-page{min-height:100vh;min-height:100dvh;background:var(--bg);display:flex;flex-direction:column}.call-top{display:flex;align-items:center;justify-content:space-between;padding:16px 20px}.call-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;position:relative}.call-video{width:min(720px,100%);aspect-ratio:16/10;border-radius:var(--radius-xl);background:var(--bg-elevated);box-shadow:var(--shadow-md);border:1px solid var(--border);overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.call-video .room-bg{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;opacity:.35;filter:saturate(.9)}.call-video .person{position:relative;z-index:1;text-align:center}.call-video .person img{width:min(220px,42vw);height:min(220px,42vw);border-radius:50%;object-fit:cover;border:5px solid white;box-shadow:var(--shadow-md);transition:transform .6s var(--ease)}.call-video.speaking .person img{transform:scale(1.03);box-shadow:0 0 0 8px #3b82f61f,var(--shadow-md)}.call-status{margin-top:18px;text-align:center}.call-status h2{font-size:22px;font-weight:700}.call-status p{margin-top:6px;color:var(--text-secondary);font-size:14px}.call-pulse{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:8px 14px;border-radius:999px;background:var(--bg-elevated);border:1px solid var(--border);font-size:13px;color:var(--text-secondary)}.call-pulse .dot{width:8px;height:8px;border-radius:50%;background:var(--brand);animation:pulse 1.2s ease infinite}@keyframes pulse{0%,to{opacity:.35;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}.call-controls{display:flex;align-items:center;justify-content:center;gap:16px;padding:20px 16px calc(28px + var(--safe-bottom))}.call-ctrl{width:56px;height:56px;border-radius:50%;background:var(--bg-elevated);border:1px solid var(--border);display:grid;place-items:center;color:var(--text);box-shadow:var(--shadow-sm);transition:transform .15s var(--ease),background .2s var(--ease)}.call-ctrl:hover{background:var(--bg-soft)}.call-ctrl:active{transform:scale(.95)}.call-ctrl.off{background:var(--bg-muted);color:var(--text-tertiary)}.call-ctrl.end{width:64px;height:64px;background:var(--danger);color:#fff;border:none;box-shadow:0 8px 20px #ef444447}.call-ctrl.end:hover{background:#dc2626}.call-ctrl-label{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;color:var(--text-secondary)}.state-box{padding:48px 24px;text-align:center;color:var(--text-secondary)}.state-box .icon-wrap{width:64px;height:64px;margin:0 auto 16px;border-radius:18px;background:var(--bg-soft);display:grid;place-items:center;color:var(--text-tertiary)}.state-box h3{font-size:16px;font-weight:600;color:var(--text);margin-bottom:6px}.state-box p{font-size:13px;max-width:320px;margin:0 auto 18px}.spinner{width:28px;height:28px;border:2.5px solid var(--border);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 14px}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%) translateY(12px);background:#1f2937eb;color:#fff;padding:10px 16px;border-radius:12px;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:opacity .25s var(--ease),transform .25s var(--ease);max-width:calc(100vw - 32px)}.toast.show{opacity:1;transform:translate(-50%) translateY(0)}.list-panel{overflow:hidden}.filter-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.filter-tab{padding:8px 14px;border-radius:999px;font-size:13px;font-weight:500;background:var(--bg-elevated);border:1px solid var(--border);color:var(--text-secondary);transition:all .2s var(--ease)}.filter-tab.active{background:var(--brand-soft);border-color:transparent;color:var(--brand)}.settings-list{overflow:hidden}.settings-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border);width:100%;text-align:left}.settings-item:last-child{border-bottom:none}.settings-item:hover{background:var(--bg-soft)}.settings-item .left{display:flex;align-items:center;gap:12px}.settings-item .label{font-size:14px;font-weight:500}.settings-item .value{font-size:13px;color:var(--text-tertiary)}.lang-switch{display:inline-flex;background:var(--bg-soft);border-radius:10px;padding:3px;gap:2px}.lang-switch button{padding:6px 12px;border-radius:8px;font-size:12px;font-weight:600;color:var(--text-secondary)}.lang-switch button.active{background:#fff;color:var(--brand);box-shadow:var(--shadow-sm)}.chat-thread{padding:20px;display:flex;flex-direction:column;gap:14px;min-height:360px}.bubble{max-width:min(480px,85%);padding:12px 14px;border-radius:16px;font-size:14px;line-height:1.6}.bubble.ai{align-self:flex-start;background:var(--bg-soft);border-bottom-left-radius:6px}.bubble.user{align-self:flex-end;background:var(--brand);color:#fff;border-bottom-right-radius:6px}.bubble .time{display:block;margin-top:6px;font-size:11px;opacity:.7}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:50;opacity:0;pointer-events:none;transition:opacity .25s var(--ease)}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer{position:fixed;top:0;left:0;bottom:0;width:min(300px,86vw);background:#fff;z-index:60;transform:translate(-105%);transition:transform .3s var(--ease);padding:20px 14px;display:flex;flex-direction:column}.drawer.open{transform:translate(0)}.select-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.skeleton{background:linear-gradient(90deg,var(--bg-soft),#fafafa,var(--bg-soft));background-size:200% 100%;animation:shimmer 1.2s ease infinite;border-radius:12px}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.fade-in{animation:fadeIn .35s var(--ease)}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(max-width:1024px){.home-grid{grid-template-columns:1fr}.call-hero{min-height:280px}.feature-bar{grid-template-columns:repeat(2,1fr)}.detail-hero{grid-template-columns:1fr}.detail-hero .portrait{max-width:280px}}@media(max-width:860px){.desktop-only{display:none!important}.mobile-only{display:flex}.sidebar{display:none}.main-area{margin-left:0}.mobile-header,.mobile-bottom-nav{display:flex}.topbar{display:none}.page-content{padding:16px 16px calc(var(--mobile-nav-h) + var(--safe-bottom) + 24px)}.page-content.call-mode{padding:0}.mobile-greeting{padding:8px 0 16px}.mobile-greeting h1{font-size:22px;font-weight:700}.mobile-greeting p{margin-top:4px;font-size:13px;color:var(--text-secondary)}.desktop-relatives{display:none}.mobile-avatars{display:flex}.home-grid{display:flex;flex-direction:column-reverse;gap:20px}.feature-bar,.page-footer.desktop-footer{display:none}.form-row{grid-template-columns:1fr}.form-card{padding:20px}.user-chip span{display:none}.call-video{aspect-ratio:3/4;width:100%;border-radius:0;border:none;box-shadow:none;background:transparent;flex:1}.call-page .call-stage{padding:0}.call-controls{background:var(--bg-elevated);border-top:1px solid var(--border)}}@media(min-width:861px){.mobile-greeting,.mobile-avatars-wrap{display:none}}.auth-page{min-height:0;height:100%;display:flex;flex-direction:column;justify-content:flex-start;padding:24px;background:#ededed}.auth-card{width:min(420px,100%);padding:28px 4px 8px}.auth-brand{display:flex;gap:12px;align-items:center;margin-bottom:20px}.auth-brand h1{font-size:22px}.auth-brand p{color:var(--text-secondary);font-size:13px}.auth-switch{margin-top:16px;text-align:center;font-size:13px;color:var(--text-secondary)}.auth-switch a{color:var(--brand);font-weight:600}.field{display:block;margin-bottom:14px}.field span{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.seg{display:inline-flex;background:var(--bg-soft);border-radius:10px;padding:3px;gap:2px}.seg button{padding:8px 14px;border-radius:8px;font-size:13px;font-weight:600;color:var(--text-secondary)}.seg button.active{background:#fff;color:var(--brand);box-shadow:var(--shadow-sm)}.cs-mobile{max-width:560px;margin:0 auto;display:flex;flex-direction:column;min-height:calc(100vh - 40px)}.cs-mobile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.cs-mobile-top .center{text-align:center}.cs-mobile-top .title{font-weight:700}.cs-mobile-top .online{font-size:12px;color:var(--success)}.cs-agent{display:flex;align-items:center;gap:12px;padding:14px;margin-bottom:12px}.cs-agent-avatar-wrap{width:48px;height:48px;border-radius:50%;background:#eff6ff;display:grid;place-items:center;flex-shrink:0}.cs-agent img{width:48px;height:48px;border-radius:50%;object-fit:cover}.cs-agent .name{font-weight:700}.cs-agent .tag{display:inline-block;margin-left:6px;font-size:11px;color:var(--brand);background:var(--brand-soft);padding:1px 6px;border-radius:999px}.cs-agent .hours{font-size:12px;color:var(--text-secondary)}.cs-thread{flex:1;overflow:auto;padding:8px 0 16px;display:flex;flex-direction:column;gap:12px;min-height:280px;max-height:min(52vh,520px)}.cs-row{display:flex;gap:8px;align-items:flex-end}.cs-row.me{justify-content:flex-end}.cs-row .av{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}.cs-row .bubble{max-width:min(78vw,320px);padding:10px 12px;border-radius:16px;font-size:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.cs-row .bubble.agent{background:#fff;border:1px solid var(--border);color:var(--text);border-bottom-left-radius:6px}.cs-row .bubble.me{background:var(--brand);color:#fff;border-bottom-right-radius:6px}.cs-row .time{display:block;font-size:11px;color:var(--text-tertiary);margin-top:4px}.cs-row.me .time{text-align:right}.cs-chips{display:flex;gap:8px;overflow-x:auto;padding:8px 0}.cs-chips button{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--border);font-size:12px}.cs-input{display:flex;gap:8px;align-items:center;padding:10px 0 12px}.cs-input input{flex:1;min-width:0;height:42px;border:1px solid var(--border);border-radius:12px;padding:0 12px}body.cs-lock{overflow:hidden;overscroll-behavior:none;touch-action:pan-y}.app-shell.cs-shell{overflow:hidden;max-width:100vw;height:100dvh}.app-shell.cs-shell .main-area{overflow:hidden;max-width:100vw;height:100%;min-height:0;padding-bottom:calc(var(--mobile-nav-h) + var(--safe-bottom));box-sizing:border-box}.app-shell.cs-shell .mobile-header{display:none!important}.page-content.cs-mode{padding:0!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:100%!important;max-width:100%;overflow:hidden;position:relative;display:flex;flex-direction:column}.cs-page{width:100%;max-width:100%;flex:1 1 auto;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden;overflow-x:hidden;overscroll-behavior:none;touch-action:pan-y;background:var(--bg);position:relative}.cs-page .cs-fixed-top{flex-shrink:0;padding:calc(8px + var(--safe-top)) 12px 0;background:var(--bg);z-index:3}.cs-page .cs-mobile-top{margin-bottom:8px}.cs-page .cs-agent{margin-bottom:0}.cs-page .cs-thread{flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px 12px 8px;touch-action:pan-y}.cs-page .cs-fixed-bottom{flex:0 0 auto;flex-shrink:0;padding:0 12px max(6px,var(--safe-bottom));background:var(--bg-elevated, #fff);border-top:1px solid var(--border);margin:0;position:relative;z-index:6;box-shadow:0 -4px 16px #0f172a0a}.cs-page .cs-chips{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:8px 0 6px;scrollbar-width:none}.cs-page .cs-chips::-webkit-scrollbar{display:none}.cs-page .cs-input{display:flex;gap:6px;align-items:center;padding:4px 0 2px;margin:0;width:100%}.cs-page .cs-input .icon-btn{flex:0 0 auto;width:36px;height:36px}.cs-page .cs-input input{flex:1 1 auto;min-width:0;height:40px}.cs-page .cs-input .btn{flex:0 0 auto;height:40px!important;min-width:64px!important;padding:0 12px}@media(min-width:861px){.app-shell.cs-shell .main-area{padding-bottom:0}.page-content.cs-mode{max-width:720px;margin:0 auto;width:100%}.app-shell.cs-shell .mobile-bottom-nav{display:none}}.media-box{margin-top:12px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--bg-elevated, #fff)}.media-box h3{font-size:15px;margin-bottom:4px}.media-box .hint{font-size:12px;color:var(--text-secondary);margin-bottom:12px}.media-actions{display:flex;flex-wrap:wrap;gap:8px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.photo-item{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1;background:#f1f5f9}.photo-item img{width:100%;height:100%;object-fit:cover;display:block}.photo-item span{position:absolute;left:4px;top:4px;background:#2563ebe6;color:#fff;font-size:10px;padding:2px 6px;border-radius:999px}.photo-item button{position:absolute;right:4px;bottom:4px;font-size:11px;background:#0000008c;color:#fff;border:0;border-radius:6px;padding:2px 6px}.consent-row{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.5;margin-bottom:12px;cursor:pointer}.consent-row em{display:block;margin-top:6px;color:var(--text-secondary);font-style:normal;font-size:12px}.voice-ok,.voice-wait{margin-top:10px;padding:10px 12px;border-radius:12px;font-size:13px}.voice-ok{background:#22c55e1a}.voice-ok audio{display:block;width:100%;margin-top:8px}.voice-wait{background:#f59e0b1f}html,body,#root{position:fixed;top:0;right:0;bottom:0;left:0;height:100%;height:100dvh;width:100%;max-width:100%;overflow:hidden;overscroll-behavior:none}html{touch-action:manipulation}body{background:#ededed;touch-action:manipulation;overscroll-behavior:none}.im-app{width:100%;max-width:100%;margin:0;background:var(--bg);display:flex;flex-direction:column;position:absolute;top:0;right:0;bottom:0;left:0;height:100%;height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:none;touch-action:manipulation}html.kb-open .im-app{top:var(--vv-top, 0px);bottom:auto;height:var(--vv-h, 100%);max-height:var(--vv-h, 100%)}.im-body{flex:1 1 0%;min-height:0;overflow:hidden;display:flex;flex-direction:column;width:100%}.im-scroll{flex:1 1 0%;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:none;overscroll-behavior-x:none;touch-action:pan-y;scrollbar-width:none}.im-scroll::-webkit-scrollbar,.im-thread::-webkit-scrollbar,.cs-thread::-webkit-scrollbar{width:0;height:0;display:none}.im-thread{scrollbar-width:none}.im-scroll>.im-top{position:sticky;top:0;z-index:20}.im-top{flex-shrink:0;height:calc(52px + var(--safe-top));display:flex;align-items:center;justify-content:space-between;padding:var(--safe-top) 8px 0 16px;background:#ededed;position:relative;z-index:20}.im-top h1{font-size:17px;font-weight:600;flex:1;text-align:center}.im-top .im-title-left{font-size:18px;font-weight:700;flex:1;text-align:left}.im-icon{width:40px;height:40px;border:0;background:transparent;color:#111;display:grid;place-items:center;border-radius:8px}.im-search-wrap{padding:8px 12px 10px;background:#ededed;flex-shrink:0}.im-search{height:36px;border-radius:6px;background:#fff;display:flex;align-items:center;gap:6px;padding:0 10px;color:#b2b2b2;font-size:14px;border:0;width:100%}.im-search input{border:0;outline:0;background:transparent;flex:1;min-width:0;height:36px;font-size:14px;color:#111}.im-tabbar{flex-shrink:0;height:calc(50px + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:#f7f7f7;border-top:1px solid #e5e5e5;display:flex;z-index:30;margin:0}.im-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#7f7f7f;font-size:10px;background:transparent;border:0;position:relative}.im-tab.active{color:var(--brand)}.im-tab .dot{position:absolute;top:4px;right:calc(50% - 18px);min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#fa5151;color:#fff;font-size:10px;display:grid;place-items:center;line-height:1}.im-tab .dot.mini{min-width:8px;width:8px;height:8px;padding:0;top:6px;right:calc(50% - 12px)}.im-row{width:100%;display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border:0;text-align:left;color:inherit}.im-row+.im-row{border-top:1px solid #f3f3f3}.im-avatar{width:48px;height:48px;border-radius:6px;object-fit:cover;background:#ddd;flex-shrink:0}.im-avatar.sm{width:40px;height:40px}.im-avatar.md{width:56px;height:56px;border-radius:8px}.im-avatar.lg{width:64px;height:64px;border-radius:8px}.im-row .main{flex:1;min-width:0}.im-row .name{font-size:16px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.im-row .sub{font-size:13px;color:#888;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.im-row .meta{font-size:12px;color:#b2b2b2;flex-shrink:0;align-self:flex-start;padding-top:2px}.im-badge{min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#fa5151;color:#fff;font-size:11px;display:grid;place-items:center;margin-top:6px;margin-left:auto}.im-section{margin-top:8px;background:#fff}.im-cell{width:100%;display:flex;align-items:center;gap:12px;padding:13px 16px;background:#fff;border:0;text-align:left;font-size:16px}.im-cell+.im-cell{border-top:1px solid #f2f2f2}.im-cell .ic{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:#fff;flex-shrink:0}.im-cell .grow{flex:1}.im-cell .val{color:#888;font-size:14px}.im-index{padding:6px 16px;font-size:13px;color:#888;background:#ededed}.im-empty{padding:80px 24px;text-align:center;color:#888;font-size:14px}.im-empty button{margin-top:16px}.im-guest{padding:72px 32px 40px;display:flex;flex-direction:column;align-items:center;gap:12px}.im-guest-title{color:#888;font-size:15px;margin-bottom:8px;text-align:center}.im-login-btn{width:min(280px,100%);height:48px;border:0;border-radius:8px;background:var(--brand);color:#fff;font-size:16px;font-weight:600;letter-spacing:2px;box-shadow:0 6px 16px #18b96e47}.im-login-btn.ghost{background:#fff;color:#191919;border:1px solid #e5e5e5;box-shadow:none;letter-spacing:2px}.bal-card{margin:12px 12px 0;padding:20px 18px 22px;border-radius:12px 12px 0 0;background:linear-gradient(135deg,#1fc77a,#18b96e 55%,#12965a);color:#fff;position:relative;overflow:hidden}.bal-card:after{content:"";position:absolute;right:-20px;top:10px;width:120px;height:120px;border:18px solid rgba(255,255,255,.12);transform:rotate(45deg);border-radius:12px;pointer-events:none}.bal-card .lab{font-size:13px;opacity:.92}.bal-amt{margin-top:10px;font-size:34px;font-weight:700;letter-spacing:.5px;display:flex;align-items:center;gap:10px}.bal-amt button{background:none;border:0;color:#fff;display:grid;place-items:center}.bal-ops{margin:0 12px 12px;background:#fff;border-radius:0 0 12px 12px;display:flex;padding:16px 8px 14px}.bal-ops button{flex:1;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;color:#333}.bal-ops .ico{width:40px;height:40px;border-radius:10px;background:#18b96e;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:700}.im-plus{position:absolute;right:10px;top:48px;width:148px;background:#4c4c4c;color:#fff;border-radius:6px;padding:6px 0;z-index:50;box-shadow:0 8px 24px #0000002e}.im-plus:before{content:"";position:absolute;right:12px;top:-6px;border:6px solid transparent;border-bottom-color:#4c4c4c;border-top:0}.im-plus button{width:100%;display:flex;align-items:center;gap:10px;padding:11px 16px;color:#fff;background:none;border:0;font-size:15px}.im-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.im-chat{height:100%;display:flex;flex-direction:column;background:#f5f5f5;min-height:0}.im-chat>.im-top{flex-shrink:0}.im-thread{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 12px 8px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:none;touch-action:pan-y}.im-bubble-row{display:flex;gap:8px;align-items:flex-end;max-width:86%}.im-bubble-row.me{margin-left:auto;flex-direction:row-reverse}.im-bubble{padding:9px 12px;border-radius:6px;font-size:16px;line-height:1.45;word-break:break-word;position:relative}.im-bubble.peer{background:#fff}.im-bubble.me{background:#95ec69}.im-voice-bar{display:flex;align-items:center;gap:8px;min-width:80px}.im-composer{flex-shrink:0;background:#f7f7f7;border-top:1px solid #e5e5e5;padding:8px 16px 8px 4px;padding-bottom:calc(8px + var(--safe-bottom))}.im-composer-row{display:flex;align-items:flex-end;gap:2px}.im-input{flex:1 1 auto;min-width:0;min-height:36px;max-height:96px;border-radius:6px;border:1px solid transparent;background:#fff;padding:8px 10px;font-size:16px;resize:none}.im-input:focus{border-color:var(--brand);outline:0}.im-send{width:44px;height:44px;min-width:44px;flex-shrink:0;margin:0 4px 0 0;border:0;background:transparent;color:var(--brand);display:grid;place-items:center;border-radius:8px;touch-action:manipulation}.im-hold{flex:1;height:36px;border-radius:6px;background:#fff;border:0;font-size:15px;font-weight:500}.im-hold.rec{background:#ddd}.im-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:14px 10px 6px}.im-panel button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:#555;background:none;border:0}.im-panel .box{width:56px;height:56px;border-radius:10px;background:#fff;display:grid;place-items:center;color:#333}.im-profile{padding:24px 16px 16px;background:#fff;text-align:center}.im-actions{padding:20px 16px;display:flex;flex-direction:column;gap:10px}.btn-im{height:44px;border-radius:6px;border:0;background:var(--brand);color:#fff;font-size:16px;font-weight:600}.btn-im.ghost{background:#fff;color:#1a1a1a;border:1px solid #e5e5e5}.btn-im.danger{background:#fff;color:#fa5151}.im-switch{width:48px;height:28px;border-radius:99px;background:#e5e5e5;position:relative;border:0}.im-switch.on{background:var(--brand)}.im-switch i{position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;background:#fff;transition:left .15s}.im-switch.on i{left:22px}.im-dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:80;display:grid;place-items:center;padding:24px}.im-dialog .box{width:min(300px,100%);background:#fff;border-radius:12px;overflow:hidden;text-align:center}.im-dialog h3{padding:22px 18px 8px;font-size:17px}.im-dialog p{padding:0 18px 18px;font-size:14px;color:#666;white-space:pre-wrap}.im-dialog .ops{display:flex;border-top:1px solid #eee}.im-dialog .ops button{flex:1;height:46px;background:none;border:0;font-size:16px}.im-dialog .ops button.ok{color:var(--brand);font-weight:600;border-left:1px solid #eee}.im-me-hero{background:#fff;padding:20px 16px 18px;display:flex;gap:14px;align-items:center}.me-banner{background:#18b96e;color:#fff;padding:calc(10px + var(--safe-top)) 16px 18px;position:relative;flex-shrink:0}.me-qr{position:absolute;top:calc(var(--safe-top) + 8px);right:max(12px,env(safe-area-inset-right,0px));width:40px;height:40px;border:0;background:transparent;color:#fff;display:grid;place-items:center;z-index:6}.me-banner-main{display:flex;align-items:center;gap:14px;background:none;border:0;color:#fff;text-align:left;width:100%;padding-right:36px}.me-banner-main img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#eee}.me-name{font-size:20px;font-weight:700;display:flex;align-items:center;gap:8px}.me-name svg{flex-shrink:0;opacity:.95}.me-id{font-size:13px;margin-top:6px;opacity:.92}.splash-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#edf7f1}.splash-screen img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.im-qr-page{background:var(--brand);min-height:100%;padding:24px 20px 40px}.im-qr-card{background:#fff;border-radius:12px;padding:24px 16px;text-align:center}.moment-cover{height:240px;background:#2a2a2a center/cover no-repeat;position:relative}.moment-me{position:absolute;right:16px;bottom:20px;display:flex;align-items:center;gap:10px;color:#fff;z-index:2}.moment-me b{font-size:17px;font-weight:600;line-height:1.3;text-shadow:0 1px 3px rgba(0,0,0,.75),0 0 8px rgba(0,0,0,.4);max-width:180px;white-space:nowrap}.moment-me img{width:64px;height:64px;border-radius:6px;border:2px solid #fff;margin-bottom:-36px}.moment-item{background:#fff;padding:14px 16px;display:flex;gap:10px;border-bottom:1px solid #f2f2f2}.moment-grid{display:grid;gap:4px;margin-top:8px}.moment-grid.n1{grid-template-columns:1fr;max-width:180px}.moment-grid.n2,.moment-grid.n4{grid-template-columns:1fr 1fr;max-width:170px}.moment-grid.n3,.moment-grid.n5,.moment-grid.n6,.moment-grid.n7,.moment-grid.n8,.moment-grid.n9{grid-template-columns:repeat(3,1fr);max-width:220px}.moment-grid img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.call-dark{background:#1c1c1e;color:#fff;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:80px 24px calc(40px + var(--safe-bottom))}.call-dark img{width:96px;height:96px;border-radius:50%;object-fit:cover}.call-btns{display:flex;gap:28px;align-items:flex-end}.call-btn{display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff;background:none;border:0;font-size:12px}.call-btn span{width:56px;height:56px;border-radius:50%;background:#ffffff24;display:grid;place-items:center}.call-btn.end span{background:#ea4e3d}.pkg-hero{margin:12px;padding:18px;border-radius:12px;background:#2b2b2b;color:#f3d19e}.pkg-card{background:#fff;margin:10px 12px;padding:16px;border-radius:10px}.pkg-card.active{outline:2px solid var(--brand)}.order-tabs{display:flex;background:#fff}.order-tabs button{flex:1;height:42px;background:none;border:0;color:#888}.order-tabs button.on{color:var(--brand);border-bottom:2px solid var(--brand)}.toast{background:#000000c7}.btn-primary,.btn.btn-primary{background:var(--brand)}.btn-primary:hover{background:var(--brand-hover)}.app-shell,.im-legacy .page-title-block{display:none}.im-legacy .grid-cards{display:flex;flex-direction:column;gap:0;padding:0 0 16px}.im-legacy .card{margin:10px 12px;border-radius:10px;box-shadow:0 1px 2px #0000000a;border:1px solid #eee}.im-legacy .form-card,.im-legacy form{padding:0 12px 16px}.bank-info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:10px}.bank-info-row:first-child{margin-top:0}.bank-info-main{flex:1;min-width:0;font-size:15px;line-height:1.5}.bank-info-val{margin-left:2px;font-weight:700;color:#111;word-break:break-all;text-align:left;background:none;border:0;padding:0;cursor:pointer}.usdt-addr-row{display:flex;align-items:flex-start;gap:10px;margin-top:8px}.usdt-addr-text{flex:1;min-width:0;word-break:break-all;font-size:15px;font-weight:700;color:#111;line-height:1.5;text-align:left;background:none;border:0;padding:0;cursor:pointer}.usdt-addr-copy{flex-shrink:0;display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border-radius:6px;border:1px solid #e5e5e5;background:#fff;color:#333;font-size:13px;font-weight:600;white-space:nowrap}.wallet-address{display:flex;align-items:flex-start;gap:10px;margin-top:8px}.im-app .cs-page{background:#ededed}.im-body>.cs-page,.im-body>.im-chat,.im-body>.call-page,.im-body>.call-dark,.im-body>.im-qr-page{flex:1 1 0%;min-height:0;display:flex;flex-direction:column}.im-body>.im-scroll{flex:1 1 0%;min-height:0;overflow-x:hidden;overflow-y:auto}.im-app .cs-page .cs-fixed-bottom{padding-bottom:max(6px,var(--safe-bottom))}.im-app .cs-page .bubble.me{background:#95ec69;color:#111}.im-app .cs-agent-avatar-wrap,.im-app .cs-row .av{background:#e8f8ef!important;color:#18b96e!important}.auth-page{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;margin:0;height:100%;height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;overscroll-behavior-x:none;touch-action:pan-y;background:#ededed;display:flex;flex-direction:column;justify-content:flex-start;padding:calc(12px + var(--safe-top)) 20px calc(12px + var(--safe-bottom));box-sizing:border-box;z-index:30}.auth-page .brand-mark{width:44px;height:44px;background:transparent;box-shadow:none}.auth-page .auth-switch{margin-top:12px;margin-bottom:8px}.auth-page .auth-back{display:block;text-align:center;margin-top:4px;padding-bottom:0}.auth-error{color:#fa5151;font-size:13px;line-height:1.4;margin:0 0 12px}.auth-page .auth-legal{margin-top:10px;text-align:center;font-size:12px;color:#888}.auth-page .auth-legal a{color:var(--brand)}.legal-page{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;margin:0;background:#ededed;display:flex;flex-direction:column;z-index:30;overflow:hidden}.legal-body{flex:1;overflow:auto;padding:8px 18px 32px;font-size:14px;line-height:1.75;color:#333}.legal-body h2{font-size:16px;margin:18px 0 8px}.legal-body h3{font-size:15px;margin:12px 0 6px}.legal-body p,.legal-body li{margin-bottom:8px}.legal-body a{color:#18b96e}.legal-field{display:block;margin-bottom:12px;font-size:13px;color:#666}.legal-field .im-input,.legal-field input.im-input{width:100%;margin-top:6px;background:#fff}.im-report-box{width:min(340px,100%)!important;text-align:left}.im-report-box h3,.im-report-box p{text-align:center}.im-report-reasons{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 8px}.im-report-reasons button{border:1px solid #e5e5e5;background:#f7f7f7;border-radius:99px;padding:6px 10px;font-size:13px}.im-report-reasons button.on{background:#e8f8ef;border-color:#18b96e;color:#12965a}.im-bubble-row.hit .im-bubble{outline:2px solid #18b96e}html.theme-dark{--brand: #18b96e;--brand-soft: #e8f8ef}@media(min-width:860px){body{background:#cfcfcf}.im-app{width:min(100%,430px);left:50%;right:auto;transform:translate(-50%);border-radius:0;box-shadow:0 0 0 1px #ddd}}
