:root {
  color-scheme: light;
  --ink: #27382b;
  --muted: #6f806e;
  --deep-green: #315f3d;
  --leaf: #73a34d;
  --cream: #fffdf4;
  --gold: #f1bb48;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 10%, rgba(255,255,255,.95), transparent 37%),
    linear-gradient(135deg, #eef4d9 0%, #f6f4df 47%, #e5efce 100%);
}

button { font: inherit; }

.app-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 22px;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}

.phase-tools { display: flex; justify-content: flex-end; align-items: center; gap: 7px; flex-wrap: wrap; }

.test-phase-button {
  padding: 10px 13px;
  border: 1px solid rgba(91, 119, 68, .25);
  border-radius: 12px;
  color: #527345;
  background: rgba(255,255,249,.68);
  cursor: pointer;
  font-size: .77rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}

.test-phase-button:hover { transform: translateY(-1px); background: #fffef4; }
.test-phase-button:focus-visible, .advance-button:focus-visible { outline: 3px solid #f5c74f; outline-offset: 3px; }

.heading { min-width: 0; }

.eyebrow {
  margin: 0 0 7px;
  color: #668748;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.eyebrow span { color: #e59c62; font-size: .95rem; }

h1, h2, p { margin-top: 0; }

h1, h2, .status-number strong, .completion-card {
  font-family: ui-rounded, 'Trebuchet MS', system-ui, sans-serif;
}

h1 {
  margin-bottom: 2px;
  color: #2e5037;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

/* O placar pertence ao jardim. Continua visível se a página rolar em telas baixas. */
.game-status {
  position: sticky;
  top: 10px;
  z-index: 8;
  width: max-content;
  max-width: calc(100% - 135px);
  margin: 12px 0 0 12px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 3px 16px;
  padding: 7px 12px;
  color: #294a33;
  background: #fffbedf5;
  border: 1px solid #fffce8;
  border-radius: 13px;
  box-shadow: 0 3px 12px #27583b30;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.status-number { display: grid; gap: 2px; }
.status-label { color: #536d50; font-size: .65rem; font-weight: 700; }
.status-number strong { font-size: 1.15rem; font-weight: 900; line-height: 1; }
.progress-number strong { font-size: .95rem; }
.score-star { color: #b37919; font-size: .72rem; }

.progress-track {
  grid-column: 1 / -1;
  height: 7px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ebdb;
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #78a94d, #b4c965);
  transition: width .45s ease;
}

.game-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 11px 3px;
  color: #687b63;
  font-size: .83rem;
}

.tip-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #5c7b43;
  background: #eef2d9;
  font-size: 1rem;
}

kbd {
  display: inline-block;
  min-width: 20px;
  margin: 0 2px;
  padding: 2px 5px;
  border: 1px solid #d7dfc8;
  border-bottom-width: 2px;
  border-radius: 5px;
  color: #526846;
  background: #fffef7;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
}

.garden {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(64vw, 650px);
  min-height: 430px;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 244, .92);
  border-radius: 27px;
  outline: none;
  background:
    radial-gradient(ellipse at 49% 44%, rgba(218, 239, 153, .5), transparent 42%),
    radial-gradient(ellipse at 82% 17%, rgba(218, 235, 153, .5), transparent 33%),
    linear-gradient(155deg, #9bc86e 0%, #8cba61 42%, #76a954 100%);
  box-shadow: 0 18px 48px rgba(61, 93, 49, .2), inset 0 0 0 1px rgba(62, 102, 47, .14);
}

.garden.is-phase-two {
  background:
    radial-gradient(ellipse at 49% 44%, rgba(222, 239, 154, .45), transparent 42%),
    radial-gradient(ellipse at 82% 17%, rgba(220, 235, 152, .42), transparent 33%),
    linear-gradient(155deg, #8cba64 0%, #82af5c 42%, #719d50 100%);
}

.garden.is-phase-two .decor-tree { display: none; }
.garden:focus-visible { outline: 3px solid #f1bb48; outline-offset: 3px; }
.animal-layer[hidden], .tree-layer[hidden], .fruit-layer[hidden], .couple[hidden], .snake[hidden], .phase-overlay[hidden], .choice-menu[hidden], .test-phase-button[hidden], .advance-button[hidden] { display: none !important; }

.garden::before,
.garden::after {
  position: absolute;
  z-index: -1;
  content: '';
  pointer-events: none;
}

.garden::before {
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(rgba(255,255,255,.42) 1px, transparent 1px);
  background-size: 25px 25px;
}

.garden::after {
  inset: 12px;
  border: 1px solid rgba(248, 255, 226, .19);
  border-radius: 20px;
}

.garden-path {
  position: absolute;
  z-index: -1;
  left: 13%;
  bottom: 5%;
  width: 76%;
  height: 22%;
  transform: rotate(-4deg);
  border: 1px solid rgba(209, 188, 127, .4);
  border-radius: 50% 48% 35% 45%;
  background: linear-gradient(180deg, rgba(226, 211, 157, .92), rgba(205, 187, 130, .92));
  box-shadow: inset 0 7px 10px rgba(255,255,255,.23), 0 6px 13px rgba(65, 90, 47, .12);
  opacity: .68;
}

.pond {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 4%;
  display: flex;
  width: 19%;
  height: 14%;
  align-items: center;
  justify-content: space-around;
  transform: rotate(-8deg);
  border: 4px solid rgba(199, 224, 133, .8);
  border-radius: 48%;
  color: rgba(255,255,255,.72);
  background: linear-gradient(150deg, #76c4bd, #55aaa1 63%, #47988e);
  box-shadow: inset 0 0 18px rgba(35, 105, 97, .25), 0 7px 13px rgba(44, 92, 48, .16);
  font-size: 1.15rem;
}

.pond span:last-child { transform: translateY(10px) scale(.7); opacity: .55; }
.garden-glow { position: absolute; z-index: -1; width: 110px; height: 110px; border-radius: 50%; background: rgba(245, 247, 174, .18); filter: blur(5px); }
.glow-one { top: 9%; left: 40%; }
.glow-two { right: 25%; bottom: 16%; width: 72px; height: 72px; }

.decor {
  position: absolute;
  z-index: 0;
  display: block;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 5px 4px rgba(42, 81, 38, .2));
}

.decor-tree { font-size: clamp(2rem, 5vw, 4.5rem); }
.tree-one { left: 1.5%; top: 1%; }
.tree-two { right: 2%; top: 2%; }
.tree-three { left: 3%; bottom: 0; font-size: clamp(1.8rem, 4vw, 3.7rem); }
.decor-bush { font-size: clamp(1.5rem, 3vw, 2.7rem); opacity: .88; }
.bush-one { top: 13%; left: 15%; transform: rotate(-20deg); }
.bush-two { top: 4%; left: 65%; transform: rotate(23deg); }
.bush-three { right: 14%; bottom: 18%; transform: rotate(-35deg); }
.decor-flower { font-size: clamp(1rem, 2vw, 1.8rem); filter: drop-shadow(0 3px 3px rgba(50,76,39,.17)); }
.flower-one { top: 48%; left: 7%; }
.flower-two { top: 67%; left: 16%; }
.flower-three { top: 17%; left: 34%; }
.flower-four { right: 27%; top: 59%; }
.flower-five { right: 7%; top: 47%; }
.decor-butterfly { top: 30%; left: 58%; font-size: 1.45rem; animation: butterfly-drift 5s ease-in-out infinite; }

.animal-layer, .reward-layer, .tree-layer, .fruit-layer, .projectile-layer { position: absolute; inset: 0; pointer-events: none; }
.tree-layer { z-index: 1; }
.fruit-layer { z-index: 7; }
.projectile-layer { z-index: 8; }

/* As opções ficam na interface. Cada animal tem apenas
   o próprio desenho transparente e a sombra projetada no chão. */
.animal {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  --label-height: 48px;
}
.animal canvas { position: absolute; }
.animal-quarto-de-milha, .animal-puro-sangue, .animal-canguru, .animal-girafa { --label-height: 91px; }
.animal-quarto-de-milha.is-mounted, .animal-puro-sangue.is-mounted, .animal-ponei.is-mounted { --label-height: 119px; }
.animal-cachorro { --label-height: 53px; }
.animal-cabra, .animal-ibex, .animal-rinoceronte, .animal-leao, .animal-tigre, .animal-urso, .animal-cisne { --label-height: 65px; }
.animal-burro, .animal-ponei { --label-height: 81px; }
.animal-ovelha, .animal-golfinho { --label-height: 60px; }
.animal-ra, .animal-sapo, .animal-tilapia { --label-height: 33px; }

.official-name {
  position: absolute;
  z-index: 3;
  top: calc(-1 * var(--label-height));
  left: 50%;
  display: none;
  padding: 5px 10px;
  transform: translate(-50%, -100%) scale(var(--label-scale, 1));
  transform-origin: bottom center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  color: #fffdf4;
  background: #426f43;
  box-shadow: 0 5px 11px rgba(39,75,40,.24);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}

.animal.has-names .official-name, .animal.is-answering .official-name { display: block; }
.animal.is-answering .official-name {
  left: var(--member-x);
  top: var(--member-top);
  padding: 3px 8px;
  border-color: #796536;
  background: #ffecab;
  color: #493c24;
  font-size: .72rem;
}
.animal.is-answering .official-name::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border-right: 1px solid #796536;
  border-bottom: 1px solid #796536;
  background: #ffecab;
}
.animal.is-answering::before, .animal.is-answering::after,
.animal.is-family.has-names::before, .animal.is-family.has-names::after { display: none; }
.animal.is-family.has-names.is-next:not(.is-answering) .official-name {
  box-shadow: 0 0 0 2px #ffcf58, 0 3px 8px #394d323d;
}
.garden:has(.is-family[data-near="true"]) #adam .player-name { visibility: hidden; }
.animal.is-next::before, .animal.is-next::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 13px;
  left: -9px;
  bottom: calc(var(--label-height) + 4px);
  background: #77532b;
  clip-path: polygon(0 0, 50% 25%, 100% 0, 92% 40%, 50% 100%, 8% 40%);
}
.animal.is-next::after {
  width: 12px;
  height: 8px;
  left: -6px;
  bottom: calc(var(--label-height) + 7px);
  background: #ffce52;
}
.animal-flamingo, .animal-garca, .animal-zebra, .animal-veado, .animal-pavao { --label-height: 78px; }
.animal-girafa { --label-height: 103px; }
.animal[data-rearing="true"] { --label-height: 110px; }

.choice-menu {
  position: absolute;
  z-index: 8;
  width: min(360px, calc(100% - 18px));
  height: 152px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.choice-button {
  position: absolute;
  display: grid;
  width: 40%;
  min-height: 35px;
  place-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  color: #3c6039;
  background: #fffef6;
  box-shadow: 0 5px 13px rgba(40, 71, 38, .2);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  pointer-events: auto;
}

.choice-button:nth-child(1) { top: 0; left: 0; }
.choice-button:nth-child(2) { top: 0; right: 0; }
.choice-button:nth-child(3) { top: 42%; left: 0; }
.choice-button:nth-child(4) { top: 42%; right: 0; }
.choice-button:nth-child(5) { bottom: 0; left: 30%; }
.choice-button:hover:not(:disabled) { transform: translateY(-2px) scale(1.035); box-shadow: 0 8px 17px rgba(40,71,38,.26); background: #fff8d7; }
.choice-button:focus-visible, .restart-button:focus-visible, .touch-controls button:focus-visible { outline: 3px solid #f5c74f; outline-offset: 3px; }
.choice-button:disabled { cursor: not-allowed; }
.choice-button.is-wrong { border-color: #f2aaa2; color: #fff; background: #db6a60; box-shadow: 0 3px 8px rgba(133,44,38,.2); animation: wrong-shake .42s ease both; }

.player {
  position: absolute;
  z-index: 5;
  top: 52%;
  left: 50%;
  width: 62px;
  height: 78px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: left, top;
}

.player-name {
  position: absolute;
  z-index: 3;
  top: -14px;
  left: 50%;
  padding: 3px 9px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fffef2;
  background: rgba(55, 97, 52, .83);
  font-size: .68rem;
  font-weight: 800;
}

.adam-shadow { position: absolute; right: 7px; bottom: 0; left: 7px; height: 13px; border-radius: 50%; background: rgba(48,75,36,.27); filter: blur(3px); }
.adam-figure { position: absolute; inset: 0; filter: drop-shadow(0 3px 2px rgba(42,70,35,.2)); }
.adam-head { position: absolute; z-index: 2; top: 5px; left: 20px; width: 25px; height: 27px; border: 1px solid rgba(110,69,38,.24); border-radius: 48% 48% 46% 46%; background: linear-gradient(135deg, #f1bd8a, #d99561); }
.adam-hair { position: absolute; z-index: 3; top: 1px; left: 17px; width: 31px; height: 13px; transform: rotate(-5deg); border-radius: 70% 55% 35% 25%; background: #5d3925; }
.adam-eyes { position: absolute; top: 11px; left: 7px; width: 3px; height: 3px; border-radius: 50%; background: #39281f; box-shadow: 8px 0 #39281f; }
.adam-body { position: absolute; z-index: 1; top: 30px; left: 17px; width: 31px; height: 28px; border: 1px solid rgba(57,92,37,.2); border-radius: 43% 43% 30% 30%; background: linear-gradient(150deg, #79a747, #527a37); }
.adam-leaf { position: absolute; top: 5px; left: 8px; width: 17px; height: 12px; transform: rotate(-12deg); border-radius: 2px 13px 2px 13px; background: #a4c85e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.adam-arm { position: absolute; z-index: 0; top: 32px; width: 11px; height: 25px; border-radius: 10px; background: #dfa374; }
.arm-left { left: 10px; transform: rotate(20deg); }
.arm-right { right: 9px; transform: rotate(-20deg); }
.adam-leg { position: absolute; z-index: 0; top: 53px; width: 11px; height: 20px; border-radius: 8px; background: #ba8055; }
.leg-left { left: 20px; transform: rotate(5deg); }
.leg-right { right: 19px; transform: rotate(-5deg); }

/* A Eva reutiliza a construção e as proporções de Adão; cabelo e roupa mudam. */
.couple {
  position: absolute;
  z-index: 5;
  top: 72%;
  left: 50%;
  width: 130px;
  height: 88px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: left, top;
}

.couple .player-name { top: -10px; }
.person { position: absolute; top: 5px; width: 62px; height: 78px; }
.adam-member { left: 10px; z-index: 2; }
.eve-member { left: 58px; z-index: 1; }
.person .adam-shadow { right: 7px; left: 7px; }
.eve-figure .adam-hair { top: 0; left: 16px; width: 32px; height: 14px; transform: rotate(4deg); border-radius: 62% 48% 42% 35%; background: #4e3028; }
.eve-lock { position: absolute; z-index: 3; top: 8px; width: 6px; height: 19px; border-radius: 5px 5px 8px 8px; background: #4e3028; }
.eve-lock-left { left: 17px; transform: rotate(5deg); }
.eve-lock-right { right: 14px; transform: rotate(-5deg); }
.eve-member .adam-body { border-color: rgba(105, 61, 48, .24); background: linear-gradient(150deg, #c98165, #a95e4e); }
.eve-member .adam-leaf { transform: rotate(12deg); background: #e0ad69; }
.adam-member .arm-right { transform: rotate(-34deg); }
.eve-member .arm-left { transform: rotate(34deg); }
.joined-hands { position: absolute; z-index: 6; top: 38px; left: 61px; width: 11px; height: 9px; border: 1px solid rgba(110,69,38,.2); border-radius: 50%; background: #dfa374; }
.couple.is-chewing .person { animation: chew-bounce .34s ease-in-out 3; }
.couple.is-chewing::after { position: absolute; top: 7px; left: 22px; width: 84px; height: 68px; border: 2px solid rgba(255, 232, 125, .72); border-radius: 50%; content: ''; animation: chew-glow .8s ease-out both; }
.couple.is-hurt { animation: hurt-flash .18s steps(2, jump-none) infinite; }

.fruit-tree {
  position: absolute;
  width: clamp(88px, 11vw, 122px);
  height: 142px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 5px rgba(44, 79, 36, .24));
  pointer-events: none;
}

.tree-trunk {
  position: absolute;
  z-index: 0;
  top: 64px;
  left: 50%;
  width: 19px;
  height: 72px;
  transform: translateX(-50%);
  border: 1px solid rgba(103, 73, 39, .26);
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(90deg, #80542f, #aa7442 48%, #734b2c);
}

.tree-crown {
  position: absolute;
  z-index: 1;
  top: 1px;
  left: 50%;
  width: 104px;
  height: 87px;
  transform: translateX(-50%);
  border: 1px solid rgba(230, 248, 171, .28);
  border-radius: 46% 54% 48% 50%;
  background:
    radial-gradient(ellipse at 30% 35%, #b6d77c 0 16%, transparent 17%),
    radial-gradient(ellipse at 68% 29%, #93c363 0 19%, transparent 20%),
    radial-gradient(ellipse at 54% 66%, #6f9f4d 0 24%, transparent 25%),
    radial-gradient(ellipse at 32% 68%, #86b65a 0 21%, transparent 22%),
    #7eae53;
  box-shadow: inset 0 6px 10px rgba(239, 255, 188, .22);
}

.tree-crown::before, .tree-crown::after { position: absolute; border-radius: 50%; background: rgba(184, 218, 119, .9); content: ''; }
.tree-crown::before { top: 10px; left: 16px; width: 36px; height: 31px; }
.tree-crown::after { top: 17px; right: 12px; width: 35px; height: 29px; background: rgba(111, 159, 76, .76); }
.secret-mark { position: absolute; z-index: 2; top: 35px; left: 50%; transform: translateX(-50%); color: #40582f; font-size: .56rem; font-weight: 900; letter-spacing: 2px; opacity: .18; }
.fruit-tree.is-secret .secret-mark { opacity: .55; text-shadow: 0 0 7px rgba(242, 221, 113, .65); }

.tree-fruit {
  position: absolute;
  z-index: 3;
  width: 23px;
  height: 23px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,240,.9);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd5a1 0 13%, #ed754c 15% 62%, #bc4438 100%);
  box-shadow: 0 3px 7px rgba(67, 52, 31, .24), inset -2px -2px 3px rgba(127,42,30,.2);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  transition: filter .12s ease;
}

.tree-fruit::before { position: absolute; top: -5px; left: 10px; width: 7px; height: 6px; transform: rotate(-25deg); border-radius: 8px 0; background: #588640; content: ''; }
.tree-fruit::after { position: absolute; top: 4px; left: 5px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.75); content: ''; }
.tree-fruit.fruit-gold { background: radial-gradient(circle at 32% 28%, #fff0a6 0 13%, #f4bf4d 15% 62%, #d99032 100%); }
.tree-fruit:hover { filter: brightness(1.12); }
.tree-fruit.is-dragging { z-index: 10; transform: translate(-50%, -50%) scale(1.2); cursor: grabbing; filter: drop-shadow(0 8px 6px rgba(37,62,31,.3)); }
.tree-fruit.was-eaten { animation: fruit-pop .28s ease-in both; }

.snake {
  position: absolute;
  z-index: 6;
  width: 70px;
  height: 72px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: left, top;
}

.snake-body { position: absolute; top: 27px; left: 4px; width: 49px; height: 32px; transform: rotate(-18deg); border: 5px solid #5a793f; border-top-color: transparent; border-radius: 50%; color: transparent; }
.snake-head { position: absolute; top: 16px; right: 3px; display: grid; width: 33px; height: 33px; place-items: center; transform: rotate(-18deg); font-size: 1.65rem; filter: drop-shadow(0 3px 2px rgba(36,65,34,.32)); }
.snake-energy { position: absolute; top: 0; left: 10px; width: 50px; height: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 99px; background: #e8d5c7; box-shadow: 0 2px 5px rgba(46,68,38,.25); }
.snake-energy-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #cb6656, #e7945d); transition: width .2s ease; }
.snake.is-wiggling .snake-head { animation: snake-sway .45s ease-in-out infinite alternate; }
.snake.is-blinking { animation: snake-flash .3s steps(2, jump-none) 2; }
.snake.is-descending { animation: snake-arrive .58s cubic-bezier(.2,.8,.3,1) both; }
.snake.is-fleeing { filter: grayscale(.2) opacity(.85); }

.projectile { position: absolute; z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; transform: translate(-50%, -50%); font-size: 1.45rem; filter: drop-shadow(0 3px 3px rgba(52,64,37,.3)); }
.projectile.is-dropped { animation: fruit-fall .28s ease-out both; }

.reward-pop { position: absolute; z-index: 10; top: 0; left: 0; width: max-content; will-change: left, top, opacity; }
.reward-chip { display: flex; align-items: center; gap: 4px; padding: 4px 9px 4px 5px; border: 1px solid rgba(255,255,255,.83); border-radius: 999px; color: #815c0e; background: rgba(255, 251, 220, .96); box-shadow: 0 4px 13px rgba(98,77,17,.23); font-size: .88rem; font-weight: 900; white-space: nowrap; }
.reward-star { color: #f5bb30; font-size: 1.28rem; text-shadow: 0 1px 4px rgba(229,158,25,.38); }

.phase-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(36, 66, 39, .45);
  backdrop-filter: blur(5px);
}

.phase-overlay[hidden], .choice-menu[hidden] { display: none; }

.completion-card {
  width: min(390px, 100%);
  padding: 31px 32px 28px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 25px;
  background: #fffdf4;
  box-shadow: 0 22px 60px rgba(25,53,28,.28);
  text-align: center;
  animation: card-arrive .45s cubic-bezier(.2,.8,.2,1) both;
}

.completion-star { margin-bottom: 3px; color: #efb83d; font-size: 2.5rem; line-height: 1; text-shadow: 0 5px 14px rgba(224,165,43,.3); }
.completion-card .eyebrow { margin: 12px 0 5px; }
.completion-card h2 { margin: 0; color: #31593a; font-size: 2rem; font-weight: 900; letter-spacing: -.05em; }
.completion-copy { margin: 6px 0 18px; color: #77816e; font-size: .92rem; }
.final-score { display: grid; gap: 0; padding: 12px; border-radius: 14px; color: #6d7d5d; background: #f0f4df; font-size: .78rem; }
.final-score strong { color: #3a663c; font-family: ui-rounded, 'Trebuchet MS', system-ui, sans-serif; font-size: 2rem; font-weight: 900; }

.restart-button {
  width: 100%;
  margin-top: 16px;
  padding: 13px 17px;
  border: 0;
  border-radius: 13px;
  color: #fffef4;
  background: linear-gradient(135deg, #5f944b, #3d7346);
  box-shadow: 0 7px 16px rgba(53,104,57,.23);
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease;
}

.restart-button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(53,104,57,.3); }
.restart-button span { margin-left: 5px; font-size: 1.1rem; }

.advance-button {
  width: 100%;
  margin-top: 16px;
  padding: 13px 17px;
  border: 0;
  border-radius: 13px;
  color: #fffef4;
  background: linear-gradient(135deg, #e1aa45, #c9803d);
  box-shadow: 0 7px 16px rgba(166, 112, 48, .22);
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease;
}

.advance-button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(166,112,48,.3); }
.advance-button span { margin-left: 5px; font-size: 1.1rem; }

.garden-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 5px 0; color: #72806b; font-size: .78rem; }
.garden-footer p { margin: 0; }
.garden-footer .made-note { color: #8a927d; }
.made-note span { color: #d99187; }
.footer-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #86aa5d; box-shadow: 0 0 0 3px rgba(134,170,93,.16); }
.touch-controls { display: none; }
.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; }

@keyframes wrong-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px) rotate(-2deg); } 40% { transform: translateX(5px) rotate(2deg); } 60% { transform: translateX(-3px) rotate(-1deg); } 80% { transform: translateX(3px) rotate(1deg); } }
@keyframes butterfly-drift { 0%, 100% { transform: translate(0,0) rotate(-7deg); } 50% { transform: translate(15px,-9px) rotate(8deg); } }
@keyframes card-arrive { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes chew-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes chew-glow { 0% { opacity: 0; transform: scale(.75); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.22); } }
@keyframes hurt-flash { 0%, 100% { opacity: 1; } 50% { opacity: .38; } }
@keyframes fruit-pop { to { opacity: 0; transform: translate(-50%, -50%) scale(.2); } }
@keyframes fruit-fall { from { transform: translate(-50%, -70%) rotate(-18deg); } to { transform: translate(-50%, 0) rotate(65deg); } }
@keyframes snake-sway { from { transform: rotate(-22deg) translateY(0); } to { transform: rotate(12deg) translateY(-3px); } }
@keyframes snake-flash { 50% { opacity: .12; filter: brightness(2.4); } }
@keyframes snake-arrive { from { opacity: .1; transform: translate(-50%, -50%) translateY(-45px) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%) translateY(0) scale(1); } }

@media (max-width: 760px) {
  .app-shell { width: min(100% - 28px, 620px); padding-top: 20px; }
  .topbar { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 15px; }
  .phase-tools { justify-content: flex-start; }
  .test-phase-button { padding: 9px 12px; }
  .subtitle { font-size: .9rem; }
  .game-status { top: 6px; margin: 7px 0 0 7px; gap: 3px 9px; padding: 5px 8px; max-width: calc(100% - 121px); }
  .progress-number { justify-self: end; text-align: right; }
  .game-tip { align-items: flex-start; font-size: .76rem; line-height: 1.55; }
  .tip-icon { flex: 0 0 25px; }
  .garden { height: 530px; min-height: 0; border-width: 5px; border-radius: 21px; }
  .garden-path { left: 7%; width: 86%; }
  .pond { width: 26%; right: 2%; }
  .decor-tree { font-size: 2.6rem; }
  .tree-one { left: -1%; top: 0; }
  .tree-two { right: 0; top: 0; }
  .choice-menu { width: min(330px, calc(100% - 10px)); height: 148px; }
  .choice-button { min-height: 34px; padding: 4px 5px; font-size: .65rem; }
  .player { transform: translate(-50%, -50%) scale(.92); transform-origin: center; }
  .couple { transform: translate(-50%, -50%) scale(.88); transform-origin: center; }
  .fruit-tree { transform: translate(-50%, -50%) scale(.82); transform-origin: center; }
  .tree-fruit { width: 21px; height: 21px; }
  .garden-footer { align-items: flex-start; flex-wrap: wrap; font-size: .73rem; }
  .garden-footer .made-note { margin-left: auto; }
  .touch-controls { display: grid; flex: 0 0 100%; justify-items: center; gap: 3px; order: 2; margin: 9px 0 2px; }
  .touch-controls button { display: grid; width: 37px; height: 32px; place-items: center; border: 1px solid #d1daba; border-radius: 9px; color: #587347; background: rgba(255,255,249,.82); touch-action: none; user-select: none; }
  .touch-row { display: flex; gap: 4px; }
  .phase-overlay { border-radius: 16px; }
}

@media (max-width: 390px) {
  .app-shell { width: calc(100% - 20px); }
  .garden { height: 490px; }
  .choice-menu { width: calc(100% - 8px); }
  .choice-button { font-size: .6rem; }
}

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

/* A câmera controla o recorte. O navegador não deve rolar o jardim ao focar uma resposta. */
.garden { overflow: clip; overflow-anchor: none; }

#landscape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#exploration-world { position: absolute; top: 0; left: 0; transform-origin: 0 0; z-index: 2; pointer-events: none; }
.garden.is-phase-two .exploration-only, #mount-hint[hidden], .sound-button[hidden] { display: none; }
.garden:not(.is-phase-two) > :is(.garden-path,.pond,.garden-glow,.decor) { display: none; }
.garden:not(.is-phase-two) .reward-layer { z-index: 10; }
.garden:not(.is-phase-two) .choice-menu { z-index: 9; width: min(272px, calc(100% - 16px)); height: 155px; }
.garden:not(.is-phase-two) .choice-button { width: 35%; min-height: 33px; font-size: .79rem; border-color: #b2bf90; }
.garden:not(.is-phase-two) .choice-button:nth-child(5) { left: 32.5%; }
/* Os espaços entre as duas fileiras reservam o centro para toda a família. */
.garden:not(.is-phase-two) .family-quiz {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 37px 1fr 37px;
  column-gap: 6px;
  width: min(380px, calc(100% - 16px));
  height: var(--family-menu-height, 194px);
}
.garden:not(.is-phase-two) .family-quiz .choice-button {
  position: static;
  width: auto;
  min-width: 0;
  padding: 2px 5px;
  align-self: stretch;
  font-size: clamp(.69rem, 1.15vw, .80rem);
}
.family-quiz .choice-button:nth-child(1) { grid-area: 1 / 2 / 2 / 4; }
.family-quiz .choice-button:nth-child(2) { grid-area: 1 / 4 / 2 / 6; }
.family-quiz .choice-button:nth-child(3) { grid-area: 3 / 1 / 4 / 3; }
.family-quiz .choice-button:nth-child(4) { grid-area: 3 / 3 / 4 / 5; }
.family-quiz .choice-button:nth-child(5) { grid-area: 3 / 5 / 4 / 7; }
.garden:not(.is-phase-two) .choice-button.is-wrong { border-color: #bb5549; }

.map-card, .location, #mount-hint {
  position: absolute; z-index: 6; color: #375443; background: #fff9e9f2;
  box-shadow: 0 3px 12px #27583b2e; border: 1px solid #fcffe6;
}
.map-card { top: 13px; right: 13px; width: 136px; padding: 8px; border-radius: 13px; pointer-events: none; }
.map-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; font-size: .66rem; font-weight: 800; }
.map-heading span { color: #618565; font-size: .58rem; }
#minimap { width: 100%; display: block; border: 1px solid #9cae82; border-radius: 5px; }
.map-legend { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; font-size: .59rem; font-weight: 650; }
.map-legend span::before { content: ''; width: 6px; height: 6px; display: inline-block; margin-right: 3px; border-radius: 50%; background: #b84931; }
.map-legend span + span::before { background: #ffce5d; border: 1px solid #fff8dc; box-shadow: 0 0 0 1.5px #77542d; }
.location { left: 15px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 750; pointer-events: none; }
.location span:first-child { font-size: 1rem; color: #829958; }
#mount-hint { right: 14px; bottom: 14px; border-radius: 11px; padding: 6px 9px; font-size: .76rem; font-weight: 700; z-index: 8; cursor: pointer; }
.sound-button[aria-pressed="true"] { background: #eee8d7; color: #715e4a; }

#exploration-world .player { transform: translate(-50%, -100%); transform-origin: center bottom; }
#adam .player-name { transform: translateX(-50%) scale(var(--label-scale,1)); transform-origin: center bottom; }
#adam .adam-figure { transform-origin: 50% 65%; }
#adam .adam-leg { transform-origin: 50% 10%; }
#adam.is-walking .adam-leg { animation: eden-step .39s ease-in-out infinite alternate; }
#adam.is-walking .leg-right { animation-direction: alternate-reverse; }
#adam.is-walking .adam-figure { animation: eden-stride .39s ease-in-out infinite alternate; }
#adam.is-swimming .adam-figure { transform: translateY(20px) rotate(calc(69deg * var(--face))) scale(.88); }
#adam.is-swimming .adam-arm { transform-origin: 50% 12%; animation: eden-crawl .68s linear infinite; }
#adam.is-swimming .arm-right { animation-delay: -.34s; }
#adam.is-swimming .adam-leg { animation: eden-kick .32s ease-in-out infinite alternate; }
#adam.is-swimming .leg-right { animation-direction: alternate-reverse; }
#adam.is-swimming .adam-shadow { height: 7px; width: 64px; left: -1px; background: #2b939a55; }
#adam.is-swimming::after { content:''; position:absolute; bottom: 1px; left: 0; width: 66px; height: 9px; border-bottom: 2px solid #d1f3df; border-radius: 50%; }
#adam.is-swimming .player-name { top: 3px; }
#adam.is-riding .adam-figure { transform: translate(var(--seat-x, 0px), var(--seat-y, -36px)) rotate(var(--seat-angle, 0rad)) scale(.87); transform-origin: 50% 100%; }
#adam.is-riding .leg-left { transform: translate(-4px,-2px) rotate(31deg); }
#adam.is-riding .leg-right { transform: translate(4px,-2px) rotate(-31deg); }
#adam.is-riding .arm-left { transform: rotate(-29deg); }
#adam.is-riding .arm-right { transform: rotate(29deg); }
#adam.is-riding .adam-shadow, #adam.is-riding .player-name, #adam.is-rolling .player-name { visibility: hidden; }
#adam[data-mode="dog-toss"] .adam-figure { transform: translateY(var(--seat-y)) rotate(var(--seat-angle)); }
#adam[data-mode="wading"] { clip-path: inset(-100% -100% 3px); }
.animal[data-mode="wading"] { --label-height: 40px; }
.animal.is-mounted[data-mode="wading"] { --label-height: 66px; }
#adam.is-rolling .adam-figure { transform: rotate(var(--roll-angle,0deg)) scale(.9); }
#adam.is-rolling .adam-leg { top: 47px; height: 15px; }

@keyframes eden-step { from { transform: translateY(-3px) rotate(-17deg); } to { transform: translateY(2px) rotate(16deg); } }
@keyframes eden-stride { from { translate: 0 0; } to { translate: 0 -2px; } }
@keyframes eden-crawl { 0% { transform: rotate(-140deg) scaleY(.86); } 48% { transform: rotate(10deg) scaleY(1); } 78% { transform: rotate(140deg) scaleY(.72); } 100% { transform: rotate(220deg) scaleY(.86); } }
@keyframes eden-kick { from { transform: rotate(-14deg); } to { transform: rotate(22deg); } }
@media(max-width:760px) {
  .map-card { top: 8px; right: 8px; width: 103px; padding: 6px; }
  .map-legend { gap: 7px; }
  .location { left: 7px; bottom: 7px; font-size: .64rem; padding: 4px 7px; }
  #mount-hint { bottom: 7px; right: 7px; font-size: .68rem; }
}
@media(prefers-reduced-motion:reduce) {
  #adam.is-rolling .adam-figure { transform: rotate(22deg) scale(.9); }
}

/* Pomar da Fase 1. Plantas, personagens e sombras compartilham a altura do chão. */
#pomar { position: absolute; inset: 0; pointer-events: none; }
#pomar[hidden], .fruto-do-pomar[hidden], .completion-card button[hidden] { display: none !important; }
.planta-do-pomar { position: absolute; width: 0; height: 0; }
.desenho-planta, .corda-cipo, .fruto-do-pomar { position: absolute; }
.desenho-planta, .fruto-do-pomar, .fruta-na-mao { background-size: contain; background-position: center; background-repeat: no-repeat; }
.fruto-do-pomar {
  pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none;
  width: 42px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background-color: transparent; transform: translate(-50%, -50%); cursor: grab;
  filter: drop-shadow(0 1px 1px #344c3566); transition: filter .12s, scale .12s;
}
.fruto-do-pomar:hover, .fruto-do-pomar:focus-visible { filter: drop-shadow(0 0 3px #fff4a1) drop-shadow(0 1px 1px #33472b); }
.fruto-do-pomar:focus-visible { outline: 2px solid #f2c964; }
.fruto-do-pomar.colhendo { opacity: 0; }
.fruta-na-mao {
  position: fixed; z-index: 1000; width: 38px; height: 36px; pointer-events: none;
  transform: translate(-50%, -55%) rotate(-7deg); filter: drop-shadow(2px 5px 3px #45603965);
}
.corda-cipo {
  width: 5px; margin-left: -2.5px; border: 1px solid #4e6839; border-radius: 3px 3px 6px 5px;
  background: repeating-linear-gradient(140deg, #a0ae5e 0 8px, #6d904b 9px 13px);
  transform-origin: 50% 0;
}
.corda-cipo::before, .corda-cipo::after { content: ''; position: absolute; }
.corda-cipo::before {
  top: 19%; left: 2px; width: 10px; height: 6px; border-radius: 9px 1px 9px 1px;
  background: #80a35b; box-shadow: -9px 20px 0 -1px #718e4f, 0 42px 0 -2px #839d50;
}
.corda-cipo::after { bottom: -3px; left: -4px; width: 7px; height: 8px; border: 2px solid #708344; border-radius: 50%; }
#mount-hint[data-action^="balancar"] { color: #375f3e; background: #fff8d9; }
#mount-hint[data-action^="balancar"] span { font-size: .9em; }
#adam .adam-mouth {
  position: absolute; left: 8px; top: 17px; width: 9px; height: 5px;
  border-bottom: 1.7px solid #955b45; border-radius: 20% 20% 65% 65%;
}
#adam.recebendo-fruta .adam-mouth, #adam.mastigando .adam-mouth {
  height: 6px; background: #925344; border-radius: 50%;
}
#adam.recebendo-fruta .adam-mouth::after {
  content: ''; position: absolute; inset: -5px -4px; border: 1.5px dashed #fff9c8; border-radius: 50%;
}
#adam.fruta-na-boca .adam-mouth::after { border-style: solid; box-shadow: 0 0 5px #fff4a2; }
#adam.mastigando .adam-mouth { animation: eden-mordida .17s ease-in-out infinite alternate; }
@keyframes eden-mordida { to { transform: scale(1.17,.34); } }
#adam .adam-body::before {
  content: ''; position: absolute; left: 50%; top: 43%; transform: translate(-47%, -39%);
  width: calc(21px + 45px * var(--barriga, 0)); height: calc(15px + 30px * var(--barriga, 0));
  opacity: clamp(0, calc(var(--barriga, 0) * 6), 1); border-radius: 45% 55% 49% 48%;
  border: 1.4px solid #557541; background: radial-gradient(ellipse at 62% 32%, #a3be62, #759b4a 63%, #537b40);
  transition: width .23s ease-out, height .23s ease-out, opacity .15s;
}
#adam:is([data-mode="idle"],[data-mode="walking"]) .arm-left { translate: calc(-13px * var(--barriga,0)) calc(6px * var(--barriga,0)); }
#adam:is([data-mode="idle"],[data-mode="walking"]) .arm-right { translate: calc(15px * var(--barriga,0)) calc(6px * var(--barriga,0)); }
#adam .origem-fumaca { position: absolute; top: 53px; left: calc(50% - var(--face,1) * (15px + 18px * var(--barriga,0))); width: 1px; height: 1px; }
.fumacinha {
  position: absolute; width: 16px; height: 12px; pointer-events: none; border-radius: 48%;
  background: #b4d576; border: 1px solid #7a9d57; box-shadow: -4px -3px 1px #c5de88, 4px -2px 1px #abca6c, 3px 2px 3px #779950;
  animation: eden-fumaca 1.25s ease-out both;
}
.fumacinha::before { content: ''; position: absolute; top: -4px; left: 2px; width: 8px; height: 6px; border: 1px solid #88aa61; border-bottom: 0; border-radius: 50% 50% 0 0; background: #c1dc84; }
@keyframes eden-fumaca {
  0% { opacity: .15; transform: translate(-50%,-50%) scale(.26); }
  16% { opacity: .82; }
  100% { opacity: 0; transform: translate(var(--sopro),var(--subida)) scale(1.64); }
}
#adam[data-mode="swinging"] .adam-figure, #adam[data-mode="flying"] .adam-figure {
  transform: translateY(var(--altura-ar,0px)) rotate(var(--giro-ar,0rad));
}
#adam[data-mode="swinging"] .adam-figure { transform-origin: 50% 8px; }
#adam[data-mode="swinging"] .adam-arm { top: 3px; height: 32px; z-index: 3; }
#adam[data-mode="swinging"] .arm-left { left: 16px; transform: rotate(29deg); }
#adam[data-mode="swinging"] .arm-right { right: 15px; transform: rotate(-29deg); }
#adam[data-mode="swinging"] .leg-left { transform: rotate(20deg); }
#adam[data-mode="swinging"] .leg-right { transform: rotate(-18deg); }
#adam[data-mode="flying"] .leg-left { transform: rotate(46deg); height: 17px; }
#adam[data-mode="flying"] .leg-right { transform: rotate(-31deg); height: 18px; }
#adam[data-mode="flying"] .arm-left { transform: rotate(75deg); }
#adam[data-mode="flying"] .arm-right { transform: rotate(-55deg); }
#adam[data-mode="flying"] .adam-shadow { opacity: .48; }
#exploration-world.passeio-iniciado #adam .player-name,
#exploration-world.passeio-iniciado .is-mounted .official-name,
#exploration-world.passeio-iniciado .acompanha-adao .official-name { visibility: hidden; }

/* Os passageiros ficam acima do corpo da baleia. Os três mantêm suas silhuetas próprias. */
.animal.no-dorso { translate: 0 var(--altura-dorso, -56px); }
.animal.no-dorso .official-name, .companheiro-golfinho .official-name { visibility: hidden; }
.animal-baleia-azul { --label-height: 85px; }
.animal-orca { --label-height: 81px; }
#energia[hidden], #pular[hidden] { display: none; }
#energia {
  position: relative; grid-column: 1 / -1; display: flex; align-items: center; gap: 5px;
  padding: 3px 0 5px; color: #3e6f38; font-size: .66rem; font-weight: 750;
}
#energia span { font-size: .85rem; color: #b77d19; }
#energia strong { margin-left: auto; font-variant-numeric: tabular-nums; }
#energia::after {
  content: ''; position: absolute; inset: auto 0 0; height: 3px; border-radius: 4px;
  background: #8fba57; transform-origin: left; transform: scaleX(var(--reserva));
}
#pular {
  position: absolute; bottom: 13px; left: 50%; translate: -50% 0; z-index: 8;
  border: 1px solid #adc380; border-radius: 12px; color: #3d6135;
  background: #fffbe7f2; font: inherit; font-size: .78rem; font-weight: 750;
  padding: 6px 10px; cursor: pointer; touch-action: manipulation;
}
#adam.com-energia .adam-figure { filter: drop-shadow(0 0 3px #ffe68e) drop-shadow(0 0 5px #ffdc6d99); }
#adam[data-mode="running"] .adam-leg, #adam[data-mode="running"] .adam-figure { animation-duration: .19s; }
#adam[data-mode="jumping"] .adam-figure { transform: translateY(var(--altura-ar)) rotate(var(--giro-ar)); }
#adam[data-mode="jumping"] .leg-left { transform: rotate(36deg); }
#adam[data-mode="jumping"] .leg-right { transform: rotate(-45deg); }
#adam[data-mode="jumping"] .arm-left { transform: rotate(95deg); }
#adam[data-mode="jumping"] .arm-right { transform: rotate(-95deg); }
#adam[data-mode="jumping"] .adam-shadow { opacity: .45; }
.fala-fruta { display: none; }
#adam.saboreando-fruta .player-name { visibility: hidden; }
#adam.saboreando-fruta .fala-fruta {
  display: block; position: absolute; bottom: 110%; left: 50%; translate: -50% 0; z-index: 6;
  padding: 4px 10px; border: 1.5px solid #a48036; border-radius: 12px 12px 12px 2px;
  white-space: nowrap; background: #fff6c6; color: #64501e; font-weight: 900; font-size: .88rem; rotate: -6deg;
}
@media (max-width: 620px) {
  #pular { bottom: 7px; padding: 8px 10px; font-size: .72rem; }
  #pular kbd { display: none; }
}

#adam.saboreando-fruta:is([data-mode="idle"],[data-mode="running"],[data-mode="walking"]) .arm-left { transform: rotate(105deg); }
#adam.saboreando-fruta:is([data-mode="idle"],[data-mode="running"],[data-mode="walking"]) .arm-right { transform: rotate(-105deg); }
#pular:disabled { opacity: .65; }

/* No toque, a ação do rio e o salto têm áreas separadas junto à margem. */
@media (max-width: 620px), (pointer: coarse) {
  #mount-hint .prefixo-tecla { display: none; }
  #mount-hint .verbo { display: inline-block; }
  #mount-hint .verbo::first-letter { text-transform: uppercase; }
  #mount-hint, #pular { min-height: 38px; padding-inline: 12px; }
  #pular { right: 8px; left: auto; bottom: 8px; translate: none; }
  .garden:has(#mount-hint:not([hidden])) #pular { bottom: 53px; }
}
