/* Tarot report only: source text and canonical card data remain untouched. */
.tarot-page {
  --tr-paper:#fffdf8; --tr-ink:#302934; --tr-muted:#706575;
  --tr-line:#e4d9cb; --tr-soft:#f5eee3; --tr-gold:#8b642b; --tr-plum:#654457;
}
html.theme-dark .tarot-page {
  --tr-paper:#211e25; --tr-ink:#f4ede4; --tr-muted:#c2b5c3;
  --tr-line:#51444f; --tr-soft:#2c2730; --tr-gold:#e0bd83; --tr-plum:#dab2cd;
}
.tarot-reading-open .container {max-width:1040px}
.tarot-reading-open .page-header-wrap {display:none}
.tarot-page .tarot-report {color:var(--tr-ink);padding-top:20px}
.tarot-report > .card {
  border:1px solid var(--tr-line);background:var(--tr-paper);color:var(--tr-ink);
  border-radius:22px;box-shadow:0 12px 38px #24172509;padding:32px;
  margin-bottom:22px;overflow:hidden;
}
.tarot-report > .tarot-report-cover {
  position:relative;border:0;border-radius:24px;padding:42px 40px 32px;
  background:linear-gradient(125deg,#292330,#3b2b3e);color:#fcf3e7;
  box-shadow:0 18px 50px #21142522;
}
.tarot-report-cover::after {
  content:"";position:absolute;pointer-events:none;right:-90px;top:-160px;width:380px;height:380px;
  border:1px solid #ddbb7735;border-radius:50%;box-shadow:0 0 0 28px #ddbb7709,0 0 0 56px #ddbb7706;
}
.tarot-report .tarot-report-eyebrow {
  position:relative;z-index:1;color:#e5c697;font-size:11px;letter-spacing:.2em;margin:0 0 23px;font-weight:700;
}
.tarot-report-cover h2 {position:relative;z-index:1;font-size:clamp(24px,3.3vw,34px);line-height:1.5;letter-spacing:-.04em;max-width:760px;margin:0 0 18px;text-wrap:pretty;white-space:pre-line}
.tarot-report-cover .tarot-intake-note {position:relative;z-index:1;color:#d1c5d5;font-size:13px;line-height:1.8;margin:12px 0}
.tarot-report-cover > a {position:relative;z-index:1;display:inline-flex;min-height:36px;align-items:center;color:#eed5b0;font-size:13px;margin:8px 16px 0 0;text-underline-offset:4px}
.tarot-report-cover > button {position:relative;z-index:1;min-height:46px;margin:12px 0 0;box-shadow:none}
.tarot-report > .tarot-answer-lead {border-top:3px solid var(--tr-gold);border-inline-start:1px solid var(--tr-line);padding:36px 40px;background:linear-gradient(125deg,var(--tr-paper),var(--tr-soft))}
.tarot-report .tarot-chapter {display:block;color:var(--tr-gold);font-size:12px;font-weight:800;letter-spacing:.15em;margin-bottom:8px}
.tarot-report .tarot-answer-section h2 {font-size:23px;line-height:1.45;letter-spacing:-.035em;margin:0 0 20px;color:var(--tr-ink)}
.tarot-report .interpretation-text {color:var(--tr-ink);font-size:16px;line-height:1.95;word-break:keep-all;overflow-wrap:anywhere}
.tarot-report .r-para {font-size:inherit;line-height:inherit;color:inherit;margin:0 0 18px}
.tarot-report .r-para:last-child {margin-bottom:0}
.tarot-report .r-bold {color:var(--tr-ink)}
.tarot-report .tarot-answer-lead .r-para:first-child {font-size:19px;line-height:1.85;font-weight:600;letter-spacing:-.025em}
.tarot-report > .tarot-report-focus {padding:20px 28px;border:0;border-left:2px solid var(--tr-line);border-radius:0;background:transparent;box-shadow:none}
.tarot-report-focus h2 {font-size:12px;letter-spacing:.04em;color:var(--tr-gold);margin:0 0 8px}
.tarot-report-focus .intro-text {font-size:15px;line-height:1.8;color:var(--tr-muted)}
.tarot-report #cards-heading {font-size:21px;letter-spacing:-.035em;margin:0 0 8px}
.tarot-report .tarot-gallery-note {color:var(--tr-muted);font-size:13px;line-height:1.7;margin:0 0 22px}
.tarot-report #cards {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:start;padding:2px 2px 12px}
.tarot-report #cards:focus-visible {outline:2px solid var(--tr-gold);outline-offset:5px;border-radius:8px}
.tarot-report .tarot-result-card {display:flex;flex-direction:column;min-width:0;min-height:0;gap:12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--tr-ink);transform:none}
.tarot-report .tarot-result-card::before {display:none}
.tarot-report .tarot-card-visual {width:100%;max-width:155px;border-radius:9px;border:1px solid var(--tr-line);box-shadow:0 5px 10px #241a251a;background:var(--tr-soft)}
.tarot-report .tarot-card-image {object-fit:contain}
.tarot-report .tarot-card-body {gap:6px;padding:0;align-items:flex-start;width:100%;text-align:left}
.tarot-report .tarot-card-name {font-size:11px;line-height:1.5;margin:2px 0;color:var(--tr-muted)}
.tarot-report .rune-korean {font-size:15px;line-height:1.5;font-weight:700;color:var(--tr-ink)}
.tarot-report .norn-name {font-size:12px;line-height:1.5;letter-spacing:0;color:var(--tr-plum)}
.tarot-report .norn-phase {font-size:10px;line-height:1.6;padding:5px 7px;border-radius:6px}
.tarot-report .tarot-card-orientation {font-size:11px;line-height:1.5;padding:3px 8px}
.tarot-report .tarot-card-meaning {font-size:11px;line-height:1.6;letter-spacing:0;margin:0;color:var(--tr-muted);text-align:left}
.tarot-report > .paid-area {padding:36px 40px}
.tarot-report .tarot-answer-section + .tarot-answer-section {border-color:var(--tr-line);margin-top:38px;padding-top:32px}
.tarot-report .reading-section-card {background:transparent;color:var(--tr-ink);border:0;border-bottom:1px solid var(--tr-line);border-radius:0;padding:26px 0;margin:0;box-shadow:none}
.tarot-report .reading-section-card:first-child {padding-top:6px}
.tarot-report .reading-section-card:last-child {border-bottom:0;padding-bottom:0}
.tarot-report .reading-section-card .r-heading {background:none;color:var(--tr-ink);border:0;padding:0;font-size:18px;line-height:1.5;margin:0 0 12px;letter-spacing:-.025em}
.tarot-report .tarot-evidence-card {display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:24px;align-items:start}
.tarot-report .tarot-evidence-image {grid-row:1 / span 2;width:80px;aspect-ratio:2/3;object-fit:contain;border-radius:7px;box-shadow:0 5px 12px #241a251c}
.tarot-report .tarot-evidence-card .r-heading,.tarot-report .tarot-evidence-card .reading-section-body {grid-column:2;min-width:0}
.tarot-report [data-kind="action"] > .interpretation-text {border-left:3px solid var(--tr-gold);padding:24px 28px;background:var(--tr-soft);border-radius:0 14px 14px 0}
.tarot-report [data-kind="action"] .r-para + .r-para {border-top:1px solid var(--tr-line);padding-top:18px}
.tarot-report [data-kind="action"] .tarot-action-step {padding:26px 0}
.tarot-report [data-kind="action"] .tarot-action-step .r-heading {font-size:20px;line-height:1.55;margin-bottom:20px;max-width:38em}
html .tarot-page #result-section .tarot-action-step .tarot-action-reason {
  padding:18px 20px!important;border:1px solid var(--tr-line);border-radius:12px;
  background:var(--tr-paper)!important;font-size:14px;line-height:1.85;margin-bottom:22px
}
html .tarot-page #result-section .tarot-action-reason > .r-bold:first-child {
  display:block;color:var(--tr-gold)!important;background:none;font-size:12px;letter-spacing:.04em;margin-bottom:8px;text-shadow:none
}
.tarot-report .actions {padding:12px 0 24px}
.tarot-report .actions button {border:1px solid var(--tr-line);border-radius:14px;background:var(--tr-paper);color:var(--tr-plum);min-height:50px;font-weight:700;box-shadow:none}
@media(max-width:760px) {
  .tarot-reading-open .container {padding-left:16px;padding-right:16px}
  .tarot-page .tarot-report {padding-top:12px}
  .tarot-report > .card {padding:24px 20px;border-radius:18px;margin-bottom:16px}
  .tarot-report > .tarot-report-cover {padding:28px 24px}
  .tarot-report-cover h2 {font-size:25px;line-height:1.5}
  .tarot-report .tarot-report-eyebrow {font-size:10px;letter-spacing:.12em;margin-bottom:18px}
  .tarot-report > .tarot-answer-lead {padding:26px 22px}
  .tarot-report .tarot-answer-lead .r-para:first-child {font-size:17px}
  .tarot-report .tarot-answer-section h2 {font-size:21px}
  .tarot-report .interpretation-text {font-size:15px;line-height:1.95}
  .tarot-report #cards {display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
  .tarot-report .tarot-result-card {flex:0 0 136px;scroll-snap-align:start}
  .tarot-report .tarot-evidence-card {grid-template-columns:52px minmax(0,1fr);column-gap:14px}
  .tarot-report .tarot-evidence-image {width:52px}
  .tarot-report .tarot-evidence-card .reading-section-body {grid-column:1 / -1;margin-top:6px}
  .tarot-report .reading-section-card .r-heading {font-size:17px}
  .tarot-report [data-kind="action"] > .interpretation-text {padding:18px 16px}
}
@media print {
  .tarot-reading-open .site-nav,.tarot-report-cover > a,.tarot-report-cover > button,.tarot-report .actions {display:none!important}
  .tarot-page {--tr-paper:#fff;--tr-ink:#222;--tr-muted:#444;--tr-line:#bbb;--tr-soft:#f6f4f0;--tr-gold:#6b4d22}
  .tarot-report #cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
  .tarot-report .tarot-result-card {break-inside:avoid}
  .tarot-report > .card {box-shadow:none;overflow:visible}
  .tarot-report .reading-section-card {break-inside:avoid}
}

/* Shared report styles use !important; keep these overrides isolated to tarot. */
html .tarot-page #result-section {background:transparent!important;border:0;box-shadow:none;padding-inline:0}
html .tarot-page #result-section > .card {background:var(--tr-paper)!important;color:var(--tr-ink)!important}
html .tarot-page #result-section > .tarot-report-cover {background:linear-gradient(125deg,#292330,#3b2b3e)!important;color:#fcf3e7!important}
html .tarot-page #result-section .tarot-report-cover h2 {color:#fcf3e7!important}
html .tarot-page #result-section .tarot-report-cover .tarot-intake-note {color:#d1c5d5!important}
html .tarot-page #result-section .tarot-report-cover > a {color:#eed5b0!important}
html .tarot-page #result-section .tarot-report-eyebrow {color:#e5c697!important}
html .tarot-page #result-section > .tarot-answer-lead {background:linear-gradient(125deg,var(--tr-paper),var(--tr-soft))!important}
html .tarot-page #result-section > .tarot-report-focus {background:transparent!important}
html .tarot-page #result-section .reading-section-card {background:transparent!important;box-shadow:none}
html .tarot-page #result-section .reading-section-card::before {display:none}
html .tarot-page #result-section .r-heading {text-shadow:none}
html .tarot-page #result-section .reading-section-body {padding:0}
html .tarot-page #result-section .r-para {padding:0!important;border:0;border-radius:0;box-shadow:none!important;background:transparent!important;font-weight:400;color:var(--tr-ink)!important}
html .tarot-page #result-section .r-bold {color:var(--tr-plum)!important}
html .tarot-page #result-section .tarot-answer-lead .r-para:first-child {font-weight:600}

#tarot-generation-recovery {line-height:1.9;overflow-wrap:anywhere;border:0;background:transparent;box-shadow:none;border-radius:0;padding:32px 0;margin:0 auto 48px}
#tarot-generation-recovery h2 {font-size:clamp(24px,4vw,32px);margin:0 0 28px}
#tarot-generation-recovery p {margin:0 0 22px;max-width:70ch}
#tarot-generation-recovery .tarot-recovery-actions {margin-top:32px}
.tarot-recovery-actions {display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}
.tarot-recovery-actions button {min-height:48px;padding:12px 20px;border:1px solid #b18cc6;border-radius:12px;background:#76508b;color:#fff;font-weight:700;cursor:pointer}
.tarot-recovery-actions a {color:inherit;text-underline-offset:4px}
/* Unlock summary: an open layout, without the inherited saju frame/title banner. */
html .tarot-page #result-section .compat-unlock-value-panel {
  border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;
  padding:24px 8px 32px!important;margin:0 0 28px;overflow:visible;
}
html .tarot-page #result-section .compat-unlock-value-panel::before,
html .tarot-page #result-section .compat-unlock-value-panel::after {display:none}
html .tarot-page #result-section .compat-paid-head .section-title {
  background:none!important;border:0;box-shadow:none;color:var(--tr-ink)!important;
  padding:0;margin:16px 0 12px;font-size:22px;line-height:1.5;
}
html .tarot-page #result-section .compat-paid-head p {color:var(--tr-muted);font-size:14px;line-height:1.8;margin:0 0 24px}
html .tarot-page #result-section .compat-unlock-value-grid {gap:16px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}
html .tarot-page #result-section .compat-unlock-value-grid article {
  padding:22px 24px;border:0;background:var(--tr-soft)!important;box-shadow:none;border-radius:14px;
}
html .tarot-page #result-section .compat-unlock-value-grid strong {color:var(--tr-ink);font-size:14px;line-height:1.7;font-weight:650;margin:8px 0}
html .tarot-page #result-section .compat-unlock-value-grid span {color:var(--tr-muted);font-size:13px;line-height:1.7}
@media(max-width:540px) {
  html .tarot-page #result-section .compat-unlock-value-panel {padding:16px 0 24px!important}
  html .tarot-page #result-section .compat-unlock-value-grid {grid-template-columns:1fr;gap:12px}
  html .tarot-page #result-section .compat-unlock-value-grid article {padding:20px}
}
/* Free preview: the general meaning under each card and the step up to the full reading. */
.tarot-report .tarot-free-meaning {font-size:12.5px;line-height:1.65;margin:4px 0 0;padding-top:8px;border-top:1px solid var(--tr-line);color:var(--tr-ink);text-align:left}
.tarot-report .tarot-free-meaning-cta {display:grid;gap:10px;margin:18px 0 4px;padding:18px 20px;border:1px solid var(--tr-gold);border-radius:12px;background:var(--tr-soft)}
.tarot-report .tarot-free-meaning-cta p {margin:0;font-size:14px;line-height:1.75;color:var(--tr-ink)}
.tarot-report .tarot-free-meaning-cta p.tarot-key-card {padding-left:12px;border-left:3px solid var(--tr-gold);font-weight:600}
.tarot-report .tarot-free-meaning-cta strong {font-size:14px;color:var(--tr-gold)}
.tarot-report .tarot-free-meaning-cta strong:empty {display:none}
.tarot-report .tarot-free-meaning-cta button {justify-self:start;min-height:44px;padding:10px 18px;border:0;border-radius:10px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.tarot-report .tarot-free-meaning-cta button:focus-visible {outline:3px solid var(--tr-plum);outline-offset:3px}
.tarot-report .tarot-free-meaning-cta p.tarot-free-meaning-note {font-size:13px;line-height:1.6;color:var(--tr-muted)}

/* Review request after a full reading kept in the account (tarot.js showTarotReviewPrompt). */
.tarot-review-prompt { margin-top: 16px; text-align: center }
.tarot-review-prompt p { margin: 0 0 12px; line-height: 1.7; word-break: keep-all }
.tarot-review-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid currentColor; color: inherit; font-weight: 700; text-decoration: none }
.tarot-review-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px }
