/* The results fill the viewport. The ornament belongs to the cards and the table. */
#salonDossier.zf-tarot {
 --zt-face-ink:#ffe4b2;
 --zt-ink:#fff0df;
 --zt-accent:#efc17a;
 --zt-border:#d8a45f;
 --zt-hair:#c3915a78;
 --zt-shell:#270911;
 --zt-card:#130e10;
 --zt-trait-bg:#29080eb3;
 --zt-trait-label:#290910cd;
 --zt-cta:linear-gradient(155deg,#b07558,#844437 55%,#602121);
 --zt-cta-ink:#ffeed5;
 --zt-reveal-glow:#fda85970;
 --zt-reveal-spark:#ffe3a0;
 --zt-scene:url('/brand/tarot-bg-dark.webp');
 --zt-serif:'Cormorant Garamond',Georgia,serif;
 --zt-sans:Manrope,system-ui,sans-serif;
 --zt-pad-x:max(16px,4vw);
 --zt-pad-y:max(8px,1.5dvh);
 box-sizing:border-box;
 padding:max(var(--zt-pad-y),env(safe-area-inset-top)) max(var(--zt-pad-x),env(safe-area-inset-right)) max(var(--zt-pad-y),env(safe-area-inset-bottom)) max(var(--zt-pad-x),env(safe-area-inset-left));
 inset:0;
 z-index:1600;
 align-items:safe center;
 justify-items:center;
 overflow:auto;
 overscroll-behavior:contain;
 color:var(--zt-ink);
 background:radial-gradient(ellipse at 52% 55%,#20020919 23%,#1c020825 78%),var(--zt-scene) center/cover no-repeat var(--zt-shell)!important;
 backdrop-filter:none;
}
#salonDossier.zf-tarot[data-zt-theme="light"] {
 --zt-face-ink:#583019;
 --zt-ink:#4d261d;
 --zt-accent:#66371f;
 --zt-border:#a46a33;
 --zt-hair:#a86c404f;
 --zt-shell:#f4d9cf;
 --zt-card:#fbebcc;
 --zt-trait-bg:#fff1e6e6;
 --zt-trait-label:#fff3df;
 --zt-cta:linear-gradient(150deg,#fff4e0,#f9dfcc 54%,#efc0ad);
 --zt-cta-ink:#512815;
 --zt-reveal-glow:#ffcfdfc7;
 --zt-reveal-spark:#fff4d0;
 --zt-scene:url('/brand/tarot-bg-light.webp');
 background:radial-gradient(ellipse at 50% 55%,#fce5d32b 28%,transparent),var(--zt-scene) center/cover no-repeat var(--zt-shell)!important;
}
.zf-tarot .zt-shell {
 width:min(1320px,100%);
 min-width:0;
 min-height:0;
 display:grid;
 align-content:center;
 gap:clamp(4px,1.1dvh,12px);
}
.zf-tarot .zt-top {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 gap:6px;
 align-items:center;
 min-height:40px;
}
.zf-tarot button {
 margin:0;
 cursor:pointer;
 max-width:100%;
 box-shadow:none;
 transform:none;
}
.zf-tarot button:disabled { cursor:default; }
#salonDossier.zf-tarot :focus-visible { outline:2px solid var(--zt-border);outline-offset:3px; }
.zf-tarot .zt-top button {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:5px;
 width:auto;
 min-width:44px;
 min-height:44px;
 padding:5px 9px;
 color:var(--zt-ink);
 border:1px solid transparent;
 border-radius:9px;
 background:none;
 font:600 clamp(16px,2.9dvh,22px)/1 var(--zt-serif);
}
.zf-tarot .zt-top button:is(:hover,:focus-visible) { border-color:var(--zt-hair);background:var(--zt-trait-bg); }
.zf-tarot .zt-top button svg { width:20px;height:20px;flex:none; }
.zf-tarot .zt-return {justify-self:start;}
.zf-tarot .salon-fullscreen {justify-self:end;}
.zf-tarot .zt-brand {
 grid-column:2;
 display:flex;
 align-items:center;
 gap:clamp(6px,1vw,14px);
 color:var(--zt-accent);
 font:700 clamp(13px,2.1dvh,20px)/1.1 var(--zt-serif);
 letter-spacing:.18em;
 text-transform:uppercase;
 white-space:nowrap;
}
.zf-tarot .zt-brand span { font:400 .85em/1 Georgia,serif; }
.zf-tarot .zt-masthead { text-align:center; }
.zf-tarot .zt-masthead h2 {
 color:var(--zt-ink);
 font:600 clamp(28px,6dvh,64px)/1 var(--zt-serif);
 letter-spacing:-.018em;
 margin:0;
}
.zf-tarot .zt-star-rule {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:.5em;
 margin:3px auto 0;
 color:var(--zt-accent);
 font:400 clamp(13px,1.8dvh,22px)/1 Georgia,serif;
}
.zf-tarot .zt-star-rule::before,
.zf-tarot .zt-star-rule::after,
.zf-tarot .zt-arcana::before,
.zf-tarot .zt-arcana::after {
 content:"";
 width:clamp(22px,6vw,120px);
 height:1px;
 background:linear-gradient(to right,transparent,var(--zt-border));
}
.zf-tarot .zt-star-rule::after,
.zf-tarot .zt-arcana::after { transform:scaleX(-1); }
.zf-tarot .zt-spread {
 width:100%;
 display:grid;
 grid-template-columns:minmax(0,.97fr) minmax(0,1fr);
 align-items:center;
 column-gap:clamp(16px,4vw,74px);
 min-width:0;
}
.zf-tarot .zt-draw-area {
 display:grid;
 justify-items:center;
 align-items:center;
 gap:clamp(5px,1.8dvh,16px);
 min-width:0;
}
.zf-tarot .zt-deck {
 --zt-card-height:min(63dvh,570px,var(--zt-card-cap,999px));
 position:relative;
 isolation:isolate;
 padding:0 6%;
 display:grid;
 width:100%;
 place-items:center;
}
/* The two painted faces share one transform and never change the card's measured size. */
.zf-tarot .zt-stack,.zf-tarot .zt-deck-shadow {
 width:min(72%,calc(var(--zt-card-height) * .629283));
 aspect-ratio:606 / 963;
}
.zf-tarot .zt-deck-shadow {
 position:absolute;
 top:4%;
 left:11%;
 transform:rotate(-11deg);
 border:1px solid var(--zt-border);
 border-radius:5.2% / 3.3%;
 object-fit:cover;
 background:var(--zt-card);
 box-shadow:0 7px 22px #19071070;
 z-index:-1;
}
.zf-tarot .zt-stack { position:relative;perspective:1000px;container-type:inline-size; }
.zf-tarot .zt-rotor {
 position:absolute;
 inset:0;
 transform:rotateY(180deg);
 transform-style:preserve-3d;
}
.zf-tarot .zt-closed .zt-rotor { transform:none; }
.zf-tarot .zt-face,.zf-tarot .zt-back-face {
 position:absolute;
 display:block;
 inset:0;
 width:100%;
 height:100%;
 border-radius:5.2% / 3.3%;
 border:1px solid var(--zt-border);
 box-shadow:0 6px 24px #12030785,inset 0 0 0 2px #1e100733,inset 0 0 0 4px #a7673377;
 overflow:hidden;
 box-sizing:border-box;
 -webkit-backface-visibility:hidden;
 backface-visibility:hidden;
 background:var(--zt-card);
}
.zf-tarot .zt-back-face { object-fit:cover; }
.zf-tarot .zt-face { transform:rotateY(180deg);color:var(--zt-face-ink); }
.zf-tarot[data-zt-theme="light"] .zt-face { box-shadow:0 5px 19px #733e3455,inset 0 0 0 2px #fff9e8,inset 0 0 0 4px #a7673377; }
.zf-tarot .zt-face::after {
 content:"";
 position:absolute;
 inset:1.65% 2.6%;
 border:1px solid var(--zt-border);
 border-radius:4.8% / 3.6%;
 pointer-events:none;
 z-index:2;
 opacity:.88;
}
.zf-tarot .zt-aperture {
 position:absolute;
 inset:3.75% 3.6% 16%;
 border:1px solid var(--zt-border);
 border-radius:5.5% 5.5% 1.2% 1.2%;
 overflow:hidden;
 margin:0;
 isolation:isolate;
 box-shadow:inset 0 0 18px #19050b55;
}
.zf-tarot .zt-art { display:block;width:100%;height:100%;object-fit:cover;object-position:center; }
.zf-tarot .zt-constellation {
 position:absolute;
 top:4%;
 left:4%;
 width:28%;
 height:auto;
 opacity:.58;
 filter:drop-shadow(0 1px 3px #250813);
 pointer-events:none;
}
.zf-tarot .zt-medallion {
 display:grid;
 place-items:center;
 position:absolute;
 top:1.65%;
 left:50%;
 transform:translateX(-50%);
 border:1px solid var(--zt-border);
 box-shadow:inset 0 0 0 2px var(--zt-card),inset 0 0 0 3px var(--zt-border);
 border-radius:999px;
 min-width:27%;
 min-height:7%;
 padding:1.7% 4.7%;
 color:var(--zt-face-ink);
 background:var(--zt-card);
 font:700 clamp(13px,6.5cqw,32px)/1 var(--zt-serif);
 white-space:nowrap;
}
#salonDossier.zf-tarot .zt-photo.portrait-frame {
 display:none;
 position:absolute;
 right:5%;
 bottom:5%;
 inset:auto 5% 5% auto;
 margin:0;
 padding:0;
 width:27%;
 height:auto;
 aspect-ratio:4 / 5;
 min-height:0;
 border:1px solid var(--zt-border);
 border-radius:7%;
 box-shadow:0 2px 5px #220a0895;
 overflow:hidden;
 background:#391724;
 z-index:1;
}
#salonDossier.zf-tarot .zt-photo.portrait-frame:has(.portrait-image) { display:block; }
#salonDossier.zf-tarot .zt-photo .portrait-viewport { position:absolute;inset:0;border-radius:inherit; }
#salonDossier.zf-tarot .zt-photo .portrait-image { object-fit:cover!important; }
#salonDossier.zf-tarot .zt-photo :is(.portrait-shade,.portrait-identity,.portrait-jewels,.portrait-flare),
#salonDossier.zf-tarot .zt-photo::after { display:none!important; }
.zf-tarot .zt-plaque {
 position:absolute;
 inset:auto 3.6% 2.4%;
 min-height:11.5%;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 padding:1% 2%;
 border:1px solid var(--zt-border);
 border-radius:.32em;
 background:var(--zt-card);
 text-align:center;
}
.zf-tarot .zt-plaque p { margin:0;max-width:100%;overflow-wrap:anywhere; }
.zf-tarot .zt-closed-plaque { box-shadow:0 4px 12px #19071077; }
.zf-tarot .zt-name {
 color:var(--zt-face-ink);
 font:600 clamp(12px,6cqw,24px)/1.07 var(--zt-serif);
 letter-spacing:.045em;
}
.zf-tarot .zt-sign { font-size:.78em; }
.zf-tarot .zt-card-title {
 color:var(--zt-face-ink);
 font:700 clamp(11px,6.6cqw,25px)/1.04 var(--zt-serif);
 text-wrap:balance;
 text-transform:uppercase;
 letter-spacing:.025em;
}
.zf-tarot .zt-navigation {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:14px;
 color:var(--zt-ink);
 font:600 clamp(13px,2.1dvh,20px)/1 var(--zt-serif);
}
.zf-tarot .zt-navigation button {
 display:grid;
 place-items:center;
 width:44px;
 height:44px;
 padding:9px;
 border-radius:50%;
 border:1px solid var(--zt-border);
 color:var(--zt-ink);
 background:var(--zt-trait-bg);
}
.zf-tarot .zt-navigation svg { width:20px;height:20px; }
.zf-tarot .zt-navigation button:disabled { opacity:.4; }
.zf-tarot .zt-reading {
 min-width:0;
 display:grid;
 justify-items:center;
 align-content:center;
 gap:clamp(6px,1.8dvh,16px);
 text-align:center;
}
.zf-tarot .zt-reading-name { display:none; }
.zf-tarot .zt-arcana {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:14px;
 color:var(--zt-accent);
 font:700 clamp(15px,3dvh,25px)/1 var(--zt-serif);
}
.zf-tarot .zt-title {
 color:var(--zt-accent);
 font:700 clamp(25px,min(6.1dvh,5vw),70px)/.97 var(--zt-serif);
 letter-spacing:.018em;
 text-transform:uppercase;
 text-wrap:balance;
 overflow-wrap:anywhere;
 margin:0;
}
.zf-tarot .zt-punch {
 font:500 clamp(17px,3.15dvh,31px)/1.12 var(--zt-serif);
 font-style:italic;
 color:var(--zt-ink);
 text-wrap:balance;
 overflow-wrap:anywhere;
 margin:0;
 max-width:42ch;
}
.zf-tarot .zt-random-mark {
 margin:0;
 border:1px solid var(--zt-hair);
 border-radius:20px;
 padding:4px 10px;
 color:var(--zt-accent);
 background:var(--zt-trait-bg);
 font:650 11px/1.2 var(--zt-sans);
}
.zf-tarot .zt-traits {
 display:grid;
 gap:clamp(5px,1.15dvh,12px);
 width:min(100%,34rem);
 margin:0;
}
.zf-tarot .zt-trait {
 width:100%;
 display:grid;
 grid-template-columns:clamp(20px,4.2dvh,35px) minmax(0,1fr);
 align-items:center;
 gap:2px 10px;
 border:1px solid var(--zt-border);
 border-radius:10px;
 box-shadow:inset 0 0 0 2px var(--zt-trait-label);
 padding:clamp(6px,1.35dvh,13px) clamp(8px,1.3vw,18px);
 background:var(--zt-trait-bg);
 text-align:left;
}
.zf-tarot .zt-trait svg {
 grid-row:1 / span 2;
 width:100%;
 height:auto;
 color:var(--zt-accent);
}
.zf-tarot .zt-trait dt { color:var(--zt-accent);font:700 clamp(17px,3.05dvh,28px)/1.02 var(--zt-serif); }
.zf-tarot .zt-trait dd {
 color:var(--zt-ink);
 font:550 clamp(13px,2.08dvh,18px)/1.28 var(--zt-sans);
 margin:0;
 overflow-wrap:anywhere;
}
.zf-tarot .zt-actions {
 width:min(100%,34rem);
 display:grid;
 justify-items:center;
 gap:4px;
}
#salonDossier.zf-tarot .zt-share {
 width:100%;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:clamp(6px,1.65vw,17px);
 min-height:48px;
 padding:7px 14px;
 border:1px solid var(--zt-border);
 border-radius:999px;
 color:var(--zt-cta-ink);
 background:var(--zt-cta);
 box-shadow:inset 0 0 0 2px #fff4dd42,inset 0 1px #fff7d8aa,0 5px 15px #380d1d36;
 font:700 clamp(20px,3.9dvh,34px)/1 var(--zt-serif);
 transition:filter .18s;
}
.zf-tarot .zt-share svg { width:clamp(20px,3dvh,29px);height:auto;flex:none; }
.zf-tarot .zt-share:not(:disabled):hover { filter:brightness(1.08); }
.zf-tarot .zt-share:disabled { opacity:.7; }
.zf-tarot .zt-utilities { display:flex;align-items:center;justify-content:center;gap:1px clamp(7px,1.2vw,15px);flex-wrap:wrap; }
#salonDossier.zf-tarot .zt-link {
 display:inline-flex;
 align-items:center;
 gap:3px;
 min-height:35px;
 padding:3px 4px;
 color:var(--zt-ink);
 border:0;
 border-radius:4px;
 background:none;
 font:600 clamp(11px,1.9dvh,15px)/1.2 var(--zt-sans);
 text-decoration:underline;
 text-underline-offset:3px;
}
.zf-tarot .zt-link svg { width:15px;height:15px;flex:none; }
.zf-tarot .zf-status,.zf-tarot .zt-caption { color:var(--zt-ink);font:600 11px/1.25 var(--zt-sans);text-align:center;margin:0; }
.zf-tarot .zt-caption { opacity:.83; }
.zf-tarot .zt-reveal-light {
 position:absolute;
 inset:-8%;
 pointer-events:none;
 border-radius:10%;
 background:radial-gradient(ellipse,var(--zt-reveal-glow),transparent 68%);
 opacity:0;
}
.zf-tarot .zt-reveal-light::before,.zf-tarot .zt-reveal-light::after {
 content:"";
 position:absolute;
 width:7%;
 aspect-ratio:1;
 background:var(--zt-reveal-spark);
 clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);
}
.zf-tarot .zt-reveal-light::before { top:14%;left:7%; }
.zf-tarot .zt-reveal-light::after { bottom:15%;right:6%;width:5%; }
@media (prefers-reduced-motion:no-preference) {
 .zf-tarot .zt-spread { --zt-yaw:180deg;--zt-lean:3deg; }
 .zf-tarot [data-zt-turn="left"] { --zt-yaw:-180deg;--zt-lean:-3deg; }
 .zf-tarot .zt-awaiting .zt-rotor { transform:none; }
 .zf-tarot .zt-awaiting .zt-reading > :not(.zt-actions) { opacity:.4; }
 .zf-tarot .zt-opening .zt-rotor { animation:zt-turn 1.08s both; }
 .zf-tarot .zt-opening .zt-reveal-light { animation:zt-reveal-light .74s .3s ease-out both; }
 .zf-tarot .zt-opening .zt-reading > :not(.zt-actions) { animation:zt-reading-in .42s .41s ease-out both; }
 .zf-tarot .zt-opening .zt-face::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(113deg,transparent 26%,var(--zt-reveal-glow) 44%,var(--zt-reveal-spark) 49%,transparent 64%);
  animation:zt-card-sheen .66s .47s ease-out both;
 }
 .zf-tarot .zt-drawing .zt-stack { animation:zt-shuffle .33s ease-in-out both; }
}
@keyframes zt-turn {
 0% {transform:translateY(2%) rotateY(0) scale(.96);animation-timing-function:cubic-bezier(.24,.63,.36,1);}
 24% {transform:translateY(-3%) rotateZ(var(--zt-lean)) rotateY(calc(var(--zt-yaw) * .18)) scale(1.02);animation-timing-function:ease-in;}
 47% {transform:translateY(-3.5%) rotateZ(var(--zt-lean)) rotateY(calc(var(--zt-yaw) * .52)) scale(1.045);animation-timing-function:cubic-bezier(.15,.65,.26,1);}
 79% {transform:translateY(-.9%) rotateY(calc(var(--zt-yaw) * .97)) scale(1.01);animation-timing-function:ease-out;}
 100% {transform:rotateY(var(--zt-yaw));}
}
@keyframes zt-reveal-light {
 0% {opacity:0;transform:scale(.92);}
 34% {opacity:.7;}
 100% {opacity:0;transform:scale(1.08);}
}
@keyframes zt-card-sheen {
 0% {opacity:0;transform:translateX(-83%);}
 30% {opacity:.2;}
 100% {opacity:0;transform:translateX(83%);}
}
@keyframes zt-reading-in {
 from {opacity:.4;transform:translateY(3px);}
 to {opacity:1;transform:translateY(0);}
}
@keyframes zt-shuffle {
 0%,100% {transform:rotate(0);}
 40% {transform:rotate(3.5deg) translateX(2%);}
 70% {transform:rotate(-2deg) translateX(-2%);}
}
@media (max-width:700px) and (orientation:portrait) {
 #salonDossier.zf-tarot { --zt-pad-x:max(11px,4vw);--zt-pad-y:8px;--zt-scene:url('/brand/tarot-bg-dark-mobile.webp'); }
 #salonDossier.zf-tarot[data-zt-theme="light"] { --zt-scene:url('/brand/tarot-bg-light-mobile.webp'); }
 .zf-tarot .zt-shell { width:min(100%,490px);gap:clamp(4px,.95dvh,9px); }
 .zf-tarot .zt-top button { padding-inline:2px; }
 #salonDossier.zf-tarot .zt-top :focus-visible { outline-offset:0; }
 .zf-tarot .zt-spread { grid-template-columns:minmax(0,1fr);row-gap:5px; }
 .zf-tarot .zt-masthead h2 { font-size:clamp(29px,5.45dvh,49px); }
 .zf-tarot .zt-deck { --zt-card-height:min(50dvh,415px,var(--zt-card-cap,999px));padding-inline:4%; }
 /* The transparent end of the moving reflection must not widen the scroll area. */
 #salonDossier.zf-tarot .zt-opening .zt-face { overflow:hidden; }
 .zf-tarot .zt-deck-shadow { top:1%;left:15%; }
 .zf-tarot .zt-draw-area { gap:3px; }
 .zf-tarot .zt-reading { gap:clamp(3px,.85dvh,8px); }
 .zf-tarot .zt-arcana { display:none; }
 .zf-tarot .zt-reading-name {
  display:block;
  margin:4px 0 0;
  color:var(--zt-ink);
  font:700 15px/1.25 var(--zt-sans);
  overflow-wrap:anywhere;
 }
 .zf-tarot .zt-title { font-size:clamp(25px,4dvh,33px);line-height:1.02; }
 .zf-tarot .zt-punch { font-size:clamp(17px,2.75dvh,22px); }
 .zf-tarot .zt-traits { gap:4px; }
 .zf-tarot .zt-trait { padding-block:5px;column-gap:8px; }
 .zf-tarot .zt-trait dt { font-size:clamp(18px,2.65dvh,22px); }
 .zf-tarot .zt-trait dd { font-size:clamp(13px,1.9dvh,15px); }
 #salonDossier.zf-tarot .zt-share { min-height:45px;padding-block:5px; }
 .zf-tarot .zt-caption { font-size:10px; }
 .zf-tarot .zt-actions { gap:0; }
}
@media (max-width:700px) and (max-height:650px) and (orientation:portrait) {
 .zf-tarot .zt-shell { gap:3px; }
 .zf-tarot .zt-masthead h2 { font-size:28px; }
 .zf-tarot .zt-star-rule { display:none; }
 .zf-tarot .zt-trait { padding-block:4px; }
 .zf-tarot .zt-navigation button { height:40px;width:40px; }
 .zf-tarot .zt-caption { font-size:9px; }
}
@media (max-height:530px) and (orientation:landscape) {
 #salonDossier.zf-tarot { --zt-pad-x:max(10px,4vw);--zt-pad-y:6px; }
 .zf-tarot .zt-shell { gap:3px; }
 .zf-tarot .zt-top { min-height:36px; }
 .zf-tarot .zt-top button { min-height:36px; }
 .zf-tarot .zt-masthead h2 { font-size:clamp(22px,6.9dvh,35px); }
 .zf-tarot .zt-star-rule,.zf-tarot .zt-arcana { display:none; }
 .zf-tarot .zt-deck { --zt-card-height:min(54dvh,var(--zt-card-cap,999px)); }
 .zf-tarot .zt-draw-area { gap:2px; }
 .zf-tarot .zt-navigation button { width:40px;height:36px;padding:5px; }
 .zf-tarot .zt-reading { gap:4px; }
 .zf-tarot .zt-reading-name { display:block;margin:0;color:var(--zt-ink);font:700 14px/1.25 var(--zt-sans);overflow-wrap:anywhere; }
 .zf-tarot .zt-title { font-size:clamp(21px,6dvh,30px); }
 .zf-tarot .zt-punch { font-size:clamp(15px,4.2dvh,19px); }
 .zf-tarot .zt-traits { gap:4px; }
 .zf-tarot .zt-trait { padding-block:5px; }
 #salonDossier.zf-tarot .zt-share { min-height:40px; }
 #salonDossier.zf-tarot .zt-link { min-height:30px; }
}
@media (max-width:350px) and (orientation:portrait) {
 .zf-tarot .zt-top { gap:3px; }
 .zf-tarot .zt-brand { letter-spacing:.09em;gap:4px; }
 .zf-tarot .zt-trait dd { line-height:1.2; }
 .zf-tarot .zt-trait { grid-template-columns:20px minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
 .zf-tarot * { transition:none; }
}
