.social-page{background:var(--fx-bg);color:var(--fx-ink)}.social-shell{width:min(1240px,calc(100% - 40px));margin:32px auto 64px}.social-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:20px 0 28px}.social-hero h1{margin:4px 0;font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.04em}.social-hero p{max-width:65ch;color:var(--fx-muted);line-height:1.8}.social-eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.1em}.social-card{background:var(--fx-panel);border:1px solid var(--fx-line);border-radius:24px;padding:24px;min-width:0}.social-card h2{font-size:1.13rem;margin:0 0 10px}.social-card h3{font-size:1rem}.social-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--fx-line);border-radius:13px;background:var(--fx-panel-alt);color:var(--fx-ink);font:inherit;font-weight:700;text-decoration:none;cursor:pointer;gap:7px}.social-button.primary{background:var(--fx-accent);border-color:var(--fx-accent);color:var(--fx-bg)}.social-button.compact{padding:8px 12px;font-size:.82rem}.social-button.danger{color:#c34444}.social-button:disabled{opacity:.55;cursor:not-allowed}.social-actions{display:flex;gap:8px;flex-wrap:wrap}.social-status{min-height:1.5em;font-size:.9rem;line-height:1.7}.social-status:empty{margin:0;min-height:0}.social-status[data-error=true],#social-dialog-status[data-error=true]{color:#a12b3b}html[data-fakkiha-theme=dark] :is(.social-status[data-error=true],#social-dialog-status[data-error=true]){color:#ff9aa5}.social-gate{text-align:center;padding:48px 24px}.social-gate p{color:var(--fx-muted);line-height:1.8}.social-privacy{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0}.social-privacy p{color:var(--fx-muted);font-size:.86rem;line-height:1.8;margin:0;max-width:75ch}.social-switch{display:flex;align-items:center;gap:12px;flex:0 1 250px;font-size:.88rem;line-height:1.6;cursor:pointer}.social-switch input{width:24px;height:24px;accent-color:var(--fx-accent);flex-shrink:0}.social-columns{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.7fr);gap:20px;align-items:start}.social-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.social-heading h2{margin:0}.social-contacts label,.social-dialog label{display:grid;gap:8px;font-size:.85rem}.social-contacts input,.social-composer textarea,.social-dialog textarea,.social-dialog select{width:100%;max-width:100%;min-width:0;font:inherit;font-size:1rem;color:var(--fx-ink);background:var(--fx-panel-alt);border:1px solid var(--fx-line);border-radius:12px;padding:12px;box-sizing:border-box}.social-search{margin:20px 0 16px}.social-people{display:grid;gap:8px}.social-person{border:1px solid var(--fx-line);border-radius:15px;padding:12px;min-width:0}.social-person-main{display:flex;gap:10px;align-items:center;min-width:0}.social-avatar{width:38px;height:38px;flex:0 0 38px;background:var(--fx-panel-alt);border:1px solid var(--fx-line);color:var(--fx-accent);border-radius:13px;display:grid;place-items:center;font-weight:800}.social-person-copy{min-width:0;flex:1}.social-person-copy strong{display:block;overflow-wrap:anywhere;font-size:.91rem}.social-person-copy small{display:block;margin-top:4px;color:var(--fx-muted);font-size:.72rem}.social-person .social-actions{margin-top:10px}.social-person.active{border-color:var(--fx-accent);background:var(--fx-panel-alt)}button.social-person{display:block;width:100%;text-align:start;font:inherit;background:var(--fx-panel);color:var(--fx-ink);cursor:pointer;min-height:64px}.social-presence{display:inline-flex;align-items:center;gap:5px}.social-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:var(--fx-muted)}.social-dot.online{background:#20b474;box-shadow:0 0 0 3px #20b4741a}.social-add,.social-requests,.social-blocked{border-top:1px solid var(--fx-line);margin-top:20px;padding-top:18px}.social-contacts summary{font-weight:700;cursor:pointer;min-height:44px;line-height:1.7}.social-add p{font-size:.82rem;line-height:1.8;color:var(--fx-muted)}.social-add form{display:grid;gap:12px;margin-top:16px}.social-text-link{color:var(--fx-accent);font-size:.84rem}.social-count{font-size:.72rem;background:var(--fx-panel-alt);color:var(--fx-ink);border:1px solid var(--fx-line);border-radius:99px;padding:3px 7px;min-width:1em;display:inline-block;text-align:center}.social-conversation{min-height:550px;display:flex;flex-direction:column}.social-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--fx-line);padding-bottom:16px}.social-chat-head h2{overflow-wrap:anywhere}.social-hint{font-size:.78rem;color:var(--fx-muted);line-height:1.8;margin:8px 0}.social-chat-empty{display:grid;align-content:center;justify-items:center;text-align:center;flex:1;min-height:350px;padding:20px;color:var(--fx-muted)}.social-chat-empty>span{width:68px;height:68px;border:1px solid var(--fx-line);background:var(--fx-panel-alt);border-radius:22px;display:grid;place-items:center;font-size:2rem;color:var(--fx-accent)}.social-chat-empty h3{color:var(--fx-ink);margin-bottom:0}.social-chat-empty p{max-width:44ch;font-size:.9rem;line-height:1.9}.social-messages{list-style:none;padding:8px 0;margin:0;display:flex;flex-direction:column;gap:12px;max-height:480px;min-height:180px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.social-message{max-width:86%;align-self:flex-start;overflow-wrap:anywhere;border:1px solid var(--fx-line);border-radius:16px 16px 4px 16px;padding:12px 14px;background:var(--fx-panel-alt)}.social-message.mine{align-self:flex-end;border-radius:16px 16px 16px 4px;background:var(--fx-panel);border-color:var(--fx-accent)}.social-message p{white-space:pre-wrap;margin:0;font-size:.92rem;line-height:1.8;unicode-bidi:plaintext}.social-message-meta{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:8px;color:var(--fx-muted);font-size:.65rem}.social-message-report{color:var(--fx-muted);background:transparent;border:0;font:inherit;text-decoration:underline;min-width:44px;min-height:32px;cursor:pointer}.social-composer{border-top:1px solid var(--fx-line);padding-top:16px;margin-top:16px}.social-composer>label{font-size:.83rem;font-weight:700;display:block;margin-bottom:8px}.social-composer>div{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:12px}.social-composer small{color:var(--fx-muted)}.social-safety{margin:24px 0;display:grid;grid-template-columns:1.3fr 1fr;gap:32px}.social-safety p{margin:0;color:var(--fx-muted);font-size:.8rem;line-height:1.9}.social-dialog{width:min(520px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid var(--fx-line);border-radius:24px;background:var(--fx-panel);color:var(--fx-ink);box-sizing:border-box}.social-dialog::backdrop{background:#07131dba;backdrop-filter:blur(5px)}.social-dialog h2{margin:0 0 12px}.social-dialog p{font-size:.88rem;line-height:1.8;color:var(--fx-muted)}.social-dialog #social-report-fields{display:grid;gap:18px;margin:20px 0}.social-dialog .social-check{display:flex;align-items:center;gap:10px}.social-check input{width:22px;height:22px;accent-color:var(--fx-accent)}.social-dialog .social-actions{justify-content:flex-end}.social-empty{color:var(--fx-muted);font-size:.84rem;line-height:1.8;padding:12px 0}.social-community-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.social-stat{background:var(--fx-panel);border:1px solid var(--fx-line);border-radius:19px;padding:18px 22px;min-width:0}.social-stat strong{font-size:1.7rem;display:block;font-variant-numeric:tabular-nums;color:var(--fx-ink)}.social-stat span{font-size:.8rem;color:var(--fx-muted);display:flex;align-items:center;gap:6px;margin-top:5px}.social-stats-note{color:var(--fx-muted);font-size:.72rem;line-height:1.8;margin:8px 0}.social-stats-footer{width:min(1240px,calc(100% - 40px));margin:24px auto}.social-stats-footer .social-stat{padding:14px 18px}.social-stats-footer .social-stat strong{font-size:1.35rem}.social-page [hidden]{display:none!important}.social-page footer{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;color:var(--fx-muted);padding:24px}.social-page footer a{color:var(--fx-ink)}
@media(max-width:850px){.social-columns{grid-template-columns:minmax(220px,.9fr) minmax(0,1.3fr)}.social-shell{width:calc(100% - 28px)}.social-card{padding:18px;border-radius:20px}.social-chat-head{flex-direction:column;gap:8px}.social-privacy{gap:20px}.social-switch{flex-basis:230px}.social-safety{gap:20px}}
@media(max-width:650px){.social-shell{margin-top:20px}.social-hero{align-items:flex-start;flex-direction:column;gap:10px}.social-hero h1{font-size:2.3rem}.social-hero p{margin-bottom:0}.social-community-stats{gap:8px}.social-stat{padding:14px 10px;border-radius:16px}.social-stat strong{font-size:1.35rem}.social-stat span{font-size:.7rem;line-height:1.6}.social-privacy{flex-direction:column;align-items:flex-start}.social-switch{flex-basis:auto}.social-columns{grid-template-columns:1fr}.social-people{max-height:300px;overflow:auto}.social-conversation{min-height:420px}.social-chat-empty{min-height:230px}.social-safety{grid-template-columns:1fr;gap:14px}.social-message{max-width:90%}.social-dialog{padding:22px}.social-stats-footer{width:calc(100% - 28px)}.social-stats-footer .social-stat{padding:12px 8px}.social-stats-footer .social-stat strong{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){.social-page *{scroll-behavior:auto!important;transition:none!important}}

.social-dialog [hidden]{display:none!important}

.social-room-report{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;margin-top:6px;border:1px solid var(--fx-line);border-radius:11px;color:var(--fx-muted);background:var(--fx-panel-alt);font:inherit;font-size:.75rem;cursor:pointer}.social-room-report:hover{color:var(--fx-ink);border-color:var(--fx-accent)}.social-room-report:focus-visible{outline:3px solid var(--fx-accent);outline-offset:3px}.social-dialog form{display:block;text-align:start}.social-dialog button,.social-dialog input,.social-dialog select,.social-dialog textarea{font-family:inherit}.social-message-report{min-height:44px}

.social-unread{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;margin-inline-start:8px;padding:1px 5px;border-radius:99px;background:var(--fx-accent);color:var(--fx-bg);font-size:.63rem;line-height:1.3;vertical-align:middle;font-variant-numeric:tabular-nums}

.social-stat strong{overflow-wrap:anywhere;min-width:0}.social-chat-head h2,.social-contacts h2{scroll-margin-top:20px}@media(max-width:650px){.social-stat strong{font-size:clamp(.95rem,4vw,1.2rem)}}
.social-community-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}

.social-composer #social-send:disabled{cursor:not-allowed}.social-composer[aria-busy=true] #social-send:disabled{cursor:wait}.social-messages>li.social-empty{list-style:none}
