.friend-section{margin-top:26px}.friend-dialog{width:min(560px,94vw);max-height:92vh;overflow:auto}.friend-form{display:flex;flex-direction:column;gap:12px}.friend-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.friend-head h2{margin:2px 0 0}.friend-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.friend-nums .field{min-width:0;margin:0}.friend-nums input,.friend-nums select{min-width:0;max-width:100%}.friend-form .field input,.friend-form .field select,.friend-form .field textarea{width:100%;box-sizing:border-box;min-height:44px}.friend-list-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.friend-exercises{list-style:decimal;margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto}.friend-exercises li{padding:4px 0;border-bottom:1px solid #ffffff1a}.friend-exercises li::marker{color:#9da5b5;font-weight:700}.friend-exercises li{display:list-item}.friend-ex-name{display:inline-flex;flex-direction:column;vertical-align:middle;max-width:calc(100% - 150px)}.friend-ex-name small{color:#9da5b5}.friend-ex-actions{float:right;display:inline-flex;gap:4px}.friend-ex-actions button{min-width:40px;min-height:40px;padding:0 10px}.friend-warn{font-size:13px}.friend-status{min-height:20px;color:#ffb38a;font-weight:700;margin:0}.friend-actions{display:flex;justify-content:flex-end;gap:10px}.friend-received{display:grid;gap:14px}.friend-card{background:#1b1f27;border:1px solid #414858;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px}.friend-card.is-new{border-color:#6baaf3;box-shadow:0 0 0 1px #6baaf3 inset}.friend-card-top{display:flex;gap:12px;align-items:center}.friend-card h3{margin:2px 0}.friend-cover{width:64px;height:64px;flex:none;border-radius:14px;object-fit:cover;background:#2b3240;display:flex;align-items:center;justify-content:center;font-size:24px}.friend-msg{margin:0;padding:10px 12px;border-left:0;border-radius:12px;background:#262c38;white-space:pre-wrap;font-style:normal}.friend-new{background:#6baaf3;color:#0d1420;border:0}.friend-card details summary{cursor:pointer;font-weight:700;min-height:36px}@media (max-width:520px){.friend-ex-name{max-width:100%}.friend-ex-actions{float:none;display:flex;margin-top:4px}.friend-nums{grid-template-columns:repeat(3,minmax(0,1fr))}}.friend-ways{display:flex;flex-direction:column;gap:10px;margin-top:4px}.friend-whats{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border:0;border-radius:14px;background:#1fa855;color:#fff;font-weight:800;font-size:1rem;cursor:pointer;box-shadow:0 4px 0 #13803f}.friend-whats:active{transform:translateY(3px);box-shadow:none}.friend-whats:disabled{opacity:.5}.friend-or{display:flex;align-items:center;gap:10px;color:#9da5b5;font-size:.85rem;text-align:center}.friend-or::after,.friend-or::before{content:"";flex:1;height:1px;background:#ffffff26}