/* The clubhouse uses the existing offer, inventory and confirmation handlers. */
html body.ui2.ui2.ui2[data-mode][data-place=trade]{background:#dceee3 url('./assets/trade-clubhouse/clubhouse-ipad.webp') center/100% 100% no-repeat!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main{position:fixed!important;inset:calc(76px + var(--sat,0px)) 0 calc(90px + var(--sab,0px))!important;width:100%!important;height:auto!important;max-width:none!important;padding:0!important;margin:0!important;display:block!important;overflow:hidden!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse{position:relative!important;width:100%!important;height:100%!important;display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header{position:absolute!important;inset:0 3% auto!important;height:52px!important;display:flex!important;gap:10px!important;border:0!important;background:transparent!important;z-index:10!important;padding:0!important}
#main .clubhouse .trade-friend-header>.trade-mission,#main .clubhouse .trade-friend-header>.friend-closeup,#main .clubhouse .trade-friend-header small,#main .clubhouse .trade-friend-header button span{display:none!important}
#main .clubhouse .trade-friend-header h1{font-size:22px!important;padding:6px 20px!important;background:#fff8e9!important;border-radius:24px!important}#main .clubhouse .trade-friend-header button:first-of-type{margin-left:auto!important}
#main .clubhouse .club-host{position:absolute;inset:0 0 auto;height:39%;overflow:hidden;z-index:1;pointer-events:none}
#main .clubhouse .club-host>img{position:absolute;left:50%;top:auto;bottom:-30%;height:130%;width:auto;max-width:none;transform:translateX(-50%);object-fit:contain}
#main .clubhouse .club-host>.friend-closeup{position:absolute;left:35%;bottom:-12%;width:30%;height:85%;transform:none}
#main .clubhouse .club-mat{position:absolute;left:16%;top:39%;width:64%;height:37%;z-index:1}
#main .clubhouse .club-basket,#main .clubhouse .club-basket-front{position:absolute;left:78%;top:38%;width:21%;height:24%;object-fit:contain;z-index:2;pointer-events:none}#main .clubhouse .club-basket-front{z-index:6}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;display:block!important;transform:none!important;overflow:visible!important;padding:0!important;pointer-events:none}
#main .clubhouse .trade-mat:before,#main .clubhouse .trade-mat:after,#main .clubhouse .opponent-actions,#main .clubhouse .offer-label{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone{position:absolute!important;left:29%!important;top:39%!important;width:38%!important;height:19%!important;padding:0!important;border:0!important;background:none!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:4;pointer-events:auto}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone[data-drop]{top:56%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys{display:flex!important;gap:3px!important;width:100%!important;height:100%!important;min-height:0!important;align-items:center!important;justify-content:center!important;padding:0!important;background:transparent!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys>button{background:transparent!important;border:0!important;box-shadow:none!important;width:100%!important;max-width:180px!important;height:100%!important;padding:0!important;min-width:0!important;display:flex!important;align-items:center;justify-content:center;transition:transform .2s}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys .toy{width:min(100%,17vh)!important;height:auto!important;aspect-ratio:1!important;flex:none!important;filter:drop-shadow(0 7px 4px #67482728)}
#main .clubhouse .club-pressed .toy{transform:scale(1.14,.8)!important}
#main .clubhouse .empty-offer{min-height:0!important;width:48px!important;height:48px!important;padding:0!important;border:2px dashed #bda4c5!important;border-radius:50%!important;opacity:.7}#main .clubhouse .empty-offer .guide-hand{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{position:absolute!important;left:25%!important;right:30%!important;bottom:17%!important;height:50px!important;display:flex!important;justify-content:center!important;gap:12px!important;background:none!important;border:0!important;z-index:8!important;pointer-events:auto}
#main .clubhouse .trade-actions button{height:48px!important;min-width:48px!important;width:65px!important;padding:10px!important;border-radius:22px!important}#main .clubhouse .trade-actions small,#main .clubhouse .trade-actions [data-action=nextfriend]{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-tray{position:absolute!important;left:18%!important;bottom:0!important;width:64%!important;height:15%!important;min-height:0!important;display:flex!important;align-items:center!important;gap:5px!important;padding:6px!important;border:3px solid #fff8e9!important;border-radius:24px!important;background:#fff8e9ed!important;box-shadow:none!important;z-index:8!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .tray-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;height:100%!important;min-height:0!important;gap:6px!important;overflow:hidden!important;padding:0!important}
#main .clubhouse .trade-tray:before,#main .clubhouse .trade-tray:after{display:none!important}#main .clubhouse .tray-toy{height:100%!important;min-height:0!important;padding:3px!important;position:relative;overflow:hidden;background:#f9f1de!important;border-radius:16px!important}#main .clubhouse .tray-toy[hidden]{display:none!important}#main .clubhouse .tray-toy>span:last-child{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .tray-toy .toy{width:auto!important;height:100%!important;aspect-ratio:1!important;max-width:100%!important;margin:auto!important}
.club-page{flex:0 0 40px;height:48px;border:0;border-radius:16px;background:#eee2f5;color:#74528b;font-size:30px}.club-page:disabled{opacity:.3}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{position:absolute!important;bottom:23%!important;left:20%!important;right:20%!important;top:auto!important;margin:0!important;padding:4px 12px!important;width:auto!important;min-height:0!important;max-height:34px;overflow:hidden;font-size:15px!important;background:#fff8e9e8!important;border:0!important;border-radius:18px!important;z-index:8!important;text-align:center}
#main .clubhouse .trade-footer{position:absolute;right:3%;bottom:0;z-index:9}#main .clubhouse .trade-footer button{font-size:0!important;min-width:44px!important;padding:8px!important}#main .clubhouse .trade-footer svg{width:24px!important;height:24px!important}
.club-card{position:absolute;left:81%;top:65%;width:16%;height:13%;padding:6px;display:flex;gap:5px;background:#fff8e9;border:3px solid white;border-radius:16px;box-shadow:0 4px #bda582;z-index:7;transform:rotate(3deg)}.club-sign{flex:1;min-width:0;position:relative;background:#efe4f5;border:2px dashed #c7b6d2;border-radius:10px;display:grid;place-items:center}.club-sign.friend{background:#e0f0e6}.club-sign>.friend-closeup,.club-sign>svg{position:absolute;top:2%;left:30%;width:40%!important;height:32%!important}.club-sign>b{font-size:32px;color:#278879;opacity:0;transform:rotate(-12deg)}.club-sign.signed>b{opacity:1}
.club-stamp{position:absolute;width:10%;height:22%;object-fit:contain;z-index:10;opacity:0;pointer-events:none}.club-stamp.stamping{animation:club-stamp .65s both}@keyframes club-stamp{0%{opacity:0;transform:translateY(-35px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-35px)}}
.club-swapping .trade-tray,.club-swapping .trade-actions{pointer-events:none}.club-swapping .yours{animation:club-give .75s both}.club-swapping .theirs{animation:club-receive .75s both}@keyframes club-give{to{transform:translate(35vw,-12vh) scale(.35);opacity:.2}}@keyframes club-receive{to{transform:translateY(30vh) scale(.65);opacity:.2}}
html body.ui2.ui2.ui2[data-mode][data-place=trade] .trade-rest-screen{height:100%!important;background:transparent!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:0!important;border:0!important}.trade-rest-screen:before{content:'';display:block;width:40%;height:55%;background:url('./assets/trade-clubhouse/poppy-resting.webp') center/contain no-repeat}.trade-rest-screen .trade-rest-visual>span{display:none!important}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade]{background-image:url('./assets/trade-clubhouse/clubhouse-iphone.webp')!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main{inset:calc(68px + var(--sat,0px)) 0 calc(88px + var(--sab,0px))!important}#main .clubhouse .club-host{height:37%}#main .clubhouse .club-host>img{height:136%;bottom:-31%}#main .clubhouse .club-mat{left:3%;top:38%;width:94%;height:37%}#main .clubhouse .club-basket,#main .clubhouse .club-basket-front{left:73%;top:34%;width:27%;height:17%}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone{left:17%!important;top:38%!important;width:66%!important;height:19%!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone[data-drop]{top:55%!important}.club-card{left:74%;top:74%;width:24%;height:9%;padding:4px;gap:3px}.club-sign>b{font-size:25px}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{left:10%!important;right:30%!important;bottom:16%!important;height:44px!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-tray{left:2%!important;width:96%!important;height:13%!important}#main .clubhouse .trade-footer{right:2%;bottom:26%}.club-page{flex-basis:28px;min-width:28px}#main .clubhouse .trade-friend-header h1{font-size:18px!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{bottom:25%!important;left:5%!important;right:5%!important;max-height:30px;font-size:13px!important}.club-stamp{width:18%;height:20%}.trade-rest-screen:before{width:75%}}
@media(prefers-reduced-motion:reduce){#main .clubhouse *{animation:none!important;transition:none!important}}

html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat{z-index:3!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat:before,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat:after{display:none!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{top:auto!important;transform:none!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header{transform:none!important}

html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-zone:before,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-zone:after,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys:after{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-next-friend{display:flex!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign .friend-closeup{overflow:hidden!important;background:none!important;border:0!important;box-shadow:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign .clay-pal{width:100%!important;height:100%!important;background-position:center!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse{background:url('./assets/trade-clubhouse/clubhouse-ipad.webp') center/100% 100% no-repeat!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host{height:44.7%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img{height:110%;bottom:-33%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-mat{top:45%;height:32%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone{top:44%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone[data-drop]{top:59%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header{width:94%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-basket,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-basket-front{top:42%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{bottom:20%!important;font-size:14px!important;max-height:40px}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{bottom:15%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-tray{height:13%!important}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse{background-image:url('./assets/trade-clubhouse/clubhouse-iphone.webp')!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host{height:43.7%}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-card{top:77%}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{bottom:26%!important}}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-footer{display:flex!important;gap:8px!important;z-index:12!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .trade-footer{position:relative!important;inset:auto!important;justify-content:center!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .trade-footer button{display:flex!important;font-size:18px!important}

/* Keep the same collection dock used in Town and Room. */
html body.ui2.ui2.ui2.sq-docked[data-place=trade] #main .clubhouse .trade-tray{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat,
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{bottom:2%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{bottom:13%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-footer{width:auto!important;left:auto!important;right:2%!important;bottom:1%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-footer [data-action=book]{display:none!important}

html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-card{top:auto;bottom:2%;height:10%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys .toy{width:clamp(54px,10vh,110px)!important;height:clamp(54px,10vh,110px)!important;max-height:none!important;max-width:none!important;flex:0 0 auto!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img{height:145%;bottom:-43%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-card{min-height:44px}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{right:28%!important}}

/* One full-screen room picture, hung from the scene so its table edge sits exactly on the scene's table line (55.25% of the 3:1 scene; 44.75% down the 4:3 art). */
html body.ui2.ui2.ui2[data-mode][data-place=trade]{background:#d99a55!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main{container-type:size}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);width:min(100cqw,300cqh)!important;height:min(33.333cqw,100cqh)!important;background:none!important;border-radius:0!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse{overflow:visible!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse::before{--art-w:max(100vw,150vh);content:'';position:absolute;pointer-events:none;left:50%;width:var(--art-w);height:calc(var(--art-w)*.75);margin-left:calc(var(--art-w)/-2);top:calc(55.25% - var(--art-w)*.3356);background:url('./assets/trade-clubhouse/clubhouse-ipad.webp') center/100% 100% no-repeat}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host{height:55.3%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img{height:140%;bottom:-43%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-mat{top:55%;height:29%;left:18%;width:60%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone{top:50%!important;height:18%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone[data-drop]{top:65%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-basket,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-basket-front{top:54%;height:22%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{bottom:auto!important;top:17%!important;left:3%!important;right:70%!important;max-height:55px;line-height:1.2}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header{background:none!important;box-shadow:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-zone,
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys,
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys>button{overflow:visible!important;max-height:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys .toy{width:clamp(64px,12cqh,100px)!important;height:clamp(64px,12cqh,100px)!important}
@media(max-aspect-ratio:1/1){
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse{width:min(100cqw,100cqh)!important;height:min(100cqw,100cqh)!important}
/* Phone art: table edge 43.75% down a 1206×2622 picture, matched to the square scene's table line at 45.69%. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse::before{--art-w:max(100vw,60vh);height:calc(var(--art-w)*2.1741);top:calc(45.69% - var(--art-w)*.9512);background-image:url('./assets/trade-clubhouse/clubhouse-iphone.webp')}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host{height:45.7%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img{height:140%;bottom:-43%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-mat{top:46%;height:35%;left:3%;width:94%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone{top:44%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone[data-drop]{top:63%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-basket,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-basket-front{top:44%;height:17%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{top:auto!important;bottom:15%!important;left:5%!important;right:5%!important;font-size:12px!important}
}

/* Trade clarity pass: anchor both offers directly to the painted halves. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat{margin:0!important;min-height:0!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-mat .offer-zone{display:contents!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys{position:absolute!important;left:23%!important;width:49%!important;height:16%!important;margin:0!important;transform:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys.theirs{top:52%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys.yours{top:67%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys .toy{width:clamp(64px,16cqh,120px)!important;height:clamp(64px,16cqh,120px)!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .game-hand{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{bottom:5%!important;left:22%!important;right:37%!important;height:48px!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button{height:44px!important;min-height:44px!important;width:60px!important;min-width:60px!important;flex-shrink:0!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse [data-action=decline]{width:112px!important;gap:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:6px!important}
.club-action-label{font-size:12px;line-height:1.1;color:#65477e}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;aspect-ratio:1!important;flex:0 0 44px!important;padding:10px!important;border-radius:50%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-card{left:auto;right:3%;bottom:5%;width:22%;height:15%;min-height:52px;transform:none;padding:4px}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign{overflow:hidden}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign>.friend-closeup{inset:0!important;width:100%!important;height:100%!important;display:block!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign .clay-pal{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.club-player-face{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%}
.club-sign.signed>b{position:absolute;right:0;bottom:0;font-size:28px;line-height:1;background:#fff;border-radius:50%;z-index:2}
#sq-dock .club-pick-hint:after{content:'';position:absolute;right:0;bottom:0;width:48%;height:55%;background:url('./assets/onboarding/guide-finger.webp') center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 2px 2px #0002);animation:club-hint 1.6s ease-in-out infinite}
@keyframes club-hint{50%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){#sq-dock .club-pick-hint:after{animation:none}}
@media(max-aspect-ratio:1/1){
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys.theirs{top:45%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys.yours{top:59%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys{left:17%!important;width:66%!important;height:16%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img{height:125%;bottom:-37%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{left:5%!important;right:34%!important;gap:8px!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-card{width:27%;height:15%;right:3%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{bottom:auto!important;top:13%!important;left:5%!important;right:70%!important;max-height:48px;font-size:12px!important}
}

html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button[data-action=decline]{width:112px!important;min-width:112px!important}
.club-friend-face{width:100%;height:100%;object-fit:contain}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign .clay-pal:not(img){background-size:400% 300%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-sign>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important;margin:0!important}

/* A named portrait control makes switching people distinct from browsing toys. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header .trade-next-friend{width:132px!important;min-width:132px!important;max-width:132px!important;flex:0 0 132px!important;aspect-ratio:auto!important;border-radius:24px!important;padding:4px 8px!important;gap:4px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-next-friend span{display:block!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-next-friend img{width:30px!important;height:36px!important;object-fit:contain!important;flex:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-next-friend svg{width:16px!important;height:16px!important;flex:none!important}
@media(max-width:420px){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header{gap:5px!important}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header h1{padding:6px 10px!important}}
/* Each cutout's hands meet the same painted tabletop despite different anatomy. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="1"],html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="3"]{bottom:-34%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="2"]{bottom:-30%}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="1"],html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="3"]{bottom:-30%}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="2"]{bottom:-26%}}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend]:not([data-friend="0"]){height:125%;bottom:-30%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="2"]{bottom:-25%}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend]:not([data-friend="0"]){height:115%;bottom:-28%}html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-host>img[data-friend="2"]{bottom:-23%}}
/* Picture-led trading: readable names remain optional, instructions stay accessible. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-speech{position:absolute!important;width:1px!important;height:1px!important;max-height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;padding:0!important;border:0!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-friend-header .trade-next-friend{width:96px!important;min-width:96px!important;max-width:96px!important;flex-basis:96px!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-next-friend .club-current-pal{opacity:.65;margin-right:-15px;transform:scale(.8)}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button[data-action=decline]{width:76px!important;min-width:76px!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button[data-action=decline] .toy{width:34px!important;height:34px!important;min-width:34px!important;margin:0!important}
#sq-dock .sq-dock-head h2{display:flex;align-items:center;height:36px;gap:0;margin:0}
#sq-dock .sq-picture-basket{width:48px;height:36px;object-fit:contain}
#sq-dock .sq-picture-player{width:30px;height:36px;object-fit:contain;margin-left:-10px}
#sq-dock .sq-dock-all{min-width:48px!important;min-height:44px!important;padding:2px 8px!important}
#sq-dock .sq-dock-all svg{display:block;width:44px;height:36px}

/* Landscape tablets have room for the toys and decisions to lead the scene. */
@media (min-width:761px) and (min-aspect-ratio:1/1){
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys .toy{width:clamp(88px,22cqh,170px)!important;height:clamp(88px,22cqh,170px)!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys.theirs{top:50%!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .offer-toys.yours{top:60%!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions{height:64px!important;bottom:3%!important;gap:14px!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button{width:68px!important;min-width:68px!important;height:64px!important;min-height:64px!important;padding:12px!important;border-radius:24px!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button svg{width:30px!important;height:30px!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button[data-action=decline]{width:102px!important;min-width:102px!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button[data-action=decline] svg{width:24px!important;height:24px!important}
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .trade-actions button[data-action=decline] .toy{width:46px!important;height:46px!important;min-width:46px!important}
}
.club-review{width:100%;display:grid;gap:16px}
.club-review-row{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px;border-radius:24px;background:#f9e4ec}
.club-review-row:nth-of-type(2){background:#e0f1e6}
.club-review-toys{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;flex:1;min-width:0}
.club-review .club-review-toys .toy{width:clamp(44px,12vw,90px)!important;height:clamp(44px,12vw,90px)!important}
.club-review-person{width:clamp(56px,16vw,120px);height:clamp(70px,20vw,140px);object-fit:contain}
.club-review-row>svg{width:32px;height:32px;flex:none;color:#75528b}
.club-confirm-stamp img{width:48px;height:48px;object-fit:contain}
.club-confirm-stamp{animation:club-stamp-invite 1.8s ease-in-out 3}
@keyframes club-stamp-invite{50%{transform:scale(1.06)}}
.club-demo-toy{position:absolute;left:50%;top:60%;width:60px;height:60px;pointer-events:none;z-index:7;opacity:0;animation:club-place-demo 2.4s ease-in-out 2}
.club-demo-toy .toy{width:60px!important;height:60px!important}
@keyframes club-place-demo{0%,10%{opacity:0;transform:translate(-50%,160px)}25%{opacity:.45}70%,85%{opacity:.45;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){.club-demo-toy,.club-confirm-stamp{animation:none}}
.club-review .club-review-toys .toy{width:clamp(64px,20vw,104px)!important;height:clamp(64px,20vw,104px)!important;animation:club-review-direction 2s ease-in-out 2}
@keyframes club-review-direction{50%{transform:translateX(10px)}}
.club-needs-more .offer-toys.yours:after{content:'+';display:grid;place-items:center;width:44px;height:44px;flex:none;background:#fff9ea;border:3px dashed #9c79ba;border-radius:50%;font-size:32px;color:#75528b}
@media(prefers-reduced-motion:reduce){.club-review .club-review-toys .toy{animation:none}}
/* Real upcoming offers sit between the intact basket and its aligned front rim. */
.club-basket-toys{position:absolute;left:78%;top:54%;width:21%;height:22%;z-index:3;display:flex;justify-content:center;align-items:flex-start;gap:0;padding:0 12%;box-sizing:border-box;pointer-events:none}
.club-basket-toys button{position:absolute!important;top:0!important;left:8%!important;width:44%!important;min-width:44px!important;height:65%!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;pointer-events:auto;display:grid;place-items:center}
.club-basket-toys button:nth-child(2){left:48%!important;top:5%!important}
.club-basket-toys .toy{width:100%!important;height:100%!important;max-width:75px!important;max-height:75px!important;margin:0!important;pointer-events:none}
@media(max-aspect-ratio:1/1){.club-basket-toys{left:73%;top:44%;width:27%;height:17%}.club-basket-toys button{top:-8%!important}.club-basket-toys button:nth-child(2){top:0!important}}
.club-basket-toys{padding:0;display:flex;align-items:center;justify-content:center}
.club-basket-interior{position:relative;height:100%;aspect-ratio:1.5;max-width:100%;flex:none}
.club-basket-interior button{left:13%!important;width:38%!important}
.club-basket-interior button:nth-child(2){left:48%!important}
/* One exchange, with stable people on opposite sides and opposing toy routes. */
.club-exchange{position:relative;gap:10px;padding-top:12px}
.club-exchange .club-review-replay{position:absolute;right:0;top:0;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:8px!important;border-radius:50%!important;aspect-ratio:1;z-index:2}
.club-review-people{display:flex;justify-content:space-between;padding:0 16%;height:100px}
.club-review-people img{width:80px;height:100px;object-fit:contain}
.club-exchange .club-review-row{display:grid;grid-template-columns:1fr 40px 1fr;gap:8px;padding:8px 12px;min-height:112px}
.club-exchange .club-review-toys{grid-column:1;grid-row:1;animation:none!important}
.club-exchange .club-review-row>svg{grid-column:2;grid-row:1;justify-self:center}
.club-exchange .getting .club-review-toys{grid-column:3}
.club-exchange .getting>svg{transform:rotate(180deg)}
.club-exchange .club-review-toys .toy{width:clamp(66px,22vw,112px)!important;height:clamp(66px,22vw,112px)!important;animation:none!important}
.club-exchange .modal-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:14px;margin-top:6px}
.club-exchange .modal-actions button{width:100%!important;min-width:0!important;height:64px!important;padding:8px!important}
.club-exchange .modal-actions [data-action=close] svg{transform:rotate(180deg)}
.club-exchange .club-confirm-stamp{animation:none!important}
.club-exchange .club-confirm-stamp img{width:52px;height:52px}
.club-exchange button:focus:not(:focus-visible){outline:none!important}
.club-exchange button:focus-visible{outline:3px solid #795395!important;outline-offset:3px}
.club-exchange.is-swapping .giving .club-review-toys{animation:club-send-right .65s ease-in-out forwards!important}
.club-exchange.is-swapping .getting .club-review-toys{animation:club-send-left .65s ease-in-out forwards!important}
.club-exchange.is-swapping .club-confirm-stamp img{animation:club-press-stamp .4s ease-in-out!important}
@keyframes club-send-right{to{transform:translateX(calc(100% + 48px))}}
@keyframes club-send-left{to{transform:translateX(calc(-100% - 48px))}}
@keyframes club-press-stamp{50%{transform:translateY(6px) scale(.9)}}
#sq-dock .sq-filled-basket{position:relative;display:block;width:76px;height:48px}
#sq-dock .sq-filled-basket>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#sq-dock .sq-filled-basket .sq-basket-rim{z-index:3;pointer-events:none}
#sq-dock .sq-basket-contents{position:absolute;left:15%;right:15%;top:5%;height:65%;display:flex;align-items:center;justify-content:center;z-index:2;pointer-events:none}
#sq-dock .sq-basket-contents .toy{width:28px!important;height:28px!important;min-width:0!important;flex:0 1 28px;margin:0 -2px!important;transform:none!important}
#sq-dock .sq-dock-head h2{height:48px}
@media(max-height:650px){.club-review-people{height:64px}.club-review-people img{height:64px;width:60px}.club-exchange .club-review-row{min-height:78px}.club-exchange .club-review-toys .toy{width:64px!important;height:64px!important}}
@media(prefers-reduced-motion:reduce){.club-exchange.is-swapping .club-review-toys,.club-exchange.is-swapping .club-confirm-stamp img{animation:none!important}}
.club-exchange .club-review-row.giving{background:#f9e4ec}
.club-exchange .club-review-row.getting{background:#e0f1e6}
.club-review-people{height:120px;padding:0 12%}
.club-review-people img{width:104px;height:120px}
.club-rest-host{position:relative;display:inline-block;height:150px}
.club-rest-host>img{height:100%;width:150px;object-fit:contain}
.club-rest-host>span{position:absolute;right:0;top:5px;font-size:36px;color:#795395}
.trade-rest-screen .trade-rest-visual>span{display:none!important}
.trade-rest-screen .club-rest-host{animation:club-rest-wave .65s ease-out}
@keyframes club-rest-wave{35%{transform:rotate(-4deg)}70%{transform:rotate(3deg)}}
.trade-received{box-shadow:0 0 0 4px #a5dbc4!important;animation:club-received .6s ease-out}
@keyframes club-received{50%{transform:scale(1.06)}}
@media(max-height:650px){.club-review-people{height:70px}.club-review-people img{height:70px;width:70px}}
@media(prefers-reduced-motion:reduce){.trade-received,.trade-rest-screen .club-rest-host{animation:none}}
.club-rest-basket{position:relative;width:100px;height:67px;margin:-25px auto 0}
.club-rest-basket img{width:100%;height:100%;object-fit:contain}
.club-rest-basket i{position:absolute;left:12%;right:12%;top:25%;height:31%;border:3px solid #d4ddc8;border-radius:50%;background:repeating-conic-gradient(#d3e6d6 0 25%,#fff8e7 0 50%) 0/12px 12px;animation:club-cover .5s ease-out}
@keyframes club-cover{from{transform:translateY(-16px) rotateX(60deg);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.club-rest-basket i{animation:none}}
.trade-rest-screen:before{display:none!important}
.trade-rest-screen .club-rest-host{width:150px;height:150px;flex:0 0 150px;align-self:center}
.trade-rest-screen .club-rest-basket{flex:0 0 67px}
/* Friends resting: the same clubhouse at nap time fills the screen. */
html body.ui2.ui2.ui2[data-mode][data-place=trade]:has(.trade-rest-screen){background:#2c2447 url('./assets/trade-clubhouse/clubhouse-night-ipad.webp') center 62%/cover no-repeat!important}
/* Seat the resting friend on the night table: --table-y is where the table edge lands on screen (44.7% down the cover-fitted picture, positioned at 62%). */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen{--img-h:max(75vw,100vh);--table-y:calc((100vh - var(--img-h))*.62 + var(--img-h)*.447);position:fixed!important;inset:0!important;z-index:5;pointer-events:none;justify-content:flex-start!important;padding-top:calc(var(--table-y) - 122px)!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen>*{pointer-events:auto}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen::before{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .club-rest-host{margin-left:-90px}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .club-rest-host>img{filter:drop-shadow(0 7px 5px #1d123566)}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .club-rest-basket{margin:-62px 0 0 150px;filter:drop-shadow(0 6px 5px #1d123566)}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .trade-rest-visual{margin-top:22px}
/* Phones and portrait iPads: the tall night picture (table edge 43.2% down), cover-fitted at 30%. */
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade]:has(.trade-rest-screen){background-image:url('./assets/trade-clubhouse/clubhouse-night-iphone.webp')!important;background-position:center 30%!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen{--img-h:max(217.2vw,100vh);--table-y:calc((100vh - var(--img-h))*.3 + var(--img-h)*.432)}}
@media(min-width:760px){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen{padding-top:calc(var(--table-y) - 158px)!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .club-rest-host{width:195px;height:195px;flex-basis:195px;margin-left:-110px}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .club-rest-host>img{width:195px}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .trade-rest-screen .club-rest-basket{width:128px;height:86px;flex-basis:86px;margin:-80px 0 0 196px}}

/* Three swaps with each friend; portraits show availability before selection. */
.club-friend-picker{text-align:center;padding:12px 0}
.club-friend-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(540px,94%);margin:12px auto;position:relative;z-index:8}
.club-friend-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:110px;padding:8px 4px;border:3px solid #fff;border-radius:22px;background:#fff8e9;box-shadow:0 4px 0 #d6bd9c;color:#74518e;cursor:pointer;touch-action:manipulation}
.club-friend-choice img{display:block;width:clamp(48px,10vw,88px);height:clamp(54px,11vw,94px);object-fit:contain;pointer-events:none}
.club-friend-name{font:800 clamp(12px,2vw,17px) 'Grandstander',ui-rounded,system-ui,sans-serif}
.club-friend-count{display:flex;align-items:center;gap:4px;font:800 18px 'Grandstander',ui-rounded,system-ui,sans-serif;color:#287b6a}
.club-friend-count svg{width:19px;height:19px}.club-friend-choice.is-done{background:#ede5ee;box-shadow:none;cursor:default}.club-friend-choice.is-done img{filter:saturate(.45);opacity:.7}.club-friend-choice.is-done .club-friend-count{color:#856b96}
.club-friend-choice:focus-visible{outline:4px solid #8551ae;outline-offset:3px}
.club-friend-dots,.club-session-count{display:flex;gap:5px;justify-content:center;align-items:center}
.club-friend-dots i,.club-session-count i{display:block;width:9px;height:9px;border-radius:50%;background:#cfbfd8;border:1px solid #fff}
.club-friend-dots i.ready,.club-session-count i.ready{background:#56bca6}
.club-session-count{position:absolute;z-index:8;top:10%;left:50%;translate:-50% 0;padding:5px 8px;border-radius:20px;background:#fff8e9;box-shadow:0 2px 0 #d6bd9c}
html body.ui2.ui2.ui2[data-place=trade] #main .club-session-done{position:absolute!important;inset:0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:transparent!important;border:0!important;padding:8px!important;gap:4px}
.club-goodbye-host{position:relative;width:clamp(120px,20vh,190px);height:clamp(120px,20vh,190px);flex-shrink:0;transform-origin:50% 90%;animation:club-goodbye-wave 1s ease-in-out both}
.club-goodbye-host>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #6b463344)}
.club-goodbye-host>span{position:absolute;right:0;top:10%;background:#fff7e7;border:2px solid white;border-radius:50%;padding:8px;color:#287b6a}.club-goodbye-host>span svg{width:24px;height:24px}
.club-away-basket{position:absolute;left:calc(50% + 70px);top:29%;width:80px;pointer-events:none;animation:club-basket-away 1.2s ease-in both}.club-away-basket img{width:100%}
.club-session-done .trade-rest-visual{margin:0!important}.club-session-done .trade-rest-visual button{width:44px;height:44px;min-height:44px}
html body.ui2.ui2.ui2[data-place=trade] #main .club-session-done .trade-footer{position:relative!important;inset:auto!important;display:flex!important;justify-content:center!important;gap:12px;z-index:9}
.club-session-done .trade-footer button{display:flex!important;align-items:center;justify-content:center;min-width:60px;min-height:44px}
@keyframes club-goodbye-wave{20%,60%{transform:rotate(-4deg)}40%,80%{transform:rotate(4deg)}100%{transform:rotate(0)}}
@keyframes club-basket-away{0%,20%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(90px,35px) scale(.8)}}
@media(max-height:650px){.club-goodbye-host{width:96px;height:96px}.club-session-done .club-friend-choice{min-height:85px}.club-session-done .club-friend-choice img{height:48px}.club-session-done .club-friend-choices{margin:4px auto}.club-session-done .club-friend-dots{display:none}}
@media(prefers-reduced-motion:reduce){.club-goodbye-host{animation:none}.club-away-basket{display:none}}
/* The finished session keeps the clubhouse, rather than exposing the fallback canvas. */
html body.ui2.ui2.ui2.ui2[data-mode][data-place=trade]:has(.club-session-done){background:#e2c69e url('./assets/trade-clubhouse/clubhouse-ipad.webp') center/cover no-repeat!important}
html body.ui2.ui2.ui2.ui2:is(.calm-mode,.night-time)[data-mode][data-place=trade]:has(.club-session-done){background-image:url('./assets/trade-clubhouse/clubhouse-night-ipad.webp')!important}
.club-session-done .club-goodbye-host{width:clamp(80px,14vh,130px);height:clamp(80px,14vh,130px)}
.club-session-done .club-friend-choice{min-height:100px;padding:6px 3px}
.club-session-done .club-friend-choice img{height:64px;width:64px}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2.ui2[data-mode][data-place=trade]:has(.club-session-done){background-image:url('./assets/trade-clubhouse/clubhouse-iphone.webp')!important}html body.ui2.ui2.ui2.ui2:is(.calm-mode,.night-time)[data-mode][data-place=trade]:has(.club-session-done){background-image:url('./assets/trade-clubhouse/clubhouse-night-iphone.webp')!important}.club-friend-choices{gap:6px}.club-friend-choice{border-radius:16px}}
@media(max-height:650px){.club-session-done .club-goodbye-host{width:60px;height:60px}.club-session-done .club-friend-choice{min-height:80px}.club-session-done .club-friend-choice img{height:40px;width:40px}.club-session-done .club-goodbye-host>span{padding:3px}.club-session-done .club-goodbye-host>span svg{width:16px;height:16px}}
/* Keep the goodbye friend behind the actual table edge on each artwork. */
html body.ui2.ui2.ui2.ui2[data-place=trade]:has(.club-session-done){--session-art-h:max(75vw,100vh);--session-table-y:calc((100vh - var(--session-art-h))*.5 + var(--session-art-h)*.447)}
html body.ui2.ui2.ui2[data-place=trade] #main .club-session-done{position:fixed!important;inset:auto 0 auto!important;top:calc(var(--session-table-y) + 12px)!important;height:auto!important;padding:0!important;gap:4px}
.club-session-done .club-goodbye-host{position:fixed;left:50%;top:calc(var(--session-table-y) - 126px);translate:-50% 0;width:180px;height:126px;overflow:hidden;flex:none}
.club-session-done .club-goodbye-host>img{width:180px;height:180px;object-fit:contain;object-position:top}
.club-session-done .club-goodbye-host>span{right:4px;top:6px}
.club-session-done .club-away-basket{position:fixed;left:calc(50% + 100px);top:calc(var(--session-table-y) - 40px)}
.club-session-done .club-friend-choices{margin:4px auto}
.club-session-done .club-friend-choice{min-height:98px;padding:4px 2px}
.club-session-done .club-friend-choice img{width:48px;height:48px}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2.ui2[data-place=trade]:has(.club-session-done){--session-art-h:max(217.2vw,100vh);--session-table-y:calc((100vh - var(--session-art-h))*.5 + var(--session-art-h)*.432)}}
@media(max-height:650px){.club-session-done .club-friend-choice{min-height:78px}.club-session-done .club-friend-choice img{height:36px;width:36px}.club-session-done .club-goodbye-host{width:130px;height:91px;top:calc(var(--session-table-y) - 91px)}.club-session-done .club-goodbye-host>img{width:130px;height:130px}}
html body.ui2.ui2.ui2[data-place=trade] #main .club-session-done{top:calc(var(--session-table-y) + 6px)!important}
.club-session-done .club-friend-choice img{width:40px;height:40px}
@media(max-height:650px){.club-session-done .club-friend-choice img{width:32px;height:32px}}

/* The three-swap indicator is a badge, never a stretching layout row. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse .club-session-count{width:54px!important;min-width:54px!important;max-width:54px!important;height:22px!important;min-height:0!important;box-sizing:border-box;right:auto!important;bottom:auto!important;flex:none!important;pointer-events:none}

/* Premium already moves both toys across the mat. Do not send them away a second time. */
.club-premium-exchange.club-swapping .yours,.club-premium-exchange.club-swapping .theirs{animation:none!important}
