/* Xincity Studios cinematic remaster v2.
   Shared presentation only. Math, outcome evaluation and settlement stay unchanged. */
:root{
  --cinematic-surface:rgba(12,9,21,.88);
  --cinematic-edge:rgba(221,118,175,.55);
  --cinematic-text:#fff5fb;
  --cinematic-glow:0 16px 65px rgba(0,0,0,.72);
}
body[data-studio-game] button,
body[data-studio-game] select{font-family:inherit}
body[data-studio-game] button:focus-visible,
body[data-studio-game] a:focus-visible,
body[data-studio-game] select:focus-visible{outline:3px solid #fff3bf;outline-offset:3px}

/* NEON HEIST: foreground cabinet becomes the focal point instead of a left rail. */
body[data-studio-game="neon-heist"] .shell{
  display:block;width:min(1020px,100%);max-width:1020px;min-height:100vh;
  margin:0 auto;padding:12px 17px 18px;
}
body[data-studio-game="neon-heist"] .casino-scene{
  width:100%;max-width:none;margin:0 auto;padding:12px 17px 18px;
  border:1px solid rgba(234,145,172,.65);border-radius:22px;
  background:linear-gradient(110deg,rgba(11,7,18,.84),rgba(14,9,21,.77)),
    url('/neon-heist-scene-v2.webp') center/cover;
  box-shadow:var(--cinematic-glow),0 0 45px rgba(230,43,85,.16);
}
body[data-studio-game="neon-heist"] .game-heading{
  text-align:center;padding:2px 8px 8px;
}
body[data-studio-game="neon-heist"] .game-heading h1{
  text-align:center;font-size:clamp(40px,5.3vw,58px);line-height:.96;
  letter-spacing:-.07em;text-shadow:3px 4px #5e2030,0 0 35px #f52d5b55;
}
body[data-studio-game="neon-heist"] .game-heading-kicker,
body[data-studio-game="neon-heist"] .sub{text-align:center}
body[data-studio-game="neon-heist"] .casino-scene .game{
  max-width:980px;margin:0 auto;padding:11px 13px 13px;
  background:var(--cinematic-surface);border-color:var(--cinematic-edge);
  box-shadow:0 0 0 4px rgba(0,0,0,.48),0 22px 64px #000b,
    inset 0 1px rgba(255,220,191,.16);
}
body[data-studio-game="neon-heist"] .grid{
  gap:6px;padding:8px;border:2px solid rgba(218,126,147,.5);
  background:linear-gradient(160deg,#110b16,#08090e);
  box-shadow:inset 0 0 30px #000e,0 0 22px #dd35493d;
}
body[data-studio-game="neon-heist"] .tile[data-symbol]{
  border:1px solid #744b50;border-radius:8px;
  background:radial-gradient(ellipse at 50% 35%,#351b23,#100a11 70%,#09080b);
  box-shadow:inset 0 0 12px #000b,0 2px 5px #0008;
}
body[data-studio-game="neon-heist"] .tile[data-symbol="scatter"]{
  border-color:#eb445b;box-shadow:inset 0 0 18px #fd2a4b5c,0 0 12px #f12d5044;
}
body[data-studio-game="neon-heist"] .tile .art,
body[data-studio-game="neon-heist"] .symbol-icon .art{
  inset:0;background-image:url('/neon-heist-symbols-v2.webp');
  background-size:400% 200%;background-repeat:no-repeat;
  filter:drop-shadow(0 5px 9px #0009);
}
body[data-studio-game="neon-heist"] .entry-symbol{
  background-image:url('/neon-heist-symbols-v2.webp');
}
body[data-studio-game="neon-heist"] .hud{margin:12px 0 11px}
body[data-studio-game="neon-heist"] .stat{
  padding:10px 13px;border:1px solid #6f4252;
  background:linear-gradient(150deg,rgba(46,22,37,.92),rgba(17,12,23,.92));
}
body[data-studio-game="neon-heist"] .actions{gap:11px}
body[data-studio-game="neon-heist"] .spin-main{
  border:2px solid #ffcaa8;box-shadow:0 0 0 5px #190c1eb8,0 0 32px #f2345d7d;
}
body[data-studio-game="neon-heist"] .history{display:none}
body[data-studio-game="neon-heist"] .scene-credits{justify-content:space-between}

/* BLACKOUT RUN: electrical sabotage, not generic casino wealth. */
body[data-studio-game="blackout-run"] .game{
  width:min(1140px,100%);padding:18px 21px;
  background:linear-gradient(130deg,#120b1ae9,#080a12e9);
  border-color:#ae649b;box-shadow:var(--cinematic-glow),0 0 45px #9d379144;
}
body[data-studio-game="blackout-run"] .logo{
  font-size:clamp(34px,4.5vw,59px);line-height:1;
  text-shadow:3px 4px #4e1c4e,0 0 36px #f01e8366;
}
body[data-studio-game="blackout-run"] .playfield{
  grid-template-columns:minmax(0,1fr) 202px;gap:15px;
}
body[data-studio-game="blackout-run"] .reel-frame{
  border-color:#b74c9c;padding:9px;background:linear-gradient(145deg,#39173e,#0d0c18);
  box-shadow:inset 0 0 30px #000c,0 0 26px #c42ca64d;
}
body[data-studio-game="blackout-run"] .symbol{
  background-image:url('/blackout-symbols-v2.webp');
  background-size:300% 200%;border-color:#6a3b69;
  box-shadow:inset 0 0 15px #0009,0 2px 5px #0008;
}
body[data-studio-game="blackout-run"] .panel{
  background:linear-gradient(150deg,#21122ce8,#0f0b1be8);
  border-color:#89518a;
}
body[data-studio-game="blackout-run"] .side > .panel:nth-child(3){display:none}
body[data-studio-game="blackout-run"] .controls{
  background:rgba(16,10,23,.58);border:1px solid #6b3b6b;
  border-radius:14px;margin-top:13px;padding:11px;
}
body[data-studio-game="blackout-run"] .spin{
  border:2px solid #ffd5e6;box-shadow:0 0 0 4px #140b1bbd,0 0 28px #f533a57d;
}
body[data-studio-game="blackout-run"] .game:before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  border-radius:21px;box-shadow:inset 0 1px rgba(255,160,223,.22);
}

/* NIGHTSHIFT: preserve the photoreal props; make the vault controls tactile. */
body[data-studio-game="nightshift-vault"] .wrap{
  width:min(1350px,96%);grid-template-columns:minmax(0,1fr) 250px;
  gap:17px;padding:12px 0 36px;
}
body[data-studio-game="nightshift-vault"] .machine{
  max-width:930px;border:1px solid #a26d7c;
  padding:13px;background:linear-gradient(145deg,#150d18f0,#080811f0);
  box-shadow:0 0 0 5px #080910c7,0 25px 70px #000c,
    0 0 45px #ec365344,inset 0 1px #ffe5bb45;
}
body[data-studio-game="nightshift-vault"] .reels{gap:6px}
body[data-studio-game="nightshift-vault"] .symbol{
  border-color:#76515f;background:radial-gradient(ellipse at 50% 20%,#3c2230aa,#0b0912 70%);
  box-shadow:inset 0 0 18px #000c,0 3px 6px #0009;
}
body[data-studio-game="nightshift-vault"] .reels .symbol{
  background-image:url('/nightshift-symbols-v2.webp');
  background-size:400% 200%;background-position:var(--sprite-x) var(--sprite-y);
  background-repeat:no-repeat;
}
body[data-studio-game="nightshift-vault"] .symbol:after{
  background:linear-gradient(155deg,#ffe8dd16,transparent 32%,transparent 76%,#0008);
}
body[data-studio-game="nightshift-vault"] .panel{
  padding:17px 15px;background:linear-gradient(145deg,#211520f2,#090911ed);
  border-color:#8b5869;box-shadow:0 20px 60px #000b,inset 0 1px #ffedca1f;
}
body[data-studio-game="nightshift-vault"] .panel h2{
  color:#eac3b5;font-size:12px;letter-spacing:.19em;margin-bottom:14px;
}
body[data-studio-game="nightshift-vault"] .mode button,
body[data-studio-game="nightshift-vault"] .ghost{
  border-color:#775363;background:linear-gradient(#2a1b2a,#140f1a);
  border-radius:9px;min-height:40px;
}
body[data-studio-game="nightshift-vault"] .btn{
  background:linear-gradient(110deg,#ed3655,#a32263);
  border:1px solid #ffafc0;border-radius:10px;min-height:50px;
  box-shadow:0 0 27px #ed295750;
}
body[data-studio-game="nightshift-vault"] .title{
  font-size:clamp(38px,4.9vw,62px);letter-spacing:.11em;
  text-shadow:0 0 31px #ed37507a;
}
body[data-studio-game="nightshift-vault"] .mini{
  border-top:1px solid #604553;padding-top:10px;color:#aa95a6;
}

@media(max-width:900px){
  body[data-studio-game="neon-heist"] .shell{padding:10px}
  body[data-studio-game="neon-heist"] .casino-scene{padding:10px}
  body[data-studio-game="blackout-run"] .game{padding:12px}
  body[data-studio-game="blackout-run"] .playfield{grid-template-columns:minmax(0,1fr) 150px;gap:9px}
  body[data-studio-game="nightshift-vault"] .wrap{grid-template-columns:1fr;gap:17px}
  body[data-studio-game="nightshift-vault"] .panel{width:100%;max-width:930px;margin:0 auto}
}
@media(max-width:680px){
  body[data-studio-game="neon-heist"] .game-heading h1{font-size:clamp(32px,9vw,53px)}
  body[data-studio-game="neon-heist"] .casino-scene .game{padding:8px}
  body[data-studio-game="neon-heist"] .grid{gap:3px;padding:5px}
  body[data-studio-game="blackout-run"] .playfield{grid-template-columns:1fr}
  body[data-studio-game="blackout-run"] .side{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body[data-studio-game="blackout-run"] .side > .panel:nth-child(3){display:none}
  body[data-studio-game="blackout-run"] .controls{padding:8px}
  body[data-studio-game="nightshift-vault"] .machine{padding:7px}
  body[data-studio-game="nightshift-vault"] .reels{gap:3px}
}
@media(prefers-reduced-motion:reduce){
  body[data-studio-game] .tile,
  body[data-studio-game] .symbol{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
