.roulette-wrap{
  max-width:640px;
}

.entry-panel{
  margin-top:40px;
  padding:34px 30px;
  background:linear-gradient(180deg, rgba(63,242,255,0.06), rgba(255,255,255,0.02));
  border:1px solid rgba(63,242,255,0.18);
  border-radius:8px;
  text-align:left;
}

.field-label{
  display:block;
  font-family:'Orbitron',sans-serif;
  font-size:11px;
  letter-spacing:.25em;
  color:var(--cyan-dim);
  margin-bottom:10px;
}

.meso-section{
  text-align:center;
  margin-bottom:8px;
}
.meso-section .field-label{
  text-align:center;
}

.meso-amount{
  font-family:'Orbitron',sans-serif;
  font-weight:700;
  font-size:clamp(20px,5.5vw,28px);
  color:var(--cyan);
  text-shadow:0 0 16px rgba(63,242,255,0.6);
  margin-bottom:22px;
  letter-spacing:.02em;
  white-space:nowrap;
  overflow-x:auto;
}

.balance-hint{
  font-size:12px;
  color:var(--text-dim,#8a99a8);
  margin-top:-14px;
  margin-bottom:18px;
  letter-spacing:.02em;
}

.meso-buttons{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.meso-btn{
  flex:1 1 auto;
  min-width:110px;
  padding:13px 14px;
  font-size:12px;
}

.bet-clear-btn{
  display:block;
  width:100%;
  margin-top:12px;
}

.create-row{
  margin-top:22px;
}

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(2,4,10,0.85);
  backdrop-filter:blur(4px);
}
.modal-box{
  width:100%;
  max-width:420px;
  margin-top:0;
  max-height:90vh;
  overflow-y:auto;
}

/* ---------- 릴 보드 ---------- */
.game-message{
  min-height:24px;
  text-align:center;
  font-family:'Orbitron',sans-serif;
  font-size:14px;
  letter-spacing:.1em;
  color:var(--cyan);
  margin-top:30px;
  margin-bottom:22px;
}

.reels-board{
  display:flex;
  justify-content:center;
  gap:14px;
  margin:0 auto;
}
.reel{
  width:80px;
  height:90px;
  overflow:hidden;
  border-radius:10px;
  background-color:rgba(255,255,255,0.05);
  border:1px solid rgba(63,242,255,0.25);
  box-shadow:0 0 20px rgba(63,242,255,0.1);
}
.reel-strip{
  display:flex;
  flex-direction:column;
  will-change:transform;
}
.reel-cell{
  width:80px;
  height:90px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  font-weight:900;
}
.reel-cell.black{ color:#e8e8f0; }
.reel-cell.red{ color:#ff5f7e; }

.payout-table{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-top:24px;
  flex-wrap:wrap;
}
.payout-item{
  display:flex;
  align-items:center;
  gap:6px;
  font-family:'Orbitron',sans-serif;
  font-size:12px;
  color:#8fb6c9;
}
.payout-item span{
  font-size:18px;
  font-weight:900;
}
.payout-item.black span{ color:#e8e8f0; }
.payout-item.red span{ color:#ff5f7e; }

.game-result-info{
  text-align:center;
  min-height:24px;
  margin-top:18px;
  font-size:13px;
  color:#8fb6c9;
}
.game-result-info .win{color:var(--success);font-weight:700;}
.game-result-info .lose{color:var(--danger);font-weight:700;}

.bet-open-btn{
  display:block;
  width:100%;
  max-width:320px;
  margin:26px auto 0;
  padding:16px;
}

@media (max-width:480px){
  .entry-panel{padding:26px 20px;}
  .meso-btn{min-width:96px;font-size:11px;padding:12px 10px;}
  .reel{width:66px;height:76px;}
  .reel-cell{width:66px;height:76px;font-size:34px;}
}
