/* Illustrated Wildkin Nursery. Scoped after hd-shell.css so game controls keep their size. */
.nursery-game {
  --ng-ink: #eaf7e8;
  --ng-muted: #c7ded6;
  --ng-edge: #163e43;
  --ng-display: 'Wildkin Display', Outfit, sans-serif;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  padding: 16px 13px 19px;
  overflow: hidden;
  border: 2px solid #72afa2;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 3% 6%, #7dbd6675 0, transparent 33%),
    radial-gradient(ellipse at 94% 27%, #76c5a93d 0, transparent 34%),
    radial-gradient(ellipse at 50% 60%, #388e7a38 0, transparent 56%),
    linear-gradient(150deg, #255b58, #173f4a 57%, #183c4e);
  box-shadow: inset 0 2px #c1efd480, inset 0 -4px #10343d, 0 5px #082c48;
  color: var(--ng-ink);
  font: 500 14px/1.5 'DM Sans', Inter, system-ui, sans-serif;
}
.nursery-game::before, .nursery-game::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: 160px;
  height: 280px;
  top: -70px;
  border: 19px solid #86b66c24;
  border-radius: 75% 15% 80% 15%;
  transform: rotate(-32deg);
}
.nursery-game::before { left: -95px; }
.nursery-game::after { right: -92px; transform: scaleX(-1) rotate(-32deg); }
.nursery-game *, .nursery-game *::before, .nursery-game *::after { box-sizing: border-box; }
.nursery-game.nursery-game.nursery-game .ng-copy {
  margin: 0;
  color: var(--ng-muted);
  font: 500 14px/1.5 'DM Sans', Inter, system-ui, sans-serif;
  text-shadow: none;
  -webkit-text-stroke: 0;
  overflow-wrap: anywhere;
}
.nursery-game.nursery-game.nursery-game h1,
.nursery-game.nursery-game.nursery-game h2,
.nursery-game.nursery-game.nursery-game h3 {
  margin: 0;
  color: #fff5cf;
  font-family: var(--ng-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 2px #123b43;
  -webkit-text-stroke: .8px #123b43;
  paint-order: stroke fill;
  overflow-wrap: anywhere;
}
.nursery-game.nursery-game.nursery-game button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.nursery-game.nursery-game.nursery-game button:focus-visible,
.nursery-game.nursery-game.nursery-game summary:focus-visible { outline: 3px solid #fff0a0; outline-offset: 4px; }
.nursery-game.nursery-game.nursery-game button:disabled { cursor: default; opacity: .58; transform: none; }
.nursery-game.nursery-game.nursery-game button:active:not(:disabled) { transform: translateY(2px); }
.ng-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; margin-bottom: 16px; }
.ng-header > div:first-child { min-width: 0; }
.nursery-game.nursery-game.nursery-game .ng-header h1 { margin-top: 3px; font-size: 36px; }
.ng-kicker { display: block; color: #d2eab7; font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: 1px; }
.ng-food-balance { display: flex; flex: none; align-items: center; gap: 4px; min-width: 90px; padding: 5px 9px 5px 5px; border: 1px solid #93c89a; border-radius: 10px; background: #0e353bd6; box-shadow: inset 0 1px #bbf1bf38, 0 2px #0a2935; }
.ng-food-balance > .game-icon { flex: none; width: 34px; height: 40px; filter: drop-shadow(0 2px #092c3a); }
.ng-food-balance small { display: block; color: #c9e1c5; font: 750 10px/1.3 'DM Sans', sans-serif; letter-spacing: .4px; }
.ng-food-balance strong { display: block; max-width: 115px; overflow-wrap: anywhere; color: #fff5c8; font: 400 25px/1.1 var(--ng-display); text-shadow: 0 2px #072c38; }
.ng-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0 0 19px; padding: 0 0 14px; border-bottom: 1px solid #a6d4bc38; gap: 6px; }
.ng-steps li { display: flex; align-items: center; gap: 5px; min-width: 0; color: #a7c4bf; font-size: 11px; line-height: 1.3; }
.ng-steps li > span { display: flex; flex: none; justify-content: center; align-items: center; width: 23px; height: 23px; color: #c9ded2; border: 1px solid #87b8ab; border-radius: 50%; background: #143b43; font: 750 12px 'DM Sans', sans-serif; }
.ng-steps li.is-current { color: #fff3bd; }
.ng-steps li.is-current > span { color: #4a3e19; background: linear-gradient(#fff0a3,#e6bc51); border-color: #ffedac; box-shadow: 0 2px #705c2d; }
.ng-steps li.is-complete > span { background: #4d946f; color: #fff5d7; border-color: #b1d78b; }
.ng-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-width: 0; margin-bottom: 12px; }
.nursery-game.nursery-game.nursery-game .ng-section-heading h2 { font-size: 24px; }
.ng-duration { flex: none; padding: 4px 7px; color: #daf0d9; border: 1px solid #86b9a44a; border-radius: 6px; background: #153d44; font-size: 12px; white-space: nowrap; }
.ng-parent-pair { display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); align-items: center; gap: 0; }
.nursery-game.nursery-game.nursery-game .ng-parent {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  min-height: 180px;
  min-width: 0;
  width: 100%;
  padding: 9px 5px 8px;
  border: 2px dashed #a5ceae;
  border-radius: 13px;
  background: radial-gradient(ellipse at 50% 20%, #458f7b55, #153d45 85%);
  box-shadow: inset 0 2px #b5e8bc24, 0 3px #0a2d37;
  color: #e6f3dc;
  text-shadow: none;
  font-size: 14px;
}
.nursery-game.nursery-game.nursery-game .ng-parent.has-parent { border-style: solid; border-color: #c5dd95; background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb,var(--kin-color) 43%,#3b726b),#1a4550 80%); }
.nursery-game.nursery-game.nursery-game .ng-parent:hover:not(:disabled) { border-color: #fff0b2; filter: brightness(1.07); }
.ng-parent-number { font-size: 11px; line-height: 1.3; color: #cee3bd; letter-spacing: .7px; font-weight: 800; }
.ng-parent-art { display: block; position: relative; width: 100%; height: 89px; }
.ng-parent-art > .creature-art { width: 100%; height: 100%; max-width: 145px; object-fit: contain; filter: drop-shadow(0 5px 3px #062d3b66); }
.ng-parent > strong { width: 100%; color: #fff6da; font: 400 19px/1.15 var(--ng-display); -webkit-text-stroke: .6px #163a43; paint-order: stroke fill; text-shadow: 0 2px #153a43; overflow-wrap: anywhere; }
.ng-parent-meta { display: block; margin-top: 4px; color: #e1ede0; font: 650 14px/1.3 'DM Sans', sans-serif; }
.ng-parent > .mt-badges,.ng-choice > .mt-badges { justify-content:center; max-width:100%; margin-top:5px; font-size:11px; }
.ng-outcome-type .mt-badges,.ng-reveal-traits .mt-badges { justify-content:center; font-size:11px; }
.ng-growing-parents strong .mt-badges { justify-content:flex-start; margin-top:4px; font-size:11px; }
.ng-parent-change { display: block; color: #fff0a8; font-size: 14px; line-height: 1.2; margin-top: 7px; }
.ng-parent-change > span { margin-left: 3px; font-size: 17px; }
.ng-parent-empty { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; margin: 14px 0 14px; border: 2px solid #a6d2a660; border-radius: 50%; background: #79a78b21; color: #d6efc3; font: 400 44px/1 'DM Sans', sans-serif; box-shadow: inset 0 2px #b4dcb22b; }
.ng-pair-heart { position: relative; z-index: 1; display: block; width: 34px; margin-left: -3px; color: #e7bd72; filter: drop-shadow(0 2px #123741); }
.ng-pair-heart svg { width: 34px; height: 34px; }
.ng-breed-review { margin-top: 15px; }
.nursery-game.nursery-game.nursery-game .ng-hatch-disclosure { display: grid; gap: 4px; margin: 0 0 12px; padding: 11px 12px; border: 1px solid #c9d79a; border-radius: 9px; background: #123e38; }
.ng-hatch-disclosure strong { color: #fff1bd; font-size: 16px; }
.ng-review-cost { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 9px; margin: 0 0 10px; color: #cce0cd; font-size: 14px; }
.ng-review-cost > span:first-child { display: flex; gap: 4px; align-items: center; color: #fff1bd; font-size: 14px; }
.ng-review-cost .game-icon { width: 24px; height: 27px; }
.nursery-game.nursery-game.nursery-game .ng-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 10px 13px;
  border: 2px solid #8d601e;
  border-radius: 11px;
  background: linear-gradient(#fff0a5,#ffd35a 48%,#e9ab2a);
  box-shadow: inset 0 2px #fff9d0,inset 0 -4px #ce8b1f,0 4px #694b22,0 5px #0c2c3d;
  color: #fff7d3;
  font: 400 24px/1.15 var(--ng-display);
  -webkit-text-stroke: 1.2px #6b481b;
  paint-order: stroke fill;
  text-shadow: 0 2px #855f21;
}
.nursery-game.nursery-game.nursery-game .ng-primary:hover:not(:disabled) { background: linear-gradient(#fff5be,#ffdf77 50%,#f1b43b); }
.nursery-game.nursery-game.nursery-game .ng-primary:disabled { opacity: .67; filter: saturate(.48); }
.ng-primary > span:first-child { flex: 1; text-align: center; }
.ng-primary .game-icon { width: 33px; height: 37px; flex: none; }
.ng-button-cost { display: flex; align-items: center; gap: 2px; flex: none; padding-left: 9px; border-left: 1px solid #a577325c; font-size: 23px; }
.ng-button-cost .game-icon { width: 30px; height: 34px; }
.nursery-game.nursery-game.nursery-game .ng-breed-hint { margin: 12px 0 0; }
.nursery-game.nursery-game.nursery-game .ng-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; width: 100%; margin-top: 12px; padding: 10px 12px; border: 1px solid #9abfaf; border-radius: 9px; background: linear-gradient(#407769,#285a58); color: #fff3c9; box-shadow: inset 0 1px #b8e0c25c,0 3px #0d343d; font: 750 14px/1.4 'DM Sans', sans-serif; -webkit-text-stroke: 0; text-shadow: 0 1px #153c40; }
.ng-secondary .game-icon { width: 29px; height: 31px; }
.ng-outcomes { margin-top: 25px; padding-top: 19px; border-top: 1px solid #a7d4bc38; }
.nursery-game.nursery-game.nursery-game .ng-outcomes .ng-section-heading { margin-bottom: 13px; }
.nursery-game.nursery-game.nursery-game .ng-outcomes h2 { font-size: 23px; }
.ng-small-egg .game-icon { width: 32px; height: 35px; }
.ng-outcome-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(90px,1fr)); gap: 7px; }
.ng-outcome { min-width: 0; padding: 7px 3px 9px; border: 1px solid #a6d6bb; border-radius: 10px; background: radial-gradient(ellipse at 50% 34%,color-mix(in srgb,var(--kin-color) 30%,#326367),#173d49 85%); box-shadow: inset 0 1px #c8f0d437,0 2px #092b36; text-align: center; }
.ng-outcome-label { display: block; padding: 3px 2px; margin: -1px 0 2px; color: #304e2a; background: #c4e89c; border-radius: 5px; font: 800 10px/1.3 'DM Sans', sans-serif; }
.ng-outcome-label.is-owned { color: #dbede1; background: #416f6a; }
.ng-outcome-art { display: block; height: 82px; width: 100%; }
.ng-outcome-art .creature-art { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 2px #082c3570); }
.nursery-game.nursery-game.nursery-game .ng-outcome h3 { font-size: 17px; }
.ng-outcome-type { display: block; margin-top: 4px; color: #cee7db; font-size: 11px; }
.nursery-game.nursery-game.nursery-game .ng-outcome-note { margin-top: 13px; }
.ng-preview-empty { display: flex; align-items: center; gap: 12px; min-height: 80px; padding: 14px; border: 1px dashed #81b3a1; border-radius: 10px; background: #153c435e; }
.ng-preview-empty > span { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 51px; color: #d4e4be; border: 2px solid #7caa98; border-radius: 50% 50% 45% 45%; background: #c4dfbb19; font: 400 28px var(--ng-display); }
.ng-guide { margin-top: 21px; padding-top: 4px; border-top: 1px solid #a7d4bc38; }
.nursery-game.nursery-game.nursery-game .ng-guide > summary { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding: 8px 0; list-style: none; font: 750 14px/1.4 'DM Sans', sans-serif; color: #e5f0df; cursor: pointer; }
.ng-guide > summary::-webkit-details-marker { display: none; }
.ng-guide > summary > span { font-size: 25px; font-weight: 500; }
.ng-guide[open] > summary > span { transform: rotate(45deg); }
.nursery-game.nursery-game.nursery-game .ng-guide p { margin: 0 0 13px; }
.ng-picker { min-width: 0; }
.nursery-game.nursery-game.nursery-game .ng-back { display: flex; align-items: center; gap: 6px; min-height: 48px; width: auto; margin: -3px 0 14px; padding: 6px 12px 6px 10px; border: 1px solid #8fc2ac; border-radius: 8px; background: #204e51; color: #fff4c6; box-shadow: inset 0 1px #b8e7c44d,0 2px #0e303c; font: 750 14px/1.3 'DM Sans', sans-serif; }
.ng-back > span { font-size: 27px; line-height: 1; }
.ng-picker .ng-section-heading { align-items: flex-start; }
.ng-picker .ng-section-heading .ng-kicker { margin-bottom: 4px; }
.nursery-game.nursery-game.nursery-game .ng-picker h2 { font-size: 26px; }
.ng-count { flex: none; margin-top: 24px; font-size: 12px; color: #cde2c8; }
.ng-picker-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 7px; margin-top: 18px; }
.nursery-game.nursery-game.nursery-game .ng-choice { display: flex; flex-direction: column; align-items: center; min-height: 190px; min-width: 0; padding: 8px 5px 12px; border: 2px solid #90beaa; border-radius: 12px; color: #fff4d5; background: radial-gradient(ellipse at 50% 37%,color-mix(in srgb,var(--kin-color) 33%,#46746d),#19424c 85%); box-shadow: inset 0 1px #d1f7d157,0 4px #0d303a; text-align: center; text-shadow: none; }
.nursery-game.nursery-game.nursery-game .ng-choice:hover:not(:disabled) { border-color: #ffe7a5; filter: brightness(1.08); }
.nursery-game.nursery-game.nursery-game .ng-choice.is-selected { border-color: #ffdf83; box-shadow: inset 0 0 0 1px #fff3b4,0 0 16px #d8c66b30,0 4px #0d303a; }
.ng-choice-badge { display: block; max-width: 100%; min-height: 22px; padding: 3px 8px; color: #ddefcf; border: 1px solid #a2d0ae55; border-radius: 6px; background: #153c47aa; font: 750 11px/1.3 'DM Sans', sans-serif; }
.ng-choice.is-selected .ng-choice-badge { color: #4c421d; border-color: #ffe7a5; background: #efd38a; }
.ng-choice-art { display: block; width: 100%; height: 110px; }
.ng-choice-art .creature-art { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 3px #072c3780); }
.ng-choice > strong { display: block; width: 100%; margin-top: 3px; color: #fff6d8; font: 400 21px/1.15 var(--ng-display); -webkit-text-stroke: .6px #103a40; paint-order: stroke fill; text-shadow: 0 2px #173c44; overflow-wrap: anywhere; }
.ng-choice-meta { display: block; color: #daeae2; margin-top: 5px; font: 600 14px/1.4 'DM Sans', sans-serif; }
.ng-empty-note { margin-top: 18px; padding: 15px; border: 1px solid #9bbc8d; border-radius: 10px; background: #173f46; }
.ng-empty-note > strong { display: block; margin-bottom: 6px; color: #fff3bd; font-size: 16px; }
.nursery-game.nursery-game.nursery-game .ng-message { margin: 0 0 16px; padding: 12px; border: 1px solid #d6c18a; border-radius: 9px; background: #5d5c315c; color: #fff2c2; }
.ng-growth-heading { text-align: center; }
.ng-growth-heading .ng-kicker { margin-bottom: 7px; }
.nursery-game.nursery-game.nursery-game .ng-growth-heading h2 { font-size: 29px; }
.ng-egg-scene { position: relative; max-width: 360px; margin: -6px auto -20px; aspect-ratio: 360 / 248; }
.ng-nest-art { position: relative; z-index: 1; display: block; height: 100%; width: 100%; filter: drop-shadow(0 4px 4px #082c3c66); }
.ng-egg-rays { position: absolute; inset: -3% 8% 5%; border-radius: 50%; background: radial-gradient(ellipse,#d1d99160,#c4ce6c17 47%,transparent 70%); }
.ng-egg-shell { transform-origin: 180px 200px; animation: ng-egg-breathe 4.8s ease-in-out infinite; }
.ng-egg-crack { opacity: 0; }
.ng-egg-scene.is-ready .ng-egg-crack { opacity: 1; }
.ng-egg-scene.is-ready .ng-egg-rays { background: radial-gradient(ellipse,#fff3a78c,#d3bd6533 48%,transparent 70%); }
.ng-egg-scene.is-ready .ng-egg-shell { animation: ng-egg-ready 3.8s ease-in-out infinite; }
.ng-firefly { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff5b3; box-shadow: 0 0 10px #ffeb98; animation: ng-firefly 5s ease-in-out infinite; }
.ng-firefly.one { left: 19%; top: 41%; }
.ng-firefly.two { right: 18%; top: 25%; animation-delay: -2s; }
.ng-firefly.three { right: 26%; top: 63%; animation-delay: -3.5s; }
.ng-timer-card { position: relative; z-index: 2; width: min(235px,85%); margin: 0 auto; padding: 9px 13px 12px; border: 1px solid #a9d6a9; border-radius: 12px; background: linear-gradient(#244e4e,#183d44); box-shadow: inset 0 1px #d4f3c233,0 4px #0c3039; text-align: center; }
.ng-time-label { display: block; color: #d4e5bd; font: 800 11px/1.4 'DM Sans', sans-serif; letter-spacing: 1px; }
.ng-timer { display: block; margin: 2px 0 8px; color: #fff0b3; font: 400 38px/1.1 var(--ng-display); font-variant-numeric: tabular-nums; text-shadow: 0 2px #15313c; }
.ng-progress { position: relative; width: 100%; height: 12px; overflow: hidden; border: 1px solid #071f2b; border-radius: 8px; background: #0e2e36; box-shadow: inset 0 2px #08242d,0 1px #7aab9e77; }
.ng-progress > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(#dbf7ad,#9fd677 55%,#5fab75); box-shadow: inset 0 2px #f3ffd0aa; transition: width .2s linear; }
.ng-care-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 16px 0 12px; }
.ng-care-dots > span { display: block; width: 25px; height: 25px; color: #edb8b8; filter: drop-shadow(0 2px #16343c); }
.ng-care-dots > span.is-used { color: #4b8274; opacity: .75; }
.ng-care-dots svg { width: 100%; height: 100%; }
.ng-egg-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; gap: 11px; }
.nursery-game.nursery-game.nursery-game .ng-nurture { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 68px; padding: 7px; border: 2px solid #72b0a0; border-radius: 11px; background: linear-gradient(#6a9d87,#3d776f); color: #f1d4ce; box-shadow: inset 0 2px #cbebbd69,inset 0 -3px #275b57,0 4px #103b3e; text-shadow: 0 1px #254e4c; }
.ng-nurture > svg { flex: none; width: 31px; height: 33px; }
.ng-nurture > span { min-width: 0; }
.ng-nurture strong { display: block; color: #fff4d5; font: 400 23px/1.15 var(--ng-display); -webkit-text-stroke: .7px #244b4a; paint-order: stroke fill; }
.ng-nurture small { display: block; margin-top: 4px; color: #e2efdd; font: 650 11px/1.3 'DM Sans', sans-serif; }
.nursery-game.nursery-game.nursery-game .ng-hatch { min-height: 68px; font-size: 23px; padding: 8px 7px; }
.ng-hatch > .game-icon { width: 30px; height: 36px; }
.ng-hatch > span { flex: none; }
.nursery-game.nursery-game.nursery-game .ng-care-status { margin-top: 14px; text-align: center; min-height: 42px; }
.ng-growing-parents { margin-top: 18px; padding-top: 15px; border-top: 1px solid #b4d8bc38; text-align: center; }
.ng-growing-parents > span { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #c5dbbd; }
.ng-growing-parents > div { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.ng-growing-parents > div > span { display: flex; align-items: center; min-width: 0; gap: 2px; }
.ng-growing-parents > div > span > span { flex: none; width: 42px; height: 46px; }
.ng-growing-parents .creature-art { width: 100%; height: 100%; object-fit: contain; }
.ng-growing-parents strong { font: 400 16px/1.2 var(--ng-display); color: #f6edcd; overflow-wrap: anywhere; }
.ng-growing-parents b { color: #c6dab9; font-size: 19px; }
.nursery-game.nursery-game.nursery-game .ng-away-note { margin: 12px 0 0; text-align: center; }
.nursery-game.nursery-reveal { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 23px 15px 20px; background: radial-gradient(ellipse at 50% 35%,#82975766,transparent 53%),linear-gradient(150deg,#356759,#183f4c 72%); }
.nursery-game.nursery-game.nursery-game.nursery-reveal > h1 { font-size: 35px; margin-top: 7px; }
.nursery-game.nursery-game.nursery-game.nursery-reveal > .ng-kicker { color: #e9e5b2; }
.ng-reveal-art { position: relative; isolation: isolate; width: min(310px,100%); height: 255px; margin: -2px 0 -12px; }
.ng-reveal-art > .creature-art { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 5px #082c3b90); animation: ng-reveal-in .5s cubic-bezier(.2,.8,.3,1) both; }
.ng-reveal-rays { position: absolute; z-index: -1; inset: -14px -12px -5px; border-radius: 50%; background: repeating-conic-gradient(from 10deg,#e8eea521 0deg 13deg,transparent 13deg 30deg); mask-image: radial-gradient(circle,#000 0,#0008 42%,transparent 72%); }
.ng-reveal-pedestal { position: absolute; z-index: 0; width: 70%; height: 36px; bottom: 17px; left: 15%; border-radius: 50%; background: radial-gradient(ellipse,#a7d39c9c,#80bd8e3b 57%,transparent 70%); }
.ng-reveal-type { display: inline-block; margin-top: 4px; padding: 5px 11px; border: 1px solid #b5d8a77d; border-radius: 7px; color: #deebcc; font-size: 12px; font-weight: 750; background: #143d43b3; }
.nursery-game.nursery-game.nursery-game .ng-reveal-identity h2 { font-size: 34px; margin: 9px 0; }
.nursery-game.nursery-game.nursery-game .ng-reveal-identity p { max-width: 290px; margin: 0 auto; }
.ng-hatch-rewards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; width: 100%; margin-top: 20px; }
.ng-hatch-rewards > span { display: grid; grid-template-columns: 44px auto; grid-template-rows: auto auto; justify-content: center; align-items: center; gap: 0 7px; min-width: 0; padding: 10px 4px; border: 1px solid #a8c79b; border-radius: 10px; background: #153e45c4; box-shadow: inset 0 1px #a7d8a444,0 2px #0c303c; text-align: left; }
.ng-hatch-rewards .game-icon { width: 43px; height: 48px; grid-row: 1 / 3; }
.ng-hatch-rewards strong { color: #ffecac; font: 400 29px/1.1 var(--ng-display); }
.ng-hatch-rewards small { color: #cee3cf; font-size: 12px; }
.nursery-game.nursery-game.nursery-game .ng-reveal-saved { margin-top: 12px; font-size: 12px; }
.ng-reveal-actions { width: 100%; margin-top: 20px; }
.nursery-game.nursery-game.nursery-game .ng-reveal-actions .ng-primary { font-size: 24px; }
.ng-reveal-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 8% 23%,#ffefb2 0 2px,transparent 3px),radial-gradient(circle at 92% 15%,#dce99c 0 3px,transparent 4px),radial-gradient(circle at 89% 43%,#ffe4aa 0 2px,transparent 3px),radial-gradient(circle at 16% 48%,#d6e69e 0 2px,transparent 3px); }
@keyframes ng-egg-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ng-egg-ready { 0%,80%,100% { transform: rotate(0); } 85% { transform: rotate(-3deg); } 90% { transform: rotate(3deg); } 95% { transform: rotate(-2deg); } }
@keyframes ng-firefly { 0%,100% { opacity: .3; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-7px); } }
@keyframes ng-reveal-in { from { transform: translateY(10px) scale(.88); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@media (min-width: 650px) {
  .nursery-game { max-width: 600px; margin-inline: auto; padding: 22px; }
  .ng-parent { min-height: 200px; }
  .ng-parent-art { height: 115px; }
  .ng-picker-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ng-nest-art { max-height: 255px; }
}
@media (max-width: 374px) {
  .nursery-game { padding: 14px 10px 17px; }
  .ng-header { gap: 7px; margin-bottom: 14px; }
  .ng-kicker { font-size: 10px; letter-spacing: .7px; }
  .nursery-game.nursery-game.nursery-game .ng-header h1 { font-size: 33px; }
  .ng-food-balance { min-width: 84px; padding-right: 7px; }
  .ng-food-balance > .game-icon { width: 29px; height: 36px; }
  .ng-food-balance strong { font-size: 23px; }
  .ng-steps { gap: 5px; margin-bottom: 17px; }
  .ng-steps li { gap: 4px; font-size: 10px; }
  .ng-steps li > span { width: 21px; height: 21px; }
  .nursery-game.nursery-game.nursery-game .ng-section-heading h2 { font-size: 22px; }
  .ng-duration { font-size: 11px; padding-inline: 5px; }
  .ng-parent-pair { grid-template-columns: minmax(0,1fr) 23px minmax(0,1fr); }
  .nursery-game.nursery-game.nursery-game .ng-parent { min-height: 174px; }
  .ng-parent-art { height: 86px; }
  .ng-parent > strong { font-size: 18px; }
  .ng-parent-meta { font-size: 14px; }
  .ng-pair-heart { width: 31px; margin-left: -4px; }
  .ng-pair-heart svg { width: 31px; height: 31px; }
  .ng-review-cost { flex-direction: column; align-items: center; gap: 4px; }
  .ng-outcome-grid { gap: 5px; }
  .ng-outcome-label { font-size: 9px; }
  .ng-outcome-art { height: 74px; }
  .nursery-game.nursery-game.nursery-game .ng-outcome h3 { font-size: 16px; }
  .ng-choice-art { height: 101px; }
  .nursery-game.nursery-game.nursery-game .ng-choice { min-height: 183px; }
  .ng-choice > strong { font-size: 19px; }
  .ng-choice-meta { font-size: 14px; }
  .ng-egg-actions { gap: 8px; }
  .nursery-game.nursery-game.nursery-game .ng-hatch { font-size: 21px; gap: 3px; }
  .ng-hatch > .game-icon { width: 25px; }
  .ng-nurture > svg { width: 26px; }
  .ng-nurture strong { font-size: 21px; }
  .ng-nurture small { font-size: 10px; }
  .ng-growing-parents > div { gap: 7px; }
  .ng-growing-parents > div > span { gap: 0; }
  .ng-growing-parents > div > span > span { width: 36px; }
  .ng-growing-parents strong { font-size: 15px; }
}
@media (max-height: 700px) and (max-width: 600px) {
  .ng-egg-scene { max-width: 278px; margin-top: -10px; margin-bottom: -23px; }
  .nursery-game.nursery-game.nursery-game .ng-growth-heading h2 { font-size: 27px; }
  .ng-care-dots { margin-block: 13px 10px; }
  .ng-reveal-art { height: 210px; }
  .ng-hatch-rewards { margin-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ng-egg-shell, .ng-egg-scene.is-ready .ng-egg-shell, .ng-firefly, .ng-reveal-art > .creature-art { animation: none; }
  .ng-progress > i { transition: none; }
}
/* The Nursery carries its own food balance; its artwork gets the recovered screen space. */
.is-online-signed-in.online-nursery-screen .resource-bar { display: none; }
/* Keep the care and welcome actions within the first phone screen. */
.ng-egg-scene { height: 180px; aspect-ratio: auto; margin-top: -6px; margin-bottom: -17px; }
.ng-timer-card { padding: 7px 12px 10px; }
.ng-timer { font-size: 34px; margin-bottom: 7px; }
.ng-care-dots { margin-block: 13px 10px; }
.ng-growing-parents { margin-top: 13px; padding-top: 12px; }
.nursery-game.nursery-reveal { padding: 15px 13px 16px; }
.nursery-game.nursery-game.nursery-game.nursery-reveal > h1 { margin-top: 5px; font-size: 32px; }
.ng-reveal-art { height: 180px; margin: -6px 0 -11px; }
.ng-reveal-type { margin-top: 0; padding: 3px 9px; }
.nursery-game.nursery-game.nursery-game .ng-reveal-identity h2 { font-size: 31px; margin-block: 7px; }
.ng-hatch-rewards { margin-top: 13px; }
.ng-hatch-rewards > span { padding-block: 7px; }
.ng-hatch-rewards .game-icon { height: 42px; width: 39px; }
.ng-hatch-rewards strong { font-size: 27px; }
.nursery-game.nursery-game.nursery-game .ng-reveal-saved { margin-top: 9px; }
.ng-reveal-actions { margin-top: 15px; }
.nursery-game.nursery-game.nursery-game .ng-reveal-actions .ng-primary { min-height: 58px; }
.nursery-game.nursery-game.nursery-game .ng-reveal-actions .ng-secondary { margin-top: 10px; min-height: 48px; }
@media (max-height: 700px) and (max-width: 600px) {
  .nursery-game { padding-block: 10px 13px; }
  .ng-header { margin-bottom: 10px; }
  .nursery-game.nursery-game.nursery-game .ng-header h1 { font-size: 29px; margin-top: 1px; }
  .ng-steps { margin-bottom: 12px; padding-bottom: 10px; }
  .ng-growing { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center; column-gap: 9px; }
  .ng-growth-heading { grid-column: 1 / -1; margin-bottom: 6px; }
  .ng-growth-heading .ng-kicker { margin-bottom: 4px; }
  .nursery-game.nursery-game.nursery-game .ng-growth-heading h2 { font-size: 24px; }
  .ng-growing .ng-egg-scene { grid-column: 1; grid-row: 2 / 4; width: calc(100% + 18px); height: 130px; max-width: none; margin: -3px 0 0 -12px; }
  .ng-growing .ng-timer-card { grid-column: 2; grid-row: 2; width: 100%; margin: 5px 0 0; padding: 7px 8px 9px; }
  .ng-growing .ng-timer { font-size: 32px; margin-block: 3px 7px; }
  .ng-growing .ng-time-label { font-size: 10px; letter-spacing: .6px; }
  .ng-growing .ng-care-dots { grid-column: 2; grid-row: 3; gap: 7px; margin: 7px 0 6px; }
  .ng-growing .ng-care-dots > span { width: 23px; height: 23px; }
  .ng-growing .ng-egg-actions { grid-column: 1 / -1; margin-top: 3px; }
  .nursery-game.nursery-game.nursery-game .ng-growing :is(.ng-nurture,.ng-hatch) { min-height: 64px; }
  .nursery-game.nursery-game.nursery-game .ng-care-status { grid-column: 1 / -1; margin-top: 12px; min-height: 0; }
  .ng-growing-parents { grid-column: 1 / -1; }
  .nursery-game.nursery-game.nursery-game .ng-away-note { grid-column: 1 / -1; }
  .nursery-game.nursery-reveal { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 0 7px; padding: 12px 10px 13px; }
  .nursery-reveal > .ng-kicker { grid-column: 1 / -1; }
  .nursery-game.nursery-game.nursery-game.nursery-reveal > h1 { grid-column: 1 / -1; margin-top: 4px; font-size: 30px; }
  .nursery-reveal .ng-reveal-art { grid-column: 1; grid-row: 3; width: calc(100% + 18px); height: 130px; margin: 0 0 0 -9px; }
  .nursery-reveal .ng-reveal-identity { grid-column: 2; grid-row: 3; min-width: 0; padding: 8px 0; }
  .nursery-reveal .ng-reveal-type { padding: 3px 5px; font-size: 11px; }
  .nursery-game.nursery-game.nursery-game .ng-reveal-identity h2 { margin-block: 6px; font-size: 27px; }
  .nursery-game.nursery-game.nursery-game .ng-reveal-identity .ng-copy { font-size: 14px; line-height: 1.4; }
  .nursery-reveal .ng-reveal-actions { grid-column: 1 / -1; grid-row: 4; margin-top: 7px; }
  .nursery-game.nursery-game.nursery-game .ng-reveal-actions .ng-primary { min-height: 53px; font-size: 23px; }
  .nursery-game.nursery-game.nursery-game .ng-reveal-actions .ng-secondary { margin-top: 9px; min-height: 48px; }
  .nursery-reveal .ng-hatch-rewards { grid-column: 1 / -1; grid-row: 5; margin-top: 14px; gap: 10px; }
  .nursery-reveal .ng-hatch-rewards > span { padding-block: 6px; }
  .nursery-reveal .ng-hatch-rewards .game-icon { height: 38px; width: 36px; }
  .nursery-reveal .ng-hatch-rewards strong { font-size: 25px; }
  .nursery-game.nursery-game.nursery-game .ng-reveal-saved { grid-column: 1 / -1; grid-row: 6; margin-top: 8px; }
}
/* Keep the breeding review above navigation on compact phones. */
@media (max-height:700px) and (max-width:600px) {
  .online-nursery-screen .collection-game-tabs { margin-bottom:8px; padding:4px; }
  .is-online-signed-in.online-nursery-screen:not(.is-online-battle):not(.is-online-results) .collection-game-tabs button { min-height:44px; }
  .ng-header .ng-food-balance { min-height:40px; padding:5px 8px; }
  .ng-food-balance small { display:none; }
  .ng-food-balance .game-icon { width:26px; height:28px; }
  .ng-food-balance strong { font-size:22px; }
  .nursery-game.nursery-game.nursery-game .ng-parent { min-height:130px; padding:5px 4px 7px; }
  .ng-parent-art { height:64px; }
  .ng-parent-empty { width:46px; height:46px; margin-block:12px; }
  .ng-parent-change { display:none; }
  .ng-parent > strong { font-size:18px; margin-top:2px; }
  .ng-parent-meta { margin-top:3px; }
  .ng-review-cost { margin-top:0; margin-bottom:7px; }
}
@media (max-height:700px) and (max-width:600px) {
  .is-online-signed-in.online-nursery-screen:not(.is-online-battle):not(.is-online-results) .collection-game-tabs { margin-bottom:8px; padding:4px; }
  .nursery-game:has(.ng-parent-pair>.has-parent:first-child):has(.ng-parent-pair>.has-parent:last-child) .ng-steps { display:none; }
}
.ng-growing .ng-named-egg{width:100%;height:auto;min-width:0;aspect-ratio:auto;margin:0 auto 18px;text-align:center;pointer-events:none}
.ng-named-shell{position:relative;z-index:1;display:block;margin:auto;width:230px;height:160px;max-width:100%;object-fit:contain;transform-origin:center 80%;filter:drop-shadow(0 6px 6px #092d3f88)}
.ng-named-egg .ng-egg-rays{inset:0 0 36px;pointer-events:none}
.ng-named-egg p{position:relative;z-index:1;margin:0}
@media(max-height:700px) and (max-width:600px){.ng-named-shell{height:112px}}
.ng-growing-parents:has(>div:empty){display:none}
.ng-mode-label{margin:24px 0 12px;padding:16px;border:2px solid #c9b278;border-radius:14px;background:#163e4f}.ng-mode-label h2{margin:0 0 6px;font-size:26px}.ng-mode-label p{margin:0}.ng-partner-count{padding:11px;border-radius:10px;background:#123c4e;color:#ffeab2;font-size:14px;line-height:1.5;text-align:center;font-weight:800}
/* Keep care and actions in view; the native disclosure holds optional guidance. */
.nursery-game .ng-header { margin-bottom: 4px; }
.ng-info { margin: 0 0 12px; min-width: 0; }
.nursery-game.nursery-game.nursery-game .ng-info > summary {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: max-content; min-width: 78px; min-height: 44px; margin-left: auto;
  padding: 8px 11px; list-style: none; border: 1px solid #8dbfb1;
  border-radius: 10px; background: #123a44; color: #f1f6e6;
  font: 700 14px/1.4 'DM Sans', system-ui, sans-serif; cursor: pointer;
}
.ng-info > summary::-webkit-details-marker { display: none; }
.ng-info-toggle { font-size: 20px; line-height: 1; }
.ng-info[open] .ng-info-toggle { transform: rotate(45deg); }
.ng-info-body { margin-top: 8px; padding: 12px; border: 1px solid #8dbfb17a; border-radius: 12px; background: #103440; }
.nursery-game.nursery-game.nursery-game .ng-info-body h2 { margin: 14px 0 7px; font-size: 20px; }
.nursery-game.nursery-game.nursery-game .ng-info-body p { margin: 0 0 10px; }
.ng-info-body .ng-steps { margin-bottom: 10px; }
.ng-info-parents { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.ng-info-parents > div { min-width: 0; }
.nursery-game .ng-partner-count { margin: 4px 0 8px; padding: 3px; background: none; font-size: 13px; }
.nursery-game .ng-mode-label { margin: 8px 0 12px; padding: 0; border: 0; background: none; }
.nursery-game .ng-mode-label > button { margin: 0; }
.nursery-game .ng-breed-review { margin-top: 10px; }
.nursery-game.nursery-game.nursery-game .ng-hatch-disclosure { padding: 9px 10px; gap: 2px; }
.nursery-game.nursery-game.nursery-game .ng-breed-hint { margin-top: 8px; }
.nursery-game.nursery-game.nursery-game .ng-care-status { min-height: 0; margin-top: 8px; }
.nursery-game.nursery-game.nursery-game .ng-growth-heading h2 { font-size: 25px; }
.ng-growing #nursery-hatch-capacity-help { grid-column: 1 / -1; margin-top: 10px; }

/* Preview only the prospective pair; an incubating egg's hidden child stays private. */
.ng-choice-hatch { display:grid;gap:2px;width:100%;margin-top:7px;padding:6px 3px;border-top:1px solid #a2d0ae55;color:#f4e6b7;font:600 12px/1.3 'DM Sans',sans-serif;overflow-wrap:anywhere; }
.ng-choice-hatch strong { font:800 12px/1.3 'DM Sans',sans-serif; }
.ng-choice-hatch small { color:#d1e8db;font:600 11px/1.3 'DM Sans',sans-serif; }
