.chicken-main { max-width: 1050px; }
.chicken-heading { padding: 28px 0 24px; }
.chicken-heading .eyebrow { margin: 0 0 8px; }
.chicken-heading h1 {
  font: 900 clamp(39px, 6vw, 74px)/.97 Georgia, serif;
  letter-spacing: -.05em;
  margin: 0 0 9px;
  text-shadow: 2px 2px var(--paper), 4px 4px #d6b584;
}
.chicken-heading > p:last-child { margin: 0; font: 18px/1.3 Georgia, serif; }
.chicken-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  gap: 24px;
  margin-bottom: 25px;
  align-items: start;
}
.kitchen-feed {
  min-width: 0;
  border: 2px solid var(--ink);
  color: #fff0cd;
  background: #352823;
  box-shadow: 4px 4px #c7b18e;
}
.feed-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  font: 700 11px var(--mono);
  letter-spacing: .08em;
}
.feed-label i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background: #ef805d; }
.chicken-stage {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  border-block: 2px solid #b98958;
  background: repeating-linear-gradient(#9b6442 0 2px, #6d4232 2px 5px, #895538 5px 22px);
}
.booth-window {
  --sky-top: #537fa1;
  --sky-horizon: #e1e6c8;
  --treeline: #4c6956;
  --light: #fff2b5;
  --light-top: 11%;
  --light-left: 68%;
  position: absolute;
  width: 27%;
  height: 37%;
  top: 10%;
  left: 7%;
  border: 6px solid #51342c;
  outline: 2px solid #c8965e;
  overflow: hidden;
  background: linear-gradient(var(--sky-top), var(--sky-horizon) 86%);
}
.booth-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--light-left) var(--light-top), var(--light) 0 7%, transparent 8%),
    linear-gradient(transparent 0 76%, var(--treeline) 76%);
}
.booth-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, #5f4134 47% 53%, transparent 53%),
    linear-gradient(transparent 52%, #5f4134 52% 59%, transparent 59%);
}
[data-sky="dawn"] .booth-window {
  --sky-top: #746e98;
  --sky-horizon: #ffc991;
  --treeline: #52625a;
  --light-top: 80%;
  --light-left: 24%;
}
[data-sky="dusk"] .booth-window {
  --sky-top: #554369;
  --sky-horizon: #f5a46c;
  --treeline: #443e49;
  --light-top: 80%;
}
[data-sky="night"] .booth-window {
  --sky-top: #17243e;
  --sky-horizon: #465379;
  --treeline: #273644;
  --light: #f6e9bc;
  --light-top: 26%;
}
[data-sky="night"] .booth-window::before {
  background:
    radial-gradient(circle at 19% 19%, #efead2 0 1px, transparent 1.5px),
    radial-gradient(circle at 35% 41%, #e6e8df 0 1px, transparent 1.5px),
    radial-gradient(circle at 81% 48%, #efead2 0 1px, transparent 1.5px),
    radial-gradient(circle at 89% 19%, #e6e8df 0 1px, transparent 1.5px),
    radial-gradient(circle at var(--light-left) var(--light-top), var(--light) 0 7%, transparent 8%),
    linear-gradient(transparent 0 76%, var(--treeline) 76%);
}
.booth-sign {
  position: absolute;
  right: 7%;
  top: 12%;
  padding: 5px 9px;
  border: 3px solid #4e342b;
  background: #ffdb9f;
  color: #723927;
  text-align: center;
  font: 700 clamp(10px, 1.6vw, 17px)/1.1 var(--mono);
  box-shadow: 2px 2px #55382c;
}
.booth-sign span { color: #ab4b35; }
.table {
  position: absolute;
  z-index: -2;
  inset: 65% -3% -30%;
  background: repeating-linear-gradient(96deg, #e4b77d 0 26px, #d6a970 27px 29px, #bd8a54 29px 31px);
  border-top: 5px solid #f5cf97;
  transform: perspective(250px) rotateX(22deg);
}
.chicken-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 39%;
  bottom: 16%;
  width: 22%;
  height: 6%;
  border-radius: 50%;
  background: #85543930;
}
.chicken-actor {
  position: absolute;
  bottom: 8%;
  left: 29%;
  width: 42%;
  transform-origin: 50% 79%;
}
.chicken-actor img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  /* Keep the bird and its toes from the shared 118 × 86 plated sprite. */
  clip-path: polygon(
    0 0, 100% 0, 100% 69.77%, 56.78% 69.77%,
    56.78% 75.58%, 59.32% 75.58%, 59.32% 79.07%,
    50% 79.07%, 50% 75.58%, 53.39% 75.58%, 53.39% 70.93%,
    46.61% 70.93%, 46.61% 75.58%, 49.15% 75.58%,
    49.15% 79.07%, 39.83% 79.07%, 39.83% 75.58%,
    43.22% 75.58%, 43.22% 69.77%, 0 69.77%
  );
}
.chicken-reply { min-height: 3.4em; margin: 0; padding: 10px 13px; font: 700 clamp(13px, 2vw, 15px)/1.35 var(--mono); }
.order-pad { border: 1px solid #b9a487; border-top: 4px solid var(--red); background: #fff8e8; padding: 18px; }
.order-pad h2 { font: 700 29px/1 Georgia, serif; margin: 0 0 15px; }
.order-pad form { display: grid; gap: 9px; justify-items: start; }
.order-pad label { font: 700 13px var(--mono); }
.order-pad input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #806e59; background: #fffdf5; color: var(--ink); font: 16px var(--mono); }
.order-pad input:focus-visible { outline: 3px solid #266e74; outline-offset: 2px; }
.quick-orders { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 17px; padding-top: 14px; }
.quick-orders button { background: #f0e4cc; border: 1px solid #ad9878; min-height: 38px; padding: 6px 9px; font: 700 12px var(--mono); }
.quick-orders button:hover { background: #e9cfa5; }
[data-action="dance"] .chicken-actor { animation: dance .44s steps(4) 5 alternate; }
[data-action="jump"] .chicken-actor { animation: jump .68s steps(5) 3; }
[data-action="dead"] .chicken-actor {
  --flop-duration: 2.5s;
  animation: flop var(--flop-duration) steps(5);
}
[data-action="dead"] .chicken-actor::after {
  /* Cover the eye at pixels (73, 20) through (78, 25) of the sprite. */
  content: "";
  position: absolute;
  left: 61.86%;
  top: 23.26%;
  width: 5.08%;
  height: 6.98%;
  background:
    linear-gradient(45deg, transparent 42%, #332b27 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #332b27 42% 58%, transparent 58%),
    #ffedbd;
  visibility: hidden;
  animation: dead-eye var(--flop-duration) step-end;
}
[data-action="spin"] .chicken-actor { animation: spin .52s steps(6) 4; }
[data-action="walk"] .chicken-actor { animation: walk 2.35s steps(14); }
[data-action="fly"] .chicken-actor { animation: fly 2s steps(14); }
[data-action="bow"] .chicken-actor { animation: bow 1.15s steps(6) 2; }
[data-action="sleep"] .chicken-actor { animation: sleep 2.5s steps(6); }
[data-action="shake"] .chicken-actor { animation: shake .3s steps(5) 6; }
[data-action="hide"] .chicken-actor { animation: hide 2.4s steps(8); }
[data-action="sing"] .chicken-actor { animation: sing .5s steps(4) 4; }
[data-action="stare"] .chicken-actor { animation: stare 2.4s steps(8); }
@keyframes dance { from { transform: translateX(-18%) rotate(-17deg); } to { transform: translateX(18%) rotate(14deg) translateY(-10%); } }
@keyframes jump { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-78%) rotate(-8deg); } }
@keyframes flop { 0%,100% { transform: none; } 16%,85% { transform: rotate(-84deg) translate(-14%,15%); } }
@keyframes dead-eye {
  0%, 94% { visibility: hidden; }
  16% { visibility: visible; }
}
@keyframes spin { to { transform: rotateY(360deg); } }
@keyframes walk { 0%,100% { transform: none; } 40% { transform: translateX(-54%) scaleX(-1); } 70% { transform: translateX(44%); } }
@keyframes fly { 0%,100% { transform: none; } 30% { transform: translate(-45%,-59%) rotate(-16deg); } 65% { transform: translate(55%,-95%) rotate(13deg); } }
@keyframes bow { 0%,100% { transform: none; } 48% { transform: rotate(25deg); } }
@keyframes sleep { 0%,100% { transform: none; } 15%,85% { transform: scaleY(.64) rotate(-14deg); } }
@keyframes shake { 0%,100% { transform: none; } 30% { transform: translateX(-5%); } 70% { transform: translateX(5%); } }
@keyframes hide {
  0%,100% { transform: none; clip-path: inset(0); }
  22%,77% { transform: translateY(42%); clip-path: inset(0 0 100%); }
}
@keyframes sing { 0%,100% { transform: none; } 50% { transform: scaleY(1.13) translateY(-4%); } }
@keyframes stare { 0%,100% { transform: none; } 25%,75% { transform: scale(1.4); } }
@media (max-width: 720px) { .chicken-layout { grid-template-columns: 1fr; gap: 17px; } }

.order-help { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.order-help h3 { margin: 0; font: 700 13px var(--mono); }
.order-help .quick-orders { border: 0; margin: 0; padding-top: 12px; }
.order-help button::first-letter { text-transform: uppercase; }

.shrug-wing {
  position: absolute;
  top: 47%;
  width: 26%;
  height: 17%;
  opacity: 0;
  background: #513528;
  clip-path: polygon(0 0, 28% 0, 28% 17%, 51% 17%, 51% 32%, 76% 32%, 76% 50%, 100% 50%, 100% 100%, 61% 100%, 61% 83%, 32% 83%, 32% 66%, 14% 66%, 14% 47%, 0 47%);
  transform-origin: right bottom;
}
.shrug-wing::after {
  content: "";
  position: absolute;
  inset: 10%;
  background: #e8bc7e;
  clip-path: inherit;
}
.left-wing { left: 20%; }
.right-wing { right: 35%; scale: -1 1; }
[data-action="shrug"] .chicken-actor,
[data-action="shrug-double"] .chicken-actor { animation: shoulders .95s steps(4) 1; }
[data-action="shrug-tilt"] .chicken-actor { animation: head-tilt 1.15s steps(6) 1; }
[data-action^="shrug"] .shrug-wing { animation: lift-wings .95s steps(4) 1; }
[data-action="shrug-tilt"] .shrug-wing { animation-delay: .2s; }
[data-action="shrug-double"] .chicken-actor,
[data-action="shrug-double"] .shrug-wing { animation-iteration-count: 2; }

.scold-wing {
  position: absolute;
  left: 54%;
  bottom: 34%;
  width: 30%;
  height: 41%;
  visibility: hidden;
  transform-origin: 27% 93%;
  background: #332b27;
  clip-path: polygon(0 86%, 11% 70%, 28% 64%, 33% 49%, 45% 43%, 47% 11%, 55% 2%, 68% 2%, 75% 9%, 77% 40%, 91% 42%, 97% 53%, 96% 72%, 85% 83%, 65% 86%, 38% 99%, 14% 99%);
}
.scold-wing::after {
  content: "";
  position: absolute;
  inset: 9% 9% 9% 10%;
  background: linear-gradient(32deg, #bb925d 17%, #e8bc7e 18% 48%, #ffedbd 49%);
  clip-path: inherit;
}
[data-action="scold"] .chicken-actor { animation: camera-scold 2.95s steps(2); }
[data-action="scold"] .scold-wing {
  animation: show-finger 2.95s step-end, wag-finger .31s steps(4) .7s 6 alternate;
}
@keyframes camera-scold {
  0%, 100% { transform: none; }
  12% { transform: translate(-4%, 5%) scale(1.38) rotate(3deg); }
  23%, 84% { transform: translate(-8%, -3%) scale(2.12); }
  92% { transform: translate(-2%, 5%) scale(1.35) rotate(-3deg); }
}
@keyframes show-finger {
  0%, 86% { visibility: hidden; }
  22% { visibility: visible; }
}
@keyframes wag-finger {
  from { transform: rotate(-23deg); }
  to { transform: rotate(18deg); }
}

[data-action="strut"] .chicken-actor { animation: strut 1.9s steps(10); }
[data-action="shuffle"] .chicken-actor { animation: shuffle .65s steps(6) 3; }
[data-action="stomp"] .chicken-actor { animation: stomp .55s steps(5) 4; }
[data-action="twirl"] .chicken-actor { animation: twirl .9s steps(8) 2; }
[data-action="flop"] .chicken-actor { animation: tumble 1.4s steps(10); }
[data-action="kick"] .chicken-actor { animation: kick .68s steps(5) 2; }
[data-action="stretch"] .chicken-actor { animation: stretch 2s steps(8); }
[data-action="crouch"] .chicken-actor { animation: crouch .7s steps(5) 3; }
[data-action="flex"] .chicken-actor { animation: flex 1.6s steps(6); }
[data-action="peck"] .chicken-actor { animation: peck .44s steps(4) 4; }
[data-action="taste"] .chicken-actor { animation: taste 1.8s steps(8); }
[data-prop="sauce"] .chicken-actor { animation: taste-and-recoil 2.9s steps(9); }
[data-action="sneeze"] .chicken-actor { animation: sneeze 1.25s steps(8); }
[data-action="lift"] .chicken-actor { animation: lift 1.7s steps(8); }
[data-action="glide"] .chicken-actor { animation: glide 2s steps(14); }
[data-action="rock"] .chicken-actor { animation: rock .48s steps(5) 5 alternate; }
[data-action="shudder"] .chicken-actor { animation: shudder .38s steps(5) 5; }
[data-action="quack"] .chicken-actor { animation: quack .6s steps(6) 3; }
[data-action="wave"] .chicken-actor { animation: wave .64s steps(6) 3; }
[data-action="inspect"] .chicken-actor { animation: inspect 1.9s steps(10); }
[data-action="present"] .chicken-actor { animation: present 2.1s steps(8); }
[data-action="scrub"] .chicken-actor { animation: scrub .42s steps(5) 5 alternate; }
[data-action="drive"] .chicken-actor { animation: drive 2.35s steps(16); }
[data-action="drum"] .chicken-actor { animation: drum .27s steps(4) 7 alternate; }
[data-action="whistle"] .chicken-actor { animation: whistle .95s steps(6) 2; }
[data-action="moo"] .chicken-actor { animation: moo 1.65s steps(8); }
[data-action="robot"] .chicken-actor { animation: robot 1.85s steps(1); }
[data-action="high-five"] .chicken-actor { animation: high-five 1.4s steps(8); }
[data-action="hug"] .chicken-actor { animation: hug 1.65s steps(8); }
[data-action="selfie"] .chicken-actor { animation: selfie 1.5s steps(8); }
[data-action="laugh"] .chicken-actor { animation: laugh .28s steps(4) 7 alternate; }
[data-action="wave"] .right-wing { animation: lift-wings .64s steps(4) 3; }
[data-action="high-five"] .right-wing { animation: raise-wing 1.4s steps(8); }
[data-action="hug"] .shrug-wing { animation: raise-wing 1.65s steps(8); }
[data-action="fly"] .shrug-wing { animation: lift-wings .35s steps(4) 5; }

@keyframes shoulders { 0%,100% { transform: none; } 32%,72% { transform: translateY(-8%) scaleX(.94); } }
@keyframes head-tilt { 0%,100% { transform: none; } 25% { transform: rotate(-12deg); } 58%,80% { transform: translateY(-8%) rotate(5deg); } }
@keyframes lift-wings {
  0%,100% { opacity: 0; transform: rotate(-22deg) scale(.6); }
  25%,75% { opacity: 1; transform: rotate(17deg); }
}
@keyframes strut { 0%,100% { transform: none; } 25% { transform: translate(28%,-6%) rotate(9deg); } 68% { transform: translate(-32%,-6%) scaleX(-1); } }
@keyframes shuffle { 0%,100% { transform: none; } 25% { transform: translateX(-22%) skewX(-7deg); } 75% { transform: translateX(22%) skewX(7deg); } }
@keyframes stomp { 0%,100% { transform: none; } 38% { transform: translateY(-13%); } 73% { transform: scaleY(.86); } }
@keyframes twirl { 0% { transform: none; } 50% { transform: translateY(-16%) rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes tumble { 0% { transform: none; } 45% { transform: translate(39%,-20%) rotate(190deg); } 100% { transform: rotate(360deg); } }
@keyframes kick { 0%,100% { transform: none; } 55% { transform: translateY(-14%) rotate(-27deg); } }
@keyframes stretch { 0%,100% { transform: none; } 35%,75% { transform: skewX(-16deg) scaleY(1.22); } }
@keyframes crouch { 0%,100% { transform: none; } 53% { transform: scale(.91,.67); } }
@keyframes flex { 0%,100% { transform: none; } 35%,75% { transform: scale(1.14,1.07); } }
@keyframes peck { 0%,100% { transform: none; } 59% { transform: rotate(37deg) translateX(8%); } }
@keyframes taste { 0%,100% { transform: none; } 38%,61% { transform: rotate(11deg) translateX(4%); } }
@keyframes taste-and-recoil {
  0%, 100% { transform: none; }
  32%, 46% { transform: rotate(14deg) translateX(5%); }
  55% { transform: translate(-15%,-18%) rotate(-24deg) scaleY(1.13); }
  65%, 82% { transform: translate(-8%,-4%) rotate(-12deg); }
}
@keyframes sneeze { 0%,100% { transform: none; } 44% { transform: translateX(-15%) scale(.94,1.15); } 64% { transform: translateX(24%) rotate(16deg); } }
@keyframes lift { 0%,100% { transform: none; } 34%,71% { transform: translateY(-24%) rotate(-5deg); } }
@keyframes glide { 0%,100% { transform: none; } 26% { transform: translateX(-47%) scaleX(-1); } 71% { transform: translateX(54%); } }
@keyframes rock { from { transform: rotate(-24deg) translateY(-9%); } to { transform: rotate(13deg) translateY(-3%); } }
@keyframes shudder { 0%,100% { transform: none; } 30% { transform: translateX(-7%) rotate(-7deg); } 72% { transform: translateX(7%) rotate(7deg); } }
@keyframes quack { 0%,100% { transform: none; } 39% { transform: skewX(-14deg) scaleY(.8); } }
@keyframes wave { 0%,100% { transform: none; } 39% { transform: rotate(-13deg) scaleX(.93); } 69% { transform: rotate(7deg); } }
@keyframes inspect { 0%,100% { transform: none; } 35%,78% { transform: rotate(19deg) translate(6%, 4%); } }
@keyframes present { 0%,100% { transform: none; } 35%,68% { transform: translate(7%, -5%) rotate(-8deg); } }
@keyframes scrub { from { transform: rotate(15deg) translateX(10%); } to { transform: rotate(20deg) translateX(18%); } }
@keyframes drive {
  0%,100% { transform: none; }
  14% { transform: scale(.77) translateY(9%); }
  72%,84% { transform: translateX(-64%) scale(.77) translateY(9%); }
}
@keyframes drum { from { transform: rotate(6deg); } to { transform: rotate(22deg) translateY(5%); } }
@keyframes whistle { 0%,100% { transform: none; } 28%,76% { transform: rotate(-14deg) scaleX(.91); } }
@keyframes moo { 0%,100% { transform: none; } 28%,75% { transform: rotate(-21deg) scaleY(1.15); } }
@keyframes robot {
  0%,100% { transform: none; }
  20% { transform: translateX(14%) rotate(10deg); }
  42% { transform: translateX(14%) rotate(-6deg); }
  60% { transform: translateX(-15%) rotate(-6deg); }
  80% { transform: translateX(-15%) rotate(11deg); }
}
@keyframes high-five {
  0%,100% { transform: none; }
  42% { transform: translateY(-17%) scale(1.29) rotate(-7deg); }
  72% { transform: scale(1.14) rotate(5deg); }
}
@keyframes hug { 0%,100% { transform: none; } 35%,74% { transform: scale(1.27) rotate(-6deg); } }
@keyframes raise-wing {
  0%,100% { opacity: 0; transform: rotate(-22deg) scale(.6); }
  28%,74% { opacity: 1; transform: rotate(43deg) scale(1.25); }
}
@keyframes selfie { 0%,100% { transform: none; } 35%,70% { transform: translateX(13%) rotate(-14deg) scale(1.24); } }
@keyframes laugh { from { transform: rotate(-12deg) scaleY(1.08); } to { transform: rotate(-16deg) scaleY(.91); } }

@media (prefers-reduced-motion: reduce) {
  .chicken-stage .chicken-actor,
  .chicken-stage .shrug-wing,
  .chicken-stage .scold-wing { animation: none; }
  .chicken-stage[data-action="dead"] .chicken-actor::after { animation: none; visibility: visible; }
  .chicken-stage[data-action^="shrug"] .shrug-wing { opacity: 1; transform: rotate(17deg); }
  .chicken-stage[data-action="scold"] .chicken-actor { transform: translate(-8%, -3%) scale(2.12); }
  .chicken-stage[data-action="scold"] .scold-wing { visibility: visible; }
  .chicken-stage[data-action="wave"] .right-wing,
  .chicken-stage[data-action="high-five"] .right-wing,
  .chicken-stage[data-action="hug"] .shrug-wing { opacity: 1; transform: rotate(25deg); }
}
