/*
 * PRANATARA chat-198 — Three Pillars special-NFT presentation.
 * Removes only the external black host frame, slightly enlarges the cards,
 * uses final SP-baked media, and repairs the 544px responsive collision.
 */

body[data-special-nft-trio="three-pillars-local-v002"]
  .pranatara-special-cards-header-v001,
body[data-special-nft-trio="three-pillars-local-v002"]
  .pranatara-special-cards-grid-v001 {
  width: min(72rem, 100%);
}

body[data-special-nft-trio="three-pillars-local-v002"]
  .pranatara-special-card-v001 {
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
}

body[data-special-nft-trio="three-pillars-local-v002"]
  .pranatara-special-card-crop-v001 {
  overflow: visible;
  background: transparent;
}

body[data-special-nft-trio="three-pillars-local-v002"]
  .pranatara-special-card-source-v002 {
  object-fit: contain;
  image-rendering: auto;
  filter: none;
}

/* The serial is baked into each final NFT master; legacy HTML overlays stay absent. */
body[data-special-nft-trio="three-pillars-local-v002"]
  .pranatara-special-card-serial-v001 {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001 {
    transition: transform 190ms cubic-bezier(.2, .72, .24, 1), filter 190ms ease;
    will-change: transform;
  }

  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001:hover {
    z-index: 2;
    transform: perspective(900px) translate3d(0, -5px, 22px) scale(1.018);
    filter: drop-shadow(0 15px 17px rgba(0, 0, 0, .44));
  }
}

/* Exact 544px boundary and all smaller screens: one full-width card per row. */
@media (max-width: 34rem) {
  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-cards-grid-v001 {
    grid-template-columns: minmax(0, 1fr);
    width: min(25rem, 100%);
  }

  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001,
  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001 {
    transition: none;
    will-change: auto;
  }

  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001:hover {
    transform: none;
    filter: none;
  }
}

@media (forced-colors: active) {
  body[data-special-nft-trio="three-pillars-local-v002"]
    .pranatara-special-card-v001 {
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: 1px solid CanvasText;
    outline-offset: 2px;
  }
}

