/* Ares-style portrait inventory cards; existing buttons and live stock state remain intact. */
#discovery #play-result .match-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 56px;max-width:1380px;margin:36px auto 48px;align-items:stretch}
#discovery #play-result .match-results .vehicle-highlight-tags{display:flex;flex-wrap:wrap;gap:4px 9px;max-height:30px;overflow:hidden;margin:0 0 8px}
#discovery #play-result .match-results .vehicle-highlight-tags span{background:none;border:0;padding:0;color:#c9b99d;font-size:10px;line-height:1.4}
@media(max-width:1100px){#discovery #play-result .match-results{gap:30px;grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}}
@media(max-width:700px){#discovery #play-result .match-results{gap:20px 14px;margin-top:24px}#discovery #play-result .match-results .vehicle-highlight-tags{font-size:9px;max-height:29px;margin-bottom:6px}}
@media(max-width:359px){#discovery #play-result .match-results{gap:18px 10px}}

/* Three collectible recommendations, a single row with weighted staggered landings. */
#discovery .play-studio{grid-template-columns:minmax(0,2fr) minmax(230px,.65fr);gap:32px}
#discovery #play-result .match-results{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch;max-width:none;margin:18px 0;padding:24px 12px 32px;overflow:visible}
#discovery #play-result .reveal-card{--card-tilt:-2deg;--card-y:8px;min-width:0;transform:translateY(var(--card-y)) rotate(var(--card-tilt));transform-origin:50% 90%;animation:pbb-card-land 1.05s both;will-change:transform}
#discovery #play-result .reveal-card:nth-child(2){--card-tilt:1.5deg;--card-y:-6px}
#discovery #play-result .reveal-card:nth-child(3){--card-tilt:-1deg;--card-y:12px}
@keyframes pbb-card-land{
 0%{opacity:0;transform:translateY(-155px) rotate(calc(var(--card-tilt) - 9deg)) scale(.96);animation-timing-function:cubic-bezier(.55,.04,.87,.5)}
 54%{opacity:1;transform:translateY(calc(var(--card-y) + 7px)) rotate(var(--card-tilt)) scale(1.02,.96);animation-timing-function:cubic-bezier(.15,.65,.35,1)}
 72%{transform:translateY(calc(var(--card-y) - 22px)) rotate(calc(var(--card-tilt) + 1deg)) scale(.995,1.01);animation-timing-function:cubic-bezier(.55,0,.9,.5)}
 87%{transform:translateY(calc(var(--card-y) + 3px)) rotate(var(--card-tilt)) scale(1.008,.985)}
 95%{transform:translateY(calc(var(--card-y) - 5px)) rotate(var(--card-tilt))}
 100%{opacity:1;transform:translateY(var(--card-y)) rotate(var(--card-tilt)) scale(1)}
}
@media(max-width:1050px){#discovery .play-studio{grid-template-columns:1fr}#discovery #play-result .match-results{grid-template-columns:repeat(3,minmax(230px,1fr))!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:12px}#discovery #play-result .reveal-card{scroll-snap-align:start}}
@media(prefers-reduced-motion:reduce){#discovery #play-result .reveal-card{animation:none!important;will-change:auto}}

#discovery #play-result,#discovery #play-result .match-results{width:100%;min-width:0;box-sizing:border-box}
/* Keep the nozzle invitation within the narrower pump column. */
#discovery .play-studio .real-pump .pump-nozzle small{left:auto!important;right:0!important;max-width:160px}

/* Equal full-column cards: flex shrink-to-content must never vary the widths. */
#discovery #play-result .match-results{align-items:stretch!important}
#discovery #play-result .reveal-card{display:block!important;min-width:0;align-self:stretch}

/* Quick-match cards share the duel reference's 230px, 5:8 portrait footprint. */
#discovery #play-result .match-results{grid-template-columns:repeat(3,230px)!important;justify-content:center;gap:20px!important}
#discovery #play-result .match-results .vehicle-highlight-tags{max-height:24px;margin-bottom:4px}
@media(max-width:1050px){#discovery #play-result .match-results{justify-content:start;overflow-x:auto;grid-template-columns:repeat(3,230px)!important}}
/* Small hand points to the nozzle from outside, without an orange overlay. */
#discovery .play-studio .real-pump .pump-nozzle small{left:calc(100% + 18px)!important;right:auto!important;top:35%!important;bottom:auto!important;transform:translateY(-50%)!important;width:48px!important;max-width:48px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:0!important;line-height:1!important;animation:none!important;pointer-events:none}
#discovery .play-studio .real-pump .pump-nozzle small::before{content:'👈'!important;display:block;font-size:38px!important;margin:0!important;filter:drop-shadow(0 2px 3px #0006)}
@media(max-width:700px){#discovery .play-studio .real-pump{max-width:calc(100% - 100px)}#discovery .play-studio .real-pump .pump-nozzle small{left:calc(100% + 8px)!important}}

/* Keep the external hand within the viewport by reserving space beside the pump. */
#discovery .play-studio{padding-right:64px;box-sizing:border-box}
@media(max-width:1050px){#discovery .play-studio{padding-right:0}#discovery .play-studio .real-pump{margin-left:auto!important;margin-right:auto!important;max-width:min(310px,calc(100% - 100px))!important}}

/* End at whole-pixel translation with no rotation or persistent GPU layer. */
#discovery #play-result .reveal-card{--card-tilt:0deg!important;will-change:auto!important;transform:translateY(var(--card-y))!important;animation-name:pbb-card-land-crisp!important}
@keyframes pbb-card-land-crisp{0%{opacity:0;translate:0 -120px}65%{opacity:1;translate:0 7px}82%{translate:0 -9px}100%{opacity:1;translate:0 0}}

/* Extend the nozzle action through the hand and adjacent empty space. */
#discovery .play-studio .real-pump .pump-nozzle::after{content:"";position:absolute;top:-20px;bottom:-20px;left:-12px;right:-140px;background:transparent;pointer-events:auto}
@media(max-width:700px){#discovery .play-studio .real-pump .pump-nozzle::after{right:-100px}}

/* The empty space beside the nozzle belongs to the same fueling action. */
#discovery .play-studio .real-pump .pump-nozzle::after{top:-24px;bottom:-110px;left:-10px;right:-300px;cursor:pointer}
#discovery .play-studio .real-pump .machine-window{padding:2px 22px 2px 7px!important;background:linear-gradient(115deg,#f5efdf,#e8e1cd)!important;color:#202923!important;overflow:hidden}
#discovery .play-studio .real-pump .machine-window strong{font-family:Arial,'Microsoft YaHei',sans-serif!important;font-size:clamp(12px,1.05vw,15px)!important;font-weight:700!important;line-height:1.15!important;letter-spacing:0!important;color:#202923!important;text-shadow:none!important;white-space:nowrap}
#discovery .play-studio .real-pump .machine-window label{font-size:7px!important;line-height:1.1!important;color:#494949!important;letter-spacing:0!important}
#discovery .play-studio .real-pump .machine-window small{color:#494949!important;opacity:1!important}
@media(max-width:700px){#discovery .play-studio .real-pump .pump-nozzle::after{right:-min(44vw,240px);bottom:-90px}#discovery .play-studio .real-pump .machine-window strong{font-size:12px!important}#discovery .play-studio .real-pump .machine-window label{font-size:6px!important}}
