/* The slot is the camera. The print, its foil, and the raised illustration share one scene. */
.collectible-room .reveal-row {
 perspective:none;
 padding-block:37px 42px;
 user-select:none;
 -webkit-user-select:none;
}
.collectible-room .card-container:has(> .card-3d-wrapper) {
 perspective:1000px;
 perspective-origin:center;
 transform-style:preserve-3d;
}
.collectible-room .reveal-row:not(.cards-arriving) > .card-container.is-revealed:not(.card-kept,.card-released) {
 animation:none;
}
.collectible-room .reveal-slot:has(> [data-foil-motion]) {z-index:3}
.card-ground-shadow {
 position:absolute;
 inset:46% 8% 5%;
 transform:translateZ(-20px);
 border-radius:20%;
 pointer-events:none;
 box-shadow:var(--foil-floor-x,0px) var(--foil-floor-y,18px) var(--foil-floor-blur,34px)
  rgb(50 35 68 / var(--foil-floor-opacity,.10));
}
.collectible-room .reveal-row .card-3d-wrapper {
 --ink-light:#a483c6;
 --ink-dark:#292950;
 --foil-strength:.65;
 position:relative;
 isolation:auto;
 overflow:visible;
 transform-style:preserve-3d;
 transition:none;
 box-shadow:
  inset 0 0 0 1px #fff,
  0 3px 7px #44264f20,
  var(--foil-shadow-x,0px) var(--foil-shadow-y,12px) var(--foil-shadow-blur,30px) rgb(46 28 72 / var(--foil-shadow-opacity,.16));
}
.collectible-room .reveal-slot > [data-foil-card],
.collectible-room .flip-face > [data-foil-card] {height:100%;width:100%}
.foil-card-action {
 position:absolute;
 inset:0;
 width:100%;
 min-height:0;
 padding:0;
 border:0;
 border-radius:inherit;
 background:none;
 box-shadow:none;
 opacity:1;
 transform:translateZ(67px) scale(.933);
}
.collectible-room [data-foil-card]:has(> .foil-card-action:focus-visible) {
 outline:2px solid #6b389d;
 outline-offset:4px;
}
.collectible-room .foil-card-action:focus-visible {outline:none}
.collectible-room .reveal-row [data-foil-card][data-collectible="electric"] {--ink-light:#c9904d;--ink-dark:#533654}
.collectible-room .reveal-row [data-foil-card][data-collectible="flame"] {--ink-light:#c95f94;--ink-dark:#502042}
.collectible-room .reveal-row [data-foil-card][data-collectible="aqua"] {--ink-light:#6389bb;--ink-dark:#202951}
.collectible-room .reveal-row [data-foil-card][data-collectible="forest"] {--ink-light:#6f9a71;--ink-dark:#203c42}
.collectible-room .reveal-row [data-foil-card][data-collectible="amber"] {--ink-light:#cd8298;--ink-dark:#5b345e}
.collectible-room .reveal-row [data-foil-card].rarity-SR {--foil-strength:.72}
.collectible-room .reveal-row [data-foil-card].rarity-SSR {--foil-strength:.81}
.collectible-room .reveal-row [data-foil-card].rarity-UR {--foil-strength:.88}
.collectible-room .reveal-row [data-foil-card].rarity-SSSR {--foil-strength:.99}
.collectible-room .reveal-slot > [data-foil-card]:hover {transform:none}
.collectible-room .reveal-slot > [data-foil-card][data-foil-motion] {
 transform:translate3d(0,calc(var(--foil-presence,0)*-19px),calc(var(--foil-presence,0)*13px))
  rotateX(var(--foil-rx,0deg)) rotateY(var(--foil-ry,0deg))
  scale(calc(1 + var(--foil-presence,0)*.034));
}

.collectible-room .reveal-row [data-foil-card] .card-3d-scene {
 transform-style:preserve-3d;
 overflow:visible;
 border-color:color-mix(in srgb,var(--ink-light),white 42%);
 background:var(--ink-dark);
 box-shadow:0 1px 0 #fff9,inset 0 0 0 1px #fff1;
}
.collectible-room .reveal-row [data-foil-card] .card-3d-scene::after {display:none}
.collectible-room .reveal-row [data-foil-card]::after {display:none}
.card-bg,.card-character,.card-glare {
 position:absolute;
 inset:0;
 pointer-events:none;
}
.card-bg {
 overflow:clip;
 border-radius:inherit;
 background:
  radial-gradient(circle at 17% 26%,#fff0d6 0 1px,transparent 2.5px),
  radial-gradient(circle at 78% 21%,#e4d6ff 0 1px,transparent 3px),
  repeating-linear-gradient(42deg,transparent 0 11px,#efd6ff24 12px,transparent 13px 21px),
  repeating-linear-gradient(-42deg,transparent 0 11px,#efd6ff19 12px,transparent 13px 21px),
  linear-gradient(152deg,var(--ink-light) 0%,var(--ink-dark) 92%);
 transform:translate3d(calc(var(--foil-dx,0px)*.27),calc(var(--foil-dy,0px)*-.22),0px);
}
.card-bg::after {
 content:"";
 position:absolute;
 inset:71% 25% 13%;
 border-radius:50%;
 background:#170e2a9c;
 filter:blur(10px);
 transform:translate(calc(var(--foil-dx,0px)*.38),calc(var(--foil-dy,0px)*-.24));
}
.card-character {
 inset:7%;
 overflow:clip;
 filter:drop-shadow(0 9px 6px #140e2e70);
 translate:calc(var(--foil-dx,0px)*-.88) calc(var(--foil-dy,0px)*.67);
 transform:translateZ(60px);
}
.card-glare {
 border-radius:inherit;
 transform:translateZ(1px);
 background:linear-gradient(105deg,
  transparent 17%,#9ef3f40e 25%,#9ae9ed80 29.6%,#c3f8fdb3 31.9%,
  #fff 32.8%,#fff 33.15%,#fff9 33.55%,#f5bfe6a1 34.3%,#b999e867 35.4%,
  #9daceb3b 36.7%,transparent 39%,transparent 62%,#b9e8fa49 63.2%,transparent 64%);
 background-size:210% 158%;
 background-position:calc(8% + .50 * var(--foil-x,50%)) calc(8% + .65 * var(--foil-y,50%));
 mix-blend-mode:color-dodge;
 opacity:calc(.15 + var(--foil-strength)*var(--foil-presence,0)*.88);
}
@media(max-width:760px) {
 .collectible-room .reveal-row {padding-block:18px 23px}
 .card-ground-shadow {display:none}
}
@media(min-width:761px) {
 .collectible-room:has([data-foil-motion]) {overflow:visible}
}
@media(prefers-reduced-motion:reduce) {
 .collectible-room .reveal-slot > [data-foil-card][data-foil-motion],
 .card-bg,.card-character,.card-glare,.foil-card-action {transform:none}
 .card-character {translate:none}
}
