/* WEB-VISUAL-PAIN-002 + WEB-PLAY-V09 — Slide truth stays above every generated face. */

body[data-card-skin="favor"] #rail .card:not(.empty),
body[data-card-skin="black-index"] #rail .card:not(.empty),
body[data-card-skin="red-tithe"] #rail .card:not(.empty),
body[data-card-skin="book-of-fury"] #rail .card:not(.empty),
body[data-card-skin="dudes"] #rail .card:not(.empty),
body[data-card-skin="summer-time-siren"] #rail .card:not(.empty),
body[data-card-skin="favor"] #openShiftRail .card:not(.empty),
body[data-card-skin="black-index"] #openShiftRail .card:not(.empty),
body[data-card-skin="red-tithe"] #openShiftRail .card:not(.empty),
body[data-card-skin="book-of-fury"] #openShiftRail .card:not(.empty),
body[data-card-skin="dudes"] #openShiftRail .card:not(.empty),
body[data-card-skin="summer-time-siren"] #openShiftRail .card:not(.empty) {
  overflow: visible;
}

body[data-card-skin="favor"] #rail .active-star-trace,
body[data-card-skin="black-index"] #rail .active-star-trace,
body[data-card-skin="red-tithe"] #rail .active-star-trace,
body[data-card-skin="book-of-fury"] #rail .active-star-trace,
body[data-card-skin="dudes"] #rail .active-star-trace,
body[data-card-skin="summer-time-siren"] #rail .active-star-trace,
body[data-card-skin="favor"] #openShiftRail .open-shift-star-trace,
body[data-card-skin="black-index"] #openShiftRail .open-shift-star-trace,
body[data-card-skin="red-tithe"] #openShiftRail .open-shift-star-trace,
body[data-card-skin="book-of-fury"] #openShiftRail .open-shift-star-trace,
body[data-card-skin="dudes"] #openShiftRail .open-shift-star-trace,
body[data-card-skin="summer-time-siren"] #openShiftRail .open-shift-star-trace {
  z-index: 12;
}

/* Dense generated faces need the accepted center core to remain legible.
 * The core alone glows; the card, Rail, printed Star, and marker ring remain still.
 */
body[data-card-skin="favor"] #rail .active-star-trace::before,
body[data-card-skin="black-index"] #rail .active-star-trace::before,
body[data-card-skin="red-tithe"] #rail .active-star-trace::before,
body[data-card-skin="book-of-fury"] #rail .active-star-trace::before,
body[data-card-skin="dudes"] #rail .active-star-trace::before,
body[data-card-skin="summer-time-siren"] #rail .active-star-trace::before,
body[data-card-skin="favor"] #openShiftRail .open-shift-star-trace::before,
body[data-card-skin="black-index"] #openShiftRail .open-shift-star-trace::before,
body[data-card-skin="red-tithe"] #openShiftRail .open-shift-star-trace::before,
body[data-card-skin="book-of-fury"] #openShiftRail .open-shift-star-trace::before,
body[data-card-skin="dudes"] #openShiftRail .open-shift-star-trace::before,
body[data-card-skin="summer-time-siren"] #openShiftRail .open-shift-star-trace::before {
  filter: drop-shadow(0 0 2px var(--slide-core-glow));
}

/* BLACK-INDEX owns green working controls. END ROOM remains in its accepted repair. */
body[data-card-skin="black-index"] .end-room-button {
  color: #071008;
  border-color: #72eb83;
  background: #39d353;
  box-shadow: 0 0 18px rgba(57, 211, 83, 0.20);
}

body[data-card-skin="black-index"] .end-room-button:not(:disabled):hover,
body[data-card-skin="black-index"] .end-room-button:focus-visible {
  border-color: #9af3a7;
  background: #58df70;
  outline: none;
}
