.friends-trigger{display:flex;align-items:center;gap:8px;border:0;border-radius:15px;padding:13px 15px;background:#fff9;color:#7353a4;font-weight:800;font-size:13px;white-space:nowrap}.friends-trigger svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.friends-count{display:grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:#f4778d;color:white;font-size:10px}.friends-count:empty{display:none}.play-header .friends-trigger{margin-left:0}.play-header .avatar{margin-left:0}#friends-panel{position:fixed;inset:0 0 0 auto;margin:0;width:440px;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:22px 0 0 22px;background:#f9f6ff;box-shadow:-12px 0 80px #3a235433;color:#3d2a61;padding:0;overflow:hidden}#friends-panel[open]{display:flex;flex-direction:column}.friends-head,.friends-tabs-row,.friends-footer{flex-shrink:0}#friends-panel::backdrop{background:#21143870;backdrop-filter:blur(3px)}.friends-head{display:flex;align-items:center;justify-content:space-between;padding:26px 25px 17px;background:#f0e9fc}.friends-head small{font-size:9px;letter-spacing:1.5px;color:#a287ba;font-weight:800}.friends-head h2{font:800 30px 'Outfit',sans-serif;margin:4px 0 0;letter-spacing:-1px}.friends-close{border:0;background:#fff8;border-radius:50%;width:32px;height:32px;font-size:22px;color:#9579b4}.friends-toolbar{padding:16px 24px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.friends-toolbar p{font-size:12px;color:#957faa;margin:0}.friends-add{border:0;border-radius:11px;background:#7650cc;color:#fff;padding:10px 13px;font-size:12px;font-weight:800}.friends-tabs-row{display:flex;align-items:center;gap:12px;margin:19px 24px 0;border-bottom:1px solid #e4dbee}.friends-tabs{display:flex;min-width:0;gap:16px}.friends-refresh{display:grid;place-items:center;margin-left:auto;flex-shrink:0;width:40px;height:40px;padding:10px;border:0;border-radius:10px;background:transparent;color:#7955a7;cursor:pointer}.friends-refresh svg{width:20px;height:20px}.friends-refresh:hover{background:#eee5f8;color:#6034a0}.friends-refresh:disabled{opacity:.5;cursor:wait}.friends-tabs button{border:0;background:none;color:#a58abb;padding:10px 0 13px;font-size:12px;font-weight:800;border-bottom:3px solid transparent}.friends-tabs button[aria-selected=true]{color:#7550bd;border-color:#8b65d3}.friends-tabs em{font-style:normal;font-size:9px;background:#eee4fc;padding:2px 5px;border-radius:5px;margin-left:3px}.friends-body{padding:21px 24px}.friends-search{width:100%;border:1px solid #e6ddf0;border-radius:12px;background:white;padding:11px 13px;font:12px 'DM Sans',sans-serif;color:#6c518b;margin-bottom:17px}.friend-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #eee6f5;padding:16px 0}.friend-face{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#b9e9ee;color:#477d91;font-weight:900;font-size:22px;flex-shrink:0}.friend-face.coral{background:#ffd7d0;color:#b87579}.friend-face.purple{background:#ddcff7;color:#9874c3}.friend-face i{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;border:2px solid #f9f6ff;border-radius:50%;background:#79c998}.friend-face i.offline{background:#c4b7ce}.friend-identity{flex:1;min-width:0}.friend-identity b{font:700 15px 'Outfit',sans-serif;display:block}.friend-identity small{display:block;color:#a58bb9;font-size:10px;margin-top:4px;overflow-wrap:anywhere}.friend-action{border:0;border-radius:10px;padding:9px 11px;background:#e9e0f8;color:#7955a7;font-weight:800;font-size:11px}.friend-action.primary{background:#7a51ce;color:#fff}.friend-more{border:0;background:none;color:#b09bc4;font-size:20px;padding:6px}.friends-empty{text-align:center;color:#a089b3;font-size:12px;padding:35px 12px;line-height:1.8}.friends-section-title{font-size:9px;letter-spacing:1.5px;color:#ac96bf;margin:22px 0 0}.friends-subhead{font:800 23px 'Outfit',sans-serif;margin:8px 0 10px}.friends-copy{font-size:12px;color:#9c83af;line-height:1.7;margin:0 0 20px}.friend-label{font-size:10px;font-weight:800;color:#9674af;display:block;margin-bottom:8px}.friend-input{width:100%;background:#fff;border:1px solid #dccde9;border-radius:12px;padding:13px;font:14px 'DM Sans',sans-serif;color:#64457e}.friends-wide{width:100%;border:0;border-radius:12px;background:#7650cc;color:white;font-weight:800;padding:13px;margin-top:12px}.friends-link{border:0;background:none;color:#9d81b5;font-size:11px;padding:12px 0}.friends-note{padding:18px 24px;border-top:1px solid #e8dff2;font-size:10px;line-height:1.6;color:#b29cc2;margin-top:8px}.friends-status{font-size:11px;color:#81649e;line-height:1.6;min-height:20px;margin-top:12px}.invite-game{display:flex;align-items:center;width:100%;border:1px solid #e7dcef;background:#fff;border-radius:13px;padding:8px;text-align:left;gap:12px;margin:10px 0;color:#6b4a88}.invite-game img{width:82px;height:55px;object-fit:cover;border-radius:9px}.invite-game b{font:700 15px 'Outfit',sans-serif}.invite-game small{display:block;color:#ac95bd;font-size:10px;margin-top:4px}.invite-game>span:last-child{margin-left:auto;padding:10px;font-size:20px}.invitation-card{border:1px solid #e5d7f3;border-radius:16px;background:#fff;padding:17px;margin:14px 0}.invitation-card p{font-size:12px;line-height:1.7;color:#957ca9}.invitation-card>img{width:100%;height:110px;object-fit:cover;border-radius:10px;margin:10px 0}.invitation-actions{display:flex;gap:9px;margin-top:12px}.friend-summary{background:#ede5f8;border-radius:15px;padding:17px;display:flex;gap:13px;align-items:center;margin:18px 0}.danger-action{color:#bb6781;background:#fce9ef}.friends-demo-tag{font-size:8px;color:#a385b8;background:#eee4f9;padding:4px 6px;border-radius:5px;letter-spacing:.4px}.friends-friend-picker{border:0;border-radius:10px;background:#e8dcf6;color:#7c56a4;padding:10px 15px;font-weight:700;font-size:11px;margin-top:8px}@media(max-width:900px){.friends-trigger{padding:12px}.friends-trigger .friends-trigger-label{display:none}header .search{width:250px}}@media(max-width:620px){.friends-trigger{padding:10px;gap:5px;border-radius:12px}.friends-trigger svg{width:20px;height:20px}.friends-count{height:15px;min-width:15px;font-size:9px}#friends-panel{border-radius:0;width:100%}.friends-head{padding:23px 21px 17px}.friends-body{padding:19px 21px}.friends-toolbar{padding:16px 21px 0}.play-header{gap:10px}.play-header .brand{font-size:28px}.play-header .avatar{display:none}.play-header .friends-trigger{margin-left:auto}header .search{width:100%}}

.friends-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:288px;box-sizing:border-box;padding:24px 20px;flex:1;background:transparent;border:0;text-align:center}
.friends-empty-art{display:block;width:180px;height:135px;max-width:100%;object-fit:contain;margin:0 0 12px}
.friends-empty-state h3{font:800 21px/1.2 'Outfit',sans-serif;letter-spacing:-.4px;color:#62438a;margin:0 0 9px}
.friends-empty-state p{max-width:270px;font-size:12px;line-height:1.7;color:#8c75a4;margin:0}
.friends-empty-search{min-height:250px}.friends-empty-search .friends-empty-art{width:136px;height:102px}
.friends-empty-reset{margin-top:14px;border:0;border-radius:10px;padding:10px 15px;background:#e9def8;color:#7650ad;font-size:12px;font-weight:800;cursor:pointer}.friends-empty-reset:hover{background:#dfcff3}
.friends-empty-compact{display:flex;align-items:center;justify-content:center;gap:12px;min-height:110px;padding:20px 14px;text-align:center}.friends-empty-compact span{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;color:#9771c0;font-size:21px}.friends-empty-compact p{margin:0;font-size:12px;color:#947baa}
.friends-notice:empty{display:none}
@media(max-width:360px){.friends-empty-state{padding:22px 15px}.friends-empty-state h3{font-size:20px}}

/* Shared live status in the friend panel and the game picker. Text complements color. */
.friend-identity .friend-presence,.picker-identity .friend-presence{font-size:11px;line-height:1.35;color:#806b91;display:flex;align-items:center;gap:6px}
.friend-presence i{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#a89bb2}
[data-presence="online"] .friend-presence i{background:#389361}
[data-presence="in-game"] .friend-presence i{background:#b67c21}
[data-presence="unknown"] .friend-presence i{background:transparent;border:1px solid #a89bb2}
