:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}body{margin:0;font-family:HarmonyOS Sans SC,PingFang SC,Noto Sans SC,Segoe UI,sans-serif;background:radial-gradient(circle at top,#06121d 0,#050a12 42%,#03060c);color:#f5fbff;overflow:hidden}body.settings-open .amap-logo,body.settings-open .amap-copyright{opacity:0!important;pointer-events:none!important}#root{height:100vh;width:100vw}body.is-capacitor-app{overflow:auto}body.is-capacitor-app #root{height:100vh;min-height:100vh;overflow:hidden}body.is-capacitor-app .app-root{height:100vh;overflow:hidden}body.is-capacitor-app .app-footer-beian{padding-bottom:max(8px,env(safe-area-inset-bottom))}body.is-capacitor-app .app-main,body.is-capacitor-app .map-panel{min-height:0;flex:1}.app-root{height:100%;display:flex;flex-direction:column;position:relative}.app-footer-beian{flex:0 0 auto;display:flex;justify-content:center;align-items:center;gap:10px;min-height:30px;padding:6px 14px 8px;border-top:1px solid rgba(148,163,184,.16);background:#02061785;color:#cbd5e1b8;font-size:12px;line-height:1.4;position:relative;z-index:2}.app-footer-beian a{color:inherit;text-decoration:none}.app-footer-beian a:hover{color:#e0f2fe;text-decoration:underline}.app-root.app-theme-light .app-footer-beian{background:#ffffffe6;border-top-color:#94a3b847;color:#475569d1}.app-root.app-theme-light .app-footer-beian a:hover{color:#0f172a}.app-root.app-theme-custom .app-footer-beian{background:#0f172a2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-root.hm31-lite{--hm31-title-size: 20px;--hm31-btn-height: 38px;--hm31-card-radius: 20px;--hm31-blur: 14px}.app-root.hm31-solid{--hm31-title-size: 19px;--hm31-btn-height: 40px;--hm31-card-radius: 18px;--hm31-blur: 11px}.app-root:before{content:"";position:fixed;inset:-20%;background:radial-gradient(circle at 10% 0%,rgba(59,130,246,.55),transparent 55%),radial-gradient(circle at 90% 0%,rgba(239,68,68,.45),transparent 55%),radial-gradient(circle at 50% 100%,rgba(14,165,233,.45),transparent 60%);opacity:1;filter:blur(26px);pointer-events:none;z-index:-1;animation:aurora-shift 18s ease-in-out infinite alternate}.app-root.app-theme-light:before{opacity:0}.app-root.app-theme-light{background:#f8fafc;color:#0f172a}.app-root.app-theme-light .app-header{background:#fffffff2;border-bottom-color:#94a3b866;box-shadow:0 4px 20px #0000000f}.app-root.app-theme-light .user-name,.app-root.app-theme-light .brand-name{color:#0f172a}.app-root.app-theme-light .outline-button{background:#f8fafce6;color:#334155;border-color:#94a3b899}.app-root.app-theme-light .outline-button:hover{background:#e2e8f0f2;border-color:#64748bcc;color:#0f172a}.app-root.app-theme-light .left-panel{background:linear-gradient(180deg,#e2e8f0,#f1f5f9);border-right-color:#94a3b866}.app-root.app-theme-light .map-panel{background:#f1f5f9;border-left-color:#94a3b84d}.app-root.app-theme-light .view-tab{color:#475569}.app-root.app-theme-light .view-tab.active{color:#0f172a;border-color:#0f172a66}.app-root.app-theme-light .map-legend-text,.app-root.app-theme-light .map-legend-empty{color:#334155}.app-root.app-theme-light .share-wrap,.app-root.app-theme-light .contacts-wrap,.app-root.app-theme-light .chat-wrap{background:#fff9}.app-root.app-theme-light .modal-content,.app-root.app-theme-light .modal-title{background:#fff;color:#0f172a;border-color:#94a3b866}.app-root.app-theme-light .settings-section-desc,.app-root.app-theme-light .settings-section-title,.app-root.app-theme-light .form-field span,.app-root.app-theme-light .safety-reminder-text,.app-root.app-theme-light .safety-summary-hint{color:#475569}.app-root.app-theme-light .toast-item{background:#fffffffa;border-color:#94a3b880}.app-root.app-theme-light .toast-text{color:#0f172a}.app-root.app-theme-custom:before{display:none}.app-root.app-theme-custom:after{content:"";position:fixed;inset:0;background:#0f172a0f;pointer-events:none;z-index:0}.app-root.app-theme-custom .app-header,.app-root.app-theme-custom .map-panel,.app-root.app-theme-custom .left-panel,.app-root.app-theme-custom main{position:relative;z-index:1}.app-root.app-theme-custom .map-panel{background:transparent;border-left-color:#94a3b840}.app-root.app-theme-custom .map-root:before{display:none!important}.app-root.app-theme-custom .map-root{isolation:isolate;z-index:1}.app-root.app-theme-custom{min-height:100vh}.app-theme-options{display:flex;flex-wrap:wrap;gap:10px}.app-theme-option{display:inline-flex;align-items:center;padding:8px 14px;border-radius:10px;border:1px solid rgba(148,163,184,.5);background:#0f172a66;cursor:pointer;transition:border-color .2s,background .2s}.app-theme-option.active{border-color:#60a5fae6;background:#1e40af59}.app-theme-option input{margin-right:6px}.app-theme-label{font-size:14px}.form-hint{display:block;font-size:12px;color:#94a3b8;margin-top:4px}.safety-native-card{margin:14px 0 18px;padding:14px;border-radius:14px;border:1px solid rgba(96,165,250,.22);background:linear-gradient(180deg,#0f172ad1,#0f172aad)}.safety-native-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:14px;border-radius:14px;background:linear-gradient(135deg,#1e40af42,#082f4961);border:1px solid rgba(96,165,250,.24)}.safety-native-hero-title{font-size:15px;font-weight:700;color:#f8fafc}.safety-native-hero-desc{margin-top:6px;font-size:12px;line-height:1.6;color:#cbd5e1;max-width:520px}.safety-native-primary-btn{flex-shrink:0}.safety-native-status-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.safety-native-status-list.compact{margin-top:14px}.safety-native-checklist{display:grid;gap:10px;margin-top:14px}.safety-native-check-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:12px;border:1px solid rgba(148,163,184,.18);background:#0f172a85}.safety-native-check-item.done{border-color:#22c55e47;background:#15803d29}.safety-native-check-item.pending{border-color:#f59e0b3d;background:#78350f29}.safety-native-check-main{display:flex;align-items:center;gap:12px;min-width:0}.safety-native-check-badge{display:inline-flex;align-items:center;justify-content:center;min-width:56px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.safety-native-check-badge.done{background:#22c55e2e;color:#bbf7d0}.safety-native-check-badge.pending{background:#f59e0b2e;color:#fde68a}.safety-native-check-texts{min-width:0}.safety-native-check-label{font-size:14px;font-weight:600;color:#f8fafc}.safety-native-check-desc{margin-top:4px;font-size:12px;color:#cbd5e1}.safety-native-inline-action{flex-shrink:0}.safety-native-status-row{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:10px;background:#1e293bad;color:#cbd5e1;font-size:13px}.safety-native-status-row strong{color:#f8fafc;font-weight:600;text-align:right}.safety-native-actions{margin-top:12px;flex-wrap:wrap}.safety-native-watchers{margin-top:12px}.safety-native-watchers-title,.safety-native-diagnostics-title{font-size:12px;color:#93c5fd;margin-bottom:8px}.safety-native-watchers-list{display:flex;flex-wrap:wrap;gap:8px}.safety-native-watcher-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#2563eb29;border:1px solid rgba(96,165,250,.28);color:#dbeafe;font-size:12px}.safety-native-diagnostics{margin-top:12px;padding:10px 12px;border-radius:12px;background:#0f172a8a;border:1px solid rgba(148,163,184,.18);color:#cbd5e1;font-size:12px;line-height:1.6}.safety-native-tip-list{margin:0;padding-left:18px}.safety-native-tip-list li+li{margin-top:6px}.safety-native-diagnostics.error{border-color:#f8717157;background:#7f1d1d2e;color:#fecaca}.app-header{padding:12px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(173,235,255,.34);background:linear-gradient(140deg,#6de3ff2e,#7effd41a),#07182694;box-shadow:0 18px 40px #04121e80;backdrop-filter:blur(22px) saturate(140%);-webkit-backdrop-filter:blur(22px) saturate(140%)}.brand{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:650;color:#edfbff}.brand-logo{height:40px;width:auto;display:block;filter:drop-shadow(0 0 18px rgba(96,165,250,.9))}.brand-name{letter-spacing:.08em}.user-info{display:inline-flex;align-items:center;gap:8px;font-size:13px}.header-avatar{width:24px;height:24px;border-radius:999px;overflow:hidden;background:#19556a9e;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(198,247,255,.64);box-shadow:0 0 0 2px #60dbf629;font-size:12px}.header-avatar img{width:100%;height:100%;object-fit:cover}.header-settings-btn{display:inline-flex;align-items:center;gap:6px}.header-settings-btn .view-tab-icon{width:15px;height:15px}.header-settings-btn .view-tab-icon svg{width:15px;height:15px}.outline-button{border-radius:999px;border:1px solid rgba(190,242,255,.72);padding:4px 10px;font-size:12px;background:#69bcd633;color:#f2ffff;cursor:pointer;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}.outline-button:hover{border-color:#cbffedfa;background:#58c5e06b;box-shadow:0 10px 24px #4ec7e061;transform:translateY(-1px)}.app-main{flex:1;display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);min-height:0}.app-main-authenticated{grid-template-columns:minmax(0,1fr)}.app-main-authenticated .map-panel{border-left:none}@media(max-width:900px){.app-main{grid-template-columns:1fr}.app-main:not(.app-main-authenticated) .map-panel{display:none}.app-header{padding:calc(9px + var(--safe-top, 0px)) 14px 9px 14px;min-height:46px;backdrop-filter:blur(calc(var(--hm31-blur, 14px) + 2px)) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%)}.brand{font-size:16px;gap:8px}.left-panel{border-right:none;padding:12px 10px 14px}.login-shell{max-width:100%;border-radius:var(--hm31-card-radius, 20px);padding:18px 16px 16px;backdrop-filter:blur(var(--hm31-blur, 14px)) saturate(125%);-webkit-backdrop-filter:blur(var(--hm31-blur, 14px)) saturate(125%)}.login-title-block{margin-top:14px;margin-bottom:12px;gap:5px}.login-title{font-size:var(--hm31-title-size, 20px)}.login-subtitle{font-size:11px;line-height:1.65}.auth-toggle{margin-bottom:8px}.auth-tab{min-height:var(--hm31-btn-height, 38px);padding:0 12px;font-size:12px}.auth-method-toggle{gap:8px;margin-bottom:8px}.auth-method-tab{min-height:calc(var(--hm31-btn-height, 38px) - 4px);padding:0 12px;font-size:12px}.form-field{gap:5px;font-size:12px}.form-field input,.form-field select{min-height:var(--hm31-btn-height, 38px);padding:8px 10px;border-radius:12px;font-size:14px}.form-code-row{gap:6px}.outline-button,.primary-button,.login-submit,.code-btn{min-height:var(--hm31-btn-height, 38px);padding:0 14px;font-size:13px}.login-submit{margin-top:8px}.login-water-rays{opacity:.88}}.left-panel{position:relative;padding:24px 22px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 4% 0%,rgba(94,220,255,.18),transparent 52%),radial-gradient(circle at 110% 10%,rgba(108,255,203,.16),transparent 48%),linear-gradient(180deg,#081827,#061420 56%,#04101a);border-right:1px solid rgba(172,228,255,.3);overflow:hidden}.login-aurora-bg{position:absolute;inset:-30%;background:radial-gradient(circle at 2% 0%,rgba(83,214,252,.36),transparent 58%),radial-gradient(circle at 115% 8%,rgba(102,255,214,.28),transparent 56%),radial-gradient(circle at 12% 100%,rgba(117,201,255,.24),transparent 64%);opacity:.86;filter:blur(34px);pointer-events:none;animation:login-aurora-move 30s ease-in-out infinite alternate}.login-water-rays{position:absolute;top:0;left:0;right:0;height:82%;pointer-events:none;z-index:1;overflow:hidden;perspective:120px}.login-water-rays:before{content:"";position:absolute;top:0;left:0;right:0;height:32%;background:radial-gradient(ellipse 120% 80% at 50% 0%,rgba(238,255,253,.28) 0%,rgba(195,244,255,.18) 26%,rgba(137,222,255,.1) 54%,transparent 78%);opacity:.82}.login-ray{position:absolute;top:-15%;left:50%;width:2.8%;min-width:10px;height:126%;transform-origin:50% 0%;background:linear-gradient(180deg,rgba(244,255,248,.36) 0%,rgba(214,251,244,.22) 14%,rgba(156,229,250,.12) 38%,rgba(109,209,242,.06) 58%,transparent 86%);animation:login-ray-drift 10s ease-in-out infinite}.login-ray-1{transform:translate(-50%) rotate(-24deg);animation-delay:0s}.login-ray-2{transform:translate(-50%) rotate(-14deg);animation-delay:.3s}.login-ray-3{transform:translate(-50%) rotate(-4deg);animation-delay:.6s}.login-ray-4{transform:translate(-50%) rotate(6deg);animation-delay:.9s}.login-ray-5{transform:translate(-50%) rotate(16deg);animation-delay:.2s}.login-ray-6{transform:translate(-50%) rotate(26deg);animation-delay:.5s}.login-ray-7{transform:translate(-50%) rotate(-34deg);animation-delay:.7s}.login-ray-8{transform:translate(-50%) rotate(34deg);animation-delay:.4s}.login-ray-9{transform:translate(-50%) rotate(-8deg);animation-delay:.1s}@keyframes login-ray-drift{0%,to{opacity:.68}50%{opacity:.92}}.login-shell{position:relative;width:100%;max-width:380px;padding:22px 22px 20px;border-radius:24px;background:linear-gradient(155deg,#b7f4ff38,#b2ffe21a),#081c297a;border:1px solid rgba(197,245,255,.48);box-shadow:0 24px 60px #00132180,inset 0 1px #eeffff57;backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);animation:login-card-float 5.6s ease-in-out infinite}.login-title-block{margin-top:20px;margin-bottom:14px;display:flex;flex-direction:column;gap:6px}.login-title{margin:0;font-size:22px;font-weight:700;letter-spacing:.02em;color:#eaffff;text-shadow:0 0 20px rgba(115,226,248,.34)}.login-subtitle{margin:0;font-size:12px;line-height:1.72;color:#cff1f8e0}.login-method-hint{margin:4px 0 10px;font-size:11px;color:#b1deebcc;line-height:1.6}.login-toggle{margin-top:10px;margin-bottom:12px}.auth-method-toggle{display:flex;gap:6px;margin-bottom:10px}.auth-method-tab{padding:5px 12px;border-radius:10px;border:1px solid rgba(185,240,255,.44);background:#79cce81a;color:#c7eef8;font-size:12px;cursor:pointer;transition:all .2s ease}.auth-method-tab.active{border-color:#baffe6e0;background:linear-gradient(135deg,#3dc6e86b,#66ecbd5c);color:#f4feff;box-shadow:0 8px 20px #42c3df4d}.form-code-row{display:flex;gap:12px;align-items:flex-end}.form-code-field{flex:1;min-width:0}.form-code-field input{width:100%;height:37px;box-sizing:border-box}.code-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;height:32px;line-height:1;box-sizing:border-box;margin-top:0;padding:0 18px;align-self:flex-end}.login-form{margin-top:6px}.login-form .form-field{width:100%}.login-form .form-field span{font-size:12px;color:#cbd5f5}.login-extra{margin-top:4px;padding-top:4px;border-top:1px dashed rgba(148,163,184,.4)}.login-submit{margin-top:10px;width:100%;background:linear-gradient(135deg,#58d7ff,#5fe9cd,#9cf9ff);color:#06354a;box-shadow:0 12px 30px #4bd9f566,0 0 20px #75f2d76b}.login-submit:hover{transform:translateY(-1px);filter:brightness(1.05)}.login-error{margin-top:4px}.auth-qr-block{padding:20px 0;display:flex;flex-direction:column;align-items:center;gap:16px}.auth-qr-wrap{padding:16px;background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000004d;width:200px;height:200px;display:flex;align-items:center;justify-content:center}.auth-qr-wrap canvas{display:block}.auth-qr-hint{font-size:13px;color:#94a3b8;margin:0}.auth-qr-expired{font-size:14px;color:#f87171;margin:0}.auth-qr-loading{font-size:13px;color:#94a3b8;margin:0}.login-confirm-overlay{position:fixed;inset:0;z-index:9999;background:#000000b3;display:flex;align-items:center;justify-content:center;padding:20px}.login-confirm-card{background:linear-gradient(145deg,#1e293b,#0f172a);border:1px solid rgba(148,163,184,.3);border-radius:16px;padding:28px;max-width:360px;width:100%;text-align:center}.login-confirm-card h3{margin:0 0 12px;font-size:18px;color:#f1f5f9}.login-confirm-card p{margin:0 0 20px;font-size:14px;color:#94a3b8}.login-confirm-card .primary-button,.login-confirm-card .outline-button{margin:4px 6px}.login-scan-banner{margin-bottom:12px;padding:10px 14px;background:#3b82f633;border:1px solid rgba(96,165,250,.5);border-radius:10px;font-size:13px;color:#93c5fd}.login-tip{margin-top:8px;font-size:11px;color:#94a3b8;line-height:1.6}.auth-toggle{display:inline-flex;padding:2px;border-radius:999px;border:1px solid rgba(148,163,184,.5);margin-bottom:10px}.auth-tab{padding:6px 14px;border-radius:999px;border:none;background:transparent;color:#b4dbe8;font-size:13px;cursor:pointer;transition:all .2s ease}.auth-tab.active{background:linear-gradient(135deg,#45c7e8eb,#7ff4d4e6);color:#043041;box-shadow:0 8px 18px #49cbe75c}.auth-form{display:flex;flex-direction:column;gap:8px}.form-field{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:13px}.form-field input,.form-field select{width:100%;border-radius:14px;border:1px solid rgba(194,243,255,.62);padding:8px 11px;font-size:13px;background:#061d2aad;color:#f0fdff;box-shadow:inset 0 1px #ecffff2e}.settings-modal .form-field input[type=file]{width:auto;max-width:100%;box-sizing:border-box}.form-field input:focus,.form-field select:focus,.chat-input:focus{border-color:#60a5fae6;box-shadow:0 0 0 1px #38bdf899}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sms-row{display:flex;gap:10px}.sms-row input{flex:1}.sms-row .outline-button{flex-shrink:0}.login-actions{display:flex;flex-direction:column;gap:10px;margin-top:6px}.login-link-button{align-self:flex-end;padding:0;border:none;background:transparent;color:#9ed7ff;font-size:13px;cursor:pointer}.login-link-button:hover{color:#d7f4ff;text-decoration:underline}.login-link-button:disabled{opacity:.5;cursor:default}.primary-button{margin-top:0;border-radius:999px;border:none;padding:7px 16px;font-size:14px;background:linear-gradient(135deg,#4f46e5,#22c1c3);color:#f9fafb;cursor:pointer;box-shadow:0 14px 36px #3b82f68c;transition:transform .16s ease-out,box-shadow .16s ease-out,filter .16s ease-out}.primary-button:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 18px 46px #3b82f6bf}.error-text{margin-top:2px;font-size:12px;color:#fecaca}.tip-text{margin:4px 0 0;font-size:12px;color:#9ca3af}@keyframes login-card-float{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes login-aurora-move{0%{transform:translateZ(0) scale(1.02)}50%{transform:translate3d(-3%,2%,0) scale(1.05)}to{transform:translate3d(2%,-2%,0) scale(1.08)}}.panel-footer{margin-top:8px;font-size:13px;color:#cbd5f5}.privacy-card,.settings-hint-card{margin-top:10px;padding:14px 16px 16px;border-radius:16px;background:radial-gradient(circle at top,#0f172af2,#0f172ae6);border:1px solid rgba(148,163,184,.4);display:flex;flex-direction:column;gap:10px}.privacy-title{font-weight:600;font-size:14px;color:#e5e7eb}.privacy-toggle{display:flex;gap:10px;align-items:center;font-size:13px;color:#e5e7eb}.privacy-tip{margin:0;color:#94a3b8;font-size:12px;line-height:1.6}.popup-signature{margin-top:6px;font-size:12px;color:#64748b}.settings-modal{max-width:560px;width:94%;max-height:88vh;overflow-y:auto;background:radial-gradient(circle at top left,#0f172afa,#0f172af0)}.settings-tabs{display:flex;justify-content:center;gap:6px;padding:4px 6px;margin:4px auto 16px;border-radius:999px;background:radial-gradient(circle at top left,#0f172af5,#0f172ae6)}.settings-tab{padding:6px 14px;border-radius:999px;border:none;background:transparent;color:#94a3b8;cursor:pointer;font-size:13px;transition:background .16s ease-out,border-color .16s ease-out,color .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.settings-tab.active{border-color:#60a5fab3;background:linear-gradient(135deg,#3b82f68c,#2dd4bf8c);color:#e5e7eb;box-shadow:0 10px 22px #0f172af2;transform:translateY(-1px)}.settings-panel{display:flex;flex-direction:column;gap:18px;max-width:720px;margin:0 auto 12px}.settings-account{padding:12px 14px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.35);background:radial-gradient(circle at top left,#0f172afa,#0f172ae6);display:flex;flex-direction:column;gap:6px;font-size:12px;color:#cbd5f5}.settings-section-title{font-size:14px;font-weight:600;color:#e5e7eb;margin-bottom:4px}.settings-section-desc{margin:0 0 8px;font-size:12px;color:#94a3b8}.settings-account-row{display:flex;justify-content:space-between;gap:10px;font-size:12px}.settings-account-label{opacity:.8}.settings-account-value{font-weight:500}.settings-account-input{flex:1;border-radius:8px;border:1px solid rgba(148,163,184,.7);padding:4px 8px;font-size:12px;background:#0f172af2;color:#e5e7eb}.profile-qr-section{padding:12px 0;border-top:1px solid rgba(148,163,184,.3);display:flex;flex-direction:column;gap:6px}.profile-qr-label{font-size:14px;font-weight:600;color:#e5e7eb}.profile-qr-hint{margin:0;font-size:12px;color:#94a3b8}.profile-qr-wrap{display:inline-flex;padding:12px;background:#fff;border-radius:12px;align-self:flex-start}.contact-qr-wrap{margin:8px 0}.add-friend-qr-row{margin-bottom:10px}.scan-modal-content{max-width:320px}.scan-hint{margin:0 0 10px;font-size:13px;color:#94a3b8}.scan-region{min-height:220px;margin-bottom:12px;border-radius:12px;overflow:hidden;background:#1e293b}.scan-region video{width:100%;max-width:280px;display:block;margin:0 auto}.add-by-qr-preview{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:10px 0}.add-by-qr-preview img,.add-by-qr-preview span{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#94a3b84d;display:flex;align-items:center;justify-content:center;font-size:20px;color:#e5e7eb}.add-by-qr-name{font-size:16px;font-weight:600;color:#e5e7eb}.add-by-qr-ask{margin:0 0 12px;font-size:13px;color:#94a3b8}.contact-qr-btn{flex-shrink:0;width:32px;height:32px;padding:0;border-radius:8px;border:1px solid rgba(148,163,184,.5);background:#1e293bcc;color:#94a3b8;font-size:11px;font-weight:600;cursor:pointer;align-self:center}.contact-qr-btn:hover{border-color:#60a5fa99;color:#e5e7eb}.settings-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.settings-check{display:flex;align-items:center;gap:10px;color:#e5e7eb;font-size:13px}.graph-bg-presets{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}.graph-bg-option{position:relative;display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.5);background:#0f172a99;cursor:pointer;font-size:13px;color:#e5e7eb}.graph-bg-option input[type=radio]{position:absolute;opacity:0;pointer-events:none}.graph-bg-option:hover{border-color:#60a5fa99}.graph-bg-option.active{border-color:#60a5fae6;background:#3b82f633;box-shadow:0 0 10px #3b82f666}.graph-bg-swatch{display:inline-block;width:24px;height:24px;border-radius:6px;flex-shrink:0}.graph-bg-swatch[data-style=dark]{background:transparent;border:1px dashed rgba(148,163,184,.6)}.graph-bg-swatch[data-style=aurora]{background:linear-gradient(135deg,#1e1b4b,#312e81)}.graph-bg-swatch[data-style=starry]{background:linear-gradient(180deg,#0f172a,#1e3a5f)}.graph-bg-swatch[data-style=forest]{background:linear-gradient(135deg,#0a1f0a,#14532d)}.graph-bg-swatch[data-style=warm]{background:linear-gradient(135deg,#1f1206,#431407)}.graph-bg-swatch[data-style=light]{background:#f1f5f9}.graph-bg-label{font-weight:500}.graph-bg-custom-hint{margin-top:4px;font-size:12px;color:#9ca3af}.danger-text{margin:0 0 6px;color:#fecaca;font-size:13px;line-height:1.6}.danger-btn{background:radial-gradient(circle at top left,#fb7185,#ef4444)}.avatar-section{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}.avatar-preview{margin-bottom:4px}.avatar-circle{width:60px;height:60px;border-radius:8px;overflow:hidden;background:radial-gradient(circle,#1f2937 0,#020617 80%);display:inline-flex;align-items:center;justify-content:center;color:#e5e7eb;font-size:13px}.avatar-circle img{width:100%;height:100%;object-fit:contain}.avatar-crop-modal{max-width:420px}.avatar-crop-container{position:relative;width:100%;height:260px;background:#020617;border-radius:12px;overflow:hidden;margin-bottom:10px}.app-bg-crop-modal{max-width:560px}.app-bg-crop-container{position:relative;width:100%;height:140px;background:#020617;border-radius:12px;overflow:hidden;margin-bottom:10px}.app-bg-crop-inline{height:200px;min-height:180px}.avatar-crop-zoom{display:flex;align-items:center;gap:8px;font-size:12px;color:#cbd5f5;margin-bottom:8px}.avatar-crop-zoom input[type=range]{flex:1}.avatar-presets{display:flex;align-items:center;gap:6px;font-size:12px;color:#9ca3af}.avatar-preset{width:26px;height:26px;border-radius:999px;border:1px solid rgba(148,163,184,.5);background:#0f172ae6;color:#e5e7eb;font-size:11px;cursor:pointer}.avatar-preset.active{border-color:#60a5fae6;box-shadow:0 0 10px #3b82f6b3}.map-panel{position:relative;display:flex;flex-direction:column;min-height:0;flex:1;background:radial-gradient(circle at top,#0f172af2,#020617fa);border-left:1px solid rgba(30,64,175,.7)}.profile-hero{display:flex;align-items:center;gap:14px;padding:12px 16px 6px}.profile-hero-avatar{width:76px;height:76px;border-radius:20px;overflow:hidden;background:radial-gradient(circle,#1f2937 0,#020617 80%);border:1px solid rgba(148,163,184,.7);display:inline-flex;align-items:center;justify-content:center;font-size:26px;color:#e5e7eb;box-shadow:0 18px 40px #0f172ae6}.profile-hero-avatar img{width:100%;height:100%;object-fit:cover}.profile-hero-text{display:flex;flex-direction:column;gap:4px}.profile-hero-name{font-size:18px;font-weight:600}.profile-hero-sub{font-size:13px;color:#9ca3af}.view-toggle{flex-shrink:0;display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid rgba(148,163,184,.3);background:radial-gradient(circle at top left,#0f172ae6,#0f172ab3);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 12px 30px #0f172ae6;overflow-x:auto;scrollbar-width:none;align-items:center}.view-toggle::-webkit-scrollbar{display:none}.view-toggle-add-btn{margin-left:auto;flex-shrink:0;width:28px;height:28px;border:none;background:transparent;color:#e5e7eb;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;line-height:1;transition:color .15s ease-out,background .15s ease-out}.view-toggle-add-btn .view-tab-icon{width:18px;height:18px}.view-toggle-add-btn .view-tab-icon svg{width:18px;height:18px}.view-toggle-add-btn:hover{color:#60a5fa;background:#3b82f626}.view-tab{padding:6px 14px;border-radius:8px;border:1px solid rgba(148,163,184,.5);background:transparent;color:#94a3b8;font-size:13px;cursor:pointer;transition:border-color .18s ease-out,box-shadow .18s ease-out,background .18s ease-out,transform .12s ease-out,color .18s ease-out;position:relative;display:inline-flex;align-items:center;gap:6px}.view-tab-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center}.view-tab-icon svg{width:16px;height:16px;display:block}.view-tab.active{background:linear-gradient(135deg,#3b82f699,#2dd4bf99);color:#e5e7eb;border-color:#bfdbfee6;box-shadow:0 10px 24px #3b82f699;transform:translateY(-1px)}.view-tab:hover{border-color:#818cf8cc;box-shadow:0 0 12px #3b82f680}.view-tab-badge{position:absolute;top:-2px;right:-2px;font-size:11px;color:#f97373;font-weight:500}.view-tab-badge-overdue{background:#ef444433;padding:0 4px;border-radius:6px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:54px;padding:6px 10px 10px;display:none;align-items:center;justify-content:space-around;background:radial-gradient(circle at top,#0f172afa,#0f172af5);border-top:1px solid rgba(30,64,175,.8);box-shadow:0 -12px 30px #0f172a;z-index:80}.bottom-nav-item{position:relative;border:none;background:transparent;color:#9ca3af;font-size:11px;display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:2px 6px}.bottom-nav-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}.bottom-nav-icon svg{width:18px;height:18px;display:block}.bottom-nav-item.active{color:#e5e7eb}.bottom-nav-label{white-space:nowrap}.bottom-nav-badge{position:absolute;top:-2px;right:2px;min-width:16px;padding:0 4px;border-radius:999px;background:#f97373;color:#fff;font-size:10px}.bottom-nav-badge-overdue{background:#ef4444e6}.map-root,.graph-root{flex:1;min-height:0;width:100%;border-radius:0 0 18px;overflow:hidden}.map-root{position:relative}.map-root:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(30,64,175,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(30,64,175,.25) 1px,transparent 1px);background-size:40px 40px;mix-blend-mode:screen;opacity:.45;pointer-events:none}.map-legend{position:absolute;right:10px;bottom:10px;padding:6px 8px;border-radius:999px;background:radial-gradient(circle at top left,#0f172af5,#0f172ae6);border:none;color:#cbd5f5;font-size:11px;display:inline-flex;flex-direction:row;align-items:center;gap:8px;max-width:none;box-shadow:0 6px 18px #0f172ab3;pointer-events:none}.map-legend-row{display:flex;align-items:center;gap:6px;white-space:nowrap}.map-legend-dot{width:8px;height:8px;border-radius:999px;position:relative;flex-shrink:0}.map-legend-dot.self{background:#fb7185;box-shadow:0 0 14px #f87171b3}.map-legend-dot.other{background:#60a5fa;box-shadow:0 0 14px #38bdf8b3}.map-legend-dot.other.safe-overdue{background:#a855f7;box-shadow:0 0 10px #a855f7cc}.map-legend-dot.secondary{background:#eab308;box-shadow:0 0 10px #eab308cc}.map-legend-text{color:#e5e7eb}.map-legend-empty{margin-top:0;font-size:10px;color:#9ca3af;line-height:1.6}.pulse-marker{position:relative;width:24px;height:24px;border-radius:999px;display:flex;align-items:center;justify-content:center;pointer-events:auto;overflow:visible}.pulse-marker:before{background:radial-gradient(circle,#fffffff5 0 16%,#c4b5fdf5 18%,#9333eaeb 52%,#581c87fa);box-shadow:0 0 0 1px #ffffff29 inset,0 0 18px #a855f78c,0 0 32px #5b21b661}.pulse-marker:after{inset:-7px;border:2px solid rgba(192,132,252,.72);opacity:0;transform:scale(.72)}.pulse-marker.other.safe-overdue:before{background:radial-gradient(circle,#fffffffa 0 14%,#e9d5fffa 16%,#c084fcf5 42%,#9333eaf2 66%,#4c1d95);box-shadow:0 0 0 1px #fff3 inset,0 0 18px #d8b4feb8,0 0 34px #a855f7e6,0 0 54px #6b21a899;animation:marker-core-pulse 1.6s ease-in-out infinite}.pulse-marker.other.safe-overdue:after{border-color:#d8b4fedb;animation:marker-ring-pulse 1.6s ease-out infinite}.pulse-marker.self:before{background:radial-gradient(circle,#fffffff5 0 16%,#fecdd3f5 18%,#fb7185f0 52%,#be185dfa);box-shadow:0 0 0 1px #ffffff24 inset,0 0 18px #fb718570;animation:marker-core-pulse 1.6s ease-in-out infinite}.pulse-marker.self:after{border-color:#fb7185ad;animation:marker-ring-pulse 1.6s ease-out infinite}.pulse-marker.other.safe-ok:before{background:radial-gradient(circle,#fffffff5 0 16%,#bfdbfef5 18%,#60a5faeb 52%,#1d4ed8fa);box-shadow:0 0 0 1px #ffffff24 inset,0 0 18px #60a5fa73;animation:marker-core-pulse 1.6s ease-in-out infinite}.pulse-marker.other.safe-ok:after{border-color:#93c5fdb8;animation:marker-ring-pulse 1.6s ease-out infinite}.pulse-marker.secondary:before{background:radial-gradient(circle,#fffffff0 0 16%,#fef08af0 18%,#facc15eb 54%,#a16207fa);box-shadow:0 0 0 1px #ffffff24 inset,0 0 16px #facc1561;animation:marker-core-pulse 1.6s ease-in-out infinite}.pulse-marker.secondary:after{border-color:#fde047b8;animation:marker-ring-pulse 1.6s ease-out infinite}@keyframes marker-core-pulse{0%,to{transform:scale(.94);filter:brightness(.98)}50%{transform:scale(1.08);filter:brightness(1.24)}}@keyframes marker-ring-pulse{0%{opacity:.92;transform:scale(.66)}70%{opacity:.18}to{opacity:0;transform:scale(1.68)}}.graph-wrap{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}.graph-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:14px;flex-direction:column;gap:4px;padding:0 32px}.graph-loading-title{font-size:15px;font-weight:600;color:#e5e7eb}.graph-loading-text{margin:0;font-size:13px;color:#9ca3af;text-align:center;line-height:1.6}.circle-wrap{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top,#0f172af5,#0f172ae6);overflow:auto;padding:12px}.circle-levels-wrap{display:flex;flex-direction:row;align-items:center;gap:0;min-height:100%;padding:40px 20px}.circle-loading-msg{color:#94a3b8;font-size:14px}.circle-svg-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 24px 72px;margin:auto;min-width:max-content;min-height:max-content;max-width:100%;max-height:100%}.circle-svg-scroll{max-width:min(100vw - 40px,100%);max-height:calc(100vh - 210px);overflow:auto}.circle-legend{position:absolute;left:50%;bottom:12px;transform:translate(-50%);margin-top:0;display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:center;color:#cbd5e1;font-size:12px;padding:6px 10px;border-radius:999px;background:#0f172aad;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);width:max-content;max-width:calc(100% - 24px)}.circle-legend-title{color:#94a3b8}.circle-legend-item{display:inline-flex;align-items:center;gap:6px}.circle-legend-item i{width:18px;height:2px;border-radius:999px;display:inline-block}.circle-back-btn{align-self:flex-start;margin-bottom:16px;background:#94a3b81a;border:1px solid rgba(148,163,184,.3);color:#94a3b8;font-size:13px;padding:6px 14px;border-radius:6px;cursor:pointer;transition:background .2s}.circle-back-btn:hover{background:#94a3b833;color:#e2e8f0}.circle-avatar{width:56px;height:56px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;color:#fff;border:2px solid rgba(148,163,184,.6);background-clip:padding-box}.circle-avatar-self{background:radial-gradient(circle,#fecaca 0,#ef4444 60%);border-color:#f87171cc;filter:drop-shadow(0 0 12px rgba(239,68,68,.55))}.circle-avatar-friend{background:radial-gradient(circle,#bfdbfe 0,#3b82f6 60%);border-color:#60a5facc;filter:drop-shadow(0 0 10px rgba(59,130,246,.45))}.circle-avatar-active{border-color:#f59e0b!important;filter:drop-shadow(0 0 12px rgba(245,158,11,.6))!important}.circle-avatar img{width:100%;height:100%;object-fit:cover}.circle-label{fill:#e5e7eb;font-size:12px;font-family:system-ui,sans-serif}.share-wrap{flex:1;min-height:0;display:flex;flex-direction:column;background:radial-gradient(circle at top,#0f172af5,#0f172ae6);overflow:hidden}.contacts-wrap{flex:1;min-height:0;display:flex;flex-direction:column;background:radial-gradient(circle at top,#0f172af5,#0f172ae6);overflow:auto}.contacts-list{flex:1;min-height:0;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.contact-row{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.3);background:radial-gradient(circle at top left,#1e293bf2,#0f172aeb);gap:10px;transition:background .16s ease-out,border-color .16s ease-out,box-shadow .16s ease-out,transform .16s ease-out}.contact-row:hover{border-color:#60a5fab3;background:linear-gradient(135deg,#3b82f680,#2dd4bf80);box-shadow:0 14px 32px #0f172a;transform:translateY(-1px)}.contact-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.contact-avatar{width:30px;height:30px;border-radius:999px;overflow:hidden;background:#0f172ae6;border:1px solid rgba(148,163,184,.6);display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:#e5e7eb;flex-shrink:0}.contact-avatar img{width:100%;height:100%;object-fit:cover}.contact-meta{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.contact-name-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.contact-name{font-size:12px;font-weight:600;color:#e5e7eb}.contact-sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:10px;color:#9ca3af}.contact-sub.compact{justify-content:space-between}.contact-location-text{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contact-row-request{border-color:#fbbf2473}.contact-status-tag{display:inline-flex;align-items:center;gap:4px;padding:0;border-radius:0;font-size:10px;line-height:1.2;border:none;color:#cbd5e1;background:transparent}.contact-status-tag:before{content:"";width:6px;height:6px;border-radius:999px;background:#94a3b8bf;box-shadow:0 0 0 3px #94a3b81a}.contact-status-tag.pending{color:#fde68a}.contact-status-tag.pending:before{background:#fbbf24;box-shadow:0 0 0 3px #fbbf2424}.contact-status-tag.ok{color:#86efac}.contact-status-tag.ok:before{background:#4ade80;box-shadow:0 0 0 3px #4ade8024}.contact-status-tag.overdue{color:#fca5a5}.contact-status-tag.overdue:before{background:#f87171;box-shadow:0 0 0 3px #f8717124}.contact-name-action{padding:0;border:none;background:transparent;color:#cbd5e1;font-size:11px;font-weight:500;line-height:1.1}.contact-name-action:hover{color:#93c5fd;background:transparent;border:none}.request-actions{align-items:center}.contact-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.contact-actions.inline-actions{gap:6px;flex-wrap:nowrap}.contact-actions select{border-radius:8px;border:1px solid rgba(148,163,184,.58);padding:2px 6px;font-size:9px;background:#0f172af2;color:#e5e7eb;max-width:108px}.contact-qr-btn{min-width:0;width:22px;height:22px;padding:0;border-radius:999px;border:1px solid rgba(148,163,184,.7);background:#0f172ae6;color:#e5e7eb;font-size:8px;line-height:1}.share-toolbar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid rgba(148,163,184,.3)}.contacts-toolbar{min-height:30px;padding:6px 14px}.contacts-toolbar-actions{min-height:18px}.share-period{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.period-btn{padding:5px 12px;border-radius:8px;border:1px solid rgba(148,163,184,.5);background:transparent;color:#94a3b8;font-size:12px;cursor:pointer;transition:all .16s ease-out}.period-btn.active{background:#3b82f640;color:#e5e7eb;border-color:#60a5fa80}.share-post-btn{width:30px;height:30px;border-radius:999px;border:none;background:radial-gradient(circle at 30% 0%,#fff7ed,#ffe4e6 38%,#fed7aa 80%);box-shadow:0 8px 20px #0f172a8c,0 0 18px #fdba74e6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;overflow:hidden;animation:share-post-pulse 2.4s ease-in-out infinite}.share-post-plus{font-size:18px;font-weight:700;color:#7c2d12;transform:translateY(-1px);text-shadow:0 1px 0 rgba(255,255,255,.9),0 0 6px rgba(251,113,133,.7)}.share-post-btn:after{content:"";position:absolute;inset:-40%;background:radial-gradient(circle at 30% 0%,rgba(255,255,255,.6),transparent 60%);opacity:0;transform:scale(.6);transition:opacity .3s ease,transform .3s ease}.share-post-btn:hover:after{opacity:1;transform:scale(1)}@keyframes share-post-pulse{0%{transform:translateY(0) scale(1);box-shadow:0 8px 20px #0f172a8c,0 0 14px #fdba74b3}50%{transform:translateY(-1px) scale(1.05);box-shadow:0 10px 24px #0f172ab3,0 0 22px #fecacaf2}to{transform:translateY(0) scale(1);box-shadow:0 8px 20px #0f172a8c,0 0 14px #fdba74b3}}.share-form{flex-shrink:0;padding:12px 14px;border-bottom:1px solid rgba(148,163,184,.3);display:flex;flex-direction:column;gap:8px}.share-form textarea{width:100%;border-radius:8px;border:1px solid rgba(148,163,184,.7);padding:8px 10px;font-size:13px;background:#0f172ae6;color:#e5e7eb;resize:vertical;font-family:inherit}.share-form-actions{display:flex;gap:8px;margin-top:4px}.share-list{flex:1;min-height:0;overflow-y:auto;padding:12px 14px 18px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.8) transparent}.share-list::-webkit-scrollbar{width:6px}.share-list::-webkit-scrollbar-track{background:transparent}.share-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#94a3b866,#94a3b8cc);border-radius:999px}.share-empty{color:#64748b;font-size:14px;text-align:center;padding:24px}.share-card{padding:10px 12px;border-radius:12px;background:radial-gradient(circle at top left,#1e293bf2,#0f172ae6);border:1px solid rgba(148,163,184,.32);box-shadow:0 14px 36px #0f172af2;transition:transform .16s ease-out,box-shadow .16s ease-out,border-color .16s ease-out,background .16s ease-out}.share-card:hover{transform:translateY(-1px);border-color:#bfdbfee6;box-shadow:0 18px 46px #0f172a}.share-card-head{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin-bottom:6px}.share-card-avatar{width:24px;height:24px;flex-shrink:0;border-radius:999px;overflow:hidden;background:#0f172ad9;border:1px solid rgba(148,163,184,.5);display:inline-flex;align-items:center;justify-content:center;color:#e5e7eb}.share-card-avatar img{width:100%;height:100%;object-fit:cover;display:block}.share-card-meta{display:flex;flex-direction:column;gap:2px}.share-card-name-row{display:flex;align-items:center;gap:6px}.share-card-name{font-weight:600;color:#e5e7eb;font-size:14px}.share-card-time{font-size:12px;color:#64748b}.share-card-type{font-size:12px;color:#94a3b8;margin-bottom:6px}.share-card-content{font-size:14px;line-height:1.6;color:#e5e7eb;white-space:pre-wrap;word-break:break-word}.share-card-media{margin-top:6px;border-radius:8px;border:1px solid rgba(30,64,175,.45);box-shadow:0 4px 14px #0f172ab3;overflow:hidden;width:56%;max-width:260px;margin-left:42px;margin-right:0;aspect-ratio:4 / 3;background:#0f172af5}.share-card-media-image{display:block;width:100%;height:100%;object-fit:cover}.share-card-media-video-wrap{aspect-ratio:auto;cursor:pointer}.share-card-media-video{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}.video-fullscreen-overlay{background:#000000e6}.video-fullscreen-player{max-width:100vw;max-height:100vh;object-fit:contain}.share-card-media-grid{margin-top:6px;margin-left:42px;width:56%;max-width:260px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.share-card-media-grid-item{position:relative;overflow:hidden;border-radius:6px;background:#0f172af5;aspect-ratio:1 / 1}.share-card-media-grid-item img{width:100%;height:100%;object-fit:cover;display:block}.share-card-link{display:block;margin-top:6px;font-size:12px;color:#60a5fa;word-break:break-all}.share-card-link-inline{margin-top:4px;opacity:.8}.share-upload-hint{margin-top:4px;font-size:12px;color:#9ca3af}.popup-chat-link,.popup-share-link{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;font-size:12px;color:#60a5fa}.map-share-type-tabs{display:flex;gap:8px;margin-bottom:10px}.map-share-type-btn{border:1px solid rgba(148,163,184,.5);background:#0f172ab3;color:#cbd5e1;border-radius:999px;padding:6px 12px;font-size:12px}.map-share-type-btn.active{border-color:#60a5fae6;background:#3b82f647;color:#e2e8f0}.map-share-media-toolbar{margin-bottom:10px}.map-share-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}.map-share-media-item{border:1px solid rgba(148,163,184,.45);background:#0f172ad9;border-radius:10px;overflow:hidden;aspect-ratio:1 / 1;padding:0}.map-share-text-field{margin-top:6px}.chat-wrap{flex:1;min-height:0;display:flex;flex-direction:row;background:radial-gradient(circle at top,#0f172af5,#0f172ae6);overflow:hidden}.chat-page-subheader,.mobile-chat-back-bar{display:none}.chat-page-back{padding:8px 12px;border-radius:999px;border:1px solid rgba(148,163,184,.6);background:transparent;color:#e5e7eb;font-size:13px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease-out,transform .12s ease-out}.chat-page-back:hover{background:#94a3b840;transform:translateY(-1px)}.chat-page-new{flex:1;margin:0;padding:8px 12px;font-size:13px}.chat-sidebar{flex-shrink:0;width:320px;border-right:1px solid rgba(148,163,184,.3);display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(circle at top left,#0f172afa,#0f172aeb)}@media(max-width:1024px){.chat-wrap.has-selected .chat-sidebar{display:none}}.new-chat-btn{flex-shrink:0;margin:10px;padding:8px 12px;font-size:13px}.chat-conv-list{flex:1;overflow-y:auto;padding:0 8px 8px;display:flex;flex-direction:column;gap:4px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.8) transparent}.chat-conv-list::-webkit-scrollbar{width:6px}.chat-conv-list::-webkit-scrollbar-track{background:transparent}.chat-conv-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#94a3b866,#94a3b8cc);border-radius:999px}.chat-empty{color:#64748b;font-size:13px;padding:12px;text-align:center}.chat-conv-item{display:flex;flex-direction:column;align-items:flex-start;padding:10px 12px;border-radius:10px;border:none;background:transparent;color:#e5e7eb;font-size:13px;cursor:pointer;text-align:left;transition:background .16s ease-out,transform .16s ease-out,box-shadow .16s ease-out}.chat-conv-item:hover{background:#94a3b826;transform:translateY(-1px);box-shadow:0 6px 14px #0f172ae6}.chat-conv-item.active{background:linear-gradient(135deg,#3b82f68c,#2dd4bf8c);box-shadow:0 8px 20px #0f172a}.chat-conv-title{font-weight:600;margin-bottom:2px;display:inline-flex;align-items:center;gap:4px}.chat-sidebar-header{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:12px 10px;border-bottom:1px solid rgba(148,163,184,.25)}.chat-sidebar-search-wrap{flex:1;display:flex;align-items:center;min-width:0;background:#94a3b826;border-radius:8px;padding:8px 12px}.chat-sidebar-search-icon{margin-right:8px;font-size:14px;opacity:.7}.chat-sidebar-search{flex:1;min-width:0;border:none;background:transparent;color:#e5e7eb;font-size:14px;outline:none}.chat-sidebar-search::placeholder{color:#94a3b8}.chat-sidebar-new-btn{flex-shrink:0;padding:4px 8px;border:none;border-radius:0;background:transparent;color:#e5e7eb;font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s,opacity .15s}.chat-sidebar-new-btn:hover{color:#94a3b8;opacity:.9}.chat-conv-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%}.chat-conv-head{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.chat-conv-meta{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;flex:1}.chat-conv-time{flex-shrink:0;font-size:12px;color:#94a3b8}.chat-conv-avatar{width:26px;height:26px;border-radius:999px;overflow:hidden;background:#0f172af2;border:1px solid rgba(148,163,184,.5);display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#e5e7eb}.chat-conv-avatar img{width:100%;height:100%;object-fit:cover}.chat-conv-preview{font-size:12px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.chat-conv-unread-dot{width:8px;height:8px;border-radius:999px;background:#f97373;box-shadow:0 0 8px #f87171e6}.chat-main{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(circle at top right,#0f172afa,#0f172af0)}.chat-main-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px;text-align:center}.chat-main-empty-icon{font-size:64px;opacity:.6;animation:chat-empty-float 3s ease-in-out infinite}.chat-main-empty-icon svg{width:80px;height:80px;color:#94a3b8}@keyframes chat-empty-float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.chat-main-empty-title{font-size:18px;font-weight:600;color:#e5e7eb}.chat-main-empty-hint{font-size:14px;color:#94a3b8;max-width:320px;line-height:1.6}.chat-messages{flex:1;overflow-y:auto;padding:12px 14px 16px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.8) transparent}.chat-date-divider{align-self:center;margin:6px 0 2px;font-size:11px;color:#9ca3af;padding:2px 10px;border-radius:999px;background:#0f172ad9;border:1px solid rgba(148,163,184,.4)}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:transparent}.chat-messages::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#94a3b866,#94a3b8cc);border-radius:999px}.chat-msg{max-width:80%;padding:8px 12px;border-radius:14px;background:#1e293be6;border:1px solid rgba(148,163,184,.25);box-shadow:0 8px 22px #0f172ae6}.chat-msg.self{align-self:flex-end;background:linear-gradient(135deg,#3b82f6b3,#2dd4bfb3);border-color:#bfdbfee6}.chat-msg-name{display:block;font-size:12px;color:#94a3b8;margin-bottom:4px}.chat-msg-head{display:flex;align-items:center;gap:6px;margin-bottom:4px}.chat-msg-avatar{width:24px;height:24px;border-radius:999px;overflow:hidden;background:#0f172af2;border:1px solid rgba(148,163,184,.5);display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#e5e7eb}.chat-msg-avatar img{width:100%;height:100%;object-fit:cover}.chat-msg-content{font-size:14px;line-height:1.5;word-break:break-word}.chat-msg-time{display:block;font-size:11px;color:#64748b;margin-top:4px}.chat-msg-read-status{display:block;font-size:10px;margin-top:2px;text-align:right}.chat-msg-read-status.read{color:#38bdf8}.chat-msg-read-status.unread{color:#64748b}.chat-input-wrap{flex-shrink:0;display:flex;gap:6px;padding:8px 10px;border-top:1px solid rgba(148,163,184,.3);background:radial-gradient(circle at bottom,#0f172afa,#0f172af0);box-shadow:0 -10px 26px #0f172ae6}.chat-send-group{display:flex;gap:6px;flex-shrink:0;align-items:center}.chat-action-btn{flex-shrink:0;width:34px;height:34px;border-radius:11px;border:1px solid rgba(148,163,184,.6);background:#0f172ad9;color:#e5e7eb;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:15px;transition:transform .12s ease-out,border-color .16s ease-out,box-shadow .16s ease-out,background .16s ease-out,filter .16s ease-out}.chat-action-btn:hover:enabled{transform:translateY(-1px);border-color:#bfdbfee6;box-shadow:0 10px 22px #0f172ae6;background:#1e40af59}.chat-action-btn:disabled{opacity:.45;cursor:not-allowed}.chat-input{flex:1;min-width:0;border-radius:10px;border:1px solid rgba(148,163,184,.6);padding:8px 10px;font-size:14px;background:#0f172ae6;color:#e5e7eb;outline:none;transition:border-color .16s ease-out,box-shadow .16s ease-out,background .16s ease-out}.chat-input::placeholder{color:#64748b}.chat-send-btn{min-width:58px;height:34px;padding:0 14px;border-radius:17px;font-size:12px;font-weight:600;letter-spacing:.02em;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;box-shadow:0 10px 24px #2563eb57}.chat-send-btn:hover:enabled{transform:translateY(-1px);box-shadow:0 14px 28px #2563eb6b}.chat-back-btn{min-width:42px;height:34px;border-radius:17px;font-size:12px;line-height:1;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.42);background:#0f172ac7;color:#e2e8f0e0;box-shadow:inset 0 0 0 1px #ffffff05}.chat-back-btn:hover:enabled{background:#1e293bf5;color:#f8fafc;border-color:#94a3b899}.chat-input-meta{padding:8px 12px 12px;border-top:1px solid rgba(148,163,184,.18);display:flex;flex-direction:column;gap:8px}.chat-attach-preview{display:flex;flex-wrap:wrap;gap:8px}.chat-attach-item{position:relative;width:64px;height:64px;border-radius:12px;overflow:hidden;border:1px solid rgba(148,163,184,.35);background:#0f172ae6;box-shadow:0 10px 22px #0f172ae6}.chat-attach-thumb{width:100%;height:100%;object-fit:cover;display:block}.chat-attach-thumb-video{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:12px;color:#e5e7eb;background:linear-gradient(135deg,#3b82f659,#2dd4bf59)}.chat-attach-remove{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:999px;border:1px solid rgba(148,163,184,.6);background:#0f172ae6;color:#e5e7eb;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1}.chat-attach-remove:hover{border-color:#bfdbfef2;background:#1e40afb3}.chat-msg-media{margin-top:2px}.chat-msg-media img{max-width:320px;width:min(320px,100%);border-radius:12px;border:1px solid rgba(148,163,184,.25);display:block}.chat-media-video-btn{padding:0;border:none;background:transparent;cursor:pointer;position:relative;display:block;max-width:340px}.chat-media-video-btn video{width:min(340px,100%);border-radius:12px;border:1px solid rgba(148,163,184,.25);display:block}.chat-media-video-badge{position:absolute;left:10px;bottom:10px;font-size:12px;padding:4px 8px;border-radius:999px;border:1px solid rgba(191,219,254,.9);background:#0f172abf;color:#e5e7eb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.chat-placeholder{flex:1;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:14px}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.app-bg-crop-overlay{z-index:1000}.modal-content{background:linear-gradient(135deg,#0f172a,#1e293b);border:1px solid rgba(148,163,184,.4);border-radius:16px;padding:20px;max-width:560px;width:90%;max-height:82vh;overflow:hidden;display:flex;flex-direction:column}.modal-content.settings-modal{max-height:88vh;overflow-y:auto;overflow-x:hidden;border-radius:20px;box-shadow:0 22px 60px #0f172ae6}.modal-content.settings-modal::-webkit-scrollbar{width:6px}.modal-content.settings-modal::-webkit-scrollbar-track{background:transparent}.modal-content.settings-modal::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#94a3b859,#94a3b8bf);border-radius:999px}.modal-content.settings-modal{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.75) transparent}.modal-title{font-size:16px;font-weight:600;margin-bottom:12px;color:#e5e7eb}.modal-user-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.modal-user-item{padding:10px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.4);background:transparent;color:#e5e7eb;font-size:14px;cursor:pointer;text-align:left;transition:background .16s ease-out,transform .16s ease-out}.modal-user-item:hover{background:#3b82f633;transform:translateY(-1px)}.group-chat-tabs{display:flex;gap:8px;margin-bottom:12px}.group-chat-tab{flex:1;padding:7px 0;border-radius:8px;border:1px solid rgba(148,163,184,.4);background:transparent;color:#94a3b8;font-size:14px;cursor:pointer;transition:all .15s ease}.group-chat-tab.active{background:#3b82f64d;border-color:#3b82f6;color:#e2e8f0;font-weight:600}.group-chat-tab:hover:not(.active){background:#3b82f61a}.group-chat-selected-hint{font-size:12px;color:#38bdf8;margin-bottom:8px;text-align:center}.modal-user-item.group-select{display:flex;align-items:center;gap:10px}.modal-user-item.group-select.checked{background:#3b82f633;border-color:#3b82f6}.group-check-box{width:20px;height:20px;border-radius:4px;border:1.5px solid rgba(148,163,184,.6);display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#38bdf8;flex-shrink:0;background:#0f172a80;transition:border-color .15s ease,background .15s ease}.group-check-box.checked{border-color:#3b82f6;background:#3b82f640}.modal-close{align-self:flex-end}.safety-reminder-modal{max-width:360px}.safety-reminder-text{font-size:14px;color:#cbd5e1;line-height:1.6;margin-bottom:20px}.safety-reminder-actions{display:flex;gap:12px;justify-content:flex-end}.safety-summary-modal{max-width:420px}.safety-summary-hint{font-size:13px;color:#94a3b8;margin-bottom:12px}.safety-summary-list{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-y:auto;margin-bottom:16px}.safety-summary-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.35);background:#0f172a80}.safety-summary-row.soon{border-color:#eab308b3;background:radial-gradient(circle at top left,#facc151a,#0f172ab3)}.safety-summary-row.overdue{border-color:#ef4444cc;background:radial-gradient(circle at top left,#ef444426,#0f172acc)}.safety-summary-main{display:flex;align-items:center;gap:10px}.safety-summary-meta{display:flex;flex-direction:column;gap:2px}.safety-summary-interval{font-size:12px;color:#94a3b8}.safety-summary-time{font-size:12px;color:#cbd5e1}.safety-summary-status{font-size:12px;font-weight:500;padding:2px 8px;border-radius:6px}.safety-summary-status.ok{color:#4ade80;background:#22c55e33}.safety-summary-status.soon{color:#eab308;background:#eab3082e}.safety-summary-status.overdue{color:#f87171;background:#ef444433}.safety-summary-actions{display:flex;gap:10px;justify-content:flex-end}.toast-container{position:fixed;right:16px;top:72px;display:flex;flex-direction:column;gap:8px;z-index:99999}.toast-item{min-width:220px;max-width:320px;padding:8px 12px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;font-size:13px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 12px 28px #0f172ae6;border:1px solid rgba(148,163,184,.6)}.toast-dot{width:8px;height:8px;border-radius:999px;flex-shrink:0}.toast-text{color:#e5e7eb}.toast-close{margin-left:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer;font-size:14px;line-height:1;padding:0 2px}.toast-info{background:radial-gradient(circle at top left,#0f172afa,#0f172ae6)}.toast-info .toast-dot{background:#38bdf8}.toast-success{background:radial-gradient(circle at top left,#052e16f5,#064e3be6);border-color:#22c55ecc}.toast-success .toast-dot{background:#22c55e}.toast-error{background:radial-gradient(circle at top left,#450a0af5,#7f1d1de6);border-color:#f87171e6}.toast-error .toast-dot{background:#f97373}.map-overlay-hint{position:absolute;left:12px;bottom:12px;max-width:320px;padding:8px 10px;border-radius:12px;background:#0f172ad9;border:1px solid rgba(148,163,184,.6);font-size:12px;line-height:1.6}.popup-avatar-row{display:inline-flex;align-items:center;gap:6px}.popup-avatar-circle{width:26px;height:26px;border-radius:999px;overflow:hidden;background:#0f172af2;border:1px solid rgba(148,163,184,.6);display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#e5e7eb}.popup-avatar-circle img{width:100%;height:100%;object-fit:cover}.popup-card{min-width:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:8px 10px;border-radius:14px;background:#0f172af5;border:1px solid rgba(148,163,184,.6);display:inline-flex;align-items:center;gap:8px}.popup-name-row{display:flex;align-items:center;gap:6px;margin-bottom:2px}.popup-name-main{font-weight:600;font-size:13px}.popup-role-tag{padding:1px 6px;border-radius:999px;background:#0f172ae6;border:1px solid rgba(148,163,184,.7);font-size:11px;color:#e5e7eb}.popup-meta{font-size:11px;color:#6b7280;display:flex;gap:4px}.popup-safe{margin-top:2px;font-size:11px}.popup-safe-ok{color:#22c55e}.popup-safe-overdue{color:#f97373}.popup-safe-unknown{color:#e5e7eb}.map-share-modal{max-width:520px}.map-share-floating{position:fixed;z-index:120;box-sizing:border-box;width:min(520px,calc(100vw - 24px));height:min(520px,calc(100vh - 24px));min-width:260px;min-height:280px;max-width:900px;max-height:760px;padding:12px 12px 0;border-radius:16px;box-shadow:0 22px 56px #020617cc;-webkit-user-select:none;user-select:none}@media(max-width:768px){.map-share-floating{width:min(340px,calc(100vw - 24px))!important;height:min(360px,calc(100vh - 80px))!important;min-width:260px;min-height:240px}}.map-share-header{position:relative;display:flex;align-items:center;justify-content:center;min-height:34px;margin-bottom:6px;padding:0 44px}.map-share-drag-handle{min-height:34px;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.map-share-header-title{color:#e2e8f0d1;font-size:12px;line-height:1;white-space:nowrap;pointer-events:none}.map-share-back-btn{position:absolute;top:3px;left:0;width:34px;height:28px;border:none;background:transparent;color:#e2e8f0;font-size:28px;line-height:1;padding:0;z-index:5}.map-share-text-top{flex:1;min-height:0;margin:0;width:100%;align-items:stretch}.map-share-main-split{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding-bottom:0;position:relative}.map-share-editor-pane,.map-share-preview-pane{min-height:0;display:flex;flex-direction:column}.map-share-preview-pane{border-left:1px solid rgba(148,163,184,.25);padding-left:12px}.map-share-preview-title{font-size:12px;color:#94a3b8;margin-bottom:8px}.map-share-text-top textarea{width:100%;height:100%;min-height:0;resize:none;font-size:16px;line-height:1.7;background:transparent;border:none;box-shadow:none;padding:0;color:#f8fafc;caret-color:#f8fafc}.map-share-text-top textarea::placeholder{color:#e2e8f08f}.map-share-text-top textarea:focus{outline:none;border:none;box-shadow:none}.map-share-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:10px 0 0}.map-share-media-item{border:none;background:#0f172ad9;border-radius:6px;overflow:hidden;aspect-ratio:1 / 1;padding:0}.map-share-media-item img,.map-share-media-item video{width:100%;height:100%;object-fit:cover;display:block}.map-share-bottom-tools{position:sticky;bottom:0;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;background:linear-gradient(180deg,#1e293b00,#1e293beb 34%,#1e293bfa);z-index:3}.map-share-upload-svg-btn{border:none;background:transparent;color:#cbd5e1;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:0}.map-share-upload-svg-btn:disabled{opacity:.6}.map-share-bottom-right{margin-left:auto}.map-share-resize-handle{position:absolute;right:8px;bottom:8px;width:24px;height:24px;border:none;background:transparent;cursor:nwse-resize;z-index:4;opacity:.78;transition:opacity .18s ease,transform .18s ease}.map-share-resize-handle:before,.map-share-resize-handle:after{content:"";position:absolute;right:2px;bottom:2px;border-right:2px solid rgba(226,232,240,.88);border-bottom:2px solid rgba(226,232,240,.88);border-radius:1px}.map-share-resize-handle:before{width:11px;height:11px}.map-share-resize-handle:after{width:6px;height:6px;right:6px;bottom:6px;opacity:.8}.map-share-resize-handle:hover{opacity:1;transform:translate(-1px,-1px)}.share-preview-text{margin-top:8px;padding:0;border-radius:0;background:transparent;border:none;color:#e2e8f0;line-height:1.55;white-space:pre-wrap;word-break:break-word;font-size:17px}.share-preview-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.share-preview-modal{padding:12px 14px 14px;border-radius:16px;min-width:180px;min-height:200px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto}.map-share-modal.share-preview-modal,.modal-content.map-share-modal.map-share-floating{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);box-sizing:border-box}.share-preview-modal .share-preview-list{flex:1;min-height:0;max-height:calc(100% - 60px);overflow-y:auto}.share-preview-resize-handle{position:absolute;right:0;bottom:0;width:18px;height:18px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,rgba(148,163,184,.4) 50%);border-radius:0 0 16px;z-index:10}.share-preview-resize-handle:hover{background:linear-gradient(135deg,transparent 50%,rgba(148,163,184,.6) 50%)}.share-preview-toolbar-right{display:flex;align-items:center;gap:8px}.share-preview-drag-handle{cursor:move;-webkit-user-select:none;user-select:none}.share-preview-drag-handle .share-preview-back,.share-preview-drag-handle .share-preview-publish-svg{cursor:pointer}.share-preview-back{border:none;background:transparent;color:#cbd5e1;font-size:14px;padding:0}.share-preview-publish-svg{border:none;background:transparent;color:#93c5fd;line-height:0;padding:0}.share-preview-list{max-height:min(70vh,620px);overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding-right:4px}.share-preview-item{padding-bottom:10px;border-bottom:1px solid rgba(148,163,184,.2)}.share-preview-item:last-child{border-bottom:none;padding-bottom:0}.share-preview-time{margin-top:6px;font-size:12px;color:#94a3b8}.map-share-actions{margin-top:12px;display:flex;justify-content:flex-end;gap:8px}.amap-cluster-bubble{width:36px;height:36px;border-radius:50%;background:radial-gradient(circle,#63b3edf2,#3182ced9);border:2px solid rgba(144,205,244,.8);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 0 14px #3b82f6b3;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .15s ease}.amap-cluster-bubble:hover{transform:scale(1.12)}.pulse-marker{width:16px;height:16px;border-radius:999px;position:relative;overflow:visible}.pulse-marker.share-target{filter:drop-shadow(0 0 10px rgba(56,189,248,.95))}.share-avatar-bounce{position:absolute;left:50%;transform:translate(-50%);top:-28px;width:24px;height:24px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;animation:share-avatar-bob 1.6s ease-in-out infinite;pointer-events:none}.pulse-marker.share-target:before,.pulse-marker.share-target:after{animation:none}.share-avatar-bounce img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.share-avatar-bounce-fallback{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;background:linear-gradient(135deg,#1d4ed8,#0891b2)}@keyframes share-avatar-bob{0%,to{transform:translate(-50%) translateY(0)}50%{transform:translate(-50%) translateY(-3px)}}.pulse-marker:before,.pulse-marker:after{content:"";position:absolute;inset:0;border-radius:inherit}.pulse-marker.self:before{background:radial-gradient(circle,#fecaca 0,#ef4444 45%,transparent 70%);box-shadow:0 0 14px #f87171e6}.pulse-marker.other:before{background:radial-gradient(circle,#bfdbfe 0,#3b82f6 45%,transparent 70%);box-shadow:0 0 12px #3b82f6e6}.pulse-marker.self:after{border:2px solid rgba(248,113,113,.7);animation:pulse-red 2.2s infinite}.pulse-marker.other:after{border:2px solid rgba(96,165,250,.7);animation:pulse-blue 2.4s infinite}.pulse-marker.self.safe-ok:before{background:radial-gradient(circle,#bbf7d0 0,#22c55e 45%,transparent 70%);box-shadow:0 0 16px #22c55ee6}.pulse-marker.self.safe-ok:after{border-color:#22c55ee6}.pulse-marker.self.safe-overdue:before{background:radial-gradient(circle,#e9d5ff 0,#a855f7 45%,transparent 70%);box-shadow:0 0 12px #a855f7cc}.pulse-marker.self.safe-overdue:after{border-color:#a855f7cc;animation:none}.pulse-marker.other.safe-ok:before{background:radial-gradient(circle,#bbf7d0 0,#22c55e 45%,transparent 70%);box-shadow:0 0 16px #22c55ee6}.pulse-marker.other.safe-ok:after{border-color:#22c55ee6}.pulse-marker.other.safe-overdue:before{background:radial-gradient(circle,#e9d5ff 0,#a855f7 45%,transparent 70%);box-shadow:0 0 12px #a855f7cc}.pulse-marker.other.safe-overdue:after{border-color:#a855f7cc;animation:none}.pulse-marker.other.secondary:before{background:radial-gradient(circle,#fef08a 0,#eab308 45%,transparent 70%);box-shadow:0 0 12px #eab308cc}.pulse-marker.other.secondary:after{border-color:#eab308cc;animation:pulse-yellow 2.6s infinite}@keyframes pulse-yellow{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.15);opacity:.5}}.pulse-marker.multi-watch{box-shadow:0 0 22px #facc15f2}@keyframes aurora-shift{0%{transform:translateZ(0) scale(1)}50%{transform:translate3d(-4%,2%,0) scale(1.03)}to{transform:translate3d(3%,-3%,0) scale(1.05)}}.circle-wrap{position:relative;display:flex;flex-direction:column;min-height:0;height:100%;width:100%;padding:16px;gap:12px;background:radial-gradient(circle at 20% 20%,rgba(59,130,246,.12),transparent 28%),radial-gradient(circle at 80% 18%,rgba(249,115,22,.12),transparent 24%),radial-gradient(circle at 50% 100%,rgba(139,92,246,.1),transparent 32%),#020617b8;overflow:hidden}.circle-loading-msg{margin:auto;color:#cbd5e1;font-size:14px}.circle-panel{display:flex;flex-direction:column;min-height:0;height:100%;gap:12px}.circle-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:#0f172ab8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.circle-toolbar,.circle-toolbar-group,.circle-tool-btn,.circle-zoom-label,.circle-toolbar-note{display:none}.circle-viewport{position:relative;flex:1;min-height:0;overflow:hidden;border-radius:24px;border:1px solid rgba(148,163,184,.16);background:radial-gradient(circle at center,#0f172aeb,#020617f5);cursor:grab;touch-action:none;scrollbar-width:none}.circle-viewport:active{cursor:grabbing}.circle-viewport::-webkit-scrollbar{display:none}.circle-board{position:relative;margin:0 auto 24px;transform-origin:center center;will-change:transform}.circle-orbit,.circle-orbit.primary,.circle-orbit.secondary{display:none}.circle-node{position:absolute;display:inline-flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;appearance:none;-webkit-appearance:none;border-radius:50%;border:3px solid rgba(148,163,184,.45);background:linear-gradient(135deg,#1e293bf5,#0f172af5);overflow:hidden;cursor:pointer;aspect-ratio:1 / 1;transform:translateZ(0);backface-visibility:hidden;transition:transform .22s cubic-bezier(.22,1,.36,1),box-shadow .18s ease,border-color .18s ease}.circle-node:hover{transform:scale(1.05)}.circle-node.active{transform:scale(1.08);box-shadow:0 0 0 3px #fbbf242e,0 14px 34px #fbbf2442!important}.circle-node.center-node{z-index:3}.circle-node img,.circle-node-fallback{width:100%;height:100%;min-width:0;min-height:0;border-radius:50%;flex:0 0 auto}.circle-node img{object-fit:cover;object-position:center;display:block;aspect-ratio:1 / 1}.circle-node-fallback{display:inline-flex;align-items:center;justify-content:center;color:#f8fafc;font-weight:700;font-size:18px}.circle-node-name{position:absolute;left:50%;bottom:-24px;transform:translate(-50%);max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#e2e8f0;text-shadow:0 2px 10px rgba(2,6,23,.9);pointer-events:none}.circle-legend{display:flex;flex-wrap:wrap;gap:10px 14px;padding:10px 14px;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:#0f172ab8}.circle-legend-item{display:inline-flex;align-items:center;gap:8px;color:#cbd5e1;font-size:13px}.circle-legend-item i{width:10px;height:10px;border-radius:50%;display:inline-block}@media(max-width:1200px){.app-main{grid-template-columns:minmax(280px,340px) minmax(0,1fr)}.app-main.app-main-authenticated{grid-template-columns:minmax(0,1fr)}.left-panel{padding:20px 18px}.login-shell{max-width:340px;padding:20px 18px 18px}.profile-hero-avatar{width:64px;height:64px}}@media(max-width:960px){.app-main,.app-main-authenticated{grid-template-columns:minmax(0,1fr)}.left-panel{min-height:360px;border-right:none;border-bottom:1px solid rgba(30,64,175,.6)}.map-panel{border-left:none}.login-water-rays{height:70%}.share-wrap,.contacts-wrap,.chat-wrap{border-radius:0 0 18px 18px}.chat-wrap{flex-direction:column}.chat-sidebar{width:100%;border-right:none;border-bottom:1px solid rgba(148,163,184,.25)}.chat-main{min-height:260px;max-height:none}.bottom-nav{display:flex}.header-settings-btn{display:none!important}}@media(min-width:1025px){.app-header{position:fixed;top:0;left:0;right:0;z-index:50;height:49px;min-height:49px;max-height:49px;box-sizing:border-box;display:flex;align-items:center;padding:0 22px;overflow:hidden}.app-main{padding-top:49px;min-height:0;height:100vh;box-sizing:border-box;overflow:hidden;grid-template-rows:1fr;align-items:stretch}.view-toggle{position:fixed;top:49px;left:0;right:0;width:100%;z-index:49;height:48px;min-height:48px;max-height:48px;box-sizing:border-box;display:flex;align-items:center;padding:0 12px;margin:0;background:#0f172afa;border-bottom:1px solid rgba(148,163,184,.3);overflow:hidden}.app-root.app-theme-light .view-toggle{background:#f8fafcfa;border-bottom-color:#cbd5e180}.map-panel{padding-top:48px;overflow:hidden;display:flex;flex-direction:column;min-height:0;flex:1;height:100%;align-self:stretch}.map-panel>.map-root,.map-panel>.graph-wrap,.map-panel>.share-wrap,.map-panel>.chat-wrap{margin-top:0}.map-panel>.contacts-wrap{margin-top:0}.app-root:not(.view-mode-chat){overflow-y:auto;height:100vh}.app-root.view-mode-circle .view-toggle{display:flex}.app-root.view-mode-circle .app-main{padding-top:49px}.app-root.view-mode-circle .map-panel{padding-top:0;width:100%}.app-root.view-mode-circle .circle-wrap{display:flex;flex:1 1 auto;width:100%;max-width:none;padding:0}.app-root.view-mode-circle .circle-panel{gap:0;width:100%;flex:1 1 auto}.app-root.view-mode-circle .circle-viewport{border-radius:0;border-left:none;border-right:none;border-top:none;display:flex;width:100%}.app-root.view-mode-circle .circle-board{margin-top:0;margin-bottom:0;min-width:100%;min-height:100%}body:has(.app-root.view-mode-chat),body:has(.app-root.view-mode-chat) #root{overflow:hidden!important;height:100vh}.app-root.view-mode-chat{overflow:hidden;height:100%}.app-root.view-mode-chat .app-main,.app-root.view-mode-chat .map-panel,.app-root.view-mode-chat .chat-wrap{overflow:hidden;min-height:0}.app-root.view-mode-chat .map-panel{padding-top:0}.app-root.view-mode-chat .chat-wrap .chat-sidebar{display:flex!important;position:fixed;top:49px;left:0;bottom:0;width:320px;min-width:320px;max-width:320px;z-index:40}.app-root.view-mode-chat .chat-wrap{flex-direction:row;padding-left:320px}.chat-wrap .chat-sidebar,.chat-wrap.has-selected .chat-sidebar{display:flex!important}.chat-wrap{flex-direction:row}.chat-sidebar{width:320px;min-width:280px;max-width:380px;border-right:1px solid rgba(148,163,184,.25);background:#f8fafcf7}.app-root:not(.app-theme-light) .chat-sidebar{background:#1e293bfa}.chat-sidebar-header{background:#f1f5f9fa;border-bottom:1px solid rgba(203,213,225,.6)}.app-root:not(.app-theme-light) .chat-sidebar-header{background:#1e293bfa;border-bottom-color:#94a3b840}.chat-sidebar-search-wrap{background:#e2e8f0cc}.app-root:not(.app-theme-light) .chat-sidebar-search-wrap{background:#33415599}.chat-sidebar-search{color:#0f172a}.app-root:not(.app-theme-light) .chat-sidebar-search{color:#e2e8f0}.chat-sidebar-new-btn{color:#475569}.app-root:not(.app-theme-light) .chat-sidebar-new-btn{color:#e2e8f0}.chat-conv-list{background:transparent}.chat-conv-item{border-radius:8px}.chat-conv-item:hover{background:#e2e8f0b3}.app-root:not(.app-theme-light) .chat-conv-item:hover{background:#94a3b826}.chat-conv-item.active{background:#3b82f626}.app-root:not(.app-theme-light) .chat-conv-item.active{background:linear-gradient(135deg,#3b82f659,#2dd4bf59)}.chat-main{background:#f1f5f9}.app-root:not(.app-theme-light) .chat-main{background:radial-gradient(circle at top right,#0f172afa,#0f172af0)}.chat-main-empty{background:#f1f5f9}.app-root:not(.app-theme-light) .chat-main-empty{background:transparent}.chat-main-empty-icon svg{width:128px;height:128px;color:#cbd5e1}.app-root:not(.app-theme-light) .chat-main-empty-icon svg{color:#64748b}.chat-main-empty-title{color:#334155;font-size:16px}.app-root:not(.app-theme-light) .chat-main-empty-title{color:#e5e7eb}.chat-main-empty-hint{color:#64748b;font-size:13px}.app-root:not(.app-theme-light) .chat-main-empty-hint{color:#94a3b8}.chat-empty{color:#64748b}.app-root:not(.app-theme-light) .chat-empty{color:#94a3b8}.chat-sidebar .chat-conv-title{color:#334155}.chat-sidebar .chat-conv-preview,.chat-sidebar .chat-conv-time{color:#64748b}.app-root:not(.app-theme-light) .chat-sidebar .chat-conv-title{color:#e5e7eb}.app-root:not(.app-theme-light) .chat-sidebar .chat-conv-preview,.app-root:not(.app-theme-light) .chat-sidebar .chat-conv-time{color:#94a3b8}}@media(max-width:768px){.app-header{flex-direction:column;align-items:flex-start;gap:6px;padding:8px 12px}.user-info{display:none}.left-panel{padding:18px 14px}.login-shell{max-width:100%}.login-title{font-size:18px}.map-root,.graph-root{border-radius:0;flex:1;min-height:0}.view-toggle{padding-inline:8px;overflow-x:auto}.view-tab{white-space:nowrap}.share-list,.contacts-list,.chat-messages{padding-inline:10px}.safety-reminder-modal,.safety-summary-modal{width:100%;max-width:100%;max-height:80vh;border-radius:18px 18px 0 0;margin:auto 0 0}.modal-overlay{align-items:flex-end}.safety-summary-list{max-height:52vh}.view-toggle{display:none;height:0;padding:0;margin:0;min-height:0}.app-main{padding-top:0!important}.map-panel{padding-top:0;min-height:0}.app-root.view-mode-circle .map-panel{padding-top:0;margin-top:-1px}.app-root.view-mode-circle .circle-wrap{padding:0}.app-root.view-mode-circle .circle-panel{gap:0}.app-root.view-mode-circle .circle-viewport{border-top:none;border-radius:0}.app-root.view-mode-circle .circle-board{margin-top:0}.contacts-toolbar{min-height:24px;padding-top:4px;padding-bottom:4px}.brand{font-size:15px}.brand-logo{height:32px}.user-name{font-size:14px}.header-avatar{width:34px;height:34px;flex-shrink:0}.outline-button{padding:4px 10px;font-size:13px}.contact-row{flex-direction:column;align-items:stretch;gap:8px}.contact-main{align-items:center}.contact-actions{align-self:flex-end;display:flex;align-items:center;gap:8px}body.is-capacitor-app .chat-main{padding-bottom:72px}body.is-capacitor-app .chat-input-wrap{position:fixed;left:0;right:0;bottom:54px;z-index:90;background:radial-gradient(circle at bottom,#0f172afa,#0f172af0)}body.is-capacitor-app.in-chat-view .chat-main{padding-bottom:0}body.is-capacitor-app.in-chat-view .chat-input-wrap{gap:6px;padding:6px 10px}body.is-capacitor-app.in-chat-view .app-header{position:sticky;top:0;z-index:40}body.is-capacitor-app.in-chat-view .chat-page-subheader{display:flex;align-items:center;gap:10px;padding:10px 12px;position:sticky;top:1px;z-index:35;background:radial-gradient(circle at top left,#0f172afa,#0f172aeb);border-bottom:1px solid rgba(148,163,184,.25)}body.is-capacitor-app.in-chat-view .chat-sidebar-header{position:static;top:auto;z-index:auto}body.is-capacitor-app .chat-toolbar{flex-shrink:0;z-index:85;min-height:48px}body.is-capacitor-app .chat-toolbar-back{font-size:24px;min-width:44px;min-height:44px}}@keyframes pulse-red{0%{transform:scale(.5);opacity:.9}70%{transform:scale(1.6);opacity:0}to{transform:scale(.5);opacity:0}}@keyframes pulse-blue{0%{transform:scale(.5);opacity:.9}70%{transform:scale(1.5);opacity:0}to{transform:scale(.5);opacity:0}}.share-avatar-bounce{position:absolute;left:50%;bottom:100%;transform:translate(-50%,-10px);width:28px;height:28px;border-radius:999px;overflow:hidden;border:2px solid rgba(255,255,255,.9);box-shadow:0 10px 22px #0f172a8c;background:#0f172af2;animation:share-avatar-bob 1.9s ease-in-out infinite;z-index:3}.share-avatar-bounce img,.share-avatar-bounce-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;object-fit:cover;background:linear-gradient(135deg,#3b82f6e6,#0ea5e9e6);color:#fff;font-size:12px;font-weight:700}.chat-plane-indicator{position:absolute;left:50%;bottom:100%;transform:translate(-50%,-42px);width:30px;height:30px;padding:0;border:none;background:transparent;color:#bfdbfe;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;filter:drop-shadow(0 8px 18px rgba(15,23,42,.68));animation:chat-plane-bob 1.7s ease-in-out infinite;z-index:4}.chat-plane-indicator:hover{color:#fff}@keyframes share-avatar-bob{0%,to{transform:translate(-50%,-10px)}50%{transform:translate(-50%,-14px)}}@keyframes chat-plane-bob{0%,to{transform:translate(-50%,-42px)}50%{transform:translate(-50%,-47px)}}.float-chat-wrap{position:fixed;z-index:999;display:flex;flex-direction:column;border-radius:16px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(145deg,#0f172a85,#1e293b6b);box-shadow:0 24px 60px #0000008c,0 0 0 1px #0f172a59;backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);overflow:hidden;animation:float-chat-slide-in .32s cubic-bezier(.22,1,.36,1) both;min-width:280px;min-height:340px}@keyframes float-chat-slide-in{0%{opacity:0;transform:translate(80px) scale(.96)}to{opacity:1;transform:translate(0) scale(1)}}.float-chat-header{flex-shrink:0;display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.22);background:#0f172a52;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.float-chat-header:active{cursor:grabbing}.float-chat-back{flex-shrink:0;width:28px;height:28px;border:none;background:transparent;color:#94a3b8;font-size:18px;font-weight:400;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;transition:color .15s,background .15s}.float-chat-back:hover{color:#e5e7eb;background:#94a3b826}.float-chat-title{flex:1;display:flex;align-items:center;gap:8px;justify-content:center;font-size:14px;font-weight:600;color:#e5e7eb}.float-chat-title-avatar{width:24px;height:24px;border-radius:999px;overflow:hidden;object-fit:cover;border:1px solid rgba(148,163,184,.5)}.float-chat-title-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:#0f172ae6;font-size:12px;color:#e5e7eb}.float-chat-header-spacer{width:28px}.float-chat-messages{flex:1;min-height:0;overflow-y:auto;padding:12px 10px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.4) transparent}.float-chat-empty{text-align:center;color:#64748b;font-size:13px;padding:20px}.float-chat-msg{display:flex;align-items:flex-end;gap:6px}.float-chat-msg.self{justify-content:flex-end}.float-chat-msg-avatar{width:28px;height:28px;border-radius:999px;overflow:hidden;background:#0f172ae6;border:1px solid rgba(148,163,184,.5);display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#e5e7eb;flex-shrink:0}.float-chat-msg-avatar img{width:100%;height:100%;object-fit:cover}.float-chat-bubble{max-width:75%;padding:0;border-radius:0;font-size:13px;line-height:1.5;background:transparent;border:none;color:#e5e7eb;word-break:break-word}.float-chat-media{display:block;max-width:180px;max-height:180px;border-radius:10px;object-fit:cover}.float-chat-media-btn{position:relative;border:none;padding:0;background:transparent;cursor:pointer;border-radius:10px;overflow:hidden;display:inline-flex}.float-chat-media-btn .chat-media-video-badge{position:absolute;right:8px;bottom:8px}.float-chat-msg.self .float-chat-bubble{background:transparent;border-color:transparent}.float-chat-input-row{flex-shrink:0;display:flex;gap:8px;padding:10px;border-top:1px solid rgba(148,163,184,.22);background:#0f172a47}.float-chat-tool-btn{flex-shrink:0;width:auto;height:auto;padding:0;border-radius:0;border:none;background:transparent;color:#f8fafc;font-size:16px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:0}.float-chat-tool-btn svg{width:34px;height:34px;display:block}.tool-btn-loading{font-size:16px;line-height:1}.float-chat-tool-btn.active{border-color:transparent;box-shadow:none}.float-chat-tool-btn:disabled{opacity:.45;cursor:not-allowed}.float-chat-extra-row{padding:0 10px 8px;border-top:1px dashed rgba(148,163,184,.22);background:#0f172a3d}.float-chat-voice-tip{display:block;color:#cbd5e1;font-size:12px;margin:6px 0}.float-chat-attach-list{display:flex;flex-wrap:wrap;gap:6px}.float-chat-attach-item{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;border:1px solid rgba(148,163,184,.35);background:#1e293be6;color:#e2e8f0;font-size:12px}.float-chat-attach-item button{border:none;background:transparent;color:#94a3b8;cursor:pointer;font-size:14px;line-height:1}.float-chat-input{flex:1;border-radius:10px;border:1px solid rgba(148,163,184,.4);background:#0f172acc;color:#e5e7eb;font-size:13px;padding:7px 10px;outline:none;transition:border-color .15s}.float-chat-input:focus{border-color:#60a5fab3}.float-chat-send-btn{flex-shrink:0;width:auto;height:auto;padding:0;border-radius:0;border:none;background:transparent;color:#38bdf8;font-size:13px;cursor:pointer;transition:opacity .15s;display:inline-flex;align-items:center;justify-content:center;line-height:0}.float-chat-send-btn svg{width:34px;height:34px;display:block}.float-chat-send-btn:disabled{opacity:.45;cursor:not-allowed}.float-chat-resize-handle{position:absolute;right:0;bottom:0;width:18px;height:18px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,rgba(148,163,184,.4) 50%);border-radius:0 0 16px}.video-fullscreen-overlay{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;padding:56px 24px 24px;background:#020617e0;overflow:auto}.preview-media-scroll{max-width:100%;max-height:100%;overflow:auto;display:flex;align-items:center;justify-content:center}.video-fullscreen-player.original-size{display:block;width:auto;height:auto;max-width:min(96vw,1200px);max-height:calc(100vh - 96px);object-fit:contain;border-radius:12px;box-shadow:0 20px 48px #0009}.preview-close-btn{position:fixed;top:14px;right:14px;width:44px;height:44px;border-radius:999px;border:1px solid rgba(226,232,240,.24);background:#0f172ab8;color:#f8fafc;font-size:28px;line-height:1;cursor:pointer;z-index:1412;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.preview-close-btn:hover{background:#1e293be6}.preview-nav-btn{position:fixed;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:none;background:transparent;color:#e2e8f0;font-size:24px;line-height:1;cursor:pointer;z-index:1410;display:flex;align-items:center;justify-content:center;padding:0}.preview-nav-btn.prev{left:14px}.preview-nav-btn.next{right:14px}:root{--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px)}@media(max-width:480px){*{-webkit-text-size-adjust:100%;text-size-adjust:100%}.app-header{flex-direction:row!important;align-items:center!important;gap:0!important;padding:calc(8px + var(--safe-top)) 12px 8px!important;min-height:calc(44px + var(--safe-top));box-sizing:border-box}.brand{font-size:14px!important}.brand-logo{height:28px!important}.user-name{display:none!important}.user-info{display:flex!important;align-items:center;gap:6px}.header-avatar{width:32px!important;height:32px!important}.outline-button.logout-btn span:not(.btn-icon){display:none}.bottom-nav{height:calc(56px + var(--safe-bottom))!important;padding:6px 8px calc(6px + var(--safe-bottom))!important}.bottom-nav-item{flex:1;min-width:44px;min-height:44px;padding:4px!important;font-size:10px!important;-webkit-tap-highlight-color:rgba(59,130,246,.2)}.bottom-nav-icon{width:22px!important;height:22px!important}.bottom-nav-icon svg{width:22px!important;height:22px!important}.app-main{padding-bottom:calc(56px + var(--safe-bottom))!important;padding-left:var(--safe-left)!important;padding-right:var(--safe-right)!important}.app-main.app-main-authenticated{padding-bottom:calc(56px + var(--safe-bottom))!important}.map-root{border-radius:0!important}.amap-toolbar{bottom:calc(68px + var(--safe-bottom))!important;right:12px!important}.amap-copyright{bottom:calc(60px + var(--safe-bottom))!important}.map-panel .map-fab,.map-panel [class*=locate],.map-panel [class*=zoom]{bottom:calc(70px + var(--safe-bottom))!important}.mobile-chat-back-bar{display:flex!important;align-items:center;gap:8px;flex-shrink:0;padding:10px 12px;background:#0f172af5;border-bottom:1px solid rgba(148,163,184,.2);z-index:5}.mobile-chat-back-btn{border:none;background:transparent;color:#60a5fa;font-size:17px;font-weight:500;padding:4px 8px;min-width:60px;min-height:36px;cursor:pointer;display:flex;align-items:center;flex-shrink:0;border-radius:8px;-webkit-tap-highlight-color:rgba(59,130,246,.2)}.mobile-chat-back-title{flex:1;font-size:16px;font-weight:600;color:#e5e7eb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.chat-wrap{flex-direction:column!important;height:calc(100dvh - 44px - var(--safe-top));min-height:calc(100dvh - 44px - var(--safe-top))}.chat-sidebar{width:100%!important;min-width:100%!important;max-width:100%!important;border-right:none!important;border-bottom:1px solid rgba(148,163,184,.2)!important;max-height:45vh;min-height:0;overflow-y:auto}.chat-wrap.has-selected .chat-sidebar{max-height:0;overflow:hidden;border-bottom:none!important;padding:0}.chat-main{flex:1!important;min-height:0!important;max-height:none!important;display:flex;flex-direction:column}.chat-messages{flex:1;min-height:0;overflow-y:auto;padding:8px 10px!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:calc(76px + var(--safe-bottom))!important}.chat-msg .chat-bubble{max-width:82%!important}.chat-input-wrap{position:sticky;bottom:0;left:0;right:0;z-index:60;margin-top:auto;padding:8px 10px calc(8px + var(--safe-bottom))!important;background:#0f172af7;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(148,163,184,.2);box-sizing:border-box}.chat-toolbar{padding:6px 10px!important;min-height:48px}.chat-toolbar button,.chat-toolbar-back{min-width:44px!important;min-height:44px!important;display:inline-flex;align-items:center;justify-content:center}.chat-conv-item{min-height:60px;padding:10px 12px!important}.chat-sidebar-new-btn{min-width:44px;min-height:44px}.modal-overlay{align-items:flex-end!important;padding-bottom:var(--safe-bottom)!important}.modal-content{width:100%!important;max-width:100%!important;max-height:85vh!important;max-height:85dvh!important;border-radius:20px 20px 0 0!important;padding:16px 16px calc(16px + var(--safe-bottom))!important;overflow-y:auto;-webkit-overflow-scrolling:touch}.modal-content.settings-modal{max-height:92vh!important;max-height:92dvh!important;border-radius:20px 20px 0 0!important}.modal-content:before{content:"";display:block;width:40px;height:4px;border-radius:999px;background:#94a3b880;margin:0 auto 12px;flex-shrink:0}.modal-content button,.modal-content .primary-button,.modal-content .outline-button{min-height:44px}.modal-user-item{min-height:48px!important;font-size:15px!important}.safety-native-hero{flex-direction:column;align-items:stretch}.safety-native-primary-btn,.safety-native-inline-action{width:100%}.safety-native-check-item{flex-direction:column;align-items:stretch}.form-row{grid-template-columns:1fr!important;gap:6px!important}.form-field input,.form-field select,.chat-input,.float-chat-input{font-size:16px!important}.setting-row,.settings-toggle-row{min-height:48px;padding:10px 0!important}.settings-section-title{font-size:13px!important}.profile-hero{flex-direction:column!important;align-items:center!important;text-align:center;padding:16px 12px 8px!important}.profile-hero-avatar{width:80px!important;height:80px!important}.profile-hero-text{align-items:center}.float-chat-wrap{position:fixed!important;inset:auto!important;width:auto!important;height:auto!important;min-width:280px!important;min-height:340px!important;max-width:min(92vw,360px)!important;max-height:min(78dvh,calc(100dvh - var(--safe-top) - var(--safe-bottom) - 24px))!important;border-radius:16px!important;z-index:1200!important;padding-top:0!important;padding-bottom:0!important}.float-chat-wrap .float-chat-messages{padding-bottom:12px!important}.float-chat-wrap .float-chat-input-row{padding-bottom:calc(10px + var(--safe-bottom))!important}.float-chat-header{cursor:grab!important;padding-top:calc(10px + var(--safe-top))!important;touch-action:none!important}.float-chat-resize-handle,.share-preview-resize-handle{display:none!important}.share-list{padding-inline:8px!important}.share-card{border-radius:12px!important;margin-bottom:10px!important}.contacts-wrap{padding-bottom:calc(8px + var(--safe-bottom))!important}.contact-row{flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:12px!important}.contact-main{align-items:center!important}.contact-actions{justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important}.contact-actions button{min-height:38px!important;padding:6px 12px!important;font-size:13px!important}.view-toggle{display:none!important;height:0!important;min-height:0!important}.safety-reminder-modal,.safety-summary-modal{width:100%!important;max-width:100%!important;max-height:82vh!important;max-height:82dvh!important;border-radius:20px 20px 0 0!important;margin:auto 0 0!important;padding-bottom:calc(16px + var(--safe-bottom))!important}.video-fullscreen-overlay{padding:calc(52px + var(--safe-top)) 8px 8px!important;align-items:center!important}.preview-close-btn{top:calc(8px + var(--safe-top))!important;right:8px!important;width:40px!important;height:40px!important;font-size:24px!important}.video-fullscreen-player.original-size{max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 72px - var(--safe-top))!important}.preview-nav-btn.prev{left:8px!important}.preview-nav-btn.next{right:8px!important}.toast-container,[class*=toast]{bottom:calc(72px + var(--safe-bottom))!important;left:50%!important;transform:translate(-50%)!important;max-width:calc(100vw - 32px)!important;font-size:13px!important}.popup-card{padding:12px!important;min-width:200px!important;max-width:calc(100vw - 32px)!important}.popup-name-main{font-size:15px!important}.modal-user-list{max-height:50vh!important;max-height:50dvh!important}.primary-button,.outline-button{min-height:44px!important;font-size:15px!important;padding:10px 16px!important}.graph-root{border-radius:0!important}.qrcode-wrap{padding:12px!important}button,a,[role=button]{-webkit-tap-highlight-color:rgba(59,130,246,.18);touch-action:manipulation}.chat-conv-list,.share-list,.contacts-list,.settings-modal,.modal-content{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}}@media(max-width:320px){.bottom-nav-label{font-size:9px!important}.bottom-nav-icon{width:20px!important;height:20px!important}.bottom-nav-icon svg{width:20px!important;height:20px!important}.brand{font-size:13px!important}}@media(max-height:500px)and (max-width:900px){.bottom-nav{width:calc(56px + var(--safe-left))!important;height:100%!important;inset:0 auto 0 0!important;flex-direction:column!important;padding:var(--safe-top) 0 var(--safe-bottom) var(--safe-left)!important;border-top:none!important;border-right:1px solid rgba(30,64,175,.8)!important;box-shadow:12px 0 30px #0f172a!important;justify-content:center!important;gap:4px!important}.app-main{padding-bottom:0!important;padding-left:calc(56px + var(--safe-left))!important}.app-header{padding-top:calc(4px + var(--safe-top))!important;padding-bottom:4px!important;min-height:36px!important}.modal-overlay{align-items:center!important}.modal-content{border-radius:16px!important;max-height:90vh!important}}
