/* Clubhouse friends (club-friends.js). Overrides trade-clubhouse.css's 44px header buttons where needed. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header.cf-ready .trade-next-friend{display:none!important}
#main .clubhouse .trade-friend-header.cf-ready>div{display:flex;align-items:center;gap:6px;flex:0 1 auto!important;min-width:0}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.cf-next{position:relative;width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;max-height:48px!important;flex:0 0 48px!important;padding:2px!important;border-radius:50%!important;background:#f6efff!important;border:3px solid #fff!important;box-shadow:0 3px 0 #dccbea,0 4px 10px #4b2a7b33!important;overflow:visible;margin-left:0!important}
#main .clubhouse .trade-friend-header button.cf-next img{width:100%;height:100%;object-fit:contain;border-radius:50%}
#main .clubhouse .trade-friend-header button.cf-next i{position:absolute;right:-6px;bottom:-4px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#8a5ad6;color:#fff;font-style:normal;font-weight:900;font-size:17px;line-height:1;border:2px solid #fff;padding-bottom:2px}
/* real friend */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.ft-open.cf-label{margin-left:auto!important;height:52px!important;max-height:52px!important;min-height:52px!important;padding:0 14px 0 4px!important;border-radius:26px!important;background:linear-gradient(#fff,#fff3fa)!important;border:3px solid #fff!important;box-shadow:0 3px 0 #f0cde0,0 6px 14px #b4589033!important;position:relative}
html body #main .clubhouse .trade-friend-header button.ft-open.cf-label img{width:42px!important;height:42px!important}
html body #main .clubhouse .trade-friend-header button.ft-open.cf-label span{display:grid!important;text-align:left;line-height:1.02;font-size:15px!important;font-weight:800;color:#4b2a7b}
html body #main .clubhouse .trade-friend-header button.ft-open.cf-label span small{font-size:11px;font-weight:700;color:#9a6f9c}
.cf-badge{position:absolute;top:-9px;right:-6px;padding:1px 7px;border-radius:10px;background:#ff6fa8;color:#fff;font-size:11px;font-weight:900;border:2px solid #fff;letter-spacing:.5px}
.ft-open.cf-new{animation:cf-glow 2.4s ease-in-out infinite}
@keyframes cf-glow{50%{box-shadow:0 3px 0 #f0cde0,0 0 0 6px #ffb3d466,0 6px 18px #ff6fa866}}
@media(max-width:600px){html body #main .clubhouse .trade-friend-header button.ft-open.cf-label span{display:grid!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.ft-open.cf-label{width:auto!important;max-width:none!important;flex:0 0 auto!important;aspect-ratio:auto!important;padding:0 10px 0 2px!important}}
@media (prefers-reduced-motion:reduce){.ft-open.cf-new{animation:none}}
body.calm-mode .ft-open.cf-new{animation:none}
html body.ui2[data-place=trade] #main .clubhouse .trade-friend-header button.ft-open.cf-label span small{display:block!important}
/* trade top row breathes (Mac, 10/24): no dots over Poppy, "Trade with a friend" becomes a picture button */
#main .clubhouse .club-friend-dots{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.ft-open.cf-label{width:64px!important;min-width:64px!important;max-width:64px!important;padding:0!important;justify-content:center!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button.ft-open.cf-label>:not(img):not(.sq-em):not(.cf-new-tag):not([class*=new]){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
#main .clubhouse .club-session-count{display:none!important}
