.friends-quickbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 20px;padding:9px 12px;border-radius:12px;background:#e8f2fc;border:1px solid #b5d3ee}.friends-quickbar button{border:0;background:transparent;color:#124777;font-weight:750;padding:8px}.friends-quickbar button:first-child{background:#ffd633;color:#17324e;border-radius:8px}.friends-dialog{width:min(760px,calc(100% - 24px));max-height:90dvh;padding:0;border:1px solid #a9c8dd;border-radius:20px;color:#17324e;box-shadow:0 24px 80px #102f4a40}.friends-dialog::backdrop{background:#102c4c75}.friends-heading{display:flex;align-items:center;gap:12px;padding:16px;background:#184e7b;color:#fff;position:sticky;top:0;z-index:2}.friends-heading h2{font-size:20px;line-height:1.3;margin:0;flex:1;color:#fff}.friends-heading button{background:#fff;color:#184e7b;min-width:40px}.friends-tabs{display:flex;background:#e9f3fb;border-bottom:1px solid #bed4e5;padding:8px;gap:8px}.friends-tabs button{flex:1;border:0;padding:12px;border-radius:9px;background:transparent;color:#1a4c75;font-weight:700}.friends-tabs [aria-current]{background:#fff;box-shadow:0 2px 6px #22496820}.friends-body{padding:20px}.friend-private-note{background:#edf6ff;border-left:4px solid #2c79b5;padding:12px;font-size:14px}.friend-search,.friend-address-list,.friend-incoming,.friend-members,.archive-friend-roster{margin:16px 0;border:1px solid #b4cfdf;border-radius:12px;overflow:hidden}.friend-search summary,.friend-address-list summary,.archive-friend-roster summary,.friend-members summary{padding:14px;background:#e1f0fa;color:#164e7e;font-weight:750;cursor:pointer}.friend-search form,.friend-incoming>h3,.friend-incoming>p,.friend-address-list>p,.archive-friend-roster>p{padding:0 14px}.friend-search form{padding-top:14px}.friend-person{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border-bottom:1px solid #d5e4ec;flex-wrap:wrap}.friend-person small{display:block;margin-top:4px;color:#557083}.friend-person strong{color:#173b5b}.friend-person button{font-size:14px}.friend-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.friend-actions button{min-height:40px}.friend-state{font-size:13px;color:#226a4d;font-weight:700}.friend-checkbox{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #d5e4ec}.friend-checkbox input{width:20px;height:20px}.friends-body fieldset{border:1px solid #b4cfdf;border-radius:12px;margin:16px 0}.friend-chat-row{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left;width:100%;padding:16px;margin:12px 0;border:1px solid #9ec8cf;border-left:5px solid #188578;border-radius:12px;background:#e6f6f1;color:#15495b}.friend-chat-row strong{display:flex;align-items:center;gap:9px;font-size:17px}.friend-chat-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-members>span{display:block;padding:8px 14px}.friend-messages{max-height:43dvh;min-height:180px;overflow:auto;padding:16px;background:linear-gradient(#f3f8fcdb,#f3f8fcdb),url('chat-padel-background.svg') center/cover;border-radius:12px;display:flex;flex-direction:column;gap:12px}.friend-message{background:#fff;border:1px solid #cadee9;padding:10px 14px;border-radius:13px;max-width:88%;width:fit-content;box-shadow:0 2px 4px #1245670a}.friend-message.is-mine{align-self:flex-end;background:#d8f2e5;border-color:#96cdb8}.friend-message strong{font-size:12px;color:#1e6a83}.friend-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.friend-message time{font-size:11px;color:#557083;display:block;text-align:right}.friend-empty{text-align:center;color:#527087}.friend-composer{display:flex;gap:10px;align-items:end;padding-top:14px}.friend-composer .field{flex:1;margin:0}.friend-composer button{margin-bottom:2px}.friends-chat-entry{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;width:100%;padding:18px 40px 18px 18px;margin:0 0 16px;border:1px solid #70bbac;border-left:6px solid #178479;border-radius:14px;background:#daf2e8;color:#145b52}.friends-chat-entry strong{display:flex;align-items:center;gap:8px;font-size:18px}.friends-chat-entry>b{position:absolute;right:18px;top:22px;font-size:24px}.friends-chat-entry>span{font-size:13px}.friend-notifications{margin-bottom:24px}.friend-notifications h2{color:#174e79}.friend-notice{padding:18px;margin:12px 0;border:1px solid #bbd1ed;border-left:5px solid #5474b6;border-radius:14px;background:#eff1ff}.friend-notice.is-unread{background:#e3edff;border-color:#789bce}.friend-notice>strong{display:block;font-size:19px;margin-top:8px;color:#214e82}.friend-label{font-size:12px;font-weight:800;text-transform:uppercase;color:#4a568c;letter-spacing:.035em}.friend-notice>small{color:#526f8a}@media(max-width:540px){.friends-quickbar{padding:6px;gap:2px}.friends-quickbar button{font-size:12px;padding:8px}.friends-body{padding:12px}.friends-heading{padding:12px;gap:8px}.friends-heading h2{font-size:17px}.friend-person{padding:12px}.friend-message{max-width:94%}.friend-composer{gap:6px}.friends-dialog{max-height:94dvh}.friend-actions .primary,.friend-actions .outline{font-size:13px}}

/* Secondary notices remain compact above the always-visible activity inbox. */
.notice-disclosure{margin:0 0 12px;border:1px solid #bdcedb;border-radius:12px;background:#fff;overflow:hidden;min-width:0}
.notice-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:12px 14px;min-height:48px;background:#eaf3f8;color:#193e58;font-size:16px;font-weight:750}
.notice-disclosure>summary::-webkit-details-marker{display:none}.notice-disclosure>summary:before{content:'›';font-size:24px;line-height:1}.notice-disclosure[open]>summary:before{transform:rotate(90deg)}
.notice-disclosure>summary>span{flex:1;min-width:0;overflow-wrap:anywhere}.notice-disclosure>summary>b{border-radius:16px;min-width:30px;padding:3px 8px;text-align:center;background:#245980;color:#fff}.notice-disclosure>summary>small{font-size:13px;font-weight:500}.notice-disclosure-body{padding:0 12px 12px}.notice-disclosure .friend-notice{margin:12px 0 0}.notice-disclosure>summary:focus-visible{outline:3px solid #245980;outline-offset:-3px}
@media(max-width:500px){.notice-disclosure>summary{gap:8px;padding:12px;font-size:15px}.notice-disclosure>summary>small{font-size:12px}}
