.orlong-reveal-lock{overflow:hidden!important}
.orlong-reveal-overlay{position:fixed;inset:0;z-index:100000;background:#020611;opacity:0;display:grid;place-items:center;overflow:hidden;transition:opacity .8s ease;color:#f4f8ff;font-family:Inter,Arial,sans-serif}
.orlong-reveal-overlay:before{content:"";position:absolute;inset:-20%;background:radial-gradient(ellipse at 50% 48%,#164c8b66,transparent 34%),radial-gradient(ellipse at 50% 50%,#061a35 0%,#020611 62%);opacity:.9;transition:opacity 1.4s ease,filter 1.4s ease}
.orlong-reveal-overlay.orlong-reveal-active{opacity:1}
.orlong-reveal-scene{position:relative;width:min(100%,900px);height:min(100svh,850px);min-height:570px;display:grid;place-items:center;isolation:isolate}
.orlong-reveal-energy{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 1s ease}
.orlong-reveal-energy i{position:absolute;left:calc(50% + (var(--particle-index) - 17)*1.65%);top:calc(50% + ((var(--particle-index)*37)%67 - 33)*1%);width:3px;height:3px;border-radius:50%;background:#a9dcff;box-shadow:0 0 12px 3px #48a8ff;opacity:.2;transform:scale(.4)}
.orlong-reveal-crystal{position:absolute;width:170px;height:230px;opacity:0;transform:scale(.2) rotate(25deg);background:linear-gradient(135deg,#b8edff88,#247bd733 48%,#d7f4ff55);clip-path:polygon(50% 0,94% 27%,82% 82%,50% 100%,18% 82%,6% 27%);filter:drop-shadow(0 0 28px #55b8ff);transition:opacity 1s,transform 1.3s}
.orlong-reveal-card-wrap{position:relative;z-index:2;perspective:1600px;width:min(64vw,330px);aspect-ratio:2/3;opacity:0;transform:translateY(25px) scale(.82);transition:opacity .8s,transform 1s}
.orlong-reveal-card{position:absolute;inset:0;transform-style:preserve-3d;transition:transform 1.15s cubic-bezier(.2,.75,.2,1);filter:drop-shadow(0 25px 55px #000c)}
.orlong-reveal-card-back,.orlong-reveal-card-front{position:absolute;inset:0;overflow:hidden;border-radius:12px;border:2px solid #9bd6ff88;backface-visibility:hidden;background:linear-gradient(145deg,#0d3155,#07101f 58%,#153d65);box-shadow:inset 0 0 35px #4baaff44,0 0 38px #328fff55}
.orlong-reveal-card-back:before{content:"";position:absolute;inset:9%;border:1px solid #a8dfff77;background:radial-gradient(circle,#65baff44,transparent 55%);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.orlong-reveal-card-back:after{content:"ORLONG";position:absolute;inset:0;display:grid;place-items:center;font:500 25px Cinzel,serif;letter-spacing:6px;color:#d9f2ff;text-shadow:0 0 24px #58baff}
.orlong-reveal-card-front{transform:rotateY(180deg);display:flex;flex-direction:column;padding:8px;background:linear-gradient(145deg,#101f32,#050a12)}
.orlong-reveal-art{width:100%;height:72%;object-fit:cover;border-radius:6px;background:#0b1b2d}
.orlong-reveal-meta{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px 5px;gap:4px;border-top:1px solid var(--reveal-rarity);box-shadow:inset 0 8px 20px color-mix(in srgb,var(--reveal-rarity) 14%,transparent)}
.orlong-reveal-rarity{font-size:8px;letter-spacing:3px;color:var(--reveal-rarity);font-weight:700}
.orlong-reveal-number{font-size:7px;letter-spacing:1.5px;color:#9fb4cc}
.orlong-reveal-name{font:500 clamp(15px,3vw,21px) Cinzel,serif;letter-spacing:1px;margin:3px 0;color:#fff}
.orlong-reveal-description{font-size:9px;line-height:1.45;color:#b7c8dc;margin:0;max-width:95%}
.orlong-reveal-collection{font-size:7px;letter-spacing:1.8px;color:var(--reveal-rarity);margin-top:4px}
.orlong-reveal-caption{position:absolute;z-index:4;bottom:12%;left:15px;right:15px;text-align:center;color:#c8e7ff;font:500 11px Cinzel,serif;letter-spacing:4px;text-shadow:0 0 20px #4aaaff;transition:color .8s}
.orlong-reveal-controls{position:absolute;z-index:5;bottom:4%;display:flex;justify-content:center;gap:12px}
.orlong-reveal-controls button{padding:11px 17px;background:#08172bcc;border:1px solid #75bfff77;color:#d9efff;font:500 9px Inter,sans-serif;letter-spacing:2px;cursor:pointer}
.orlong-reveal-controls button:hover{background:#174779}
.orlong-reveal-overlay[data-stage="awakening"] .orlong-reveal-energy{opacity:.3}
.orlong-reveal-overlay[data-stage="energy"] .orlong-reveal-energy{opacity:1}
.orlong-reveal-overlay[data-stage="energy"] .orlong-reveal-energy i{animation:orlongParticle 2.4s ease-in-out infinite;animation-delay:calc(var(--particle-index)*-70ms)}
.orlong-reveal-overlay[data-stage="materialising"] .orlong-reveal-crystal{opacity:.9;transform:scale(1) rotate(0)}
.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-crystal{opacity:0;transform:scale(1.7) rotate(90deg)}
.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-card-wrap,.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-card-wrap,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-card-wrap,.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card-wrap{opacity:1;transform:translateY(0) scale(1)}
.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-card{transform:rotateY(180deg)}
.orlong-reveal-overlay[data-stage="rarity"]:before,.orlong-reveal-overlay[data-stage="revealed"]:before,.orlong-reveal-overlay.orlong-reveal-complete:before{background:radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--reveal-rarity) 38%,transparent),transparent 40%),#020611}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-card-front,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-card-front,.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card{transform:rotateY(180deg)}
.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card-front{border-color:var(--reveal-rarity);box-shadow:inset 0 0 35px color-mix(in srgb,var(--reveal-rarity) 35%,transparent),0 0 45px color-mix(in srgb,var(--reveal-rarity) 48%,transparent)}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-energy,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-energy{opacity:1}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-energy i,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-energy i{background:var(--reveal-rarity);box-shadow:0 0 13px 4px var(--reveal-rarity)}
.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-caption{color:var(--reveal-rarity)}
@keyframes orlongParticle{0%,100%{opacity:.15;transform:translate3d(0,0,0) scale(.5)}50%{opacity:1;transform:translate3d(calc((var(--particle-index) - 17)*2px),-55px,0) scale(1.5)}}
@media(max-width:600px){.orlong-reveal-scene{min-height:520px}.orlong-reveal-card-wrap{width:min(76vw,290px)}.orlong-reveal-caption{bottom:12%;font-size:9px;letter-spacing:2.5px}}
@media(prefers-reduced-motion:reduce){.orlong-reveal-overlay,.orlong-reveal-overlay *{animation:none!important;transition:none!important}.orlong-reveal-card-wrap{opacity:1;transform:none}.orlong-reveal-overlay:before{opacity:1}}

/* Stage 6b — richer Orlong energy field and Trials of Eden electric eel. */
.orlong-reveal-scene{width:100%;max-width:1200px;overflow:hidden}
.orlong-reveal-energy i{left:calc((var(--particle-index)*97%)/95);top:calc((var(--particle-index)*61%)/95);width:calc(2px + (var(--particle-index)%4)*1px);height:calc(2px + (var(--particle-index)%4)*1px);background:#b9edff;box-shadow:0 0 12px 3px #48a8ff;opacity:0}
.orlong-reveal-beams{position:absolute;inset:-30%;pointer-events:none;opacity:0;background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0deg 7deg,#4caaff19 8deg 9deg,transparent 10deg 16deg);mask-image:radial-gradient(ellipse,#000 0%,transparent 66%);transition:opacity 1s}
.orlong-reveal-shockwave{position:absolute;width:min(72vw,700px);aspect-ratio:1;border:2px solid #8edcff; border-radius:50%;opacity:0;transform:scale(.1);box-shadow:0 0 35px #4caaff,inset 0 0 35px #4caaff;pointer-events:none}
.orlong-reveal-eel{position:absolute;z-index:3;inset:0;pointer-events:none;opacity:0;transform:scale(.85);transition:opacity .8s,transform 1s}
.orlong-reveal-eel svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 14px #249dff)}
.orlong-reveal-eel path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.orlong-reveal-eel .eel-halo{stroke:#158aff;stroke-width:42;opacity:.24;filter:blur(18px);stroke-dasharray:1800;stroke-dashoffset:1800}
.orlong-reveal-eel .eel-body{stroke:url(#orlongEelGlow);stroke-width:23;stroke-dasharray:1800;stroke-dashoffset:1800}
.orlong-reveal-eel .eel-spine{stroke:#e1fbff;stroke-width:3;stroke-dasharray:1800;stroke-dashoffset:1800;opacity:.9}
.orlong-reveal-eel .eel-fin{stroke:#75ceff;stroke-width:12;opacity:.9}
.orlong-reveal-eel .eel-tail{fill:#4aaeff;stroke:#bdeeff;stroke-width:4}
.orlong-reveal-eel .eel-head{fill:#258eff;stroke:#d5f6ff;stroke-width:4}
.orlong-reveal-eel .eel-eye{fill:#fff;stroke:#061a31;stroke-width:4}
.orlong-reveal-eel .eel-mouth{stroke:#dffaff;stroke-width:3}
.orlong-reveal-overlay[data-stage="awakening"] .orlong-reveal-beams{opacity:.35;animation:orlongBeamTurn 18s linear infinite}
.orlong-reveal-overlay[data-stage="surge"] .orlong-reveal-energy{opacity:1}
.orlong-reveal-overlay[data-stage="surge"] .orlong-reveal-energy i{animation:orlongParticleStorm 2.8s ease-in-out infinite;animation-delay:calc(var(--particle-index)*-31ms)}
.orlong-reveal-overlay[data-stage="surge"] .orlong-reveal-beams{opacity:1;animation:orlongBeamTurn 12s linear infinite}
.orlong-reveal-overlay[data-stage="surge"] .orlong-reveal-shockwave{animation:orlongShockwave 1.5s ease-out both}
.orlong-reveal-overlay[data-stage="eel"] .orlong-reveal-eel{opacity:1;transform:scale(1)}
.orlong-reveal-overlay[data-stage="eel"] .eel-body,.orlong-reveal-overlay[data-stage="eel"] .eel-spine,.orlong-reveal-overlay[data-stage="eel"] .eel-halo{animation:orlongEelDraw 2.5s ease-out both}
.orlong-reveal-overlay[data-stage="eel"] .orlong-reveal-energy i{animation:orlongParticleStorm 2.2s ease-in-out infinite;animation-delay:calc(var(--particle-index)*-25ms)}
.orlong-reveal-overlay[data-stage="materialising"] .orlong-reveal-crystal{opacity:1;transform:scale(1.25) rotate(0);filter:drop-shadow(0 0 42px #8beaff)}
.orlong-reveal-overlay[data-stage="materialising"] .orlong-reveal-beams{opacity:.85;animation:orlongBeamTurn 8s linear infinite}
.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-card-wrap,.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-card-wrap,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-card-wrap,.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card-wrap{opacity:1;transform:translateY(0) scale(1)}
.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-card{transform:rotateY(180deg)}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-beams,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-beams,.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-beams{opacity:.9;background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0deg 8deg,color-mix(in srgb,var(--reveal-rarity) 24%,transparent) 9deg 10deg,transparent 11deg 17deg)}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-energy i,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-energy i,.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-energy i{background:var(--reveal-rarity);box-shadow:0 0 16px 5px var(--reveal-rarity)}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-shockwave{border-color:var(--reveal-rarity);box-shadow:0 0 45px var(--reveal-rarity),inset 0 0 45px var(--reveal-rarity);animation:orlongShockwave 1.4s ease-out both}
.orlong-reveal-overlay[data-stage="rarity"]:before,.orlong-reveal-overlay[data-stage="revealed"]:before,.orlong-reveal-overlay.orlong-reveal-complete:before{background:radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--reveal-rarity) 46%,transparent),transparent 48%),#020611}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-card-front,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-card-front,.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card-front{border-color:var(--reveal-rarity);box-shadow:inset 0 0 40px color-mix(in srgb,var(--reveal-rarity) 42%,transparent),0 0 55px color-mix(in srgb,var(--reveal-rarity) 58%,transparent)}
@keyframes orlongParticleStorm{0%,100%{opacity:.12;transform:translate3d(0,0,0) scale(.4)}30%{opacity:1;transform:translate3d(calc((var(--particle-index) - 45)*-2px),-45px,0) scale(1.7)}65%{opacity:.8;transform:translate3d(calc((var(--particle-index) - 45)*3px),65px,0) scale(1.1)}}
@keyframes orlongShockwave{0%{opacity:.95;transform:scale(.1)}100%{opacity:0;transform:scale(1.8)}}
@keyframes orlongBeamTurn{to{transform:rotate(360deg)}}
@keyframes orlongEelDraw{0%{stroke-dashoffset:1800}100%{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.orlong-reveal-beams,.orlong-reveal-eel,.orlong-reveal-energy i,.orlong-reveal-shockwave{animation:none!important}.orlong-reveal-eel{opacity:.45}}

/* Stage 6h — keep the actual card artwork prominent and legible. */
.orlong-reveal-card-front{gap:0!important;}
.orlong-reveal-art{display:block!important;flex:0 0 72%!important;width:100%!important;height:72%!important;min-height:0!important;object-fit:cover!important;object-position:center!important;opacity:1!important;visibility:visible!important;}
.orlong-reveal-card-front.orlong-reveal-no-art .orlong-reveal-meta{min-height:100%;background:radial-gradient(ellipse at 50% 25%,#2a70a8 0%,#0b1728 68%);}
.orlong-reveal-card-front.orlong-reveal-art-unavailable:before{content:"ARTWORK UNAVAILABLE";display:grid;place-items:center;flex:1;color:#b9d9f5;font:600 11px Inter,sans-serif;letter-spacing:2px;}
.orlong-reveal-card-wrap{transition:opacity .35s ease,transform .45s ease!important;}
.orlong-reveal-card{transition:transform .65s cubic-bezier(.2,.75,.2,1)!important;}

/* Keep the eel behind the card so the artwork is never obscured. */
.orlong-reveal-card-wrap{z-index:5!important;}
.orlong-reveal-eel{z-index:3!important;}
.orlong-reveal-overlay{transition:opacity .35s ease!important;}
.orlong-reveal-overlay:before{transition:opacity .55s ease,filter .55s ease!important;}
.orlong-reveal-overlay[data-stage="materialising"] .orlong-reveal-eel,.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-eel,.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-eel,.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-eel{opacity:.18;}
.orlong-reveal-overlay[data-stage="eel"] .eel-body,.orlong-reveal-overlay[data-stage="eel"] .eel-spine,.orlong-reveal-overlay[data-stage="eel"] .eel-halo{animation-duration:.85s!important;}

/* Stage 6i — reveal the complete collectible card face, matching Explore Eden. */
.orlong-reveal-card{transform:rotateY(180deg)!important;transition:transform 1.15s cubic-bezier(.2,.75,.2,1)!important;}
.orlong-reveal-card-back{transform:rotateY(180deg)!important;backface-visibility:hidden!important;}
.orlong-reveal-card-front{transform:rotateY(0deg)!important;backface-visibility:hidden!important;position:absolute!important;inset:0!important;display:block!important;overflow:hidden!important;padding:0!important;border:5px solid #9f8657!important;border-radius:8px!important;background:linear-gradient(145deg,#203b5a,#071321)!important;box-shadow:0 9px 24px #0008!important;}
.orlong-reveal-card-front:before{content:""!important;position:absolute!important;inset:5px!important;border:1px solid #e4cc92!important;z-index:4!important;pointer-events:none!important;}
.orlong-reveal-art{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;background:#071321!important;opacity:1!important;visibility:visible!important;}
.orlong-reveal-frame{position:absolute!important;inset:0!important;z-index:3!important;padding:14px 13px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;background:linear-gradient(180deg,#06101b55 0%,transparent 34%,#06101b12 47%,#06101bef 100%)!important;color:#f8f1df!important;text-align:left!important;pointer-events:none!important;}
.orlong-reveal-topline{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:5px!important;text-shadow:0 2px 5px #000!important;font:700 8px Inter,sans-serif!important;letter-spacing:1.1px!important;}
.orlong-reveal-number{color:#f2d9a1!important;font-size:8px!important;letter-spacing:1.1px!important;}
.orlong-reveal-rarity{padding:5px 7px!important;background:#d7dee7!important;color:#172334!important;font:900 7px Inter,sans-serif!important;letter-spacing:1px!important;border:1px solid #fff!important;text-shadow:none!important;box-shadow:0 2px 8px #0008!important;}
.orlong-reveal-card-front[ data-rarity="uncommon"] .orlong-reveal-rarity{background:#45d58a!important;color:#062719!important;}
.orlong-reveal-card-front[data-rarity="rare"] .orlong-reveal-rarity{background:#42a5ff!important;color:#061b32!important;}
.orlong-reveal-card-front[data-rarity="epic"] .orlong-reveal-rarity{background:#c18aff!important;color:#28113f!important;}
.orlong-reveal-card-front[data-rarity="legendary"] .orlong-reveal-rarity{background:#ffd36b!important;color:#382500!important;}
.orlong-reveal-details{margin-top:auto!important;text-shadow:0 2px 6px #000!important;text-align:left!important;}
.orlong-reveal-name{margin:0 0 5px!important;color:#fff!important;font:600 clamp(13px,1.4vw,18px) Cinzel,serif!important;line-height:1.25!important;letter-spacing:.4px!important;text-align:left!important;}
.orlong-reveal-description{margin:0 0 9px!important;color:#e1e8f1!important;font:400 8px/1.4 Inter,sans-serif!important;max-width:none!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-align:left!important;}
.orlong-reveal-footer{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:4px!important;border-top:1px solid #e4cc92a8!important;padding-top:7px!important;color:#e9d4a8!important;font:500 6px Inter,sans-serif!important;letter-spacing:.7px!important;text-transform:uppercase!important;}
.orlong-reveal-footer span:nth-child(2){text-align:center!important;white-space:nowrap!important;}
.orlong-reveal-footer span:last-child{text-align:right!important;white-space:nowrap!important;}
.orlong-reveal-edition{position:absolute!important;top:38px!important;right:8px!important;margin:0!important;padding:5px 6px!important;border:1px solid #e4cc92!important;background:#18283cdd!important;color:#f0d79e!important;font:800 6px Inter,sans-serif!important;letter-spacing:1px!important;}
.orlong-reveal-art-missing{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:25px;text-align:center;background:linear-gradient(145deg,#203b5a,#071321);color:#d7e9ff;font:600 10px Inter,sans-serif;letter-spacing:1.5px;}
.orlong-reveal-overlay[data-stage="flipping"] .orlong-reveal-card,
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-card,
.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-card,
.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card{transform:rotateY(360deg)!important;}
.orlong-reveal-overlay[data-stage="rarity"] .orlong-reveal-card-front,
.orlong-reveal-overlay[data-stage="revealed"] .orlong-reveal-card-front,
.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card-front{transform:rotateY(0deg)!important;}
.orlong-reveal-card-wrap{transition:opacity .8s ease,transform 1s ease!important;}
.orlong-reveal-overlay{transition:opacity .8s ease!important;}
.orlong-reveal-overlay:before{transition:opacity 1.4s ease,filter 1.4s ease!important;}
@media(max-width:600px){.orlong-reveal-frame{padding:11px!important}.orlong-reveal-name{font-size:12px!important}}


/* Stage 6j — clear provenance for every card award. */
.orlong-reveal-source{position:relative;z-index:8;display:flex;flex-direction:column;align-items:center;gap:4px;width:min(88vw,420px);margin:10px auto 0;padding:9px 14px;border:1px solid #8ebee966;border-radius:8px;background:linear-gradient(135deg,#071625eF,#142d46eF);box-shadow:0 8px 28px #0007;text-align:center;color:#edf6ff;}
.orlong-reveal-source-title{font:800 9px/1.3 Inter,sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:#9ed8ff;}
.orlong-reveal-source-detail{font:500 12px/1.4 Inter,sans-serif;color:#fff;}
.orlong-reveal-complete .orlong-reveal-source{border-color:var(--reveal-rarity);}


/* Stage 6k — balanced reveal composition: card, caption, source and actions
   occupy their own centred rows instead of competing for the same space. */
.orlong-reveal-scene{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1100px!important;
  height:100svh!important;
  min-height:0!important;
  padding:24px 18px 22px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(8px,1fr) auto auto auto auto minmax(8px,.55fr)!important;
  justify-items:center!important;
  align-items:center!important;
  row-gap:clamp(8px,1.5vh,15px)!important;
  overflow:hidden!important;
}
.orlong-reveal-card-wrap{
  grid-column:1!important;
  grid-row:2!important;
  justify-self:center!important;
  align-self:center!important;
  width:min(52vw,300px,calc((100svh - 235px)*.6667))!important;
  max-width:100%!important;
  margin:0!important;
}
.orlong-reveal-caption{
  grid-column:1!important;
  grid-row:3!important;
  position:relative!important;
  inset:auto!important;
  width:min(90%,620px)!important;
  margin:0!important;
  padding:0 8px!important;
  box-sizing:border-box!important;
  min-height:1.4em!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.5!important;
  text-align:center!important;
  letter-spacing:clamp(1.5px,.35vw,3.5px)!important;
}
.orlong-reveal-source{
  grid-column:1!important;
  grid-row:4!important;
  box-sizing:border-box!important;
  width:min(88vw,440px)!important;
  max-width:100%!important;
  min-height:54px!important;
  margin:0!important;
  padding:10px 18px!important;
  justify-self:center!important;
  align-self:center!important;
  overflow-wrap:anywhere!important;
}
.orlong-reveal-source-title,.orlong-reveal-source-detail{
  display:block!important;
  max-width:100%!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
}
.orlong-reveal-source-detail{line-height:1.45!important;}
.orlong-reveal-controls{
  grid-column:1!important;
  grid-row:5!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  margin:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
}
.orlong-reveal-controls button{
  min-width:142px!important;
  min-height:40px!important;
  border-radius:5px!important;
  padding:11px 18px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.orlong-reveal-controls button[hidden]{display:none!important;}
.orlong-reveal-overlay.orlong-reveal-complete .orlong-reveal-card-wrap{
  transform:translateY(0) scale(1)!important;
}
@media(max-width:600px){
  .orlong-reveal-scene{
    padding:16px 14px max(18px,env(safe-area-inset-bottom))!important;
    grid-template-rows:minmax(4px,.35fr) auto auto auto auto minmax(4px,.25fr)!important;
    row-gap:clamp(7px,1.2vh,11px)!important;
  }
  .orlong-reveal-card-wrap{
    width:min(68vw,270px,calc((100svh - 220px)*.6667))!important;
  }
  .orlong-reveal-caption{
    font-size:9px!important;
    letter-spacing:1.6px!important;
  }
  .orlong-reveal-source{
    width:min(92vw,420px)!important;
    padding:9px 12px!important;
    gap:3px!important;
  }
  .orlong-reveal-source-title{font-size:8px!important;letter-spacing:1.2px!important;}
  .orlong-reveal-source-detail{font-size:11px!important;}
  .orlong-reveal-controls{gap:8px!important;}
  .orlong-reveal-controls button{min-width:130px!important;min-height:38px!important;}
}
@media(max-height:620px){
  .orlong-reveal-scene{padding-top:10px!important;padding-bottom:10px!important;row-gap:6px!important;}
  .orlong-reveal-card-wrap{width:min(43vw,235px,calc((100svh - 190px)*.6667))!important;}
  .orlong-reveal-source{min-height:44px!important;padding:7px 12px!important;}
  .orlong-reveal-controls button{min-height:34px!important;padding:8px 14px!important;}
}

/* Simultaneous Mystery Vault pack reveal */
.orlong-batch-reveal-overlay{position:fixed;z-index:100001;inset:0;display:grid;place-items:center;padding:clamp(12px,3vw,32px);box-sizing:border-box;background:radial-gradient(ellipse at 50% 35%,#1d3453f5,#03070dfc 78%);opacity:0;transition:opacity .3s ease;overflow:auto}
.orlong-batch-reveal-overlay.is-active{opacity:1}
.orlong-batch-reveal-panel{width:min(100%,1050px);max-height:100%;overflow:auto;padding:clamp(16px,3vw,30px);box-sizing:border-box;text-align:center;border:1px solid rgba(180,204,236,.28);background:linear-gradient(145deg,rgba(18,33,53,.96),rgba(5,12,22,.98));box-shadow:0 25px 90px #000b}
.orlong-batch-eyebrow{margin:0 0 9px;color:#d6b86f;font-size:9px;letter-spacing:3px}
.orlong-batch-title{margin:0;color:#f5ead2;font:500 clamp(23px,4vw,38px) Cinzel,serif;letter-spacing:2px}
.orlong-batch-subtitle{margin:8px 0 20px;color:#aebbd0;font-size:11px;letter-spacing:1px}
.orlong-batch-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:clamp(10px,2vw,18px);align-items:stretch}
.orlong-batch-card{min-width:0;padding:10px;background:linear-gradient(160deg,#1a2b43,#091321);border:1px solid rgba(138,184,232,.4);opacity:0;transform:translateY(15px) scale(.96);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--batch-index)*70ms)}
.orlong-batch-reveal-overlay.is-revealed .orlong-batch-card{opacity:1;transform:translateY(0) scale(1)}
.orlong-batch-art{aspect-ratio:2/2.8;max-height:240px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse,#293e5b,#080f1a);border:1px solid #ffffff1a}
.orlong-batch-art img{width:100%;height:100%;object-fit:cover}
.orlong-batch-rarity{display:block;margin:10px 0 5px;color:#e6cc8b;font-size:8px;letter-spacing:1.5px}
.orlong-batch-card h3{margin:0;color:#f1f4fa;font:500 14px/1.35 Cinzel,serif;overflow-wrap:anywhere}
.orlong-batch-card p{margin:7px 0 0;color:#9eb0c8;font-size:8px;letter-spacing:.7px;line-height:1.5}
.orlong-batch-source{margin:18px 0 0;color:#b9c8da;font-size:10px}
.orlong-batch-controls{display:flex;justify-content:center;gap:10px;margin-top:18px}
.orlong-batch-controls button{min-width:145px;min-height:42px;padding:10px 16px;border:1px solid #b69b61;background:#18263a;color:#f5ead2;font-size:9px;font-weight:700;letter-spacing:1px;cursor:pointer}
.orlong-batch-controls button[hidden]{display:none}
@media(max-width:560px){.orlong-batch-reveal-panel{padding:14px}.orlong-batch-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.orlong-batch-card{padding:7px}.orlong-batch-art{max-height:180px}.orlong-batch-card h3{font-size:11px}.orlong-batch-card p{font-size:7px}.orlong-batch-controls{flex-wrap:wrap}.orlong-batch-controls button{flex:1;min-width:120px}}
@media(prefers-reduced-motion:reduce){.orlong-batch-reveal-overlay,.orlong-batch-card{transition:none!important;transform:none!important}}


/* Keep small batch reveals centred; preserve the existing five-card layout. */
.orlong-batch-card-grid.batch-count-2{grid-template-columns:repeat(2,minmax(0,210px));justify-content:center;max-width:460px;margin-inline:auto}
.orlong-batch-card-grid.batch-count-3{grid-template-columns:repeat(3,minmax(0,210px));justify-content:center;max-width:690px;margin-inline:auto}
.orlong-batch-art img{display:block;width:100%;height:100%;margin:auto;object-fit:contain;object-position:center}
@media(max-width:560px){
 .orlong-batch-card-grid.batch-count-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:460px}
 .orlong-batch-card-grid.batch-count-3{grid-template-columns:repeat(2,minmax(0,1fr));max-width:460px}
 .orlong-batch-card-grid.batch-count-3 .orlong-batch-card:last-child{grid-column:1/-1;justify-self:center;width:calc(50% - 4px)}
}


/* Align the artwork and its caption on the same exact centre line
   for two- and three-card reveals only. */
.orlong-batch-card-grid.batch-count-2 .orlong-batch-card,
.orlong-batch-card-grid.batch-count-3 .orlong-batch-card{
 display:flex;
 flex-direction:column;
 align-items:center;
 text-align:center;
}
.orlong-batch-card-grid.batch-count-2 .orlong-batch-art,
.orlong-batch-card-grid.batch-count-3 .orlong-batch-art{
 width:min(100%,180px);
 margin-left:auto;
 margin-right:auto;
 align-self:center;
 flex:0 0 auto;
}
.orlong-batch-card-grid.batch-count-2 .orlong-batch-art img,
.orlong-batch-card-grid.batch-count-3 .orlong-batch-art img{
 display:block;
 width:100%;
 height:100%;
 margin:0 auto;
 object-fit:contain;
 object-position:50% 50%;
}
.orlong-batch-card-grid.batch-count-2 .orlong-batch-rarity,
.orlong-batch-card-grid.batch-count-3 .orlong-batch-rarity,
.orlong-batch-card-grid.batch-count-2 .orlong-batch-card h3,
.orlong-batch-card-grid.batch-count-3 .orlong-batch-card h3,
.orlong-batch-card-grid.batch-count-2 .orlong-batch-card p,
.orlong-batch-card-grid.batch-count-3 .orlong-batch-card p{
 width:100%;
 text-align:center;
}
