/* ARCANA — an open collector's gallery, with separate rarity metalwork and artwork. */
.hero-cards, .hc-viewer {
  --hc-accent: #d7b4ff; --hc-ivory: #eee4d1; --hc-muted: #9bafc1;
  color: var(--hc-ivory); font-family: Montserrat, sans-serif; color-scheme: dark;
}
.hero-cards { min-width: 0; container-type: inline-size; container-name: hero-cards; }
.hero-cards *, .hc-viewer * { box-sizing: border-box; }
.hero-cards [hidden], .hc-viewer [hidden] { display: none !important; }
.hero-cards button, .hc-viewer button { cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.hero-cards button:focus-visible, .hc-viewer :focus-visible { outline: 2px solid #eaddbc; outline-offset: 5px; }
.hc-eyebrow { display: block; font-size: 11px; font-weight: 600; line-height: 1.7; letter-spacing: .19em; color: #c0b39a; }
.hc-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 2px 30px; border-bottom: 1px solid #d3bd8733; }
.hc-heading h2 { font-size: clamp(30px, 4.2cqw, 68px); line-height: 1.14; font-weight: 400; letter-spacing: -.06em; margin: 14px 0; color: var(--hc-ivory); }
.hc-heading h2 em { font-style: normal; font-weight: 300; color: #c6b28b; }
.hc-heading h2>span { color: #d3b46a; }
.hc-heading p { margin: 0; }
.hc-collection-count { flex-shrink: 0; min-width: 140px; text-align: right; }
.hc-collection-count>strong { display: block; font-size: clamp(30px, 3.2cqw, 48px); font-weight: 300; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-collection-count>strong>span { color: #8496aa; font-size: .5em; }
.hc-collection-count>span { display: block; margin-top: 8px; color: #b9a98a; font-size: 9px; letter-spacing: .2em; }
.hc-count-line { height: 2px; margin-top: 17px; background: #d3bd8724; }
.hc-count-line>i { display: block; height: 100%; background: #d5bd82; box-shadow: 0 0 12px #e8d39c77; }

/* A floating specimen, with oversized engraved type and an elliptical plinth. */
.hc-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(20px, 3cqw, 64px); padding: 30px 2% 0; isolation: isolate; border-bottom: 1px solid #d3bd872a; }
.hc-feature::before { content: ''; position: absolute; z-index: -1; inset: 0 -2% 0; pointer-events: none; background: radial-gradient(ellipse at 24% 45%, color-mix(in srgb, var(--hc-accent) 10%, transparent), transparent 57%); }
.hc-feature-art { position: relative; min-width: 0; display: grid; place-items: center; padding: 30px 16% 55px; isolation: isolate; }
.hc-feature-roman { position: absolute; z-index: -1; top: 8%; left: -4%; font: 300 clamp(110px, 22cqw, 320px)/1 Georgia, serif !important; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--hc-accent) 19%, transparent); opacity: .65; pointer-events: none; }
.hc-feature-card { position: relative; width: 100%; max-width: 340px; padding: 0; border: 0; background: none; transform: perspective(1200px) rotateY(-9deg) rotateZ(-5deg); transition: transform .45s; filter: drop-shadow(16px 28px 25px #0008); }
.hc-feature-card:hover { transform: perspective(1200px) rotateY(0) rotateZ(-1deg) translateY(-7px); }
.hc-feature-card:focus-visible { outline-offset: 13px; }
.hc-orbit { position: absolute; z-index: -1; width: 91%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--hc-accent) 22%, transparent); border-radius: 50%; transform: rotate(-25deg) scaleY(.85); }
.hc-orbit::after { content: ''; position: absolute; width: 6px; height: 6px; top: 17%; left: 13%; background: #ecdfbb; transform: rotate(45deg); box-shadow: 0 0 18px var(--hc-accent); }
.hc-orbit-inner { width: 79%; border-style: dashed; opacity: .4; transform: rotate(26deg) scaleY(.9); }
.hc-podium { position: absolute; z-index: -1; width: 90%; height: 55px; bottom: 20px; background: radial-gradient(ellipse, color-mix(in srgb, var(--hc-accent) 19%, transparent), transparent 68%); border-radius: 50%; border-top: 1px solid color-mix(in srgb, var(--hc-accent) 30%, transparent); transform: perspective(300px) rotateX(45deg); }
.hc-feature-copy { align-self: center; padding: 12px 0 34px; }
.hc-feature-copy>.hc-eyebrow { font-size: 10px; color: #a6b5c6; }
.hc-feature-rarity { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--hc-accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hc-feature-rarity>span { font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.hc-feature-rarity>i { width: 23px; height: 1px; background: var(--hc-accent); opacity: .5; }
.hc-feature-copy>h3 { font-size: clamp(27px, 3.2cqw, 48px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 17px; text-wrap: balance; color: var(--hc-ivory); }
.hc-selected-hero { display: block; font-size: 12px; line-height: 1.7; color: #b3bbca; }
.hc-selected-hero>i { padding-inline: 8px; color: #6d829c; font-style: normal; }
.hc-state { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.7; color: #b6bfca; margin-top: 22px; }
.hc-state>i { width: 6px; height: 6px; border-radius: 50%; background: #8593a3; box-shadow: 0 0 0 4px #8593a313; }
.hc-state.is-active { color: #9ce8cd; }
.hc-state.is-active>i { background: #8ee8c1; box-shadow: 0 0 10px #8ee8c188; }
.hc-description { max-width: 390px; }
.hc-open-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 50px; padding: 14px 21px; border: 1px solid #cfb57a8c; background: linear-gradient(110deg, #dbc594, #ac8b52); color: #111e2a; font-size: 12px !important; font-weight: 600 !important; box-shadow: 0 8px 25px #0003; transition: filter .2s; }
.hc-open-button:hover { filter: brightness(1.13); }
.hc-open-button>span { font-size: 23px; line-height: 1; font-weight: 400; }
.hc-power-note { display: flex; align-items: center; gap: 13px; margin-top: 28px; padding-top: 19px; border-top: 1px solid #c2b58929; }
.hc-power-note>span { color: #b7a784; font-size: 27px; }
.hc-power-note>div { display: grid; gap: 5px; }
.hc-power-note strong { font-size: 11px; font-weight: 500; color: #c7baa0; }
.hc-power-note small { font-size: 10px; color: #9daabd; line-height: 1.6; }
.hc-feature-navigation { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0 22px; }
.hc-feature-navigation>span { color: #8297ad; font-size: 9px; letter-spacing: .18em; }
.hc-feature-navigation>div, .hc-viewer-navigation { display: flex; align-items: center; gap: 22px; }
.hc-feature-navigation button, .hc-viewer-navigation button { width: 44px; height: 44px; border: 1px solid #b9b68e40; border-radius: 50%; background: #0b1b2a66; color: #dfceb0; font-size: 20px; transition: background .2s, border-color .2s; }
.hc-feature-navigation button:hover, .hc-viewer-navigation button:hover { background: #d3bd871a; border-color: #d3bd87; }
.hc-position { min-width: 65px; text-align: center; font-size: 12px; letter-spacing: .15em; color: #a4b7cc; font-variant-numeric: tabular-nums; }

/* Artwork remains full-bleed; its token and fine metal frame are separate layers. */
.hc-card { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 3%; background: #101d30; isolation: isolate; transition: filter .3s; }
.hc-card[data-active="false"]:not(.is-color-preview) { filter: grayscale(1) brightness(.8); }
.hc-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3%; z-index: -2; }
.hc-art-fallback { position: absolute; z-index: -3; inset: 0; display: grid; place-items: center; font-size: 64px; color: #a5b1c2; background: repeating-linear-gradient(45deg, #233449, #233449 1px, #142133 1px, #142133 9px); }
.hc-card.is-art-missing .hc-art { visibility: hidden; }
.hc-card-shade { position: absolute; inset: 0; border-radius: 3%; background: linear-gradient(0deg, #030713ed 0, #03071391 12%, transparent 35%, transparent 82%, #03071370 100%); pointer-events: none; }
.hc-frame { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hc-token { position: absolute; z-index: 4; width: 29%; height: auto; aspect-ratio: 1; object-fit: contain; top: -5.5%; left: -7%; filter: drop-shadow(0 4px 5px #0009); pointer-events: none; }
.hc-card-edition { position: absolute; top: 5%; right: 7%; max-width: 65%; text-align: right; font-size: clamp(9px, 1cqw, 14px); line-height: 1.5; color: #fff2d3; text-shadow: 0 1px 6px #000; }
.hc-card-edition>small { display: block; font-size: .7em; letter-spacing: .18em; opacity: .85; }
.hc-card-caption { position: absolute; z-index: 2; bottom: 5%; left: 9%; right: 9%; text-align: left; color: #fff1d6; }
.hc-card-caption>small { display: block; font-size: clamp(7px, .65cqw, 10px); letter-spacing: .25em; line-height: 1.7; opacity: .85; }
.hc-card-caption>strong { display: block; font-weight: 500; font-size: clamp(10px, 1.3cqw, 18px); line-height: 1.3; text-wrap: balance; }
.hc-foil { position: absolute; z-index: 1; inset: 1.5%; border-radius: 2%; opacity: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(120deg, transparent 5%, #63c9ff15 23%, #ad8bff30 31%, #ff9bd440 38%, #fff4b836 45%, #9affcd20 50%, transparent 62%); background-size: 250% 250%; }
.hc-rarity-ur .hc-foil { opacity: .65; }
.hc-card[data-active="false"]:not(.is-color-preview) .hc-foil { opacity: 0; }
.hc-rarity-gr { --hc-accent: #74cbff; }
.hc-rarity-lr { --hc-accent: #f0cc7d; }
.hc-rarity-ur { --hc-accent: #d7b4ff; }

/* Each rarity is an unboxed exhibit. The leaning portraits lift out of the shelf. */
.hc-archive-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 33px 0 8px; }
.hc-archive-heading>span:last-child { font-size: 10px; color: #96abc0; }
.hc-archive-heading i { padding-left: 8px; font-size: 18px; color: #c7bb9e; font-style: normal; }
.hc-shelf { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 20px; padding-block: 24px 13px; border-bottom: 1px solid #bdc9da1f; }
.hc-shelf:last-child { border: 0; }
.hc-shelf-heading { padding-top: 30px; }
.hc-shelf-heading>img { display: block; width: 64px; height: 64px; object-fit: contain; margin: 0 0 14px -4px; filter: drop-shadow(0 0 15px color-mix(in srgb, var(--hc-accent) 15%, transparent)); }
.hc-shelf-heading>.hc-eyebrow { font-size: 9px; letter-spacing: .12em; color: var(--hc-accent); }
.hc-shelf-heading>h3 { font-size: 19px; line-height: 1.35; font-weight: 400; color: #e2d9c8; margin: 10px 0 14px; }
.hc-shelf-total { color: #8ca1b7; font-size: 10px; }
.hc-shelf-rule { display: block; width: 34px; height: 1px; background: var(--hc-accent); opacity: .45; margin-top: 22px; }
/* Keep the rotated card corners, protruding tokens and focus rings inside the scrollport. */
.hc-card-rail { display: flex; align-items: flex-start; gap: clamp(10px, 1.4cqw, 24px); overflow-x: auto; padding: 40px 48px 25px; scroll-padding-inline: 48px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #ac997455 transparent; overscroll-behavior-x: contain; }
.hc-archive-card { display: block; flex: 0 0 clamp(130px, 16cqw, 185px); width: clamp(130px, 16cqw, 185px); min-width: 0; padding: 0; background: none; border: 0; color: inherit; text-align: left; scroll-snap-align: center; }
.hc-archive-card>.hc-card { transform: rotate(var(--hc-lean)); transform-origin: 50% 100%; transition: transform .3s, filter .3s, box-shadow .3s; box-shadow: 4px 14px 20px #0005; }
.hc-archive-card:hover>.hc-card, .hc-archive-card:focus-visible>.hc-card { transform: translateY(-13px) rotate(0); box-shadow: 0 18px 24px #0008; }
.hc-archive-card[aria-current="true"]>.hc-card { outline: 1px solid #dfd9bc88; outline-offset: 5px; }
.hc-archive-card .hc-card-edition { font-size: 8px; }
.hc-archive-card .hc-card-caption>strong { font-size: 10px; }
.hc-archive-card .hc-card-caption>small { font-size: 6px; }
.hc-archive-label { display: block; margin-top: 18px; padding-inline: 2px; }
.hc-archive-label>small { display: flex; align-items: center; gap: 8px; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; color: #8d9fb3; }
.hc-archive-label>small>i { width: 14px; height: 1px; background: #aebed333; }
.hc-archive-label>strong { display: block; margin-top: 7px; font-size: 11px; font-weight: 400; line-height: 1.5; color: #c5ced9; }
.hc-empty { min-height: 360px; display: grid; place-content: center; text-align: center; }
.hc-empty>span { font-size: 90px; font-weight: 200; color: #bca77f; }
.hc-empty>h3 { font-size: 26px; font-weight: 400; }

/* Native top-layer lightbox: keyboard focus stays inside the enlarged artwork. */
.hc-viewer { position: fixed; inset: 0; width: min(1180px, calc(100vw - 60px)); height: min(900px, calc(100dvh - 60px)); max-width: none; max-height: none; padding: 0; margin: auto; border: 1px solid #d1c39866; background: #07111f; overflow: hidden; box-shadow: 0 35px 150px #000c; }
.hc-viewer::backdrop { background: #01050ee6; backdrop-filter: blur(12px); }
.hc-viewer-close { position: absolute; z-index: 5; right: 15px; top: 13px; width: 40px; height: 40px; border: 1px solid #d3c39a55; border-radius: 50%; background: #081625dd; color: #e5d8bc; font-size: 28px !important; font-weight: 300 !important; line-height: 1; }
.hc-viewer-close:hover { background: #233043; }
.hc-viewer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); height: 100%; }
.hc-viewer-art { position: relative; overflow: auto; scrollbar-width: thin; scrollbar-color: #8d819955 transparent; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--hc-accent) 12%, #0c1829), #050c16 80%); overscroll-behavior: contain; }
.hc-zoom-canvas { width: calc(var(--hc-zoom, 1) * min(40vw, 480px, (100dvh - 180px) * .666667)); min-width: 210px; margin: auto; padding: 50px 30px; box-sizing: content-box; }
.hc-viewer .hc-card { filter: drop-shadow(0 18px 20px #0009); }
.hc-viewer .hc-card[data-active="false"]:not(.is-color-preview) { filter: grayscale(1) brightness(.8) drop-shadow(0 18px 20px #0009); }
.hc-viewer .hc-card-edition { font-size: clamp(12px, 1.25vw, 20px); }
.hc-viewer .hc-card-caption>small { font-size: clamp(8px, .8vw, 12px); }
.hc-viewer .hc-card-caption>strong { font-size: clamp(16px, 1.8vw, 26px); }
.hc-viewer-details { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; overflow-y: auto; padding: 70px 32px 28px; border-left: 1px solid #d3c39a26; background: linear-gradient(155deg, #12213380, #07111f); }
.hc-viewer-details>.hc-eyebrow { color: var(--hc-accent); }
.hc-viewer-hero { margin-top: 29px; font-size: 12px; letter-spacing: .1em; color: #a7b4c8; }
.hc-viewer-details>h2 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; letter-spacing: -.04em; line-height: 1.2; margin: 12px 0 0; text-wrap: balance; color: var(--hc-ivory); }
.hc-viewer-facts { display: grid; grid-template-columns: 1fr auto; gap: 20px; width: 100%; padding: 23px 0; margin-top: 22px; border-block: 1px solid #c5b78f26; }
.hc-viewer-facts>div { display: grid; gap: 9px; }
.hc-viewer-facts span { font-size: 9px; color: #92a5bb; text-transform: uppercase; letter-spacing: .12em; }
.hc-viewer-facts strong { font-size: 12px; font-weight: 500; color: #e2d6bf; }
.hc-viewer-power { position: relative; width: 100%; padding: 24px 0 24px 37px; }
.hc-viewer-power>span { position: absolute; left: 0; top: 19px; font-size: 28px; color: #c6b17f; }
.hc-viewer-power>strong { font-size: 12px; font-weight: 500; color: #cabc9d; }
.hc-viewer-power>p { font-size: 11px; line-height: 1.7; margin: 8px 0 0; color: #96a8bd; }
.hc-preview-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; border: 1px solid #a2b9d039; background: #122033; color: #d0dbea; padding: 10px 12px; font-size: 11px !important; text-align: left; }
.hc-preview-toggle>span { font-size: 19px; color: #b5c7e2; }
.hc-preview-toggle>i { position: relative; width: 27px; height: 15px; flex-shrink: 0; border-radius: 20px; background: #71819842; margin-left: auto; }
.hc-preview-toggle>i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #a5b2c3; transition: transform .2s; }
.hc-preview-toggle[aria-pressed="true"] { border-color: #c9b5f58c; background: #292544; color: #f0e5ff; }
.hc-preview-toggle[aria-pressed="true"]>i { background: linear-gradient(90deg, #709cf0, #cd9de8); }
.hc-preview-toggle[aria-pressed="true"]>i::after { transform: translateX(12px); background: #fff; }
.hc-preview-note { display: block; font-size: 9px; line-height: 1.6; color: #8d9fb4; margin-top: 9px; }
.hc-zoom-controls { display: flex; align-items: center; gap: 12px; width: 100%; padding: 26px 0 22px; }
.hc-zoom-controls>button { min-width: 35px; min-height: 35px; border: 1px solid #bdc9da33; background: #142133; color: #d0dbea; font-size: 17px; }
.hc-zoom-controls>button[aria-disabled="true"] { color: #65768b; }
.hc-zoom-controls>output { min-width: 40px; text-align: center; font-size: 11px; color: #aabbd0; font-variant-numeric: tabular-nums; }
.hc-zoom-controls>[data-hc-fit] { font-size: 10px; margin-left: auto; padding-inline: 10px; }
.hc-viewer-navigation { justify-content: space-between; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid #c5b78f26; }
.hc-viewer-navigation>span { font-size: 12px; letter-spacing: .16em; color: #afbed0; font-variant-numeric: tabular-nums; }

/* Override the parent progression's broad paragraph treatment only inside this gallery. */
.sanctuary #sanctuary-drawer[data-category="heroMastery"] #hm-wrap .hero-cards p { color: #a4b4c8; font-size: clamp(13px, .9vw, 16px); line-height: 1.85; }
.sanctuary #sanctuary-drawer[data-category="heroMastery"] #hm-wrap .hero-cards .hc-heading p { font-size: 12px; color: #a4b2c4; }
.sanctuary #sanctuary-drawer[data-category="heroMastery"] #hm-wrap .hero-cards :is(h2, h3) { font-weight: 400; }

@container hero-cards (max-width: 680px) {
  .hc-heading { gap: 16px; padding-top: 5px; }
  .hc-heading h2 { font-size: 34px; }
  .hc-collection-count { min-width: 95px; }
  .hc-collection-count>strong { font-size: 30px; }
  .hc-collection-count>span { font-size: 8px; letter-spacing: .1em; }
  .hc-feature { gap: 20px; padding-inline: 0; }
  .hc-feature-art { padding: 36px 10% 45px; }
  .hc-feature-copy>.hc-eyebrow { display: none; }
  .hc-feature-copy>h3 { font-size: 25px; }
  .hc-feature-rarity { margin-top: 0; font-size: 9px; }
  .hc-feature-copy .hc-description { display: none; }
  .hc-selected-hero { font-size: 10px; }
  .hc-state { margin-top: 16px; margin-bottom: 16px; }
  .hc-open-button { padding: 10px 13px; gap: 12px; font-size: 10px !important; }
  .hc-power-note { margin-top: 16px; padding-top: 13px; }
  .hc-power-note strong { font-size: 10px; }
  .hc-power-note small { font-size: 9px; }
  .hc-shelf { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
  .hc-shelf-heading>h3 { font-size: 17px; }
  .hc-shelf-heading>.hc-eyebrow { font-size: 8px; }
  .hc-archive-heading>span:last-child { font-size: 9px; max-width: 150px; text-align: right; }
}
@container hero-cards (max-width: 450px) {
  .hc-heading { flex-wrap: wrap; align-items: flex-end; padding-bottom: 20px; }
  .hc-heading>div:first-child { flex: 1 1 190px; }
  .hc-heading h2 { font-size: 31px; }
  .hc-heading .hc-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .hc-collection-count { min-width: 76px; }
  .hc-collection-count>strong { font-size: 26px; }
  .hc-count-line { margin-top: 10px; }
  .hc-feature { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .hc-feature-art { padding: 34px 22% 34px; }
  .hc-feature-roman { font-size: 52cqw; left: 4%; top: 13%; }
  .hc-feature-card { max-width: 240px; }
  .hc-orbit { width: 78%; }
  .hc-orbit-inner { width: 67%; }
  .hc-podium { width: 72%; bottom: 8px; }
  .hc-feature-copy { text-align: center; padding: 13px 12px 22px; }
  .hc-feature-rarity { justify-content: center; margin-bottom: 10px; }
  .hc-feature-copy>h3 { font-size: 26px; }
  .hc-power-note { justify-content: center; text-align: left; }
  .hc-feature-navigation>span { font-size: 8px; max-width: 100px; line-height: 1.8; }
  .hc-feature-navigation>div { gap: 10px; }
  .hc-feature-navigation button { width: 40px; height: 40px; }
  .hc-archive-heading { margin-top: 24px; }
  .hc-archive-heading>.hc-eyebrow { font-size: 8px; }
  .hc-shelf { display: block; padding-top: 16px; }
  .hc-shelf-heading { display: grid; grid-template-columns: 53px 1fr auto; column-gap: 10px; align-items: center; padding-top: 0; }
  .hc-shelf-heading>img { grid-row: 1 / 3; width: 53px; height: 53px; margin: 0; }
  .hc-shelf-heading>.hc-eyebrow { align-self: end; }
  .hc-shelf-heading>h3 { grid-column: 2; margin: 4px 0 0; font-size: 17px; align-self: start; }
  .hc-shelf-total { grid-area: 1 / 3 / 3 / 4; font-size: 9px; }
  .hc-shelf-rule { display: none; }
  .hc-card-rail { padding: 35px 36px 22px; scroll-padding-inline: 36px; gap: 17px; }
  .hc-archive-card { flex-basis: 142px; width: 142px; }
  .hc-feature-card .hc-card-caption>strong { font-size: 12px; }
  .hc-feature-card .hc-card-edition { font-size: 10px; }
}
@media (max-width: 740px) {
  .hc-viewer { width: 100vw; height: 100dvh; border: 0; }
  .hc-viewer-grid { display: block; overflow-y: auto; }
  .hc-viewer-art { min-height: 55dvh; max-height: 76dvh; }
  .hc-zoom-canvas { width: calc(var(--hc-zoom, 1) * min(63vw, 42dvh)); padding: 40px 27px 30px; }
  .hc-viewer-details { overflow: visible; padding: 24px 24px 30px; border-left: 0; border-top: 1px solid #d3c39a33; }
  .hc-viewer-hero { margin-top: 15px; }
  .hc-viewer-details>h2 { font-size: 30px; max-width: 90%; }
  .hc-viewer .hc-card-caption>strong { font-size: 15px; }
  .hc-viewer .hc-card-edition { font-size: 12px; }
  .hc-viewer .hc-state { margin-block: 16px 0; }
  .hc-viewer-facts { margin-top: 18px; padding-block: 18px; }
  .hc-viewer-power { padding-block: 20px; }
  .hc-viewer-navigation { margin-top: 4px; }
  .hc-preview-toggle { min-height: 48px; font-size: 12px !important; }
  .hc-zoom-controls>button { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hc-feature-card { animation: hc-card-arrive .6s ease-out both; }
  .hc-card[data-active="true"] .hc-foil, .hc-card.is-color-preview .hc-foil { animation: hc-prism 9s ease-in-out infinite alternate; }
  .hc-viewer[open] { animation: hc-viewer-arrive .25s ease-out both; }
}
.hero-cards.is-paused *, .sanctuary-motion-paused .hero-cards * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-cards *, .hc-viewer * { animation: none !important; transition: none !important; }
  .hc-feature-card:hover, .hc-archive-card:hover>.hc-card { transform: none; }
}
@keyframes hc-prism { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes hc-card-arrive { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes hc-viewer-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
