/**
 * Sitting Out appearance routes — complement v1's member route treatment.
 * These selectors correspond to actual editorial, magazine, and My Events PHP
 * templates. Photo-backed hero overlays remain dark to protect legibility.
 *
 * Published content, related article cards, and event availability are always
 * drawn from WordPress; this stylesheet adds no fictitious content.
 */

/* Ordinary editorial archive and article, previously hardcoded dark-only. */
:root[data-so-theme="light"] :is(.so-publication,.so-story) {
  background:#f5f8fa;
  color:#172b37;
}
:root[data-so-theme="light"] .so-publication-list__heading :is(h2,h3),
:root[data-so-theme="light"] .so-publication-empty h2 {
  color:#172b37;
}
:root[data-so-theme="light"] .so-publication-list__heading p,
:root[data-so-theme="light"] .so-publication-empty p {
  color:#516472;
}
:root[data-so-theme="light"] .so-story-card {
  background:#fff;
  border-color:#d5e2ea;
  box-shadow:0 14px 34px rgba(14,39,58,.06);
}
:root[data-so-theme="light"] .so-story-card:hover,
:root[data-so-theme="light"] .so-story-card:focus-within {
  border-color:#24869a;
}
:root[data-so-theme="light"] .so-story-card__link {
  color:#152a38;
}
:root[data-so-theme="light"] .so-story-card__body :is(h2,h3,strong) {
  color:#142733;
}
:root[data-so-theme="light"] .so-story-card__body :is(p,small),
:root[data-so-theme="light"] .so-story-card__excerpt {
  color:#506472;
}
:root[data-so-theme="light"] .so-story-card__meta {
  color:#246271;
}
:root[data-so-theme="light"] .so-story-card__more,
:root[data-so-theme="light"] .so-publication-pagination a {
  color:#145465;
}
:root[data-so-theme="light"] .so-story-prose {
  color:#263a46;
}
:root[data-so-theme="light"] .so-story-prose :is(h2,h3,h4) {
  color:#172a38;
}
:root[data-so-theme="light"] .so-story-prose a {
  color:#075c75;
  text-decoration-color:#00cddd;
}
:root[data-so-theme="light"] .so-story-prose blockquote {
  border-left-color:#17a5b6;
  color:#273d4a;
}
:root[data-so-theme="light"] .so-story-next {
  background:#fff;
  color:#172a38;
  border-color:#cddfe7;
  box-shadow:0 12px 30px rgba(15,41,55,.045);
}
:root[data-so-theme="light"] .so-story-next :is(h2,h3,strong) {
  color:#172a38;
}
:root[data-so-theme="light"] .so-story-next p {color:#516472}
:root[data-so-theme="light"] .so-story-next a {color:#11586a}

/* Rich magazine feature: opposite problem — light-only main reading surface.
   The cinematic hero and image-backed promotional rail retain their own
   deliberately dark treatment in both appearances. */
:root[data-so-theme="dark"] .so-magazine {
  --so-ink:#e7f0f6;
  --so-muted:#a5b8c7;
  background:#08121c;
  color:#e7f0f6;
}
:root[data-so-theme="dark"] .so-magazine__shell {
  background:#08121c;
}
:root[data-so-theme="dark"] .so-magazine__story,
:root[data-so-theme="dark"] .so-magazine__story>p:first-child {
  color:#dce8f0;
}
:root[data-so-theme="dark"] .so-magazine__story :is(h2,h3,h4) {
  color:#f5faff;
}
:root[data-so-theme="dark"] .so-magazine__story a,
:root[data-so-theme="dark"] .so-magazine__source-note a {
  color:#81e8f2;
}
:root[data-so-theme="dark"] .so-magazine__story :is(p,li) {
  color:#cddce7;
}
:root[data-so-theme="dark"] .so-magazine__story blockquote:not(.reddit-embed-bq) {
  background:#0b2534;
  color:#ebfaff;
  border-left-color:#00e5ff;
}
:root[data-so-theme="dark"] .so-magazine__story blockquote:not(.reddit-embed-bq) p {
  color:#e4f4fa;
}
:root[data-so-theme="dark"] .so-magazine__shares-inner {
  color:#b8cdd9;
}
:root[data-so-theme="dark"] .so-magazine__shares :is(button,a) {
  color:#dce8ee;
  border-color:#2a485a;
}
:root[data-so-theme="dark"] .so-magazine__source-note {
  background:#0e2531;
  border-color:#264b5b;
  color:#b4cdda;
}
:root[data-so-theme="dark"] .so-magazine__related,
:root[data-so-theme="dark"] .so-magazine__rail-stick {
  color:#dce9f0;
}
:root[data-so-theme="dark"] .so-magazine__related :is(h2,h3),
:root[data-so-theme="dark"] .so-magazine__related-card :is(strong,span) {
  color:#f0f7fc;
}
:root[data-so-theme="dark"] .so-magazine__related-card:hover strong {
  color:#7ce9f5;
}
:root[data-so-theme="dark"] .so-magazine__author {
  border-color:#294553;
}
:root[data-so-theme="dark"] .so-magazine__author :is(h2,h3,strong) {
  color:#edf5fa;
}
:root[data-so-theme="dark"] .so-magazine__author :is(p,small) {
  color:#b2c4d1;
}
:root[data-so-theme="dark"] .so-magazine__close,
:root[data-so-theme="dark"] .so-magazine__discord {
  border-color:#244452;
}
:root[data-so-theme="dark"] .so-magazine__find {
  color:#fff;
}
:root[data-so-theme="light"] .so-magazine {
  background:#fff;
  color:#0c2039;
}

/* Authenticated My Events listing: actual booking status, not mock cards. */
:root[data-so-theme="light"] .so-my-events {
  color:#172934;
}
:root[data-so-theme="light"] .so-my-events__head :is(h1,h2),
:root[data-so-theme="light"] .so-my-events :is(.so-my-events__next,.so-my-events__later,.so-my-events__recent)>h2 {
  color:#172934;
}
:root[data-so-theme="light"] .so-my-events__head p:not(.so-eyebrow) {
  color:#526573;
}
:root[data-so-theme="light"] .so-my-event {
  background:#fff;
  border-color:#d4e0e8;
  color:#172934;
  box-shadow:0 15px 38px rgba(15,41,57,.055);
}
:root[data-so-theme="light"] .so-my-event.is-featured {
  border-color:#8acdd8;
  box-shadow:0 17px 42px rgba(8,49,68,.09);
}
:root[data-so-theme="light"] .so-my-event__body :is(h2,h3,strong),
:root[data-so-theme="light"] .so-my-event__topline {
  color:#1c303c;
}
:root[data-so-theme="light"] .so-my-event__body :is(p,small),
:root[data-so-theme="light"] .so-my-event__message {
  color:#526675;
}
:root[data-so-theme="light"] .so-my-event__tags .so-chip {
  color:#185463;
  border-color:#bedde5;
  background:#edf8fa;
}
:root[data-so-theme="light"] .so-my-events__empty {
  background:#fff;
  border-color:#c6d8e2;
  color:#385261;
}
:root[data-so-theme="light"] .so-my-events .so-link {
  color:#125d71;
}
/* The artwork already needs dark overlay regardless of appearance. */
:root[data-so-theme="light"] .so-my-event__art {
  color:#fff;
}

/* Native public enquiry, support and feedback pages intentionally had
   light form sections in every mode. Adapt those to dark rather than
   turning photographed hero content into low-contrast pale text. */
:root[data-so-theme="dark"] .so-help-section,
:root[data-so-theme="dark"] .so-enquiry-section {
  background:#09151f;
  color:#e3eff6;
}
:root[data-so-theme="dark"] :is(.so-help-card,.so-help-history,.so-enquiry-card) {
  background:#122431;
  color:#e3eff6;
  border-color:#294554;
  box-shadow:0 18px 50px rgba(0,0,0,.13);
}
:root[data-so-theme="dark"] :is(.so-help-card,.so-help-history,.so-enquiry-card,.so-enquiry-context) :is(h2,h3,strong,label) {
  color:#f0f8fc;
}
:root[data-so-theme="dark"] .so-enquiry-context p,
:root[data-so-theme="dark"] .so-enquiry-card__intro,
:root[data-so-theme="dark"] .so-enquiry-privacy,
:root[data-so-theme="dark"] .so-help-privacy {
  color:#b3c8d6;
}
:root[data-so-theme="dark"] :is(.so-help-form,.so-enquiry-form) :is(input,select,textarea) {
  background:#0a1924;
  color:#f4f8fa;
  border-color:#3c5a69;
  color-scheme:dark;
}
:root[data-so-theme="dark"] :is(.so-help-form,.so-enquiry-form) :is(input,textarea)::placeholder {
  color:#9cb6c6;
  opacity:1;
}
:root[data-so-theme="dark"] :is(.so-help-form,.so-enquiry-form) :is(input,select,textarea):focus-visible {
  outline:3px solid rgba(0,229,255,.27);
  border-color:#00e5ff;
}
:root[data-so-theme="dark"] :is(.so-help-success,.so-enquiry-confirmation) {
  background:#11372e;
  color:#d8f9e9;
  border-color:#3c8169;
}
:root[data-so-theme="dark"] :is(.so-help-error,.so-enquiry-error) {
  background:#3a2226;
  color:#ffe6e8;
  border-color:#aa6570;
}
:root[data-so-theme="dark"] .so-enquiry-form label>span {
  color:#b3c8d6;
}
@media (max-width:700px) {
  :root[data-so-theme="light"] .so-story-card {
    box-shadow:0 7px 22px rgba(14,39,58,.04);
  }
  :root[data-so-theme="dark"] .so-magazine__shell {
    background:#08121c;
  }
}
@media (prefers-reduced-motion:reduce) {
  :root[data-so-theme="light"] .so-story-card {
    transition:none;
  }
}

/* Actual disposable WordPress Chromium review (17 Oct): in light mode the
   global page heading ink became dark on photo-backed, intentionally DARK
   cinematic heroes. These exceptions preserve white foreground on imagery
   while leaving the surrounding editorial sections truly light. */
:root[data-so-theme="light"] :is(
  .so-events-v3-hero__copy,
  .so-editorial-hero--about .so-editorial-hero__copy,
  .so-partners-v6-hero__copy,
  .so-about-close__copy,
  .so-partners-v6-closing__inner
) :is(h1,h2) {
  color:#f5f7fa;
  text-shadow:0 2px 17px rgba(0,0,0,.45);
}
:root[data-so-theme="light"] :is(
  .so-events-v3-hero__copy,
  .so-editorial-hero--about .so-editorial-hero__copy,
  .so-partners-v6-hero__copy,
  .so-about-close__copy,
  .so-partners-v6-closing__inner
) :is(h1,h2) span {color:#00e5ff}
:root[data-so-theme="light"] :is(
  .so-events-v3-hero__copy,
  .so-editorial-hero--about .so-editorial-hero__copy,
  .so-partners-v6-hero__copy,
  .so-about-close__copy,
  .so-partners-v6-closing__inner
) >p:not(.so-eyebrow) {
  color:#e5eff4;
  text-shadow:0 1px 8px rgba(0,0,0,.65);
}
:root[data-so-theme="light"] :is(
  .so-events-v3-hero__copy,
  .so-editorial-hero--about .so-editorial-hero__copy,
  .so-partners-v6-hero__copy
) >.so-eyebrow {color:#00e5ff}

/* Member dashboard has a photo-backed dark hero in BOTH appearances. The
   actual light-mode browser capture exposed dark ink over dark player artwork. */
:root[data-so-theme="light"] .so-dashboard-hero__identity h1 {
  color:#f5f7fa;
  text-shadow:0 2px 15px rgba(0,0,0,.55);
}
:root[data-so-theme="light"] .so-dashboard-hero__identity p:not(.so-eyebrow) {
  color:#e6eff5;
}
:root[data-so-theme="light"] .so-dashboard-hero__identity .so-eyebrow {
  color:#00e5ff;
}
