/* Wolf Riot — midnight enamel cabinet. This layer changes paint and type scale,
   never the responsive grid, game dimensions, outcome or control placement. */
body.noir-edition {
  --cabinet: #15212d;
  --cabinet-rail: #1d2a37;
  --cabinet-line: #56616a;
  --cabinet-brass: #a48c69;
  --cabinet-paper: #f2e5c9;
  --cabinet-muted: #bacbd3;
  --cabinet-red: #a83732;
}

/* Read the twenty windows as one machine. Its rim carries the metal treatment;
   quiet individual windows let each silhouette and special frame remain clear. */
.noir-edition .game .machine-top,
.noir-edition .game .ticker,
.noir-edition #game.disco .machine-top,
.noir-edition #game.disco .ticker {
  background: var(--cabinet);
  border-color: var(--cabinet-brass);
  box-shadow: inset 0 1px #c6c4a61a;
  color: var(--cabinet-paper);
}
.noir-edition .game .machine-top { border-radius: 5px 5px 0 0; }
.noir-edition .game .machine-top > span:last-child { color: #bbcfd8; }
.noir-edition .game .ticker { border-radius: 0 0 5px 5px; }
.noir-edition .game .ticker #message { color: #e8dcbf; text-shadow: none; }
.noir-edition .game .reel-frame,
.noir-edition #game.disco .reel-frame {
  border-color: var(--cabinet-brass);
  background: var(--cabinet-rail);
  box-shadow: inset 0 0 0 1px #080e15, 0 3px #070c12;
}
.noir-edition .game .reels,
.noir-edition #game.disco .reels { background: #080e16; }
.noir-edition .game .reels .symbol,
.noir-edition #game.disco .reels .symbol {
  --card-edge: #2b3945;
  background: #101923;
  border-radius: 2px;
}
.noir-edition .game .reels .symbol.w,
.noir-edition .game .reels .symbol.d { --card-edge: #8d6a51; }
.noir-edition .game .reels .symbol.t{ --card-edge: #6f7771; }
.noir-edition .game .reels .symbol .wild-caption,
.noir-edition .pack-reel-reveal .pack-reveal-cell b {
  background: #502328;
  border-top-color: #ba8761;
  color: #f4e2ba;
  box-shadow: none;
}
.noir-edition .game .reels .symbol.d .wild-caption {
  background: #4b3928;
  box-shadow: none;
}
.noir-edition .game .reels .symbol .bonus-art-label {
  background: #101923;
  color: #d9d9c8;
}
.noir-edition .game .reels .symbol.t .bonus-art-label { color: #e9aaa0; }
.noir-edition .game .reel-frame::before,
.noir-edition .game .reel-frame::after { opacity: .65; }

/* Red is an action/feature colour, not the fill of every surrounding box. */
.noir-edition .game .bonus-button {
  background: var(--cabinet-red);
  border-color: #d48367;
  border-radius: 4px;
  box-shadow: inset 0 1px #f2b28d2b, inset 0 -2px #62232c;
  color: #fff1d7;
}
.noir-edition .game .bonus-button small { color: #f5d1b9; }
.noir-edition .game .chance-button {
  background: var(--cabinet);
  border-color: var(--cabinet-line);
  border-radius: 4px;
  color: #e5dfcd;
}
.noir-edition .game .chance-button small { color: var(--cabinet-muted); }
.noir-edition .game .chance-button[aria-pressed=true] {
  background: #4c2630;
  border-color: #c58a69;
}
.noir-edition .game .switch { background: #45535d; }
.noir-edition .game .switch i { background: #c6d4d8; }
.noir-edition .game .chance-button[aria-pressed=true] .switch { background: #a44b3c; }
.noir-edition .game .chance-button[aria-pressed=true] .switch i { background: #f0dfba; }
.noir-edition .game .feature-bar #bonus-meter {
  background: #4d2029;
  border-color: #ac7859;
  border-radius: 4px;
  box-shadow: inset 0 1px #e3a77a24,inset 0 -2px #29121c;
}
.noir-edition .game .spin-button,
.noir-edition .game.disco.blood-night .spin-button {
  background: #ae3e35;
  border-color: #d59670;
  box-shadow: inset 0 1px #f4c39555,inset 0 -3px #67252a,0 2px #0a111a;
  color: #fff1d1;
}
.noir-edition .game .metric > span,
.noir-edition .game .bet-control > span { color: var(--cabinet-muted); }
.noir-edition .game .metric strong,
.noir-edition .game #bet-select #bet { color: var(--cabinet-paper); }
.noir-edition .game .win strong { color: #ebc989; }
.noir-edition .game .bet-control #minus,
.noir-edition .game .bet-control #plus,
.noir-edition .game #bet-select {
  background: #1c2b3a;
  border-color: #576877;
  color: #e5e9df;
  border-radius: 3px;
}
.noir-edition .game .bottom-line { color: #b4c3cb; }
.noir-edition .game #cost { color: #d4d5c5; }

/* The same console material carries into the cash feature; typography makes
   progress and the active award easier to distinguish from tertiary labels. */
.noir-edition #game.disco .disco-hud { background: #1b2936; }
.noir-edition #game.disco .disco-hud span { color: #bccbd0; }
.noir-edition #game.disco .disco-hud strong { color: #f1d29b; }
.noir-edition #game.disco .party-progress { background: #15212d; box-shadow: inset 0 -1px #48525b; }
.noir-edition #game.disco .party-meter { background: #0d151e; border-color: #586171; }
.noir-edition #game.disco .party-meter i { background: #bd6550; }
.noir-edition #game.disco .party-meter-heading strong { color: #e3dac3; }
.noir-edition #game.disco #party-count { background: #50332c; color: #f5dfb8; }

@media(min-width:651px) and (min-height:461px) {
  .noir-edition .game .controls {
    background: var(--cabinet);
    border-color: var(--cabinet-line);
    border-radius: 4px;
    box-shadow: inset 0 1px #c4d8dd18,0 3px #080f18;
  }
}
@media(min-width:1000px) and (min-height:500px) {
  .noir-edition .game .machine-top { font-size: 10px; letter-spacing: .15px; }
  .noir-edition .game .ticker #message { font-size: 11px; line-height: 1.2; }
  .noir-edition .game .metric > span,
  .noir-edition .game .bet-control > span { font-size: 10px; letter-spacing: .1px; }
  .noir-edition .game .bonus-button small,
  .noir-edition .game .chance-button small { font-size: 9px; letter-spacing: 0; }
  .noir-edition .game .chance-button { font-size: 10px; }
  .noir-edition .game #auto.auto-button,
  .noir-edition .game #fast { background: #cbe6f4; color: #244c64; border-color: #7eafc8; }
}
@media(min-width:1200px) and (min-height:650px) {
  .noir-edition .game .machine-top { font-size: 11px; }
  .noir-edition .game .ticker #message { font-size: 12px; }
  .noir-edition .game .metric > span,
  .noir-edition .game .bet-control > span { font-size: 11px; }
  .noir-edition .game .bonus-button small,
  .noir-edition .game .chance-button small { font-size: 10px; }
  .noir-edition .game .chance-button { font-size: 12px; }
}
@media(max-width:650px) and (min-height:461px) {
  .noir-edition .game .controls { background: transparent; }
  .noir-edition .game .controls::before {
    background: var(--cabinet);
    border-color: var(--cabinet-line);
    border-radius: 4px;
    box-shadow: inset 0 1px #c4d8dd18,0 3px #080f18;
  }
  .noir-edition .game .bet-control #minus,
  .noir-edition .game .bet-control #plus,
  .noir-edition .game #bet-select { background: transparent; }
  .noir-edition .game .machine-top { font-size: 8px; letter-spacing: 0; }
  .noir-edition .game .ticker #message { font-size: 9px; line-height: 1.2; }
  .noir-edition .game .metric > span,
  .noir-edition .game .bet-control > span { font-size: 9px; letter-spacing: 0; }
  .noir-edition .game .bonus-button small,
  .noir-edition .game .chance-button small { font-size: 8px; letter-spacing: 0; }
}

/* Portrait names and speed labels should survive the laptop scale. */
@media(min-width:1000px) and (min-height:500px) {
  .noir-edition .game .reels .symbol .wild-caption,
  .noir-edition .game .reels .symbol.d .wild-caption { font-size: 9px; line-height: 1.1; }
  .noir-edition .game #auto.auto-button,
  .noir-edition .game #fast { font-size: 7.5px; }
}
@media(min-width:1200px) and (min-height:650px) {
  .noir-edition .game .reels .symbol .wild-caption,
  .noir-edition .game .reels .symbol.d .wild-caption { font-size: 10px; }
  .noir-edition .game #auto.auto-button,
  .noir-edition .game #fast { font-size: 8px; }
}

/* Secondary screens use the cabinet's material too. In particular, remove
   the old lime/purple autospin skin that survived the main-screen redesign. */
.noir-edition #modal {
  background: #14202c;
  border-color: #63717b;
  border-radius: 5px;
}
.noir-edition #modal:has(.bonus-shop) { background: #101923; border-color: #63717b; }
.noir-edition #modal .close,
.noir-edition #modal:has(.bonus-shop) > .close {
  background: #243443;
  border: 1px solid #63717b;
  border-radius: 4px;
  color: #f1e8d2;
  box-shadow: none;
}
.noir-edition .autospin-option {
  background: #223240;
  border-color: #536779;
  border-radius: 4px;
  color: #eee2c6;
}
.noir-edition .autospin-option small { color: #c0d0d6; }
.noir-edition .autospin-option[aria-pressed=true] {
  background: #36596d;
  border-color: #b7d5df;
  color: #edf2de;
}
.noir-edition .autospin-option:hover,
.noir-edition .autospin-option:focus-visible {
  background: #2e475a;
  border-color: #c9dfdf;
  outline-color: #c9dfdf;
}
.noir-edition .autospin-note { color: #c3d0d4; }
.noir-edition .riot-win {
  background: #17232e;
  border-color: #b89a6e;
  box-shadow: 0 5px 22px #050a11b3,inset 0 0 0 2px #0b131d;
}
.noir-edition .riot-win[data-level="4"] { background: #3d2029; border-color: #d2ae6e; }
