@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.p.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_fcbcbf{font-family:Inter,Inter Fallback;font-style:normal}:root{color-scheme:dark;--bg:#050912;--panel:#08111f;--panel-2:#0d1828;--line:rgba(160,190,225,0.12);--text:#f5f9ff;--muted:#8b9ab0;--blue:#1585ff;--cyan:#37daf5;--danger:#ff5f69;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}body,html{min-height:100%;margin:0;background:var(--bg);color:var(--text)}body{overflow-x:hidden;font-size:16px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a,button{color:inherit}a{text-decoration:none}input,textarea{color:var(--text)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.network-banner{position:fixed;z-index:100;top:0;left:0;right:0;padding:calc(7px + var(--safe-top)) 16px 7px;background:#9d6816;color:white;text-align:center;font-size:12px;font-weight:700}.brand-full{display:block;width:184px;height:184px;object-fit:cover;border-radius:36px;margin:-24px auto -2px}.brand-icon{display:inline-block;width:42px;height:42px;flex:none;border-radius:13px;background-image:url(/branding/sferly-logo.jpeg);background-size:250%;background-position:50% 30%;box-shadow:0 0 24px rgba(25,124,255,.2)}.auth-screen{min-height:100dvh;padding:max(32px,var(--safe-top)) 20px max(28px,var(--safe-bottom));display:grid;place-items:center;background:radial-gradient(circle at 50% 5%,rgba(20,96,220,.15),transparent 38%),#050912}.auth-card{width:min(100%,410px)}.auth-copy{text-align:center;margin-bottom:28px}.auth-copy h1{margin:0 0 8px;font-size:28px;letter-spacing:-.7px}.auth-copy p,.auth-switch,.legal-note{color:var(--muted)}.auth-copy p{margin:0;font-size:14px}.form-stack{display:grid;grid-gap:16px;gap:16px}.form-stack label,.modal label{display:grid;grid-gap:8px;gap:8px}.form-stack label>span,.modal label>span{color:#aebbd0;font-size:13px;font-weight:650}.form-stack input,.modal input{width:100%;min-height:50px;border:1px solid var(--line);border-radius:14px;background:rgba(13,24,40,.86);padding:0 15px;outline:0;transition:border-color .2s,box-shadow .2s}.form-stack input:focus,.modal input:focus{border-color:rgba(55,218,245,.55);box-shadow:0 0 0 3px rgba(55,218,245,.08)}.password-input,.prefix-input{position:relative;display:flex;align-items:center}.prefix-input b{position:absolute;left:15px;color:var(--muted);font-weight:500}.prefix-input input{padding-left:34px}.password-input input{padding-right:52px}.password-input button{position:absolute;right:4px;width:44px;height:44px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center}.password-input svg{width:20px}.danger-button,.primary-button,.secondary-button{min-height:48px;border-radius:14px;border:0;padding:0 18px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px}.primary-button{color:white;background:linear-gradient(135deg,#116eea,#16bdeb);box-shadow:0 10px 28px rgba(10,111,226,.24)}.primary-button:hover{filter:brightness(1.08)}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:default}.secondary-button{min-height:40px;border:1px solid var(--line);background:#101c2d;color:#cfe2ff;font-size:13px}.danger-button{background:var(--danger);color:white}.primary-button.compact{min-height:44px;padding-inline:24px;width:auto}.form-error{color:#ff8790;margin:-4px 0 0;font-size:13px}.auth-switch{text-align:center;font-size:14px;margin:24px 0 0}.auth-switch a,.legal-note a,.legal-page a{color:#45c9ff}.legal-note{text-align:center;font-size:11px;line-height:1.5;margin:18px auto 0;max-width:330px}.button-spinner,.spinner{display:inline-block;width:20px;height:20px;border:2px solid rgba(255,255,255,.25);border-top-color:currentcolor;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.app-shell{min-height:100dvh}.desktop-sidebar{display:none}.app-content,.page-panel{min-height:100dvh}.page-panel{width:100%;padding:var(--safe-top) 0 calc(78px + var(--safe-bottom));background:linear-gradient(180deg,#08111f,#050912 220px)}.page-header{min-height:66px;padding:10px 16px;display:flex;align-items:center;gap:11px;justify-content:space-between}.page-header h1{font-size:24px;letter-spacing:-.6px;margin:0}.mobile-brand{display:flex;gap:11px;align-items:center}.icon-button{width:44px;height:44px;border:0;border-radius:14px;display:grid;place-items:center;background:transparent;cursor:pointer}.icon-button:hover{background:rgba(255,255,255,.06)}.icon-button svg{width:22px}.search-prompt{margin:4px 16px 13px;height:45px;padding:0 14px;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:10px;color:var(--muted);background:rgba(14,26,44,.75);font-size:14px}.search-prompt svg{width:19px}.chat-list{border-top:1px solid rgba(255,255,255,.035)}.chat-row{min-height:75px;padding:10px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(160,190,225,.075)}.chat-row:active{background:rgba(255,255,255,.035)}.chat-row-copy{min-width:0;flex:1 1}.chat-row-copy>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-row-copy strong{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-row-copy time{color:var(--muted);font-size:12px}.chat-row-copy p{color:var(--muted);margin:4px 0 0;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.unread-badge{min-width:21px;height:21px;padding:0 6px;border-radius:12px;background:var(--blue);color:white;font-size:11px;display:grid;place-items:center}.avatar{position:relative;flex:none;display:grid;place-items:center;border-radius:50%;color:white;background:linear-gradient(145deg,#1877ed,#24c5dd);font-weight:800;overflow:visible}.avatar-sm{width:40px;height:40px;font-size:15px}.avatar-md{width:52px;height:52px;font-size:19px}.avatar-lg{width:86px;height:86px;font-size:31px}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.online-dot{position:absolute;right:0;bottom:1px;width:13px;height:13px;border:2px solid var(--panel);border-radius:50%;background:#32db80}.empty-state{min-height:260px;padding:40px 30px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-state.spacious{min-height:54dvh}.empty-state h2{font-size:20px;letter-spacing:-.3px;margin:14px 0 7px}.empty-state p{color:var(--muted);max-width:300px;line-height:1.5;margin:0 0 22px}.empty-state button{border:0;background:transparent;color:var(--cyan)}.empty-orbit{width:76px;height:76px;border-radius:24px;display:grid;place-items:center;color:#39ccf1;background:linear-gradient(145deg,rgba(18,107,237,.18),rgba(53,221,244,.08));border:1px solid rgba(55,218,245,.17)}.empty-orbit svg{width:39px}.compact-state{min-height:300px}.skeleton{margin:8px 16px;border:0;border-radius:16px;background:linear-gradient(100deg,#0b1524 20%,#132238 40%,#0b1524 60%);background-size:220% 100%;animation:shimmer 1.4s infinite}@keyframes shimmer{to{background-position-x:-220%}}.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;height:calc(65px + var(--safe-bottom));padding:5px 12px var(--safe-bottom);display:grid;grid-template-columns:repeat(3,1fr);background:rgba(7,14,25,.92);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--line)}.nav-link{min-width:70px;color:#718197;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:650}.nav-link svg{width:22px;height:22px}.nav-link.active{color:#3bbffc}.search-field{margin:4px 16px 16px;min-height:48px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:15px;background:var(--panel-2)}.search-field>svg{width:20px;color:var(--muted)}.search-field>span{color:#69c8ff}.search-field input{min-width:0;flex:1 1;height:46px;border:0;outline:0;background:transparent}.search-field button{width:36px;height:36px;border:0;background:transparent;color:var(--muted)}.search-field button svg{width:18px}.search-results{border-top:1px solid rgba(255,255,255,.04)}.user-row{min-height:74px;padding:10px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(160,190,225,.075)}.user-row>a,.user-row>div{min-width:0;flex:1 1;display:grid;grid-gap:4px;gap:4px}.user-row strong{overflow:hidden;text-overflow:ellipsis}.user-row span{color:var(--muted);font-size:13px}.muted-center{color:var(--muted);text-align:center;padding:30px}.chat-screen{height:100dvh;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;background:#060b14}.chat-header{z-index:3;min-height:calc(62px + var(--safe-top));padding:calc(7px + var(--safe-top)) 10px 7px;display:flex;align-items:center;gap:8px;background:rgba(8,17,31,.94);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.chat-header>div:last-child{min-width:0;display:grid;grid-gap:3px;gap:3px}.chat-header strong{font-size:15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-header span{color:var(--muted);font-size:11px}.chat-header span.typing{color:#3ac9f5}.message-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 10px 16px;scroll-behavior:auto;background-image:radial-gradient(circle at 20% 15%,rgba(21,109,230,.055),transparent 32%),radial-gradient(circle at 84% 60%,rgba(31,197,226,.035),transparent 30%)}.message-line{display:flex;margin:3px 0;justify-content:flex-start;touch-action:pan-y}.message-line.mine{justify-content:flex-end}.message-bubble{max-width:min(82%,620px);padding:9px 10px 6px 12px;border-radius:17px 17px 17px 5px;background:#142033;box-shadow:0 2px 5px rgba(0,0,0,.12);overflow-wrap:anywhere}.mine .message-bubble{border-radius:17px 17px 5px 17px;background:linear-gradient(140deg,#0969de,#078ebc)}.message-bubble p{display:inline;margin:0;line-height:1.38;white-space:pre-wrap}.message-bubble p a{text-decoration:underline;text-underline-offset:2px}.message-bubble.deleted p{color:rgba(255,255,255,.6);font-style:italic}.message-meta{margin-left:8px;position:relative;top:2px;display:inline-flex;align-items:center;gap:3px;color:rgba(255,255,255,.6);font-size:10px;white-space:nowrap}.message-meta svg{width:15px;height:15px}.read-check{color:#76ebff}.sending-clock{width:11px;height:11px;border:1px solid;border-radius:50%;position:relative}.sending-clock:after{content:"";position:absolute;width:1px;height:3px;top:2px;left:4px;background:currentColor}.retry-message{width:20px;height:20px;border:0;background:transparent;color:#ffd1d4;padding:1px}.date-separator,.encryption-note{width:max-content;max-width:88%;margin:14px auto 10px;padding:5px 10px;border-radius:9px;background:rgba(13,26,44,.82);color:#8494aa;font-size:10px;text-align:center}.encryption-note{margin-top:4px;line-height:1.35}.load-older{display:block;margin:4px auto 10px;padding:7px 12px;border:0;border-radius:10px;color:#53c7f4;background:rgba(12,28,49,.8);font-size:12px}.composer{padding:8px 10px calc(8px + var(--safe-bottom));display:flex;align-items:flex-end;gap:8px;border-top:1px solid var(--line);background:#08111f}.composer textarea{flex:1 1;min-height:44px;max-height:132px;resize:none;padding:11px 14px;border:1px solid var(--line);border-radius:22px;background:#111d2e;outline:0;line-height:20px}.composer textarea:focus{border-color:rgba(55,218,245,.38)}.send-button{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:linear-gradient(135deg,#1178ef,#16bce3);display:grid;place-items:center}.send-button:disabled{background:#142235;color:#607086}.send-button svg{width:20px}.jump-bottom{position:fixed;right:16px;bottom:calc(74px + var(--safe-bottom));width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#132137;display:grid;place-items:center;box-shadow:0 5px 18px rgba(0,0,0,.32)}.jump-bottom svg{width:18px}.message-sheet-backdrop{position:fixed;z-index:70;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:16px 12px calc(12px + var(--safe-bottom));background:rgba(0,3,9,.64);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:sheet-fade .16s ease-out}.message-sheet{width:min(100%,480px);max-height:min(82dvh,620px);overflow-y:auto;padding:8px;border:1px solid rgba(160,190,225,.14);border-radius:22px;background:#101a2a;box-shadow:0 24px 80px rgba(0,0,0,.58);animation:sheet-up .2s ease-out}.sheet-handle{width:38px;height:4px;margin:2px auto 9px;border-radius:3px;background:#48566b}.sheet-preview{max-height:72px;overflow:hidden;margin:0 7px 8px;padding:11px 12px;border-radius:12px;color:#aebbd0;background:#0a1321;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.message-sheet>button{width:100%;min-height:51px;padding:0 12px;border:0;border-radius:13px;display:flex;align-items:center;gap:12px;background:transparent;text-align:left;font-weight:650}.message-sheet>button:hover{background:rgba(255,255,255,.05)}.message-sheet>button svg{width:20px;color:#4fc5fa}.message-sheet>button.destructive,.message-sheet>button.destructive svg{color:#ff7179}.message-sheet>button.sheet-cancel{margin-top:5px;border-top:1px solid var(--line);color:var(--muted)}.message-sheet>button.sheet-cancel svg{color:var(--muted)}.message-sheet form,.sheet-confirm{padding:5px 8px 8px}.message-sheet h2{margin:5px 0 14px;font-size:19px}.message-sheet textarea{width:100%;min-height:108px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:14px;outline:0;color:var(--text);background:#091321;line-height:1.45}.message-sheet textarea:focus{border-color:rgba(55,218,245,.48)}.message-sheet form>small{display:block;margin:5px 3px 0;color:var(--muted);text-align:right}.sheet-confirm p{color:var(--muted);line-height:1.5}.sheet-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:9px;gap:9px;margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes sheet-fade{0%{opacity:0}}@keyframes sheet-up{0%{transform:translateY(24px);opacity:.7}}.settings-profile{margin:7px 16px 24px;padding:18px;display:flex;align-items:center;gap:16px;border-radius:20px;background:linear-gradient(145deg,rgba(22,115,239,.14),rgba(12,24,42,.8));border:1px solid rgba(74,154,255,.16)}.settings-profile>div{display:grid;grid-gap:5px;gap:5px}.settings-profile strong{font-size:19px}.settings-profile span{color:var(--muted);font-size:13px}.settings-group{margin:0 16px 22px;overflow:hidden;border-radius:16px;background:#0c1625;border:1px solid rgba(160,190,225,.08)}.settings-group h2{margin:0;padding:13px 14px 7px;color:#718399;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.setting-row{width:100%;min-height:57px;padding:9px 14px;border:0;border-bottom:1px solid rgba(160,190,225,.07);display:flex;align-items:center;gap:12px;background:transparent;text-align:left}.setting-row:last-child{border-bottom:0}.setting-row>svg:first-child{width:21px;color:#46bdf6}.setting-row>svg:last-child{margin-left:auto;width:17px;color:#506077}.setting-row span{flex:1 1;display:grid;grid-gap:3px;gap:3px}.setting-row strong{font-size:14px}.setting-row small{color:var(--muted);font-size:11px}button.setting-row{cursor:pointer}.disabled-setting{opacity:.72}.danger-group .setting-row>svg:first-child,.destructive strong{color:var(--danger)}.modal-backdrop{position:fixed;z-index:80;inset:0;padding:20px;display:grid;place-items:center;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{width:min(100%,400px);padding:22px;border:1px solid var(--line);border-radius:22px;background:#0d1726;box-shadow:0 25px 80px rgba(0,0,0,.55)}.modal h2{margin:0 0 8px}.modal>p{color:var(--muted);line-height:1.5;margin:0 0 20px}.modal form{display:grid;grid-gap:14px;gap:14px}.modal-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:4px}.profile-panel{padding-bottom:30px}.profile-hero{text-align:center;padding:14px 20px 26px}.profile-hero .avatar{margin:auto}.profile-hero h1{margin:14px 0 4px;font-size:24px}.profile-hero>p{color:var(--muted);margin:0}.profile-bio{margin:20px auto 0;max-width:480px;line-height:1.5;color:#c2cede}.profile-actions{padding:0 20px;display:grid;grid-gap:10px;gap:10px;max-width:480px;margin:auto}.profile-actions svg{width:19px}.text-danger{min-height:44px;border:0;background:transparent;color:var(--danger);display:flex;align-items:center;justify-content:center;gap:8px}.legal-page{min-height:100dvh;width:min(100% - 36px,650px);margin:auto;padding:max(42px,var(--safe-top)) 0 max(40px,var(--safe-bottom))}.legal-page .brand-full{margin-inline:0;width:130px;height:130px}.legal-page h1{font-size:30px;letter-spacing:-.8px}.legal-page p{color:#afbdd0;line-height:1.7}.legal-warning{padding:13px 15px;margin:20px 0;border-radius:13px;background:rgba(175,112,22,.15);border:1px solid rgba(255,174,49,.2);color:#ffd289;font-size:13px;line-height:1.45}.center-state{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:30px;text-align:center}.error-state p{color:var(--muted)}.error-state button{border:0;color:#4ac9ff;background:transparent}@media (min-width:760px){.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr)}.desktop-sidebar{position:-webkit-sticky;position:sticky;top:0;height:100dvh;padding:22px 14px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#070d17}.sidebar-brand{padding:4px 9px 25px;display:flex;align-items:center;gap:12px;font-size:20px}.desktop-sidebar nav{display:grid;grid-gap:5px;gap:5px}.desktop-sidebar .nav-link{min-height:49px;padding:0 14px;border-radius:13px;flex-direction:row;justify-content:flex-start;gap:13px;font-size:14px}.desktop-sidebar .nav-link.active{background:rgba(26,128,238,.13)}.desktop-sidebar small{margin-top:auto;padding:12px;color:#506077}.bottom-nav{display:none}.page-panel{min-height:100dvh;max-width:850px;padding-bottom:30px}.chat-screen,.page-panel{border-right:1px solid var(--line)}.chat-screen{max-width:900px}.mobile-brand .brand-icon{display:none}.message-bubble{max-width:68%}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}