/* Production pearl/engraved overlays; all labels remain selectable, accessible text. */
.sc-card-host{container-type:size;display:grid!important;place-items:center;min-width:0;min-height:0}
.sc-card{position:relative;display:block;width:min(100cqw,50cqh);aspect-ratio:1/2;flex:none;container-type:inline-size;isolation:isolate;color:#fff0cb;filter:drop-shadow(0 5px 8px #20060936);font-synthesis:none}
.sc-card-light{color:#5b321e}
.sc-card-picture{position:absolute;inset:3.2% 4.5% 20%;overflow:hidden;background:#300a0d;border-radius:7% 7% 2% 2%}
.sc-card-light .sc-card-picture{background:#eacbc2}
.sc-card .sc-card-illustration{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:50% 0%;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important}
.sc-card .sc-card-frame{position:absolute!important;inset:0;display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;object-fit:fill!important;pointer-events:none;z-index:2}
.sc-card .sc-card-number{position:absolute!important;inset:3.1% 33% auto!important;transform:none!important;display:flex!important;align-items:center;justify-content:center;height:6.3%;padding:0!important;margin:0!important;min-width:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:0!important;color:#472218!important;font:400 var(--sc-roman-size,9cqw)/1 var(--sovet-text,Georgia,serif)!important;z-index:3}
.sc-card-light .sc-card-number{top:2.6%!important;height:5.6%}
.sc-card-plaque{position:absolute;inset:80.8% 9% 7%;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1cqw;text-align:center}
.sc-card-dark .sc-card-plaque{inset:80.8% 9% 7%}
.sc-card .sc-card-title{display:block!important;flex:none;min-width:0;color:inherit!important;font:400 var(--sc-title-size,6.6cqw)/1.07 var(--sovet-text,Georgia,serif)!important;text-transform:uppercase;letter-spacing:0!important;text-wrap:balance;overflow-wrap:normal!important;margin:0!important;padding:0!important;max-width:100%;border:0!important}
.sc-card .sc-card-identity{font:400 var(--sc-identity-size,4.3cqw)/1.1 var(--sovet-text,Georgia,serif);letter-spacing:.1em;text-transform:uppercase;max-width:100%;overflow-wrap:anywhere;text-wrap:balance;flex:none}
.sc-card-personal .sc-card-title{font-size:var(--sc-title-size,6.6cqw)!important;line-height:1.07!important}
.sc-card-personal .sc-card-plaque{inset:80.8% 9% 7%}
/* No outer rectangular panel competes with the collectible itself. */
#clubModal.club-space .cs-deck-card{display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;gap:8px;padding:4px 0 2px;border:0;background:none;box-shadow:none;overflow:visible}
#clubModal.club-space .cs-deck-card.is-earned{border:0;box-shadow:none}
#clubModal.club-space .cs-deck-face{grid-column:1!important;grid-row:1!important;width:100%;height:100%;margin:0;padding:0}
#clubModal.club-space .cs-deck-status{grid-column:1;grid-row:2;text-align:center;font-size:11px;line-height:1.3}
#clubModal.club-space .cs-deck-card.is-earned .cs-deck-status{color:var(--cs-ink)}
#clubModal.club-space .cs-collection-art.sc-card-host{width:100%}
#clubModal.club-space .cs-card-art.sc-card-host{border:0;outline:0;box-shadow:none}
#clubModal.club-space .cs-deck-track{padding-block:2px 8px}
#salonDossier.zf-tarot{--zt-scene:url('/brand/tarot-bg-dark.webp')}
#salonDossier.zf-tarot[data-zt-theme="light"]{--zt-scene:url('/brand/tarot-bg-light.webp')}
@media(max-width:700px){#salonDossier.zf-tarot{--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')}}
/* The reveal uses the same complete frame, without changing its flip behaviour. */
#salonDossier.zf-tarot .zt-stack,#salonDossier.zf-tarot .zt-deck-shadow{aspect-ratio:1/2;width:min(72%,calc(var(--zt-card-height) * .5))}
#salonDossier.zf-tarot .zt-face{border:0;background:none;box-shadow:none;border-radius:4%/2%;overflow:visible}
#salonDossier.zf-tarot .zt-face::after{display:none}
#salonDossier.zf-tarot .zt-face>.sc-card{position:absolute;inset:0;width:100%;height:100%;filter:none}
#salonDossier.zf-tarot .zt-participant-count{display:flex;align-items:center;gap:9px;white-space:nowrap}
#salonDossier.zf-tarot .zt-participant-avatar{position:relative;flex:none;width:32px;height:32px;border-radius:50%;border:1px solid var(--zt-border);overflow:hidden}
#salonDossier.zf-tarot .sc-card-picture .zt-constellation{z-index:1;top:14%;opacity:.4}
@media(max-width:700px){
 #clubModal.club-space .cs-deck-card{flex-basis:84%}
 #clubModal.club-space .cs-deck-track{gap:10px}
 #clubModal.club-space .cs-deck-status{font-size:10px}
}
@media(orientation:landscape) and (max-height:540px){
 #clubModal.club-space .cs-deck-card{flex-basis:32%;gap:3px;padding:0}
 #clubModal.club-space .cs-deck-status{font-size:9px}
}

/* Older phones in landscape need space for the card actions as well as the art. */
@media(orientation:landscape) and (max-height:360px) and (max-width:700px){
 #clubModal.club-space .cs-profile-layout{gap:10px}
 #clubModal.club-space .cs-person{grid-template-columns:42px minmax(0,1fr);gap:4px}
 #clubModal.club-space .cs-person-photo{width:42px;height:42px}
 #clubModal.club-space .cs-person-info{gap:2px}
 #clubModal.club-space .cs-person-info h4{font-size:21px;line-height:1.05}
 #clubModal.club-space .cs-person-label{font-size:10px}
 #clubModal.club-space .cs-person-info .cs-zodiac{font-size:10px}
 #clubModal.club-space .cs-person-edit{font-size:12px!important;min-height:24px!important;padding:2px 6px!important}
 #clubModal.club-space .cs-person-shared{font-size:10px;line-height:1.1;gap:4px}
 #clubModal.club-space .cs-latest{grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:8px;padding:0}
 #clubModal.club-space .cs-card-copy{gap:3px}
 #clubModal.club-space .cs-card-label{font-size:10px;line-height:1.1}
 #clubModal.club-space .cs-card-title{font-size:18px;line-height:1.05}
 #clubModal.club-space .cs-card-quote{font-size:11px;line-height:1.1}
 #clubModal.club-space .cs-card-button{min-height:26px!important;padding:3px 8px!important;font-size:14px!important}
 #clubModal.club-space .cs-shortcuts{height:30px;margin-top:0}
 #clubModal.club-space .cs-shortcuts button{font-size:14px!important;padding:2px 8px!important;gap:6px}
 #clubModal.club-space .cs-shortcut-art{height:32px;margin-top:0;transform:none!important}
 #salonDossier.zf-tarot{--zt-pad-x:10px;--zt-pad-y:5px}
 #salonDossier.zf-tarot .zt-shell{gap:2px}
 #salonDossier.zf-tarot .zt-top,#salonDossier.zf-tarot .zt-top button{min-height:32px}
 #salonDossier.zf-tarot .zt-top button{padding-block:2px}
 #salonDossier.zf-tarot .zt-masthead h2{font-size:22px}
 #salonDossier.zf-tarot .zt-spread{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);column-gap:14px}
 #salonDossier.zf-tarot .zt-reading{gap:3px}
 #salonDossier.zf-tarot .zt-title{font-size:18px;line-height:1.02}
 #salonDossier.zf-tarot .zt-punch{font-size:14px;line-height:1.05}
 #salonDossier.zf-tarot .zt-traits{gap:3px}
 #salonDossier.zf-tarot .zt-trait{padding:3px 6px;grid-template-columns:16px minmax(0,1fr);column-gap:6px}
 #salonDossier.zf-tarot .zt-trait dt{font-size:14px;line-height:1.05}
 #salonDossier.zf-tarot .zt-trait dd{font-size:11px;line-height:1.15}
 #salonDossier.zf-tarot .zt-actions{gap:0}
 #salonDossier.zf-tarot .zt-share{font-size:18px;min-height:32px;padding:4px 8px;gap:6px}
 #salonDossier.zf-tarot .zt-utilities{gap:0 6px}
 #salonDossier.zf-tarot .zt-link{font-size:10px;min-height:28px;padding:2px}
 #salonDossier.zf-tarot .zt-caption,#salonDossier.zf-tarot .zf-status{font-size:9px}
}

/* The story portrait begins high in the source; leave room under the engraved number. */
.sc-card-picture:has(> .sc-card-illustration[src$="tarot-evening-continuation-dark-20261128.webp"]) {
 --sc-headroom:17%;
 --sc-story-bleed:url('/brand/tarot-evening-continuation-dark-20261128.webp');
}
.sc-card-picture:has(> .sc-card-illustration[src$="tarot-evening-continuation-light-20261128.webp"]) {
 --sc-headroom:13%;
 --sc-story-bleed:url('/brand/tarot-evening-continuation-light-20261128.webp');
}
.sc-card-picture:has(> .sc-card-illustration[src*="tarot-evening-continuation-"]) {
 isolation:isolate;
}
.sc-card-picture:has(> .sc-card-illustration[src*="tarot-evening-continuation-"])::before {
 content:"";
 position:absolute;
 inset:-5%;
 z-index:-1;
 background:var(--sc-story-bleed) center top / cover no-repeat;
 filter:blur(4cqw);
}
.sc-card .sc-card-illustration[src*="tarot-evening-continuation-"] {
 position:absolute;
 inset:auto 0 0;
 height:calc(100% - var(--sc-headroom,0%))!important;
 mask-image:linear-gradient(to bottom,transparent,#0008 3%,#000 9%);
}
