/**
 * King's Rescue - Styling & Visual Layout
 * Version: 5.0.0
 * Features: King in peril chamber, water flood & drain, match-3 grid, bridge animation
 */

:root {
  --kr-bg: #1c2331;
  --kr-bg-gradient: radial-gradient(circle at 50% 20%, #2c3e50 0%, #0d1b2a 100%);
  --kr-brick-color: #5d4037;
  --kr-spikes-color: #e0e0e0;
  --kr-pillar-color: #2980b9;
  --kr-gold: #f5b316;
  --kr-water-blue: #00b4d8;
  --kr-water-deep: #03045e;
}

#screen-kings-rescue {
  display: none !important;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: var(--kr-bg);
  background-image: var(--kr-bg-gradient);
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  z-index: 10;
}

#screen-kings-rescue.active {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.screen-kings-rescue {
  width: 100%;
  max-width: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* TOP HEADER */
.kr-header {
  padding: 6px 12px 2px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.kr-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.kr-brand-badge {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.kr-brand-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--kr-gold);
}

.kr-version-tag {
  background: #e74c3c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
  margin-left: 6px;
}

.kr-badge-beta {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  border-radius: 5px;
  margin-left: 4px;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
  text-transform: uppercase;
}

/* KING'S DANGER CHAMBER & WATER FLUME (UPPER AREA) */
.kr-peril-stage {
  height: 148px;
  position: relative;
  background: #2b1810;
  background-image: 
    linear-gradient(335deg, rgba(0,0,0,0.3) 23px, transparent 23px),
    linear-gradient(155deg, rgba(0,0,0,0.3) 23px, transparent 23px);
  background-size: 58px 58px;
  border-bottom: 3px solid #1a0f0a;
  display: flex;
  overflow: hidden;
  flex-shrink: 0;
}

/* Spikes on Left Wall */
.kr-spikes-wall {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 10;
}

.kr-spike {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 18px solid #dcdde1;
  filter: drop-shadow(2px 0 2px rgba(0,0,0,0.6));
}

/* King Chamber Floor & Moving Container */
.kr-chamber-track {
  position: absolute;
  top: 0;
  left: 22px;
  right: 0;
  bottom: 24px;
  overflow: hidden;
  z-index: 2;
}

/* Platform Ground the King stands on */
.kr-chamber-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(180deg, #6d4c41 0%, #3e2723 100%);
  border-top: 2px solid #8d6e63;
  z-index: 2;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.5);
}

/* Water Channel Gap Beneath the King's Ground */
.kr-water-channel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: #041226;
  border-top: 1px solid rgba(0, 180, 216, 0.4);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.8);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.kr-water-channel-flow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.2) 0%, rgba(0, 119, 182, 0.5) 50%, rgba(3, 4, 94, 0.85) 100%);
  opacity: 0.85;
  animation: channelFlowPulse 2s ease-in-out infinite alternate;
}

@keyframes channelFlowPulse {
  0% { opacity: 0.6; }
  100% { opacity: 0.95; }
}

.kr-water-channel-stream {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.35) 0%, rgba(72, 202, 228, 0.7) 60%, rgba(202, 240, 248, 0.9) 100%);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.7);
  transition: opacity 0.3s ease;
}

.kr-water-channel.surge {
  animation: channelSurge 0.4s ease-out;
}

@keyframes channelSurge {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.7); }
  100% { filter: brightness(1); }
}

.kr-water-container, .kr-rock-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  gap: 4px;
}

.kr-king-pusher {
  position: absolute;
  bottom: 8px;
  right: 0;
  height: 114px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.25s linear;
  z-index: 3;
}

/* Circular Muscle / Stamina Gauge */
.kr-muscle-meter {
  position: absolute;
  top: 4px;
  left: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  border: 2px solid #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
  z-index: 5;
}

.kr-muscle-meter.danger {
  border-color: #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.9);
  animation: pulseWarning 0.8s infinite alternate;
}

@keyframes pulseWarning {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.kr-muscle-icon {
  font-size: 16px;
}

/* King SVG Figure */
.kr-king-figure {
  width: 65px;
  height: 85px;
  position: relative;
  margin-right: 2px;
  transform-origin: bottom center;
  z-index: 3;
}

.kr-king-figure.sweating::after {
  content: "";
  position: absolute;
  top: 0;
  right: 12px;
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  animation: sweatDrop 1s infinite;
}

@keyframes sweatDrop {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* The Full-Height Barrier Wall (Holding back water from top to bottom) */
.kr-pillar {
  width: 18px;
  height: 114px;
  background: linear-gradient(180deg, #3498db 0%, #1d6fa5 60%, #0d3b66 100%);
  border: 2px solid #5dade2;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.6), inset 2px 0 4px rgba(255,255,255,0.4);
  transform-origin: bottom right;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  z-index: 4;
}

/* Clear: Pillar Falls to Become Bridge! */
.kr-pillar.bridge-fallen {
  transform: rotate(90deg) translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

/* King Walks across Bridge on Win */
.kr-king-figure.walk-bridge {
  animation: kingWalkAcross 1.5s forwards ease-in-out;
}

@keyframes kingWalkAcross {
  0% { transform: translateX(0); }
  50% { transform: translateX(60px) rotate(0deg); }
  100% { transform: translateX(140px) rotate(0deg); opacity: 0; }
}

/* Lose: King Spiked */
.kr-king-figure.spiked {
  animation: kingPoked 0.6s infinite alternate;
}

@keyframes kingPoked {
  0% { transform: translateX(-6px) rotate(-15deg); }
  100% { transform: translateX(0) rotate(10deg) translateY(-8px); }
}

/* Pressurized Water Flood Reservoir Tightly Pressing Against Wall */
.kr-water-reservoir {
  position: absolute;
  left: 100%;
  top: -8px;
  bottom: 0;
  width: 320px;
  background: linear-gradient(180deg, rgba(0, 180, 216, 0.9) 0%, rgba(0, 119, 182, 0.94) 50%, rgba(3, 4, 94, 0.98) 100%);
  border-left: 2px solid rgba(202, 240, 248, 0.85);
  box-shadow: -4px 0 16px rgba(0, 180, 216, 0.7);
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.kr-water-pressure-stream {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 15% 50%, rgba(202, 240, 248, 0.35) 0%, transparent 65%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, transparent 45%);
  animation: waterPressureSurge 1.4s ease-in-out infinite alternate;
}

@keyframes waterPressureSurge {
  0% { transform: scaleX(0.95); opacity: 0.7; }
  100% { transform: scaleX(1.05); opacity: 1.0; }
}

.kr-water-waves-layer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(144, 224, 239, 0.3) 100%);
  filter: blur(1px);
  animation: waterWallFoam 0.6s ease-in-out infinite alternate;
}

@keyframes waterWallFoam {
  from { opacity: 0.6; transform: scaleX(0.85); }
  to { opacity: 1; transform: scaleX(1.35); }
}

/* MATCH-3 BOARD (MAIN PLAY AREA) - FULL-WIDTH (左右いっぱい配置) */
.kr-board-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.kr-board-frame {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: rgba(13, 27, 42, 0.85);
  border: none;
  border-radius: 0;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Water Inflow Bar directly spanning full width at top of block columns */
.kr-water-board-inlet {
  position: relative;
  width: 100%;
  height: 14px;
  pointer-events: none;
  z-index: 8;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.7);
}

.kr-water-inlet-stream {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(202, 240, 248, 0.95) 0%, rgba(0, 180, 216, 0.9) 60%, rgba(0, 119, 182, 0.85) 100%);
  animation: waterInletFlow 1.2s linear infinite;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

@keyframes waterInletFlow {
  0% { opacity: 0.8; transform: translateY(-2px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0.8; transform: translateY(-2px); }
}

/* Water cascading down cleared columns */
.kr-cell.water-draining::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(180deg, rgba(144, 224, 239, 0.85) 0%, rgba(0, 180, 216, 0.65) 50%, rgba(0, 119, 182, 0.9) 100%);
  border-radius: 6px;
  pointer-events: none;
  z-index: 6;
  animation: columnWaterFall 0.45s ease-in forwards;
}

@keyframes columnWaterFall {
  0% { transform: translateY(-100%); opacity: 0.3; }
  50% { opacity: 0.95; }
  100% { transform: translateY(0); opacity: 0; }
}

.kr-grid {
  display: grid;
  gap: 1px;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  touch-action: none !important;
}

.kr-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  touch-action: none !important;
}

/* Empty Cell: Open water chute channel where blocks were cleared */
.kr-cell.empty-channel {
  background: rgba(0, 180, 216, 0.06);
  border: 1px dashed rgba(0, 180, 216, 0.2);
  position: relative;
  overflow: hidden;
}

/* CONNECTED FLOWING WATER: Seamless water body filling space above blocks */
.kr-cell.water-filled {
  background: linear-gradient(180deg, rgba(0, 180, 216, 0.85) 0%, rgba(0, 119, 182, 0.92) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(202, 240, 248, 0.35);
  border: none;
}

.kr-cell.water-filled::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(202, 240, 248, 0.35) 0%, transparent 70%);
  animation: waterDownwardRush 1.2s ease-in-out infinite alternate;
}

@keyframes waterDownwardRush {
  0% { transform: translateY(-4px); opacity: 0.6; }
  100% { transform: translateY(4px); opacity: 0.95; }
}

.kr-cell.water-filled::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(144, 224, 239, 0.3) 0%, transparent 75%);
  animation: waterPulseShimmer 1.5s ease-in-out infinite alternate;
}

@keyframes waterPulseShimmer {
  0% { opacity: 0.4; }
  100% { opacity: 0.95; }
}

/* Water Bottom Edge: The wave crest washing over the block surface */
.kr-cell.water-bottom-edge {
  border-bottom: 3px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.95);
}

/* Topmost Block in Column: Water splashes over its top surface */
.kr-cell.block-surface-water {
  position: relative;
}

.kr-cell.block-surface-water::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(180deg, rgba(202, 240, 248, 0.95) 0%, rgba(0, 180, 216, 0.5) 100%);
  border-radius: 4px 4px 0 0;
  z-index: 10;
  pointer-events: none;
  animation: waterSurfaceFoam 0.6s ease-in-out infinite alternate;
}

@keyframes waterSurfaceFoam {
  0% { transform: scaleY(0.8); opacity: 0.7; }
  100% { transform: scaleY(1.3); opacity: 1; }
}

/* Complete Column Cleared: Roaring free-fall cascade directly to bottom */
.kr-cell.water-freefall {
  background: linear-gradient(180deg, rgba(72, 202, 228, 0.9) 0%, rgba(0, 119, 182, 0.94) 50%, rgba(3, 4, 94, 0.98) 100%);
  box-shadow: inset 0 0 14px rgba(0, 180, 216, 0.7);
}

.kr-tile {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  aspect-ratio: 1 / 1;
  margin: auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset 2px 2px 3px rgba(255, 255, 255, 0.45),
    inset -2px -2px 3px rgba(0, 0, 0, 0.35),
    0 3px 6px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.15s ease;
  cursor: grab;
  cursor: -webkit-grab;
  position: relative;
  overflow: hidden;
  will-change: transform;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  touch-action: none !important;
}

.kr-tile:active, .kr-tile.kr-dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.kr-tile.kr-dragging {
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.7),
    0 8px 18px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(255, 255, 255, 0.4);
  filter: brightness(1.1);
}

/* Glossy curved highlight on upper half */
.kr-tile::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  right: 4px;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 8px 8px 45% 45%;
  pointer-events: none;
}

.kr-tile.selected {
  transform: scale(1.12);
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.7),
    0 0 14px var(--kr-gold),
    0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.kr-tile.matched {
  animation: tilePopClear 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  z-index: 20;
}

@keyframes tilePopClear {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.22); filter: brightness(1.8); opacity: 0.9; }
  100% { transform: scale(0); opacity: 0; }
}

/* Rich Jewel Colors (No Emojis) */
.kr-tile.crown {
  background: linear-gradient(135deg, #ffd700 0%, #ff9800 55%, #e65100 100%);
  border: 1px solid #ffe082;
}
.kr-tile.shield {
  background: linear-gradient(135deg, #48cae4 0%, #0077b6 55%, #023e8a 100%);
  border: 1px solid #90e0ef;
}
.kr-tile.leaf {
  background: linear-gradient(135deg, #52b788 0%, #1b4332 55%, #081c15 100%);
  border: 1px solid #74c69d;
}
.kr-tile.book {
  background: linear-gradient(135deg, #ff4d6d 0%, #c9184a 55%, #590d22 100%);
  border: 1px solid #ff758f;
}
.kr-tile.gem {
  background: linear-gradient(135deg, #c77dff 0%, #7b2cbf 55%, #3c096c 100%);
  border: 1px solid #e0aaff;
}
.kr-tile.star {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 55%, #d00000 100%);
  border: 1px solid #fed9b7;
}

/* Obstacles (No Emojis: Pure Detailed CSS Crates) */
.kr-tile.crate_1 {
  background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%);
  border: 2px solid #a1887f;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.5), 0 3px 6px rgba(0,0,0,0.4);
}
.kr-tile.crate_1::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border: 2px dashed #bcaaa4;
  opacity: 0.6;
}

.kr-tile.crate_2 {
  background: linear-gradient(135deg, #4e342e 0%, #271612 100%);
  border: 2px solid #795548;
  box-shadow: inset 0 0 10px #000, 0 3px 6px rgba(0,0,0,0.5);
}
.kr-tile.crate_2::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border: 3px solid #8d6e63;
  opacity: 0.8;
}

/* Boosters (No Emojis: Sleek Vector Glow Glyphs) */
.kr-tile.rocket_h {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  box-shadow: 0 0 10px #ff416c, inset 0 0 6px #fff;
}
.kr-tile.rocket_h::after {
  content: "↔";
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 6px #ff4b2b;
}

.kr-tile.rocket_v {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  box-shadow: 0 0 10px #ff416c, inset 0 0 6px #fff;
}
.kr-tile.rocket_v::after {
  content: "↕";
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 6px #ff4b2b;
}

.kr-tile.bomb {
  background: radial-gradient(circle at 35% 35%, #e74c3c 0%, #2c3e50 70%, #111 100%);
  box-shadow: 0 0 12px #e74c3c, inset 0 0 8px rgba(255,255,255,0.4);
}
.kr-tile.bomb::after {
  content: "✦";
  font-size: 20px;
  color: #fff;
  text-shadow: 0 0 8px #f1c40f;
}

.kr-tile.rainbow {
  background: linear-gradient(135deg, #ff007f, #ffaa00, #00e5ff, #7928ca);
  box-shadow: 0 0 14px #ff007f, inset 0 0 8px #fff;
  animation: rainbowSpin 2.5s infinite linear;
}
.kr-tile.rainbow::after {
  content: "★";
  font-size: 18px;
  color: #fff;
  text-shadow: 0 0 8px #fff;
}
@keyframes rainbowSpin {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* BOTTOM STATUS & CONTROLS */
.kr-controls-panel {
  display: flex;
  flex-direction: column;
  padding: 4px 10px 8px 10px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  gap: 4px;
}

.kr-status-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.kr-status-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kr-rock-counter {
  color: var(--kr-gold);
  font-size: 15px;
  font-weight: 900;
}

.kr-timer-val {
  color: #2ecc71;
  font-size: 15px;
  font-weight: 900;
}
.kr-timer-val.critical {
  color: #e74c3c;
  animation: pulseWarning 0.8s infinite alternate;
}

.kr-btn-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.kr-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.1s ease, background 0.15s ease;
}

.kr-btn:active {
  transform: scale(0.95);
}

.kr-btn.btn-prohibited {
  opacity: 0.25 !important;
  filter: grayscale(1) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border-style: dashed !important;
  position: relative;
}

.kr-btn.btn-prohibited::after {
  content: "✕";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff0844;
  font-weight: 900;
  font-size: 16px;
}

/* Modals */
#modal-kr-lose .win-trophy {
  font-size: 40px;
}
