/* Friend profiles and private messages follow the existing Discord palette. */
.social-home-button{display:grid;place-items:center;width:36px;height:36px;padding:8px;background:transparent;color:#b5bac1;border:1px solid #484b55;border-radius:8px;flex:none}.social-home-button:hover,.social-home-button.active{background:#40456a;color:#d7dcff;border-color:#7e87db}.social-home-button svg{width:20px;height:20px}.social-nav-badge{background:#ed6478;color:white;border-radius:12px;padding:1px 6px;margin-left:auto;font-size:10px}.social-nav-badge[hidden]{display:none}.home-hero{padding:28px;background:linear-gradient(125deg,#3c4160,#2b2d36);border:1px solid #505677;border-radius:14px;margin-bottom:22px}.home-hero h1{margin:10px 0}.home-hero p{color:#c2c7d7;font-size:13px;line-height:1.9}.home-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.home-quick button{display:flex;gap:15px;text-align:left;align-items:center;padding:22px;border:1px solid #454854;background:#2b2d33;border-radius:10px}.home-quick button:hover{border-color:#828bd6;background:#343848}.home-quick svg{color:#acb5ff;width:25px;height:25px;flex:none}.home-quick b,.home-quick small{display:block}.home-quick small{font-size:11px;color:#aeb5c5;margin-top:7px}.home-schools{padding:24px}.home-schools header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.home-school-link{display:flex;justify-content:space-between;gap:15px;align-items:center;width:100%;padding:16px 4px;border:0;border-bottom:1px solid #42444e;background:transparent;text-align:left}.home-school-link small{display:block;color:#a9b0bd;margin-top:5px}.school-presence{display:flex;gap:10px;align-items:center;margin:0 0 22px;padding:13px 16px;border:1px solid #484b55;background:#2b2d33;border-radius:8px}.school-presence>i{width:8px;height:8px;background:#58c798;border-radius:50%;flex:none}.school-presence b{font-size:12px;white-space:nowrap}.school-presence small{color:#a3aab8;font-size:10px;line-height:1.6}.profile-trigger{background:transparent;border:0;color:inherit;padding:0;text-align:left;cursor:pointer}.profile-trigger:hover{text-decoration:underline;color:#bdc5ff}.post>button.avatar{border:0;padding:0}.social-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 18px;gap:10px;text-align:center;color:#e2e5eb}.social-empty>svg{width:30px;height:30px;color:#939dcc;margin-bottom:6px}.social-empty p{color:#a6adba;font-size:12px;line-height:1.8}.social-empty b{font-size:14px}.social-section{margin-bottom:20px}.social-section>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px;border-bottom:1px solid #41444e;flex-wrap:wrap}.social-section h2{font-size:16px}.social-section h2 small{color:#a9b5fc;margin-left:6px}.social-person{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #3c3f48}.social-avatar{display:grid;place-items:center;position:relative;flex:none;background:#424a76;color:#e5e9ff;width:38px;height:38px;font-size:15px;font-weight:700;border-radius:14px}.social-avatar.is-online:after{content:'';position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border:3px solid #2b2d33;border-radius:50%;background:#58c798}.social-person-name{background:transparent;border:0;padding:0;min-width:0;flex:1;text-align:left;color:inherit}.social-person-name b,.social-person-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-person-name b{font-size:13px}.social-person-name small{color:#a5adbb;font-size:10px;margin-top:5px}.social-actions{display:flex;gap:7px;flex:none}.social-actions .button{padding:8px 10px;font-size:11px}.social-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.social-request-grid .social-person{flex-wrap:wrap}.social-switch{display:flex;align-items:center;gap:8px;font-size:12px}.social-switch input{accent-color:#7f8aff;width:17px;height:17px}.social-note{color:#a6aebc;font-size:11px;line-height:1.8;padding:14px 20px}.social-block-list{padding:0 20px 20px;color:#b8bfce;font-size:12px}.social-block-list summary{cursor:pointer}.social-block-list .social-person b{flex:1}.social-link{border:0;background:transparent;color:#bbc4ff;padding:5px;font-size:11px}.social-messenger{display:grid;grid-template-columns:260px minmax(0,1fr);height:min(660px,calc(100dvh - 240px));min-height:400px}.social-inbox{border-right:1px solid #41444e;overflow-y:auto;background:#25272d}.social-inbox>header{display:flex;align-items:center;justify-content:space-between;padding:18px 16px}.social-inbox h2{font-size:14px}.social-thread{display:flex;align-items:center;gap:10px;padding:15px 12px;margin:4px 8px;width:calc(100% - 16px);border:0;border-radius:8px;background:transparent;text-align:left}.social-thread:hover,.social-thread.active{background:#3a3f5d}.social-thread>span:nth-child(2){min-width:0;flex:1}.social-thread b,.social-thread small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-thread b{font-size:12px}.social-thread small{font-size:11px;color:#a7b0c3;margin-top:5px}.social-thread em{font-size:10px;background:#6674db;border-radius:10px;padding:2px 5px;font-style:normal}.social-more{margin:12px}.social-chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:#2b2d33}.social-chat>.social-empty{flex:1}.dm-header{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #41444e;flex:none}.dm-log{flex:1;overflow-y:auto;min-height:0;padding:18px 20px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}.dm-bubble{align-self:flex-start;max-width:86%;background:#3b3e47;border-radius:12px 12px 12px 3px;padding:12px 14px;flex:none}.dm-bubble.mine{align-self:flex-end;background:#4d5689;border-radius:12px 12px 3px 12px}.dm-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.dm-bubble footer{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:7px;font-size:9px;color:#c1c7db}.dm-bubble footer button{border:0;background:transparent;color:#aeb6c9;font-size:9px;padding:0}#dm-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px 18px;border-top:1px solid #41444e;flex:none}#dm-input{background:#1e2026;border:1px solid #484d5e;border-radius:8px;resize:none;color:#edf0f8;padding:10px 12px;max-height:140px;font:inherit;font-size:13px;width:100%}#dm-form .social-note,#dm-error{grid-column:1/-1;padding:0;font-size:10px}#dm-error,#social-load-status{color:#f2b1b9;line-height:1.8}#social-load-status:not(:empty){padding:12px 0}#dm-send{align-self:center}.social-back{display:none}.social-profile-dialog{padding:0;border:1px solid #545b71;border-radius:14px;background:#282b34;color:#eff2f9;width:340px;max-width:calc(100vw - 32px);box-shadow:0 24px 80px #0008}.social-profile-dialog::backdrop{background:#080a10b8}.profile-cover{height:70px;background:linear-gradient(110deg,#5965a6,#373e67)}.profile-close{position:absolute;top:10px;right:10px;width:28px;height:28px;border:0;border-radius:50%;background:#1c203b99;color:white;font-size:22px}.profile-content{padding:0 24px 22px}.profile-content>.social-avatar{width:64px;height:64px;margin-top:-25px;border:5px solid #282b34;font-size:24px;border-radius:22px}.profile-content h2{font-size:21px;margin:12px 0 0;overflow-wrap:anywhere}.profile-content .social-note{padding:6px 0 16px}.profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin:7px 0 18px}.profile-content footer{display:flex;gap:16px;border-top:1px solid #424857;padding-top:12px}button:disabled{opacity:.5;cursor:not-allowed}.social-profile-dialog button:focus-visible,.social-home-button:focus-visible,.profile-trigger:focus-visible{outline:2px solid #b3bdff;outline-offset:3px}
@media(max-width:1100px){.social-request-grid{grid-template-columns:1fr}.social-messenger{grid-template-columns:220px minmax(0,1fr)}.home-quick{gap:10px}.home-quick button{padding:18px 12px;gap:10px}}
@media(max-width:760px){.top{gap:9px}.social-home-button{width:32px;height:32px;padding:6px}.home-hero{padding:22px}.home-quick{grid-template-columns:1fr}.home-quick button{padding:18px}.school-presence{flex-wrap:wrap;gap:8px}.school-presence small{width:100%;padding-left:16px}.social-person{padding:14px;gap:10px}.social-messenger{grid-template-columns:1fr;height:calc(100dvh - 245px);min-height:360px}.social-messenger .social-chat{display:none}.social-messenger.chat-open .social-inbox{display:none}.social-messenger.chat-open .social-chat{display:flex}.social-back{display:block;background:transparent;border:0;font-size:20px;color:#c7ceea;padding:4px}.dm-header{padding:12px}.dm-log{padding:15px 12px}.dm-bubble{max-width:90%}#dm-form{padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.social-section>header{padding:16px}.social-person-name b{font-size:12px}.social-switch{font-size:11px}.social-person>.social-actions{gap:5px}.social-actions .button{padding:7px 8px}.home-schools{padding:20px}}
.home-quick .social-nav-badge{display:inline-flex;align-items:center;width:auto;vertical-align:middle;margin:0 0 0 6px;padding:2px 6px;color:#fff;line-height:1.2}.home-quick .social-nav-badge[hidden]{display:none}
