/* v018: dark-mode reading contrast and restrained gold interaction cues. */
:root:not([data-theme="light"]) {
  --muted:#d8d4cb;
  --muted-2:#b8b4ac;
  --dim:#b8b4ac;
  --dim-2:#b8b4ac;
  --card-border-color:rgba(201,151,58,.48);
  --card-border-active:#c9973a;
  --card-line:rgba(201,151,58,.28);
  --card-face-hover:transparent;
}

/* Keep the current page distinct from the still-readable navigation links. */
:root:not([data-theme="light"]) .nav a[aria-current="page"] {
  color:var(--fg);
}
:root:not([data-theme="light"]) .nav a[aria-current="page"]::after {
  height:2px;
  background:var(--gold-bright);
}
:root:not([data-theme="light"]) .nav a:focus-visible {
  outline:2px solid var(--gold-bright);
  outline-offset:6px;
}

/* Selection stays visible after the pointer or keyboard focus moves away. */
:root:not([data-theme="light"]) .strategy-explorer .strategy-entry.is-open {
  border-color:var(--gold-bright);
}
:root:not([data-theme="light"]) .strategy-entry:is(:hover,:focus-within,.is-open) .strategy-piece__action {
  color:var(--fg);
  border-bottom-color:var(--gold-bright);
}
:root:not([data-theme="light"]) .strategy-entry .strategy-piece:focus-visible {
  outline:2px solid var(--gold-bright);
  outline-offset:-6px;
}
:root:not([data-theme="light"]) .team .card {
  transition:border-color var(--hover-fade) ease;
}
:root:not([data-theme="light"]) .team .card:is(:hover,:focus-within) {
  border-color:var(--card-border-active);
}
@media(prefers-reduced-motion:reduce) {
  :root:not([data-theme="light"]) .team .card { transition:none; }
}
