body.reborn[data-page="honorboard"] .academyBoardTop{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr);gap:18px;align-items:start;min-width:0}
body.reborn[data-page="honorboard"] .academyBoardTop>*{min-width:0}
body.reborn[data-page="honorboard"] #academyStatus{padding:16px;width:100%;max-width:none}
body.reborn[data-page="honorboard"] #academyStatus .academyIdentity{gap:13px;margin:8px 0}
body.reborn[data-page="honorboard"] #academyStatus .academyPortrait{width:80px;height:80px;flex-basis:80px}
body.reborn[data-page="honorboard"] #academyStatus .academyIdentity .academy-avatar{width:80px;height:80px;flex-basis:80px}
body.reborn[data-page="honorboard"] #academyStatus .academyIdentityDetails{gap:3px}
body.reborn[data-page="honorboard"] #academyStatus .academyYearGrade{padding:6px 0;margin:8px 0}
body.reborn[data-page="honorboard"] #academyStatus .academyYearGrade strong{font-size:23px}
body.reborn[data-page="honorboard"] #academyStatus #refinedAnnualHint{font-size:11px;line-height:1.45;margin:8px 0 12px}
body.reborn[data-page="honorboard"] #academyStatus>small{font-size:11px;line-height:1.45}
body.reborn[data-page="honorboard"] #academyStatus .academyInfoBtn{width:auto;min-height:34px;padding:7px 12px;font-size:11px}
body.reborn[data-page="honorboard"] #honorBoardPanel{padding:18px;max-height:360px;overflow:auto;text-shadow:none}
body.reborn[data-page="honorboard"] #honorBoardPanel>p:first-of-type{display:none}
body.reborn[data-page="honorboard"] #honorBoardPanel>b{font-size:23px}
body.reborn[data-page="honorboard"] #honorBoardPanel>p{font-size:13px;line-height:1.5;margin:8px 0}
body.reborn[data-page="honorboard"] #honorBoardPanel>ol{margin:16px 0 0;gap:8px}
body.reborn[data-page="honorboard"] #honorBoardPanel li{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px;min-height:0}
body.reborn[data-page="honorboard"] #honorBoardPanel li span{font-size:11px}
body.reborn[data-page="honorboard"] #honorBoardPanel li strong{font-size:13px}
body.reborn[data-page="honorboard"] #honorBoardPanel li small{font-size:11px;grid-column:1/-1}
body.reborn #friendsHub{position:relative;min-width:0;background:var(--rb-surface);color:var(--rb-ink);border:1px solid var(--rb-line);border-radius:var(--rb-radius);padding:22px;text-shadow:none}
#friendsHub [hidden]{display:none!important}
#friendsHub .friendsHeading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
#friendsHub .friendsKicker{font-size:9px;letter-spacing:1.4px;color:var(--rb-accent);margin:0 0 7px}
body.reborn #friendsHub h2{font-size:23px;line-height:1.2;margin:0;color:var(--rb-ink)}
#friendsHub .count{display:inline-block;font:11px system-ui;color:#c1cdc3;background:#0d1c16;border:1px solid var(--rb-line);border-radius:20px;padding:2px 7px;vertical-align:middle;margin-left:5px}
#friendsHub .friendsGateActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#friendsHub #friendsGateText{font-size:13px;line-height:1.6;color:#b0c1b5;margin:0 0 12px}
body.reborn #friendsHub button{position:static;transform:none;margin:0;min-height:36px;width:auto;border:1px solid var(--rb-line);border-radius:9px;background:#233e33;color:var(--rb-ink);font:600 12px system-ui;padding:8px 12px;box-shadow:none;cursor:pointer}
body.reborn #friendsHub button:hover{border-color:var(--rb-accent);background:#2c493b}
body.reborn #friendsHub :is(button,summary,input):focus-visible{outline:2px solid var(--rb-accent);outline-offset:3px}
#friendsHub #friendsInviteTools{position:relative;flex-shrink:0}
#friendsHub #friendsInviteTools>summary{display:grid;place-items:center;list-style:none;width:36px;height:36px;border:1px solid var(--rb-line);border-radius:9px;font-size:23px;color:var(--rb-accent);cursor:pointer}
#friendsHub #friendsInviteTools>summary::-webkit-details-marker,#friendsHub .menu>summary::-webkit-details-marker{display:none}
#friendsHub .friendsInvitePopover{position:absolute;right:0;top:44px;z-index:50;width:360px;max-width:calc(100vw - 64px);padding:18px;border:1px solid #536d58;border-radius:13px;background:#13251d;box-shadow:0 14px 40px #0009}
#friendsHub label{display:block;margin:0 0 7px;font-size:11px;color:#b4c5b9}
#friendsHub .code-line,#friendsHub .invite-line{display:flex;gap:7px;align-items:center;min-width:0}
body.reborn #friendsHub input{position:static;transform:none;width:100%;min-width:0;margin:0;border:1px solid var(--rb-line);border-radius:8px;background:#0c1916;color:var(--rb-ink);height:40px;padding:9px;font:13px system-ui}
#friendsHub #own-code{font-family:ui-monospace,monospace;color:var(--rb-accent);font-size:13px}
#friendsHub #invite{margin-top:16px}
#friendsHub #friends{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#friendsHub .row{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid var(--rb-line);border-radius:12px;background:#14271e}
#friendsHub .friendCard{min-width:0;border:1px solid var(--rb-line);border-radius:12px;background:#14271e;align-self:start}
#friendsHub .friendCard>.row{border:0;background:none}
#friendsHub .friendLiveStatus{font-size:11px;line-height:1.5;color:#c5dca7;margin:0 12px 11px;overflow-wrap:anywhere}
#friendsHub .friendLiveStatus::before{content:'●';font-size:8px;margin-right:6px;color:#9ac985}
#friendsHub .friendMemory{border-top:1px solid var(--rb-line);padding:12px;min-width:0}
#friendsHub .friendMemoryLabel{display:block;font-size:8px;letter-spacing:.7px;color:#94ab99;margin-bottom:6px}
#friendsHub .friendMemoryGame{display:block;font-size:12px;color:var(--rb-accent);overflow-wrap:anywhere}
#friendsHub .friendMemoryText{font-size:13px;line-height:1.6;margin:7px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#friendsHub .friendMemoryText.isExpanded{display:block}
body.reborn #friendsHub .friendMemoryLike{min-height:30px;padding:4px 9px;font-size:12px;background:transparent}
body.reborn #friendsHub .friendMemoryLike[aria-pressed=true]{background:#345132;border-color:#8baf69;color:#f2e7c1}
body.reborn #friendsHub .friendMemoryMore{min-height:30px;margin-right:8px;background:none;border-color:transparent;font-size:10px;padding:4px 0}
#friendsHub .friendsShareTools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--rb-line)}
#friendsHub .friendsShareTools .friendsStatusToggle{display:flex;align-items:center;gap:7px;font-size:11px;margin:0;color:#baceb7;cursor:pointer}
body.reborn #friendsHub input#friendsStatusShare{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:32px;min-width:32px;height:18px;min-height:18px;margin:0;padding:2px;border:1px solid #66806a;border-radius:20px;background:#21352a;cursor:pointer;flex-shrink:0}
body.reborn #friendsHub input#friendsStatusShare::before{content:'';display:block;width:12px;height:12px;border-radius:50%;background:#becdbb;transition:transform .15s}
body.reborn #friendsHub input#friendsStatusShare:checked{background:#718655;border-color:#aabe78}
body.reborn #friendsHub input#friendsStatusShare:checked::before{transform:translateX(13px);background:#fff4cf}
body.reborn #friendsHub input#friendsStatusShare:disabled{opacity:.55;cursor:wait}
#friendsHub #friendsOwnStatus{font-size:10px;color:#a9c48c;overflow-wrap:anywhere}
#friendsHub #friendsOwnLikes{font-size:11px;color:#e4cd95;white-space:nowrap}
#friendsMemoryDialog .friendsCurrentMemoryLikes{font-size:12px;color:#e4cd95}
body.reborn #friendsHub #friendsMemoryOpen{width:33px;height:32px;min-height:32px;padding:0;font-size:18px;background:none}
body.reborn #friendsMemoryDialog{width:min(520px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--rb-line);border-radius:16px;background:#14271f;color:var(--rb-ink)}
body.reborn #friendsMemoryDialog::backdrop{background:#000a;backdrop-filter:blur(3px)}
body.reborn #friendsMemoryDialog h2{font-size:21px;margin:0 0 12px}
#friendsMemoryDialog p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#c0d0bf}
#friendsMemoryPreview>strong{font-size:15px;color:var(--rb-accent)}
#friendsMemoryDialog .friendsMemoryHint{font-size:12px;color:#9fb49e;margin-bottom:18px}
#friendsMemoryDialog .friendsCurrentMemory{border-top:1px solid var(--rb-line);padding-top:12px;margin-top:18px}
#friendsMemoryDialog .friendsCurrentMemory small{font-size:11px;color:#b9cba8}
#friendsMemoryFeedback{color:#ffd1af!important}
#friendsMemoryDialog .friendsDialogActions{flex-wrap:wrap}
body.reborn #friendsMemoryDialog .friendsDialogActions button{width:auto;min-height:34px;padding:8px 10px;font-size:11px;border-radius:9px}
#friendsHub .avatar{display:block;width:45px;height:45px;object-fit:cover;border-radius:50%;flex-shrink:0}
#friendsHub .person{min-width:0;flex:1}
#friendsHub .person strong{display:block;font-size:15px;color:var(--rb-ink);overflow-wrap:anywhere}
#friendsHub .person small{display:block;font-size:10px;line-height:1.5;color:#abc0af;margin-top:3px}
#friendsHub .actions{display:flex;align-items:center;gap:6px}
#friendsHub .menu{position:relative;flex-shrink:0}
#friendsHub .menu>summary{display:grid;place-items:center;list-style:none;width:32px;height:32px;border:1px solid var(--rb-line);border-radius:8px;cursor:pointer}
#friendsHub .menu-items{position:absolute;right:0;top:38px;z-index:30;width:176px;padding:5px;border:1px solid #536d58;border-radius:10px;background:#182d22;box-shadow:0 10px 30px #0008}
body.reborn #friendsHub .menu-items button{display:block;width:100%;text-align:left;border:0;background:none;font-size:11px;font-weight:500;padding:8px}
#friendsHub .empty{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:12px 0;color:#acc0b0}
#friendsHub .empty-mark{font-size:25px;color:#688873}
#friendsHub .empty p{font-size:12px;line-height:1.6;margin:0}
#friendsHub .empty strong{display:block;color:#d5dfd3;font-size:13px;font-weight:550}
#friendsHub #friendsRequests,#friendsHub #blocked-section{margin-top:16px;padding-top:13px;border-top:1px solid var(--rb-line)}
#friendsHub #friendsRequests>summary,#friendsHub #blocked-section>summary{font-size:12px;color:#b8c8ba;cursor:pointer}
#friendsHub .friendsOutgoingHint{font-size:11px;color:#8fa994}
#friendsHub .friendsRequestColumns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
body.reborn #friendsHub h3{font-size:12px;color:#c4d2c5;margin:0 0 10px}
#friendsHub :is(#incoming,#outgoing,#blocked){display:grid;gap:8px;min-width:0}
#friendsHub #blocked{margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
#friendsHub #notice{font-size:12px;line-height:1.5;color:var(--rb-accent);margin:10px 0 0}
#friendsHub #notice:empty{display:none}
#friendsHub #notice[data-error=true]{color:#ffc0ad}
body.reborn[data-page="honorboard"] #confirm{width:min(420px,calc(100vw - 32px));padding:24px;border:1px solid var(--rb-line);border-radius:16px;background:#14271f;color:var(--rb-ink)}
body.reborn[data-page="honorboard"] #confirm h2{font-size:20px;margin:0 0 12px}
body.reborn[data-page="honorboard"] #confirm p{font-size:14px;line-height:1.6;color:#b1c3b4}
body.reborn[data-page="honorboard"] #confirm::backdrop{background:#000a;backdrop-filter:blur(3px)}
.friendsDialogActions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
@media(max-width:1180px){#friendsHub #friends,#friendsHub #blocked{grid-template-columns:repeat(2,minmax(0,1fr))}body.reborn[data-page="honorboard"] .academyBoardTop{grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);gap:16px}}
@media(max-width:700px){body.reborn[data-page="honorboard"] .academyBoardTop{grid-template-columns:minmax(0,1fr)}body.reborn[data-page="honorboard"] #honorBoardPanel{max-height:340px}#friendsHub .friendsRequestColumns{grid-template-columns:1fr}}
@media(max-width:600px){body.reborn #friendsHub{padding:18px 14px}#friendsHub #friends,#friendsHub #blocked{grid-template-columns:minmax(0,1fr)}body.reborn[data-page="honorboard"] #honorBoardPanel{padding:18px 14px}#friendsHub .friendsInvitePopover{max-width:calc(100vw - 60px);padding:13px}#friendsHub .friendsKicker{font-size:8px}#friendsHub #friendsRequests .row{flex-wrap:wrap}#friendsHub #friendsRequests .person{flex-basis:calc(100% - 60px)}#friendsHub #friendsRequests .actions{margin-left:56px}}
