.invite-friend-button,.friend-profile-button{background:linear-gradient(115deg,#7b49dd,#5d37b8);border:1px solid #b99bf470;color:#fff;box-shadow:0 4px 15px #542da52b;gap:8px;font-weight:750;white-space:nowrap}
.invite-friend-button:hover,.friend-profile-button:hover{background:linear-gradient(115deg,#9560f3,#7547d4);border-color:#c7adff;box-shadow:0 4px 20px #8458ed4d}
.player-toolbar .invite-friend-button{font-size:14px;min-height:40px;padding:9px 13px;flex:0 0 auto}
.player-toolbar .invite-friend-button .icon{width:19px;height:19px}
.profile-friend-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}
.profile-friend-actions .friends-status{width:100%;margin:0}
.profile-friend-actions button{min-height:44px}
.profile-friend-actions[data-state="friends"] .friend-profile-button{cursor:default;opacity:1;background:#79519c29;border-color:#b393c54d;color:#dcc5ef;box-shadow:none}
.friends-drawer{position:fixed;inset:76px 12px 12px auto;width:440px;max-width:calc(100vw - 24px);height:calc(100dvh - 88px);max-height:none;padding:0;margin:0;border:1px solid #b59aea36;border-radius:18px;background:#201d32;color:#faf7ff;box-shadow:-12px 12px 60px #08031466;overflow:hidden;z-index:1000}
.friends-drawer::backdrop{background:#08051552}
.friends-drawer[open]{display:flex;flex-direction:column;animation:friends-drawer-enter .22s ease-out}
.friends-drawer:not([open]),.friends-drawer [hidden],.profile-friend-actions[hidden],.account-friends-page [hidden]{display:none!important}
.friends-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:17px 24px;border-bottom:1px solid #b29ad41f;flex:0 0 auto}
.friends-drawer-header h2{font-size:23px;line-height:1.25;letter-spacing:-.3px;margin:0;font-weight:800}
.friends-drawer-close{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;background:#b6a1e512;border:1px solid transparent;border-radius:50%;color:#eee6ff;font-size:33px;line-height:1;cursor:pointer}
.friends-drawer-close:hover{background:#b6a1e526;border-color:#c6b2e547}
.friends-drawer-scroll{position:relative;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:32px 25px max(20px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#6e568c #201d32;-webkit-overflow-scrolling:touch}
.friends-drawer-scroll h3{font-size:29px;line-height:1.25;letter-spacing:-.6px;margin:9px 0 17px;font-weight:850;white-space:pre-line}
.friends-drawer-loading{padding:25px 0;min-height:120px;color:#d1c5e1;font-size:16px}
.friends-eyebrow{color:#c3a2ff;text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:850;margin:0 0 10px}
.friends-drawer-copy{color:#bfb4d0;font-size:16px;line-height:1.65;margin:0}
.friends-auth-actions{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:27px}
.friends-drawer .button,.account-friends-page .friends-primary{min-height:44px;border-radius:12px;font-size:15px;font-weight:800;justify-content:center}
.friends-primary{background:linear-gradient(105deg,#8f57f8,#7542e4);border:1px solid #b393f46b;color:#fff;box-shadow:0 4px 20px #8150ed26}
.friends-primary:hover{background:linear-gradient(105deg,#a975ff,#8c5bf0);border-color:#d5baff;color:#fff;box-shadow:0 4px 20px #8150ed50}
.friends-auth-actions>.friends-primary{width:100%;min-height:50px;border-radius:25px;font-size:17px}
.friends-login-link{display:inline-flex;align-items:center;gap:7px;justify-content:center;color:#c6aff4;font-size:13px;line-height:1.6;text-align:center;text-decoration:underline;text-underline-offset:3px}
.friends-login-link:hover{color:#fff}
.friends-divider{position:relative;text-align:center;margin:24px 0 15px;color:#a99aba;font-size:13px}
.friends-divider:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:1px solid #a589c532}
.friends-divider span{position:relative;background:#201d32;padding:0 15px}
.friends-copy-guest{width:100%;min-height:49px!important;border:1px solid #b892ed;background:#302547;color:#dfc8ff;border-radius:25px!important;gap:9px}
.friends-copy-guest:hover{background:#423057;border-color:#d5b7ff}
.friends-copy-guest .icon{width:19px;height:19px}
.friends-guest-manual{margin-top:15px}.friends-guest-manual label{font-size:12px;color:#c8b9d9}.friends-guest-manual input{font-size:13px;background:#302940;border-color:#a180c355}
.friends-small{color:#a99eb9;font-size:12px;line-height:1.65;margin:15px 0 0}
.friends-link-label{display:block;color:#ddd2ed;font-size:14px;font-weight:650;margin:25px 0 10px}
.friends-link-control{display:flex;align-items:stretch;padding:5px;gap:5px;border:1px solid #b199d23b;border-radius:15px;background:#302940}
.friends-link-control input{width:0;min-width:0;flex:1;background:transparent;border:0;color:#dcd2eb;border-radius:9px;padding:10px;font-size:13px;text-overflow:ellipsis;box-shadow:none}
.friends-link-control button{padding:9px 12px;min-width:108px;white-space:nowrap;flex:0 0 auto;font-size:13px!important}
.friends-reward-note{display:flex;align-items:center;gap:15px;border:1px solid #ae89e646;padding:17px 14px;background:linear-gradient(110deg,#7745b92e,#45375724);border-radius:14px;margin-top:22px}
.friends-reward-value{font-size:28px;font-weight:900;letter-spacing:-1px;color:#ffe1a1;line-height:1;flex:0 0 auto}
.friends-reward-note p{font-size:13px;line-height:1.65;color:#ddd1e9;margin:0}
.friends-manage-link{margin-top:18px}
.friends-status{font-size:13px;line-height:1.65;color:#d1b9fa;overflow-wrap:anywhere}
.friends-copy-status{margin:16px 0 0;min-height:0}
.friends-copy-status:empty,.friends-status:empty{display:none}
.friends-drawer-error{padding:15px 0;color:#f1d3dc;font-size:15px;line-height:1.65}
.friends-drawer-art{position:relative;height:238px;margin:25px -25px -20px;overflow:hidden;background:radial-gradient(ellipse at 50% 75%,#864edf45,transparent 69%)}
.friends-art-orbit{position:absolute;width:305px;height:124px;left:50%;bottom:6px;margin-left:-152px;border:1px solid #ae83ee2e;border-radius:50%;transform:rotate(-13deg)}
.friends-art-card{position:absolute;display:flex;align-items:center;justify-content:center;width:142px;height:148px;border:1px solid #ceb1ff65;background:linear-gradient(130deg,#b688ff,#7752bd 70%);box-shadow:0 12px 28px #07041280,inset 0 1px 2px #ecd7ff66;border-radius:29px;bottom:33px}
.friends-art-card .icon{width:77px;height:77px;color:#f3e8ff;filter:drop-shadow(0 4px 4px #54358a40)}
.friends-art-card i{position:absolute;bottom:15px;right:16px;font-style:normal;font-size:12px;font-weight:900;letter-spacing:2px;color:#e5d1fb}
.friends-art-card-one{left:calc(50% - 141px);transform:rotate(-13deg)}
.friends-art-card-two{left:calc(50% - 2px);bottom:46px;transform:rotate(12deg);background:linear-gradient(135deg,#cba4ff,#9167d7 70%)}
.friends-art-spark,.friends-art-star{position:absolute;font-size:27px;color:#e6c2ff;left:17%;top:23px;transform:rotate(-12deg)}
.friends-art-star{left:auto;right:15%;top:8px;font-size:17px;color:#fbd493}
.friends-art-chip{position:absolute;bottom:19px;left:50%;margin-left:-40px;padding:11px 17px;background:#ffe2a1;border:1px solid #ffecbf;box-shadow:0 4px 16px #6b451c40;color:#634320;border-radius:14px;font-size:22px;font-weight:900;transform:rotate(-5deg)}
.friends-copy-fallback{position:fixed;left:0;top:0;width:1px;height:1px;padding:0;opacity:.001}
.friends-drawer :focus-visible,.profile-friend-actions :focus-visible,.invite-friend-button:focus-visible,.account-friends-page :focus-visible{outline:3px solid #d6b5ff;outline-offset:3px}
.friends-page-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:28px 0}
.friends-page-heading h1{margin:0 0 10px;font-size:36px;letter-spacing:-.5px}
.friends-page-heading p:last-child{font-size:15px;line-height:1.65;color:#bfb6ca;margin:0}
.friends-page-heading>.button{flex:0 0 auto;gap:8px}
.friends-account-bonus{display:flex;align-items:center;gap:13px;padding:17px 20px;background:#7b4ab01f;border:1px solid #ad82dc40;border-radius:13px;color:#cfc0df;font-size:13px;line-height:1.7}
.friends-account-bonus .icon{width:27px;height:27px;color:#efca80;flex:0 0 auto}
.friends-list-section{margin-top:31px}
.friends-list-section .section-heading h2{display:flex;align-items:center;gap:11px;font-size:21px}
.friends-count{display:inline-flex;justify-content:center;min-width:27px;padding:3px 8px;background:#a17bdd24;border-radius:16px;color:#d4bbfa;font-size:12px}
.friends-list{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.friends-person{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;background:#302b3a;border:1px solid #a594c72b;border-radius:14px;min-width:0}
.friends-person-profile{display:flex;align-items:center;gap:11px;min-width:0;flex:1;color:#f2edf8}
.friends-person-profile:hover{color:#d3b3ff}
.friends-person-profile strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.friends-person-avatar{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:48px;height:48px;overflow:hidden;border-radius:14px;background:linear-gradient(130deg,#8766b8,#453451);border:1px solid #af8dde55;color:#ffe0a1;font-size:25px;font-weight:850;text-transform:uppercase}
.friends-person-avatar img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}
.friends-person-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.friends-person-actions .button{font-size:12px;min-height:38px;padding:8px 11px;border-radius:9px}
.friends-empty{padding:38px 22px;background:#2d293526;border:1px dashed #9f85bb40;border-radius:15px;text-align:center}
.friends-empty>.icon{width:42px;height:42px;color:#b796e4;margin-bottom:13px}
.friends-empty h3{font-size:21px;margin:0 0 10px}
.friends-empty p{max-width:530px;margin:0 auto;color:#b7a9c6;font-size:14px;line-height:1.7}
@keyframes friends-drawer-enter{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1180px){.friends-list{grid-template-columns:1fr}}
@media(max-width:760px){.friends-drawer{inset:64px 8px 8px auto;height:calc(100dvh - 72px);max-width:calc(100vw - 16px)}.player-toolbar .invite-friend-button{font-size:12px;padding:9px 11px;min-height:40px}.player-toolbar>.player-toolbar-actions{gap:9px}.profile-friend-actions{grid-column:1/-1;width:100%;margin:4px 0}.friends-page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin:24px 0}.friends-page-heading h1{font-size:29px}.friends-account-bonus{padding:15px}.friends-person-actions .button{min-height:42px}}
@media(max-width:480px){.friends-drawer{inset:0;width:100%;max-width:none;height:100dvh;border-radius:0;border:0}.friends-drawer-header{padding:calc(15px + env(safe-area-inset-top)) 18px 15px;min-height:71px}.friends-drawer-header h2{font-size:22px}.friends-drawer-scroll{padding:26px 20px max(24px,env(safe-area-inset-bottom))}.friends-drawer-scroll h3{font-size:27px}.friends-drawer-copy{font-size:15px}.friends-drawer-art{margin-left:-20px;margin-right:-20px;height:218px}.player-toolbar>.player-toolbar-actions{width:100%;margin-left:0;justify-content:flex-end;column-gap:9px;row-gap:7px}.player-toolbar .invite-friend-button{margin-right:auto;font-size:12px}.player-toolbar .invite-friend-button span{display:inline}.friends-person{flex-wrap:wrap;gap:13px;padding:14px}.friends-person-profile{flex-basis:55%}.friends-person-actions{margin-left:auto}.friends-link-control button{min-width:100px;padding:9px}.friends-reward-note{gap:12px;padding:15px 12px}.friends-art-card{width:132px;height:138px}.friends-art-card-one{left:calc(50% - 132px)}.friends-reward-value{font-size:26px}.friends-list-section .section-heading h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.friends-drawer[open]{animation:none}}

.friends-page-heading>div{width:100%;min-width:0}.friends-title-row{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:10px}.friends-title-row h1{margin:0}.friends-title-row>.button{flex:0 0 auto;gap:8px;min-height:44px;font-size:15px;white-space:nowrap}
@media(max-width:480px){.friends-title-row{gap:8px}.friends-title-row h1{font-size:27px}.friends-title-row>.button{padding:9px 11px;font-size:13px}.friends-title-row>.button .icon{width:17px;height:17px}}
