.rabbit-rescue { width: min(100%, 470px); margin: 14px auto 0; }
.rabbit-info { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; margin-bottom: 10px; }
.rabbit-info span { padding: 6px 10px; border: 1px solid #a7d5bc; border-radius: 9px; color: #245743; background: #e9f8dc; font-size: .83rem; font-weight: 750; }
.rabbit-info b { color: #1a4234; }
.rabbit-map {
  display: grid; grid-template-columns: repeat(var(--rabbit-side), minmax(0, 1fr)); gap: 5px;
  padding: 11px; border: 1px solid #8cbfc3; border-radius: 17px;
  background: repeating-linear-gradient(166deg, #b8e8e573 0 2px, transparent 2px 15px), linear-gradient(146deg, #74c9c2, #419fac);
  box-shadow: inset 0 2px #f3ffef90, 0 4px 0 #a5c8c4;
  touch-action: manipulation;
}
.rabbit-cell {
  position: relative; display: grid; place-items: center; min-width: 0; padding: 0; aspect-ratio: 1;
  border: 1px solid #a4bb67; border-radius: 40% 39% 32% 31%; color: #28433a;
  background: radial-gradient(ellipse at 41% 16%, #edffae, transparent 62%), linear-gradient(145deg, #c7e499, #90b25e);
  box-shadow: inset 0 2px #f8ffdcaa, 0 3px #588d57; font-size: clamp(1.05rem, 4.2vw, 1.9rem);
}
.rabbit-cell[data-terrain='~'], .rabbit-cell.is-broken { border: 1px dashed #aee9e091; background: #90d5d247; box-shadow: none; }
.rabbit-cell[data-terrain='X'] { border-color: transparent; background: none; box-shadow: none; filter: saturate(.65); }
.rabbit-cell[data-terrain='F']:not(.is-broken) { background: linear-gradient(120deg, transparent 38%, #746453a8 40% 43%, transparent 45% 60%, #746453a8 62% 65%, transparent 68%), #d5ca9e; border-color: #a49272; box-shadow: inset 0 2px #fcf5cb9c, 0 3px #857160; }
.rabbit-cell[data-terrain='E'] { background: #f1dead; border-color: #c5a963; box-shadow: inset 0 2px #fff8de, 0 3px #9b8b5a; }
.rabbit-cell.is-step { outline: 2px solid #fffbd6; outline-offset: -4px; cursor: pointer; }
.rabbit-cell.is-step:hover { filter: brightness(1.14); }
.rabbit-cell.is-step::after, .rabbit-cell.is-trail::before { content: ''; position: absolute; width: 18%; aspect-ratio: 1; bottom: 12%; border-radius: 50%; background: #fff9bd; box-shadow: 0 0 7px #fffddd; }
.rabbit-cell.is-trail::before { top: 42%; background: #ffe28e; box-shadow: 0 0 0 3px #ffe28e44; }
.rabbit-runner { position: relative; z-index: 1; filter: drop-shadow(0 3px 2px #39594c64); animation: rescue-hop .24s ease-out; }
@keyframes rescue-hop { from { transform: translateY(-28%) rotate(-8deg); } }
.rabbit-message { min-height: 1.55em; margin: 14px 0 8px; text-align: center; color: #31564a; font-weight: 800; line-height: 1.5; }
.rabbit-actions { display: flex; justify-content: center; }
.game-preview-stage .rabbit-map { width: min(100%, calc(var(--preview-height, 138px) - 20px)); padding: 4px; gap: 2px; border-radius: 9px; }
.game-preview-stage .rabbit-cell { font-size: .8rem; box-shadow: none; }
.game-preview-stage .rabbit-runner { animation: none; }
@media (max-width: 480px) { .rabbit-map { padding: 6px; gap: 3px; } }
@media (prefers-reduced-motion: reduce) { .rabbit-runner { animation: none; } }
