/* PRANATARA Museum final-fit correction v005.
   Controls keep real 44px native targets. Catalogue chrome is decluttered
   without touching artwork, card data, frame geometry, or spectral layers. */
body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools input,
body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools select {
  height: 44px;
  min-height: 44px;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-nav {
  margin: 0;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools::before {
  content: none;
}

@media (min-width: 901px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-nav {
    height: 52px;
    padding-block: 8px 0;
  }
}

body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-button {
  height: 44px;
  min-height: 44px;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-primary-nav a {
  min-width: 44px;
  justify-content: center;
}

body[data-museum-reference="concept-a-exact-v002"] .language-switcher {
  width: 88px;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-header .language-switcher {
  grid-template-columns: repeat(2, 44px);
  min-width: 88px;
  width: 88px;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-header .language-option {
  min-width: 44px;
  width: 44px;
}

/* A visually clipped <details> must not leave its <summary> in the tab order. */
body[data-museum-reference="concept-a-exact-v002"] .protection-note {
  display: none !important;
}

/* Keep the ability signature in DOM/data and in the full card dialog, but
   remove its duplicate text band from the compact gallery surface. */
body[data-museum-reference="concept-a-exact-v002"] #grid > .holo-card > .frame-signature {
  display: none;
}

body[data-museum-reference="concept-a-exact-v002"] #grid .body .kicker {
  top: 9px;
  right: 12px;
  left: auto;
  justify-content: flex-end;
}

body[data-museum-reference="concept-a-exact-v002"] #grid .body .kicker > span:first-child {
  display: none;
}

body[data-museum-reference="concept-a-exact-v002"] #grid .body .kicker > span:last-child {
  min-width: 50px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--frame-light) 62%, var(--frame-metal));
  border-radius: 3px;
  background: color-mix(in srgb, var(--frame-dark) 88%, var(--frame-accent));
  color: #fff2ce;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 1px #000;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > .holo-card .heirloom-top-number {
  top: 8px;
  left: 12px;
  min-width: 50px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--frame-light) 62%, var(--frame-metal));
  border-radius: 3px;
  background: color-mix(in srgb, var(--frame-dark) 88%, var(--frame-accent));
  font: 750 10px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  transform: none;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > .holo-card .heirloom-top-number::before {
  content: "C";
}

body[data-museum-reference="concept-a-exact-v002"] .museum-feature-copy {
  display: -webkit-box;
  max-height: 2.5em;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 861px) and (max-width: 900px) {
  html {
    scroll-padding-top: 124px;
  }
}

/* Preserve the stacked reference composition while giving the action a
   deliberate gap before C001 at tablet/intermediate widths. */
@media (min-width: 600px) and (max-width: 900px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 692px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 304px;
  }
}

/* The two-line title persists through 599px while the tablet card is taller
   than the <=560px card. Give this intermediate band its own safe geometry. */
@media (min-width: 560.01px) and (max-width: 599.98px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 764px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 364px;
  }
}

@media (max-width: 560px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-header-inner {
    grid-template-columns: minmax(172px, 1fr) 88px;
  }
}

/* Below this exact wrap point, the two-line title pushes the action lower.
   Move C001 down just enough to keep both visual and pointer regions apart. */
@media (max-width: 555.98px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 720px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 340px;
  }
}

@media (max-width: 380px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 44px;
    max-width: none;
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 88px;
    gap: 0 4px;
    overflow: visible;
    contain: none;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-primary-nav a {
    min-width: 0;
    width: 100%;
    padding-inline: 2px;
    overflow: visible;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-nav {
    overflow: hidden;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-button {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 4px;
    padding-right: 10px;
    padding-left: 22px;
    overflow: hidden;
    font-size: 12px;
    letter-spacing: .08em;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-button::before {
    left: 8px;
  }
}

@media (forced-colors: active) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-rarity-button[aria-pressed="true"] {
    border: 3px solid Highlight !important;
  }

  body[data-museum-reference="concept-a-exact-v002"] #grid .body .kicker > span:last-child,
  body[data-museum-reference="concept-a-exact-v002"] #grid > .holo-card .heirloom-top-number {
    border-color: ButtonText;
    background: ButtonFace;
    color: ButtonText;
    text-shadow: none;
  }
}

/* Bilingual stacked-hero geometry. The longer English title and subtitle are
   allowed to wrap without ever entering the featured-card hit region. */
@media (max-width: 900px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero-subtitle {
    max-width: 100%;
    margin-left: 0;
    font-size: clamp(21px, 3.5vw, 28px);
    white-space: normal;
    overflow-wrap: break-word;
  }

  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 764px;
  }

  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 364px;
  }
}

@media (max-width: 560px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 744px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 364px;
  }

  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] {
    --museum-en-feature-top: clamp(340px, calc(1012px - 120vw), 412px);
  }

  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: calc(var(--museum-en-feature-top) + 380px);
  }

  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: var(--museum-en-feature-top);
  }
}

/* Concept A card system: the existing unique ornamental frame remains the
   structural frame. These static overlays restore the reference's faction
   pennant, centred title deck, and separated mechanic footer. */
body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card {
  --museum-faction-field: #34301f;
  --museum-faction-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c9a45f' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19 16 6l12 13-12-5zM7 24l9-5 9 5M16 6v20'/%3E%3C/svg%3E");
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='4.5'/%3E%3Cpath d='M16 4v5M16 23v5M4 16h5M23 16h5M7.5 7.5l3.5 3.5M21 21l3.5 3.5M24.5 7.5 21 11M11 21l-3.5 3.5'/%3E%3C/svg%3E");
  --museum-antique-shadow: #090704;
  --museum-antique-dark: #1c140b;
  --museum-antique-bronze: #68491f;
  --museum-antique-gold: #a57d3f;
  --museum-antique-highlight: #cfb06f;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-faction="ARK"] {
  --museum-faction-field: #38401f;
  --museum-faction-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c9a45f' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19 16 6l12 13-12-5zM7 24l9-5 9 5M16 6v20'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-faction="BAR"] {
  --museum-faction-field: #57251d;
  --museum-faction-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c9a45f' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 3c2 7-5 8-2 14 1-4 5-4 6-8 5 5 6 10 3 15-4 7-15 7-19 0-3-6 1-11 6-15-1 6 2 7 3 10'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-faction="NIS"] {
  --museum-faction-field: #402a4c;
  --museum-faction-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c9a45f' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M27 16a11 11 0 1 1-4-8 8 8 0 1 1-3 13 5 5 0 1 1 2-7 2.5 2.5 0 1 1-1 3'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-faction="SAG"] {
  --museum-faction-field: #223c4b;
  --museum-faction-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c9a45f' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M3 10c4 0 4 3 8 3s4-3 8-3 4 3 10 3M3 17c4 0 4 3 8 3s4-3 8-3 4 3 10 3M5 24c3 0 4 2 7 2s4-2 7-2 4 2 8 2'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-faction="WAN"] {
  --museum-faction-field: #27442d;
  --museum-faction-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c9a45f' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M26 5C14 5 6 11 6 21c0 4 3 6 7 6 10 0 14-9 13-22ZM8 25c5-7 9-10 16-16M13 19l-1-6M18 14l5 1'/%3E%3C/svg%3E");
}

/* Gameplay roles already exist in the card data. These six presentation-only
   action marks reuse that vocabulary without creating another taxonomy. */
body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-role="Vanguard"] {
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4v23M11 9l5-5 5 5M8 17l8-5 8 5M10 27h12'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-role="Defender"] {
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4 26 8v8c0 6-4 10-10 13C10 26 6 22 6 16V8Z'/%3E%3Cpath d='M16 9v14M10 16h12'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-role="Scout"] {
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='11'/%3E%3Cpath d='m20 10-2 8-8 4 4-8Z'/%3E%3Ccircle cx='16' cy='16' r='1.5'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-role="Controller"] {
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3Ccircle cx='16' cy='5' r='2'/%3E%3Ccircle cx='27' cy='16' r='2'/%3E%3Ccircle cx='16' cy='27' r='2'/%3E%3Ccircle cx='5' cy='16' r='2'/%3E%3Cpath d='M16 7v4M25 16h-4M16 21v4M7 16h4'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-role="Support"] {
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 5v22M5 16h22M9 9l14 14M23 9 9 23'/%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card[data-role="Specialist"] {
  --museum-mechanic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23cfad69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 4 4 4 6 1 1 6-3 5 1 6-6 1-3 3-4-4-6-1-1-6 3-5-1-6 6-1Z'/%3E%3Cpath d='m16 11 5 5-5 5-5-5Z'/%3E%3C/svg%3E");
}

/* Shared engraved bronze-gold finish. Token-bound palette values remain in
   place and contribute only a restrained undertone; SVG paths and profile
   signatures remain untouched. */
body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card {
  border-color: color-mix(in srgb, var(--museum-antique-gold) 90%, var(--frame-metal)) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--museum-antique-highlight) 9%, transparent), transparent 14%),
    repeating-linear-gradient(90deg, rgba(207,176,111,.025) 0 1px, transparent 1px 4px),
    linear-gradient(145deg, var(--museum-antique-dark), color-mix(in srgb, var(--museum-antique-shadow) 94%, var(--frame-base)));
  box-shadow:
    0 0 0 1px var(--museum-antique-shadow),
    0 7px 0 -5px color-mix(in srgb, var(--museum-antique-bronze) 90%, var(--frame-metal)),
    0 18px 30px -20px rgba(0,0,0,.9),
    inset 0 1px 0 color-mix(in srgb, var(--museum-antique-highlight) 88%, var(--frame-light)),
    inset 0 0 0 3px var(--museum-antique-dark);
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card::before {
  border-color: color-mix(in srgb, var(--museum-antique-highlight) 90%, var(--frame-light));
  border-radius: 5px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--museum-antique-shadow) 88%, transparent),
    inset 0 1px 0 rgba(207,176,111,.16);
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .ornamental-frame-v002.heirloom-cartouche-frame-v001 {
  border-color: color-mix(in srgb, var(--museum-antique-gold) 88%, var(--frame-metal));
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px var(--museum-antique-dark),
    inset 0 0 0 2px color-mix(in srgb, var(--museum-antique-highlight) 18%, transparent);
  color: color-mix(in srgb, var(--museum-antique-gold) 88%, var(--frame-metal));
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .protected-media {
  border-color: color-mix(in srgb, var(--museum-antique-gold) 90%, var(--frame-light));
  border-radius: 4px;
  box-shadow:
    0 0 0 1px var(--museum-antique-shadow),
    inset 0 0 9px rgba(9,7,4,.42);
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card .heirloom-top-number {
  border-color: color-mix(in srgb, var(--museum-antique-gold) 90%, var(--frame-metal));
  border-radius: 2px;
  background: linear-gradient(180deg, #2b2012, #110d08);
  color: #d8bd7e;
  box-shadow: inset 0 1px 0 rgba(207,176,111,.22), inset 0 0 0 1px rgba(9,7,4,.72);
  text-shadow: 0 1px 0 #000;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .kicker {
  display: none !important;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body::before {
  content: "";
  position: absolute;
  z-index: 10;
  top: -1px;
  right: 7px;
  width: 52px;
  height: 66px;
  border: 1px solid color-mix(in srgb, var(--frame-light) 66%, #5e4327);
  background:
    var(--museum-faction-icon) center 13px / 28px 28px no-repeat,
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--frame-light) 17%, transparent), transparent 35%),
    linear-gradient(145deg, color-mix(in srgb, var(--museum-faction-field) 78%, var(--frame-accent)), color-mix(in srgb, var(--frame-dark) 86%, #090b0d));
  box-shadow:
    inset 0 0 0 3px rgba(5,7,9,.72),
    inset 0 0 0 4px color-mix(in srgb, var(--frame-metal) 32%, transparent),
    0 5px 10px rgba(0,0,0,.36);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  pointer-events: none;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .name {
  position: absolute;
  z-index: 7;
  right: 16px;
  bottom: 74px;
  left: 16px;
  margin: 0;
  overflow: hidden;
  color: #eadbbd;
  font: 500 clamp(22px, 1.8vw, 29px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: .03em;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 2px 3px #000, 0 0 12px rgba(0,0,0,.9);
  white-space: nowrap;
}

/* Close fractional media-query seams without changing the established
   integer breakpoints. Later rules win at the exact 560px/600px boundaries. */
@media (min-width: 560px) and (max-width: 600px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 764px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 364px;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 692px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 304px;
  }
}

@media (max-width: 560px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 720px;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 340px;
  }
}

/* At the narrow edge of the two-column band the Indonesian subtitle is
   slightly wider than the visual canvas. Scale it optically, preserve its
   current centred position, and retain a deliberate viewport inset. */
@media (min-width: 560px) and (max-width: 575px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-hero-subtitle {
    max-width: calc(100vw - 36px);
    margin-inline: auto;
    font-size: clamp(24px, 4.6vw, 27px);
    line-height: 1.15;
    white-space: normal;
    text-wrap: balance;
  }
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .chips {
  display: flex !important;
  position: absolute;
  z-index: 7;
  right: 15px;
  bottom: 48px;
  left: 15px;
  justify-content: center;
  gap: 7px;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .chips .chip {
  max-width: 48%;
  text-align: center;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy {
  display: block !important;
  position: absolute;
  z-index: 7;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 41px;
  min-height: 0;
  margin: 0;
  padding: 11px 14px 8px 46px;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--frame-metal) 54%, #27221b);
  background: linear-gradient(180deg, rgba(15,18,21,.97), rgba(8,10,13,.98));
  box-shadow: inset 0 1px color-mix(in srgb, var(--frame-light) 10%, transparent);
  color: #cfc2ad;
  font: 12px/1.25 Georgia, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 13px;
  width: 23px;
  height: 23px;
  border: 1px solid color-mix(in srgb, var(--frame-metal) 62%, #4a3420);
  border-radius: 50%;
  background:
    var(--museum-faction-icon) center / 15px 15px no-repeat,
    color-mix(in srgb, var(--museum-faction-field) 82%, #0c1014);
  box-shadow: inset 0 0 0 2px rgba(4,6,8,.72);
  pointer-events: none;
}

@media (forced-colors: active) {
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body::before,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy::before {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
}

/* At the narrow two-column edge some faction/role chips use two lines. Keep
   the centred title visually separate without changing card dimensions. */
@media (min-width: 560px) and (max-width: 574px) {
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .name {
    bottom: 88px;
  }
}

/* Five navigation labels must be visible without a horizontal-scroll
   discovery step. Two balanced rows retain genuine 44px link targets. */
@media (max-width: 560px) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 44px;
    align-items: stretch;
    justify-content: stretch;
    gap: 0 4px;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    min-height: 88px;
    overflow: visible;
    contain: none;
    scrollbar-width: none;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-primary-nav a {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 2px;
    overflow: visible;
    font-size: 13px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }
}

/* v067's exhaustive sweep exposed two language-specific wrapping bands that
   were invisible at the earlier pinned widths. Move the featured card and
   its containing hero together, preserving both CTA and bottom clearance. */
@media (max-width: 375px) {
  html[lang="id"] body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 744px;
  }

  html[lang="id"] body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 364px;
  }
}

@media (min-width: 560.01px) and (max-width: 575px) {
  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] .museum-hero.intro {
    min-height: 790px;
  }

  html[lang="en"] body[data-museum-reference="concept-a-exact-v002"] .museum-feature {
    top: 390px;
  }
}

/* Reference-grade catalogue details: distinct select emblems, a taller
   heraldic pennant, and uppercase display names. All remain CSS-only. */
body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #f {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23c7a66f' stroke-width='1.4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='7.5' fill='none' stroke='%23b9955b'/%3E%3Cpath d='M11 3.5v15M3.5 11h15M11 11l4-4' fill='none' stroke='%23b9955b' stroke-width='.9'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #r {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23c7a66f' stroke-width='1.4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 2.5 18.5 11 11 19.5 3.5 11Z' fill='none' stroke='%23b9955b'/%3E%3Cpath d='m7 11 4-5 4 5-4 5Z' fill='none' stroke='%23b9955b' stroke-width='.8'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #g {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23c7a66f' stroke-width='1.4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 2.5 18 5v5.5c0 4.3-2.8 7.2-7 9-4.2-1.8-7-4.7-7-9V5Z' fill='none' stroke='%23b9955b'/%3E%3Cpath d='M7.5 10.5 10 13l4.5-5' fill='none' stroke='%23b9955b' stroke-width='.9'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #sort {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23c7a66f' stroke-width='1.4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M4 6h14M6 11h10M8 16h6' fill='none' stroke='%23b9955b' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body::before {
  top: -8px;
  right: 6px;
  width: 60px;
  height: 80px;
  border-color: color-mix(in srgb, var(--museum-antique-gold) 90%, var(--frame-metal));
  background:
    var(--museum-faction-icon) center 15px / 30px 30px no-repeat,
    radial-gradient(circle at 50% 31%, rgba(207,176,111,.13), transparent 36%),
    linear-gradient(160deg, color-mix(in srgb, var(--museum-faction-field) 34%, #382914), var(--museum-antique-dark) 70%);
  box-shadow:
    inset 0 0 0 3px var(--museum-antique-shadow),
    inset 0 0 0 4px rgba(165,125,63,.34),
    0 5px 9px rgba(0,0,0,.42);
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .name {
  bottom: 77px;
  overflow: visible;
  color: #d5b875;
  font-weight: 600;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.2;
  letter-spacing: .012em;
  text-overflow: clip;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(230,202,137,.24),
    0 2px 0 #4a3217,
    0 4px 8px rgba(0,0,0,.88);
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .chips .chip {
  border-color: color-mix(in srgb, var(--museum-antique-gold) 86%, var(--frame-metal));
  border-radius: 2px;
  background: linear-gradient(180deg, #2a2115, #151009);
  color: #c8ae73;
  box-shadow: inset 0 1px 0 rgba(207,176,111,.17), inset 0 0 0 1px rgba(9,7,4,.62);
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy {
  border-top-color: color-mix(in srgb, var(--museum-antique-gold) 82%, var(--frame-metal));
  background: linear-gradient(180deg, #17130d, #090704);
  box-shadow: inset 0 1px rgba(207,176,111,.15), inset 0 0 0 1px rgba(9,7,4,.76);
  color: #c6b48e;
}

body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy::before {
  border-color: color-mix(in srgb, var(--museum-antique-gold) 88%, var(--frame-metal));
  border-radius: 2px;
  background:
    var(--museum-mechanic-icon) center / 17px 17px no-repeat,
    linear-gradient(180deg, #302414, #120e08);
  box-shadow: inset 0 1px 0 rgba(207,176,111,.22), inset 0 0 0 2px rgba(9,7,4,.7);
}

/* Retain the stationary Pointer Relief interaction while keeping its optical
   lift inside the same restrained antique-metal family. */
@media (hover: hover) and (pointer: fine) {
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card:hover,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card:focus-within {
    transform: none !important;
    border-color: var(--museum-antique-highlight) !important;
    outline-color: color-mix(in srgb, var(--museum-antique-highlight) 44%, transparent);
    box-shadow:
      0 2px 0 color-mix(in srgb, var(--museum-antique-highlight) 48%, transparent),
      0 7px 0 -1px var(--museum-antique-shadow),
      0 17px 24px -12px rgba(9,7,4,.9),
      0 34px 54px -25px rgba(9,7,4,.86),
      0 0 0 2px color-mix(in srgb, var(--museum-antique-gold) 56%, transparent),
      inset 1px 1px 0 rgba(207,176,111,.3),
      inset -2px -3px 0 var(--museum-antique-dark) !important;
  }

  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card:hover > .ornamental-frame-v002.heirloom-cartouche-frame-v001,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card:focus-within > .ornamental-frame-v002.heirloom-cartouche-frame-v001 {
    border-color: var(--museum-antique-highlight) !important;
    box-shadow:
      inset 0 0 0 1px var(--museum-antique-dark),
      inset 0 0 12px rgba(207,176,111,.1) !important;
  }
}

body[data-museum-reference="concept-a-exact-v002"] .museum-cta {
  isolation: isolate;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-cta::before,
body[data-museum-reference="concept-a-exact-v002"] .museum-cta::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border: 2px solid #8b6939;
  background:
    linear-gradient(180deg, rgba(255,248,216,.56), transparent 3px),
    linear-gradient(135deg, #e2ca92, #b98d4c 58%, #d5b77d);
  box-shadow: inset 0 0 0 3px rgba(58,42,22,.32), 0 4px 0 #4f3b22, 0 13px 24px rgba(0,0,0,.35);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transform: none;
  pointer-events: none;
}

body[data-museum-reference="concept-a-exact-v002"] .museum-cta::after {
  z-index: -1;
  inset: 3px;
  border-width: 1px;
  background: linear-gradient(135deg, rgba(255,245,205,.2), transparent 42%, rgba(72,49,24,.18));
  box-shadow: inset 0 0 0 1px rgba(255,240,194,.25);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

body[data-museum-reference="concept-a-exact-v002"] .museum-cta > span {
  position: relative;
  z-index: 1;
}

/* Uppercase titles have a slightly taller painted cap line at the narrow
   two-column edge. Preserve a conservative title-to-chip clearance. */
@media (min-width: 560px) and (max-width: 575px) {
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .name {
    bottom: 91px;
  }
}

@media (max-width: 860px) {
  body[data-museum-reference="concept-a-exact-v002"] #f {
    scroll-margin-top: 72px;
  }
}

@media (max-width: 560px) {
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .name {
    font-size: clamp(20px, 6.2vw, 25px);
  }

  body[data-museum-reference="concept-a-exact-v002"] #f {
    scroll-margin-top: 112px;
  }
}

@media (forced-colors: active) {
  body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #f,
  body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #r,
  body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #g,
  body[data-museum-reference="concept-a-exact-v002"] .museum-filter-deck .tools #sort {
    appearance: auto;
    padding-inline: 12px;
    background-image: none !important;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-cta {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
  }

  body[data-museum-reference="concept-a-exact-v002"] .museum-cta::before,
  body[data-museum-reference="concept-a-exact-v002"] .museum-cta::after {
    content: none;
  }

  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card::before,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .ornamental-frame-v002.heirloom-cartouche-frame-v001,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .protected-media,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card .heirloom-top-number,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .chips .chip,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body::before,
  body[data-museum-reference="concept-a-exact-v002"] #grid > article.holo-card > .body > .copy::before {
    border-color: CanvasText !important;
    background: Canvas;
    color: CanvasText;
    box-shadow: none !important;
  }
}
