/* Recipient Edition 508 — artwork, copy and navigation are separate, readable regions.
 * Scope to active chapters; never change saved card content or gallery thumbnails. */
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-paper{visibility:hidden;pointer-events:none}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage{
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(145px,1fr) auto auto;
 align-content:start;align-items:center;justify-items:center;gap:clamp(10px,2.3vw,19px);
 padding:clamp(64px,12%,83px) clamp(16px,7%,36px) 30px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;
 text-align:center;scrollbar-width:thin;scrollbar-color:var(--card-accent) transparent;
 background:linear-gradient(155deg,color-mix(in srgb,var(--card-light) 55%,var(--card-bg)),var(--card-bg) 64%);
}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage:before{inset:7px;border:1px solid color-mix(in srgb,var(--card-rule) 35%,transparent);border-radius:0}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage:after{display:none}
.sc-card-art .sc-card-story-top{grid-row:1;grid-column:1;width:100%;display:grid;gap:7px;justify-items:center}
.sc-card-art .sc-card-story-top .sc-card-story-count{margin:0!important;letter-spacing:.15em;font-size:10px}
.sc-card-art .sc-card-story-progress{display:flex;width:min(100%,285px);gap:6px;align-items:stretch;justify-content:center;position:relative}
.sc-card-art .sc-card-progress-step{flex:1;min-width:0;min-height:44px;border:0;background:transparent;color:var(--card-ink);padding:7px 2px 4px;display:grid;align-content:center;gap:5px;cursor:pointer;opacity:.72}
.sc-card-art .sc-card-progress-step>span{height:3px;border-radius:2px;background:currentColor;opacity:.24}
.sc-card-art .sc-card-progress-step small{font:600 10px/1.2 system-ui,sans-serif;white-space:nowrap}
.sc-card-art .sc-card-progress-step.is-past>span{opacity:.58}
.sc-card-art .sc-card-progress-step.is-current{opacity:1;font-weight:700}
.sc-card-art .sc-card-progress-step.is-current>span{background:var(--card-accent);opacity:1;height:4px}
.sc-card-art .sc-card-progress-step:focus-visible{outline:2px solid var(--card-ink);outline-offset:2px;border-radius:5px}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage .sc-card-story-symbol{display:none}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage .sc-card-story-engraving-holder{grid-row:2;grid-column:1;width:100%;max-width:440px;height:100%;min-height:145px;min-width:0;transform:none;display:flex;align-items:center;justify-content:center;margin:0}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-world,.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-photo{width:100%;height:100%;max-width:440px;max-height:none;min-height:0;overflow:hidden;transform:none;border-radius:8px;box-shadow:0 12px 25px #19141d25}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-world svg{display:block;width:100%;height:100%;max-height:none;max-width:none;transform-origin:center;object-fit:contain}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sc-card-art .sc-card-story-copy{grid-row:3;grid-column:1;display:grid;justify-items:center;gap:9px;min-width:0;width:100%;align-self:start}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy h3{font-size:clamp(25px,5.7vw,43px);line-height:1.12;margin:0;max-width:20ch;text-wrap:balance;overflow-wrap:anywhere;color:var(--card-ink);text-align:center}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy p{font-size:clamp(14px,3.7vw,18px);line-height:1.56;margin:0;max-width:40ch;text-align:center;overflow-wrap:anywhere;color:var(--card-ink)}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage .sc-card-story-imprint{grid-row:4;grid-column:1;margin:2px 0 0;opacity:.76}
.sc-card-art .sc-card-final-progress{position:absolute;top:12px;left:66px;right:14px;display:flex;justify-content:center;z-index:14}
.sc-card-art.sc-card-story-letter:not(.is-tiny) .sc-card-paper{padding-top:clamp(80px,16%,108px)}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-chapter-1 .sc-card-story-world svg{animation:sc-card-scene-establish508 .9s cubic-bezier(.2,.72,.2,1) both}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-chapter-2 .sc-card-story-world svg{animation:sc-card-scene-close508 .86s cubic-bezier(.2,.72,.2,1) both}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-chapter-3 .sc-card-story-world svg{animation:sc-card-scene-finale508 1s cubic-bezier(.2,.72,.2,1) both}
@keyframes sc-card-scene-establish508{from{opacity:0;transform:translateY(12px) scale(.91)}to{opacity:1;transform:none}}
@keyframes sc-card-scene-close508{from{opacity:0;transform:translateX(-14px) scale(1.08)}to{opacity:1;transform:none}}
@keyframes sc-card-scene-finale508{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:none}}
.sc-card-comfort-reading .sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage{grid-template-rows:auto minmax(145px,1fr) auto auto;padding-top:72px;padding-bottom:30px;overflow-y:auto}
.sc-card-comfort-reading .sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy p{font-size:clamp(17px,4vw,20px);line-height:1.65}
.sc-card-motion-paused .sc-card-art .sc-card-story-stage,.sc-card-motion-paused .sc-card-art .sc-card-story-world svg,.sc-card-motion-paused .sc-card-art.sc-card-story-letter .sc-card-paper{animation:none!important;transition:none!important;opacity:1;clip-path:none;filter:none}.sc-card-motion-paused .sc-card-art .sc-card-story-stage svg *{animation-play-state:paused!important;transition-duration:0s!important}
@media(max-width:500px){
 .sc-card-art.sc-card-story-active:not(.is-tiny){min-height:clamp(615px,169vw,735px)}
 .sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage{grid-template-rows:auto minmax(165px,1fr) auto auto;padding:66px 7% 24px;gap:10px}
 .sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy h3{font-size:clamp(24px,7.1vw,34px)}
 .sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy p{font-size:clamp(14px,4vw,17px)}
}
@media(prefers-reduced-motion:reduce){.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-stage,.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-world svg{animation:none!important;transition:none!important;opacity:1;transform:none!important;clip-path:none!important;filter:none!important}.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-world svg *{animation:none!important;transition:none!important}}
/* v518 — keep illustrations readable without modifying authored SVG transforms. */
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-engraving-holder{min-height:180px;max-height:420px}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-world{background:var(--card-bg);border:1px solid color-mix(in srgb,var(--card-rule) 58%,transparent);border-radius:5px}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy h3{font-weight:500;letter-spacing:-.025em}
.sc-card-art.sc-card-story-active:not(.is-tiny) .sc-card-story-copy p{line-height:1.68}