/* AURION 7.3.2 — premium restrained finish and correctly composed shop cards */
:root{--a732-gold:#d5a86e;--a732-bronze:#8b5b36;--a732-black:#100c0b;--a732-warm:#251915}
/* Eliminate the earlier forced giant two-column card, keep art proportionate. */
#screen-shop :is(.a41-market,.a35-legacy,.a39-legacy){
  --tier:#d5a86e; position:relative!important; overflow:hidden!important;
  background:radial-gradient(ellipse at 92% 4%,rgba(160,94,42,.095),transparent 58%),linear-gradient(145deg,#1b1412,#0e0c0c 80%)!important;
  border:1px solid rgba(198,141,82,.24)!important;border-radius:22px!important;
  padding:18px 15px 19px!important;box-shadow:0 18px 45px rgba(0,0,0,.28),inset 0 1px rgba(255,225,180,.045)!important;
}
#screen-shop .a41-market{--tier:#c7a0ff}
#screen-shop .a39-legacy{--tier:#c7a0ff}
#screen-shop :is(.a41-market,.a35-legacy,.a39-legacy)::after{
  content:"";pointer-events:none;position:absolute;left:8%;right:8%;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(240,179,101,.42),transparent);
}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content){
  display:grid!important;grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;
  align-items:center!important;gap:13px!important;padding:15px 0 0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content)>img,
#screen-shop .a39-product-content .a39-art{width:100%!important;min-width:0!important;max-width:100%!important;align-self:start!important;}
#screen-shop :is(.a41-market-grid,.a35-legacy-body)>img,
#screen-shop .a39-product-content .a39-art img{
  display:block!important;width:100%!important;height:auto!important;max-height:205px!important;
  aspect-ratio:3/4!important;object-fit:cover!important;object-position:center!important;
  border-radius:13px!important;border:1px solid rgba(210,157,95,.17)!important;
  box-shadow:0 10px 23px rgba(0,0,0,.3)!important;
}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content)>div:last-child,
#screen-shop .a39-product-info{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  gap:8px!important;min-width:0!important;width:100%!important;padding:0!important;margin:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content) :is(h3,p,strong,small,span){
  max-width:100%!important;overflow-wrap:break-word!important;margin:0!important;
}
#screen-shop .a35-legacy-body h3,#screen-shop .a39-product-info h3{
  font-size:clamp(18px,4.8vw,25px)!important;line-height:1.13!important;color:#eac596!important;
}
#screen-shop .a41-market>h3{font-size:clamp(22px,6vw,32px)!important;line-height:1.14!important;margin:12px 0 0!important}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content) p{font-size:12px!important;line-height:1.5!important;color:#c6ada0!important}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content) strong{font-size:14px!important;color:#e6bd80!important}
/* One rarity marker per item, underneath the name or at the start of the details. */
#screen-shop .a35-legacy-tag,#screen-shop .a41-kicker,#screen-shop .a39-product-tag{
  border:0!important;background:none!important;box-shadow:none!important;padding:0!important;
  color:#bda28b!important;letter-spacing:.13em!important;font-size:10px!important;
}
#screen-shop .a35-legacy-body small:not(.a731-rarity),#screen-shop .a41-market-grid .a41-rarity,
#screen-shop .a39-product-info .a39-rarity{display:none!important}
#screen-shop .a731-rarity{color:var(--tier)!important;order:0!important;font-size:11px!important;letter-spacing:.16em!important;padding:0!important;text-shadow:0 0 15px color-mix(in srgb,var(--tier) 26%,transparent)!important}
#screen-shop .a41-market-grid .a731-rarity,#screen-shop .a39-product-info .a731-rarity{--tier:#c7a0ff}
#screen-shop .a35-legacy-body .a731-rarity{--tier:#f3ca74}
#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content) button{
  display:inline-flex!important;align-items:center;justify-content:center;text-align:center;
  width:100%!important;max-width:100%!important;min-width:0!important;min-height:40px!important;
  margin:4px 0 0!important;padding:9px 7px!important;line-height:1.2!important;font-size:11px!important;
  border-radius:11px!important;white-space:normal!important;
}
#screen-shop .a39-product-info button+button{margin-top:0!important}
/* Halloween cards: vertical gallery; image no longer takes over entire card. */
#screen-shop .a31-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
#screen-shop .a31-grid .a31-card{min-width:0!important;overflow:hidden!important;border-radius:17px!important;
  background:linear-gradient(160deg,rgba(43,28,22,.72),rgba(15,12,12,.93))!important;
  border:1px solid rgba(201,145,83,.19)!important;box-shadow:0 11px 25px #0004!important;}
#screen-shop .a31-grid .a31-card .a31-artbutton{aspect-ratio:4/5!important;max-height:230px!important;border-radius:12px!important}
#screen-shop .a31-grid .a31-card .a31-artbutton img{object-fit:cover!important;object-position:center 32%!important}
#screen-shop .a31-grid .a31-card.a731-landscape{grid-column:1/-1;grid-template-columns:minmax(0,38%) minmax(0,1fr)!important;gap:9px 13px!important}
#screen-shop .a31-grid .a31-card.a731-landscape .a31-artbutton{aspect-ratio:4/5!important;max-height:215px!important}
#screen-shop .a31-grid .a31-card .a31-rarity{color:var(--tier)!important}
/* Grey is replaced with warm charcoal, not gold saturation everywhere. */
#screen-shop :is(.a31-card,.a41-market,.a35-legacy,.a39-legacy) :is(.a31-price,.a39-pending){color:#d5ad7b!important}
/* Premium microinteraction: subtle highlights and short light sweeps on interactive buttons. */
#screen-shop :is(.a31-buy,.a41-buy,.a39-product-info button),
#screen-shop .a31-artbutton{position:relative;overflow:hidden;isolation:isolate;
  transition:transform .2s ease,box-shadow .25s ease,filter .25s ease!important}
#screen-shop :is(.a31-buy,.a41-buy,.a39-product-info button)::after{
  content:"";position:absolute;inset:-60% auto -60% -85%;width:42%;transform:skewX(-24deg);
  background:linear-gradient(90deg,transparent,rgba(255,246,213,.28),transparent);
  pointer-events:none;animation:a732-sweep 8s ease-in-out infinite;
}
#screen-shop :is(.a31-buy,.a41-buy,.a39-product-info button):active{transform:scale(.97)!important;filter:brightness(1.08)!important}
@keyframes a732-sweep{0%,69%{left:-85%;opacity:0}72%{opacity:1}86%{left:140%;opacity:1}88%,100%{left:140%;opacity:0}}
@media(hover:hover){#screen-shop :is(.a31-buy,.a41-buy,.a39-product-info button):hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(174,105,47,.23)!important}}
@media(max-width:390px){#screen-shop :is(.a41-market-grid,.a35-legacy-body,.a39-product-content){grid-template-columns:minmax(0,34%) minmax(0,1fr)!important;gap:10px!important}#screen-shop :is(.a41-market,.a35-legacy,.a39-legacy){padding:14px 11px!important}}
@media(prefers-reduced-motion:reduce){#screen-shop :is(.a31-buy,.a41-buy,.a39-product-info button)::after{animation:none!important}#screen-shop :is(.a31-buy,.a41-buy,.a39-product-info button){transition:none!important}}
