/* 小朋友数学乐园 — shared styles, no external fonts or assets */

:root {
  --sky: #7ED6F7;
  --sky-deep: #3CB0E0;
  --ocean: #1E88C8;
  --ocean-deep: #0D5C8C;
  --sand: #FFE0A3;
  --sand-dark: #E8C06A;
  --sun: #FFE566;
  --coral: #FF8A65;
  --coral-dark: #E86A48;
  --pink: #FF8FB3;
  --pink-dark: #E56A94;
  --mint: #7EE0C3;
  --mint-dark: #3EBB9A;
  --yellow: #FFE066;
  --yellow-dark: #E0B830;
  --lilac: #CBA6F7;
  --lilac-dark: #A078D8;
  --leaf: #8CD98C;
  --ink: #2A3A4C;
  --ink-soft: #4A5D72;
  --white: #FFFFFF;
  --shadow: 0 10px 24px rgba(20, 50, 80, 0.18);
  --radius: 28px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei",
    "Heiti SC", sans-serif;
  color: var(--ink);
  background: var(--sky);
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  text-rendering: optimizeLegibility;
}

button,
a {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

button {
  border: none;
  background: none;
  appearance: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== HOME ========== */

.page-home {
  background: linear-gradient(180deg, #8DE4FF 0%, #B8F0A8 58%, #FFE08A 100%);
  padding: calc(16px + var(--safe-t)) calc(16px + var(--safe-r)) calc(24px + var(--safe-b)) calc(16px + var(--safe-l));
  display: flex;
  flex-direction: column;
}

.home-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.sun {
  position: absolute;
  top: 4%;
  right: 8%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFFCE0, var(--sun) 55%, #FFC93A);
  box-shadow: 0 0 0 14px rgba(255, 229, 102, 0.35), 0 0 60px rgba(255, 200, 40, 0.55);
  animation: pulse-soft 4s ease-in-out infinite;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 40px;
  opacity: 0.92;
  animation: drift 18s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud-a {
  width: 120px;
  height: 40px;
  top: 8%;
  left: -10%;
}

.cloud-a::before {
  width: 50px;
  height: 50px;
  top: -26px;
  left: 16px;
}

.cloud-a::after {
  width: 64px;
  height: 64px;
  top: -32px;
  left: 46px;
}

.cloud-b {
  width: 160px;
  height: 48px;
  top: 16%;
  left: 40%;
  animation-duration: 26s;
  animation-delay: -8s;
}

.cloud-b::before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 22px;
}

.cloud-b::after {
  width: 80px;
  height: 80px;
  top: -40px;
  left: 62px;
}

.hill {
  position: absolute;
  bottom: -40px;
  width: 70%;
  height: 38%;
  background: #8ED96A;
  border-radius: 50% 50% 0 0;
  opacity: 0.55;
}

.hill-l { left: -20%; }
.hill-r { right: -18%; height: 30%; background: #7BC85C; }

.float-deco {
  position: absolute;
  font-size: 2.2rem;
  animation: bob 3.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.08));
}

.home-wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-header {
  text-align: center;
  padding: 12px 72px 20px;
  position: relative;
}

.home-header h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  letter-spacing: 0.04em;
  color: #1F4B6E;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.6);
  line-height: 1.25;
}

.tagline {
  margin-top: 6px;
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  color: var(--ink-soft);
  font-weight: 600;
}

.btn-speak-home {
  position: absolute;
  top: 8px;
  right: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 720px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .game-card:nth-child(1) { grid-column: 1 / 3; }
  .game-card:nth-child(2) { grid-column: 3 / 5; }
  .game-card:nth-child(3) { grid-column: 5 / 7; }
  .game-card:nth-child(4) { grid-column: 2 / 4; }
  .game-card:nth-child(5) { grid-column: 4 / 6; }
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 168px;
  padding: 20px 12px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow), 0 6px 0 rgba(0, 0, 0, 0.08);
  border: 4px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.15s ease;
  overflow: hidden;
}

.game-card.is-active:hover,
.game-card.is-active:focus-visible {
  transform: translateY(-4px) scale(1.03);
}

.game-card.is-active:active {
  transform: translateY(2px) scale(0.98);
}

.game-card.is-locked {
  cursor: default;
  filter: saturate(0.75);
}

.game-card.is-locked.shaking {
  animation: shake-gentle 0.45s ease;
}

.card-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

.card-icon svg {
  width: 88px;
  height: 88px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

.badge-soon {
  position: absolute;
  top: 10px;
  right: -2px;
  background: #FFF6D6;
  color: #8A5A12;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px 4px 10px;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.card-fish { background: linear-gradient(160deg, #4FC3F7, #0288D1); }
.card-feed { background: linear-gradient(160deg, #FFB38A, #F07850); }
.card-balloon { background: linear-gradient(160deg, #FF9EC4, #E25C8A); }
.card-blocks { background: linear-gradient(160deg, #FFE066, #F0B429); }
.card-friends { background: linear-gradient(160deg, #B39DDB, #7E57C2); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  transform: translateX(-50%) translateY(20px);
  background: rgba(42, 58, 76, 0.92);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 20;
  white-space: nowrap;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== SHARED CONTROLS ========== */

.icon-btn {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1), var(--shadow);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.12s ease;
}

.icon-btn:active {
  transform: translateY(3px) scale(0.96);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 80px;
  padding: 12px 36px;
  border-radius: 999px;
  background: linear-gradient(#FFE566, #FFC93A);
  color: #6B4A08;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 8px 0 #E0A020, 0 12px 20px rgba(0, 0, 0, 0.16);
  letter-spacing: 0.06em;
  transition: transform 0.1s ease;
}

.btn-primary:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #E0A020, 0 6px 10px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 64px;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ocean-deep);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(13, 92, 140, 0.2);
  text-decoration: none;
}

.btn-ghost:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(13, 92, 140, 0.2);
}

/* ========== GAME PAGE ========== */

.page-game {
  background: linear-gradient(180deg, #7FDBFF 0%, #2B91D6 48%, #0B5F9A 100%);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(10px + var(--safe-t)) calc(12px + var(--safe-r)) calc(12px + var(--safe-b)) calc(12px + var(--safe-l));
  position: relative;
  overflow: hidden;
}

.ocean-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.rays {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60%;
  height: 80%;
  background: conic-gradient(from 200deg at 50% 0%, transparent 0 8%, rgba(255, 255, 255, 0.12) 10%, transparent 14%, rgba(255, 255, 255, 0.1) 18%, transparent 22%);
  opacity: 0.7;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  animation: rise linear infinite;
  bottom: -20px;
}

.seabed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, #E8C06A 0%, #D4A84A 100%);
  border-radius: 80% 80% 0 0 / 40% 40% 0 0;
}

.weed {
  position: absolute;
  bottom: 40px;
  width: 16px;
  border-radius: 20px 20px 0 0;
  transform-origin: bottom center;
  animation: sway 3s ease-in-out infinite;
}

.weed-1 { left: 6%; height: 70px; background: #2E8B57; animation-delay: 0s; }
.weed-2 { left: 11%; height: 50px; background: #3CB371; animation-delay: -0.6s; width: 12px; }
.weed-3 { right: 8%; height: 76px; background: #2E8B57; animation-delay: -1.1s; }
.weed-4 { right: 13%; height: 46px; background: #66CDAA; animation-delay: -1.8s; width: 12px; }

.game-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  position: relative;
  z-index: 6;
}

.star-bar {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.28);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.star {
  width: 32px;
  height: 32px;
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.45;
  transition: transform 0.3s, filter 0.3s, opacity 0.3s;
}

.star.is-on {
  filter: none;
  opacity: 1;
  transform: scale(1.15);
  animation: star-pop 0.5s ease;
}

/* Overlays */
.overlay {
  position: relative;
  flex: 1;
  min-height: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 16px 24px;
  text-align: center;
  background: transparent;
}

.overlay.hidden,
.hidden {
  display: none !important;
}

.overlay h1 {
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  color: #fff;
  text-shadow: 0 3px 0 rgba(13, 92, 140, 0.35);
}

.overlay .lead {
  font-size: clamp(1.05rem, 3.4vw, 1.4rem);
  color: #E8F7FF;
  font-weight: 600;
  max-width: 22em;
}

.hero-art {
  width: min(420px, 92vw);
  height: 200px;
  position: relative;
}

/* Play screen */
.play-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.prompt {
  text-align: center;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 40, 80, 0.25);
  padding: 4px 8px 8px;
  letter-spacing: 0.02em;
}

.stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  min-height: 200px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 8px 4px 16px;
  overflow: hidden;
}

.cave {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(280px, 70%);
  height: 110px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.school {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 90px;
  max-width: 280px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  backdrop-filter: blur(4px);
}

.plus {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 40, 80, 0.25);
  padding: 0 2px;
}

.fish {
  position: relative;
  width: clamp(52px, 16vw, 86px);
  height: clamp(36px, 11vw, 58px);
  animation: wiggle 1.5s ease-in-out infinite;
}

.fish:nth-child(2) { animation-delay: -0.3s; }
.fish:nth-child(3) { animation-delay: -0.7s; }
.fish:nth-child(4) { animation-delay: -1.1s; }

.fish.is-entering-left {
  animation: swim-in-left 0.85s ease-out both, wiggle 1.5s ease-in-out 0.85s infinite;
}

.fish.is-entering-right {
  animation: swim-in-right 0.85s ease-out both, wiggle 1.5s ease-in-out 0.85s infinite;
}

.fish.is-lit {
  animation: count-pulse 0.7s ease;
  z-index: 3;
}

.fish.is-celebrate {
  animation: celebrate 0.6s ease infinite;
}

.fish .count-badge {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: #6B4A08;
  font-weight: 800;
  font-size: 1rem;
  display: none;
  place-items: center;
  box-shadow: 0 2px 0 #E0A020;
  border: 2px solid #fff;
}

.fish.is-lit .count-badge {
  display: grid;
}

.fish-svg.is-flip {
  transform: scaleX(-1);
}

.ask {
  text-align: center;
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  font-weight: 800;
  color: #FFF8DC;
  margin: 2px 0 10px;
  text-shadow: 0 2px 0 rgba(0, 40, 80, 0.25);
}

.answers {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 4px 4px 8px;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.answer-btn {
  flex: 1 1 0;
  max-width: 180px;
  min-width: 0;
  min-height: 108px;
  border-radius: 28px;
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  font-weight: 800;
  color: var(--ink);
  border: 5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12), 0 14px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.1s ease;
}

.answer-btn:nth-child(1) { background: #FFE066; box-shadow: 0 8px 0 #E0A020, 0 14px 20px rgba(0, 0, 0, 0.12); }
.answer-btn:nth-child(2) { background: #7EE0C3; box-shadow: 0 8px 0 #3EBB9A, 0 14px 20px rgba(0, 0, 0, 0.12); }
.answer-btn:nth-child(3) { background: #FF9EC4; box-shadow: 0 8px 0 #E25C8A, 0 14px 20px rgba(0, 0, 0, 0.12); }

.answer-btn:active:not(:disabled) {
  transform: translateY(6px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.answer-btn:disabled {
  cursor: default;
}

.answer-btn.is-wrong {
  animation: shake-gentle 0.45s ease;
}

.feedback {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) scale(0.6);
  z-index: 8;
  pointer-events: none;
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
  background: rgba(62, 187, 154, 0.92);
  padding: 16px 28px;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s;
  white-space: nowrap;
}

.feedback.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feedback.is-ok { background: rgba(62, 187, 154, 0.94); }
.feedback.is-hint { background: rgba(255, 193, 70, 0.95); color: #5A3E08; }

/* Reward */
.reward-stars {
  display: flex;
  gap: 8px;
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  line-height: 1;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.1));
}

.reward-stars span {
  display: inline-block;
  transform: scale(0);
  animation: star-pop 0.5s ease forwards;
}

.reward-stars span:nth-child(2) { animation-delay: 0.12s; }
.reward-stars span:nth-child(3) { animation-delay: 0.24s; }
.reward-stars span:nth-child(4) { animation-delay: 0.36s; }
.reward-stars span:nth-child(5) { animation-delay: 0.48s; }

.reward-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}

.confetti-piece {
  position: fixed;
  top: -12px;
  width: 12px;
  height: 18px;
  border-radius: 3px;
  z-index: 9;
  pointer-events: none;
  animation: confetti-fall 1.6s ease-in forwards;
}

/* ========== ANIMATIONS ========== */

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

@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(120vw); }
}

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

@keyframes wiggle {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-5px); }
}

@keyframes swim-in-left {
  0% { transform: translateX(-160px) translateY(18px) rotate(-8deg); opacity: 0; }
  100% { transform: translateX(0) translateY(0) rotate(0); opacity: 1; }
}

@keyframes swim-in-right {
  0% { transform: translateX(160px) translateY(18px) rotate(8deg); opacity: 0; }
  100% { transform: translateX(0) translateY(0) rotate(0); opacity: 1; }
}

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.55; }
  100% { transform: translateY(-110vh) scale(1.25); opacity: 0; }
}

@keyframes sway {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(10deg); }
}

@keyframes count-pulse {
  0% { transform: scale(1); filter: brightness(1); }
  35% { transform: scale(1.28); filter: brightness(1.25) drop-shadow(0 0 14px #FFE566); }
  100% { transform: scale(1.08); filter: drop-shadow(0 0 6px #FFE566); }
}

@keyframes celebrate {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

@keyframes star-pop {
  0% { transform: scale(0) rotate(-30deg); }
  70% { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes shake-gentle {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(100vh) rotate(520deg); opacity: 0.2; }
}

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

@media (max-height: 740px) {
  .home-wrap { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .icon-btn { width: 56px; height: 56px; min-width: 56px; font-size: 1.45rem; }
  .star { width: 26px; height: 26px; font-size: 1.4rem; }
  .fish { width: clamp(48px, 18vw, 68px); height: clamp(32px, 12vw, 46px); }
  .school { padding: 8px 6px; gap: 4px; }
  .answer-btn { min-height: 96px; border-radius: 22px; }
  .card-icon, .card-icon svg { width: 72px; height: 72px; }
  .game-card { min-height: 148px; }
  .hero-art { height: 160px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .page-game { padding-top: 6px; padding-bottom: 6px; }
  .hero-art { height: 110px; }
  .overlay { gap: 8px; padding: 10px; }
  .overlay h1 { font-size: 1.8rem; }
  .btn-primary { min-height: 60px; font-size: 1.4rem; min-width: 180px; }
  .prompt { font-size: 1.2rem; padding-bottom: 2px; }
  .ask { font-size: 1.05rem; margin-bottom: 4px; }
  .stage { min-height: 120px; padding: 0; }
  .fish { width: 64px; height: 42px; }
  .school { padding: 6px 8px; min-height: 60px; }
  .answer-btn { min-height: 72px; font-size: 2rem; }
  .cave { height: 70px; }
  .seabed { height: 48px; }
  .icon-btn { width: 48px; height: 48px; min-width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
