body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  height: 100vh;
  overflow: hidden;
}

#game-container {
  background: radial-gradient(
    ellipse at 30% 20%,
    #6fcf70 0%,
    #4caf50 40%,
    #3d8b40 80%,
    #2e7d32 100%
  );
  width: 100vw;
  height: calc(100vh - 110px);
  position: relative;
  overflow: hidden;
}

/* Bottom toolbar - dark wood style */
#bottom-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(to bottom, #5d4037, #3e2723);
  border-top: 4px solid #8d6e63;
  display: flex;
  align-items: stretch;
  z-index: 1000;
  box-shadow:
    0 -4px 20px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* Player sections */
.toolbar-player-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  gap: 4px;
}

#player1-section {
  background: linear-gradient(
    135deg,
    rgba(139, 90, 43, 0.4),
    rgba(101, 67, 33, 0.4)
  );
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#player2-section {
  background: linear-gradient(
    135deg,
    rgba(139, 90, 43, 0.4),
    rgba(101, 67, 33, 0.4)
  );
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-player-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

#player2-section .toolbar-player-header {
  justify-content: flex-end;
}

#player2-section .toolbar-player-info {
  text-align: right;
}

.toolbar-player-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  border: none;
}

.toolbar-player-avatar:hover {
  transform: scale(1.05);
}

.toolbar-player-info {
  flex: 1;
  min-width: 0;
}

.toolbar-player-label {
  font-size: 13px;
  font-weight: bold;
  color: #f5e6d3;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.toolbar-player-label:hover {
  color: #ffd54f;
}

.toolbar-player-controls {
  font-size: 10px;
  color: #bcaaa4;
  font-family: monospace;
}

.toolbar-mode-buttons {
  display: flex;
  gap: 4px;
}

.toolbar-player-status {
  font-size: 11px;
  color: #a5d6a7;
  text-align: center;
  padding: 4px 8px;
  margin: 4px 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  min-height: 16px;
  line-height: 1.3;
}

/* Center section */
#center-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  gap: 6px;
  min-width: 160px;
}

.toolbar-title {
  font-size: 18px;
  font-weight: bold;
  color: #ffd54f;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.toolbar-title:hover {
  color: #ffeb3b;
  transform: scale(1.05);
}

#money-display {
  background: linear-gradient(135deg, #ffd700, #ffa000);
  padding: 5px 14px;
  border-radius: 14px;
  font-weight: bold;
  font-size: 15px;
  color: #3e2723;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

#money-amount {
  color: #1b5e20;
  font-weight: 800;
}

#kruiwagen-display {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  padding: 5px 14px;
  border-radius: 14px;
  font-weight: bold;
  font-size: 15px;
  color: #fff8dc;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  margin-top: 5px;
}

#kruiwagen-amount {
  color: #ffeb3b;
  font-weight: 800;
}

/* Top right buttons container */
#top-right-buttons {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.top-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.top-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.top-button-icon {
  font-size: 18px;
  font-weight: bold;
}

.top-button-label {
  white-space: nowrap;
}

/* Shuffle button */
#shuffle-button {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

/* Reset button */
#reset-button {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Help button (bottom right) */
#help-button {
  position: fixed;
  bottom: 140px;
  right: 20px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#help-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#help-button.hidden {
  display: none;
}

/* Help panel (bottom right) */
#help-panel {
  position: fixed;
  bottom: 130px;
  right: 20px;
  background: linear-gradient(135deg, #1c4c09, #0d5a15);
  border: 3px solid #5d3a1a;
  border-radius: 15px;
  padding: 15px 20px;
  max-width: 320px;
  color: #fff8dc;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

#help-panel.hidden {
  display: none;
}

#help-panel h3 {
  margin: 0 0 0 0;
  font-size: 16px;
  color: #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#help-panel ul {
  margin: 0 0 0 0;
  padding-left: 10px;
  line-height: 1.5;
}

#help-panel li {
  margin-bottom: 5px;
}

.help-panel-close {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  cursor: pointer;
  color: #fff8dc;
  transition: background 0.2s;
}

.help-panel-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.mini-world-map {
  position: fixed;
  right: 20px;
  bottom: 130px;
  width: 190px;
  padding: 10px 12px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24, 59, 31, 0.95), rgba(11, 34, 19, 0.95));
  border: 2px solid rgba(226, 211, 156, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 1001;
  color: #f9f1cd;
  backdrop-filter: blur(6px);
}

.mini-world-map.with-help-panel {
  bottom: 340px;
}

.mini-world-map-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mini-world-map-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-world-map-current {
  font-size: 11px;
  color: #a5d6a7;
  text-align: right;
}

.mini-world-map-canvas {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 35%, rgba(100, 181, 246, 0.12), transparent 20%),
    radial-gradient(circle at 70% 70%, rgba(255, 213, 79, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(66, 122, 72, 0.9), rgba(38, 87, 44, 0.95));
}

.mini-world-map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.mini-world-map-locations {
  position: absolute;
  inset: 0;
}

.mini-world-location {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 220, 0.16);
  border: 1px solid rgba(255, 248, 220, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.mini-world-location.current {
  background: rgba(255, 235, 59, 0.22);
  border-color: rgba(255, 235, 59, 0.8);
  box-shadow:
    0 0 0 3px rgba(255, 235, 59, 0.16),
    0 3px 10px rgba(0, 0, 0, 0.22);
}

.mini-world-location-icon {
  font-size: 15px;
  line-height: 1;
}

.mini-world-map-player {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.mini-world-map-player.player1 {
  background: #42a5f5;
}

.mini-world-map-player.player2 {
  background: #ff9800;
}

/* Action buttons container (top left) */
#action-buttons {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.action-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.action-button:hover {
  transform: scale(1.03);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.action-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.1s linear;
  pointer-events: none;
  z-index: 0;
}

/* Knipperende actie knop als actief */
.action-button.active {
  animation: button-blink 0.6s ease-in-out infinite;
}

@keyframes button-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.action-icon {
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.action-label {
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

/* Ride button */
#ride-button {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  color: white;
}

/* Visitor button */
#visitor-button {
  background: linear-gradient(135deg, #6d4c41, #4e342e);
  color: white;
}

/* Ruiter voor ritje */
.rider {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  transition: none;
}

/* Reset dialog */
.dialog-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2500;
  justify-content: center;
  align-items: center;
}

.dialog-overlay.active {
  display: flex;
}

.dialog-box {
  background: white;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  text-align: center;
}

.dialog-box h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 22px;
}

.dialog-box p {
  margin: 0 0 10px 0;
  color: #555;
}

.dialog-box ul {
  text-align: left;
  margin: 10px 0 20px 20px;
  color: #666;
  font-size: 14px;
}

.dialog-box ul li {
  margin: 5px 0;
}

.dialog-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.dialog-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.dialog-btn.cancel {
  background: #e0e0e0;
  color: #333;
}

.dialog-btn.cancel:hover {
  background: #d0d0d0;
}

.dialog-btn.confirm {
  background: linear-gradient(135deg, #f44336, #c62828);
  color: white;
}

.dialog-btn.confirm:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

/* Manege name dialog specific */
#manege-name-dialog .dialog-btn.confirm {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}

#manege-name-dialog .dialog-btn.confirm:hover {
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

#manege-name-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 18px;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin: 15px 0;
  box-sizing: border-box;
  text-align: center;
}

#manege-name-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

#help-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
}

#help-overlay.active {
  display: block;
}

.zone {
  position: absolute;
  box-sizing: border-box;
}

.paddock {
  background: radial-gradient(
    ellipse at 40% 30%,
    #e8d4a8 0%,
    #d2b48c 50%,
    #c4a574 100%
  );
  border: 2px dashed #8b7355;
}

.forest-path {
  background: linear-gradient(180deg, #d2b48c 0%, #c4a574 50%, #d2b48c 100%);
  border: none;
}

.pasture {
  background-color: transparent;
}

.fence {
  background-color: #654321;
  border: 1px solid #3e2a14;
}

.fence-3d-bottom {
  background-color: #8b6f47;
  position: absolute;
}

.wall {
  background-color: #8b0000;
  border: 1px solid #5c0000;
}

.wall-3d-bottom {
  background-color: #cd5c5c;
  position: absolute;
}

.tree {
  background-color: transparent;
  border: none;
}

.wheelbarrow {
  background-color: transparent;
  border: none;
}

.balk1 {
  background-color: transparent;
  border: none;
}

.balk2 {
  background-color: transparent;
  border: none;
}

.tafeltje1,
.tafeltje2 {
  background-color: transparent;
  border: none;
}

.toog {
  background-color: transparent;
  border: none;
}

.entrance {
  background-color: transparent;
  border: none;
}

.entrance-name {
  position: absolute;
  top: 28%;
  left: 46%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: bold;
  color: #8b4513;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 100;
  text-align: center;
}

/* Straat uitgang voor navigatie tussen levels */
.streetExit {
  background: linear-gradient(90deg, #808080 0%, #696969 50%, #808080 100%);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 50;
}

.streetExit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.street-exit-right {
  border-radius: 20px 0 0 20px;
  background: linear-gradient(90deg, #808080 0%, #696969 100%);
}

.street-exit-left {
  border-radius: 0 20px 20px 0;
  background: linear-gradient(90deg, #696969 0%, #808080 100%);
}

.street-exit-up {
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #696969 0%, #808080 100%);
}

.street-exit-down {
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #808080 0%, #696969 100%);
}

.street-exit-arrow {
  font-size: 36px;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(5px);
    opacity: 0.7;
  }
}

.street-exit-left .street-exit-arrow {
  animation: arrow-pulse-left 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse-left {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-5px);
    opacity: 0.7;
  }
}

.street-exit-up .street-exit-arrow {
  animation: arrow-pulse-up 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse-up {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.7;
  }
}

.street-exit-down .street-exit-arrow {
  animation: arrow-pulse-down 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse-down {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(5px);
    opacity: 0.7;
  }
}

.street-exit-label {
  font-size: 11px;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin-top: 2px;
  text-align: center;
}

.building {
  background-color: #696969;
  border: 3px solid #404040;
}

.building-winkel-text {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 3px;
  white-space: nowrap;
  z-index: 100;
}

.building-door {
  position: absolute;
  background-color: #505050;
  border-left: 2px solid #404040;
  border-right: 2px solid #404040;
}

.stable {
  background:
        /* Stro/hooi lijntjes patroon */
    repeating-linear-gradient(
      -25deg,
      transparent 0px,
      transparent 2px,
      rgba(218, 165, 32, 0.4) 2px,
      rgba(218, 165, 32, 0.4) 3px
    ),
    repeating-linear-gradient(
      25deg,
      transparent 0px,
      transparent 3px,
      rgba(184, 134, 11, 0.3) 3px,
      rgba(184, 134, 11, 0.3) 4px
    ),
    repeating-linear-gradient(
      -15deg,
      transparent 0px,
      transparent 4px,
      rgba(255, 215, 0, 0.2) 4px,
      rgba(255, 215, 0, 0.2) 5px
    ),
    /* Basis hooi kleur */
    linear-gradient(
        135deg,
        #ffe066 0%,
        #f4d03f 25%,
        #e6c02a 50%,
        #d4af37 75%,
        #c9a227 100%
      );
  background-size:
    6px 6px,
    8px 8px,
    10px 10px,
    100% 100%;
  border: 3px solid #505050;
}

.stable-hay-indicator {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 2px 4px;
  background-color: transparent;
  border-radius: 3px;
  z-index: 5;
}

.hay-block {
  width: 10px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid #c9a227;
}

.hay-block.filled {
  background-color: #ffd700;
}

.hay-block.empty {
  background-color: #fff9e6;
  border-color: #e6d9a6;
}

/* Stable name sign - wooden brown board */
.stable-name-sign {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #8b5a2b 0%, #5d3a1a 50%, #8b5a2b 100%);
  color: #fff8dc;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  font-family: "Georgia", serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  border: 2px solid #3e2512;
  cursor: pointer;
  min-width: 60px;
  text-align: center;
  z-index: 10;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
}

/* Side stables (doorSide: right) - name sign at top on the wall */
.stable-name-sign-top {
  top: -12px;
}

/* Bottom stables - name sign at bottom of stable */
.stable-name-sign-bottom {
  bottom: 8px;
  top: auto;
}

.stable-name-sign:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.stable-name-sign:active {
  transform: translateX(-50%) scale(0.98);
}

/* Input for editing stable name */
.stable-name-input {
  width: 80px;
  padding: 2px 4px;
  font-size: 11px;
  font-weight: bold;
  font-family: "Georgia", serif;
  text-align: center;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #3e2512;
  border-radius: 2px;
  outline: none;
}

.shop-item-container {
  position: absolute;
  pointer-events: none;
}

.shop-item-container .hay-icon,
.shop-item-container .kruiwagen-shop-icon {
  position: relative;
}

.hay-icon {
  /* Grootte wordt gezet door JavaScript via ARENA_CONFIG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.kruiwagen-shop-icon {
  /* Grootte wordt gezet door JavaScript via ARENA_CONFIG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.shop-price-label {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #2e7d32;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.player-hay-indicator-container {
  position: absolute;
  top: 100%; /* Onder het mannetje */
  margin-top: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  width: 110px; /* Ruimte voor 5 indicatoren (20px elk) + 4 gaps (2px) = 108px */
  pointer-events: none;
}

.player-hay-indicator {
  width: 16px;
  height: 16px;
  background-color: #ffd700;
  border: 2px solid #ffa500;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
  flex-shrink: 0;
}

.pony {
  position: absolute;
  /* Grootte wordt gezet door JavaScript via ARENA_CONFIG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.1s ease;
  z-index: 100;
}

.pony.controlled-player1 {
  filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.9));
}

.pony.controlled-player2 {
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.9));
}

/* Player arrow indicators - tonen welke figuur actief is */
.player-arrow-indicator {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  pointer-events: none;
  z-index: 200;
  animation: arrow-bounce 1s ease-in-out infinite;
}

.player-arrow-indicator.player1 {
  color: #87ceeb; /* Lichtblauw */
  filter: drop-shadow(0 0 4px rgba(135, 206, 235, 0.9))
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

.player-arrow-indicator.player2 {
  color: #ff8c00; /* Oranje */
  filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.9))
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.pony-health {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  text-shadow:
    0 0 3px white,
    0 0 5px white;
  pointer-events: none;
  white-space: nowrap;
}

/* Huilende smiley 3x groter */
.pony-health.crying {
  font-size: 30px;
  top: -40px;
}

/* Pony knippert als die maar 1 hartje heeft */
.pony.low-health {
  animation: pony-blink 0.8s ease-in-out infinite;
}

@keyframes pony-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Deactivated ponies (0 health) - grijs op hun plek */
.pony.deactivated {
  filter: grayscale(100%);
  z-index: 150;
  transition: all 0.5s ease;
  animation: none;
}

/* Pony wordt geborsteld - visuele feedback */
.pony.being-brushed {
  animation: brush-sparkle 0.5s ease-in-out infinite;
}

@keyframes brush-sparkle {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.3);
    transform: scale(1.05);
  }
}

/* Borstel animatie */
.brush-animation {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 200;
  animation: brush-move 0.3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes brush-move {
  0%,
  100% {
    transform: translateX(-5px) rotate(-10deg);
  }
  50% {
    transform: translateX(5px) rotate(10deg);
  }
}

#player1,
#player2 {
  position: absolute;
  /* Grootte wordt gezet door JavaScript via ARENA_CONFIG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.1s ease;
  z-index: 100;
}

/* Toolbar carousel */
.toolbar-carousel {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}

.toolbar-carousel::-webkit-scrollbar {
  display: none;
}

#player2-section .toolbar-carousel {
  justify-content: flex-end;
}

/* Mode buttons */
.mode-button {
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0.4;
  flex-shrink: 0;
}

.mode-button:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  opacity: 0.6;
}

.mode-button:active {
  transform: scale(0.95);
}

.mode-button.active {
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#player1-section .mode-button.active {
  border-color: #ff8c00;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

#player2-section .mode-button.active {
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Mode avatar inside button */
.mode-avatar {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Carousel items */
.carousel-item {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.5;
}

.carousel-item:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.carousel-item.active {
  opacity: 1;
}

#player1-carousel .carousel-item.active {
  border-color: #87ceeb;
  box-shadow: 0 0 8px rgba(135, 206, 235, 0.8);
}

#player2-carousel .carousel-item.active {
  border-color: #ff8c00;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
}

/* Dode pony's in carousel - grijs en niet selecteerbaar */
.carousel-item.dead-pony {
  filter: grayscale(100%);
  opacity: 0.3 !important;
  cursor: not-allowed;
}

.carousel-item.dead-pony:hover {
  opacity: 0.3 !important;
}

/* Character selector popup */
.character-selector {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 2000;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.character-selector.active {
  display: block;
}

.character-selector h3 {
  margin: 0 0 15px 0;
  color: #333;
  text-align: center;
}

.character-selector h4 {
  margin: 15px 0 10px 0;
  color: #333;
  font-size: 14px;
}

/* Player name section */
.player-name-section {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-name-section label {
  font-weight: bold;
  color: #555;
  font-size: 14px;
}

.player-name-input {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.player-name-input:focus {
  outline: none;
  border-color: #4caf50;
}

/* Player instructions */
.player-instructions {
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.player-instructions h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 14px;
}

.player-instructions p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.character-selector .close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.character-selector .close-button:hover {
  color: #333;
}

.character-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.character-option {
  cursor: pointer;
}

.character-option-image {
  width: 50px;
  height: 50px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s ease;
}

.character-option-name {
  font-size: 10px;
  text-align: center;
  margin-top: 4px;
  color: #666;
}

.character-option:hover .character-option-image {
  border-color: #4caf50;
  transform: scale(1.1);
}

.character-option.active .character-option-image {
  border-color: #2e7d32;
  border-width: 3px;
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.6);
}

/* Instructions styling */
.instructions {
  margin-top: 15px;
}

.instructions p {
  margin: 8px 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.instructions strong {
  color: #333;
}

.drop {
  position: absolute;
  /* Font-size wordt gezet door JavaScript via ARENA_CONFIG */
  pointer-events: none;
  z-index: 100;
}

/* Cafetaria bezoeker */
.visitor {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  transition: none;
}

/* Money popup animatie */
.money-popup {
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  pointer-events: none;
  z-index: 200;
  animation: money-float 1.5s ease-out forwards;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.money-popup.money-positive {
  color: #4caf50;
  animation: money-float-up 1.5s ease-out forwards;
}

.money-popup.money-negative {
  color: #f44336;
  animation: money-float-down 1.5s ease-out forwards;
}

.toolbar-money-popup {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  white-space: nowrap;
}

/* Animatie voor positieve bedragen - naar boven */
@keyframes money-float-up {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

/* Animatie voor negatieve bedragen - naar beneden */
@keyframes money-float-down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(50px);
  }
}

/* Oude fallback animatie */
@keyframes money-float {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

.toolbar-money-popup {
  animation: toolbar-money-float 1.5s ease-out forwards;
}

@keyframes toolbar-money-float {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
}

/* ==================== REGEN EFFECTEN ==================== */

/* Regen overlay - donkerdere lucht tijdens regen */
.rain-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 500;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: linear-gradient(
    180deg,
    rgba(70, 80, 100, 0.4) 0%,
    rgba(50, 60, 80, 0.2) 50%,
    rgba(40, 50, 70, 0.1) 100%
  );
}

.rain-overlay.active {
  opacity: 1;
}

/* Individuele regendruppels */
.rain-drop {
  position: absolute;
  background: linear-gradient(
    180deg,
    rgba(174, 194, 224, 0.1) 0%,
    rgba(174, 194, 224, 0.6) 50%,
    rgba(174, 194, 224, 0.9) 100%
  );
  border-radius: 0 0 50% 50%;
  pointer-events: none;
  z-index: 501;
  opacity: 0.7;
}

/* ==================== STORM EFFECTEN ==================== */

/* Storm overlay - donkere lucht met paarse tint */
.storm-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 500;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: linear-gradient(
    180deg,
    rgba(40, 30, 60, 0.6) 0%,
    rgba(50, 40, 70, 0.4) 50%,
    rgba(30, 25, 50, 0.3) 100%
  );
}

.storm-overlay.active {
  opacity: 1;
}

/* Bliksem flash effect */
.lightning-flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 502;
  animation: lightning 0.2s ease-out;
}

@keyframes lightning {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.2;
  }
  40% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.1;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}

/* Storm notificatie banner */
.storm-notification {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #4a3f6b 0%, #2d2545 100%);
  border: 3px solid #ffd700;
  border-radius: 15px;
  padding: 15px 25px;
  box-shadow:
    0 5px 25px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
  z-index: 2000;
  animation: storm-notification-pulse 1s ease-in-out infinite;
}

@keyframes storm-notification-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

.storm-notification-icon {
  font-size: 40px;
  animation: storm-icon-shake 0.5s ease-in-out infinite;
}

@keyframes storm-icon-shake {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

.storm-notification-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.storm-notification-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.storm-notification-desc {
  font-size: 14px;
  color: #fff;
}

.storm-notification-timer {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 5px 15px;
  min-width: 60px;
  text-align: center;
}

.storm-notification-timer.urgent {
  color: #ff4444;
  animation: timer-urgent 0.5s ease-in-out infinite;
}

@keyframes timer-urgent {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Storm locatie info (voor remote events) */
.storm-notification-location {
  font-size: 12px;
  color: #ffd700;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.storm-notification-location .location-link {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.storm-notification-location .location-link:hover {
  color: #ffd700;
}

/* Remote event stijl - kleiner en minder prominent */
.storm-notification.remote-event {
  opacity: 0.9;
  transform: translateX(-50%) scale(0.85);
  animation: none;
}

/* Bange pony animatie */
.pony.scared {
  animation: pony-scared 0.3s ease-in-out infinite;
}

@keyframes pony-scared {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

/* Storm resultaat notificatie */
.storm-result {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px 50px;
  border-radius: 20px;
  font-size: 28px;
  font-weight: bold;
  z-index: 2001;
  animation:
    storm-result-appear 0.5s ease-out,
    storm-result-fade 0.5s ease-in 2.5s forwards;
}

.storm-result.success {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: white;
  border: 3px solid #81c784;
  box-shadow: 0 5px 30px rgba(76, 175, 80, 0.5);
}

.storm-result.failure {
  background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
  color: white;
  border: 3px solid #ef5350;
  box-shadow: 0 5px 30px rgba(244, 67, 54, 0.5);
}

@keyframes storm-result-appear {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes storm-result-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ============================================================================
   HURDLE JUMP ANIMATIE - Voor combo spelers die over balken springen
   ============================================================================ */

/* Speler die aan het springen is */
.player.jumping,
.character.jumping {
  z-index: 300; /* Boven de balken */
  transition: none; /* Smooth beweging wordt door JS geregeld */
}

/* Extra visueel effect tijdens springen */
.player.jumping::after,
.character.jumping::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: jump-shadow 0.4s ease-out;
}

@keyframes jump-shadow {
  0% {
    width: 40px;
    opacity: 0.5;
  }
  50% {
    width: 20px;
    opacity: 0.2;
  }
  100% {
    width: 40px;
    opacity: 0.5;
  }
}

/* ==================== WERELDKAART ==================== */

.world-map-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    #1a472a 0%,
    #2d5a3d 30%,
    #1a472a 70%,
    #0d2818 100%
  );
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.world-map-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.world-map-content {
  width: 90%;
  height: 85%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse at 30% 40%,
      rgba(76, 175, 80, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 60%,
      rgba(139, 195, 74, 0.2) 0%,
      transparent 40%
    ),
    linear-gradient(180deg, #2e7d32 0%, #1b5e20 100%);
  border-radius: 20px;
  border: 6px solid #8d6e63;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 2px 10px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Top bar met spelers, titel en sluiten knop */
.world-map-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 3px solid rgba(139, 110, 99, 0.6);
  gap: 15px;
}

.world-map-title {
  font-size: 1.8rem;
  color: #f5e6d3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.world-map-locations {
  width: 100%;
  flex: 1;
  position: relative;
}

.world-location {
  position: absolute;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
}

.world-location:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffd54f;
}

.world-location.locked {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.8);
}

.world-location-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 5px;
}

.world-location-name {
  font-size: 0.85rem;
  font-weight: bold;
  color: #f5e6d3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 2px;
  white-space: nowrap;
}

.world-location-description {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 100px;
  line-height: 1.2;
}

.world-map-close {
  padding: 10px 20px;
  font-size: 1rem;
  background: linear-gradient(to bottom, #5d4037, #3e2723);
  color: #f5e6d3;
  border: 2px solid #8d6e63;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.world-map-close:hover {
  background: linear-gradient(to bottom, #6d4c41, #4e342e);
  transform: scale(1.05);
}

/* Wereldkaart knop styling */
.worldmap-button {
  background: linear-gradient(to bottom, #2e7d32, #1b5e20) !important;
  border-color: #4caf50 !important;
}

.worldmap-button:hover {
  background: linear-gradient(to bottom, #388e3c, #2e7d32) !important;
}

/* ==================== SPRINGHINDERNISSEN ==================== */

.jump-obstacle {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

/* Geen kader/achtergrond voor PNG springhindernissen */
.jump-obstacle.jump-png {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.jump-obstacle:hover {
  transform: scale(1.05);
}

.jump-label {
  font-size: 0.7rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  font-weight: bold;
  text-align: center;
}

/* Oxer - dubbele balk, rood/wit (alleen zonder PNG) */
.jump-oxer:not(.jump-png) {
  background: repeating-linear-gradient(
    90deg,
    #e53935 0px,
    #e53935 15px,
    #ffffff 15px,
    #ffffff 30px
  );
  border: 3px solid #b71c1c;
}

/* Verticaal - enkele hoge balk, blauw/wit (alleen zonder PNG) */
.jump-vertical:not(.jump-png) {
  background: repeating-linear-gradient(
    90deg,
    #1976d2 0px,
    #1976d2 15px,
    #ffffff 15px,
    #ffffff 30px
  );
  border: 3px solid #0d47a1;
}

/* Muur - stenen patroon (alleen zonder PNG) */
.jump-wall:not(.jump-png) {
  background:
    linear-gradient(135deg, #795548 25%, transparent 25%),
    linear-gradient(225deg, #795548 25%, transparent 25%),
    linear-gradient(45deg, #795548 25%, transparent 25%),
    linear-gradient(315deg, #795548 25%, #8d6e63 25%);
  background-size: 20px 20px;
  border: 3px solid #4e342e;
}

/* Water hindernis - blauw met golven (alleen zonder PNG) */
.jump-water:not(.jump-png) {
  background: linear-gradient(180deg, #29b6f6 0%, #0288d1 50%, #01579b 100%);
  border: 3px solid #01579b;
  position: relative;
}

.jump-water:not(.jump-png)::after {
  content: "〰️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Triple bar - groen/wit gestreept (alleen zonder PNG) */
.jump-triple:not(.jump-png) {
  background: repeating-linear-gradient(
    90deg,
    #43a047 0px,
    #43a047 12px,
    #ffffff 12px,
    #ffffff 24px
  );
  border: 3px solid #2e7d32;
}

/* Huidige locatie indicator */
.world-location.current {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.world-location.current::after {
  content: "📍";
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.5rem;
}

/* Spelerstatus in wereldkaart (in topbar) */
.world-map-player-status {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-shrink: 0;
}

.player-status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: none;
  min-width: 150px;
}

.player-status-icon {
  font-size: 1.8rem;
}

.player-status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player-status-name {
  font-size: 0.75rem;
  font-weight: bold;
  color: #f5e6d3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.player-status-detail {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: capitalize;
}

.player-status-pony {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  margin-top: 2px;
  text-align: center;
}

.player-status-pony.has-pony {
  background: rgba(76, 175, 80, 0.5);
  color: #a5d6a7;
}

.player-status-pony.no-pony {
  background: rgba(244, 67, 54, 0.5);
  color: #ffcdd2;
}

/* ==================== HUIS LEVEL ZONES ==================== */

/* Straten */
.zone.street {
  background: linear-gradient(
    0deg,
    #4a4a4a 0%,
    #5a5a5a 45%,
    #ffffff 48%,
    #ffffff 52%,
    #5a5a5a 55%,
    #4a4a4a 100%
  );
  border: none;
  border-radius: 8px;
}

/* Trottoirs */
.zone.sidewalk {
  background: #9e9e9e;
  border: 1px solid #757575;
}

/* Huis */
.zone.house {
  background: linear-gradient(135deg, #d7ccc8 0%, #bcaaa4 100%);
  border: 4px solid #5d4037;
  border-radius: 5px;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.3);
}

.zone.house::before {
  content: "🏠";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.3;
}

/* Auto's */
.zone.car {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  border-radius: 8px;
  border: 2px solid #0d47a1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.zone.car::after {
  content: "🚗";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Bankjes */
.zone.bench {
  background: linear-gradient(to bottom, #8d6e63 0%, #6d4c41 100%);
  border-radius: 3px;
  border: 2px solid #4e342e;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zone.bench::after {
  content: "🪑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

/* ===== HUISMEUBELS ===== */

/* Bank/Sofa */
.zone.sofa {
  background: linear-gradient(to bottom, #7b1fa2 0%, #4a148c 100%);
  border-radius: 8px;
  border: 3px solid #4a148c;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.zone.sofa::after {
  content: "🛋️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* TV (met PNG afbeelding) */
.zone.tv {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

/* Salontafel */
.zone.salontafel {
  background: linear-gradient(to bottom, #8d6e63 0%, #5d4037 100%);
  border-radius: 4px;
  border: 2px solid #4e342e;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.zone.salontafel::after {
  content: "☕";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Eettafel */
.zone.eettafel {
  background: linear-gradient(to bottom, #a1887f 0%, #6d4c41 100%);
  border-radius: 6px;
  border: 3px solid #4e342e;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.zone.eettafel::after {
  content: "🍽️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* Bed */
.zone.bed {
  background: linear-gradient(to bottom, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 8px;
  border: 3px solid #90caf9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.zone.bed::after {
  content: "🛏️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

/* Kledingkast */
.zone.kast {
  background: linear-gradient(to bottom, #bcaaa4 0%, #8d6e63 100%);
  border-radius: 4px;
  border: 3px solid #5d4037;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.zone.kast::after {
  content: "🚪";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Keuken (met PNG afbeelding) */
.zone.keuken {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

/* ===== LADDER ===== */
.zone.ladder {
  background: linear-gradient(to bottom, #8b4513 0%, #5d3a1a 100%);
  border-radius: 4px;
  border: 3px solid #3e2723;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  /* Ladder pattern with horizontal bars */
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 20%,
    #d2691e 20%,
    #d2691e 25%
  );
}
.zone.ladder::after {
  content: "🪜";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  z-index: 1;
}

/* ===== 1E VERDIEPING ZONES ===== */

/* Houten vloer */
.zone.floor-wood {
  background: linear-gradient(135deg, #deb887 0%, #d2b48c 50%, #c4a76c 100%);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(139, 69, 19, 0.1) 48px,
      rgba(139, 69, 19, 0.1) 50px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 98px,
      rgba(139, 69, 19, 0.15) 98px,
      rgba(139, 69, 19, 0.15) 100px
    );
}

/* Slaapkamer */
.zone.bedroom {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border: 2px solid #bdbdbd;
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Gang/overloop */
.zone.hallway {
  background: linear-gradient(135deg, #bcaaa4 0%, #a1887f 100%);
  border: 2px solid #8d6e63;
}

/* Nachtkastje */
.zone.nightstand {
  background: linear-gradient(to bottom, #8d6e63 0%, #5d4037 100%);
  border-radius: 3px;
  border: 2px solid #3e2723;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.zone.nightstand::after {
  content: "🪔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

/* ===== WIJK - HUIZEN BUITENKANT ===== */

/* Dak van huis (zichtbaar in de wijk) - bruin/terracotta dak */
.zone.roof {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 8px,
      rgba(0, 0, 0, 0.1) 8px,
      rgba(0, 0, 0, 0.1) 10px
    ),
    linear-gradient(180deg, #8b4513 0%, #a0522d 40%, #cd853f 100%);
  border-radius: 8px 8px 0 0;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 -20px 40px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* Huis buitenkant (obstakel - niet toegankelijk) - bruin/terracotta dak */
.zone.house-exterior {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 10px,
      rgba(0, 0, 0, 0.08) 10px,
      rgba(0, 0, 0, 0.08) 12px
    ),
    linear-gradient(180deg, #8b4513 0%, #a0522d 30%, #cd853f 100%);
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

/* Deur naar binnen (wijk) */
.zone.door {
  background: linear-gradient(to bottom, #5d4037 0%, #3e2723 100%);
  border: 3px solid #2e1f1a;
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 6;
  cursor: pointer;
}
.zone.door::before {
  content: "🚪";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.door::after {
  content: "";
  position: absolute;
  right: 15%;
  top: 45%;
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 4px #ffd700;
}

/* ===== HUIS GELIJKVLOERS ZONES ===== */

/* Keuken zone */
.zone.kitchen {
  background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
  border: 2px dashed #deb887;
  border-radius: 4px;
}

/* Woonkamer zone */
.zone.livingroom {
  background: linear-gradient(135deg, #f5f5dc 0%, #faebd7 100%);
  border: 2px dashed #d2b48c;
  border-radius: 4px;
}

/* Eetkamer zone */
.zone.diningroom {
  background: linear-gradient(135deg, #fff8dc 0%, #ffefd5 100%);
  border: 2px dashed #deb887;
  border-radius: 4px;
}

/* Speelkamer zone */
.zone.playroom {
  background: linear-gradient(135deg, #e6f3ff 0%, #cce5ff 100%);
  border: 2px dashed #87ceeb;
  border-radius: 4px;
}

/* ===== HUIS MEUBELS ===== */

/* Koelkast */
.zone.koelkast {
  background: linear-gradient(to bottom, #e0e0e0 0%, #bdbdbd 100%);
  border: 2px solid #9e9e9e;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.zone.koelkast::after {
  content: "🧊";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Salontafel */
.zone.salontafel {
  background: linear-gradient(to bottom, #8b4513 0%, #654321 100%);
  border: 2px solid #3e2723;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Kapstok */
.zone.kapstok {
  background: linear-gradient(to bottom, #5d4037 0%, #3e2723 100%);
  border: 2px solid #2e1f1a;
  border-radius: 4px;
}
.zone.kapstok::after {
  content: "🧥";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
}

/* Speelgoed */
.zone.speelgoed {
  background: linear-gradient(135deg, #ffe4b5 0%, #ffdead 100%);
  border: 2px solid #deb887;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.zone.speelgoed::after {
  content: "🧸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Kinderstoel */
.zone.stoel {
  background: linear-gradient(to bottom, #ff6b6b 0%, #ee5a5a 100%);
  border: 2px solid #cc4444;
  border-radius: 4px;
}
.zone.stoel::after {
  content: "🪑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

/* Ladder/Trap */
.zone.ladder {
  background: linear-gradient(to bottom, #8b4513 0%, #654321 50%, #8b4513 100%);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 12px,
    #5d3a1a 12px,
    #5d3a1a 16px
  );
  border: 3px solid #3e2723;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.zone.ladder::before {
  content: "🪜";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* Sofa/Bank */
.zone.sofa {
  background: linear-gradient(to bottom, #6b4423 0%, #5d3a1a 30%, #4a2e15 100%);
  border: 3px solid #3e2723;
  border-radius: 8px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 -10px 20px rgba(0, 0, 0, 0.2);
}
.zone.sofa::before {
  content: "🛋️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* Eettafel */
.zone.eettafel {
  background: linear-gradient(to bottom, #8b4513 0%, #654321 100%);
  border: 3px solid #3e2723;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.zone.eettafel::before {
  content: "🍽️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* Bed (voor slaapkamers) */
.zone.bed {
  background: linear-gradient(to bottom, #8b4513 0%, #654321 50%);
  border: 2px solid #3e2723;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.zone.bed::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 5%;
  right: 5%;
  bottom: 5%;
  background: linear-gradient(135deg, #f5f5dc 0%, #faebd7 100%);
  border-radius: 4px;
}
.zone.bed::after {
  content: "🛏️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  z-index: 1;
}

/* Kledingkast */
.zone.wardrobe,
.zone.kast {
  background: linear-gradient(to bottom, #5d4037 0%, #4e342e 100%);
  border: 2px solid #3e2723;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.zone.wardrobe::before,
.zone.kast::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 48%;
  width: 4%;
  background: rgba(0, 0, 0, 0.3);
}
.zone.wardrobe::after,
.zone.kast::after {
  content: "👔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
}

/* ==================== WEDSTRIJD SYSTEEM ==================== */

/* Wedstrijd button (in action-buttons groep) */
#wedstrijd-button {
  display: none; /* Alleen zichtbaar op wedstrijd map */
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  border: 2px solid #daa520;
}

#wedstrijd-button:hover {
  background: linear-gradient(135deg, #ffec8b 0%, #ffd700 100%);
}

#wedstrijd-button.visible {
  display: flex;
}

/* Wedstrijd notificatie banner */
.wedstrijd-notification {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  border: 3px solid #daa520;
  border-radius: 15px;
  padding: 15px 25px;
  box-shadow:
    0 5px 25px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.5);
  z-index: 2000;
  animation: wedstrijd-notification-pulse 1s ease-in-out infinite;
}

@keyframes wedstrijd-notification-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

.wedstrijd-notification-icon {
  font-size: 40px;
  animation: wedstrijd-icon-bounce 0.6s ease-in-out infinite;
}

@keyframes wedstrijd-icon-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.wedstrijd-notification-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wedstrijd-notification-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.wedstrijd-notification-desc {
  font-size: 14px;
  color: #555;
}

.wedstrijd-notification-timer {
  font-size: 42px;
  font-weight: bold;
  color: #333;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 5px 15px;
  min-width: 70px;
  text-align: center;
}

.wedstrijd-notification-timer.urgent {
  color: #c62828;
  animation: timer-urgent 0.5s ease-in-out infinite;
}

/* Wedstrijd locatie info (voor remote events) */
.wedstrijd-notification-location {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wedstrijd-notification-location .location-link {
  color: #8b4513;
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.wedstrijd-notification-location .location-link:hover {
  color: #daa520;
}

/* Remote event stijl - kleiner en minder prominent */
.wedstrijd-notification.remote-event {
  opacity: 0.9;
  transform: translateX(-50%) scale(0.85);
  animation: none;
}

/* Volgorde badges op hindernissen */
.hindernis-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border: 3px solid #daa520;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 200;
}

.hindernis-badge.completed {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  border-color: #1b5e20;
  color: white;
}

.hindernis-badge.current {
  animation: badge-pulse 0.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

@keyframes badge-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Wedstrijd resultaat */
.wedstrijd-result {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px 60px;
  border-radius: 20px;
  font-size: 32px;
  font-weight: bold;
  z-index: 2001;
  text-align: center;
  animation: wedstrijd-result-appear 0.5s ease-out;
}

.wedstrijd-result.success {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  border: 4px solid #daa520;
  box-shadow:
    0 5px 30px rgba(255, 215, 0, 0.6),
    0 0 60px rgba(255, 215, 0, 0.4);
  overflow: visible;
}

.wedstrijd-result.failure {
  background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
  color: white;
  border: 4px solid #ef5350;
  box-shadow: 0 5px 30px rgba(244, 67, 54, 0.5);
}

.wedstrijd-trophy {
  font-size: 80px;
  margin-bottom: 10px;
  animation: trophy-bounce 0.6s ease-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes trophy-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

.wedstrijd-result-title {
  font-size: 36px;
  margin-bottom: 10px;
}

.wedstrijd-result-subtitle {
  font-size: 24px;
  opacity: 0.9;
  font-weight: bold;
  color: #2e7d32;
}

.wedstrijd-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.confetti-particle {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall 2s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(300px) rotate(720deg);
    opacity: 0;
  }
}

@keyframes wedstrijd-result-appear {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* ==================== NIEUWE WERELDEN ZONES ==================== */

/* === STRAND === */
.zone.sea {
  background: linear-gradient(180deg, #1565c0 0%, #1976d2 50%, #2196f3 100%);
  animation: wave-shimmer 3s ease-in-out infinite;
}
@keyframes wave-shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}
.zone.waves {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    #f4d03f 100%
  );
}
.zone.wet-sand {
  background: linear-gradient(180deg, #c4a76c 0%, #d4b87c 100%);
}
.zone.sand {
  background: linear-gradient(180deg, #f4d03f 0%, #f5e197 50%, #f4d03f 100%);
}
.zone.dunes {
  background: linear-gradient(180deg, #d4a853 0%, #8d6e63 100%);
}
.zone.strandtent {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 8px;
}
.zone.strandtent::after {
  content: "🏖️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.parasol {
  background: radial-gradient(circle, #e74c3c 0%, #c0392b 100%);
  border-radius: 50%;
}
.zone.parasol::after {
  content: "⛱️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.strandstoel {
  background: #2196f3;
  border-radius: 4px;
}
.zone.zandkasteel {
  background: #f4d03f;
  border-radius: 4px;
}
.zone.zandkasteel::after {
  content: "🏰";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}
.zone.surfplank {
  background: linear-gradient(180deg, #ff5722 0%, #e64a19 100%);
  border-radius: 20px;
}
.zone.reddingspost {
  background: #f44336;
  border-radius: 4px;
}
.zone.reddingspost::after {
  content: "⛑️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.schelp {
  background: #ffcdd2;
  border-radius: 50%;
}
.zone.schelp::after {
  content: "🐚";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}
.zone.strandbal {
  background: radial-gradient(circle, #ffeb3b 0%, #ff9800 50%, #f44336 100%);
  border-radius: 50%;
}

/* === KASTEEL === */
.zone.castle-wall {
  background: linear-gradient(180deg, #5d6d7e 0%, #7f8c8d 50%, #95a5a6 100%);
}
.zone.courtyard {
  background: linear-gradient(135deg, #a9a9a9 0%, #808080 100%);
}
.zone.royal-garden {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}
.zone.royal-stable {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
}
.zone.moat {
  background: linear-gradient(180deg, #2980b9 0%, #3498db 100%);
}
.zone.toren {
  background: linear-gradient(180deg, #5d6d7e 0%, #34495e 100%);
  border-radius: 8px;
}
.zone.toren::after {
  content: "🏰";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.fontein {
  background: radial-gradient(circle, #3498db 0%, #2980b9 100%);
  border-radius: 50%;
}
.zone.fontein::after {
  content: "⛲";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.troon {
  background: linear-gradient(180deg, #9b59b6 0%, #8e44ad 100%);
  border-radius: 8px;
}
.zone.troon::after {
  content: "👑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}
.zone.vlag {
  background: #c0392b;
}
.zone.vlag::after {
  content: "🚩";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}
.zone.ridder {
  background: #7f8c8d;
  border-radius: 4px;
}
.zone.ridder::after {
  content: "🗡️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.kasteelpoort {
  background: linear-gradient(180deg, #5d4037 0%, #3e2723 100%);
  border-radius: 8px 8px 0 0;
}
.zone.struik {
  background: radial-gradient(circle, #27ae60 0%, #1e8449 100%);
  border-radius: 50%;
}
.zone.bloembak {
  background: linear-gradient(180deg, #e74c3c 30%, #8b4513 30%);
  border-radius: 4px;
}

/* === BOERDERIJ === */
.zone.farmyard {
  background: linear-gradient(135deg, #8b7355 0%, #a08060 100%);
}
.zone.wheat-field {
  background: linear-gradient(180deg, #f4d03f 0%, #e5be01 100%);
}
.zone.wheat-field::after {
  content: "🌾";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.5;
}
.zone.corn-field {
  background: linear-gradient(180deg, #8bc34a 0%, #689f38 100%);
}
.zone.corn-field::after {
  content: "🌽";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.5;
}
.zone.cow-pasture {
  background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
}
.zone.chicken-coop {
  background: linear-gradient(135deg, #8d6e63 0%, #6d4c41 100%);
}
.zone.vegetable-garden {
  background: linear-gradient(135deg, #795548 0%, #5d4037 100%);
}
.zone.boerderij-huis {
  background: linear-gradient(180deg, #d32f2f 0%, #c62828 30%, #efebe9 30%);
  border-radius: 8px;
}
.zone.boerderij-huis::after {
  content: "🏠";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.schuur {
  background: linear-gradient(180deg, #c62828 0%, #b71c1c 30%, #8d6e63 30%);
  border-radius: 8px;
}
.zone.schuur::after {
  content: "🏚️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}
.zone.silo {
  background: linear-gradient(180deg, #78909c 0%, #546e7a 100%);
  border-radius: 50% 50% 0 0;
}
.zone.tractor {
  background: #388e3c;
  border-radius: 8px;
}
.zone.tractor::after {
  content: "🚜";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}
.zone.koe {
  background: none;
}
.zone.koe::after {
  content: "🐄";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}
.zone.kip {
  background: none;
}
.zone.kip::after {
  content: "🐔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
.zone.waterput {
  background: radial-gradient(circle, #5d4037 0%, #3e2723 100%);
  border-radius: 50%;
}
.zone.waterput::after {
  content: "🪣";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.hooibaal {
  background: linear-gradient(180deg, #f4d03f 0%, #daa520 100%);
  border-radius: 4px;
}
.zone.hooibaal::after {
  content: "🌾";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* === BERGEN === */
.zone.mountain-bg {
  background: linear-gradient(180deg, #5d6d7e 0%, #7f8c8d 50%, #95a5a6 100%);
}
.zone.snow-peak {
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 50%, #bdbdbd 100%);
  border-radius: 50% 50% 0 0;
}
.zone.mountain-meadow {
  background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
}
.zone.mountain-path {
  background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%);
  border-radius: 8px;
}
.zone.stream {
  background: linear-gradient(180deg, #4fc3f7 0%, #29b6f6 100%);
}
.zone.lower-mountain {
  background: linear-gradient(180deg, #8d6e63 0%, #6d4c41 100%);
}
.zone.berghut {
  background: linear-gradient(180deg, #795548 0%, #5d4037 50%, #6d4c41 100%);
  border-radius: 8px;
}
.zone.berghut::after {
  content: "🏔️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.rots {
  background: linear-gradient(135deg, #78909c 0%, #546e7a 100%);
  border-radius: 30%;
}
.zone.dennenboom {
  background: linear-gradient(180deg, #2e7d32 0%, #1b5e20 100%);
  border-radius: 50% 50% 10% 10%;
}
.zone.dennenboom::after {
  content: "🌲";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.bergmeer {
  background: radial-gradient(circle, #4fc3f7 0%, #0288d1 100%);
  border-radius: 50%;
}
.zone.uitzichtbank {
  background: linear-gradient(180deg, #8d6e63 0%, #5d4037 100%);
  border-radius: 4px;
}
.zone.uitzichtbank::after {
  content: "🪑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
.zone.houten-brug {
  background: linear-gradient(90deg, #8d6e63 0%, #a1887f 50%, #8d6e63 100%);
  border-radius: 4px;
}
.zone.kampvuur {
  background: radial-gradient(circle, #ff5722 0%, #e64a19 50%, #bf360c 100%);
  border-radius: 50%;
}
.zone.kampvuur::after {
  content: "🔥";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.skilift {
  background: linear-gradient(180deg, #607d8b 0%, #455a64 100%);
  border-radius: 4px;
}

/* === CIRCUS === */
.zone.circus-ground {
  background: linear-gradient(135deg, #d7ccc8 0%, #bcaaa4 100%);
}
.zone.circus-ring {
  background: radial-gradient(circle, #f4d03f 0%, #ffc107 50%, #ff9800 100%);
  border-radius: 50%;
  border: 8px solid #e65100;
}
.zone.tribune {
  background: linear-gradient(180deg, #5d4037 0%, #4e342e 50%, #3e2723 100%);
}
.zone.fairground {
  background: linear-gradient(135deg, #8d6e63 0%, #795548 100%);
}
.zone.circustent {
  background: linear-gradient(
    135deg,
    #e74c3c 0%,
    #ffffff 25%,
    #e74c3c 50%,
    #ffffff 75%,
    #e74c3c 100%
  );
  border-radius: 50% 50% 0 0;
}
.zone.circustent::after {
  content: "🎪";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
}
.zone.tent-ingang {
  background: linear-gradient(180deg, #5d4037 0%, #3e2723 100%);
  border-radius: 8px 8px 0 0;
}
.zone.trapeze {
  background: linear-gradient(180deg, #ffd700 0%, #ffa000 100%);
  border-radius: 4px;
}
.zone.trapeze::after {
  content: "🤸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.springplank {
  background: linear-gradient(180deg, #2196f3 0%, #1976d2 100%);
  border-radius: 4px;
}
.zone.podium {
  background: linear-gradient(180deg, #9c27b0 0%, #7b1fa2 100%);
  border-radius: 8px;
}
.zone.podium::after {
  content: "🎭";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.kraam-snoep {
  background: linear-gradient(180deg, #e91e63 0%, #c2185b 100%);
  border-radius: 8px;
}
.zone.kraam-snoep::after {
  content: "🍭";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.kraam-spel {
  background: linear-gradient(180deg, #4caf50 0%, #388e3c 100%);
  border-radius: 8px;
}
.zone.kraam-spel::after {
  content: "🎯";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.kraam-prijzen {
  background: linear-gradient(180deg, #ff9800 0%, #f57c00 100%);
  border-radius: 8px;
}
.zone.kraam-prijzen::after {
  content: "🎁";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.draaimolen {
  background: radial-gradient(circle, #f48fb1 0%, #f06292 50%, #ec407a 100%);
  border-radius: 50%;
}
.zone.draaimolen::after {
  content: "🎠";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.reuzenrad {
  background: radial-gradient(circle, #64b5f6 0%, #42a5f5 50%, #2196f3 100%);
  border-radius: 50%;
}
.zone.reuzenrad::after {
  content: "🎡";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
}
.zone.ballonnen {
  background: none;
}
.zone.ballonnen::after {
  content: "🎈";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.clown {
  background: none;
}
.zone.clown::after {
  content: "🤡";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.popcorn {
  background: linear-gradient(180deg, #ffeb3b 0%, #ffc107 100%);
  border-radius: 8px;
}
.zone.popcorn::after {
  content: "🍿";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.suikerspin {
  background: linear-gradient(180deg, #f8bbd9 0%, #f48fb1 100%);
  border-radius: 8px;
}
.zone.suikerspin::after {
  content: "🍬";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* === PARK === */
.zone.park-grass {
  background: linear-gradient(135deg, #81c784 0%, #66bb6a 50%, #4caf50 100%);
}
.zone.pond {
  background: transparent;
}
.zone.flower-bed-roses {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  border-radius: 8px;
}
.zone.flower-bed-roses::after {
  content: "🌹";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.7;
}
.zone.flower-bed-tulips {
  background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
  border-radius: 8px;
}
.zone.flower-bed-tulips::after {
  content: "🌷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.7;
}
.zone.flower-bed-mixed {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
  border-radius: 8px;
}
.zone.flower-bed-mixed::after {
  content: "💐";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.7;
}
.zone.flower-bed-sunflowers {
  background: linear-gradient(135deg, #ffeb3b 0%, #ffc107 100%);
  border-radius: 8px;
}
.zone.flower-bed-sunflowers::after {
  content: "🌻";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.7;
}
.zone.park-path {
  background: linear-gradient(135deg, #bcaaa4 0%, #a1887f 100%);
}
.zone.brug {
  background: linear-gradient(90deg, #8d6e63 0%, #a1887f 50%, #8d6e63 100%);
  border-radius: 8px;
}
.zone.parkbank {
  background: linear-gradient(180deg, #4e342e 0%, #3e2723 100%);
  border-radius: 4px;
}
.zone.parkbank::after {
  content: "🪑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
.zone.eend {
  background: none;
}
.zone.eend::after {
  content: "🦆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
.zone.picknicktafel {
  background: linear-gradient(180deg, #8d6e63 0%, #6d4c41 100%);
  border-radius: 4px;
}
.zone.picknicktafel::after {
  content: "🧺";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.schommel {
  background: linear-gradient(180deg, #ff5722 0%, #e64a19 100%);
  border-radius: 8px;
}
.zone.schommel::after {
  content: "🎢";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.glijbaan {
  background: linear-gradient(180deg, #2196f3 0%, #1976d2 100%);
  border-radius: 8px;
}
.zone.glijbaan::after {
  content: "🛝";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.prullenbak {
  background: linear-gradient(180deg, #607d8b 0%, #455a64 100%);
  border-radius: 4px;
}
.zone.prullenbak::after {
  content: "🗑️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}
.zone.standbeeld {
  background: linear-gradient(180deg, #9e9e9e 0%, #757575 100%);
  border-radius: 4px;
}
.zone.standbeeld::after {
  content: "🗽";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.ijskraam {
  background: linear-gradient(180deg, #e1f5fe 0%, #b3e5fc 100%);
  border-radius: 8px;
}
.zone.ijskraam::after {
  content: "🍦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* === DIERENARTS === */
.zone.parking {
  background: linear-gradient(135deg, #616161 0%, #424242 100%);
}
.zone.clinic-garden {
  background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
}
.zone.clinic-floor {
  background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
}
.zone.waiting-room {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px dashed #90caf9;
}
.zone.treatment-room {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px dashed #a5d6a7;
}
.zone.pharmacy {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 2px dashed #ffcc80;
}
.zone.recovery-room {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
  border: 2px dashed #f48fb1;
}
.zone.receptie {
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
  border-radius: 8px;
  border: 2px solid #9e9e9e;
}
.zone.receptie::after {
  content: "🏥";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.wachtstoel {
  background: linear-gradient(180deg, #2196f3 0%, #1976d2 100%);
  border-radius: 4px;
}
.zone.wachtstoel::after {
  content: "🪑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}
.zone.behandeltafel {
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
  border-radius: 8px;
  border: 2px solid #bdbdbd;
}
.zone.behandeltafel::after {
  content: "🩺";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.medicijnkast {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  border-radius: 4px;
  border: 2px solid #e0e0e0;
}
.zone.medicijnkast::after {
  content: "💊";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.apotheek-plank {
  background: linear-gradient(180deg, #efebe9 0%, #d7ccc8 100%);
  border-radius: 4px;
}
.zone.apotheek-plank::after {
  content: "🧴";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
.zone.weegschaal {
  background: linear-gradient(180deg, #eceff1 0%, #cfd8dc 100%);
  border-radius: 8px;
}
.zone.weegschaal::after {
  content: "⚖️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.herstelkooi {
  background: linear-gradient(180deg, #ffccbc 0%, #ffab91 100%);
  border-radius: 8px;
  border: 3px solid #ff8a65;
}
.zone.herstelkooi::after {
  content: "🐕";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.rontgen {
  background: linear-gradient(180deg, #263238 0%, #37474f 100%);
  border-radius: 8px;
}
.zone.rontgen::after {
  content: "📷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.auto {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  border-radius: 8px;
}
.zone.auto::after {
  content: "🚗";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.plant {
  background: radial-gradient(circle, #4caf50 0%, #388e3c 100%);
  border-radius: 50%;
}
.zone.plant::after {
  content: "🌿";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

/* === RIJSCHOOL === */
.zone.rijbak {
  background: linear-gradient(135deg, #d7ccc8 0%, #bcaaa4 100%);
  border: 4px solid #5d4037;
}
.zone.dressuur-gebied {
  background: transparent;
}
.zone.kijktribune {
  background: linear-gradient(180deg, #5d4037 0%, #4e342e 50%, #3e2723 100%);
}
.zone.warmup-area {
  background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%);
}
.zone.theorie-zone {
  background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
}

/* Lichtbruine muur (theorie lokaal) */
.zone.wall-lightbrown {
  background: linear-gradient(180deg, #d7b899 0%, #c9a882 50%, #bfa276 100%);
  border-bottom: 4px solid #8d6e63;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

/* Klaslokaal lesruimte */
.zone.classroom-area {
  background: transparent;
}

/* Info zone achterin */
.zone.info-zone {
  background: transparent;
}
.zone.dressuur-letter-A,
.zone.dressuur-letter-B,
.zone.dressuur-letter-C,
.zone.dressuur-letter-E,
.zone.dressuur-letter-F,
.zone.dressuur-letter-H,
.zone.dressuur-letter-K,
.zone.dressuur-letter-M,
.zone.dressuur-X {
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zone.dressuur-letter-A::after {
  content: "A";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-B::after {
  content: "B";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-C::after {
  content: "C";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-E::after {
  content: "E";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-F::after {
  content: "F";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-H::after {
  content: "H";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-K::after {
  content: "K";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-letter-M::after {
  content: "M";
  font-size: 1.2rem;
  font-weight: bold;
}
.zone.dressuur-X::after {
  content: "X";
  font-size: 1.2rem;
  font-weight: bold;
  color: #e74c3c;
}
.zone.tribunebank {
  background: linear-gradient(180deg, #8d6e63 0%, #6d4c41 100%);
  border-radius: 4px;
}
.zone.instructeur-post {
  background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%);
  border-radius: 8px;
}
.zone.instructeur-post::after {
  content: "👨‍🏫";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}
.zone.cavaletti {
  background: linear-gradient(90deg, #8d6e63 0%, #ffffff 50%, #8d6e63 100%);
  border-radius: 4px;
}
.zone.theorie-gebouw {
  background: linear-gradient(180deg, #ffccbc 0%, #ffab91 30%, #efebe9 30%);
  border-radius: 8px;
}
.zone.theorie-gebouw::after {
  content: "🏫";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}
.zone.schoolbord {
  background: linear-gradient(180deg, #1b5e20 0%, #2e7d32 100%);
  border-radius: 4px;
  border: 4px solid #5d4037;
}
.zone.schoolbord::after {
  content: "📝";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.diploma-bord {
  background: linear-gradient(180deg, #fff8e1 0%, #ffecb3 100%);
  border-radius: 4px;
  border: 3px solid #ffd54f;
}
.zone.diploma-bord::after {
  content: "🎓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}
.zone.trailer {
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
  border-radius: 8px;
  border: 2px solid #9e9e9e;
}
.zone.trailer::after {
  content: "🚚";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* ==================== HAMBURGER MENU ==================== */

.hamburger-button {
  display: none; /* Verborgen op desktop */
  background: linear-gradient(135deg, #555, #333) !important;
}

.hamburger-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 1001;
  background: rgba(40, 40, 40, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  overflow: hidden;
  min-width: 180px;
}

.hamburger-menu.active {
  display: block;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hamburger-menu-content {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.hamburger-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}

.hamburger-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-menu-item:active {
  background: rgba(255, 255, 255, 0.2);
}

.menu-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.menu-label {
  flex: 1;
}

.hamburger-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 6px 0;
}

/* ==================== RESPONSIVE / MOBILE ==================== */

@media (max-width: 768px) {
  /* Show hamburger button on mobile */
  .hamburger-button {
    display: flex !important;
  }

  /* Hide elements marked for mobile hiding */
  .hide-on-mobile {
    display: none !important;
  }

  /* Hide action buttons on mobile (use hamburger menu instead) */
  #action-buttons {
    display: none !important;
  }

  /* Hide help button on mobile (in hamburger menu) */
  #help-button {
    display: none !important;
  }

  /* Make top buttons icon-only on mobile */
  .top-button .top-button-label {
    display: none;
  }

  .top-button {
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  /* Smaller gap for button containers */
  #top-right-buttons {
    gap: 6px;
  }

  /* World map responsive adjustments */
  .world-map-content {
    width: 95%;
    height: 90%;
  }

  .world-map-topbar {
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }

  .world-map-title {
    font-size: 1.3rem;
    order: 0;
    flex-basis: 100%;
    text-align: center;
  }

  .world-map-player-status {
    order: 1;
    flex: 1;
  }

  .world-map-close {
    order: 2;
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .player-status-box {
    padding: 4px 8px;
    min-width: auto;
  }

  .player-status-icon {
    font-size: 1.4rem;
  }

  .player-status-info {
    display: none;
  }

  .world-location {
    padding: 5px;
  }

  .world-location-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .world-location-name {
    font-size: 0.7rem;
  }

  .world-location-description {
    display: none;
  }

  .mini-world-map {
    width: 156px;
    right: 12px;
    bottom: 120px;
    padding: 9px 10px 10px;
  }

  .mini-world-map.with-help-panel {
    bottom: 300px;
  }

  .mini-world-map-canvas {
    height: 132px;
  }

  .mini-world-location {
    width: 24px;
    height: 24px;
  }

  .mini-world-location-icon {
    font-size: 13px;
  }
}
