.app-shell--people .workspace{display:block;width:min(560px,100%);min-height:0;margin:0 auto}.app-shell--people .social-column{display:grid;gap:16px}.people-panel{min-width:0}.people-panel>h1{display:flex;min-height:72px;margin:0 0 18px;align-items:center;color:#fff;font-size:clamp(2.15rem,10vw,3rem);font-weight:660;line-height:1;letter-spacing:-.035em;text-shadow:0 2px 18px rgba(0,0,0,.36)}.people-search{display:grid;min-height:58px;margin-bottom:22px;padding:0 9px 0 17px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(114,144,220,.55);border-radius:17px;background:linear-gradient(105deg,#05163bc7,#16144a8f);box-shadow:inset 0 1px #ffffff0a,0 12px 34px #00000029;color:#8e9bc4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.people-search>svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.people-search input{min-width:0;min-height:56px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#f7f8ff;font-size:clamp(.92rem,4vw,1.05rem)}.people-search input:focus{border:0;box-shadow:none}.people-search input::placeholder{overflow:hidden;color:#8793b8;text-overflow:ellipsis;opacity:1}.people-search button{width:38px;height:38px;padding:0;border:0;border-radius:50%;background:transparent;color:#a9b4d6;font-size:1.55rem;line-height:1}.people-search:focus-within{border-color:#709cffe0;box-shadow:0 0 0 3px #4d7cff1f,0 12px 34px #00000029}.people-section{min-width:0;margin-bottom:22px}.people-section>h2{display:flex;min-width:0;margin:0 3px 10px;align-items:center;gap:10px;color:#fbfbff;font-size:clamp(1rem,4.5vw,1.18rem);font-weight:560;line-height:1.3}.people-section>h2 span{display:inline-grid;min-width:27px;height:27px;padding:0 8px;place-items:center;border-radius:999px;background:linear-gradient(145deg,#342596e6,#37117bdb);box-shadow:0 0 14px #5b30ff4d;color:#a996ff;font-size:.82rem;font-weight:700}.people-card{overflow:visible;border:1px solid rgba(88,133,224,.48);border-radius:18px;background:linear-gradient(105deg,#05193fc2,#0c134194);box-shadow:inset 0 1px #ffffff0a,0 15px 38px #00000024;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.person-row{position:relative;display:grid;min-width:0;min-height:84px;padding:11px 12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}.person-row+.person-row{border-top:1px solid rgba(105,134,199,.28)}.person-avatar{position:relative;display:grid;width:59px;height:59px;flex:0 0 auto;place-items:center;overflow:hidden;border:1px solid rgba(116,157,255,.65);border-radius:50%;background:linear-gradient(145deg,#2557b5b8,#3a2082e6);box-shadow:0 0 18px #2e6eff26;color:#7fb9ff;font-size:.96rem;font-weight:720;letter-spacing:.02em}.person-avatar img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.person-row__copy{display:grid;min-width:0;gap:5px}.person-row__copy strong,.person-row__copy span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-row__copy strong{color:#f8f9ff;font-size:clamp(1.02rem,4.4vw,1.28rem);font-weight:650;line-height:1.15}.person-row__copy span{color:#9ba9cd;font-size:clamp(.84rem,3.7vw,1rem);line-height:1.25}.person-row__action{min-width:0;justify-self:end}.people-request-actions{display:flex;align-items:center;gap:10px}.people-round-action{display:grid;width:48px;height:48px;padding:12px;place-items:center;border:1px solid rgba(96,133,222,.4);border-radius:50%;background:#0f255cc2;color:#c7d2f7;box-shadow:inset 0 1px #ffffff0d}.people-round-action--accept{border-color:#5ba2ffb8;background:linear-gradient(145deg,#3196ff,#5548ff 78%);box-shadow:0 0 20px #2e67ff52,inset 0 1px #ffffff38;color:#fff}.people-round-action svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.person-menu{position:relative}.person-menu summary{display:grid;width:48px;height:48px;padding:12px;place-items:center;border:1px solid rgba(108,100,229,.62);border-radius:14px;background:linear-gradient(145deg,#19205ed6,#140f45cc);box-shadow:inset 0 1px #ffffff0a;color:#a98aff;cursor:pointer;list-style:none}.person-menu summary::-webkit-details-marker{display:none}.person-menu summary svg{width:100%;height:100%;fill:currentColor}.person-menu>div{position:absolute;z-index:8;top:calc(100% + 6px);right:0;display:grid;width:max-content;min-width:174px;padding:6px;border:1px solid rgba(101,127,208,.48);border-radius:13px;background:#040e28f7;box-shadow:0 16px 36px #00000075}.person-row:last-child .person-menu>div{top:auto;bottom:calc(100% + 6px)}.person-menu>div button{padding:10px 11px;border:0;border-radius:9px;background:transparent;color:#ecf0ff;text-align:left}.person-menu>div button:hover,.person-menu>div button:focus-visible{background:#5c71be33}.person-menu>div .person-menu__danger{color:#ffb4c1}.person-add,.people-state button{min-height:40px;padding:8px 12px;border:1px solid rgba(100,143,236,.6);border-radius:12px;background:linear-gradient(145deg,#1f57b8e0,#4d32bdd6);color:#fff;font-size:.82rem;font-weight:650}.person-status{display:block;max-width:118px;color:#9ba9cd;font-size:.76rem;line-height:1.25;text-align:right}.people-state{display:grid;min-height:82px;padding:17px;place-items:center;gap:6px;border:1px solid rgba(84,126,211,.34);border-radius:17px;background:#061539ad;color:#b7c3e4;font-size:.9rem;text-align:center;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.people-state strong{color:#f4f6ff}.people-state--empty{min-height:145px}.people-state--error{margin-bottom:18px;border-color:#f3889f66}.people-group-tools{min-width:0;margin:-4px 0 8px;border:1px solid rgba(84,126,211,.28);border-radius:17px;background:#0615399e;color:#aebbe0;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.people-group-tools>summary{padding:14px 17px;cursor:pointer;font-weight:600}.people-group-tools .group-create{padding:0 14px 14px;border:0;border-radius:0;background:transparent}.people-group-tools .group-create h3{margin-top:2px}.app-shell--people .shell-error{width:min(560px,100%);margin:0 auto 12px}.people-panel button:focus-visible,.people-panel summary:focus-visible,.people-group-tools>summary:focus-visible{outline:2px solid #7ea5ff;outline-offset:3px}@media(max-width:480px){.app-shell--people .chat-topbar{margin-bottom:18px}.people-panel>h1{min-height:54px;margin-bottom:14px;font-size:2rem}.people-search{min-height:50px;margin-bottom:19px}.people-search input{min-height:48px}.people-section{margin-bottom:18px}.person-row{min-height:72px;padding:8px;gap:8px}.person-avatar{width:50px;height:50px}.people-round-action,.person-menu summary{width:44px;height:44px;padding:11px}.people-request-actions{gap:7px}}@media(max-width:350px){.person-row{grid-template-columns:43px minmax(0,1fr) auto;gap:7px}.person-avatar{width:43px;height:43px;font-size:.78rem}.people-round-action,.person-menu summary{width:44px;height:44px;padding:11px}.people-request-actions{gap:4px}.person-add{padding-inline:8px;font-size:.75rem}.person-status{max-width:82px;font-size:.69rem}}@media(max-height:560px){.app-shell--people{padding-bottom:max(14px,env(safe-area-inset-bottom))}.app-shell--people .chat-bottom-nav{position:sticky;bottom:max(8px,env(safe-area-inset-bottom));left:auto;width:min(560px,100%);margin:20px auto 0;transform:none}}@media(prefers-reduced-motion:reduce){.people-panel *,.people-panel *:before,.people-panel *:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0b0f17;color:#edf2ff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at top left,rgba(59,130,246,.18),transparent 30rem),linear-gradient(135deg,#0b0f17,#121826)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card,.panel,.chat-view{border:1px solid rgba(148,163,184,.18);border-radius:24px;background:#0f172ad6;box-shadow:0 24px 80px #0000004d;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.auth-card{width:min(460px,100%);padding:32px}.brand-mark{width:fit-content;padding:8px 12px;border-radius:999px;background:#60a5fa24;color:#bfdbfe;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.brand-mark--small{margin-bottom:4px}h1,h2{margin:0 0 10px}.muted{color:#94a3b8}.small-text{font-size:.86rem}.segmented-control{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:24px 0;padding:6px;border-radius:16px;background:#0f172ae6}.segmented-control button,.ghost-button,.primary-button,.secondary-button,.list-item{border:0;border-radius:14px}.segmented-control button,.ghost-button{padding:10px 14px;color:#cbd5e1;background:transparent}.segmented-control button.active,.ghost-button:hover{background:#94a3b824;color:#f8fafc}.form-stack{display:grid;gap:16px}.form-stack.compact{margin-top:20px;gap:10px}label{display:grid;gap:7px;color:#cbd5e1}input,select{width:100%;border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:12px 14px;background:#0206179e;color:#f8fafc;outline:none}input:focus{border-color:#60a5fae6;box-shadow:0 0 0 4px #3b82f61f}.field-hint{color:#64748b;font-size:.78rem}.primary-button,.secondary-button{padding:12px 16px;font-weight:700}.primary-button{background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff}.secondary-button{background:#1e293beb;color:#e2e8f0}.error-box{padding:12px 14px;border:1px solid rgba(248,113,113,.32);border-radius:14px;background:#7f1d1d40;color:#fecaca}.app-shell{min-height:100vh;padding:18px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.topbar__meta,.runtime-info{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.runtime-info{margin-bottom:18px;color:#64748b;font-size:.82rem}.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 10px;font-size:.78rem;background:#94a3b824}.status-badge--online{color:#bbf7d0}.status-badge--connecting{color:#fde68a}.status-badge--offline{color:#fecaca}.workspace{display:grid;grid-template-columns:minmax(0,760px);justify-content:center;gap:16px;align-items:stretch;min-height:calc(100vh - 118px)}.social-column{display:grid;gap:16px;align-content:start;min-width:0}.friends-panel{max-height:68vh}.group-create{padding:18px;border:1px solid rgba(148,163,184,.18);border-radius:24px;background:#0f172ad6}.user-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid rgba(148,163,184,.12)}.user-row>div:first-child{display:grid}.user-row span{color:#94a3b8;font-size:.82rem}.inline-actions,.member-controls{display:flex;gap:8px;align-items:center}.inline-actions button{padding:8px 10px}.member-controls{margin-bottom:12px}.member-controls select{min-width:220px}.check-row{grid-template-columns:auto 1fr;align-items:center}.check-row input{width:auto}.panel{padding:18px;overflow:auto}.panel-header,.chat-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.list-stack{display:grid;gap:10px}.list-item{width:100%;display:grid;gap:4px;padding:13px;text-align:left;color:#dbeafe;background:#1e293b9e}.list-item span{color:#94a3b8;font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-item--active,.list-item:hover{background:#2563eb47}.empty-state{padding:16px;border-radius:16px;background:#0f172ab3;color:#94a3b8}.chat-view{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:18px}.chat-view--empty{place-items:center;text-align:center}.messages-list{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:6px 2px 16px}.message-bubble{max-width:min(680px,88%);align-self:flex-start;padding:12px 14px;border-radius:18px 18px 18px 6px;background:#1e293bf5}.message-bubble--mine{align-self:flex-end;border-radius:18px 18px 6px;background:#2563eb85}.message-bubble__author{margin-bottom:4px;color:#bfdbfe;font-size:.82rem;font-weight:700}.message-bubble__content{white-space:pre-wrap;overflow-wrap:anywhere}.message-bubble__time{display:block;margin-top:6px;color:#cbd5e1;font-size:.74rem;text-align:right}.composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:12px;border-top:1px solid rgba(148,163,184,.14)}.icon-button{border:0;background:transparent;color:#e2e8f0;font-size:26px;padding:8px 12px;cursor:pointer}.topbar__identity{border:0;background:transparent;color:#f8fafc;text-align:left;flex:1;display:grid;gap:2px;cursor:pointer}.topbar__identity span{color:#94a3b8;font-size:12px}.topbar__meta{position:relative}.overflow-menu{position:absolute;z-index:20;right:0;top:48px;width:230px;padding:8px;border-radius:14px;background:#172033;box-shadow:0 14px 40px #0006;display:grid}.overflow-menu button{border:0;background:transparent;color:#e2e8f0;text-align:left;padding:12px;border-radius:9px;cursor:pointer}.overflow-menu button:hover{background:#94a3b81f}.overflow-menu button:disabled{color:#64748b;cursor:default}.overflow-menu .danger-text{color:#fda4af}.simple-page{min-height:240px}.shell-error{margin-bottom:16px}.composer__error{grid-column:1 / -1}@media(max-width:1100px){.workspace{grid-template-columns:260px minmax(0,1fr)}.workspace .panel:first-child{grid-column:1 / -1}}@media(max-width:720px){.app-shell{padding:12px}.topbar{align-items:flex-start;flex-direction:column}.workspace{grid-template-columns:1fr;min-height:auto}.chat-view{min-height:70vh}.composer{grid-template-columns:1fr}}.auth-screen{--auth-surface: rgba(10, 17, 43, .78);--auth-border: rgba(129, 154, 255, .34);--auth-blue: #38bdf8;--auth-violet: #8b5cf6;--auth-text: #f8faff;--auth-muted: #aab6d8;position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;overflow:hidden;background:#070b1a;color:var(--auth-text)}.auth-night-background{position:fixed;z-index:-2;top:0;right:0;bottom:0;left:0;overflow:hidden;background-color:#030817;background-image:url(/auth/auth-reference-bg.webp);background-position:center center;background-repeat:no-repeat;background-size:cover;pointer-events:none}.auth-night-background:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#03081705 45%,#03061175),radial-gradient(circle at 50% 36%,rgba(45,105,255,.08),transparent 36%);content:""}.alink-logo{display:grid;width:112px;height:98px;place-items:center;filter:drop-shadow(0 0 12px rgba(40,216,255,.72)) drop-shadow(0 0 22px rgba(139,92,246,.54))}.alink-logo svg{width:100%;height:100%;overflow:visible}.alink-logo__mark,.alink-logo__glow{fill:none;stroke:url(#alink-mark-gradient);stroke-linecap:round;stroke-linejoin:round;stroke-width:16}.alink-logo__glow,.alink-logo__bridge-glow{opacity:.75;filter:url(#alink-mark-glow)}.alink-logo__bridge,.alink-logo__bridge-glow{fill:url(#alink-mark-gradient)}.alink-logo--animated{animation:auth-logo-splash-breathe 3.2s ease-in-out infinite}.auth-brand h1,.auth-splash-copy strong{background:linear-gradient(105deg,#7ce9ff,#4d7cff 48%,#a855f7);background-clip:text;color:transparent;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 28px rgba(68,114,255,.2)}.auth-screen{display:flex;align-items:flex-start;justify-content:center;overflow-x:hidden;overflow-y:auto;padding:max(34px,calc(env(safe-area-inset-top) + 18px)) 22px max(30px,calc(env(safe-area-inset-bottom) + 18px))}.auth-splash-copy{position:fixed;z-index:2;top:calc(45dvh + 105px);left:50%;display:grid;justify-items:center;gap:11px;width:min(360px,calc(100% - 40px));transform:translate(-50%);text-align:center;pointer-events:none}.auth-splash-copy strong{font-size:clamp(2.7rem,13vw,3.8rem);font-weight:720;line-height:1;letter-spacing:-.045em}.auth-splash-copy span{color:#d5dcf1;font-size:1.05rem;letter-spacing:.035em}.auth-splash-status{position:fixed;z-index:2;bottom:max(48px,calc(env(safe-area-inset-bottom) + 28px));left:50%;min-height:1.2em;margin:0;transform:translate(-50%);color:var(--auth-muted);font-size:.82rem;letter-spacing:.035em;white-space:nowrap;pointer-events:none}.auth-card,.auth-card--login{position:relative;z-index:1;width:min(390px,100%);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.auth-brand{display:grid;justify-items:center;margin-bottom:28px;text-align:center}.auth-brand .alink-logo{--auth-splash-logo-scale-min: 1.38;--auth-splash-logo-scale-max: 1.42;--auth-splash-logo-scale: 1.4;--auth-splash-logo-shift: calc(45dvh - 55px) ;transform-origin:center;will-change:transform,opacity,filter}.auth-screen--checking .auth-brand h1,.auth-screen--checking .auth-brand p,.auth-screen--checking .auth-form-stage{visibility:hidden;opacity:0}.auth-screen--checking .auth-form-stage{transform:translateY(16px) scale(.985);pointer-events:none}.auth-screen--transitioning .auth-brand .alink-logo{animation:auth-logo-arrive .85s cubic-bezier(.22,1,.36,1) both}.auth-screen--transitioning .auth-brand h1,.auth-screen--transitioning .auth-brand p{animation:auth-content-reveal .56s cubic-bezier(.22,1,.36,1) .18s both}.auth-screen--transitioning .auth-form-stage{animation:auth-form-reveal .65s cubic-bezier(.22,1,.36,1) .26s both}.auth-screen--transitioning .auth-splash-copy,.auth-screen--transitioning .auth-splash-status{animation:auth-splash-copy-leave .38s ease-out both}.auth-screen--ready .auth-splash-copy,.auth-screen--ready .auth-splash-status{display:none}.auth-brand h1{margin:7px 0;font-size:clamp(2.6rem,12vw,3.35rem);font-weight:720;line-height:1;letter-spacing:-.045em}.auth-card--register .auth-brand h1{color:var(--auth-text);font-size:2rem;-webkit-text-fill-color:currentColor}.auth-brand p{margin:0;color:#d5dcf1;font-size:.98rem;letter-spacing:.02em}.auth-screen .form-stack{gap:15px;padding:20px;border:1px solid rgba(116,141,225,.18);border-radius:24px;background:linear-gradient(145deg,#09102ac2,#0b0e238a);box-shadow:0 22px 60px #00000047,inset 0 1px #ffffff09;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.auth-screen .form-stack>label:not(.check-row){gap:8px;color:#bdc8e8;font-size:.86rem;font-weight:600}.auth-screen input:not([type=checkbox]){width:100%;min-height:54px;padding:0 16px;border:1px solid var(--auth-border);border-radius:15px;outline:none;background:var(--auth-surface);box-shadow:inset 0 1px #ffffff06;color:var(--auth-text);caret-color:#60c8ff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.auth-screen input::placeholder{color:#7481a8;opacity:1}.auth-screen input:not([type=checkbox]):focus{border-color:#4f9dffe0;background:#0b1434e6;box-shadow:0 0 0 3px #4d7cff24,0 0 22px #4b5bff1a}.password-input{position:relative;display:block}.password-input input{padding-right:52px!important}.password-toggle{position:absolute;top:50%;right:5px;display:grid;width:44px;height:44px;padding:11px;place-items:center;transform:translateY(-50%);border:0;border-radius:50%;background:transparent;color:#9ba9cf}.password-toggle:focus-visible{outline:2px solid #558cff;outline-offset:-2px}.password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-screen .check-row{grid-template-columns:18px 1fr;gap:10px;align-items:center;color:var(--auth-muted);font-size:.84rem;font-weight:400}.auth-screen .check-row input{width:18px;height:18px;margin:0;accent-color:#5d68ff}.auth-screen .error-box{padding:11px 13px;border:1px solid rgba(251,113,133,.32);border-radius:12px;background:#681f3c4d;color:#ffd5df;font-size:.86rem}.auth-screen .primary-button,.auth-secondary-button{width:100%;min-height:54px;padding:0 16px;border-radius:15px;font-weight:750}.auth-screen .primary-button{border:1px solid rgba(111,151,255,.72);background:linear-gradient(100deg,#2879ff,#4d5fff 56%,#8348ed);box-shadow:0 10px 30px #2b5cff3d,inset 0 1px #ffffff2e;color:#fff}.auth-screen .primary-button:not(:disabled):hover{filter:brightness(1.08)}.auth-secondary-button{border:1px solid rgba(116,139,232,.42);background:#0c122d9e;color:#8aa8ff}.auth-screen button:disabled{opacity:.58}@keyframes auth-logo-splash-breathe{0%,to{transform:translateY(var(--auth-splash-logo-shift)) scale(var(--auth-splash-logo-scale-min));filter:drop-shadow(0 0 12px rgba(40,216,255,.72)) drop-shadow(0 0 22px rgba(139,92,246,.54))}50%{transform:translateY(var(--auth-splash-logo-shift)) scale(var(--auth-splash-logo-scale-max));filter:drop-shadow(0 0 15px rgba(40,216,255,.78)) drop-shadow(0 0 27px rgba(139,92,246,.72))}}@keyframes auth-logo-arrive{0%{transform:translateY(var(--auth-splash-logo-shift)) scale(var(--auth-splash-logo-scale));filter:drop-shadow(0 0 12px rgba(40,216,255,.72)) drop-shadow(0 0 22px rgba(139,92,246,.54))}to{transform:translateY(0) scale(1);filter:drop-shadow(0 0 12px rgba(40,216,255,.72)) drop-shadow(0 0 22px rgba(139,92,246,.54))}}@keyframes auth-content-reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes auth-form-reveal{0%{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes auth-splash-copy-leave{0%{opacity:1;filter:blur(0)}to{opacity:0;filter:blur(5px)}}@media(max-height:720px){.auth-screen{padding-top:max(18px,calc(env(safe-area-inset-top) + 10px))}.auth-screen:focus-within{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(340px,calc(52vh + env(safe-area-inset-bottom)))}.auth-screen:focus-within .auth-brand{display:none}.auth-screen:focus-within .form-stack{gap:8px;padding:12px}.auth-screen:focus-within input:not([type=checkbox]),.auth-screen:focus-within .primary-button{min-height:48px}.auth-screen:focus-within .auth-secondary-button{display:none}.auth-brand{margin-bottom:18px}.auth-brand .alink-logo{--auth-splash-logo-scale-min: 1.88;--auth-splash-logo-scale-max: 1.96;--auth-splash-logo-scale: 1.92;width:82px;height:72px}.auth-brand h1{margin-top:3px;font-size:2.25rem}.auth-screen .form-stack{gap:12px;padding:16px}}@media(max-width:360px){.auth-screen{padding-inline:14px}.auth-screen .form-stack{padding:15px}}@media(prefers-reduced-motion:reduce){.alink-logo--animated{animation:none}.auth-screen--checking .auth-brand .alink-logo{transform:translateY(var(--auth-splash-logo-shift)) scale(var(--auth-splash-logo-scale))}.auth-screen--transitioning .auth-brand .alink-logo{animation:auth-logo-reduced .18s ease-out both}.auth-screen--transitioning .auth-brand h1,.auth-screen--transitioning .auth-brand p,.auth-screen--transitioning .auth-form-stage{animation:auth-reveal-reduced .18s ease-out both}.auth-screen--transitioning .auth-splash-copy,.auth-screen--transitioning .auth-splash-status{animation-duration:.12s}}@keyframes auth-logo-reduced{0%{opacity:0}to{opacity:1}}@keyframes auth-reveal-reduced{0%{opacity:0}to{opacity:1}}.app-shell--chat-list,.app-shell--people{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;padding:max(22px,calc(env(safe-area-inset-top) + 14px)) 18px max(120px,calc(env(safe-area-inset-bottom) + 104px));overflow-x:hidden;background:#030817;color:#f7f8ff}.chat-screen-background{position:fixed;z-index:-2;top:0;right:0;bottom:0;left:0;background-color:#030817;background-image:url(/auth/auth-reference-bg.webp);background-position:center bottom;background-repeat:no-repeat;background-size:cover;pointer-events:none}.chat-screen-background:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#01061440,#0106140d 45%,#0105115c),radial-gradient(circle at 50% 30%,#11368a14,#01051229 82%);content:""}.chat-topbar{display:flex;width:min(560px,100%);min-height:58px;margin:0 auto 24px;align-items:center;justify-content:space-between;gap:18px}.chat-topbar__identity,.chat-topbar__brand{display:flex;min-width:0;padding:0;align-items:center;border:0;background:transparent;color:#fff}.chat-topbar__identity{gap:13px;overflow:hidden}.chat-topbar__identity strong{overflow:hidden;font-size:clamp(1.12rem,4.7vw,1.42rem);font-weight:560;text-overflow:ellipsis;white-space:nowrap}.chat-topbar__avatar,.chat-list-item__avatar{position:relative;display:grid;flex:0 0 auto;place-items:center;overflow:hidden;border:1px solid rgba(116,157,255,.6);border-radius:50%;background:linear-gradient(145deg,#4170d6b3,#362979d9);color:#e6ecff;font-weight:750}.chat-list-item__avatar-wrap{position:relative;display:grid;flex:0 0 auto}.presence-dot{display:inline-block;width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#42d989;box-shadow:0 0 8px #42d9899e}.presence-dot--avatar{position:absolute;right:1px;bottom:2px;width:13px;height:13px;border:2px solid #071b3d;box-shadow:0 0 0 1px #42d98947,0 0 9px #42d989b8}.presence-label{display:inline-flex;min-width:0;align-items:center;justify-content:flex-end;gap:6px}.presence-label>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.presence-label--online{color:#73e6aa!important}.chat-topbar__avatar{width:48px;height:48px;font-size:.9rem}.chat-topbar__avatar img,.chat-list-item__avatar img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.chat-topbar__brand{flex:0 0 auto;gap:3px;font-size:clamp(1.2rem,5.8vw,1.75rem);font-weight:700;letter-spacing:.01em}.chat-topbar__brand .alink-logo{width:45px;height:42px;filter:drop-shadow(0 0 8px rgba(53,126,255,.54))}.chat-topbar__brand .alink-logo__mark,.chat-topbar__brand .alink-logo__glow{stroke-width:18}.app-shell--chat-list .workspace{display:block;width:min(560px,100%);min-height:0;margin:0 auto}.app-shell--chat-list .chats-panel{padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.chats-panel__header{display:flex;min-height:72px;margin-bottom:18px;align-items:center;justify-content:space-between;gap:16px}.chats-panel__heading{display:grid;min-width:0;gap:2px}.chats-panel__heading h1{margin:0;color:#fff;font-size:clamp(2.15rem,10vw,3rem);font-weight:660;line-height:1;letter-spacing:-.035em;text-shadow:0 2px 18px rgba(0,0,0,.36)}.chats-panel__connection{color:#b6c5ea;font-size:.75rem}.chats-panel__actions{display:flex;flex:0 0 auto;gap:12px}.chats-action{display:grid;width:54px;height:54px;padding:13px;place-items:center;border:1px solid rgba(103,137,232,.38);border-radius:15px;background:linear-gradient(145deg,#0a1e4ed1,#12153ec7);box-shadow:inset 0 1px #ffffff0b,0 10px 28px #00000029;color:#c1c9ff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chats-action svg,.chat-list-item__avatar svg,.chats-state__icon svg,.chat-bottom-nav svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chats-action:focus-visible,.chat-list-item:focus-visible,.chat-bottom-nav__item:focus-visible,.chat-topbar button:focus-visible{outline:2px solid #7ea5ff;outline-offset:3px}.chats-action--active{border-color:#7497ffb8;background:linear-gradient(145deg,#153984e6,#231d65db);color:#eef0ff}.chat-search{display:grid;min-height:50px;margin:-3px 0 14px;padding:0 8px 0 14px;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid rgba(92,138,231,.44);border-radius:16px;background:#05163bcc;color:#96aaf0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chat-search>svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-search input{min-width:0;padding:10px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#f6f7ff}.chat-search input:focus{border:0;box-shadow:none}.chat-search input::placeholder{color:#8290b8}.chat-search button{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#aeb9da;font-size:1.5rem;line-height:1}.chat-list{display:grid;gap:11px}.chat-list-item{display:grid;width:100%;min-width:0;min-height:84px;padding:11px 16px 11px 12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;overflow:hidden;border:1px solid rgba(77,135,218,.36);border-radius:18px;background:linear-gradient(105deg,#051d43bf,#0712379e);box-shadow:inset 0 1px #ffffff09,0 12px 30px #0000001f;color:#f9faff;text-align:left;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:border-color .15s ease,background .15s ease,transform .15s ease}.chat-list-item:active{transform:scale(.99)}.chat-list-item:hover,.chat-list-item--active{border-color:#689dffad;background:linear-gradient(105deg,#092e63d1,#131a4cb8)}.chat-list-item__avatar{width:59px;height:59px;font-size:1rem;box-shadow:0 0 18px #2e6eff29}.chat-list-item__avatar--group{padding:14px;border-color:#767fffad;background:radial-gradient(circle at 50% 42%,#4566ffd9,#14164ae6 68%);color:#6e8dff}.chat-list-item__copy{display:grid;min-width:0;gap:5px}.chat-list-item__copy strong,.chat-list-item__copy>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list-item__copy strong{color:#fbfbff;font-size:clamp(1.02rem,4.4vw,1.28rem);font-weight:650;line-height:1.15}.chat-list-item__copy>span{color:#abb8db;font-size:clamp(.84rem,3.7vw,1rem);line-height:1.25}.chat-list-item__meta{display:grid;align-self:stretch;min-width:34px;justify-items:end;align-content:space-between;gap:8px}.chat-list-item time{align-self:start;margin-top:7px;color:#aab6da;font-size:.79rem;white-space:nowrap}.chat-list-item__unread{display:grid;min-width:24px;height:24px;padding:0 7px;place-items:center;border-radius:999px;background:linear-gradient(135deg,#3d8cff,#6a55ff);color:#fff;font-size:.72rem;font-weight:750;line-height:1;box-shadow:0 0 14px #4668ff80}.chats-state{display:grid;min-height:92px;margin-bottom:14px;padding:20px;place-items:center;gap:7px;border:1px solid rgba(84,126,211,.32);border-radius:18px;background:#061539ad;color:#b7c3e4;text-align:center;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.chats-state strong{color:#f4f6ff}.chats-state--empty{min-height:220px}.chats-state--error{border-color:#f3889f5c}.chats-state__icon{display:block;width:52px;height:52px;padding:10px;color:#7790ff}.chats-state .ghost-button{margin-top:4px;border:1px solid rgba(103,137,232,.45);background:#172b60b3;color:#dce3ff}.app-shell--chat-list .shell-error{width:min(560px,100%);margin:0 auto 12px}.chat-bottom-nav{position:fixed;z-index:10;bottom:max(12px,env(safe-area-inset-bottom));left:50%;display:grid;width:min(560px,calc(100% - 28px));min-height:83px;padding:10px 8px 8px;transform:translate(-50%);grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgba(77,111,185,.35);border-radius:20px;background:linear-gradient(180deg,#05112de0,#030a1de8);box-shadow:0 18px 48px #00000073,inset 0 1px #ffffff0a;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.chat-bottom-nav__item{display:grid;min-width:0;padding:0 3px;place-items:center;align-content:center;gap:4px;border:0;background:transparent;color:#7181af}.chat-bottom-nav__icon{position:relative;display:block;width:30px;height:30px;overflow:visible!important}.chat-bottom-nav__item svg{width:30px;height:30px}.chat-bottom-nav__item .chat-bottom-nav__label{max-width:100%;overflow:hidden;font-size:clamp(.66rem,3.2vw,.83rem);text-overflow:ellipsis;white-space:nowrap}.chat-bottom-nav__badge{position:absolute;top:-7px;right:-11px;display:grid;min-width:19px;height:19px;padding:0 5px;place-items:center;border:2px solid #07102a;border-radius:999px;background:#ec4778;color:#fff;font-size:.62rem;font-weight:800;line-height:1;text-shadow:none;box-shadow:0 0 10px #ec477880}.chat-bottom-nav__item--active{color:#f4f5ff;text-shadow:0 0 10px rgba(84,102,255,.82)}.chat-bottom-nav__item--active svg{color:#c7ccff;filter:drop-shadow(0 0 5px #385dff)}@media(max-width:480px){.app-shell--chat-list,.app-shell--people{padding-right:12px;padding-left:12px}.chat-topbar{margin-bottom:18px}.chat-topbar__avatar{width:38px;height:38px}.chat-topbar__brand .alink-logo{width:38px;height:36px}.chats-panel__header{min-height:54px;margin-bottom:14px}.chats-panel__heading h1{font-size:2rem}.chats-action{width:44px;height:44px;padding:11px}.chats-panel__actions{gap:9px}.chat-list-item{min-height:72px;padding:8px 11px 8px 8px;gap:8px;border-radius:14px}.chat-list-item__avatar{width:50px;height:50px}.chat-list{gap:8px}.chat-list-item time{font-size:.72rem}.chat-bottom-nav{bottom:max(16px,env(safe-area-inset-bottom));width:calc(100% - 32px);min-height:72px;border-radius:18px}}@media(max-width:350px){.chat-topbar__identity{gap:8px}.chat-topbar__brand span{display:none}.chats-action{width:44px;height:44px}.chat-list-item__avatar{width:50px;height:50px}}html.chat-screen-active,body.chat-screen-active{overflow:hidden;overscroll-behavior:none}.app-shell--conversation{position:fixed;isolation:isolate;top:var(--chat-viewport-offset-top, 0px);right:0;bottom:auto;left:0;min-height:0;height:var(--chat-viewport-height, 100dvh);max-height:var(--chat-viewport-height, 100dvh);padding:0;overflow:hidden;background:#030817;color:#f7f8ff}.app-shell--conversation>.workspace{display:block;width:100%;height:100%;min-height:0}.app-shell--conversation>.shell-error{position:fixed;z-index:20;top:max(10px,calc(env(safe-area-inset-top) + 8px));right:12px;left:12px;width:min(536px,calc(100% - 24px));margin:0 auto}.app-shell--conversation .chat-conversation{position:relative;display:flex;flex-direction:column;width:min(560px,100%);max-width:100%;min-width:0;height:100%;min-height:0;margin:0 auto;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.chat-conversation__background{position:fixed;z-index:-1;top:0;right:0;bottom:0;left:0;background-color:#030817;background-image:linear-gradient(180deg,#01051242,#0105120a 48%,#01040f47),url(/chat/chat-reference-bg.png);background-position:center,center bottom;background-repeat:no-repeat;background-size:cover;pointer-events:none}.conversation-header{position:relative;z-index:4;display:grid;flex:0 0 auto;min-height:78px;margin:max(10px,calc(env(safe-area-inset-top) + 8px)) 10px 0;padding:10px 12px;grid-template-columns:42px 50px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid rgba(91,132,220,.28);border-radius:24px;background:linear-gradient(135deg,#071c45e0,#081131d6);box-shadow:inset 0 1px #ffffff0d,0 12px 30px #0003;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.conversation-header button{display:grid;width:42px;height:42px;padding:10px;place-items:center;border:1px solid rgba(89,128,220,.24);border-radius:14px;background:linear-gradient(145deg,#112f69b8,#121b4bbd);color:#6f9dff;box-shadow:inset 0 1px #ffffff0d,0 5px 16px #00000026}.conversation-header button:disabled{opacity:1;cursor:default}.conversation-header__back{border:0!important;background:transparent!important;color:#f7f8ff!important;box-shadow:none!important}.conversation-header svg,.composer svg,.conversation-avatar svg,.message-status svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.conversation-header__identity{min-width:0}.conversation-header__identity h1{margin:0;overflow:hidden;color:#fbfbff;font-size:clamp(1.05rem,4.8vw,1.28rem);font-weight:650;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.conversation-header__identity p{margin:4px 0 0;overflow:hidden;color:#9eabc9;font-size:.82rem;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.conversation-header__identity .presence-label{justify-content:flex-start}.conversation-header__actions{display:flex;gap:7px}.chat-conversation--group .conversation-header__actions button{border-radius:50%}.conversation-avatar{position:relative;display:grid;flex:0 0 auto;overflow:hidden;place-items:center;border:1px solid rgba(113,157,255,.55);border-radius:50%;background:radial-gradient(circle at 50% 35%,#314f96,#111a3c 70%);color:#edf3ff;font-weight:700;box-shadow:0 0 18px #306eff40}.conversation-avatar>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.conversation-header__avatar{width:50px;height:50px;font-size:.92rem}.conversation-avatar--group{padding:10px;border-color:#8e5effd1;background:radial-gradient(circle at 68% 72%,rgba(0,207,255,.4),transparent 32%),linear-gradient(145deg,#27236e,#101b50);color:#4ca1ff;box-shadow:0 0 18px #485cff6b,0 0 12px #00c9ff33}.conversation-member-controls{position:relative;z-index:5;display:grid;flex:0 0 auto;margin:8px 12px 0;padding:8px;grid-template-columns:minmax(0,1fr) auto;gap:8px;border:1px solid rgba(91,132,220,.3);border-radius:16px;background:#05102aeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.conversation-member-controls select{min-width:0;padding:9px 10px}.conversation-member-controls button{padding:8px 12px;border:0;border-radius:11px;background:#315ee8;color:#fff}.conversation-notice,.conversation-empty{align-self:center;padding:9px 14px;border:1px solid rgba(91,132,220,.22);border-radius:14px;background:#05102acc;color:#b7c2df;font-size:.84rem;text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.chat-conversation>.conversation-notice{position:relative;z-index:3;flex:0 0 auto;margin:8px 12px 0}.conversation-notice--error{border-color:#ff779157;color:#ffd1da}.conversation-empty{margin:auto;color:#f2f5ff;line-height:1.45}.conversation-empty span{color:#9eabc9;font-size:.78rem}.app-shell--conversation .messages-list{display:flex;flex:1 1 auto;min-height:0;padding:28px 12px 18px;gap:14px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.app-shell--conversation .messages-list::-webkit-scrollbar{display:none}.conversation-day{align-self:center;padding:6px 13px;border:1px solid rgba(91,132,220,.22);border-radius:999px;background:#061028c7;color:#b6c0da;font-size:.8rem;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.message-row{display:flex;width:fit-content;max-width:88%;align-self:flex-start;align-items:flex-end;gap:9px}.message-row--mine{align-self:flex-end;justify-content:flex-end}.chat-conversation--direct .message-row{max-width:82%}.message-row__avatar{width:42px;height:42px;font-size:.74rem}.app-shell--conversation .message-bubble{position:relative;width:fit-content;max-width:100%;padding:12px 14px 9px;border:1px solid rgba(91,132,220,.25);border-radius:21px 21px 21px 6px;background:linear-gradient(145deg,#091c40f5,#050e27f0);color:#f7f8ff;box-shadow:inset 0 1px #ffffff09,0 10px 28px #00000038;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-shell--conversation .message-bubble--mine{border-color:#7099ff9e;border-radius:21px 21px 6px;background:linear-gradient(110deg,#1689eaf5,#3855dff5 52%,#7932eef5);box-shadow:inset 0 1px #ffffff29,0 0 18px #2474ff57,0 8px 25px #251b7c40}.app-shell--conversation .message-bubble__author{margin:0 0 5px;font-size:.83rem;font-weight:600;line-height:1.2}.message-bubble__body{display:flow-root}.app-shell--conversation .message-bubble__content{color:#f8f9ff;font-size:clamp(.96rem,4.15vw,1.05rem);line-height:1.38;white-space:pre-wrap;overflow-wrap:anywhere}.message-bubble__meta{display:inline-flex;float:right;margin:7px 0 0 10px;align-items:center;gap:3px;color:#b0bbd7;font-size:.74rem;line-height:1;white-space:nowrap}.message-status{display:inline-flex;width:17px;height:14px;color:#c5d3ff}.message-status--read{color:#55b7ff}.app-shell--conversation .composer{position:relative;z-index:4;display:grid;flex:0 0 auto;padding:10px 12px max(28px,calc(env(safe-area-inset-bottom) + 10px));grid-template-columns:minmax(0,1fr) 54px;gap:9px;align-items:end;border:0;background:linear-gradient(180deg,transparent,rgba(1,5,18,.28))}.composer__field{display:grid;min-width:0;height:58px;padding:0 8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;border:1px solid rgba(92,128,210,.32);border-radius:21px;background:#050f28e6;box-shadow:inset 0 1px #ffffff0b,0 8px 24px #0000003d;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-shell--conversation .composer input{min-width:0;height:100%;padding:10px 8px;border:0;border-radius:0;background:transparent;color:#f7f8ff;font-size:1rem;box-shadow:none}.app-shell--conversation .composer input:focus{border:0;box-shadow:none}.app-shell--conversation .composer input::placeholder{color:#9ca8c4}.composer__attachment,.composer__emoji{display:grid;width:44px;height:44px;padding:9px;place-items:center;color:#77a0ff}.composer__emoji{color:#99a6c5}.composer__send{display:grid;width:54px;height:54px;padding:13px;place-items:center;border:0;border-radius:50%;background:linear-gradient(140deg,#29a5ff,#5b42ff 56%,#8a35ef);color:#fff;box-shadow:0 0 18px #4169ff7a,0 8px 22px #141c6459}.composer__send:disabled{opacity:.72}.composer__spinner{width:22px;height:22px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:conversation-spin .8s linear infinite}.app-shell--conversation .composer__error{width:fit-content;max-width:100%;padding:7px 11px;grid-column:1 / -1;justify-self:end;border:1px solid rgba(255,126,151,.4);border-radius:11px;background:#4c1127e6;color:#ffd5dd;font-size:.77rem}@keyframes conversation-spin{to{transform:rotate(360deg)}}@media(max-width:420px){.conversation-header{min-height:72px;margin-right:8px;margin-left:8px;padding:8px;grid-template-columns:40px 46px minmax(0,1fr) auto;gap:6px;border-radius:21px}.conversation-header button{width:40px;height:40px;padding:9px}.conversation-header__avatar{width:46px;height:46px}.conversation-header__actions{gap:4px}.app-shell--conversation .messages-list{padding:22px 10px 14px}.message-row{max-width:94%}.chat-conversation--direct .message-row{max-width:84%}.message-row__avatar{width:44px;height:44px}.app-shell--conversation .composer{padding-right:9px;padding-left:9px;grid-template-columns:minmax(0,1fr) 50px;gap:7px}.composer__field{height:54px}.composer__send{width:50px;height:50px}}@media(max-width:350px){.conversation-header{grid-template-columns:36px 42px minmax(0,1fr) auto;gap:4px}.conversation-header button{width:36px;height:36px;padding:8px}.conversation-header__avatar{width:42px;height:42px}.conversation-header__identity h1{font-size:.96rem}.conversation-header__identity p{font-size:.72rem}.composer__attachment,.composer__emoji{width:38px;padding:8px}.composer__field{grid-template-columns:38px minmax(0,1fr) auto}}@media(prefers-reduced-motion:reduce){.composer__spinner{animation-duration:1.5s}}.app-shell--conversation .chat-conversation--direct .messages-list{padding-top:54px}.chat-conversation--direct .composer{grid-template-columns:minmax(0,1fr)}.chat-conversation--direct .composer__field{padding-right:66px}.chat-conversation--direct .composer__send{position:absolute;right:18px;bottom:max(30px,calc(env(safe-area-inset-bottom) + 12px))}.app-shell--profile{position:relative;isolation:isolate;min-height:100dvh;padding:0;overflow-x:hidden;background:#020817;color:#f7f8ff}.app-shell--profile>.chat-screen-background{position:fixed;z-index:-1;top:0;right:0;bottom:0;left:0;background-color:#020817;background-image:linear-gradient(180deg,#01051338,#0207180a 57%,#0105113d),url(/chat/chat-reference-bg.png);background-position:center,center bottom;background-repeat:no-repeat;background-size:cover;pointer-events:none}.app-shell--profile>.workspace{display:block;min-height:100dvh}.app-shell--profile .shell-error{position:fixed;z-index:20;top:max(12px,calc(env(safe-area-inset-top) + 10px));right:16px;left:16px;width:min(528px,calc(100% - 32px));margin:0 auto}.profile-screen{display:flex;width:min(560px,100%);min-height:100dvh;margin:0 auto;padding:max(64px,calc(env(safe-area-inset-top) + 42px)) 24px max(118px,calc(env(safe-area-inset-bottom) + 104px));flex-direction:column}.profile-screen__title{margin:0;color:#fbfbff;font-size:clamp(1.75rem,7.2vw,2.1rem);font-weight:700;line-height:1.15;text-align:center;letter-spacing:-.025em;text-shadow:0 2px 18px rgba(0,0,0,.42)}.profile-hero{display:grid;min-width:0;margin:28px 14px 24px;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:20px}.profile-avatar{position:relative;display:grid;width:116px;height:116px;overflow:hidden;place-items:center;border:2px solid #5da2ff;border-radius:50%;background:radial-gradient(circle at 50% 28%,#375887,#10182b 72%);color:#eef3ff;font-size:2rem;font-weight:700;box-shadow:0 0 0 1px #8450ffc7,0 0 24px #416aff6b}.profile-avatar>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.profile-hero__copy{display:grid;min-width:0;gap:8px}.profile-hero__copy strong,.profile-hero__copy span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-hero__copy strong{color:#fff;font-size:clamp(1.65rem,7.1vw,2.12rem);font-weight:680;line-height:1.05;letter-spacing:-.025em}.profile-hero__copy span{color:#aeb8d7;font-size:clamp(.93rem,4.3vw,1.17rem);line-height:1.2}.profile-details{margin:0;overflow:hidden;border:1px solid rgba(101,130,214,.52);border-radius:20px;background:linear-gradient(125deg,#061842c2,#080f2ead);box-shadow:inset 0 1px #ffffff09,0 16px 36px #00000026;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px)}.profile-details__row{display:grid;min-width:0;min-height:68px;margin:0 12px;padding:0 4px;grid-template-columns:minmax(128px,.9fr) minmax(0,1.1fr) 22px;align-items:center;gap:10px;border-bottom:1px solid rgba(116,138,191,.28)}.profile-details__row:last-child{border-bottom:0}.profile-details__row dt{display:grid;min-width:0;margin:0;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;color:#f4f5fb;font-size:1rem}.profile-details__row dt svg,.profile-edit>svg:first-child,.profile-logout>svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;color:#4994ff;filter:drop-shadow(0 0 5px rgba(43,103,255,.34))}.profile-details__row dd{min-width:0;margin:0;overflow:hidden;color:#b8c2e0;font-size:.96rem;text-align:right;text-overflow:ellipsis;white-space:nowrap}.profile-chevron{width:22px;height:22px;fill:none;stroke:#8190b7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.profile-edit,.profile-logout{display:grid;width:100%;min-width:0;min-height:62px;padding:0 20px;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:12px;border:1px solid rgba(83,139,255,.78);border-radius:18px;background:linear-gradient(110deg,#0a3479db,#13164cb8);box-shadow:inset 0 1px #ffffff14,0 0 22px #325bff2e;color:#f2f3fa;text-align:left;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px)}.profile-edit{margin-top:18px}.profile-edit:disabled{cursor:default;opacity:1}.profile-edit>span,.profile-logout>span{min-width:0;overflow:hidden;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.profile-screen__spacer{flex:1 1 94px;min-height:70px}.profile-logout{flex:0 0 auto;border-color:#5f70a27a;background:linear-gradient(110deg,#0b1437c4,#050c20bf);color:#ff647c;box-shadow:inset 0 1px #ffffff09,0 12px 30px #00000026}.profile-logout>svg{color:#ff5c78;filter:drop-shadow(0 0 5px rgba(255,63,103,.18))}.app-shell--profile .chat-bottom-nav{background:linear-gradient(180deg,#061231e6,#030a1cf0)}@media(max-width:420px){.profile-screen{padding-right:16px;padding-left:16px}.profile-hero{margin-right:8px;margin-left:8px;grid-template-columns:104px minmax(0,1fr);gap:16px}.profile-avatar{width:104px;height:104px}.profile-details__row{margin-right:10px;margin-left:10px;grid-template-columns:minmax(116px,.9fr) minmax(0,1.1fr) 18px;gap:7px}.profile-details__row dt{grid-template-columns:34px minmax(0,1fr);gap:9px;font-size:.94rem}.profile-details__row dt svg{width:27px;height:27px}.profile-details__row dd{font-size:.89rem}}@media(max-width:350px){.profile-screen{padding-right:12px;padding-left:12px}.profile-hero{grid-template-columns:86px minmax(0,1fr);gap:12px}.profile-avatar{width:86px;height:86px;font-size:1.5rem}.profile-details__row{min-height:62px;grid-template-columns:minmax(105px,.9fr) minmax(0,1.1fr) 14px}.profile-details__row dt{grid-template-columns:28px minmax(0,1fr);gap:7px;font-size:.86rem}.profile-details__row dt svg{width:24px;height:24px}.profile-details__row dd{font-size:.8rem}.profile-edit,.profile-logout{padding:0 14px}}.app-shell--settings{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;height:100dvh;padding:0;overflow-x:hidden;overflow-y:auto;background:#020817;color:#f7f8ff}.app-shell--settings>.chat-screen-background{position:fixed;z-index:-1;top:0;right:0;bottom:0;left:0;background-color:#020817;background-image:linear-gradient(180deg,#01051333,#02071805 60%,#0105112e),url(/chat/chat-reference-bg.png);background-position:center,center bottom;background-repeat:no-repeat;background-size:cover;pointer-events:none}.app-shell--settings>.chat-screen-background:after{display:none}.app-shell--settings>.workspace{display:block;min-height:100dvh}.app-shell--settings .shell-error{position:fixed;z-index:20;top:max(12px,calc(env(safe-area-inset-top) + 10px));right:16px;left:16px;width:min(528px,calc(100% - 32px));margin:0 auto}.settings-screen{display:flex;width:min(560px,100%);min-height:100dvh;margin:0 auto;padding:max(56px,calc(env(safe-area-inset-top) + 38px)) 24px max(124px,calc(env(safe-area-inset-bottom) + 110px));flex-direction:column}.settings-screen__header{display:flex;min-width:0;min-height:58px;margin:0 8px 31px;align-items:center;justify-content:space-between;gap:18px}.settings-screen__header h1{min-width:0;margin:0;overflow:hidden;color:#fbfbff;font-size:clamp(1.9rem,8.2vw,2.4rem);font-weight:430;line-height:1.05;letter-spacing:-.025em;text-overflow:ellipsis;text-shadow:0 2px 18px rgba(0,0,0,.42);white-space:nowrap}.settings-screen__brand{display:flex;flex:0 0 auto;align-items:center;gap:4px;color:#dfe5ff;font-size:clamp(1.35rem,6vw,1.75rem);font-weight:700;letter-spacing:.01em;text-shadow:0 0 14px rgba(64,83,255,.35)}.settings-screen__brand .alink-logo{width:52px;height:49px;filter:drop-shadow(0 0 8px rgba(53,126,255,.5))}.settings-screen__brand .alink-logo__mark,.settings-screen__brand .alink-logo__glow{stroke-width:18}.settings-list{display:grid;gap:12px}.settings-row{display:grid;width:100%;min-width:0;min-height:86px;padding:13px 20px 13px 24px;grid-template-columns:58px minmax(0,1fr) 22px;align-items:center;gap:17px;overflow:hidden;border:1px solid rgba(82,123,231,.62);border-radius:19px;background:radial-gradient(circle at 0 0,rgba(30,89,194,.24),transparent 48%),linear-gradient(110deg,#081f4fd1,#091037bd);box-shadow:inset 0 1px #ffffff0e,0 12px 30px #00000024;color:#f5f6fd;text-align:left;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.settings-row:disabled{cursor:default;opacity:1}.settings-row>svg:first-child{width:54px;height:54px;fill:none;stroke:#5798ff;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;color:#5798ff;filter:drop-shadow(0 0 5px rgba(53,99,255,.48))}.settings-row:nth-child(2)>svg:first-child,.settings-row:nth-child(3)>svg:first-child,.settings-row:nth-child(5)>svg:first-child{color:#736cff;stroke:#6e7cff}.settings-row__copy{display:grid;min-width:0;gap:6px}.settings-row__copy strong,.settings-row__copy>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-row__copy strong{color:#fbfbff;font-size:clamp(1.05rem,4.7vw,1.34rem);font-weight:490;line-height:1.12}.settings-row__copy>span{color:#aeb7d7;font-size:clamp(.84rem,3.9vw,1.04rem);font-weight:400;line-height:1.12}.settings-row__chevron{width:22px;height:22px;fill:none;stroke:#8493bf;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.settings-row--logout{border-color:#cd509794;background:radial-gradient(circle at 4% 30%,rgba(143,30,89,.19),transparent 48%),linear-gradient(110deg,#181446d1,#180f3fbd)}.settings-row--logout>svg:first-child{width:52px;height:52px;color:#ff5f73;stroke:#ff5f73;filter:drop-shadow(0 0 5px rgba(255,63,103,.28))}.settings-row--logout .settings-row__copy strong{color:#ff5f73}.app-shell--settings .chat-bottom-nav{border-color:#4d6fcd80;background:linear-gradient(180deg,#061241b8,#030a26cc)}.app-shell--settings .chat-bottom-nav__item{color:#a8aed0}.app-shell--settings .chat-bottom-nav__item--active{color:#f5f7ff}.app-shell--settings .chat-bottom-nav__item--active svg{color:#f4f7ff;filter:drop-shadow(0 0 6px #356cff)}.settings-row:focus-visible{outline:2px solid #89a8ff;outline-offset:3px}.notification-settings__header{justify-content:flex-start;gap:12px}.notification-settings__back{display:grid;flex:0 0 auto;width:42px;height:42px;padding:0 0 4px;place-items:center;border:1px solid rgba(105,142,235,.42);border-radius:14px;background:#081a40b8;color:#e7ebff;font-size:2rem;line-height:1}.notification-settings__card,.notification-permission{border:1px solid rgba(80,128,218,.38);border-radius:20px;background:linear-gradient(110deg,#081f48cc,#0f1341b8);box-shadow:inset 0 1px #ffffff0a,0 14px 34px #0000002e;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.notification-settings__loading{padding:22px;color:#aeb7d7}.notification-switch{display:grid;min-height:76px;padding:14px 17px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.notification-switch+.notification-switch{border-top:1px solid rgba(113,146,221,.16)}.notification-switch--disabled{opacity:.5}.notification-switch__copy{display:grid;min-width:0;gap:5px}.notification-switch__copy strong{color:#f7f8ff;font-size:.98rem;font-weight:590}.notification-switch__copy>span{color:#9da9cb;font-size:.8rem}.notification-switch__control{position:relative;width:48px;height:28px;padding:0;border:1px solid rgba(131,148,194,.42);border-radius:999px;background:#57648b7a;transition:background .15s ease,border-color .15s ease}.notification-switch__control span{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#e9edff;box-shadow:0 2px 7px #0000004d;transition:transform .15s ease}.notification-switch__control--checked{border-color:#5c7dffcc;background:linear-gradient(135deg,#377fff,#7055f7)}.notification-switch__control--checked span{transform:translate(20px)}.notification-permission{display:grid;margin-top:14px;padding:17px;gap:6px}.notification-permission strong{color:#f3f5ff}.notification-permission span,.notification-settings__hint{color:#a5b0d0;font-size:.84rem}.notification-permission button{width:fit-content;margin-top:8px;padding:10px 14px;border:1px solid rgba(100,142,255,.58);border-radius:12px;background:#26469a94;color:#f3f5ff}.notification-settings__hint,.notification-settings__error{margin:14px 4px 0}.notification-settings__error{color:#fda4af}@media(max-width:480px){.settings-screen{padding-right:16px;padding-left:16px}.settings-screen__header{margin-right:8px;margin-bottom:24px;margin-left:8px}.settings-screen__brand .alink-logo{width:39px;height:38px}.settings-list{gap:10px}.settings-row{min-height:76px;padding:10px 14px 10px 16px;grid-template-columns:44px minmax(0,1fr) 18px;gap:11px;border-radius:17px}.settings-row>svg:first-child,.settings-row--logout>svg:first-child{width:44px;height:44px}}@media(max-width:350px){.settings-screen{padding-top:max(42px,calc(env(safe-area-inset-top) + 24px));padding-right:12px;padding-left:12px}.settings-screen__header{min-height:46px;margin-bottom:18px}.settings-screen__header h1{font-size:1.72rem}.settings-screen__brand{font-size:1.24rem}.settings-screen__brand .alink-logo{width:36px;height:35px}.settings-row{min-height:69px;padding-right:11px;padding-left:13px;grid-template-columns:40px minmax(0,1fr) 16px;gap:9px}.settings-row>svg:first-child,.settings-row--logout>svg:first-child{width:39px;height:39px}.settings-row__copy strong{font-size:.98rem}.settings-row__copy>span{font-size:.78rem}}@media(max-height:720px){.settings-screen{padding-top:max(34px,calc(env(safe-area-inset-top) + 20px))}.settings-screen__header{min-height:44px;margin-bottom:16px}.settings-list{gap:8px}.settings-row{min-height:66px}}
