.cell img.cat { width: var(--cat-size); height: var(--cat-size); pointer-events: none; filter: drop-shadow(15px 5px 10px rgba(0, 0, 0, 0.7)); position: relative; z-index: 3; }
.cell .label { margin-top: 2px; font-weight: bold; position: relative; z-index: 3; }
.cell[data-mood="-2"] .label,
.cell[data-mood="-1"] .label { color: #a00; }
.cell[data-mood="0"] .label { color: #666; }
.cell[data-mood="1"] .label,
.cell[data-mood="2"] .label { color: #070; }

/* Jumping animation for non-green cats */
@keyframes jump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cell[data-mood="-2"] img.cat,
.cell[data-mood="-1"] img.cat,
.cell[data-mood="0"] img.cat {
  animation: jump 1s ease-in-out infinite;
}

/* Экран победы */
#win-screen {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  z-index: 100;
}
#win-screen img { width: 240px; max-width: 70vw; }
#win-screen .win-title { font-size: 26px; font-weight: bold; }
#win-screen .win-stats {
  margin: 0 16px;
  color: #fff;
}
#win-screen .win-stat-value {
  color: #fff;
}
#win-screen .win-stat-label,
#win-screen .win-stat-detail {
  color: rgba(255, 255, 255, 0.85);
}

/* Экран импичмента */
#impeachment-screen {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
  z-index: 200;
  padding: 20px;
}

.impeachment-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff6b6b;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
}

.impeachment-video-wrap {
  width: fit-content;
  max-width: min(640px, 90vw);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.impeachment-video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(640px, 90vw);
  max-height: min(70vh, 480px);
  background: transparent;
  opacity: 0.7;
}

.impeachment-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
