:root{--brand: #5b4bff;--brand-hover: #4a3be6;--brand-soft: #ecebff;--brand-text: #4b3cf0;--bg: #f2f3f7;--surface: #ffffff;--surface-2: #f0f1f5;--surface-hover: #e7e8ee;--text: #121826;--text-2: #5f6577;--border: #e1e3ea;--danger: #e11d48;--success: #16a34a;--shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 1px 3px rgba(16, 24, 40, .06);--shadow-lg: 0 12px 28px rgba(16, 24, 40, .18), 0 2px 4px rgba(16, 24, 40, .08);--radius: 10px;--nav-h: 56px;--chat: var(--brand);color-scheme:light}[data-theme=dark]{--brand: #7c6dff;--brand-hover: #8f82ff;--brand-soft: #2b2850;--brand-text: #a89fff;--bg: #16171c;--surface: #23242b;--surface-2: #2f3039;--surface-hover: #393a44;--text: #e8e9ee;--text-2: #a7aab8;--border: #393a44;--shadow: 0 1px 2px rgba(0, 0, 0, .4);--shadow-lg: 0 12px 28px rgba(0, 0, 0, .5);color-scheme:dark}*{box-sizing:border-box}html,body{margin:0}body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.34;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}button:disabled{cursor:not-allowed;opacity:.55}input,textarea,select{font:inherit;color:inherit}h1{font-size:24px;margin:0 0 12px}h2{font-size:20px;margin:0 0 12px}h3{font-size:17px;margin:0 0 8px}h4{margin:0}p{margin:0 0 8px}img,video{max-width:100%;display:block}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.boot{display:grid;place-items:center;height:100vh}.app-main{padding-top:var(--nav-h);min-height:100vh}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.card-inner{background:var(--surface-2);border-radius:var(--radius)}.pad{padding:16px}.muted{color:var(--text-2)}.small{font-size:13px}.tiny{font-size:12px}.strong{font-weight:600}.center{text-align:center}.grow{flex:1;min-width:0}.block{display:block}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.error{color:var(--danger);font-size:14px}.primary-text{color:var(--brand-text);font-weight:600}.danger-text{color:var(--danger)}.success-text{color:var(--success)}.mt{margin-top:10px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}.row-end{display:flex;justify-content:flex-end;gap:8px;margin:8px 0}.btn-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;align-items:center}.row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.center-pad{display:grid;place-items:center;padding:48px 16px;gap:8px;text-align:center}.center-block{display:block;margin:8px auto;text-align:center}.section{margin-bottom:24px}.section-label{font-size:15px;margin:18px 0 8px;color:var(--text)}.list{display:flex;flex-direction:column}.list.scroll{max-height:340px;overflow-y:auto}.list-row{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px}.list-row.hover:hover,label.list-row:hover{background:var(--surface-hover);cursor:pointer}.c-red{color:#f02849}.c-green{color:#45bd62}.c-yellow{color:#f7b928}.c-blue{color:var(--brand)}.c-purple{color:#a855f7}.c-orange{color:#f97316}.c-gray{color:var(--text-2)}.icon{flex-shrink:0}.input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);outline:none;transition:border-color .15s}.input:focus{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.input.lg{padding:14px 16px;font-size:17px}.input.sm{padding:6px 10px;font-size:14px;width:auto}textarea.input{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:4px}.field>span{font-size:13px;font-weight:600;color:var(--text-2)}.span2{grid-column:span 2}.field-label{font-size:12px;color:var(--text-2);margin-top:4px}.check{display:flex;align-items:center;gap:8px}.radio-row{display:flex;align-items:center;gap:12px;padding:12px 8px;border-radius:8px;cursor:pointer}.radio-row:hover{background:var(--surface-hover)}.radio-row input,.radio-box input{accent-color:var(--brand);width:18px;height:18px}.radio-box{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:6px;padding:8px 10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;border-radius:8px;font-weight:600;font-size:15px;white-space:nowrap;transition:background .15s,filter .15s}.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover:not(:disabled){background:var(--brand-hover)}.btn-primary-soft{background:var(--brand-soft);color:var(--brand-text)}.btn-primary-soft:hover{filter:brightness(.96)}.btn-ghost{background:var(--surface-2)}.btn-ghost:hover:not(:disabled){background:var(--surface-hover)}.btn-light{background:#ffffffeb;color:#111}.btn-danger{background:var(--danger);color:#fff}.btn-success{background:var(--success);color:#fff;padding:12px 18px}.btn-sm{padding:6px 10px;font-size:14px}.btn-lg{padding:12px 18px;font-size:18px}.btn-block{width:100%}.link-btn{color:var(--brand-text);font-weight:500;font-size:14px;display:inline-flex;align-items:center;gap:4px}.link-btn:hover{text-decoration:underline}.icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--text-2);transition:background .15s}.icon-btn:hover:not(:disabled),.icon-btn.on{background:var(--surface-hover)}.icon-btn.sm{width:28px;height:28px}.icon-btn.primary{color:var(--brand)}.round-btn{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface-2);color:var(--text)}.round-btn:hover{background:var(--surface-hover)}.round-btn.on{background:var(--brand-soft);color:var(--brand-text)}.round{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--surface-2);flex-shrink:0;font-weight:700}.round.primary{background:var(--brand);color:#fff}.chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;font-size:13px;font-weight:600;background:var(--surface-2);border:0}.chip.primary{background:var(--brand-soft);color:var(--brand-text)}.chip button{display:inline-flex}.badge{font-size:11px;font-weight:700;background:var(--brand-soft);color:var(--brand-text);padding:1px 6px;border-radius:4px;margin-left:6px}.badge-count{position:absolute;top:-4px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--danger);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface)}.badge-count.static{position:static;border:0}.unread-dot{width:12px;height:12px;border-radius:50%;background:var(--brand);flex-shrink:0}.toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.toggle input{display:none}.toggle-track{width:42px;height:24px;border-radius:12px;background:var(--surface-hover);position:relative;transition:background .2s}.toggle-thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:var(--shadow);transition:transform .2s}.toggle input:checked+.toggle-track{background:var(--brand)}.toggle input:checked+.toggle-track .toggle-thumb{transform:translate(18px)}.avatar{position:relative;display:inline-block;border-radius:50%;flex-shrink:0}.avatar img,.avatar-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-fallback{display:grid;place-items:center;color:#fff;font-weight:700;-webkit-user-select:none;user-select:none}.avatar-ring{box-shadow:0 0 0 3px var(--brand)}.avatar-link{display:inline-flex}.online-dot{position:absolute;right:0;bottom:0;border-radius:50%;background:#31a24c;border:2px solid var(--surface)}.user-link{font-weight:600}.user-link:hover{text-decoration:underline}.avatar-badge{position:relative;display:inline-flex;flex-shrink:0}.avatar-badge>span:last-child:not(.avatar){position:absolute;right:-4px;bottom:-2px;font-size:16px}.spinner{border:3px solid var(--surface-hover);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;margin:12px auto}@keyframes spin{to{transform:rotate(360deg)}}.load-more{min-height:40px}.empty{padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--text-2)}.empty h3{color:var(--text);margin:4px 0 0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0c148c;z-index:1000;display:grid;place-items:center;padding:16px;animation:fade .12s ease-out}@keyframes fade{0%{opacity:0}}.modal{width:100%;max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}.modal-head{display:flex;align-items:center;justify-content:center;position:relative;padding:14px 52px;border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-size:19px;text-align:center}.modal-head .icon-btn{position:absolute;right:12px;background:var(--surface-2)}.modal-body{padding:16px;overflow-y:auto}.modal-foot{padding:12px 16px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px}.menu-wrap{position:relative;display:inline-block}.menu{position:absolute;top:calc(100% + 4px);z-index:200;min-width:240px;max-width:340px;padding:8px;box-shadow:var(--shadow-lg);animation:fade .1s}.menu-right{right:0}.menu-left{left:0}.menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border-radius:6px;text-align:left;font-weight:500}.menu-item:hover{background:var(--surface-hover)}.menu-item.danger{color:var(--danger)}.menu-label{display:block;font-weight:600}.menu-hint{display:block;font-size:12px;color:var(--text-2);font-weight:400}.menu-divider{height:1px;background:var(--border);margin:8px 0}.tabs{display:flex;gap:4px;margin-bottom:8px;border-bottom:1px solid var(--border);overflow-x:auto}.tab{padding:10px 14px;font-weight:600;color:var(--text-2);border-bottom:3px solid transparent;white-space:nowrap}.tab:hover{background:var(--surface-hover);border-radius:8px 8px 0 0}.tab.active{color:var(--brand-text);border-bottom-color:var(--brand)}.tab-count{margin-left:6px}.toasts{position:fixed;bottom:20px;left:20px;z-index:2000;display:flex;flex-direction:column;gap:8px}.toast{background:var(--text);color:var(--surface);padding:12px 16px;border-radius:8px;box-shadow:var(--shadow-lg);max-width:360px;animation:slide .2s;font-weight:500}.toast-error{background:var(--danger);color:#fff}.toast-success{background:#1f2937;color:#fff;border-left:4px solid var(--success)}@keyframes slide{0%{transform:translateY(10px);opacity:0}}.navbar{position:fixed;top:0;left:0;right:0;height:var(--nav-h);z-index:100;background:var(--surface);box-shadow:var(--shadow);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 16px}.nav-left{display:flex;align-items:center;gap:8px}.logo{display:grid;place-items:center;border-radius:30%;background:linear-gradient(135deg,var(--brand),#a855f7);color:#fff;font-weight:900;letter-spacing:-1px;flex-shrink:0}.search-box{position:relative;display:flex;align-items:center;gap:8px;background:var(--surface-2);border-radius:20px;padding:0 12px;height:40px;color:var(--text-2)}.search-box input{border:0;background:none;outline:none;width:220px;color:var(--text)}.search-box.inline{margin:8px 0;height:36px}.search-box.inline input{width:100%}.search-drop{position:absolute;top:46px;left:-8px;width:320px}.nav-center{display:flex;gap:6px;height:100%}.nav-tab{position:relative;display:grid;place-items:center;width:108px;height:100%;color:var(--text-2);border-bottom:3px solid transparent}.nav-tab:hover{background:var(--surface-hover);border-radius:8px;height:calc(100% - 8px);margin-top:4px;border-bottom-color:transparent}.nav-tab.active{color:var(--brand);border-bottom-color:var(--brand);border-radius:0;height:100%;margin:0;background:none}.nav-tab .badge-count{top:6px;right:24px}.nav-right{display:flex;justify-content:flex-end;gap:8px;position:relative}.avatar-btn{background:none;padding:0}.dropdown{position:absolute;top:calc(100% + 8px);right:0;width:360px;max-height:calc(100vh - 80px);overflow-y:auto;padding:8px;box-shadow:var(--shadow-lg);z-index:150}.dropdown h2{margin:4px 8px 8px;font-size:22px}.drop-head{display:flex;align-items:center;justify-content:space-between;padding:4px 8px}.drop-head h1,.drop-head h2{margin:0}.drop-head.small{padding:8px 8px 4px}.account-card{display:flex;align-items:center;gap:10px;padding:10px;border-radius:8px;box-shadow:var(--shadow);font-size:17px}.account-card:hover{background:var(--surface-hover)}.account-panel .menu-item{padding:8px;font-weight:600}.menu-panel{width:420px}.menu-grid{display:flex;flex-direction:column}.messenger-panel .conv-row,.notif-panel .notif{margin:0}.pad.muted,p.pad{padding:12px}.conv-row{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border-radius:8px;text-align:left}.conv-row:hover{background:var(--surface-hover)}.conv-row.active{background:var(--brand-soft)}.conv-text{flex:1;min-width:0;display:flex;flex-direction:column}.conv-name{font-weight:500}.conv-preview{display:flex;font-size:13px;color:var(--text-2);min-width:0}.conv-preview>span:first-child{flex-shrink:1;min-width:0}.conv-preview>span:last-child{flex-shrink:0}.conv-row.unread .conv-name,.conv-row.unread .conv-preview{font-weight:700;color:var(--text)}.notif{position:relative;border-radius:8px}.notif:hover{background:var(--surface-hover)}.notif-main{display:flex;align-items:center;gap:12px;padding:8px;width:100%;text-align:left}.notif-text{flex:1;display:flex;flex-direction:column;gap:2px;font-size:14px}.notif.unread .notif-text>span:first-child{font-weight:500}.notif-menu{position:absolute;right:30px;top:50%;transform:translateY(-50%);display:none;gap:2px;background:var(--surface);border-radius:16px;box-shadow:var(--shadow)}.notif:hover .notif-menu{display:flex}.notif-actions{display:flex;gap:8px;padding:0 8px 8px 72px}.nb{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--brand);border:2px solid var(--surface)}.nb-comment,.nb-reply{background:#16a34a}.nb-reaction,.nb-comment_like{background:#e11d48}.nb-share{background:#f59e0b}.nb-group_join_request,.nb-group_approved,.nb-group_invite,.nb-group_post{background:#0891b2}.three-col{display:grid;grid-template-columns:300px minmax(0,680px) 300px;justify-content:space-between;gap:24px}.two-col{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px}.feed{display:flex;flex-direction:column;gap:16px;padding:16px 0 60px;min-width:0}.three-col .feed{width:100%;max-width:680px;margin:0 auto}.main-col{padding:20px 24px 60px 0;min-width:0}.page-narrow{max-width:760px;margin:0 auto;padding:20px 16px 60px;display:flex;flex-direction:column;gap:16px}.page-wide{max-width:1100px;margin:0 auto;padding:20px 16px 60px}.sidebar{position:sticky;top:var(--nav-h);height:calc(100vh - var(--nav-h));overflow-y:auto;padding:16px 8px;scrollbar-width:thin}.sidebar.card-side{background:var(--surface);box-shadow:var(--shadow);padding:16px 12px}.side-title{font-size:24px;margin:0 8px 8px}.side-item{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border-radius:8px;font-weight:500;text-align:left;min-width:0}.side-item:hover:not(.static){background:var(--surface-hover)}.side-item.active{background:var(--brand-soft)}.side-item.active .side-icon.round{background:var(--brand);color:#fff}.side-icon{display:inline-grid;place-items:center;width:36px;height:36px;flex-shrink:0}.side-divider{height:1px;background:var(--border);margin:10px 8px}.side-head{color:var(--text-2);font-size:16px;margin:8px}.side-head-row{display:flex;align-items:center;justify-content:space-between}.side-foot{padding:16px 8px}.group-thumb{width:36px;height:36px;border-radius:8px;background:var(--brand-soft) center / cover;color:var(--brand-text);font-weight:800;display:grid;place-items:center;flex-shrink:0}.group-thumb.lg{width:52px;height:52px;font-size:20px}.sidebar .btn-block{margin:10px 0}.mini-request{display:flex;gap:10px;padding:8px}.composer{padding:12px 16px 8px}.composer-top{display:flex;gap:8px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--border)}.composer-input{flex:1;text-align:left;background:var(--surface-2);border-radius:20px;padding:10px 14px;color:var(--text-2);font-size:16px}.composer-input:hover{background:var(--surface-hover)}.composer-actions{display:flex;padding-top:6px}.composer-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px;border-radius:8px;font-weight:600;color:var(--text-2)}.composer-actions button:hover{background:var(--surface-hover)}.cp-who{display:flex;gap:10px;align-items:center;margin-bottom:10px}.cp-who .chip{margin-top:2px;cursor:pointer}.cp-text textarea{width:100%;border:0;outline:none;background:none;resize:none;font-size:22px;padding:4px 0}.cp-text.with-bg{border-radius:8px;min-height:260px;display:grid;place-items:center;padding:16px}.cp-text.with-bg textarea{color:#fff;text-align:center;font-weight:700;font-size:28px}.cp-text.with-bg textarea::placeholder{color:#fffc}.bg-picker{display:flex;align-items:center;gap:6px;margin:8px 0;flex-wrap:wrap}.bg-swatch{width:32px;height:32px;border-radius:8px;border:2px solid transparent}.bg-swatch.none{background:var(--surface)!important;border-color:var(--border)}.bg-swatch.sel{border-color:var(--text);box-shadow:0 0 0 2px var(--surface) inset}.bg-picker .menu-wrap{margin-left:auto}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;max-height:220px;overflow-y:auto;width:300px}.emoji-grid button{font-size:22px;padding:4px;border-radius:6px}.emoji-grid button:hover{background:var(--surface-hover)}.cp-media{border:1px solid var(--border);border-radius:8px;padding:8px;margin:8px 0;display:flex;flex-direction:column;gap:8px}.dropzone{width:100%;min-height:180px;background:var(--surface-2);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.dropzone:hover{background:var(--surface-hover)}.dropzone.sm{min-height:80px;flex-direction:row;gap:8px}.cp-panel{border:1px solid var(--border);border-radius:8px;padding:10px;margin:8px 0}.cp-panel-head{display:flex;justify-content:space-between;margin-bottom:8px}.feelings{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;max-height:240px;overflow-y:auto}.feeling{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;text-align:left}.feeling span{font-size:22px}.feeling:hover,.feeling.sel{background:var(--surface-hover)}.cp-add{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:8px;padding:6px 12px;margin:12px 0;font-weight:600}.cp-add .icon-btn{width:36px;height:36px}.post-list{display:flex;flex-direction:column;gap:16px}.post{overflow:hidden}.post.embedded{box-shadow:none;border:1px solid var(--border)}.hidden-post{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.shared-unavailable{padding:16px;background:var(--surface-2);box-shadow:none}.post-head{display:flex;gap:10px;padding:12px 16px 0;align-items:flex-start}.post-meta{flex:1;min-width:0}.post-title{line-height:1.3}.post-title .icon{vertical-align:middle;color:var(--text-2)}.post-sub{font-size:13px;display:flex;align-items:center;gap:2px;margin-top:2px}.post-sub a:hover{text-decoration:underline}.post-text{padding:10px 16px 12px;white-space:pre-wrap;word-wrap:break-word}.post-text.big{font-size:22px}.post-bg{min-height:320px;display:grid;place-items:center;padding:40px;color:#fff;font-size:28px;font-weight:700;text-align:center;margin-top:10px;white-space:pre-wrap;word-break:break-word}.media-grid{display:grid;gap:3px;margin-top:8px}.media-grid.n1{grid-template-columns:1fr}.media-grid.n2,.media-grid.n3{grid-template-columns:1fr 1fr}.media-grid.n3 .media-cell:first-child{grid-column:span 2}.media-grid.n4{grid-template-columns:1fr 1fr}.media-grid.n5{grid-template-columns:repeat(6,1fr)}.media-grid.n5 .media-cell:nth-child(-n+2){grid-column:span 3}.media-grid.n5 .media-cell:nth-child(n+3){grid-column:span 2}.media-cell{position:relative;background:var(--surface-2);cursor:pointer;overflow:hidden}.media-cell img,.media-cell video{width:100%;height:100%;object-fit:cover;max-height:600px}.media-grid:not(.n1) .media-cell{aspect-ratio:1}.media-grid.n3 .media-cell:first-child{aspect-ratio:2 / 1}.media-grid.n1 .media-cell img{object-fit:contain;max-height:680px;margin:0 auto;width:auto}.profile-pic-post .media-cell{background:linear-gradient(var(--surface-2),var(--surface-2));padding:24px}.profile-pic-post .media-cell img{width:280px;height:280px;border-radius:50%;object-fit:cover;margin:0 auto}.more-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080;color:#fff;display:grid;place-items:center;font-size:30px;font-weight:700}.remove{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;background:var(--surface);display:grid;place-items:center;box-shadow:var(--shadow)}.shared-wrap{padding:0 16px 8px}.post-stats{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;font-size:14px}.reaction-summary{display:flex;align-items:center}.reaction-summary:hover .muted{text-decoration:underline}.reaction-bubble{font-size:15px;margin-right:-4px;background:var(--surface);border-radius:50%;width:22px;height:22px;display:grid;place-items:center;box-shadow:0 0 0 2px var(--surface)}.reaction-bubble+.muted,.reaction-summary .muted{margin-left:10px}.stat-links{display:flex;gap:12px}.stat-links button:hover{text-decoration:underline}.post-actions{display:flex;margin:0 16px;border-top:1px solid var(--border);padding:4px 0}.post-actions>*{flex:1}.action{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;border-radius:6px;color:var(--text-2);font-weight:600}.action:hover{background:var(--surface-hover)}.react-emoji{font-size:18px}.reaction-wrap{position:relative}.reaction-picker{position:absolute;bottom:calc(100% + 6px);left:0;display:flex;gap:2px;padding:6px;border-radius:30px;box-shadow:var(--shadow-lg);z-index:20;animation:pop .15s ease-out}.reaction-picker button{font-size:32px;width:44px;height:44px;display:grid;place-items:center;transition:transform .12s}.reaction-picker button:hover{transform:scale(1.3) translateY(-6px)}@keyframes pop{0%{transform:scale(.8) translateY(8px);opacity:0}}.photo-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;background:#000000f0;display:grid;place-items:center;outline:none}.pv-stage{max-width:92vw;max-height:86vh}.pv-stage img,.pv-stage video{max-height:86vh;max-width:92vw;object-fit:contain}.pv-close{position:absolute;top:14px;left:14px;background:#ffffff26;color:#fff;z-index:2}.pv-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;background:#ffffff26;color:#fff}.pv-nav.left{left:16px}.pv-nav.right{right:16px}.pv-close:hover,.pv-nav:hover{background:#ffffff4d!important}.pv-caption{position:absolute;bottom:0;left:0;right:0;padding:16px 24px;color:#fff;background:linear-gradient(transparent,#000000b3)}.comments{border-top:1px solid var(--border);margin:0 16px;padding:4px 0 12px}.comment-sort{padding:6px 0}.comment{display:flex;gap:6px;padding:4px 0}.comment.reply{margin-top:4px}.comment-main{flex:1;min-width:0}.comment-bubble-row{display:flex;align-items:center;gap:4px}.comment-bubble-row .menu-wrap{opacity:0}.comment-bubble-row:hover .menu-wrap{opacity:1}.comment-bubble{position:relative;background:var(--surface-2);padding:8px 12px;border-radius:18px;display:inline-block;max-width:100%;word-wrap:break-word;white-space:pre-wrap}.comment-bubble .user-link{font-size:13px}.comment-likes{position:absolute;right:-10px;bottom:-10px;background:var(--surface);border-radius:10px;padding:1px 5px;font-size:12px;box-shadow:var(--shadow);white-space:nowrap}.comment-img{max-width:240px;border-radius:12px;margin-top:4px}.comment-actions{display:flex;gap:12px;font-size:12px;padding:4px 12px;font-weight:700;color:var(--text-2)}.comment-actions button:hover{text-decoration:underline}.comment-actions .muted{font-weight:400}.view-replies{font-size:14px;color:var(--text-2);margin:2px 12px;font-weight:600}.comment-edit{display:flex;flex-direction:column;gap:2px}.comment-input{display:flex;gap:6px;padding:6px 0;align-items:flex-start}.ci-box{flex:1;background:var(--surface-2);border-radius:18px;padding:6px 8px 6px 12px;position:relative}.ci-box textarea{width:100%;border:0;outline:none;background:none;resize:none;padding:4px 0;max-height:140px;display:block}.ci-tools{display:flex;justify-content:flex-end;gap:2px}.ci-preview{position:relative;display:inline-block;margin:4px 0}.ci-preview img{max-height:100px;border-radius:8px}.share-text{width:100%;border:0;outline:none;background:none;resize:none;font-size:17px;padding:8px 0}.share-convs{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}.share-conv{display:flex;flex-direction:column;align-items:center;gap:4px;width:84px;flex-shrink:0;font-size:13px}.share-conv .ellipsis{width:100%;text-align:center}.share-targets{display:flex;gap:12px;overflow-x:auto}.share-target{display:flex;flex-direction:column;align-items:center;gap:6px;width:84px;flex-shrink:0;font-size:13px;text-align:center}.share-target .round{width:52px;height:52px}.stories-wrap{position:relative}.stories{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}.stories::-webkit-scrollbar{display:none}.story-card{position:relative;flex:0 0 140px;height:250px;border-radius:12px;overflow:hidden;background:var(--surface-2) center / cover;box-shadow:var(--shadow);color:#fff;text-align:left}.story-card:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(rgba(0,0,0,.25),transparent 30%,transparent 65%,rgba(0,0,0,.55));transition:background .2s}.story-card:hover:after{background:#00000026}.story-card.create{background:var(--surface);color:var(--text);display:flex;flex-direction:column}.story-card.create:after{display:none}.story-create-img{height:190px;overflow:hidden;display:grid;place-items:center;background:var(--surface-2)}.story-create-img .avatar{width:100%!important;height:100%!important;border-radius:0}.story-create-img .avatar img,.story-create-img .avatar-fallback{border-radius:0;font-size:48px}.story-create-foot{position:relative;flex:1;display:grid;place-items:end center;padding-bottom:10px;font-weight:600;font-size:13px}.plus-badge{position:absolute;top:-18px;left:50%;transform:translate(-50%);width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;border:4px solid var(--surface)}.story-bgimg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.story-text-preview{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:12px;font-weight:700;text-align:center;font-size:14px}.story-avatar{position:absolute;top:10px;left:10px;z-index:2;border-radius:50%;box-shadow:0 0 0 3px var(--brand)}.story-avatar.seen{box-shadow:0 0 0 3px #fff9}.story-name{position:absolute;bottom:10px;left:10px;right:10px;z-index:2;font-weight:600;font-size:13px}.stories-next{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:var(--surface);box-shadow:var(--shadow-lg);width:44px;height:44px;color:var(--text)}.story-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;background:#111;display:grid;place-items:center;outline:none}.sv-stage{position:relative;height:min(92vh,820px);aspect-ratio:9 / 16;border-radius:12px;overflow:hidden;background:#000;-webkit-user-select:none;user-select:none}.sv-bars{position:absolute;top:10px;left:10px;right:10px;display:flex;gap:4px;z-index:3}.sv-bar{flex:1;height:3px;background:#ffffff59;border-radius:2px;overflow:hidden}.sv-bar>div{height:100%;background:#fff}.sv-head{position:absolute;top:22px;left:12px;right:12px;z-index:3;display:flex;align-items:center;gap:8px;color:#fff}.sv-head span{opacity:.8;font-size:13px}.sv-head .icon-btn{margin-left:auto;color:#fff}.sv-content{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.sv-content img,.sv-content video{width:100%;height:100%;object-fit:contain}.sv-text{color:#fff;font-size:26px;font-weight:700;text-align:center;padding:24px;white-space:pre-wrap;word-break:break-word}.sv-text.overlay{position:absolute;bottom:12%;left:0;right:0;text-shadow:0 2px 8px rgba(0,0,0,.6);font-size:22px}.sv-tap{position:absolute;top:70px;bottom:60px;width:35%;z-index:2}.sv-tap.left{left:0}.sv-tap.right{right:0}.sv-viewers{position:absolute;bottom:14px;left:14px;z-index:3;color:#fff;display:flex;align-items:center;gap:6px;font-weight:600;background:#0006;padding:6px 12px;border-radius:16px}.story-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.story-mode{height:260px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;font-weight:700}.story-mode.photo{background:linear-gradient(135deg,#5b4bff,#22d3ee)}.story-mode.text{background:linear-gradient(135deg,#db2777,#f59e0b)}.story-mode .round{width:48px;height:48px;background:#fff;color:#111}.story-editor{display:grid;grid-template-columns:200px 1fr;gap:16px}.story-preview{position:relative;aspect-ratio:9 / 16;border-radius:10px;overflow:hidden;background:#000;display:grid;place-items:center}.story-preview img,.story-preview video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.story-preview .sv-text{font-size:16px;position:relative}.story-tools{display:flex;flex-direction:column;gap:10px}.thread{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--surface)}.thread-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid var(--border);box-shadow:var(--shadow);z-index:1;gap:4px}.thread-who{display:flex;align-items:center;gap:8px;min-width:0;text-align:left;padding:4px;border-radius:8px}.thread-who:hover{background:var(--surface-hover)}.thread-who>span:last-child{display:flex;flex-direction:column;min-width:0}.thread-head-actions{display:flex;align-items:center;gap:2px}.chat-c{color:var(--chat)}.thread-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:2px}.thread-intro{display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 0;text-align:center}.msg-time{text-align:center;font-size:12px;color:var(--text-2);margin:14px 0 6px;font-weight:600}.msg-system{text-align:center;font-size:12px;color:var(--text-2);margin:6px 0}.msg-row{display:flex;align-items:flex-end;gap:6px}.msg-row.mine{justify-content:flex-end}.msg-row.last{margin-bottom:6px}.msg-av{width:28px;flex-shrink:0}.msg-col{display:flex;flex-direction:column;max-width:70%;min-width:0}.msg-row.mine .msg-col{align-items:flex-end}.msg-sender{font-size:12px;color:var(--text-2);margin:4px 12px 2px}.msg-reply-ref{font-size:12px;color:var(--text-2);background:var(--surface-2);border-radius:12px;padding:4px 10px 10px;margin-bottom:-6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}.msg-line{display:flex;align-items:center;gap:4px;max-width:100%}.msg-row.mine .msg-line{flex-direction:row-reverse}.bubble{padding:8px 12px;border-radius:18px;background:var(--surface-2);word-wrap:break-word;white-space:pre-wrap;max-width:100%;overflow:hidden}.msg-row.mine .bubble{background:var(--chat);color:#fff}.msg-row.mine .bubble a{color:#fff;text-decoration:underline}.bubble a{color:var(--brand-text);text-decoration:underline;word-break:break-all}.bubble img{max-width:240px;max-height:300px;border-radius:12px;margin:-4px -8px 4px;object-fit:cover}.bubble.image-only{padding:0;background:none!important}.bubble.image-only img{margin:0}.bubble.emoji-only{background:none!important;font-size:36px;padding:0 4px;color:inherit!important}.bubble.unsent{background:none!important;border:1px solid var(--border);color:var(--text-2)!important;font-style:italic;font-size:14px}.edited{display:block;font-size:11px;opacity:.7}.msg-tools{display:flex;opacity:0;transition:opacity .1s}.msg-line:hover .msg-tools,.msg-tools:focus-within{opacity:1}.quick-react{display:flex;gap:2px}.quick-react button{font-size:24px;padding:4px;border-radius:50%}.quick-react button:hover{background:var(--surface-hover);transform:scale(1.15)}.msg-tools .menu{min-width:0}.msg-reactions{margin-top:-8px;z-index:1;background:var(--surface);border-radius:10px;padding:1px 5px;box-shadow:var(--shadow);font-size:13px;display:inline-flex;gap:2px;align-items:center}.msg-reactions span{font-size:12px;color:var(--text-2)}.seen-row{display:flex;gap:2px;justify-content:flex-end;margin-top:2px}.bubble.typing{display:flex;gap:4px;padding:12px 14px}.bubble.typing i{width:7px;height:7px;border-radius:50%;background:var(--text-2);animation:blink 1.2s infinite}.bubble.typing i:nth-child(2){animation-delay:.2s}.bubble.typing i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.reply-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-top:1px solid var(--border);gap:8px}.reply-bar>div{min-width:0}.attach-preview{position:relative;padding:8px 12px 0;display:inline-block}.attach-preview img{height:64px;border-radius:8px}.thread-input{display:flex;align-items:flex-end;gap:4px;padding:8px}.ti-box{flex:1;display:flex;align-items:flex-end;background:var(--surface-2);border-radius:20px;padding:2px 4px 2px 12px;min-width:0}.ti-box textarea{flex:1;border:0;outline:none;background:none;resize:none;padding:8px 0;max-height:120px;min-width:0}.quick-emoji{font-size:22px}.group-avatar{position:relative;display:inline-block;flex-shrink:0}.group-avatar>.avatar{position:absolute}.group-avatar>.avatar:first-child{top:0;right:0}.group-avatar>.avatar:last-child{bottom:0;left:0;box-shadow:0 0 0 2px var(--surface)}.chat-dock{position:fixed;right:16px;bottom:0;z-index:90;display:flex;flex-direction:row-reverse;align-items:flex-end;gap:10px;pointer-events:none}.chat-dock>*{pointer-events:auto}.chat-heads{display:flex;flex-direction:column-reverse;gap:10px;padding-bottom:16px}.chat-head{position:relative;width:48px;height:48px;border-radius:50%;box-shadow:var(--shadow-lg);background:var(--surface);display:grid;place-items:center;margin-bottom:16px}.chat-heads .chat-head{margin:0}.chat-head.new{color:var(--text)}.chat-window{width:330px;height:450px;border-radius:10px 10px 0 0;overflow:hidden;box-shadow:var(--shadow-lg)}.thread.compact .thread-head{padding:4px 6px}.thread.compact .bubble img{max-width:180px}.people-picker .list{margin-top:8px}.chips-input{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 8px;border:1px solid var(--border);border-radius:8px}.chips-input input{flex:1;min-width:120px;border:0;outline:none;background:none;padding:4px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:64px;padding:40px 16px;flex-wrap:wrap}.login-hero{max-width:520px}.login-brand{display:flex;align-items:center;gap:12px;font-size:52px;font-weight:800;color:var(--brand);letter-spacing:-2px}.login-hero p{font-size:26px;line-height:1.25;margin-top:12px}.login-box{width:400px;max-width:100%;display:flex;flex-direction:column;gap:20px}.login-card{padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--shadow-lg)}.login-card .btn-success{align-self:center}.signup{display:flex;flex-direction:column;gap:10px}.public-site{min-height:100vh;overflow:hidden;background:#fbfbff;color:#171827}.public-nav{max-width:1200px;margin:0 auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}.public-brand{display:inline-flex;align-items:center;gap:10px;color:#1c1c2d;font-size:22px;font-weight:800;letter-spacing:-.7px}.public-brand .logo{color:#fff}.public-nav-actions{display:flex;align-items:center;gap:26px}.public-nav-link{color:#5d6073;font-size:14px;font-weight:600}.public-nav-link:hover,.public-secondary-cta:hover,.public-text-link:hover{color:var(--brand)}.public-nav-cta{padding:11px 18px;border-radius:999px}.public-hero{max-width:1200px;min-height:600px;margin:0 auto;padding:68px 28px 78px;display:grid;grid-template-columns:1fr .94fr;align-items:center;gap:52px}.public-hero-copy{max-width:590px;position:relative;z-index:1}.public-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:#5b4bff;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.public-eyebrow span{width:7px;height:7px;border-radius:50%;background:#5b4bff;box-shadow:0 0 0 5px #eeecff}.public-hero h1{max-width:640px;margin:0;color:#191a2c;font-size:clamp(46px,5.5vw,68px);font-weight:800;letter-spacing:-3.9px;line-height:1.04}.public-hero h1 span{color:#6658f5}.public-lede{max-width:535px;margin:24px 0 28px;color:#686b7c;font-size:17px;line-height:1.75}.public-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px}.public-main-cta{min-height:52px;padding:0 22px;border-radius:999px;box-shadow:0 12px 25px #5b4bff2e}.public-main-cta span{font-size:19px}.public-secondary-cta{color:#3c3e50;font-size:14px;font-weight:700}.public-note{margin-top:18px;color:#9698a6;font-size:12px}.public-preview{position:relative;min-height:420px;padding:34px 30px;border:1px solid #eeedfa;border-radius:32px;background:radial-gradient(ellipse at 65% 24%,#e8e4ff 0,#f3f1ff 35%,#faf9ff 75%);box-shadow:0 28px 70px #37307718}.preview-topline{display:flex;justify-content:space-between;align-items:center}.preview-mark{display:grid;width:48px;height:48px;place-items:center;border:1px solid #ffffffbd;border-radius:16px;background:#ffffffa3}.preview-dot{width:10px;height:10px;border-radius:50%;background:#7ac89a;box-shadow:0 0 0 5px #7ac89a26}.preview-heading{margin:22px 0 18px;color:#27273b;font-size:20px;font-weight:800;letter-spacing:-.6px}.preview-card{border:1px solid #f0eff7;border-radius:20px;background:#fff;box-shadow:0 15px 40px #302a6117}.preview-card-main{padding:16px}.preview-person{display:flex;align-items:center;gap:10px}.preview-person>span:nth-child(2),.preview-float>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.preview-person b,.preview-float b{color:#292a3a;font-size:11px}.preview-person small,.preview-float small{color:#999aaa;font-size:10px}.preview-avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:50%;color:#fff;font-size:12px;font-weight:800}.preview-avatar-one{background:linear-gradient(145deg,#ffa872,#f26b88)}.preview-avatar-two{background:linear-gradient(145deg,#738bff,#6e5bdb)}.preview-more{margin-left:auto;color:#a1a2af;font-size:18px}.preview-landscape{position:relative;height:165px;margin-top:15px;overflow:hidden;border-radius:13px;background:linear-gradient(150deg,#fbe5d6,#e8e3ff 55%,#cfddff)}.preview-sun{position:absolute;top:26px;right:48px;width:48px;height:48px;border-radius:50%;background:#ffc88b;box-shadow:0 0 40px #ffd7a8}.preview-hill{position:absolute;bottom:-53px;width:120%;height:145px;border-radius:50% 50% 0 0;transform:rotate(-7deg)}.preview-hill-back{left:-38px;background:#aaa0eb}.preview-hill-front{right:-45px;bottom:-72px;background:#7575ca;transform:rotate(8deg)}.preview-reactions{display:flex;align-items:center;gap:6px;margin-top:13px;color:#f0789c;font-size:13px}.preview-reactions span:nth-child(2){color:#f0bd49}.preview-reactions small{margin-left:4px;color:#7b7d8e;font-size:10px}.preview-float{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid #ffffff;border-radius:15px;background:#ffffffed;box-shadow:0 15px 38px #35306a20}.preview-float-chat{right:-15px;bottom:55px}.preview-float-chat i{display:grid;width:26px;height:26px;margin-left:4px;place-items:center;border-radius:50%;background:#edecff;color:#5b4bff;font-style:normal}.preview-float-group{left:-22px;bottom:122px}.preview-group-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:#f2efff;color:#735ef2}.public-feature-section{padding:86px 28px 104px;background:#fff}.public-section-heading{max-width:690px;margin:0 auto 44px;text-align:center}.public-section-heading .public-eyebrow{justify-content:center}.public-section-heading h2,.public-community h2{margin:0;color:#202133;font-size:clamp(32px,4vw,44px);font-weight:800;letter-spacing:-2px;line-height:1.12}.public-section-heading>p:last-child{margin:16px auto 0;color:#747688;font-size:15px;line-height:1.7}.public-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1120px;margin:0 auto}.public-feature{min-height:230px;padding:26px;border:1px solid #eeedf5;border-radius:20px;background:#fff;transition:transform .2s,box-shadow .2s}.public-feature:hover{transform:translateY(-4px);box-shadow:0 16px 35px #2623430d}.public-feature-mark{display:inline-grid;width:38px;height:38px;place-items:center;border-radius:12px;background:#f0eeff;color:#6252ea;font-size:11px;font-weight:800}.public-feature h3{margin:23px 0 9px;color:#232437;font-size:18px;letter-spacing:-.4px}.public-feature p{min-height:48px;color:#77798a;font-size:13px;line-height:1.65}.public-feature a,.public-text-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:#5c4ceb;font-size:13px;font-weight:800}.public-community{max-width:1120px;margin:0 auto;padding:85px 28px 100px;display:grid;grid-template-columns:.8fr 1fr;align-items:center;gap:90px}.public-community>div:last-child>p:not(.public-eyebrow){max-width:500px;margin-top:18px;color:#747688;font-size:15px;line-height:1.75}.public-community-orbit{position:relative;display:flex;width:300px;height:300px;margin:auto;align-items:center;justify-content:center;border:1px solid #dedbff;border-radius:50%;background:radial-gradient(circle,#f0eeff 0,#fbfaff 62%,#fff 63%)}.public-community-orbit:before,.public-community-orbit:after{position:absolute;content:"";border:1px solid #e8e5ff;border-radius:50%}.public-community-orbit:before{top:35px;right:35px;bottom:35px;left:35px}.public-community-orbit:after{top:78px;right:78px;bottom:78px;left:78px}.public-community-orbit span{position:absolute;z-index:1;display:grid;width:68px;height:68px;place-items:center;border:3px solid #fff;border-radius:50%;background:#fff;box-shadow:0 8px 22px #3d32851c;color:#5a4bdf;font-size:10px;font-weight:800}.public-community-orbit span:first-child{top:32px;left:104px}.public-community-orbit span:nth-child(2){top:114px;right:9px;background:#ece9ff}.public-community-orbit span:nth-child(3){bottom:23px;left:106px;background:#ffe8e0;color:#b85b4e}.public-community-orbit span:last-child{top:114px;left:9px;background:#e4f4eb;color:#398457}.public-footer{min-height:86px;padding:20px max(28px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #eeedf5;background:#fff}.public-footer .public-brand{font-size:18px}.public-footer .public-brand .logo{width:32px!important;height:32px!important;font-size:16px!important}.public-footer p,.public-footer>span{margin:0;color:#9293a0;font-size:11px}@media (max-width: 900px){.public-hero{min-height:auto;padding-top:48px;grid-template-columns:1fr 1fr;gap:28px}.public-hero h1{font-size:52px}.public-preview{min-height:380px;padding:24px 20px}.preview-float-chat{right:-6px}.public-community{gap:35px}}@media (max-width: 680px){.public-nav{padding:16px 18px}.public-brand{font-size:19px}.public-brand .logo{width:36px!important;height:36px!important;font-size:18px!important}.public-nav-actions{gap:14px}.public-nav-actions .public-nav-link:first-child{display:none}.public-nav-link{font-size:12px}.public-nav-cta{padding:9px 12px;font-size:12px}.public-hero{padding:48px 20px 65px;grid-template-columns:1fr;gap:38px}.public-hero h1{max-width:500px;font-size:clamp(43px,11vw,58px);letter-spacing:-2.8px}.public-lede{margin:18px 0 22px;font-size:15px}.public-hero-actions{gap:17px}.public-preview{width:min(100%,470px);min-height:390px;margin:0 auto}.preview-float-chat{right:-4px}.public-feature-section{padding:65px 20px 72px}.public-section-heading{margin-bottom:30px}.public-section-heading h2,.public-community h2{letter-spacing:-1.2px}.public-features{grid-template-columns:1fr;gap:12px}.public-feature{min-height:0;padding:22px}.public-feature h3{margin-top:15px}.public-feature p{min-height:0}.public-community{padding:66px 20px 75px;grid-template-columns:1fr;gap:42px}.public-community-orbit{width:240px;height:240px}.public-community-orbit span{width:60px;height:60px}.public-community-orbit span:first-child{top:20px;left:88px}.public-community-orbit span:nth-child(2){top:91px;right:2px}.public-community-orbit span:nth-child(3){bottom:12px;left:88px}.public-community-orbit span:last-child{top:91px;left:2px}.public-footer{padding:22px 20px;flex-wrap:wrap}.public-footer p{order:3;width:100%}}.profile-header{background:var(--surface);box-shadow:var(--shadow)}.cover{position:relative;max-width:1100px;margin:0 auto;height:400px;border-radius:0 0 12px 12px;background:linear-gradient(135deg,var(--brand-soft),var(--surface-2)) center / cover}.cover.group{height:340px}.cover-btn{position:absolute;right:24px;bottom:20px}.profile-bar,.group-bar{max-width:1036px;margin:0 auto;padding:0 16px;display:flex;align-items:flex-end;gap:16px;position:relative}.profile-bar{margin-top:-84px;padding-bottom:16px;border-bottom:1px solid var(--border);flex-wrap:wrap}.group-bar{flex-direction:column;align-items:flex-start;padding:16px;gap:4px;border-bottom:1px solid var(--border)}.group-bar h1{font-size:30px;margin:0}.group-bar .profile-actions{align-self:flex-end;margin-top:-40px}.profile-avatar{position:relative;border:4px solid var(--surface);border-radius:50%;background:var(--surface)}.avatar-cam{position:absolute;right:6px;bottom:10px}.profile-id{flex:1;padding-bottom:8px;display:flex;flex-direction:column;gap:4px;min-width:200px}.profile-id h1{font-size:32px;margin:0}.friend-faces{display:flex}.friend-faces .avatar-link{margin-right:-8px;border:2px solid var(--surface);border-radius:50%}.profile-actions{display:flex;gap:8px;padding-bottom:8px;flex-wrap:wrap}.profile-tabs{max-width:1036px;margin:0 auto;padding:0 16px;display:flex;gap:4px;overflow-x:auto}.ptab{padding:16px;font-weight:600;color:var(--text-2);border-bottom:3px solid transparent;white-space:nowrap}.ptab:hover{background:var(--surface-hover);border-radius:8px}.ptab.active{color:var(--brand-text);border-bottom-color:var(--brand);border-radius:0;background:none}.profile-body{max-width:1036px;margin:16px auto;padding:0 16px 60px;display:grid;grid-template-columns:2fr 3fr;gap:16px;align-items:start}.profile-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:calc(var(--nav-h) + 16px)}.profile-main{display:flex;flex-direction:column;gap:16px;min-width:0}.profile-main>.card.pad h3{margin:0}.intro{display:flex;flex-direction:column;gap:10px}.about-row{display:flex;gap:12px;align-items:center;padding:6px 0}.friend-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.friend-tile{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}.friend-tile img,.friend-tile .avatar{width:100%!important;height:auto!important;aspect-ratio:1;border-radius:8px;object-fit:cover}.friend-tile .avatar img,.friend-tile .avatar-fallback{border-radius:8px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:6px}.photo-grid.small{grid-template-columns:repeat(3,1fr);border-radius:8px;overflow:hidden}.photo-grid button{aspect-ratio:1;overflow:hidden;border-radius:6px;background:var(--surface-2)}.photo-grid img,.photo-grid video{width:100%;height:100%;object-fit:cover}.friends-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.friend-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);background:none}.cover-preview{width:100%;max-height:200px;object-fit:cover;border-radius:8px;margin-bottom:8px}.person-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.person-card{display:flex;flex-direction:column;overflow:hidden}.person-img{aspect-ratio:1;display:grid;place-items:center;background:var(--surface-2);overflow:hidden}.person-img img,.person-img>.avatar{width:100%!important;height:100%!important;object-fit:cover;border-radius:0}.person-img>.avatar img,.person-img>.avatar .avatar-fallback{border-radius:0;font-size:52px}.group-cover{aspect-ratio:16 / 9;background:linear-gradient(135deg,var(--brand-soft),var(--surface-2)) center / cover;color:var(--brand-text)}.group-cover>.avatar{width:72px!important;height:72px!important}.group-cover>.avatar img,.group-cover>.avatar .avatar-fallback{border-radius:50%;font-size:28px}.person-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;min-width:0}.person-body .strong{font-size:16px}.messenger{display:grid;grid-template-columns:360px minmax(0,1fr) auto;height:calc(100vh - var(--nav-h))}.m-list{background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:12px 8px 0;min-height:0}.m-list h1{font-size:24px}.m-scroll{flex:1;overflow-y:auto}.pill-row{display:flex;gap:6px;padding:0 4px 8px;overflow-x:auto}.pill{padding:6px 12px;border-radius:18px;font-weight:600;font-size:14px}.pill:hover{background:var(--surface-hover)}.pill.active{background:var(--brand-soft);color:var(--brand-text)}.m-thread{min-width:0;min-height:0;display:flex;flex-direction:column}.m-thread>.thread{flex:1}.m-info{width:320px;background:var(--surface);border-left:1px solid var(--border);overflow-y:auto;padding:16px 8px}.m-info-head{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;margin-bottom:12px}.m-info-head h3{margin:8px 0 0}.m-info-actions{display:flex;gap:16px;margin-top:12px}.info-act{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px}.accordion{border-radius:8px}.acc-head{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 8px;border-radius:8px}.acc-head:hover{background:var(--surface-hover)}.acc-body{padding:0 0 8px}.m-media{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px}.m-media img{aspect-ratio:1;object-fit:cover;border-radius:4px;width:100%}.theme-dot{width:20px;height:20px;border-radius:50%;display:inline-block}.swatch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;justify-items:center}.theme-swatch{width:52px;height:52px;border-radius:50%;border:3px solid transparent}.theme-swatch.sel{border-color:var(--text)}.emoji-swatch{font-size:32px;width:52px;height:52px;border-radius:50%}.emoji-swatch:hover{background:var(--surface-hover)}.mobile-only{display:none!important}.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px 10px}.market-item{display:flex;flex-direction:column;gap:2px;text-align:left;min-width:0}.market-img{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center;margin-bottom:6px;color:var(--text-2)}.market-img img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.market-item:hover img{transform:scale(1.03)}.market-img .status{position:absolute;top:8px;left:8px}.listing-modal .modal-body{padding:0}.listing{display:grid;grid-template-columns:1.3fr 1fr;min-height:520px}.listing-img{background:#111;display:grid;place-items:center;color:#888}.listing-img img{max-height:80vh;object-fit:contain}.listing-info{padding:16px;overflow-y:auto;max-height:85vh}.listing-info .about-row{justify-content:space-between}.listing-info .card-inner{display:flex;flex-direction:column;gap:8px;margin-top:12px}.event-detail{overflow:hidden}.event-detail .cover{height:280px;border-radius:0}.settings{display:flex;flex-direction:column;gap:16px;max-width:800px}.setting-row{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.setting-row:last-child{border-bottom:0}@media (max-width: 1260px){.three-col{grid-template-columns:280px minmax(0,1fr) 280px;gap:16px}.nav-tab{width:80px}}@media (max-width: 1100px){.three-col{grid-template-columns:minmax(0,1fr) 280px}.three-col>.sidebar.left{display:none}.three-col .feed{padding-left:16px}.m-info{position:fixed;right:0;top:var(--nav-h);bottom:0;z-index:60;box-shadow:var(--shadow-lg)}.messenger{grid-template-columns:320px minmax(0,1fr)}}@media (max-width: 900px){.three-col{grid-template-columns:minmax(0,1fr)}.three-col>.sidebar.right{display:none}.three-col .feed{padding:12px 16px 60px}.two-col{grid-template-columns:1fr}.two-col>.sidebar{position:static;height:auto;max-height:none}.main-col{padding:16px}.search-box input{width:120px}.nav-tab{width:56px}.profile-body{grid-template-columns:1fr}.profile-side{position:static}.messenger{grid-template-columns:1fr}.messenger.has-thread .m-list{display:none}.messenger:not(.has-thread) .m-thread{display:none}.mobile-only{display:inline-grid!important}.listing{grid-template-columns:1fr}.cover{height:240px;border-radius:0}.story-editor{grid-template-columns:1fr}.story-preview{max-width:220px;margin:0 auto;width:100%}}@media (max-width: 640px){.navbar{grid-template-columns:auto 1fr auto;padding:0 8px;gap:6px}.nav-center{justify-content:center;gap:0}.nav-tab{width:44px}.nav-tab .icon{width:22px;height:22px}.search-box{width:40px;padding:0;justify-content:center}.search-box input{display:none}.search-box:focus-within{position:fixed;left:8px;right:8px;top:8px;width:auto;z-index:5;padding:0 12px;background:var(--surface-2)}.search-box:focus-within input{display:block;width:100%}.search-box.inline{width:100%;padding:0 12px;justify-content:flex-start}.search-box.inline input{display:block}.search-drop{position:fixed;top:54px;left:8px;right:8px;width:auto}.nav-right{gap:4px}.nav-right>.round-btn:first-child{display:none}.round-btn{width:36px;height:36px}.dropdown{position:fixed;top:var(--nav-h);left:8px;right:8px;width:auto}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.friends-list-grid{grid-template-columns:1fr}.person-grid{grid-template-columns:repeat(2,1fr);gap:8px}.market-grid{grid-template-columns:repeat(2,1fr)}.profile-bar{flex-direction:column;align-items:center;text-align:center;margin-top:-70px}.profile-avatar .avatar{width:140px!important;height:140px!important}.profile-id{align-items:center;min-width:0}.profile-id h1{font-size:26px}.group-bar .profile-actions{align-self:flex-start;margin-top:8px}.chat-window{width:calc(100vw - 32px);height:70vh}.chat-dock{right:8px}.composer-actions button{font-size:13px;gap:4px;padding:8px 4px}.post-text.big{font-size:18px}.post-bg{font-size:22px;min-height:240px;padding:24px}.story-modes{grid-template-columns:1fr}.story-mode{height:140px}.login-page{gap:24px;padding-top:24px}.login-hero{text-align:center}.login-brand{justify-content:center;font-size:40px}.login-hero p{font-size:20px}.toasts{left:8px;right:8px}.emoji-grid{width:260px}.modal-backdrop{padding:0;place-items:end center}.modal{max-height:92vh;border-radius:12px 12px 0 0}.sv-stage{height:100vh;border-radius:0;width:100vw;aspect-ratio:auto}}
