/* Motion and material styling adapted from https://holo.yashb.xyz/ (holo-reverse). */
.lf-holo-engine{--bg:#e8e5df;--ink:#141414;--muted:#6f6f6b;--pack:#b67c9f;--ease-out:cubic-bezier(.23,1,.32,1);--spring:cubic-bezier(.23,1,.32,1);--ph:min(420px,58vh,58svh,120vw);--pw:calc(var(--ph)*.69);--cw:calc(var(--pw)*.84);--ch:calc(var(--cw)/.64);--crimp:calc(var(--ph)*.068);--d:16px;--rainbow:repeating-linear-gradient(110deg,#ff7aa8 0%,#ffcf6b 5%,#a8ff8a 10%,#6be2ff 15%,#9b8cff 20%,#ff7aa8 25%);--glitter:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.8' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 14 0 0 0 -8.6'/></filter><rect width='160' height='160' filter='url(%23g)'/></svg>");position:relative;width:100%;height:clamp(520px,70vh,760px);overflow:hidden;perspective:1400px;perspective-origin:50% 40%;box-sizing:border-box;color:var(--ink);font-family:system-ui,-apple-system,sans-serif;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.lf-holo-engine *, .lf-holo-engine *::before,.lf-holo-engine *::after{box-sizing:border-box}
.lf-holo-engine i{font-style:normal}.lf-holo-engine .lfhe-sr,.lf-holo-engine .lfhe-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lf-holo-engine .lfhe-stage{position:absolute;inset:0;overflow:hidden;perspective:1400px;perspective-origin:50% 40%;pointer-events:none}
.lf-holo-engine .lfhe-scene{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}.lf-holo-engine .lfhe-hit,.lf-holo-engine .lfhe-card{pointer-events:auto}
.lf-holo-engine .lfhe-pack,.lf-holo-engine .lfhe-card{position:absolute;left:50%;top:50%;transform-style:preserve-3d;will-change:transform}
.lf-holo-engine .lfhe-pack{width:var(--pw);height:var(--ph);margin:calc(var(--ph)/-2) 0 0 calc(var(--pw)/-2)}
.lf-holo-engine .lfhe-ground{position:absolute;left:50%;top:50%;width:calc(var(--pw)*.95);height:calc(var(--pw)*.16);margin:calc(var(--pw)*-.08) 0 0 calc(var(--pw)*-.475);border-radius:50%;background:radial-gradient(closest-side,rgb(30 25 15/.3),transparent);filter:blur(6px)}
.lf-holo-engine .lfhe-skin{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(calc(var(--d)/2));--tooth:calc(var(--pw)/26);background:var(--shade,none) 0 0/100% 100%,linear-gradient(90deg,transparent 91%,rgb(0 0 0/.14) 97.6%) 0 50%/100% calc(100% - 2*var(--crimp)) no-repeat,repeating-linear-gradient(90deg,rgb(0 0 0/.18) 0 1px,rgb(255 255 255/.08) 1px 2px,transparent 2px 5px) 0 0/100% var(--crimp) no-repeat,repeating-linear-gradient(90deg,rgb(0 0 0/.18) 0 1px,rgb(255 255 255/.08) 1px 2px,transparent 2px 5px) 0 100%/100% var(--crimp) no-repeat,var(--pack);mask:conic-gradient(from 135deg at 50% 0,#0000,#000 1deg 89deg,#0000 90deg) 0 0/var(--tooth) calc(var(--tooth)/2) repeat-x,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0 0H100V5.6C100 8 97.6 7.6 97.6 10V90C97.6 92.4 100 92 100 94.4V100H0V94.4C0 92 2.4 92.4 2.4 90V10C2.4 7.6 0 8 0 5.6Z'/></svg>") 0 50%/100% calc(100% - var(--tooth)) no-repeat,conic-gradient(from -45deg at 50% 100%,#0000,#000 1deg 89deg,#0000 90deg) 0 100%/var(--tooth) calc(var(--tooth)/2) repeat-x}
.lf-holo-engine .lfhe-skin.lfhe-back{transform:rotateY(180deg) translateZ(calc(var(--d)/2))}
.lf-holo-engine .lfhe-skin::before,.lf-holo-engine .lfhe-skin::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none}.lf-holo-engine .lfhe-skin::before{background:linear-gradient(90deg,transparent 2.4%,rgb(255 255 255/.7) 3%,rgb(255 255 255/.28) 5%,transparent 9%);mask:linear-gradient(transparent 7%,#000 13% 48%,transparent 84%);translate:calc(var(--gx,0)*1%) 0;opacity:var(--gl,.8)}.lf-holo-engine .lfhe-skin::after{background:var(--shine,none) 0 0/100% 100%;opacity:var(--gt,.85);mask:linear-gradient(90deg,rgb(0 0 0/.45),#000 40% 60%,rgb(0 0 0/.45)) calc(var(--gm,50)*1%) 0/250% 100%}
.lf-holo-engine .lfhe-scene.lfhe-flat{transform-style:flat;perspective:1400px;perspective-origin:50% 40%}.lf-holo-engine .lfhe-rim{position:absolute}.lf-holo-engine .lfhe-flow{position:absolute;left:50%;top:50%;width:var(--pw);height:var(--ph);margin:calc(var(--ph)/-2) 0 0 calc(var(--pw)/-2);transform-style:preserve-3d;pointer-events:none}.lf-holo-engine .lfhe-rays{position:absolute;left:0;width:100%;top:calc(10.5% - var(--pw)*.6);height:calc(var(--pw)*.76);overflow:visible;opacity:0;transform:translateZ(-6px)}
.lf-holo-engine .lfhe-tag{position:absolute;left:9%;top:calc(var(--crimp) + .9%);font:700 calc(var(--pw)*.029)/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#ffffffbd}.lf-holo-engine .lfhe-mark{position:absolute;left:9%;top:15%;font:800 calc(var(--pw)*.17)/1 system-ui,sans-serif;letter-spacing:-.045em;color:#fff}.lf-holo-engine .lfhe-series{position:absolute;right:9%;top:17.5%;font:600 calc(var(--pw)*.036)/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#ffffffb3}.lf-holo-engine .lfhe-foot{position:absolute;bottom:calc(var(--crimp) + 3.4%);font:500 calc(var(--pw)*.042)/1 system-ui,sans-serif;color:#ffffffc7}.lf-holo-engine .lfhe-foot.lfhe-l{left:9%}.lf-holo-engine .lfhe-foot.lfhe-r{right:9%}
.lf-holo-engine .lfhe-orb{position:absolute;left:8%;width:84%;top:26.5%;aspect-ratio:1}.lf-holo-engine .lfhe-orb .lfhe-brand-pack-image{width:100%;height:100%;object-fit:contain}
.lf-holo-engine .lfhe-fin{position:absolute;left:45%;width:10%;top:0;bottom:0;background:repeating-linear-gradient(rgb(0 0 0/.14) 0 1px,transparent 1px 4px),linear-gradient(90deg,rgb(0 0 0/.3),rgb(255 255 255/.18) 45%,rgb(0 0 0/.22))}.lf-holo-engine .lfhe-mark.lfhe-sm{left:0;right:0;top:20%;text-align:center;font-size:calc(var(--pw)*.1)}.lf-holo-engine .lfhe-blurb{position:absolute;left:10%;right:10%;top:40%;margin:0;text-align:center;font:500 calc(var(--pw)*.044)/1.5 system-ui,sans-serif;color:#ffffffd9}.lf-holo-engine .lfhe-code{position:absolute;left:31%;right:31%;bottom:calc(var(--crimp) + 6%);height:10%;padding:6px 8px;border-radius:4px;background:repeating-linear-gradient(90deg,#111 0 2px,#0000 2px 3px,#111 3px 4px,#0000 4px 7px,#111 7px 10px,#0000 10px 12px) content-box,#fff}
.lf-holo-engine .lfhe-flap{position:absolute;inset:0;transform-style:preserve-3d;visibility:hidden}.lf-holo-engine .lfhe-flap.lfhe-on{visibility:visible}.lf-holo-engine .lfhe-ply{position:absolute;inset:0;transform-style:preserve-3d;transform-origin:0 0}.lf-holo-engine .lfhe-ply .lfhe-front{transform:translateZ(.4px)}.lf-holo-engine .lfhe-skin.lfhe-foil{transform:rotateY(180deg) translateZ(.4px);background:linear-gradient(97deg,#e3e8f2,#fff 12%,#cfd7e6 26%,#fff 44%,#dbe1ee 58%,#fff 76%,#d3dbe9)}.lf-holo-engine .lfhe-skin.lfhe-foil::before,.lf-holo-engine .lfhe-skin.lfhe-foil::after{display:none}.lf-holo-engine .lfhe-tone{position:absolute;inset:0;z-index:3;background:#0b0d1c;opacity:0}.lf-holo-engine .lfhe-lips{position:absolute;inset:0;z-index:2;filter:drop-shadow(0 1.5px 1.2px #0006)}.lf-holo-engine .lfhe-lip{position:absolute;inset:0;z-index:2;clip-path:polygon(0 0);background:linear-gradient(100deg,#f4f6fb,#fff 14%,#bfc8da 27%,#fff 42%,#c9d1e1 58%,#fbfcff 72%,#b9c2d4 86%,#eef1f7)}
.lf-holo-engine .lfhe-hit{position:absolute;inset:-24px -16px -8px;margin:0;padding:0;border:0;border-radius:14px;background:none;appearance:none;cursor:grab;touch-action:none;transform:translateZ(calc(var(--d)/2 + 1px));-webkit-tap-highlight-color:transparent}.lf-holo-engine .lfhe-hit:focus-visible{outline:2px solid #0a84ff;outline-offset:8px}.lf-holo-engine .lfhe-held .lfhe-hit,.lf-holo-engine .lfhe-tug .lfhe-hit{cursor:grabbing}
.lf-holo-engine .lfhe-card{width:var(--cw);height:var(--ch);margin:calc(var(--ch)/-2) 0 0 calc(var(--cw)/-2);touch-action:none;--px:50;--py:50;--hyp:0}.lf-holo-engine .lfgacha-card-slot{position:absolute!important;left:50%!important;top:50%!important;width:var(--cw)!important;height:var(--ch)!important;aspect-ratio:auto!important;min-width:0!important;margin:calc(var(--ch)/-2) 0 0 calc(var(--cw)/-2)!important;transition:none!important;scroll-snap-align:none!important;isolation:isolate}.lf-holo-engine .lfhe-face,.lf-holo-engine .lfhe-slab{position:absolute;inset:0;border-radius:calc(var(--cw)*.05)}.lf-holo-engine .lfhe-slab{background:var(--edge);pointer-events:none}.lf-holo-engine .lfhe-slab:nth-child(1){transform:translateZ(-1.5px)}.lf-holo-engine .lfhe-slab:nth-child(2){transform:translateZ(-3px)}.lf-holo-engine .lfhe-slab:nth-child(3){transform:translateZ(-4.5px);box-shadow:0 26px 40px -16px #14102880}.lf-holo-engine .lfhe-face{overflow:hidden;isolation:isolate;container-type:inline-size;background:var(--card-bg);color:var(--card-ink)}.lf-holo-engine .lfhe-win{position:absolute;left:6%;right:6%;top:4.3%;height:60%;border-radius:4cqw;overflow:hidden;box-shadow:inset 0 2px 5px #0006,inset 0 0 0 1px #0002}.lf-holo-engine .lfhe-name{position:absolute;left:7%;top:68.5%;font:700 9.5cqw/1 system-ui,sans-serif;letter-spacing:-.02em}.lf-holo-engine .lfhe-type{position:absolute;right:7%;top:69.5%;padding:1.6cqw 2.6cqw;border-radius:9cqw;background:#7f7f7f29;font:600 3.6cqw/1 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}.lf-holo-engine .lfhe-rule{position:absolute;left:7%;right:7%;top:83%;height:1px;background:currentColor;opacity:.15}.lf-holo-engine .lfhe-no,.lf-holo-engine .lfhe-rar{position:absolute;bottom:5.5%;font:500 3.8cqw/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}.lf-holo-engine .lfhe-no{left:7%;opacity:.6}.lf-holo-engine .lfhe-rar{right:7%;font-weight:600;opacity:.8}.lf-holo-engine .lfhe-holo,.lf-holo-engine .lfhe-glare{position:absolute;inset:0;z-index:5;border-radius:inherit;pointer-events:none}.lf-holo-engine .lfhe-holo{background:var(--rainbow) calc(var(--px)*1%) calc(var(--py)*1%)/400% 400%;mix-blend-mode:color-dodge;opacity:calc(.3 + var(--hyp)*.6);filter:brightness(.7) contrast(1.5) saturate(1.4)}.lf-holo-engine .lfhe-holo::after{content:"";position:absolute;inset:0;border-radius:inherit;background:inherit;mask:var(--glitter) 0 0/140px 140px;filter:brightness(1.8)}.lf-holo-engine .lfhe-glare{background:radial-gradient(farthest-corner circle at calc(var(--px)*1%) calc(var(--py)*1%),#ffffffcc,#ffffff1f 38%,#0000004d);mix-blend-mode:overlay;opacity:calc(.25 + var(--hyp)*.55)}.lf-holo-engine .lfhe-glaze{position:absolute;inset:0;z-index:6;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff47,inset 0 2px 1.5px #ffffffcc,inset 0 -2px 4px #0003;background:radial-gradient(42% 26% at calc(var(--px)*1%) calc(var(--py)*1%),rgb(255 255 255 / calc(.1 + var(--hyp)*.5)),#0000),linear-gradient(#ffffff3d,#0000 16%)}.lf-holo-engine .lfhe-glaze::before{content:"";position:absolute;inset:0;border-radius:inherit;mask:linear-gradient(#000 30%,#0000 88%);background:linear-gradient(112deg,#0000 44%,#ffffff66 44.4%,#ffffff21 52%,#0000 52.4%,#0000 54%,#ffffff38 54.3%,#ffffff0d 56.4%,#0000 56.7%) calc((100 - var(--px))*1%) 0/220% 100%}
.lf-holo-engine .lfhe-common{--card-bg:linear-gradient(165deg,#fdfcf9,#ebe8e1);--card-ink:#1b1a17;--card-edge:#cfcac0}.lf-holo-engine .lfhe-rare{--card-bg:linear-gradient(165deg,#52406e,#29243f);--card-ink:#fbecff;--card-edge:#9580b2}.lf-holo-engine .lfhe-ultra{--card-bg:linear-gradient(135deg,#f9e7a8,#d6a43a 28%,#fff2c4 50%,#c38a26 72%,#f4d57e);--card-ink:#3a2600;--card-edge:#94661a}.lf-holo-engine .lfhe-ultra .lfhe-holo{mix-blend-mode:overlay;opacity:calc(.5 + var(--hyp)*.5);background:repeating-conic-gradient(from calc(var(--px)*1deg) at 50% 40%,#0000 0 3deg,#ffffff73 4deg 5deg,#0000 6deg 10deg),var(--rainbow) calc(var(--px)*1%) calc(var(--py)*1%)/400% 400%}
.lf-holo-engine .lfhe-blip{--frame:linear-gradient(165deg,#ffe8dc,#f9c9b3);--edge:#dba68f}.lf-holo-engine .lfhe-cubit{--frame:linear-gradient(165deg,#ecf8cd,#c9e6a2);--edge:#a4c37a}.lf-holo-engine .lfhe-blip .lfhe-win{background:repeating-radial-gradient(circle at 50% 62%,#ffb59c 0 7%,#ffa384 7% 14%)}.lf-holo-engine .lfhe-cubit .lfhe-win{background:repeating-linear-gradient(30deg,#ffffff24 0 1px,#0000 1px 16px),repeating-linear-gradient(150deg,#ffffff24 0 1px,#0000 1px 16px),linear-gradient(#1f8a6f,#0f5446)}.lf-holo-engine .lfhe-facet .lfhe-win{background:radial-gradient(circle at 50% 42%,#7d66ff,#2c1f86 55%,#160f4a)}.lf-holo-engine .lfhe-ringo .lfhe-win{background:radial-gradient(circle,#fff 0 1px,#0000 1.6px) 0 0/26px 26px,radial-gradient(circle,#ffffff99 0 .8px,#0000 1.3px) 13px 9px/19px 19px,linear-gradient(165deg,#0a1033,#1f34c8)}.lf-holo-engine .lfhe-nova .lfhe-win{background:radial-gradient(circle at 50% 56%,#ffe8a0f2,#0000 55%),repeating-conic-gradient(from 0deg at 50% 56%,#ff5fa2 0 7.5deg,#ff8f5c 7.5deg 15deg)}
.lf-holo-engine .lfhe-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.lf-holo-engine .lfhe-again{position:absolute;left:50%;bottom:max(24px,5vh);translate:-50% 0;white-space:nowrap;font:inherit;font-size:15px;padding:12px 18px;border-radius:12px;background:#fff;color:var(--ink);cursor:pointer;border:1px solid #0000001a;box-shadow:0 1px 2px #0000000f,0 10px 24px -12px #00000040}.lf-holo-engine .lfhe-mute{position:absolute;right:16px;top:16px;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#ffffffb8;color:var(--ink);cursor:pointer}.lf-holo-engine .lfhe-mute .lfhe-off,.lf-holo-engine .lfhe-mute[aria-pressed="true"] .lfhe-on{display:none}.lf-holo-engine .lfhe-mute[aria-pressed="true"] .lfhe-off{display:block}
@media(pointer:coarse){.lf-holo-engine .lfhe-slab:nth-child(-n+2){display:none}}
@media(max-width:700px){.lf-holo-engine{height:min(760px,calc(100dvh - 150px));min-height:560px;--ph:min(390px,52vh,58svh,120vw)}.lf-holo-engine .lfgacha-card-slot{--cw:min(calc(var(--pw)*.84),36vw)!important;--ch:calc(var(--cw)/.64)!important;width:var(--cw)!important;height:var(--ch)!important;margin:calc(var(--ch)/-2) 0 0 calc(var(--cw)/-2)!important}}
@media(prefers-reduced-motion:reduce){.lf-holo-engine .lfhe-card .lfhe-face{transition:none}}

/* Scale card type and controls with the card, including the mobile fan. */
.lfgacha-dialog .lf-holo-engine .lfgacha-card-title{font-size:6cqw}
.lf-holo-engine .lfgacha-card-story-excerpt{font-size:3.9cqw}
.lf-holo-engine .lfgacha-stat-label{font-size:2.5cqw}
.lf-holo-engine .lfgacha-stat-value{font-size:5cqw}
.lf-holo-engine .lfgacha-card-bottom{gap:2.8cqw}
.lf-holo-engine .lfgacha-card-stats{gap:1.6cqw}.lf-holo-engine .lfgacha-card-stat{gap:1.2cqw}
.lfgacha-dialog .lf-holo-engine .lfgacha-card-action{font-size:3.8cqw;min-height:10cqw;padding:2cqw 2.8cqw;border-radius:2.8cqw}
.lf-holo-engine .lfgacha-card-rarity{font-size:3.7cqw;min-width:12cqw;padding:2.5cqw 2.9cqw;border-radius:2.5cqw}
.lf-holo-engine .lfgacha-card-sequence{font-size:2.9cqw}
.lf-holo-engine .lfgacha-offer-badge{min-width:18cqw;padding:3.3cqw 2.1cqw;border-radius:3.7cqw}
.lf-holo-engine .lfgacha-offer-percent{font-size:8.5cqw}.lf-holo-engine .lfgacha-offer-copy{font-size:3cqw}.lf-holo-engine .lfgacha-offer-scope{font-size:2.1cqw;margin-top:1.6cqw}
.lf-holo-engine .lfgacha-free-socks-badge{font-size:3cqw;min-width:0;padding:3.7cqw 2.5cqw;border-radius:3.7cqw}
.lf-holo-engine .lfgacha-discount-art{gap:2.5cqw}.lf-holo-engine .lfgacha-discount-amount{font-size:32cqw}.lf-holo-engine .lfgacha-discount-off{font-size:5.5cqw}.lf-holo-engine .lfgacha-discount-scope{font-size:3cqw;margin-top:5cqw}.lf-holo-engine .lfgacha-discount-orbit{font-size:12cqw}
.lf-holo-engine .lfgacha-card-actions{gap:1.5cqw}
.lf-holo-engine .lfgacha-card-panel{padding:5cqw;gap:3.6cqw;border-radius:5cqw}
.lf-holo-engine .lfgacha-panel-title{font-size:5cqw;gap:3cqw}.lf-holo-engine .lfgacha-panel-close{width:11cqw;height:11cqw;font-size:7.5cqw}
.lf-holo-engine .lfgacha-notes-body,.lf-holo-engine .lfgacha-claim-details,.lf-holo-engine .lfgacha-claim-status{font-size:4.5cqw}
.lfgacha-dialog .lf-holo-engine .lfgacha-notes-body :is(h2,h3){font-size:5cqw}

.lf-holo-engine .lfhe-common[data-tier="r"]{--card-bg:linear-gradient(135deg,#e0e8f3,#b9cee3);--card-ink:#223c58;--card-edge:#7f9dbb}

/* Full-size mobile card faces arranged by the ring controller. */
@media(max-width:700px){
  .lf-holo-engine.lfhe-carousel{
    --carousel-card-width:min(72vw,calc((100svh - 270px)*.64),330px);
    height:max(300px,min(620px,calc(100dvh - 230px)));
    min-height:0;
    overflow:hidden;
    touch-action:pan-y;
  }
  .lf-holo-engine.lfhe-carousel .lfhe-stage{perspective-origin:50% 50%}
  .lf-holo-engine.lfhe-carousel .lfhe-card,
  .lf-holo-engine.lfhe-carousel .lfgacha-card-slot{
    --cw:var(--carousel-card-width)!important;
    --ch:calc(var(--cw)/.64)!important;
    width:var(--cw)!important;
    height:var(--ch)!important;
    margin:calc(var(--ch)/-2) 0 0 calc(var(--cw)/-2)!important;
    transform-style:preserve-3d;
    backface-visibility:hidden;
  }
  .lf-holo-engine.lfhe-carousel .lfgacha-card-slot:not(.is-current){pointer-events:none}
}
