@media (max-width: 640px) {
  .dish-profile-page { gap: 14px; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .dish-profile-page > section,
  .dish-profile-page > details { border-radius: 22px; }
  .dish-profile-photo { min-height: 0; }
  .dish-profile-photo img { height: min(88vw, 430px); }
  .dish-profile-intro,
  .dish-profile-archive,
  .dish-profile-taste-nutrition,
  .dish-profile-fit,
  .dish-profile-score-card,
  .dish-profile-audience { padding: 24px 20px; }
  .dish-profile-title-row h1 { font-size: 38px; }
  .dish-profile-title-row { align-items: flex-start; }
  .dish-profile-edit-actions { display: grid; gap: 2px; }
  .dish-profile-edit-actions button { padding: 5px 0; font-size: 13px; }
  .dish-profile-taste-nutrition { grid-template-columns: 1fr; gap: 28px; }
  .dish-profile-archive dl,
  .dish-profile-more dl { grid-template-columns: 1fr; }
  .dish-profile-score.is-prominent .dish-profile-score-track { height: 38px; padding: 6px; }
  .dish-profile-more > summary { padding: 22px 20px; }
  .dish-profile-more dl { margin: 0 20px 20px; }
  .dish-profile-deep-content { margin: 0 14px 18px; border-radius: 18px; }
  .dish-profile-deep-intro { padding: 17px 16px; }
  .dish-profile-deep-section > summary { min-height: 60px; padding: 14px 15px; grid-template-columns: 28px 1fr auto; gap: 8px; }
  .dish-profile-deep-section > summary > strong { font-size: 14px; }
  .dish-profile-deep-body { padding: 3px 16px 20px 51px; font-size: 13.5px; }
  .dish-profile-deep-nutrition { grid-template-columns: 1fr; }
}
.air-meal-plan-detail-back { margin-bottom: 18px; padding: 0; border: 0; color: #8b715f; background: transparent; font-size: 12px; font-weight: 800; }
.air-meal-plan-detail-heading { margin-bottom: 20px; }
.air-meal-plan-detail-heading h1 { margin: 8px 0 7px; color: #342c27; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.055em; }
.air-meal-plan-detail-heading p { max-width: 640px; margin: 0; color: #88776b; font-size: 12px; line-height: 1.7; }
.air-meal-plan-detail-summary { margin-top: 18px; padding: 20px; display: grid; gap: 14px; border: 1px solid #eadfd3; border-radius: 22px; background: #f8ecdc; }
.air-meal-plan-detail-summary > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.air-meal-plan-detail-summary > div p { min-width: 0; margin: 0; padding: 11px; display: grid; gap: 4px; border-radius: 14px; background: rgba(255, 253, 249, .72); }
.air-meal-plan-detail-summary small { color: #9a8170; font-size: 10px; }
.air-meal-plan-detail-summary strong { overflow: hidden; color: #5a463a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.air-meal-plan-detail-summary > p { margin: 0; color: #826f62; font-size: 11px; line-height: 1.65; }
.air-journey-final-choice > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.detail-info-main { position: relative; }
.detail-edit-action {
  position: absolute; top: 0; right: 0; z-index: 2; min-height: 34px; padding: 0 10px;
  border: 1px solid #e7ddd1; border-radius: 11px; background: #fbf6ef; color: #806b5a; font-size: 11px; font-weight: 750;
}
@media (max-width: 980px) {
  .home-auto-decision { min-height: 520px; padding: 44px 38px; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: 30px; }
  .home-auto-visual { height: 410px; }
}
@media (max-width: 768px) {
  .home-page { gap: 16px; }
  .home-auto-decision {
    min-height: 0;
    padding: 26px 18px 20px;
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "visual" "summary";
    grid-template-rows: auto auto auto;
    gap: 18px;
    border-radius: 28px;
  }
  .home-auto-heading h1 { margin: 10px 0 0; font-size: clamp(38px, 11.2vw, 52px); }
  .home-auto-summary h2 { margin-bottom: 10px; font-size: clamp(30px, 8.7vw, 40px); }
  .home-auto-facts { gap: 5px; }
  .home-auto-facts strong, .home-auto-facts span { padding: 5px 7px; font-size: 9px; }
  .home-auto-reason, .home-auto-loading { margin-top: 14px; font-size: 12px; line-height: 1.65; }
  .home-auto-actions { margin-top: 18px; }
  .home-auto-actions button { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 12px; }
  .home-auto-visual { height: min(72vw, 320px); }
  .home-auto-visual > img { border-radius: 22px; }
  .home-auto-assistant { right: 7px; bottom: 6px; max-width: 200px; padding: 6px 8px 6px 6px; font-size: 8px; }
  .home-auto-assistant img { width: 27px; height: 27px; border-radius: 8px; }
  .home-auto-assistant span { display: none; }

  .air-journey-shell { padding: 20px 14px 24px; border-radius: 26px; }
  .air-journey-heading { gap: 12px; align-items: center; }
  .air-journey-heading > div { min-width: 0; }
  .air-journey-heading h1 { margin: 5px 0 7px; font-size: clamp(27px, 8.2vw, 36px); line-height: 1.08; }
  .air-journey-heading h1 br { display: none; }
  .air-journey-heading p { font-size: 10px; line-height: 1.5; }
  .air-journey-heading img { width: 44px; height: 44px; border-radius: 14px; }
  .air-journey-stepper { margin: 15px 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border-color: #dfd1c2; border-radius: 17px; background: #faf7f1; box-shadow: 0 8px 22px rgba(88, 62, 38, .055); }
  .air-journey-stepper li + li { border-top: 0; border-left: 1px solid #ebe1d6; }
  .air-journey-stepper li + li::before { display: none; }
  .air-journey-stepper button { min-height: 78px; padding: 10px 6px 9px; display: grid; align-content: center; justify-items: center; gap: 3px; text-align: center; }
  .air-journey-stepper b { font-size: 9px; }
  .air-journey-stepper span { min-width: 0; gap: 3px; }
  .air-journey-stepper strong { font-size: 10px; white-space: nowrap; }
  .air-journey-stepper small { display: block; overflow: hidden; color: #a09388; font-size: 8px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .air-journey-stepper .is-active button { background: #f2dfca; box-shadow: inset 0 -2px 0 rgba(191, 105, 64, .2); }
  .air-journey-panel { padding: 20px 15px; border-radius: 22px; }
  .air-journey-decision-panel { padding: 17px 12px; border-color: #e5d7c8; background: #fffefa; box-shadow: 0 10px 28px rgba(87, 61, 38, .045); }
  .air-journey-panel > header h2 { font-size: 27px; }
  .air-journey-decision-panel > header > span { display: none; }
  .air-journey-decision-panel > header h2 { margin: 0 0 5px; font-size: 24px; }
  .air-journey-panel > header p { font-size: 12px; }
  .air-journey-decision-panel > header p { font-size: 11px; line-height: 1.5; }
  .air-journey-location-actions { margin-top: 19px; }
  .air-journey-entry-paths { margin-top: 12px; gap: 7px; }
  .air-journey-entry-primary-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px; }
  .air-journey-entry-paths button { min-height: 48px; padding: 7px 11px; align-content: center; gap: 3px; border-radius: 13px; }
  .air-journey-entry-paths strong { font-size: 10px; white-space: nowrap; }
  .air-journey-entry-paths em { color: #9d7761; font-size: 8px; }
  .air-journey-entry-paths .air-journey-entry-primary span { display: block; font-size: 8px; }
  .air-journey-entry-paths button.is-selected { border-color: #e3c2a8; background: #fbefe2; box-shadow: none; }
  .air-journey-entry-primary-row .air-journey-entry-more-toggle { min-height: 48px; padding: 0 9px; font-size: 9px; }
  .air-journey-entry-secondary { gap: 6px; }
  .air-journey-entry-secondary button { min-height: 44px; text-align: center; justify-items: center; border-color: #ece2d7; background: #fbf8f3; }
  .air-journey-location-actions p { width: 100%; margin: 2px 0 0; }
  .air-journey-known-place { margin-top: 18px; padding: 15px; }
  .air-journey-known-place .air-journey-primary { width: 100%; }
  .air-restaurant-selected-head { align-items: flex-start; }
  .air-restaurant-selected-head strong { white-space: normal; overflow-wrap: anywhere; }
  .air-restaurant-menu-next .air-journey-primary { width: 100%; }
  .air-restaurant-matching { margin-top: 18px; border-radius: 17px; }
  .air-restaurant-analysis-toggle { padding: 14px; gap: 9px; }
  .air-restaurant-analysis-toggle strong { font-size: 13px; }
  .air-restaurant-analysis-toggle small { font-size: 9px; line-height: 1.45; }
  .air-restaurant-analysis-toggle em { padding: 5px 7px; font-size: 8px; }
  .air-restaurant-analysis-body { padding: 0 12px 13px; gap: 10px; }
  .air-restaurant-agent-status { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .air-restaurant-agent-status ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 8px; }
  .air-restaurant-candidate > header { align-items: center; }
  .air-journey-context-summary { grid-template-columns: minmax(0, 1fr) auto; }
  .air-journey-context-summary p { grid-column: 1 / -1; grid-row: 2; white-space: normal; line-height: 1.55; overflow-wrap: anywhere; }
  .air-journey-food-types { margin-top: 19px; }
  .air-journey-primary, .air-journey-secondary { flex: 1; min-height: 44px; padding: 0 12px; font-size: 12px; }
  .air-journey-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; margin-top: 16px; }
  .air-journey-people-input, .air-journey-budget-input { min-width: 0; }
  .air-journey-people-input > div, .air-journey-budget-input > div { width: 100%; min-width: 0; min-height: 40px; box-sizing: border-box; overflow: hidden; }
  .air-journey-people-input input, .air-journey-budget-input input { width: 100%; min-width: 0; }
  .air-journey-budget-input input { font-size: 11px; }
  .air-journey-budget-input small { display: none; }
  .air-journey-choice-group { grid-column: 1 / -1; gap: 7px; }
  .air-journey-choice-group > span { font-size: 10px; }
  .air-journey-choice-group > div { flex-wrap: nowrap; gap: 5px; }
  .air-journey-choice-group button { min-height: 32px; padding: 0 9px; flex: 0 0 auto; font-size: 10px; white-space: nowrap; }
  .air-journey-choice-group.is-distance > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .air-journey-choice-group.is-distance button { width: 100%; padding: 0 4px; }
  .air-journey-note { margin-top: 16px; gap: 7px; }
  .air-journey-note input { min-height: 42px; }
  .air-journey-results-head { align-items: flex-start; margin-top: 25px; }
  .air-journey-results-head button { padding-top: 3px; }
  .air-journey-restaurant-list { grid-template-columns: 1fr; }
  .air-journey-restaurant-skeleton { grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; }
  .air-journey-restaurant-skeleton button { grid-column: auto; }
  .air-journey-menu-panel, .air-journey-final-panel { min-height: 0; }
  .air-journey-upload { min-height: 0; grid-template-columns: 62px minmax(0, 1fr); gap: 11px; }
  .air-journey-upload > img, .air-journey-upload-blank { width: 62px; height: 62px; border-radius: 12px; }
  .air-journey-upload button { grid-column: 2; justify-self: start; }
  .air-journey-candidate-placeholders { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .air-journey-candidate-placeholders article { padding: 8px; border-radius: 14px; }
  .air-journey-candidate-placeholders i { height: 58px; border-radius: 10px; }
  .air-journey-candidate-placeholders b { font-size: 10px; }
  .air-journey-candidate-placeholders span { font-size: 8px; }
  .air-journey-menu-plan { padding: 14px; }
  .air-journey-menu-plan header { display: grid; gap: 4px; }
  .air-journey-menu-plan > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .air-journey-next { align-items: flex-start; }
  .air-menu-recognition-result { padding: 14px; }
  .air-menu-recognition-result > header { display: grid; gap: 4px; }
  .air-menu-recognition-list { grid-template-columns: 1fr; }
  .air-menu-recognition-result .air-journey-primary { width: 100%; }
  .air-journey-final-candidates { grid-template-columns: 1fr; gap: 8px; margin-top: 19px; }
  .air-journey-selected-plan { margin-top: 15px; padding: 13px; }
  .air-journey-selected-plan header { display: grid; gap: 4px; }
  .air-journey-selected-plan > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .air-journey-adjustments { margin-top: 15px; padding: 13px; }
  .air-journey-final-choice { padding: 19px; }
  .air-journey-final-choice h3 { font-size: 24px; }
  .air-meal-plan-readiness { padding: 16px; }
  .air-journey-plan-summary { padding: 16px; }
  .air-journey-plan-summary > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meal-plan-card-footer { align-items: flex-end; }
  .air-meal-plan-detail-page { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .air-meal-plan-detail-heading h1 { font-size: 36px; }
  .air-meal-plan-detail-summary { padding: 16px; }
  .air-meal-plan-detail-summary > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .air-cook-console { padding: 22px 16px; border-radius: 26px; }
  .air-cook-heading h1 { font-size: 37px; }
  .air-cook-heading img { width: 50px; height: 50px; border-radius: 16px; }
  .air-cook-input-shell { margin-top: 22px; }
  .air-cook-input-shell textarea { min-height: 114px; padding: 16px 86px 16px 15px; font-size: 14px; }
  .air-cook-photo-trigger { right: 9px; bottom: 9px; min-height: 36px; padding: 0 10px; }
  .air-cook-abilities { grid-template-columns: 1fr; gap: 7px; }
  .air-cook-abilities button { min-height: 62px; padding: 11px 13px; }
  .air-cook-result { padding: 11px; grid-template-columns: minmax(112px, 36%) minmax(0, 64%); gap: 12px; border-radius: 24px; }
  .air-cook-result > img { height: 150px; border-radius: 17px; }
  .air-cook-result > div { padding: 5px 5px 5px 0; }
  .air-cook-result h2 { margin: 4px 0 5px; font-size: 23px; }
  .air-cook-result p { display: -webkit-box; overflow: hidden; font-size: 10px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .air-cook-result-facts { margin-top: 8px; }
  .air-cook-result-actions { margin-top: 9px; gap: 5px; }
  .air-cook-result-actions button, .air-cook-detail-toggle { min-height: 34px; padding: 0 8px; font-size: 9px; }
  .detail-edit-action { top: -2px; }
}
@media (max-width: 430px) {
  .home-auto-decision { padding-inline: 15px; }
  .home-auto-visual { height: min(76vw, 294px); }
  .air-cook-result { grid-template-columns: 1fr; }
  .air-cook-result > img { height: 190px; }
  .air-cook-result > div { padding: 5px; }
}
/* Homepage random dish: visual wheel. Only the pointer rotates. */
.home-random-section.home-wheel-section {
  min-height: 0;
  padding: 42px 46px;
  grid-template-columns: minmax(220px, .55fr) minmax(390px, 1.45fr);
  gap: 32px 48px;
  align-items: center;
  overflow: visible;
}
.home-wheel-section .home-random-copy {
  align-self: center;
}
.home-wheel-playground {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 13px;
}
.home-wheel-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(68px, 1fr));
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .075);
}
.home-wheel-segmented button {
  min-height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #cfc4b9;
  font-size: 12px;
  font-weight: 750;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.home-wheel-segmented button.is-selected {
  background: #fbf5eb;
  color: #513b2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.home-wheel-segmented button:disabled {
  cursor: default;
}
.home-wheel-stage {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}
.home-wheel-disc,
.home-wheel-frame,
.home-wheel-button,
.home-wheel-button-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.home-wheel-disc {
  z-index: 1;
  inset: 6%;
  width: 88%;
  height: 88%;
  transform: none;
}
.home-wheel-labels {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}
.home-wheel-labels > span {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  padding-top: 20.5%;
  transform: rotate(var(--sector-angle));
  transform-origin: center;
}
.home-wheel-labels b {
  width: 92px;
  height: max-content;
  display: block;
  color: #493225;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
  transform: rotate(var(--counter-angle));
  transform-origin: center;
}
.home-wheel-12 .home-wheel-labels > span {
  padding-top: 19.5%;
}
.home-wheel-12 .home-wheel-labels b {
  width: 62px;
  font-size: 12px;
  font-weight: 650;
}
.home-wheel-24 .home-wheel-labels > span {
  padding-top: 20.5%;
}
.home-wheel-24 .home-wheel-labels b {
  width: 1.25em;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
}
.home-wheel-24 .home-wheel-labels b span {
  width: 1em;
  height: 1em;
  display: grid;
  place-items: center;
  white-space: nowrap;
  transform: rotate(var(--counter-angle));
  transform-origin: center;
}
.home-wheel-24 .home-wheel-labels b.label-length-2 {
  font-size: 10px;
}
.home-wheel-24 .home-wheel-labels b.label-length-3 {
  font-size: 9.5px;
}
.home-wheel-frame {
  z-index: 3;
  transform: none;
}
.home-wheel-start {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 30%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: transform .16s ease;
}
.home-wheel-start:hover:not(:disabled) {
  transform: translate(-50%, -50%);
}
.home-wheel-start:active:not(:disabled) {
  transform: translate(-50%, -50%) scale(.96);
}
.home-wheel-start:disabled {
  cursor: wait;
}
.home-wheel-button {
  inset: 0;
}
.home-wheel-button-frame {
  z-index: 4;
  inset: auto;
  top: 34.5%;
  left: 34.5%;
  width: 31%;
  height: 31%;
}
.home-wheel-button { z-index: 1; transform: scale(.94); }
.home-wheel-pointer-orbit {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  transform: rotate(var(--pointer-rotation));
  transform-origin: 50% 50%;
  will-change: transform;
}
.home-wheel-pointer {
  position: absolute;
  top: 28%;
  left: 44%;
  width: 12%;
  height: 12%;
  object-fit: contain;
  pointer-events: none;
}
.home-wheel-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: #c7b9ab;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .03em;
}
.home-wheel-section > audio {
  display: none;
}
.home-wheel-result {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 190px;
  grid-template-columns: minmax(180px, 28%) minmax(0, 72%);
  gap: 24px;
  animation: wheelResultIn .4s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes wheelResultIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-wheel-result > img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: rgba(255, 255, 255, .055);
}
.home-wheel-result > div {
  min-width: 0;
  padding: 9px 18px 8px 0;
}
.home-wheel-result h3 {
  margin: 5px 0 7px;
}
.home-wheel-result-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.home-wheel-result-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #d9cbbc;
  font-size: 10px;
  font-weight: 650;
}
.home-wheel-result-actions {
  margin-top: 13px;
  display: flex;
  gap: 8px;
}
.home-wheel-result-actions button {
  min-height: 39px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #f3d29d;
  font-size: 12px;
  font-weight: 750;
}
.home-wheel-result-actions button:first-child {
  border-color: transparent;
  background: #f0c37f;
  color: #33291e;
}
@media (max-width: 980px) {
  .home-random-section.home-wheel-section {
    grid-template-columns: minmax(190px, .48fr) minmax(340px, 1.52fr);
    padding: 36px 32px;
    gap: 28px;
  }

  .home-wheel-stage {
    width: min(100%, 430px);
  }
}
@media (max-width: 768px) {
  .home-random-section.home-wheel-section {
    padding: 24px 16px 18px;
    grid-template-columns: 1fr;
    gap: 17px;
    border-radius: 27px;
  }

  .home-wheel-section .home-random-copy {
    padding: 0 4px;
  }

  .home-wheel-section .home-random-copy .home-section-index {
    margin-bottom: 9px;
  }

  .home-wheel-section .home-random-copy h2 {
    margin: 5px 0 6px;
    font-size: 28px;
  }

  .home-wheel-section .home-random-copy p {
    font-size: 12px;
    line-height: 1.55;
  }

  .home-wheel-playground {
    gap: 9px;
  }

  .home-wheel-stage {
    width: min(100%, 410px);
  }

  .home-wheel-result {
    min-height: 138px;
    padding: 9px;
    grid-template-columns: minmax(108px, 36%) minmax(0, 64%);
    gap: 11px;
    border-radius: 20px;
  }

  .home-wheel-result > img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    border-radius: 14px;
  }

  .home-wheel-result > div {
    padding: 4px 4px 4px 0;
    align-self: center;
  }

  .home-wheel-result h3 {
    margin: 4px 0 5px;
    font-size: 21px;
    line-height: 1.15;
    word-break: keep-all;
  }

  .home-wheel-result p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-wheel-result-meta {
    margin-top: 8px;
    gap: 4px;
  }

  .home-wheel-result-meta span {
    padding: 4px 6px;
    font-size: 8px;
  }

  .home-wheel-result-actions {
    margin-top: 8px;
    gap: 5px;
  }

  .home-wheel-result-actions button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .home-wheel-segmented {
    width: min(248px, 80%);
  }

  .home-wheel-segmented button {
    min-height: 32px;
    padding: 0 9px;
  }

  .home-wheel-stage {
    width: min(100%, 356px);
  }

  .home-wheel-labels b {
    width: 72px;
    font-size: 15px;
  }

  .home-wheel-12 .home-wheel-labels b {
    width: 50px;
    font-size: 10px;
  }

  .home-wheel-24 .home-wheel-labels b {
    width: 1.25em;
    font-size: 8.5px;
  }

  .home-wheel-24 .home-wheel-labels b.label-length-2 {
    font-size: 9.5px;
  }

  .home-wheel-24 .home-wheel-labels b.label-length-3 {
    font-size: 9px;
  }

  .developer-overlay { padding: 14px; }
  .developer-auth-dialog { padding: 25px 20px 20px; border-radius: 24px; }
  .developer-center-overlay { padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)); }
  .developer-center { padding: 20px 15px; border-radius: 26px; }
  .developer-center-header { margin-bottom: 18px; }
  .developer-center-header h1 { font-size: 27px; }
  .developer-summary-card { min-height: 112px; padding: 15px; border-radius: 18px; }
  .developer-summary-card > strong { font-size: 20px; }
  .developer-model-card,
  .developer-usage-card,
  .developer-error-log-card,
  .developer-interfaces-card { padding: 16px; border-radius: 18px; }
  .developer-model-card dl { grid-template-columns: 1fr; }
  .developer-usage-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .developer-token-detail { align-items: flex-start; flex-direction: column; gap: 5px; }
  .developer-model-usage { grid-template-columns: 1fr; }
  .developer-performance-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .developer-performance-list { grid-template-columns: 1fr; }
  .developer-stability-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .developer-stability-list { grid-template-columns: 1fr; }
  .developer-error-log-toolbar { align-items: flex-start; flex-direction: column; }
  .developer-usage-row { padding-inline: 10px; grid-template-columns: 22px minmax(82px, .9fr) minmax(54px, 1fr) auto; gap: 7px; }
  .developer-interface-list > div { min-height: 54px; }
}
/* Choice center, category menu workspace, ingredient arena and track reset. */
.category-today-menu {
  margin: 0 0 26px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.4fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(137, 104, 69, .14);
  border-radius: 28px;
  background: #fffaf2;
}
.category-today-menu h2 { margin: 4px 0 5px; font-size: 27px; color: #2f2924; }
.category-today-menu p { margin: 0; color: #84786e; font-size: 13px; line-height: 1.7; }
.category-today-menu-preview { display: flex; flex-wrap: wrap; gap: 7px; }
.category-today-menu-preview span { padding: 7px 11px; border-radius: 999px; background: #fff; color: #65584f; font-size: 12px; }
.category-ai-tools { margin: 0 0 28px; padding: 25px 26px; border: 1px solid rgba(137, 104, 69, .14); border-radius: 28px; background: #fffdfa; }
.category-ai-tools > header { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.category-ai-tools h2 { margin: 5px 0 0; color: #302a25; font-size: 25px; letter-spacing: -.035em; }
.category-ai-tools > header p { max-width: 320px; margin: 0; color: #897d73; font-size: 13px; line-height: 1.65; text-align: right; }
.category-ai-tools > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category-ai-tools > div > button { min-width: 0; min-height: 88px; padding: 16px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; border: 1px solid rgba(136, 106, 76, .13); border-radius: 20px; background: #fbf7f1; color: #443b34; text-align: left; }
.category-ai-tools > div > button:hover { border-color: rgba(177, 105, 62, .32); background: #fff8ee; }
.category-ai-tools i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: #f0e3d3; color: #a45f38; font-size: 20px; font-style: normal; }
.category-ai-tools span { min-width: 0; display: grid; gap: 4px; }
.category-ai-tools strong { font-size: 15px; }
.category-ai-tools small { overflow: hidden; color: #8e8177; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.category-ai-tools b { color: #b5734c; font-size: 16px; }
.nutrition-tool-page { max-width: 900px; }
.nutrition-tool-heading { margin-bottom: 22px; }
.nutrition-tool-heading h1 { margin: 8px 0; color: #2f2924; font-size: clamp(36px, 6vw, 58px); letter-spacing: -.055em; }
.nutrition-tool-heading p { max-width: 650px; margin: 0; color: #887c72; line-height: 1.75; }
.nutrition-tool-card { padding: 27px; display: grid; gap: 18px; border: 1px solid rgba(137, 104, 69, .14); border-radius: 28px; background: #fffdfa; }
.nutrition-tool-card > label { display: grid; gap: 8px; color: #75695f; font-size: 12px; font-weight: 750; }
.nutrition-tool-card select { width: 100%; height: 50px; padding: 0 15px; border: 1px solid #e5dbcf; border-radius: 15px; background: #fbf7f1; color: #3b332d; font: inherit; font-size: 14px; }
.nutrition-tool-card > article { padding: 10px; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 13px; border-radius: 18px; background: #f8f2e9; }
.nutrition-tool-card > article > img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.nutrition-tool-card > article > div { min-width: 0; display: grid; gap: 5px; }
.nutrition-tool-card > article strong { color: #39312b; font-size: 17px; }
.nutrition-tool-card > article small { overflow: hidden; color: #8b7d72; text-overflow: ellipsis; white-space: nowrap; }
.nutrition-tool-error { padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 15px; background: #fff0e9; color: #94543b; font-size: 13px; }
.nutrition-tool-error button { color: #a24f33; font-weight: 800; }
.nutrition-tool-result { padding: 22px; border-radius: 22px; background: #f7ecdd; }
.nutrition-tool-result header h2 { margin: 5px 0; color: #352e28; font-size: 25px; }
.nutrition-tool-result header p { margin: 0; color: #71645a; line-height: 1.75; }
.nutrition-tool-result > div { margin: 18px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nutrition-tool-result > div span { min-width: 0; padding: 13px; display: grid; gap: 5px; border-radius: 15px; background: rgba(255,255,255,.7); }
.nutrition-tool-result small { color: #8b7b6f; font-size: 10px; }
.nutrition-tool-result > div strong { overflow-wrap: anywhere; color: #493d35; font-size: 13px; }
.nutrition-tool-result section { padding-top: 15px; border-top: 1px solid rgba(131, 99, 67, .14); color: #66584e; }
.nutrition-tool-result section p { margin: 8px 0 0; line-height: 1.6; }
.choice-center-heading { max-width: 1180px; margin: 0 auto 20px; padding: 0 6px; }
.choice-center-heading > span { color: #b56d44; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.choice-center-heading h1 { margin: 8px 0 7px; color: #2c2723; font-size: clamp(34px, 5vw, 56px); font-weight: 560; letter-spacing: -.06em; }
.choice-center-heading p { margin: 0; color: #877b71; font-size: 14px; }
.choice-center-tabs { width: min(100%, 720px); margin: 0 auto 24px; padding: 5px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(119, 91, 62, .12); border-radius: 17px; background: rgba(248, 243, 235, .88); }
.choice-center-tabs button { min-width: 0; min-height: 44px; padding-inline: 8px; border-radius: 13px; color: #7d7168; font-size: 14px; font-weight: 750; text-align: center; white-space: nowrap; }
.choice-center-tabs button.active { background: #fff; color: #aa6038; box-shadow: 0 5px 16px rgba(91, 65, 42, .08); }
.home-cook-assistant { max-width: 1180px; margin: 0 auto; }
.home-cook-hero { min-height: 300px; padding: 38px 42px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); align-items: center; gap: 32px; border: 1px solid rgba(137, 104, 69, .14); border-radius: 34px; background: radial-gradient(circle at 82% 18%, rgba(240, 198, 151, .3), transparent 29%), linear-gradient(135deg, #fffdf9, #f6eee3); }
.home-cook-hero::after { content: ""; width: 280px; height: 280px; position: absolute; right: -80px; bottom: -150px; border: 1px solid rgba(177, 105, 62, .14); border-radius: 50%; }
.home-cook-hero-copy { position: relative; z-index: 1; }
.home-cook-hero-copy > span { color: #ad633b; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.home-cook-hero-copy h2 { max-width: 620px; margin: 12px 0 13px; color: #2f2924; font-size: clamp(40px, 5.5vw, 64px); font-weight: 570; line-height: 1.06; letter-spacing: -.06em; }
.home-cook-hero-copy p { max-width: 590px; margin: 0; color: #7e7167; font-size: 14px; line-height: 1.8; }
.home-cook-character { min-height: 220px; position: relative; z-index: 1; display: grid; place-items: center; }
.home-cook-character > i { width: 190px; height: 190px; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .64); box-shadow: 0 22px 70px rgba(143, 99, 58, .1); }
.home-cook-character img { width: min(220px, 100%); max-height: 215px; position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(102, 72, 46, .12)); }
.home-cook-character span { padding: 8px 13px; position: absolute; right: 5px; bottom: 5px; z-index: 2; border: 1px solid rgba(166, 104, 65, .15); border-radius: 999px; background: rgba(255, 253, 248, .92); color: #9d5935; font-size: 11px; font-weight: 800; box-shadow: 0 8px 20px rgba(90, 63, 39, .08); }
.home-cook-workspace { margin-top: 16px; display: grid; grid-template-columns: minmax(290px, 370px) minmax(0, 1fr); align-items: start; gap: 16px; }
.home-cook-input-card, .home-cook-empty-guide, .home-cook-error, .home-cook-result { border: 1px solid rgba(137, 104, 69, .14); border-radius: 28px; background: #fffdfa; }
.home-cook-input-card { padding: 18px; }
.home-cook-file-input { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.home-cook-upload { width: 100%; min-height: 230px; padding: 24px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed rgba(174, 103, 62, .35); border-radius: 21px; color: #655950; background: linear-gradient(145deg, #fbf6ee, #fff); text-align: center; }
.home-cook-upload:hover { border-color: #c47a50; background: #fff8ef; }
.home-cook-upload > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: #f0e0cd; color: #ad613a; font-size: 26px; }
.home-cook-upload strong { margin-top: 4px; color: #443b34; font-size: 16px; }
.home-cook-upload small { max-width: 245px; color: #95877c; font-size: 10px; line-height: 1.6; }
.home-cook-photo { min-height: 230px; position: relative; overflow: hidden; border-radius: 21px; background: #f3ece3; }
.home-cook-photo > img { width: 100%; height: 260px; display: block; object-fit: cover; }
.home-cook-photo-loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 7px; color: #fff; background: rgba(45, 36, 29, .62); backdrop-filter: blur(3px); text-align: center; }
.home-cook-photo-loading i { width: 31px; height: 31px; margin-bottom: 5px; border: 3px solid rgba(255,255,255,.28); border-top-color: #fff; border-radius: 50%; animation: arena-spin .8s linear infinite; }
.home-cook-photo-loading strong { font-size: 15px; }
.home-cook-photo-loading span { color: rgba(255,255,255,.77); font-size: 10px; }
.home-cook-note { margin-top: 15px; display: grid; gap: 8px; }
.home-cook-note > span { display: flex; justify-content: space-between; color: #65594f; font-size: 11px; font-weight: 800; }
.home-cook-note > span small { color: #ab9d92; font-size: 9px; font-weight: 600; }
.home-cook-note input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #e9dfd4; border-radius: 13px; color: #403832; background: #fbf8f3; font: inherit; font-size: 12px; outline: none; }
.home-cook-note input:focus { border-color: #cf936e; box-shadow: 0 0 0 3px rgba(191, 111, 66, .1); }
.home-cook-preferences { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee5db; }
.home-cook-preferences > span { color: #9a8c80; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.home-cook-preferences > div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.home-cook-preferences small { padding: 5px 7px; border-radius: 999px; background: #f4ede4; color: #74675d; font-size: 9px; }
.home-cook-photo-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.home-cook-photo-actions button { min-height: 39px; padding: 0 13px; border-radius: 12px; background: #efe4d6; color: #9c5937; font-size: 11px; font-weight: 800; }
.home-cook-photo-actions button:last-child { background: #f6f1eb; color: #8d8177; }
.home-cook-privacy { margin: 12px 0 0; color: #aa9c90; font-size: 9px; line-height: 1.55; text-align: center; }
.home-cook-empty-guide, .home-cook-error { min-height: 330px; padding: 34px; display: grid; align-content: center; }
.home-cook-empty-guide > span, .home-cook-error > span { color: #b56b42; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.home-cook-empty-guide ol { margin: 19px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; counter-reset: home-cook-tip; }
.home-cook-empty-guide li { padding: 15px 17px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 9px; border-radius: 16px; color: #665b53; background: #f8f3ec; font-size: 13px; line-height: 1.6; counter-increment: home-cook-tip; }
.home-cook-empty-guide li::before { content: "0" counter(home-cook-tip); color: #bd754d; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.home-cook-error { gap: 10px; background: #fff8f3; }
.home-cook-error strong { max-width: 520px; color: #5e4e43; font-size: 20px; line-height: 1.55; }
.home-cook-error > div { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.home-cook-error button { min-height: 42px; padding: 0 16px; border-radius: 13px; color: #fff; background: #b7643f; font-size: 11px; font-weight: 800; }
.home-cook-error button + button { color: #8c5b41; background: #f2e6da; }
.home-cook-result { min-width: 0; overflow: hidden; }
.home-cook-result-heading { padding: 24px 26px 20px; border-bottom: 1px solid #eee5dc; }
.home-cook-result-heading > div:first-child > span { color: #b26740; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.home-cook-result-heading h3 { margin: 7px 0 0; color: #3d352f; font-size: 20px; line-height: 1.45; }
.home-cook-ingredient-tags { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.home-cook-ingredient-tags b { padding: 6px 9px; border-radius: 999px; color: #536650; background: #edf3e9; font-size: 10px; }
.home-cook-result-heading > p { margin: 11px 0 0; color: #9a765f; font-size: 10px; }
.home-cook-plan-tabs { padding: 11px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 7px; background: #f8f3ec; }
.home-cook-plan-tabs button { min-width: 0; min-height: 58px; padding: 8px 9px; display: grid; align-content: center; gap: 4px; border: 1px solid transparent; border-radius: 13px; color: #766a61; background: transparent; text-align: left; }
.home-cook-plan-tabs button.active { border-color: rgba(183, 100, 63, .21); color: #9f5533; background: #fff; box-shadow: 0 5px 15px rgba(101, 72, 49, .07); }
.home-cook-plan-tabs small { color: #a89b90; font-size: 8px; }
.home-cook-plan-tabs strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-cook-primary-plan { padding: 25px 26px; }
.home-cook-primary-plan > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; }
.home-cook-primary-plan > header span { color: #b8663e; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.home-cook-primary-plan > header h3 { margin: 6px 0 7px; color: #302924; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.045em; }
.home-cook-primary-plan > header p { max-width: 520px; margin: 0; color: #756960; font-size: 12px; line-height: 1.7; }
.home-cook-primary-plan dl { margin: 0; display: flex; gap: 6px; }
.home-cook-primary-plan dl > div { min-width: 64px; padding: 9px; border-radius: 12px; background: #f5eee5; }
.home-cook-primary-plan dt { color: #a09287; font-size: 8px; }
.home-cook-primary-plan dd { margin: 4px 0 0; color: #65564b; font-size: 10px; font-weight: 800; white-space: nowrap; }
.home-cook-plan-grid { margin-top: 22px; display: grid; grid-template-columns: minmax(170px, .65fr) minmax(0, 1.35fr); gap: 12px; }
.home-cook-plan-grid > section { padding: 17px; border-radius: 18px; background: #faf6f0; }
.home-cook-primary-plan h4 { margin: 0 0 11px; color: #51463e; font-size: 12px; }
.home-cook-used-list { display: flex; flex-wrap: wrap; gap: 5px; }
.home-cook-used-list span { padding: 6px 8px; border-radius: 9px; color: #4f634e; background: #eaf0e6; font-size: 9px; }
.home-cook-plan-grid section:first-child > p { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #e9dfd4; color: #7b6d63; font-size: 10px; line-height: 1.6; }
.home-cook-plan-grid section:first-child > p b { margin-right: 7px; color: #ad653f; }
.home-cook-plan-grid ol { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.home-cook-plan-grid li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.home-cook-plan-grid li > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; color: #a75b37; background: #f0dfcf; font-size: 9px; font-weight: 850; }
.home-cook-plan-grid li p { margin: 1px 0 0; color: #62574f; font-size: 10px; line-height: 1.65; }
.home-cook-reminders { margin-top: 12px; padding: 17px; border-radius: 18px; background: #fff4e7; }
.home-cook-reminders ul { margin: 0; padding-left: 17px; display: grid; gap: 6px; color: #755c4b; }
.home-cook-reminders li { padding-left: 2px; font-size: 10px; line-height: 1.65; }
.home-cook-result-actions { margin-top: 16px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.home-cook-result-actions button { min-height: 43px; padding: 0 13px; border-radius: 13px; color: #fff; background: #b7623d; font-size: 10px; font-weight: 800; }
.home-cook-result-actions button + button { color: #86583e; background: #f0e4d7; }
.home-cook-upload:focus-visible, .home-cook-photo-actions button:focus-visible, .home-cook-error button:focus-visible, .home-cook-plan-tabs button:focus-visible, .home-cook-result-actions button:focus-visible { outline: 3px solid rgba(185, 103, 60, .25); outline-offset: 2px; }
.ingredient-arena { max-width: 1180px; margin: 0 auto; }
.ingredient-arena-heading { padding: 34px 38px; border: 1px solid rgba(119, 91, 62, .12); border-radius: 34px; background: #fffdfa; }
.ingredient-arena-heading > span { color: #b5663d; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.ingredient-arena-heading h2 { margin: 8px 0 8px; color: #2d2723; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.05em; }
.ingredient-arena-heading p { max-width: 680px; margin: 0; color: #867a70; line-height: 1.8; }
.arena-count-picker { margin: 18px 0; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 20px; background: #f8f3eb; }
.arena-count-picker > span { color: #514941; font-weight: 750; }
.arena-count-picker > div { display: flex; gap: 6px; }
.arena-count-picker button { min-width: 64px; padding: 9px 13px; border-radius: 999px; color: #81756c; font-weight: 700; }
.arena-count-picker button.active { background: #fff; color: #b36138; box-shadow: inset 0 0 0 1px rgba(180, 103, 62, .3); }
.arena-product-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.arena-product-card { min-width: 0; padding: 18px; border: 1px solid; border-radius: 28px; }
.arena-product-card.tone-blue { border-color: rgba(117, 146, 166, .25); background: #f8fbfc; }
.arena-product-card.tone-red { border-color: rgba(177, 117, 105, .22); background: #fff9f7; }
.arena-product-card > header { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.arena-product-card > header span { color: #3d3834; font-weight: 800; }
.arena-product-card > header small { color: #9a8f86; }
.arena-product-photo { position: relative; aspect-ratio: 1.3; overflow: hidden; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.84); }
.arena-product-photo > img { width: 100%; height: 100%; object-fit: contain; }
.arena-empty-upload { width: 100%; min-height: 158px; padding: 18px 12px; display: grid; place-content: center; justify-items: center; gap: 5px; border-radius: 20px; background: rgba(255,255,255,.84); color: #887d74; text-align: center; cursor: pointer; }
.arena-empty-upload strong { color: #5c534c; }
.arena-empty-upload > span:last-child { font-size: 12px; }
.arena-upload-plus { width: 46px; height: 46px; margin-bottom: 4px; display: grid; place-items: center; border-radius: 50%; background: #f3e8dc; color: #a96440; font-size: 31px; font-weight: 350; line-height: 1; }
.arena-upload-spinner { width: 28px; height: 28px; margin-bottom: 7px; border: 2px solid rgba(174, 103, 62, .2); border-top-color: #b5663d; border-radius: 50%; animation: arena-spin .8s linear infinite; }
.arena-photo-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 9px; background: rgba(255,253,249,.92); color: #786c63; font-size: 12px; }
.arena-photo-loading i, .arena-stage i { width: 22px; height: 22px; border: 2px solid rgba(174, 103, 62, .2); border-top-color: #b5663d; border-radius: 50%; animation: arena-spin .8s linear infinite; }
@keyframes arena-spin { to { transform: rotate(360deg); } }
.arena-photo-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.arena-photo-actions button { padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.9); color: #765f50; font-size: 11px; font-weight: 750; cursor: pointer; }
.arena-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.arena-product-compact-summary { margin-top: 12px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 14px; background: rgba(255,255,255,.82); }
.arena-product-compact-summary > div { min-width: 0; display: grid; gap: 3px; }
.arena-product-compact-summary strong { overflow: hidden; color: #443c36; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.arena-product-compact-summary span { color: #94877d; font-size: 10px; line-height: 1.4; }
.arena-product-compact-summary button { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; background: #f5ecdf; color: #9b6040; font-size: 10px; font-weight: 780; }
.arena-product-fields { margin-top: 15px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arena-product-fields label { min-width: 0; display: grid; gap: 6px; }
.arena-product-fields label.wide, .arena-missing-note, .arena-recognition-summary { grid-column: 1 / -1; }
.arena-product-fields label > span { color: #7e7269; font-size: 11px; font-weight: 720; }
.arena-product-fields input, .arena-product-fields select { min-width: 0; width: 100%; height: 42px; padding: 0 11px; border: 1px solid rgba(113, 86, 57, .13); border-radius: 12px; background: #fff; color: #37312c; font-size: 13px; }
.arena-input-unit { display: flex; align-items: center; border: 1px solid rgba(113, 86, 57, .13); border-radius: 12px; background: #fff; }
.arena-input-unit input, .arena-input-unit select { border: 0; background: transparent; }
.arena-input-unit b { padding: 0 0 0 10px; color: #b26842; font-size: 12px; white-space: nowrap; }
.arena-input-unit > b:last-child { padding: 0 10px 0 0; color: #887b72; }
.arena-missing-note { margin: 0; padding: 9px 11px; border-radius: 12px; background: #fff5e8; color: #a26742; font-size: 11px; line-height: 1.6; }
.arena-recognition-summary { display: flex; flex-wrap: wrap; gap: 5px; }
.arena-recognition-summary span { padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: #756960; font-size: 10px; }
.arena-inline-error { margin-top: 12px; padding: 11px; display: flex; justify-content: space-between; gap: 10px; border-radius: 13px; background: #fff0eb; color: #a04d35; font-size: 11px; }
.arena-inline-error button { flex: 0 0 auto; color: inherit; font-weight: 800; }
.arena-upload-sheet-backdrop { position: fixed; inset: 0; z-index: 11000; display: flex; align-items: flex-end; justify-content: center; padding: 14px; background: rgba(42, 36, 31, .28); backdrop-filter: blur(7px); }
.arena-upload-sheet-dismiss { position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; }
.arena-upload-sheet { position: relative; z-index: 1; width: min(430px, 100%); padding: 16px 14px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px; border-radius: 25px; background: #fffaf3; box-shadow: 0 20px 60px rgba(56, 42, 31, .18); }
.arena-upload-sheet strong { padding: 7px 8px 10px; color: #514941; font-size: 14px; }
.arena-upload-sheet button { min-height: 48px; border-radius: 15px; background: #fff; color: #5e5148; font-weight: 760; }
.arena-upload-sheet button.cancel { margin-top: 3px; background: #f2ebe2; color: #8a7d73; }
.arena-vs { position: absolute; top: 118px; left: 50%; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; transform: translateX(-50%); border-radius: 50%; border: 4px solid #f7f1e8; background: #fff; color: #9d795f; font-size: 11px; font-weight: 850; letter-spacing: .05em; }
.arena-action-panel { margin-top: 18px; padding: 24px; border: 1px solid rgba(119, 91, 62, .12); border-radius: 28px; background: #fffdfa; }
.arena-action-panel > header { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.arena-action-panel > header span { color: #4a423c; font-weight: 800; }
.arena-action-panel > header small { color: #9a8d83; }
.arena-metric-list { margin: 14px 0; display: flex; flex-wrap: wrap; gap: 7px; }
.arena-metric-list button { padding: 8px 12px; border-radius: 999px; background: #f7f2ea; color: #756a62; font-size: 12px; }
.arena-metric-list button.active { background: #f3e2d2; color: #a55f3b; box-shadow: inset 0 0 0 1px rgba(181, 101, 60, .3); }
.arena-no-metric, .arena-cost-note { color: #9a8e84; font-size: 11px; line-height: 1.7; }
.arena-main-actions { margin-top: 16px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 9px; }
.arena-main-actions .button { width: 100%; }
.arena-stage { margin: 14px 0 0; padding: 13px; display: flex; align-items: center; gap: 10px; border-radius: 15px; background: #f8f3eb; color: #71665d; }
.arena-action-error { margin-top: 14px; padding: 12px; border-radius: 14px; background: #fff0eb; color: #a14d35; font-size: 12px; }
.arena-sheet-backdrop, .dining-track-reset-backdrop { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center; padding: 18px; background: rgba(42, 36, 31, .28); backdrop-filter: blur(8px); }
.arena-result-sheet { position: relative; width: min(620px, 100%); max-height: min(82vh, 760px); overflow: auto; padding: 30px; border-radius: 30px; background: #fffaf3; box-shadow: 0 22px 70px rgba(56, 42, 31, .2); }
.arena-sheet-close { position: absolute; top: 17px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: #f3ece3; color: #756a61; font-size: 20px; }
.arena-winner { margin: 16px 0 20px; display: grid; grid-template-columns: 96px 1fr; gap: 17px; align-items: center; }
.arena-winner img { width: 96px; height: 96px; object-fit: contain; border-radius: 22px; background: #fff; }
.arena-winner small { color: #9a6e50; }
.arena-winner h2 { margin: 4px 0; color: #302a25; font-size: 27px; }
.arena-winner div > span { padding: 5px 9px; border-radius: 999px; background: #f1dfc9; color: #9d5b36; font-size: 11px; font-weight: 800; }
.arena-result-values p { margin: 7px 0; padding: 11px 13px; display: flex; justify-content: space-between; border-radius: 13px; background: #fff; color: #746860; }
.arena-result-values strong { color: #3e3631; }
.arena-result-summary { margin: 18px 0; color: #5f554e; line-height: 1.8; }
.arena-result-reasons, .arena-result-tradeoffs { margin: 16px 0; padding: 17px; border-radius: 18px; background: #fff; }
.arena-result-reasons h3, .arena-result-tradeoffs h3 { margin: 0 0 9px; color: #4b413b; font-size: 14px; }
.arena-result-reasons p, .arena-result-tradeoffs p { margin: 7px 0; color: #756960; line-height: 1.65; }
.arena-result-sheet > .button { width: 100%; }
.dining-track-reset-trigger { margin: 28px auto 0; padding: 9px 14px; display: block; color: #a19186; font-size: 12px; }
.dining-track-reset-trigger:hover { color: #9d5438; }
.dining-track-reset-dialog { width: min(460px, 100%); padding: 28px; border-radius: 28px; background: #fffaf3; }
.dining-track-reset-dialog > span { color: #b06742; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.dining-track-reset-dialog h2 { margin: 9px 0 9px; color: #332d28; font-size: 24px; }
.dining-track-reset-dialog p { color: #857970; line-height: 1.8; }
.dining-track-reset-dialog > div { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 9px; }
.dining-track-reset-dialog button { min-height: 44px; border-radius: 14px; background: #f3ede5; color: #6f645c; font-weight: 760; }
.dining-track-reset-dialog button.danger { background: #b55d41; color: #fff; }
.home-cook-mode-switch { width: min(100%, 720px); margin: 0 auto 18px; padding: 5px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; border: 1px solid rgba(119, 91, 62, .12); border-radius: 18px; background: #f5eee5; }
.home-cook-mode-switch button { min-width: 0; min-height: 58px; padding: 10px 14px; display: grid; gap: 3px; border-radius: 14px; color: #84776d; text-align: left; }
.home-cook-mode-switch button.active { color: #a75d38; background: #fff; box-shadow: 0 6px 18px rgba(90, 62, 39, .08); }
.home-cook-mode-switch span { font-size: 13px; font-weight: 820; }
.home-cook-mode-switch small { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.cooking-analysis { max-width: 980px; margin: 0 auto; display: grid; gap: 16px; }
.cooking-analysis-hero { min-height: 220px; padding: 34px 40px; overflow: hidden; display: grid; grid-template-columns: 1fr 220px; align-items: center; border: 1px solid rgba(137, 104, 69, .14); border-radius: 32px; background: radial-gradient(circle at 88% 12%, rgba(237, 186, 135, .28), transparent 34%), #fffdf9; }
.cooking-analysis-hero span, .cooking-growth header span { color: #ad633b; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.cooking-analysis-hero h2 { margin: 9px 0; color: #302a25; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.055em; }
.cooking-analysis-hero p { max-width: 570px; margin: 0; color: #81756b; line-height: 1.75; }
.cooking-analysis-hero img { width: 210px; max-height: 190px; object-fit: contain; filter: drop-shadow(0 16px 25px rgba(104, 73, 46, .14)); }
.cooking-growth, .cooking-upload, .cooking-report { padding: 24px; border: 1px solid rgba(137, 104, 69, .13); border-radius: 27px; background: #fffdfa; }
.cooking-growth header, .cooking-growth footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cooking-growth header strong { color: #493f37; }
.cooking-growth-scores { margin: 18px 0; display: flex; align-items: center; gap: 8px; }
.cooking-growth-scores span { display: flex; align-items: center; gap: 8px; color: #a45c39; font-size: 25px; font-weight: 760; }
.cooking-growth-scores i { color: #cfc1b5; font-size: 13px; font-style: normal; }
.cooking-growth footer { justify-content: flex-start; color: #75695f; }
.cooking-growth footer span { margin-right: auto; color: #567050; font-weight: 800; }
.cooking-growth footer small { padding: 6px 9px; border-radius: 999px; background: #f3ece3; }
.cooking-upload { text-align: center; }
.cooking-upload > input { width: 1px; height: 1px; position: absolute; clip-path: inset(50%); }
.cooking-upload > button { width: 100%; min-height: 230px; display: grid; place-items: center; align-content: center; gap: 7px; overflow: hidden; border: 1px dashed rgba(174, 103, 62, .35); border-radius: 21px; color: #75675d; background: #faf5ee; }
.cooking-upload > button > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; color: #ad613a; background: #f0e0cd; font-size: 27px; }
.cooking-upload > button > img { width: 100%; height: 230px; object-fit: cover; }
.cooking-upload > button strong { color: #443b34; font-size: 16px; }
.cooking-upload > button small { font-size: 10px; }
.cooking-loading, .cooking-error { margin-top: 12px; padding: 13px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; color: #786b61; background: #f7f0e7; font-size: 11px; }
.cooking-loading i { width: 20px; height: 20px; border: 2px solid rgba(174,103,62,.2); border-top-color: #b5663d; border-radius: 50%; animation: arena-spin .8s linear infinite; }
.cooking-error { display: grid; color: #9b4f37; background: #fff0eb; }
.cooking-error div { display: flex; justify-content: center; gap: 7px; }
.cooking-error button { padding: 8px 12px; border-radius: 11px; color: #fff; background: #ad5e3c; }
.cooking-report { padding: 0; overflow: hidden; }
.cooking-report-header { padding: 23px; display: grid; grid-template-columns: 150px minmax(0, 1fr) 105px; gap: 20px; align-items: center; border-bottom: 1px solid #eee4d9; }
.cooking-report-header > img { width: 150px; height: 125px; border-radius: 18px; object-fit: cover; }
.cooking-report-header label { display: grid; gap: 5px; }
.cooking-report-header label span { color: #a09287; font-size: 9px; }
.cooking-report-header input { min-width: 0; padding: 5px 0; border: 0; border-bottom: 1px solid #decab8; color: #382f29; background: transparent; font: inherit; font-size: 25px; font-weight: 760; outline: none; }
.cooking-report-header p { margin: 9px 0 0; color: #7c7067; font-size: 11px; line-height: 1.65; }
.cooking-report-header aside { text-align: center; }
.cooking-report-header aside strong { display: block; color: #a65b37; font-size: 48px; line-height: 1; }
.cooking-report-header aside span { color: #78695e; font-size: 10px; }
.cooking-report-body { padding: 23px; display: grid; gap: 14px; }
.cooking-score-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cooking-score-grid > div { padding: 13px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px; border-radius: 15px; background: #f8f3ec; }
.cooking-score-grid span { color: #83766c; font-size: 10px; }
.cooking-score-grid strong { color: #4d423a; font-size: 20px; }
.cooking-score-grid i { height: 4px; grid-column: 1 / -1; overflow: hidden; border-radius: 99px; background: #e8ddd2; }
.cooking-score-grid i b { height: 100%; display: block; border-radius: inherit; background: #bd754d; }
.cooking-score-grid small { grid-column: 1 / -1; color: #64805c; font-size: 9px; }
.cooking-report-section, .cooking-next-focus, .cooking-comparison, .cooking-limitations { padding: 18px; border-radius: 18px; background: #faf6f0; }
.cooking-report-section h3 { margin: 0 0 11px; color: #4c4139; font-size: 14px; }
.cooking-report-section ul { margin: 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.cooking-report-section li, .cooking-report-section > p { margin: 0; color: #665b52; font-size: 11px; line-height: 1.7; }
.cooking-report-section.is-good { background: #f1f5ed; }
.cooking-improvement-list { display: grid; gap: 9px; }
.cooking-improvement-list article { padding: 13px; border-radius: 14px; background: #fff; }
.cooking-improvement-list article > b { color: #4b4038; font-size: 12px; }
.cooking-improvement-list p { margin: 8px 0 0; color: #74685f; font-size: 10px; line-height: 1.65; }
.cooking-improvement-list p span { margin-right: 7px; color: #ae6640; font-weight: 800; }
.cooking-next-focus { color: #744d36; background: #fff0df; }
.cooking-next-focus span { display: block; margin-bottom: 7px; color: #ad623d; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.cooking-next-focus strong { font-size: 14px; line-height: 1.65; }
.cooking-comparison header { display: flex; align-items: center; justify-content: space-between; }
.cooking-comparison header div { display: flex; align-items: baseline; gap: 9px; }
.cooking-comparison header span { color: #8f8176; font-size: 10px; }
.cooking-comparison header strong { color: #3e352f; font-size: 27px; }
.cooking-comparison header > b { color: #567651; }
.cooking-comparison header > b.is-down { color: #aa6748; }
.cooking-comparison p { margin: 8px 0; color: #6f6259; font-size: 10px; line-height: 1.65; }
.cooking-comparison > div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.cooking-comparison > div span { width: 100%; color: #817368; font-size: 9px; font-weight: 800; }
.cooking-comparison > div small { padding: 5px 8px; border-radius: 99px; color: #587153; background: #eaf1e6; }
.cooking-limitations strong { color: #64574e; font-size: 11px; }
.cooking-limitations p { margin: 6px 0; color: #8a7e74; font-size: 10px; }
.cooking-limitations small { color: #a06a48; }
.cooking-dish-history { margin: 0 23px 23px; padding: 18px; border-radius: 18px; background: #f8f3ec; }
.cooking-dish-history > header { margin-bottom: 12px; display: flex; justify-content: space-between; color: #6c5f56; }
.cooking-dish-history > div { overflow-x: auto; display: flex; gap: 9px; }
.cooking-dish-history article { flex: 0 0 145px; display: grid; gap: 4px; }
.cooking-dish-history img { width: 145px; height: 100px; border-radius: 12px; object-fit: cover; }
.cooking-dish-history small { color: #8d8178; font-size: 9px; }
.cooking-dish-history article > strong { color: #443a33; }
.cooking-dish-history article > span { color: #5e7957; font-size: 10px; }
.cooking-save-error { margin: 0 23px 12px; color: #a25037; font-size: 11px; }
.cooking-report-actions { padding: 0 23px 23px; display: flex; align-items: center; gap: 8px; }
.cooking-report-actions button { min-height: 43px; padding: 0 18px; border-radius: 13px; color: #fff; background: #b7623d; font-weight: 800; }
.cooking-report-actions button.secondary { color: #86583e; background: #f0e4d7; }
.cooking-report-actions > strong { color: #52734f; }
.dining-track-timeline article.is-cooking { grid-template-columns: 54px minmax(0, 1fr) auto; }
.dining-track-cooking-image { width: 68px; height: 54px; float: left; margin: 0 10px 5px 0; border-radius: 10px; object-fit: cover; }
.dining-track-timeline article.is-cooking > button { grid-column: 3; padding: 6px 9px; border-radius: 99px; color: #a35b38; background: #f2e4d7; font-size: 9px; font-weight: 800; }
.cooking-track-backdrop { position: fixed; inset: 0; z-index: 11000; padding: 24px; display: grid; place-items: center; background: rgba(42,36,31,.32); backdrop-filter: blur(8px); }
.cooking-track-dialog { width: min(760px, 100%); max-height: 90vh; position: relative; overflow: auto; border-radius: 28px; background: #fffaf3; }
.cooking-track-dialog > button { width: 34px; height: 34px; position: absolute; top: 14px; right: 14px; z-index: 2; border-radius: 50%; color: #756a61; background: #f3ece3; font-size: 20px; }
.cooking-track-dialog > header { padding: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 17px; align-items: center; border-bottom: 1px solid #eadfd4; }
.cooking-track-dialog > header img { width: 150px; height: 120px; border-radius: 17px; object-fit: cover; }
.cooking-track-dialog > header span, .cooking-track-dialog > header time { display: block; color: #9a8c81; font-size: 9px; }
.cooking-track-dialog > header h2 { margin: 5px 0; color: #3d342e; }
.cooking-track-dialog > header strong { color: #a55c39; font-size: 24px; }
