*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:#fff;background:#000 url("assets/casino-background.png") center center/cover fixed no-repeat;}
body:before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.22);pointer-events:none;z-index:-1;}
a{color:inherit}
button{font-family:inherit}

.craps-page{width:min(1840px,98.5vw);margin:0 auto;padding:14px 8px 34px;}
.craps-slimbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,rgba(10,10,10,.96),rgba(0,0,0,.84));border:1px solid rgba(255,215,0,.70);box-shadow:0 0 22px rgba(255,20,147,.35),inset 0 0 18px rgba(255,215,0,.08);border-radius:16px;padding:10px 14px;margin:12px auto 12px;}
.craps-logo-lockup{min-width:210px;text-transform:uppercase;line-height:.9;text-shadow:0 2px 2px #000,0 0 12px rgba(255,215,0,.45)}
.craps-logo-main{font-size:28px;font-weight:1000;color:#fff0b8;letter-spacing:.04em;}
.craps-logo-sub{font-size:15px;font-weight:1000;color:#ff1493;letter-spacing:.08em;margin-top:5px;}
.craps-slim-stats{flex:1;display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:8px;}
.slim-stat{background:#050505;border:1px solid rgba(255,215,0,.78);border-radius:12px;text-align:center;padding:7px 10px;min-height:58px;box-shadow:inset 0 0 14px rgba(255,215,0,.08)}
.slim-stat span{display:block;color:#ffc4e9;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;}
.slim-stat strong{display:block;color:#fff3d7;font-size:22px;line-height:1.35;text-shadow:0 0 10px rgba(255,215,0,.42);}
.slim-stat.bonus strong{font-size:16px;color:#ff1493;padding-top:5px;}

.craps-stage{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:12px;align-items:start;}
.craps-felt-panel{background:rgba(0,0,0,.56);border:1px solid rgba(255,215,0,.55);border-radius:20px;padding:8px;box-shadow:0 0 28px rgba(0,0,0,.75),0 0 18px rgba(255,20,147,.18)}
.craps-table-wrap{position:relative;width:100%;aspect-ratio:1714/918;border-radius:16px;overflow:hidden;background:#053518;box-shadow:inset 0 0 28px #000;}
.craps-felt-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}

.bet-zone{position:absolute;border:1px solid transparent;background:transparent;color:transparent;padding:0;cursor:pointer;border-radius:10px;z-index:4;transition:.16s ease;}
.bet-zone span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:0;color:#fff;font-weight:1000;font-size:12px;text-transform:uppercase;letter-spacing:.04em;text-shadow:0 2px 3px #000;white-space:nowrap;pointer-events:none;}
.bet-zone b{position:absolute;right:8px;top:8px;min-width:42px;min-height:42px;border-radius:50%;display:none;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 25%,#fff,#ff1493 38%,#94005d 70%,#210014);border:3px dashed #fff;color:#fff;font-size:13px;font-weight:1000;text-shadow:0 2px 2px #000;box-shadow:0 0 12px rgba(255,20,147,.8);}
.bet-zone:hover,.bet-zone:focus-visible{outline:none;border-color:#ff1493;background:rgba(255,20,147,.18);box-shadow:inset 0 0 22px rgba(255,20,147,.35),0 0 18px rgba(255,20,147,.65);}
.bet-zone:hover span,.bet-zone:focus-visible span{opacity:1;}
.bet-zone.has-bet{background:rgba(255,20,147,.08);box-shadow:inset 0 0 16px rgba(255,20,147,.24)}
.bet-zone.has-bet b{display:flex;}

/* Felt mapping based on black/pink 1714x918 craps_final.png */
.pass-left{left:1.2%;top:73.2%;width:36.2%;height:10.0%;}
.dont-left{left:13.3%;top:61.7%;width:24.0%;height:11.4%;}
.come-left{left:13.4%;top:22.8%;width:24.0%;height:20.4%;}
.dontcome-left{left:1.2%;top:3.2%;width:7.0%;height:39.8%;}
.field-left{left:13.3%;top:43.2%;width:24.0%;height:18.3%;}

.pass-right{left:60.6%;top:73.2%;width:36.8%;height:10.0%;}
.dont-right{left:60.6%;top:61.7%;width:23.7%;height:11.4%;}
.come-right{left:60.7%;top:22.8%;width:24.0%;height:20.4%;}
.dontcome-right{left:90.4%;top:3.2%;width:6.7%;height:39.8%;}
.field-right{left:60.6%;top:43.2%;width:24.0%;height:18.3%;}

.place4{left:20.7%;top:84.2%;width:9.0%;height:10.2%;}
.place5{left:29.7%;top:84.2%;width:8.9%;height:10.2%;}
.place6{left:38.6%;top:84.2%;width:9.3%;height:10.2%;}
.place8{left:47.9%;top:84.2%;width:9.4%;height:10.2%;}
.place9{left:57.3%;top:84.2%;width:9.0%;height:10.2%;}
.place10{left:66.3%;top:84.2%;width:9.0%;height:10.2%;}

.top4{left:8.3%;top:3.4%;width:7.0%;height:19.2%;}
.top5{left:15.3%;top:3.4%;width:7.3%;height:19.2%;}
.top6{left:22.6%;top:3.4%;width:7.1%;height:19.2%;}
.top8{left:29.7%;top:3.4%;width:7.1%;height:19.2%;}
.top9{left:36.8%;top:3.4%;width:7.1%;height:19.2%;}
.top10{left:43.9%;top:3.4%;width:7.1%;height:19.2%;}

.topnum{z-index:7;}
.top4r{left:52.2%;top:3.4%;width:7.0%;height:19.2%;}
.top5r{left:59.2%;top:3.4%;width:7.3%;height:19.2%;}
.top6r{left:66.5%;top:3.4%;width:7.1%;height:19.2%;}
.top8r{left:73.6%;top:3.4%;width:7.1%;height:19.2%;}
.top9r{left:80.7%;top:3.4%;width:7.1%;height:19.2%;}
.top10r{left:87.8%;top:3.4%;width:7.1%;height:19.2%;}


.hardways{left:37.5%;top:22.8%;width:23.2%;height:5.0%;}
.hard6{left:37.7%;top:27.8%;width:11.4%;height:9.0%;}
.hard4{left:49.1%;top:27.8%;width:11.4%;height:9.0%;}
.hard10{left:37.7%;top:36.8%;width:11.4%;height:9.0%;}
.hard8{left:49.1%;top:36.8%;width:11.4%;height:9.0%;}
.any7{left:37.7%;top:46.0%;width:7.6%;height:10.5%;}
.hard2{left:45.3%;top:46.0%;width:7.6%;height:10.5%;}
.hard12{left:52.9%;top:46.0%;width:7.6%;height:10.5%;}
.yo-left{left:37.7%;top:56.6%;width:11.4%;height:12.8%;}
.yo-right{left:49.1%;top:56.6%;width:11.4%;height:12.8%;}
.anycraps{left:37.7%;top:69.4%;width:22.8%;height:8.8%;}
.big6{left:1.2%;top:43.2%;width:12.0%;height:29.8%;}
.big8{left:87.8%;top:43.2%;width:10.0%;height:29.8%;}

.point-puck{position:absolute;left:50%;top:12.0%;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 25%,#fff,#111 38%,#000 75%);border:3px solid #f5f5f5;color:#fff;font-size:18px;font-weight:1000;z-index:6;box-shadow:0 0 16px rgba(0,0,0,.75),0 0 12px rgba(255,215,0,.35);}
.point-puck.off{background:radial-gradient(circle at 35% 25%,#fff,#ff1493 38%,#74004d 75%);border-color:#ffb6e6;color:#fff;}
.table-dice-stage{display:none!important;}
.table-die-img{display:none!important;}
.table-die-img.rolling{animation:none;}
.center-roll-btn{display:none!important;}
.center-roll-btn:hover{display:none!important;}

.craps-console{display:flex;flex-direction:column;gap:10px;position:relative;z-index:60;}
.console-card{background:linear-gradient(180deg,rgba(7,7,7,.96),rgba(0,0,0,.88));border:1px solid rgba(255,215,0,.68);border-radius:15px;padding:12px;box-shadow:0 0 16px rgba(0,0,0,.72),inset 0 0 12px rgba(255,20,147,.10)}
.console-card h2{margin:0 0 9px;color:#ff1493;text-transform:uppercase;font-size:16px;letter-spacing:.07em;text-align:center;}
.dealer-call{min-height:58px;color:#fff3d7;font-size:17px;line-height:1.35;text-align:center;font-weight:800;text-shadow:0 0 8px rgba(255,215,0,.25)}
.dice-box{display:flex;justify-content:center;gap:10px;margin:8px 0;}
.die-img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 5px 10px #000);}
.die-img.rolling{animation:diceTumble .14s linear infinite;}
.dice-total{text-align:center;color:#ffd700;font-weight:1000;font-size:18px;margin:5px 0 10px;}
.roll-btn{width:100%;border:2px solid rgba(255,210,245,.9);border-radius:12px;background:linear-gradient(180deg,#ff69c8,#ff1493 48%,#70004f);box-shadow:0 0 16px rgba(255,20,147,.8);color:#fff;padding:12px 14px;font-size:17px;font-weight:1000;text-transform:uppercase;text-shadow:0 2px 3px #000;cursor:pointer;}
.roll-btn:hover{filter:brightness(1.15)}
.roll-btn:disabled{opacity:.55;cursor:not-allowed;}
.live-wins,.roll-history{display:flex;flex-direction:column;gap:7px;max-height:220px;min-height:96px;overflow:auto;padding-right:2px;}
.live-item,.history-item{background:rgba(255,255,255,.05);border-left:3px solid #ff1493;border-radius:8px;padding:7px 8px;font-size:13px;line-height:1.28;color:#fff;}
.live-item strong{color:#ffd700;}

.chip-rack{display:flex;align-items:center;justify-content:center;gap:12px;width:min(900px,58vw);margin:-82px auto 8px;padding:8px 12px;background:linear-gradient(180deg,rgba(12,8,4,.96),rgba(0,0,0,.90));border:1px solid rgba(255,215,0,.66);border-radius:18px;box-shadow:0 0 22px rgba(0,0,0,.74),inset 0 0 18px rgba(255,215,0,.08);position:relative;z-index:40;}
.chips{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;}
.chip{width:58px;height:58px;border-radius:50%;border:5px dashed #fff;color:#fff;font-size:17px;font-weight:1000;text-shadow:0 2px 2px #000;box-shadow:0 5px 12px #000;cursor:pointer;transition:.16s ease;}
.chip:hover,.chip.active{transform:translateY(-4px) scale(1.07);box-shadow:0 0 18px rgba(255,20,147,.9),0 8px 14px #000;}
.chip10{background:radial-gradient(circle at 35% 25%,#b9ffc6,#128233 45%,#043b14 75%)}
.chip25{background:radial-gradient(circle at 35% 25%,#fff4c7,#ffb300 45%,#7a5200 75%)}
.chip50{background:radial-gradient(circle at 35% 25%,#eee,#111 45%,#000 75%)}
.chip100{background:radial-gradient(circle at 35% 25%,#ffd5f0,#ff1493 45%,#810056 75%)}
.chip500{background:radial-gradient(circle at 35% 25%,#fff4c7,#ffb300 45%,#916300 75%)}
.chip1000{background:radial-gradient(circle at 35% 25%,#efc6ff,#7d1bbf 45%,#310055 75%)}
.chip5000{background:radial-gradient(circle at 35% 25%,#ffc6c6,#d50000 45%,#640000 75%)}
.chip10000{background:radial-gradient(circle at 35% 25%,#fff,#9b7b17 45%,#1b1300 75%)}
.utility-btn,.vault-link{border:1px solid rgba(255,215,0,.85);border-radius:12px;background:linear-gradient(180deg,#222,#050505);color:#fff!important;text-decoration:none;padding:12px 16px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;box-shadow:0 0 10px rgba(255,215,0,.18);}
.utility-btn:hover,.vault-link:hover{background:#ff1493;color:#fff!important;}
.game-message-wrap{margin:8px auto 12px;text-align:center;position:relative;z-index:40;}
.game-message{display:inline-block;max-width:560px;background:rgba(0,0,0,.80);border:1px solid rgba(255,20,147,.55);border-radius:14px;padding:10px 16px;color:#fff;font-size:16px;font-weight:800;box-shadow:0 0 14px rgba(255,20,147,.22);}
.responsible-block{max-width:940px;margin:18px auto 0;padding:16px 18px;background:rgba(0,0,0,.84);border:1px solid rgba(255,20,147,.45);border-radius:16px;text-align:center;}
.responsible-block img{display:block;width:100%;max-width:420px;height:auto;margin:0 auto 12px;border-radius:10px;}
.responsible-block p{margin:7px auto;color:#fff;font-size:14px;line-height:1.55;}.responsible-block strong{color:#ff1493}

.rules-popup{display:none;position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:999999;align-items:center;justify-content:center;padding:20px;}
.rules-popup.show{display:flex}.rules-card{position:relative;max-width:780px;width:100%;background:#050505;border:1px solid rgba(255,20,147,.7);border-radius:20px;padding:28px;color:#fff;box-shadow:0 0 28px rgba(255,20,147,.45)}.rules-card h2{margin-top:0;color:#ff1493;text-transform:uppercase}.rules-card li{margin-bottom:8px;line-height:1.5}.rules-close{position:absolute;right:14px;top:12px;border:1px solid #ffd700;background:#000;color:#fff;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer}

@keyframes diceTumble{0%{transform:rotate(0deg) translate(0,0)}50%{transform:rotate(18deg) translate(2px,-3px)}100%{transform:rotate(-18deg) translate(-2px,3px)}}

@media(max-width:1200px){.chip-rack{width:min(860px,88vw);margin:10px auto 8px}.craps-stage{grid-template-columns:1fr}.craps-console{display:grid;grid-template-columns:repeat(2,1fr)}.craps-slimbar{flex-direction:column;align-items:stretch}.craps-logo-lockup{text-align:center}.craps-slim-stats{grid-template-columns:repeat(5,1fr);min-width:0}.craps-table-wrap{aspect-ratio:1714/918}.table-die-img{display:none!important;}.center-roll-btn{display:none!important;}.point-puck{width:58px;height:58px;font-size:15px}.chip{width:60px;height:60px;font-size:17px}}
@media(max-width:760px){.chip-rack{width:96vw;margin:8px auto 6px}.craps-page{width:100%;padding:10px 5px 28px}.craps-slim-stats{grid-template-columns:repeat(2,1fr)}.slim-stat.bonus{grid-column:span 2}.craps-felt-panel{padding:4px;border-radius:12px;overflow:auto}.craps-table-wrap{width:980px;max-width:none}.craps-console{grid-template-columns:1fr}.chip-rack{flex-direction:column}.chips{gap:8px}.chip{width:54px;height:54px;font-size:15px}.utility-btn,.vault-link{width:100%;text-align:center}.game-message{font-size:15px}.responsible-block img{max-width:320px}}

/* Final stability fixes */
.point-puck{display:flex!important;visibility:visible!important;opacity:1!important;z-index:20!important;}
.bet-zone{touch-action:manipulation;}


/* FINAL MANUAL LAYOUT FIX - chip rack compact, centered, not covering felt */
.chip-rack{
  width:min(760px,72vw) !important;
  max-width:760px !important;
  margin:18px auto 8px !important;
  padding:8px 12px !important;
  gap:8px !important;
}
.chip-rack .chips{
  gap:8px !important;
}
.chip{
  width:56px !important;
  height:56px !important;
  font-size:20px !important;
}
.utility-btn,
.vault-link{
  min-width:100px !important;
  padding:10px 14px !important;
  font-size:14px !important;
}
.game-message-wrap{
  width:min(460px,55vw) !important;
  max-width:460px !important;
  margin:8px auto 12px !important;
}
.game-message{
  width:100% !important;
  max-width:460px !important;
  padding:9px 14px !important;
  font-size:15px !important;
}
.responsible-block{
  margin-top:18px !important;
}

@media(max-width:900px){
  .chip-rack{
    width:92vw !important;
    max-width:92vw !important;
    flex-wrap:wrap !important;
  }
  .game-message-wrap{
    width:86vw !important;
    max-width:86vw !important;
  }
  .chip{
    width:50px !important;
    height:50px !important;
    font-size:18px !important;
  }
}


/* ==========================================================
   MAESTRO LOCK FIX: prevent Roll History / Live Wins growth
   from pushing the chip bar and lower layout down.
   ========================================================== */
.craps-stage{
  align-items:start !important;
}

.craps-console{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  position:relative !important;
  z-index:60 !important;
  height:650px !important;
  max-height:650px !important;
  overflow:hidden !important;
}

.craps-console .console-card{
  flex:0 0 auto !important;
  overflow:hidden !important;
}

.craps-console .dealer-card{
  min-height:96px !important;
  max-height:112px !important;
}

.craps-console .dice-card{
  min-height:190px !important;
  max-height:210px !important;
}

.live-wins{
  height:150px !important;
  min-height:150px !important;
  max-height:150px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:4px !important;
}

.roll-history{
  height:158px !important;
  min-height:158px !important;
  max-height:158px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:4px !important;
}

.live-item,
.history-item{
  flex:0 0 auto !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}

/* Keep lower controls from being affected by sidebar content */
.chip-rack{
  width:min(760px,72vw) !important;
  max-width:760px !important;
  margin:18px auto 8px !important;
  padding:8px 12px !important;
  gap:8px !important;
  position:relative !important;
  z-index:40 !important;
}

.game-message-wrap{
  width:min(460px,55vw) !important;
  max-width:460px !important;
  margin:8px auto 12px !important;
  position:relative !important;
  z-index:40 !important;
}

.game-message{
  width:100% !important;
  max-width:460px !important;
  padding:9px 14px !important;
  font-size:15px !important;
}

/* Mobile/tablet: stack naturally, but still prevent runaway history */
@media(max-width:1200px){
  .craps-console{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
  }
  .live-wins,
  .roll-history{
    height:145px !important;
    min-height:145px !important;
    max-height:145px !important;
  }
}

@media(max-width:720px){
  .craps-console{
    grid-template-columns:1fr !important;
  }
  .chip-rack{
    width:92vw !important;
    max-width:92vw !important;
    flex-wrap:wrap !important;
  }
  .game-message-wrap{
    width:86vw !important;
    max-width:86vw !important;
  }
}


/* === BLING CRAPS AUDIO / RADIO / WIN FX POLISH === */
.bling-radio{
  position:fixed !important;
  right:14px !important;
  bottom:72px !important;
  left:auto !important;
  top:auto !important;
  z-index:999999 !important;
  width:260px !important;
  max-width:calc(100vw - 28px) !important;
  max-height:360px !important;
  overflow:auto !important;
  border-radius:16px !important;
  transform-origin:bottom right !important;
  box-shadow:0 0 18px rgba(255,46,196,.85),0 0 28px rgba(255,215,0,.30) !important;
}
.bling-radio .bling-radio-help-sign{font-size:11px !important;line-height:1.2 !important;padding:7px 8px !important;}
.bling-radio .bling-radio-logo{max-width:82px !important;margin:7px auto !important;display:block !important;}
.bling-radio h3{font-size:15px !important;margin:4px 0 !important;}
.bling-radio-screen{padding:8px !important;}
.bling-radio-screen strong{font-size:13px !important;}
.bling-radio-controls button{padding:7px 9px !important;font-size:12px !important;}
.bling-radio-select{font-size:12px !important;padding:7px !important;}
.bling-radio-list{max-height:105px !important;font-size:12px !important;}
.bling-radio.bling-radio-hidden{opacity:0 !important;visibility:hidden !important;pointer-events:none !important;transform:translateY(18px) scale(.88) !important;}
.bling-radio-close{position:absolute !important;top:6px !important;right:6px !important;width:28px !important;height:28px !important;border-radius:50% !important;border:1px solid #ffd700 !important;background:#050505 !important;color:#fff !important;font-size:22px !important;line-height:22px !important;font-weight:900 !important;cursor:pointer !important;z-index:5 !important;}
.bling-radio-float-btn{position:fixed !important;right:14px !important;bottom:14px !important;z-index:1000000 !important;border:1px solid #ffd700 !important;border-radius:999px !important;padding:10px 15px !important;background:linear-gradient(180deg,#ff7bd7,#ff1493 50%,#79004f) !important;color:#fff !important;font-size:14px !important;font-weight:1000 !important;letter-spacing:.06em !important;cursor:pointer !important;box-shadow:0 0 16px rgba(255,20,147,.9),0 0 24px rgba(255,215,0,.38) !important;text-shadow:0 2px 2px #000 !important;}
.bling-radio-float-btn.is-playing::after{content:" LIVE";color:#00ff66;text-shadow:0 0 8px #00ff66;}
.craps-win-flash{animation:crapsWinFlash .8s ease both;}
@keyframes crapsWinFlash{0%{filter:brightness(1)}35%{filter:brightness(1.32) saturate(1.3);box-shadow:0 0 38px rgba(255,20,147,.85),0 0 50px rgba(255,215,0,.45)}100%{filter:brightness(1)}}
.craps-confetti-piece{position:fixed;top:-18px;z-index:1000001;width:9px;height:14px;border-radius:2px;pointer-events:none;animation:crapsConfettiFall 1.65s linear forwards;box-shadow:0 0 7px rgba(255,255,255,.45)}
@keyframes crapsConfettiFall{0%{transform:translate3d(0,0,0) rotate(0deg);opacity:1}100%{transform:translate3d(var(--drift),105vh,0) rotate(720deg);opacity:0}}
.craps-cha-banner{position:fixed;left:50%;top:28%;transform:translate(-50%,-50%) scale(.88);z-index:1000002;padding:16px 28px;border-radius:18px;border:2px solid rgba(255,215,0,.9);background:linear-gradient(180deg,rgba(255,20,147,.96),rgba(112,0,78,.96));color:#fff;font-weight:1000;text-align:center;text-transform:uppercase;letter-spacing:.06em;text-shadow:0 3px 3px #000;box-shadow:0 0 28px rgba(255,20,147,.95),0 0 42px rgba(255,215,0,.5);animation:crapsChaPop 1.4s ease forwards;pointer-events:none;}
.craps-cha-banner strong{display:block;color:#ffd700;font-size:28px;line-height:1.05;}
.craps-cha-banner span{display:block;font-size:15px;margin-top:5px;}
@keyframes crapsChaPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.55)}16%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}72%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-70%) scale(.9)}}
@media(max-width:720px){.bling-radio{width:230px !important;max-height:310px !important;right:10px !important;bottom:66px !important}.bling-radio-float-btn{right:10px !important;bottom:10px !important}.craps-cha-banner{width:86vw;padding:14px 18px}.craps-cha-banner strong{font-size:22px}}


/* === UNIVERSAL LIVE WINS + CHAT LOCKED PANELS === */
.live-wins{height:138px !important;max-height:138px !important;min-height:138px !important;overflow-y:auto !important;}
.roll-history{height:150px !important;max-height:150px !important;min-height:150px !important;overflow-y:auto !important;}
.bling-universal-chat-card{min-height:178px;}
.bling-universal-chat-messages{height:110px;max-height:110px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding-right:2px;}
.bling-chat-message{background:rgba(255,255,255,.055);border-left:3px solid #ffd700;border-radius:8px;padding:7px 8px;font-size:12.5px;line-height:1.25;color:#fff;}
.bling-chat-message strong{color:#ff69b4;}
.bling-universal-chat-form{display:flex;gap:6px;margin-top:8px;}
.bling-universal-chat-form input{flex:1;min-width:0;border:1px solid rgba(255,20,147,.55);border-radius:10px;background:#080008;color:#fff;padding:9px 10px;font-size:13px;outline:none;}
.bling-universal-chat-form input:focus{border-color:#ffd700;box-shadow:0 0 12px rgba(255,20,147,.45);}
.bling-universal-chat-form button{border:1px solid #ffd700;border-radius:10px;background:linear-gradient(180deg,#ff69b4,#ff1493 52%,#7a004f);color:#fff;font-weight:1000;text-transform:uppercase;padding:8px 10px;cursor:pointer;text-shadow:0 2px 2px #000;}
.bling-universal-chat-form button:hover{filter:brightness(1.12);}


/* === FINAL UNIVERSAL CHAT VISIBILITY FIX ===
   Chat is locked directly under Roll History and cannot be clipped. */
.craps-console{
  height:720px !important;
  max-height:720px !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
}
.craps-console .console-card{
  box-sizing:border-box !important;
  flex:0 0 auto !important;
  overflow:hidden !important;
  padding:9px !important;
}
.craps-console .dealer-card{height:78px !important;min-height:78px !important;max-height:78px !important;}
.craps-console .dice-card{height:158px !important;min-height:158px !important;max-height:158px !important;}
.craps-console .bling-live-wins{height:126px !important;min-height:126px !important;max-height:126px !important;}
.craps-console .roll-history-card{height:126px !important;min-height:126px !important;max-height:126px !important;}
.craps-console .bling-live-chat{height:192px !important;min-height:192px !important;max-height:192px !important;display:block !important;visibility:visible !important;opacity:1 !important;}
#blingLiveWinsList{height:82px !important;max-height:82px !important;min-height:82px !important;overflow-y:auto !important;overflow-x:hidden !important;display:block !important;}
#rollHistory{height:82px !important;max-height:82px !important;min-height:82px !important;overflow-y:auto !important;overflow-x:hidden !important;display:block !important;}
#blingLiveChatMessages{height:104px !important;max-height:104px !important;min-height:104px !important;overflow-y:auto !important;overflow-x:hidden !important;display:block !important;}
.bling-chat-form{display:flex !important;gap:6px !important;margin-top:7px !important;}
.bling-chat-form input{flex:1 1 auto !important;min-width:0 !important;}
.bling-chat-form button{flex:0 0 auto !important;}
@media(max-width:1200px){
  .craps-console{height:auto !important;max-height:none !important;overflow:visible !important;display:grid !important;grid-template-columns:repeat(2,1fr) !important;}
  .craps-console .dealer-card,.craps-console .dice-card,.craps-console .bling-live-wins,.craps-console .roll-history-card,.craps-console .bling-live-chat{height:auto !important;min-height:0 !important;max-height:none !important;}
  #blingLiveWinsList,#rollHistory,#blingLiveChatMessages{height:120px !important;max-height:120px !important;min-height:120px !important;}
}
@media(max-width:720px){.craps-console{grid-template-columns:1fr !important;}}


/* === MAESTRO FINAL UPGRADES: right stack down, stats, dice motion, spacing === */
@media(min-width:1201px){
  .craps-console{height:790px !important;max-height:790px !important;}
  .craps-console .session-stats-card{height:98px !important;min-height:98px !important;max-height:98px !important;}
  .craps-console .bling-live-wins{margin-top:48px !important;}
}
.session-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;}
.session-stats-grid div{background:rgba(255,255,255,.055);border:1px solid rgba(255,20,147,.25);border-radius:10px;padding:6px 7px;text-align:center;}
.session-stats-grid span{display:block;color:#ffd700;font-size:10px;font-weight:900;text-transform:uppercase;line-height:1.1;}
.session-stats-grid strong{display:block;color:#fff;font-size:14px;font-weight:1000;margin-top:2px;}
.bling-win-row b::after{content:" ";}
.bling-win-row span{display:inline !important;}
.die-img.rolling,.table-die-img.rolling{animation:diceRealTumble .09s linear infinite !important;filter:drop-shadow(0 0 12px rgba(255,20,147,.9)) drop-shadow(0 0 8px rgba(255,215,0,.65));}
@keyframes diceRealTumble{
  0%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}
  25%{transform:translate3d(5px,-8px,0) rotate(80deg) scale(1.06)}
  50%{transform:translate3d(-5px,5px,0) rotate(170deg) scale(.98)}
  75%{transform:translate3d(7px,-4px,0) rotate(255deg) scale(1.08)}
  100%{transform:translate3d(0,0,0) rotate(360deg) scale(1)}
}
.craps-coin-burst{position:fixed;left:50%;top:40%;z-index:1000003;pointer-events:none;color:#ffd700;font-weight:1000;text-shadow:0 0 10px #ff1493,0 2px 2px #000;animation:coinBurstFly 1.15s ease-out forwards;}
@keyframes coinBurstFly{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}18%{opacity:1;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1.1)}100%{opacity:0;transform:translate(calc(-50% + var(--x2)),calc(-50% + var(--y2))) scale(.75)}}


/* Maestro move wins/history/chat down 3/4 inch */
.craps-console .console-card:nth-child(3),
.craps-console .console-card:nth-child(4),
.craps-console .console-card:nth-child(5){position:relative; top:72px;}

/* === FINAL RIGHT CONSOLE EXPANSION FIX ===
   Expands the Dice / Roll Dice card so the button is fully visible,
   keeps Live Wins, Roll History, and Chat pushed down together,
   and prevents clipping inside the right-side console. */
@media (min-width:1201px){
  .craps-console{
    height:900px !important;
    max-height:900px !important;
    overflow:visible !important;
  }
  .craps-console .dice-card{
    height:230px !important;
    min-height:230px !important;
    max-height:230px !important;
    overflow:visible !important;
    padding:12px !important;
  }
  .craps-console .dice-box{
    margin:8px 0 6px !important;
  }
  .craps-console .die-img{
    width:64px !important;
    height:64px !important;
  }
  .craps-console .dice-total{
    margin:6px 0 10px !important;
    font-size:18px !important;
  }
  .craps-console .roll-btn{
    display:block !important;
    width:100% !important;
    min-height:50px !important;
    padding:12px 14px !important;
    margin-top:6px !important;
    line-height:1.1 !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  .craps-console .console-card:nth-child(3),
  .craps-console .console-card:nth-child(4),
  .craps-console .console-card:nth-child(5){
    position:relative !important;
    top:72px !important;
  }
}
