#v60Slots .v60-slot,
#deck > .deck-slot { position:relative; overflow:visible; }
#v60Slots .v60-slot > img.deck-talent-badge,
#deck .deck-slot > img.deck-talent-badge {
  position:absolute;
  top:-8px;
  right:-7px;
  left:auto;
  bottom:auto;
  width:27px;
  height:27px;
  max-width:none;
  object-fit:contain;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transform:none;
  z-index:20;
  pointer-events:none;
  filter:drop-shadow(0 1px 1px #21152dcc);
}

/* Straighten the supplied tilted crown only on deck portraits. */
#v60Slots .v60-slot > img.deck-talent-badge[data-tier="15"],
#deck .deck-slot > img.deck-talent-badge[data-tier="15"] { transform:rotate(-30deg); }
.v60-deck-item { position:relative; min-width:0; }
.v60-deck-item > .v60-slot { width:100%; }
#v60Slots .v60-slot[aria-pressed="true"] { outline:2px solid #b8f3ff; outline-offset:3px; }
#v60Slots .deck-remove { position:absolute; top:-7px; left:-5px; z-index:25; width:23px; height:23px; min-height:0; padding:0; display:grid; place-items:center; border:1px solid #ffd4df; border-radius:50%; background:#b83e58; color:white; font:800 20px/1 system-ui; box-shadow:0 2px 3px #24172b88; cursor:pointer; }
#v60Slots .deck-open-talents { display:block; width:100%; margin:7px 0 0; padding:5px 1px; min-height:28px; border:1px solid #86def5; border-radius:6px; background:#15517c; color:white; font:700 10px system-ui; cursor:pointer; }
#v60Slots .deck-open-talents:disabled { opacity:.55; cursor:default; }

/* Draw the cross with two centered strokes instead of a font glyph. */
#v60Slots .deck-remove { font-size:0; }
#v60Slots .deck-remove::before, #v60Slots .deck-remove::after {
  content:''; position:absolute; left:50%; top:50%; width:11px; height:2px;
  border-radius:1px; background:currentColor; transform:translate(-50%,-50%) rotate(45deg);
}
#v60Slots .deck-remove::after { transform:translate(-50%,-50%) rotate(-45deg); }

/* Identical badge geometry in collection, lobby and combat. Override portrait rules. */
#v60Slots .v60-slot > img.deck-talent-badge,
body.v60-battle #deck .deck-slot > img.deck-talent-badge {
  display:block !important; position:absolute !important;
  width:27px !important; height:27px !important;
  min-width:0 !important; min-height:0 !important; max-width:27px !important; max-height:27px !important;
  flex:none !important; top:-8px !important; right:-7px !important;
  bottom:auto !important; left:auto !important;
  padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important;
  object-fit:contain !important; object-position:center !important;
  transform:none !important; transform-origin:center !important;
  background:transparent !important; box-shadow:none !important;
  z-index:20 !important; pointer-events:none !important;
}
#v60Slots .v60-slot > img.deck-talent-badge[data-tier="15"],
body.v60-battle #deck .deck-slot > img.deck-talent-badge[data-tier="15"] {
  transform:rotate(-30deg) !important;
}

#v60Grid .v60-card { position:relative; overflow:visible; }
#v60Grid .v60-card > img.deck-talent-badge {
  display:block !important; position:absolute !important;
  width:27px !important; height:27px !important;
  min-width:0 !important; min-height:0 !important; max-width:27px !important; max-height:27px !important;
  top:-8px !important; right:-7px !important; left:auto !important; bottom:auto !important;
  padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important;
  object-fit:contain !important; object-position:center !important; transform:none !important;
  background:transparent !important; box-shadow:none !important; z-index:20 !important; pointer-events:none !important;
}
#v60Grid .v60-card > img.deck-talent-badge[data-tier="15"] {transform:rotate(-30deg) !important;}
