* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #FFF4EA;
  color: #2A2118;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
button, input { font-family: inherit; }
#app { min-height: 100vh; }
.screen {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 28px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 0 12px;
  height: 48px;
  border: 1px solid #FFD4B0;
}
.search-wrap .mp-icon { width: 20px; height: 20px; color: #FF8A3D; flex: 0 0 20px; }
.search-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 16px;
  background: transparent;
  color: #2A2118;
}
.filters { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 2px; }
.chip {
  flex: 0 0 auto;
  border: 0;
  background: #FFE4CC;
  color: #8A4B22;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.chip.on { background: #FF8A3D; color: #fff; }
.block { margin-top: 16px; }
.block-title { margin: 0 0 8px; font-size: 15px; color: #8A4B22; font-weight: 600; }
.recent { display: flex; gap: 8px; overflow-x: auto; }
.recent button {
  flex: 0 0 auto;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #2A2118;
  padding: 0 12px;
  font-size: 14px;
}
.dish {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}
.dish-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish-name { font-size: 18px; font-weight: 700; }
.stars { color: #FF8A3D; font-size: 14px; letter-spacing: 1px; }
.tags { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: #FFF1E4;
  color: #A35A2A;
  border-radius: 8px;
  font-size: 12px;
  padding: 3px 8px;
}
.empty { background: #fff; border-radius: 16px; padding: 16px; }
.empty h2 { margin: 0 0 6px; font-size: 17px; }
.empty p { margin: 0 0 12px; color: #7A6A5C; font-size: 14px; }
.play-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ghost {
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #8A4B22;
  padding: 0 12px;
  font-size: 14px;
}
.score { font-size: 15px; font-weight: 700; color: #FF8A3D; }
.timer {
  margin-top: 12px;
  height: 10px;
  background: #FFE0C6;
  border-radius: 999px;
  overflow: hidden;
}
.timer > i { display: block; height: 100%; width: 100%; background: #FF8A3D; }
.hint { margin: 12px 0 0; font-size: 16px; line-height: 1.5; }
.choices { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.choices button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 16px;
  color: #2A2118;
}
.choices button.good { background: #E8F7E4; }
.choices button.bad { background: #FDE8E4; }
.lock {
  margin-top: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
}
.lock h2 { margin: 0 0 8px; font-size: 18px; }
.lock p { margin: 0 0 12px; color: #7A6A5C; font-size: 14px; line-height: 1.5; }
.primary {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #FF8A3D;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.mask {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 24, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 18px 16px 24px;
}
.sheet h2 { margin: 0 0 8px; font-size: 18px; }
.sheet p { margin: 0 0 14px; color: #7A6A5C; font-size: 14px; line-height: 1.5; }
.result { text-align: center; padding-top: 28px; }
.result h2 { margin: 8px 0; font-size: 28px; }
.result .big { font-size: 42px; font-weight: 800; color: #FF8A3D; margin: 0; }
.result .comment { color: #7A6A5C; font-size: 15px; line-height: 1.5; }
.card-box {
  margin: 16px 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  text-align: left;
}
.card-box h3 { margin: 0 0 8px; font-size: 16px; }
.card-box li { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
.actions { display: flex; flex-direction: column; gap: 10px; }
.start-btn { margin-bottom: 12px; }
.dish-title { margin: 14px 0 0; font-size: 22px; }
.card-box ol { margin: 0; padding-left: 18px; }
.choices button, .dish, .primary, .ghost, .chip, .recent button {
  cursor: pointer;
}
