/* ==========================================================================
 * SmartBall V4.4 Deluxe US / Conquest Showcase & Overlay Stylesheet
 * Extracted modular styles for Conquest Grand Jackpot Showcase & US Deluxe UI
 * ========================================================================== */

#conquestShowcaseOverlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9400;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 8px) + 12px) 10px calc(env(safe-area-inset-bottom, 12px) + 52px);
  box-sizing: border-box;
  pointer-events: none;
}

#conquestShowcaseOverlay.show {
  display: flex;
}

.conquest-top-banner {
  pointer-events: auto;
  width: min(92vw, 384px);
  margin: 0 auto;
  padding: 9px 13px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.96) 0%, rgba(180, 83, 9, 0.96) 55%, rgba(69, 10, 10, 0.97) 100%);
  border: 2px solid #fde047;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.72), 0 0 24px rgba(251, 191, 36, 0.55);
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
}

.conquest-top-kicker {
  font-size: 9.5px;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 0.06em;
  opacity: 0.92;
  margin-bottom: 2px;
}

.conquest-top-title {
  font-size: 13.5px;
  font-weight: 900;
  color: #fde047;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.conquest-top-sub {
  font-size: 10.5px;
  font-weight: 800;
  color: #fef3c7;
  margin-top: 3px;
}

.conquest-bottom-dock,
.conquest-bottom-bar {
  pointer-events: auto;
  width: min(92vw, 384px);
  margin: 0 auto;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.82), 0 0 18px rgba(251, 191, 36, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.conquest-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.conquest-stat-pill {
  padding: 2.5px 8px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(253, 224, 71, 0.55);
  color: #fef08a;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.conquest-dock-row,
.conquest-actions-row {
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.conquest-btn-share,
.conquest-btn-settle {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  padding: 10px 4px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center !important;
  border-radius: 12px !important;
  border: 1.5px solid #d4af37 !important;
  border-bottom: 3.5px solid #854d0e !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75), 0 0 10px rgba(212, 175, 55, 0.35), inset 0 1px 1px rgba(254, 240, 138, 0.45) !important;
  transition: transform 0.08s ease, border-bottom-width 0.08s ease !important;
}

.conquest-btn-share {
  background: linear-gradient(135deg, #06c755 0%, #059669 100%) !important;
  border-color: #a7f3d0 !important;
  color: #ffffff !important;
}

.conquest-btn-settle {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #d97706 100%) !important;
  border-color: #ffffff !important;
  color: #1c0c02 !important;
}

.conquest-btn-share:active,
.conquest-btn-settle:active {
  transform: translateY(2px) scale(0.98) !important;
  border-bottom-width: 1.5px !important;
}

/* ==========================================================================
 * US / English Mode Visual Westernization
 * Hide Japanese traditional living elements & sakura petals under lang="en"
 * ========================================================================== */
html[lang="en"] .cozy-sakura-petal,
html[lang="en"] .hole-sakura-ripple,
html[lang="en"] .hole-praise-ripple,
html[lang="en"] #roomCozyJapanDecor,
html[lang^="en"] .cozy-sakura-petal,
html[lang^="en"] .hole-sakura-ripple,
html[lang^="en"] .hole-praise-ripple,
html[lang^="en"] #roomCozyJapanDecor {
  display: none !important;
  opacity: 0 !important;
  border: none !important;
}

/* ==========================================================================
 * Room UI Clean-up: Hide redundant floating HUD elements
 * - #btnPlayModeToggle: Game speed toggle (clean machine view)
 * - #bCam: Redundant camera toggle (viewpoint switched in settings menu)
 * - #bSidePrev / #bSideNext: Side ear-tag machine navigation buttons
 * ========================================================================== */
#btnPlayModeToggle,
#bCam,
#bSidePrev,
#bSideNext {
  display: none !important;
}

