/* Blue-hour enamel. Palette and feedback only; accepted responsive geometry stays. */
body.noir-edition{--cabinet:#275c7c;--cabinet-rail:#6aaec4;--cabinet-line:#6cabc0;--cabinet-brass:#a7d6df;--cabinet-paper:#fff0cb;--cabinet-muted:#d4ebef;--cabinet-red:#cf473e;--paper:#fff0cb;--line:#6aaec4;--accent:#ffcf77;background:#204d6b}
.noir-edition .game{background:#255777}
.noir-edition .game .grain,.noir-edition #game.disco .grain{background:linear-gradient(0deg,#183c57b3,transparent 24%);opacity:1}
.noir-edition .game .demo-pill{color:#eff8f7;text-shadow:0 1px 2px #163a55}
.noir-edition .game .icon-button{background:#204d6be8;border-color:#84b8cb;color:#eff8f7}
.noir-edition .game .machine-top,.noir-edition .game .ticker,.noir-edition #game.disco .machine-top,.noir-edition #game.disco .ticker{background-color:#2b6383;border-color:#9dcbd7;box-shadow:inset 0 1px #c8e7e73d}
.noir-edition .game .machine-top{background-image:none}
.noir-edition .game .machine-top>span:last-child{color:#dceff1}
.noir-edition .game .ticker #message{color:#fff1ce}
.noir-edition .game .reel-frame,.noir-edition #game.disco .reel-frame{background:#629cb2;border-color:#b3dce5;box-shadow:inset 0 0 0 1px #2d526b,0 3px #15364e}
.noir-edition .game .reels,.noir-edition #game.disco .reels{background:#0e2e49}
.noir-edition .game .reels .symbol,.noir-edition #game.disco .reels .symbol{--card-edge:#4b7995;background:#234e6e;box-shadow:inset 0 -1px #476f88}
.noir-edition .game .reels .symbol.w,.noir-edition .game .reels .symbol.d{background:#285e7a;--card-edge:#b3d9e0}.noir-edition .game .reels .symbol.t{background:#224765;--card-edge:#d9bf8a}
.noir-edition .game .reels .symbol .wild-caption,.noir-edition .pack-reel-reveal .pack-reveal-cell b{background:#b73e39;border-top-color:#ffd1a0;color:#fff4d9}
.noir-edition .game .reels .symbol.d .wild-caption{background:#925628;color:#fff1cc}
.noir-edition .game .reels .symbol .bonus-art-label{background:#214563;color:#eaf7fa}
.noir-edition .game .reels .symbol.t .bonus-art-label{color:#ffd7ce}
.noir-edition .game .reels .symbol.outcome-hit{background:#326d8a;--card-edge:#ffe5a7}
.noir-edition .game .reels .symbol.outcome-dim{filter:brightness(.82) saturate(.85)}
.noir-edition .game .reel-frame::before,.noir-edition .game .reel-frame::after{display:none}
.noir-edition .game .bonus-button{background:#c8443b;border-color:#ffad8b;box-shadow:inset 0 1px #ffc2a75c,inset 0 -2px #922d31}
.noir-edition .game .bonus-button small{color:#fff0d7}
.noir-edition .game .chance-button{background:#2a5875;border-color:#87bbcb;color:#f6f4df}
.noir-edition .game .chance-button[aria-pressed=true]{background:#337787;border-color:#b4e4e8}
.noir-edition .game .chance-button[aria-pressed=true] .switch{background:#79b9bc}
.noir-edition .game .chance-button[aria-pressed=true] .switch i{background:#fff3d4}
.noir-edition .game .spin-button,.noir-edition .game.disco.blood-night .spin-button{background:#d8493d;border-color:#ffc7a1;box-shadow:inset 0 2px #ffba8d77,inset 0 -3px #9b3032,0 3px #173e59;color:#fff3d4}
.noir-edition .game .spin-button:not(:disabled):active{filter:brightness(.92)}
.noir-edition .game #auto.auto-button,.noir-edition .game #fast{background:#c6e9f2;color:#194661;border-color:#f0fbf7;box-shadow:inset 0 1px #fff,0 2px #214b64}
.noir-edition .game #auto.auto-button[aria-pressed=true],.noir-edition .game #fast[aria-pressed=true]{background:#8ecddf;color:#153d58;border-color:#f0fbf7}
.noir-edition .game .metric strong,.noir-edition .game #bet-select #bet{color:#fff0ce}
.noir-edition .game .win strong{color:#ffdc8c}
.noir-edition .game .bet-control #minus,.noir-edition .game .bet-control #plus,.noir-edition .game #bet-select{background:#214d6d;border-color:#85b8c9;color:#eef9fa}
.noir-edition .game .bottom-line,.noir-edition .game #cost{color:#d9eef1}
.noir-edition .game .feature-bar #bonus-meter{background:#9f343b;border-color:#f0a392;box-shadow:inset 0 1px #ffcbb73d,inset 0 -2px #712b38}
.noir-edition .game.lunar .feature-bar #bonus-meter{background:#2b6d86;border-color:#b0dce4}
.noir-edition .game.disco .feature-bar #bonus-meter{background:#7d4a47;border-color:#eab58b}
.noir-edition .feature-state-readout>strong{color:#fff2d1}
.noir-edition .feature-state-readout>span{color:#d7f3f4}
.noir-edition .feature-state-readout[data-mode=blood]>span{color:#ffe3c9}
.noir-edition #game.disco .disco-hud{background:#265c78}
.noir-edition #game.disco .disco-hud span{color:#dbedf0}
.noir-edition #game.disco .disco-hud strong{color:#ffdd94}
.noir-edition #game.disco .party-progress{background:#214e6d;box-shadow:inset 0 -1px #6599ae}
.noir-edition #game.disco .party-meter{background:#163c59;border-color:#9ac7d3}
.noir-edition #game.disco .party-meter i{background:#ffd17c;transition:width .28s ease-out}
.noir-edition #game.disco #party-count{background:#3c7890;color:#fff2d4}
.noir-edition .game .party-callout{background:#214c68;border-color:#9fcfd7;color:#fff1ce}
.noir-edition .game .collected-note{color:#fff4d6;background:#265a72;border:1px solid #add6da;border-radius:3px;text-shadow:none}
.noir-edition .game .controls{background:#275a78;border-color:#93c4d3;box-shadow:inset 0 1px #cce9ed40,0 3px #143951}
/* Welcome, feature explanations and menus belong to the same illustrated city. */
.noir-edition .riot-intro{background:#245976}
.noir-edition .riot-intro::after{background:linear-gradient(90deg,transparent 25%,#153c5980 45%,#173d59e8 73%)}
.noir-edition .intro-kicker,.noir-edition .intro-tag,.noir-edition .intro-status,.noir-edition .intro-sound{color:#e5f5f6}
.noir-edition .intro-start,.noir-edition .primary-button{background:#f6cf86;color:#23475e;border-color:#ffe6af;box-shadow:0 3px #123a52}
.noir-edition .intro-skip{background:#234b68dd;color:#e8f5f4;border-color:#9ac7d0}
.noir-edition .intro-track{background:#538397}
.noir-edition .intro-track i{background:#ffdc8b}
.noir-edition #game .transition,.noir-edition #game.disco .transition{background:#204f6d;isolation:isolate}
.noir-edition #game .transition::before{content:'';display:block;position:absolute;inset:0;background:linear-gradient(90deg,#143a5555,#173d5ad9 40%,#173d5aee);z-index:-1;pointer-events:none}
.noir-edition .feature-step{background:#285a78;border-color:#82b7c8;border-top:3px solid #a0d7e1;box-shadow:0 2px #113a54}
.noir-edition .transition[data-feature-brief=blood] .feature-step{border-top-color:#ed8c78}
.noir-edition .transition[data-feature-brief=disco] .feature-step{border-top-color:#ffd17c}
.noir-edition .feature-step strong{color:#fff0cc}
.noir-edition .feature-step small{color:#e1f0f0}
.noir-edition .diagram-reel{fill:#1b435f;stroke:#91c5d1}
.noir-edition .diagram-lit{fill:#afdfe5;stroke:#f2f6dc}
.noir-edition .diagram-line{stroke:#ffda90}
.noir-edition #modal,.noir-edition #modal:has(.bonus-shop){background:#204b68;border-color:#a1cbd5}
.noir-edition #modal .close{background:#316681;border-color:#9fcbd5}
.noir-edition dialog::backdrop{background:#12344fc9;backdrop-filter:blur(3px)}
.noir-edition dialog h2,.noir-edition .bonus-shop #buy-title{color:#fff0cc}
.noir-edition dialog p,.noir-edition .autospin-note{color:#d9edf1}
.noir-edition .buy-card{background-color:#2b5d77;--buy-accent:#a5dce6;--buy-ink:#dcf1ee;border-color:#699cb2;background-image:none}
.noir-edition .buy-blood{--buy-accent:#f19b86;--buy-ink:#ffded1}
.noir-edition .buy-disco{--buy-accent:#f6d184;--buy-ink:#fff0bb}
.noir-edition .buy-bet,.noir-edition .autospin-option,.noir-edition .bet-option{background:#285b77;border-color:#82b8ca;color:#f6efdc}
.noir-edition .autospin-option[aria-pressed=true],.noir-edition .bet-option[aria-pressed=true]{background:#408297;border-color:#cdf0ed;color:#fff7de}
.noir-edition .riot-win{background:#235775;border-color:#e3cb96;box-shadow:0 5px 22px #12375099,inset 0 0 0 2px #386e86}
.noir-edition .riot-win-halo{background-image:url('assets/color-motion/scene.webp');opacity:.65}
.noir-edition .feature-recap dt,.noir-edition .feature-recap p{color:#dfedf0}
.noir-edition .feature-recap dd{color:#ffe0a0}
/* New locks fasten once. Previously held wilds stay perfectly still. */
.noir-edition .game .reels .symbol.lock-arriving::before{animation:lock-click .46s ease-out both}
.noir-edition .game .reels .symbol.lock-arriving::after{animation:lock-settle .46s cubic-bezier(.2,.8,.2,1) both}
@keyframes lock-settle{0%{transform:scale(1.15);opacity:0}60%{transform:scale(.985);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes lock-click{0%{transform:translateY(-14px);opacity:0}65%{transform:translateY(2px);opacity:1}100%{transform:translateY(0);opacity:1}}
.noir-edition .transition:not([hidden]) .feature-step{animation:brief-arrive .38s ease-out both}
.noir-edition .transition:not([hidden]) .feature-step:nth-child(2){animation-delay:.08s}
.noir-edition .transition:not([hidden]) .feature-step:nth-child(3){animation-delay:.16s}
.noir-edition .transition:not([hidden]) .diagram-lit{transform-box:fill-box;transform-origin:center;animation:diagram-reveal .55s .25s ease-out both}
@keyframes brief-arrive{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes diagram-reveal{0%{opacity:.2;transform:scale(.8)}70%{opacity:1;transform:scale(1.04)}100%{opacity:1;transform:scale(1)}}
@media(max-width:650px) and (min-height:461px){
 .noir-edition .game .grain,.noir-edition #game.disco .grain{background:linear-gradient(0deg,#255777 0%,#255777 53%,transparent 91%)}
 .noir-edition .game .controls{background:transparent;box-shadow:none}
 .noir-edition .game .controls::before{background:#285b78;border-color:#96c4d2;box-shadow:inset 0 1px #d7eceb33,0 3px #174059}
 .noir-edition .game .bet-control #minus,.noir-edition .game .bet-control #plus,.noir-edition .game #bet-select{background:transparent}
 .noir-edition .riot-intro::after{background:linear-gradient(0deg,#1a4664 3%,#1a4664f0 43%,#1a466420 77%)}
 .noir-edition #game .transition::before{background:linear-gradient(0deg,#173e5af5 28%,#173e5abb 65%,#173e5a44)}
}
@media(prefers-reduced-motion:reduce){
 .noir-edition .transition:not([hidden]) .feature-step,.noir-edition .transition:not([hidden]) .diagram-lit,.noir-edition .game .reels .symbol.lock-arriving::before,.noir-edition .game .reels .symbol.lock-arriving::after{animation:none!important}
 .noir-edition #game.disco .party-meter i{transition:none}
}
