/* One compact dialog, three mutually exclusive states: taste, spin, result. */
#food-dialog {
  width: min(420px, calc(100% - 24px));
  padding: 18px;
  background: white;
}
#food-dialog .dialog-heading {
  top: -18px;
  padding: 0 0 10px;
  background: white;
  margin-bottom: 6px;
}
#food-dialog-title {
  font-size: 22px;
  letter-spacing: -0.6px;
}
#food-dialog .food-prefs-toggle {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  margin: 0 0 12px;
  background: var(--soft);
  border: 0;
}
#food-dialog .food-game-layout {
  display: block;
}
#food-dialog .food-preferences {
  padding: 12px 0;
  border: 0;
  border-radius: 0;
}
#food-dialog .food-section-heading h2 {
  font-size: 17px;
}
#food-dialog .food-pref-group {
  padding: 12px 0;
}
#food-dialog .food-roulette {
  padding: 14px 8px;
  border: 0;
  border-radius: 18px;
}
#food-dialog .food-roulette > .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
#food-dialog .slot-scene {
  --slot-width: 148px;
  height: 200px;
  margin: 8px auto;
}
#food-dialog .slot-track {
  top: 27px;
}
#food-dialog .slot-card {
  height: 160px;
  padding: 8px;
  border-radius: 14px;
}
#food-dialog .slot-card img,
#food-dialog .slot-card .cover-glyph {
  height: 76px;
  margin-bottom: 8px;
}
#food-dialog .slot-card strong {
  font-size: 13px;
}
#food-dialog .slot-card small {
  font-size: 9px;
  margin-top: 4px;
}
#food-dialog .slot-selection {
  top: 23px;
  height: 168px;
  border-radius: 18px;
}
#food-dialog .slot-pointer {
  font-size: 18px;
}
#food-dialog .spin-status {
  min-height: 0;
  margin: 4px 0 12px;
  font-size: 12px;
}
#food-dialog .spin-button {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
}
#food-dialog .spin-disclaimer {
  margin: 10px 8px 0;
  font-size: 10px;
}
#food-dialog .food-celebration {
  padding: 12px 0 18px;
}
#food-dialog .food-celebration h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0 0;
}
.compact-food-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--soft);
  border-radius: 14px;
}
.compact-food-cover {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
}
.compact-food-cover img,
.compact-food-cover .cover-glyph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compact-food-result strong {
  font-size: 14px;
  line-height: 1.3;
}
.compact-food-result p {
  font-size: 12px;
  margin: 5px 0 0;
}
.food-result-actions {
  margin-top: 14px;
  display: flex;
}
.food-result-actions > * {
  flex: 1;
  font-size: 12px;
}
.compact-food-suggestions {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.compact-food-suggestions h3 {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--muted);
}
.compact-food-suggestions a {
  min-height: 50px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.compact-food-suggestions strong {
  font-size: 13px;
  display: block;
}
.compact-food-suggestions small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
