/* Collector pack: emerald identity, native card faces, motion only in the menu. */
.editionBanner{display:flex;align-items:center;gap:20px;width:100%;padding:20px 24px;margin:12px 0 24px;border:1px solid #9b895655;border-radius:var(--r-card);background:linear-gradient(110deg,#173f32,#091f19);color:var(--ivory);text-align:left;cursor:pointer}
.editionBanner>span:not(.editionBannerMark){display:grid;gap:5px;flex:1}.editionBanner small,.editionCollection header small,.editionReveal>small,.editionResultCaption small{font:700 10px var(--font-body);letter-spacing:2px;color:var(--brass-hi)}
.editionBannerMark{display:grid;place-items:center;width:40px;height:58px;border:1px solid #c0ae7977;border-radius:5px;font:24px Georgia;color:#d4c18b;transform:rotate(-8deg);background:repeating-linear-gradient(35deg,transparent 0 5px,#aac59a15 5px 6px)}
.editionBanner b{font:400 30px 'Bebas Neue',sans-serif;letter-spacing:2px}.editionBanner strong{color:var(--brass-hi);white-space:nowrap;font-size:12px}
#v2mbox.editionModal{width:min(1040px,94vw);max-width:1040px;padding:28px;max-height:92dvh;overflow:auto;text-align:left;background:#0c261e;scroll-behavior:smooth}
.editionHero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:325px;padding:8px 32px 26px;overflow:hidden;background:radial-gradient(ellipse at 78% 45%,#27534088,transparent 65%)}
.editionHero h3{font:400 64px/.94 'Bebas Neue',sans-serif;letter-spacing:3px;margin:16px 0}.editionHero p{font-size:17px!important;line-height:1.45!important}.editionHeroTag{font-size:10px;letter-spacing:1px;color:#a0b4a6}.editionFan{position:relative;height:285px;isolation:isolate}.editionFan>.discoveryFace{position:absolute;width:180px;left:calc(50% - 90px);top:10px;filter:drop-shadow(0 15px 12px #0006)}.editionFan>.discoveryFace:first-child{transform:translate(-88px,18px) rotate(-15deg);z-index:1}.editionFan>.discoveryFace:nth-child(2){z-index:3;transform:translateY(-3px)}.editionFan>.discoveryFace:last-child{transform:translate(88px,18px) rotate(15deg);z-index:2}
.editionCollection p,.editionInspect p,.editionOdds,.editionReveal p{font:400 14px/1.55 var(--font-body);color:var(--muted)}
.editionBuy{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;background:#15392c;border:1px solid #bcaa7040;border-radius:var(--r-card)}.editionBuy>div>small{display:block;font-size:10px;letter-spacing:1.5px;color:#b5c4b6}.editionBuy b{display:block;font:32px 'Bebas Neue',sans-serif;margin:5px 0}.editionBuy b>span{color:#789b88}.editionBuy p{margin:0}.editionPurchase{display:grid;gap:8px;min-width:235px;text-align:center}.editionPurchase>small{letter-spacing:0!important;font-size:11px!important}.editionBalance{font:600 12px var(--font-body);color:var(--brass-hi);letter-spacing:.5px}.editionPurchase button{min-height:48px}.editionOpening .editionFan{animation:editionPackBreathe 1s ease-in-out infinite alternate}
.editionOdds{margin:0 0 24px;border-bottom:1px solid var(--hairline);padding:0 0 10px}.editionOdds summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#cab784;font-size:11px;letter-spacing:1px;font-weight:700}.editionOdds summary::after{content:'+';margin-left:auto}.editionOdds[open] summary::after{content:'−'}.editionOdds>div{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;padding-bottom:12px}.editionOdds span{display:flex;justify-content:space-between;gap:12px}.editionOdds b{color:var(--ivory)}
.editionSetHeading{display:flex;justify-content:space-between;align-items:center;gap:12px}.editionSetHeading h4{font:24px 'Bebas Neue',sans-serif;letter-spacing:1px;margin:0}.editionSetHeading>span{font-size:12px;color:var(--muted)}
.editionGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px;margin:22px 0}.editionTile{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:9px;border:1px solid transparent;border-radius:var(--r-card)}.editionTile.equipped{border-color:#bba97470;background:#17392c}.editionTile>.discoveryFace{filter:drop-shadow(0 5px 5px #0004);transition:transform 220ms ease}.editionTile:focus-within>.discoveryFace{transform:translateY(-4px)}.editionTileName{text-align:center}.editionTileName>b{display:block;font:600 17px var(--font-body)}.editionTileName>span{font:500 12px var(--font-body);color:var(--muted)}.editionOwnership{font-size:9px;letter-spacing:.6px;color:#a2b79e}.editionTile.equipped .editionOwnership{color:var(--brass-hi)}.editionTile button{width:100%;font-size:11px;min-height:44px}.editionFootnote{max-width:590px;margin:28px auto;text-align:center;font-size:12px!important}
.editionInspect .discoveryDetailBody{margin-top:24px}.editionInspect .discoveryFace{max-width:300px;filter:drop-shadow(0 16px 14px #0005)}.editionStatus{min-height:20px;color:var(--brass-hi)!important;font-size:12px!important}.editionInspect h3{font:36px 'Bebas Neue',sans-serif;letter-spacing:1px}.editionInspect li{margin-bottom:12px}
.editionReveal{text-align:center;min-height:500px;max-width:650px;margin:auto}.editionReveal h3{font:36px 'Bebas Neue',sans-serif;letter-spacing:2px;margin:8px 0}.editionDebit{font-size:11px!important;margin:0 0 14px}.editionRevealStage{position:relative;min-height:410px;perspective:1100px}.editionShuffle{position:relative;width:210px;height:305px;margin:48px auto 35px;perspective:1000px}.editionShuffle i{position:absolute;inset:0;border:1px solid #a3905f;border-radius:14px;background:repeating-linear-gradient(35deg,transparent 0 7px,#b2c19e19 7px 8px),linear-gradient(145deg,#224c3b,#0a2018);box-shadow:0 14px 28px #0007;animation:editionShuffle 700ms cubic-bezier(.45,0,.2,1) 3}.editionShuffle i::after{content:'M';position:absolute;inset:12px;display:grid;place-items:center;border:1px solid #baa77566;border-radius:9px;font:56px Georgia,serif;color:#c7b67e}.editionShuffle i:nth-child(1){--spread:-64px;--angle:-13deg}.editionShuffle i:nth-child(2){--spread:64px;--angle:13deg;animation-delay:90ms}.editionShuffle i:nth-child(3){--spread:0px;--angle:2deg;animation-delay:180ms}
@keyframes editionShuffle{0%,100%{transform:translateX(0) rotate(0)}45%{transform:translateX(var(--spread)) rotate(var(--angle)) translateY(-12px)}}
.editionResult>.discoveryFace{width:min(245px,55vw);margin:12px auto 16px;filter:drop-shadow(0 18px 22px #0007);transform-origin:center}.editionResult:not([hidden])>.discoveryFace{animation:editionTurn 650ms cubic-bezier(.16,.8,.2,1) both}.editionResultCaption{animation:editionCaption 400ms 240ms ease both}.editionResultCaption h3{font-size:38px;margin:4px 0}.editionResultCaption p{margin:0 0 12px}.editionRevealActions{display:flex;justify-content:center;gap:12px;animation:editionCaption 320ms 420ms ease both}.editionRevealActions>button{min-height:44px}.editionReveal [hidden]{display:none!important}.editionEquipped .editionEquip{background:#28523d!important;color:#ece5cc!important;border-color:#b8aa77!important}.editionEquipped .discoveryFace{animation:editionSettle 440ms ease!important}
@keyframes editionTurn{from{opacity:0;transform:rotateY(-88deg) scale(.92) translateY(12px)}to{opacity:1;transform:none}}@keyframes editionCaption{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes editionSettle{50%{transform:scale(.975)}to{transform:none}}@keyframes editionPackBreathe{to{opacity:.72;transform:translateY(-3px)}}
.discoveryFace img[data-native-card]{opacity:0;transform:translateY(6px);transition:opacity 360ms ease,transform 360ms ease}.discoveryFace.ready img[data-native-card]{opacity:1;transform:none}
@media(hover:hover){.editionTile:hover>.discoveryFace{transform:translateY(-4px)}}
@media(max-width:600px){#v2mbox.editionModal{padding:16px;width:94vw}.editionHero{display:flex;flex-direction:column;padding:12px 0 20px;min-height:0;text-align:center}.editionHero h3{font-size:46px;margin:10px 0}.editionHero h3 br{display:none}.editionHero p{font-size:14px!important;margin:8px 0}.editionHero p br{display:none}.editionHeroTag{font-size:9px}.editionFan{height:195px;width:100%;margin-top:22px}.editionFan>.discoveryFace{width:120px;left:calc(50% - 60px)}.editionFan>.discoveryFace:first-child{transform:translate(-65px,12px) rotate(-14deg)}.editionFan>.discoveryFace:last-child{transform:translate(65px,12px) rotate(14deg)}.editionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 8px}.editionBuy{padding:18px;gap:14px;flex-wrap:wrap}.editionBuy>div:first-child{display:flex;align-items:center;gap:10px;width:100%;flex-wrap:wrap}.editionBuy b{font-size:26px;margin:0}.editionBuy p{font-size:12px;width:100%}.editionPurchase{width:100%;min-width:0}.editionOdds>div{grid-template-columns:1fr}.editionBanner{padding:16px;gap:12px}.editionBannerMark{display:none}.editionBanner b{font-size:25px}.editionBanner strong{font-size:10px}.editionBanner>span>span{font-size:12px}.editionInspect .discoveryDetailBody{display:flex;flex-direction:column;align-items:center}.editionInspect .discoveryFace{width:200px}.editionShuffle{width:165px;height:239px}.editionReveal{min-height:440px}.editionRevealStage{min-height:345px}.editionReveal h3{font-size:28px}.editionResult>.discoveryFace{width:min(205px,50vw)}.editionRevealActions{flex-direction:column;gap:8px}.editionSetHeading>span{font-size:10px}.editionTile{padding:4px}.editionSetHeading h4{font-size:22px}}
@media(max-height:700px){.editionRevealStage{min-height:300px}.editionResult>.discoveryFace{width:160px}.editionShuffle{width:150px;height:218px;margin:22px auto}.editionReveal{min-height:0}.editionResultCaption h3{font-size:28px}.editionReveal h3{margin:5px 0}.editionResultCaption p{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.editionModal *{animation:none!important;scroll-behavior:auto!important}.editionModal .editionTile>.discoveryFace,.discoveryFace img[data-native-card]{transform:none!important;transition:opacity 120ms ease!important}}
.editionReduced *{animation:none!important;scroll-behavior:auto!important}.editionReduced .discoveryFace img[data-native-card]{transform:none!important;transition:opacity 120ms ease!important}

/* Scoped typography outranks the shared modal heading. */
#v2mbox.editionModal .editionHero h3{font:400 64px/.94 "Bebas Neue",sans-serif;letter-spacing:3px;text-align:left;margin:16px 0;color:var(--ivory)}
#v2mbox.editionModal .editionHeroCopy{display:block}
#v2mbox.editionModal .editionReveal h3{font:400 34px "Bebas Neue",sans-serif;letter-spacing:2px}
.editionReduced .editionTile>.discoveryFace{transform:none!important;transition:none!important}
@media(max-width:600px){#v2mbox.editionModal .editionHero h3{font-size:46px;text-align:center;margin:10px 0}#v2mbox.editionModal .editionReveal h3{font-size:28px}}

.editionModalClose{display:block;margin:0 0 8px auto;min-height:44px;padding:8px 12px;background:transparent;border:0;color:var(--muted);font:600 11px var(--font-body);letter-spacing:1px;cursor:pointer}.editionModalClose:hover,.editionModalClose:focus-visible{color:var(--ivory)}

#v2mbox.editionAnnouncementModal{width:min(440px,92vw);max-width:440px;padding:18px 28px 26px;text-align:center}
.editionAnnouncement>small{font:700 10px var(--font-body);letter-spacing:2px;color:var(--brass-hi)}
#v2mbox.editionAnnouncementModal h3{font:400 42px "Bebas Neue",sans-serif;letter-spacing:2px;color:var(--ivory);margin:9px 0 16px}
.editionAnnouncementArt{position:relative;height:230px;margin:0 auto;width:280px;max-width:100%}.editionAnnouncementArt>.discoveryFace{position:absolute;width:140px;left:calc(50% - 70px);top:4px;filter:drop-shadow(0 12px 12px #0006)}.editionAnnouncementArt>.discoveryFace:first-child{transform:translateX(-45px) rotate(-10deg);z-index:2}.editionAnnouncementArt>.discoveryFace:last-child{transform:translateX(45px) rotate(10deg);z-index:1}
.editionAnnouncement>p{font:400 14px var(--font-body);color:var(--muted);margin:8px 0 22px}.editionAnnouncement>button{width:100%;min-height:44px;margin-top:8px}
@media(max-height:650px){#v2mbox.editionAnnouncementModal{padding:8px 22px 16px}#v2mbox.editionAnnouncementModal h3{font-size:34px;margin:5px 0 10px}.editionAnnouncementArt{height:175px}.editionAnnouncementArt>.discoveryFace{width:110px;left:calc(50% - 55px)}.editionAnnouncement>p{margin:6px 0 12px}}

/* Build479: a finite four-beat opening, with controls outside the motion stage. */
#v2mbox.editionConfirmModal{width:min(440px,94vw);text-align:center}
.editionConfirm>small{font:700 10px var(--font-body);letter-spacing:2px;color:var(--brass-hi)}
.editionConfirmSeal{display:grid;place-items:center;width:62px;height:82px;margin:22px auto;border:1px solid #c3ad72;border-radius:8px;background:repeating-linear-gradient(35deg,transparent 0 7px,#b2c19e19 7px 8px),#173c2d;color:#e8cf8f;font:32px Georgia;transform:rotate(-6deg)}
#v2mbox.editionModal .editionConfirm h3{font:32px 'Bebas Neue',sans-serif;letter-spacing:1px;color:var(--ivory);margin:12px 0}
.editionConfirm p{font:14px/1.5 var(--font-body);color:var(--muted)}
.editionConfirmPrice{display:grid;gap:7px;margin:22px 0;padding:16px;border-block:1px solid #bca76d40;color:#e8ce8f}.editionConfirmPrice span{font-size:12px;color:var(--muted)}
.editionConfirm>button{width:100%;min-height:48px;margin-top:10px}
.editionRevealStage{isolation:isolate}
.editionAura{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden;border-radius:50%;background:radial-gradient(ellipse at 50% 42%,#bdab6040,transparent 62%);animation:editionGather 4.2s ease-in both}
.editionAura i{position:absolute;width:78%;aspect-ratio:1;left:11%;top:0;border:1px solid #dac58c50;border-radius:50%;transform:rotateX(62deg) rotate(-25deg);box-shadow:0 0 35px #a8bd6320}
.editionAura i:nth-child(2){width:64%;left:18%;top:8%;transform:rotateX(62deg) rotate(25deg)}.editionAura i:nth-child(3){width:90%;left:5%;top:5%;border-style:dashed;opacity:.35}
.editionShuffle{margin:38px auto 24px}
.editionShuffle i{animation:editionGrandShuffle 4.2s cubic-bezier(.45,0,.2,1) both;transform-origin:50% 85%;--spread:0px;--angle:0deg;--depth:0px}
.editionShuffle i:nth-child(1){--spread:-78px;--angle:-24deg;--depth:-36px;animation-delay:0s}
.editionShuffle i:nth-child(2){--spread:78px;--angle:24deg;--depth:-36px;animation-delay:0s}
.editionShuffle i:nth-child(3){--spread:-40px;--angle:-12deg;--depth:-18px;animation-delay:0s}
.editionShuffle i:nth-child(4){--spread:40px;--angle:12deg;--depth:-18px}
.editionShuffle i:nth-child(5){--spread:0px;--angle:0deg;--depth:20px}
.editionShuffle i::before{content:'';position:absolute;inset:22px;border:1px solid #d8c18655;border-radius:50%;transform:scale(.75,.6)}
@keyframes editionGrandShuffle{0%{opacity:0;transform:translateY(20px) scale(.84)}12%{opacity:1;transform:translateX(var(--spread)) rotate(var(--angle)) translateZ(var(--depth)) scale(.94)}35%{transform:translateX(var(--spread)) rotate(var(--angle)) translateY(-12px) scale(.96)}54%{transform:translateX(0) rotateY(180deg) rotate(0) scale(.96)}76%{transform:translateX(var(--spread)) rotateY(360deg) rotate(var(--angle)) translateY(-10px) scale(1)}91%{opacity:1;transform:translateX(0) rotateY(360deg) rotate(0) scale(1.02)}100%{opacity:1;transform:translateX(0) rotateY(360deg) rotate(0) scale(1)}}
@keyframes editionGather{0%{opacity:0;transform:scale(.7)}35%{opacity:.45;transform:scale(.95)}85%,100%{opacity:1;transform:scale(1.08)}}
.revealed .editionAura{animation:editionBloom 1.2s ease-out both;background:radial-gradient(ellipse at 50% 38%,#dfc66c65,transparent 65%)}
@keyframes editionBloom{from{opacity:.4;transform:scale(.65)}45%{opacity:1;transform:scale(1.1)}to{opacity:.6;transform:scale(1)}}
.editionResult:not([hidden])>.discoveryFace{animation:editionGrandTurn 950ms cubic-bezier(.16,.8,.2,1) both}.editionResultCaption{animation-delay:480ms}.editionRevealActions{animation-delay:650ms}
@keyframes editionGrandTurn{0%{opacity:0;transform:rotateY(-88deg) translateY(-14px) scale(.88)}56%{opacity:1;transform:rotateY(4deg) translateY(-3px) scale(1.018)}78%{transform:rotateY(-1deg) translateY(1px) scale(.997)}100%{opacity:1;transform:none}}
@media(max-width:600px){.editionShuffle i:nth-child(1){--spread:-38px;--angle:-14deg}.editionShuffle i:nth-child(2){--spread:38px;--angle:14deg}.editionShuffle i:nth-child(3){--spread:-20px;--angle:-7deg}.editionShuffle i:nth-child(4){--spread:20px;--angle:7deg}}
@media(max-height:700px){.editionShuffle{margin:22px auto}}
.editionReduced .editionAura{display:none}
@media(prefers-reduced-motion:reduce){.editionAura{display:none}}

.editionPurchase .metaPrimary:disabled{background:#294638;color:#aebdb2;border-color:#647b67;box-shadow:none;cursor:not-allowed;transform:none;filter:none}
/* Build487: permanent per-card design library; original and collected art share one selector. */
.editionLibrary .discoveryDetailBody{margin-top:22px;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:32px;padding-bottom:24px;border-bottom:1px solid #bca76d30}
.editionLibrary .editionSelectedName{font:600 23px var(--font-body);color:var(--ivory);margin:8px 0}
.editionLibrary .editionSelectionState{font-size:13px!important;margin:8px 0 16px;color:var(--brass-hi)}
.editionLibrary .editionRules{margin:8px 0;border-top:1px solid #bca76d30;padding-top:12px}.editionRules summary{min-height:36px;cursor:pointer;font:700 12px var(--font-body);letter-spacing:1px;color:var(--brass-hi)}
.editionLibrary .editionPlayNote{font-size:12px!important;line-height:1.6!important;color:var(--muted)}
.editionDesignGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px;align-items:start}
.editionDesignChoice{background:transparent;color:var(--ivory);border:1px solid transparent;border-radius:10px;padding:10px;cursor:pointer;text-align:left;min-width:0}
.editionDesignChoice.selected{border-color:#d8bd72;background:#244637}.editionDesignChoice:focus-visible{outline:2px solid var(--brass-hi);outline-offset:3px}
.editionDesignChoice .editionOwnership{display:block;min-height:28px;font-size:10px;line-height:1.5;white-space:normal}
.editionDesignChoice .editionTileName{display:block;margin:12px 0 6px}.editionDesignChoice .editionTileName b{font-size:15px}
.editionPackLinks{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid #bca76d30}
.editionPackLinks button,.editionLibraryLink{min-height:44px}.editionLibraryLink{margin-top:16px}
.discoveryDesignCount{display:block;margin-top:8px;font:600 10px/1.5 var(--font-body);color:var(--brass-hi)}
.editionEmpty{font:14px/1.6 var(--font-body);color:var(--muted);grid-column:1/-1}
.editionLibrary .unavailable .discoveryCardFallback::after,.editionReveal .unavailable .discoveryCardFallback::after{content:'ARTWORK UNAVAILABLE'}
.editionRetry{margin:16px auto 0;min-height:44px}
@media(max-width:600px){.editionLibrary .discoveryDetailBody{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:start;margin-top:18px}.editionLibrary .discoveryDetailBody>.discoveryFace{width:110px}.editionLibrary .discoveryDetailBody h3{font-size:23px!important;text-align:left!important;margin:4px 0 10px!important;letter-spacing:1px!important}.editionLibrary .editionSelectedName{font-size:19px}.editionLibrary .editionEquip{font-size:13px;padding:12px;min-height:44px;width:100%}.editionLibrary .editionPlayNote{font-size:11px!important}.editionLibrary .editionStatus:empty{display:none}.editionLibrary .editionSetHeading{align-items:start;gap:8px;flex-direction:column}.editionDesignGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editionLibrary .editionDesignChoice>.discoveryFace{width:100%}.editionDesignChoice{padding:7px}.editionLibrary .editionRules ul{padding-left:14px;font-size:12px}.editionPackLinks>button{width:100%;white-space:normal}}
.editionLibrary .editionStatus:empty{display:none}
#v2mbox.editionModal .editionLibrary .discoveryDetailBody h3{text-align:left}

/* Build 23 THE RAIL STAYS (David, 12 Sep 2026, phone screenshot of a design library: "the bottom control bar disappears only in
   this mode"). The collector sheets and the card detail are modals, and the modal layer (z 60) sat over the five-stop rail
   (z 48). While one of those sheets is open, body.modalKeepsRail lifts the rail above the sheet, keeps the sheet's box clear
   of it, and a rail stop pressed over the sheet dismisses it and routes (meta.js dismissSheet). The rail clearance is one
   variable: the rail's own height plus its bottom inset, on desktop and phone. */
body.modalKeepsRail{--rail-clear:96px}
@media(max-width:700px){body.modalKeepsRail{--rail-clear:calc(74px + env(safe-area-inset-bottom))}}
body.meta-open.modalKeepsRail #metaNav{z-index:61}
body.modalKeepsRail #v2modal{box-sizing:border-box;padding-bottom:var(--rail-clear)}
body.modalKeepsRail #v2mbox.editionModal,body.modalKeepsRail #v2mbox.discoveryModal{box-sizing:border-box;max-height:calc(100dvh - var(--rail-clear) - 16px)}

/* Build 37: finer stock and inward foil; the five-card fan, reveal and sound beats stay. */
.editionShuffle i{box-shadow:inset 0 1px #fff3c166,inset 0 -2px #0009,0 8px 14px #0006}
.editionShuffle i::before{border-color:#d8c18670;box-shadow:0 0 0 3px #061a1444,inset 0 1px #fff6cc22}
.editionAura i:nth-child(3){border-style:solid;opacity:.2}
.editionRarity{font-weight:800;letter-spacing:.05em;color:#c7d6cc}
.editionRarity.rarity-uncommon{color:#92dfac}.editionRarity.rarity-rare{color:#8dcbff}.editionRarity.rarity-ultra-rare{color:#e2a6ff;text-shadow:0 0 14px #b367db66}
.editionCopies{display:inline-block;padding:3px 10px;border:1px solid #d6b665;border-radius:16px;color:#f5df9e;font-weight:800;font-size:16px}
.editionGift{max-width:680px;margin:auto;display:grid;gap:18px;padding:18px 0}.editionGift h3{font-family:var(--font-display,'Bodoni Moda',serif);font-size:clamp(26px,5vw,44px);margin:0;color:#f6efd7}.editionGift p{line-height:1.5}.editionGift button{min-height:48px;white-space:normal}
.editionGiftButton{margin-top:12px;display:block;width:100%;min-height:48px}.editionGiftFriends{display:grid;gap:10px;max-height:45vh;overflow:auto}
.editionFriend{display:flex;align-items:center;gap:14px;text-align:left}.editionFriend img,.editionGiftSender img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid #d6b665;flex-shrink:0}.editionFriend span{margin-left:auto;font-size:12px}
.editionGiftSender{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 16px}.editionGiftSender span{font-size:12px;letter-spacing:.08em;color:#d6b665}.editionGiftSender b{display:block;font-size:22px;letter-spacing:0;color:#f6efd7;margin-top:5px;overflow-wrap:anywhere}
.editionGiftPreview{width:min(180px,45vw);margin:auto}.editionGiftPreview .discoveryFace{display:block;width:100%}.editionGiftInbox{padding:20px;border:1px solid #d6b66566;border-radius:12px;background:#071c14}.editionGiftInbox button{width:100%}
@media(max-width:600px){.editionGiftSender img{width:48px;height:48px}.editionGiftSender b{font-size:18px}.editionGift{gap:12px}.editionGiftInbox{padding:14px}.editionReveal:has(.editionGiftSender) .editionRevealStage{min-height:0}.editionReveal:has(.editionGiftSender) .editionResult .discoveryFace{max-height:38vh;width:auto;aspect-ratio:440/638;margin:auto}}
.editionReveal:has(.editionGiftSender) .editionResult>.discoveryFace{height:clamp(174px,calc(100dvh - 590px),300px);max-height:none;width:auto;aspect-ratio:440/638;margin:10px auto}

/* Build33: First Ventures inventory and restrained varnish catchlight. */
.editionPremium{position:relative;isolation:isolate}
.editionPremium.ready::after{content:'';position:absolute;inset:1% 1.5%;border-radius:7%;pointer-events:none;background:linear-gradient(115deg,transparent 30%,#adffca00 42%,#d8ffe129 49%,#e8c87a18 52%,transparent 63%);background-size:320% 100%;opacity:.5;mix-blend-mode:screen;animation:ventureFoilPass 9s ease-in-out 1}
/* Only the selected showcase moves; gallery cards remain still until hovered/focused. */
.editionGrid .editionPremium::after,.editionFan .editionPremium::after{animation:none;opacity:0}
.editionDesignChoice:hover .editionPremium::after,.editionDesignChoice:focus-visible .editionPremium::after{animation:ventureFoilPass 2.8s ease-out 1}
@keyframes ventureFoilPass{0%,15%{background-position:100% 0;opacity:0}30%{opacity:.5}65%{background-position:0 0;opacity:.3}80%,100%{background-position:0 0;opacity:0}}
.editionInventory{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0;margin:8px 0 16px;border-block:1px solid #e8c87a50}
.editionInventory>div{display:flex;align-items:center;gap:12px}.editionInventory strong{font:600 38px/1 var(--font-body);font-variant-numeric:tabular-nums;color:#f5efdd}.editionInventory span{font:700 11px/1.4 var(--font-body);letter-spacing:1px;color:#c4dbca;max-width:95px}.editionInventory>div+div{border-left:1px solid #e8c87a40;padding-left:16px}
.editionDesignActions{display:flex;flex-wrap:wrap;gap:10px}.editionDesignActions>button{flex:1;min-height:48px;margin:0;white-space:normal}.editionDesignActions .editionGiftButton{width:auto}
.editionLibrary .editionKeepCopy{font:500 13px/1.5 var(--font-body);color:#c4dbca;margin:12px 0 20px}.editionGiftButton:disabled{opacity:.55;cursor:not-allowed}
.editionDesignChoice .editionCopyRow{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0}
.editionDesignChoice .editionCopies{font:800 19px/1.2 var(--font-body);color:#f5efdd;background:#0a3527;border:1px solid #80b993;border-radius:5px;padding:5px 9px;flex-shrink:0}
.editionSpareCount{font:600 11px/1.3 var(--font-body);color:#bdecc7;text-align:right}.editionOriginalLabel{display:block;margin:12px 0;color:#b5c5ba;font-size:12px}
.editionGiftCardSummary{display:flex;align-items:center;gap:24px;padding:16px;border:1px solid #e8c87a50;border-radius:10px;background:#072a20}.editionGiftCardSummary .editionGiftPreview{width:95px;flex:0 0 95px;margin:0}.editionGiftCardSummary p{margin:8px 0;font-size:14px}
.editionFriendSearch{display:grid;gap:8px;font:700 11px var(--font-body);letter-spacing:1px;color:#e8c87a}.editionFriendSearch input{box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;border:1px solid #7ca38b;border-radius:6px;background:#061e17;color:#f5efdd;font:16px var(--font-body)}.editionFriendSearch input:focus-visible{outline:2px solid #e8c87a;outline-offset:3px}
.editionFriend[hidden],.editionFriendEmpty[hidden]{display:none!important}.editionFriend b{overflow-wrap:anywhere;min-width:0}.editionFriend span{flex-shrink:0}.editionGiftRemaining{padding:12px;text-align:center;border-block:1px solid #e8c87a55;color:#f5efdd;font-weight:700}
@media(max-width:600px){.editionInventory{gap:8px;padding:12px 0}.editionInventory>div{display:block}.editionInventory strong{font-size:30px;display:block;margin-bottom:6px}.editionInventory span{font-size:9px;letter-spacing:.4px}.editionInventory>div+div{padding-left:10px}.editionDesignActions{flex-direction:column}.editionLibrary .editionKeepCopy{font-size:12px}.editionGiftCardSummary{gap:14px;padding:12px}.editionGiftCardSummary .editionGiftPreview{width:72px;flex-basis:72px}.editionFriend{gap:10px}.editionFriend img{width:44px;height:44px}.editionFriend span{font-size:10px}.editionDesignChoice .editionCopies{font-size:17px}}
.editionReduced .editionPremium::after{animation:none!important;opacity:0!important}
@media(prefers-reduced-motion:reduce){.editionPremium::after{animation:none!important;opacity:0!important}}
.editionPackCopies{display:block;color:#f5efdd!important;font-weight:700!important;margin-top:6px}
/* On phones, the card shares only the identity header. Inventory and actions get full width. */
@media(max-width:600px){
 .editionLibrary .discoveryDetailBody{grid-template-columns:minmax(90px,110px) minmax(0,1fr);gap:8px 16px;align-items:center}
 .editionLibrary .discoveryDetailBody>.discoveryFace{grid-column:1;grid-row:1 / span 4;align-self:start;width:100%}
 .editionLibrary .discoveryDetailBody>div{display:contents}
 .editionLibrary .discoveryDetailBody>div>*{grid-column:1 / -1}
 .editionLibrary .discoveryDetailBody>div>small,.editionLibrary .discoveryDetailBody>div>h3,.editionLibrary .discoveryDetailBody>div>h4,.editionLibrary .discoveryDetailBody>div>.editionSelectionState{grid-column:2;margin:0!important}
 .editionLibrary .discoveryDetailBody>div>small{font-size:11px}
 .editionInventory{margin:12px 0 4px;grid-template-columns:1fr 1fr}
 .editionInventory>div{display:flex;gap:12px}.editionInventory strong{margin:0}.editionInventory span{font-size:10px;max-width:100px}
 .editionDesignActions{flex-direction:row}.editionLibrary .editionKeepCopy{margin:2px 0 4px}.editionLibrary .editionPlayNote{margin:4px 0}
}

/* Build85: selected collector stock, personal gift seal and delivery. */
.editionLibrary .discoveryDetailBody>.editionPremium.ready::after{animation:ventureFoilPass 5.6s ease-in-out infinite;opacity:.65}
.editionLibrary .discoveryDetailBody>.editionPremium.ready::before,.editionResult>.editionPremium.ready::before{content:'';position:absolute;inset:1%;border:1px solid #f1d99799;border-radius:7%;box-shadow:0 0 16px #d9b45455,inset 0 0 7px #b6ffcb44;pointer-events:none;animation:editionStockGlow 3.8s ease-in-out infinite}
@keyframes editionStockGlow{50%{box-shadow:0 0 25px #d9b45488,inset 0 0 12px #b6ffcb66}}
.editionLastCopy{padding:16px;border:1px solid #e8bc75;border-radius:10px;background:#382719;color:#fff0d2}.editionLastCopy>b{letter-spacing:.08em}.editionLastCopy p{margin:10px 0}.editionLastCopy label{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer}.editionLastCopy input{width:22px;height:22px;flex-shrink:0;accent-color:#ddb765}
.editionStoredAt{font:700 11px/1.6 var(--font-body);letter-spacing:.07em;color:#d9c38c;margin:12px auto;max-width:360px;text-wrap:balance}
.editionGiftReveal .editionShuffle{display:grid;place-items:center;perspective:800px}
.editionGiftSeal{box-sizing:border-box;position:relative;width:min(210px,55vw);aspect-ratio:440/638;display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:24px 14px;border:2px solid #ddbd71;border-radius:14px;background:repeating-linear-gradient(135deg,#ffffff03 0 1px,transparent 1px 6px),radial-gradient(ellipse at top,#195942,#062419 65%);box-shadow:inset 0 0 0 7px #092f22,inset 0 0 0 8px #d6b66580,0 12px 35px #0009;animation:editionSealAwait 3.2s ease-in-out both}
.editionGiftSeal::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 30%,#fff2c422 50%,transparent 65%);background-size:320% 100%;animation:ventureFoilPass 3.2s ease-in-out both;pointer-events:none}.editionGiftSeal span,.editionGiftSeal small{font:700 10px/1.5 var(--font-body);letter-spacing:.15em;color:#ecd79d;text-align:center}.editionGiftSeal b,.editionEnvelope b{display:grid;place-items:center;border:2px solid #f0d695;border-radius:50%;width:62px;height:62px;color:#fce9b3;background:radial-gradient(circle at 35% 25%,#987530,#443619);box-shadow:0 3px 12px #0009,inset 0 0 0 4px #b99849;font:500 36px var(--font-display,serif)}
@keyframes editionSealAwait{0%{transform:translateY(24px) rotateY(-18deg);opacity:0}18%{opacity:1;transform:translateY(0) rotateY(0)}65%{transform:translateY(-8px);box-shadow:0 0 32px #d6b66544}90%,100%{transform:translateY(-8px) scale(1.04);box-shadow:0 0 50px #d6b66577}}
.editionDispatch{max-width:640px;margin:auto;padding:16px 0;text-align:center;overflow-wrap:anywhere}.editionDispatch>small{color:#dfc88e;letter-spacing:.14em}.editionDispatch h3{font:600 clamp(24px,4vw,36px)/1.2 var(--font-display,serif);color:#f7edce}.editionDispatch h4{color:#f0d18b;font-size:22px;margin:12px 0}.editionDispatch p{line-height:1.5;color:#d5e1d8}.editionDispatch button{width:100%;min-height:48px;white-space:normal;margin-top:12px}
.editionDispatchStage{position:relative;height:320px;max-width:360px;margin:auto;perspective:800px;overflow:hidden}.editionDispatchCard{position:absolute;width:140px;left:calc(50% - 70px);top:12px;animation:editionSendCard 2.4s cubic-bezier(.25,.7,.25,1) both}.editionDispatchCard .discoveryFace{display:block;width:100%}.editionEnvelope{box-sizing:border-box;position:absolute;left:calc(50% - 118px);top:158px;width:236px;height:142px;border:1px solid #dbbf78;border-radius:8px;background:linear-gradient(145deg,#17523c,#08271d);box-shadow:0 12px 25px #0008;display:grid;place-items:center;animation:editionSendEnvelope 2.4s ease-in-out both}.editionEnvelope::before{content:'';position:absolute;inset:0;background:linear-gradient(30deg,transparent 49.4%,#c6ad6955 50%,transparent 50.6%),linear-gradient(-30deg,transparent 49.4%,#c6ad6955 50%,transparent 50.6%)}.editionEnvelope i{position:absolute;top:0;left:0;right:0;height:70px;background:linear-gradient(#246347,#0b3728);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;animation:editionSealFlap 2.4s ease both}.editionEnvelope b{z-index:1;width:44px;height:44px;font-size:26px;animation:editionSealStamp 2.4s ease both}.editionDispatchSparks{position:absolute;left:0;right:0;top:180px;color:#ffe9ad;font-size:32px;letter-spacing:15px;animation:editionSendSpark 2.4s ease both;pointer-events:none}
@keyframes editionSendCard{0%,12%{transform:translateY(0) rotate(-4deg);opacity:1}45%{transform:translateY(85px) scale(.83);opacity:1}60%,100%{transform:translateY(115px) scale(.7);opacity:0}}
@keyframes editionSendEnvelope{0%,52%{transform:translateY(0)}72%{transform:translateY(-10px)}100%{transform:translateY(-35px) scale(.92)}}
@keyframes editionSealFlap{0%,42%{transform:rotateX(180deg)}62%,100%{transform:rotateX(0)}}
@keyframes editionSealStamp{0%,56%{opacity:0;transform:scale(1.6)}70%,100%{opacity:1;transform:scale(1)}}
@keyframes editionSendSpark{0%,60%{opacity:0;transform:scale(.6)}72%{opacity:.8}100%{opacity:0;transform:translateY(-45px) scale(1.3)}}
.editionDispatch.delivered .editionDispatchStage{height:245px}.editionDispatch [hidden]{display:none!important}
.editionReduced .editionPremium::before{animation:none!important}.editionPageHidden .editionPremium::before,.editionPageHidden .editionPremium::after{animation-play-state:paused!important}
.editionReduced .editionGiftSeal,.editionReduced .editionGiftSeal::after,.editionReduced .editionDispatchStage *{animation:none!important}.editionReduced .editionDispatchCard,.editionReduced .editionDispatchSparks{display:none}.editionReduced .editionEnvelope{top:35px}.editionReduced .editionDispatchStage{height:195px!important}
@media(prefers-reduced-motion:reduce){.editionPremium::before,.editionGiftSeal,.editionGiftSeal::after,.editionDispatchStage *{animation:none!important}.editionDispatchCard,.editionDispatchSparks{display:none}.editionEnvelope{top:35px}.editionDispatchStage{height:195px!important}}

@media(max-width:600px){.editionReveal.editionGiftReveal .editionResult>.discoveryFace{height:clamp(160px,calc(100dvh - 640px),240px)}}
/* Build 145 PREMIUM SUITE - the pack reveal scales with the tagged rarity (premium-fx.js names the class; the same ladder the table uses).
   Common / Uncommon: the Build 33 varnish catchlight plus a brighter bloom. Rare: ivory-gold aura, a turning crown and a twice-passing foil.
   Ultra rare: the room darkens, two light columns descend, a prismatic crown turns, the glints land - inside two seconds, then the card holds. */
.editionReveal.premium-rare .editionAura,.editionReveal.premium-ultra .editionAura{background:radial-gradient(ellipse at 50% 42%,#ffe9a84d,transparent 62%)}
.editionReveal.premium-rare.revealed .editionAura{background:radial-gradient(ellipse at 50% 38%,#ffe9a878,transparent 66%)}
.editionReveal.premium-rare .editionAura i{border-color:#ffe9a870;box-shadow:0 0 42px #ffd98a2e}
.editionReveal.premium-ultra .editionAura i{border-color:#e6fff280;box-shadow:0 0 48px #b9ffd63a}
.editionReveal.premium-ultra.revealed .editionAura{background:radial-gradient(ellipse at 50% 38%,#fff3cf8c,#b9ffd62e 38%,transparent 68%)}
.premiumCrown{position:absolute;left:50%;top:44%;width:min(560px,118vw);aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;z-index:-1;opacity:0;border-radius:50%;
 background:conic-gradient(from 0deg,transparent 0 6%,#ffe9a826 7% 9%,transparent 10% 20%,#ffe9a81f 21% 23%,transparent 24% 36%,#ffe9a82b 37% 39%,transparent 40% 52%,#ffe9a81f 53% 55%,transparent 56% 70%,#ffe9a826 71% 73%,transparent 74% 86%,#ffe9a81f 87% 89%,transparent 90%);
 -webkit-mask:radial-gradient(circle,#000 0 18%,#0009 46%,transparent 72%);mask:radial-gradient(circle,#000 0 18%,#0009 46%,transparent 72%)}
.editionReveal.premium-ultra .premiumCrown{background:conic-gradient(from 0deg,transparent 0 4%,#b9ffd634 5% 7%,transparent 8% 15%,#ffe2a034 16% 18%,transparent 19% 27%,#ffffff2e 28% 30%,transparent 31% 40%,#b9ffd634 41% 43%,transparent 44% 52%,#ffe2a034 53% 55%,transparent 56% 65%,#ffffff2e 66% 68%,transparent 69% 77%,#b9ffd634 78% 80%,transparent 81% 90%,#ffe2a034 91% 93%,transparent 94%)}
.editionReveal.premium-rare.revealed .premiumCrown,.editionReveal.premium-ultra.revealed .premiumCrown{animation:premiumCrownTurn 1.9s cubic-bezier(.2,.7,.2,1) both}
@keyframes premiumCrownTurn{0%{opacity:0;transform:translate(-50%,-50%) rotate(-18deg) scale(.6)}25%{opacity:1}100%{opacity:.62;transform:translate(-50%,-50%) rotate(26deg) scale(1)}}
.premiumColumns{position:absolute;inset:-12% 0 0;pointer-events:none;z-index:-1;opacity:0}
.premiumColumns i{position:absolute;top:-30%;bottom:38%;width:min(44px,9vw);left:calc(50% - min(132px,34vw));background:linear-gradient(180deg,transparent,#b9ffd6 38%,#ffffff 50%,#b9ffd6 62%,transparent);opacity:.5;filter:blur(6px);transform:translateY(-40%)}
.premiumColumns i:last-child{left:auto;right:calc(50% - min(132px,34vw));background:linear-gradient(180deg,transparent,#ffe2a0 38%,#ffffff 50%,#ffe2a0 62%,transparent)}
.editionReveal.premium-ultra.revealed .premiumColumns{animation:premiumColumnsIn 1.5s ease-out both}
.editionReveal.premium-ultra.revealed .premiumColumns i{animation:premiumColumnFall 1.5s cubic-bezier(.2,.8,.2,1) both}.editionReveal.premium-ultra.revealed .premiumColumns i:last-child{animation-delay:.12s}
@keyframes premiumColumnsIn{0%{opacity:0}18%{opacity:1}78%{opacity:1}100%{opacity:0}}
@keyframes premiumColumnFall{0%{transform:translateY(-40%)}100%{transform:translateY(28%)}}
.premiumGlints{position:absolute;inset:0;pointer-events:none;z-index:2}
.premiumGlints i{position:absolute;width:18px;height:18px;opacity:0;background:radial-gradient(circle,#fff 0 18%,transparent 40%),linear-gradient(#fff,#fff) center/100% 2px no-repeat,linear-gradient(#fff,#fff) center/2px 100% no-repeat;filter:drop-shadow(0 0 6px #fff)}
.premiumGlints i:nth-child(1){left:22%;top:18%}.premiumGlints i:nth-child(2){left:74%;top:24%}.premiumGlints i:nth-child(3){left:18%;top:62%}.premiumGlints i:nth-child(4){left:78%;top:58%}.premiumGlints i:nth-child(5){left:50%;top:8%}.premiumGlints i:nth-child(6){left:30%;top:84%}.premiumGlints i:nth-child(7){left:66%;top:86%}.premiumGlints i:nth-child(8){left:50%;top:50%;width:26px;height:26px}
.editionReveal.premium-rare.revealed .premiumGlints i:nth-child(-n+4),.editionReveal.premium-ultra.revealed .premiumGlints i{animation:premiumGlint 1.1s ease-out both}
.editionReveal.revealed .premiumGlints i:nth-child(2){animation-delay:.14s}.editionReveal.revealed .premiumGlints i:nth-child(3){animation-delay:.26s}.editionReveal.revealed .premiumGlints i:nth-child(4){animation-delay:.38s}.editionReveal.revealed .premiumGlints i:nth-child(5){animation-delay:.5s}.editionReveal.revealed .premiumGlints i:nth-child(6){animation-delay:.6s}.editionReveal.revealed .premiumGlints i:nth-child(7){animation-delay:.7s}.editionReveal.revealed .premiumGlints i:nth-child(8){animation-delay:.84s}
@keyframes premiumGlint{0%{opacity:0;transform:scale(.3) rotate(0)}30%{opacity:1;transform:scale(1.25) rotate(20deg)}100%{opacity:0;transform:scale(.6) rotate(60deg)}}
/* the card's own foil: rare passes twice in ivory-gold, ultra passes three times in the prism */
.editionReveal.premium-rare .editionResult .editionPremium.ready::after{background:linear-gradient(115deg,transparent 30%,#ffe9a800 42%,#fff6dc3a 49%,#ffe9a822 52%,transparent 63%);background-size:320% 100%;animation:ventureFoilPass 2.6s ease-in-out 2}
.editionReveal.premium-ultra .editionResult .editionPremium.ready::after{background:linear-gradient(115deg,transparent 28%,#b9ffd600 40%,#b9ffd63d 46%,#ffffff55 50%,#ffe2a03d 54%,transparent 66%);background-size:320% 100%;animation:ventureFoilPass 1.7s ease-in-out 3}
.editionReveal.premium-ultra .editionResult>.discoveryFace{filter:drop-shadow(0 18px 22px #0007) drop-shadow(0 0 26px #b9ffd655)}
.editionReveal.premium-rare .editionResult>.discoveryFace{filter:drop-shadow(0 18px 22px #0007) drop-shadow(0 0 18px #ffe9a84a)}
.editionReveal.premium-ultra.revealed .editionResultCaption .editionRarity{animation:premiumBadge 1.2s .5s ease-out both}
@keyframes premiumBadge{0%{text-shadow:0 0 0 #fff0}40%{text-shadow:0 0 22px #e2a6ff,0 0 6px #fff}100%{text-shadow:0 0 14px #b367db66}}
.editionReveal.premium-ultra.revealed::before{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 50% 40%,transparent 20%,#02100a 78%);animation:premiumDim 2s ease-out both}
@keyframes premiumDim{0%{opacity:0}20%{opacity:.85}80%{opacity:.85}100%{opacity:0}}
.editionReduced .premiumCrown,.editionReduced .premiumColumns,.editionReduced .premiumGlints{display:none}
@media(prefers-reduced-motion:reduce){.premiumCrown,.premiumColumns,.premiumGlints{display:none}.editionReveal.premium-ultra.revealed::before{animation:none;opacity:0}}
