/*
 * PRANATARA Relic Emblem Upright Alignment v001 — chat-197.
 *
 * The Relic pennant shell already follows the card frame's vertical axis.
 * Only the raster-derived Sulur Pusaka ink is optically asymmetric inside its
 * transparent 40x40 canvas. This final, static layer keeps the shell upright,
 * centres the visible ink on the established square emblem field, and applies
 * a measured 1.4-degree clockwise counter-lean to the glyph alone.
 *
 * Compact 14x14 Relic label icons are intentionally untouched.
 */

body[data-relic-emblem-alignment="upright-optical-v001"]
  .reference-rarity-pennant[data-rarity="Relic"],
body[data-relic-emblem-alignment="upright-optical-v001"]
  .reference-rarity-pennant[data-rarity="Relic"]
  > .reference-rarity-pennant-shell {
  transform: none !important;
  transform-origin: 50% 50% !important;
  rotate: none !important;
  translate: none !important;
  scale: none !important;
}

body[data-relic-emblem-alignment="upright-optical-v001"]
  .reference-rarity-pennant[data-rarity="Relic"]::after {
  top: 16.23% !important;
  right: auto !important;
  bottom: auto !important;
  left: 18.05% !important;
  width: 66% !important;
  height: 49.5% !important;
  transform-box: border-box !important;
  transform-origin: 50% 50% !important;
  transform: rotate(1.4deg) !important;
  rotate: none !important;
  translate: none !important;
  scale: none !important;
}

@media (forced-colors: active) {
  body[data-relic-emblem-alignment="upright-optical-v001"]
    .reference-rarity-pennant[data-rarity="Relic"]::after {
    background: CanvasText !important;
    filter: none !important;
  }
}
