/* ===== SNOWBALL FIGHT ===== */
/* File: /games/snowball-fight/styles-snowball-fight.css */

.snowball-fight-root,
.snowball-fight-root *,
.snowball-fight-root *::before,
.snowball-fight-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.snowball-fight-root {
  position: relative;
  width: 100%;
  height: auto;
  background: #dce8f0;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.snowball-fight-canvas-holder {
  width: 100%;
  aspect-ratio: 540 / 320;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snowball-fight-canvas {
  display: block;
}

.snowball-fight-close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.snowball-fight-close-button:active {
  background: rgba(200, 0, 0, 0.6);
}


.snowball-fight-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background: rgba(0, 0, 0, 0.38);
}

.snowball-fight-overlay-hidden {
  display: none;
}

.snowball-fight-overlay-panel {
  background: rgba(10, 30, 10, 0.96);
  border: 2px solid #5aaa5a;
  border-radius: 12px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 260px;
}

.snowball-fight-overlay-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  font-family: Arial, sans-serif;
}

.snowball-fight-overlay-title-red {
  color: #ff5555;
}

.snowball-fight-overlay-subtitle {
  font-size: 13px;
  color: #88bb88;
  text-align: center;
  line-height: 1.8;
  font-family: Arial, sans-serif;
}

.snowball-fight-overlay-button {
  font-size: 15px;
  font-weight: 900;
  background: #5aaa5a;
  color: #0d200d;
  border: none;
  border-radius: 8px;
  padding: 13px 36px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 0 #2a6a2a;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.snowball-fight-overlay-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2a6a2a;
}

.snowball-fight-overlay-button-danger {
  background: #cc3333;
  color: #fff;
  box-shadow: 0 4px 0 #881111;
}

.snowball-fight-level-badge {
  font-size: 52px;
  font-weight: 900;
  color: #ffe066;
  font-family: Arial, sans-serif;
}

.snowball-fight-score-row {
  display: flex;
  gap: 32px;
}

.snowball-fight-score-block {
  text-align: center;
}

.snowball-fight-score-number {
  font-size: 32px;
  font-weight: 900;
  color: #ffe066;
  font-family: Arial, sans-serif;
}

.snowball-fight-score-label {
  font-size: 11px;
  color: #88bb88;
  letter-spacing: 2px;
  font-family: Arial, sans-serif;
}

.snowball-fight-help-text {
  font-size: 12px;
  color: #88bb88;
  line-height: 2;
  text-align: center;
  border-top: 1px solid #2a4a2a;
  padding-top: 12px;
  width: 100%;
  font-family: Arial, sans-serif;
}

.snowball-fight-help-text b {
  color: #ccffcc;
}


