/* Trade table, premium pass: toys rest on the mat halves, glow spot instead of a dashed target, clay counter bell,
   warm window light across the table. Positions (--tp-*) are set by trade-premium.js from the mat's drawn size. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-mat .offer-zone{display:contents!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys{position:absolute!important;left:var(--tp-left)!important;width:var(--tp-width)!important;height:var(--tp-toy)!important;top:var(--tp-their)!important;margin:0!important;transform:none!important;align-items:flex-end!important;gap:4px!important;z-index:4!important;overflow:visible!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys.yours{top:var(--tp-your)!important;z-index:5!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys>button{position:relative!important;width:var(--tp-toy)!important;max-width:var(--tp-toy)!important;height:var(--tp-toy)!important;flex:0 0 auto!important;align-items:flex-end!important;overflow:visible!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys .toy{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 2px 1px #6b452a40) drop-shadow(0 6px 6px #6b452a24)!important;position:relative;z-index:1}
/* soft contact shadow where the squishy touches the mat */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys>button:after{content:"";position:absolute;left:16%;right:16%;bottom:-3%;height:14%;border-radius:50%;background:radial-gradient(closest-side,#5a3b2a55,#5a3b2a00);z-index:0;pointer-events:none}
/* your empty spot: a soft glow on the pink half, not a dashed + */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys.yours .empty-offer{width:calc(var(--tp-toy)*.95)!important;height:calc(var(--tp-toy)*.42)!important;border:3px dashed #ffffffd0!important;border-radius:50%!important;background:radial-gradient(closest-side,#fff9 0,#ffd6e666 60%,transparent)!important;opacity:1!important;align-self:flex-end;animation:tp-glow 1.8s ease-in-out infinite}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .offer-toys.yours .empty-offer>*{display:none!important}
@keyframes tp-glow{50%{transform:scale(1.07);box-shadow:0 0 22px 6px #ffe3ef}}
/* the clay counter bell replaces the ✓ */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions{align-items:flex-end!important;overflow:visible!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade],[data-action=confirmtrade]){width:var(--tp-bell,84px)!important;min-width:var(--tp-bell,84px)!important;height:var(--tp-bell,84px)!important;padding:0!important;border:0!important;border-radius:0!important;background:url('./assets/trade-clubhouse/bell.webp') center bottom/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 6px 5px #6b452a40);transform-origin:50% 100%;margin-bottom:-14px}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade],[data-action=confirmtrade])>:not(.tp-tag){opacity:0!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions [data-action=offertrade]:disabled{opacity:.55!important;filter:saturate(.45) drop-shadow(0 4px 4px #6b452a30)}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade]:not(:disabled),[data-action=confirmtrade]){animation:tp-bell 1.4s ease-in-out infinite}
@keyframes tp-bell{0%,60%,100%{rotate:0deg}70%{rotate:-6deg}80%{rotate:5deg}90%{rotate:-2deg}}
@media(max-aspect-ratio:1/1){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp{--tp-bell:72px}}
/* warm window light across the table and a soft edge falloff for depth */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(115deg,transparent 52%,#fff3d433 64%,#fff3d41a 74%,transparent 86%),radial-gradient(ellipse 85% 70% at 50% 45%,transparent 60%,#6b452a1f 100%);mix-blend-mode:soft-light}
/* wide screens: the mat comes closer (bigger, lower) so the trade is the hero of the table */
@media(min-aspect-ratio:1/1){
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .club-mat{left:12%!important;width:70%!important;top:41%!important;height:46%!important}
 /* the bell sits on the open table left of the mat, with "another toy" just above it */
 html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions{left:0!important;right:auto!important;width:12%!important;min-width:96px!important;top:auto!important;bottom:6%!important;height:auto!important;flex-direction:column-reverse!important;align-items:center!important;gap:10px!important}
}
.tp-flyer{position:fixed!important;z-index:80;pointer-events:none;margin:0!important;filter:drop-shadow(0 12px 10px #5e477840)}
@media(prefers-reduced-motion:reduce){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions *,html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .empty-offer{animation:none!important}}
@media(max-aspect-ratio:1/1) and (min-width:700px){html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp{--tp-bell:120px}}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade],[data-action=confirmtrade]):focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
/* the bell's SWAP! tag: a little wooden sign hanging off its front */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions .tp-tag{position:absolute;left:50%;bottom:-6px;translate:-50% 0;rotate:-4deg;padding:3px 10px 4px;border-radius:9px;background:linear-gradient(180deg,#c98a55,#a96a3b);border:2px solid #fff3e2;box-shadow:0 3px 0 #7c4a26,0 5px 8px #5a3b2a40;color:#fff;font:900 15px/1 var(--font-display,'Nunito',system-ui,sans-serif);letter-spacing:.5px;white-space:nowrap;pointer-events:none;text-shadow:0 1px 0 #7c4a26}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions [data-action=offertrade]:disabled .tp-tag{filter:saturate(.5);opacity:.8}
/* when your side has a toy, the bell glows so it's clear it's ready */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade]:not(:disabled),[data-action=confirmtrade]){filter:drop-shadow(0 0 10px #fff6c8) drop-shadow(0 0 18px #ffd86b) drop-shadow(0 6px 5px #6b452a40)}
/* Basket choices stay at a steady size while tapping swaps the displayed offer. */
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp [data-action=decline]{display:none!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .club-basket-toys button{animation:none!important;scale:1!important;translate:0 0!important;pointer-events:auto!important}
.tp-finger{position:fixed;width:64px;height:auto;z-index:90;pointer-events:none;transform-origin:20% 10%}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade],[data-action=confirmtrade]){-webkit-touch-callout:none;user-select:none}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions :is([data-action=offertrade],[data-action=confirmtrade]){position:relative!important;overflow:visible!important}
html body.ui2.ui2.ui2[data-mode][data-place=trade] #main .clubhouse.tp .trade-actions .suggested{outline:none!important}
