.pad {
  height: auto;
  aspect-ratio: 3 / 2;
  border: 0;
  border-radius: 0;
  background: url("assets/lily-pad.png") center / contain no-repeat;
  box-shadow: none;
  transform: translate(-50%, -50%);
}

.scene.duck-scene { background-image:url('assets/duck-river.png'); background-position:center 57%; }
.traveler.swimming { width:112px; height:92px; transform:translate(-50%,-85%); transition:left .9s ease-in-out,top .9s ease-in-out; filter:none; }
.traveler.swimming::after { content:none; }
.duck { position:relative; width:100%; height:100%; }
.duck img { position:relative; z-index:2; display:block; width:100%; height:100%; object-fit:contain; animation:duck-bob 3s ease-in-out infinite; user-select:none; }
.duck-wake { position:absolute; left:5%; bottom:-1%; width:100%; height:22%; border:2px solid #e7fdff; border-top-color:transparent; border-radius:50%; box-shadow:0 3px 0 #5fa9b559; transform:rotate(-5deg); }
.swim-stroke .duck img { animation:duck-paddle .9s ease-in-out; }
.swim-stroke .duck-wake { animation:duck-wake .9s ease-out; }
.journey .planned { opacity:.65; }
@keyframes duck-bob { 50% { transform:translateY(-2px) rotate(1deg); } }
@keyframes duck-paddle { 0%,100% { transform:translateY(0) rotate(0); } 30% { transform:translateY(-3px) rotate(-3deg); } 65% { transform:translateY(1px) rotate(2deg); } }
@keyframes duck-wake { 0% { opacity:.5; scale:.8; } 45% { opacity:1; } 100% { opacity:.7; scale:1.15; } }
@media(max-width:600px) {
  .scene.duck-scene { background-position:center 57%; }
  .traveler.swimming { width:88px; height:73px; }
  .duck-scene .scene-label { max-width:calc(100% - 32px); }
  .duck-scene + .practice .practice-top h2 { font-size:14px; }
  body.duck-level .journey { gap:4px; }
  body.duck-level .journey i { width:5px; }
  body.duck-level .journey b { font-size:11px; }
  body.duck-level .journey span { gap:2px; }
}

.scene.bridge-scene {
  background-image: url("assets/wooden-bridge.png");
  background-position: center 20%;
  height: 420px;
}

.bridge-scene .traveler {
  transition: left 0.7s ease-in-out, top 0.7s ease-in-out;
}

.bridge-scene .jumping #frog {
  animation: bridge-hop 0.7s ease-in-out;
  transform-origin: 50% 96%;
}

@keyframes bridge-hop {
  0% { transform: translateY(0) scale(1.03, 0.96); }
  45% { transform: translateY(-38px) rotate(-5deg); }
  85% { transform: translateY(0) scale(1.04, 0.94); }
  100% { transform: translateY(0); }
}

.pad::before,
.pad::after {
  content: none;
}

.traveler {
  width: 88px;
  height: 88px;
  transform: translate(-50%, -98%);
}

#frog {
  display: block;
  object-fit: contain;
  user-select: none;
}

.traveler::after {
  content: "";
  position: absolute;
  bottom: 1%;
  left: 24%;
  width: 52%;
  height: 8%;
  background: #254f36;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(3px);
}

.traveler.jumping::after {
  opacity: 0.1;
  transform: scale(0.7);
}

.traveler.on-bank::after {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 23%;
  width: 54%;
  height: 7%;
  background: #244426;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(3px);
}

.traveler.floating {
  width: 160px;
  height: 132px;
  transform: translate(-50%, -82%);
  transition: left 1s ease-in-out, top 1s ease-in-out;
}

.traveler.floating::after {
  content: none;
}

.boat {
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  border-radius: 0;
  box-shadow: none;
  animation: canoe-bob 3s ease-in-out infinite;
}

.boat::after {
  content: none;
}

.canoe-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oar {
  position: absolute;
  width: 60%;
  height: 100%;
  left: 32%;
  top: 28%;
  object-fit: contain;
  transform-origin: 50% 28%;
  transform: rotate(46deg);
}

.rowing .oar {
  animation: paddle-stroke 1s ease-in-out;
}

.paddle-ripple {
  position: absolute;
  width: 42%;
  height: 15%;
  left: 7%;
  bottom: -3%;
  border: 2px solid #dbfbf4;
  border-radius: 50%;
  opacity: 0;
}

.rowing .paddle-ripple {
  animation: paddle-splash 1s ease-out;
}

@keyframes canoe-bob {
  50% { translate: 0 -2px; }
}

@keyframes paddle-stroke {
  0%, 100% { transform: rotate(46deg); }
  20% { transform: rotate(25deg) translateY(-3px); }
  65% { transform: rotate(68deg) translateY(5px); }
}

@keyframes paddle-splash {
  0%, 25% { opacity: 0; transform: scale(0.5); }
  45% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.5); }
}

@media (max-width: 600px) {
  .scene.bridge-scene {
    height: 260px;
    background-position: left 20%;
  }
  .traveler {
    width: 66px;
    height: 66px;
  }

  .traveler.floating {
    width: 108px;
    height: 90px;
  }

  .scene {
    background-position: left 52%;
  }

  .traveler.on-bank {
    top: 74% !important;
    left: 13% !important;
  }
}
.scene.reed-scene{background-image:url('assets/duck-reeds.png');transition:background-position 1s ease;}
.scene.footprint-scene{background-image:url('assets/duck-footprints.png');transition:background-position 1s ease;}
.scene.mother-scene{background-image:url('assets/duck-mother.png');transition:background-position 1s ease;}
.traveler.walking{width:100px;height:112px;transform:translate(-50%,-100%);filter:none;transition:left 1s ease,top 1s ease;}
.walking .duck{height:100%;width:100%;transform-origin:center bottom;transition:transform 1s ease;}
.walking .duck img{width:100%;height:100%;object-fit:contain;object-position:center bottom;animation:none;}
.walking .duck-wake{display:none;}
.walking::after{content:'';position:absolute;bottom:0;left:22%;width:56%;height:9px;border-radius:50%;background:#74542740;z-index:-1;}
.walk-step .duck img{animation:duckWalk 1s ease;}
@keyframes duckWalk{20%,60%{transform:translateY(-4px) rotate(-3deg)}40%,80%{transform:translateY(-1px) rotate(3deg)}100%{transform:none}}
@media(max-width:600px){.traveler.walking{width:72px;height:82px;}}
.sentence { flex-direction:column; align-items:center; gap:6px; font-size:30px; line-height:1.5; }
.reading-line { display:flex; flex-wrap:wrap; justify-content:center; gap:0 10px; width:100%; }
@media(max-width:600px) {
  .reading .sentence { font-size:25px; gap:8px; }
  .reading-line { gap:0 8px; }
}
