/**
 * Sitting Out member/public shared light appearance: real PHP routes.
 * The photographic page heroes intentionally retain dark-image contrast;
 * never whiten their text unless artwork/overlay is also changed.
 * Game/Session Room styles are owned by find-people-v3.css.
 */
:root[data-so-theme="light"] .so-member-page,
:root[data-so-theme="light"] .so-players,
:root[data-so-theme="light"] .so-connections,
:root[data-so-theme="light"] .so-profile-settings,
:root[data-so-theme="light"] .so-player-profile {
  color:var(--so-text);
}
:root[data-so-theme="light"] :is(.so-member-welcome,.so-profile-settings__head,.so-connections__hero,.so-player-profile__hero) :is(h1,h2,h3) {
  color:#141a22;
}
:root[data-so-theme="light"] :is(.so-member-welcome,.so-profile-settings__head,.so-connections__hero,.so-player-profile__hero) p:not(.so-eyebrow) {
  color:#51616e;
}
/* Member dashboard: operational data, not a decoration or a fake counter. */
:root[data-so-theme="light"] :is(.so-member-stats article,.so-member-panel,.so-member-card,.so-dashboard-people>a) {
  background:#fff;
  color:#172631;
  border-color:var(--so-stroke);
  box-shadow:0 9px 25px rgba(17,41,56,.045);
}
:root[data-so-theme="light"] :is(.so-member-stats article,.so-member-panel,.so-dashboard-people>a) :is(h2,h3,strong) {
  color:#16252f;
}
:root[data-so-theme="light"] :is(.so-member-stats article,.so-member-panel,.so-dashboard-people>a) :is(p,small) {
  color:#556674;
}
:root[data-so-theme="light"] .so-member-progress__bar {background:#dce7ec}
:root[data-so-theme="light"] .so-member-menu>summary {
  background:#fff;color:#162832;border-color:#ccd9e1;
}
:root[data-so-theme="light"] .so-member-menu nav {
  background:#fff;color:#172631;border-color:#d5e1e7;
  box-shadow:0 19px 46px rgba(21,43,59,.12);
}
:root[data-so-theme="light"] .so-member-menu nav a {color:#253d4b}
:root[data-so-theme="light"] .so-member-menu nav a:hover,
:root[data-so-theme="light"] .so-member-menu nav a:focus-visible {
  color:#103848;background:#e6f8fb;
}
/* Profile settings and form inputs: preserve readable menus on Safari/macOS. */
:root[data-so-theme="light"] .so-profile-section,
:root[data-so-theme="light"] .so-profile-complete-handoff {
  color:#172631;background:#fff;border-color:#d7e3e9;
}
:root[data-so-theme="light"] .so-profile-section :is(h2,h3,strong,legend,label) {color:#172631}
:root[data-so-theme="light"] .so-profile-section :is(p,small) {color:#526473}
:root[data-so-theme="light"] .so-profile-field :is(input,select,textarea),
:root[data-so-theme="light"] .so-profile-form select {
  background-color:#fff;
  border-color:#c7d7e0;
  color:#182a35;
  color-scheme:light;
}
:root[data-so-theme="light"] .so-profile-field :is(input,textarea)::placeholder {
  color:#667785;opacity:1;
}
:root[data-so-theme="light"] .so-profile-form select {
  /* The legacy custom select arrow stays visible on white. */
  background-image:linear-gradient(45deg,transparent 50%,#456371 50%),linear-gradient(135deg,#456371 50%,transparent 50%);
}
:root[data-so-theme="light"] .so-profile-field :is(input,select,textarea):focus {
  border-color:#16889b;
  box-shadow:0 0 0 3px rgba(0,229,255,.19);
}
:root[data-so-theme="light"] .so-profile-privacy-note {
  background:#eaf5f7;color:#2d4f60;border-color:#cce3e8;
}
:root[data-so-theme="light"] .so-profile-saved,
:root[data-so-theme="light"] .so-profile-complete-handoff {
  background:#eef9f8;color:#153e43;
}
/* Browsing and reading real member profiles. Keep image-backed hero overlays dark. */
:root[data-so-theme="light"] .so-player-filters {
  background:#fff;color:#142631;border-color:#d7e3e9;
}
:root[data-so-theme="light"] .so-player-filters :is(label,span) {color:#324956}
:root[data-so-theme="light"] .so-player-filters :is(input,select) {
  background:#fff;color:#172631;
  border-color:#c8d8e1;color-scheme:light;
}
:root[data-so-theme="light"] .so-player-filters input::placeholder {color:#627585;opacity:1}
:root[data-so-theme="light"] .so-player-results-head strong {color:#263e4d}
:root[data-so-theme="light"] .so-player-card-v1,
:root[data-so-theme="light"] .so-player-empty {
  background:#fff;border-color:#d6e1e7;color:#182a35;
  box-shadow:0 10px 30px rgba(13,42,58,.045);
}
:root[data-so-theme="light"] .so-player-card-v1__identity h2 a,
:root[data-so-theme="light"] .so-player-card-v1__play strong,
:root[data-so-theme="light"] .so-player-card-v1__link {
  color:#162c3a;
}
:root[data-so-theme="light"] .so-player-card-v1 :is(p,small) {color:#506372}
:root[data-so-theme="light"] .so-player-card-v1__link {
  border-top-color:#e0e9ee;
  text-decoration-color:#00e5ff;
}
:root[data-so-theme="light"] .so-player-profile__section,
:root[data-so-theme="light"] .so-player-profile__facts>div,
:root[data-so-theme="light"] .so-player-profile__events a {
  background:#fff;color:#172631;border-color:#d7e3e9;
}
:root[data-so-theme="light"] .so-player-profile__section :is(h2,h3,strong),
:root[data-so-theme="light"] .so-player-profile__signature strong,
:root[data-so-theme="light"] .so-player-profile__facts strong,
:root[data-so-theme="light"] .so-player-profile__good-to-know .so-player-profile__facts strong,
:root[data-so-theme="light"] .so-player-gamer-identity strong {
  color:#182e3b;
}
:root[data-so-theme="light"] .so-player-profile__bio,
:root[data-so-theme="light"] .so-player-profile__section :is(p,small),
:root[data-so-theme="light"] .so-player-profile__facts p {color:#536675}
/* Connection/request status must retain meaning without relying on colour. */
:root[data-so-theme="light"] .so-connection-section,
:root[data-so-theme="light"] .so-connection-state {
  background:#fff;color:#243744;border-color:#d7e2e8;
}
:root[data-so-theme="light"] .so-connection-state.is-pending {
  background:#fff6e5;border-color:#e8c77e;color:#76500e;
}
/* Real Events: neutral cards, but preserve cinematic image-backed hero text. */
:root[data-so-theme="light"] .so-event-card,
:root[data-so-theme="light"] .so-event-fact {
  background:#fff;color:#172631;border-color:#d8e3e9;
}
:root[data-so-theme="light"] .so-event-card__body :is(h3,strong) {color:#172631}
:root[data-so-theme="light"] .so-event-card__body :is(p,small) {color:#566774}
:root[data-so-theme="light"] .so-event-fact :is(strong,b) {color:#203946}
:root[data-so-theme="light"] .so-events-toolbar,
:root[data-so-theme="light"] .so-events-toolbar__note {color:#536574}
/* First-run member onboarding, progress, and real account requirements. */
:root[data-so-theme="light"] .so-onboarding-steps li,
:root[data-so-theme="light"] .so-onboarding-card {
  background:#fff;color:#172631;border-color:#d6e2e9;
}
:root[data-so-theme="light"] .so-onboarding-steps li :is(h2,h3,strong) {color:#172631}
:root[data-so-theme="light"] .so-onboarding-steps li :is(p,small) {color:#536574}
:root[data-so-theme="light"] .so-onboarding-step__icon {
  background:#edf4f7;color:#39596a;border-color:#cbdbe4;
}
:root[data-so-theme="light"] .so-onboarding-card__progress {background:#dce7ed}
:root[data-so-theme="light"] .so-onboarding-card__count {
  background:#d5faff;color:#16434f;border-color:#a9e8f1;
}
:root[data-so-theme="light"] .so-session-identities li {
  background:#fff;border-color:#d8e3e9;color:#1d3541;
}
:root[data-so-theme="light"] .so-session-identities li :is(strong,span) {color:#213f4c}
/* Cyan stays on brand; lower-contrast cyan text uses a dark readable ink. */
:root[data-so-theme="light"] .so-member-page :is(.so-link,.so-player-card-v1__link) {
  text-decoration-color:#00e5ff;
}
@media(max-width:760px) {
  :root[data-so-theme="light"] .so-profile-form select {min-height:44px}
}
@media(prefers-reduced-motion:reduce) {
  :root[data-so-theme="light"] :is(.so-member-page,.so-players,.so-connections,.so-profile-settings) * {
    transition:none!important;
  }
}
