* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: #f5f5f5;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
}

#game {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

#stats {
  display: flex;
  justify-content: space-around;
  padding: 12px 8px;
  background: white;
  border-bottom: 2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat {
  font-size: 16px;
  font-weight: 600;
}

.label {
  font-size: 20px;
  margin-right: 4px;
}

#game-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zone {
  flex: 1;
  padding: 12px;
  position: relative;
  border-bottom: 2px solid #ddd;
  display: flex;
  flex-direction: column;
}

.zone-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

#warehouse {
  background: #fff9e6;
}

#oven {
  background: #ffe6e6;
}

#store {
  background: #e6f7ff;
  border-bottom: none;
}

.action-btn {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  background: white;
  border: 2px solid #333;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s;
  margin-bottom: 8px;
}

.action-btn:active {
  transform: scale(0.95);
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.potato {
  width: 44px;
  height: 44px;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.potato:active {
  transform: scale(1.2);
}

#oven-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
}

.oven-slot {
  background: white;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
}

.oven-slot.cooking {
  border-color: #ff6b6b;
  background: #fff5f5;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.progress-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
}

.progress-ring circle {
  fill: none;
  stroke: #ff6b6b;
  stroke-width: 3;
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

#customers {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.customer {
  font-size: 32px;
  animation: bounce 0.5s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}