
#tarotModule.tm{--ink:#24182d;--muted:#746778;--purple:#3c234b;--purple2:#5b356d;--gold:#c9a34f;--gold2:#e6cb86;--cream:#fbf7f0;--line:#e8dfd2;--white:#fff;background:linear-gradient(180deg,#fbf8f3 0%,#f4eee7 100%);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh;padding:clamp(22px,4vw,54px) 14px}
#tarotModule.tm *{box-sizing:border-box}
#tarotModule .tm-wrap{width:min(940px,100%);margin:auto}
#tarotModule .tm-hero{text-align:center;padding:8px 8px 30px}
#tarotModule .tm-mark{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 13px;border-radius:50%;color:var(--gold);border:1px solid rgba(201,163,79,.45);background:#fff;font-size:18px}
#tarotModule .tm-kicker{display:block;color:var(--gold);font-size:10px;letter-spacing:.19em;font-weight:850}
#tarotModule h1,#tarotModule h2{font-family:Georgia,"Times New Roman",serif;font-weight:500}
#tarotModule h1{font-size:clamp(36px,6vw,64px);line-height:.98;margin:10px 0 15px;color:var(--purple)}
#tarotModule h1 em{font-style:italic;color:#9a7540}
#tarotModule .tm-hero>p{max-width:650px;margin:auto;color:var(--muted);font-size:15px;line-height:1.7}
#tarotModule .tm-card-panel{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:24px;padding:clamp(20px,4vw,42px);box-shadow:0 20px 60px rgba(46,29,54,.09)}
#tarotModule .tm-step{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:27px;color:#a89caa;font-size:10px;font-weight:800;letter-spacing:.1em}
#tarotModule .tm-step span:first-child{color:var(--gold)}
#tarotModule .tm-step i{width:48px;height:1px;background:var(--line)}
#tarotModule .tm-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
#tarotModule .tm-field{position:relative;margin-bottom:18px}
#tarotModule label,#tarotModule legend{display:block;font-size:12px;font-weight:800;margin-bottom:7px;color:#4b3b50}
#tarotModule label small{font-weight:400;color:#a69ba8}
#tarotModule input,#tarotModule textarea{width:100%;border:1px solid #ddd4dc;border-radius:11px;background:#fff;color:var(--ink);padding:13px 14px;font:inherit;font-size:15px;outline:none;transition:.2s}
#tarotModule input:focus,#tarotModule textarea:focus{border-color:#9c78aa;box-shadow:0 0 0 3px rgba(91,53,109,.08)}
#tarotModule textarea{min-height:110px;resize:vertical}
#tarotModule .tm-counter{text-align:right;margin-top:4px;color:#aaa0aa;font-size:10px}
#tarotModule .tm-themes{border:0;padding:0;margin:0 0 18px}
#tarotModule .tm-theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
#tarotModule .tm-theme{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:15px 7px 13px;border:1px solid #e1d8e1;border-radius:14px;background:#fff;cursor:pointer;transition:.2s}
#tarotModule .tm-theme input{position:absolute;opacity:0;pointer-events:none}
#tarotModule .tm-theme-icon{font-size:25px;line-height:1.2}
#tarotModule .tm-theme strong{font-size:13px}
#tarotModule .tm-theme small{font-size:10px;color:#978c9b}
#tarotModule .tm-theme:has(input:checked){border-color:var(--gold);background:linear-gradient(180deg,#fffdf7,#faf5e9);box-shadow:0 5px 18px rgba(94,67,32,.08)}
#tarotModule .tm-theme:has(input:checked):after{content:"✓";position:absolute;top:7px;right:8px;color:var(--gold);font-size:11px;font-weight:900}
#tarotModule .tm-btn{border:0;text-decoration:none;cursor:pointer;border-radius:999px;min-height:48px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font:800 13px Inter,system-ui,sans-serif;transition:transform .2s,box-shadow .2s,filter .2s}
#tarotModule .tm-btn b{font-size:18px;font-weight:500}
#tarotModule .tm-btn:hover{transform:translateY(-2px);filter:brightness(1.03)}
#tarotModule .tm-btn-primary{background:linear-gradient(135deg,var(--purple2),var(--purple));color:#fff;box-shadow:0 9px 22px rgba(60,35,75,.19)}
#tarotModule #tmStart{display:flex;width:min(100%,330px);margin:7px auto 0}
#tarotModule .tm-reassurance{text-align:center;margin:12px 0 0;color:#9c909e;font-size:10px}
#tarotModule .tm-reading{display:none;padding:38px 0 20px}
#tarotModule .tm-reading.active{display:block}
#tarotModule .tm-reading-head{text-align:center;margin-bottom:25px}
#tarotModule .tm-reading-head h2{font-size:clamp(28px,5vw,42px);margin:8px 0 3px;color:var(--purple)}
#tarotModule .tm-reading-head p{color:var(--muted);margin:0;font-size:13px}
#tarotModule .tm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:780px;margin:auto}
#tarotModule .tm-slot{text-align:center;min-width:0}
#tarotModule .tm-position{display:block;color:#947746;font-size:9px;letter-spacing:.13em;font-weight:850;margin-bottom:8px;text-transform:uppercase}
#tarotModule .tm-card-stage{width:min(100%,190px);height:290px;margin:auto;perspective:1000px}
#tarotModule .tm-card{width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.2,.8,.2,1)}
#tarotModule .tm-card.flip{transform:rotateY(180deg)}
#tarotModule .tm-face{position:absolute;inset:0;backface-visibility:hidden;border-radius:13px;overflow:hidden}
#tarotModule .tm-back{background:#42234f;border:5px solid #f5eee3;outline:1px solid #b8944b;box-shadow:0 14px 30px rgba(38,23,45,.18)}
#tarotModule .tm-back:before{content:"";position:absolute;inset:12px;border:1px solid rgba(230,203,134,.55);border-radius:7px;background:radial-gradient(circle,rgba(230,203,134,.25) 1px,transparent 1.5px) 0 0/13px 13px}
#tarotModule .tm-back:after{content:"✦";position:absolute;inset:0;display:grid;place-items:center;color:#e6cb86;font:50px Georgia,serif}
#tarotModule .tm-front{transform:rotateY(180deg);background:#f9f0dd;border:5px solid #fff;outline:1px solid #bd984e;box-shadow:0 14px 30px rgba(38,23,45,.18);padding:7px}
#tarotModule .tm-front-inner{height:100%;border:1px solid #aa8645;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;text-align:center}
#tarotModule .tm-card-symbol{font-size:38px;margin-bottom:9px}
#tarotModule .tm-card-name{font:700 19px Georgia,serif;color:#2e1e31}
#tarotModule .tm-card-key{font-size:8px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#856b3e;margin-top:7px}
#tarotModule .tm-interpretation{max-width:740px;margin:24px auto 0;text-align:center;line-height:1.75;color:#584c5d;font-size:14px;min-height:54px}
#tarotModule .tm-divider{display:flex;align-items:center;gap:13px;justify-content:center;margin:30px 0 22px;color:var(--gold)}
#tarotModule .tm-divider:before,#tarotModule .tm-divider:after{content:"";width:min(150px,25vw);height:1px;background:var(--line)}
#tarotModule .tm-clarifier,.tm-fourth,.tm-summary{max-width:780px;margin:auto;text-align:center}
#tarotModule .tm-clarifier h2,#tarotModule .tm-fourth h2,#tarotModule .tm-summary h2{font-size:clamp(25px,4vw,35px);color:var(--purple);margin:8px 0 8px}
#tarotModule .tm-clarifier>p{color:var(--muted);line-height:1.7;font-size:14px;max-width:600px;margin:0 auto}
#tarotModule .tm-email{display:grid;grid-template-columns:1fr auto;gap:9px;max-width:620px;margin:19px auto 8px}
#tarotModule .tm-email .tm-btn{min-width:210px}
#tarotModule .tm-clarifier>small{display:block;color:#a39aa4;font-size:9px;line-height:1.5}
#tarotModule .tm-fourth-card{width:190px;margin:20px auto}
#tarotModule .tm-fourth-card .tm-card-stage{width:190px;height:290px}
#tarotModule .tm-fourth>p{max-width:650px;margin:0 auto;color:#584c5d;line-height:1.75;font-size:14px}
#tarotModule .tm-summary>p{max-width:720px;margin:0 auto;color:#584c5d;line-height:1.8;font-size:14px}
#tarotModule .tm-cta{margin:25px auto 0;padding:19px;border-radius:17px;background:linear-gradient(135deg,#3c234b,#5b356d);display:flex;align-items:center;gap:14px;text-align:left;color:#fff}
#tarotModule .tm-cta-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);font-size:21px;flex:0 0 auto}
#tarotModule .tm-cta-copy{flex:1;display:flex;flex-direction:column;gap:4px}
#tarotModule .tm-cta-copy strong{font:700 17px Georgia,serif}
#tarotModule .tm-cta-copy span{font-size:11px;color:#ddd2e2;line-height:1.5}
#tarotModule .tm-cta .tm-btn{background:#e6cb86;color:#24182d;box-shadow:none;white-space:nowrap}
#tarotModule .tm-disclaimer{font-size:9px!important;color:#a39aa4!important;margin-top:14px!important}
#tarotModule [hidden]{display:none!important}
@media(max-width:680px){
 #tarotModule.tm{padding:14px 9px}
 #tarotModule .tm-card-panel{border-radius:18px;padding:20px 15px}
 #tarotModule .tm-fields{grid-template-columns:1fr}
 #tarotModule .tm-theme-grid{grid-template-columns:repeat(2,1fr)}
 #tarotModule .tm-cards{gap:7px}
 #tarotModule .tm-card-stage{width:min(100%,112px);height:174px}
 #tarotModule .tm-front{padding:4px}
 #tarotModule .tm-front-inner{padding:7px}
 #tarotModule .tm-card-symbol{font-size:27px;margin-bottom:5px}
 #tarotModule .tm-card-name{font-size:13px}
 #tarotModule .tm-card-key{font-size:6px;margin-top:4px}
 #tarotModule .tm-back:after{font-size:32px}
 #tarotModule .tm-back{border-width:3px}
 #tarotModule .tm-position{font-size:7px;min-height:20px}
 #tarotModule .tm-interpretation{font-size:13px;margin-top:19px}
 #tarotModule .tm-email{grid-template-columns:1fr}
 #tarotModule .tm-email .tm-btn{width:100%}
 #tarotModule .tm-cta{display:block;text-align:center}
 #tarotModule .tm-cta-icon{margin:0 auto 9px}
 #tarotModule .tm-cta-copy{display:block}
 #tarotModule .tm-cta-copy strong,#tarotModule .tm-cta-copy span{display:block}
 #tarotModule .tm-cta .tm-btn{width:100%;margin-top:14px}
 #tarotModule .tm-fourth-card,#tarotModule .tm-fourth-card .tm-card-stage{width:170px}
 #tarotModule .tm-fourth-card .tm-card-stage{height:260px}
}
@media(max-width:380px){
 #tarotModule .tm-card-stage{width:92px;height:144px}
 #tarotModule .tm-card-name{font-size:11px}
 #tarotModule .tm-card-symbol{font-size:23px}
}
@media(prefers-reduced-motion:reduce){#tarotModule .tm-card{transition:none}.tm-btn{transition:none!important}}
