/* ============================================================================
 * light-card flip — appended to gameui.css
 *
 * A third of the windows still inherited white cards with navy text from
 * v10.css / overhaul.css / theme.css: the world map, level guide, deposit
 * book, guild, stylist, pets, armory, arena, skills, cards and the overhaul
 * hub. All of them paint the same three tells — background #fff or #f4f7fc,
 * border #c8d8ee, text #1c2a44.
 *
 * Every class family they use is flipped here. States marked `.on` keep a
 * gold border so active state stays visible.
 * ========================================================================== */

.win [class^="gd-"], .win [class*=" gd-"],
.win [class^="lg-"], .win [class*=" lg-"],
.win [class^="sty-"], .win [class*=" sty-"],
.win [class^="pet-"], .win [class*=" pet-"],
.win [class^="arm-"], .win [class*=" arm-"],
.win [class^="ar-"], .win [class*=" ar-"],
.win [class^="sk-"], .win [class*=" sk-"],
.win [class^="ml-"], .win [class*=" ml-"],
.win [class^="rp-"], .win [class*=" rp-"],
.win [class^="ov-"], .win [class*=" ov-"],
.win [class^="wm-"], .win [class*=" wm-"],
.win [class^="cc-"], .win [class*=" cc-"],
.win [class^="gm-"], .win [class*=" gm-"],
.win [class^="bq-"], .win [class*=" bq-"],
.win [class^="bb-"], .win [class*=" bb-"],
.win [class^="cs-"], .win [class*=" cs-"],
.win [class^="eq-"], .win [class*=" eq-"],
.win [class^="bag-"], .win [class*=" bag-"],
.win [class^="pt-"], .win [class*=" pt-"],
.win [class^="skill"], .win [class*=" skill"] {
  background: linear-gradient(180deg, #1d222c, #12161e) !important;
  color: #e9e3d4 !important;
  border-color: rgba(217,180,106,.20) !important;
}

/* dim text that was navy-on-white */
.win [class*="gd-"] small, .win [class*="lg-"] small, .win [class*="sty-"] small,
.win [class*="pet-"] small, .win [class*="arm-"] small, .win [class*="ar-"] small,
.win [class*="sk-"] small, .win [class*="ml-"] small, .win [class*="rp-"] small,
.win [class*="ov-"] small, .win [class*="wm-"] small, .win [class*="cc-"] small,
.win [class*="gm-"] small, .win [class*="cs-"] small, .win [class*="eq-"] small,
.win [class*="bag-"] small, .win [class*="pt-"] small, .win [class*="bq-"] small,
.win [class*="bb-"] small {
  color: #9c9482 !important;
}

/* active states keep a visible marker: gold border instead of the old tint */
.win [class*="sty-"].on, .win [class*="pet-"].on, .win [class*="gd-"].on,
.win [class*="eq-"].on, .win [class*="sk-"].on, .win [class*="lg-"].on,
.win [class*="bq-"].on, .win [class*="ov-"].on, .win [class*="cc-"].on {
  border-color: var(--gu-gold) !important;
  background: linear-gradient(180deg, #2b2416, #1a1610) !important;
}

/* status pills: same meaning, dark-tuned */
.win .gd-jtags .ok   { background: #16301f !important; color: #7ae08a !important; }
.win .gd-jtags .bad  { background: #3a120c !important; color: #ff9a8a !important; }
.win .gd-jtags .warn { background: #33240a !important; color: #ffcf70 !important; }

/* the "you are here" banner on the level guide */
.win .lg-now {
  background: linear-gradient(135deg, #3a2c10, #241a08) !important;
  border: 1px solid var(--gu-gold) !important;
  color: var(--gu-gold3) !important;
}
