@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope/manrope-700.woff2") format("woff2");
}

:root {
  --text: #3d2c3e;
  --muted: #7a667c;
  --pink: #ff8fab;
  --pink-soft: #ffb3c6;
  --pink-bg: #fff0f3;
  --cream: #fffaf0;
  --kitchen: #ffe5ec;
  --accent: #2d6a4f;
  font-family: "Manrope", system-ui, sans-serif;
}

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

html, body {
  min-height: 100%;
  background: #fff;
  color: var(--text);
}

a { color: inherit; }

.salad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.salad-btn:active { transform: scale(0.98); }
.salad-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.salad-btn--primary {
  background: linear-gradient(180deg, var(--pink) 0%, #fb6f92 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(251, 111, 146, 0.35);
}

.salad-btn--primary:hover { filter: brightness(1.05); text-decoration: none; }

.salad-btn--soft {
  background: #fff;
  border-color: var(--pink-soft);
  color: var(--text);
}

.salad-btn--card {
  width: 100%;
  background: var(--card-accent, var(--accent));
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.3;
  border-radius: 14px;
  min-height: 3rem;
}

.salad-btn--wide { width: 100%; max-width: 22rem; }

/* Landing */
.salad-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 1.25rem;
}

.salad-hero__title {
  font-size: clamp(2.2rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.salad-hero__hello {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 800;
}

.salad-hero__speech {
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  color: var(--text);
  max-width: 34rem;
  line-height: 1.55;
  font-weight: 600;
}

.salad-hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.55;
}

.salad-hero__code-label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.salad-hero__code {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--pink-bg);
  border: 2px dashed var(--pink-soft);
  border-radius: 18px;
  padding: 0.65rem 1.25rem;
}

.salad-hero__join {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.salad-hero__join-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.salad-hero__join .salad-input {
  width: 10rem;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.salad-hero__error { color: #9b2226; font-size: 0.85rem; }

.lang-switcher {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 42;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  max-width: min(22rem, calc(100vw - 5.5rem));
  padding: 0.3rem 0.45rem;
  border: 2px solid var(--pink-soft);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(61, 42, 53, 0.12);
}

.lang-switcher__label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
}

.lang-switcher__filter,
.lang-switcher__select,
.lang-switcher__quick {
  min-width: auto;
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--pink-soft);
  border-radius: 10px;
  background: var(--pink-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.salad-avatars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 7.5rem));
  gap: 0.75rem;
  justify-content: center;
  max-width: 28rem;
}

.salad-avatars__pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem;
  border: 2px solid var(--pink-soft);
  border-radius: 18px;
  background: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.salad-avatars__pick img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.salad-avatars__pick--suggested {
  border-color: var(--pink);
  background: var(--pink-bg);
  box-shadow: 0 8px 18px rgba(251, 111, 146, 0.25);
}

.salad-avatars__name {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: min(22rem, 100%);
  margin: 0 auto 0.85rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
}

.salad-account {
  position: fixed;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text);
}

.salad-account__face {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  background: #e8eef5;
}

.salad-account__name {
  max-width: 6.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7c8f;
}

.salad-cook-page .salad-account { display: none !important; }

.salad-page--tg {
  background: #f0f2f5;
}

.salad-top--tg {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 0.75rem;
  padding-bottom: 0.65rem;
}

.salad-tg {
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.salad-tg__profile {
  background: #fff;
  padding: 1.35rem 1.1rem 1.1rem;
  text-align: center;
}

.salad-tg__avatar {
  width: 7.25rem;
  height: 7.25rem;
  object-fit: cover;
  border-radius: 50%;
  background: #e8eef5;
  display: block;
  margin: 0 auto 0.85rem;
}

.salad-tg__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1c2733;
}

.salad-tg__handle {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: #8795a7;
  font-weight: 500;
}

.salad-tg__bio {
  margin: 0.55rem auto 0;
  max-width: 18rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #5b6b7c;
}

.salad-tg__actions {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  margin-top: 1.15rem;
}

.salad-tg__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #3390ec;
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 3.6rem;
}

.salad-tg__action-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #e8f2fc;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
}

.salad-tg__find {
  background: #fff;
  padding: 0.85rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.salad-tg__find-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8795a7;
  text-align: left;
}

.salad-tg__find-row {
  display: flex;
  gap: 0.45rem;
}

.salad-tg__find-row .salad-input {
  flex: 1;
  border-color: #d9e1ea;
  border-radius: 12px;
}

.salad-tg__card {
  background: #fff;
  padding: 0.9rem 1.1rem 1.05rem;
}

.salad-tg__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.salad-tg__card-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1c2733;
}

.salad-tg__count {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8795a7;
}

.salad-tg__media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
}

.salad-tg__media-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef2f6;
  text-decoration: none;
  display: grid;
  place-items: center;
}

.salad-tg__media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salad-tg__media-fallback {
  font-size: 1.6rem;
}

.salad-tg__flash {
  margin: 0.75rem 0 0;
  color: #2f8f4e;
  font-size: 0.88rem;
  font-weight: 600;
}

.salad-tg__action-form {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.salad-tg__action-form .salad-tg__action {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.salad-friends__add {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.salad-friends__add .salad-input {
  flex: 1;
}

.salad-friends {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.salad-friends__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 14px;
  background: #f4f7fa;
}

.salad-friends__main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #1c2733;
  min-width: 0;
}

.salad-friends__main img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8eef5;
  flex-shrink: 0;
}

.salad-friends__main span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.salad-friends__main b {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.salad-friends__main small {
  color: #8795a7;
  font-size: 0.75rem;
}

.salad-friends__acts {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.salad-friends__acts a,
.salad-friends__acts button {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #3390ec;
}

.salad-call-pick__hero {
  text-align: center;
}

.salad-call-pick__title {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1c2733;
}

.salad-call-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.salad-call-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.85rem 0.55rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #f7fbff, #eef4fb);
  text-decoration: none;
  color: #1c2733;
  border: 1px solid rgba(51, 144, 236, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.salad-call-grid__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(51, 144, 236, 0.12);
}

.salad-call-grid__item img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.salad-call-grid__item b {
  font-size: 0.9rem;
  text-align: center;
}

.salad-call-grid__item small {
  color: #8795a7;
  font-size: 0.72rem;
}

.salad-call-active {
  background: #fff;
  margin: 0.65rem auto 2rem;
  max-width: 28rem;
  padding: 1.5rem 1.1rem 2rem;
  border-radius: 22px;
}

.salad-call-active__orb {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 30%, #7ec8ff, #3390ec 55%, #1b6fc2);
  animation: salad-call-pulse 1.8s ease-in-out infinite;
}

.salad-call-active__orb .salad-slot__face {
  width: 6.4rem;
  height: 6.4rem;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

@keyframes salad-call-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(51, 144, 236, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(51, 144, 236, 0); }
}

body.salad-incoming-open {
  overflow: hidden;
}

.salad-incoming {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.salad-incoming[hidden] {
  display: none !important;
}

.salad-incoming__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(80, 160, 255, 0.45), transparent 55%),
    linear-gradient(165deg, #0b1a2e 0%, #16324f 42%, #0d2035 100%);
}

.salad-incoming__body {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  text-align: center;
  color: #fff;
  animation: salad-incoming-in 0.45s ease both;
}

@keyframes salad-incoming-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.salad-incoming__label {
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.salad-incoming__face {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 0 rgba(90, 180, 255, 0.45);
  animation: salad-incoming-ring 1.8s ease-out infinite;
}

@keyframes salad-incoming-ring {
  0% { box-shadow: 0 0 0 0 rgba(90, 180, 255, 0.5); }
  70% { box-shadow: 0 0 0 22px rgba(90, 180, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 180, 255, 0); }
}

.salad-incoming__name {
  margin: 1.15rem 0 0.25rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.salad-incoming__handle {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.salad-incoming__hint {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.salad-incoming__actions {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.2rem;
  padding: 0 0.4rem;
}

.salad-incoming__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.salad-incoming__icon {
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
}

.salad-incoming__btn--decline .salad-incoming__icon {
  background: #ff3b30;
}

.salad-incoming__btn--answer .salad-incoming__icon {
  background: #34c759;
  animation: salad-incoming-answer 1.4s ease-in-out infinite;
}

@keyframes salad-incoming-answer {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.salad-call-active--incoming .salad-call-active__orb {
  background: radial-gradient(circle at 40% 30%, #8dffb0, #34c759 55%, #1f8f3f);
}

.salad-tg__empty {
  margin: 0;
  color: #8795a7;
  font-size: 0.88rem;
  line-height: 1.4;
}

.salad-tg__empty a {
  color: #3390ec;
  font-weight: 600;
  text-decoration: none;
}

.salad-chat--tg {
  min-height: 9rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.65rem 0.15rem;
  border: none;
  border-radius: 0;
  background: transparent;
  gap: 0.35rem;
}

.salad-chat__bubble {
  max-width: 85%;
  padding: 0.45rem 0.7rem;
  border-radius: 14px;
  background: #f1f4f7;
  align-self: flex-start;
  text-align: left;
}

.salad-chat__bubble.is-mine {
  align-self: flex-end;
  background: #effdde;
  color: #1c2733;
}

.salad-chat__author {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #3390ec;
  margin-bottom: 0.15rem;
}

.salad-chat__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.salad-chat__form--tg {
  margin-top: 0.55rem;
  align-items: center;
  background: #f4f6f8;
  border-radius: 22px;
  padding: 0.25rem 0.25rem 0.25rem 0.55rem;
}

.salad-chat__form--tg .salad-input {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0.55rem 0.35rem;
}

.salad-tg__send {
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 50%;
  background: #3390ec;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* legacy slot styles kept for call page */
.salad-slot {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  text-align: center;
}

.salad-slot__face {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(61, 42, 53, 0.16);
}

.salad-slot__name { font-size: 1.8rem; font-weight: 800; }

.salad-slot__code {
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--pink);
}

.salad-slot__note, .salad-slot__empty { color: var(--muted); }

.salad-slot__actions, .salad-slot__find { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }

.salad-slot__find {
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  color: var(--muted);
}

.salad-slot__block { text-align: left; }
.salad-slot__block h2 { margin-bottom: 0.7rem; }

.salad-slot__salads {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.7rem;
}

.salad-slot__salad {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.salad-slot__salad img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: #fff8f0;
}

.salad-chat {
  min-height: 8rem;
  max-height: 16rem;
  overflow: auto;
  padding: 0.75rem;
  border: 2px solid var(--pink-soft);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.salad-chat__row { font-size: 0.9rem; line-height: 1.4; }
.salad-chat__row.is-mine { color: var(--pink); }
.salad-chat__form { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.salad-chat__form .salad-input { flex: 1; }
.salad-slot--call { align-items: center; }

/* Shared page chrome */
.salad-page {
  background: #fff;
  padding-top: 0.25rem;
}

.salad-top {
  padding: 1rem 8.5rem 0.5rem 1.25rem;
  text-align: center;
}

.salad-top__brand {
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--pink);
}

.salad-top__sub {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.salad-top__back {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

/* Catalog */
.salad-catalog__add {
  margin-top: 0.85rem;
}

.salad-card--custom {
  border-style: dashed;
}

.salad-card__badge {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--card-accent, var(--pink));
}

.salad-detail__author {
  font-weight: 700;
  color: var(--pink);
}

/* Create form */
.salad-create {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.salad-create--wide {
  max-width: 920px;
}

.salad-pantry__toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.salad-pantry__search {
  max-width: 100%;
}

.salad-pantry__cats {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.salad-pantry__cat {
  border: 1px solid rgba(255, 143, 171, 0.45);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.salad-pantry__cat.is-active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.salad-pantry__count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pink);
}

.salad-pantry__basket {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(255, 143, 171, 0.5);
  position: relative;
  z-index: 1;
}

.salad-pantry__basket.is-empty {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  align-items: center;
  box-shadow: none;
}

.salad-pantry__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  border-radius: 999px;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  background: #ffe4ec;
  color: #9d174d;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.salad-pantry__chip-emoji {
  font-size: 0.95rem;
}

.salad-pantry__chip-x {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  margin: 0;
  cursor: pointer;
  border-radius: 999px;
}

.salad-pantry__chip-x:hover {
  background: rgba(157, 23, 77, 0.12);
}

.salad-pantry__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.65rem;
  max-height: min(32rem, 60vh);
  min-height: 16rem;
  overflow: auto;
  padding: 0.55rem;
  -webkit-overflow-scrolling: touch;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 143, 171, 0.35);
}

.salad-pantry__empty {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.salad-pantry__empty .salad-btn {
  margin-top: 0.55rem;
}


.salad-pantry__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.35rem 0.55rem;
  border: 2px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.salad-pantry__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(157, 23, 77, 0.08);
}

.salad-pantry__item.is-picked {
  border-color: var(--pink);
  background: #fff5f8;
}

.salad-pantry__media {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fff8f4, #ffe8ef);
}

.salad-pantry__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salad-pantry__emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.salad-pantry__name {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  line-height: 1.2;
}

.salad-create__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.salad-create__section {
  background: var(--pink-bg);
  border-radius: 20px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.salad-create__section h2 {
  font-size: 1.1rem;
  color: var(--pink);
}

.salad-create__h3 {
  font-size: 0.95rem;
  color: var(--text);
}

.salad-create__optional {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.salad-create__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.salad-create__errors {
  background: #ffe5e5;
  color: #9b2226;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.salad-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.salad-field-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem;
}

.salad-input,
.salad-create input[type="text"],
.salad-create textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 2px solid #ffd6e0;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.salad-input--emoji {
  text-align: center;
  font-size: 1.4rem;
  padding: 0.4rem;
}

.salad-btn--small {
  min-height: 2.2rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.salad-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.salad-row {
  display: grid;
  grid-template-columns: 1fr 3.2rem auto 2rem;
  gap: 0.45rem;
  align-items: center;
}

.salad-row:has(.sauce-item) {
  grid-template-columns: 1fr 2rem;
}

.salad-check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.salad-row__remove {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: #ffd6e0;
  color: #9d174d;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 520px) {
  .salad-field-row { grid-template-columns: 1fr; }
  .salad-row { grid-template-columns: 1fr 2.8rem; }
  .salad-check { grid-column: 1 / -1; }
}

.salad-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding: 1rem 1.25rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.salad-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 0.85rem 1.1rem;
  border-radius: 22px;
  background: var(--card-bg, var(--cream));
  border: 2px solid rgba(255, 143, 171, 0.25);
  box-shadow: 0 10px 28px rgba(61, 42, 53, 0.08);
}

.salad-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  color: var(--card-accent, var(--accent));
}

.salad-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 1;
  padding: 0.65rem;
  overflow: hidden;
  border-radius: 18px;
  background: #f6f1ea;
}

.salad-card__art--photo {
  background: #f6f1ea;
}

.salad-card__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.salad-card__origin {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.salad-card__invented {
  text-align: center;
  color: var(--card-accent, var(--accent));
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: -0.15rem;
}

/* Detail */
.salad-detail {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.salad-detail__hero {
  width: 100%;
  padding: 1rem 1rem 1.5rem;
  border-radius: 24px;
  background: var(--card-bg, var(--cream));
  border: 2px solid rgba(255, 143, 171, 0.25);
}

.salad-detail__serve {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  width: min(420px, 100%);
  min-height: 240px;
  aspect-ratio: 1;
  padding: 0.85rem;
  overflow: hidden;
  border-radius: 20px;
  background: #f6f1ea;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.salad-detail__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.salad-detail__title { font-size: 2rem; font-weight: 800; color: var(--card-accent); }
.salad-detail__origin { color: var(--muted); margin-top: 0.35rem; }

.salad-detail__invented {
  margin-top: 0.45rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--card-accent, var(--accent));
}
.salad-detail__text { line-height: 1.55; color: var(--muted); max-width: 32rem; }

.salad-detail__bio {
  text-align: left;
  width: 100%;
  max-width: 36rem;
  background: #fffaf6;
  border: 1px solid rgba(255, 143, 171, 0.28);
  border-radius: 18px;
  padding: 1rem 1.15rem 1.15rem;
}

.salad-detail__bio h2 {
  text-align: center;
}

.salad-detail__bio-text {
  color: var(--text);
  line-height: 1.65;
  font-size: 0.98rem;
}

.salad-detail__section {
  width: 100%;
  text-align: left;
  background: var(--pink-bg);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.salad-detail__section h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--pink);
}

.salad-detail__list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: var(--text);
}

.salad-detail__list li {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

/* Oreo-style ingredient circles */
.salad-detail__chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 1rem 0.75rem;
  justify-items: center;
}

.salad-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  max-width: 6.5rem;
}

.salad-chip__ring {
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 18px;
  overflow: hidden;
  background: #fff8f0;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px rgba(255, 143, 171, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.salad-chip__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff8f0;
}

.salad-chip__emoji {
  font-size: 2rem;
  line-height: 1;
}

.salad-chip__name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

/* Kitchen / Hello-Kitty-style cook UI */
.salad-cook-page {
  background: linear-gradient(180deg, var(--kitchen) 0%, #fff 40%);
}

.salad-kitchen__header {
  padding: 1rem 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 3px solid var(--pink-soft);
}

.salad-kitchen__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  font-weight: 700;
}

.salad-kitchen__title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  margin-top: 0.2rem;
}

.salad-kitchen__steps {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.salad-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #ffd6e0;
}

.salad-dot.is-active { background: var(--pink); transform: scale(1.25); }
.salad-dot.is-done { background: #fb6f92; }

.salad-kitchen {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.salad-kitchen__hint {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  min-height: 2.5rem;
}

.salad-kitchen__stage {
  min-height: 720px;
  border-radius: 28px;
  background: #f8f8f8;
  border: 3px dashed var(--pink-soft);
  padding: 1rem;
  overflow: hidden;
}

.salad-kitchen__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Cutting board */
.salad-board__surface {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}

.salad-board__knife {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.salad-food {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  border: 2px solid #f8c8d8;
  border-radius: 18px;
  background: var(--cream);
  cursor: pointer;
  font: inherit;
  color: var(--text);
}

.salad-food.is-cut {
  background: #e8ffe8;
  border-color: #95d5b2;
  opacity: 0.75;
}

.salad-food.is-chopping {
  animation: salad-chop 0.32s ease;
}

@keyframes salad-chop {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-4px) rotate(-3deg); }
  75% { transform: translateY(-4px) rotate(3deg); }
}

.salad-food__emoji { font-size: 2.2rem; }
.salad-food__name { font-size: 0.78rem; font-weight: 700; text-align: center; }
.salad-food__action { font-size: 0.72rem; color: var(--pink); font-weight: 700; }

/* Sauce station */
.salad-sauce-station,
.salad-bowl-station,
.salad-mix-station,
.salad-serve-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 280px;
  justify-content: center;
}

.salad-sauce-bowl {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff5f7;
  border: 3px solid var(--pink-soft);
  display: grid;
  place-items: center;
  gap: 0.25rem;
  text-align: center;
  padding: 0.5rem;
}

.salad-sauce-bowl.is-ready {
  background: #fff0f6;
  box-shadow: 0 0 0 6px rgba(255, 143, 171, 0.2);
}

.salad-sauce-bowl__emoji { font-size: 2rem; }
.salad-sauce-bowl__label { font-size: 0.72rem; font-weight: 700; }

.salad-sauce-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.salad-sauce-item {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--pink-bg);
  font-size: 0.82rem;
  font-weight: 600;
  animation: salad-pop 0.4s ease both;
  animation-delay: calc(var(--i) * 0.08s);
}

@keyframes salad-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bowl station */
.salad-bowl-station {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}

.salad-ingredient-tray {
  flex: 1 1 220px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.salad-tray-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: var(--cream);
  border: 2px solid #ffd6e0;
  cursor: grab;
  font-size: 0.75rem;
  font-weight: 700;
  user-select: none;
}

.salad-tray-item span:last-child { text-align: center; }
.salad-tray-item.is-used { opacity: 0.35; pointer-events: none; }

.salad-big-bowl {
  flex: 1 1 220px;
  min-height: 220px;
  border-radius: 0 0 90px 90px;
  background: linear-gradient(180deg, #fff 0%, #ffe5ec 100%);
  border: 4px solid var(--pink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  position: relative;
}

.salad-big-bowl.is-over {
  box-shadow: 0 0 0 4px rgba(255, 143, 171, 0.35);
}

.salad-big-bowl__emoji {
  font-size: 2rem;
  position: absolute;
  top: 0.5rem;
}

.salad-big-bowl__contents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  min-height: 3rem;
  margin-bottom: 0.5rem;
}

.salad-bowl-chip { font-size: 1.5rem; }

.salad-big-bowl__hint {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.salad-big-bowl.is-full { background: linear-gradient(180deg, #fff8fb 0%, #ffd6e0 100%); }

.salad-big-bowl.is-mixed .salad-bowl-chip {
  animation: salad-toss 0.6s ease;
}

@keyframes salad-toss {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(8deg) translateY(-4px); }
}

.salad-spoon { min-width: 10rem; }

/* Serve */
.salad-serve-plate {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--pink);
  display: grid;
  place-items: center;
  gap: 0.35rem;
  box-shadow: 0 12px 30px rgba(251, 111, 146, 0.25);
}

.salad-serve-plate__emoji { font-size: 3.5rem; }
.salad-serve-plate__name { font-weight: 800; font-size: 0.95rem; }
.salad-serve-text { font-weight: 600; color: var(--muted); }

.salad-serve-station .salad-btn { min-width: 10rem; }

@media (max-width: 640px) {
  .salad-bowl-station { flex-direction: column; }
}

/* —— Photo kitchen scenes —— */
.salad-scene {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
}

.salad-scene__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.salad-scene__layer { position: relative; z-index: 1; }

.salad-scene__knife {
  position: absolute;
  right: 4%;
  top: 8%;
  width: min(140px, 28vw);
  z-index: 3;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
  pointer-events: none;
}

.salad-scene__knife.is-chopping {
  animation: salad-knife-chop 0.42s ease;
}

@keyframes salad-knife-chop {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  40% { transform: translate( -18px, 28px) rotate(12deg); }
  70% { transform: translate( -8px, 14px) rotate(4deg); }
}

.salad-cut-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.55rem;
  padding: 1rem 38% 1rem 1rem;
  min-height: 380px;
  align-content: center;
}

.salad-cut-item {
  border: none;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  padding: 0.35rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.salad-cut-item:disabled { opacity: 0.45; cursor: default; }
.salad-cut-item.is-cut { opacity: 0.35; transform: scale(0.92); }
.salad-cut-item.is-chopping { animation: salad-chop 0.42s ease; }

.salad-cut-item__photo {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.salad-cut-item.is-cut .salad-cut-item__photo {
  filter: brightness(1.05) saturate(0.85);
  clip-path: inset(10% 10% 10% 10% round 6px);
}

.salad-cut-item__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
}

.salad-scene--sauce,
.salad-scene--mix,
.salad-scene--serve {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  min-height: 380px;
}

.salad-scene__bowl-photo {
  width: min(260px, 70vw);
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.salad-scene__bowl-photo.is-ready,
.salad-scene__bowl-photo.is-full {
  box-shadow: 0 0 0 4px rgba(255, 143, 171, 0.45);
}

.salad-scene__spoon {
  width: min(120px, 30vw);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.salad-scene__spoon.is-stirring {
  animation: salad-spoon-stir 0.8s ease;
}

@keyframes salad-spoon-stir {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(18deg) translateX(8px); }
}

.salad-scene--bowl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  min-height: 380px;
  padding: 0.5rem;
}

.salad-tray-photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  align-content: start;
  max-height: 360px;
  overflow-y: auto;
}

.salad-tray-photo__item {
  background: #fff;
  border-radius: 12px;
  padding: 0.35rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.salad-tray-photo__item.is-used { opacity: 0.3; pointer-events: none; }

.salad-tray-photo__img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.2rem;
}

.salad-drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.salad-drop-zone.is-over .salad-drop-zone__bowl {
  box-shadow: 0 0 0 4px rgba(255, 143, 171, 0.55);
}

.salad-drop-zone__bowl {
  width: 100%;
  max-width: 280px;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

.salad-drop-zone__pile {
  position: absolute;
  inset: 18% 16% 22%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  pointer-events: none;
}

.salad-drop-zone__piece,
.salad-mix-pile__piece,
.salad-serve-plate-photo__bit {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: salad-pop 0.35s ease both;
  animation-delay: calc(var(--i) * 0.06s);
}

.salad-mix-pile {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  width: min(200px, 50vw);
  margin-top: -120px;
  z-index: 2;
}

.salad-mix-pile.is-mixed .salad-mix-pile__piece {
  animation: salad-toss 0.7s ease;
}

.salad-scene--mix { position: relative; }

.salad-serve-plate-photo {
  position: relative;
  width: min(320px, 85vw);
  aspect-ratio: 1;
}

.salad-serve-plate-photo__plate {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.salad-serve-plate-photo__food {
  position: absolute;
  inset: 14%;
  display: grid;
  place-items: center;
}

.salad-serve-plate-photo__salad {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.salad-serve-plate-photo__food .salad-serve-plate-photo__bit {
  position: absolute;
  width: 52px;
  height: 52px;
}

@media (max-width: 640px) {
  .salad-scene--bowl { grid-template-columns: 1fr; }
  .salad-cut-items { padding-right: 1rem; }
}

/* —— Cut → auto plate chunks —— */
.salad-scene--cut2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
  min-height: 680px;
}

.salad-cut2-board {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 640px;
}

.salad-cut2-board__bg,
.salad-cut2-board__bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salad-cut2-board__bg-fallback {
  background: linear-gradient(145deg, #c8a882 0%, #a67c52 100%);
}

.salad-cut2-pile {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.salad-cut2-board {
  touch-action: none;
  cursor: none;
}

.salad-food {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
  background: none;
  border: none;
  padding: 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.salad-food__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(220px, 36vw);
  max-height: min(220px, 36vw);
  object-fit: contain;
  background: transparent;
  pointer-events: none;
}

.salad-food__fallback {
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 88px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 3px #000;
}

.salad-food__half {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(150px, 28vw);
  height: min(150px, 28vw);
  object-fit: contain;
  background: none;
}

.salad-food__half--a {
  clip-path: inset(0 50% 0 0);
  animation: salad-split-a 0.28s ease forwards;
}

.salad-food__half--b {
  clip-path: inset(0 0 0 50%);
  animation: salad-split-b 0.28s ease forwards;
}

.salad-food__slash {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 3px;
  height: 84%;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
  box-shadow: 0 0 8px #fff;
}

.salad-food.is-sliced { pointer-events: none; }
.salad-food.is-gone { opacity: 0; transform: translate(-50%, -50%) scale(0.2); transition: 0.2s ease; }

@keyframes salad-split-a {
  to { transform: translate(calc(-50% - 28px), -42%) rotate(-12deg); }
}
@keyframes salad-split-b {
  to { transform: translate(calc(-50% + 28px), -42%) rotate(14deg); }
}

.salad-scene__knife {
  position: absolute;
  left: 0;
  top: 0;
  width: min(110px, 22vw);
  z-index: 6;
  pointer-events: none;
  transform: translate(-40px, -80px) rotate(-18deg);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
  transition: transform 0.04s linear;
}

.salad-scene__knife.is-slicing { transform-origin: 20% 80%; }

.salad-scene--season {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.salad-season-tray {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.salad-season-item {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text);
}

.salad-season-item__img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.25));
}

.salad-season-item.is-used { opacity: 0.35; pointer-events: none; }

.salad-season-item__fallback {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.35rem;
  border-radius: 16px;
  background: #fff4e8;
  font-size: 0.72rem;
  line-height: 1.2;
}

.salad-scene--sauce {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
}

.salad-sauce-stage {
  position: relative;
  width: min(420px, 92vw);
  height: min(340px, 58vw);
  display: grid;
  place-items: center;
}

.salad-sauce-bowl {
  position: relative;
  width: min(260px, 62vw);
  height: min(200px, 48vw);
  border-radius: 50% / 42%;
  background:
    radial-gradient(ellipse at 50% 28%, #c48a55 0%, #8b5a2b 42%, #5c3a1a 78%, #3d2612 100%);
  box-shadow:
    inset 0 -18px 28px rgba(0, 0, 0, 0.35),
    inset 0 14px 18px rgba(255, 220, 180, 0.18),
    0 16px 28px rgba(0, 0, 0, 0.28);
  touch-action: none;
  cursor: default;
  overflow: hidden;
}

.salad-sauce-bowl.is-ready { cursor: grab; }
.salad-sauce-bowl.is-stirring { cursor: grabbing; }
.salad-sauce-bowl.is-done {
  box-shadow:
    inset 0 -18px 28px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(255, 196, 120, 0.55),
    0 16px 28px rgba(0, 0, 0, 0.28);
}

.salad-sauce-bowl__inner {
  position: absolute;
  inset: 18% 16% 22%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 236, 210, calc(0.15 + var(--sauce-mix, 0) * 0.45)) 0%,
      rgba(160, 90, 40, calc(0.2 + var(--sauce-mix, 0) * 0.35)) 70%,
      transparent 100%
    );
  overflow: hidden;
}

.salad-sauce-bowl__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(255, 236, 210, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.salad-sauce-drop {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #5c3a1a;
  opacity: 0;
  transform: translateY(-24px) scale(0.7);
  transition: opacity 0.25s ease, transform 0.35s ease;
  z-index: 2;
}

.salad-sauce-drop.is-in {
  opacity: 0.95;
  transform: translateY(0) scale(1);
}

.salad-sauce-drop__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.salad-sauce-spoon {
  position: absolute;
  left: 0;
  top: 0;
  width: min(110px, 24vw);
  z-index: 6;
  pointer-events: none;
  transform: translate(40px, -20px) rotate(-18deg);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.05s linear;
}

.salad-sauce-spoon.is-scoop {
  animation: salad-sauce-scoop 0.55s ease;
}

.salad-sauce-spoon.is-stirring {
  animation: salad-spoon-stir 0.55s ease infinite;
}

@keyframes salad-sauce-scoop {
  0% { transform: translate(120px, 120px) rotate(12deg); }
  45% { transform: translate(70px, 40px) rotate(-10deg); }
  100% { transform: translate(40px, -20px) rotate(-18deg); }
}

.salad-season-drop {
  position: absolute;
  width: 72px;
  height: 72px;
  object-fit: contain;
  pointer-events: none;
  animation: salad-pour 0.45s ease both;
  z-index: 4;
}

.salad-season-drop--oil { left: 28%; top: 30%; }
.salad-season-drop--salt { left: 55%; top: 22%; }
.salad-season-drop--butter { left: 40%; top: 48%; }

.salad-plate-live.is-oil::after,
.salad-plate-live.is-salt::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}
.salad-plate-live.is-oil::after {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
}
.salad-plate-live.is-salt::before {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@keyframes salad-pour {
  from { transform: translateY(-30px) scale(0.4); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.salad-piece {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  padding: 0;
  background: none;
  cursor: crosshair;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.salad-piece__ring {
  position: relative;
  display: block;
  width: clamp(92px, 17vw, 128px);
  height: clamp(92px, 17vw, 128px);
  border-radius: 22px;
  overflow: hidden;
  background: #fff8f0;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px rgba(255, 143, 171, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.salad-piece__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff8f0;
}

.salad-piece__fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: #fff8f0;
}

.salad-piece__fallback.is-show { display: flex; }

.salad-piece__label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  max-width: 8rem;
  line-height: 1.15;
}

.salad-piece.is-chopping { animation: salad-chop 0.32s ease; }
.salad-piece.is-gone { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.2); }

.salad-scene__knife {
  position: absolute;
  width: min(130px, 24vw);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

.salad-scene__knife.is-chopping { animation: salad-knife-chop 0.32s ease; }

.salad-plate-live {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.salad-plate-live--side { min-height: 640px; width: min(720px, 100%); }
.salad-plate-live--big { min-height: 720px; margin: 0 auto; max-width: 760px; width: 100%; }

/* Empty + finished photo share the same frame — plate shape matches 1:1 */
.salad-plate-live--match {
  background: #f6f1ea;
  border-radius: 18px;
  padding: 0.75rem;
}

.salad-plate-live__frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.salad-plate-live__img,
.salad-plate-live__img--empty,
.salad-plate-live__salad {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  pointer-events: none;
  transition: opacity 0.28s linear;
}

.salad-plate-live__img--empty {
  z-index: 1;
  background: transparent;
}

.salad-plate-live__salad {
  z-index: 2;
}

.salad-plate-live--photo .salad-plate-live__img--empty {
  opacity: 0 !important;
}

.salad-plate-live--eat .salad-plate-live__salad {
  pointer-events: auto;
  cursor: pointer;
}

.salad-plate-live__kitchen {
  display: none;
}

.salad-plate-live__fallback {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #eee 55%, #ddd 100%);
}

.salad-plate-live__chunks {
  position: absolute;
  inset: 8% 10% 12%;
  z-index: 3;
  pointer-events: none;
  transform-origin: 50% 50%;
  transition: opacity 0.2s linear, transform 0.05s linear;
}

.salad-plate-live__bites {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.salad-bite-hole {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fffaf0 42%, rgba(255, 250, 240, 0.55) 68%, transparent 78%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.salad-plate-live--photo .salad-plate-live__chunks {
  display: none;
}

.salad-plate-live.is-mixed .salad-plate-live__salad,
.salad-plate-live--eat .salad-plate-live__salad,
.salad-plate-live--photo .salad-plate-live__salad {
  width: 100%;
  height: 100%;
}

.salad-chunk {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(84px * var(--s));
  height: calc(84px * var(--s));
  object-fit: contain;
  object-position: center;
  background: none;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(var(--r));
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
  pointer-events: auto;
  animation: salad-chunk-in 0.45s ease both;
  animation-delay: calc(var(--i) * 0.04s);
}

.salad-chunk--bite { pointer-events: auto; cursor: pointer; }
.salad-chunk.is-eaten { animation: salad-chunk-eat 0.22s ease forwards; }

@keyframes salad-chunk-in {
  from { opacity: 0; transform: translate(-50%, -80%) rotate(calc(var(--r) - 20deg)) scale(0.3); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(var(--r)) scale(1); }
}

@keyframes salad-chunk-eat {
  to { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(calc(var(--r) + 40deg)); }
}

.salad-scene--eat2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-height: 760px;
}

.salad-scene--mix2 {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
}

.salad-scene--rows {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  min-height: 760px;
}

.salad-plate-live--rows .salad-plate-live__chunks.is-rows .salad-chunk,
.salad-plate-live--rows .salad-chunk {
  transition: left 0.45s ease, top 0.45s ease, transform 0.45s ease;
}

.salad-rows-btn {
  z-index: 4;
}

.salad-plate-live--mix {
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.salad-plate-live--mix.is-stirring {
  cursor: grabbing;
}

.salad-mix-spoon {
  position: absolute;
  left: 0;
  top: 0;
  width: min(120px, 28vw);
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
  transform: translate(58%, 12%) rotate(-28deg);
}

.salad-mix-spoon--draw {
  width: 18px;
  height: 110px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d7a8 0%, #c48a3a 40%, #8a5a22 100%);
}

.salad-mix-spoon--draw::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 42px;
  height: 36px;
  border-radius: 50%;
  background: #d7b07a;
  transform: translateX(-50%);
}

.salad-plate-live--big .salad-plate-live__chunks {
  pointer-events: auto;
}

@media (max-width: 720px) {
  .salad-scene--cut2 { grid-template-columns: 1fr; }
}

/* —— Real board / plate cooking —— */
.salad-scene--cut,
.salad-plate-board {
  position: relative;
  min-height: 400px;
  border-radius: 18px;
  overflow: hidden;
  cursor: crosshair;
}

.salad-scene__bg-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #c8956c, #8b5e3c);
}

.salad-cut-board,
.salad-plate-board__pieces {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.salad-piece {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.salad-piece__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  border: none;
}

.salad-piece.is-diced .salad-piece__img {
  width: 58px;
  height: 58px;
  border-radius: 38% 62% 45% 55% / 55% 40% 60% 45%;
  filter: saturate(1.08) brightness(1.03);
}

.salad-piece.is-chopping { animation: salad-chop 0.38s ease; }
.salad-piece:disabled { pointer-events: none; opacity: 0.55; }

.salad-scene__knife {
  position: absolute;
  width: 110px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
  transform: rotate(-18deg);
}

.salad-scene__knife.is-chopping { animation: salad-knife-chop 0.38s ease; }

.salad-scene--plate {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.5rem;
  min-height: 400px;
}

.salad-plate-board {
  border-radius: 16px;
  overflow: hidden;
}

.salad-plate-board__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salad-piece--drag { cursor: grab; }
.salad-piece--drag:active { cursor: grabbing; }

.salad-plate-target {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.salad-plate-target__img,
.salad-eat-plate__img {
  width: min(300px, 88%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.2));
}

.salad-plate-target.is-over .salad-plate-target__img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 0 4px rgba(255, 143, 171, 0.5));
}

.salad-plate-target__pile,
.salad-eat-plate__food {
  position: absolute;
  inset: 22% 18%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.salad-plate-target__bit,
.salad-eat-bite__img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 45% 55% 50% 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.salad-eat-bite {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  animation: salad-pop 0.35s ease both;
  animation-delay: calc(var(--i) * 0.05s);
}

.salad-eat-bite.is-eaten {
  animation: salad-eaten 0.28s ease forwards;
}

@keyframes salad-eaten {
  to { opacity: 0; transform: scale(0.2) translateY(-20px); }
}

.salad-scene--eat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-height: 400px;
  justify-content: center;
}

.salad-eat-plate { position: relative; }

.salad-mouth {
  font-size: 2.8rem;
  animation: salad-mouth 1.2s ease-in-out infinite;
}

@keyframes salad-mouth {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 640px) {
  .salad-scene--plate { grid-template-columns: 1fr; }
  .salad-piece__ring { width: 76px; height: 76px; }
}

body.salad-cook-share-open {
  overflow: hidden;
}

.salad-cook-share {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: end center;
  padding: 0;
  background: rgba(18, 12, 16, 0.55);
}

.salad-cook-share[hidden] {
  display: none !important;
}

.salad-cook-share__panel {
  width: min(100%, 28rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: linear-gradient(180deg, #fff8f4 0%, #ffffff 40%);
  border-radius: 22px 22px 0 0;
  padding: 1.15rem 1.15rem 1.4rem;
  box-shadow: 0 -12px 40px rgba(40, 20, 30, 0.25);
  animation: salad-cook-share-up 0.35s ease both;
}

@keyframes salad-cook-share-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.salad-cook-share__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d174d;
  font-weight: 700;
}

.salad-cook-share__title {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.salad-cook-share__lead {
  margin: 0 0 0.85rem;
  color: #6b5a63;
  font-size: 0.92rem;
  line-height: 1.4;
}

.salad-cook-share__video {
  width: 100%;
  border-radius: 16px;
  background: #1c1418;
  max-height: 16rem;
  object-fit: contain;
}

.salad-cook-share__friends {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0.55rem;
  max-height: 9rem;
  overflow: auto;
}

.salad-cook-share__friend {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.5rem;
  border-radius: 12px;
  background: rgba(255, 228, 236, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.salad-cook-share__friend img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.salad-cook-share__empty,
.salad-cook-share__status {
  margin: 0.35rem 0;
  color: #6b5a63;
  font-size: 0.86rem;
  line-height: 1.35;
}

.salad-cook-share__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.salad-chat__video {
  display: block;
  width: min(100%, 16rem);
  margin-top: 0.4rem;
  border-radius: 12px;
  background: #111;
}

.salad-catalog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.salad-quiz {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 1rem 1.1rem 3rem;
}

.salad-quiz__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.salad-quiz__lead {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.salad-quiz__modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.salad-quiz__hud {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.salad-quiz__prompt {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.salad-quiz__hint {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.salad-quiz__options {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.salad-quiz__opt {
  appearance: none;
  border: 2px solid #ffd0dc;
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.salad-quiz__opt.is-picked {
  border-color: var(--pink);
  background: var(--pink-bg);
}

.salad-quiz__opt.is-correct {
  border-color: #2d6a4f;
  background: #e8f5ef;
}

.salad-quiz__opt.is-wrong {
  border-color: #c9184a;
  background: #ffe5ec;
}

.salad-quiz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.salad-quiz__result {
  margin-top: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.salad-quiz__result.is-ok { color: #2d6a4f; }
.salad-quiz__result.is-bad { color: #c9184a; }

.salad-quiz .is-hidden { display: none !important; }

/* —— Site switcher salad.ru / sandwich.ru —— */
.site-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: rgba(255, 228, 236, 0.65);
  border: 1px solid #ffd0dc;
}

.site-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.site-switch__item.is-active {
  background: linear-gradient(180deg, var(--pink) 0%, #fb6f92 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(251, 111, 146, 0.35);
}

.sandwich-page .site-switch {
  background: rgba(255, 232, 200, 0.75);
  border-color: #efd0a8;
}

.sandwich-page .site-switch__item.is-active {
  background: linear-gradient(180deg, #e8a05a 0%, #c47a3a 100%);
  box-shadow: 0 6px 14px rgba(196, 122, 58, 0.35);
}

.sandwich-empty {
  grid-column: 1 / -1;
  min-height: 42vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.sandwich-empty__text {
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 800;
  color: #c47a3a;
  letter-spacing: 0.02em;
}

.sandwich-footer {
  position: sticky;
  bottom: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, #fffaf0 35%, #fffaf0 100%);
  display: flex;
  justify-content: center;
  z-index: 5;
}

.sandwich-footer .salad-btn {
  width: min(100%, 22rem);
}

.salad-card__emoji-big {
  font-size: 4rem;
  line-height: 1;
}

/* —— sandwich.ru Hello Kitty Lunchbox cook (full-bleed game) —— */
.hk-cook-page {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: #ffd6e7;
  font-family: "Manrope", system-ui, sans-serif;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.hk-game {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: max(0.65rem, env(safe-area-inset-top)) 0.75rem max(0.85rem, env(safe-area-inset-bottom));
  gap: 0.45rem;
}

.hk-back {
  position: absolute;
  top: max(0.7rem, env(safe-area-inset-top));
  left: 0.75rem;
  z-index: 8;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #c23a6b;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(194, 58, 107, 0.2);
}

.hk-hint {
  margin: 0.15rem auto 0;
  max-width: 22rem;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #9b2d55;
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid #ff9ec4;
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(255, 120, 170, 0.35);
  z-index: 6;
}

.hk-hand {
  position: absolute;
  right: 1.1rem;
  bottom: 5.2rem;
  z-index: 7;
  font-size: 2.4rem;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.12));
  transition: opacity 0.25s ease;
}

.hk-hand.is-on {
  opacity: 1;
  animation: hk-tap 0.7s ease-in-out infinite;
}

@keyframes hk-tap {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(10px) scale(1.08); }
}

.hk-stage {
  position: relative;
  min-height: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #ffe8f2 center / cover no-repeat;
  border: 4px solid #ff9ec4;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.55),
    0 12px 0 rgba(255, 120, 170, 0.28);
  display: grid;
  place-items: center;
}

.hk-next {
  appearance: none;
  justify-self: center;
  min-width: min(100%, 16rem);
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #ff7eb3 0%, #f0488a 100%);
  box-shadow: 0 7px 0 #c23a6b;
  cursor: pointer;
  z-index: 6;
}

.hk-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: 0 4px 0 #c23a6b;
}

.hk-next:not(:disabled):active {
  transform: translateY(3px);
  box-shadow: 0 4px 0 #c23a6b;
}

.hk-tray {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  padding: 1rem;
  max-width: 36rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  border: 3px solid #ff9ec4;
}

.hk-item {
  appearance: none;
  width: 6.6rem;
  border: 3px solid #ffb7d5;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 0.45rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9b2d55;
  box-shadow: 0 5px 0 rgba(255, 120, 170, 0.28);
  transition: transform 0.15s ease;
}

.hk-item.is-on {
  border-color: #f0488a;
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(240, 72, 138, 0.28);
}

.hk-item:disabled {
  opacity: 0.55;
  cursor: default;
}

.hk-item__pic,
.hk-emoji {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  font-size: 2.4rem;
  line-height: 4.5rem;
  text-align: center;
}

.hk-work {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 52vh;
  display: block;
  padding: 0;
}

.hk-work--pack {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  padding: 1rem;
}

.hk-board {
  display: none;
}

.hk-plate {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  touch-action: none;
}

.hk-work--cut .hk-veg {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  z-index: 4;
}

.hk-sandwich {
  position: relative;
  width: min(230px, 54vw);
  display: grid;
  justify-items: center;
  filter: drop-shadow(0 10px 14px rgba(120, 40, 70, 0.28));
  transition: transform 0.18s ease;
}

.hk-sandwich.is-mini { width: min(130px, 34vw); }
.hk-sandwich.is-cut { transform: rotate(-5deg) skewX(-2deg); }

.hk-bread {
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 1;
}

.hk-bread.hk-emoji,
.hk-item__pic.hk-emoji {
  font-size: 4.5rem;
  line-height: 1;
  aspect-ratio: auto;
  min-height: 4.5rem;
}

.hk-bread-top { margin-bottom: -18%; z-index: 3; animation: hk-drop 0.2s ease; }
.hk-bread-bot { margin-top: -12%; z-index: 1; }

.hk-fill {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  max-width: 88%;
  min-height: 1.2rem;
}

.hk-bit {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
  animation: hk-drop 0.2s ease;
}

.hk-sandwich.is-mini .hk-bit { width: 1.35rem; height: 1.35rem; }

.hk-flag {
  position: absolute;
  top: 6%;
  right: 10%;
  font-size: 1.7rem;
  z-index: 5;
  animation: hk-drop 0.18s ease;
}

@keyframes hk-drop {
  from { transform: translateY(-22px) scale(1.12); opacity: 0.15; }
  to { transform: none; opacity: 1; }
}

.hk-veg {
  position: relative;
  z-index: 3;
  touch-action: none;
  cursor: pointer;
  text-align: center;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid #ff7eb3;
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(255, 120, 170, 0.28);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hk-veg.is-holding { transform: scale(1.04); }
.hk-veg.is-fall {
  transform: translateY(90px) scale(0.45);
  opacity: 0;
}

.hk-veg__pic {
  width: min(130px, 38vw);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.hk-gesture {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #c23a6b;
}

.hk-bigbtn {
  appearance: none;
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  z-index: 5;
  border: none;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #7ad7ff 0%, #3aa8e8 100%);
  box-shadow: 0 6px 0 #2a7fb0;
  cursor: pointer;
}

.hk-bigbtn:active {
  transform: translate(-50%, 3px);
  box-shadow: 0 3px 0 #2a7fb0;
}

.hk-ok {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 1.15rem;
  font-weight: 800;
  color: #c23a6b;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 3px solid #ff9ec4;
  white-space: nowrap;
}

.hk-knife {
  position: absolute;
  width: 5rem;
  height: auto;
  pointer-events: none;
  opacity: 0;
  z-index: 9;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  transition: opacity 0.12s ease;
}

.hk-knife.is-vis { opacity: 1; }

.hk-box {
  width: min(220px, 52vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(80, 40, 60, 0.25));
  z-index: 2;
}

.hk-box--hand { width: min(88px, 22vw); }

.hk-drop {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  z-index: 3;
}

.hk-walk {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  animation: hk-walk 0.65s ease forwards;
}

.hk-walk.is-done { animation: none; transform: none; }

@keyframes hk-walk {
  from { transform: translateX(-42vw); }
  to { transform: translateX(0); }
}

.hk-eat {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1rem;
}

.hk-kitty {
  width: min(160px, 40vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(80, 40, 60, 0.22));
}

.hk-kitty--big {
  width: min(230px, 54vw);
  animation: hk-bounce 0.8s ease-in-out infinite;
}

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

.hk-eat-food {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid #ff9ec4;
  border-radius: 22px;
  cursor: pointer;
}

@media (max-width: 520px) {
  .hk-hint { font-size: 0.95rem; padding: 0.45rem 0.85rem; }
  .hk-item { width: 5.7rem; }
}



