.install-guide-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:flex-end;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#17131f73}.install-guide-backdrop.hidden{display:none}.install-guide{position:relative;width:min(100%,460px);padding:24px 20px 20px;border-radius:24px 24px 18px 18px;background:#fff;box-shadow:0 20px 60px #17131f40;color:#27222f}.install-guide h2{margin:10px 48px 6px 0;font-size:21px}.install-guide p{margin:0 0 16px;color:#6f6877;line-height:1.5}.install-guide-mark{display:block;width:52px;height:52px;border-radius:15px;background:#eef4ff;object-fit:cover;box-shadow:0 7px 18px #6844d426}.install-guide ol{display:grid;gap:8px;margin:0 0 16px;padding:0;list-style:none}.install-guide li{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;border-radius:13px;background:#f5f2fb}.install-guide li b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#6844d4;color:#fff}.install-guide-close{position:absolute;top:14px;right:14px}.install-guide button{min-width:44px;min-height:44px;border:0;border-radius:12px;font:inherit;font-weight:800;touch-action:manipulation}.install-guide-close{background:#f0edf4;color:#51495a;font-size:22px}.install-guide-done{width:100%;background:#6844d4;color:#fff}.install-guide button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}@media (min-width:701px){.install-guide-backdrop{align-items:center}.install-guide{border-radius:24px}}.pwa-install-guide{position:fixed;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(66px + env(safe-area-inset-bottom));z-index:1100;display:grid;gap:8px;max-width:460px;margin:0 auto;padding:14px 14px 12px;border-radius:18px;background:#fff;box-shadow:0 14px 40px #17131f3d;border:1px solid #e6e1f2;color:#27222f}.pwa-install-guide[hidden]{display:none}.pwa-install-guide-title{margin:0;font-size:16px;font-weight:800;line-height:1.35;color:#4a2fb0}.pwa-install-guide-note{margin:0;font-size:13px;line-height:1.5;color:#6f6877}.pwa-install-guide-steps{display:grid;gap:6px;margin:0;padding:0 0 0 20px;font-size:14px;line-height:1.5}.pwa-install-guide-steps li{padding:2px 0}.pwa-install-guide-actions{display:flex;flex-wrap:wrap;gap:8px}.pwa-install-guide button{flex:1;min-width:44px;min-height:44px;padding:0 14px;border:0;border-radius:12px;font:inherit;font-weight:800;touch-action:manipulation;cursor:pointer}.pwa-install-guide-action{background:#6844d4;color:#fff}.pwa-install-guide-close{background:#f0edf4;color:#51495a}.pwa-install-guide button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}@media (min-width:701px){.pwa-install-guide{bottom:max(16px,env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:no-preference){.pwa-install-guide{animation:pwa-install-guide-in .18s ease-out}@keyframes pwa-install-guide-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}.install-invite-backdrop{position:fixed;inset:0;z-index:1210;display:flex;align-items:flex-end;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#17131f73}.install-invite-backdrop.hidden{display:none}.install-invite-card{position:relative;width:min(100%,460px);padding:22px 18px;border-radius:20px;background:#fff;color:#27222f;box-shadow:0 20px 60px #17131f40}.install-invite-card h2{margin:0 48px 8px 0}.install-invite-card p,.install-invite-card small{color:#6f6877;line-height:1.5}.install-invite-card ol{display:grid;gap:8px;padding-left:24px}.install-invite-card button{min-height:44px;border:1px solid #ded6e8;border-radius:11px;background:#fff;color:#5f3fc2;font:inherit;font-weight:800}.install-invite-card>button:not(.install-invite-close){width:100%;margin-top:8px}.install-invite-card .install-invite-primary{background:#6844d4;color:#fff}.install-invite-close{position:absolute;top:12px;right:12px;width:44px;font-size:22px}.install-invite-card small{display:block;margin-top:10px}@media (min-width:701px){.install-invite-backdrop{align-items:center}}:root{--ink:#242224;--muted:#8b8684;--cream:#f5f1e9;--purple:#7452d8;--line:#e8e2d9}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:#eae5dc;color:var(--ink);font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif}button,input{font:inherit}button{color:inherit}.hidden{display:none!important}.loading{height:100dvh;display:grid;place-content:center;justify-items:center;gap:14px;color:#888078}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#fff;background:var(--purple);font-family:serif;font-size:19px;box-shadow:0 8px 20px #7452d840}.loading .brand-mark{animation:pulse 1.4s infinite}.app-shell{width:min(1220px,calc(100vw - 48px));height:min(820px,calc(100dvh - 48px));min-height:620px;margin:24px auto;display:grid;grid-template-columns:300px 1fr;background:#fffdfa;border:1px solid #4a3d2d1f;border-radius:25px;box-shadow:0 28px 80px #3d322726;overflow:hidden}.sidebar{display:flex;min-width:0;flex-direction:column;padding:31px 22px 22px;background:var(--cream);border-right:1px solid var(--line)}.brand-row{display:flex;align-items:center;gap:12px;padding:0 9px 25px}.brand-row h1{margin:0 0 2px;font:23px Georgia,Songti SC,serif;letter-spacing:2px}.brand-row p{margin:0;color:var(--muted);font-size:12px}.new-chat{height:48px;border:0;border-radius:14px;background:var(--purple);color:#fff;font-weight:700;cursor:pointer}.new-chat span{font-size:20px;margin-right:7px}.section-label{margin:28px 10px 12px;color:#aaa29e;font-size:11px;font-weight:700;letter-spacing:2px}.friend-list{min-height:0;overflow:auto}.conversation{width:100%;display:flex;align-items:center;gap:11px;padding:11px 10px;border:0;border-radius:15px;background:transparent;text-align:left;cursor:pointer}.conversation:hover,.conversation.active{background:#ebe5dc}.avatar{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:13px;font-weight:700;color:#735a4b;background:#f2cbb7}.avatar.blue{color:#475d79;background:#cad9ea}.avatar.green{color:#4c695a;background:#cfe1d5}.avatar.dark{color:#fff;background:#302e31}.avatar.large{width:44px;height:44px}.conversation-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.conversation-copy b{font-size:13px}.conversation-copy small{overflow:hidden;color:#99918d;font-size:10px;text-overflow:ellipsis}.online-dot{width:7px;height:7px;border-radius:50%;background:#61b785}.no-friends{padding:34px 20px;color:#97908b;text-align:center}.no-friends span{color:#8b70de;font-size:28px}.no-friends p{margin:10px 0 7px;color:#4f4947;font-weight:700;font-size:13px}.no-friends small{font-size:10px;line-height:1.6}.profile{display:flex;align-items:center;gap:10px;margin-top:auto;padding:17px 8px 1px;border-top:1px solid #ded7cd}.profile>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;font-size:12px}.profile small{overflow:hidden;color:#8d8783;font-size:9px;text-overflow:ellipsis}.profile button{border:0;background:transparent;color:var(--purple);font-size:10px;font-weight:700;cursor:pointer}.chat-panel{min-width:0;display:flex;flex-direction:column;background:#fffdfa}.chat-header{height:82px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line)}.chat-header>div:first-of-type{display:flex;align-items:center;gap:12px}.chat-header>div:first-of-type>span:last-child{display:flex;flex-direction:column;gap:4px}.chat-header b{font:16px Georgia,Songti SC,serif}.chat-header small{color:#8d8783;font-size:10px}.chat-header small i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#54ad7b}.header-actions{display:flex;gap:7px}.header-actions button,.mobile-back{width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.mobile-back{display:none;font-size:25px}.messages{flex:1;overflow:auto;padding:22px 42px 24px}.date-pill{width:max-content;margin:0 auto 24px;padding:6px 12px;border-radius:99px;color:#aaa19b;background:#f5f1ea;font-size:9px}.message-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px}.message-row.mine{justify-content:flex-end}.message-row>div{max-width:min(560px,72vw)}.bubble{padding:12px 16px;border-radius:6px 17px 17px;background:#f1ede7;font-size:14px;line-height:1.65;box-shadow:0 2px 5px #322b240a}.mine .bubble{border-radius:17px 6px 17px 17px;background:var(--purple);color:#fff}.message-time{display:block;padding:6px 5px 0;color:#b0a9a5;font-size:9px}.mine .message-time{text-align:right}.voice-bubble{display:flex;min-width:230px;align-items:center;gap:10px;cursor:pointer}.play{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:#ffffff30;color:inherit;cursor:pointer}.wave{height:22px;flex:1;display:flex;align-items:center;gap:3px}.wave i{width:2px;border-radius:2px;background:currentColor;opacity:.75}.wave i:nth-child(3n+1){height:8px}.wave i:nth-child(3n+2){height:18px}.wave i:nth-child(3n){height:12px}.empty{padding:90px 20px;color:#918987;text-align:center}.empty>span{color:var(--purple);font-size:27px}.empty h2{margin:13px 0 8px;color:#413c3c;font:22px Georgia,Songti SC,serif}.empty p{margin:0;font-size:13px}.empty button{margin-top:18px;padding:10px 16px;border:0;border-radius:10px;background:#eee9f9;color:#6140c3;font-weight:700;cursor:pointer}.composer-wrap{flex:0 0 auto;padding:13px 37px 18px;border-top:1px solid var(--line)}.composer{display:flex;align-items:center;gap:8px;padding:6px 7px 6px 9px;border:1px solid #ded8cf;border-radius:18px;background:#fff;box-shadow:0 6px 20px #3c33290a}.composer:focus-within{border-color:#a894e3;box-shadow:0 0 0 3px #7452d814}.composer input{flex:1;min-width:0;height:38px;border:0;outline:0;background:transparent}.mic{width:50px;height:50px;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:50%;background:var(--purple);color:#fff;box-shadow:0 7px 18px #7452d847;cursor:pointer}.mic span{font-size:24px;line-height:1;filter:grayscale(1) brightness(0) invert(1)}.mic.recording{background:#df5a63;animation:pulse 1s infinite}.emoji,.send{width:36px;height:36px;flex:0 0 auto;border:0;border-radius:10px;cursor:pointer}.emoji{background:transparent;color:#9d9591}.send{background:var(--purple);color:#fff}.send:disabled{opacity:.35}.composer-hint{margin:8px 0 0;color:#b3aca7;text-align:center;font-size:9px}.notice{margin:0 0 8px;color:#c34d55;text-align:center;font-size:11px}.recording-card{width:220px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin:10px 0 15px auto;padding:12px 14px;border-radius:15px;color:#fff;background:#312c33;font-size:12px}.recording-card small{grid-column:2/4;color:#bab2bb;font-size:9px}.recording-card .pulse-dot{width:9px;height:9px;border-radius:50%;background:#ff6d75;animation:pulse 1s infinite}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#27222673;backdrop-filter:blur(5px)}.friend-modal{position:relative;width:min(420px,100%);padding:35px;border-radius:22px;background:#fffdfa;box-shadow:0 30px 90px #19141840;text-align:center}.modal-close{position:absolute;top:15px;right:16px;width:31px;height:31px;border:0;border-radius:50%;background:#f0ece5;font-size:20px;cursor:pointer}.modal-symbol{display:grid;place-items:center;width:47px;height:47px;margin:0 auto 14px;border-radius:15px;background:#eee9fa;color:var(--purple);font-size:25px}.friend-modal h2{margin:0 0 8px;font-family:Georgia,Songti SC,serif}.friend-modal>p{margin:0 0 22px;color:#98908c;font-size:12px}.friend-modal form{display:flex;gap:8px}.friend-modal form input{min-width:0;flex:1;min-height:44px;padding:0 13px;border:1px solid #ddd5ca;border-radius:11px;outline:0;text-transform:uppercase;letter-spacing:2px}.friend-modal form button{border:0;border-radius:11px;padding:0 16px;background:var(--purple);color:#fff;font-weight:700}.modal-error{margin:10px 0!important;color:#c34d55!important}.my-code{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;margin-top:24px;padding:14px 16px;border-radius:13px;background:#f3efe8;text-align:left}.my-code small{color:#9d9590;font-size:9px}.my-code b{grid-column:1;font-size:15px;letter-spacing:2px}.my-code button{grid-column:2;grid-row:1/3;border:0;background:transparent;color:var(--purple);font-size:11px;font-weight:700}.tablet-only{display:none}@keyframes pulse{50%{opacity:.58;transform:scale(.94)}}@media (max-width:1024px) and (min-width:701px){.app-shell{width:calc(100vw - 24px);height:calc(100dvh - 24px);margin:12px auto;grid-template-columns:245px 1fr}.sidebar{padding:24px 14px 17px}.brand-row{padding-left:6px}.messages{padding:20px 24px}.composer-wrap{padding:12px 20px 16px}}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){body{background:#fffdfa}.app-shell{width:100%;height:var(--app-height,100vh);min-height:0;margin:0;display:block;border:0;border-radius:0;box-shadow:none}.sidebar{height:100%;padding:24px 16px 18px;border:0}.chat-panel{display:none;height:100%}.app-shell.chat-open .sidebar{display:none}.app-shell.chat-open .chat-panel{display:flex}.chat-header{height:72px;padding:0 13px}.mobile-back{display:block;flex:0 0 auto;margin-right:4px}.header-actions button:last-child{display:none}.messages{padding:18px 14px}.message-row>div{max-width:82vw}.bubble{font-size:13px}.composer-wrap{padding:10px 10px calc(13px + env(safe-area-inset-bottom))}.composer{gap:5px;padding-left:5px}.mic{width:52px;height:52px}.emoji{display:none}.friend-modal{padding:32px 22px}.friend-modal form{flex-direction:column}.friend-modal form button{height:43px}}@media (prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}.connection-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#54ad7b;box-shadow:0 0 0 3px #54ad7b18}.connection-dot.offline{background:#d89b52}.unread-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--purple);color:#fff;font-size:10px;font-weight:700}.bubble{overflow-wrap:anywhere}.recording-bar{display:grid;grid-template-columns:auto auto auto 1fr;align-items:center;gap:8px;margin:0 0 9px;padding:10px 13px;border-radius:12px;background:#302d32;color:#fff;font-size:11px}.recording-bar time{color:#ff9aa0;font-variant-numeric:tabular-nums}.recording-bar>span:last-child{color:#bbb4bc;text-align:right}.recording-pulse{width:8px;height:8px;border-radius:50%;background:#ff6872;animation:pulse 1s infinite}.toast{position:fixed;z-index:40;left:50%;bottom:32px;transform:translate(-50%);max-width:calc(100vw - 32px);padding:11px 17px;border-radius:99px;background:#302d32;color:#fff;box-shadow:0 12px 35px #211b2138;font-size:12px}button:focus-visible,input:focus-visible{outline:3px solid #7452d833;outline-offset:2px}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){body{background:var(--cream)}.app-shell{height:var(--app-height,100dvh);min-height:0}.recording-bar{grid-template-columns:auto auto auto}.recording-bar>span:last-child{display:none}.toast{bottom:calc(20px + env(safe-area-inset-bottom))}}.expiry-control{display:flex;align-items:center;gap:5px;padding:0 8px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#8d8783;font-size:10px}.expiry-control select{max-width:72px;border:0;outline:0;background:transparent;color:#5b5553;font-size:10px}.header-actions button:disabled,.expiry-control:has(select:disabled){opacity:.4;cursor:not-allowed}.call-overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#242126e8;backdrop-filter:blur(12px)}.call-overlay section{width:min(360px,100%);color:#fff;text-align:center}.call-avatar{width:86px;height:86px;margin:0 auto 22px;font-size:27px;box-shadow:0 18px 50px #0005}.call-overlay h2{margin:0 0 8px;font:26px Georgia,Songti SC,serif}.call-overlay p{margin:0 0 48px;color:#c5bec7;font-size:13px}.call-actions{display:flex;justify-content:center;gap:26px}.call-actions button{display:flex;width:64px;height:64px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:50%;background:#ffffff20;color:#fff;font-size:20px;cursor:pointer}.call-actions small{font-size:9px}.call-actions .hangup{background:#e3535c;transform:rotate(135deg)}.call-actions .hangup small{transform:rotate(-135deg)}.call-actions .answer{background:#55b97e}.call-actions .muted{background:#fff;color:#302d32}.call-quality{display:block;min-height:18px;margin:-36px 0 34px;color:#9edab7;font-size:11px}.call-actions{flex-wrap:wrap;gap:18px}.call-actions .reject{background:#e3535c}.call-actions button:focus-visible{outline:3px solid #fff;outline-offset:3px}@media (max-width:420px){.call-actions{gap:12px}.call-actions button{width:58px;height:58px}}.call-video-stage{position:relative;width:min(76vw,380px);aspect-ratio:16/9;margin:0 auto 16px;overflow:hidden;border-radius:12px;background:#111}.call-video-stage video{width:100%;height:100%;object-fit:cover}.call-video-stage #localVideo{position:absolute;right:10px;bottom:10px;width:30%;height:auto;aspect-ratio:4/3;border:2px solid #fff;border-radius:8px;background:#222}.call-overlay:not(.video-call) .call-video-stage{display:none}.video-call .call-avatar{display:none}.video-message{display:block;max-width:min(320px,70vw);border-radius:10px;background:#111}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.chat-header{gap:6px}.chat-header>div:first-of-type{min-width:0;flex:1}.chat-header>div:first-of-type>span:last-child{min-width:0}.chat-header b,.chat-header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expiry-control{padding:0 5px}.expiry-control span{display:none}.expiry-control select{width:58px}.header-actions{gap:4px}.header-actions button,.mobile-back{width:36px;height:36px}}.header-actions svg,.emoji svg,.send svg,.mic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mic svg{width:25px;height:25px;stroke-width:1.7}.mic.recording svg{display:none}.mic.recording:after{content:"";width:15px;height:15px;border-radius:4px;background:#fff}.emoji-picker{position:absolute;right:37px;bottom:88px;z-index:12;width:330px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fffdfa;box-shadow:0 20px 55px #332a2430}.emoji-picker header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.emoji-picker header b{font-size:13px}.emoji-picker header button{width:28px;height:28px;border:0;border-radius:50%;background:#f1ece5;color:#756e69;cursor:pointer}.emoji-picker nav{display:flex;gap:5px;margin-bottom:10px;border-bottom:1px solid var(--line)}.emoji-picker nav button{padding:7px 9px;border:0;border-bottom:2px solid transparent;background:transparent;color:#918986;font-size:11px;cursor:pointer}.emoji-picker nav button.active{border-color:var(--purple);color:var(--purple);font-weight:700}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;max-height:190px;overflow:auto}.emoji-grid button{display:grid;place-items:center;aspect-ratio:1;border:0;border-radius:9px;background:transparent;font-size:22px;cursor:pointer}.emoji-grid button:hover{background:#f0ebfa}.emoji,.send{display:grid;place-items:center}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.emoji{display:grid}.emoji-picker{right:10px;bottom:84px;width:calc(100vw - 20px)}.emoji-grid{grid-template-columns:repeat(8,1fr)}.emoji-grid button{font-size:21px}}.sidebar-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.sidebar-tools button{height:34px;border:1px solid #ded7cd;border-radius:10px;background:#fffdfa;color:#6f6763;font-size:10px;cursor:pointer}.sidebar-tools span:not(:empty){display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:3px;border-radius:50%;background:#e3535c;color:#fff}.group-label{margin-top:16px}.group-list{max-height:155px;overflow:auto}.group-empty{display:block;padding:4px 11px 12px;color:#aaa29e;font-size:10px}.profile{flex-wrap:wrap}.profile button{padding:4px}.profile>span:nth-child(2){min-width:100px}.friend-manager{width:38px;height:38px;flex:0 0 auto;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.wide-modal{width:min(520px,100%)}.account-modal form,.wide-modal form{display:grid;gap:9px}.account-modal form input,.wide-modal form>input{height:44px;padding:0 13px;border:1px solid #ddd5ca;border-radius:11px;outline:0}.account-modal form>button,.wide-modal form>button{height:43px;border:0;border-radius:11px;background:var(--purple);color:#fff;font-weight:700}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:14px;padding:4px;border-radius:11px;background:#f0ebe4}.auth-tabs button{min-height:44px;border:0;border-radius:8px;background:transparent;color:#8d8581}.auth-tabs button.active{background:#fff;color:var(--purple);box-shadow:0 3px 10px #332a2412}.request-list h3{margin:18px 0 8px;text-align:left;font-size:12px}.result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid var(--line);text-align:left}.result-row span{display:flex;min-width:0;flex-direction:column;gap:4px}.result-row small{color:#99918d}.result-row button{min-height:44px;padding:7px 10px;border:0;border-radius:8px;background:#eee9fa;color:var(--purple);font-size:10px;font-weight:700}.member-picker{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:220px;overflow:auto;text-align:left}.member-picker label{padding:10px;border-radius:9px;background:#f5f1e9;font-size:12px}.danger-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.danger-actions button{min-height:44px;border:1px solid #e8b8bb;border-radius:10px;background:#fff4f4;color:#c9444c;font-weight:700}.sender-name{display:block;margin:0 0 4px 5px;color:#8e8782;font-size:9px}.muted-result{color:#99918d;font-size:12px}.conversation.pinned{background:#f2edff;border-color:#cfc2f3}.conversation.pinned .conversation-copy b:after{content:" \b7  \7f6e\9876";color:#7452d8;font-size:9px}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.sidebar{overflow:auto}.friend-list{flex:0 0 auto;max-height:38vh}.group-list{max-height:25vh}.friend-manager{width:34px;height:34px}.member-picker{grid-template-columns:1fr}}.profile{display:grid;grid-template-columns:auto minmax(65px,1fr) auto auto;flex-wrap:nowrap}.profile>span:nth-child(2){min-width:0}.friend-manager{margin-left:auto}.reply-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;padding:9px 12px;border-left:3px solid var(--purple);border-radius:9px;background:#f3effc}.reply-preview span{display:flex;min-width:0;flex-direction:column}.reply-preview small{overflow:hidden;max-width:520px;color:#777;text-overflow:ellipsis;white-space:nowrap}.reply-preview button{min-width:44px;min-height:44px;border:0;background:transparent;font-size:20px}.recalled-message{color:#928b88!important;background:#f3f0eb!important;font-style:italic}.security-list{display:grid;gap:7px;max-height:260px;margin:14px 0;overflow:auto;text-align:left}.security-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border-radius:10px;background:#f5f1e9}.security-row span{display:flex;min-width:0;flex-direction:column;gap:4px}.security-row small{color:#8e8782}.security-row button,.danger-wide{min-height:44px;padding:8px 11px;border:0;border-radius:8px;background:#eee9fa;color:var(--purple)}.danger-wide{width:100%;background:#fff0f0;color:#c9444c}.message-row[data-message-id]{cursor:pointer;touch-action:pan-y;-webkit-touch-callout:none}.quoted-message{display:flex;flex-direction:column;gap:2px;margin-bottom:5px;padding:7px 10px;border-left:3px solid #9a82e4;border-radius:7px;background:#0000000c;font-size:10px}.mine .quoted-message{background:#ffffff1c}.quoted-message small{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.action-sheet-backdrop{align-items:end}.message-actions{width:min(420px,100%);display:grid;gap:8px;padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#fff}.message-actions>strong{padding:4px;text-align:center;color:#746c67;font-size:13px}.message-actions button{min-height:48px;border:0;border-radius:12px;background:#f2eee8;font-weight:700}.message-actions #recallAction{color:#c9444c}.member-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.member-actions button{min-height:44px}.group-danger-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.group-danger-actions button{min-height:44px}#groupInviteList button{min-height:44px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--purple)}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.friend-modal.wide-modal{max-height:calc(100dvh - 24px);overflow:auto}.security-row{align-items:flex-start;flex-direction:column}.member-actions{width:100%;justify-content:flex-start}.member-actions button{min-height:44px}.group-danger-actions{grid-template-columns:1fr}}.security-primary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.security-primary button,.password-form button,#sessionRelogin{min-height:44px;border:0;border-radius:10px;background:#eee9fa;color:var(--purple);font-weight:700}.security-primary #logoutAccount{background:#fff0f0;color:#c9444c}.password-form{display:grid!important;gap:8px;margin:12px 0}.password-form.hidden{display:none!important}.password-form input{height:46px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font-size:16px}@media (max-width:520px){.security-primary{grid-template-columns:1fr}.security-primary button{width:100%}}.bubble{white-space:pre-wrap}.call-overlay.video-call{display:block;padding:0;background:#09090b;backdrop-filter:none}.call-overlay.video-call>section{position:relative;width:100%;height:var(--app-height,100dvh);max-width:none;overflow:hidden;text-align:left}.video-call .call-video-stage{position:absolute;inset:0;width:100%;height:100%;margin:0;aspect-ratio:auto;border-radius:0;background:#09090b}.video-call .call-video-stage #remoteVideo{width:100%;height:100%;object-fit:cover;transform:none}.video-call .call-video-stage #localVideo{position:absolute;z-index:3;top:max(16px,calc(env(safe-area-inset-top) + 12px));right:max(12px,env(safe-area-inset-right));bottom:auto;width:clamp(104px,26vw,180px);height:auto;aspect-ratio:3/4;object-fit:cover;border:2px solid #ffffffd9;border-radius:16px;background:#242126;box-shadow:0 12px 38px #0008;touch-action:none;cursor:grab;transition:left .18s ease,top .18s ease}.video-call .call-video-stage #localVideo.local-facing-user{transform:scaleX(-1)}.video-call .call-video-stage #localVideo.local-facing-environment{transform:none}.call-overlay:not(.video-call) #switchCameraCall{display:none}.video-call .call-video-stage #localVideo.dragging{cursor:grabbing;transition:none}.video-call.local-camera-off #localVideo{filter:brightness(.28) grayscale(.35)}.video-call .call-video-hint{position:absolute;z-index:1;left:50%;top:50%;padding:10px 14px;transform:translate(-50%,-50%);border-radius:99px;background:#0008;color:#e8e4ea;font-size:12px;white-space:nowrap}.video-call .call-video-stage.remote-ready .call-video-hint{display:none}.video-call h2,.video-call #callStatus,.video-call .call-quality{position:absolute;z-index:2;left:max(16px,calc(env(safe-area-inset-left) + 14px));max-width:calc(100% - clamp(156px,32vw,220px));margin:0;color:#fff;text-shadow:0 2px 12px #000}.video-call h2{top:max(18px,calc(env(safe-area-inset-top) + 14px));font:700 22px Arial,PingFang SC,sans-serif}.video-call #callStatus{top:max(52px,calc(env(safe-area-inset-top) + 48px));font-size:13px}.video-call .call-quality{top:max(78px,calc(env(safe-area-inset-top) + 74px));min-height:18px;font-size:11px}.video-call .call-actions{position:absolute;z-index:4;left:50%;bottom:max(20px,calc(env(safe-area-inset-bottom) + 16px));width:min(680px,calc(100% - 24px));margin:0;padding:10px 12px;transform:translate(-50%);flex-wrap:nowrap;gap:clamp(10px,4vw,26px);border:1px solid #ffffff1f;border-radius:36px;background:#17151abd;box-shadow:0 14px 38px #0007;backdrop-filter:blur(16px)}@media (max-width:420px){.video-call .call-actions{gap:6px;padding:8px}.video-call .call-actions button{width:50px;height:50px}}@media (max-height:520px) and (orientation:landscape){.video-call .call-video-stage #localVideo{width:clamp(96px,18vw,150px);aspect-ratio:4/3}.video-call .call-actions{bottom:max(8px,env(safe-area-inset-bottom));padding:6px 10px}.video-call .call-actions button{width:52px;height:52px}.video-call .call-quality{display:none}}.sidebar-primary-actions #createMahjongGroup{border:1px solid rgba(15,118,110,.22);background:#ecfdf5;color:#0f766e;font-weight:900}.conversation.mahjong-group{border-color:#0f766e38;background:linear-gradient(135deg,#f0fdfa,#fff)}.conversation.mahjong-group .avatar{background:#0f766e;color:#fff;box-shadow:0 10px 24px #0f766e2e}.conversation.mahjong-group b{color:#0f766e}.conversation.mahjong-group small{color:#64748b}.mahjong-chat-tools.hidden{display:none}.mahjong-chat-tools button{min-height:42px;border:1px solid rgba(15,118,110,.2);border-radius:14px;background:#fff;color:#0f766e;font-size:14px;font-weight:900}.mahjong-chat-tools button:hover{background:#ecfdf5}.group-form-hint{margin:8px 0 12px;color:#64748b;font-size:14px}.mahjong-score-card{display:grid;gap:8px;min-width:min(100%,420px);padding:14px;border:1px solid rgba(15,118,110,.18);border-radius:18px;background:#fff;box-shadow:0 10px 24px #0f172a14}.mahjong-score-card b{color:#0f766e;font-size:16px}.mahjong-score-card small{color:#64748b}.mahjong-score-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mahjong-score-card-grid span{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:12px;background:#f8fafc;color:#0f172a;font-size:14px;font-weight:850}.mahjong-score-card-grid .positive{color:#16a34a}.mahjong-score-card-grid .negative{color:#dc2626}.mahjong-score-card-grid .zero{color:#64748b}@media (max-width:700px){.sidebar-primary-actions{grid-template-columns:1fr 1fr}.sidebar-primary-actions .new-chat{grid-column:1/-1}.mahjong-chat-tools{grid-template-columns:1fr 1fr 1fr}.mahjong-chat-tools button{min-height:44px;font-size:13px}.mahjong-score-card{min-width:0;width:100%}}.mahjong-score-card.mahjong-card-v2{width:min(100%,480px);max-width:480px;gap:11px;padding:15px;border:1px solid rgba(15,118,110,.2);border-radius:22px;background:linear-gradient(180deg,#fff 0,#f7fffc);box-shadow:0 14px 30px #0f172a1a;white-space:normal}.mahjong-score-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.mahjong-score-card-head>span{display:grid;place-items:center;width:40px;height:40px;border-radius:15px;background:#0f766e;color:#fff;box-shadow:0 10px 22px #0f766e2e}.mahjong-score-card-head em{display:grid;gap:3px;min-width:0;font-style:normal}.mahjong-score-card-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.mahjong-score-card-status{padding:5px 8px;border-radius:999px;background:#dcfce7;color:#047857;font-size:11px;font-style:normal;font-weight:900;white-space:nowrap}.mahjong-card-v2 p{margin:0;color:#475569;font-size:13px;line-height:1.5}.mahjong-card-v2 .mahjong-score-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mahjong-card-v2 .mahjong-score-card-grid span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:10px 11px;border:1px solid rgba(15,23,42,.06);border-radius:15px;background:#fff}.mahjong-card-v2 .mahjong-score-card-grid i{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}.mahjong-card-v2 .mahjong-score-card-grid strong{font-size:18px;font-variant-numeric:tabular-nums}.mahjong-card-v2 .mahjong-score-card-grid small{grid-column:1/-1;font-size:10px}.mahjong-score-card-total{display:grid;gap:4px;padding:10px 12px;border-radius:16px;background:#0f172a;color:#e2e8f0}.mahjong-score-card-total span{font-size:14px;font-weight:900}.mahjong-score-card-total small{color:#cbd5e1!important}.mahjong-score-card-action{min-height:40px;border:0;border-radius:14px;background:#0f766e;color:#fff;font-weight:900}.mahjong-score-card-action:active{transform:scale(.98)}@media (max-width:700px){.mahjong-score-card.mahjong-card-v2{width:100%;max-width:calc(100vw - 28px);padding:13px;border-radius:20px}.mahjong-score-card-head{gap:8px}.mahjong-score-card-head>span{width:36px;height:36px}.mahjong-score-card-head b{font-size:16px}.mahjong-score-card-status{padding-inline:7px}.mahjong-card-v2 .mahjong-score-card-grid{gap:6px}.mahjong-card-v2 .mahjong-score-card-grid span{padding:9px}.mahjong-card-v2 .mahjong-score-card-grid strong{font-size:17px}}@media (min-width:701px) and (max-width:1024px){.mahjong-score-card.mahjong-card-v2{max-width:520px}.message-row>div:has(.mahjong-card-v2){max-width:min(520px,76vw)}}.message-row>div:has(.mahjong-card-v2){width:min(480px,72vw);min-width:0}@media (max-width:700px){.message-row>div:has(.mahjong-card-v2){width:100%;max-width:calc(100vw - 28px)}}@media (min-width:701px) and (max-width:1024px){.message-row>div:has(.mahjong-card-v2){width:min(520px,76vw);max-width:520px}}.message-row[data-message-id]{-webkit-user-select:none;user-select:none;transition:background .14s ease,box-shadow .14s ease}.message-row.message-selected{margin-inline:-10px;padding-inline:0 10px;border-radius:14px;background:#7452d814;box-shadow:inset 3px 0 #7452d8}.message-row.message-selected.mine{padding-inline:10px 0;box-shadow:inset -3px 0 #7452d8}.message-row.message-selected .bubble{box-shadow:0 0 0 2px #7452d84d,0 8px 22px #4d3a8124}.call-actions{gap:clamp(12px,4vw,24px);align-items:flex-start;justify-content:center}.call-actions button{width:68px;height:auto;min-height:82px;padding:0;gap:7px;background:transparent;border-radius:16px;color:#fff;font-size:inherit;line-height:1;box-shadow:none}.call-control-icon{display:block;width:56px;height:56px;padding:15px;box-sizing:border-box;border-radius:50%;background:#ffffff24;color:#fff;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}.call-actions button small{display:block;max-width:68px;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap;color:#fff;text-shadow:0 1px 4px #0008}.call-actions button:hover .call-control-icon{background:#ffffff35;transform:translateY(-1px)}.call-actions button:active .call-control-icon{transform:scale(.94)}.call-actions button:focus-visible{outline:0}.call-actions button:focus-visible .call-control-icon{box-shadow:0 0 0 3px #fff,0 0 0 6px #7c6cff}.call-actions .answer,.call-actions .hangup,.call-actions .reject{background:transparent;transform:none}.call-actions .answer .call-control-icon{background:#25d366;color:#fff;box-shadow:0 8px 24px #25d36655}.call-actions :is(.reject,.hangup) .call-control-icon{background:#ef4444;color:#fff;box-shadow:0 8px 24px #ef444455}.call-actions .muted{background:transparent;color:#fff}.call-actions .muted .call-control-icon,.call-actions button[aria-pressed=true] .call-control-icon{background:#fff;color:#17181b}.call-actions .hangup small{transform:none}@media (max-width:420px){.call-actions{gap:8px}.call-actions button{width:54px;min-height:72px;gap:6px}.call-control-icon{width:48px;height:48px;padding:13px}.call-actions button small{max-width:54px;font-size:11px}}.call-actions button{width:clamp(52px,16vw,72px);min-height:clamp(76px,20vw,88px)}.call-control-icon{width:clamp(52px,15vw,62px);height:clamp(52px,15vw,62px);padding:clamp(13px,3.8vw,17px);stroke-width:2}.call-actions button small{max-width:clamp(52px,16vw,72px);font-size:clamp(11px,2.9vw,13px)}.video-call .call-actions{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));width:auto;padding:10px clamp(6px,2.5vw,14px);padding-bottom:max(10px,env(safe-area-inset-bottom));transform:none;gap:clamp(4px,2.4vw,20px);-webkit-backdrop-filter:blur(16px)}@media (max-width:360px){.video-call .call-actions{display:grid;grid-template-columns:repeat(5,1fr);justify-items:center}.video-call .call-actions button{width:100%;min-width:0}}@media (max-width:340px){.video-call .call-actions{bottom:6px}.call-actions button{width:52px;min-height:71px}.call-control-icon{width:52px;height:52px;padding:13px}.call-actions button small{max-width:52px;font-size:10px}}@media (max-height:520px) and (orientation:landscape){.call-actions button small{display:none}.video-call .call-actions{left:auto;right:max(10px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:auto;flex-direction:column;border-radius:32px}.video-call .call-actions button{min-height:48px}.video-call .call-control-icon{width:48px;height:48px;padding:13px}}@media (prefers-reduced-motion:reduce){.video-call .call-video-stage #localVideo{transition:none}}@media (max-height:390px) and (orientation:landscape){.video-call .call-actions{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));width:auto;flex-direction:row;justify-content:center;border-radius:30px}.video-call .call-actions button{width:52px}}:root{--accent-strong:#6844d4;--accent-soft:#f0ebff;--surface:#fff;--surface-warm:#fbf9f5;--text-strong:#211e27;--shadow-soft:0 18px 55px rgba(50,39,33,.12);--mobile-safe-bottom:max(6px,env(safe-area-inset-bottom))}html[data-viewport-mode=standalone]{--mobile-safe-bottom:max(18px,env(safe-area-inset-bottom))}.loading p{margin:0;text-align:center}.loading #bootstrapRetry{min-width:120px;min-height:44px;padding:0 18px;border:0;border-radius:12px;background:var(--accent-strong);color:#fff;font-weight:700;box-shadow:0 8px 20px #6844d42b;cursor:pointer}html,body{overflow-x:hidden}body{background:radial-gradient(circle at 15% 10%,#f5f0ff 0,transparent 28%),#eeeae3;color:var(--text-strong)}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.app-shell{width:min(1320px,calc(100vw - 40px));height:min(880px,calc(100dvh - 40px));margin:20px auto;border-color:#ded8cf;border-radius:28px;background:var(--surface);box-shadow:var(--shadow-soft)}.sidebar,.chat-panel{min-height:0}.sidebar{overflow:hidden}.mobile-back{width:44px;height:44px}.composer input{min-height:44px}.expiry-control select{min-height:44px;margin-block:-1px}.notification-nudge,body.modal-open .notification-nudge,.app-shell.chat-open .notification-nudge,body.app-release-visible .notification-nudge{display:none}body:has(.modal-backdrop:not(.hidden)) .notification-nudge{display:none}body:has(#app.chat-open) .notification-nudge{display:none}body:has(.app-release-notice) .notification-nudge{display:none}@media (max-width:700px){.notification-nudge{position:fixed;z-index:75;left:12px;right:12px;bottom:calc(var(--mobile-nav-height,60px) + 6px + var(--mobile-safe-bottom));display:block;min-height:46px;padding:0 16px;border:1px solid #d8cef3;border-radius:14px;background:#6844d4;color:#fff;box-shadow:0 12px 32px #35266642;font-size:14px;font-weight:800;touch-action:manipulation}.notification-nudge.hidden{display:none}}.sidebar{padding:30px 24px 20px;background:#faf8f4}.brand-mark{background:linear-gradient(145deg,#7c5be3,#5931c4);box-shadow:0 10px 24px #6844d43b}.brand-row{padding-bottom:24px}.brand-row h1{font-size:25px}.brand-row p{font-size:11px}.mobile-conversation-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.mobile-conversation-scroll .section-label:first-child{margin-top:25px}.new-chat,.sidebar-tools button,.profile button,.header-actions button,.friend-manager,.empty button,.friend-modal form button,.account-modal form>button,.wide-modal form>button{min-height:44px;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.new-chat{border-radius:13px;background:var(--accent-strong);box-shadow:0 9px 20px #6844d42b}.new-chat:hover{transform:translateY(-1px);box-shadow:0 12px 25px #6844d43b}.sidebar-tools{gap:10px;margin-top:10px}.sidebar-tools button{height:42px;border-color:#e4ded7;border-radius:12px;background:#fff;font-size:11px;font-weight:650}.section-label{display:flex;align-items:center;justify-content:space-between;margin-top:25px;color:#6d666f;font-size:11px;letter-spacing:.1em}.sidebar-tools{grid-template-columns:1fr 1fr}.sidebar-tools #soundToggle{grid-column:1/-1;height:38px;color:#6844d4;background:#f5f1ff}.sidebar-tools #soundToggle[aria-pressed=false]{color:#857e89;background:#f0ede9}.device-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.device-tools button{min-width:0;min-height:46px;padding:0 10px;border:1px solid #ded5ee;border-radius:11px;background:#f8f5ff;color:#6544c8;font-size:12px;font-weight:700;line-height:1.35;touch-action:manipulation}.device-tools button:disabled{color:#746e78;background:#f1efec;opacity:1}.device-tools button:only-child{grid-column:1/-1}.device-tools small{grid-column:1/-1;color:#6f6873;font-size:12px;line-height:1.5;text-align:center}.conversation{min-height:58px;margin-bottom:3px;padding:9px 10px;border:1px solid transparent;border-radius:14px}.conversation:hover{border-color:#e8e0fa;background:#f5f1ff}.conversation.active{border-color:#ded2fb;background:linear-gradient(90deg,#eee8ff,#f7f3ff)}.conversation-copy b{font-size:14px}.conversation-copy small{font-size:10px}.unread-badge{box-shadow:0 3px 8px #6844d43d}.avatar.tone-0{background:#ffd7c8;color:#8b4d3e}.avatar.tone-1{background:#d9cff8;color:#58419a}.avatar.tone-2{background:#cbe6db;color:#376d58}.avatar.tone-3{background:#cfe1f6;color:#3e6288}.avatar.tone-4{background:#f6dcae;color:#815d25}.avatar.tone-5{background:#efcae1;color:#844b70}.avatar.tone-6{background:#dce8bb;color:#607737}.avatar.tone-7{background:#d8d4cf;color:#514c48}.profile{margin-top:auto;padding-top:16px}.profile button{padding:0 5px;border-radius:8px}.chat-header{height:84px;padding:0 32px;background:#fff}.chat-header b{font-size:17px}.header-actions button,.friend-manager{width:44px;height:44px;border-radius:13px}.header-actions button:hover,.friend-manager:hover{border-color:#cfc2ee;background:#f7f4ff}#messageSearch svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.expiry-control{min-height:44px;border-radius:13px;padding:0 10px}.messages{display:flex;min-height:0;flex-direction:column;padding:28px 48px;background:linear-gradient(180deg,#fff 0,#fefdfb)}.messages:before{content:"";margin-top:auto;flex:0 0 auto}.message-row{margin-bottom:22px}.bubble{border:1px solid #ebe6df;border-radius:8px 18px 18px;background:#fff;padding:13px 17px;box-shadow:0 4px 14px #342d2609}.mine .bubble{border:0;border-radius:18px 8px 18px 18px;background:linear-gradient(135deg,#7554dd,#6844d4)}.voice-bubble{min-width:250px}.play{width:32px;height:32px}.date-pill{background:#f5f2ed;color:#8f8780}.composer-wrap{padding:15px 38px 20px;background:#fff}.composer{min-height:64px;padding:7px 8px;border-color:#dfd8e8;border-radius:22px;box-shadow:0 10px 28px #3b2f2510}.composer:focus-within{border-color:#9e86e5;box-shadow:0 0 0 4px #7452d412,0 12px 30px #3b2f2514}.mic{width:52px;height:52px;background:linear-gradient(145deg,#7b5ae1,#5f36cb)}.emoji,.send,.attachment{width:42px;height:42px;border-radius:12px}.send{background:var(--accent-strong)}.attachment{display:grid;place-items:center;flex:0 0 auto;border:0;background:#f1ecff;color:#6544c8;font-size:20px;cursor:pointer}.image-message{display:block;max-width:min(360px,65vw);max-height:420px;border-radius:14px;object-fit:cover}.file-message{display:flex;min-width:min(300px,68vw);align-items:center;gap:11px;color:inherit;text-decoration:none}.file-message strong{display:block;overflow:hidden;max-width:220px;text-overflow:ellipsis;white-space:nowrap}.file-message small{display:block;margin-top:3px;opacity:.7}.call-history-list{display:grid;gap:8px;max-height:55vh;overflow:auto;text-align:left}.call-history-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:11px;border-radius:12px;background:#f6f2ec}.call-history-row>span:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eee8ff;color:#6544c8}.call-history-row b,.call-history-row small{display:block}.call-history-row small{margin-top:3px;color:#8d8581}.call-history-row time{color:#9a928e;font-size:10px}.friend-modal{border:1px solid #e9e2da;border-radius:24px;box-shadow:0 32px 90px #21182035}.friend-modal form input,.account-modal form input,.wide-modal form>input{min-height:44px;text-transform:none;letter-spacing:0}.toast{font-weight:650}.chat-panel{touch-action:pan-y}.pull-refresh{position:fixed;z-index:60;top:calc(8px + env(safe-area-inset-top));left:50%;min-width:110px;padding:9px 14px;border-radius:99px;background:#302b36;color:#fff;box-shadow:0 9px 25px #251f2b35;font-size:12px;font-weight:700;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,-58px);transition:opacity .18s ease,transform .18s ease}.pull-refresh.visible{opacity:1;transition:opacity .1s ease}.pull-refresh.refreshing{background:var(--accent-strong)}.network-banner{position:fixed;z-index:80;top:calc(8px + env(safe-area-inset-top));left:50%;width:max-content;max-width:calc(100vw - 24px);padding:10px 16px;border-radius:99px;background:#3b3540;color:#fff;box-shadow:0 10px 30px #211b2138;font-size:12px;font-weight:700;text-align:center;transform:translate(-50%)}.message-status{color:#d9cdfb;font-weight:700}.theirs .message-status{color:#81798a}.chat-empty-state{min-height:0;margin:auto;display:grid;place-content:center;justify-items:center;gap:9px;padding:40px 20px;color:#8f8792;text-align:center}.chat-empty-state span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f0ebff;color:var(--accent-strong);font-size:21px;font-weight:800}.chat-empty-state b{color:#403946;font:18px Georgia,Songti SC,serif}.chat-empty-state small{max-width:290px;font-size:12px;line-height:1.6}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7452d438;outline-offset:2px}@media (max-width:1100px) and (min-width:701px){.app-shell{width:calc(100vw - 20px);height:calc(100dvh - 20px);margin:10px auto;grid-template-columns:270px 1fr}.sidebar{padding:24px 17px 18px}.messages{padding:24px 28px}.composer-wrap{padding-inline:24px}.chat-header{padding-inline:22px}.device-tools{grid-template-columns:1fr}.device-tools button{width:100%}}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){body{background:#faf8f4}.app-shell{width:100%;height:var(--app-height,100dvh);min-height:0;margin:0;border-radius:0}.sidebar{padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));overflow:hidden}.brand-row{padding-bottom:16px}.new-chat{height:50px}.sidebar-tools button{height:44px}.device-tools{grid-template-columns:1fr 1fr}.device-tools button{font-size:11px}.mobile-conversation-scroll{margin-top:8px;padding-bottom:8px}.friend-list,.group-list{max-height:none;overflow:visible}.chat-header{height:70px;padding:0 10px}.chat-header .avatar.large{width:38px;height:38px}.messages{padding:18px 13px}.message-row{margin-bottom:16px}.voice-bubble{min-width:min(235px,72vw)}.composer-wrap{padding:9px 9px var(--mobile-safe-bottom)}.composer{min-height:60px;border-radius:20px}.composer-hint{display:none}.friend-modal{max-height:calc(var(--app-height,100dvh) - 32px);overflow:auto}.network-banner{top:calc(6px + env(safe-area-inset-top));border-radius:13px}}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.chat-header{height:calc(112px + env(safe-area-inset-top));display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;grid-template-rows:64px 48px;gap:0 7px;padding:0 10px 6px;padding-top:env(safe-area-inset-top)}.mobile-back{grid-column:1;grid-row:1;margin:0}.chat-header>div:first-of-type{grid-column:2;grid-row:1;min-width:0}.friend-manager{grid-row:1;margin:0}.header-actions{grid-column:1/-1;grid-row:2;display:flex;gap:8px;min-width:0}.header-actions .expiry-control{flex:1;min-width:0;min-height:44px;justify-content:space-between;padding:0 12px;border-color:#dcd3e9;background:#f9f7ff}.header-actions .expiry-control span{display:inline;flex:0 0 auto;color:#625a69;font-size:12px;font-weight:700}.header-actions .expiry-control select{width:100%;max-width:none;min-height:44px;padding:0 24px 0 10px;color:#4d405f;font-size:14px;font-weight:700;text-align:right}.header-actions #startCall{width:44px;height:44px;flex:0 0 auto}.header-actions #headerAdd{display:none}.messages{min-height:0}}@media (max-width:360px){.chat-header{grid-template-columns:40px minmax(0,1fr) 40px 40px;padding-inline:6px;gap:4px}.header-actions .expiry-control{padding-inline:9px}.header-actions .expiry-control span{font-size:11px}.header-actions .expiry-control select{font-size:13px}}@media (max-width:420px){.mobile-utility-panel .device-tools{grid-template-columns:1fr}.mobile-utility-panel .device-tools button{width:100%;min-height:48px}.mobile-utility-panel .device-tools small{text-align:left}}@media (prefers-reduced-motion:reduce){.new-chat,.sidebar-tools button,.profile button,.header-actions button,.friend-manager{transition:none}}.profile{grid-template-columns:auto minmax(0,1fr)}.profile-actions{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr .72fr;gap:6px;width:100%}.profile-actions button{width:100%;min-width:0}.lock-modal form{display:grid;gap:12px}.lock-modal form input{width:100%;height:48px;text-align:center;font-size:20px}.pattern-grid{position:relative;display:grid;grid-template-columns:repeat(3,68px);justify-content:center;gap:16px;padding:12px;touch-action:none;user-select:none}.pattern-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.pattern-lines polyline{fill:none;stroke:#7452d8;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;opacity:.72}.lock-modal .pattern-grid button{position:relative;z-index:1;width:68px;height:68px;padding:0;border:3px solid #d8d0e8;border-radius:50%;background:#f8f5ff;color:#766a80;font-size:16px}.lock-modal .pattern-grid button.selected{border-color:#7452d8;background:#7452d8;color:#fff;box-shadow:0 0 0 6px #7452d820}.lock-modal form small{color:#8d8581}.lock-modal .pattern-reset{height:40px;background:#eee9fa;color:#6748c5}.lock-modal #lockSubmit{min-height:48px}.lock-modal .auth-tabs button{padding:0}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.profile{grid-template-columns:auto minmax(0,1fr);gap:8px}.profile-actions{gap:5px}.profile-actions button{font-size:11px}.lock-modal{width:min(360px,100%);max-height:calc(var(--app-height,100dvh) - 24px);overflow:auto}.pattern-grid{grid-template-columns:repeat(3,64px);gap:14px;padding:10px}.lock-modal .pattern-grid button{width:64px;height:64px}}#lockButton{min-width:74px;min-height:38px;padding:0 10px;border:1px solid #d8cef3;border-radius:10px;background:#eee9fa;color:#5f3fc2;font-size:13px;font-weight:800;white-space:nowrap}.lock-modal h2{font-size:24px}.lock-modal>p{font-size:14px;line-height:1.65}.lock-modal .auth-tabs button{font-size:14px}.lock-modal form small{font-size:13px}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){#lockButton{min-width:0;min-height:40px;padding:0 8px;font-size:13px}.lock-modal h2{font-size:22px}.lock-modal>p{font-size:14px}}.lock-management{display:grid;gap:8px;margin-top:12px}.lock-management button{min-height:44px;border:1px solid #dec2c5;border-radius:10px;background:#fff6f6;color:#bd3e48;font-weight:700}.lock-management #lockRecover{border-color:#d8cef3;background:#f7f4ff;color:#6544c8}.lock-recovery{display:grid!important;gap:8px!important;margin-top:10px;padding:12px;border-radius:12px;background:#f5f1e9}.lock-recovery input{height:42px!important;font-size:14px!important;text-align:left!important;letter-spacing:0!important}.lock-recovery button{min-height:42px}.mobile-only{display:none}.mobile-conversation-tabs{grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:13px;background:#eeeae5}.mobile-conversation-tabs button{min-height:40px;border:0;border-radius:10px;background:transparent;color:#817983;font-size:13px;font-weight:700}.mobile-conversation-tabs button.active{background:#fff;color:var(--accent-strong);box-shadow:0 3px 12px #332a2414}.mobile-header-actions{margin-left:auto;gap:7px}.mobile-header-actions button,.mobile-profile-toggle{min-width:44px;min-height:44px;border:0;border-radius:12px;background:#f0ebff;color:var(--accent-strong);font-size:20px;font-weight:800}.mobile-profile-toggle{width:38px;height:38px;font-size:18px}.mobile-bottom-nav{grid-template-columns:repeat(5,1fr);gap:2px}.mobile-bottom-nav button{min-width:0;min-height:calc(var(--mobile-nav-height,60px) - 8px);display:grid;place-content:center;justify-items:center;gap:3px;padding:2px;border:0;background:transparent;color:#817983;font-size:var(--ui-type-status,12px);font-weight:700;line-height:1.2}.mobile-nav-icon{width:var(--ui-icon-size,24px);height:var(--ui-icon-size,24px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav button.active{color:var(--accent-strong)}.mobile-nav-unread{position:absolute;z-index:12;left:calc(10% + 10px);bottom:calc(var(--mobile-nav-height,60px) - 12px + var(--mobile-safe-bottom));display:none;min-width:20px;height:20px;padding:0 5px;place-items:center;border:2px solid #fff;border-radius:11px;background:#6844d4;color:#fff;font-size:10px;line-height:1;pointer-events:none}.mobile-nav-unread.hidden{display:none}.mobile-bottom-nav button{position:relative}.mobile-wallet-state[data-state=connected]{position:absolute;top:2px;left:50%;margin-left:8px;width:8px;height:8px;overflow:hidden;border:2px solid #fff;border-radius:50%;background:#39a96b;color:transparent}.mobile-wallet-state:not([data-state=connected]){display:none}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.mobile-only{display:flex}.brand-row{padding-inline:2px}.brand-row>div:nth-child(2){min-width:0}.brand-row h1{font-size:22px}.new-chat{display:none}.mobile-utility-panel{position:absolute;z-index:12;top:calc(76px + env(safe-area-inset-top));left:12px;right:12px;padding:12px;border:1px solid #e3dce9;border-radius:16px;background:#fff;box-shadow:0 18px 45px #2e24332b}.mobile-utility-panel:not(.open){display:none}.mobile-utility-panel .sidebar-tools{margin:0}.mobile-utility-panel .device-tools{margin-top:8px}.mobile-conversation-tabs{display:grid;margin:6px 0 2px}.mobile-conversation-scroll{margin-top:0}.mobile-conversation-scroll .section-label{margin:15px 10px 8px}.mobile-conversation-scroll[data-mobile-view=friends] .group-label,.mobile-conversation-scroll[data-mobile-view=friends] .group-list,.mobile-conversation-scroll[data-mobile-view=groups] .section-label:first-child,.mobile-conversation-scroll[data-mobile-view=groups] .friend-list{display:none}.profile{margin-top:4px;padding:9px 2px 0}.profile-actions{display:none}.profile.open .profile-actions{display:grid}.profile.open .mobile-profile-toggle{transform:rotate(180deg)}}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.sidebar{position:relative;padding-bottom:calc(var(--mobile-nav-height,60px) + var(--mobile-safe-bottom))}.mobile-conversation-tabs{display:none}.mobile-bottom-nav{position:absolute;z-index:10;left:0;right:0;bottom:0;display:grid;padding:4px 8px var(--mobile-safe-bottom);border-top:1px solid #e4ded7;background:#fff}.profile{position:absolute;z-index:11;left:10px;right:10px;bottom:calc(var(--mobile-nav-height,60px) - 2px + var(--mobile-safe-bottom));display:none;padding:12px;border:1px solid #e3dce9;border-radius:15px;background:#fff;box-shadow:0 15px 38px #2e243326}.profile.open{display:grid}.profile .mobile-profile-toggle{display:none}.profile.open .profile-actions{display:grid}}.mobile-nav-friend{left:calc(30% + 10px)}@media (max-width:700px){.mobile-nav-unread:not(.hidden){display:grid}}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){input,select,textarea{font-size:16px}.modal-backdrop{padding-top:max(12px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));align-items:flex-start;overflow:auto}.friend-modal,.lock-modal{max-height:calc(var(--app-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);overflow:auto}.modal-close{position:sticky;top:0;z-index:5;width:48px;height:48px;display:block;margin:0 0 4px auto;touch-action:manipulation}}.diagnostics-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.diagnostics-item{display:flex;align-items:center;gap:9px;min-height:52px;padding:10px 12px;border-radius:12px;background:#f6f3fb;color:#544c59;font-size:12px}.diagnostics-item b{color:#34a06f;font-size:16px}.diagnostics-item.warning b{color:#d38b38}.diagnostics-test{width:100%;min-height:46px;border:0;border-radius:12px;background:var(--accent-strong);color:#fff;font-weight:750}.diagnostics-help{min-height:20px;color:#746c78;font-size:12px;line-height:1.55}.message-status[data-delivery=failed]{color:#ffcec8}.call-quality[data-quality=poor],.call-quality[data-quality=offline]{color:#ffb4ad}@media (max-width:700px){.diagnostics-card{width:100%;max-height:calc(var(--app-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);padding:22px 18px;overflow:auto}.diagnostics-grid{grid-template-columns:1fr}.diagnostics-test{min-height:48px;font-size:14px}}.conversation-search{display:grid;gap:6px;margin:10px 4px 2px}.conversation-search span{display:flex;justify-content:space-between;color:#706873;font-size:11px;font-weight:750}.conversation-search b{color:var(--accent-strong)}.conversation-search input,.group-notification-setting select{width:100%;min-height:44px;padding:0 12px;border:1px solid #e1d9e8;border-radius:12px;background:#fff;color:#403947;font-size:16px}.group-notification-setting{display:grid;gap:7px;margin:12px 0;color:#655e68;font-size:12px;font-weight:700}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){body{height:100%;overflow:hidden}.app-shell{position:fixed;top:0;left:0;transform:translate3d(0,var(--app-top,0px),0)}}@media (min-width:701px) and (max-width:820px){.chat-header{height:112px;display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;grid-template-rows:64px 48px;gap:0 7px;padding:0 12px 6px}.chat-header>div:first-of-type{grid-column:1;grid-row:1;min-width:0}.chat-header #friendManager,.chat-header #groupManager{grid-column:2;grid-row:1}.chat-header #messageSearch{grid-column:3;grid-row:1}.header-actions{grid-column:1/-1;grid-row:2;display:flex;min-width:0;gap:8px}.header-actions .expiry-control{min-width:0;flex:1;justify-content:space-between}.header-actions #startCall{width:44px;flex:0 0 auto}.header-actions #headerAdd{display:none}}.message-retention{display:block;margin-top:3px;color:#827a73;font-size:10px;line-height:1.35;white-space:normal}.message-retention[data-retention-tone=soon]{color:#97929a;font-weight:700}.message-retention[data-retention-tone=waiting]{color:#756d8d}@media (max-width:420px){.message-retention{max-width:min(72vw,280px);font-size:10px;overflow-wrap:anywhere}}@media (max-width:700px){.emoji-picker{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));width:auto}}@media (max-width:430px){.emoji-grid{grid-template-columns:repeat(5,minmax(44px,1fr))}.emoji-grid button{min-width:44px;min-height:44px}.emoji-picker header button{width:44px;height:44px}.mobile-header-actions button{min-width:44px;min-height:44px}}@media (max-width:360px){.chat-header{grid-template-columns:44px minmax(0,1fr) 44px 44px}}@media (max-width:700px){.lock-modal .pattern-reset,.lock-management button,.lock-recovery button,#lockButton{min-height:44px}}.header-actions{align-items:center}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.emoji-picker header button{width:44px;height:44px}.emoji-picker nav button{min-height:44px}}.group-assistant-message{display:grid;gap:5px;border:1px solid #d8cff2;background:#f5f1ff;color:#342b4b}.group-assistant-message strong{color:#6742d5;font-size:12px;letter-spacing:.02em}.group-assistant-message span{overflow-wrap:anywhere;white-space:pre-wrap}.call-overlay:not(.video-call){padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:radial-gradient(circle at 50% 24%,#7659a8 0,#30263e 42%,#17151b)}.call-overlay:not(.video-call)>section{width:min(430px,100%);min-height:min(640px,calc(var(--app-height,100dvh) - 40px));display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:max(28px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.call-overlay:not(.video-call) .call-avatar{width:clamp(92px,24vw,116px);height:clamp(92px,24vw,116px);margin:0 auto 24px;border:3px solid #ffffff38;background:linear-gradient(145deg,#a78bfa,#6544c8);box-shadow:0 18px 54px #0006,0 0 0 8px #ffffff0d;font-size:34px}.call-overlay:not(.video-call) h2{margin-bottom:10px;font:700 clamp(25px,6vw,32px) Arial,"PingFang SC",sans-serif;letter-spacing:.01em}.call-overlay:not(.video-call) #callStatus{margin:0;color:#fff;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.call-overlay:not(.video-call) .call-quality{min-height:30px;margin:9px 0 46px;padding:7px 12px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff12;color:#d9f6e5;font-size:12px;line-height:1.25;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.call-actions{max-width:100%}.call-actions button{min-height:72px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.call-actions button:disabled{opacity:.55}.call-actions button[aria-busy=true] .call-control-icon{animation:call-control-pulse .8s ease-in-out infinite alternate}.header-actions [data-call-entry-state=unavailable]{position:relative;opacity:.58;cursor:help}.header-actions [data-call-entry-state=unavailable]:active{opacity:.82;transform:scale(.96)}#lockModal:not(.hidden){z-index:90}#lockModal:not(.hidden)~.call-overlay{pointer-events:none}.video-call h2,.video-call #callStatus,.video-call .call-quality{padding:4px 8px;border-radius:8px;background:#0000003d;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.video-call #callStatus{width:max-content}.video-call .call-quality{width:max-content;padding-block:3px}.video-call .call-video-stage.remote-delayed .call-video-hint,.video-call .call-video-stage.remote-camera-off .call-video-hint,.video-call .call-video-stage.remote-ended .call-video-hint{display:block;max-width:calc(100% - 40px);white-space:normal;text-align:center;line-height:1.4}.video-call .call-video-stage.remote-delayed .call-video-hint{background:#211a2ed9}.video-call .call-video-stage.remote-camera-off .call-video-hint,.video-call .call-video-stage.remote-ended .call-video-hint{padding:14px 18px;background:#17151be6;font-size:13px}@keyframes call-control-pulse{to{opacity:.62;transform:scale(.94)}}@media (max-height:560px){.call-overlay:not(.video-call)>section{min-height:calc(var(--app-height,100dvh) - 16px);padding-block:8px}.call-overlay:not(.video-call) .call-avatar{width:76px;height:76px;margin-bottom:12px}.call-overlay:not(.video-call) h2{font-size:22px}.call-overlay:not(.video-call) .call-quality{margin:6px 0 16px}.call-actions button{min-height:72px}}@media (max-height:430px) and (orientation:landscape){.call-overlay:not(.video-call)>section{display:grid;grid-template-columns:minmax(120px,1fr) minmax(260px,2fr);grid-template-rows:auto auto auto;gap:2px 20px}.call-overlay:not(.video-call) .call-avatar{grid-row:1/4;width:88px;height:88px;margin:auto}.call-overlay:not(.video-call) h2,.call-overlay:not(.video-call) #callStatus,.call-overlay:not(.video-call) .call-quality{grid-column:2}.call-overlay:not(.video-call) .call-quality{margin:4px 0 8px}.call-overlay:not(.video-call) .call-actions{grid-column:1/-1;margin-top:6px}.call-control-icon{width:48px;height:48px}.call-overlay:not(.video-call) .call-actions button small{display:block}}@media (max-width:430px){.call-actions button small{line-height:1.25;white-space:normal}.call-overlay:not(.video-call) .call-actions{padding-bottom:max(8px,env(safe-area-inset-bottom))}}@media (max-height:360px) and (orientation:landscape){.call-overlay:not(.video-call) .call-avatar{width:68px;height:68px}.call-overlay:not(.video-call) h2{font-size:19px}.call-overlay:not(.video-call) .call-actions{padding-bottom:max(6px,env(safe-area-inset-bottom))}.call-overlay:not(.video-call) .call-actions button{min-height:58px}.call-overlay:not(.video-call) .call-control-icon{width:46px;height:46px}}@media (prefers-reduced-motion:reduce){.call-actions button[aria-busy=true] .call-control-icon{animation:none}}@media (forced-colors:active){.call-control-icon{border:2px solid ButtonText}.call-actions :is(.answer,.reject,.hangup) .call-control-icon{forced-color-adjust:none}}.call-diagnostics-card{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;text-align:left}.call-diagnostics header{padding-right:32px}.call-diagnostics header p{margin:6px 0 14px;color:#6f6872;font-size:clamp(13px,3.6vw,15px);line-height:1.5}.call-diagnostics article{min-width:0;overflow-wrap:anywhere;font-size:clamp(13px,3.6vw,15px);line-height:1.5}.call-diagnostics article b{font-size:1em}.call-diagnostics article span,.call-diagnostics article small{display:block}.call-diagnostics article small{margin-top:3px;color:#675d70;font-weight:700}.call-diagnostics-card .modal-close{min-width:44px;min-height:44px;top:8px;right:8px}@media (max-width:430px){#callDiagnosticsModal{align-items:end;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.call-diagnostics-card{width:100%;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)));padding:24px 16px 16px;border-radius:22px}.call-diagnostics{gap:8px}.call-diagnostics article{padding:11px}}@media (max-height:430px) and (orientation:landscape){#callDiagnosticsModal{align-items:center}.call-diagnostics-card{max-height:calc(100dvh - 12px);padding-block:16px}.call-diagnostics{grid-template-columns:repeat(2,minmax(0,1fr))}.call-diagnostics header{grid-column:1/-1}.call-diagnostics article{min-height:44px}}.message-actions button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .14s ease,transform .14s ease}.message-actions button:active{background:#e5def1;transform:scale(.985)}.message-actions button:focus-visible{outline:3px solid #7452d8;outline-offset:1px}@media (max-width:430px){.action-sheet-backdrop{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.message-actions{width:100%;padding-bottom:max(14px,calc(8px + env(safe-area-inset-bottom)))}.video-call .call-actions{max-width:calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right));flex-wrap:nowrap}.video-call .call-actions button{min-width:0;max-width:62px;min-height:72px;flex:1 1 0}.call-actions button small{height:auto;overflow:visible;text-overflow:clip;white-space:normal}}@media (max-width:340px){.message-actions{gap:6px;padding-inline:10px}.message-actions button{min-height:46px}.video-call .call-actions{gap:3px;padding-inline:5px}.video-call .call-control-icon{width:46px;height:46px;padding:12px}}@media (max-height:390px) and (orientation:landscape){.action-sheet-backdrop{padding:4px max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.message-actions{max-height:calc(100dvh - 8px);grid-template-columns:repeat(2,minmax(0,1fr));border-radius:16px}.message-actions>strong,.message-actions #reactionActions{grid-column:1/-1}.message-actions button,.call-actions button{min-width:44px;min-height:44px}}@media (prefers-reduced-motion:reduce){.message-actions button{transition:none}}.call-overlay[data-call-device-state=preparing] .call-actions button[aria-busy=true] .call-control-icon{background:#ffffff18;color:#d8d2dc;box-shadow:inset 0 0 0 1px #ffffff24}.call-overlay[data-call-device-state=preparing] .call-actions button[aria-disabled=true] small{color:#d8d2dc}.call-actions button[aria-disabled=true]{cursor:wait}#speakerCall[data-output-state=failed] .call-control-icon{background:#7f1d1d;color:#fff;box-shadow:0 0 0 2px #fecaca}#speakerCall[data-output-state=ready] .call-control-icon{background:#fff;color:#17181b}.call-quality{max-width:min(92vw,430px);overflow-wrap:anywhere}@media (max-width:430px){.call-overlay #callStatus,.call-overlay .call-quality{font-size:clamp(12px,3.5vw,15px);line-height:1.4}.call-actions button[aria-busy=true] small,#speakerCall[data-output-state=failed] small{font-weight:800}}@media (max-height:390px) and (orientation:landscape){.call-overlay:not(.video-call) .call-quality{max-width:100%;white-space:normal}.call-actions button[aria-disabled=true]{min-width:44px;min-height:44px}}@media (forced-colors:active){.call-actions button[aria-disabled=true] .call-control-icon,#speakerCall[data-output-state=failed] .call-control-icon{border:3px dashed GrayText;forced-color-adjust:auto}}@media (prefers-reduced-motion:reduce){.call-actions button[aria-busy=true] .call-control-icon{animation:none;transition:none}}@media (max-width:430px){.modal-backdrop{padding-top:max(12px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left))}.modal-backdrop .modal-close{min-width:44px;min-height:44px}.friend-modal{max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(24px,env(safe-area-inset-bottom)));overflow-y:auto;overscroll-behavior:contain}.discover-row-state,.my-profile-copy small{min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.discover-detail-card,.discover-permissions div{min-width:0;overflow-wrap:anywhere}}@media (max-width:340px){.discover-row{grid-template-columns:34px minmax(0,1fr)}.discover-row-state{grid-column:2;justify-self:start;text-align:left}.mahjong-chat-tools{grid-template-columns:1fr}.mahjong-chat-tools button{min-height:44px}}@media (max-height:520px) and (orientation:landscape){.modal-backdrop{padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.friend-modal{max-height:calc(100dvh - 12px)}.youjin-server-actions button{min-height:44px!important}.youjin-server-actions{max-width:calc(100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)))!important}.discover-shell{height:100dvh}.discover-scroll{padding-bottom:max(12px,env(safe-area-inset-bottom))}}@media (forced-colors:active){.discover-row,.my-setting-row,.mahjong-chat-tools button,.youjin-server-actions button,.friend-modal{border:1px solid ButtonText}.discover-row:focus-visible,.my-setting-row:focus-visible,.mahjong-chat-tools button:focus-visible,.youjin-server-actions button:focus-visible{outline:3px solid Highlight;outline-offset:2px}}@media (prefers-reduced-motion:reduce){.discover-row,.my-setting-row,.mahjong-chat-tools button,.youjin-server-actions button,.youjin-motion-toast,.youjin-flight-tile{animation:none!important;transition:none!important;scroll-behavior:auto}}.call-overlay[data-call-phase=ended] #callStatus{max-width:min(92vw,430px);padding:9px 14px;border:1px solid #ffffff2e;border-radius:999px;background:#ffffff14;overflow-wrap:anywhere;line-height:1.4;outline:none}.call-overlay[data-call-phase=ended] #callStatus:focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 6px #7c6cff}.call-overlay[data-call-phase=ended] .call-quality{max-width:min(92vw,430px);margin-bottom:max(20px,env(safe-area-inset-bottom));white-space:normal;overflow-wrap:anywhere}@media (max-width:430px){.call-overlay[data-call-phase=ended]>section{min-height:auto;padding-block:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-bottom))}.call-overlay[data-call-phase=ended] #callStatus,.call-overlay[data-call-phase=ended] .call-quality{font-size:clamp(13px,4vw,16px)}}@media (max-height:390px) and (orientation:landscape){.call-overlay[data-call-phase=ended]>section{display:flex;min-height:calc(100dvh - 12px);padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.call-overlay[data-call-phase=ended] .call-avatar{width:64px;height:64px;margin-bottom:8px}.call-overlay[data-call-phase=ended] .call-quality{margin:6px 0 max(6px,env(safe-area-inset-bottom))}}.modal-backdrop{-webkit-backdrop-filter:blur(5px)}:is(.header-actions button,.friend-manager,.modal-close):focus-visible{outline:3px solid #7452d8;outline-offset:3px}#discoverButton{min-width:44px}@supports not (backdrop-filter:blur(1px)){.modal-backdrop{background:#272226d9}.call-overlay{background:#242126f5}}@media (min-width:701px) and (max-width:1100px){.chat-header{height:112px;display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;grid-template-rows:64px 48px;gap:0 7px;padding:0 12px 6px}.chat-header>div:first-of-type{grid-column:1;grid-row:1;min-width:0;overflow:hidden}.chat-header>div:first-of-type>span:last-child{min-width:0}.chat-header b,.chat-header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header #friendManager,.chat-header #groupManager{grid-column:2;grid-row:1}.chat-header #messageSearch{grid-column:3;grid-row:1}.header-actions{grid-column:1/-1;grid-row:2;min-width:0;gap:8px}.header-actions .expiry-control{flex:1;min-width:0;justify-content:space-between}.header-actions .expiry-control select{max-width:none}.header-actions button{flex:0 0 44px}.header-actions #headerAdd{display:none}.messages{padding-inline:clamp(18px,4vw,32px)}.composer-wrap{padding-inline:clamp(14px,3vw,28px)}}@media (min-width:701px) and (max-width:1100px) and (orientation:landscape){.video-call .call-actions{max-width:calc(100% - 32px);gap:clamp(8px,2vw,18px)}.video-call .call-actions button small{overflow:visible;text-overflow:clip;white-space:normal}}@media (forced-colors:active){:is(.header-actions button,.friend-manager,.modal-close):focus-visible{outline-color:Highlight}}.brand-row{min-width:0}.brand-logo{display:block;width:50px;height:50px;flex:0 0 auto;object-fit:contain;filter:drop-shadow(0 5px 8px rgba(83,43,185,.2))}.brand-copy{min-width:0;flex:1}.brand-wordmark{display:block;overflow:hidden;font-family:Arial Rounded MT Bold,Arial,PingFang SC,sans-serif;font-size:27px;font-weight:900;letter-spacing:-1.6px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.brand-wordmark-oo{color:#6535e8}.brand-wordmark-cc{color:#f5a800}.loading-logo{display:block;width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(88,47,196,.2));animation:pulse 1.4s infinite}.mobile-header-actions{flex:0 0 auto}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.brand-logo{width:46px;height:46px}.brand-wordmark{font-size:22px}}@media (max-width:320px){.brand-row .brand-copy{display:none}.brand-row{justify-content:space-between}}@media (max-height:420px) and (orientation:landscape){.brand-row{padding-bottom:10px}.brand-logo{width:38px;height:38px}.brand-wordmark{font-size:20px}}.voice-bubble.voice-enhanced{position:relative;width:min(248px,78vw);min-width:0;max-width:100%;height:50px;display:grid;grid-template-columns:32px minmax(70px,1fr) 38px;grid-template-rows:1fr;align-items:center;gap:8px;padding:8px 10px;overflow:hidden;line-height:1}.voice-bubble.voice-enhanced .play{grid-column:1;grid-row:1;width:30px;height:30px;padding:0}.voice-bubble.voice-enhanced .wave,.voice-bubble.voice-enhanced>.wave+span{display:none}.voice-progress{grid-column:2;grid-row:1;width:100%;min-width:0;height:20px;margin:0;accent-color:currentColor}.voice-elapsed{grid-column:3;grid-row:1;overflow:hidden;font-size:10px;font-variant-numeric:tabular-nums;line-height:1;opacity:.72;text-overflow:ellipsis;white-space:nowrap}.voice-rate{display:none}.mine .voice-rate{background:#ffffff24}.voice-listen-state{position:absolute;right:7px;bottom:5px;width:5px;height:5px;overflow:hidden;border-radius:50%;background:#7452d8;color:transparent}.mine .voice-listen-state{background:#fff}.voice-bubble:not(.unheard) .voice-listen-state{opacity:.38}.voice-fallback{position:absolute;inset:7px 7px 7px 48px;display:grid;place-items:center;border-radius:10px;background:inherit;color:inherit;font-size:11px;font-weight:700;text-decoration:none}@media (max-width:420px){.voice-bubble.voice-enhanced{width:min(224px,76vw);grid-template-columns:30px minmax(64px,1fr) 36px;padding:8px 10px;gap:7px}}.preference-form{display:grid;gap:12px;margin:18px 0;text-align:left}.preference-form>label{display:grid;gap:7px;color:#5f5864;font-size:13px;font-weight:750}.preference-form input:not([type]),.preference-form input[type=text],.preference-form select{width:100%;min-height:44px;padding:0 12px;border:1px solid #ded6e8;border-radius:12px;background:#fff;color:#352f3a;font-size:16px}.preference-form>button{min-height:46px;border:0;border-radius:12px;background:#6844d4;color:#fff;font-weight:800;touch-action:manipulation}.preference-form>button:disabled{opacity:.65}.preference-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:18px;min-height:60px;padding:10px 12px;border:1px solid #e5dfea;border-radius:13px;background:#faf8fd}.preference-toggle span{min-width:0}.preference-toggle b,.preference-toggle small{display:block}.preference-toggle small{margin-top:4px;color:#827a87;font-size:11px;font-weight:500;line-height:1.45}.preference-toggle input{flex:0 0 auto;width:24px;height:24px;accent-color:#6844d4}#manageModal .preference-toggle input{width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;padding:0}.preference-form [role=status]{min-height:18px;margin:0;color:#37805e;font-size:12px;text-align:center}.preference-form [role=status].error{color:#bd3e48}.privacy-modal>p{color:#716a75;font-size:13px;line-height:1.55}.privacy-modal select{min-height:46px}@media (min-width:701px){#manageModal .friend-modal{width:min(590px,100%);padding:30px 36px;text-align:left}#manageModal .friend-modal>h2,#manageModal .friend-modal>p{text-align:center}#manageModal .preference-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}#manageModal .friend-remark,#manageModal .friend-tags,#manageModal .preference-form>button,#manageModal .preference-form>[role=status]{grid-column:1/-1}#manageModal .preference-toggle{min-height:52px;padding:9px 13px}#manageModal .danger-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#manageModal .danger-actions button{width:100%;min-height:44px}}@media (max-width:700px){.preference-form{gap:14px}.preference-toggle{min-height:68px}.preference-form>button{min-height:50px;font-size:15px}.privacy-modal{width:100%;padding-bottom:22px}}.conversation,[data-message-id]{touch-action:pan-y;transition:transform .18s ease}.swipe-active{will-change:transform}.friend-list,.group-list,.messages{overflow-x:hidden}.swipe-action-tray{position:fixed;z-index:45;display:grid;grid-template-columns:76px 76px;overflow:hidden;border-radius:12px;background:#6550bf;box-shadow:0 6px 20px #31284a26}.swipe-action-tray button{min-width:44px;min-height:44px;padding:0 8px;border:0;background:#7452d8;color:#fff;font-size:13px;font-weight:800;touch-action:manipulation}.swipe-action-tray button+button{background:#716b78}.swipe-action-tray button:disabled{opacity:.7}@media (hover:hover){.swipe-action-tray{display:none}.conversation,[data-message-id]{will-change:auto}}@media (prefers-reduced-motion:reduce){.conversation,[data-message-id]{transition:none}}.lock-modal{max-height:calc(100dvh - 40px);overflow:auto}.lock-modal .pattern-grid{width:min(76vw,280px);grid-template-columns:repeat(3,min(20vw,72px));gap:clamp(10px,4vw,18px);margin-inline:auto;padding:12px;touch-action:none;overscroll-behavior:contain}.lock-modal .pattern-grid button{width:min(20vw,72px);height:min(20vw,72px);min-width:52px;min-height:52px;touch-action:none;-webkit-tap-highlight-color:transparent}.lock-modal .pattern-reset,.lock-modal #lockSubmit,.lock-management button,.lock-recovery button{min-height:44px}.lock-modal #patternValue{display:block;min-height:20px;text-align:center;font-weight:650}.lock-modal #patternValue.hidden{display:none}@media (max-height:560px) and (orientation:landscape){.lock-modal{padding-block:10px}.lock-modal .modal-symbol{display:none}.lock-modal h2{margin-block:0 4px}.lock-modal>p{margin-block:0 6px}.lock-modal .pattern-grid{width:220px;grid-template-columns:repeat(3,54px);gap:10px;padding:6px}.lock-modal .pattern-grid button{width:54px;height:54px;min-width:44px;min-height:44px}.lock-modal form{gap:7px}}@media (prefers-reduced-motion:reduce){.lock-modal .pattern-grid button{transition:none}}.lock-modal{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}@media (max-width:700px){.composer-wrap{padding-bottom:max(8px,var(--mobile-safe-bottom))}.action-sheet-backdrop{padding-top:max(8px,env(safe-area-inset-top));overflow:hidden}.message-actions{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain}}@media (max-height:560px){.lock-modal{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.call-overlay{padding-block:8px}.call-actions button{min-width:44px;min-height:44px}}.attachment{min-width:44px!important;min-height:44px!important;touch-action:manipulation}.attachment-preview-card{width:min(380px,100%);padding:22px;border-radius:20px;background:#fff;box-shadow:0 18px 55px #17203b38}.attachment-preview-card h2{margin:0 0 16px}.attachment-file{display:grid;gap:5px;padding:14px;border-radius:14px;background:#f3f1fa;overflow-wrap:anywhere}.attachment-file small{color:#6b7280}.attachment-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.attachment-preview-actions button{min-height:48px;border:0;border-radius:12px;font-weight:700}.attachment-preview-actions button:last-child{background:#7452d8;color:#fff}.messages.attachment-dragging{outline:3px dashed #7452d8;outline-offset:-10px;background:#7452d810}.messages.attachment-dragging:after{content:"\677e\5f00\5373\53ef\9884\89c8\53d1\9001";position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:5;padding:14px 18px;border-radius:14px;background:#392a65;color:#fff;font-weight:700;pointer-events:none}@media (max-width:700px){.attachment-preview-card{padding:18px}.attachment{flex:0 0 44px}}.composer-wrap{position:relative}.group-mention-picker{position:absolute;z-index:24;right:38px;bottom:92px;left:38px;display:grid;max-height:264px;overflow:auto;padding:6px;border:1px solid #ded5e9;border-radius:15px;background:#fff;box-shadow:0 16px 40px #281f3530}.group-mention-picker button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:#352f3b;text-align:left;touch-action:manipulation}.group-mention-picker button.active{background:#eee8ff;color:#5f3fc2}.group-mention-picker b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-mention-picker small{flex:0 0 auto;color:#82798a}@media (max-width:700px){.group-mention-picker{right:9px;bottom:78px;left:9px;max-height:min(240px,38dvh);padding:5px;border-radius:14px}.group-mention-picker button{min-height:48px;font-size:14px}}.my-page{width:min(500px,calc(100vw - 28px));height:min(760px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);padding:0!important;overflow:hidden!important;border-radius:22px!important;background:#f7f7fa!important;text-align:left;overscroll-behavior:contain}.my-page-view{display:none;height:100%;min-height:0;flex-direction:column}.my-page-view.active{display:flex;animation:my-page-in .18s ease-out}.my-page-bar{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:64px;padding:7px 12px;border-bottom:1px solid #e7e5ea;background:#fff}.my-page-bar h2{grid-column:2;margin:0!important;color:#26232b;font:700 20px/1.2 Arial,PingFang SC,sans-serif!important;text-align:center}.my-page-view[data-my-view=home] .my-page-bar h2{grid-column:1/3;text-align:left}.my-close,.my-back{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:#5d5368;font-size:29px;line-height:1;cursor:pointer}.my-close{grid-column:3}.my-back{grid-column:1;grid-row:1;font-size:36px}.my-close:hover,.my-back:hover{background:#f1eef6;color:#6544c8}.my-page-scroll{flex:1;min-height:0;padding:18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfc5e4 transparent}.my-profile-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 17px;border:1px solid #e8e4ed;border-radius:16px;background:#fff}.my-profile-card .avatar{width:64px;height:64px;font-size:19px;background:#7452d8}.my-profile-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.my-profile-copy b{overflow:hidden;color:#25212a;font-size:19px;text-overflow:ellipsis;white-space:nowrap}.my-profile-copy small{overflow:hidden;color:#827a89;font-size:13px;text-overflow:ellipsis}.my-profile-copy em{width:max-content;margin-top:2px;padding:3px 7px;border-radius:6px;background:#f1edff;color:#6544c8;font-size:10px;font-style:normal;font-weight:750}.my-profile-card>button{min-width:56px;min-height:44px;padding:0 12px;border:1px solid #dcd3ee;border-radius:11px;background:#fff;color:#6544c8;font-size:12px;font-weight:750}.my-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 22px}.my-quick-actions button{display:grid;place-items:center;gap:7px;min-height:76px;padding:9px;border:1px solid #e8e4ed;border-radius:15px;background:#fff;color:#5f3fc2}.my-quick-actions span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f0ecff;font-size:16px}.my-quick-actions b{color:#4b4353;font-size:12px}.my-settings-group{margin:0 0 20px}.my-settings-group>h3{margin:0 4px 8px;color:#918a98;font-size:12px;font-weight:700;letter-spacing:.03em}.my-setting-list{overflow:hidden;border:1px solid #e8e4ed;border-radius:16px;background:#fff}.my-setting-row,.my-actions>button{display:grid;width:100%;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;padding:9px 14px;border:0;border-bottom:1px solid #efedf1;background:#fff;text-align:left;touch-action:manipulation}.my-setting-list>:last-child{border-bottom:0}.my-setting-row>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.my-setting-row b{color:#312d36;font-size:14px}.my-setting-row small{overflow:hidden;color:#928b98;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.my-setting-row i{color:#b6afbb;font-size:24px;font-style:normal;font-weight:300}.my-setting-row:hover,.my-actions>button:hover{background:#faf9fc}.my-row-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ded7ea;border-radius:10px;background:#faf9fc;color:#7354ce;font:700 19px/1 Arial,sans-serif}.my-row-icon.green{border-color:#cfe8dc;color:#3d9b70}.my-row-icon.blue,.my-row-icon.purple,.my-row-icon.cyan,.my-row-icon.amber,.my-row-icon.rose{color:#7354ce}.my-actions:empty{display:none}.my-actions>button{grid-template-columns:minmax(0,1fr) auto;min-height:54px;color:#4c4552;font-weight:700}.my-actions>button:after{content:"\203a";color:#b6afbb;font-size:24px;font-weight:300}.my-actions>.my-sign-out{color:#a9434f}.my-detail-intro{display:flex;flex-direction:column;gap:5px;margin-bottom:16px;padding:16px;border:1px solid #e5dff0;border-radius:16px;background:#f2effa}.my-detail-intro b{color:#4c3c72;font-size:15px}.my-detail-intro small{color:#7d7488;font-size:12px;line-height:1.5}.my-page .device-tools{display:grid;grid-template-columns:1fr;gap:9px;margin:0}.my-page .device-tools button{min-height:50px;border:1px solid #e2dce9;border-radius:13px;background:#fff;color:#4e4656;font-size:14px;font-weight:700}.my-page .device-tools button[aria-pressed=true]{border-color:#d8cef3;background:#f3efff;color:#5f3fc2}.my-page .device-tools small{padding:7px 4px;color:#817986;font-size:12px;line-height:1.5}.my-wallet-card{margin:0;padding:18px;border:1px solid #e1dae8;border-radius:17px;background:#fff}.my-wallet-card h3{margin:0 0 7px}.my-wallet-card>small{color:#817986}.my-wallet-card>strong{display:block;margin:15px 0}.my-wallet-card button{width:100%;min-height:48px;border:1px solid #ddd4ec;border-radius:12px;background:#6844d4;color:#fff;font-weight:800}.my-wallet-card #myWalletCenter{margin-bottom:9px;background:#fff;color:#5f3fc2}.my-wallet-card .wallet-unlink{margin-top:9px;min-height:44px;border-color:#e7bcc3;background:#fff;color:#a52639}.my-wallet-card .wallet-unlink:disabled{opacity:.6}.my-wallet-card[data-state=guest] button{background:#2f2b35}.wallet-unified-note{margin:10px 0;padding:10px 11px;border-radius:11px;background:#f1edff;color:#5f3fc2;font-size:12px;line-height:1.5}.wallet-safety{display:block;margin-top:11px!important;padding:9px;border-radius:10px;background:#fff4dc;color:#795a20!important;line-height:1.5}.wallet-identity-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#eef8f3}.wallet-identity-summary b{color:#176b4a}.wallet-identity-summary small{overflow-wrap:anywhere;text-align:right}.wallet-identity-summary b[data-state=provisioning]{color:#8a5b08}.wallet-identity-summary b[data-state=disconnected]{color:#64748b}.my-loading{padding:40px 12px;color:#8c8491;text-align:center}.my-page .experience-preferences,.my-page .self-service-sheet{margin:0;border:1px solid #e8e4ed;border-radius:16px;background:#fff}.my-page .self-service-sheet{position:static;display:grid;gap:12px;padding:17px}.my-page .self-service-sheet .modal-close{display:none}.my-page .self-service-sheet form{display:block}.storage-breakdown{display:grid;gap:0;margin:0;padding:0;list-style:none;border:1px solid #ebe7ef;border-radius:12px}.storage-breakdown li{display:flex;min-height:44px;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #efedf1}.storage-breakdown li:last-child{border-bottom:0}.storage-breakdown b{color:#706979;font-size:13px}@keyframes my-page-in{0%{opacity:.55;transform:translate(8px)}to{opacity:1;transform:none}}@media (min-width:701px){.my-page{min-height:620px}.my-page-scroll{padding:20px 22px}}@media (max-width:700px){#myPageModal{padding:0!important;align-items:stretch}.my-page{width:100%;height:var(--app-height,100dvh);max-height:none;border:0!important;border-radius:0!important}.my-page-bar{min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0}.my-page-scroll{padding:14px 14px calc(20px + env(safe-area-inset-bottom))}.my-profile-card{grid-template-columns:56px minmax(0,1fr) auto;padding:15px 14px}.my-profile-card .avatar{width:56px;height:56px}.my-quick-actions button{min-height:72px}.my-setting-row,.my-actions>button{min-height:58px}.my-settings-group{margin-bottom:17px}}@media (max-width:340px){.my-page-scroll{padding-inline:10px}.my-profile-card{grid-template-columns:48px minmax(0,1fr) auto;gap:9px}.my-profile-card .avatar{width:48px;height:48px}.my-profile-copy b{font-size:16px}.my-profile-card>button{min-width:48px;padding:0 8px}.my-setting-row{gap:9px;padding-inline:11px}.my-row-icon{width:32px;height:32px}}@media (prefers-reduced-motion:reduce){.my-page-view.active{animation:none}}.my-settings-search{position:relative;display:block;margin:12px 0 18px}.my-settings-search input{width:100%;min-height:48px;padding:0 46px 0 42px;border:1px solid #e3e0e7;border-radius:12px;outline:0;background:#fff;color:#312d36;font-size:16px}.my-settings-search:before{content:"";position:absolute;z-index:1;left:15px;top:50%;width:15px;height:15px;border:1.7px solid #8c8491;border-radius:50%;transform:translateY(-58%);pointer-events:none}.my-settings-search:after{content:"";position:absolute;z-index:1;left:27px;top:50%;width:7px;border-top:1.7px solid #8c8491;transform:translateY(5px) rotate(45deg);transform-origin:left center;pointer-events:none}.my-settings-search input:focus-visible{border-color:#8063d9;box-shadow:0 0 0 3px #8063d926}.my-settings-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.my-settings-clear{position:absolute;right:8px;top:50%;display:grid;width:36px;height:36px;padding:0;place-items:center;border:0;border-radius:9px;background:transparent;color:#817986;font-size:22px;line-height:1;transform:translateY(-50%)}.my-settings-clear:hover{background:#f1eef6;color:#6544c8}.my-settings-clear:focus-visible{outline:2px solid #8063d9;outline-offset:1px}.my-settings-clear[hidden]{display:none}.my-install-card{margin-top:4px}.my-install-card .my-setting-list{border-style:dashed;background:#fbfafc}.my-install-card .my-setting-row{min-height:64px;background:#fbfafc}.my-search-empty{padding:32px 12px;color:#928b98;text-align:center}.my-settings-group.hidden+.my-settings-group{margin-top:0}@media (max-width:340px){.my-settings-search{margin-bottom:14px}.my-setting-row small{max-width:180px}}.my-setting-row{grid-template-columns:40px minmax(0,1fr) auto;min-height:max(64px,var(--ui-control-height,48px));gap:12px;padding:10px 14px}.my-setting-row b{font-size:var(--ui-type-action,16px);font-weight:600;line-height:1.45;overflow-wrap:anywhere}.my-setting-row small{font-size:var(--ui-type-secondary,13px);line-height:1.5;overflow-wrap:anywhere;white-space:normal}.my-row-icon{display:grid;width:40px;height:40px;place-items:center;border:1px solid #ded7ea;border-radius:11px;background:#faf9fc;font-size:23px;line-height:1;color:#7354ce}.my-settings-group>h3{font-size:var(--ui-type-status,12px)}.my-profile-copy em{font-size:var(--ui-type-status,12px);font-weight:700}html[data-display-mode=large] .my-setting-row,html[data-font-size=large] .my-setting-row{min-height:68px}html[data-display-mode=large] .my-setting-row b,html[data-font-size=large] .my-setting-row b{font-size:18px}html[data-display-mode=large] .my-setting-row small,html[data-font-size=large] .my-setting-row small{font-size:15px}html[data-display-mode=care] .my-setting-row{min-height:72px;grid-template-columns:44px minmax(0,1fr) auto}html[data-display-mode=care] .my-setting-row b{font-size:18px;line-height:1.6}html[data-display-mode=care] .my-setting-row small{font-size:16px;line-height:1.6}html[data-display-mode=care] .my-row-icon{width:44px;height:44px;font-size:26px}@media (max-width:340px){.my-setting-row{grid-template-columns:40px minmax(0,1fr) auto;padding-inline:10px}.my-row-icon{width:40px;height:40px}.my-profile-card{overflow:hidden}.my-profile-copy,.my-setting-row>span:nth-child(2){overflow-wrap:anywhere}}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.my-page,.my-page *{box-sizing:border-box}.my-page{max-width:100%}.my-setting-row:focus-visible,.my-actions>button:focus-visible,.my-close:focus-visible,.my-back:focus-visible{position:relative;z-index:1;outline:3px solid #7553d64d;outline-offset:-3px}@media (min-width:701px){.my-page{max-width:min(500px,calc(100vw - 28px))}}.sidebar-primary-actions{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:8px}.sidebar-primary-actions>button{min-height:46px;border:0;border-radius:13px;font-weight:800;cursor:pointer}.sidebar-primary-actions #createGroup{border:1px solid #ded5ee;background:#fff;color:#6544c8}.mobile-utility-panel{display:none}.mobile-conversation-scroll{flex:1;min-height:0;margin-top:12px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.conversation-search{position:sticky;z-index:3;top:0;margin:0 0 5px;padding:4px 2px 8px;background:#faf8f4}.conversation-search span{font-size:12px;letter-spacing:.03em}.conversation-search input{min-height:44px;border-color:#e5dfea;background:#fff}.sidebar .section-label{margin:16px 10px 8px}.sidebar .group-list{max-height:none;overflow:visible}.profile{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px;margin-top:8px;padding:12px 4px 1px}.profile #myPageButton{min-width:70px;min-height:44px;padding:0 10px;border:1px solid #d8cef3;border-radius:11px;background:#f1edff;color:#5f3fc2;font-size:12px}.profile #myPageButton span{font-size:17px}.my-page-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto}.my-page-head>button{min-height:44px;padding:0 11px;border:1px solid #ded5ee;border-radius:11px;background:#fff;color:#6544c8;font-weight:750}.my-settings-group{margin:12px 0;padding:14px;border:1px solid #e6e0ea;border-radius:16px;background:#faf9fc;scroll-margin-top:12px}.my-settings-group h3{margin:0 0 10px;color:#4d4652;font-size:13px}.my-settings-group .my-actions,.my-settings-group .device-tools{margin:0}.my-settings-group .device-tools button{min-height:50px;font-size:15px;line-height:1.35}.my-settings-group .device-tools #soundToggle{grid-column:1/-1}.my-settings-group:focus{outline:3px solid #7452d438;outline-offset:2px}@media (min-width:1101px){.sidebar{padding-bottom:16px}.brand-row{padding-bottom:18px}.mobile-conversation-scroll{margin-top:14px}.friend-list,.group-list{overflow:visible}}@media (min-width:701px) and (max-width:1100px){.sidebar-primary-actions{grid-template-columns:1fr 62px;gap:6px}.sidebar-primary-actions>button{min-height:44px;font-size:11px}.conversation-search input{padding-inline:10px;font-size:14px}.profile{grid-template-columns:auto minmax(0,1fr)!important}.profile #myPageButton{grid-column:1/-1;width:100%}}@media (max-width:700px){.sidebar-primary-actions{display:none}.mobile-conversation-scroll{flex:1;min-height:0;margin-top:4px;padding-bottom:8px;overflow-y:auto}.conversation-search{padding-top:2px;background:#faf8f4}.sidebar .section-label{margin-top:14px}.profile{display:none!important}.mobile-utility-panel.open{display:grid;grid-template-columns:1fr;gap:8px}.mobile-utility-panel strong,.mobile-utility-panel small{grid-column:1/-1}.mobile-utility-panel strong{font-size:13px}.mobile-utility-panel small{color:#756d7a;font-size:11px;line-height:1.5}.mobile-utility-panel button{min-height:46px;border:1px solid #ded5ee;border-radius:12px;background:#f8f5ff;color:#6544c8;font-weight:750}.my-page-head{grid-template-columns:auto minmax(0,1fr)}.my-page-head>button{grid-column:1/-1;width:100%}.my-settings-group{padding:12px}.my-settings-group .device-tools{grid-template-columns:1fr}.my-settings-group .device-tools button{width:100%;min-height:50px;font-size:15px}}@media (max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.sidebar-primary-actions{display:none}.profile{display:none!important}.mobile-conversation-scroll{flex:1;min-height:0;margin-top:4px}.mobile-utility-panel.open{display:grid}}.group-hub{display:flex;flex:0 0 auto;align-items:center;gap:10px;padding:9px 34px;border-bottom:1px solid #e8e2d9;background:#faf7ff}.chat-panel:has(#groupManager:not(.hidden)) .group-hub.hidden{display:flex!important}.group-announcement{display:flex;min-width:0;flex:1;align-items:center;gap:9px;min-height:44px;padding:7px 12px;border:0;border-radius:12px;background:#eee8ff;text-align:left;cursor:pointer}.group-announcement.awaiting-read{outline:2px solid #7452d8;outline-offset:-2px;background:#f4efff}.group-announcement>span{flex:0 0 auto;padding:4px 7px;border-radius:7px;background:#7452d8;color:#fff;font-size:10px;font-weight:800}.group-announcement b{overflow:hidden;color:#463c54;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.group-announcement.empty b{color:#91899a;font-weight:500}.group-hub-actions{display:flex;align-items:stretch;gap:7px}.group-hub-actions button,.group-mode-quick{min-height:44px;border:1px solid #ddd5ea;border-radius:11px;background:#fff;color:#5f48a4;font-size:12px;font-weight:700}.group-hub-actions button{padding:0 13px;cursor:pointer}.group-hub-actions>*{min-height:44px;line-height:1.2;box-sizing:border-box}.group-mode-quick{max-width:150px;padding:0 26px 0 9px;appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235f48a4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;background-size:10px 6px}.group-media-modal{width:min(680px,100%);text-align:left}.group-media-modal>p{margin-bottom:14px}.group-media-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:58vh;overflow:auto}.group-asset{display:flex;min-width:0;align-items:center;gap:10px;min-height:64px;padding:9px;border:1px solid #e8e1ee;border-radius:13px;background:#fff;color:#443d49;text-decoration:none}.group-asset img,.group-file-icon{width:48px;height:48px;flex:0 0 auto;border-radius:9px;object-fit:cover}.group-file-icon{display:grid;place-items:center;background:#eee8ff;color:#6544c8;font-weight:800}.group-asset span:last-child{min-width:0}.group-asset b,.group-asset small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-asset b{font-size:12px}.group-asset small{margin-top:5px;color:#91899a;font-size:10px}@media (min-width:701px) and (max-width:1100px){.group-hub{padding-inline:20px}.group-announcement{flex-basis:180px}.group-hub-actions button{padding-inline:10px}.group-mode-quick{max-width:124px}}@media (max-width:700px){.group-hub{display:block;padding:7px 10px}.group-announcement{width:100%;min-height:44px}.group-hub-actions{margin-top:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.group-hub-actions>*{flex:0 0 auto}.group-hub-actions button,.group-mode-quick{min-height:44px}.group-media-modal{max-height:calc(100dvh - 24px);overflow:auto}.group-media-list{grid-template-columns:1fr;max-height:none}}@media (max-width:700px){.group-hub.mahjong-active{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(72px,1fr);align-items:stretch;gap:6px;padding:6px 8px}.group-hub.mahjong-active .group-announcement{display:none}.group-hub.mahjong-active .group-hub-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:6px;margin-top:0;overflow:visible;padding:0}.group-hub.mahjong-active .group-hub-actions>*,.group-hub.mahjong-active .mahjong-chat-tools{height:44px}.group-hub.mahjong-active .group-hub-actions>*{height:44px!important;min-height:44px!important}.group-hub.mahjong-active .mahjong-chat-tools{display:grid!important;grid-template-columns:1fr;align-self:stretch;gap:0;margin-top:0}.mahjong-chat-tools button:not(#mahjongScoreButton){display:none}.group-hub.mahjong-active .group-hub-actions button,.group-hub.mahjong-active .group-mode-quick,.group-hub.mahjong-active #mahjongScoreButton{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px!important;padding:0 5px;border-radius:10px;font-size:12px;white-space:nowrap}.group-hub.mahjong-active #mahjongScoreButton{height:44px;background:#0f766e;color:#fff;border-color:#0f766e}}@supports not (height:100dvh){@media (max-width:700px){.group-media-modal{max-height:calc(100vh - 24px)}}}.chat-wallet-trigger{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:13px;background:#eef6ff;color:#1473e6;font-size:20px}.wallet-action-card{width:min(92vw,420px);max-height:min(820px,calc(100dvh - 28px));display:flex;flex-direction:column;padding:22px;border-radius:24px;background:#fff;box-shadow:0 24px 70px #14213d33}.wallet-action-card h2{margin:0 0 8px}.wallet-action-card>p{margin:0 0 18px;color:#64748b}.wallet-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wallet-actions button{min-height:74px;border:0;border-radius:16px;background:#eef6ff;color:#075fc7;font-size:16px;font-weight:700}.chat-wallet-balance{margin:0 0 14px;padding:13px;border:1px solid #dbeafe;border-radius:16px;background:#f8fbff}.chat-wallet-balance header{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px}.chat-wallet-balance header small{color:#64748b}.chat-wallet-balance>div{display:grid;gap:7px;max-height:150px;overflow:auto}.chat-wallet-balance article{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:9px;border-radius:11px;background:#fff}.chat-wallet-balance article strong{text-align:right}.chat-wallet-balance article small{grid-column:1/-1;color:#64748b}.wallet-home-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.wallet-home-head h2{margin:0}.wallet-home-head small{color:#64748b}.wallet-home-controls{display:flex;gap:6px}.wallet-home-controls button{white-space:nowrap}.wallet-home-head button{min-width:64px;min-height:44px;border:1px solid #d8d0e8;border-radius:12px;background:#fff;color:#6544c8;font-weight:800}.wallet-home-head button:disabled{opacity:.55}.wallet-center-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 8px}.wallet-center-scroll>p{color:#64748b}.wallet-asset-summary{display:block;margin:8px 0 12px;padding:11px 13px;border-radius:13px;background:#eef8f3;color:#176b4a;font-size:13px}.wallet-asset-summary[data-tone=stale]{background:#fff7e6;color:#8a5b08}.wallet-asset-summary[data-tone=neutral]{background:#f1f5f9;color:#475569}.chat-wallet-balance h3,.wallet-activity h3{margin:0 0 9px;font-size:14px}.wallet-asset-list{display:grid;gap:8px;max-height:220px!important;overflow-y:auto}.wallet-asset-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:11px 12px;border:1px solid #e7edf4;border-radius:14px;background:#fff;box-shadow:0 3px 12px #0f172a0a}.chat-wallet-balance .wallet-asset-row{grid-template-columns:42px minmax(0,1fr) auto;gap:11px;padding:11px 12px}.wallet-asset-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(145deg,#e9f4ff,#dce9ff);color:#1769c2;font-size:18px;font-weight:900}.wallet-asset-copy{display:grid;min-width:0;gap:3px}.wallet-asset-copy strong{overflow:hidden;text-overflow:ellipsis;text-align:left!important}.wallet-asset-network{overflow:hidden;color:#718096;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.wallet-asset-value{display:grid;min-width:72px;gap:2px;text-align:right}.wallet-asset-value strong{font-size:15px}.wallet-asset-value small{grid-column:auto!important;color:#718096;font-size:10px}.wallet-activity{margin-bottom:14px}.wallet-activity>div{display:grid;gap:6px;max-height:126px;overflow:auto}.wallet-activity article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 10px;border-radius:10px;background:#f7f5f9}.wallet-activity article strong{white-space:nowrap}.wallet-home-empty{margin:0;padding:12px;color:#64748b;text-align:center}.wallet-activity article[data-direction=received] strong{color:#168354}.wallet-activity-chat{min-height:44px;padding:4px 8px;border:0;border-radius:9px;background:transparent;color:#42526a;font:inherit;text-align:left;text-decoration:underline;text-decoration-color:#b8c5d6;text-underline-offset:3px;cursor:pointer}.wallet-activity-chat:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.wallet-center-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;border-top:1px solid #e4eaf2}.wallet-center-links button{min-height:44px;border:1px solid #d8d0e8;border-radius:12px;background:#fff;color:#6544c8;font-weight:800}.wallet-values-hidden .wallet-asset-value strong,.wallet-values-hidden .wallet-activity strong{filter:blur(8px);user-select:none}@media (min-width:701px){.wallet-action-card{width:min(620px,calc(100vw - 40px))}}@media (max-width:700px){.wallet-home-head{align-items:stretch;flex-direction:column;padding-right:48px}.wallet-home-controls{display:grid;grid-template-columns:1fr 1fr}.wallet-home-controls button{width:100%}.chat-wallet-balance .wallet-asset-row{grid-template-columns:40px minmax(0,1fr) auto;padding:10px}.wallet-asset-icon{width:40px;height:40px}.wallet-activity>div{max-height:112px}}.wallet-confirm-summary{display:grid;gap:8px;margin:16px 0;padding:14px;border-radius:16px;background:#f8fafc}.wallet-confirm-summary span{display:flex;justify-content:space-between;gap:16px}.wallet-confirm-summary small{color:#64748b}.wallet-confirm-summary b{overflow-wrap:anywhere}.wallet-transfer-form{display:grid;gap:12px}.wallet-transfer-form label{display:grid;gap:6px;font-weight:700}.wallet-transfer-form input,.wallet-transfer-form select{min-height:46px;border:1px solid #dbe3ee;border-radius:12px;padding:0 12px;font-size:16px}.wallet-transfer-form>button{min-height:48px;border:0;border-radius:14px;background:#1473e6;color:#fff;font-weight:800}.wallet-transfer-form>button:disabled{opacity:.5}.wallet-safety{display:block;margin-top:12px;color:#64748b;line-height:1.5}.wallet-card{min-width:220px;padding:14px;border-radius:16px;background:linear-gradient(145deg,#0f67ca,#0b4b9e);color:#fff}.wallet-card header,.wallet-card footer{display:flex;justify-content:space-between;gap:12px}.wallet-card strong{display:block;margin:10px 0;font-size:22px}.wallet-card small{color:#dcecff}.wallet-card.wallet-pending{background:linear-gradient(145deg,#8a6410,#b17d13)}.wallet-card.wallet-submitted{background:linear-gradient(145deg,#1768b5,#0750a0)}.wallet-card.wallet-confirmed{background:linear-gradient(145deg,#15704b,#0b5839)}.wallet-card.wallet-failed{background:linear-gradient(145deg,#a6404c,#7f2934)}.wallet-card>[data-wallet-external]{width:100%;min-height:44px;margin-top:12px;border:1px solid #ffffff55;border-radius:11px;background:#fff;color:#075fc7;font-weight:800;touch-action:manipulation}.wallet-card header{align-items:flex-start}.wallet-card header small{max-width:52%;text-align:right}.wallet-confirmer{display:flex;align-items:center;gap:7px;margin:8px 0;font-size:12px}.wallet-confirmer span{font-size:9px}.wallet-hash{min-width:0;max-width:54%;overflow-wrap:anywhere;word-break:break-all}.wallet-scanning .wallet-confirmer span{color:#ffe08a}.wallet-ok .wallet-confirmer span{color:#92f0bb}.wallet-rpc-error .wallet-confirmer span{color:#ffb5bd}.wallet-unsupported .wallet-confirmer span{color:#ddd}.receive-qr{display:grid;place-items:center;gap:8px;margin:12px 0}.receive-qr img{width:180px;height:180px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.wallet-action-card>input,#openReceiveLinkForm input{width:100%;min-height:46px;padding:0 12px;border:1px solid #dbe3ee;border-radius:12px;font-size:16px}.wallet-action-card>button,#openReceiveLinkForm button{width:100%;min-height:44px;margin-top:10px;border:0;border-radius:12px;background:#1473e6;color:#fff;font-weight:800}#openReceiveLinkForm{display:grid;gap:8px;margin-top:14px}#openReceiveLinkForm label{display:grid;gap:6px;font-weight:700}.red-envelope-card{padding:16px;border-radius:18px;background:linear-gradient(145deg,#c43c35,#9c201f);color:#fff}.red-envelope-card header{display:grid;gap:4px}.red-envelope-card p,.red-envelope-card li{font-size:12px;line-height:1.5}.red-envelope-card ul{margin:10px 0;padding-left:18px}.red-envelope-card li span{opacity:.85}@media (max-width:700px){.chat-wallet-trigger{width:44px;height:44px}.wallet-action-card{width:100%;max-width:none;border-radius:24px 24px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom))}.wallet-modal{align-items:flex-end}.wallet-actions button{min-height:68px}.wallet-confirm-summary{font-size:15px}.wallet-card{max-width:calc(100vw - 76px);min-width:0}.wallet-card>[data-wallet-external]{min-height:46px}}:root{--red-envelope-touch:44px}.red-envelope-card{max-width:100%;overflow-wrap:anywhere}.red-envelope-card button{min-height:var(--red-envelope-touch);padding:0 16px;border:0;border-radius:12px;font-weight:800;touch-action:manipulation}@media (max-width:700px){.red-envelope-card{width:100%;padding:14px;border-radius:16px}.red-envelope-card header{grid-template-columns:minmax(0,1fr);gap:5px}.red-envelope-card header small,.red-envelope-card p,.red-envelope-card li{font-size:13px}.red-envelope-card ul{max-height:160px;overflow:auto;overscroll-behavior:contain}.red-envelope-card button{width:100%;min-height:48px}}.wallet-notification-center{position:fixed;z-index:120;top:calc(12px + env(safe-area-inset-top));left:50%;width:min(92vw,390px);transform:translate(-50%);display:grid;gap:7px;pointer-events:none}.wallet-notice{min-height:44px;padding:10px 14px;border:1px solid #dbeafe;border-radius:14px;background:#fff;color:#17324d;box-shadow:0 8px 28px #0f172a26;text-align:left;font-weight:700;pointer-events:auto;touch-action:manipulation}.wallet-notice.success{border-color:#a7e5ca}.wallet-notice.error{border-color:#fecaca}#walletHomeRetry:not(.hidden),#receiveOpenWallet:not(.hidden){display:block;min-height:44px;touch-action:manipulation}.wallet-home-head{font-size:var(--ui-type-body,15px)}.wallet-home-head h2{font-size:var(--ui-type-title,22px)}.wallet-home-head small,.wallet-asset-summary{font-size:var(--ui-type-secondary,13px)}.wallet-asset-network,.wallet-asset-value small{font-size:var(--ui-type-status,12px);line-height:1.4}.wallet-asset-value strong,.wallet-card strong,.wallet-activity strong{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.wallet-home-head button,.wallet-center-links button,.wallet-activity-chat,.wallet-action-card>button,#openReceiveLinkForm button{min-height:var(--ui-control-height,48px);font-size:var(--ui-type-action,15px)}.wallet-confirmer,.wallet-confirmer span{font-size:var(--ui-type-status,12px)}.red-envelope-card p,.red-envelope-card li{font-size:var(--ui-type-secondary,13px)}html[data-display-mode=large] .wallet-home-head{--ui-type-title:24px;--ui-type-body:17px;--ui-type-secondary:15px;--ui-type-status:13px;--ui-type-action:16px;--ui-control-height:50px}html[data-display-mode=care] .wallet-home-head{--ui-type-title:26px;--ui-type-body:18px;--ui-type-secondary:16px;--ui-type-status:14px;--ui-type-action:17px;--ui-control-height:52px;font-size:18px;line-height:1.6}:root{--wallet-blue:#3167e3;--wallet-red:#cf3e45;--wallet-line:#e4e8f0}.chat-wallet-trigger{flex:0 0 44px;min-width:44px;min-height:44px;box-shadow:inset 0 0 0 1px #d9e7fb;touch-action:manipulation}.wallet-action-card{position:relative;max-width:100%;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--wallet-line)}.wallet-action-card .modal-close{position:sticky;z-index:4;top:0;align-self:flex-end;flex:0 0 48px;display:grid;place-items:center;width:48px;height:48px;margin:-8px -8px -40px 0;border:1px solid #d8dee9;background:#f3f5f8;color:#1f2937;box-shadow:0 4px 12px #1822381f;font-size:25px;font-weight:600;line-height:1;touch-action:manipulation}.wallet-action-card .modal-close:hover{background:#e7ebf2}.wallet-action-card .modal-close:focus-visible{outline:3px solid #8bb2ff;outline-offset:2px}.wallet-action-card>h2,.wallet-action-card>.wallet-home-head{padding-right:56px}.wallet-action-card h2{font-size:clamp(21px,4vw,27px);letter-spacing:-.02em}.wallet-action-card>p{line-height:1.55}.wallet-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.wallet-actions button{display:grid;grid-template-rows:auto auto auto;place-items:center;gap:4px;min-width:0;min-height:94px;padding:10px 7px;border:1px solid #dce6f5;line-height:1.25;touch-action:manipulation}.wallet-actions button:disabled{opacity:.48;filter:grayscale(.35)}.wallet-actions button small{color:#64748b;font-size:10px;font-weight:600}.wallet-action-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#dfeaff;color:#1858bd;font-size:21px}.wallet-action-icon.red{background:#fff0ed;color:#b52d36;font-size:16px;font-weight:900}.wallet-inline-notice{margin:0 0 12px!important;padding:10px 12px;border:1px solid #f0c6ca;border-radius:12px;background:#fff4f4;color:#a22b35!important;font-size:13px;line-height:1.45}.wallet-transfer-form{gap:14px}.wallet-transfer-form label{gap:7px;color:#475569;font-size:13px}.wallet-transfer-form input,.wallet-transfer-form select{min-height:48px;border-color:#d8deea;border-radius:13px;background:#fff;font-size:16px}.wallet-transfer-form>button{min-height:50px;border-radius:14px;background:linear-gradient(135deg,#3973ee,#2855c7);box-shadow:0 9px 22px #2855c733}.wallet-safety{padding:10px 12px;border-radius:12px;background:#f6f8fc;color:#5f6b7c!important}.wallet-confirm-summary b{min-width:0;overflow-wrap:anywhere}.message-row>div:has(.wallet-card),.message-row>div:has(.red-envelope-card){width:min(100%,420px);min-width:0}.wallet-card,.red-envelope-card{width:min(100%,420px);min-width:0;overflow:hidden;overflow-wrap:anywhere;box-shadow:0 12px 30px #17213d22}.wallet-card{padding:17px;border:1px solid #ffffff2e;border-radius:20px}.wallet-card header,.wallet-card footer{align-items:flex-start}.wallet-card header small{line-height:1.4}.wallet-card>strong{font-size:clamp(22px,5vw,30px);letter-spacing:-.03em}.wallet-card>[data-wallet-external]{min-height:48px;font-size:14px}.red-envelope-card{position:relative;padding:18px;border:1px solid #ffffff2e;border-radius:20px;background:linear-gradient(145deg,#dc4a45,#9f2028)}.red-envelope-card:before{content:"";position:absolute;right:-32px;top:-48px;width:130px;height:130px;border-radius:50%;background:#ffffff12}.red-envelope-card header,.red-envelope-card p,.red-envelope-card ul,.red-envelope-card button,.red-envelope-card strong{position:relative}.red-envelope-card header b{font-size:17px}.red-envelope-card ul{padding:9px 12px;margin:10px 0;border-radius:12px;background:#6f10182b;list-style-position:inside}.red-envelope-card li{padding:5px 0}.red-envelope-card button{width:100%;min-height:48px;margin-top:8px;background:#fff7e8;color:#a5232c;box-shadow:0 8px 18px #65151b2b}@media (min-width:701px) and (max-width:1100px){.wallet-action-card{width:min(520px,calc(100vw - 48px))}.wallet-card,.red-envelope-card{width:min(100%,390px)}.composer-wrap{padding-inline:18px}}@media (max-width:700px){.wallet-modal{padding:0;align-items:flex-end}.wallet-action-card{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 10px);padding:18px 16px calc(18px + env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));border-width:1px 0 0;border-radius:24px 24px 0 0}.wallet-action-card .modal-close{margin:-5px -3px 0 8px}.wallet-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wallet-actions button{min-height:88px;font-size:14px}.message-row>div:has(.wallet-card),.message-row>div:has(.red-envelope-card){max-width:calc(100vw - 48px)}.wallet-card,.red-envelope-card{width:min(100%,420px);border-radius:18px}.wallet-card,.red-envelope-card{padding:15px}.composer{gap:4px}.composer .chat-wallet-trigger,.composer .attachment,.composer .emoji,.composer .send{flex:0 0 44px}.composer input{width:0;min-width:38px}.wallet-action-card input,.wallet-action-card select,.wallet-action-card button{font-size:16px}}@media (max-width:380px){.wallet-action-card{padding-inline:12px}.wallet-actions{gap:5px}.wallet-actions button{min-height:84px;padding-inline:3px}.wallet-action-icon{width:36px;height:36px}.message-row>div:has(.wallet-card),.message-row>div:has(.red-envelope-card){max-width:calc(100vw - 30px)}.wallet-card header{display:grid;gap:5px}.wallet-card header small{max-width:100%;text-align:left}.composer .emoji{display:none}.composer input{min-width:32px}.red-envelope-card header b{font-size:16px}}@media (max-height:520px){.wallet-modal{align-items:center;padding:8px}.wallet-action-card{max-height:calc(100dvh - 16px);overflow:auto;border-radius:18px;padding-bottom:14px}.wallet-actions button{min-height:52px}.wallet-action-card h2{font-size:20px}.wallet-action-card>p{margin-bottom:10px}.wallet-transfer-form{gap:8px}}@media (max-width:700px){.wallet-action-card .modal-close{margin:-5px -3px -43px 0}}@media (prefers-reduced-motion:reduce){.wallet-action-card,.wallet-card,.red-envelope-card{scroll-behavior:auto}}.wallet-action-card :is(button,input,select,textarea){min-height:44px;touch-action:manipulation}.wallet-action-card :is(input,select,textarea){font-size:16px}.wallet-action-card :is(strong,b,small,span,dd),.ichat-coin-transfer-card :is(strong,b,small,span),.ichat-coin-chat-card :is(strong,b,small,span),.ichat-coin-payment-request :is(strong,b,small,span){min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.wallet-card,.red-envelope-card,.ichat-coin-transfer-card,.ichat-coin-chat-card,.ichat-coin-payment-request{content-visibility:auto;contain-intrinsic-size:auto 120px}@media (max-width:430px){.message-row>div:has(.wallet-card),.message-row>div:has(.red-envelope-card),.message-row>div:has(.ichat-coin-transfer-card),.message-row>div:has(.ichat-coin-chat-card),.message-row>div:has(.ichat-coin-payment-request){max-width:calc(100vw - 24px);min-width:0}.wallet-action-card{padding-bottom:max(18px,env(safe-area-inset-bottom))}}@media (orientation:landscape) and (max-height:520px){.wallet-action-card{max-height:calc(var(--app-height,100dvh) - 16px);padding-bottom:max(12px,env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.wallet-action-card,.wallet-card,.red-envelope-card,.ichat-coin-transfer-card,.ichat-coin-chat-card,.ichat-coin-payment-request{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.wallet-actions button small{font-size:var(--ui-type-status,12px);line-height:1.4}.wallet-actions button{font-size:var(--ui-type-action,15px)}.wallet-action-card :is(button,input,select,textarea){min-height:var(--ui-control-height,48px)}html[data-display-mode=large] .wallet-action-card{--ui-type-status:13px;--ui-type-action:16px;--ui-control-height:50px}html[data-display-mode=care] .wallet-action-card{--ui-type-status:14px;--ui-type-action:17px;--ui-control-height:52px;font-size:18px;line-height:1.6}.composer-tools-menu{position:absolute;z-index:23;bottom:86px;left:22px;display:grid;width:min(330px,calc(100% - 44px));grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #e4ddec;border-radius:18px;background:#fff;box-shadow:0 18px 48px #251c3430}.composer-tools-menu button{display:grid;width:100%!important;min-width:0;min-height:76px!important;height:auto!important;place-items:center;align-content:center;gap:5px;border:0;border-radius:14px;background:#f5f1fa;color:#57457d;font-size:22px;touch-action:manipulation}.composer-tools-menu button:after{content:attr(data-label);display:block;color:#625b68;font-size:11px;font-weight:700;white-space:nowrap}.composer-tools-menu .chat-wallet-trigger{box-shadow:none}.composer-tools-menu .ichat-wallet-trigger{background:#eee8ff;color:#6742d5;font-size:19px;font-weight:800}.composer-tools-menu .emoji{display:grid}.composer-tools-menu svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.composer-input-pill{display:contents}.composer-tools-button{display:grid;flex:0 0 46px;width:46px;height:46px;place-items:center;border:0;border-radius:50%;background:transparent;color:#716a76;font-size:29px;line-height:1;transition:transform .18s ease,background .18s ease,color .18s ease;touch-action:manipulation}.composer-tools-button.active{transform:rotate(45deg);background:#eee9f7;color:#6844d4}.composer #draft{flex:1 1 auto;width:auto;min-width:0;min-height:56px;resize:none;line-height:1.45;max-height:112px;overflow-y:auto;padding:13px 18px;border:1px solid #e0dbe5;border-radius:16px;outline:0;background:#fff;color:#2b2730;font:inherit;font-size:16px;box-shadow:0 3px 14px #34293f0b;transition:border-color .16s ease,box-shadow .16s ease}.composer #draft:focus{border-color:#b9abe2;box-shadow:0 0 0 3px #7452d410,0 5px 18px #34293f0d}.composer #draft::placeholder{color:#9b949f}.composer-input-pill #draft:focus-visible{outline:0}body.composer-tools-open #notificationNudge{display:none}.composer .mic,.composer .send{flex:0 0 54px;width:54px;height:54px;border-radius:50%;box-shadow:0 7px 20px #6844d42c;transition:transform .16s ease,opacity .16s ease}.composer .send{background:linear-gradient(145deg,#7756dc,#6039c8)}.composer .send svg{width:26px;height:26px;stroke-width:2}.composer .send:disabled{display:none}.composer.has-send .mic,.composer:has(.send:not(:disabled)) .mic{display:none}.composer{gap:8px;padding:0;border:0;background:transparent;box-shadow:none}.composer:focus-within{border:0;box-shadow:none}@media (min-width:701px) and (max-width:1100px){.composer-tools-menu{left:24px;width:310px}.composer #draft{min-height:50px}}@media (max-width:700px){.composer-wrap{padding:7px 8px var(--mobile-safe-bottom);background:#f4f1f5}.composer{min-height:56px}.composer-tools-menu{position:absolute;right:8px;bottom:calc(66px + var(--mobile-safe-bottom));left:8px;width:auto;padding:9px}.composer-tools-menu button{min-height:72px}.composer-tools-button{flex-basis:46px;width:46px;height:46px}.composer #draft{min-height:54px}.composer .mic,.composer .send{flex-basis:54px;width:54px;height:54px}}@media (max-width:380px){.composer{gap:6px}.composer .mic,.composer .send{flex-basis:50px;width:50px;height:50px}.composer-tools-button{flex-basis:44px;width:44px;height:44px}.composer #draft{min-height:50px;padding-right:12px;padding-left:14px}.composer-tools-menu{right:7px;left:7px}}@media (max-height:520px){.composer-tools-menu{bottom:70px}.composer-tools-menu button{min-height:58px}}@media (prefers-reduced-motion:reduce){.composer-tools-button{transition:none}}.friend-discovery-modal{width:min(460px,100%)}.friend-discovery-list,.friend-recommendations{max-height:190px;overflow:auto}.friend-discovery-list h3,.friend-recommendations h3{margin:14px 0 4px;text-align:left;font-size:12px}.discovery-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 2px;border-bottom:1px solid var(--line);text-align:left}.discovery-row .avatar{width:36px;height:36px}.discovery-row>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.discovery-row b,.discovery-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.discovery-row small{color:var(--muted);font-size:10px}.discovery-row button{min-width:58px;min-height:44px;border:0;border-radius:9px;background:#eee9fa;color:var(--purple);font-size:11px;font-weight:700}.discovery-row button:disabled{opacity:.65}.friend-discovery-modal .my-code{margin-top:14px}@media (max-width:700px),(max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){.friend-discovery-modal{padding:20px 18px}.friend-discovery-modal .modal-symbol{display:none}.friend-discovery-list,.friend-recommendations{max-height:150px}.discovery-row button{min-height:44px}}.conversation-status{display:flex;flex:0 0 auto;align-items:center;gap:7px}.online-dot{width:10px;height:10px;flex:0 0 10px;border:2px solid #fffdfa;border-radius:50%;box-shadow:0 0 0 1px #746e6b29}.online-dot.online{background:#35a866;box-shadow:0 0 0 1px #2786533d}.online-dot.offline{background:#a8a4a2}.online-dot.unknown{background:#a8a4a2;border-style:dashed}.chat-presence-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;vertical-align:1px}.chat-presence-dot.online{background:#35a866}.chat-presence-dot.offline,.chat-presence-dot.unknown{background:#a8a4a2}.chat-presence-dot.unknown{outline:1px dashed #77716e;outline-offset:1px}.conversation:focus-visible .online-dot{outline:2px solid #7452d8;outline-offset:2px}@media (max-width:640px){.conversation-status{gap:6px}.online-dot{width:11px;height:11px;flex-basis:11px}}:root{--ui-focus:#6844d4;--ui-press:.975;--ui-scroll:#cfc5e4 transparent}:is(button,[role=button]){-webkit-tap-highlight-color:transparent}:is(button,[role=button],input,select,textarea):focus-visible{outline:3px solid var(--ui-focus);outline-offset:2px}:is(button,[role=button]):active:not(:disabled){transform:scale(var(--ui-press))}:is(button,[role=button]):disabled{cursor:not-allowed;filter:saturate(.72);opacity:.52}.conversation-copy b,.conversation-copy small,.profile b,.profile small,.chat-header b,.chat-header small{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.friend-list,.group-list,.messages,.mobile-conversation-scroll,.wallet-center-scroll,.wallet-asset-list,.my-page,.friend-modal{scrollbar-width:thin;scrollbar-color:var(--ui-scroll)}:is(.friend-list,.group-list,.messages,.mobile-conversation-scroll,.wallet-center-scroll,.wallet-asset-list,.my-page,.friend-modal)::-webkit-scrollbar{width:6px;height:6px}:is(.friend-list,.group-list,.messages,.mobile-conversation-scroll,.wallet-center-scroll,.wallet-asset-list,.my-page,.friend-modal)::-webkit-scrollbar-thumb{border-radius:99px;background:#cfc5e4}.conversation{transition:border-color .16s ease,background .16s ease,transform .16s ease}.conversation:active{transform:scale(.99)}.my-page h2{margin:0 0 8px;font-size:25px;line-height:1.2}.my-page h3{color:#433a4b;font-size:14px;letter-spacing:.01em}.my-actions button,.my-wallet-card button,.wallet-actions button,.wallet-center-links button{transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}.my-status-card,.my-wallet-card{box-shadow:0 5px 18px #32283d0a}.mobile-bottom-nav button.active{border-radius:12px;background:#f3efff;color:var(--accent-strong)}@media (hover:hover){.conversation:hover{transform:translateY(-1px)}.my-actions button:hover,.wallet-center-links button:hover{border-color:#c8b9ed;background:#faf8ff;box-shadow:0 5px 16px #4c337514}}@media (max-width:700px){.mobile-bottom-nav{padding-bottom:var(--mobile-safe-bottom);box-shadow:0 -8px 24px #30263b0a}.mobile-bottom-nav button{border-radius:12px}.my-page{scrollbar-gutter:stable;padding-top:16px}.my-page h2{font-size:24px}.my-status-card{gap:12px}.composer-wrap{border-top-color:#e9e3ef;box-shadow:0 -8px 24px #30263b08}}@media (max-width:360px){.my-actions{grid-template-columns:1fr}.my-status-card{align-items:flex-start;flex-direction:column}.wallet-actions{gap:6px}.wallet-actions button{min-width:0;padding-inline:4px}}@media (prefers-reduced-motion:reduce){:is(button,[role=button]),.conversation,.my-actions button,.my-wallet-card button,.wallet-actions button,.wallet-center-links button{transition:none!important}.conversation:hover,.conversation:active,:is(button,[role=button]):active:not(:disabled){transform:none}}.loading{height:100vh;height:100dvh}@media (max-height:667px) and (hover:hover){.app-shell{height:calc(100dvh - 16px);min-height:0;margin:8px auto}}.user-card{width:min(400px,100%);padding:34px 28px 26px;text-align:center}.user-card-avatar{width:76px;height:76px;margin:0 auto 14px;background:linear-gradient(145deg,#d9ccff,#bfe7dc);color:#543aa9;font-size:28px}.user-card h2{margin:0;font:26px Georgia,Songti SC,serif}.user-card-username{margin:5px 0 10px;color:#8b8390}.user-card-status{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:99px;background:#f1eee9;color:#7d7579;font-size:12px}.user-card-status[data-online=true]{background:#e9f7ee;color:#29885d}.user-card-status[data-online=true]:before{content:"";width:7px;height:7px;border-radius:50%;background:#42b77b}.user-card-details{display:grid;grid-template-columns:1fr auto;gap:12px;margin:24px 0;padding:18px;border-radius:16px;background:#f8f5fb;text-align:left}.user-card-details dt{color:#8d8490;font-size:12px}.user-card-details dd{margin:0;max-width:210px;overflow-wrap:anywhere;font-weight:700;text-align:right}.user-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.user-card-actions button{min-height:46px;border:1px solid #ded6ea;border-radius:13px;background:#fff;color:#665d6d;font-weight:700}.user-card-actions .user-card-primary{grid-column:1/-1;grid-row:1;border:0;background:#6844d4;color:#fff}.user-card-manage{grid-column:1/-1;background:#f3efff!important;color:#5f3fc2!important;border-color:#ded3f7!important}#chatIdentity[role=button]{min-height:44px;cursor:pointer;border-radius:14px}#chatIdentity[role=button]:focus-visible{outline:3px solid #7452d438;outline-offset:4px}@media (max-width:700px){.user-card{width:100%;padding:30px 20px max(22px,var(--mobile-safe-bottom));border-radius:24px 24px 0 0}.user-card-avatar{width:70px;height:70px}.user-card-actions button{min-height:48px}#userCardModal{align-items:end;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left)}}.translation-control{display:flex;min-height:44px;align-items:center;gap:5px;padding:0 10px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#625a69;font-size:11px;font-weight:700}.translation-control[hidden]{display:none}.translation-control{position:relative}.translation-control .translation-trigger{max-width:112px;min-height:44px;padding:0 4px;border:0;outline:0;background:transparent;color:#4d405f;font-size:inherit;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.translation-control .translation-trigger.is-active{color:#6652a4}.translation-control .translation-trigger:after{content:"\25be";margin-left:3px;opacity:.55}.translation-control .translation-trigger[disabled]{opacity:.5}.translation-panel{position:absolute;z-index:30;top:calc(100% + 4px);right:0;display:flex;max-height:min(320px,52vh);min-width:150px;flex-direction:column;overflow-y:auto;padding:4px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 8px 24px #3c2c5829}.translation-panel[hidden]{display:none}.translation-option{min-height:44px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#4d405f;font-size:12px;font-weight:600;text-align:left;white-space:nowrap}.translation-option.is-current{background:#f1ecfa;color:#5a44a0}.translation-option:hover,.translation-option:focus{background:#f6f3f9;outline:0}.message-translation{display:flex;max-width:min(560px,72vw);align-items:flex-start;gap:7px;margin-top:4px;padding:7px 9px;border-radius:9px;background:#f6f3f9;color:#625b69;font-size:11px;line-height:1.45}.mine .message-translation{justify-content:flex-end;text-align:right}.message-translation span{white-space:pre-wrap;overflow-wrap:anywhere}.message-translation button{flex:0 0 auto;min-height:44px;margin-block:-8px;padding:0 4px;border:0;border-radius:7px;background:transparent;color:#6652a4;font-size:10px}@media (max-width:700px){.header-actions .translation-control{min-width:0;flex:1;padding:0 8px;border-color:#dcd3e9;background:#f9f7ff}.header-actions .translation-control span{display:none}.header-actions .translation-control .translation-trigger{width:100%;max-width:none;padding:0 4px;font-size:12px}.header-actions .translation-panel{right:auto;left:0;min-width:min(70vw,220px)}.header-actions .expiry-control{flex:.8}.message-translation{max-width:min(72vw,280px)}}:root{color-scheme:light;--ui-type-title:22px;--ui-type-amount:26px;--ui-type-action:15px;--ui-type-body:15px;--ui-type-secondary:13px;--ui-type-status:12px;--ui-line-body:1.5;--ui-control-height:48px;--ui-row-height:64px;--ui-icon-size:24px;--ui-hit-size:44px;--mobile-nav-height:60px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-space-8:32px;--ui-radius-small:10px;--ui-radius-control:12px;--ui-radius-card:16px;--ui-radius-sheet:22px;--ui-bg:#fff;--ui-surface:#fff;--ui-surface-soft:#faf9fc;--ui-text:#28232e;--ui-text-secondary:#716978;--ui-border:#e6e0ea;--ui-accent:#6844d4}html[data-display-mode=large]{--ui-type-title:24px;--ui-type-amount:29px;--ui-type-action:16px;--ui-type-body:17px;--ui-type-secondary:15px;--ui-type-status:13px;--ui-line-body:1.55;--ui-control-height:50px;--ui-row-height:68px;--ui-icon-size:26px;--ui-hit-size:48px;--mobile-nav-height:68px}html[data-display-mode=care]{--ui-type-title:26px;--ui-type-amount:32px;--ui-type-action:17px;--ui-type-body:18px;--ui-type-secondary:16px;--ui-type-status:16px;--ui-line-body:1.6;--ui-control-height:52px;--ui-row-height:72px;--ui-icon-size:28px;--ui-hit-size:52px;--mobile-nav-height:76px;--ui-text-secondary:#5f5866;--ui-border:#d9d1df}html,body{max-width:100%}body{font-size:var(--ui-type-body);line-height:var(--ui-line-body)}.experience-preferences{margin:14px 0;padding:16px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-card);background:var(--ui-surface-soft)}.experience-preferences h3{margin:0 0 12px;font-size:var(--ui-type-title)}.experience-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-2)}.experience-preferences label{display:grid;min-width:0;gap:6px;color:var(--ui-text-secondary);font-size:var(--ui-type-secondary)}.experience-preferences select,.experience-preferences textarea{box-sizing:border-box;width:100%;min-width:0;min-height:var(--ui-control-height);border:1px solid var(--ui-border);border-radius:var(--ui-radius-control);background:#fff;padding:9px 12px;color:var(--ui-text);font:inherit;font-size:max(16px,var(--ui-type-body))}.experience-display-status{margin:10px 0 0;color:var(--ui-accent);font-size:var(--ui-type-secondary);font-weight:600}.experience-preferences>label{margin-top:12px}.experience-preferences textarea{min-height:84px;resize:vertical}.experience-preferences small{display:block;margin-top:9px;color:var(--ui-text-secondary);font-size:var(--ui-type-secondary);line-height:var(--ui-line-body)}html[data-display-mode=large] :where(.bubble,.message-translation span,.conversation-copy b){font-size:var(--ui-type-body)}html[data-display-mode=care] :where(.bubble,.message-translation span,.conversation-copy b,.my-setting-row b){font-size:var(--ui-type-body);line-height:var(--ui-line-body)}html[data-display-mode=care] :where(.conversation-copy small,.message-time,.my-setting-row small){font-size:var(--ui-type-secondary);line-height:var(--ui-line-body)}html[data-display-mode=care] :where(button,input,select,textarea){min-height:var(--ui-hit-size)}html[data-display-mode=care] :where(.my-close,.my-back,.modal-close,.mobile-back,.header-actions button){min-width:var(--ui-hit-size)}html[data-font-size=large] .message-translation span{font-size:var(--ui-type-body)}@media (max-width:700px){input,select,textarea{font-size:16px}.experience-preference-grid{grid-template-columns:1fr}}@media (max-width:340px){.experience-preferences{padding:12px}}.conversation-library{overflow-x:hidden}.conversation-library-sheet{width:min(680px,calc(100% - 24px));max-width:100%;max-height:min(82dvh,760px);overflow:auto;padding:20px;border-radius:24px;background:#fff}.conversation-library-sheet>header{display:flex;align-items:center;justify-content:space-between}.conversation-library button,.conversation-library a{min-height:44px}.conversation-library-sheet>header button{min-width:44px;border:0;background:transparent;font-size:28px}.conversation-library-tabs{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:8px 0}.conversation-library-tabs button{flex:0 0 auto;padding:0 16px;border:1px solid #ddd5ef;border-radius:14px;background:#fff}.conversation-library-tabs button.active{color:#633be0;background:#f1ebff}.conversation-library-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.conversation-library-item{min-width:0;padding:8px;border:1px solid #eee7f4;border-radius:14px}.conversation-library-item a{display:flex;align-items:center;overflow-wrap:anywhere;color:#442e75}.conversation-library-item img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.conversation-library-item small{display:block;margin-top:6px;color:#8b8491}.conversation-library-more{display:block;margin:16px auto 0;padding:0 18px}.conversation-library-empty{grid-column:1/-1;text-align:center;color:#8b8491}.conversation-library-trigger{width:auto!important;padding:0 10px!important;font-size:13px!important}@media (max-width:700px){.conversation-library{align-items:flex-end;padding:0}.conversation-library-sheet{width:100%;max-width:100%;max-height:78dvh;border-radius:22px 22px 0 0;padding:18px 14px calc(18px + env(safe-area-inset-bottom))}.conversation-library-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:360px){.conversation-library-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;overflow:visible}.conversation-library-tabs button{min-width:0;padding:0;font-size:13px}}@supports not (height:100dvh){.conversation-library-sheet{max-height:min(82vh,760px)}@media (max-width:700px){.conversation-library-sheet{max-height:78vh}}}.self-service-block-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #efecf3}.self-service-block-row:last-child{border-bottom:0}.self-service-block-row button{min-height:44px;padding:0 16px;border:1px solid #d9d3e0;border-radius:12px;background:#fff;color:#4a3f57;cursor:pointer}.self-service-block-row button:disabled{opacity:.55;cursor:progress}.self-service-sheet{position:absolute;inset:0;z-index:5;overflow:auto;background:#fff;padding:24px;display:grid;align-content:start;gap:14px}.self-service-sheet label{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px}.self-service-sheet select,.self-service-sheet input{max-width:52%;min-height:44px}.self-service-sheet small{color:#777;line-height:1.5}.self-service-sheet details{display:grid;gap:10px;border-top:1px solid #eee;padding-top:16px}.self-service-sheet .danger{background:#777;color:#fff}@media (max-width:600px){.self-service-sheet{padding:calc(20px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));border-radius:0}.self-service-sheet label{font-size:15px}}#favoritesList{max-width:100%;overflow-x:hidden}#favoritesList .result-row button,#favoritesList .favorite-list-more{min-height:44px}#favoritesList .favorite-list-more{display:block;margin:14px auto;padding:0 18px}#headerAdd{position:relative}.message-request-badge{position:absolute;right:-4px;top:-4px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:10px;background:#7050e8;color:#fff;font:700 11px/1 system-ui;box-sizing:border-box}.message-request-badge.hidden{display:none}.message-request-row>span{min-width:0}.message-request-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-request-actions{display:flex;gap:6px;flex-wrap:wrap}.message-request-actions button{min-height:44px}@media (max-width:380px){.message-request-row{align-items:flex-start;flex-direction:column}.message-request-actions{width:100%}.message-request-actions button{flex:1;min-height:44px}}#addFriend,#headerAdd{position:relative}.friend-request-badge{position:absolute;right:-5px;top:-5px;z-index:2;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #fff;border-radius:11px;background:#f5222d;color:#fff;font:700 12px/1 system-ui;box-sizing:border-box;cursor:pointer;box-shadow:0 1px 4px #f5222d73;animation:friend-request-pop .32s ease-out}.friend-request-badge.hidden{display:none}#addFriend .friend-request-badge{right:6px;top:4px}@keyframes friend-request-pop{0%{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}@media (prefers-reduced-motion:reduce){.friend-request-badge{animation:none}}.message-row{content-visibility:auto;contain-intrinsic-block-size:96px;flex:0 0 auto}.action-sheet-backdrop{top:var(--app-top,0);bottom:auto;height:var(--app-height,100dvh);box-sizing:border-box}.message-actions{max-height:100%;overflow-y:auto;overscroll-behavior:contain}@media (max-width:700px){.messages{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}.composer-wrap{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.message-row>div{max-width:min(82vw,calc(100vw - 92px))}.message-row.mine>div{max-width:min(82vw,calc(100vw - 40px))}.message-time{font-size:11px;line-height:1.35}}@media (min-width:701px) and (max-width:1024px) and (max-height:600px){body{height:100%;overflow:hidden;background:#faf8f4}.app-shell{position:fixed;top:0;left:0;width:100%;height:var(--app-height,100dvh);min-height:0;margin:0;display:block;transform:translate3d(0,var(--app-top,0px),0);border:0;border-radius:0;box-shadow:none}.sidebar{position:relative;height:100%;padding-top:calc(18px + env(safe-area-inset-top));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:calc(60px + var(--mobile-safe-bottom));padding-left:max(16px,env(safe-area-inset-left));overflow:hidden;border:0}.chat-panel{display:none;height:100%}.app-shell.chat-open .sidebar{display:none}.app-shell.chat-open .chat-panel,.mobile-only{display:flex}.mobile-header-actions button{min-width:44px;min-height:44px}.mobile-bottom-nav{position:absolute;z-index:10;right:0;bottom:0;left:0;display:grid;padding-top:4px;padding-right:max(8px,env(safe-area-inset-right));padding-bottom:var(--mobile-safe-bottom);padding-left:max(8px,env(safe-area-inset-left));border-top:1px solid #e4ded7;background:#fff}.sidebar-primary-actions,.profile{display:none!important}.mobile-conversation-scroll{flex:1;min-height:0;margin-top:4px;overflow-y:auto}.mobile-utility-panel:not(.open){display:none}.chat-header{height:calc(112px + env(safe-area-inset-top));display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;grid-template-rows:64px 48px;gap:0 7px;padding-top:env(safe-area-inset-top);padding-right:max(10px,env(safe-area-inset-right));padding-bottom:6px;padding-left:max(10px,env(safe-area-inset-left))}.mobile-back{grid-column:1;grid-row:1;display:block;width:44px;height:44px;margin:0}.chat-header>div:first-of-type{grid-column:2;grid-row:1;min-width:0}.friend-manager{grid-row:1;width:44px;height:44px;margin:0}.header-actions{grid-column:1/-1;grid-row:2;display:flex;min-width:0;gap:8px}.header-actions .expiry-control{min-width:0;min-height:44px;flex:1;justify-content:space-between;padding:0 12px}.header-actions .expiry-control span{display:inline}.header-actions .expiry-control select{width:100%;max-width:none;min-height:44px;font-size:14px}.header-actions #startCall{width:44px;height:44px;flex:0 0 auto}.header-actions #headerAdd{display:none}.messages{min-height:0;padding:18px 13px}.messages{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}.message-row>div{max-width:min(82vw,calc(100vw - 92px))}.message-row.mine>div{max-width:min(82vw,calc(100vw - 40px))}.message-time{font-size:11px;line-height:1.35}.composer-wrap{padding:7px 8px var(--mobile-safe-bottom);background:#f4f1f5}.composer-wrap{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.composer{min-height:56px}.composer-hint{display:none}input,select,textarea{font-size:16px}.modal-backdrop{align-items:flex-start;overflow:auto;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.friend-modal,.lock-modal{max-height:calc(var(--app-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);overflow:auto}}@media (prefers-reduced-motion:reduce){.message-row{content-visibility:visible}}.app-release-notice{position:fixed;z-index:72;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:14px;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:12px 14px;border:1px solid #ddd5ee;border-radius:14px;background:#fff;color:#322d38;box-shadow:0 12px 34px #3d315224;transform:translate(-50%)}.app-release-notice p{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.35}.app-release-notice div{display:flex;flex:none;gap:7px}.app-release-notice button{min-height:44px;padding:0 13px;border:1px solid #7452d8;border-radius:10px;background:#7452d8;color:#fff;font:inherit;font-weight:700;white-space:nowrap}.app-release-notice button:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}.app-release-notice .release-later{background:#fff;color:#655d69;border-color:#ddd5df}body.modal-open .app-release-notice,body.call-open .app-release-notice{display:none;pointer-events:none}@media (min-width:701px){body[data-active-chat-type] .app-release-notice{bottom:calc(150px + env(safe-area-inset-bottom))}}@media (max-width:700px){.app-release-notice{bottom:calc(var(--mobile-nav-height,60px) + 8px + var(--mobile-safe-bottom,env(safe-area-inset-bottom)));gap:8px;padding:10px 12px}.app-release-notice p{font-size:13px}.app-release-notice button{padding:0 10px}}@media (max-width:340px){.app-release-notice{align-items:stretch;flex-direction:column}.app-release-notice div{justify-content:flex-end}.app-release-notice button{flex:1}}@media (max-height:480px) and (orientation:landscape){.app-release-notice{bottom:calc(8px + env(safe-area-inset-bottom));max-height:calc(100dvh - 16px);padding:8px 10px}.app-release-notice p{font-size:12px}.app-release-notice button{min-height:44px}}@media (prefers-reduced-motion:reduce){.app-release-notice,.app-release-notice *{scroll-behavior:auto;transition:none}}.inline-delivery{opacity:.88;contain:layout paint}.inline-delivery .bubble{max-width:min(520px,72vw)}.inline-delivery-status{display:inline-flex;align-items:center;min-height:24px;padding:0;border:0;background:transparent;color:#96909c;font-size:10px;font-weight:650}button.inline-delivery-status{min-height:44px;padding:2px 7px;border-radius:7px;background:#f6f1f0;color:#98615d;cursor:pointer;touch-action:manipulation}.inline-delivery-cancel{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;margin-left:5px;padding:0 9px;border:0;border-radius:9px;background:transparent;color:#98615d;font:650 11px system-ui;cursor:pointer;touch-action:manipulation}.inline-delivery-cancel:focus-visible{outline:2px solid #7662d5;outline-offset:2px}.inline-delivery-status[data-delivery=sending]:before{content:"";width:5px;height:5px;margin-right:5px;border-radius:50%;background:#aaa3ae;animation:inline-pulse 1.2s ease-in-out infinite}@keyframes inline-pulse{50%{opacity:.35}}@media (max-width:700px){.inline-delivery .bubble{max-width:82vw}.inline-delivery-status{font-size:10px}button.inline-delivery-status{min-height:44px}}@media (prefers-reduced-motion:reduce){.inline-delivery-status[data-delivery=sending]:before{animation:none}}.message-delete-toolbar{position:fixed;z-index:55;top:max(10px,env(safe-area-inset-top));left:50%;width:min(620px,calc(100% - 24px));min-height:60px;transform:translate(-50%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid #ffffff28;border-radius:18px;background:#292631f5;color:#fff;box-shadow:0 14px 42px #17121f3d}.message-delete-toolbar.hidden,.message-delete-backdrop.hidden,.message-delete-check.hidden{display:none!important}.message-delete-toolbar b{overflow:hidden;font-size:14px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.message-delete-toolbar button,.message-delete-dialog button,.message-delete-check{min-width:44px;min-height:44px;border:0;border-radius:12px;font:700 14px system-ui}.message-delete-toolbar button{padding:0 14px;background:#7452d8;color:#fff}.message-delete-toolbar button:first-child{background:#55515a}.message-delete-toolbar button:disabled{opacity:.5}.message-delete-mode .message-row[data-message-id]{position:relative;cursor:pointer;user-select:none}.message-delete-mode .message-row[data-message-id]>div:not(.avatar){pointer-events:none}.message-delete-mode .message-row.message-delete-selected{outline:3px solid #7452d8;outline-offset:3px;border-radius:14px}.message-delete-check{position:absolute;z-index:2;top:50%;left:4px;transform:translateY(-50%);border:2px solid #7452d8;background:#fff;color:#7452d8;font-size:19px}.message-row.mine>.message-delete-check{right:4px;left:auto}.message-delete-backdrop{position:fixed;z-index:70;inset:0;display:grid;place-items:center;padding:16px;background:#18131f73}.message-delete-dialog{width:min(440px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border-radius:22px;background:#fff;color:#2f2934;box-shadow:0 24px 80px #17121f55}.message-delete-dialog h2{margin:0 0 8px;font-size:21px}.message-delete-dialog p{margin:0 0 18px;color:#6f6875;font-size:14px;line-height:1.65}.message-delete-options{display:grid;gap:10px}.message-delete-dialog button{width:100%;margin-top:10px;padding:0 16px;background:#f0ecf8;color:#5d42bd}.message-delete-dialog [data-delete-mode=everyone]{background:#fff0f1;color:#c63d49}.message-delete-dialog button:disabled{opacity:.48}.message-delete-toolbar button:focus-visible,.message-delete-dialog button:focus-visible,.message-delete-check:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}@media (max-width:700px){.message-delete-toolbar{top:max(6px,env(safe-area-inset-top));width:calc(100% - 16px);border-radius:14px}.message-delete-toolbar b{font-size:13px}.message-delete-dialog{align-self:end;width:100%;padding:20px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.message-delete-backdrop{place-items:end center;padding:0}.message-delete-check{top:12px;transform:none}}@media (min-width:701px){.message-delete-toolbar{top:18px}.message-delete-dialog{padding:26px}}html[data-font-size=care] .message-delete-toolbar b,html[data-font-size=care] .message-delete-dialog p{font-size:18px}html[data-font-size=care] .message-delete-toolbar button,html[data-font-size=care] .message-delete-dialog button{font-size:18px;min-height:52px}.cross-device-backdrop{position:fixed;inset:0;z-index:1250;display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#17131f73}.cross-device-backdrop.hidden{display:none}.cross-device-panel{position:relative;width:min(100%,580px);max-height:min(760px,calc(100dvh - 24px));overflow:auto;padding:22px;border-radius:24px;background:#fff;color:#27222f;box-shadow:0 22px 70px #17131f40}.cross-device-panel header{padding-right:48px}.cross-device-panel h2{margin:0 0 5px}.cross-device-panel p{margin:0;color:#736b7b;line-height:1.5}.cross-device-close{position:absolute;top:14px;right:14px}.cross-device-panel button{min-width:44px;min-height:44px;border:1px solid #ddd4ec;border-radius:12px;background:#fff;color:#5f3fc2;font:inherit;font-weight:800;touch-action:manipulation}.cross-device-panel button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.cross-device-feedback{margin:14px 0;padding:10px 12px;border-radius:12px;background:#f3f0f8;color:#625a6b}.cross-device-feedback[data-tone=error]{background:#fff0f0;color:#a52639}.cross-device-list{display:grid;gap:9px}.cross-device-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e5deec;border-radius:14px}.cross-device-row>span{display:grid;min-width:0;gap:4px}.cross-device-row small{overflow-wrap:anywhere;color:#766e7e}.cross-device-row>div{display:flex;gap:7px}.cross-device-state{width:max-content;padding:3px 8px;border-radius:99px;background:#edf2f7;color:#596575;font-size:12px}.cross-device-row[data-state=online] .cross-device-state,.cross-device-row[data-state=current] .cross-device-state{background:#e7f8ef;color:#176b4a}.cross-device-row[data-state=revoked]{opacity:.68}.cross-device-refresh{width:100%;margin-top:12px}@media (max-width:700px){.cross-device-backdrop{align-items:flex-end;padding:0}.cross-device-panel{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 8px);padding:20px 16px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.cross-device-row{align-items:stretch;flex-direction:column}.cross-device-row>div{display:grid;grid-template-columns:1fr 1fr}.cross-device-row>div button:only-child{grid-column:1/-1}}.login-approval-section{margin:14px 0;padding:12px;border-radius:14px;background:#faf7ff}.login-approval-section h3{margin:0 0 9px;font-size:15px}.login-approval-list{display:grid;gap:8px}.login-approval-row{background:#fff}.login-approval-row button:first-child{background:#7452d8;color:#fff}.voice-message-enhancement{position:relative;display:grid;grid-template-columns:44px minmax(72px,1fr) 44px;align-items:center;gap:6px;width:min(270px,78vw);height:52px;max-width:100%;padding:5px 7px 13px!important;overflow:hidden}.voice-message-enhancement button,.voice-message-enhancement input{min-height:44px;touch-action:manipulation}.voice-message-enhancement button{border:0;border-radius:12px;background:transparent;color:inherit;font-size:12px;font-weight:700}.voice-message-enhancement input[type=range]{min-width:0;width:100%;height:28px;accent-color:currentColor}.voice-message-enhancement [data-voice-status]{position:absolute;left:58px;right:52px;bottom:4px;overflow:hidden;font-size:9px;line-height:1;opacity:.72;text-overflow:ellipsis;white-space:nowrap}.voice-message-enhancement[data-voice-status=error] [data-voice-status]{color:#a32929;font-weight:700;opacity:1}.voice-message-enhancement button:focus-visible,.voice-message-enhancement input:focus-visible{outline:3px solid #93c5fd;outline-offset:1px}@media (max-width:420px){.voice-message-enhancement{grid-template-columns:42px minmax(62px,1fr) 42px;width:min(230px,76vw);gap:4px}.voice-message-enhancement [data-voice-status]{left:54px;right:48px}}@media (prefers-reduced-motion:reduce){.voice-message-enhancement *{scroll-behavior:auto;transition:none!important}}.mobile-call-action{min-width:48px;min-height:48px;touch-action:manipulation}.mobile-call-action[aria-busy=true]{pointer-events:none;opacity:.7}.mobile-call-feedback{min-height:44px;padding:8px 10px;border-radius:12px;background:#ffffff18}.mobile-call-feedback[data-call-state=failed]{background:#8b2535;color:#fff}.voice-message-enhancement{width:min(280px,78vw);min-height:48px;overflow:hidden}.voice-message-enhancement[aria-busy=true]{opacity:.78}.mobile-call-action:focus-visible,.voice-message-enhancement :focus-visible{outline:3px solid #fff;outline-offset:3px}@media (max-width:420px){.voice-message-enhancement{max-width:78vw}.mobile-call-action{min-width:52px;min-height:52px}}.chat-wallet-balance{position:relative}.chat-wallet-balance>h3{padding-right:190px}.chat-wallet-balance>#walletAssetManage,.chat-wallet-balance>#walletAssetMore{position:absolute;top:8px;min-height:36px;padding:0 11px;border:1px solid #d8d0e8;border-radius:10px;background:#fff;color:#6544c8;font-weight:800}.chat-wallet-balance>#walletAssetManage{right:10px}.chat-wallet-balance>#walletAssetMore{right:106px}.wallet-asset-picker{display:flex;gap:7px;margin:0 0 10px;padding:8px;overflow-x:auto;scroll-snap-type:x proximity}.wallet-asset-picker.hidden{display:none}.wallet-asset-picker label{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-height:44px;padding:0 11px;border:1px solid #dce5ef;border-radius:12px;background:#fff;scroll-snap-align:start}.wallet-asset-picker input{width:18px;height:18px}.receive-asset-select{display:grid;gap:6px;margin:12px 0;color:#334155;font-weight:800}.receive-asset-select select{width:100%;min-height:46px;padding:0 12px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;font-size:16px}@media (max-width:700px){.wallet-asset-picker{margin-inline:-4px;padding-inline:4px}.chat-wallet-balance>#walletAssetManage,.chat-wallet-balance>#walletAssetMore{min-height:44px;padding-inline:9px}.chat-wallet-balance>#walletAssetMore{right:101px}}.ichat-wallet{--iw-purple:#7049df;--iw-ink:#211c2b;--iw-muted:#817a89;--iw-line:#e9e4ef;max-width:760px;margin:auto;padding:20px 16px calc(18px + env(safe-area-inset-bottom));color:var(--iw-ink);font:15px/1.45 Arial,PingFang SC,sans-serif;background:#fff}.iw-head,.iw-ledger>header,.iw-split,.iw-ledger-row,.iw-pager{display:flex;align-items:center;justify-content:space-between}.iw-head h1,.iw-ledger h2,.iw-detail h2{margin:0;font-size:22px}.iw-head p,.iw-notice,.iw-footnote{margin:4px 0 0;color:var(--iw-muted)}.iw-test{padding:6px 10px;border-radius:9px;background:#f0ebff;color:#6541ce;font-weight:700}.iw-summary{margin:20px 0 12px;padding:22px;border-radius:20px;background:linear-gradient(135deg,#7854e6,#6540d2);color:#fff;box-shadow:0 12px 28px #7049df26}.iw-summary span{display:block}.iw-summary strong{display:block;margin-top:6px;font-size:28px;letter-spacing:-.5px}.iw-split{justify-content:flex-start;gap:36px;margin-top:20px}.iw-split small{opacity:.78}.iw-split b{display:block;margin-top:3px;font-size:16px}.iw-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.iw-action,.iw-pager button,.iw-back,.iw-ledger-row{min-height:44px;border:1px solid var(--iw-line);border-radius:12px;background:#fff;color:var(--iw-ink);font:inherit}.iw-action:not(:disabled):first-child{border-color:var(--iw-purple);background:#f5f1ff;color:var(--iw-purple);font-weight:700}.iw-action:disabled{color:#aaa4af;background:#f7f6f8}.iw-notice{padding:12px 14px;border-radius:12px;background:#f7f5fa;font-size:13px}.iw-ledger{margin-top:22px}.iw-ledger>header{margin-bottom:8px}.iw-ledger>header span{color:var(--iw-muted);font-size:13px}.iw-ledger-row{width:100%;padding:11px 4px;border-width:0 0 1px;border-radius:0;text-align:left}.iw-ledger-main{display:grid;gap:3px;min-width:0}.iw-ledger-main small{overflow:hidden;color:var(--iw-muted);text-overflow:ellipsis}.iw-ledger-amount{margin-left:auto;padding:0 12px;font-weight:700}.iw-status{min-width:58px;color:var(--iw-muted);text-align:right}.iw-status.is-success{color:#23855a}.iw-status.is-failed{color:#b74954}.iw-status.is-held{color:#a36a13}.iw-empty{padding:28px;text-align:center;color:var(--iw-muted)}.iw-pager{margin-top:14px}.iw-pager button,.iw-back{padding:0 16px}.iw-pager button:disabled{opacity:.45}.iw-detail{padding-top:4px}.iw-detail h2{margin:18px 0}.iw-detail-list{display:grid;grid-template-columns:88px 1fr;margin:0;border-top:1px solid var(--iw-line)}.iw-detail-list dt,.iw-detail-list dd{margin:0;padding:13px 0;border-bottom:1px solid var(--iw-line);overflow-wrap:anywhere}.iw-detail-list dt{color:var(--iw-muted)}@media (max-width:520px){.ichat-wallet{padding-inline:12px}.iw-actions{grid-template-columns:1fr 1fr}.iw-summary{border-radius:17px}.iw-ledger-row{display:grid;grid-template-columns:1fr auto}.iw-status{grid-column:2}.iw-split{gap:24px}}@media (max-width:350px){.iw-summary{padding:18px}.iw-summary strong{font-size:24px}.iw-head h1{font-size:20px}.iw-action{font-size:13px}.iw-ledger-amount{padding-right:0}}@media (min-width:900px){.ichat-wallet{max-width:900px;padding-top:32px}.iw-actions{gap:12px}.iw-summary{padding:28px}}.iw-appeal-form{display:grid;gap:8px;margin-top:10px}.iw-appeal-form textarea{min-height:72px;padding:10px;border:1px solid var(--iw-line);border-radius:10px;resize:vertical;font:inherit}.iw-appeal{min-height:44px;border:0;border-radius:10px;background:var(--iw-purple);color:#fff;font:inherit;font-weight:700}.iw-copy{width:100%;min-height:44px;margin-top:14px;padding:0 16px;border:1px solid var(--iw-line);border-radius:12px;background:#fff;color:var(--iw-purple);font:inherit;font-weight:700}.ichat-wallet{box-sizing:border-box;width:100%;overflow-x:hidden}.iw-head{align-items:flex-start;gap:8px;padding-right:50px}.iw-head>div{min-width:0}.iw-test{flex:0 0 auto}.iw-ledger-row>*{min-width:0}.iw-ledger-amount{max-width:46%;overflow-wrap:anywhere;text-align:right}.iw-detail-list{grid-template-columns:minmax(72px,88px) minmax(0,1fr);min-width:0}.iw-detail-list dt,.iw-detail-list dd{min-width:0;word-break:break-word}@media (max-width:520px){.iw-ledger-main{grid-row:1/3}.iw-ledger-amount{padding-right:0}.iw-status{align-self:end}}.iw-summary strong{min-width:0;overflow-wrap:anywhere;font-size:clamp(19px,6vw,28px);line-height:1.2}.ichat-wallet button:focus-visible{outline:3px solid #c7b7fa;outline-offset:2px}@media (max-width:520px){.iw-ledger-amount{min-width:80px;padding-right:0;font-size:13px;line-height:1.25}.iw-ledger-main{overflow-wrap:anywhere}}.iw-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.iw-balance-toggle{min-height:44px;padding:0 12px;border:1px solid #ffffff66;border-radius:11px;background:#ffffff1f;color:#fff;font:inherit;font-weight:700}.iw-support-actions{grid-template-columns:repeat(3,1fr);margin-top:8px}.iw-closed-actions{grid-template-columns:repeat(2,1fr);margin-top:8px}.iw-closed-actions .iw-action{min-height:38px;border-style:dashed;font-size:12px}.iw-load-state{box-sizing:border-box;display:grid;justify-items:center;align-content:center;min-height:min(520px,80dvh);padding:40px 20px;background:#fff;color:var(--iw-ink,#211c2b);text-align:center}.iw-load-state h2{margin:14px 0 6px;font-size:21px}.iw-load-state p{max-width:420px;margin:0;color:#817a89}.iw-load-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#f0ebff;color:#6541ce;font-size:22px;font-weight:800}.iw-load-retry{min-width:132px;min-height:var(--ui-control-height,48px);margin-top:20px;border:0;border-radius:12px;background:#7049df;color:#fff;font:inherit;font-size:var(--ui-type-action,15px);font-weight:600}.iw-load-retry:disabled{opacity:.55}@media (max-width:520px){.iw-primary-actions,.iw-support-actions{grid-template-columns:1fr 1fr}.iw-support-actions .iw-action:last-child{grid-column:1/-1}.iw-summary-head{gap:8px}.iw-balance-toggle{padding-inline:9px}.iw-load-state{min-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}.iw-security-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:8px;overflow:hidden;border:1px solid var(--iw-line);border-radius:12px;background:var(--iw-line)}.iw-security-summary span{display:grid;min-width:0;gap:2px;padding:10px 12px;background:#fff}.iw-security-summary small{color:var(--iw-muted);font-size:var(--ui-type-status,12px)}.iw-security-summary b{overflow-wrap:anywhere;font-size:var(--ui-type-secondary,13px)}.iw-security-summary .is-ready b{color:#23855a}.iw-security-summary .is-attention b{color:#9a6417}@media (max-width:520px){.iw-security-summary{grid-template-columns:1fr}.iw-security-summary span{grid-template-columns:90px minmax(0,1fr);align-items:center}}.iw-notification-settings{min-height:44px;padding:0;border:0;background:transparent;color:var(--iw-purple);font-family:inherit;font-size:var(--ui-type-secondary,13px);font-weight:600;line-height:1.4;text-align:left}@media (max-width:520px){.iw-security-summary span:has(.iw-notification-settings){grid-template-columns:90px minmax(0,1fr) auto}.iw-notification-settings{padding-inline:8px}}.ichat-wallet{font-size:var(--ui-type-body,15px);line-height:1.5}.iw-head h1,.iw-ledger h2,.iw-detail h2{font-size:var(--ui-type-title,22px)}.iw-summary strong{font-size:clamp(20px,6vw,var(--ui-type-amount,28px))}.iw-action,.iw-pager button,.iw-back{min-height:var(--ui-control-height,48px);font-size:var(--ui-type-action,15px);font-weight:600}.iw-ledger-row{min-height:64px}.iw-ledger-main b{font-size:var(--ui-type-body,15px)}.iw-ledger-main small,.iw-head p,.iw-notice,.iw-footnote{font-size:var(--ui-type-secondary,13px)}.iw-status{font-size:var(--ui-type-status,12px)}html[data-display-mode=large] .ichat-wallet{--ui-type-body:17px;--ui-type-secondary:15px;--ui-type-title:24px;--ui-type-amount:30px;--ui-type-action:16px;--ui-control-height:50px}html[data-display-mode=care] .ichat-wallet{--ui-type-body:18px;--ui-type-secondary:16px;--ui-type-status:14px;--ui-type-title:26px;--ui-type-amount:32px;--ui-type-action:17px;--ui-control-height:52px;font-size:18px;line-height:1.6}.iw-summary strong,.iw-split b,.iw-ledger-amount,.iw-detail-list dd{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.iw-copy,.iw-balance-toggle,.iw-appeal{min-height:var(--ui-control-height,48px)}.iw-copy{font-size:var(--ui-type-action,15px);font-weight:600}.iw-backdrop{position:fixed;inset:0;z-index:1450;display:grid;place-items:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));background:#211b2b66}.iw-backdrop[hidden]{display:none}.iw-modal{position:relative;box-sizing:border-box;width:min(100%,920px);max-height:var(--app-height,100dvh);overflow:auto;overscroll-behavior:contain;border-radius:22px;background:#fff;box-shadow:0 24px 70px #211b2b33}.iw-close{position:absolute;z-index:2;top:12px;right:12px;width:44px;height:44px;border:1px solid #e9e4ef;border-radius:12px;background:#fff;font-size:24px}#openIchatWallet{min-height:44px;border:1px solid #d9cff3;border-radius:12px;background:#f4f0ff;color:#6541ce;font:inherit;font-weight:700}@media (max-width:520px){.iw-backdrop{place-items:stretch;padding:0}.iw-modal{width:100%;height:100%;max-height:100%;padding-top:env(safe-area-inset-top);border-radius:0}.iw-close{top:calc(12px + env(safe-area-inset-top))}}.iw-backdrop{inset:var(--app-top,0) 0 auto;top:var(--app-top,0);height:var(--app-height,100dvh);box-sizing:border-box}.iw-modal{max-height:100%}.iw-close:focus-visible,#openIchatWallet:focus-visible{outline:3px solid #c7b7fa;outline-offset:2px}.iwaction{box-sizing:border-box;min-width:0;min-height:100%;padding:18px 16px calc(18px + env(safe-area-inset-bottom));color:#211c2b;background:#fff;font:15px/1.45 Arial,PingFang SC,sans-serif}.iwaction>header{display:flex;align-items:center;gap:12px;padding-right:50px}.iwaction h2{min-width:0;margin:0;font-size:21px;overflow-wrap:anywhere}.iwaction-back,.iwaction-submit,.iwaction-passkey,.iwaction input,.iwaction select{min-height:44px;border:1px solid #e3ddeb;border-radius:11px;background:#fff;font:inherit}.iwaction-back{flex:0 0 auto;padding:0 14px;color:#6843d1}.iwaction-form,.iwaction-review{display:grid;gap:14px;max-width:520px;margin:24px auto}.iwaction-field{display:grid;min-width:0;gap:6px}.iwaction-field>span{color:#625b69;font-weight:700}.iwaction input,.iwaction select{box-sizing:border-box;width:100%;min-width:0;padding:0 12px;color:#211c2b}.iwaction-passkey{color:#6843d1;font-weight:700}.iwaction-submit{border-color:#7049df;background:#7049df;color:#fff;font-weight:800}.iwaction-submit:disabled{opacity:.55}.iwaction-help,.iwaction-status{margin:0;padding:11px 12px;border-radius:11px;background:#f6f3fa;color:#716a78;overflow-wrap:anywhere}.iwaction-status[data-error=true]{background:#fff0f1;color:#a52f42}.iwaction-review h3{margin:0}.iwaction-review dl{display:grid;grid-template-columns:minmax(72px,88px) minmax(0,1fr);margin:0}.iwaction-review dt,.iwaction-review dd{min-width:0;margin:0;padding:13px 0;border-bottom:1px solid #e8e2ed;overflow-wrap:anywhere}.iwaction-review dt{color:#7c7582}.iwaction-review-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}.iwaction-review-actions button{min-height:var(--ui-control-height,48px);border:1px solid #ded6ea;border-radius:12px;background:#fff;font:inherit}.iwaction-review-actions button:last-child{border-color:#7049df;background:#7049df;color:#fff;font-weight:700}.iwaction input:focus-visible,.iwaction select:focus-visible,.iwaction button:focus-visible{outline:3px solid #c7b7fa;outline-offset:2px}@media (max-width:350px){.iwaction{padding-inline:12px}.iwaction-form{gap:11px}.iwaction h2{font-size:19px}.iwaction-review-actions{grid-template-columns:1fr}}@media (min-width:900px){.iwaction{padding-top:30px}}@media (max-width:520px){.iwaction input,.iwaction select{font-size:16px}}.iwaction select:disabled{opacity:1;background:#f7f5fa;color:#4c4652;-webkit-text-fill-color:#4c4652}.iwaction-recipient-proof{display:flex;align-items:center;gap:8px;margin:2px 0 0;padding:9px 11px;border:1px solid #e5def0;border-radius:10px;background:#f8f6fc;color:#594d68;font-size:13px;font-weight:700;overflow-wrap:anywhere}.iwaction-recipient-proof .recipient-avatar{display:grid;flex:0 0 32px;width:32px;height:32px;place-items:center;border-radius:10px;background:#eee9fb;font-size:20px}.iwaction{font-size:var(--ui-type-body,15px);line-height:1.5}.iwaction h2{font-size:var(--ui-type-title,22px)}.iwaction-back,.iwaction-submit,.iwaction-passkey{min-height:var(--ui-control-height,48px);font-size:var(--ui-type-action,15px);font-weight:600}.iwaction input,.iwaction select{min-height:var(--ui-control-height,48px);font-size:var(--ui-type-input,16px)}.iwaction-help,.iwaction-status,.iwaction-review dt{font-size:var(--ui-type-secondary,13px)}.iwaction-review dd{font-size:var(--ui-type-body,15px);font-variant-numeric:tabular-nums}html[data-display-mode=large] .iwaction{--ui-type-title:24px;--ui-type-body:17px;--ui-type-secondary:15px;--ui-type-action:16px;--ui-type-input:17px;--ui-control-height:50px}html[data-display-mode=care] .iwaction{--ui-type-title:26px;--ui-type-body:18px;--ui-type-secondary:16px;--ui-type-action:17px;--ui-type-input:18px;--ui-control-height:52px;font-size:18px;line-height:1.6}.iwaction-success{text-align:center}.iwaction-success-amount{font-size:var(--ui-type-amount,28px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.iwaction-success>p:not(.iwaction-help){margin:0;color:#5f5866}.iwaction select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235f48a4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:10px 6px;background-position:right 12px center}.iw-notification-list{display:grid;min-width:0;gap:10px;max-width:520px;margin:24px auto}.iw-notification{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:5px 12px;padding:13px;border:1px solid #e5deec;border-radius:12px;background:#fff}.iw-notification>*{min-width:0}.iw-notification strong,.iw-notification small{grid-column:1;overflow-wrap:anywhere}.iw-notification span{grid-column:2;grid-row:1/3;max-width:44vw;color:#6843d1;font-weight:800;overflow-wrap:anywhere;text-align:right}.iw-notification small{color:#837b89}@media (max-width:520px){.iw-notification{grid-template-columns:1fr}.iw-notification strong,.iw-notification small,.iw-notification span{grid-column:1;grid-row:auto;max-width:none;text-align:left}}.iw-notification-retry{display:block;min-height:var(--ui-control-height,48px);margin-top:9px;padding:0 16px;border:1px solid #d9d3e2;border-radius:10px;background:#fff;color:#6843d1;font:inherit;font-size:var(--ui-type-action,15px);font-weight:600}.iws-center{width:100%;max-width:920px;min-width:0;margin:auto;overflow-x:hidden;color:var(--iw-ink)}.iws-center :focus-visible{outline:3px solid #6f45dd;outline-offset:2px}.iws-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.iws-head>div{min-width:0}.iws-head h2,.iws-head p{margin:0}.iws-head h2{font-size:22px}.iws-head p{margin-top:3px;color:var(--iw-muted);font-size:13px}.iws-tools{display:grid;gap:10px}.iws-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}.iws-search input,.iws-tools select,.iws-date input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--iw-line);border-radius:11px;background:#fff;color:var(--iw-ink);font:inherit;font-size:16px}.iws-search button,.iws-filter-grid button,.iws-export,.iws-receipt-button,.iws-state button,.iws-receipt-actions button{min-height:44px;border:1px solid var(--iw-line);border-radius:11px;background:#fff;color:var(--iw-ink);font:inherit;font-weight:700}.iws-search button{padding:0 18px;background:#f4efff;color:var(--iw-purple)}.iws-filter-box{min-width:0;border:1px solid var(--iw-line);border-radius:13px;background:#faf9fc}.iws-filter-box summary{display:flex;min-height:44px;align-items:center;padding:0 14px;color:#5f5868;font-weight:700;cursor:pointer}.iws-filter-box summary::-webkit-details-marker{display:none}.iws-filter-box summary:after{margin-left:auto;content:"\2304";font-size:18px}.iws-filter-box[open] summary:after{transform:rotate(180deg)}.iws-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border-top:1px solid var(--iw-line)}.iws-filters{display:grid;grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;min-width:0}.iws-filters button{min-width:0;padding:0 8px}.iws-filters .is-active{border-color:#bca9f1;background:#f1ebff;color:var(--iw-purple)}.iws-date{display:grid;min-width:0;gap:4px;color:var(--iw-muted);font-size:12px}.iws-filter-status{grid-column:1/-1;min-height:18px;margin:0;color:#a04452;font-size:12px}.iws-clear{color:#6f6874}.iws-apply{border-color:var(--iw-purple)!important;background:var(--iw-purple)!important;color:#fff!important}.iws-month-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin:18px 0 10px;padding:13px 14px;border:1px solid var(--iw-line);border-radius:14px;background:#fff}.iws-month-bar>div{display:grid;min-width:0;gap:2px}.iws-month-bar small{color:var(--iw-muted)}.iws-month-bar select{width:auto;max-width:150px}.iws-export{padding:0 14px;color:var(--iw-purple)}.iws-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:18px}.iws-summary article{min-width:0;padding:12px 13px;border-radius:12px;background:#f7f5fa}.iws-summary small,.iws-summary strong{display:block;overflow-wrap:anywhere}.iws-summary small{color:var(--iw-muted)}.iws-summary strong{margin-top:4px;font-size:16px;font-variant-numeric:tabular-nums}.iws-list{display:grid;gap:8px;min-width:0}.iws-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,auto) auto;grid-template-areas:"main amount receipt";align-items:center;gap:14px;min-width:0;padding:14px;border:1px solid var(--iw-line);border-radius:14px;background:#fff}.iws-row b{min-width:0;overflow-wrap:anywhere}.iws-row-main{grid-area:main;display:grid;min-width:0;gap:5px}.iws-row-title{display:flex;align-items:center;gap:8px;min-width:0}.iws-business{flex:none;padding:4px 7px;border-radius:7px;background:#f0ebff;color:var(--iw-purple);font-size:11px;font-weight:800}.iws-object{min-width:0;overflow-wrap:anywhere;font-size:14px}.iws-row-date{color:var(--iw-muted);font-size:12px}.iws-meta{display:flex;align-items:center;gap:6px;color:#6b6470;font-size:12px}.iws-direction,.iws-status{display:inline-flex;align-items:center;min-height:22px;padding:1px 7px;border-radius:999px}.iws-direction{background:#f5f3f7}.iws-status{border:1px solid var(--iw-line);background:#fff}.iws-amount{grid-area:amount;min-width:0;overflow-wrap:anywhere;text-align:right;font-size:16px;font-variant-numeric:tabular-nums}.iws-amount.is-in{color:#217553}.iws-amount.is-out{color:#4c4651}.iws-receipt-button{grid-area:receipt;padding:0 11px;color:var(--iw-purple)}.iws-more{display:block;min-width:140px;margin:14px auto 0;padding:0 18px}.iws-more[hidden]{display:none}.iws-state{display:grid;justify-items:center;gap:7px;min-height:150px;padding:28px 18px;place-content:center;border:1px dashed var(--iw-line);border-radius:14px;background:#fcfbfd;text-align:center}.iws-state strong{font-size:16px}.iws-state p{max-width:460px;margin:0;color:var(--iw-muted);overflow-wrap:anywhere}.iws-state button{margin-top:5px;padding:0 18px;color:var(--iw-purple)}.iws-error{background:#fffafb}.iws-loading{color:var(--iw-muted)}.iws-receipt{max-width:620px;min-width:0;margin:auto}.iws-receipt-head{display:flex;align-items:center;gap:14px}.iws-receipt-head>div{min-width:0}.iws-receipt-head h2,.iws-receipt-head p{margin:0}.iws-receipt-head p{margin-top:3px;color:var(--iw-muted);font-size:12px}.iws-receipt-hero{display:grid;justify-items:center;gap:7px;margin:22px 0 12px;padding:24px;border-radius:16px;background:#f6f2ff}.iws-receipt-hero small{color:var(--iw-purple);font-weight:800}.iws-receipt-hero strong{max-width:100%;overflow-wrap:anywhere;font-size:28px;font-variant-numeric:tabular-nums}.iws-receipt-hero span{color:#4c7a62}.iws-receipt-details{display:grid;grid-template-columns:minmax(88px,auto) minmax(0,1fr);margin:0}.iws-receipt-details dt,.iws-receipt-details dd{min-width:0;margin:0;padding:13px 2px;border-bottom:1px solid var(--iw-line)}.iws-receipt-details dt{color:var(--iw-muted)}.iws-receipt-details dd{text-align:right;overflow-wrap:anywhere}.iws-receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.iws-receipt-actions button{padding:0 14px;color:var(--iw-purple)}.iws-receipt-actions .iws-primary{border-color:var(--iw-purple);background:#f2edff}@media (max-width:430px){.iws-head{align-items:flex-start}.iws-head h2{font-size:20px}.iws-filter-grid{grid-template-columns:1fr}.iws-filters{grid-column:1;grid-template-columns:repeat(3,minmax(0,1fr))}.iws-filter-status{grid-column:1}.iws-month-bar{grid-template-columns:minmax(0,1fr) auto}.iws-month-bar>div{grid-column:1/-1}.iws-month-bar select{width:100%;max-width:none}.iws-summary{grid-template-columns:1fr 1fr}.iws-row{grid-template-columns:minmax(0,1fr) minmax(88px,auto);grid-template-areas:"main amount" "receipt receipt";align-items:start;gap:10px}.iws-row-title{align-items:flex-start;flex-direction:column;gap:5px}.iws-amount{max-width:42vw}.iws-receipt-button{justify-self:end;min-width:108px}.iws-receipt-head{align-items:flex-start}.iws-receipt-hero strong{font-size:24px}.iws-receipt-actions{grid-template-columns:1fr}.iws-state{min-height:130px}}@media (min-width:431px) and (max-width:768px){.iws-row{grid-template-columns:minmax(0,1fr) minmax(120px,auto);grid-template-areas:"main amount" "main receipt"}.iws-receipt-button{justify-self:end}.iws-month-bar{grid-template-columns:minmax(0,1fr) auto auto}}@media (min-width:769px){.iws-center{max-width:920px}.iws-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.iws-filters,.iws-filter-status{grid-column:1/-1}.iws-clear{grid-column:3}.iws-apply{grid-column:4}}@media (max-width:520px){.iws-search{grid-template-columns:minmax(0,1fr) auto}.iws-receipt-actions{grid-template-columns:1fr}}@media (min-width:900px){.iws-row{padding:16px}.iws-summary{gap:10px}}@media (prefers-reduced-motion:reduce){.iws-filter-box summary:after{transition:none}}.iws-head h2{font-size:var(--ui-type-title,22px)}.iws-head p,.iws-summary small{font-size:var(--ui-type-secondary,13px)}.iws-search input,.iws-tools select,.iws-date input{min-height:var(--ui-control-height,48px);font-size:var(--ui-type-input,16px)}.iws-search button,.iws-filter-grid button,.iws-export,.iws-receipt-button,.iws-state button,.iws-receipt-actions button{min-height:var(--ui-control-height,48px);font-size:var(--ui-type-action,15px);font-weight:600}.iws-row{box-sizing:border-box;width:100%;max-width:100%;min-height:64px}.iws-object{font-size:var(--ui-type-body,15px);line-height:1.5}.iws-row-date,.iws-meta{font-size:var(--ui-type-status,12px)}.iws-business{font-size:var(--ui-type-status,12px);font-weight:700}.iws-amount{font-size:var(--ui-type-body,15px);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.iws-summary strong{font-size:var(--ui-type-body,15px);font-variant-numeric:tabular-nums}.iws-receipt-hero strong{font-size:clamp(20px,6vw,var(--ui-type-amount,28px));font-variant-numeric:tabular-nums}html[data-display-mode=large] .iws-center{--ui-type-title:24px;--ui-type-body:17px;--ui-type-secondary:15px;--ui-type-status:13px;--ui-type-action:16px;--ui-type-input:17px;--ui-type-amount:30px;--ui-control-height:50px}html[data-display-mode=care] .iws-center{--ui-type-title:26px;--ui-type-body:18px;--ui-type-secondary:16px;--ui-type-status:14px;--ui-type-action:17px;--ui-type-input:18px;--ui-type-amount:32px;--ui-control-height:52px;font-size:18px;line-height:1.6}html[data-display-mode=care] .iws-row{min-height:72px}html[data-display-mode=care] .iws-search button,html[data-display-mode=care] .iws-filter-grid button,html[data-display-mode=care] .iws-export,html[data-display-mode=care] .iws-receipt-button,html[data-display-mode=care] .iws-state button,html[data-display-mode=care] .iws-receipt-actions button{min-height:52px}@media (max-width:350px){.iws-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "amount" "receipt"}.iws-amount{max-width:100%;text-align:left}.iws-receipt-button{justify-self:stretch}.iws-search{grid-template-columns:1fr}.iws-search button{width:100%}}.iws-tools select,.iws-month-bar select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235f48a4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:10px 6px;background-position:right 12px center}.iws-month-bar select{box-sizing:border-box;min-height:var(--ui-control-height,48px);padding-left:12px;border:1px solid var(--iw-line);border-radius:11px;background-color:#fff;color:var(--iw-ink);font:inherit;font-size:var(--ui-type-input,16px)}.iws-more{box-sizing:border-box;min-height:var(--ui-control-height,48px);padding:0 18px;border:1px solid var(--iw-line);border-radius:11px;background:#fff;color:var(--iw-purple);font:inherit;font-size:var(--ui-type-action,15px);font-weight:600}.discover-center{z-index:35;padding:0;background:#f6f6f7}.discover-shell{position:relative;width:min(680px,100%);height:min(780px,100dvh);display:flex;flex-direction:column;background:#fff;color:#242224;overflow:hidden}.discover-head{min-height:64px;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid #ececf0}.discover-head h2{margin:0;font-size:19px;text-align:left}.discover-head button{min-height:44px;border:0;background:transparent;color:#6746ca;font-weight:700}.discover-close{width:44px;padding:0;font-size:26px;color:#524d55!important}.discover-scroll{flex:1;min-height:0;padding:12px 16px max(18px,env(safe-area-inset-bottom));overflow-y:auto;background:#f7f7f8;overscroll-behavior:contain}.discover-scroll section{margin:0 0 18px}.discover-scroll h3{margin:0 4px 7px;color:#858087;font-size:12px;font-weight:650}.discover-list{border:1px solid #ecebef;border-radius:13px;background:#fff;overflow:hidden}.discover-row{width:100%;min-height:58px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:13px;padding:7px 14px;border:0;border-bottom:1px solid #efeff2;background:#fff;text-align:left}.discover-row:last-child{border-bottom:0}.discover-row svg{width:22px;height:22px;fill:none;stroke:#6c4bd0;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.discover-row>span:not(.discover-row-state){display:grid;gap:3px}.discover-row b{font-size:14px}.discover-row small,.discover-row-state{color:#98949b;font-size:11px}.discover-row-state{white-space:nowrap}.discover-empty{padding:80px 20px;color:#98949b;text-align:center}.discover-degraded{margin:0 0 12px;color:#908b93;font-size:11px;text-align:center}.discover-detail{z-index:36}.discover-detail-card{width:min(390px,100%);text-align:left}.discover-detail-card h2{padding-right:36px}.discover-detail-card>p{line-height:1.6}.discover-permissions{margin:18px 0;border-top:1px solid #ecebef}.discover-permissions div{min-height:54px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ecebef}.discover-permissions b{color:#8d8990;font-size:11px}.discover-safety{padding:12px;border-radius:10px;background:#f5f3f9;color:#69636f!important;line-height:1.6}@media (min-width:701px){.discover-center{place-items:center;padding:24px;background:#27222655}.discover-shell{height:min(720px,calc(100dvh - 48px));border-radius:20px;box-shadow:0 24px 80px #1914182b}.discover-scroll{padding:18px 22px 28px}.discover-row:hover{background:#faf9fd}}@media (max-width:360px){.discover-head,.discover-scroll{padding-inline:10px}.discover-row{grid-template-columns:22px minmax(0,1fr) auto;gap:9px;padding-inline:11px}.discover-row small{font-size:10px}.discover-row-state{max-width:62px;white-space:normal;text-align:right}}@media (max-width:700px){.discover-center{align-items:stretch;overflow:hidden}.discover-shell{width:100%;height:var(--app-height,100dvh);max-height:none}.discover-head{min-height:calc(60px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));padding-bottom:0}.discover-scroll{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}.discover-row{min-height:max(68px,var(--ui-control-height,48px));grid-template-columns:40px minmax(0,1fr) auto;gap:12px;padding:10px 14px}.discover-row svg{width:24px;height:24px;justify-self:center}.discover-row b{font-size:var(--ui-type-action,16px);font-weight:600;line-height:1.45;overflow-wrap:anywhere}.discover-row small{font-size:var(--ui-type-secondary,13px);line-height:1.5;overflow-wrap:anywhere}.discover-row-state{font-size:var(--ui-type-status,12px);line-height:1.45}.discover-row-state .unread-badge{display:inline-grid;margin-right:7px;vertical-align:middle}.discover-degraded,.discover-permissions b{font-size:var(--ui-type-status,12px)}html[data-display-mode=large] .discover-row,html[data-font-size=large] .discover-row{min-height:70px}html[data-display-mode=large] .discover-row b,html[data-font-size=large] .discover-row b{font-size:18px}html[data-display-mode=large] .discover-row small,html[data-font-size=large] .discover-row small{font-size:15px}html[data-display-mode=care] .discover-row{min-height:72px;grid-template-columns:44px minmax(0,1fr) auto}html[data-display-mode=care] .discover-row b{font-size:18px;line-height:1.6}html[data-display-mode=care] .discover-row small{font-size:16px;line-height:1.6}html[data-display-mode=care] .discover-row-state{font-size:14px}html[data-display-mode=care] .discover-row svg{width:28px;height:28px}@media (max-width:360px){.discover-row{grid-template-columns:40px minmax(0,1fr) auto;gap:9px;padding-inline:10px}.discover-row>span:not(.discover-row-state){min-width:0;overflow-wrap:anywhere}.discover-row-state{max-width:68px;white-space:normal;text-align:right}}.discovery-apps-list,.discovery-events-body,.discovery-games-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.discovery-app-row,.discovery-event-card,.discovery-game-card{content-visibility:auto;contain-intrinsic-size:auto 92px}.discovery-games-panel,.discovery-apps-panel,.discovery-events-shell{-webkit-tap-highlight-color:transparent}@media (orientation:landscape) and (max-height:520px){.discovery-apps,.discovery-events,.discovery-games{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.discovery-apps-panel,.discovery-events-shell,.discovery-games-panel{width:min(920px,100%);height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));max-height:none;border-radius:16px}.discovery-apps-list,.discovery-events-body{padding-bottom:max(12px,env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.discovery-apps *,.discovery-events *,.discovery-games *,.youjin-mahjong *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.discovery-apps-panel,.discovery-events-shell,.discovery-games-panel,.youjin-player-card,.youjin-game-toolbar button{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}@supports not (height:100dvh){@media (max-width:700px){.discovery-apps-panel,.discovery-events-shell,.discovery-games-panel{height:100vh}}}.avatar.system-avatar{display:inline-grid;place-items:center;background:#eee9ff;color:#33285c;font-family:"Apple Color Emoji","Segoe UI Emoji",system-ui,sans-serif;font-size:28px;line-height:1}.avatar.system-avatar.large{font-size:32px}#myProfileAvatar.system-avatar{font-size:36px}.message-row .avatar.system-avatar{font-size:27px}.avatar-picker-backdrop{position:fixed;inset:0;z-index:1600;display:grid;align-items:end;background:#221b303d;padding:calc(env(safe-area-inset-top) + 12px) 0 0}.avatar-picker-backdrop.hidden{display:none}.avatar-picker-panel{width:min(100%,520px);max-height:calc(var(--app-height,100dvh) - env(safe-area-inset-top) - 12px);margin:auto;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -12px 36px #2b204924;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}.avatar-picker-panel>header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}.avatar-picker-panel>header div{display:grid;gap:2px}.avatar-picker-panel>header b{font-size:20px}.avatar-picker-panel>header small{color:#847f8d}.avatar-picker-close{width:44px;min-height:44px;border:0;border-radius:14px;background:#f3f0f7;font-size:25px}.avatar-picker-scroll{overflow:auto;padding:0 16px 12px;overscroll-behavior:contain}.avatar-picker-scroll h3{margin:12px 2px 8px;font-size:14px;color:#696473}.avatar-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.avatar-picker-grid button{aspect-ratio:1;min-width:0;min-height:44px;border:2px solid transparent;border-radius:16px;background:#f7f5fb;font-family:"Apple Color Emoji","Segoe UI Emoji",system-ui,sans-serif;font-size:31px;line-height:1}.avatar-picker-grid button.selected{border-color:#7652e8;background:#eee9ff;box-shadow:0 0 0 2px #fff inset}.avatar-picker-save{min-height:48px;margin:10px 16px 14px;border:0;border-radius:14px;background:#7048e8;color:#fff;font-size:16px;font-weight:700}.avatar-picker-save:disabled{opacity:.45}@media (max-height:560px){.avatar-picker-panel{border-radius:18px 18px 0 0}.avatar-picker-grid{gap:6px}.avatar-picker-grid button{font-size:27px}}.my-profile-card{grid-template-columns:72px minmax(0,1fr) auto!important;align-items:center!important}.my-profile-card>.avatar,.my-profile-card #myProfileAvatar{width:72px!important;height:72px!important;font-size:34px!important;cursor:pointer}.my-profile-copy #myPageBio{color:#716c79;font-size:13px;font-style:normal;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-profile-copy #myAccountState{font-size:11px;color:#a19ca7}.my-profile-actions{display:flex;gap:8px;align-self:center}.my-profile-actions button{min-height:44px;padding:0 13px;border:1px solid #e4deeb;border-radius:12px;background:#fff;color:#5f3dd4;font:700 13px/1 system-ui;white-space:nowrap}.profile-editor-backdrop{position:fixed;inset:0;z-index:2200;display:grid;place-items:center;background:#1f192738}.profile-editor-backdrop.hidden{display:none}.profile-editor-panel{width:min(560px,100%);height:min(720px,100dvh);overflow:hidden;background:#faf9fb;border-radius:18px;box-shadow:0 16px 44px #23193229}.profile-editor-head{height:58px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;background:#fff;border-bottom:1px solid #eeeaf1}.profile-editor-head h2{grid-column:2;margin:0;text-align:center;font-size:18px}.profile-editor-back{border:0;background:transparent;font-size:32px;color:#342d3d}.profile-editor-scroll{height:calc(100% - 58px);overflow:auto;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}.profile-editor-identity{display:flex;justify-content:center;margin-bottom:22px}.profile-editor-avatar-button{display:grid;justify-items:center;gap:9px;border:0;background:transparent;color:#6743dd;font-weight:700}.profile-editor-avatar-button .avatar{width:92px;height:92px;font-size:42px}.profile-editor-form{display:grid;gap:14px}.profile-editor-field{display:grid;gap:7px;color:#57515e;font-size:13px;font-weight:700}.profile-editor-field input,.profile-editor-field textarea{box-sizing:border-box;width:100%;border:1px solid #ded8e5;border-radius:12px;background:#fff;padding:13px 14px;color:#221d28;font:16px/1.4 system-ui;resize:none}.profile-editor-field input:focus,.profile-editor-field textarea:focus{outline:2px solid #d9ceff;border-color:#7651e6}.profile-editor-username{color:#8c8691}.profile-editor-save{min-height:50px;border:0;border-radius:13px;background:#7047df;color:#fff;font-size:16px;font-weight:800}@media (max-width:560px){.profile-editor-backdrop{place-items:stretch}.profile-editor-panel{display:flex;width:100%;height:var(--app-height,100dvh);flex-direction:column;border-radius:0}.profile-editor-head{height:calc(58px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);flex:0 0 auto}.profile-editor-scroll{height:auto;min-height:0;flex:1}.my-profile-card{grid-template-columns:64px minmax(0,1fr)!important}.my-profile-card>.avatar,.my-profile-card #myProfileAvatar{width:64px!important;height:64px!important}.my-profile-actions{grid-column:1/-1;width:100%}.my-profile-actions button{flex:1}}.my-page [hidden]{display:none!important}.conversation-search{position:relative}.conversation-search input{padding-right:52px}.global-search-trigger{position:absolute;right:3px;bottom:8px;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:#f2eeff;color:#6847d2}.global-search-trigger:hover{background:#e9e2ff}.global-search-trigger:focus-visible{outline:2px solid #7452d8;outline-offset:1px}.global-search-trigger svg,.global-search-form svg{width:21px;height:21px;fill:none;stroke:#6847d2;stroke-width:2;stroke-linecap:round}.global-search-backdrop{position:fixed;inset:0;z-index:2300;display:grid;place-items:center;padding:20px;background:#211a2b52}.global-search-panel{width:min(680px,100%);height:min(760px,calc(100dvh - 40px));display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:#f8f7f9;color:#27232c;box-shadow:0 24px 80px #19131f33}.global-search-panel>header{height:60px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 12px;border-bottom:1px solid #ece8ef;background:#fff}.global-search-panel>header button{min-height:44px;border:0;background:transparent;color:#6847d2;font-size:31px}.global-search-panel h2{margin:0;text-align:center;font-size:18px}.global-search-form{padding:12px 16px 5px}.global-search-form label{min-height:48px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #ded8e5;border-radius:13px;background:#fff}.global-search-form input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:16px}.global-search-types{display:flex;gap:7px;padding:7px 16px;overflow-x:auto;scrollbar-width:none}.global-search-types button{min-height:44px;flex:0 0 auto;padding:0 15px;border:1px solid #e4deea;border-radius:12px;background:#fff;color:#6f6875}.global-search-types button.active{border-color:#7452d8;background:#eee9ff;color:#5e3bc7;font-weight:750}.global-search-filters{margin:3px 16px;padding:9px 12px;border:1px solid #e5e0e9;border-radius:12px;background:#fff}.global-search-filters summary{min-height:28px;color:#655d6d;font-size:13px;font-weight:700;cursor:pointer}.global-search-filters>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding-top:8px}.global-search-filters label{display:grid;gap:4px;color:#817986;font-size:11px}.global-search-filters select,.global-search-filters input{min-width:0;min-height:44px;padding:0 8px;border:1px solid #ddd7e3;border-radius:9px;background:#fff}.global-search-privacy{margin:7px 18px;color:#8b8490;font-size:11px;line-height:1.45}.global-search-results{min-height:0;flex:1;overflow:auto;padding:5px 16px max(18px,env(safe-area-inset-bottom))}.global-search-row{width:100%;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,45%);align-items:center;gap:12px;padding:9px 13px;border:0;border-bottom:1px solid #efebf1;background:#fff;text-align:left}.global-search-row:first-child{border-radius:13px 13px 0 0}.global-search-row span{display:grid;gap:4px;min-width:0}.global-search-row b,.global-search-row small,.global-search-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-row small{color:#9a939e;font-size:10px}.global-search-row em{color:#716a76;font-size:12px;font-style:normal;text-align:right}.global-search-empty{padding:50px 16px;color:#918a96;text-align:center}.global-search-more{width:100%;min-height:44px;border:0;background:#fff;color:#6542ca;font-weight:700}.search-highlight{animation:search-highlight 1.8s ease}@keyframes search-highlight{0%,55%{filter:drop-shadow(0 0 8px #8a65ef);transform:scale(1.02)}}@media (max-width:700px){.global-search-backdrop{place-items:stretch;padding:0}.global-search-panel{width:100%;height:var(--app-height,100dvh);max-height:none;border-radius:0}.global-search-panel>header{height:calc(58px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.global-search-form,.global-search-types{padding-inline:12px}.global-search-filters{margin-inline:12px}.global-search-filters>div{grid-template-columns:1fr 1fr}.global-search-filters label:first-child{grid-column:1/-1}.global-search-results{padding-inline:12px}.global-search-row{grid-template-columns:minmax(0,1fr);gap:5px}.global-search-row em{text-align:left}.global-search-privacy{margin-inline:14px}}.conversation-copy b{font-size:var(--ui-type-body,15px);font-weight:600;line-height:1.4}.conversation-copy small,.chat-header small,.profile small,.group-empty,.no-friends small{font-size:var(--ui-type-secondary,13px);line-height:1.45}.chat-header b{font-size:calc(var(--ui-type-body,15px) + 1px);font-weight:600}.bubble{font-size:var(--ui-type-body,15px);line-height:1.6}.message-time,.date-pill,.sender-name,.message-retention,.composer-hint{font-size:var(--ui-type-status,12px);line-height:1.45}.section-label,.sidebar-tools button,.profile button,.request-list h3,.result-row button{font-size:var(--ui-type-status,12px)}.global-search-row small,.global-search-privacy,.global-search-filters label{font-size:var(--ui-type-status,12px);line-height:1.45}.global-search-row em,.global-search-filters summary{font-size:var(--ui-type-secondary,13px)}.voice-elapsed,.voice-fallback{font-size:var(--ui-type-status,12px)}.translation-control{font-size:var(--ui-type-secondary,13px)}.message-translation{font-size:var(--ui-type-body,15px);line-height:1.55}.message-translation button,.message-translation .translation-action{font-size:var(--ui-type-status,12px);font-weight:600}.message-row>div,.bubble,.message-translation,.conversation-copy{min-width:0;overflow-wrap:anywhere}html[data-display-mode=large] .message-translation span,html[data-display-mode=large] .bubble{font-size:17px}html[data-display-mode=care] .message-translation span,html[data-display-mode=care] .bubble{font-size:18px;line-height:1.65}html[data-display-mode=care] .conversation{min-height:72px}html[data-display-mode=care] .conversation-copy b{font-size:18px}html[data-display-mode=care] .conversation-copy small,html[data-display-mode=care] .chat-header small{font-size:16px}html[data-display-mode=care] .header-actions button,html[data-display-mode=care] .mobile-back{min-width:52px;min-height:52px}html[data-display-mode=care] .message-translation button,html[data-display-mode=care] .message-translation .translation-action{font-size:14px}html[data-display-mode=care] :where(.my-profile-actions button,.discover-center button){min-height:var(--ui-hit-size)}html[data-display-mode=care] .discover-head button{min-width:var(--ui-hit-size)}@media (max-width:700px){.composer input,.global-search-form input,.global-search-filters input,.global-search-filters select{font-size:16px}html[data-display-mode=care] .chat-header{min-height:76px;height:auto}html[data-display-mode=care] .global-search-row{min-height:72px}}.voice-recording-ui .voice-recording-cancel{min-height:44px;padding-inline:14px}.security-list #enableEncryption,.security-list #rotateEncryption,.security-list #verifyEncryptionKey,.group-invite-panel #createInviteLink,.my-code #modalCopy{min-height:44px;padding-block:0}.my-settings-search #mySettingsSearchClear{min-height:44px;min-width:44px}.send-retry button,button.message-queue-status,button.media-queue-status,.batch-forward-bar #cancelBatchForward,.batch-forward-bar #chooseBatchTarget{min-height:44px}.result-row .request-actions{display:flex;flex-direction:row;gap:8px;align-items:center;flex-shrink:0}.request-actions button{min-height:44px;padding-inline:14px;border-radius:10px;font-weight:700;cursor:pointer}.request-accept{border:1px solid #6844d4;background:#6844d4;color:#fff}.request-reject,.request-cancel{border:1px solid #ded6e8;background:#fff;color:#625c58}.request-actions button[disabled]{opacity:.55;cursor:default}.request-waiting{color:#8f8782;font-size:12px}.video-message{display:flex;flex-direction:column;gap:6px;max-width:min(320px,72vw);padding:8px}.video-message video{width:100%;max-height:46vh;aspect-ratio:16/9;object-fit:contain;border-radius:12px;background:#000;display:block}.video-message .video-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;opacity:.78}.video-message .video-download{margin-left:auto;text-decoration:underline}.video-message.video-deferred{align-items:stretch}.video-message .video-load{min-height:44px;border:0;border-radius:12px;padding:10px 14px;font-size:15px;background:#7452d8;color:#fff;cursor:pointer}.video-message .video-load:disabled{opacity:.72;cursor:progress}.video-message .video-error{display:block;font-size:12px;line-height:1.5;padding:8px 10px;border-radius:10px;background:#f6b73c22;color:inherit}.video-message.video-unplayable video{display:none}.media-upload-progress{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 12px 6px;padding:8px 12px;border-radius:12px;background:#7452d81a;font-size:13px}.media-upload-progress.hidden{display:none}.media-upload-progress .media-upload-label{flex:1 1 180px;min-width:0;font-weight:500}.media-upload-progress progress{flex:1 1 100%;width:100%;height:6px;order:3}.media-upload-progress .media-upload-cancel{min-height:36px;border:0;border-radius:9px;padding:6px 12px;background:#00000014;color:inherit;font-size:13px;cursor:pointer}.media-upload-progress .media-upload-cancel:disabled{opacity:.6;cursor:default}.media-upload-progress .media-upload-note{flex:1 1 100%;order:4;font-size:12px;line-height:1.5;opacity:.85}.media-upload-progress .media-upload-note.hidden{display:none}@media (max-width:600px){.video-message{max-width:82vw}.video-message video{max-height:40vh}}.mahjong-conversation{border-color:#0f766e38;background:linear-gradient(135deg,#f0fdfa,#fff)}.mahjong-conversation .avatar{background:#0f766e;color:#fff;box-shadow:0 10px 24px #0f766e2e}.mahjong-conversation b{color:#0f766e}.mahjong-group-badge{align-self:center;padding:4px 7px;border-radius:999px;background:#dcfce7;color:#047857;font-size:11px;font-style:normal;font-weight:900}.composer-tools-menu .mahjong-group-tool,.mahjong-chat-tools button{background:#ecfdf5;color:#0f766e;font-weight:900}.mahjong-chat-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.mahjong-chat-tools.hidden,.composer-tools-menu .mahjong-group-tool.hidden{display:none}.mahjong-chat-tools button{min-height:42px;border:1px solid rgba(15,118,110,.2);border-radius:14px}@media (max-width:700px){.mahjong-chat-tools button{min-height:46px;font-size:14px}.mahjong-group-badge{padding:3px 6px;font-size:10px}}.mahjong-score-card-r62{border-color:#0f766e3d!important;background:linear-gradient(180deg,#fff,#f8fffc)!important;box-shadow:0 16px 34px #0f172a1f!important}.mahjong-score-card-r62 .mahjong-score-card-summary{display:grid;gap:3px;padding:10px 12px;border-radius:15px;background:#ecfdf5;color:#0f766e;font-weight:850}.mahjong-score-card-r62 .mahjong-score-card-summary b{font-size:13px}.mahjong-score-card-r62 .mahjong-score-card-summary span{color:#334155;font-size:13px;line-height:1.45}.mahjong-score-card-r62 .mahjong-score-card-grid i{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mahjong-score-card-r62 .mahjong-score-card-ledger span{box-shadow:inset 3px 0 #0f766e2e}@media (max-width:700px){.mahjong-score-card-r62{border-radius:18px!important;padding:12px!important}.mahjong-score-card-r62 .mahjong-score-card-summary{padding:9px 10px}.mahjong-score-card-r62 .mahjong-score-card-grid{grid-template-columns:1fr 1fr!important}}html[data-keyboard-open=true]{--mobile-safe-bottom:0px}@media (max-width:700px){.chat-panel,.sidebar,.composer,.composer #draft{min-width:0;max-width:100%}.messages,.mobile-conversation-scroll{overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.messages{touch-action:pan-y;overflow-anchor:auto}.composer-wrap{max-width:100%;overflow:visible}.composer :is(button,[role=button]){min-width:44px;min-height:44px;touch-action:manipulation}}@media (max-width:1024px) and (max-height:600px){.messages,.mobile-conversation-scroll{overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}}@supports not (height:100dvh){.app-shell,.global-search-panel,.my-page{height:var(--app-height,100vh)}}.expiry-control select,.group-notification-setting select,.preference-form select,.wallet-transfer-form select,.receive-asset-select select,.mahjong-panel select,.youjin-mahjong select,.global-search-filters select,.self-service-sheet select,.experience-preferences select{appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235f48a4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;background-size:10px 6px}.group-notification-setting select,.preference-form select,.wallet-transfer-form select,.receive-asset-select select,.mahjong-panel select,.youjin-mahjong select,.experience-preferences select{padding-right:26px}.global-search-filters select,.expiry-control select{padding-right:24px}.self-service-sheet select{min-height:44px;padding-left:10px;padding-right:26px;border:1px solid #ded6e8;border-radius:12px;background-color:#fff;color:#352f3a}
