:root {
  color-scheme: light;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color: #173a29;
  background: #173e30;
  font-synthesis: none;
  --ink: #173a29;
  --muted: #516858;
  --cream: #fbf8e6;
  --paper: #f4f2d9;
  --lime: #e1f79e;
  --deep: #173e30;
  --line: #d6deb3;
  --radius: 20px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% -10%, #3e815b 0, #23513d 49%, transparent 75%),
    linear-gradient(126deg, #154337 0, #143b30 60%, #143328 100%);
}
button {
  min-width: 48px;
  min-height: 48px;
  font: inherit;
  font-weight: 750;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:focus-visible { outline: 3px solid #4387d4; outline-offset: 3px; }
button:disabled { opacity: .64; cursor: default; }
button:not(:disabled):active { transform: translateY(1px); }
.input-feedback {
  position: fixed;
  z-index: 160;
  width: 38px;
  height: 38px;
  border: 3px solid #fff4ac;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #29432e, 0 0 12px #fff4acaa;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: acknowledge-input .45s ease-out both;
}
@keyframes acknowledge-input {
  from { transform: translate(-50%, -50%) scale(.76); opacity: 1; }
  65% { opacity: .88; }
  to { transform: translate(-50%, -50%) scale(1.23); opacity: 0; }
}
[hidden] { display: none !important; }
.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;
}
.shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
.masthead {
  min-height: 59px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.brand {
  color: #f9f8d7;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(17px, 4vw, 24px);
  font-weight: 900;
  letter-spacing: -.08em;
}
.region-label {
  margin: 0;
  padding-left: 8px;
  border-left: 1px solid #9ebc87;
  color: #e0efb2;
  font-size: clamp(12px, 3vw, 17px);
  letter-spacing: -.04em;
  line-height: 1.1;
  white-space: normal;
}
.brand-mark, .icon-button {
  display: grid;
  place-items: center;
  color: #ebf9be;
  background: #2c6547;
  border: 1px solid #8bb8796e;
  border-radius: 15px;
}
.brand-mark { width: 37px; height: 37px; color: #def59f; }
.utilities { display: flex; gap: 6px; }
.icon-button:hover { background: #367650; }
.icon-button[aria-pressed="true"] { background: #e4f4a6; color: #1e573c; }
svg { display: block; width: 23px; height: 23px; flex: 0 0 auto; }

.layout { display: grid; align-items: start; gap: 12px; }
.arena {
  position: relative;
  background: #7eb688;
  width: 100%;
  height: max(464px, min(67vw, 630px));
  overflow: hidden;
  border: 2px solid #b3d390;
  border-radius: 25px;
  box-shadow: 0 14px 30px #0b3026ae;
}
.arena:has(.hero) { height: max(358px, min(65vw, 625px)); }
#field, #scene-top, #formation, #nest-hud, #battle-input { position: absolute; inset: 0; }
#battle-input { z-index: 1; }
.arena[data-playfield-input="true"] { touch-action: none; }
#battle-input.ready-to-order { cursor: crosshair; }
#scene-top, #formation, #nest-hud { z-index: 2; }
.scene-heading, .nest-hud { pointer-events: auto; }
#field canvas { display: block; width: 100% !important; height: 100% !important; }
#scene-top, #nest-hud, #formation { pointer-events: none; }
.hero {
  position: absolute;
  top: 9%;
  left: 4%;
  right: 4%;
  text-align: center;
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 11px;
  padding: 6px 12px 7px;
  color: #f9ffdc;
  background: #245941;
  border: 1px solid #edf4b383;
  border-radius: 100px;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 800;
}
.hero h1 {
  margin: 0;
  color: #fff7bc;
  font-size: clamp(43px, 8.7vw, 95px);
  line-height: 1.09;
  font-weight: 1000;
  letter-spacing: -.09em;
  paint-order: stroke fill;
  -webkit-text-stroke: clamp(4px, .8vw, 8px) #28583f;
  text-shadow: 0 7px #28583f;
}
.hero p:last-child {
  color: #254b39;
  margin: 15px auto 0;
  padding: 0 12px;
  font-size: clamp(15px, 2.2vw, 21px);
  line-height: 1.4;
  font-weight: 850;
}
.scene-heading {
  position: absolute;
  top: 13px;
  right: 12px;
}
.hud-stats { display: grid; justify-items: end; gap: 5px; }
.boss-hud {
  position: absolute;
  top: 12px;
  left: 10px;
  display: grid;
  grid-template-columns: 15px auto;
  align-items: center;
  gap: 3px 5px;
  padding: 5px 7px;
  background: #472e35ee;
  border: 1px solid #ffd99c;
  border-radius: 9px;
  color: #fff6dd;
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}
.boss-hud svg { width: 14px; height: 14px; color: #ffd685; }
.boss-skill { border-radius: 4px; }
.boss-skill.active { background: #ffd080; box-shadow: 0 0 10px #ffd080; }
.boss-skill.active svg { color: #56302c; }
.nursery-overlay {
  position: absolute;
  top: 61px;
  left: 10px;
  width: min(230px, calc(100% - 20px));
  pointer-events: auto;
}
.nursery-overlay .nursery-panel { margin: 0; }
.nursery-overlay .nursery-actions { grid-template-columns: minmax(0, 1fr) minmax(52px, .55fr); }
.nursery-overlay .hatch-button span { white-space: nowrap; }
.nursery-counts { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; }
.nursery-counts svg { width: 16px; height: 16px; }
.nursery-counts b + svg { margin-inline-start: 3px; }
.nursery-card[data-status="archive"] { opacity: .46; filter: saturate(.3); }
.reward-meta .reward-fallen { color: #872f41; background: #f8e1db; }
.health-cells {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  height: 8px;
}
.health-cells > i { border: 1px solid #b5b9a3; border-radius: 2px; background: #38473b; }
.health-cells > i[data-filled] { border-color: transparent; background: var(--health-fill); }
.boss-hp-meter { grid-column: 1 / -1; }
.hud-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px 5px;
  min-height: 27px;
  background: #f8f4d9;
  border: 1px solid #e9e9b1;
  border-radius: 10px;
  color: #274b35;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 2px 0 #254e4269;
}
.hud-pill svg { width: 15px; height: 15px; color: #418c51; }
.food-hud svg { width: 20px; height: 20px; color: #654725; fill: #ffce75; }
.battle-progress { gap: 3px; padding-inline: 5px; }
.battle-progress > span, .egg-pill > span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #e0e4ca;
}
.battle-progress > span svg, .egg-pill > span svg { color: #66755d; }
.battle-progress .current { background: #ffd880; box-shadow: inset 0 0 0 1px #9d6b34; }
.battle-progress .done, .egg-pill .done { background: #b8dc95; }
.cell {
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  width: max(48px, 17%);
  height: max(48px, 10%);
  border: 0;
  background: transparent;
  border-radius: 14px;
}
.cell:not(:disabled):active { transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #f5fcbe inset; }
.cell:focus-visible { outline-color: #fffbe1; outline-offset: -2px; }
.cell:disabled { opacity: 1; }
.cell[data-occupant]:not([data-occupant=""]) { touch-action: none; }
.cell.drop-target { box-shadow: inset 0 0 0 4px #f5ffb5; background: #e2f99e5f; }
.battle-unit, .battle-enemy {
  position: absolute;
  z-index: 1;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  width: max(48px, 10%);
  height: max(48px, 9%);
  border-radius: 50%;
}
.battle-unit { touch-action: none; }
.battle-enemy { z-index: 2; }
.battle-unit:not(:disabled):active, .battle-enemy:not(:disabled):active { transform: translate(-50%, -50%); }
.battle-unit:focus-visible, .battle-enemy:focus-visible { outline-color: #fff8c9; }
.healing-food b {
  position: absolute;
  right: 1px;
  top: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #153e2e;
  background: #e5ff9e;
  font-size: 17px;
  line-height: 1;
}
.rally-caption {
  position: absolute;
  white-space: nowrap;
  color: #2f492e;
  background: #fff1a6;
  border: 1px solid #b4864f;
  border-radius: 12px;
  padding: 3px 7px 4px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 2px 3px #1d342766;
}
.rally-caption { transform: translate(8px, -28px); }
.field-life {
  position: absolute;
  bottom: -23px;
  left: 50%;
  display: grid;
  width: max-content;
  grid-template-columns: 18px 40px;
  align-items: center;
  gap: 3px;
  padding: 3px 5px;
  overflow: hidden;
  border: 1px solid #f5efc3;
  border-radius: 7px;
  background: #142f25;
  color: #fffdee;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}
.field-life > svg { width: 18px; height: 18px; color: #fff2db; fill: #ff8397; }
.healing-food {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
}
.healing-food:not(:disabled):active { transform: translate(-50%, -50%); }
.healing-food svg {
  width: 40px;
  height: 40px;
  padding: 3px;
  border: 2px solid #efffa4;
  border-radius: 50%;
  color: #fff5cb;
  background: #356e36;
  fill: #f25f75;
  box-shadow: 0 2px 10px #182e1c9f;
}
.drag-ghost {
  position: fixed;
  z-index: 100;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  border: 2px solid #f7ffbc;
  background: #c6ee944f;
  box-shadow: 0 5px 14px #163b2ead;
}
.drag-ghost img { width: 100%; height: 100%; object-fit: contain; }
.cell-name {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  color: #fffce2;
  background: #28513c;
  padding: 1px 7px 2px;
  border-radius: 100px;
  font-size: clamp(10px, 1.9vw, 13px);
  white-space: nowrap;
}
.nest-hud {
  position: absolute;
  bottom: 3.2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #b4d596;
  border-radius: 999px;
  background: #1f4b3be8;
  color: #fff7cb;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.nest-hud svg { width: 20px; height: 20px; color: #fff2db; fill: #ff9a9d; }
.nest-meter { width: clamp(91px, 26vw, 170px); height: 16px; gap: 2px; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.nest-value { font-size: 13px; font-variant-numeric: tabular-nums; }
#nest-hud[data-condition="broken"] .nest-hud { color: #fff5ce; background: #713931; border-color: #ffb782; }
.nest-repair {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #fff2af;
  border-radius: 15px;
  background: #f4d273;
  color: #4f3625;
  box-shadow: 0 3px 8px #2a261799;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.nest-repair:not(:disabled):active { transform: translate(-50%, -50%); }
.nest-repair[data-status="ready"] { background: #d8f183; color: #214329; }
.nest-repair svg { width: 26px; height: 26px; }
.nest-repair-status {
  position: absolute;
  left: calc(50% + 29px);
  top: var(--repair-top);
  max-width: calc(50% - 35px);
  padding: 4px 7px;
  border: 1px solid #ecdb93;
  border-radius: 10px;
  background: #473727;
  color: #fff5cc;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  transform: translateY(-50%);
  pointer-events: auto;
}
.nest-repair:not([hidden]) ~ .nest-hud {
  bottom: auto;
  top: var(--repair-top);
  left: calc(50% - 29px);
  max-width: calc(50% - 35px);
  gap: 4px;
  display: grid;
  grid-template-columns: 20px minmax(62px, auto);
  row-gap: 2px;
  padding-inline: 5px;
  transform: translate(-100%, -50%);
}
.nest-repair:not([hidden]) ~ .nest-hud #nest-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nest-repair:not([hidden]) ~ .nest-hud svg { grid-row: 1 / 3; }
.nest-repair:not([hidden]) ~ .nest-hud .nest-meter { grid-area: 2 / 2; width: clamp(62px, 18vw, 130px); max-width: 100%; }
.nest-repair:not([hidden]) ~ .nest-hud .nest-value { grid-area: 1 / 2; line-height: 1; text-align: center; }
.battle-notice {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: 90%;
  border: 1px solid #fff1b4;
  padding: 6px 12px 8px;
  margin: 0;
  border-radius: 100px;
  background: #7a4837ed;
  color: #fff5ce;
  white-space: nowrap;
  font-size: clamp(12px, 3vw, 16px);
  font-weight: 850;
}

.controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.panel {
  padding: 13px;
  border: 1px solid #e1dfa8;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 4px 0 #103b2c;
}
.panel h2, .modal h2 { margin: 0; font-size: 22px; letter-spacing: -.075em; line-height: 1.25; }
.panel p { margin: 5px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; font-weight: 650; }
.intro-panel { padding: 18px; }
.intro-panel h2 { font-size: clamp(20px, 3vw, 29px); }
.intro-panel > p { margin: 9px 0 15px; }
.new-options { margin-top: 8px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.difficulty-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.difficulty-actions .action { padding-inline: 5px; }
.difficulty-actions .action svg { display: none; }
.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #cfd7ab;
  border-radius: 13px;
  padding: 7px 9px;
  background: var(--paper);
  font-size: 15px;
  text-align: center;
  line-height: 1.2;
}
.action:hover { filter: brightness(.98); }
.action.primary {
  color: #173d2b;
  background: linear-gradient(#ebf9ae, #d8ee8d);
  border-color: #accb65;
  box-shadow: inset 0 -3px #b5d277;
}
.primary.big { min-height: 53px; font-size: 18px; }
.action.wide { width: 100%; }
.action.danger { background: #f4d6bd; border-color: #dfb092; color: #683729; }
.action svg { width: 18px; height: 18px; }
.action.map-next { margin-top: 9px; }
.field-tip {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0 0 9px;
  color: #284e3b;
  font-size: 13px;
  font-weight: 800;
}
.field-tip svg { width: 16px; height: 16px; margin-top: 1px; color: #578646; }
.roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 6px;
  padding: 3px 1px 4px;
}
.roster-slot {
  min-width: 0;
  min-height: 62px;
  border: 1px solid #d1dbb5;
  border-radius: 12px;
}
.roster-member {
  position: relative;
  display: grid;
  place-items: center;
  padding: 3px 4px 6px;
  color: #244e37;
  background: #eef1d7;
  font-size: 12px;
}
.roster-slot img { display: block; width: 44px; height: 38px; object-fit: contain; }
.roster-member .nursery-unit-trait { position: absolute; top: 5px; right: 5px; }
.roster-member .nursery-unit-trait svg { width: 15px; height: 15px; }
.roster-member small { font-size: 10px; }
.reserve-mantis { border: 1px dashed #859965; background: #edf3cc; }
.roster-empty { border-style: dashed; background: #f2efd6; }
.roster-button, [data-roster-reserve] { cursor: grab; touch-action: none; }
.roster-slot.drop-target { outline: 3px solid #2a7354; outline-offset: -3px; background: #e4f4a6; }
.roster-new {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 1px 5px;
  border-radius: 10px;
  background: #265d45;
  color: #fff6d5;
  font-size: 10px;
  font-weight: 900;
}
.roster-archive { margin-top: 6px; }
.growth-steps { display: flex; gap: 3px; justify-content: center; }
.growth-steps i { width: 6px; height: 6px; border-radius: 50%; background: #c1c8a9; }
.growth-steps .grown { background: #467d3a; }
.roster-button[aria-pressed="true"] { background: #e4f4a6; box-shadow: inset 0 0 0 2px #78964f; }
.unit-detail { min-height: 21px; }
.egg-card, .growth { margin-top: 9px; padding-top: 9px; border-top: 1px solid #dce1bd; }
.egg-card .egg-track { display: flex; flex-wrap: wrap; gap: 4px; margin: 7px 0 0; }
.egg-pill { display: flex; align-items: center; gap: 4px; border-radius: 30px; background: #e9ebc8; padding: 4px 8px; font-size: 13px; font-weight: 800; }
.egg-pill svg { width: 15px; height: 15px; color: #697e47; }
.egg-pill img { width: 24px; height: 23px; object-fit: contain; }
.egg-action b {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f0e4b5;
}
.egg-action b svg { width: 17px; height: 17px; fill: #ffce75; color: #725027; }
.growth .actions { margin-top: 6px; }
.growth .action { min-height: 55px; }
.attempt { margin: 0 0 9px; color: #704736; background: #f4e5cc; border-radius: 10px; padding: 7px 9px; font-size: 14px; font-weight: 800; }
.shell[data-phase="battle"] .layout { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.shell[data-phase="battle"] .arena { height: clamp(340px, calc(100svh - 154px), 840px); }
.shell[data-phase="battle"] .footer { display: none; }
.shell[data-phase="battle"] .controls { position: static; }
.battle-toolbar { display: flex; align-items: center; justify-content: center; gap: 7px; }
.battle-toolbar .action { min-height: 48px; padding: 0 10px; }
.battle-toolbar [data-action="squad-life"] svg { width: 24px; height: 24px; color: #74332f; fill: #ef8d99; }
.battle-toolbar .action:not(.speed-action) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.battle-panel .army-action[aria-pressed="true"] { border-color: #386b43; box-shadow: inset 0 0 0 2px #72a250; }
.choice-friend { width: 32px; height: 34px; object-fit: contain; }
.squad-lives {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 1fr);
  gap: 5px;
  margin-top: 6px;
  overflow-x: auto;
}
.squad-life {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 3px 6px;
  align-content: center;
  align-items: center;
  min-height: 48px;
  padding: 4px 7px;
  border: 1px solid #b2c897;
  border-radius: 8px;
  color: #234633;
  background: #e7ecd7;
  font-size: 12px;
  text-align: left;
}
.squad-health-swatch svg { width: 19px; height: 19px; fill: var(--health-fill); color: #536249; }
.squad-life small { grid-column: 2; }
.squad-life[aria-pressed="true"] { border-color: #396a44; background: #e5f5a6; }
.squad-life[data-hp="0"] { color: #783d32; background: #f2e2d8; opacity: 1; }
.battle-panel .command-mode {
  border: 1px solid #b5ce7d;
  border-radius: 9px;
  padding: 4px 7px;
  background: #e8efbc;
  color: #315833;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.command-mode svg { width: 17px; height: 17px; }
.edge-warning {
  position: absolute;
  z-index: 2;
  background: #784638;
  color: #fff6ce;
  border: 1px solid #f5d69e;
  border-radius: 20px;
  margin: 0;
  padding: 5px 8px 6px;
  font-size: clamp(11px, 2.5vw, 15px);
  font-weight: 850;
  white-space: nowrap;
}
.edge-warning[data-side="top"] { top: 16%; left: 50%; transform: translateX(-50%); }
.edge-warning[data-side="left"] { top: 33%; left: 8px; }
.edge-warning[data-side="right"] { top: 33%; right: 8px; }
.edge-warning[data-side="bottom"] { bottom: 14%; right: 8px; }
.auto-next p { margin: 1px 0 6px; font-size: 16px; color: #305d3d; font-weight: 850; text-align: center; }
.auto-next strong { font-size: 20px; }
.auto-toggle { margin-top: 7px; font-size: 13px; background: #f8f8e9; }
.resource-choice { margin-bottom: 9px; }
.resource-choice p { margin: 0 0 6px; font-size: 13px; font-weight: 800; }
.resource-choice #choice-seconds { font-size: 17px; color: #376749; }
.guided-choice {
  box-shadow: inset 0 0 0 2px #7c993f, 0 0 0 2px #e3eaa6;
  background: #ecf4b8;
}
@keyframes guide-pulse {
  0%, 100% { box-shadow: inset 0 0 0 2px #7c993f, 0 0 0 2px #dbea9dbc; }
  50% { box-shadow: inset 0 0 0 2px #7c993f, 0 0 0 6px #dbea9d4d; }
}
@media (prefers-reduced-motion: no-preference) {
  .guided-choice { animation: guide-pulse 1.9s ease-in-out infinite; }
}
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 12px;
  padding-top: 10px;
  color: #d5e7bc;
}
.footer .action { color: #eaf4cb; background: #23573e; border-color: #89b26b82; }
.save-text { flex: 1 1 140px; font-size: 13px; font-weight: 650; }

dialog {
  width: min(calc(100% - 28px), 540px);
  max-height: min(calc(100% - 24px), 690px);
  padding: 0;
  border: 1px solid #f9f3c9;
  border-radius: 24px;
  overflow: auto;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 14px 45px #0d302bc9;
}
dialog::backdrop { background: #102c24ad; }
.modal {
  padding: clamp(14px, 4vw, 24px);
  background: radial-gradient(ellipse at top, #ebf4bc, transparent 65%);
}
.modal h2 { font-size: clamp(23px, 5vw, 34px); }
.modal p { margin: 6px 0 13px; color: #4e6652; line-height: 1.5; font-size: 14px; font-weight: 650; }
.modal .actions { margin-top: 12px; }
.modal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #376d49;
  background: #e2f29a;
  border: 1px solid #bdcf82;
  margin-bottom: 9px;
}
.modal-icon svg { width: 27px; height: 27px; }
.round-reaction {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(7px, 2vw, 15px);
  min-height: 86px;
  padding: 4px 10px;
  border: 2px solid #d6e7a2;
  border-radius: 17px;
  background: #f2f9c7;
}
.round-loss {
  position: absolute;
  top: calc(12% + 22px);
  left: 50%;
  width: min(calc(100% - 32px), 440px);
  transform: translateX(-50%);
  background: #def0f8;
  border-color: #9dc7df;
  box-shadow: 0 6px 20px #173b4b55;
  pointer-events: none;
}
.round-badge {
  display: grid;
  place-items: center;
  width: clamp(47px, 11vw, 64px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #875015;
  background: #ffdf7d;
  border: 2px solid #e1a74f;
}
.round-badge svg { width: 72%; height: 72%; }
.round-loss .round-badge { color: #276991; background: #bfe8f7; border-color: #7eb4d1; }
.round-crew {
  display: grid;
  width: calc(var(--crew-size) * 70px);
  min-width: 0;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: end;
  align-self: end;
  padding-block: 7px 2px;
}
.round-crew img { display: block; width: 100%; max-width: 72px; height: clamp(58px, 16vw, 82px); object-fit: contain; }
.round-win .round-crew img { animation: victory-dance 1s ease-in-out 4; }
.round-loss .round-crew img { animation: defeat-sob 1.25s ease-in-out 3; transform-origin: center 78%; }
.round-crew img:nth-child(even) { animation-delay: .2s; }
@keyframes victory-dance {
  0%, 100% { transform: rotate(-7deg); }
  25%, 75% { transform: translateY(-10px) rotate(0); }
  50% { transform: rotate(7deg); }
}
@keyframes defeat-sob {
  0%, 100% { transform: rotate(-5deg); }
  35%, 70% { transform: translateY(3px) rotate(4deg); }
  52% { transform: translateY(1px) rotate(-1deg); }
}
.reward-meta { display: flex; gap: 8px; align-items: center; margin: 7px 0; font-size: 15px; font-weight: 800; }
.reward-meta > span { display: inline-flex; min-height: 37px; align-items: center; gap: 5px; padding: 0 8px; border-radius: 10px; background: #edf0d7; }
.reward-time { margin-inline-start: auto; }
.reward-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 2vw, 10px); }
.reward-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  width: 100%;
  min-height: 98px;
  padding: 6px 2px;
  border: 2px solid var(--upgrade-border);
  border-radius: 15px;
  color: var(--upgrade-ink);
  background: var(--upgrade-bg);
  font-size: 17px;
  font-weight: 850;
}
.reward-card[data-upgrade="power"] { --upgrade-bg: #fde1a0; --upgrade-border: #d9a153; --upgrade-ink: #743d1b; }
.reward-card[data-upgrade="shell"] { --upgrade-bg: #d3e9fa; --upgrade-border: #91bad7; --upgrade-ink: #225581; }
.reward-card[data-upgrade="heart"] { --upgrade-bg: #fbe0da; --upgrade-border: #d7a094; --upgrade-ink: #853f43; }
.reward-symbol svg { width: clamp(46px, 11vw, 64px); height: clamp(46px, 11vw, 64px); stroke-width: 2.2; }
.upgrade-compare { display: flex; gap: 2px; align-items: center; white-space: nowrap; font-size: clamp(10px, 3.2vw, 14px); font-variant-numeric: tabular-nums; }
.upgrade-compare b { font-weight: 900; }
.upgrade-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 6px 0; }
.upgrade-stats > span { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; padding: 5px 2px; border-radius: 8px; background: #eaf0cd; color: #314b36; font-size: 12px; }
.upgrade-stats svg { width: 17px; height: 17px; }
.upgrade-stats b { font-size: 14px; font-variant-numeric: tabular-nums; }
.reward-recommendation { position: absolute; top: 3px; right: 3px; color: #7b5417; }
.reward-recommendation svg { width: 16px; height: 16px; fill: #ffe57e; }
.reward-prizes { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; }
.reward-prizes .mini-friend { width: 35px; height: 35px; object-fit: contain; }
.territories { display: grid; gap: 5px; list-style: none; margin: 8px 0 13px; padding: 0; }
.territory-launch { width: 100%; text-align: left; cursor: pointer; }
.territory-end { display: flex; align-items: center; gap: 5px; }
.territory-end > svg { width: 16px; height: 16px; }
.territory {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 5px 8px;
  min-height: 35px;
  padding: 4px 6px;
  border: 1px solid #e3e3c5;
  border-radius: 10px;
  background: #f2efd8;
  font-size: 12px;
}
.territory strong { font-size: 15px; }
.territory em { color: #606e54; font-style: normal; }
.territory.open { background: #e8f2c6; border-color: #cfdc9c; }
.territory .icon { display: grid; justify-items: center; }
.territory img { display: block; width: 32px; height: 29px; object-fit: contain; }
.territory svg { width: 16px; height: 16px; }
.instructions { margin: 10px 0 15px; padding-left: 24px; color: #4e6652; font-size: 15px; line-height: 1.65; }

.auto-next-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  margin-top: 7px;
  gap: 10px;
  padding: 6px 10px;
  border: 2px solid #a6b795;
  background: #edf0d9;
  color: #284837;
  font-size: 16px;
  font-weight: 900;
}
.auto-next-toggle > svg {
  width: 46px;
  height: 46px;
  padding: 8px;
  border: 1px solid #61744b;
  border-radius: 50%;
  background: #466743;
  color: #fff7d1;
}
.auto-next-toggle[aria-pressed="true"] {
  border-color: #91aa58;
  background: #e8f3b4;
}
.auto-next-toggle[aria-pressed="true"] > svg {
  border-color: #335633;
  background: #2e5436;
  color: #f4ffbd;
}

.nursery-panel {
  margin-top: 10px;
  padding: 9px;
  border: 1px solid #d9d6ad;
  border-radius: 15px;
  background: #f1edcf;
}
.nursery-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 7px;
}
.nursery-actions :is(.hatch-button, .album-button) {
  min-width: 48px;
  min-height: 61px;
  padding: 5px 7px;
  gap: 5px;
  font-size: 14px;
  font-weight: 850;
}
.nursery-actions .hatch-button {
  border-color: #c78f50;
  background: linear-gradient(#fff2ad, #f4cb78);
  color: #674321;
}
.nursery-actions .hatch-ready { box-shadow: inset 0 0 0 2px #fff0b5, 0 2px 4px #8d5a3424; }
.nursery-actions .album-button {
  border-color: #9db882;
  background: #e6efbd;
  color: #33593d;
}
.nursery-actions .hatch-button > svg { width: 32px; height: 32px; fill: #ffdf8d; }
.nursery-actions .album-button > svg { width: 29px; height: 29px; }
.nursery-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  padding-top: 7px;
  color: #574b2e;
  font-size: 12px;
  font-weight: 800;
}
.nursery-caption:empty { display: none; }
.nursery-caption .egg-track { display: flex; flex-wrap: wrap; gap: 4px; }
.nursery-caption .egg-pill { padding: 3px 5px; font-size: 12px; }
.nursery-caption .egg-pill > span { width: 17px; height: 17px; }
.nursery-caption .egg-pill > span > svg { width: 12px; height: 12px; }
.nursery-ready {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 5px;
  border-radius: 99px;
  background: #ffe497;
  color: #684623;
}
.nursery-ready svg { width: 18px; height: 18px; fill: #ffca6d; }

:is(.hatch-reveal, .nursery-card) {
  --hatch-aura: #b5e287;
  --hatch-glow: #85c16c80;
  --hatch-dark: #1b4237;
  --hatch-tag: #e9f6b3;
  --hatch-tag-ink: #294833;
}
:is(.hatch-reveal, .nursery-card)[data-trait="shield"] {
  --hatch-aura: #9deaff;
  --hatch-glow: #59bae5aa;
  --hatch-dark: #213e64;
  --hatch-tag: #d6f5ff;
  --hatch-tag-ink: #203f61;
}
:is(.hatch-reveal, .nursery-card)[data-trait="lightning"] {
  --hatch-aura: #fbe08d;
  --hatch-glow: #c595ffae;
  --hatch-dark: #413363;
  --hatch-tag: #ffeaaf;
  --hatch-tag-ink: #573225;
}
:is(.hatch-reveal, .nursery-card)[data-trait="healer"] {
  --hatch-aura: #a1f5d0;
  --hatch-glow: #78d8bcaa;
  --hatch-dark: #184f50;
  --hatch-tag: #d4ffec;
  --hatch-tag-ink: #214c45;
}
:is(.hatch-reveal, .nursery-card)[data-trait="web"] {
  --hatch-aura: #c9ffc2;
  --hatch-glow: #5cebbbaa;
  --hatch-dark: #215849;
  --hatch-tag: #e3ffd6;
  --hatch-tag-ink: #284b39;
}
:is(.hatch-reveal, .nursery-card)[data-trait="banner"] {
  --hatch-aura: #ffbea9;
  --hatch-glow: #ed7595aa;
  --hatch-dark: #5f3141;
  --hatch-tag: #ffdedb;
  --hatch-tag-ink: #652d40;
}
.hatch-modal {
  background: radial-gradient(ellipse at top, #f9dfa0, transparent 68%), #f8f1cf;
  text-align: center;
}
.hatch-reveal {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(256px, 64vw, 336px);
  margin-top: 11px;
  overflow: hidden;
  border: 2px solid var(--hatch-aura);
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 65%, var(--hatch-glow), transparent 63%),
    radial-gradient(ellipse at 50% 26%, var(--hatch-dark), #102c2a 82%);
}
.hatch-reveal::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border: 1px solid #fff4b64c;
  border-radius: 11px;
  background:
    radial-gradient(circle at 14% 25%, #ffeea3 1px, transparent 3px),
    radial-gradient(circle at 82% 18%, #ffedac 1px, transparent 3px),
    radial-gradient(circle at 89% 72%, var(--hatch-aura) 1px, transparent 3px),
    radial-gradient(circle at 23% 77%, var(--hatch-aura) 1px, transparent 3px),
    radial-gradient(ellipse at 50% 87%, #0e29284d 15%, transparent 46%);
  pointer-events: none;
}
.hatch-reveal::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 57%;
  aspect-ratio: 1;
  border: 1px solid var(--hatch-aura);
  border-radius: 50%;
  box-shadow: 0 0 0 13px #e9f5b918, inset 0 0 35px var(--hatch-glow);
  opacity: .64;
  pointer-events: none;
}
.hatch-reveal > :is(.hatch-egg, .hatch-burst, .hatch-card) { grid-area: 1 / 1; }
.hatch-egg, .hatch-burst { display: none; }
.hatch-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: min(76%, 242px);
  padding: 7px 10px 11px;
  border: 2px solid var(--hatch-aura);
  border-radius: 19px;
  background: radial-gradient(ellipse at 50% 40%, var(--hatch-glow), transparent 70%), var(--hatch-dark);
  box-shadow: 0 0 28px var(--hatch-glow), 0 8px 20px #102621a5;
  color: #fff9e2;
}
.hatch-card > img {
  display: block;
  width: 100%;
  height: clamp(146px, 46vw, 208px);
  object-fit: contain;
  filter: drop-shadow(0 7px 8px #183c2bb8);
}
.hatch-card :is(.hatch-trait, strong) {
  max-width: 100%;
  font-size: clamp(15px, 5vw, 21px);
  font-weight: 900;
}
.hatch-card .hatch-trait {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 9px;
  background: var(--hatch-tag);
  color: var(--hatch-tag-ink);
  line-height: 1.15;
}
.hatch-card svg { width: 24px; height: 24px; }
.hatch-status { font-size: 13px; font-weight: 800; }
.hatch-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
.hatch-actions .action { min-height: 48px; }

@media (prefers-reduced-motion: no-preference) {
  .hatch-reveal::after { animation: hatch-halo 1.42s ease-out both; }
  .hatch-egg {
    position: relative;
    z-index: 1;
    display: block;
    width: clamp(110px, 36vw, 162px);
    aspect-ratio: 1 / 1.28;
    filter: drop-shadow(0 0 17px #ffe29bba);
    transform-origin: center 78%;
    animation: hatch-shake 1.42s ease-in-out both;
    pointer-events: none;
  }
  .hatch-egg > svg { display: none; }
  .hatch-egg::before, .hatch-egg::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid #ffecac;
    border-radius: 51% 50% 46% 47% / 63% 63% 40% 39%;
    background:
      radial-gradient(circle at 71% 38%, #bc7e33a8 2px, transparent 6px),
      radial-gradient(circle at 61% 60%, #be8139a6 2px, transparent 6px),
      radial-gradient(circle at 80% 54%, #bb7c34a3 1px, transparent 5px),
      radial-gradient(circle at 49% 42%, #fff8cc 2px, transparent 6px),
      radial-gradient(ellipse at 31% 26%, #fff9d8 2%, #ffe6a0 40%, #eead59 77%, #bc753b 100%);
    box-shadow: inset 5px 5px 8px #fff8d5, inset -7px -9px 15px #95532183;
  }
  .hatch-egg::before {
    clip-path: polygon(0 0, 100% 0, 100% 57%, 83% 63%, 67% 53%, 56% 64%, 42% 53%, 29% 60%, 15% 56%, 0 59%);
    animation: hatch-shell-top 1.42s ease-out both;
  }
  .hatch-egg::after {
    clip-path: polygon(0 59%, 15% 56%, 29% 60%, 42% 53%, 56% 64%, 67% 53%, 83% 63%, 100% 57%, 100% 100%, 0 100%);
    animation: hatch-shell-bottom 1.42s ease-out both;
  }
  .hatch-burst {
    position: relative;
    z-index: 2;
    display: block;
    width: 1px;
    height: 1px;
    pointer-events: none;
  }
  .hatch-burst::before {
    content: "";
    position: absolute;
    width: clamp(114px, 48vw, 204px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #fffac5c4, var(--hatch-glow) 42%, transparent 70%);
    mix-blend-mode: screen;
    animation: hatch-light 1.42s ease-out both;
  }
  .hatch-burst > i {
    position: absolute;
    display: block;
    width: 8px;
    height: 17px;
    border-radius: 3px;
    background: var(--hatch-aura);
    box-shadow: 0 0 10px currentColor;
    color: var(--hatch-aura);
    animation: hatch-spark 1.42s ease-out both;
  }
  .hatch-burst > i:nth-child(2n) { width: 8px; height: 8px; border-radius: 50%; background: #fbecaa; color: #fbecaa; }
  .hatch-burst > i:nth-child(3n) { background: #ffc5ef; color: #ffc5ef; }
  .hatch-burst > i:nth-child(1) { --spark-angle: 0deg; }
  .hatch-burst > i:nth-child(2) { --spark-angle: 47deg; }
  .hatch-burst > i:nth-child(3) { --spark-angle: 94deg; }
  .hatch-burst > i:nth-child(4) { --spark-angle: 138deg; }
  .hatch-burst > i:nth-child(5) { --spark-angle: 184deg; }
  .hatch-burst > i:nth-child(6) { --spark-angle: 224deg; }
  .hatch-burst > i:nth-child(7) { --spark-angle: 274deg; }
  .hatch-burst > i:nth-child(8) { --spark-angle: 320deg; }
  .hatch-card { animation: hatch-arrival 1.42s ease-out both; }
}
@keyframes hatch-shake {
  0% { opacity: 1; transform: scale(.94); }
  16% { transform: scale(1) rotate(-4deg); }
  27% { transform: scale(.96, 1.05) rotate(6deg); }
  40% { transform: scale(1.04, .95) rotate(-7deg); }
  51% { transform: scale(.95, 1.08) rotate(5deg); }
  61%, 69% { opacity: 1; transform: translateY(-4px) scale(1.06); }
  90%, 100% { opacity: 0; transform: translateY(-5px) scale(1.19); }
}
@keyframes hatch-shell-top {
  0%, 59% { transform: none; }
  68% { transform: translate(-4px, -12px) rotate(-7deg); }
  95%, 100% { transform: translate(-24px, -60px) rotate(-31deg); }
}
@keyframes hatch-shell-bottom {
  0%, 59% { transform: none; }
  68% { transform: translate(3px, 9px) rotate(5deg); }
  95%, 100% { transform: translate(21px, 43px) rotate(24deg); }
}
@keyframes hatch-halo {
  0%, 53% { transform: scale(.58); opacity: .35; }
  70% { transform: scale(1.1); opacity: .96; }
  100% { transform: scale(1); opacity: .64; }
}
@keyframes hatch-spark {
  0%, 57% { opacity: 0; transform: rotate(var(--spark-angle)) translateY(-26px) scale(.35); }
  67% { opacity: .95; }
  87% { opacity: .85; }
  100% { opacity: 0; transform: rotate(var(--spark-angle)) translateY(clamp(-142px, -29vw, -73px)) rotate(30deg) scale(1.3); }
}
@keyframes hatch-light {
  0%, 58% { opacity: 0; transform: translate(-50%, -50%) scale(.24); }
  71% { opacity: .78; transform: translate(-50%, -50%) scale(1); }
  96%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.26); }
}
@keyframes hatch-arrival {
  0%, 63% { opacity: 0; transform: translateY(12px) scale(.84); }
  91% { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: none; }
}

.nursery-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(125px, 46%), 1fr));
  gap: 8px;
  margin: 10px 0 13px;
}
.nursery-seats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.nursery-seats > button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 2px;
  border: 1px solid #d0d6a9;
  border-radius: 10px;
  background: #eef0d7;
}
.nursery-seats > button[aria-pressed="true"] { border-color: #4b754c; box-shadow: inset 0 0 0 2px #82ad66; }
.nursery-seats img { width: 42px; height: 42px; object-fit: contain; }
.nursery-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px;
  border: 2px solid var(--hatch-aura);
  border-radius: 13px;
  background: var(--hatch-tag);
  color: var(--hatch-tag-ink);
  text-align: center;
  overflow-wrap: anywhere;
}
.nursery-card[aria-pressed="true"] {
  border-color: #426951;
  box-shadow: inset 0 0 0 2px #426951;
}
.nursery-card:disabled { opacity: .84; }
.nursery-card > img {
  width: 100%;
  height: clamp(62px, 20vw, 95px);
  object-fit: contain;
}
.nursery-card-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--hatch-dark);
  color: var(--hatch-tag);
}
.nursery-card-icon svg { width: 17px; height: 17px; }
.nursery-card :is(strong, small) { max-width: 100%; line-height: 1.2; }
.nursery-card small { font-size: 11px; font-weight: 750; }

@media (max-height: 380px) {
  .hatch-modal { padding: 10px 14px; }
  .hatch-modal h2 { font-size: 21px; }
  .hatch-reveal { min-height: clamp(123px, calc(100svh - 135px), 221px); margin-top: 7px; }
  .hatch-egg { width: clamp(74px, calc(100svh * .33), 124px); }
  .hatch-card { width: min(52%, 207px); gap: 3px; padding-block: 4px; }
  .hatch-card > img { height: clamp(70px, calc(100svh - 208px), 138px); }
  .hatch-reveal::after { width: min(46%, 34vh); }
  .hatch-actions { margin-top: 7px; }
}

@media (min-width: 880px) {
  .shell { padding-left: max(23px, env(safe-area-inset-left)); padding-right: max(23px, env(safe-area-inset-right)); }
  .layout { grid-template-columns: minmax(0, 1.95fr) minmax(280px, 1fr); gap: 16px; }
  .arena { height: max(514px, min(60vw, 665px)); }
  .arena:has(.hero) { height: max(525px, min(60vw, 657px)); }
  .masthead { margin: 8px 0 12px; }
  .scene-heading { top: 16px; right: 16px; }
  .hud-stats { grid-auto-flow: column; }
  .panel { padding: 17px; }
  .intro-panel { padding: 22px; }
}
@media (max-width: 400px) {
  .shell { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .masthead { min-height: 53px; margin-bottom: 7px; }
  .arena { border-radius: 19px; }
  .scene-heading { right: 9px; }
  .panel { padding: 11px; border-radius: 16px; }
  .utilities { gap: 4px; }
  .brand:has(.region-label:not([hidden])) .brand-mark { display: none; }
  .shell[data-phase="battle"] .arena { height: max(335px, calc(100svh - 137px)); }
  .command-mode > span { display: none; }
}
@media (min-width: 540px) and (max-width: 879px) and (orientation: landscape) {
  .layout { grid-template-columns: minmax(0, 1.25fr) minmax(190px, 1fr); }
  .arena { height: 465px; }
  .arena:has(.hero) { height: 364px; }
  .footer { padding-top: 6px; }
  .controls { position: sticky; top: 6px; }
  .shell[data-phase="battle"] .arena { height: max(208px, calc(100svh - 145px)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .input-feedback, .round-reaction .round-crew img { animation: none; }
}

