/* Four tarot journeys uses the palette and typefaces of its host site. */
html #tj-app.tj-app{--tj-ink:var(--px-text,#f4ecdf);--tj-muted:var(--px-muted,#c5bac9);--tj-accent:var(--px-accent,#e1bc72);--tj-surface:var(--px-surface,#181321);box-sizing:border-box;width:100%;max-width:1160px;min-height:0;margin:28px auto;padding:clamp(16px,4vw,44px);border-radius:22px;background:var(--px-bg,#111426);color:var(--tj-ink);font-family:var(--px-body,system-ui,sans-serif);line-height:1.6;overflow-wrap:anywhere}
html #tj-app *{box-sizing:border-box}html #tj-app [hidden]{display:none!important}html #tj-app :is(h1,h2,h3,p,figure,fieldset){margin:0}html #tj-app :is(h2,legend,textarea){scroll-margin-top:110px}
html #tj-app h1{font:500 clamp(32px,4.4vw,58px)/1.1 var(--px-heading,Georgia,serif);letter-spacing:-.025em;color:var(--tj-ink);text-align:left;margin:18px 0}
html #tj-app h2{font:500 clamp(24px,3vw,34px)/1.25 var(--px-heading,Georgia,serif);color:var(--tj-ink);text-align:left;margin-bottom:14px}html #tj-app h3{font:500 21px/1.35 var(--px-heading,Georgia,serif);color:var(--tj-accent);text-align:left}
html #tj-app p{font-size:16px;line-height:1.7;color:var(--tj-ink);text-align:left}html #tj-app .tj-eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--tj-accent)}
html #tj-app .tj-hero{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(24px,4vw,46px);align-items:center;margin-bottom:32px}html #tj-app .tj-hero-copy{min-width:0}html #tj-app .tj-intro{font-size:18px;color:var(--tj-muted);max-width:32ch}html #tj-app .tj-hero-art{min-width:0;border-radius:18px 80px 18px 18px;overflow:hidden;border:1px solid color-mix(in srgb,var(--tj-accent) 40%,transparent)}html #tj-app .tj-hero-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}html #tj-app .tj-ornament{display:flex;align-items:center;gap:14px;margin-top:22px;color:var(--tj-accent)}html #tj-app .tj-ornament:after{content:'';width:110px;height:1px;background:var(--tj-accent);opacity:.4}
html #tj-app .tj-panel{background:var(--tj-surface);border:1px solid color-mix(in srgb,var(--tj-accent) 28%,transparent);padding:clamp(18px,3vw,30px);border-radius:16px;width:100%}html #tj-app fieldset{border:0;padding:0;min-width:0}html #tj-app legend{padding:0;color:var(--tj-ink);font:500 clamp(22px,2.4vw,28px)/1.3 var(--px-heading,Georgia,serif);margin-bottom:20px;text-align:left;float:none;width:auto}
html #tj-app .tj-question-label{display:block;font-weight:600;font-size:16px;line-height:1.5;color:var(--tj-ink);text-transform:none;letter-spacing:0;margin:0 0 10px}html #tj-app textarea{display:block;min-width:0;width:100%;resize:vertical;min-height:106px;padding:14px;border:1px solid color-mix(in srgb,var(--tj-accent) 38%,transparent);border-radius:8px;background:color-mix(in srgb,var(--tj-surface) 85%,var(--px-bg,#111426));color:var(--tj-ink);box-shadow:none;font:400 16px/1.5 var(--px-body,system-ui,sans-serif)}html #tj-app textarea::placeholder{color:var(--tj-muted);opacity:.8}html #tj-app .tj-hint{font-size:12px;color:var(--tj-muted);margin:9px 0 20px}
html #tj-app :is(textarea,button,summary):focus-visible{outline:2px solid var(--tj-accent);outline-offset:4px}html #tj-app button{border:1px solid color-mix(in srgb,var(--tj-accent) 45%,transparent);border-radius:8px;background:transparent;color:var(--tj-accent);font:600 15px/1.4 var(--px-body,system-ui,sans-serif);padding:13px 20px;min-height:48px;max-width:100%;white-space:normal;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0;margin:0;transition:background .2s,transform .2s}html #tj-app button:hover:not(:disabled){background:color-mix(in srgb,var(--tj-accent) 12%,transparent)}html #tj-app button:disabled{opacity:.4;cursor:default}html #tj-app button.tj-primary{background:var(--tj-accent);border-color:var(--tj-accent);color:#201923}html #tj-app button.tj-primary:hover:not(:disabled){background:color-mix(in srgb,var(--tj-accent) 85%,white);transform:translateY(-1px)}html #tj-app #tj-start{width:100%}
html #tj-app details{background:none;border:0;border-top:1px solid color-mix(in srgb,var(--tj-accent) 22%,transparent);padding:18px 0 0;border-radius:0;margin-top:24px}html #tj-app summary{cursor:pointer;color:var(--tj-accent);padding:0;font-size:14px;font-weight:500}html #tj-app details p{padding-top:14px;color:var(--tj-muted);max-width:80ch;font-size:14px}html #tj-app .tj-validation{color:#f1b7a8;margin:12px 0}
html #tj-app .tj-explain{color:var(--tj-muted);margin-bottom:18px}html #tj-app #tj-progress{font-weight:700;color:var(--tj-accent)}html #tj-app #tj-next{font-size:14px;color:var(--tj-muted);min-height:25px}
html #tj-app .tj-selected{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;max-width:370px;margin:20px auto 28px}html #tj-app .tj-slot{display:flex;align-items:center;justify-content:center;aspect-ratio:250/419;border:1px dashed color-mix(in srgb,var(--tj-accent) 40%,transparent);border-radius:5px;color:var(--tj-muted);overflow:hidden}html #tj-app .tj-slot img{display:block;width:100%;height:100%;object-fit:contain}
html #tj-app .tj-deck{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(8px,1.5vw,15px);max-width:680px;margin:auto}html #tj-app .tj-deck button{position:relative;aspect-ratio:3/4.7;min-height:48px;padding:0;overflow:hidden;border-color:color-mix(in srgb,var(--tj-accent) 70%,transparent);background:radial-gradient(ellipse at 50% 45%,#4b3658,#281d39 65%,#191727);border-radius:7px}html #tj-app .tj-deck button:before{content:'';position:absolute;inset:6px;border:1px solid #ad865b90;border-radius:40% 40% 3px 3px}html #tj-app .tj-deck button:after{content:'✦';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#dfba7a;font:clamp(24px,4vw,42px) Georgia,serif}html #tj-app .tj-deck button[aria-pressed=true]{opacity:.25;transform:translateY(-4px)}
html #tj-app .tj-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:26px 0 0}html #tj-app .tj-wait{text-align:center;padding-block:40px}html #tj-app .tj-wait :is(h2,p){text-align:center}html #tj-app .tj-wait-cards{display:flex;justify-content:center;gap:8px;margin:0 0 30px}html #tj-app .tj-wait-cards i{display:block;width:36px;height:57px;background:linear-gradient(140deg,#245448,#101f25);border:1px solid var(--tj-accent);border-radius:4px;animation:tj-breathe 2.8s ease-in-out infinite}html #tj-app .tj-wait-cards i:nth-child(2n){animation-delay:.4s}
html #tj-app .tj-answer-panel{padding:clamp(20px,3.5vw,36px);border:1px solid color-mix(in srgb,var(--tj-accent) 38%,transparent);border-radius:14px;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--tj-accent) 8%,transparent),transparent 65%),var(--tj-surface);margin:22px 0 32px}html #tj-app .tj-query{font-size:17px;color:var(--tj-muted);white-space:pre-wrap;margin:10px 0 24px;padding-bottom:22px;border-bottom:1px solid color-mix(in srgb,var(--tj-accent) 22%,transparent)}html #tj-app .tj-answer{font-size:clamp(18px,2.2vw,23px);line-height:1.7;margin-top:14px;color:var(--tj-ink);max-width:74ch}html #tj-app .tj-spread-heading{font-size:19px;margin-bottom:20px}
html #tj-app .tj-result-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(10px,2vw,22px);align-items:start}html #tj-app .tj-result-cards figure{min-width:0;text-align:center}html #tj-app .tj-result-cards img{display:block;width:100%;height:auto;aspect-ratio:250/419;object-fit:contain;border-radius:6px;box-shadow:0 9px 24px #0004}html #tj-app figcaption{padding-top:14px;text-align:center;line-height:1.4}html #tj-app .tj-card-role{display:block;color:var(--tj-accent);font-size:12px;min-height:34px}html #tj-app .tj-card-name{display:block;color:var(--tj-ink);font:500 17px/1.4 var(--px-heading,Georgia,serif);margin-top:5px}html #tj-app .tj-note{margin:28px 0 0;font-size:12px;color:var(--tj-muted);text-align:center}html #tj-app #tj-error-text{white-space:pre-line}
@keyframes tj-breathe{50%{opacity:.35;transform:translateY(-5px)}}
@media(max-width:700px){html #tj-app .tj-situation{padding:14px;gap:10px}html #tj-app .tj-situation strong{font-size:15px}html #tj-app .tj-hero{gap:22px}html #tj-app .tj-intro{font-size:16px}}
@media(max-width:600px){html #tj-app.tj-app{margin:16px auto;border-radius:14px}html #tj-app .tj-hero{grid-template-columns:1fr;gap:22px;margin-bottom:24px}html #tj-app .tj-hero-art{max-width:430px;width:100%;margin:auto;border-radius:14px 60px 14px 14px}html #tj-app .tj-hero-art img{max-height:220px;object-fit:cover}html #tj-app .tj-ornament{display:none}html #tj-app .tj-situations{grid-template-columns:1fr;gap:10px;margin-bottom:24px}html #tj-app .tj-situation{min-height:72px}html #tj-app .tj-situation strong{font-size:16px}html #tj-app .tj-deck{gap:6px}html #tj-app .tj-deck button:before{inset:3px}html #tj-app .tj-result-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;max-width:400px;margin:auto}html #tj-app .tj-result-cards figure:last-child{grid-column:1/-1;width:calc((100% - 18px)/2);justify-self:center}html #tj-app .tj-card-role{min-height:0}html #tj-app .tj-actions button{flex:1 1 180px}html #tj-app .tj-selected{gap:6px;max-width:300px}}
@media(prefers-reduced-motion:reduce){html #tj-app .tj-wait-cards i{animation:none}html #tj-app :is(button,.tj-situation){transition:none}}
html #tj-app .tj-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html #tj-app .tj-hero>div{min-width:0}html #tj-app #tj-form-title{margin-bottom:18px}html #tj-app #tj-start{margin-top:20px}
html #tj-app .tj-period-hint{color:var(--tj-muted);max-width:65ch}html #tj-app #tj-validation{color:#efa997;margin-block:10px}
html #tj-app .tj-selected{grid-template-columns:repeat(3,minmax(0,1fr));max-width:220px}html #tj-app .tj-deck{grid-template-columns:repeat(6,minmax(0,1fr));max-width:700px}
html #tj-app .tj-answer p{font-size:inherit;line-height:inherit}html #tj-app .tj-wait-mark{font-size:65px;color:var(--tj-accent);margin-bottom:20px;animation:tj-breathe 2.8s ease-in-out infinite}
html #tj-app .tj-result-cards{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;margin:auto}html #tj-app .tj-result-cards figure:last-child{grid-column:auto;width:auto;justify-self:stretch}
html #tj-app .tj-answer{max-width:72ch}html #tj-app .tj-query[hidden]{display:none}html #tj-app #tj-storage{margin-top:22px;text-align:center}
html #tj-app.tj-daily .tj-selected{grid-template-columns:1fr;max-width:80px}html #tj-app.tj-daily .tj-deck{grid-template-columns:repeat(7,minmax(0,1fr))}
html #tj-app.tj-daily .tj-result-cards{display:block;width:min(220px,65%);margin:26px auto}html #tj-app.tj-daily .tj-answer-panel{max-width:800px;margin-inline:auto}
html #tj-app.tj-daily #tj-result-title,html #tj-app.tj-daily #tj-period{text-align:center}html #tj-app.tj-daily .tj-answer p{text-align:center}html #tj-app.tj-daily .tj-spread-heading{display:none}
html #tj-app.tj-weekly .tj-answer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:none}html #tj-app.tj-weekly .tj-answer h3{margin-bottom:10px}html #tj-app.tj-weekly .tj-answer p{font-size:17px;line-height:1.6}
html #tj-app.tj-celtic .tj-selected{grid-template-columns:repeat(10,minmax(0,1fr));max-width:590px;gap:6px}html #tj-app.tj-celtic .tj-deck{grid-template-columns:repeat(11,minmax(0,1fr));max-width:880px}
html #tj-app.tj-celtic .tj-result-cards{display:grid;grid-template-columns:1fr 1.4fr 1fr .2fr 1fr;grid-template-rows:repeat(8,clamp(42px,5.6vw,66px)) auto;column-gap:12px;max-width:660px;align-items:center;justify-items:center;margin:28px auto}
html #tj-app.tj-celtic .tj-result-cards figure{position:relative;width:100%;max-width:78px;align-self:center;justify-self:center}
html #tj-app.tj-celtic .tj-result-cards figure:before{position:absolute;z-index:2;top:-9px;left:-9px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--tj-accent);color:#201923;font:700 12px/1 system-ui;box-shadow:0 2px 6px #0007}
html #tj-app.tj-celtic .tj-result-cards figure img{width:100%;height:auto;margin:0}html #tj-app.tj-celtic .tj-result-cards figcaption{display:none}
html #tj-app.tj-celtic .tj-position-1{grid-column:2;grid-row:4/6}html #tj-app.tj-celtic .tj-position-2{grid-column:2;grid-row:4/6;z-index:1;transform:translateY(18px) rotate(90deg)}
html #tj-app.tj-celtic .tj-position-2:before{transform:rotate(-90deg)}html #tj-app.tj-celtic .tj-position-3{grid-column:2;grid-row:7/9}html #tj-app.tj-celtic .tj-position-4{grid-column:1;grid-row:4/6}
html #tj-app.tj-celtic .tj-position-5{grid-column:2;grid-row:1/3}html #tj-app.tj-celtic .tj-position-6{grid-column:3;grid-row:4/6}html #tj-app.tj-celtic .tj-position-7{grid-column:5;grid-row:7/9}
html #tj-app.tj-celtic .tj-position-8{grid-column:5;grid-row:5/7}html #tj-app.tj-celtic .tj-position-9{grid-column:5;grid-row:3/5}html #tj-app.tj-celtic .tj-position-10{grid-column:5;grid-row:1/3}
html #tj-app .tj-cross-legend{grid-column:1/-1;grid-row:9;display:grid;grid-template-columns:1fr 1fr;column-gap:35px;row-gap:14px;width:100%;padding:28px 0 0 22px;margin:15px 0 0;border-top:1px solid color-mix(in srgb,var(--tj-accent) 25%,transparent);color:var(--tj-accent)}
html #tj-app .tj-cross-legend li{padding-left:3px;font-size:13px;line-height:1.5;min-width:0}html #tj-app .tj-cross-legend strong{display:block;font-weight:600}html #tj-app .tj-cross-legend span{display:block;color:var(--tj-ink)}
@media(max-width:600px){html #tj-app .tj-deck{grid-template-columns:repeat(4,minmax(0,1fr))}html #tj-app.tj-daily .tj-deck{grid-template-columns:repeat(4,minmax(0,1fr));max-width:440px}html #tj-app.tj-celtic .tj-deck{grid-template-columns:repeat(6,minmax(0,1fr))}html #tj-app.tj-celtic .tj-selected{grid-template-columns:repeat(5,minmax(0,1fr));max-width:260px}html #tj-app .tj-result-cards{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}html #tj-app .tj-result-cards figure:last-child{width:auto;grid-column:auto}html #tj-app .tj-card-role{font-size:11px}html #tj-app .tj-card-name{font-size:14px}html #tj-app.tj-weekly .tj-answer{grid-template-columns:1fr;gap:18px}html #tj-app.tj-celtic .tj-result-cards{column-gap:7px}html #tj-app.tj-celtic .tj-result-cards figure{max-width:58px}html #tj-app.tj-celtic .tj-result-cards figure:before{top:-5px;left:-4px;width:18px;height:18px;font-size:10px}html #tj-app .tj-cross-legend{column-gap:20px;padding-left:18px}html #tj-app .tj-cross-legend li{font-size:12px}html #tj-app #tj-next{min-height:45px}}
@media(prefers-reduced-motion:reduce){html #tj-app .tj-wait-mark{animation:none}}
html #tj-app.tj-celtic .tj-position-1:before{content:"1"}
html #tj-app.tj-celtic .tj-position-2:before{content:"2"}
html #tj-app.tj-celtic .tj-position-3:before{content:"3"}
html #tj-app.tj-celtic .tj-position-4:before{content:"4"}
html #tj-app.tj-celtic .tj-position-5:before{content:"5"}
html #tj-app.tj-celtic .tj-position-6:before{content:"6"}
html #tj-app.tj-celtic .tj-position-7:before{content:"7"}
html #tj-app.tj-celtic .tj-position-8:before{content:"8"}
html #tj-app.tj-celtic .tj-position-9:before{content:"9"}
html #tj-app.tj-celtic .tj-position-10:before{content:"10"}

html #tj-app.tj-celtic .tj-answer p+p{margin-top:1em}

html #tj-app.tj-timeline .tj-answer p+p{margin-top:1em}
