.game-main { max-width: 1050px; }
.game-heading { padding: 24px 0 21px; }
.game-heading .eyebrow { margin: 0 0 8px; }
.game-heading h1 {
  font: 900 clamp(42px, 7vw, 80px)/.95 Georgia, serif;
  letter-spacing: -.055em;
  margin: 0 0 8px;
  text-shadow: 2px 2px var(--paper), 4px 4px #d6b584;
}
.game-heading > p:last-child { font: clamp(16px, 2vw, 20px)/1.3 Georgia, serif; margin: 0; }
.game-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(210px, 1fr); gap: 24px; align-items: start; }
.cabinet { background: #332823; border: 2px solid var(--ink); box-shadow: 4px 4px #c7b18e; color: #fff2d1; }
.scoreboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 10px 4px; text-align: center; font: 700 14px var(--mono); }
.scoreboard div + div { border-left: 1px solid #79594a; }
.scoreboard dt { color: #eed1a2; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.scoreboard dd { margin: 2px 0 0; font-size: clamp(16px, 2.6vw, 23px); font-variant-numeric: tabular-nums; }
.scoreboard .lives { color: #ffc38b; }
.game-screen { position: relative; border-block: 2px solid #b38252; touch-action: manipulation; }
.game-screen:focus-visible { outline: 3px solid #ffda8d; outline-offset: -5px; }
.game-screen canvas { width: 100%; height: auto; aspect-ratio: 8 / 5; display: block; image-rendering: pixelated; }
.game-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: #281f1a86; padding: 10px; }
.game-overlay[hidden] { display: none; }
.order-ticket { background: #fff1d3; border: 2px solid #3e2824; box-shadow: 4px 4px #2c211d; color: var(--ink); padding: clamp(10px, 2vw, 23px) clamp(14px, 4vw, 40px); text-align: center; }
.order-ticket .eyebrow { justify-content: center; margin: 0; }
.order-ticket h2 { font: 700 clamp(22px, 4vw, 40px)/1 Georgia, serif; margin: 6px 0; }
.order-ticket p:not(.eyebrow) { font: 16px/1.1 Georgia, serif; margin: 0 0 12px; }
.order-ticket .serve { min-height: 36px; padding: 7px 13px; }
.game-controls { display: grid; grid-template-columns: 1fr minmax(78px, .65fr) 1fr; gap: 8px; padding: 8px 9px; }
.game-controls button { min-height: 44px; border: 1px solid #987653; background: #4c352c; font: 700 12px var(--mono); touch-action: manipulation; }
.game-controls button:not(:disabled):is(:hover, :active) { background: #935141; }
.game-controls button:disabled { opacity: .55; }
.game-controls .move { font-size: 26px; line-height: 1; }
.game-progress { display: flex; align-items: center; gap: 9px; padding: 2px 10px 9px; font: 700 10px var(--mono); }
.game-progress progress { min-width: 0; flex: 1; accent-color: #efae5a; }
.game-guide { border-top: 3px solid var(--red); padding: 12px 12px 0; }
.game-guide h2 { font: 700 28px/1 Georgia, serif; margin: 0 0 14px; }
.food-rule { display: grid; grid-template-columns: 36px 1fr; gap: 9px; align-items: start; margin-bottom: 12px; }
.food-rule canvas { width: 36px; height: 36px; image-rendering: pixelated; }
.food-rule p, .game-instructions p { font: 15px/1.4 Georgia, serif; margin: 0; }
.game-instructions { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 12px; }
.game-instructions kbd { background: #f1e5ce; border: 1px solid var(--line); padding: 1px 3px; }
@media (max-width: 760px) { .game-layout { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 360px) { .game-heading h1 { font-size: 39px; } }
