:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; --cell-h: 54px; --cell-font: 28px; --grid-gap: 8px; --grid-pad: 12px; }
body { margin: 0; background: #0b0c10; color: #eaeaea; }
.wrap { max-width: 980px; margin: 0 auto; padding: 18px; }
.top { display:flex; gap:16px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; }
h1 { margin: 0; font-size: 28px; }
.sub { opacity: .75; margin-top: 4px; }

/* ---------- Background glow ---------- */
.bg-glow{
  position: fixed;
  inset: -120px;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255, 105, 180, 0.12), transparent 55%),
    radial-gradient(680px 380px at 80% 15%, rgba(0, 255, 200, 0.10), transparent 52%),
    radial-gradient(760px 520px at 50% 90%, rgba(255, 215, 0, 0.10), transparent 55%);
  filter: blur(0px);
  z-index: 0;
}

main, .wrap, .auth-wrap { position: relative; z-index: 1; }
.hud { display:flex; gap:14px; flex-wrap:wrap; }
.hud > div { background:#12141c; border:1px solid #1f2230; padding:10px 12px; border-radius:12px; min-width:140px; }
.k { display:block; font-size:12px; opacity:.7; }
.v { display:block; font-size:18px; margin-top:4px; }

.hud-wide > div { min-width: 180px; }

/* Allow a HUD item to span the full row in flex layouts */
.hud-full{ flex: 1 1 100%; min-width: 100%; }

/* ---------- Buttons / nav ---------- */
.nav-actions { display:flex; gap:10px; align-items:center; }
.btn, a.btn {
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none;
  background:#12141c; color:#eaeaea; border:1px solid #1f2230; border-radius:12px;
  padding:10px 14px; font-size:14px;
}
.primary, a.primary {
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.22), rgba(255, 215, 0, 0.18));
  border:1px solid rgba(255, 215, 0, 0.28);
  color:#fff;
  border-radius:14px;
  padding:12px 16px;
  font-weight:600;
}
.nav .title h1 { font-size: 26px; }

.controls { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin: 16px 0; }
/* utility */
.nowrap{ white-space:nowrap; }
#last{
  display:inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

input, select, button {
  background:#12141c; color:#eaeaea; border:1px solid #1f2230; border-radius:10px;
  padding:10px 12px; font-size:14px;
}
button { cursor:pointer; }
button:disabled { opacity:.6; cursor:not-allowed; }

/* ---------- Auth page ---------- */
.auth-wrap{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 22px;
}
.auth-card{
  width: min(520px, 100%);
  background: rgba(18, 20, 28, 0.92);
  border: 1px solid #1f2230;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.auth-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 12px; }
.auth-brand{ display:flex; gap:12px; align-items:center; }
.auth-logo{
  width: 46px; height: 46px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.04);
  border: 1px solid #1f2230;
  border-radius: 14px;
  font-size: 24px;
}
.auth-sub{ opacity:.78; margin-top: 4px; }
.auth-disclaimer{
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.9;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}
.alert{
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.30);
  padding: 10px 12px;
  border-radius: 12px;
  margin: 12px 0;
}
.auth-tabs{ display:flex; gap:10px; margin: 10px 0 12px; }
.tab-btn{
  flex:1;
  background:#0f1118;
  border: 1px solid #1f2230;
  color:#eaeaea;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.tab-btn.active{
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.10);
}
.auth-form{ display:grid; gap: 10px; }
.field{ display:grid; gap: 6px; }
.field span{ font-size: 12px; opacity: .8; }
.auth-hint{ opacity: .7; font-size: 12px; margin-top: 4px; }

/* ---------- Menu cards ---------- */
.menu-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.game-card{
  display:flex;
  flex-direction: column;
  gap: 10px;
  background:#12141c;
  border:1px solid #1f2230;
  border-radius: 18px;
  padding: 16px;
}
.game-card.disabled{ opacity: .65; }
.game-emoji{ font-size: 34px; }
.game-meta h2{ margin:0; font-size: 18px; }
.game-meta p{ margin: 6px 0 0; opacity: .75; }
.game-actions{ margin-top: auto; display:flex; justify-content:flex-end; }

.board { display:grid; grid-template-columns: 1fr 280px; gap: 12px; align-items:start; }
.board .result{ grid-column: 1 / -1; }
.sidepanel{ background:#0f1118; border:1px solid #1f2230; border-radius:16px; padding: var(--grid-pad); }
.grid {
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--grid-gap);
  background:#0f1118;
  border:1px solid #1f2230;
  padding: var(--grid-pad);
  border-radius:16px;
  user-select:none;
}

/* --- Reel Rolling (oben -> unten) --- */
.reels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--grid-gap);
  background:#0f1118;
  border:1px solid #1f2230;
  padding: var(--grid-pad);
  border-radius:16px;
}

.reel {
  position: relative;
  overflow: hidden;
  height: calc(var(--cell-h) * 7 + var(--grid-gap) * 6); /* 7 Zellen sichtbar + Gaps */
  border-radius: 14px;
}

.reel-track {
  will-change: transform;
  transform: translate3d(0,0,0);
}

.reel-track .cell {
  margin-bottom: var(--grid-gap); /* wie gap */
}
.reel-track .cell:last-child { margin-bottom: 0; }

/* während Reel-Spin */
.grid.spinning {
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.12);
}
.cell {
  display:flex; align-items:center; justify-content:center;
  background:#12141c; border:1px solid #1f2230; border-radius:14px;
  height: var(--cell-h); font-size: var(--cell-font);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.cell.spin {
  filter: blur(0.35px);
  opacity: 0.92;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.10);
}

.cell.settle {
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.22);
}
.result { background:#12141c; border:1px solid #1f2230; padding: var(--grid-pad); border-radius:14px; }
.msg { min-height: 22px; }

.foot { opacity:.7; margin-top: 14px; font-size: 13px; }

.cell.highlight {
  outline: 2px solid rgba(255, 215, 0, 0.9);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.55);
  transform: scale(1.05);
  transition: transform 120ms ease, box-shadow 120ms ease;
}


/* ---------- Admin table ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background:#0f1118;
  border:1px solid #1f2230;
  border-radius:16px;
  overflow:hidden;
}
.tbl th, .tbl td {
  padding: 10px 12px;
  border-bottom:1px solid #1f2230;
  text-align:left;
  font-size: 14px;
}
.tbl th {
  font-weight: 700;
  opacity: .85;
  background: rgba(255,255,255,0.02);
}
.tbl tr:hover td {
  background: rgba(255, 215, 0, 0.04);
}
.form-inline {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.input {
  background:#12141c;
  border:1px solid #1f2230;
  color:#eaeaea;
  padding:10px 12px;
  border-radius:12px;
  outline:none;
}
.input:focus {
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}
.muted { opacity: .75; }

/* ---------- Dice Duel ---------- */
.boostToggle{ display:flex; gap:10px; align-items:center; }
.boostToggle input{ width: 18px; height: 18px; }

.dice-stage{
  background:#0f1118;
  border:1px solid #1f2230;
  border-radius: 18px;
  padding: 14px;
}
.duel{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items:center;
}
.side{
  background: rgba(18, 20, 28, 0.85);
  border:1px solid #1f2230;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.30);
}
.who{ font-weight: 800; opacity: .90; margin-bottom: 8px; }
.vs{
  font-weight: 900;
  letter-spacing: 0.18em;
  opacity: .65;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.diceRow{ display:flex; gap: 12px; align-items:center; justify-content:center; }
.die{
  width: 84px;
  height: 84px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 20px;
  background: radial-gradient(120px 120px at 30% 25%, rgba(255,255,255,0.12), rgba(255,255,255,0.02) 55%),
              linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(255, 215, 0, 0.06));
  border:1px solid rgba(255, 215, 0, 0.16);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  font-size: 34px;
  user-select:none;
  transform: translateZ(0);
}
.die span{ filter: drop-shadow(0 6px 10px rgba(0,0,0,0.40)); }
.die.rolling{
  animation: shake 0.18s infinite linear;
  border-color: rgba(255, 215, 0, 0.28);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.12), 0 10px 22px rgba(0,0,0,0.35);
}
.die.flash{
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.22), 0 10px 22px rgba(0,0,0,0.35);
  transform: scale(1.04);
}
@keyframes shake {
  0% { transform: rotate(-2deg) translateY(0); }
  25% { transform: rotate(2deg) translateY(-1px); }
  50% { transform: rotate(-1deg) translateY(1px); }
  75% { transform: rotate(3deg) translateY(-1px); }
  100% { transform: rotate(-2deg) translateY(0); }
}

.sumLine{ margin-top: 10px; text-align:center; opacity: .88; }
.badge{
  margin-left: 8px;
  display:inline-flex;
  align-items:center;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid rgba(255, 215, 0, 0.22);
  background: rgba(255, 215, 0, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.resultBar{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:space-between;
  background:#12141c;
  border:1px solid #1f2230;
  border-radius: 14px;
  padding: 10px 12px;
}
.msg.win{ color: #b7ffbf; }
.msg.lose{ color: #ffb7b7; }
.msg.draw{ color: #eaeaea; opacity: .88; }
.delta{ font-weight: 800; }
.delta.pos{ color: #b7ffbf; }
.delta.neg{ color: #ffb7b7; }

@media (max-width: 820px){
  .duel{ grid-template-columns: 1fr; }
  .vs{ text-align:center; }
  .die{ width: 74px; height: 74px; font-size: 30px; }
}

/* ---------- Modal / Popup ---------- */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 50;
}
.modal.show{ display:flex; }
.modal.open{ display:flex; }
.modal-card{
  width: min(520px, calc(100% - 28px));
  background: rgba(18, 20, 28, 0.96);
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}
.modal-title{ font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.modal-text{ opacity: .88; line-height: 1.4; }
.modal-sub{ margin-top: 10px; opacity: .78; font-size: 13px; }


/* --- Sugar Rush Multipliers (2er-Potenzen) --- */
.cell { position: relative; }
.cell .sym { display: block; }
.cell .mul {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
  pointer-events: none;
}
.cell.has-mul {
  box-shadow:
    0 0 0 2px rgba(255, 215, 0, 0.55) inset,
    0 0 18px rgba(255, 215, 0, 0.18);
  transform: translateZ(0);
  animation: mulPulse 1.1s ease-in-out infinite;
}

@keyframes mulPulse {
  0% { filter: brightness(1.0); }
  50% { filter: brightness(1.18); }
  100% { filter: brightness(1.0); }
}


/* --- Toast Popup (z.B. Freispiele verlängert) --- */
.toast{
  position: fixed;
  top: 18px;
  right: 18px;
  display: none;
  z-index: 60;
}
.toast.show{ display:block; }
.toast-card{
  background: rgba(18, 20, 28, 0.96);
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  min-width: 220px;
}
.toast-text{ font-weight: 800; letter-spacing: .2px; }


/* --- Reel Roll Smooth (Symbol falls top->down) --- */
@keyframes rollDownOnce {
  0% { transform: translateY(-18px); opacity: 0.45; filter: blur(0.6px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0px); }
}
.cell .sym.roll {
  display: inline-block;
  animation: rollDownOnce 120ms cubic-bezier(.22, 1, .36, 1);
}



/* ---------- Roulette ---------- */
.roulette-controls{ align-items:stretch; }
.roulette-controls .control{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width: 220px;
}
.roulette-controls .control.actions{
  min-width: 180px;
  justify-content:flex-end;
}
.roulette-controls .control-label{
  font-size: 12px;
  opacity: .82;
  letter-spacing: .2px;
}
.roulette-controls .control-field{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.betSummary{
  font-weight: 700;
  opacity: .92;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.bet-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.bet-config{
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  padding: 12px;
}
.bet-modal{ width: min(620px, 96vw); }
.bet-row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.bet-row .btn.primary{ border-color: rgba(255,215,0,0.35); }

.roulette-stage { margin-top: 10px; }
.roulette-surface{
  background:#0f1118;
  border:1px solid #1f2230;
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.roulette-titleRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.chipBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,215,0,0.10);
  border:1px solid rgba(255,215,0,0.22);
  padding:8px 10px;
  border-radius:999px;
  font-weight:600;
}
.legend{ opacity:.85; font-size:13px; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.dot{ width:10px; height:10px; border-radius:50%; display:inline-block; margin-right:6px; }
.dot-green{ background:#3ddc84; }
.dot-red{ background:#ff4d6d; }
.dot-black{ background:#9aa0a6; }

.roulette-controls .targetWrap{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.targetRow{ display:flex; gap:10px; align-items:center; }
.targetField{ display:flex; gap:8px; align-items:center; }

.ballTrack{
  display:grid;
  grid-template-columns:repeat(9, 1fr);
  gap:8px;
  margin: 10px 0 10px;
}
.trackCell{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius:10px;
  padding:10px 0;
  text-align:center;
  font-weight:800;
  opacity:.8;
  user-select:none;
}
.trackCell
.screen-glow{
  position:absolute; inset:0;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(800px 420px at 50% 35%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(700px 360px at 50% 70%, rgba(120,255,200,.16), transparent 65%);
  transition: opacity .35s ease;
  mix-blend-mode: screen;
}
.plinko-board.slowmo5 .screen-glow{ opacity:.55; }
.plinko-board.glow10 .screen-glow{
  opacity:.9;
  animation: glowPulse 1.15s ease-in-out infinite;
  background:
    radial-gradient(900px 500px at 50% 35%, rgba(255,255,255,.14), transparent 62%),
    radial-gradient(900px 520px at 50% 70%, rgba(255,180,80,.22), transparent 65%),
    radial-gradient(700px 420px at 50% 60%, rgba(120,255,200,.22), transparent 68%);
}
@keyframes glowPulse{
  0%,100%{ filter: blur(0px); transform: scale(1); }
  50%{ filter: blur(0.8px); transform: scale(1.01); }
}
.ball.motion{ filter: blur(0.6px); }
.ball.peg-hit{ filter: blur(0.9px); box-shadow: 0 14px 36px rgba(0,0,0,.55), 0 0 16px rgba(120,255,200,.20); }
.ball.impact{ filter: blur(0.25px); box-shadow: 0 18px 44px rgba(0,0,0,.60), 0 0 26px rgba(255,180,80,.20); }
.ball{
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(255,215,0,0.35);
  box-shadow: 0 6px 18px rgba(255,215,0,0.12);
}

.wheelBox{
  position: relative;
  border-radius:14px;
  background: radial-gradient(900px 260px at 50% 0%, rgba(0,255,200,0.08), transparent 55%),
              radial-gradient(700px 260px at 50% 100%, rgba(255,105,180,0.07), transparent 58%),
              #10131c;
  border:1px solid #1f2230;
  padding:14px 12px;
  overflow:hidden;
}
.wheelRow{
  display:grid;
  grid-template-columns:repeat(9, 1fr);
  gap:10px;
}
.wheelCell{
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding:12px 0;
  text-align:center;
  font-weight:900;
  letter-spacing: .5px;
  user-select:none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.wheelCell.red{ color:#ff4d6d; }
.wheelCell.black{ color:#c8c9cc; }
.wheelCell.green{ color:#3ddc84; }

.wheelCell.center{
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255,215,0,0.35);
  box-shadow: 0 10px 26px rgba(255,215,0,0.10);
  background: rgba(255,215,0,0.06);
}

.wheelMarker{
  position:absolute;
  left:50%;
  top:10px;
  transform: translateX(-50%);
  width:0;
  height:0;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-top:16px solid rgba(255,215,0,0.65);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
  pointer-events:none;
}



/* ---------- Blackjack ---------- */

.bj-controls{
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.bj-controls .betBox{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.bj-controls .betLine{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.chipRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn.chip{
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}
.btn.chip:hover{ transform: translateY(-1px); }

.bj-stage{ margin-top: 14px; }
.bj-table{
  background: rgba(10, 12, 18, 0.58);
  border: 1px solid rgba(255, 215, 0, 0.16);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.35);
}
.bj-side{ padding: 10px 6px; }
.bj-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.bj-head .who{
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.92;
}
.bj-head .val{ opacity: 0.88; }

.bj-divider{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 6px;
  margin: 12px 0;
  border-top: 1px dashed rgba(255,255,255,0.12);
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.bj-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(255,215,0,0.26), rgba(255,215,0,0.06));
  border: 1px solid rgba(255,215,0,0.22);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.bj-toast{
  flex: 1;
  text-align:right;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  color: rgba(255,255,255,0.88);
}
.bj-toast.show{
  opacity: 1;
  transform: translateY(0);
}

.bj-cards{
  display:flex;
  gap: 12px;
  flex-wrap: nowrap;   /* <<< wichtig */
  overflow-x: auto;    /* <<< falls viele Karten */
  min-height: 122px;
}

.bj-card{
  width: 86px;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  transform: translateY(0);
}
.bj-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,215,0,0.12), transparent 60%);
  transform: rotate(8deg);
}
.bj-card.hidden{
  background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(120,0,220,0.10));
  border-color: rgba(255,215,0,0.22);
}
.bj-card.hidden .corner, .bj-card.hidden .pip{ opacity: 0; }
.bj-card.red{ color: rgba(255,120,120,0.95); }
.bj-card .corner{
  position:absolute;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.05;
  padding: 10px 10px;
  display:flex;
  gap: 4px;
  align-items: baseline;
  z-index: 2;
}
.bj-card .corner .s{ font-size: 16px; opacity: 0.95; }
.bj-card .corner.tl{ top:0; left:0; }
.bj-card .corner.br{ bottom:0; right:0; transform: rotate(180deg); }
.bj-card .pip{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 34px;
  gap: var(--grid-gap);
  opacity: 0.92;
  z-index: 2;
}
.bj-card .pip .s{ font-size: 30px; opacity: 0.95; }

/* Animations */
.bj-card.enter{
  transform: translateY(14px) scale(0.96);
  opacity: 0;
}
.bj-card.enter-go{
  transition: transform 220ms ease, opacity 220ms ease;
  transform: translateY(0) scale(1);
  opacity: 1;
}
.bj-card.flip{
  animation: bjFlip 420ms ease;
}
@keyframes bjFlip{
  0%{ transform: rotateY(0deg); }
  45%{ transform: rotateY(90deg); }
  55%{ transform: rotateY(90deg); }
  100%{ transform: rotateY(0deg); }
}

.rules{
  margin: 0;
  padding-left: 18px;
}
.resultText{
  font-size: 16px;
  line-height: 1.55;
}
@media (max-width: 640px){
  .bj-card{ width: 72px; height: 104px; border-radius: 12px; }
  .bj-card .pip{ font-size: 28px; }
}


/* Blackjack controls polish */
.bj-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
.bj-actions .btn, .bj-actions .primary{
  min-width: 120px;
}
.bj-actions .danger{
  border-color: rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.10);
}
.bj-actions .danger:hover{ transform: translateY(-1px); filter: brightness(1.08); }

.bj-error{
  display:none;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 80, 80, 0.30);
  background: rgba(255, 80, 80, 0.08);
  color: rgba(255,255,255,0.92);
}
.bj-error.show{ display:block; }

@media (max-width: 760px){
  .bj-controls{ flex-direction: column; align-items: stretch; }
  .bj-actions{ justify-content: stretch; }
  .bj-actions .btn, .bj-actions .primary{ flex: 1 1 160px; }
}


/* --- Blackjack Split UI --- */
#playerCards { display: flex; flex-direction: column; gap: 10px; }
.bj-playerhands{ display:flex; flex-direction: column; gap: 10px; }
.bj-handrow { display: flex; flex-direction: row; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.10); }
.bj-handrow.active { border-color: rgba(255, 215, 0, 0.28); box-shadow: 0 0 0 1px rgba(255,215,0,0.10) inset; }
.bj-handlabel { min-width: 64px; font-weight: 800; letter-spacing: 0.06em; font-size: 12px; color: rgba(255,255,255,0.78); }
.bj-handcards { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; overflow-x: auto; padding-bottom: 2px; }
.bj-handcards::-webkit-scrollbar{ height: 6px; }
.bj-handcards::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.12); border-radius: 999px; }



/* --- Blackjack Table Visual Upgrade (Table/Felt/Rail) --- */
.bj-stage{ margin-top: 18px; }
.bj-table{
  position: relative;
  overflow: hidden;
  padding: 22px 22px 26px;
  border-radius: 54px 54px 140px 140px;
  border: 10px solid rgba(92, 62, 28, 0.92);
  background:
    radial-gradient(1200px 520px at 50% 30%, rgba(38, 150, 92, 0.95), rgba(18, 92, 54, 0.96) 55%, rgba(10, 40, 26, 1) 100%);
  box-shadow:
    0 18px 52px rgba(0,0,0,0.55),
    inset 0 0 0 2px rgba(255, 215, 0, 0.10),
    inset 0 -40px 80px rgba(0,0,0,0.35);
}

/* inner rail */
.bj-table::before{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 44px 44px 122px 122px;
  border: 2px solid rgba(255,215,0,0.14);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35);
  pointer-events:none;
  opacity: .9;
}

/* table markings */
.bj-table::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 54%;
  width: 980px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px dashed rgba(255,255,255,0.12);
  pointer-events:none;
  opacity: .5;
}

.bj-side{
  position: relative;
  z-index: 2;
  padding: 12px 10px;
  border-radius: 26px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

.bj-side.dealer{
  margin-top: 2px;
}

.bj-side.player{
  margin-bottom: 2px;
}

.bj-head .who{
  font-size: 0.95rem;
  text-transform: uppercase;
}
.bj-head .val{
  font-size: 0.95rem;
}

/* center band */
.bj-divider{
  position: relative;
  z-index: 2;
  border: none;
  margin: 14px 0;
  padding: 10px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.10);
}

.bj-pill{
  background: radial-gradient(circle at 30% 20%, rgba(255,215,0,0.30), rgba(255,215,0,0.08));
  border-color: rgba(255,215,0,0.30);
}

.bj-pot{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:center;
}
.bj-chip{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0.08));
  position: relative;
}
.bj-chip::after{
  content:"";
  position:absolute;
  inset: 5px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.22);
  opacity: .8;
}
.bj-chip.c1{ background: radial-gradient(circle at 30% 30%, rgba(255,80,80,0.85), rgba(120,10,10,0.85)); }
.bj-chip.c2{ background: radial-gradient(circle at 30% 30%, rgba(80,140,255,0.85), rgba(10,30,120,0.85)); }
.bj-chip.c3{ background: radial-gradient(circle at 30% 30%, rgba(255,215,0,0.85), rgba(120,80,10,0.85)); }

/* cards look more like real cards */
.bj-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,240,240,0.86));
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 14px 24px rgba(0,0,0,0.28);
}
.bj-card::before{ opacity: 0.08; }
.bj-card .suit{
  font-weight: 900;
}

@media (max-width: 720px){
  .bj-table{
    border-radius: 36px 36px 110px 110px;
    border-width: 8px;
    padding: 16px;
  }
  .bj-table::after{
    width: 760px;
    height: 420px;
  }
}

/* ---------- Stats Panel ---------- */
.stats-card { width: min(720px, calc(100% - 28px)); }
.stats-head, .stats-subhead{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.stats-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:12px; margin-top:10px;
}
.stats-item{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 10px 12px;
}
.stats-item .k{ font-size:12px; opacity:.78; }
.stats-item .v{ font-size:16px; font-weight:800; margin-top:3px; }
#statsNet.pos{ color: #4dff88; }
#statsNet.neg{ color: #ff6b6b; }

.stats-history{
  list-style:none; padding:0; margin:10px 0 0 0;
  display:flex; flex-direction:column; gap:8px;
  max-height: 320px; overflow:auto;
}
.stats-history li{
  display:grid;
  grid-template-columns: 84px 1fr 110px 110px;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.stats-history li .t{ opacity:.75; }
.stats-history li .g{ font-weight:700; }
.stats-history li .b{ opacity:.85; text-align:right; }
.stats-history li .d{ font-weight:800; text-align:right; }
.stats-history li.pos .d{ color:#4dff88; }
.stats-history li.neg .d{ color:#ff6b6b; }
.stats-history li .l{ grid-column: 1 / -1; opacity:.8; font-size:12px; padding-top:4px; }

@media (max-width: 820px){
  .stats-grid{ grid-template-columns: 1fr; }
  .stats-history li{ grid-template-columns: 1fr 1fr; }
  .stats-history li .b, .stats-history li .d{ text-align:left; }
}


/* ---------- Daily Reward (Menu Sidebar) ---------- */
.menu-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}
.side-card{
  background: rgba(18, 20, 28, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.20);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  position: relative;
}
.side-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 10px; }
.side-title{ font-weight: 900; letter-spacing: .2px; }
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  opacity: .95;
}
.countdown{
  font-size: 22px;
  font-weight: 900;
  margin: 6px 0 12px;
  letter-spacing: 1px;
}
.full{ width: 100%; }
.side-body .k{ opacity:.8; font-size: 13px; }
.side-body .hint{ opacity:.72; font-size: 12px; margin-top: 10px; line-height: 1.35; }

@media (max-width: 860px){
  .menu-layout{ grid-template-columns: 1fr; }
  .side-card{ position: relative; top: 0; }
}

.pulse{
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.03); }
  100%{ transform: scale(1); }
}


.streakline{ margin:10px 0 12px; font-size:.95rem; opacity:.9; }


/* =========================
   Admin Panel Layout
========================= */
.admin-grid{
  display:grid;
  /* Make the members-status column slimmer */
  grid-template-columns: 1fr minmax(300px, 360px); /* main | side */
  gap:20px;
  align-items:start;
  margin-top:20px;
}
.admin-main,.admin-side{ width:100%; }

.admin-filters{
  margin: 12px 0 14px 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:flex-end;
}
.admin-filters .af-field{ display:flex; flex-direction:column; gap:6px; min-width: 150px; }
.admin-filters .af-wide{ flex: 1 1 260px; min-width: 220px; }
.admin-filters .af-check{ display:flex; gap:8px; align-items:center; padding: 10px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.20); }
.admin-filters .af-actions{ display:flex; gap:8px; flex: 0 0 auto; }

@media (max-width: 1100px){
  .admin-grid{ grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ---------------- Toasts ---------------- */

.toast-container{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}
.toast{
  pointer-events: auto;
  max-width: 360px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(15,17,24,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  font-size: 14px;
}
.toast.in{ transform: translateY(0); opacity: 1; }
.toast.out{ transform: translateY(10px); opacity: 0; }
.toast-success{ border-color: rgba(0,255,127,0.20); }
.toast-error{ border-color: rgba(255,80,80,0.30); }
.toast-info{ border-color: rgba(120,160,255,0.25); }

.lowgfx *{
  scroll-behavior: auto !important;
  animation: none !important;
  transition-duration: 0ms !important;
}

/* ---------- Mobile / Tablet Responsive ---------- */
.table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  border-radius:16px;
}
.table-scroll .tbl{
  min-width: 720px;
}
@media (max-width: 820px){
  .wrap{ padding: 14px; }
  h1{ font-size: 24px; }
  .nav-actions{ flex-wrap: wrap; width: 100%; justify-content: flex-start; }
  .btn, a.btn{ padding: 12px 14px; }
  .hud > div{ min-width: 150px; }
}
@media (max-width: 640px){
  .wrap{ padding: 12px; }
  .top{ gap: 12px; }
  .nav .title h1{ font-size: 22px; }
  .sub{ font-size: 13px; }
  .hud > div{ min-width: 140px; padding: 9px 10px; border-radius: 12px; }
  .hud-wide > div{ min-width: 140px; }
  .btn, a.btn{ font-size: 14px; padding: 12px 12px; border-radius: 12px; }
  .primary, a.primary{ padding: 12px 14px; }
  .grid, .reels{ gap: 6px; padding: 10px; border-radius: 14px; }
  .cell{ height: 44px; font-size: 22px; border-radius: 12px; }
  .cell .mul{ font-size: 11px; right: 5px; bottom: 3px; }
  /* Blackjack */
  .bj-table{ padding: 12px; border-radius: 18px; }
  .bj-cards{ gap: 10px; min-height: 96px; }
  .bj-card{ width: 68px; height: 96px; border-radius: 12px; }
  .bj-card .rank{ font-size: 18px; }
  .bj-card .suit{ font-size: 16px; }
  .chipRow{ gap: var(--grid-gap); }
  .btn.chip{ padding: 10px 12px; }
}
@media (max-width: 420px){
  .wrap{ padding: 10px; }
  .hud > div{ min-width: 130px; }
  .grid, .reels{ gap: 5px; padding: 9px; }
  .cell{ height: 38px; font-size: 20px; }
  .bj-card{ width: 62px; height: 88px; }
  .bj-cards{ min-height: 90px; }
}


/* ---------- Game Modules: Better Mobile/Tablet Layout ---------- */

/* Sugar Rush: stack board on smaller screens */
@media (max-width: 820px){
  .board{ grid-template-columns: 1fr; }
  .board .result{ grid-column: auto; }
  .sidepanel{ width: 100%; }
}

/* Make controls comfortable on touch screens */
@media (max-width: 640px){
  .controls{ flex-direction: column; align-items: stretch; }
  .controls > *{ width: 100%; }
  .controls label{ width: 100%; }
  .controls input, .controls select{ width: 100%; }
  .chipRow{ flex-wrap: wrap; }
}

/* Sugar grid sizing by orientation (7x7 stays fully visible) */
@media (max-width: 640px) and (orientation: portrait){
  :root{ --cell-h: 44px; --cell-font: 22px; --grid-gap: 6px; --grid-pad: 10px; }
}
@media (max-width: 640px) and (orientation: landscape){
  :root{ --cell-h: 40px; --cell-font: 20px; --grid-gap: 5px; --grid-pad: 9px; }
}
@media (max-width: 420px){
  :root{ --cell-h: 38px; --cell-font: 20px; --grid-gap: 5px; --grid-pad: 9px; }
}

/* Dice Duel: switch to vertical stack on narrow screens (portrait) */
@media (max-width: 640px) and (orientation: portrait){
  .duel{ grid-template-columns: 1fr; }
  .vs{ justify-self: center; padding: 6px 10px; }
  .diceRow{ justify-content: center; }
  .die{ width: 72px; height: 72px; border-radius: 18px; }
}
@media (max-width: 420px){
  .die{ width: 64px; height: 64px; border-radius: 16px; }
}

/* Roulette: tighten wheel + stage on mobile */
@media (max-width: 640px){
  .roulette-surface{ padding: 12px; }
  .wheelBox{ padding: 12px 10px; }
  .wheelRow{ gap: 6px; }
  .wheelCell{ padding: 10px 0; border-radius: 10px; font-size: 12px; }
  .wheelMarker{ top: 8px; border-left-width: 8px; border-right-width: 8px; border-top-width: 14px; }
  .betSummary{ width: 100%; }
}
@media (max-width: 420px){
  .wheelRow{ gap: 5px; }
  .wheelCell{ padding: 9px 0; font-size: 11px; }
}

/* Blackjack: on phones keep actions usable + prevent cramped hand rows */
@media (max-width: 640px){
  .bj-controls{ flex-direction: column; align-items: stretch; }
  .bj-actions{ width: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
  .bj-actions .btn, .bj-actions .primary{ flex: 1 1 48%; }
  .bj-handrow{ flex-direction: column; align-items: stretch; gap: 10px; }
  .bj-handactions{ width: 100%; display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-start; }
  .bj-handactions button{ flex: 1 1 48%; }
  .bj-cards{ overflow-x: auto; }
}
@media (max-width: 420px){
  .bj-actions .btn, .bj-actions .primary{ flex: 1 1 100%; }
  .bj-handactions button{ flex: 1 1 100%; }
}

/* Modals: make them fit on mobile in both orientations */
@media (max-width: 640px){
  .modal-card{ width: min(640px, 96vw); max-height: 88vh; overflow: auto; }
}

/* ---------------- Crash Game ---------------- */
.crash-panel{ margin-top: 14px; }
.crash-top{ display:grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: stretch; }
.crash-mult{ border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.04); }
.crash-mult-label{ font-size: 12px; opacity: .75; letter-spacing: .14em; }
.crash-mult-value{ font-size: 64px; font-weight: 800; line-height: 1.0; margin-top: 6px; }
.crash-chart{
  width: 100%;
  height: 140px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.crash-status{ margin-top: 10px; opacity: .9; }
.crash-actions{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 12px; }
.crash-actions .primary, .crash-actions .btn{ flex: 1 1 160px; }
.crash-canvas{ width: 100%; height: 220px; border-radius: 16px; border: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.25); }
.crash-controls{ border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.03); }
.crash-controls .grid2{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crash-controls .field{ display:flex; flex-direction:column; gap: 6px; }
.crash-controls input{ background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); color: inherit; border-radius: 12px; padding: 10px 12px; outline: none; }
.crash-hint{ margin-top: 10px; opacity: .75; font-size: 13px; }
.crash-bottom{ margin-top: 14px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crash-bottom .card{ border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.03); }
.crash-bottom .card-head{ font-weight: 700; margin-bottom: 10px; }
.crash-history{ font-size: 13px; line-height: 1.5; }
.crash-history .row{ display:flex; justify-content:space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.crash-history .row:last-child{ border-bottom: 0; }

@media (max-width: 860px){
  .crash-top{ grid-template-columns: 1fr; }
  .crash-bottom{ grid-template-columns: 1fr; }
  .crash-mult-value{ font-size: 54px; }
}


/* ===================================================== */
/* Admin Panel – Mitglieder Status kompaktere Spalten   */
/* ===================================================== */

.admin-side .tbl th:nth-child(1),
.admin-side .tbl td:nth-child(1) {
  width: 110px; /* Status */
  white-space: nowrap;
}

.admin-side .tbl th:nth-child(2),
.admin-side .tbl td:nth-child(2) {
  width: 140px; /* User */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-side .tbl th:nth-child(3),
.admin-side .tbl td:nth-child(3) {
  width: 120px; /* Last seen */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* ---------------- Admin Panel v2 ---------------- */
.admin2-cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  margin: 14px 0 16px 0;
}
@media (max-width: 980px){
  .admin2-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .admin2-cards{ grid-template-columns: 1fr; }
}
.admin2-card{
  background: rgba(15,17,24,0.85);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.admin2-card .k{ font-size: 12px; opacity:.8; letter-spacing:.2px; }
.admin2-card .v{ font-size: 26px; font-weight: 900; margin-top:4px; }
.admin2-card-accent{
  border-color: rgba(255,215,0,0.3);
  background: linear-gradient(180deg, rgba(255,215,0,0.10), rgba(15,17,24,0.85));
}

.admin2-panel{ padding-top: 10px; }
.admin2-panel-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 12px 0;
}
.admin2-panel-head .h{ font-size: 18px; font-weight: 900; }
.admin2-panel-actions{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,215,0,0.18);
  background: rgba(0,0,0,0.18);
  font-weight: 800;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 800;
}
.badge.ok{ border-color: rgba(0,255,180,0.25); background: rgba(0,255,180,0.06); }
.badge.warn{ border-color: rgba(255,85,85,0.28); background: rgba(255,85,85,0.06); }

.admin2-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.admin2-form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 820px){
  .admin2-form-grid{ grid-template-columns: 1fr; }
}

.admin2-actions-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 820px){
  .admin2-actions-grid{ grid-template-columns: 1fr; }
}
.admin2-action{
  background: rgba(0,0,0,0.16);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 12px;
}
.admin2-action .h{ font-weight: 900; margin-bottom: 6px; }
.admin2-action-form{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.admin2-action-form .input{ flex: 1 1 180px; }


/* --- Admin Filter Modal improvements --- */
.admin2-form-grid .field{ min-width:0; }
.admin2-form-grid .input{ width:100%; box-sizing:border-box; }
.admin2-form-grid .span-all{ grid-column: 1 / -1; }
.admin2-form-grid .checks{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; padding-top:6px; }



/* ---------------- Mines ---------------- */
.grid2{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:16px;
  align-items:start;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns: 1fr; }
}
.mines-card{ min-height: 520px; }
.mines-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:10px;
  padding:14px;
}
.mine-cell{
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #eaeaea;
  font-size: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}
.mine-cell:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); }
.mine-cell:disabled{ opacity: .85; cursor: default; }
.mine-cell.pending{ opacity:.65; }
.mine-cell.revealed.safe{
  background: rgba(60, 200, 120, .12);
  border-color: rgba(60, 200, 120, .35);
}
.mine-cell.revealed.bomb{
  background: rgba(220, 70, 70, .14);
  border-color: rgba(220, 70, 70, .45);
}
.mines-footer{ padding: 0 14px 14px; display:flex; flex-direction:column; gap:10px; }
.mines-hint{ opacity:.85; font-size: 13px; }
.result-line{ font-weight: 700; }
.result-line.ok{ color: #6de39f; }
.result-line.bad{ color: #ff6d6d; }
.mines-side .form{ display:flex; flex-direction:column; gap:10px; padding: 14px; }
.mines-side .btnrow{ display:flex; gap:10px; margin-top: 6px; }
.mines-side .mini{
  margin-top: 10px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:8px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}


/* ---------------- Plinko ---------------- */
.plinko-top{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .plinko-top{ grid-template-columns: 1fr; }
}

.plinko-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 720px){
  .plinko-stats{ grid-template-columns: 1fr 1fr; }
}

.statcard{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.statcard .k{ opacity:.82; font-size: 12px; letter-spacing: .2px; }
.statcard .v{ font-weight: 900; font-size: 16px; margin-top: 6px; }
.statwide{ grid-column: 1 / -1; }

.plinko-controls{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.betbox{ display:flex; flex-direction:column; gap: 10px; }
.betline{ display:flex; align-items:baseline; justify-content:space-between; gap: 10px; }
.betlabel{ font-weight: 900; letter-spacing: .2px; }
.bettags{ display:flex; gap: 10px; flex-wrap:wrap; justify-content:flex-end; }
.betrow{ display:flex; gap: 8px; align-items:center; flex-wrap:wrap; }
.betinput{
  width: 140px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: #eaeaea;
  outline: none;
}
.betinput:focus{ border-color: rgba(120,255,200,.35); box-shadow: 0 0 0 3px rgba(120,255,200,.12); }

.chip{
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #eaeaea;
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
}
.chip:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.20); }

.betslider{ width: 100%; accent-color: auto; }

.actionbar{ display:flex; gap: 10px; margin-top: 10px; flex-wrap:wrap; }
.actionbar .primary{ flex: 1; min-width: 160px; }

.plinko-wrap{ margin-top:14px; }
.plinko-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  overflow: hidden;
}
.plinko-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.plinko-title{ font-weight:800; letter-spacing:.2px; }
.plinko-sub{ opacity:.75; font-size:13px; }
.plinko-board{
  position: relative;
  height: 520px;
  border-radius: 16px;
  background:
    radial-gradient(1200px 500px at 50% 0%, rgba(120,255,200,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.38));
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}
@media (max-width: 720px){
  .plinko-board{ height: 430px; }
}
.fx-layer{ position:absolute; inset:0; }
.peg-layer{ position:absolute; left:0; right:0; top:0; bottom:140px; }
.bin-layer{ position:absolute; left:0; right:0; bottom:0; height:140px; }

.peg{
  position:absolute;
  width: 10px; height: 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.75);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.25);
  opacity: .85;
}

/* 💥 Peg-Kontakt Mini-Glow (triggered from plinko.js) */
.peg.peg-glow{
  box-shadow:
    0 0 0 3px rgba(255,255,255,.10),
    0 10px 30px rgba(0,0,0,.25),
    0 0 14px rgba(120,255,200,.55);
  transform: translate(-50%, -50%) scale(1.18);
  opacity: 1;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.bin-layer{
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  padding: 10px 10px 12px 10px;
  align-items: stretch;
  align-content: stretch;
}
.bin{
  height: 78px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 10px 8px;
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.bin::before{
  content:"";
  position:absolute; inset:-20% -10%;
  background: radial-gradient(260px 120px at 50% 0%, rgba(120,255,200,.10), transparent 60%);
  opacity:.6;
}
.bin-mult{
  position:relative;
  font-weight:900;
  letter-spacing:.2px;
  font-size: 14px;
  opacity: .95;
}
.bin-bar{
  position:relative;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow:hidden;
}
.bin-bar::after{
  content:"";
  position:absolute; inset:0;
  transform: translateX(-60%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  animation: binShine 2.6s linear infinite;
  opacity:.8;
}
@keyframes binShine{
  0%{ transform: translateX(-60%); }
  100%{ transform: translateX(60%); }
}
.bin.hit{
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(120,255,200,.45);
  background: rgba(120,255,200,.08);
}


/* Plinko layout fix: keep bins as bottom strip and align pegs above */
.plinko-board{
  padding-bottom: 0;
}
.bin-layer{
  left: 0; right: 0;
  bottom: 0;
  height: 96px;
  align-items: end;
}
.peg-layer{
  left: 0; right: 0;
  top: 0;
  bottom: 96px;
}
.ball{
  position:absolute;
  left:0; top:0;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(120,255,200,.85) 45%, rgba(0,0,0,.15) 95%);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  will-change: transform;
}
.ball.pop{ animation: popOut .25s ease forwards; }
@keyframes popOut{
  to{ opacity: 0; }
}
.plinko-legend{ margin-top:10px; display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
#fastBtn.active{ border-color: rgba(120,255,200,.35); background: rgba(120,255,200,.08); }
#muteBtn.active{ border-color: rgba(255,140,80,.35); background: rgba(255,140,80,.08); }


/* ---------------- Video Poker ---------------- */
.vp-card{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .vp-card{ grid-template-columns: 1fr; }
}
.vp-left{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  padding: 14px;
  box-shadow: 0 14px 44px rgba(0,0,0,.35);
}

.vp-dealer{
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vp-dealer-head{
  font-weight: 900;
  letter-spacing: .2px;
  opacity: .92;
  margin-bottom: 8px;
}
.vp-hand-dealer{ gap: 8px; margin-bottom: 8px; }
.vp-dealer-sub{ font-size: 12px; opacity: .8; }
.vp-dealer-card{
  pointer-events: none;
  user-select: none;
  min-height: 66px;
  padding: 12px 8px 16px;
  border-radius: 14px;
  opacity: .92;
}
.vp-hand{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 520px){
  .vp-hand{ grid-template-columns: repeat(3, 1fr); }
}
.vp-cardbtn{
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  padding: 16px 10px 22px;
  min-height: 88px;
  color: #eaeaea;
  cursor: pointer;
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
}
.vp-cardbtn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.20); }
.vp-cardbtn.held{
  border-color: rgba(120,255,200,.38);
  background: rgba(120,255,200,.08);
  box-shadow: 0 0 0 3px rgba(120,255,200,.10);
}
.vp-cardtxt{ font-weight: 900; font-size: 22px; letter-spacing: .3px; }
.vp-hold{
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  opacity: .85;
}
.vp-actions{ display:flex; flex-direction:column; gap: 10px; }
.vp-bet{ display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.vp-bet input{
  width: 140px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: #eaeaea;
  outline: none;
}
.vp-bet input:focus{ border-color: rgba(120,255,200,.35); box-shadow: 0 0 0 3px rgba(120,255,200,.12); }
.vp-buttons{ display:flex; gap: 10px; flex-wrap: wrap; }
.vp-msg{ margin-top: 8px; }
.vp-paytable{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
  box-shadow: 0 14px 44px rgba(0,0,0,.30);
}
.vp-pt-title{ font-weight: 900; margin-bottom: 10px; }
.vp-pt{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 8px; }
.vp-pt li{ display:flex; justify-content:space-between; gap: 10px; border-bottom: 1px dashed rgba(255,255,255,.08); padding-bottom: 6px; }
.vp-pt li:last-child{ border-bottom: none; padding-bottom: 0; }
.vp-pt-foot{ margin-top: 10px; }

.vp-room{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.vp-room-row{ display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.vp-room-row input{
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: #eaeaea;
  outline: none;
  width: 160px;
}
.vp-room-hint{ margin-top: 4px; }

/* --- Video Poker UI rework (more user-friendly hierarchy) --- */
.vp-left{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.vp-handblock{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.vp-handhead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.vp-title{ font-weight: 900; letter-spacing: .2px; }
.vp-sub{ font-size: 12px; opacity: .78; }
.vp-status{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.vp-compare{ font-weight: 900; letter-spacing: .2px; }
.vp-hand-dealer{ gap: 8px; margin-bottom: 8px; }
.vp-dealer-card{
  min-height: 58px;
  padding: 10px 8px 14px;
  border-radius: 14px;
}
.vp-cardbtn{
  min-height: 92px;
}
.vp-actions{ gap: 10px; }
.vp-msg{ margin-top: 2px; }

/* Paytable more compact and scannable */
.vp-pt{ gap: 6px; }
.vp-pt li{ padding-bottom: 6px; }
.vp-pt-title{ margin-bottom: 8px; }



/* ===== Blackjack: bessere Karten-Erkennbarkeit (High Contrast) ===== */
.bj-card{
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%) !important;
  border: 2px solid rgba(0,0,0,0.75) !important;
  box-shadow:
    0 12px 26px rgba(0,0,0,0.55),
    0 2px 0 rgba(255,255,255,0.55) inset !important;
  color: #111 !important;
}
.bj-card::before{ display:none !important; }

.bj-card .corner{
  color: inherit !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.bj-card .pip{
  color: inherit !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}

.bj-card.red{ color: #c1121f !important; }

/* Face-down / hidden card: klar erkennbare Rückseite */
.bj-card.hidden{
  background: repeating-linear-gradient(
    45deg,
    #1b4d9b,
    #1b4d9b 10px,
    #153c77 10px,
    #153c77 20px
  ) !important;
  border-color: rgba(255,255,255,0.78) !important;
  box-shadow:
    0 12px 26px rgba(0,0,0,0.55),
    0 0 0 2px rgba(0,0,0,0.35) inset !important;
}
.bj-card.hidden .corner,
.bj-card.hidden .pip{ opacity: 0 !important; }

/* Mobile: etwas größere Schrift für Lesbarkeit */
@media (max-width: 640px){
  .bj-card .corner{ font-size: 15px !important; }
  .bj-card .pip{ font-size: 30px !important; }
}



/* ===== Blackjack Multiplayer + clearer cards ===== */
.bj-table-multi{padding:28px 24px 30px;border-radius:32px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 40%,rgba(42,120,78,.95) 0%,rgba(18,78,53,.98) 55%,rgba(9,45,30,1) 100%);box-shadow:inset 0 0 0 2px rgba(255,220,120,.22), inset 0 0 0 16px rgba(65,32,12,.55), 0 18px 42px rgba(0,0,0,.42);}
.bj-table-multi .bj-divider{margin:8px 0 18px;}
.bj-multi-controls{gap:16px;}
.bj-multi-join .inline{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.bj-multi-join .input{min-width:220px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(8,17,14,.55);color:#fff;}
.bj-multi-seats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;margin-top:14px;}
#seat1{grid-column:1;} #seat2{grid-column:2;} #seat3{grid-column:3;} #seat4{grid-column:1 / span 1;} #seat5{grid-column:3 / span 1;}
.bj-seat{min-height:174px;padding:14px 14px 12px;border-radius:18px;background:linear-gradient(180deg,rgba(7,22,16,.52),rgba(6,16,12,.72));border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.bj-seat.active{transform:translateY(-2px);border-color:rgba(255,224,123,.7);box-shadow:0 0 0 2px rgba(255,224,123,.18), 0 10px 26px rgba(0,0,0,.28);}
.bj-seat.you{border-color:rgba(90,195,255,.55);}
.bj-seat.bust{opacity:.82;}
.bj-seat.blackjack{border-color:rgba(185,110,255,.7);box-shadow:0 0 0 2px rgba(185,110,255,.16), 0 10px 26px rgba(0,0,0,.28);}
.bj-seat-head,.bj-seat-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;}
.bj-seat-head .name{font-weight:800;color:#fff;}
.bj-seat-head .status{font-size:12px;}
.bj-seat-cards{display:flex;gap:8px;align-items:center;min-height:108px;padding-top:10px;flex-wrap:wrap;}
/* stronger readable cards for solo + multi */
.bj-card{width:86px !important;height:124px !important;border-radius:14px !important;background:linear-gradient(180deg,#ffffff 0%,#f2f2f2 100%) !important;border:2px solid rgba(0,0,0,.78) !important;color:#111 !important;box-shadow:0 10px 22px rgba(0,0,0,.45),0 2px 0 rgba(255,255,255,.38) inset !important;display:block;position:relative;overflow:hidden;}
.bj-card::before{display:none !important;}
.bj-card .corner{position:absolute;font-size:16px !important;font-weight:900;line-height:1.05;padding:8px 9px;color:inherit;}
.bj-card .corner .s{display:block;font-size:16px !important;opacity:1 !important;}
.bj-card .corner.tl{top:0;left:0;}
.bj-card .corner.br{right:0;bottom:0;transform:rotate(180deg);}
.bj-card .pip{position:absolute;inset:0;display:grid;place-items:center;font-size:34px !important;font-weight:800;line-height:1;}
.bj-card .pip .s{font-size:34px !important;opacity:1 !important;margin-left:2px;}
.bj-card.red{color:#c1121f !important;}
.bj-card.hidden{background:repeating-linear-gradient(45deg,#1b4d9b,#1b4d9b 10px,#153c77 10px,#153c77 20px) !important;border-color:rgba(255,255,255,.75) !important;color:transparent !important;}
.bj-card.hidden .corner,.bj-card.hidden .pip{opacity:0 !important;}
@media (max-width: 980px){ .bj-multi-seats{grid-template-columns:repeat(2,minmax(0,1fr));} #seat1,#seat2,#seat3,#seat4,#seat5{grid-column:auto;} }
@media (max-width: 700px){ .bj-card{width:72px !important;height:104px !important;} .bj-card .pip{font-size:28px !important;} .bj-card .pip .s{font-size:28px !important;} .bj-seat-cards{min-height:92px;} .bj-multi-seats{grid-template-columns:1fr;} }


/* Blackjack multiplayer compact + split + shoe */
.wrap-compact{max-width:1180px;}
.bj-multi-compact .top.nav{margin-bottom:10px;}
.bj-multi-compact .title h1{margin-bottom:4px;font-size:clamp(1.8rem,3vw,2.25rem);}
.bj-multi-compact .hud.hud-wide{gap:10px;margin-bottom:10px;}
.bj-multi-compact .hud.hud-wide>div{padding:10px 14px;min-width:0;}
.bj-multi-compact .bj-multi-controls{gap:10px;}
.bj-multi-compact .bj-actions .btn{min-width:110px;}
.bj-dealer-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;}
.bj-shoe{position:relative;display:flex;align-items:center;gap:10px;padding-left:30px;font-weight:800;color:rgba(255,255,255,.92);}
.bj-shoe span{position:absolute;left:0;top:50%;width:24px;height:34px;border-radius:7px;background:repeating-linear-gradient(45deg,#1b4d9b,#1b4d9b 6px,#153c77 6px,#153c77 12px);border:1px solid rgba(255,255,255,.72);box-shadow:0 5px 12px rgba(0,0,0,.28);transform:translateY(-50%);}
.bj-shoe span:nth-child(1){left:0;z-index:3;}
.bj-shoe span:nth-child(2){left:5px;top:calc(50% - 2px);z-index:2;opacity:.95;}
.bj-shoe span:nth-child(3){left:10px;top:calc(50% - 4px);z-index:1;opacity:.88;}
.bj-shoe em{font-style:normal;font-size:12px;letter-spacing:.04em;}
.bj-multi-compact .bj-table-multi{padding:22px 18px 20px;border-radius:28px;}
.bj-multi-compact .bj-side{padding:8px 4px;}
.bj-multi-compact .bj-cards{gap:8px;min-height:100px;}
.bj-multi-compact .bj-multi-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px;}
.bj-multi-compact .bj-seat{min-height:150px;padding:11px 11px 10px;border-radius:16px;}
.bj-multi-compact .bj-seat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;min-height:auto;padding-top:8px;}
.bj-seat-hand{padding:8px;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);}
.bj-seat-hand.active{border-color:rgba(255,224,123,.55);box-shadow:0 0 0 1px rgba(255,224,123,.18) inset;}
.bj-seat-hand-head,.bj-seat-hand-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:rgba(255,255,255,.78);}
.bj-seat-hand-cards{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:6px 0 2px;min-height:82px;}
.bj-multi-compact .bj-card{width:70px !important;height:102px !important;border-radius:12px !important;}
.bj-multi-compact .bj-card .corner{font-size:13px !important;padding:7px 8px;}
.bj-multi-compact .bj-card .corner .s{font-size:13px !important;}
.bj-multi-compact .bj-card .pip{font-size:28px !important;}
.bj-multi-compact .bj-card .pip .s{font-size:28px !important;}
@media (max-width: 760px){.bj-multi-compact .bj-multi-seats{grid-template-columns:1fr;}.bj-multi-compact .bj-card{width:62px !important;height:90px !important;}.bj-seat-hand-cards{min-height:72px;}}
