:root{color-scheme:dark;--bg:#141414;--panel:#303035;--panel2:#393940;--line:#47474F;--muted:#A7A9B1;--text:#EDF0F7;--accent:#26428B;--accent-hover:#3A5BA8;--red:#ef4444;--blue:#26428B;--radius:18px;--font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--mono:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}
.nav-icon,.post-actions,.notification-symbol,.trend-tag,.rail-more,.icon-button{color:#26428B}
.ui-icon,.nav-icon svg,.search-box svg,.compose-button svg,.mobile-header .icon-button svg{display:block;flex:none}
.nav-icon svg{width:23px;height:23px}
.search-box svg{width:19px;height:19px}
.compose-button span{display:grid;place-items:center}
.compose-button svg{width:17px;height:17px}
.mobile-header .icon-button svg{width:23px;height:23px}
.icon-button{background:#E7EAF2}
.icon-button:hover{background:#D4DCEE}
.post-action .ui-icon{width:17px;height:17px}

.empty-icon .ui-icon{width:32px;height:32px;margin:0 auto}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:15px}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}.app-shell{max-width:1440px;margin:auto;min-height:100vh;display:grid;grid-template-columns:245px minmax(430px,680px) 330px;justify-content:center;gap:0}.sidebar{height:100vh;position:sticky;top:0;padding:27px 21px 20px 27px;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{height:48px;display:flex;align-items:center;gap:10px;width:max-content;margin:0 0 29px 7px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--accent);color:#FFFFFF;border-radius:11px 11px 11px 3px;font-size:25px;font-weight:800;letter-spacing:-3px;padding:0 4px 5px 0}.brand-word{font-size:20px;letter-spacing:-1.2px;font-weight:800}.brand-dot{color:var(--accent)}.primary-nav{display:flex;flex-direction:column;gap:6px}.nav-link{display:flex;align-items:center;gap:15px;height:49px;padding:0 13px;border-radius:13px;font-weight:600;color:#D4D7E0;transition:.18s}.nav-link:hover{background:var(--panel2);color:var(--text)}.nav-link.active{background:#E7EAF2;color:var(--accent)}.nav-icon{font-size:24px;line-height:1;width:22px;text-align:center;font-weight:400}.nav-badge{background:var(--accent);width:7px;height:7px;border-radius:50%;margin-left:auto}.button{border:0;border-radius:999px;padding:13px 19px;font-weight:700;transition:.18s}.button-primary{background:var(--accent);color:#FFFFFF}.button-primary:hover{background:var(--accent-hover);transform:translateY(-1px)}.compose-button{margin:21px 4px 0;font-size:15px;display:flex;justify-content:space-between;align-items:center}.compose-button span{font-size:19px}.sidebar-bottom{margin-top:auto;position:relative}.account-chip{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border:0;background:transparent;padding:10px 8px;border-radius:13px}.account-chip:hover{background:var(--panel2)}.avatar{background:#3D4A73 center/cover no-repeat;display:inline-grid;place-items:center;flex:none;border-radius:50%;color:#EAF0FF;font-size:14px;font-weight:700;letter-spacing:.2px}.avatar-small{width:38px;height:38px}.account-label{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.account-label strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-label small{font-family:var(--mono);font-size:11px;color:var(--muted)}.more-dots{font-size:20px;letter-spacing:1px;color:var(--muted)}.account-popover{position:absolute;bottom:61px;left:0;right:0;padding:6px;background:var(--panel2);border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 30px #0008}.account-popover button{display:block;width:100%;text-align:left;padding:11px 12px;background:none;border:0;border-radius:8px}.account-popover button:hover{background:#ffffff0c}.main-column{min-width:0;border-right:1px solid var(--line);min-height:100vh}.mobile-header{display:none}.page-header{position:sticky;top:0;z-index:4;background:#141414eF;backdrop-filter:blur(14px);height:76px;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between}.page-title{font-size:20px;font-weight:750;letter-spacing:-.5px;margin:0}.page-subtitle{font-size:12px;color:var(--muted);font-family:var(--mono);margin-top:4px}.eyebrow{font:500 10px var(--mono);letter-spacing:1.4px;color:#AEB1BA}.feed-tabs{height:55px;border-bottom:1px solid var(--line);display:flex;padding:0 28px;gap:25px}.feed-tab{position:relative;border:0;background:transparent;color:var(--muted);font-weight:600;padding:0 4px}.feed-tab.active{color:var(--text)}.feed-tab.active:after{content:'';position:absolute;bottom:0;left:4px;right:4px;height:2px;background:var(--accent);border-radius:2px}.composer{padding:22px 27px 19px;border-bottom:1px solid var(--line);display:flex;gap:14px}.composer-main{flex:1;min-width:0}.composer textarea{width:100%;min-height:66px;resize:vertical;max-height:220px;background:transparent;border:0;outline:none;color:var(--text);font-size:17px;line-height:1.5;padding:6px 0}.composer textarea::placeholder{color:#AEB1BA}.composer-image{max-width:100%;max-height:320px;object-fit:cover;border-radius:14px;margin:8px 0}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.toolbar-left{display:flex;align-items:center;gap:5px}.icon-button{width:37px;height:37px;border:0;background:transparent;border-radius:50%;color:var(--accent);font-size:20px;display:inline-grid;place-items:center}.icon-button:hover{background:#26428B16}.char-count{font:11px var(--mono);color:var(--muted);margin-right:12px}.char-count.over{color:var(--red)}.small-button{padding:9px 16px;font-size:13px}.post-card{padding:20px 27px 16px;border-bottom:1px solid var(--line);transition:background .16s;position:relative}.post-card:hover{background:#ffffff04}.post-top{display:flex;gap:11px;align-items:flex-start}.post-top .avatar{width:42px;height:42px}.post-content-area{min-width:0;flex:1}.post-meta{display:flex;align-items:center;gap:6px;line-height:1.25;min-width:0}.post-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-handle,.post-time{font:11px var(--mono);color:var(--muted);white-space:nowrap}.post-time:before{content:'·';padding-right:6px}.post-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.53;margin:8px 0 10px;font-size:14px}.post-copy a{color:var(--accent)}.post-media{width:100%;max-height:420px;object-fit:cover;border:1px solid var(--line);border-radius:15px;margin-top:2px;cursor:pointer}.post-actions{display:flex;align-items:center;justify-content:space-between;max-width:470px;margin-top:12px;color:#AEB1BA}.post-action{display:flex;gap:7px;align-items:center;border:0;background:transparent;color:inherit;padding:4px 7px;border-radius:20px;font:11px var(--mono)}.post-action span:first-child{font-size:17px;line-height:1}.post-action:hover{color:var(--accent);background:#26428B12}.post-action.liked{color:var(--red)}.post-action.reposted{color:var(--accent)}.post-action.saved{color:var(--accent)}.repost-label{font:10px var(--mono);color:var(--muted);margin:0 0 10px 53px}.quoted-post{border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-top:10px}.quoted-post .post-copy{font-size:13px;margin-bottom:0}.reply-line{font:11px var(--mono);color:var(--muted);margin:10px 0 0 53px}.right-rail{padding:26px 21px;position:sticky;top:0;height:100vh;overflow:auto}.search-box{display:flex;align-items:center;gap:11px;background:var(--panel2);border:1px solid transparent;border-radius:999px;height:44px;padding:0 15px;color:var(--muted);margin-bottom:22px}.search-box:focus-within{border-color:#26428B80}.search-box>span{font-size:21px}.search-box input{width:100%;background:none;border:0;outline:0;color:var(--text);font-size:13px}.search-box input::placeholder{color:#AEB1BA}.rail-card{border:1px solid var(--line);background:var(--panel);border-radius:17px;padding:18px 17px;margin-bottom:15px}.rail-heading{display:flex;align-items:flex-start;justify-content:space-between}.rail-heading h2{font-size:18px;letter-spacing:-.5px;margin:6px 0 0}.live-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 11px #26428B80;margin:8px 3px}.trends-list{margin:15px -4px 0}.trend-item{width:100%;display:block;text-align:left;background:none;border:0;border-radius:11px;padding:11px 5px}.trend-item:hover{background:#ffffff07}.trend-context{font:10px var(--mono);color:var(--muted)}.trend-tag{display:block;margin:5px 0 3px;font-weight:700;font-size:14px}.trend-count{font:10px var(--mono);color:#AEB1BA}.rail-more{display:flex;justify-content:space-between;margin:12px 0 0;color:var(--accent);font-size:12px;font-weight:700;padding:5px}.rail-more span{font-size:17px}.note-card{display:flex;gap:13px;align-items:flex-start;background:#303035;border-color:#474C5A}.note-card .note-icon{display:grid;place-items:center;background:#3D4A73;color:var(--accent);border-radius:11px;width:31px;height:31px;font-size:18px;flex:none}.note-card p{font-size:12px;line-height:1.5;color:#D4D7E0;margin:8px 0 1px}.footer-links{display:flex;gap:12px;flex-wrap:wrap;padding:5px 4px;font:10px var(--mono);color:#9296A2}.footer-links span{cursor:pointer}.footer-links span:hover{color:var(--muted)}.empty-state{text-align:center;padding:65px 32px}.empty-icon{font-size:32px;color:var(--accent);margin-bottom:12px}.empty-state h2{font-size:19px;margin:0 0 8px;letter-spacing:-.5px}.empty-state p{font-size:13px;line-height:1.6;color:var(--muted);max-width:310px;margin:0 auto 19px}.loading-state{padding:35px 27px;color:var(--muted);font:12px var(--mono)}.profile-cover{height:155px;background:radial-gradient(ellipse at 72% 35%,#3A5BA8 0%,#303E66 28%,#2B2E3A 57%,#141414 100%);position:relative;overflow:hidden}.profile-cover:after{content:'';position:absolute;width:280px;height:280px;border:1px solid #26428B40;border-radius:50%;right:35px;top:-150px;box-shadow:0 0 0 26px #26428B22,0 0 0 54px #26428B18}.profile-details{padding:0 27px 22px;border-bottom:1px solid var(--line)}.profile-controls{height:51px;display:flex;justify-content:flex-end;align-items:center}.profile-avatar{width:88px;height:88px;border:5px solid var(--bg);margin-top:-55px;position:relative;font-size:24px}.profile-name{font-size:22px;letter-spacing:-.7px;margin:8px 0 1px}.profile-handle{font:12px var(--mono);color:var(--muted)}.profile-bio{font-size:14px;line-height:1.5;margin:13px 0;color:#EDF0F7;white-space:pre-wrap}.profile-extras{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font:11px var(--mono);margin:10px 0}.profile-counts{display:flex;gap:20px;margin-top:15px;font-size:12px;color:var(--muted)}.profile-counts strong{color:var(--text)}.outline-button{background:transparent;border:1px solid #596071;border-radius:999px;padding:8px 15px;font-size:12px;font-weight:700}.outline-button:hover{border-color:var(--accent);color:var(--accent)}.outline-button.following{background:#26428B18;border-color:#26428B66;color:var(--accent)}.people-list{padding:0 22px}.person-row{display:flex;align-items:center;gap:12px;padding:16px 3px;border-bottom:1px solid var(--line)}.person-row .avatar{width:42px;height:42px}.person-info{flex:1;min-width:0}.person-info strong{display:block;font-size:13px}.person-info small{font:11px var(--mono);color:var(--muted)}.person-info p{font-size:12px;color:#CDD1DC;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0}.notification-item{display:flex;gap:13px;padding:20px 25px;border-bottom:1px solid var(--line)}.notification-symbol{width:25px;text-align:center;color:var(--accent);font-size:18px}.notification-item.unread{background:#26428B08}.notification-text{font-size:13px;line-height:1.5}.notification-text strong{font-weight:700}.notification-text small{display:block;color:var(--muted);font:10px var(--mono);margin-top:5px}.messages-layout{display:grid;grid-template-columns:220px minmax(0,1fr);height:calc(100vh - 76px);min-height:400px}.conversation-list{border-right:1px solid var(--line);overflow:auto}.conversation-heading{padding:17px 15px;font-weight:700;border-bottom:1px solid var(--line)}.conversation-item{display:flex;gap:9px;align-items:center;padding:12px 10px;border-bottom:1px solid #ffffff08;cursor:pointer}.conversation-item:hover,.conversation-item.active{background:#ffffff08}.conversation-item .avatar{width:36px;height:36px}.conversation-item div{min-width:0}.conversation-item strong{font-size:12px;display:block}.conversation-item small{font-size:10px;color:var(--muted);display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:135px;margin-top:3px}.chat-pane{display:flex;flex-direction:column;min-width:0}.chat-head{padding:13px 16px;border-bottom:1px solid var(--line);font-size:13px;font-weight:700}.chat-messages{padding:15px;flex:1;overflow:auto;display:flex;flex-direction:column;gap:9px}.bubble{align-self:flex-start;background:#3A3A41;padding:10px 13px;border-radius:14px 14px 14px 3px;font-size:13px;line-height:1.5;max-width:82%;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:#26428B;color:#FFFFFF;border-radius:14px 14px 3px 14px}.chat-compose{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}.chat-compose input{min-width:0;flex:1;border:1px solid var(--line);border-radius:999px;background:var(--panel2);padding:10px 14px;color:var(--text);outline:none}.chat-compose input:focus{border-color:#26428B80}.modal-backdrop{position:fixed;inset:0;background:#000a;z-index:20;display:grid;place-items:center;padding:20px;backdrop-filter:blur(5px)}.modal{width:min(480px,100%);max-height:90vh;overflow:auto;background:#303035;border:1px solid #47474F;border-radius:20px;box-shadow:0 24px 90px #000b;padding:26px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h2{font-size:19px;margin:0}.modal-close{border:0;background:transparent;color:var(--muted);font-size:23px}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-visual{background:radial-gradient(ellipse at 58% 44%,#3A5BA8 0%,#303E66 34%,#141414 70%);display:flex;flex-direction:column;justify-content:space-between;padding:42px 54px;position:relative;overflow:hidden}.auth-visual:after{content:'';position:absolute;width:650px;height:650px;left:23%;top:12%;border:1px solid #26428B38;border-radius:50%;box-shadow:0 0 0 55px #26428B20,0 0 0 110px #26428B17,0 0 0 165px #26428B12}.auth-visual>*{position:relative;z-index:1}.auth-visual .brand{margin:0}.auth-tagline{max-width:420px;margin:auto 0 80px}.auth-tagline h1{font-size:54px;letter-spacing:-3px;line-height:1.02;margin:12px 0 18px}.auth-tagline p{font-size:16px;color:#D4D7E0;line-height:1.6;max-width:350px}.auth-caption{font:10px var(--mono);letter-spacing:1px;color:#AEB1BA}.auth-form-side{display:grid;place-items:center;padding:35px}.auth-form{width:min(390px,100%)}.auth-form h2{font-size:29px;letter-spacing:-1.2px;margin:0 0 8px}.auth-form>p{color:var(--muted);font-size:13px;margin:0 0 24px}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 14px}.field label{font-size:11px;color:#D4D7E0;font-weight:600}.field input,.field textarea{border:1px solid #47474F;border-radius:10px;background:#303035;color:var(--text);padding:12px 13px;outline:none}.field input:focus,.field textarea:focus{border-color:#26428B88}.field textarea{min-height:95px;resize:vertical}.auth-submit{width:100%;margin-top:6px}.auth-switch{text-align:center;color:var(--muted);font-size:12px;margin-top:20px}.text-button{border:0;background:none;color:var(--accent);padding:3px;font-weight:700}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#393940;color:var(--text);border:1px solid #50515C;border-radius:999px;padding:11px 17px;font-size:12px;z-index:40;transition:.2s;box-shadow:0 10px 35px #0007}.toast.show{opacity:1;transform:translate(-50%,0)}.search-results{padding:15px 27px}.search-section-title{font:10px var(--mono);letter-spacing:1px;color:var(--muted);margin:15px 0 5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.app-shell{grid-template-columns:218px minmax(400px,650px)}.right-rail{display:none}.main-column{border-right:0}.sidebar{padding-left:18px;padding-right:15px}}
@media(max-width:700px){.app-shell{display:block}.sidebar{position:fixed;z-index:10;top:auto;bottom:0;left:0;right:0;width:100%;height:62px;padding:4px 8px calc(4px + env(safe-area-inset-bottom));background:#141414f5;backdrop-filter:blur(16px);border-right:0;border-top:1px solid var(--line)}.sidebar>.brand,.sidebar>.compose-button,.sidebar-bottom{display:none}.primary-nav{height:100%;flex-direction:row;justify-content:space-around;gap:0}.nav-link{width:50px;height:50px;justify-content:center;padding:0;gap:0;border-radius:14px}.nav-link>span:not(.nav-icon){display:none}.nav-icon{font-size:25px}.nav-badge{position:absolute;top:7px;margin-left:24px}.main-column{border:0;padding-bottom:72px;min-height:100vh}.mobile-header{position:sticky;top:0;z-index:5;height:56px;padding:0 17px;background:#141414ee;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.mobile-header .brand{margin:0}.mobile-header .brand-mark{width:29px;height:29px;font-size:22px}.mobile-header .brand-word{font-size:17px}.mobile-header .icon-button{font-size:25px}.page-header{height:66px;padding:0 19px}.page-title{font-size:18px}.composer{padding:17px 16px 14px;gap:10px}.composer .avatar{width:37px;height:37px}.composer textarea{font-size:15px;min-height:57px}.post-card{padding:17px 16px 14px}.post-top .avatar{width:38px;height:38px}.post-copy{font-size:13px}.post-actions{max-width:none}.profile-cover{height:125px}.profile-details{padding:0 18px 18px}.profile-avatar{width:75px;height:75px;margin-top:-47px}.feed-tabs{padding:0 18px}.messages-layout{height:calc(100vh - 122px);grid-template-columns:125px minmax(0,1fr)}.conversation-heading{padding:13px 9px;font-size:12px}.conversation-item{padding:10px 7px;gap:6px}.conversation-item .avatar{width:30px;height:30px}.conversation-item strong{font-size:10px}.conversation-item small{font-size:9px;max-width:79px}.chat-head{padding:13px 10px}.chat-messages{padding:10px}.bubble{font-size:12px}.auth-screen{display:block}.auth-visual{min-height:34vh;padding:22px 25px}.auth-visual:after{width:420px;height:420px;left:20%;top:8%}.auth-tagline{margin:auto 0 12px}.auth-tagline h1{font-size:37px;margin:8px 0}.auth-tagline p{font-size:13px;margin:0;max-width:300px}.auth-caption{display:none}.auth-form-side{padding:29px 25px}.auth-form h2{font-size:25px}.modal-backdrop{padding:12px}.modal{padding:20px}.footer-links{padding-bottom:10px}}

/* Fine, consistent line icons for navigation and actions. */
.nav-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:#E7EAF2;color:#26428B}
.nav-icon svg{width:21px;height:21px}
.icon-button{display:inline-grid;place-items:center;background:#E7EAF2;color:#26428B}
.icon-button:hover{background:#D4DCEE}
.post-actions{color:#26428B}
.post-action{background:#E7EAF2;color:#26428B}
.post-action:hover{background:#D4DCEE;color:#26428B}
.post-action .ui-icon{display:block;width:16px;height:16px}

.search-box>span{display:grid;place-items:center}
.search-box svg{width:19px;height:19px}
.compose-button span{display:grid;place-items:center}
.compose-button svg{display:block;width:17px;height:17px}
.mobile-header .icon-button svg{display:block;width:23px;height:23px}
.empty-icon .ui-icon{display:block;width:36px;height:36px;margin:0 auto;color:#26428B}
.ui-icon{width:18px;height:18px}
.text-button .ui-icon{width:17px;height:17px;vertical-align:middle}
.modal-close .ui-icon{width:20px;height:20px}
.more-dots svg{display:block;width:19px;height:19px}

/* White, slightly larger icons without the pale icon tiles. */
.nav-icon,.post-actions,.notification-symbol,.trend-tag,.rail-more,.icon-button{color:#FFFFFF}
.nav-icon{width:34px;height:34px;background:transparent}
.nav-icon svg{width:25px;height:25px;stroke-width:1.8}
.nav-link.active{background:#26428B;color:#FFFFFF}
.icon-button{background:transparent;color:#FFFFFF}
.icon-button:hover{background:#FFFFFF14}
.post-actions{color:#FFFFFF}
.post-action,.post-action.liked,.post-action.reposted{background:transparent;color:#FFFFFF}
.post-action:hover{background:#FFFFFF14;color:#FFFFFF}
.post-action .ui-icon{width:19px;height:19px;stroke-width:1.8}
.ui-icon{stroke-width:1.8}
.search-box svg{width:21px;height:21px;stroke-width:1.8}
.compose-button svg{width:19px;height:19px;stroke-width:1.8}
.mobile-header .icon-button svg{width:25px;height:25px;stroke-width:1.8}

/* Square profile pictures and roomier profile headers. */
.avatar{width:42px;height:42px;border-radius:13px}
.avatar-small{width:40px;height:40px;border-radius:11px}
.post-top .avatar,.person-row .avatar{width:46px;height:46px}
.conversation-item .avatar{width:40px;height:40px}
.profile-cover{height:230px}
.profile-details{padding:0 27px 24px}
.profile-controls{height:145px;margin-top:-70px;display:flex;justify-content:space-between;align-items:flex-end;position:relative}
.profile-avatar{width:136px;height:136px;margin:0;border:5px solid var(--bg);border-radius:20px;font-size:36px}
.profile-picture-editor{display:flex;align-items:center;gap:16px}
.profile-picture-preview{width:84px;height:84px;flex:none;border-radius:16px}
.profile-picture-picker{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.profile-picture-picker .button{cursor:pointer}
.field-hint{color:var(--muted);font-size:11px;line-height:1.4}

@media(max-width:700px){
  .profile-cover{height:180px}
  .profile-details{padding:0 18px 20px}
  .profile-controls{height:120px;margin-top:-56px}
  .profile-avatar{width:110px;height:110px;border-radius:17px;font-size:30px}
  .post-top .avatar{width:42px;height:42px}
  .person-row .avatar{width:42px;height:42px}
  .conversation-item .avatar{width:34px;height:34px}
  .profile-picture-preview{width:72px;height:72px}
  .profile-picture-editor{gap:12px}
}

/* Echo loop interaction and profile banner uploads. */
.post-repost-button .repost-icon-wrap{position:relative;display:inline-grid;width:23px;height:23px;place-items:center;flex:none;overflow:visible}
.post-repost-button .repost-loop-icon{width:19px;height:19px;stroke-width:1.8;transform-origin:center}
.post-repost-button.echoing .repost-loop-icon{animation:loop-bounce .7s cubic-bezier(.2,.75,.3,1)}
.post-repost-button .repost-icon-wrap:before,.post-repost-button .repost-icon-wrap:after{content:"";position:absolute;inset:2px;border:1.5px solid currentColor;border-radius:50%;opacity:0;pointer-events:none}
.post-repost-button.echoing .repost-icon-wrap:before{animation:echo-wave .7s ease-out}
.post-repost-button.echoing .repost-icon-wrap:after{animation:echo-wave .7s ease-out .14s}
@keyframes loop-bounce{0%{transform:translateY(0) rotate(0) scale(1)}35%{transform:translateY(-4px) rotate(145deg) scale(1.12)}65%{transform:translateY(1px) rotate(285deg) scale(.96)}100%{transform:translateY(0) rotate(360deg) scale(1)}}
@keyframes echo-wave{0%{transform:scale(.8);opacity:.7}100%{transform:scale(2.2);opacity:0}}
.profile-cover{background-size:cover;background-position:center}
.profile-banner-preview{display:block;width:100%;height:128px;margin:0 0 10px;border:1px solid var(--line);border-radius:13px;background:radial-gradient(ellipse at 72% 35%,#3A5BA8 0%,#303E66 34%,#141414 100%);object-fit:cover}
.profile-banner-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile-cover[style]::after{opacity:.3}
@media(prefers-reduced-motion:reduce){.post-repost-button.echoing .repost-loop-icon,.post-repost-button.echoing .repost-icon-wrap:before,.post-repost-button.echoing .repost-icon-wrap:after{animation-duration:.01ms;animation-iteration-count:1}}
.toolbar-left{position:relative}
.emoji-picker{position:absolute;left:0;bottom:calc(100% + 8px);z-index:18;display:grid;grid-template-columns:repeat(6,32px);gap:2px;width:max-content;max-width:calc(100vw - 24px);padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 32px #0009}
.emoji-choice{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;font-size:20px;line-height:1}
.emoji-choice:hover,.emoji-choice:focus-visible{background:#FFFFFF18;outline:none}
.profile-controls .profile-follow-button{background:var(--accent);border-color:var(--accent);color:#FFFFFF}
.profile-controls .profile-follow-button:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#FFFFFF}
.profile-controls .profile-follow-button.following{background:#26428B20;border-color:#26428B80;color:var(--accent)}
.profile-controls .profile-follow-button.following:hover{background:#26428B30;color:#FFFFFF}
.post-action.reposted{color:#FFFFFF;background:transparent}
.post-repost-button .repost-loop-icon{width:18px;height:18px;stroke-width:1.8}
.post-repost-button .repost-count{font:13px var(--font);font-variant-numeric:tabular-nums;color:#FFFFFF}
.post-repost-button.reposted .repost-icon-wrap{color:#39FF14}
.post-action.liked{color:#EF4444}
@media(max-width:380px){.emoji-picker{grid-template-columns:repeat(6,29px);padding:6px}.emoji-choice{width:29px;height:29px}}

/* Give feed posts a full blue hover frame. */
.post-card{isolation:isolate;transition:background .24s ease,transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.post-card:hover,.post-card:focus-within{background:#26428B0B;box-shadow:0 0 0 1px #26428B38,0 8px 22px #0005;transform:translateY(-1px)}
.post-card .post-media{transition:box-shadow .24s ease,filter .24s ease}
.post-card:hover .post-media,.post-card:focus-within .post-media{box-shadow:0 9px 26px #0007;filter:saturate(1.04)}
.post-actions{color:#A6AAB4}
.post-actions .post-action{color:#A6AAB4;transition:color .18s ease,background .18s ease,transform .18s ease}
.post-actions .post-action:hover{color:#D7D9E0;background:#FFFFFF0C;transform:translateY(-1px)}
.post-actions .post-action .ui-icon{stroke-width:1.65}
.post-actions .post-action.liked{color:#EF4444}
.post-actions .post-action.reposted{color:#FFFFFF}
.post-actions .post-repost-button.reposted .repost-icon-wrap{color:#39FF14}
.post-actions .post-repost-button.reposted .repost-count{color:#FFFFFF}
.post-action.fire-ignited>span:first-child{position:relative;isolation:isolate}
.post-action.fire-ignited>span:first-child::before{content:"";position:absolute;z-index:-1;inset:-7px;border-radius:50%;background:radial-gradient(ellipse at 50% 65%,#FFE66D9C 0%,#FF8A2791 35%,#F43F2570 58%,transparent 76%);filter:blur(2px);animation:fire-aura 2.75s ease-out both;pointer-events:none}
.post-action.fire-ignited .ui-icon{position:relative;z-index:1;color:#FFE27A;transform-origin:50% 82%;animation:fire-flicker 2.75s ease-out both}
@keyframes fire-flicker{0%{transform:scale(.78) rotate(-8deg);filter:drop-shadow(0 0 0 transparent)}12%{transform:scale(1.34) rotate(7deg);filter:drop-shadow(0 0 5px #FFE66D) drop-shadow(0 0 13px #FF5A1F)}24%{transform:scale(1.13) rotate(-6deg);filter:drop-shadow(0 0 8px #FFB627) drop-shadow(0 0 17px #FF3B1F)}42%{transform:scale(1.25) rotate(5deg);filter:drop-shadow(0 0 6px #FFE66D) drop-shadow(0 0 15px #FF5A1F)}64%{transform:scale(1.08) rotate(-3deg);filter:drop-shadow(0 0 5px #FFB627) drop-shadow(0 0 11px #FF3B1F)}82%{transform:scale(1.14);filter:drop-shadow(0 0 3px #FFB627) drop-shadow(0 0 7px #FF3B1F)}100%{transform:scale(1);filter:drop-shadow(0 0 0 transparent)}}
@keyframes fire-aura{0%{opacity:0;transform:scale(.35)}14%{opacity:1;transform:scale(1.1)}45%{opacity:.9;transform:scale(1.25)}78%{opacity:.6;transform:scale(1.35)}100%{opacity:0;transform:scale(1.5)}}
@media(prefers-reduced-motion:reduce){.post-card,.post-card::before,.post-card .post-media,.post-actions .post-action,.post-action.fire-ignited .ui-icon,.post-action.fire-ignited>span:first-child::before{transition:none;animation:none}.post-card:hover,.post-card:focus-within,.post-actions .post-action:hover{transform:none}}

/* Persisted post text animations and a searchable GIF picker. */
.composer-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px}
.toolbar-left{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap}
.composer-submit-tools{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end}
.effect-preview{margin:3px 0 9px;padding:8px 11px;border:1px solid #FFFFFF12;border-left:2px solid #26428B;border-radius:8px;background:#FFFFFF05;overflow:hidden}
.effect-preview-label{display:block;margin-bottom:4px;color:#A7A9B1;font:9px var(--mono);letter-spacing:1px}
.effect-preview .post-copy{margin:0}
.effect-select{max-width:155px;height:34px;padding:0 26px 0 10px;border:1px solid #47474F;border-radius:9px;background:#25252A;color:#D4D7E0;font-size:11px;outline:none}
.effect-select:focus{border-color:#26428B}
.gif-toggle{font-size:10px;font-weight:800;letter-spacing:.3px}
.gif-picker{position:fixed;left:50%;top:50%;bottom:auto;z-index:31;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;transform:translate(-50%,-50%);padding:12px;background:#303035;border:1px solid #555965;border-radius:15px;box-shadow:0 18px 42px #000B;text-align:left}
.modal.gif-picker-open{overflow:visible}
.gif-picker:not(.hidden){animation:gif-picker-pop .16s ease-out both}
@keyframes gif-picker-pop{from{opacity:0;transform:translate(-50%,-50%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.gif-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.gif-picker-heading strong{font-size:13px}
.gif-picker-heading span,.gif-help{font-size:10px;color:#A7A9B1}
.gif-search-row,.gif-link-row{display:flex;gap:6px}
.gif-search-row input,.gif-link-row input{min-width:0;flex:1;height:35px;padding:0 10px;border:1px solid #50515C;border-radius:9px;background:#25252A;color:#EDF0F7;font-size:11px;outline:none}
.gif-search-row input:focus,.gif-link-row input:focus{border-color:#26428B}
.gif-search-row button,.gif-link-row button{border:0;border-radius:9px;background:#26428B;color:#FFF;padding:0 11px;font-size:11px;font-weight:700;white-space:nowrap}
.gif-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:min(205px,35vh);overflow:auto;margin:9px 0}
.gif-result{position:relative;overflow:hidden;aspect-ratio:4/3;padding:0;border:1px solid #FFFFFF18;border-radius:8px;background:#222226}
.gif-result img{display:block;width:100%;height:100%;object-fit:cover}
.gif-result span{position:absolute;inset:auto 0 0;padding:12px 4px 4px;background:linear-gradient(transparent,#000C);color:#FFF;font-size:9px;text-align:center;opacity:0;transition:opacity .15s}
.gif-result:hover span,.gif-result:focus-visible span{opacity:1}
.gif-help{margin:8px 1px 0;line-height:1.45}
.post-card{margin:7px 9px;border:1px solid #FFFFFF1A;border-radius:15px}
.post-card:hover,.post-card:focus-within{border-color:#26428B;background:#26428B0B;box-shadow:0 0 0 1px #26428B38,0 8px 22px #0005;transform:translateY(-1px)}
.post-copy.text-effect-slam{transform-origin:left center;animation:post-slam 3.8s cubic-bezier(.2,.8,.2,1) infinite}
.post-copy.text-effect-wave .wave-char{display:inline-block;animation:post-wave-char 1.35s ease-in-out infinite;animation-delay:calc(var(--wave-step)*22ms)}
.post-copy.text-effect-bounce{transform-origin:center bottom;animation:post-bounce 1.8s ease-in-out infinite}
.post-copy.text-effect-glow{animation:post-glow 2.6s ease-in-out infinite}
.post-copy.text-effect-typewriter{animation:post-typewriter 2.4s steps(28,end) both}
@keyframes post-slam{0%,86%,100%{transform:translateY(0) scale(1)}89%{transform:translateY(-4px) scale(1.055)}92%{transform:translateY(1px) scale(.985)}95%{transform:translateY(0) scale(1.01)}}
@keyframes post-wave-char{0%,100%{transform:translateY(0)}48%{transform:translateY(-4px)}}
@keyframes post-bounce{0%,100%{transform:translateY(0)}35%{transform:translateY(-4px)}58%{transform:translateY(1px)}75%{transform:translateY(-2px)}}
@keyframes post-glow{0%,100%{text-shadow:0 0 0 #26428B00}50%{text-shadow:0 0 9px #7292FF,0 0 18px #26428B}}
@keyframes post-typewriter{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@media(max-width:700px){.post-card{margin:6px 5px}.effect-select{max-width:145px}}
@media(max-width:380px){.composer-toolbar{grid-template-columns:minmax(0,1fr) 130px}.effect-select{max-width:130px;font-size:10px;padding-left:7px}.gif-results{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep every uploaded profile picture cropped edge-to-edge inside its square avatar. */
.avatar{position:relative;overflow:hidden;isolation:isolate}
.avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:100%;min-height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;border-radius:inherit}

.gif-more{display:block;width:100%;padding:8px 10px;border:1px solid #FFFFFF1A;border-radius:9px;background:#FFFFFF08;color:#EDF0F7;font-size:10px;font-weight:700}
.gif-more:hover{border-color:#26428B;background:#26428B20}
.gif-provider-link{display:inline-block;margin:8px 1px 0;color:#A7A9B1;font-size:10px;text-decoration:underline;text-underline-offset:2px}
.gif-provider-link:hover{color:#FFFFFF}

/* Poll creation and voting. */
.compose-button{justify-content:center}
.mobile-compose-button{padding:8px 13px;font-size:12px}
.poll-toggle .ui-icon{width:19px;height:19px;stroke-width:1.9}
.poll-toggle[aria-pressed="true"]{background:#26428B25;color:#8CA8FF}
.poll-builder{grid-column:1/-1;margin-top:10px;padding:13px;border:1px solid #FFFFFF1B;border-radius:13px;background:#FFFFFF05;animation:poll-open .16s ease-out both}
@keyframes poll-open{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
.poll-builder-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px}
.poll-builder-heading strong{font-size:12px}
.poll-builder-heading span{font-size:10px;color:#A7A9B1;text-align:right}
.poll-option-inputs{display:grid;gap:7px}
.poll-input-row{display:flex;align-items:center;gap:7px}
.poll-input-row input{min-width:0;flex:1;height:37px;padding:0 11px;border:1px solid #50515C;border-radius:9px;background:#222226;color:#EDF0F7;font-size:12px;outline:none}
.poll-input-row input:focus{border-color:#26428B}
.poll-input-row input::placeholder{color:#898C95}
.poll-input-row>button{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#A7A9B1;font-size:20px;line-height:1}
.poll-input-row>button:hover:not(:disabled){background:#FFFFFF12;color:#FFFFFF}
.poll-input-row>button:disabled{opacity:.28;cursor:default}
.poll-add-option{margin-top:9px;padding:6px 8px;border:0;border-radius:7px;background:transparent;color:#8CA8FF;font-size:11px;font-weight:700}
.poll-add-option:hover{background:#26428B18}
.poll-add-option:disabled{opacity:.5;cursor:default}
.post-poll{max-width:500px;margin:12px 0 5px;padding:11px;border:1px solid #FFFFFF1A;border-radius:13px;background:#FFFFFF04}
.poll-result+.poll-result{margin-top:7px}
.poll-choice{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 11px;border:1px solid #596071;border-radius:9px;background:#FFFFFF04;color:#EDF0F7;text-align:left;font-size:12px;overflow:hidden;transition:border-color .16s,background .16s}
.poll-choice:hover{border-color:#7895EA;background:#26428B17}
.poll-choice:disabled{cursor:default;opacity:1}
.poll-choice:disabled:hover{border-color:#596071;background:#FFFFFF04}
.poll-result.selected .poll-choice:disabled,.poll-result.selected .poll-choice:disabled:hover{border-color:#26428B;background:#26428B12}
.poll-choice>span,.poll-choice>strong{position:relative;z-index:1}
.poll-choice>strong{font:11px var(--mono);color:#FFFFFF}
.poll-result.selected .poll-choice{border-color:#26428B;color:#FFFFFF}
.poll-meter{height:3px;margin:4px 3px 0;overflow:hidden;border-radius:9px;background:#FFFFFF13}
.poll-meter span{display:block;height:100%;border-radius:inherit;background:#26428B;transition:width .35s ease}
.poll-footer{margin:9px 2px 0;color:#A7A9B1;font:10px var(--mono);line-height:1.5}
@media(max-width:500px){.poll-builder-heading{align-items:flex-start;flex-direction:column;gap:3px}.poll-builder-heading span{text-align:left}.post-poll{padding:9px}}

/* Modern connected-nodes share action. */
.post-actions .share-action{width:34px;height:34px;justify-content:center;padding:0;border:1px solid transparent;border-radius:11px;transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease}
.post-actions .share-action .share-icon{width:19px;height:19px;transition:transform .2s cubic-bezier(.2,.8,.2,1),filter .2s ease}
.post-actions .share-action:hover{color:#AFC2FF;background:#26428B24;border-color:#26428B66;transform:translateY(-2px)}
.post-actions .share-action:hover .share-icon{transform:scale(1.09) rotate(-6deg);filter:drop-shadow(0 2px 5px #26428B99)}
@media(prefers-reduced-motion:reduce){.post-actions .share-action,.post-actions .share-action .share-icon{transition:none}}

/* Give icon controls one consistent hover surface and a light, distinct motion. */
.icon-button{border:1px solid transparent;border-radius:11px;transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease}
.icon-button:hover,.icon-button:focus-visible{color:#AFC2FF;background:#26428B24;border-color:#26428B66}
.post-actions .post-action{border:1px solid transparent;border-radius:11px}
.post-actions .post-action:hover{background:#26428B24;border-color:#26428B66;transform:translateY(-2px)}
.nav-link:hover{background:#26428B24}
.account-chip:hover{background:#26428B24}
@keyframes icon-hover-pop{0%{transform:translateY(0) scale(1)}38%{transform:translateY(-2px) scale(1.16) rotate(-7deg)}70%{transform:translateY(1px) scale(.97) rotate(2deg)}100%{transform:translateY(0) scale(1)}}
@keyframes comment-hover-pop{0%,100%{transform:scale(1)}38%{transform:scale(1.15) translateY(-2px)}72%{transform:scale(.97) translateY(1px)}}
@keyframes share-hover-pop{0%,100%{transform:scale(1) rotate(0)}40%{transform:scale(1.15) rotate(-10deg)}72%{transform:scale(.98) rotate(3deg)}}
button:hover svg,a:hover svg,label:hover svg,button:focus-visible svg,a:focus-visible svg,label:focus-within svg{animation:icon-hover-pop .34s cubic-bezier(.2,.8,.2,1) both}
.post-actions .post-action[data-action="reply"]:hover .ui-icon{animation-name:comment-hover-pop}
.post-actions .share-action:hover .share-icon{animation:share-hover-pop .38s cubic-bezier(.2,.8,.2,1) both;filter:drop-shadow(0 2px 5px #26428B99)}
@media(prefers-reduced-motion:reduce){button:hover svg,a:hover svg,label:hover svg,button:focus-visible svg,a:focus-visible svg,label:focus-within svg{animation:none}.icon-button,.post-actions .post-action{transition:none}}
.chat-compose .chat-image-button{width:37px;height:37px;flex:none;padding:0;color:#AEB1BA;border:1px solid transparent}.chat-compose .chat-image-button:hover{background:#ffffff0c;color:var(--text)}.chat-compose input[name="body"]{width:100%;min-width:0;flex:1;border:1px solid var(--line);border-radius:999px;background:var(--panel2);padding:10px 14px;color:var(--text);outline:none}.chat-compose .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;flex:none!important}.message-media{display:block;width:min(360px,100%);max-height:320px;object-fit:cover;border-radius:12px;margin-top:8px}.bubble:has(.message-media){padding:8px;white-space:normal}.bubble:has(.message-media)>div{padding:2px 5px}
.profile-avatar{background:var(--bg)}
.profile-avatar img{inset:1px;width:calc(100% - 2px);height:calc(100% - 2px);min-width:0;min-height:0;border-radius:19px}
@media(max-width:700px){.profile-avatar img{border-radius:16px}}

/* Password recovery feedback and sign-in shortcut. */
.auth-note{font-size:13px;line-height:1.5;margin:0 0 14px;padding:10px 12px;border:1px solid #ffffff16;border-radius:10px;background:#ffffff08}
.auth-note.error{color:#ff8996;border-color:#ef44444d;background:#ef444410}
.auth-note.success{color:#b9ed8d;border-color:#8acb594d;background:#8acb5910}
.auth-forgot{text-align:right;margin:-5px 0 14px}
.auth-screen{grid-template-columns:1fr}
.auth-form-side{width:100%}
