/* ==========================================================================
   POINTRUSH - Consolidated Modern Stylesheet (CSS)
   ========================================================================== */

:root {
  --bg-dark: #031522;
  --bg-card: #1a2c39;
  --bg-card-sub: #253744;
  --accent-green: #00e701;
  --accent-green-glow: rgba(0, 231, 1, 0.35);
  --danger-red: #e9113c;
  --danger-red-glow: rgba(233, 17, 60, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  background-color: #031522;
  color: #d2e5f7;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #031522; }
::-webkit-scrollbar-thumb { background: #253744; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2f4553; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px var(--accent-green-glow); }
  50% { box-shadow: 0 0 25px rgba(0, 231, 1, 0.8); }
}

@keyframes screenShake {
  0%, 100% { transform: translate(0, 0); }
  15%, 45%, 75% { transform: translate(-6px, 4px); }
  30%, 60%, 90% { transform: translate(6px, -4px); }
}

@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1.0); opacity: 1; }
}

@keyframes cardFlip {
  0% { transform: rotateY(90deg); opacity: 0; }
  100% { transform: rotateY(0deg); opacity: 1; }
}

@keyframes rollBlur {
  0% { filter: blur(4px); transform: translateY(-4px); }
  50% { filter: blur(2px); transform: translateY(4px); }
  100% { filter: blur(0); transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes toastSlide {
  0% { transform: translateY(-20px); opacity: 0; }
  15% { transform: translateY(0); opacity: 1; }
  85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}

.fade-in { animation: fadeIn 0.25s ease-out forwards; }
.anim-shake { animation: screenShake 0.45s ease-in-out; }
.anim-pop { animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.anim-flip { animation: cardFlip 0.35s ease-out forwards; }
.anim-roll { animation: rollBlur 0.3s ease-out forwards; }
.glow-pulse { animation: pulseGlow 2s infinite; }
.anim-toast { animation: toastSlide 3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.game-card {
  background: linear-gradient(145deg, #132431 0%, #0c1a24 100%);
  border: 1px solid #233544;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.game-card:hover {
  background: linear-gradient(145deg, #182e3e 0%, #102230 100%);
  border-color: #00e701;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 231, 1, 0.25);
}
.game-card:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: #00e701;
  color: #002200;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 4px 15px var(--accent-green-glow);
}
.btn-primary:hover { background-color: #1fff20; box-shadow: 0 6px 20px rgba(0, 231, 1, 0.6); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

.btn-danger {
  background-color: #e9113c;
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 4px 15px var(--danger-red-glow);
}
.btn-danger:hover { background-color: #ff2a54; }

.btn-sub {
  background-color: #253744;
  color: #d2e5f7;
  transition: all 0.15s ease-in-out;
}
.btn-sub:hover { background-color: #2f4553; }
.btn-sub:active { transform: scale(0.96); }

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: #253744;
  border-radius: 8px;
  height: 8px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00e701;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 231, 1, 0.8);
  border: 2px solid #ffffff;
  transition: transform 0.1s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }

.mine-tile {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  background-color: #2f4553;
  border-bottom: 4px solid #253744;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}
.mine-tile:hover:not(:disabled) {
  background-color: #253744;
  transform: translateY(-2px);
  border-bottom-width: 6px;
}
.mine-tile:active:not(:disabled) {
  transform: translateY(2px);
  border-bottom-width: 1px;
}
.mine-tile.selected-auto {
  background-color: #0b2e1e;
  border: 2px solid #00e701;
  box-shadow: inset 0 0 10px rgba(0, 231, 1, 0.4);
}
.mine-tile.revealed-diamond {
  background-color: #00101c;
  border-color: #00e701;
  border-bottom-width: 1px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 15px var(--accent-green-glow);
}
.mine-tile.revealed-bomb {
  background-color: #2a1720;
  border-color: #e9113c;
  border-bottom-width: 1px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 15px var(--danger-red-glow);
}

.playing-card {
  width: 7.5rem;
  height: 10.5rem;
  border-radius: 0.75rem;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 3px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
  position: relative;
}
.playing-card.card-red { color: #e9113c !important; }
.playing-card.card-black { color: #0f172a !important; }

.bucket-hit {
  transform: scale(1.18);
  filter: brightness(1.4);
  transition: transform 0.15s, filter 0.15s;
}

/* iOS Safe Area & Mobile Bar Optimization */
@supports (padding: env(safe-area-inset-bottom)) {
  header {
    padding-top: max(0.5rem, env(safe-area-inset-top));
  }
  nav.fixed.bottom-0 {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
  main {
    padding-bottom: max(5rem, calc(4rem + env(safe-area-inset-bottom)));
  }
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.mob-nav-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 6px;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.mob-nav-btn.active {
  color: #00e701 !important;
  background: rgba(0, 231, 1, 0.1);
}

/* === モンテカルロ・ポーカースタイル リアルカジノチップ === */
.chip-carousel-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #0b1822 0%, #060d13 100%);
  border: 1px solid #2f4553;
  border-radius: 1rem;
  padding: 8px 10px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

.chip-carousel-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px;
  cursor: grab;
}
.chip-carousel-scroll::-webkit-scrollbar {
  display: none;
}
.chip-carousel-scroll:active {
  cursor: grabbing;
}

.monte-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  transition: all 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 8px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.6);
}
.monte-chip:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.7), 0 0 12px rgba(255,255,255,0.4);
}
.monte-chip.selected {
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 0 0 2.5px #ffffff, 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(253, 224, 71, 0.8);
  z-index: 10;
}

/* チップ外周のストライプ＆ベースカラー */
.monte-chip-10 {
  background: repeating-conic-gradient(from 0deg, #0284c7 0deg 30deg, #38bdf8 30deg 45deg, #0284c7 45deg 60deg, #f8fafc 60deg 75deg, #0284c7 75deg 90deg);
}
.monte-chip-50 {
  background: repeating-conic-gradient(from 0deg, #059669 0deg 30deg, #34d399 30deg 45deg, #059669 45deg 60deg, #f8fafc 60deg 75deg, #059669 75deg 90deg);
}
.monte-chip-100 {
  background: repeating-conic-gradient(from 0deg, #18181b 0deg 30deg, #eab308 30deg 45deg, #18181b 45deg 60deg, #f8fafc 60deg 75deg, #18181b 75deg 90deg);
}
.monte-chip-500 {
  background: repeating-conic-gradient(from 0deg, #475569 0deg 30deg, #94a3b8 30deg 45deg, #475569 45deg 60deg, #f8fafc 60deg 75deg, #475569 75deg 90deg);
}
.monte-chip-1000 {
  background: repeating-conic-gradient(from 0deg, #eab308 0deg 30deg, #dc2626 30deg 45deg, #eab308 45deg 60deg, #f8fafc 60deg 75deg, #eab308 75deg 90deg);
}
.monte-chip-5000 {
  background: repeating-conic-gradient(from 0deg, #db2777 0deg 30deg, #2563eb 30deg 45deg, #db2777 45deg 60deg, #f8fafc 60deg 75deg, #db2777 75deg 90deg);
}

/* ゴールドグリッターリング & インナーサークル */
.monte-chip-inner {
  width: 74%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 58%, #f3f4f6 62%, #d97706 70%, #fbbf24 74%, #b45309 82%, #78350f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.8), inset 0 1px 2px rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.3);
  position: relative;
}
.monte-chip-brand {
  font-size: 5px;
  font-weight: 900;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  transform: scale(0.85);
  margin-bottom: 0.5px;
}
.monte-chip-value {
  font-family: 'Times New Roman', Times, serif, 'JetBrains Mono';
  font-weight: 900;
  font-size: 11px;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* 盤面に置かれた時の立体チップバッジ (マルチチップ) */
.chip-badge {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 15;
  animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chip-badge-inner {
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 60%, #fbbf24 78%, #78350f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Times New Roman', serif, 'JetBrains Mono';
  font-weight: 900;
  font-size: 9px;
  color: #000000;
  line-height: 1;
}

.stake-table-board {
  background-color: #0f212e;
  border: 1px solid #2f4553;
  border-radius: 0.75rem;
  padding: 12px;
  user-select: none;
  width: 100%;
  max-width: 640px;
}
.r-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
  border-radius: 4px;
  min-height: 42px;
}
.r-cell:hover, .r-cell.highlight-hover {
  filter: brightness(1.25);
  transform: scale(1.03);
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.r-red { background-color: #e9113c; color: #ffffff; }
.r-black { background-color: #1a2c39; color: #ffffff; border: 1px solid #2f4553; }
.r-green { background-color: #00e701; color: #000000; }

.chip-palette-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s;
  border: 2px solid transparent;
  user-select: none;
  flex-shrink: 0;
}
.chip-palette-item:hover { transform: translateY(-2px) scale(1.08); }
.chip-palette-item.selected {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
  transform: translateY(-2px) scale(1.12);
}
.chip-10 { background: #2563eb; color: #fff; }
.chip-50 { background: #059669; color: #fff; }
.chip-100 { background: #dc2626; color: #fff; }
.chip-500 { background: #7c3aed; color: #fff; }
.chip-1000 { background: #d97706; color: #fff; }
.chip-5000 { background: #16a34a; color: #fff; }

.btn-stake-blue {
  background-color: #1475e1;
  color: #ffffff;
  font-weight: 800;
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 4px 14px rgba(20, 117, 225, 0.4);
}
.btn-stake-blue:hover { background-color: #1a85ff; }
.btn-stake-blue:active { transform: scale(0.98); }

/* === ポーカー (Texas Hold'em) プレミアムスタイル === */
.poker-table-felt {
  background: radial-gradient(ellipse at center, #0f4632 0%, #08291c 65%, #03150e 100%);
  border: 12px solid #1a2c39;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.85), 0 16px 40px rgba(0,0,0,0.8), 0 0 0 2px #2f4553;
  border-radius: 140px;
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 400px;
}
@media (max-width: 640px) {
  .poker-table-felt {
    border-width: 8px;
    border-radius: 70px;
    height: 380px;
  }
}
.poker-seat-slot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
  transform: translate(-50%, -50%);
}
.poker-seat-box {
  background: linear-gradient(145deg, rgba(15, 33, 46, 0.95), rgba(7, 18, 25, 0.95));
  border: 1.5px solid #2f4553;
  border-radius: 1rem;
  padding: 4px 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.poker-seat-box.my-seat {
  border-color: #00e701;
  background: linear-gradient(145deg, rgba(16, 46, 32, 0.95), rgba(6, 25, 17, 0.95));
}
.poker-seat-box.active-turn {
  border-color: #00e701;
  box-shadow: 0 0 0 2px #00e701, 0 0 20px rgba(0, 231, 1, 0.6);
  transform: scale(1.06);
}
.poker-seat-box.folded {
  opacity: 0.35;
  filter: grayscale(1);
}

/* プレミアム トランプカードデザイン */
.poker-card {
  width: 30px;
  height: 42px;
  border-radius: 4px;
  background: #ffffff !important;
  border: 1px solid #94a3b8;
  box-shadow: 0 3px 8px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
  user-select: none;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .poker-card {
    width: 36px;
    height: 50px;
    border-radius: 5px;
  }
}
.poker-card.card-red { color: #e11d48 !important; }
.poker-card.card-black { color: #0f172a !important; }

.poker-card-index {
  position: absolute;
  top: 1.5px;
  left: 2.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  pointer-events: none;
}
.poker-card-val {
  font-size: 11px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  letter-spacing: -0.5px;
}
@media (min-width: 640px) {
  .poker-card-val { font-size: 13px; }
}
.poker-card-suit-sm {
  font-size: 9px;
  line-height: 1;
  margin-top: -1px;
}
@media (min-width: 640px) {
  .poker-card-suit-sm { font-size: 11px; }
}
.poker-card-center-suit {
  position: absolute;
  right: 2px;
  bottom: 1px;
  font-size: 16px;
  line-height: 1;
  opacity: 0.95;
  pointer-events: none;
}
@media (min-width: 640px) {
  .poker-card-center-suit {
    font-size: 20px;
    right: 3px;
    bottom: 2px;
  }
}

/* コミュニティカード */
.poker-card-community {
  width: 36px;
  height: 50px;
}
@media (min-width: 640px) {
  .poker-card-community {
    width: 44px;
    height: 62px;
  }
}
.poker-card-community .poker-card-val { font-size: 14px; }
.poker-card-community .poker-card-suit-sm { font-size: 12px; }
.poker-card-community .poker-card-center-suit { font-size: 24px; }

.poker-card-back {
  width: 30px;
  height: 42px;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, #1e3a8a, #1e3a8a 3px, #172554 3px, #172554 6px);
  border: 1px solid #3b82f6;
  box-shadow: 0 3px 8px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
@media (min-width: 640px) {
  .poker-card-back {
    width: 36px;
    height: 50px;
    border-radius: 5px;
  }
}

.poker-cards-overlap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  pointer-events: none;
}
.poker-cards-overlap > :first-child {
  transform: rotate(-6deg) translateX(3px);
  z-index: 1;
}
.poker-cards-overlap > :last-child {
  transform: rotate(6deg) translateX(-3px);
  z-index: 2;
}

.poker-dealer-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-weight: 900;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #000000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.poker-sb-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #facc15;
  color: #000000;
  font-weight: 900;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
}
.poker-bb-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fb923c;
  color: #000000;
  font-weight: 900;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
}
.poker-pot-chip {
  background: radial-gradient(circle, #fde047 30%, #ca8a04 100%);
  color: #000;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* ジャグラー ハードウェアアクセラレーション 高速回転アニメーション */
@keyframes jugglerReelLoop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1344px); }
}
.juggler-reel-spinning {
  animation: jugglerReelLoop 0.35s linear infinite !important;
  filter: blur(1.5px);
  will-change: transform;
}
.juggler-reel-stopping {
  transition: transform 0.2s cubic-bezier(0.12, 0.85, 0.25, 1.15) !important;
}

/* ショーダウン待機時間カウントダウンバー */
.poker-countdown-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 4px;
}
.poker-countdown-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #facc15, #00e701);
  width: 100%;
  border-radius: 9999px;
  transition: width 5s linear;
  box-shadow: 0 0 8px rgba(0,231,1,0.8);
}


/* ==========================================================================
   STAKE DRAGON TOWER - Exact Stake Original Aesthetics
   ========================================================================== */

.stake-tower-board {
  background: radial-gradient(circle at 50% 10%, #102636 0%, #071622 70%, #040e16 100%);
  border: 2px solid #213743;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.stake-tower-tile {
  background: linear-gradient(180deg, #213743 0%, #1a2c38 100%);
  border: 1px solid #2f4553;
  border-top: 1px solid #3d5a6c;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stake-tower-tile:hover:not(:disabled) {
  background: linear-gradient(180deg, #2a4555 0%, #213743 100%);
  border-color: #00e701;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 231, 1, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.stake-tower-tile.active-floor {
  border-color: rgba(0, 231, 1, 0.8);
  box-shadow: 0 0 12px rgba(0, 231, 1, 0.3);
  animation: tileGlowPulse 1.8s infinite ease-in-out;
}

@keyframes tileGlowPulse {
  0%, 100% { border-color: rgba(0, 231, 1, 0.5); box-shadow: 0 0 8px rgba(0, 231, 1, 0.2); }
  50% { border-color: rgba(0, 231, 1, 1.0); box-shadow: 0 0 16px rgba(0, 231, 1, 0.5); }
}

.stake-tower-tile.tile-safe {
  background: linear-gradient(180deg, #0d3822 0%, #062315 100%) !important;
  border: 1.5px solid #00e701 !important;
  box-shadow: 0 0 15px rgba(0, 231, 1, 0.4), inset 0 0 10px rgba(0, 231, 1, 0.2) !important;
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.stake-tower-tile.tile-trap {
  background: linear-gradient(180deg, #3d0c15 0%, #24050b 100%) !important;
  border: 1.5px solid #e9113c !important;
  box-shadow: 0 0 20px rgba(233, 17, 60, 0.5), inset 0 0 10px rgba(233, 17, 60, 0.3) !important;
  animation: screenShake 0.4s ease-in-out forwards;
}

.stake-mult-badge {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  transition: all 0.2s ease;
}

.stake-mult-badge.active-row {
  color: #00e701 !important;
  text-shadow: 0 0 10px rgba(0, 231, 1, 0.6);
  transform: scale(1.08);
}


/* ==========================================================================
   PLiCy / iframe / Universal Smooth Scrolling Fix
   ========================================================================== */

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: fixed;
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
}

.main-scroll-container {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
