/* Center the complete uncropped portrait in the sanctuary. */
body.immersive-schattentarot .ambient-background{display:block;background-image:url('/portal-sanctuary.webp')}
body.immersive-schattentarot .ambient-wings{opacity:.16}
body.immersive-schattentarot .world-entry-tarot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px) minmax(0,1fr);gap:30px;align-items:center;min-height:0;padding:100px 5% 85px;overflow:visible}
body.immersive-schattentarot .world-entry-tarot .world-entry-art{grid-column:2;grid-row:1;position:relative;width:100%;height:auto;max-width:480px;max-height:none;justify-self:center;align-self:center;display:block;margin:0;filter:none;background:none;border:0;border-radius:0;overflow:visible}
body.immersive-schattentarot .world-entry-tarot .world-entry-art>img{display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;object-position:center top;border:0;border-radius:0;opacity:1;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(transparent,#000 3%,#000 80%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(transparent,#000 3%,#000 80%,transparent 100%);mask-composite:intersect;-webkit-mask-composite:source-in}
body.immersive-schattentarot .world-entry-tarot .world-entry-copy{grid-column:1;grid-row:1;position:relative;isolation:isolate;max-width:390px;width:100%;justify-self:center;align-self:center;padding:20px 8px;z-index:3;text-shadow:0 2px 12px #020915}
body.immersive-schattentarot .world-entry-tarot .world-entry-copy::before{content:"";position:absolute;inset:-16px;z-index:-1;border-radius:45px;background:#0b1d35aa;filter:blur(22px);pointer-events:none}
body.immersive-schattentarot .world-entry-tarot .world-entry-copy h1{font-size:clamp(34px,3.2vw,64px);line-height:1.12;hyphens:none;overflow-wrap:normal}
body.immersive-schattentarot .world-entry-tarot .world-entry-copy>p:not(.eyebrow){font-size:clamp(19px,1.7vw,24px);line-height:1.65}
body.immersive-schattentarot .world-entry-tarot .world-entry-glow{inset:5% -12% 10%;background:radial-gradient(ellipse,#cbb48a1c,transparent 65%);filter:blur(15px)}
.tarot-entry-sparkles{position:absolute;inset:0;z-index:4;pointer-events:none}
.tarot-entry-sparkles i{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;border-radius:50%;background:#e7d2a8;box-shadow:0 0 7px 2px #cbb48a88,0 0 20px 5px #cbb48a33;opacity:0}
.tarot-entry-sparkles i::before,.tarot-entry-sparkles i::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:1px;transform:translate(-50%,-50%);background:linear-gradient(90deg,transparent,#e7d2a8,transparent)}
.tarot-entry-sparkles i::after{transform:translate(-50%,-50%) rotate(90deg)}
.polish-in-view .tarot-entry-sparkles i{animation:tarot-gold-glimmer 7s ease-in-out var(--delay) infinite}
@keyframes tarot-gold-glimmer{0%,25%,65%,100%{opacity:0;scale:.55}44%{opacity:.9;scale:1.2}53%{opacity:.25;scale:.8}}
.art-polish-paused .tarot-entry-sparkles i{animation-play-state:paused}
@media(max-width:1100px){body.immersive-schattentarot .world-entry-tarot{grid-template-columns:1fr;padding:90px 7% 75px;gap:0}body.immersive-schattentarot .world-entry-tarot .world-entry-art{grid-column:1;grid-row:1;max-width:460px;width:min(100%,460px)}body.immersive-schattentarot .world-entry-tarot .world-entry-copy{grid-column:1;grid-row:2;max-width:650px;text-align:center;margin-top:-25px}body.immersive-schattentarot .world-entry-tarot .world-entry-copy h1{font-size:clamp(38px,8vw,62px)}body.immersive-schattentarot .world-entry-tarot .world-entry-copy>p:not(.eyebrow){margin:22px auto;max-width:460px}body.immersive-schattentarot .ambient-wings{opacity:.1}}
@media(prefers-reduced-motion:reduce){.tarot-entry-sparkles i{animation:none!important;opacity:.22}}
