/* Aether Vault 3.11.236
   Remove the heavy layered frames so cards feel like actual tabletop cards. */

/* Hand cards should not sit inside separate framed trays. */
.av226-screen .av226-handcard{
  padding:0 !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  max-width:190px;
}
.av226-screen .av226-handcard.selected{
  border:0 !important;
  box-shadow:none !important;
}
.av226-screen .av226-handcard:hover{
  transform:translateY(-7px);
}

/* The cards themselves become the only visible card object. */
.av226-cardface,
.av226-minionface{
  background:linear-gradient(180deg,#fbf4e8 0%,#efe3cf 68%,#e4d3b5 100%) !important;
  border:1px solid #e7d7bd !important;
  border-radius:14px !important;
  box-shadow:0 10px 18px #0008, 0 2px 6px #0006 !important;
  color:#2a2119 !important;
}
.av226-minionface::before{display:none !important;}
.av226-rival .av226-minionface{
  background:linear-gradient(180deg,#f7f1e8 0%,#eadfcf 70%,#ddcdb7 100%) !important;
}
.av226-minionface[data-rarity="Legendary"],
.av226-minionface[data-rarity="Mythic"],
.av226-cardface[data-rarity="Legendary"],
.av226-cardface[data-rarity="Mythic"]{
  box-shadow:0 12px 22px #0009, 0 0 12px #f0c86f55 !important;
}

/* Art panel gets one clean edge instead of nested metal frames. */
.av226-cardart,
.av226-minionart{
  background-size:contain !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-color:#161a21 !important;
  border:1px solid #d6c5a8 !important;
  box-shadow:inset 0 -12px 12px #0000004a !important;
}
.av226-cardart{
  border-radius:10px 10px 5px 5px !important;
}
.av226-minionart{
  inset:7px 7px 32px !important;
  border-radius:10px 10px 5px 5px !important;
}

/* Names and stats should sit on the card directly, not on dark plaques. */
.av226-cardname,
.av226-minionname{
  background:none !important;
  color:#2d2316 !important;
  text-shadow:none !important;
  font-weight:900 !important;
}
.av226-cardname{
  padding:6px 3px 2px !important;
}
.av226-minionname{
  left:8px !important;
  right:8px !important;
  bottom:17px !important;
  padding:3px 1px 2px !important;
}
.av226-cardtrait{
  color:#5a4a37 !important;
}
.av226-cardstats{
  color:#4d3d27 !important;
}
.av226-cardstats span:last-child{
  color:#7b2f39 !important;
}

/* Cleaner cost / combat pips, still readable but less UI-block looking. */
.av226-cardcost{
  box-shadow:0 2px 5px #0008 !important;
}
.av226-minionatk,
.av226-minionhp{
  border:1px solid transparent !important;
  box-shadow:0 2px 4px #0007 !important;
}

/* Buttons remain functional, but float under the card rather than extending its frame. */
.av226-minionactions{
  width:92%;
  margin:0 auto;
}
.av226-minionactions button{
  box-shadow:0 2px 4px #0005;
}

/* Reader preview should match the card look too. */
.av226-reader .focus-art{
  border:1px solid #dac6a5 !important;
  box-shadow:0 4px 10px #0006 !important;
  border-radius:12px !important;
}

/* Selection is glow/shadow, not an extra hard frame. */
.av226-screen .av226-handcard.selected .av226-cardface,
.av226-minion.focused .av226-minionface,
.av226-screen .av226-minionselect:hover .av226-minionface{
  box-shadow:0 0 0 2px #f0d08a88, 0 12px 24px #000a, 0 0 14px #e8bf6670 !important;
}

@media(max-width:720px){
  .av226-screen .av226-handcard{max-width:170px}
  .av226-minionart{inset:5px 5px 24px !important}
  .av226-minionname{left:5px !important;right:5px !important;bottom:10px !important}
}
