:root {
  --paper: #f3eddf;
  --cream: #fffaf0;
  --ink: #30362d;
  --quiet: #6d7465;
  --faint: #929888;
  --line: #d7cfbd;
  --mint: #bdd4c5;
  --tile: #dbe7dc;
  --green: #376255;
  --green-soft: #e1eadb;
  --red: #b2513f;
  --red-soft: #fae3d5;
  --gold: #d49d45;
  --mat: #d9b982;
  --chalk: #35493f;
  --focus: #bd7528;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.6 system-ui,
    -apple-system,
    "Malgun Gothic",
    "Apple SD Gothic Neo",
    sans-serif;
  word-break: keep-all;
}
button,
input {
  font: inherit;
}
button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:hover {
  border-color: var(--green);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button.primary {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
img {
  object-fit: contain;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 30;
  background: var(--cream);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  max-width: 1100px;
  margin: auto;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.brand img {
  width: 30px;
  height: 30px;
}
.back {
  font-size: 12px;
  color: var(--quiet);
}
main {
  max-width: 1060px;
  margin: auto;
  padding: 26px 24px;
}
.page-title {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.page-copy {
  color: var(--quiet);
  margin: 0 0 22px;
  font-size: 14px;
}
.shop {
  position: relative;
  border: 1px solid #a7bba8;
  border-radius: 15px;
  background: var(--cream);
  overflow: hidden;
  scroll-margin-top: 12px;
}
.shop-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--mint);
  padding: 10px 20px;
  font-size: 11px;
  color: #3e574a;
  border-bottom: 1px solid #a6bda9;
}
.shop-tools > div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.small-button {
  min-height: 32px;
  padding: 4px 10px;
  background: #f1f5e9;
  border-color: #9fb4a0;
  font-size: 11px;
  border-radius: 6px;
}
.start-view {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  padding: 34px 42px 30px;
}
.start-view h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.start-view p {
  color: var(--quiet);
  font-size: 14px;
  margin: 0 0 20px;
  max-width: 430px;
}
.start-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.start-illustration {
  height: 290px;
  position: relative;
}
.start-illustration .chef-art {
  position: absolute;
  left: 30px;
  top: 0;
  width: 240px;
  height: 260px;
}
.start-counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 55px;
  background: #cfa276;
  border-top: 8px solid #dfbc91;
  border-radius: 8px;
  box-shadow: 0 4px 0 #b79064;
}
.start-illustration .food-art {
  position: absolute;
  bottom: 8px;
  width: 145px;
  height: 110px;
  z-index: 2;
  left: 0;
}
.start-illustration .ramen-art {
  left: auto;
  right: 0;
  width: 115px;
  height: 115px;
}
.start-notes {
  padding: 0 42px 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--quiet);
  font-size: 11px;
}
.loading,
.error-box {
  padding: 70px 24px;
  text-align: center;
}
.loading p,
.error-box p {
  color: var(--quiet);
}
.loading progress {
  width: 200px;
  max-width: 100%;
  margin: 16px auto;
  display: block;
  accent-color: var(--green);
}
.game-top {
  background: var(--chalk);
  color: #fffaf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  gap: 20px;
  font-variant-numeric: tabular-nums;
}
.shift-label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.open-light {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e7bd68;
  border-radius: 50%;
}
.game-stats {
  display: flex;
  gap: 26px;
  align-items: center;
}
.stat {
  display: flex;
  gap: 7px;
  align-items: baseline;
  font-size: 11px;
  color: #d9e4d5;
}
.stat b {
  font-size: 23px;
  line-height: 1.2;
  color: #fffaf0;
}
.shift-clock {
  font-size: 26px;
  min-width: 70px;
  text-align: right;
  font-weight: 750;
}
.shift-clock.urgent {
  color: #ffd797;
}
.shift-clock.practice {
  font-size: 14px;
}
.shift-track {
  height: 4px;
  background: #b7c6b3;
}
.shift-track span {
  height: 100%;
  display: block;
  background: var(--gold);
  transition: width 0.1s linear;
}
.orders-wall {
  padding: 14px 22px;
  background: var(--tile);
  border-bottom: 1px solid #c2d0bf;
}
.orders-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: #526b58;
  margin-bottom: 8px;
}
.orders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ticket {
  position: relative;
  background: #fffcf3;
  min-height: 125px;
  border: 1px solid #d2d2bb;
  border-top: 4px solid #d3b895;
  border-radius: 4px;
  padding: 9px 12px 7px;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 3px 0 #c7d2c0;
  transition: border-color 0.12s;
}
.ticket.selected {
  border-color: var(--green);
  border-top-color: var(--green);
  background: #fffdf7;
}
.ticket.empty {
  cursor: default;
  background: #e4ebdc;
  border-color: #c2d0b9;
  box-shadow: none;
  color: #64795d;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 12px;
  pointer-events: none;
}
.ticket.empty img {
  width: 48px;
  height: 48px;
  margin: auto;
  opacity: 0.7;
}
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}
.ticket-name {
  font-weight: 750;
  font-size: 14px;
}
.ticket-id {
  font-size: 10px;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.ticket-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.customer {
  width: 52px;
  height: 59px;
  flex-shrink: 0;
  align-self: end;
}
.ticket-recipe {
  font-size: 11px;
  line-height: 1.45;
  color: var(--quiet);
  flex: 1;
}
.ticket-recipe .dish-icon {
  width: 45px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
.ticket-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: var(--quiet);
}
.ticket-time progress {
  width: 100%;
  height: 5px;
  accent-color: var(--green);
}
.ticket.urgent {
  border-top-color: var(--red);
}
.ticket.urgent progress {
  accent-color: var(--red);
}
.kitchen {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 18px 22px 16px;
  background: #fffaf0;
}
.station {
  min-width: 0;
}
.station-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.station-title h3 {
  font-size: 14px;
  margin: 0;
  letter-spacing: -0.3px;
}
.station-title small {
  color: var(--quiet);
  font-size: 10px;
}
.order-hint {
  font-size: 12px;
  min-height: 42px;
  color: var(--quiet);
  padding: 7px 10px;
  margin-bottom: 10px;
  background: #f0ebde;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-hint b {
  color: var(--green);
}
.prep-board {
  position: relative;
  height: 132px;
  border-radius: 9px;
  border: 1px solid #bca06c;
  background: repeating-linear-gradient(
    90deg,
    #d8b982 0px,
    #d8b982 9px,
    #c9a66b 9px,
    #c9a66b 11px
  );
  overflow: hidden;
  display: grid;
  place-items: center;
}
.mat-tie {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 20px;
  border-top: 2px solid #efe0bb;
  pointer-events: none;
}
.mat-tie.bottom {
  top: auto;
  bottom: 20px;
}
.seaweed {
  position: absolute;
  width: 178px;
  height: 93px;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  opacity: 0.95;
  pointer-events: none;
}
.prep-placeholder {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: #eee6ca;
  text-shadow: 0 1px #263721;
  pointer-events: none;
}
.prep-food {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 60px;
  pointer-events: none;
  filter: drop-shadow(0 2px 1px #0002);
  animation: ingredient-drop 0.15s ease-out;
}
.prep-food.rice {
  width: 110px;
  height: 80px;
  left: calc(50% - 55px);
  top: 27px;
}
.prep-food.egg {
  width: 85px;
  height: 52px;
  left: calc(50% - 48px);
  top: 35px;
}
.prep-food.pickle {
  width: 85px;
  height: 48px;
  left: calc(50% - 41px);
  top: 46px;
}
.prep-food.ham {
  width: 87px;
  height: 43px;
  left: calc(50% - 31px);
  top: 58px;
}
.prep-food.carrot {
  width: 80px;
  height: 50px;
  left: calc(50% - 29px);
  top: 30px;
}
.served-dish {
  position: absolute;
  width: 230px;
  height: 125px;
  left: calc(50% - 115px);
  top: 3px;
  z-index: 5;
  animation: serve-pop 0.65s ease-out both;
  pointer-events: none;
}
.ingredients {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.ingredient {
  padding: 7px 3px;
  min-height: 77px;
  font-size: 11px;
  position: relative;
  background: #fffdf7;
  border-color: #d5cdbb;
}
.ingredient img {
  display: block;
  width: 47px;
  height: 43px;
  margin: auto;
  pointer-events: none;
}
.ingredient[aria-pressed="true"] {
  background: var(--green-soft);
  border-color: var(--green);
}
.ingredient[aria-pressed="true"]:after {
  content: "✓";
  position: absolute;
  right: 5px;
  top: 1px;
  font-size: 13px;
  color: var(--green);
  font-weight: 750;
}
.prep-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 8px;
}
.prep-actions button {
  font-size: 13px;
}
.prep-actions .clear {
  padding-inline: 12px;
  font-size: 11px;
}
.stoves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pot-button {
  position: relative;
  min-height: 224px;
  padding: 10px 10px 12px;
  background: #eee9dd;
  border: 1px solid #cec5b2;
  border-bottom: 5px solid #baaf97;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.pot-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  color: var(--quiet);
  gap: 8px;
}
.pot-label b {
  font-size: 11px;
  color: var(--ink);
}
.pot-art {
  position: relative;
  width: 100%;
  height: 134px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.pot-art img {
  width: 100%;
  height: 125px;
  object-fit: contain;
}
.burner {
  position: absolute;
  left: 23%;
  right: 23%;
  height: 8px;
  bottom: 5px;
  border-radius: 50%;
  background: #8b8678;
  opacity: 0.3;
  z-index: 0;
}
.pot-button.cooking .burner,
.pot-button.ready .burner {
  background: #eab35a;
  opacity: 1;
  box-shadow: 0 0 0 5px #e8bd6d30;
}
.pot-button.cooking .pot-art img {
  animation: simmer 0.3s infinite alternate ease-in-out;
}
.steam {
  position: absolute;
  width: 8px;
  height: 28px;
  left: 46%;
  top: 8px;
  border-left: 3px solid #fffaf0aa;
  border-radius: 50%;
  opacity: 0;
}
.cooking .steam,
.ready .steam {
  opacity: 0.8;
  animation: steam 1.2s infinite ease-out;
}
.steam.second {
  left: 59%;
  top: 13px;
  animation-delay: 0.5s;
}
.pot-button.ready {
  border-color: #82a987;
  background: #e4eddd;
  border-bottom-color: #5e8062;
}
.pot-button.burnt {
  border-color: #bf8b72;
  background: #f4e1d4;
  border-bottom-color: #a8755d;
}
.pot-caption {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  min-height: 18px;
}
.pot-meter {
  width: 90%;
  height: 6px;
  border: 0;
  border-radius: 10px;
  background: #d6d1c4;
  overflow: hidden;
  display: block;
}
.pot-meter span {
  display: block;
  height: 100%;
  background: var(--gold);
  width: 0%;
}
.ready .pot-meter span {
  background: var(--green);
}
.burnt .pot-meter span {
  background: var(--red);
}
.pot-note {
  font-size: 10px;
  line-height: 1.4;
  color: var(--quiet);
  margin: 10px 0 0;
  text-align: center;
}
.feedback-strip {
  position: relative;
  min-height: 43px;
  background: #f2e8d6;
  border-top: 1px solid #dfd1b9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 22px;
  font-size: 12px;
  color: #705c43;
}
.feedback-strip strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.feedback-strip.bad {
  background: var(--red-soft);
  color: #964c38;
}
.feedback-strip.bad strong {
  color: var(--red);
}
.practice-help {
  padding: 9px 22px;
  font-size: 12px;
  background: #f6ecd4;
  border-bottom: 1px solid #e0d2b5;
  color: #79612d;
  display: flex;
  gap: 8px;
  align-items: center;
}
.practice-help b {
  white-space: nowrap;
}
.pause-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #fffaf0f7;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}
.pause-layer h2 {
  font-size: 26px;
  margin: 0 0 10px;
}
.pause-layer p {
  color: var(--quiet);
  max-width: 360px;
  margin: 0 0 24px;
}
.practice-result {
  padding: 32px;
  text-align: center;
}
.practice-result img {
  width: 170px;
  height: 170px;
}
.practice-result h2 {
  font-size: 26px;
  margin: 8px 0;
}
.practice-result p {
  color: var(--quiet);
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 22px;
}
.result {
  padding: 30px 34px;
}
.result-heading {
  display: grid;
  grid-template-columns: 1fr 175px;
  align-items: center;
  gap: 16px;
}
.result-heading p {
  color: var(--quiet);
  font-size: 12px;
  margin: 0 0 5px;
}
.result-heading h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
  line-height: 1.4;
  margin: 0 0 10px;
}
.result-heading img {
  width: 175px;
  height: 175px;
}
.score {
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.score small {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--quiet);
  margin-left: 6px;
}
.receipt-result {
  border-block: 1px dashed #cfc4ae;
  margin: 24px 0 18px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}
.receipt-result div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 6px 0;
}
.receipt-result span {
  color: var(--quiet);
}
.receipt-result b {
  font-variant-numeric: tabular-nums;
}
.menu-result {
  display: flex;
  gap: 12px;
  font-size: 11px;
  flex-wrap: wrap;
  color: var(--quiet);
  margin: 0 0 20px;
}
.share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-actions button {
  font-size: 13px;
}
.share-message {
  font-size: 12px;
  color: var(--green);
  min-height: 24px;
  margin: 8px 0;
}
.fallback-copy {
  width: 100%;
  padding: 10px;
  font-size: 12px;
  margin-bottom: 10px;
}
.retry-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.retry-actions button {
  font-size: 12px;
  background: transparent;
}
.guide {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.guide h2,
.more-games h2 {
  font-size: 17px;
  margin: 0 0 12px;
}
.guide ol {
  padding-left: 21px;
  font-size: 13px;
  color: var(--quiet);
}
.guide li {
  margin-bottom: 7px;
}
.guide details {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.guide summary {
  cursor: pointer;
  font-weight: 650;
}
.guide details p,
.guide .note {
  font-size: 12px;
  color: var(--quiet);
}
.menu-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  color: var(--quiet);
}
.menu-table th,
.menu-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.menu-table th {
  font-weight: 650;
  color: var(--ink);
}
.ad-zone {
  margin: 30px auto;
  text-align: center;
  min-height: 115px;
  padding: 10px 0;
  border-block: 1px solid var(--line);
}
.ad-zone small {
  display: block;
  font-size: 10px;
  color: var(--faint);
  margin-bottom: 8px;
}
.ad-zone ins {
  min-height: 90px;
  max-height: 280px;
}
.more-games {
  margin-top: 28px;
}
.more-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.more-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  padding: 14px;
}
.more-links img {
  width: 60px;
  height: 60px;
}
.more-links b {
  font-size: 14px;
  font-weight: 650;
}
.more-links small {
  font-size: 11px;
  color: var(--quiet);
  display: block;
  margin-top: 4px;
}
footer {
  max-width: 1060px;
  margin: 30px auto 0;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--quiet);
}
footer span {
  margin-left: auto;
}
.keyboard-note {
  margin: 10px 22px;
  font-size: 11px;
  color: var(--quiet);
}
.keyboard-note summary {
  cursor: pointer;
}
.noscript {
  padding: 30px;
}
.fresh-ticket {
  animation: ticket-in 0.2s ease-out;
}
.combo-toast {
  animation: feedback-pop 0.25s ease-out;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@keyframes ticket-in {
  from {
    transform: translateY(-7px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ingredient-drop {
  from {
    transform: translateY(-7px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes serve-pop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  25% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(35px);
    opacity: 0;
  }
}
@keyframes simmer {
  to {
    transform: translateY(-1.5px) rotate(0.6deg);
  }
}
@keyframes steam {
  from {
    transform: translateY(5px);
    opacity: 0.2;
  }
  to {
    transform: translateY(-18px);
    opacity: 0;
  }
}
@keyframes feedback-pop {
  from {
    transform: translateY(3px);
  }
  to {
    transform: translateY(0);
  }
}
@media (max-width: 680px) {
  .site-header {
    padding: 10px 14px;
  }
  .brand {
    font-size: 12px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .back {
    font-size: 11px;
  }
  main {
    padding: 16px 12px;
  }
  .page-title {
    font-size: 25px;
    margin-bottom: 5px;
  }
  .page-copy {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .shop-tools {
    padding: 8px 12px;
    font-size: 10px;
  }
  .small-button {
    padding: 4px 8px;
    font-size: 10px;
    min-height: 30px;
  }
  .shop-tools > div {
    gap: 5px;
  }
  .start-view {
    padding: 22px 20px 16px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .start-view h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .start-view p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .start-illustration {
    grid-row: 1;
    height: 210px;
    width: 260px;
    justify-self: center;
  }
  .start-illustration .chef-art {
    width: 190px;
    height: 200px;
    left: 30px;
  }
  .start-illustration .food-art {
    width: 116px;
    height: 85px;
    bottom: 5px;
  }
  .start-illustration .ramen-art {
    width: 89px;
    height: 89px;
  }
  .start-counter {
    height: 44px;
    bottom: 7px;
  }
  .start-buttons button {
    font-size: 13px;
    padding: 10px 12px;
  }
  .start-notes {
    padding: 0 20px 22px;
    gap: 5px 15px;
    font-size: 10px;
  }
  .game-top {
    padding: 9px 12px;
    gap: 10px;
  }
  .shift-label {
    font-size: 10px;
    gap: 5px;
  }
  .game-stats {
    gap: 14px;
  }
  .stat {
    font-size: 10px;
    gap: 4px;
  }
  .stat b {
    font-size: 19px;
  }
  .shift-clock {
    font-size: 22px;
    min-width: 54px;
  }
  .shift-clock.practice {
    font-size: 12px;
  }
  .orders-wall {
    padding: 9px 10px 10px;
  }
  .orders-caption {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .orders {
    gap: 6px;
  }
  .ticket {
    padding: 5px 6px 4px;
    min-height: 108px;
    border-top-width: 3px;
  }
  .ticket-name {
    font-size: 12px;
    letter-spacing: -0.2px;
  }
  .ticket-id {
    font-size: 9px;
  }
  .ticket-top {
    gap: 2px;
    min-height: 22px;
  }
  .ticket-content {
    gap: 3px;
    min-height: 50px;
  }
  .customer {
    width: 30px;
    height: 40px;
  }
  .ticket-recipe {
    font-size: 10px;
    line-height: 1.45;
  }
  .ticket-recipe .dish-icon {
    width: 30px;
    height: 23px;
    display: block;
    margin: 0 0 2px;
  }
  .ticket-time {
    font-size: 9px;
    gap: 3px;
  }
  .ticket.empty {
    font-size: 10px;
  }
  .ticket.empty img {
    width: 34px;
    height: 36px;
  }
  .kitchen {
    padding: 10px 10px 12px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .station-title {
    margin-bottom: 5px;
  }
  .station-title h3 {
    font-size: 12px;
  }
  .station-title small {
    font-size: 9px;
  }
  .order-hint {
    font-size: 11px;
    min-height: 29px;
    padding: 5px 8px;
    margin-bottom: 6px;
    line-height: 1.4;
  }
  .prep-board {
    height: 91px;
  }
  .seaweed {
    width: 153px;
    height: 76px;
    top: 8px;
  }
  .mat-tie {
    top: 12px;
  }
  .mat-tie.bottom {
    bottom: 12px;
  }
  .prep-placeholder {
    font-size: 10px;
  }
  .prep-food.rice {
    width: 91px;
    height: 65px;
    left: calc(50% - 45px);
    top: 16px;
  }
  .prep-food.egg {
    width: 75px;
    height: 42px;
    left: calc(50% - 42px);
    top: 22px;
  }
  .prep-food.pickle {
    width: 73px;
    height: 40px;
    left: calc(50% - 36px);
    top: 33px;
  }
  .prep-food.ham {
    width: 74px;
    height: 36px;
    left: calc(50% - 26px);
    top: 43px;
  }
  .prep-food.carrot {
    width: 70px;
    height: 43px;
    left: calc(50% - 25px);
    top: 19px;
  }
  .served-dish {
    width: 180px;
    height: 87px;
    left: calc(50% - 90px);
    top: 2px;
  }
  .ingredients {
    gap: 4px;
    margin-top: 6px;
  }
  .ingredient {
    min-height: 59px;
    padding: 4px 2px;
    font-size: 11px;
  }
  .ingredient img {
    width: 37px;
    height: 32px;
  }
  .ingredient[aria-pressed="true"]:after {
    font-size: 11px;
    right: 3px;
  }
  .prep-actions {
    margin-top: 6px;
    gap: 6px;
  }
  .prep-actions button {
    font-size: 12px;
    min-height: 44px;
    padding: 8px 10px;
  }
  .prep-actions .clear {
    font-size: 10px;
    padding: 8px;
  }
  .stoves {
    gap: 8px;
  }
  .pot-button {
    min-height: 133px;
    padding: 6px 8px 8px;
    border-bottom-width: 3px;
    border-radius: 8px;
  }
  .pot-label {
    font-size: 9px;
  }
  .pot-label b {
    font-size: 10px;
  }
  .pot-art {
    height: 82px;
  }
  .pot-art img {
    height: 83px;
  }
  .burner {
    bottom: 2px;
    height: 5px;
  }
  .pot-caption {
    font-size: 11px;
    min-height: 15px;
  }
  .pot-meter {
    height: 4px;
  }
  .steam {
    top: 2px;
    height: 22px;
  }
  .steam.second {
    top: 6px;
  }
  .pot-note {
    font-size: 9px;
    margin: 5px 0 0;
  }
  .feedback-strip {
    font-size: 10px;
    min-height: 34px;
    padding: 7px 12px;
    gap: 10px;
  }
  .feedback-strip strong {
    font-size: 12px;
    white-space: nowrap;
  }
  .practice-help {
    font-size: 10px;
    padding: 7px 11px;
    line-height: 1.45;
  }
  .keyboard-note {
    font-size: 10px;
    margin: 8px 12px;
  }
  .practice-result {
    padding: 25px 20px;
  }
  .practice-result img {
    width: 140px;
    height: 140px;
  }
  .practice-result h2 {
    font-size: 23px;
  }
  .practice-result p {
    font-size: 12px;
  }
  .result {
    padding: 24px 18px;
  }
  .result-heading {
    grid-template-columns: 1fr 100px;
    gap: 8px;
  }
  .result-heading img {
    width: 100px;
    height: 130px;
  }
  .result-heading h2 {
    font-size: 22px;
  }
  .result-heading p {
    font-size: 11px;
  }
  .score {
    font-size: 44px;
  }
  .score small {
    font-size: 12px;
  }
  .receipt-result {
    gap: 0 18px;
    margin-top: 18px;
  }
  .receipt-result div {
    font-size: 11px;
    gap: 6px;
  }
  .menu-result {
    font-size: 10px;
    gap: 5px 12px;
  }
  .share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .share-actions .primary {
    grid-column: 1/-1;
  }
  .share-actions button {
    font-size: 12px;
    padding: 10px 7px;
  }
  .retry-actions button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .guide {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 24px;
  }
  .guide h2,
  .more-games h2 {
    font-size: 16px;
  }
  .more-links {
    grid-template-columns: 1fr;
  }
  .ad-zone {
    margin: 24px auto;
  }
  footer {
    padding: 18px 14px 26px;
    gap: 12px;
  }
  footer span {
    margin-left: 0;
    width: 100%;
  }
  body[data-phase="playing"] .page-copy,
  body[data-phase="practice"] .page-copy {
    display: none;
  }
  body[data-phase="playing"] .page-title,
  body[data-phase="practice"] .page-title {
    font-size: 21px;
    margin-bottom: 10px;
  }
}
@media (max-width: 360px) {
  .customer {
    width: 26px;
    height: 34px;
  }
  .ticket-recipe {
    font-size: 8px;
  }
  .ticket-name {
    font-size: 10px;
  }
  .stat b {
    font-size: 17px;
  }
  .game-stats {
    gap: 10px;
  }
  .ticket {
    padding-inline: 4px;
  }
  .pot-button {
    min-height: 126px;
  }
  .pot-art {
    height: 76px;
  }
  .pot-art img {
    height: 76px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
