/* Report surfaces and their text must change theme together. Keep these rules
   scoped above legacy global .card / heading overrides in style.css. */
html.theme-light body.goblin-salon #result-section {--salon-muted:#586153}
html body.goblin-salon #result-section,
html body.goblin-salon #result-section > :is(.card,.rune-section-block,.symbol-report-header) {
  background:transparent!important;
  color:var(--salon-ink)!important;
  box-shadow:none!important;
}
html body.goblin-salon #result-section > :is(.card,.rune-section-block,.symbol-report-header) {
  border:0!important;
  border-bottom:1px solid var(--salon-line)!important;
  border-radius:0!important;
}
html body.goblin-salon #result-section :is(.tarot-report-cover,.symbol-report-header) :is(h2,p,a),
html body.goblin-salon #result-section :is(h2,h3,.r-heading,.r-para,.r-bold,.reading-recipient,.symbol-delivery-status,.symbol-chapter-body,.intro-text):not(.lock-title) {
  color:var(--salon-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
html body.goblin-salon #result-section .tarot-report-cover .tarot-intake-note,
html body.goblin-salon #result-section :is(.reading-recipient,.symbol-delivery-status,.tarot-gallery-note,.symbol-eyebrow) {
  color:var(--salon-muted)!important;
}
html body.goblin-salon #result-section :is(.tarot-report-eyebrow,.tarot-chapter,.symbol-chapter-number),
html body.goblin-salon #result-section :is(.tarot-report-cover,.symbol-delivery-status) a {
  color:var(--salon-gold)!important;
}
html body.goblin-salon #result-section :is(.reading-section-card,.r-para,.r-heading) {
  background:transparent!important;
  box-shadow:none!important;
}
html body.goblin-salon #result-section .tarot-result-card {background:transparent!important;box-shadow:none!important}
html body.goblin-salon #result-section :is(.rune-section-icon,.rune-card-pos,.card-position,.card-number) {
  color:var(--salon-gold)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html.theme-light body.goblin-salon #result-section .rune-card-dir.is-up {color:#236443!important;-webkit-text-fill-color:currentColor!important}
html.theme-light body.goblin-salon #result-section .rune-card-dir.is-rev {color:#893939!important;-webkit-text-fill-color:currentColor!important}
html body.goblin-salon #result-section .compat-unlock-value-grid i {color:var(--salon-gold)!important;-webkit-text-fill-color:currentColor!important}
html body.goblin-salon #result-section .compat-unlock-value-grid span {color:var(--salon-muted)!important;-webkit-text-fill-color:currentColor!important}
/* The checkout card deliberately keeps a dark surface in both themes. */
html body.goblin-salon #result-section #lock-overlay :is(.lock-icon,.lock-desc,.lock-note,.lock-note a) {
  color:#e9deee!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
/* Saved originals rendered by the legacy library detail view. */
html #library-detail-content {--library-paper:#1c241e;--library-panel:#252d27;--library-ink:#f0ecdf;--library-muted:#c0c7c0;--library-accent:#d8be79}
html.theme-light #library-detail-content {--library-paper:#f4f0e7;--library-panel:#e9e6dc;--library-ink:#2e352c;--library-muted:#586153;--library-accent:#5f6037}
html #library-detail-content :is(.library-detail,.library-empty) {background:var(--library-paper)!important;color:var(--library-ink)!important;box-shadow:none!important}
html #library-detail-content :is(.fortune-card,.library-json) {background:var(--library-panel)!important;color:var(--library-ink)!important;box-shadow:none!important}
html #library-detail-content :is(.library-detail-title,.library-reading,.library-reading h4,.library-reading p,.fortune-card-name,.fortune-rune-symbol,.library-json *) {color:var(--library-ink)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
html #library-detail-content :is(.library-detail-date,.fortune-card-sub,.fortune-keywords) {color:var(--library-muted)!important}
html #library-detail-content :is(.fortune-card-pos,.fortune-badge,.library-link,.library-empty a) {color:var(--library-accent)!important;-webkit-text-fill-color:currentColor!important}
