@charset "UTF-8";
:root{--green:#eeeeee;--green-dark:#ffffff;--ink:#eaeaea;--muted:#727272;--line:#141414;--mint:#0f0f0f;--paper:#000000;--white:#000000;--danger:#bbbbbb;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #717171}button{transition:background .16s,color .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}input,textarea{min-width:0;color:var(--ink)}input::placeholder,textarea::placeholder{color:#b5b5b5}h1,h2,h3,h4,p{margin:0}[hidden]{display:none!important}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background:#1f1f1f;border-radius:10px}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app-shell{height:100dvh;min-height:480px;display:grid;grid-template-columns:68px 286px minmax(360px,1fr) 260px;overflow:hidden}.rail{border-right:1px solid var(--line);background:#0a0a0a;display:flex;align-items:center;flex-direction:column;padding:28px 0 20px;z-index:10}.brand-button{padding:0}.brand-icon{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:#ffffff;color:#000000;overflow:hidden;box-shadow:0 4px 10px #ffffff14}.brand-icon .icon{width:24px;height:24px;stroke-width:2.2}.rail-links{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:44px}.rail-button{width:48px;min-height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#b5b5b5;border-radius:11px;position:relative}.rail-button span{font-size:10px;letter-spacing:1px}.rail-button.active,.rail-button:hover{background:#191919;color:var(--green)}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:12px}.profile-button{margin-top:13px;padding:0}.avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#181818;color:#b5b5b5;border-radius:14px;font-weight:600;letter-spacing:0;width:46px;height:46px;font-size:17px}.avatar-sm{width:37px;height:37px;font-size:15px;border-radius:12px}.avatar-xs{width:30px;height:30px;border-radius:10px;font-size:12px}.avatar-xl{width:70px;height:70px;border-radius:23px;font-size:28px}.avatar-xl .icon{width:30px;height:30px}.avatar.group{background:#151515;color:#b5b5b5}.avatar.room{background:#141414;color:#b5b5b5}.online-dot{position:absolute;right:-2px;bottom:-1px;border:2px solid var(--white);width:9px;height:9px;border-radius:50%;background:#767676}
.sidebar{display:flex;flex-direction:column;background:#000000;border-right:1px solid var(--line);min-height:0;padding:31px 17px 0}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:0 7px}.sidebar-heading h1{font-size:24px;font-weight:650;letter-spacing:-1px;display:flex;align-items:center;gap:9px}.title-dot{width:6px;height:6px;border-radius:50%;background:#4a4a4a}.sidebar-heading p{font-size:10px;color:#b5b5b5;letter-spacing:.45px;margin-top:9px}.new-chat-button{display:grid;place-items:center;width:33px;height:33px;border:1px solid #191919;border-radius:11px;background:#090909;color:#b5b5b5}.new-chat-button:hover{background:#141414}.search-field{display:flex;gap:9px;align-items:center;background:#0a0a0a;border:1px solid #101010;border-radius:10px;padding:10px 12px;color:#b5b5b5}.search-field .icon{width:16px;height:16px}.search-field input{width:100%;border:0;outline:none;background:transparent;font-size:12px}.sidebar-search{margin:26px 7px 22px}.sidebar-search>span{font-size:19px;line-height:10px}.conversation-tabs{display:flex;padding:0 7px 15px;gap:7px;border-bottom:1px solid var(--line)}.conversation-tabs button{font-size:12px;padding:7px 15px;color:#b5b5b5;border-radius:7px}.conversation-tabs .selected{color:var(--green);background:#111111;font-weight:600}.conversation-list{flex:1;min-height:0;overflow:auto;margin-top:18px}.list-caption{display:flex;justify-content:space-between;color:#b5b5b5;font-size:10px;letter-spacing:1px;padding:0 10px 12px}.conversation-item{display:flex;text-align:left;width:100%;padding:14px 10px;border-radius:11px;gap:12px;margin-bottom:4px}.conversation-item:hover{background:#070707}.conversation-item.selected{background:#0e0e0e}.conversation-item-text{min-width:0;flex:1;padding-top:2px}.conversation-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}.conversation-topline strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600}.conversation-topline small{font-size:9px;color:#b5b5b5;white-space:nowrap}.conversation-bottomline{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#b5b5b5;margin-top:8px;gap:8px}.conversation-bottomline>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.unread{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;background:#7c7c7c;color:white;font-size:9px;border-radius:6px}.list-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:60px 15px;gap:13px;color:#b5b5b5}.empty-small-icon{background:#0a0a0a;border:1px solid #111111;border-radius:17px;width:58px;height:58px;display:grid;place-items:center;color:#b5b5b5;margin-bottom:5px}.empty-small-icon .icon{width:27px;height:27px}.list-empty h3{font-size:12px;font-weight:500;color:#b5b5b5}.list-empty p{font-size:10px;line-height:1.9}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--green);padding:5px 0}.text-button .icon{width:14px;height:14px}.discover-card{display:flex;align-items:center;gap:11px;background:#0b0b0b;border:1px solid #141414;border-radius:11px;padding:14px 12px;margin:15px 6px 20px;text-align:left}.discover-card:hover{background:#121212}.discover-icon{width:32px;height:32px;background:#161616;border-radius:10px;color:#b5b5b5;display:grid;place-items:center}.discover-card>span:nth-child(2){flex:1}.discover-card strong{display:block;font-size:11px;font-weight:600}.discover-card small{display:block;color:#b5b5b5;font-size:10px;margin-top:4px}.discover-card>.icon{width:14px;height:14px;color:#b5b5b5}.sidebar-footer{display:flex;align-items:center;gap:6px;border-top:1px solid var(--line);padding:17px 9px;font-size:9px;color:#b5b5b5}.sync-dot,.tiny-dot{display:inline-block;width:5px;height:5px;background:#4c4c4c;border-radius:50%;flex-shrink:0}.sync-dot.ready,.tiny-dot.green{background:#6a6a6a}.sync-dot.error{background:#6d6d6d}.version-label{margin-left:auto;color:#b5b5b5;font-size:9px;letter-spacing:1px}
.chat-panel{background:#000000;position:relative;min-width:0;min-height:0}.welcome-view,.conversation-view{height:100%;display:flex;flex-direction:column}.welcome-heading{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 35px;border-bottom:1px solid #101010;gap:15px}.welcome-heading>div{display:flex;align-items:center;gap:14px}.brand-word{font-size:27px;font-weight:750;letter-spacing:-1px;color:#eeeeee}.brand-word>span{color:#b5b5b5}.welcome-heading-label{font-size:11px;letter-spacing:2px;color:#b5b5b5;border-left:1px solid #202020;padding-left:15px}.beta-pill{font-size:9px;background:#101010;border:1px solid #181818;color:#b5b5b5;padding:7px 10px;display:flex;align-items:center;gap:5px;border-radius:20px;white-space:nowrap}.beta-pill .icon{width:12px;height:12px}.welcome-screen{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 18px 32px}.welcome-art{position:relative;width:198px;height:154px;margin-bottom:19px}.bubble-back{position:absolute;top:16px;right:13px;width:75px;height:75px;border-radius:23px 23px 7px 23px;background:#141414;color:#b5b5b5;transform:rotate(11deg);display:grid;place-items:center;border:1px solid #1d1d1d}.bubble-back .icon{width:32px;height:32px;stroke-width:1.4}.bubble-front{position:absolute;left:32px;top:52px;z-index:1;width:96px;height:83px;border-radius:25px 25px 25px 8px;background:#1c1c1c;border:1px solid #262626;box-shadow:0 10px 24px #72727214;display:grid;place-items:center;transform:rotate(-8deg);color:#b5b5b5}.bubble-front .icon{width:46px;height:46px;stroke-width:1.4}.orbit-dot{position:absolute;border-radius:50%;background:#252525;width:8px;height:8px}.orbit-dot.one{left:15px;top:34px;width:6px;height:6px}.orbit-dot.two{right:23px;bottom:11px}.orbit-line{position:absolute;left:13px;bottom:2px;width:162px;height:32px;border:1px dashed #232323;border-top:0;border-radius:50%;transform:rotate(-9deg)}.sparkle{position:absolute;left:36px;top:8px;font-size:32px;color:#b5b5b5}.eyebrow{font-size:10px;letter-spacing:2px;color:#b5b5b5;margin-bottom:17px}.welcome-screen h2{font-size:39px;line-height:1.55;font-weight:550;letter-spacing:1px;color:#eaeaea}.welcome-screen h2>span{color:#b5b5b5}.welcome-screen>p:not(.login-note){font-size:12px;line-height:2.15;color:#b5b5b5;margin-top:18px;letter-spacing:.2px}.welcome-actions{display:flex;justify-content:center;gap:10px;margin-top:30px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;padding:12px 18px;border-radius:9px;white-space:nowrap}.primary-button{background:var(--green);color:#000000;border:1px solid var(--green);box-shadow:0 4px 9px #a9a9a909}.primary-button:hover{background:var(--green-dark)}.secondary-button{border:1px solid #1f1f1f;background:#060606;color:#b5b5b5}.secondary-button:hover{background:#0f0f0f}.primary-button .icon,.secondary-button .icon{width:16px;height:16px}.welcome-features{display:flex;align-items:center;gap:13px;margin-top:33px;color:#b5b5b5;font-size:10px}.welcome-features>span{display:flex;align-items:center;gap:5px}.welcome-features .icon{width:13px;height:13px}.welcome-features>i{width:2px;height:2px;background:#4a4a4a;border-radius:50%}.login-note{font-size:9px;color:#b5b5b5;margin-top:20px;letter-spacing:.3px}.welcome-footer{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-top:1px solid #101010;color:#b5b5b5;font-size:9px}.welcome-footer>span{display:flex;align-items:center;gap:7px}.welcome-footer button{display:flex;align-items:center;gap:5px;color:#b5b5b5;font-size:9px}.welcome-footer .icon{width:12px;height:12px}
.chat-heading{height:84px;flex-shrink:0;display:flex;align-items:center;gap:13px;padding:0 26px;border-bottom:1px solid var(--line);background:#020202}.chat-heading-name{flex:1;min-width:0}.chat-heading h2{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-heading p{font-size:10px;color:#b5b5b5;margin-top:6px;display:flex;gap:7px;align-items:center}.icon-button{width:32px;height:32px;border-radius:9px;padding:5px;display:inline-flex;align-items:center;justify-content:center;color:#b5b5b5}.icon-button:hover{background:#111111;color:var(--green)}.icon-button .icon{width:19px;height:19px}.mobile-back{display:none}.connection-banner{font-size:10px;color:#b5b5b5;background:#131313;border-bottom:1px solid #232323;padding:11px 24px;line-height:1.6}.verification-banner{display:flex;gap:8px;align-items:center;padding:11px 26px;color:#b5b5b5;background:#0c0c0c;border-bottom:1px solid #161616;text-align:left;font-size:10px}.verification-banner.verified{color:#b5b5b5;background:#0e0e0e;border-color:#151515}.verification-banner.changed{color:#b5b5b5;background:#131313}.verification-banner>.icon{width:13px;height:13px}.verification-banner>.icon:last-child{margin-left:auto}.messages-scroll{flex:1;min-height:0;overflow-y:auto;padding:20px 28px 28px;scrollbar-gutter:stable}.conversation-welcome{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:280px;height:100%;text-align:center;padding:25px 15px;gap:16px}.conversation-welcome .avatar{background:#141414;color:#b5b5b5}.conversation-welcome h3{font-weight:500;font-size:18px;color:#b5b5b5}.conversation-welcome p{font-size:11px;line-height:1.9;color:#b5b5b5;max-width:340px}.conversation-welcome>span:not(.avatar){display:flex;align-items:center;gap:6px;font-size:9px;color:#b5b5b5;margin-top:5px}.conversation-welcome .icon{width:13px;height:13px}.date-separator{display:flex;justify-content:center;margin:10px 0 26px}.date-separator span{font-size:9px;color:#b5b5b5;background:#0e0e0e;padding:5px 12px;border-radius:7px}.message-row{display:flex;gap:10px;margin-bottom:23px;align-items:flex-start}.message-row.own{flex-direction:row-reverse}.message-content{max-width:min(78%,540px);display:flex;align-items:flex-start;flex-direction:column;gap:7px}.own .message-content{align-items:flex-end}.message-meta{display:flex;align-items:center;gap:10px}.own .message-meta{flex-direction:row-reverse}.message-meta strong{font-size:10px;font-weight:500;color:#b5b5b5}.message-meta time{font-size:9px;color:#b5b5b5}.message-bubble{font-size:13px;line-height:1.85;background:#000000;border:1px solid #181818;border-radius:2px 12px 12px 12px;padding:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 3px #bcbcbc02}.own .message-bubble{background:#151515;border-color:#1c1c1c;border-radius:12px 2px 12px 12px;color:#b5b5b5}.message-bubble.failed{border-color:#494949;background:#141414}.message-delivery{display:flex;align-items:center;gap:5px;font-size:9px;color:#b5b5b5;min-height:12px}.message-delivery .icon{width:11px;height:11px}.message-delivery.expiring{color:#b5b5b5}.retry-send{font-size:9px;color:#b5b5b5;padding:0;text-decoration:underline;text-underline-offset:3px}.new-messages{position:absolute;bottom:180px;left:50%;transform:translateX(-50%);background:#000000;border:1px solid #1a1a1a;color:#b5b5b5;border-radius:20px;padding:9px 13px;font-size:10px;box-shadow:0 5px 25px #c0c0c016;display:flex;align-items:center;gap:6px}.new-messages .icon{width:13px;height:13px;transform:rotate(90deg)}.composer-area{padding:13px 25px 14px;background:#000000;flex-shrink:0}.composer-box{border:1px solid #1b1b1b;background:#000000;border-radius:13px;box-shadow:0 3px 6px #bebebe03}.composer-box:focus-within{border-color:#3d3d3d;box-shadow:0 0 0 2px #73737307}.composer-box textarea{width:100%;resize:none;border:0;outline:none;background:transparent;padding:15px 17px 3px;min-height:62px;max-height:180px;line-height:1.8;font-size:12px}.composer-toolbar{display:flex;align-items:center;gap:8px;padding:6px 11px 9px}.burn-picker{display:flex;align-items:center;gap:4px;color:#b5b5b5;font-size:9px}.burn-picker>.icon{width:13px;height:13px}.burn-picker select{background:#090909;border:0;border-radius:5px;color:#b5b5b5;padding:4px;font-size:10px}.send-button{margin-left:auto;display:flex;align-items:center;justify-content:center;gap:7px;background:var(--green);color:#000000;font-size:11px;border-radius:7px;padding:8px 13px}.send-button .icon{width:14px;height:14px}.send-button:hover{background:var(--green-dark)}.send-button:disabled{background:#515151;opacity:.6}.composer-footnote{display:flex;align-items:center;gap:4px;color:#b5b5b5;font-size:8px;padding:9px 1px 0}.composer-footnote>.icon{width:11px;height:11px}.composer-footnote>span:last-child{margin-left:auto}.emoji-anchor{position:relative}.emoji-picker{position:absolute;bottom:42px;left:-5px;z-index:5;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:12px;width:170px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 10px 30px #cfcfcf12}.emoji-picker button{padding:4px;font-size:21px;border-radius:5px}.emoji-picker button:hover{background:#0e0e0e}
.info-panel{border-left:1px solid var(--line);background:#000000;overflow:auto;padding:0 23px;min-height:0}.info-content,#info-content{display:flex;flex-direction:column;min-height:100%}.info-header{height:84px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;border-bottom:1px solid var(--line)}.info-header h3{font-size:11px;letter-spacing:.5px;font-weight:500;color:#b5b5b5}.info-header>.icon{width:16px;height:16px;color:#b5b5b5}.info-header .icon-button{display:none}.intro-note{background:#0d0d0d;border:1px solid #141414;border-radius:12px;padding:24px 20px;margin-top:28px}.note-label{font-size:8px;letter-spacing:2px;color:#b5b5b5}.intro-note h3{font-size:20px;font-weight:500;line-height:1.7;margin-top:16px;letter-spacing:.5px;color:#b5b5b5}.intro-note p{font-size:10px;color:#b5b5b5;line-height:2;margin-top:13px}.note-doodle{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#b5b5b5;margin-top:16px}.note-doodle .icon{width:27px;height:27px}.note-doodle>span{font-size:16px;font-style:italic;transform:rotate(-12deg)}.info-section{margin-top:27px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h4{font-size:11px;color:#b5b5b5;font-weight:600}.section-heading>span{font-size:10px;color:#b5b5b5;background:#0d0d0d;border-radius:5px;padding:3px 7px}.section-heading button{color:#b5b5b5;padding:2px}.section-heading .icon{width:14px;height:14px}.room-preview{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin-bottom:15px}.room-hash{width:32px;height:32px;display:grid;place-items:center;background:#0c0c0c;color:#b5b5b5;border-radius:10px;flex-shrink:0}.room-hash .icon{width:17px;height:17px}.room-preview>span:nth-child(2){flex:1;min-width:0}.room-preview strong{font-size:11px;color:#b5b5b5;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.room-preview small{font-size:9px;color:#b5b5b5;display:block;margin-top:5px}.room-preview>.icon{width:13px;height:13px;color:#b5b5b5}.subtle-copy{font-size:10px;line-height:2;color:#b5b5b5}.small-manifesto{margin:40px 0 20px;padding-left:3px}.small-manifesto>span{font-size:8px;letter-spacing:2px;color:#b5b5b5}.small-manifesto p{font-size:16px;line-height:1.9;letter-spacing:2px;color:#b5b5b5;margin-top:15px;font-weight:300}.manifesto-line{width:25px;height:2px;border-radius:2px;background:#272727;margin-top:20px}.info-bottom{margin-top:auto;padding:30px 0 23px;display:flex;align-items:center;gap:10px;border-top:1px solid #0d0d0d}.info-bottom>.brand-word{font-size:17px;color:#b5b5b5}.info-bottom>span:last-child{font-size:8px;letter-spacing:1px;color:#b5b5b5}.info-identity{display:flex;align-items:center;flex-direction:column;text-align:center;padding:31px 0 24px;border-bottom:1px solid var(--line);gap:13px}.info-identity h3{font-size:16px;font-weight:550;word-break:break-word}.info-identity p{font-size:10px;color:#b5b5b5;line-height:1.9}.type-pill{display:inline-flex;align-items:center;gap:5px;color:#b5b5b5;background:#0d0d0d;font-size:9px;padding:5px 9px;border-radius:6px}.type-pill .icon{width:11px;height:11px}.member-row{display:flex;align-items:center;gap:9px;padding:8px 0}.member-row>span:nth-child(2){min-width:0;flex:1}.member-row strong{font-size:11px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-row small{font-size:9px;color:#b5b5b5;margin-top:4px;display:block}.member-row .icon-button{width:25px;height:25px}.member-row .icon-button .icon{width:13px;height:13px}.key-status{font-size:8px;color:#b5b5b5}.key-status.verified{color:#b5b5b5}.privacy-card{border:1px solid #141414;background:#070707;border-radius:10px;padding:16px 14px;margin:23px 0;color:#b5b5b5}.privacy-card>.icon{width:18px;height:18px}.privacy-card h4{font-size:10px;color:#b5b5b5;margin-top:10px;font-weight:500}.privacy-card p{font-size:9px;color:#b5b5b5;line-height:1.9;margin-top:8px}.leave-button{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #1e1e1e;border-radius:8px;padding:9px;color:#b5b5b5;font-size:10px;margin-bottom:20px}.leave-button .icon{width:12px;height:12px}
.modal-backdrop{position:fixed;inset:0;background:#d2d2d235;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px;z-index:100}.modal{width:min(480px,100%);max-height:min(720px,calc(100dvh - 44px));overflow:auto;background:#000000;border:1px solid #151515;border-radius:19px;box-shadow:0 30px 100px #cdcdcd22;padding:27px}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:25px}.modal-heading h2{font-size:20px;font-weight:550;letter-spacing:.3px}.modal-heading p{font-size:11px;color:#b5b5b5;margin-top:8px;line-height:1.7}.modal-heading>.icon-button{flex-shrink:0;margin-top:-4px;margin-right:-5px}.modal-tabs{display:flex;border:1px solid #141414;border-radius:10px;background:#060606;padding:4px;margin-bottom:23px}.modal-tabs button{flex:1;font-size:11px;padding:9px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px;color:#b5b5b5}.modal-tabs button.selected{background:#121212;color:#b5b5b5}.modal-tabs .icon{width:14px;height:14px}.form-field{display:flex;flex-direction:column;gap:10px;font-size:11px;font-weight:500;color:#b5b5b5;margin-bottom:22px}.form-field input,.form-field textarea{border:1px solid #181818;border-radius:9px;padding:12px;background:#030303;font-size:12px;line-height:1.6;resize:vertical}.form-field small{font-size:9px;font-weight:400;color:#b5b5b5;line-height:1.8}.modal-search{margin-bottom:16px}.user-search-results{max-height:250px;overflow:auto;min-height:140px}.user-result{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border-radius:10px;padding:10px;margin-bottom:5px}.user-result:hover,.user-result.chosen{background:#0c0c0c}.user-result>span:nth-child(2){flex:1}.user-result strong{font-size:12px;font-weight:500;display:block}.user-result small{display:block;font-size:9px;color:#b5b5b5;margin-top:5px}.selection-circle{width:18px;height:18px;border:1px solid #1f1f1f;border-radius:50%;display:grid;place-items:center;color:white}.chosen .selection-circle{background:#6e6e6e;border-color:#6e6e6e}.selection-circle .icon{width:12px;height:12px}.chosen-users{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:15px}.chosen-users>button{display:flex;align-items:center;gap:6px;padding:4px 7px 4px 4px;background:#0e0e0e;border-radius:8px;font-size:10px;color:#b5b5b5}.chosen-users .avatar{width:23px;height:23px;border-radius:6px;font-size:9px}.chosen-users .icon{width:11px;height:11px}.modal-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;padding:30px;color:#b5b5b5;font-size:11px}.modal-empty>.icon{width:30px;height:30px;color:#b5b5b5}.modal-empty strong{font-size:12px;font-weight:500}.modal-empty p{font-size:10px;line-height:1.9}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:23px;margin-top:20px;border-top:1px solid #101010}.modal-footer>span{font-size:9px;color:#b5b5b5;display:flex;align-items:center;gap:4px}.modal-footer>span>.icon{width:12px;height:12px}.modal-footer .primary-button{font-size:11px;padding:10px 14px}.form-notice{background:#0a0a0a;color:#b5b5b5;font-size:10px;line-height:1.8;border:1px solid #121212;border-radius:9px;padding:12px;display:flex;align-items:flex-start;gap:8px}.form-notice>.icon{width:16px;height:16px;margin-top:1px}.room-results{max-height:390px;overflow:auto;display:flex;flex-direction:column;gap:12px}.room-card{border:1px solid #151515;background:#040404;border-radius:12px;padding:15px}.room-card>div{display:flex;align-items:center;gap:12px}.room-card h3{font-size:13px;font-weight:500}.room-card small{font-size:9px;color:#b5b5b5;display:block;margin-top:5px}.room-card p{font-size:10px;line-height:1.8;color:#b5b5b5;margin:12px 0}.room-card .primary-button,.room-card .secondary-button{font-size:10px;padding:8px 12px}.about-content>.brand-word{font-size:32px;display:block;margin-bottom:20px}.about-content p{font-size:11px;line-height:2;color:#b5b5b5;margin-bottom:18px}.about-facts{display:flex;flex-direction:column;gap:13px;margin:23px 0;color:#b5b5b5;font-size:11px}.about-facts span{display:flex;gap:10px;align-items:center}.about-facts .icon{width:16px;height:16px}.domain-note,.fingerprint-note{border:1px solid #171717;background:#080808;border-radius:10px;padding:17px;margin:20px 0}.domain-note strong{font-size:11px;color:#b5b5b5}.domain-note p{margin:8px 0 0;font-size:10px}.domain-note small{font-size:9px;color:#b5b5b5;display:block;line-height:1.9;margin-top:13px}.full-width{width:100%}.fingerprint-code{font-family:ui-monospace,"Cascadia Code",Consolas,monospace;font-size:12px;line-height:2;word-break:break-all;letter-spacing:1px;color:#b5b5b5;background:#0a0a0a;padding:18px;border:1px solid #181818;border-radius:10px;margin:18px 0;user-select:all}.fingerprint-note{font-size:10px;color:#b5b5b5;line-height:1.9}.fingerprint-person{display:flex;align-items:center;gap:11px}.fingerprint-person strong{font-size:14px;font-weight:500}.fingerprint-person small{display:block;font-size:10px;color:#b5b5b5;margin-top:5px}.danger-copy{color:#b5b5b5!important}.help-section{margin:20px 0}.help-section h3{font-size:12px;font-weight:550;margin-bottom:10px;color:#b5b5b5}.help-section p,.help-section li{font-size:10px;line-height:2;color:#b5b5b5}.help-section ol{padding-left:18px;margin:0}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);z-index:200;display:flex;align-items:center;gap:18px;max-width:calc(100vw - 36px);background:#bebebe;color:#b5b5b5;border:1px solid #a4a4a4;border-radius:11px;padding:13px 17px;box-shadow:0 8px 30px #c4c4c426;font-size:11px;line-height:1.7}.toast button{font-size:20px;color:#b5b5b5;padding:0}.warning-line{font-size:10px;color:#b5b5b5;line-height:1.9;margin-top:15px}.empty-countdown{height:14px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.app-shell{grid-template-columns:74px 310px minmax(400px,1fr) 280px}.welcome-screen h2{font-size:45px}.welcome-art{margin-bottom:32px}.welcome-screen>p:not(.login-note){font-size:13px}.welcome-heading{padding:0 42px}.messages-scroll{padding:25px 40px}.composer-area{padding:15px 35px 20px}}
@media(max-width:1250px){.app-shell{grid-template-columns:64px 270px minmax(340px,1fr)}.info-panel{display:none}.info-open .info-panel{display:block;position:fixed;right:0;top:0;height:100dvh;width:280px;z-index:50;box-shadow:-10px 0 50px #cbcbcb22}.info-open:after{content:"";position:fixed;inset:0;background:#c2c2c222;z-index:40}.info-header .icon-button{display:inline-flex}.welcome-screen h2{font-size:37px}}
@media(max-width:900px){.app-shell{grid-template-columns:59px 244px minmax(320px,1fr)}.sidebar{padding:25px 12px 0}.sidebar-heading p{font-size:9px}.welcome-heading{padding:0 24px}.beta-pill{font-size:8px;padding:6px 8px}.welcome-heading-label{display:none}.welcome-screen h2{font-size:33px}.welcome-screen>p:not(.login-note){font-size:11px}.welcome-actions{flex-wrap:wrap;gap:8px}.welcome-actions .primary-button,.welcome-actions .secondary-button{font-size:10px;padding:11px 14px}.welcome-features{gap:8px;font-size:9px}.welcome-footer{padding:0 20px}.welcome-footer>span{font-size:8px}.composer-area{padding:12px 15px}.chat-heading{padding:0 20px}.messages-scroll{padding:18px 20px}.burn-picker{font-size:8px;gap:3px}.composer-footnote>span:last-child{display:none}}
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){.app-shell{grid-template-columns:56px minmax(0,1fr);min-height:350px}.rail{padding:23px 0 20px;padding-bottom:max(20px,env(safe-area-inset-bottom))}.rail-button{width:40px}.brand-icon{width:35px;height:35px;border-radius:12px}.rail-links{margin-top:34px}.sidebar{padding:27px 14px 0}.sidebar-heading h1{font-size:26px}.sidebar-heading p{font-size:10px}.sidebar-search{margin-top:25px}.sidebar-footer{padding-bottom:max(17px,env(safe-area-inset-bottom))}.chat-panel{display:none}.is-anonymous .sidebar{display:none}.is-anonymous .chat-panel{display:block}.has-conversation{grid-template-columns:minmax(0,1fr)}.has-conversation .rail,.has-conversation .sidebar{display:none}.has-conversation .chat-panel{display:block}.mobile-back{display:inline-flex}.chat-heading{height:72px;padding:0 13px;gap:10px}.chat-heading h2{font-size:15px}.chat-heading p{font-size:9px}.chat-heading .avatar-sm{width:33px;height:33px;border-radius:10px}.welcome-heading{height:75px;padding:0 19px}.brand-word{font-size:24px}.beta-pill{font-size:8px;gap:3px;padding:6px}.beta-pill .icon{width:11px;height:11px}.welcome-screen{padding:20px 14px 28px}.welcome-art{transform:scale(.9);margin-bottom:6px}.welcome-screen h2{font-size:33px;letter-spacing:0;line-height:1.55}.eyebrow{font-size:8px;letter-spacing:1px}.welcome-screen>p:not(.login-note){font-size:10px;line-height:2}.welcome-actions{margin-top:24px;flex-direction:column;min-width:190px}.welcome-actions .primary-button,.welcome-actions .secondary-button{font-size:11px;padding:12px 15px}.welcome-features{gap:7px;font-size:8px;margin-top:25px}.welcome-features .icon{width:12px;height:12px}.login-note{font-size:8px;max-width:220px;line-height:2;margin-top:15px}.welcome-footer{height:55px;padding:0 16px}.welcome-footer>span{font-size:8px;max-width:150px;line-height:1.8}.welcome-footer button{font-size:8px}.verification-banner{padding:10px 17px;font-size:9px;gap:6px}.connection-banner{padding:9px 17px;font-size:9px}.messages-scroll{padding:18px 15px 20px}.message-content{max-width:80%}.message-bubble{font-size:12px;padding:9px 12px}.message-row{gap:8px}.message-meta{gap:8px}.composer-area{padding:8px 12px max(12px,env(safe-area-inset-bottom))}.composer-box textarea{font-size:12px;padding:13px 14px 0;min-height:55px}.composer-toolbar{padding:5px 9px 8px;gap:3px}.burn-picker{font-size:8px}.burn-picker>.icon{width:12px;height:12px}.burn-picker select{font-size:9px;padding:5px 2px}.send-button{font-size:10px;padding:8px 10px;gap:5px}.send-button .icon{width:12px;height:12px}.composer-footnote{font-size:8px}.info-open .info-panel{width:min(300px,88vw)}.modal-backdrop{padding:15px}.modal{padding:23px;width:100%;border-radius:16px;max-height:calc(100dvh - 30px)}.modal-heading h2{font-size:19px}.modal-heading p{font-size:10px}.modal-footer>span{font-size:8px}.modal-footer .primary-button{font-size:10px;padding:10px}.toast{bottom:max(22px,env(safe-area-inset-bottom));font-size:10px}.info-header .icon-button{display:inline-flex}.fingerprint-code{font-size:11px;letter-spacing:.5px}}
@media(max-height:700px) and (min-width:701px){.welcome-art{height:120px;transform:scale(.8);margin-top:-15px;margin-bottom:0}.welcome-screen h2{font-size:31px;line-height:1.4}.welcome-screen>p:not(.login-note){margin-top:12px;font-size:11px}.eyebrow{margin-bottom:12px}.welcome-actions{margin-top:22px}.welcome-features{margin-top:23px}.login-note{margin-top:14px}.welcome-heading{height:76px}.welcome-footer{height:48px}.intro-note{margin-top:20px}.small-manifesto{margin-top:25px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Wisp white smoke brand. Functional chat/member icons remain unchanged. */
.brand-mark{display:block;width:100%;height:100%;border-radius:inherit}.bubble-front.brand-bubble{width:96px;height:96px;top:40px;border:0;background:transparent;border-radius:25px}.welcome-brand-mark{display:block;width:100%;height:100%;border-radius:25px}


/* Wisp dark monochrome: black canvas, white type and white primary buttons. */
:root{--green:#ffffff;--green-dark:#e5e5e5;--ink:#f5f5f5;--muted:#ababab;--line:#242424;--mint:#171717;--paper:#000000;--white:#0c0c0c;--danger:#e0e0e0;background:#000000;color:#f5f5f5;color-scheme:dark}.rail{background:#090909;border-color:#242424}.sidebar,.chat-panel{background:#000000}.brand-icon{background:#000000;box-shadow:0 0 0 1px #242424}.brand-word,.welcome-screen h2,.sidebar-heading h1{color:#ffffff}.brand-word>span,.welcome-screen h2>span{color:#bdbdbd}.welcome-heading-label,.eyebrow,.welcome-screen>p:not(.login-note),.sidebar-heading p{color:#b5b5b5}.primary-button{background:#ffffff;border-color:#ffffff;color:#000000;box-shadow:none}.primary-button:hover{background:#e5e5e5;border-color:#e5e5e5}.secondary-button{background:#000000;border-color:#555555;color:#ffffff}.secondary-button:hover{background:#151515}.rail-button{color:#b5b5b5}.rail-button.active,.rail-button:hover,.conversation-tabs button.selected{background:#1a1a1a;color:#ffffff}.bubble-back{background:#111111;border-color:#303030;color:#c3c3c3}.welcome-heading,.welcome-footer{border-color:#242424}.beta-pill{background:#121212;border-color:#333333;color:#dedede}.login-note{color:#b5b5b5}.welcome-features,.welcome-footer,.welcome-footer button{color:#b5b5b5}.brand-bubble{box-shadow:0 0 0 1px #333333}.modal{background:#0c0c0c;border:1px solid #333333}.modal-backdrop{background:#000000b3}.modal-heading h2{color:#ffffff}.modal-heading p,.help-section p,.help-section li{color:#b5b5b5}.form-field input,.form-field textarea{background:#101010;color:#ffffff;border-color:#3a3a3a}.send-button{background:#ffffff;color:#000000}.toast{background:#171717;color:#ffffff;border-color:#444444}.verification-banner{background:#121212;color:#cecece;border-color:#333333}.sync-dot.ready{background:#ffffff}

/* Keep secondary copy readable on dark surfaces; retain black type on white actions. */
.emoji-picker{background:#111111;border-color:#333333}
.icon-button,.new-chat-button,.toast button,.modal-tabs button,.modal-tabs button.selected,.form-field,.chosen-users>button{color:#ffffff}
.message-bubble,.own .message-bubble{color:#ffffff}
input::placeholder,textarea::placeholder{color:#b5b5b5;opacity:1}
.verification-banner.verified,.verification-banner.changed{background:#121212;color:#cecece;border-color:#333333}
.unread,.chosen .selection-circle{background:#ffffff;border-color:#ffffff;color:#000000}
.send-button:disabled{background:#333333;color:#ffffff;opacity:.6}

/* Home-screen web app: preserve the monochrome UI and keep short/keyboard
   viewports scrollable. No offline or chat-data storage is introduced. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
.app-shell{height:100vh;height:var(--app-height,100dvh);min-height:0;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.rail,.sidebar{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.rail>*,.rail-links,.rail-bottom{flex-shrink:0}
.welcome-view{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.welcome-screen{flex:1 0 auto}
.welcome-heading,.welcome-footer,.welcome-art,.chat-heading,.verification-banner,.connection-banner,.composer-area{flex-shrink:0}
.conversation-view{min-height:0;overflow:hidden}
.messages-scroll{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.welcome-install{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:17px;width:min(100%,340px)}
.install-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;padding:12px 18px;background:#ffffff;border:1px solid #ffffff;color:#000000;border-radius:10px;font-size:13px;font-weight:600}
.install-button:hover{background:#e5e5e5;border-color:#e5e5e5}
.welcome-install>p{font-size:11px;line-height:1.6;color:#b5b5b5;text-wrap:pretty}
.welcome-install .service-note{font-size:10px;color:#b5b5b5}
.welcome-install .service-note.is-unavailable{color:#ffffff}
.install-steps{margin:14px 0 0;padding-left:23px}
.install-steps li{padding-left:5px;margin:0 0 15px}
.install-steps li::marker{color:#ffffff;font-weight:700}
.install-steps strong{font-size:13px;color:#ffffff}
.install-steps p{margin-top:4px}
.install-sources{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px;padding-top:15px;border-top:1px solid #333333;font-size:11px;color:#b5b5b5}
.install-sources a{text-decoration:underline;text-underline-offset:3px}
.modal-backdrop{bottom:auto;height:var(--app-height,100dvh);padding:max(15px,env(safe-area-inset-top)) max(15px,env(safe-area-inset-right)) max(15px,env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left))}
.modal{max-height:min(720px,100%);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.info-open .info-panel{height:var(--app-height,100dvh);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){
  /* VisualViewport.offsetTop compensates Safari's focus pan. Only the message
     list scrolls in a conversation; neither header nor composer can scroll away. */
  .app-shell{position:fixed;top:var(--app-top,0px);left:0;right:0;width:100%;grid-template-rows:minmax(0,1fr)}
  .sidebar,.welcome-view,.rail{-webkit-overflow-scrolling:touch;touch-action:pan-y}
  .sidebar>*{flex-shrink:0}
  .sidebar .conversation-list{flex:1 0 auto;overflow:visible}
  .composer-box textarea{color:#fff;caret-color:#fff;-webkit-text-fill-color:#fff;display:block}
  .keyboard-open .chat-heading{height:56px}
  .keyboard-open .verification-banner{padding-top:6px;padding-bottom:6px}
  .keyboard-open .composer-area{padding-top:6px;padding-bottom:8px}
  .keyboard-open .composer-box textarea{height:66px;min-height:66px;max-height:90px;line-height:1.5}
  .keyboard-open .composer-footnote{display:none}
  .modal-backdrop{top:var(--app-top,0px)}
  .info-open .info-panel{top:var(--app-top,0px)}
  .welcome-install{width:min(100%,270px);margin-top:14px}
  .install-button{font-size:12px}
  .welcome-footer{height:auto;min-height:55px;padding-top:13px;padding-bottom:max(13px,env(safe-area-inset-bottom))}
  .form-field input,.form-field textarea,.search-field input,.composer-box textarea,.burn-picker select{font-size:16px}
  .composer-box textarea{max-height:150px}
  .composer-toolbar{flex-shrink:0}
}
@media(max-height:500px){.welcome-screen{justify-content:flex-start;padding-top:16px}.welcome-features{margin-top:18px}}

/* Account login only: remembering a login never stores chat data or keys. */
.login-form{width:min(100%,340px);margin-top:24px;text-align:left;display:flex;flex-direction:column;gap:12px}
.login-form .form-field{margin:0;gap:8px;font-size:12px;color:#fff}
.login-form input:not([type=checkbox]){width:100%;font-size:16px;min-height:47px;padding:11px 13px}
.remember-login{display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer;color:#fff;min-height:30px}
.remember-login input{width:17px;height:17px;margin:0;accent-color:#fff;cursor:pointer}
.remember-note{font-size:10px;line-height:1.8;color:#aaa}
.login-form .primary-button{margin-top:2px;font-size:13px;min-height:45px}
.login-feedback{font-size:11px;line-height:1.7;color:#eee;overflow-wrap:anywhere;min-height:0}
.login-feedback:empty{display:none}
.account-welcome{width:min(100%,380px);margin-top:22px}
.account-welcome>p{font-size:12px;line-height:1.8;color:#ccc;overflow-wrap:anywhere}
.account-welcome .welcome-actions{margin-top:15px}
.account-welcome>.text-button{margin-top:14px;font-size:11px;color:#b5b5b5}
.admin-entry{margin-top:12px}
.primary-button:disabled,.install-button:disabled{opacity:.55;cursor:wait}
.is-anonymous .welcome-art{height:125px;margin-bottom:9px;transform:scale(.85)}
.is-anonymous .welcome-screen h2{font-size:31px;line-height:1.45}
.is-anonymous .welcome-screen>p{margin-top:12px}
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){.login-form{width:min(100%,310px);margin-top:20px}.is-anonymous .welcome-screen{padding:15px 17px 24px}.is-anonymous .welcome-art{height:110px;margin-bottom:0;transform:scale(.75)}.is-anonymous .welcome-screen h2{font-size:28px}.login-form .form-field{font-size:12px}.remember-note{font-size:10px}.login-form .primary-button{font-size:13px}.welcome-install{margin-top:16px}}
@media(max-height:560px){.is-anonymous .welcome-screen{justify-content:flex-start}.is-anonymous .welcome-art{height:93px;transform:scale(.65);margin-top:-9px;margin-bottom:-5px}.is-anonymous .welcome-screen h2{font-size:25px}.login-form{margin-top:15px}}

.rail-button{position:relative}.friend-request-badge{position:absolute;top:1px;right:0;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;background:#fff;color:#000;border-radius:10px;font-size:8px;border:1px solid #000}
.friends-sidebar-button{display:flex;align-items:center;gap:8px;width:100%;border:1px solid #333;border-radius:8px;padding:9px 10px;margin-top:12px;text-align:left;font-size:11px;color:#fff;background:#0c0c0c}.friends-sidebar-button .icon{width:15px;height:15px}.friends-sidebar-button b{margin-left:auto;background:#fff;color:#000;border-radius:7px;padding:1px 5px;font-size:9px}
.friend-add-form{display:flex;align-items:flex-end;gap:10px;margin-bottom:12px}.friend-add-form .form-field{flex:1;min-width:0;margin:0;gap:8px;color:#fff}.friend-add-form input{width:100%;font-size:16px}.friend-add-form>.primary-button{flex-shrink:0;min-height:46px}
.friend-feedback{font-size:11px;line-height:1.8;color:#eee;overflow-wrap:anywhere;margin:12px 0}.friend-feedback:empty{display:none}
.friends-section{margin:22px 0}.friend-section-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:9px;border-bottom:1px solid #333}.friend-section-heading h3{font-size:12px;font-weight:550;color:#fff}.friend-section-heading>span{font-size:10px;color:#aaa}
.friend-person-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #222}.friend-person-text{flex:1;min-width:0}.friend-person-text strong{display:block;overflow-wrap:anywhere;font-size:12px;font-weight:500;color:#fff}.friend-person-text small{display:block;margin-top:5px;color:#aaa;font-size:10px;overflow-wrap:anywhere}.friend-person-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.friend-person-actions>.primary-button,.friend-person-actions>.secondary-button{padding:8px 10px;font-size:10px}.friend-remove{color:#aaa;text-decoration:underline;text-underline-offset:3px;font-size:10px;padding:8px 3px}.friend-empty{color:#aaa;font-size:10px;line-height:1.8;padding:14px 0}.friend-person-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:450px){.friend-add-form{flex-wrap:wrap}.friend-add-form .form-field{flex-basis:100%}.friend-add-form>.primary-button{width:100%;min-height:40px}.friend-person-row{flex-wrap:wrap}.friend-person-actions{margin-left:44px;flex-wrap:wrap}.friend-person-text{flex-basis:calc(100% - 44px)}}

/* Keep scrolling while disabling browser page zoom on mobile. */
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){html,body,.messages-scroll,.modal,.app-shell{touch-action:pan-y}}
@media(max-width:700px) and (max-height:300px){.keyboard-open .chat-heading{height:40px}.keyboard-open .chat-heading p{display:none}.keyboard-open .verification-banner{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:8px;padding:4px 12px}.keyboard-open .verification-banner span{overflow:hidden;text-overflow:ellipsis}.keyboard-open .composer-box textarea{height:42px;min-height:42px;max-height:42px;padding-top:7px}.keyboard-open .composer-area{padding:4px 8px}.keyboard-open .composer-toolbar{padding-bottom:4px}.keyboard-open .connection-banner{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:4px 12px}}

/* VisualViewport short height, independent of Safari layout viewport height. */
.keyboard-tight .chat-heading{height:40px}.keyboard-tight .chat-heading p{display:none}.keyboard-tight .verification-banner{white-space:nowrap;overflow:hidden;font-size:8px;padding:4px 12px}.keyboard-tight .verification-banner span{overflow:hidden;text-overflow:ellipsis}.keyboard-tight .composer-box textarea{height:42px;min-height:42px;max-height:42px;padding-top:7px}.keyboard-tight .composer-area{padding:4px 8px}.keyboard-tight .composer-toolbar{padding-bottom:4px}.keyboard-tight .connection-banner{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:4px 12px}

/* Messenger presentation layer. Keep the VisualViewport and native scrolling
   rules above intact; these overrides change spacing, not message/key lifetime. */
:root{--bottom-nav-height:calc(68px + env(safe-area-inset-bottom));--line:#242424;--muted:#b5b5b5}
.app-shell{grid-template-columns:68px 304px minmax(0,1fr)}
.info-panel{display:none}
.rail{padding-top:22px;padding-bottom:18px}
.rail-links{margin-top:30px;gap:12px}
.profile-nav-icon,.profile-nav-label{display:none}
.profile-button.active .avatar{box-shadow:0 0 0 2px #fff}
.sidebar{padding:22px 16px 0}
.sidebar-heading{padding:0;min-height:44px}
.sidebar-heading h1{letter-spacing:0;font-size:24px}
.sidebar-heading p{font-size:11px;line-height:1.6;margin-top:6px}
.new-chat-button{width:40px;height:40px;border-radius:10px;background:#fff;color:#000;border-color:#fff;flex-shrink:0}
.new-chat-button:hover{background:#e5e5e5}
.sidebar-search{margin:18px 0 12px;min-height:44px;padding:10px 12px;background:#121212;border-color:#242424;border-radius:10px}
.search-field input{font-size:16px;line-height:1.4;color:#fff;-webkit-text-fill-color:#fff;caret-color:#fff}
.sidebar-search>span{display:none}
.chat-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.chat-shortcuts .friends-sidebar-button,.chat-shortcuts .mailbox-sidebar-button{display:flex;align-items:center;gap:8px;width:100%;margin:0;min-height:42px;padding:10px 12px;text-align:left;font-size:12px;line-height:1.3;background:#fff;color:#000;border:1px solid #fff;border-radius:9px}
.chat-shortcuts .friends-sidebar-button .icon,.chat-shortcuts .mailbox-sidebar-button .icon{width:17px;height:17px}
.chat-shortcuts .friends-sidebar-button b,.chat-shortcuts .mailbox-sidebar-button b{display:inline-grid;place-items:center;margin-left:auto;min-width:18px;height:18px;padding:0 4px;background:#000;color:#fff;font-size:10px;line-height:1;flex-shrink:0;border-radius:9px}
.conversation-tabs{padding:0 0 12px;gap:8px}
.conversation-tabs button{min-height:34px;font-size:12px;padding:7px 16px;letter-spacing:0}
.conversation-tabs .selected{background:#1b1b1b}
.conversation-list{margin-top:14px}
.list-caption{padding:0 0 10px;font-size:11px;letter-spacing:0;line-height:1.5}
.conversation-item{align-items:center;min-height:78px;padding:13px 8px;gap:12px;margin-bottom:0;border-radius:8px}
.conversation-item>.avatar{width:48px;height:48px;border-radius:12px;font-size:18px}
.conversation-item-text{padding-top:0}
.conversation-topline strong{font-size:15px;line-height:1.4;font-weight:550}
.conversation-topline small{font-size:10px;line-height:1.4}
.conversation-bottomline{margin-top:6px;font-size:12px;line-height:1.5}
.unread{background:#fff;color:#000;border-radius:9px;font-size:10px;min-width:18px;height:18px}
.discover-card{margin:14px 0 16px;min-height:64px}
.sidebar-footer{padding:16px 0;font-size:10px}
.chat-heading{height:68px;padding:0 24px;gap:12px}
.chat-heading h2{font-size:17px;line-height:1.35}
.chat-heading p{line-height:1.4;margin-top:4px}
.chat-heading .icon-button{width:36px;height:36px;flex-shrink:0}
.verification-banner{padding:9px 24px;font-size:11px;line-height:1.5}
.connection-banner{padding:9px 24px;font-size:11px}
.messages-scroll{padding:22px 24px;scrollbar-gutter:auto}
.message-row{gap:10px;margin-bottom:20px}
.message-content{gap:6px;max-width:min(78%,540px)}
.message-meta strong,.message-meta time{font-size:11px;line-height:1.4}
.message-bubble{font-size:15px;line-height:1.65;padding:11px 14px;color:#fff;background:#171717;border-color:#292929;box-shadow:none;border-radius:3px 13px 13px}
.own .message-bubble{color:#000;background:#f5f5f5;border-color:#f5f5f5;border-radius:13px 3px 13px 13px}
.message-bubble.failed,.own .message-bubble.failed{background:#191919;color:#fff;border-color:#777}
.message-delivery{font-size:10px;line-height:1.4;color:#bbb}
.date-separator{margin:8px 0 20px}
.date-separator span{font-size:10px;line-height:1.5;background:#121212;color:#bbb}
.conversation-welcome{min-height:180px;gap:12px}
.conversation-welcome p{font-size:12px}
.composer-area{padding:12px 24px 14px;background:#070707;border-top:1px solid #242424}
.composer-box{background:#111;border-color:#333;border-radius:12px;box-shadow:none}
.composer-box:focus-within{border-color:#888;box-shadow:none}
.composer-box textarea{display:block;height:68px;min-height:68px;max-height:150px;padding:12px 14px 4px;font-size:16px;line-height:1.5;color:#fff;caret-color:#fff;-webkit-text-fill-color:#fff}
.composer-toolbar{padding:4px 10px 9px;gap:7px}
.composer-toolbar>.icon-button{width:32px;height:32px}
.burn-picker{font-size:10px;gap:5px;min-width:0}
.burn-picker select{font-size:16px;min-height:32px;padding:4px 5px;color:#fff;background:#191919}
.send-button{min-height:36px;padding:8px 14px;font-size:12px;gap:6px;flex-shrink:0}
.composer-footnote{font-size:9px;line-height:1.5;padding-top:8px}
.modal{padding:24px;border-radius:16px}
.modal-heading{gap:12px;align-items:flex-start;margin-bottom:22px}
.modal-heading>div{min-width:0}
.modal-heading h2{font-size:22px;line-height:1.35;letter-spacing:0}
.modal-heading p{font-size:12px;line-height:1.7;margin-top:6px}
.modal-heading>.icon-button{width:36px;height:36px;margin:0;flex-shrink:0}
.form-field{font-size:12px;gap:8px}
.form-field input,.form-field textarea{font-size:16px;line-height:1.5}
.form-field input{min-height:44px;padding:10px 12px}
.modal .primary-button,.modal .secondary-button{min-height:44px;font-size:12px}
.friend-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:16px}
.friend-add-form>.primary-button{width:auto;min-height:44px;padding:10px 14px}
.friend-person-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 0;min-height:75px}
.friend-person-row>.avatar{width:48px;height:48px;font-size:18px;border-radius:12px}
.friend-person-text strong{font-size:14px;line-height:1.4;font-weight:550}
.friend-person-text small{font-size:11px;line-height:1.5;margin-top:5px}
.friend-person-actions{gap:6px;margin:0;flex-wrap:wrap;justify-content:flex-end;max-width:154px}
.friend-person-actions>.primary-button,.friend-person-actions>.secondary-button{min-height:36px;font-size:11px;padding:8px 10px}
.friend-remove{font-size:11px;line-height:1.5;min-height:36px;padding:8px 3px}
.friend-section-heading{min-height:32px;align-items:center;padding-bottom:10px}
.friend-section-heading h3{font-size:13px;line-height:1.4}
.friend-section-heading>span{font-size:11px}
.friend-empty,.friend-feedback{font-size:12px;line-height:1.8}
.room-card{padding:16px;border-color:#2b2b2b;background:#101010}
.room-card>div{align-items:center;gap:12px}
.room-card>div>span{min-width:0}
.room-card .avatar{width:44px;height:44px;border-radius:11px}
.room-card h3{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.room-card small{font-size:11px;line-height:1.4}
.room-card p{font-size:12px;line-height:1.8}
.room-card .secondary-button{background:#fff;color:#000;border-color:#fff;font-size:12px;min-height:36px;padding:8px 12px}
.fingerprint-person{gap:12px;align-items:center}
.fingerprint-person>span:last-child{min-width:0}
.fingerprint-person strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.fingerprint-person small{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.fingerprint-note{font-size:12px;line-height:1.8;padding:14px}
.modal-footer{gap:12px;flex-wrap:wrap;align-items:center;padding-top:18px;margin-top:20px}
.modal-footer>span{font-size:11px;line-height:1.6}
.screen-modal[data-screen="me"] .fingerprint-person{padding:6px 0 12px}
.screen-modal[data-screen="me"] .fingerprint-person .avatar{width:56px;height:56px;border-radius:14px;font-size:22px}
.screen-modal[data-screen="me"] .full-width{justify-content:flex-start;min-height:44px;padding:11px 15px;font-size:13px;line-height:1.5;border-radius:10px;background:#121212;border-color:#2b2b2b}
.screen-modal[data-screen="me"] .full-width .icon{width:19px;height:19px;margin-right:2px}
.profile-settings{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:8px}
.profile-setting-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:50px;padding:14px 15px;background:#121212;border:1px solid #2b2b2b;border-radius:10px;color:#fff;font-size:13px;line-height:1.5;text-align:left}
.profile-setting-row .icon{width:19px;height:19px;flex-shrink:0}
.profile-setting-row:hover{background:#191919}
.screen-modal[data-screen="me"] .modal-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.screen-modal[data-screen="me"] .modal-footer>span{font-size:12px;text-align:center;color:#aaa}
.screen-modal[data-screen="me"] .modal-footer>.text-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;background:#fff;color:#000;border-radius:10px;font-size:13px}
.toast{color:#fff;background:#171717;border-color:#555;font-size:12px;line-height:1.6}

@media(min-width:1550px){.app-shell{grid-template-columns:68px 304px minmax(0,1fr) 260px}.info-panel{display:block}}
@media(min-width:701px) and (max-width:1549px){
  .info-open .info-panel{display:block;position:fixed;right:0;top:0;width:280px;z-index:50;box-shadow:-10px 0 40px #000a}
  .info-open:after{content:"";position:fixed;inset:0;background:#0008;z-index:40}
  .info-header .icon-button{display:inline-flex}
}
@media(min-width:701px) and (max-width:900px){.app-shell{grid-template-columns:60px 280px minmax(0,1fr)}.chat-heading{padding:0 16px}.messages-scroll{padding:18px 16px}.composer-area{padding-left:16px;padding-right:16px}}

@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){
  /* A single content column above a four-item bottom bar. No touch handlers or
     new nested chat scrolling are needed; the existing flex minima remain. */
  .app-shell,.has-conversation{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding-bottom:var(--bottom-nav-height);min-height:0}
  .rail,.has-conversation .rail{position:absolute;left:0;right:0;bottom:0;width:100%;height:var(--bottom-nav-height);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:67px;align-items:stretch;padding:0 max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left));border-right:0;border-top:1px solid #282828;background:#090909;overflow:visible}
  .rail-links,.rail-bottom{display:contents}
  .rail .brand-button,#install-nav,#help-nav,#mailbox-nav{display:none}
  .rail-button,.profile-button{width:100%;height:67px;min-height:0;margin:0;padding:7px 4px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:0;line-height:1;color:#a5a5a5;background:transparent}
  #chat-nav{grid-column:1;grid-row:1}#friends-nav{grid-column:2;grid-row:1}#rooms-nav{grid-column:3;grid-row:1}#profile-btn{grid-column:4;grid-row:1}
  .rail-button>.icon,.profile-nav-icon{width:23px;height:23px}
  .rail-button>span,.profile-nav-label{font-size:11px;line-height:1.2;letter-spacing:0}
  .rail-button.active,.rail-button:hover,.profile-button.active,.profile-button:hover{background:transparent;color:#fff}
  .rail-button.active:after,.profile-button.active:after{content:"";position:absolute;left:calc(50% - 10px);bottom:4px;width:20px;height:2px;border-radius:2px;background:#fff}
  .profile-button{position:relative}
  .profile-button #self-avatar{display:none}
  .profile-nav-icon{display:block}.profile-nav-label{display:block}
  .friend-request-badge{top:6px;right:calc(50% - 24px);font-size:9px;min-width:16px;height:16px}
  .sidebar{height:100%;min-height:0;padding:10px 16px 12px;border-right:0;overflow-y:auto}
  .sidebar-heading{height:48px;min-height:48px;padding:0}
  .sidebar-heading h1{font-size:24px;line-height:1.35;font-weight:600;gap:8px;letter-spacing:0}
  .sidebar-heading p,.title-dot{display:none}
  .new-chat-button{width:40px;height:40px;border-radius:10px}
  .sidebar-search{margin:10px 0 12px;min-height:44px}
  .chat-shortcuts{gap:10px;margin-bottom:12px}
  .chat-shortcuts .friends-sidebar-button,.chat-shortcuts .mailbox-sidebar-button{min-height:42px;font-size:12px;padding:10px 11px}
  .conversation-tabs{padding:0 0 10px;gap:7px}
  .conversation-tabs button{min-height:32px;padding:6px 14px;font-size:12px}
  .conversation-list{margin-top:12px}
  .list-caption{padding:0 0 7px;font-size:11px;letter-spacing:0}
  .conversation-item{min-height:79px;padding:14px 0;gap:12px;border-bottom:1px solid #202020;border-radius:0}
  .conversation-item.selected,.conversation-item:hover{background:#090909}
  .conversation-item>.avatar{width:48px;height:48px;border-radius:12px}
  .conversation-topline strong{font-size:15px;line-height:1.4}
  .conversation-bottomline{font-size:12px;line-height:1.5;margin-top:6px}
  .discover-card,.sidebar-footer{display:none}
  .list-empty{padding:42px 16px}
  .list-empty h3{font-size:14px}.list-empty p{font-size:12px}
  .chat-panel{min-height:0;height:100%}
  .chat-heading{height:54px;padding:0 12px;gap:9px}
  .chat-heading .avatar-sm{width:34px;height:34px;border-radius:9px}
  .chat-heading h2{font-size:16px;line-height:1.35}
  .chat-heading p{font-size:10px;margin-top:3px}
  .chat-heading .icon-button{width:34px;height:34px}
  .verification-banner{padding:8px 13px;font-size:10px;line-height:1.5;gap:7px}
  .connection-banner{padding:8px 13px;font-size:10px}
  .messages-scroll{padding:16px 12px 18px}
  .message-row{gap:8px;margin-bottom:18px}
  .message-row>.avatar{width:32px;height:32px;border-radius:9px;font-size:13px}
  .message-content{max-width:calc(100% - 50px);gap:5px}
  .message-bubble{font-size:15px;line-height:1.65;padding:10px 13px}
  .message-meta{gap:8px}.message-meta strong,.message-meta time{font-size:10px;line-height:1.4}
  .message-delivery{font-size:10px}
  .composer-area{padding:9px 12px 10px;background:#080808}
  .composer-box textarea{height:68px;min-height:68px;max-height:150px;font-size:16px;line-height:1.5;padding:12px 12px 4px}
  .composer-toolbar{gap:5px;padding:4px 8px 8px}
  .composer-toolbar>.icon-button{width:30px;height:30px}
  .burn-picker{font-size:9px;gap:3px}
  .burn-picker select{font-size:16px;min-height:32px;padding:4px 3px}
  .send-button{min-height:36px;padding:8px 12px;font-size:12px}
  .composer-footnote{font-size:9px;line-height:1.5;padding-top:7px}
  .new-messages{bottom:165px;font-size:11px;background:#161616;border-color:#444;color:#fff;box-shadow:0 3px 18px #0008}
  .welcome-heading{height:60px;padding:0 18px}
  .welcome-screen{padding:20px 20px 28px}
  .welcome-screen>p:not(.login-note){font-size:12px}
  .welcome-footer{padding:12px 18px;height:auto;min-height:48px}
  .modal{padding:20px;border-radius:16px}
  .modal-heading h2{font-size:21px}.modal-heading p{font-size:12px}
  .form-field input,.form-field textarea,.search-field input,.composer-box textarea,.burn-picker select{font-size:16px}
  .modal-footer>span{font-size:11px}
  .friend-add-form{grid-template-columns:minmax(0,1fr) auto;gap:9px}
  .friend-add-form>.primary-button{min-height:44px;width:auto;font-size:12px;padding:10px 12px}
  .friend-person-row{grid-template-columns:48px minmax(0,1fr) auto;gap:11px;min-height:76px}
  .friend-person-actions{margin:0;max-width:138px;gap:5px}
  .friend-person-text strong{font-size:14px}.friend-person-text small{font-size:11px}
  .friend-person-actions>.primary-button,.friend-person-actions>.secondary-button{font-size:11px;min-height:36px;padding:8px 9px}
  .screen-modal-backdrop{top:var(--app-top,0px);height:calc(var(--app-height,100dvh) - var(--bottom-nav-height));padding:0;align-items:stretch;justify-content:stretch;background:#000;backdrop-filter:none;overflow:hidden}
  .screen-modal{display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;min-height:0;border:0;border-radius:0;padding:0;background:#000;box-shadow:none;overflow:hidden}
  .screen-modal>.modal-heading{flex-shrink:0;align-items:flex-start;gap:12px;margin:0;padding:calc(14px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 14px max(16px,env(safe-area-inset-left));border-bottom:1px solid #252525}
  .screen-modal>.modal-heading h2{font-size:22px;line-height:1.35;font-weight:600}
  .screen-modal>.modal-heading p{font-size:11px;line-height:1.6;margin-top:6px}
  .screen-modal>.modal-heading>.icon-button{width:36px;height:36px;margin:0}
  .screen-modal>.modal-heading+div{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:16px max(16px,env(safe-area-inset-right)) 20px max(16px,env(safe-area-inset-left));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  .screen-modal .room-results{max-height:none;overflow:visible;gap:12px}
  .screen-modal .modal-search{min-height:44px;padding:10px 12px;background:#121212;border-color:#282828}
  .screen-modal .friends-section{margin:20px 0}
  .screen-modal .friend-add-form .form-field{font-size:12px}
  .screen-modal[data-screen="me"] .fingerprint-person{padding:6px 0 12px}
  .screen-modal[data-screen="me"] .fingerprint-person strong{font-size:18px}
  .screen-modal[data-screen="me"] .fingerprint-person small{font-size:12px}
  .screen-modal[data-screen="me"] .fingerprint-note{margin:16px 0;font-size:12px;line-height:1.9}
  .screen-modal[data-screen="me"] .modal-footer{padding-top:16px}
  .toast{bottom:calc(var(--bottom-nav-height) + 12px);font-size:12px}

  /* The keyboard uses all available visual height. Navigation never covers the
     composer; only the already-existing messages surface can scroll. */
  .keyboard-open .app-shell,.keyboard-tight .app-shell{padding-bottom:0}
  .keyboard-open .rail,.keyboard-open .has-conversation .rail,.keyboard-tight .rail,.keyboard-tight .has-conversation .rail{display:none}
  .keyboard-open .chat-heading{height:48px}
  .keyboard-open .composer-area{padding:6px 10px 8px}
  .keyboard-open .composer-box textarea{height:60px;min-height:60px;max-height:90px;line-height:1.5}
  .keyboard-open .composer-toolbar{padding-bottom:6px}
  .keyboard-open .screen-modal-backdrop,.keyboard-tight .screen-modal-backdrop{height:var(--app-height,100dvh)}
  .keyboard-open .screen-modal>.modal-heading{padding-top:10px;padding-bottom:10px}
  .keyboard-open .toast{bottom:12px}
  .keyboard-tight .chat-heading{height:38px;gap:7px;padding:0 9px}
  .keyboard-tight .chat-heading p{display:none}
  .keyboard-tight .chat-heading .avatar-sm{width:28px;height:28px;border-radius:8px}
  .keyboard-tight .chat-heading .icon-button{width:30px;height:30px}
  .keyboard-tight .verification-banner{font-size:8px;line-height:1.3;padding:4px 10px;white-space:nowrap;overflow:hidden}
  .keyboard-tight .verification-banner span{overflow:hidden;text-overflow:ellipsis}
  .keyboard-tight .connection-banner{font-size:8px;padding:4px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .keyboard-tight .composer-area{padding:4px 8px}
  .keyboard-tight .composer-box textarea{height:42px;min-height:42px;max-height:42px;padding:7px 10px 2px}
  .keyboard-tight .composer-toolbar{padding:2px 6px 4px;gap:4px}
  .keyboard-tight .composer-toolbar>.icon-button{width:28px;height:28px}
  .keyboard-tight .burn-picker select{min-height:28px;padding:2px 3px}
  .keyboard-tight .send-button{min-height:30px;padding:5px 10px}
  .keyboard-tight .composer-footnote{display:none}
  .keyboard-tight .screen-modal>.modal-heading{padding:8px 12px}
  .keyboard-tight .screen-modal>.modal-heading h2{font-size:19px}
  .keyboard-tight .screen-modal>.modal-heading p{display:none}
  .keyboard-tight .screen-modal>.modal-heading+div{padding:12px}
}
@media(max-width:359px){
  .chat-shortcuts{gap:8px}.chat-shortcuts .friends-sidebar-button,.chat-shortcuts .mailbox-sidebar-button{font-size:11px;padding:10px 9px}
  .friend-person-row{grid-template-columns:44px minmax(0,1fr);gap:10px}
  .friend-person-row>.avatar{width:44px;height:44px}
  .friend-person-actions{grid-column:2;justify-content:flex-start;max-width:none;margin:0}
  .composer-toolbar{gap:3px}.burn-picker>.icon{display:none}.send-button{padding-left:10px;padding-right:10px}
}

/* Login is an app entry screen, not a second desktop-style marketing panel. */
.profile-button>.avatar{width:44px;height:44px}
.screen-modal[data-screen="me"] .modal-footer>button.text-button.danger-copy{color:#111!important;opacity:1}
.notification-badge,.chat-shortcuts .friends-sidebar-button .notification-badge{background:#dc4449;color:#fff;border-color:#dc4449;font-weight:600}
.friend-conversation-row{display:flex;align-items:center;gap:8px;min-width:0;border-bottom:1px solid #202020}
.friend-conversation-row .friend-conversation-main{flex:1;min-width:0;border-bottom:0;align-items:center}
.friend-conversation-main .conversation-topline{gap:10px}
.friend-conversation-main .unread{flex-shrink:0}
.friend-live-button{display:flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:36px;padding:8px 10px;background:#111;color:#fff;border:1px solid #333;border-radius:8px;font-size:11px;line-height:1.2}
.friend-live-button .icon{width:15px;height:15px}
.friend-name-line{display:flex;align-items:center;gap:8px;min-width:0}
.friend-name-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis}
.friend-name-line .unread{flex-shrink:0}
.app-shell:not(.needs-login) .welcome-screen h2{font-size:28px;line-height:1.45;letter-spacing:0}
.app-shell:not(.needs-login) .welcome-screen>p:not(.login-note){font-size:13px;line-height:1.8}
.app-shell:not(.needs-login) .welcome-art{height:120px;margin-bottom:10px;transform:scale(.8)}
.needs-login .welcome-screen h2{font-size:28px;line-height:1.45;letter-spacing:0}
.needs-login .welcome-art{width:76px;height:76px;transform:none;margin:0 0 18px}
.needs-login .bubble-front.brand-bubble{position:static;width:76px;height:76px;transform:none;border-radius:20px}
.needs-login .welcome-art .bubble-back,.needs-login .welcome-art .sparkle,.needs-login .welcome-art .orbit-line,.needs-login .welcome-art .orbit-dot{display:none}
.needs-login .eyebrow,.needs-login .welcome-features{display:none}
.needs-login .welcome-screen>p:not(.login-note){font-size:13px;line-height:1.8;margin-top:12px}
.needs-login .login-form{margin-top:22px;gap:13px}
.needs-login .login-form input:not([type=checkbox]){min-height:48px;font-size:16px}
.needs-login .login-form .primary-button{min-height:46px;font-size:14px}
.needs-login .remember-login{font-size:13px;line-height:1.5}
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){
  .app-shell.needs-login .sidebar{display:none}
  .app-shell.needs-login .chat-panel{display:block}
  .app-shell:not(.needs-login):not(.has-conversation) .sidebar{display:flex}
  .app-shell:not(.needs-login):not(.has-conversation) .chat-panel{display:none}
  .needs-login .welcome-heading{height:54px;padding:0 18px}
  .needs-login .welcome-heading .beta-pill{display:none}
  .needs-login .welcome-screen{padding:24px 20px 28px;justify-content:flex-start}
  .needs-login .welcome-screen h2{font-size:26px;line-height:1.4;letter-spacing:0}
  .needs-login .welcome-screen>p:not(.login-note){font-size:12px;line-height:1.8;margin-top:10px}
  .needs-login .welcome-art{width:64px;height:64px;transform:none;margin:0 0 16px}
  .needs-login .bubble-front.brand-bubble{width:64px;height:64px;border-radius:17px}
  .needs-login .login-form{width:min(100%,340px);margin-top:20px;gap:13px}
  .needs-login .welcome-footer{font-size:10px;line-height:1.6}
}
