/* Magazine direction 03. Scoped presentation only; shared preview/checkout stays intact.
   The important layer wins legacy page skins without changing global typography. */
@layer tarotEditorial {
body:has(#result-section.tarot-editorial:not([hidden])){overflow-x:clip!important;overflow-y:visible!important;background:#f5f0e8!important}
html.theme-dark body:has(#result-section.tarot-editorial:not([hidden])){background:#201d23!important}
body:has(#result-section.tarot-editorial:not([hidden])) :is(#site-header,.bottom-tabbar){background:#f5f0e8!important;color:#29272b!important;border-color:#d6cdc4!important}
html.theme-dark body:has(#result-section.tarot-editorial:not([hidden])) :is(#site-header,.bottom-tabbar){background:#201d23!important;color:#f4edf0!important;border-color:#564853!important}
body:has(#result-section.tarot-editorial:not([hidden])) .container{overflow:visible!important}
#result-section.tarot-editorial{--te-paper:var(--palette-tarot-editorial-light-paper)!important;--te-ink:var(--palette-tarot-editorial-light-ink)!important;--te-muted:var(--palette-tarot-editorial-light-muted)!important;--te-accent:var(--palette-tarot-editorial-light-accent)!important;--te-line:var(--palette-tarot-editorial-light-line)!important;--te-soft:var(--palette-tarot-editorial-light-soft)!important;display:flex!important;flex-direction:column!important;gap:0!important;max-width:660px!important;width:100%!important;margin:24px auto 80px!important;padding:0!important;background:var(--te-paper)!important;color:var(--te-ink)!important;border:1px solid var(--te-line)!important;border-radius:4px!important;box-shadow:none!important}
html.theme-dark #result-section.tarot-editorial{--te-paper:var(--palette-tarot-editorial-dark-paper)!important;--te-ink:var(--palette-tarot-editorial-dark-ink)!important;--te-muted:var(--palette-tarot-editorial-dark-muted)!important;--te-accent:var(--palette-tarot-editorial-dark-accent)!important;--te-line:var(--palette-tarot-editorial-dark-line)!important;--te-soft:var(--palette-tarot-editorial-dark-soft)!important}
#result-section.tarot-editorial[hidden],.tarot-editorial [data-te-source]{display:none!important}
.tarot-editorial>.te-report{order:0!important;min-width:0!important;padding:0!important;margin:0!important;color:var(--te-ink)!important;background:transparent!important}
.te-report :is(h1,h2,h3,p,figure,div,section,header,footer){box-sizing:border-box!important;max-width:100%!important}
.te-report :is(h1,h2,h3,p,figure){margin:0!important;color:var(--te-ink)!important;background:none!important}
.te-report :is(.te-question,.te-eyebrow,.te-body,.te-intro){text-align:left!important}
.te-report .te-card-heading>div{text-align:left!important}
.te-report :is(h1,h2,h3){text-align:left!important;word-break:keep-all!important;overflow-wrap:break-word!important;letter-spacing:-.045em!important;text-shadow:none!important;-webkit-text-fill-color:currentColor!important}
.te-report p,.te-report .r-para{font-size:16px!important;line-height:1.95!important;word-break:normal!important;overflow-wrap:anywhere!important;letter-spacing:-.025em!important;color:var(--te-ink)!important;font-weight:400!important}
.te-report .te-body{margin:0!important;padding:0!important;line-height:1.95!important;color:var(--te-ink)!important}
.te-report .te-body .r-para{margin:0 0 20px!important}
.te-report .te-body .r-para:last-child{margin-bottom:0!important}
.te-report .r-bold{font-weight:650!important;color:inherit!important}
.te-report .te-body .te-card-point{padding:13px 16px!important;border-left:2px solid var(--te-accent)!important;background:var(--te-soft)!important;color:var(--te-ink)!important;border-radius:0 3px 3px 0!important;line-height:1.7!important}
.te-report .reading-section-card{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:22px 0!important}
.te-report .reading-section-body{padding:0!important;margin:0!important}
.te-report .r-heading{font-size:18px!important;line-height:1.65!important;font-weight:650!important;color:var(--te-ink)!important;margin:0 0 16px!important;background:none!important}
.te-report .te-cover{padding:28px 30px 25px!important;scroll-margin-top:75px!important;background:none!important}
.te-report .te-masthead{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;border-bottom:3px solid var(--te-ink)!important;padding:0 0 12px!important;margin-bottom:24px!important}
.te-report .te-masthead b{font-size:19px!important;font-weight:800!important;letter-spacing:-.04em!important;color:var(--te-ink)!important}
.te-report .te-masthead span{font-size:10px!important;color:var(--te-muted)!important;overflow-wrap:anywhere!important;text-align:right!important;max-width:45%!important}
.te-report .te-question{margin-bottom:26px!important;padding:0!important;border:0!important;background:none!important}
.te-report .te-question>span{display:block!important;font-size:10px!important;color:var(--te-muted)!important;margin-bottom:8px!important}
.te-report .te-question p{font-size:13px!important;line-height:1.85!important}
.te-report .te-question summary{font-size:13px!important;line-height:1.8!important;min-height:44px!important;cursor:pointer!important;color:var(--te-muted)!important}
.te-report .te-question[open] summary{margin-bottom:12px!important}
.te-report .te-eyebrow{font-size:10px!important;line-height:1.7!important;letter-spacing:.09em!important;color:var(--te-accent)!important;font-weight:550!important}
.te-report .te-verdict{font-size:31px!important;line-height:1.55!important;font-weight:800!important;margin:15px 0 26px!important;white-space:normal!important}
.te-report .te-verdict-long{font-size:24px!important;line-height:1.7!important}
.te-report .te-lead{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;gap:20px!important;align-items:start!important;margin-top:16px!important}
.te-report .te-lead:not(:has(img)){display:block!important}
.te-report .te-lead-wide{display:flow-root!important}
.te-report .te-lead-wide .te-cover-card{float:left!important;margin:0 20px 12px 0!important}
.te-report .te-cover-card{width:80px!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:2px!important;border:1px solid var(--te-line)!important;margin:0!important}
.te-report .te-lead .r-para{font-size:15px!important;line-height:1.95!important}
.te-report .te-intro{font-size:13px!important;line-height:1.9!important;color:var(--te-muted)!important;margin-top:17px!important}
.te-report .te-intro .r-para{font-size:13px!important;color:var(--te-muted)!important}
.te-report .te-cover-foot{border-top:2px solid var(--te-ink)!important;padding-top:13px!important;margin-top:26px!important;display:flex!important;justify-content:space-between!important;gap:12px!important;font-size:9px!important;color:var(--te-muted)!important}
.te-report .te-reversed{transform:rotate(180deg)!important}
.te-report .te-spread{margin:0!important;padding:0 30px!important;border-bottom:1px solid var(--te-line)!important;background:var(--te-paper)!important}
.te-report .te-spread summary{padding:15px 0!important;min-height:48px!important;cursor:pointer!important;font-size:12px!important;color:var(--te-muted)!important}
.te-report .te-spread-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px 14px!important;padding:8px 0 24px!important}
.te-report .te-spread-grid img{width:54px!important;aspect-ratio:2/3!important;object-fit:cover!important;margin:0 auto 9px!important}
.te-report .te-spread-grid figcaption{font-size:10px!important;text-align:center!important;line-height:1.6!important;color:var(--te-muted)!important}
.tarot-editorial .reading-report-nav{position:sticky!important;top:0!important;z-index:20!important;display:flex!important;gap:0!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding:0 12px!important;margin:0!important;border-block:1px solid var(--te-ink)!important;border-inline:0!important;border-radius:0!important;background:var(--te-paper)!important;scrollbar-width:thin!important;box-shadow:none!important}
.tarot-editorial .reading-report-nav a{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:10px 12px!important;border:0!important;border-radius:0!important;background:none!important;color:var(--te-muted)!important;font-size:11px!important;line-height:1.5!important;text-decoration:none!important;white-space:nowrap!important}
.tarot-editorial .reading-report-nav a:focus-visible,.te-report summary:focus-visible,.te-report a:focus-visible{outline:2px solid var(--te-accent)!important;outline-offset:-3px!important;color:var(--te-accent)!important}
.te-report .te-chapter{padding:37px 30px 15px!important;margin:0!important;scroll-margin-top:70px!important;background:none!important}
.te-report .te-chapter+.te-chapter{padding-top:42px!important}
.te-report .te-chapter-heading{display:flex!important;gap:16px!important;align-items:flex-start!important;border-top:3px solid var(--te-ink)!important;padding-top:18px!important;margin-bottom:30px!important}
.te-report .te-chapter-no{display:block!important;flex:none!important;font-size:47px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.04em!important;color:var(--te-accent)!important}
.te-report .te-chapter-heading h2{font-size:24px!important;line-height:1.55!important;font-weight:750!important;margin-top:5px!important}
.te-report .te-part{padding:0 0 27px!important;margin:0 0 26px!important;border-bottom:1px solid var(--te-line)!important}
.te-report .te-part:last-child{border-bottom:0!important;margin-bottom:0!important}
.te-report .te-part-heading{display:flex!important;gap:13px!important;align-items:baseline!important;margin-bottom:19px!important}
.te-report .te-part-heading>span{font-size:16px!important;flex:none!important;color:var(--te-accent)!important;font-weight:700!important}
.te-report .te-part-heading h3{font-size:20px!important;line-height:1.6!important;font-weight:700!important}
.te-report .te-part-heading>.te-choice-mark{font-size:39px!important;line-height:1.2!important;font-weight:800!important}
.te-report .te-card-index{display:flex!important;gap:14px!important;align-items:baseline!important;border-top:1px solid var(--te-ink)!important;padding-top:12px!important;margin-bottom:22px!important}
.te-report .te-card-index b{font-size:38px!important;line-height:1.2!important;font-weight:800!important;color:var(--te-accent)!important}
.te-report .te-card-index span{font-size:12px!important;color:var(--te-muted)!important}
.te-report .te-card-heading{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:20px!important;align-items:center!important;margin-bottom:27px!important}
.te-report .te-card-heading h3{font-size:30px!important;line-height:1.5!important;font-weight:800!important;margin:0 0 12px!important}
.te-report .te-card-art{width:96px!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:2px!important;border:1px solid var(--te-line)!important;margin:0!important;box-shadow:none!important}
.te-report .te-direction{display:inline-block!important;font-size:10px!important;line-height:1.8!important;padding:2px 7px!important;border:1px solid var(--te-line)!important;border-radius:2px!important;color:var(--te-accent)!important;background:none!important}
.te-report [data-te-kind=action] .te-part:first-of-type{background:var(--te-soft)!important;padding:22px 19px!important;border-left:3px solid var(--te-accent)!important;border-bottom:0!important;border-radius:0!important}
.te-report [data-te-kind=signal] .te-body .r-para{color:var(--te-muted)!important}
.te-report .te-closing{padding-bottom:36px!important}
.te-report .te-closing .te-chapter-heading{border-width:3px!important;padding-top:24px!important}
.te-report .te-closing-text{margin:0 0 20px!important;font-size:15px!important}
.te-report .te-footer{padding:24px 30px!important;border-top:1px solid var(--te-line)!important;color:var(--te-muted)!important}
.te-report .te-footer p{font-size:11px!important;line-height:1.85!important;color:var(--te-muted)!important}
.te-report .te-footer a{display:inline-block!important;min-height:44px!important;padding-top:15px!important;font-size:12px!important;color:var(--te-accent)!important}
.tarot-editorial>#tarot-result-identity{order:1!important;margin:0!important;padding:22px 30px!important;background:var(--te-soft)!important;color:var(--te-ink)!important;border:0!important;border-top:1px solid var(--te-line)!important;border-radius:0!important;box-shadow:none!important}
.tarot-editorial>#tarot-result-identity::after{display:none!important}
.tarot-editorial>#tarot-result-identity :is(h2,.tarot-report-eyebrow){display:none!important}
.tarot-editorial>#tarot-result-identity :is(p,a){color:var(--te-muted)!important;font-size:12px!important;line-height:1.9!important}
.tarot-editorial>.keepsake-entry{order:2!important;margin:22px 20px!important}
.te-report .keepsake-entry{width:100%!important;margin:22px 0 0!important;padding:16px!important;background:var(--te-soft)!important;color:var(--te-ink)!important;border:1px solid var(--te-line)!important;border-radius:3px!important;box-shadow:none!important}
.tarot-editorial>.actions{order:3!important;padding:0 20px 24px!important;margin:16px 0 0!important}
.tarot-editorial>#tarot-saju-bridge{order:4!important;margin:12px 20px 25px!important}
.tarot-editorial>.reading-position-note{order:-1!important;padding:12px 20px!important;color:var(--te-muted)!important;font-size:12px!important}
@media(max-width:600px){
body:has(#result-section.tarot-editorial:not([hidden])) .container{padding-left:12px!important;padding-right:12px!important}
#result-section.tarot-editorial{margin-top:18px!important}
.te-report .te-cover{padding:24px 20px!important}
.te-report .te-chapter{padding-left:20px!important;padding-right:20px!important}
.te-report .te-footer{padding:22px 20px!important}
.te-report .te-spread{padding:0 20px!important}
.te-report .te-verdict{font-size:29px!important}
.te-report .te-verdict-long{font-size:23px!important}
.te-report .te-masthead b{font-size:17px!important}
.te-report .te-chapter-heading{gap:13px!important}
.te-report .te-chapter-heading h2{font-size:22px!important}
.te-report .te-lead{grid-template-columns:68px minmax(0,1fr)!important;gap:16px!important}
.te-report .te-cover-card{width:68px!important}
.tarot-editorial>#tarot-result-identity{padding:20px!important}
}
@media(max-width:360px){
.te-report .te-verdict{font-size:26px!important}
.te-report .te-verdict-long{font-size:22px!important}
.te-report .te-chapter-heading h2{font-size:20px!important}
.te-report .te-chapter-no{font-size:39px!important}
.te-report .te-card-heading{grid-template-columns:minmax(0,1fr) 78px!important;gap:14px!important}
.te-report .te-card-art{width:78px!important}
.te-report .te-card-heading h3{font-size:26px!important}
.te-report .te-lead{display:block!important}
.te-report .te-cover-card{float:right!important;width:60px!important;margin:0 0 10px 16px!important}
}
@media print{
#result-section.tarot-editorial{display:block!important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;--te-paper:var(--palette-tarot-editorial-light-paper-2)!important;--te-ink:var(--palette-tarot-editorial-light-ink-2)!important;--te-muted:var(--palette-tarot-editorial-light-muted-2)!important;--te-accent:var(--palette-tarot-editorial-light-accent-2)!important;--te-line:var(--palette-tarot-editorial-light-line-2)!important;--te-soft:var(--palette-tarot-editorial-light-soft-2)!important}
.tarot-editorial .reading-report-nav,.te-report .te-spread,.te-report .te-footer a{display:none!important}
.te-report .te-chapter-heading,.te-report .te-card-heading{break-after:avoid!important}
.te-report .te-body .r-para{orphans:3!important;widows:3!important}
}
}


/* Sign-in return notice uses the reading surface instead of the legacy gold fill. */
html body.site-ui #result-section #lock-overlay p.lock-resume{background:transparent!important;border:1px solid currentColor;border-radius:4px}

html body.site-ui #result-section #lock-overlay .lock-coupon-small{color:#70616f!important;-webkit-text-fill-color:#70616f!important}
html.theme-dark body.site-ui #result-section #lock-overlay .lock-coupon-small{color:#c7b9ca!important;-webkit-text-fill-color:#c7b9ca!important}
