@font-face {
  font-family: "Pretendard";
  src: url("assets/fonts/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111111;
  --ink-deep: #09090a;
  --surface: #171719;
  --surface-raised: #202024;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f6f4;
  --muted: #aaa7ae;
  --muted-strong: #d0cdd3;
  --purple: #6c43ad;
  --purple-bright: #9559e7;
  --purple-deep: #48237d;
  --magenta: #b638a9;
  --pink: #ed1e62;
  --olive: #9a9d31;
  --rice: #f1ede7;
  --plate-glow: rgba(149, 89, 231, 0.2);
  --sesame-glow: rgba(154, 157, 49, 0.16);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-width: 620px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--ink-deep);
}

body {
  margin: 0;
  min-width: 160px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(108, 67, 173, 0.09), transparent 25rem),
    var(--ink-deep);
  color: var(--text);
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 50%;
  translate: -50% -160%;
  border-radius: 10px;
  background: var(--rice);
  color: #171719;
  padding: 10px 14px;
  font-weight: 750;
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: -50% 0;
}

.app-shell {
  position: relative;
  width: min(100%, var(--app-width));
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  overflow: clip;
  background:
    radial-gradient(circle at 86% 10%, rgba(154, 157, 49, 0.08) 0 3px, transparent 4px),
    linear-gradient(180deg, #111112 0%, #0f0f10 55%, #111112 100%);
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(115deg, transparent 48%, rgba(255, 255, 255, 0.035) 49%, transparent 50%),
    radial-gradient(circle, rgba(154, 157, 49, 0.9) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(149, 89, 231, 0.55) 0 1px, transparent 1.6px);
  background-size: 152px 152px, 108px 142px, 176px 208px;
  background-position: 0 0, 27px 41px, 88px 16px;
  mask-image: linear-gradient(to bottom, black, rgba(0,0,0,.55) 70%, transparent);
}

.app-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
}

.header-logo {
  width: 174px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.header-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: right;
  text-decoration: none;
  text-transform: uppercase;
}

.header-label:hover,
.header-label:focus-visible {
  color: #d3b5f4;
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: calc(112px + var(--safe-bottom));
}

.discovery {
  padding: 18px 0 10px;
}

.menu-search {
  padding: 0 16px;
}

.search-field {
  position: relative;
  display: grid;
  min-height: 56px;
  grid-template-columns: 34px minmax(0, 1fr) 44px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 34, 38, 0.96), rgba(24, 24, 27, 0.96)) padding-box,
    linear-gradient(105deg, var(--purple-bright), var(--pink)) border-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  transition: border-color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
}

.search-field:focus-within {
  border-color: transparent;
  box-shadow:
    0 0 0 3px rgba(149, 89, 231, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.08);
  translate: 0 -1px;
}

.search-field > svg {
  justify-self: end;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 8px 0 12px;
  font-size: 15px;
}

.search-field input::placeholder {
  color: #97949c;
  opacity: 1;
}

.search-field input::-webkit-search-cancel-button {
  appearance: none;
}

.search-clear {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
}

.search-clear:hover {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}

.search-clear svg,
.sheet-close svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-status {
  display: block;
  min-height: 20px;
  padding: 7px 4px 0;
  color: var(--muted);
  font-size: 11.5px;
}

.category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 10px;
}

.eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.category-hint {
  color: var(--muted);
  font-size: 11px;
}

.category-hint::after {
  content: " →";
  color: var(--pink);
}

.category-highlights {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 13px;
  scroll-padding-inline: 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.category-highlights::-webkit-scrollbar {
  display: none;
}

.highlight-button {
  flex: 0 0 68px;
  min-width: 68px;
  min-height: 94px;
  scroll-snap-align: center;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  cursor: pointer;
}

.highlight-ring {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 7px;
  place-items: center;
  border-radius: 50%;
  background: #29282d;
  box-shadow: 0 0 0 1px var(--line-strong);
  transition: scale 220ms var(--ease-out), box-shadow 220ms ease;
}

.highlight-inner {
  display: grid;
  width: 58px;
  height: 58px;
  overflow: hidden;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #252429 0, #141416 70%);
}

.highlight-inner img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.highlight-mark {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.highlight-label {
  display: -webkit-box;
  min-height: 25px;
  overflow: hidden;
  color: #a9a6ad;
  font-size: 10.5px;
  font-weight: 620;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 180ms ease;
}

.highlight-button[aria-current="true"] .highlight-ring {
  background: linear-gradient(140deg, var(--pink), var(--purple-bright) 48%, #5969ef);
  box-shadow: 0 0 0 1px rgba(237, 30, 98, 0.18), 0 8px 24px rgba(108, 67, 173, 0.25);
  scale: 1.04;
}

.highlight-button[aria-current="true"] .highlight-label {
  color: white;
  font-weight: 780;
}

.highlight-button:focus-visible,
.app-dock button:focus-visible,
.empty-state button:focus-visible,
.sheet-close:focus-visible,
.original-menu-link:focus-visible {
  outline: 3px solid rgba(149, 89, 231, 0.78);
  outline-offset: 3px;
}

.catalog-sections {
  position: relative;
  min-height: 40vh;
}

.menu-category {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 82px;
  padding: 10px 0 22px;
}

.menu-category::before {
  content: "술잔";
  position: absolute;
  z-index: -1;
  top: 150px;
  right: -13px;
  color: rgba(149, 89, 231, 0.065);
  font-size: 76px;
  font-weight: 850;
  letter-spacing: -0.16em;
  line-height: 1;
  rotate: -9deg;
  writing-mode: vertical-rl;
}

.menu-category::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 300px;
  left: -24px;
  width: 120px;
  height: 150px;
  opacity: 0.24;
  background: radial-gradient(circle, var(--olive) 0 2px, transparent 2.6px);
  background-size: 19px 19px;
  rotate: 7deg;
  mask-image: radial-gradient(ellipse, black, transparent 68%);
}

.menu-category:nth-child(even)::before {
  right: auto;
  left: -10px;
  rotate: 8deg;
}

.menu-category:nth-child(even)::after {
  right: -22px;
  left: auto;
  rotate: -8deg;
}

.category-banner {
  position: relative;
  isolation: isolate;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -9px 4px;
  padding: 22px 27px 21px;
  overflow: hidden;
  background:
    linear-gradient(110deg, var(--purple-deep), #7840b5 54%, #554bc7);
  clip-path: polygon(0 13%, 4% 7%, 9% 12%, 14% 5%, 21% 10%, 27% 4%, 34% 11%, 41% 5%, 48% 12%, 56% 3%, 63% 9%, 70% 5%, 79% 12%, 87% 5%, 94% 11%, 100% 7%, 99% 86%, 94% 93%, 88% 87%, 80% 96%, 72% 88%, 64% 94%, 55% 88%, 47% 96%, 39% 88%, 30% 95%, 22% 87%, 14% 94%, 7% 87%, 1% 93%);
}

.category-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(118deg, transparent 18%, rgba(255,255,255,.14) 19%, transparent 20%),
    radial-gradient(circle at 78% 50%, rgba(255,255,255,.28) 0 1px, transparent 2px);
  background-size: 82px 82px, 20px 20px;
}

.category-banner::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 54px;
  height: 4px;
  rotate: -7deg;
  background: var(--pink);
}

.banner-copy {
  min-width: 0;
}

.banner-copy span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-banner h2 {
  max-width: 480px;
  margin: 0;
  color: white;
  font-size: clamp(22px, 6.4vw, 31px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-transform: uppercase;
}

.category-count {
  flex: 0 0 auto;
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 720;
}

.category-note {
  margin: 8px 16px 2px;
  border-left: 2px solid var(--purple-bright);
  color: var(--muted-strong);
  padding: 4px 0 4px 12px;
  font-size: 12px;
  line-height: 1.45;
}

.dish-list {
  position: relative;
  z-index: 1;
  padding-inline: 16px;
}

.dish-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 160px;
  grid-template-columns: clamp(108px, 28vw, 126px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 13px 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.dish-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-bright));
  opacity: 0.7;
}

.dish-media {
  position: relative;
  display: grid;
  width: 100%;
  height: 134px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.dish-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 108%;
  height: 82%;
  border-radius: 50%;
  border: 1px solid rgba(149, 89, 231, 0.08);
  background:
    radial-gradient(ellipse at 50% 48%, var(--plate-glow), rgba(108, 67, 173, 0.07) 42%, transparent 69%);
  box-shadow: inset 0 0 26px rgba(149, 89, 231, 0.05);
  rotate: -5deg;
}

.dish-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -3px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-top: 2px solid rgba(237, 30, 98, 0.26);
  border-right: 2px solid rgba(237, 30, 98, 0.13);
  border-radius: 50%;
  rotate: 18deg;
}

.dish-card:nth-child(even) .dish-media::before {
  border-color: rgba(154, 157, 49, 0.09);
  background: radial-gradient(ellipse at 50% 48%, var(--sesame-glow), rgba(154, 157, 49, 0.04) 44%, transparent 69%);
  rotate: 4deg;
}

.dish-card:nth-child(3n) .dish-media::after {
  right: auto;
  left: -2px;
  border-color: rgba(149, 89, 231, 0.2) transparent transparent rgba(149, 89, 231, 0.11);
  rotate: -22deg;
}

.dish-media img {
  position: absolute;
  z-index: 1;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 13px 15px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 14px rgba(149, 89, 231, 0.07));
  transition: transform 260ms var(--ease-out), filter 260ms ease;
}

.dish-media.is-wide img {
  inset: 7px 0;
  width: 100%;
  height: calc(100% - 14px);
}

.dish-media.is-tall img {
  inset: 3px 8px;
  width: calc(100% - 16px);
  height: calc(100% - 6px);
}

.dish-card:hover .dish-media img {
  transform: scale(1.035) rotate(-0.7deg);
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.46));
}

.dish-copy {
  min-width: 0;
  padding-right: 2px;
}

.dish-heading {
  display: block;
  min-width: 0;
}

.dish-flags {
  display: flex;
  min-height: 19px;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px;
}

.dish-flags:empty {
  display: none;
}

.dish-korean {
  margin-right: auto;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding: 2px 6px;
  color: white;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.badge-best {
  background: var(--pink);
  clip-path: polygon(3% 16%, 98% 0, 94% 84%, 0 100%);
}

.badge-spicy {
  color: #ff7a9f;
  padding-inline: 1px;
}

.badge-veg {
  color: #b4c45a;
  padding-inline: 1px;
}

.dish-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-transform: uppercase;
}

.dish-title.has-long-word {
  font-size: clamp(14px, 4.2vw, 17px);
  letter-spacing: -0.05em;
}

.dish-romanization {
  display: block;
  margin-top: 3px;
  color: #8f8b94;
  font-size: 9.5px;
  font-weight: 620;
  letter-spacing: 0.025em;
}

.dish-description {
  display: -webkit-box;
  margin: 8px 0 10px;
  overflow: hidden;
  color: #c8c5cb;
  font-size: 12.5px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.dish-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.dish-price {
  color: white;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.dish-unit {
  color: var(--muted);
  font-size: 9.5px;
}

.dish-open {
  color: var(--purple-bright);
  font-size: 17px;
  line-height: 1;
}

.dish-card.is-text-only {
  min-height: 84px;
  grid-template-columns: minmax(0, 1fr);
  padding: 12px 2px;
}

.dish-card.is-text-only .dish-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "flags flags"
    "heading meta"
    "description description";
  align-items: center;
  gap: 5px 14px;
}

.dish-card.is-text-only .dish-flags {
  grid-area: flags;
  min-height: 0;
  margin: 0;
}

.dish-card.is-text-only .dish-heading {
  grid-area: heading;
}

.dish-card.is-text-only .dish-description {
  grid-area: description;
  margin: 1px 0 0;
  -webkit-line-clamp: 2;
}

.dish-card.is-text-only .dish-flags:empty,
.dish-card.is-text-only .dish-description:empty {
  display: none;
}

.dish-card.is-text-only .dish-meta {
  grid-area: meta;
  justify-self: end;
}

.dish-card.is-text-only .dish-title {
  font-size: 16px;
  text-transform: none;
}

.dish-card:focus-visible {
  outline: 0;
  background: linear-gradient(90deg, rgba(149, 89, 231, 0.11), transparent 42%);
  box-shadow: inset 3px 0 var(--purple-bright);
}

.js .dish-card.is-pending {
  opacity: 0;
  transform: translateY(10px);
}

.js .dish-card.is-pending .dish-media {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.96) rotate(-1deg);
}

.js .dish-card.is-pending .dish-copy {
  opacity: 0;
  transform: translate3d(14px, 8px, 0);
}

.js .dish-card.is-pending .dish-media img {
  transform: scale(0.95);
}

.js .dish-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 260ms var(--ease-out) var(--enter-delay, 0ms),
    transform 300ms var(--ease-out) var(--enter-delay, 0ms);
}

.js .dish-card.is-visible .dish-media {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
  transition:
    opacity 320ms var(--ease-out) var(--enter-delay, 0ms),
    transform 360ms var(--ease-out) var(--enter-delay, 0ms);
}

.js .dish-card.is-visible .dish-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 300ms var(--ease-out) calc(var(--enter-delay, 0ms) + 45ms),
    transform 340ms var(--ease-out) calc(var(--enter-delay, 0ms) + 45ms);
}

.js .dish-card.is-visible .dish-media img {
  transform: scale(1);
}

.js .menu-category .category-banner {
  opacity: 0;
  transform: translate3d(-18px, 6px, 0) rotate(-0.4deg);
}

.js .menu-category.is-section-visible .category-banner {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
  transition: opacity 260ms var(--ease-out), transform 340ms var(--ease-out);
}

.empty-state {
  margin: 28px 16px 60px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 34px 22px;
  text-align: center;
}

.empty-state > span {
  color: var(--purple-bright);
  font-size: 18px;
  font-weight: 780;
}

.empty-state h2 {
  margin: 7px 0 5px;
  font-size: 21px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state button {
  min-width: 140px;
  min-height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  color: white;
  font-weight: 760;
  cursor: pointer;
}

.app-footer {
  position: relative;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding: 34px 20px 30px;
  background:
    linear-gradient(180deg, rgba(21, 21, 23, 0.8), #0e0e0f),
    var(--ink);
}

.app-footer > img {
  width: 186px;
  height: 78px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 3px 0;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.5;
}

.footer-grid a {
  text-underline-offset: 3px;
}

.original-menu-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 15px;
  color: white;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}

.original-menu-link svg {
  fill: none;
  stroke: var(--purple-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.source-note {
  max-width: 360px;
  margin: 20px 0 0;
  color: #706d75;
  font-size: 9.5px;
  line-height: 1.45;
}

.app-dock {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: max(10px, var(--safe-bottom));
  display: grid;
  width: min(calc(100% - 24px), 430px);
  min-height: 70px;
  translate: -50% 0;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 23px;
  background:
    linear-gradient(180deg, rgba(35, 33, 40, 0.96), rgba(18, 18, 20, 0.97));
  padding: 6px 9px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(108, 67, 173, 0.08),
    0 0 30px rgba(108, 67, 173, 0.12);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.app-dock button {
  position: relative;
  display: grid;
  min-height: 56px;
  place-items: center;
  align-content: center;
  gap: 1px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #8f8c94;
  padding: 4px;
  cursor: pointer;
}

.app-dock button::before {
  display: none;
}

.app-dock button.is-active {
  color: white;
}

.dock-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out), box-shadow 160ms ease;
}

.dock-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.app-dock button.is-active .dock-icon {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, var(--purple-bright), var(--purple-deep));
  box-shadow: 0 7px 18px rgba(83, 42, 137, 0.46), inset 0 1px rgba(255, 255, 255, 0.16);
  color: white;
  transform: translateY(-3px);
}

.app-dock button:active .dock-icon {
  transform: translateY(-1px) scale(0.97);
}

.dock-label {
  font-size: 9.5px;
  font-weight: 690;
}

.app-dock button.is-active .dock-label {
  color: white;
}

.search-spark {
  stroke: var(--pink);
  stroke-width: 1.5;
}

.product-dialog {
  width: min(100%, var(--app-width));
  max-width: none;
  max-height: 92dvh;
  margin: auto auto 0;
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product-dialog[open] .product-sheet {
  animation: sheet-in 300ms var(--ease-out) both;
}

.product-dialog.is-closing .product-sheet {
  animation: sheet-out 240ms ease-in both;
}

.product-dialog.is-closing::backdrop {
  animation: backdrop-out 240ms ease-in both;
}

.product-sheet {
  position: relative;
  max-height: 92dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(108, 67, 173, 0.2), transparent 17rem),
    #18181a;
  box-shadow: 0 -18px 70px rgba(0, 0, 0, 0.55);
  padding: 30px 20px calc(28px + var(--safe-bottom));
}

.sheet-handle {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 42px;
  height: 4px;
  translate: -50% 0;
  border-radius: 4px;
  background: #5b5960;
}

.sheet-close {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 0 -38px auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(28, 28, 31, 0.88);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.sheet-media {
  display: grid;
  min-height: 210px;
  max-height: 34dvh;
  place-items: center;
  padding: 6px 24px 16px;
}

.sheet-media img {
  width: 100%;
  height: min(310px, 31dvh);
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.45));
}

.sheet-media.is-placeholder {
  min-height: 96px;
  color: var(--purple-bright);
  font-size: 24px;
  font-weight: 850;
}

.sheet-category {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheet-heading {
  padding-right: 46px;
}

.sheet-heading h2 {
  margin: 0;
  color: white;
  font-size: clamp(27px, 8vw, 38px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-wrap: balance;
}

.sheet-heading h2.has-long-word {
  font-size: clamp(19px, 5.8vw, 28px);
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sheet-korean {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 8px 0 0;
  color: #c6c2ca;
  font-size: 14px;
  font-weight: 650;
}

.sheet-korean small {
  color: #817e87;
  font-size: 10px;
}

.sheet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.sheet-description {
  margin: 18px 0;
  color: #d3d0d5;
  font-size: 14px;
  line-height: 1.58;
}

.sheet-detail-group {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.sheet-detail-group h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.option-list,
.variant-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.option-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px 12px;
  color: var(--muted-strong);
  font-size: 12px;
}

.variant-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  border-left: 2px solid var(--purple);
  background: rgba(108, 67, 173, 0.08);
  padding: 11px 12px;
}

.variant-list strong {
  font-size: 13px;
}

.variant-list span {
  color: white;
  font-size: 13px;
  font-weight: 820;
}

.variant-list p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.sheet-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
}

.sheet-price-row small {
  color: var(--muted);
  font-size: 11px;
}

.sheet-price {
  color: white;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.app-loader {
  display: none;
}

.js .app-loader {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(108, 67, 173, 0.24), transparent 13rem),
    radial-gradient(circle at 66% 62%, rgba(154, 157, 49, 0.08), transparent 14rem),
    #0c0c0e;
  animation: loader-failsafe 420ms 2.45s forwards;
}

.js .app-loader::before,
.js .app-loader::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.js .app-loader::before {
  width: min(88vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(149, 89, 231, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(149, 89, 231, 0.025),
    0 0 0 78px rgba(149, 89, 231, 0.018);
  animation: loader-halo-in 900ms var(--ease-out) both;
}

.js .app-loader::after {
  inset: 0;
  opacity: 0.24;
  background-image:
    radial-gradient(circle, rgba(154, 157, 49, 0.8) 0 1.4px, transparent 1.8px),
    radial-gradient(circle, rgba(149, 89, 231, 0.75) 0 1px, transparent 1.5px);
  background-position: 22px 42px, 86px 18px;
  background-size: 112px 136px, 164px 192px;
  mask-image: radial-gradient(circle at center, black 0 28%, transparent 70%);
  animation: loader-grain-drift 2.4s ease-in-out infinite alternate;
}

.loader-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(82vw, 310px);
  justify-items: center;
  transform: translateY(-2vh);
}

.loader-stage {
  position: relative;
  display: grid;
  width: 150px;
  height: 156px;
  place-items: end center;
}

.loader-seal {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  display: grid;
  width: 67px;
  height: 94px;
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(155deg, #794cc1, #5c329d);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  animation: loader-seal-in 660ms 90ms var(--ease-out) both;
}

.loader-seal span:first-child {
  align-self: end;
  transform: translateY(2px);
}

.loader-seal span:last-child {
  align-self: start;
  transform: translateY(-2px);
}

.loader-steam {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 15px;
  width: 120px;
  height: 62px;
  fill: none;
  stroke: rgba(240, 233, 247, 0.72);
  stroke-linecap: round;
  stroke-width: 2;
}

.loader-steam path {
  opacity: 0;
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
  animation: loader-steam-rise 1.12s 180ms var(--ease-out) infinite;
}

.loader-steam path:nth-child(2) {
  animation-delay: 320ms;
}

.loader-steam path:nth-child(3) {
  animation-delay: 460ms;
}

.loader-plate {
  position: absolute;
  z-index: 3;
  bottom: 0;
  width: 150px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: rgba(247, 246, 244, 0.76);
  stroke-linecap: round;
  stroke-width: 2;
}

.loader-plate path {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: loader-line-draw 620ms 20ms var(--ease-out) both;
}

.loader-plate path:last-child {
  animation-delay: 160ms;
}

.loader-wordmark {
  display: grid;
  justify-items: center;
  margin-top: 18px;
}

.loader-wordmark strong {
  clip-path: inset(0 100% 0 0);
  color: white;
  font-size: 37px;
  font-weight: 520;
  letter-spacing: 0.055em;
  line-height: 1;
  animation: loader-name-in 620ms 360ms var(--ease-out) both;
}

.loader-wordmark span {
  margin-top: 8px;
  color: #b94aae;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  animation: loader-sub-in 440ms 620ms var(--ease-out) both;
}

.loader-progress {
  width: 106px;
  height: 2px;
  margin-top: 21px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-bright), var(--pink), var(--olive));
  transform: scaleX(0);
  transform-origin: left center;
  animation: loader-progress-in 1s 260ms var(--ease-out) both;
}

.loader-content p {
  margin: 11px 0 0;
  color: #8f8b94;
  font-size: 10px;
  font-weight: 730;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: loader-copy-in 420ms 720ms var(--ease-out) both;
}

.js .app-loader.is-leaving {
  animation: loader-out 380ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

.js .app-loader.is-skip {
  display: none;
}

.noscript {
  position: fixed;
  z-index: 1000;
  inset: auto 12px 12px;
  margin: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  padding: 14px;
  font-size: 13px;
}

@keyframes loader-halo-in {
  from { opacity: 0; transform: scale(0.76); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loader-grain-drift {
  from { transform: translate3d(-3px, -4px, 0); }
  to { transform: translate3d(4px, 3px, 0); }
}

@keyframes loader-seal-in {
  from { opacity: 0; clip-path: inset(100% 0 0); transform: translateY(18px) scale(0.96); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0) scale(1); }
}

@keyframes loader-steam-rise {
  0% { opacity: 0; stroke-dashoffset: 52; transform: translateY(7px); }
  35% { opacity: 0.78; }
  74% { opacity: 0.5; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: -20; transform: translateY(-8px); }
}

@keyframes loader-line-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes loader-name-in {
  to { clip-path: inset(0); }
}

@keyframes loader-sub-in {
  from { opacity: 0; letter-spacing: 0.54em; transform: translateY(6px); }
  to { opacity: 1; letter-spacing: 0.42em; transform: translateY(0); }
}

@keyframes loader-progress-in {
  0% { transform: scaleX(0); }
  70%, 100% { transform: scaleX(1); }
}

@keyframes loader-copy-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-out {
  to { opacity: 0; visibility: hidden; transform: scale(1.025); pointer-events: none; }
}

@keyframes loader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sheet-out {
  to { opacity: 0; transform: translateY(30px); }
}

@keyframes backdrop-out {
  to { opacity: 0; }
}

@media (min-width: 560px) {
  .app-shell {
    border-inline: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
  }

  .dish-card {
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 22px;
    min-height: 190px;
  }

  .dish-media {
    height: 162px;
  }

  .dish-title {
    font-size: 21px;
  }

  .dish-description {
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .dish-list {
    padding-inline: 12px;
  }

  .dish-card {
    min-height: 158px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding-block: 12px;
  }

  .dish-media {
    height: 122px;
  }

  .dish-media.is-wide img {
    inset: 6px 0;
    width: 100%;
    height: calc(100% - 12px);
  }

  .dish-description {
    -webkit-line-clamp: 2;
  }

  .category-count {
    display: none;
  }
}

@media (max-width: 359px) {
  .header-logo {
    width: 142px;
  }

  .header-label {
    flex: 0 1 88px;
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .search-field input {
    font-size: 13.5px;
  }

  .dish-card {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
  }

  .dish-media {
    height: 116px;
  }

  .dish-title {
    font-size: 16px;
  }
}

@media (max-width: 300px) {
  .sheet-heading {
    padding-right: 0;
  }
}

/*
 * Ultra-compact composition for narrow in-app browsers. This is deliberately
 * separate from the regular mobile layout: it keeps the complete product row
 * readable instead of allowing the old 280px canvas to be cropped.
 */
@media (max-width: 279px) {
  .app-header,
  .header-inner {
    min-height: 60px;
  }

  .header-inner {
    gap: 8px;
    padding: 6px 10px;
  }

  .header-logo {
    width: 124px;
    height: 46px;
  }

  .header-label {
    display: none;
  }

  main {
    padding-bottom: calc(92px + var(--safe-bottom));
  }

  .discovery {
    padding: 12px 0 7px;
  }

  .menu-search {
    padding-inline: 10px;
  }

  .search-field {
    min-height: 48px;
    grid-template-columns: 28px minmax(0, 1fr) 38px;
    border-radius: 14px;
  }

  .search-field > svg {
    width: 20px;
    height: 20px;
  }

  .search-field input {
    height: 46px;
    padding: 0 4px 0 8px;
    font-size: 12px;
  }

  .search-clear {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .search-status {
    min-height: 18px;
    padding-top: 5px;
    font-size: 9.5px;
  }

  .category-heading {
    gap: 8px;
    padding: 10px 10px 8px;
  }

  .eyebrow {
    font-size: 8px;
  }

  .category-heading h2 {
    font-size: 17px;
  }

  .category-hint {
    font-size: 9px;
  }

  .category-highlights {
    gap: 6px;
    padding: 0 10px 9px;
    scroll-padding-inline: 10px;
  }

  .highlight-button {
    flex-basis: 58px;
    min-width: 58px;
    min-height: 82px;
  }

  .highlight-ring {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
  }

  .highlight-inner {
    width: 47px;
    height: 47px;
  }

  .highlight-inner img {
    width: 43px;
    height: 43px;
  }

  .highlight-mark {
    font-size: 11px;
  }

  .highlight-label {
    min-height: 22px;
    font-size: 9px;
  }

  .menu-category {
    scroll-margin-top: 66px;
    padding: 6px 0 16px;
  }

  .menu-category::before {
    right: -6px;
    font-size: 58px;
    opacity: 0.65;
  }

  .menu-category::after {
    width: 84px;
    height: 112px;
    opacity: 0.13;
    background-size: 17px 17px;
  }

  .category-banner {
    min-height: 78px;
    gap: 8px;
    margin: 0 0 3px;
    padding: 18px 12px 17px;
  }

  .category-banner::after {
    right: 12px;
    bottom: 10px;
    width: 38px;
    height: 3px;
  }

  .category-banner h2 {
    max-width: 100%;
    font-size: 20px;
    line-height: 0.98;
  }

  .banner-copy span {
    font-size: 7.5px;
  }

  .category-note {
    margin-inline: 10px;
    padding-left: 8px;
    font-size: 10px;
  }

  .dish-list {
    padding-inline: 8px;
  }

  .dish-card {
    min-height: 124px;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
    padding-block: 10px;
  }

  .dish-media {
    height: 90px;
  }

  .dish-media::before {
    width: 110%;
    height: 68%;
    border-color: rgba(149, 89, 231, 0.055);
    box-shadow: none;
    opacity: 0.72;
  }

  .dish-card:nth-child(even) .dish-media::before {
    border-color: rgba(154, 157, 49, 0.055);
  }

  .dish-media::after {
    display: none;
  }

  .dish-media img,
  .dish-media.is-tall img {
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
  }

  .dish-media.is-wide img {
    inset: 5px 0;
    width: 100%;
    height: calc(100% - 10px);
  }

  .dish-copy {
    padding-right: 0;
  }

  .js .dish-card.is-pending .dish-copy {
    transform: translate3d(8px, 6px, 0);
  }

  .dish-flags {
    min-height: 14px;
    gap: 3px;
    margin-bottom: 3px;
  }

  .dish-korean {
    font-size: 9.5px;
  }

  .badge {
    min-height: 15px;
    padding: 2px 4px;
    font-size: 6.8px;
  }

  .dish-title,
  .dish-title.has-long-word {
    font-size: 14px;
    letter-spacing: -0.045em;
    line-height: 1.06;
  }

  .dish-romanization {
    margin-top: 2px;
    font-size: 8px;
  }

  .dish-description {
    margin: 5px 0 7px;
    font-size: 10.5px;
    line-height: 1.34;
    -webkit-line-clamp: 2;
  }

  .dish-meta {
    gap: 5px;
  }

  .dish-price {
    font-size: 16px;
  }

  .dish-unit {
    font-size: 8px;
  }

  .dish-open {
    font-size: 14px;
  }

  .dish-card.is-text-only {
    min-height: 76px;
    padding: 10px 2px;
  }

  .dish-card.is-text-only .dish-copy {
    gap: 4px 8px;
  }

  .dish-card.is-text-only .dish-title {
    font-size: 14px;
  }

  .app-footer {
    padding: 28px 12px 24px;
  }

  .app-footer > img {
    width: 150px;
    height: 64px;
  }

  .app-dock {
    bottom: max(6px, var(--safe-bottom));
    width: calc(100% - 12px);
    min-height: 58px;
    border-radius: 18px;
    padding: 4px;
  }

  .app-dock button {
    min-height: 48px;
    gap: 0;
    border-radius: 10px;
    padding: 2px;
  }

  .dock-icon {
    width: 29px;
    height: 29px;
    border-radius: 10px;
  }

  .dock-icon svg {
    width: 18px;
    height: 18px;
  }

  .dock-label {
    font-size: 8px;
  }

  .product-sheet {
    border-radius: 22px 22px 0 0;
    padding: 26px 14px calc(22px + var(--safe-bottom));
  }

  .sheet-close {
    width: 38px;
    height: 38px;
    margin-bottom: -34px;
  }

  .sheet-media {
    min-height: 150px;
    padding: 4px 10px 12px;
  }

  .sheet-media img {
    height: min(220px, 27dvh);
  }

  .sheet-heading h2 {
    font-size: 23px;
  }

  .sheet-heading h2.has-long-word {
    font-size: 17px;
  }

  .sheet-description {
    font-size: 12px;
  }

  .option-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .sheet-price-row {
    gap: 8px;
  }

  .sheet-price {
    font-size: 23px;
  }
}

/* At extreme embedded-browser widths, clarity wins over side-by-side density. */
@media (max-width: 219px) {
  .header-inner {
    padding-inline: 8px;
  }

  .header-logo {
    width: 116px;
  }

  .menu-search {
    padding-inline: 8px;
  }

  .search-field {
    min-height: 44px;
    grid-template-columns: 24px minmax(0, 1fr) 34px;
    border-radius: 13px;
  }

  .search-field > svg {
    width: 18px;
    height: 18px;
  }

  .search-field input {
    height: 42px;
    padding-left: 6px;
    font-size: 11px;
  }

  .search-clear {
    width: 32px;
    height: 32px;
  }

  .category-heading {
    padding-inline: 8px;
  }

  .category-hint {
    display: none;
  }

  .category-highlights {
    padding-inline: 8px;
    scroll-padding-inline: 8px;
  }

  .highlight-button {
    flex-basis: 54px;
    min-width: 54px;
  }

  .category-banner {
    min-height: 74px;
    padding: 16px 10px;
  }

  .category-banner h2 {
    font-size: 18px;
  }

  .category-note {
    margin-inline: 8px;
  }

  .dish-list {
    padding-inline: 6px;
  }

  .dish-card {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 4px;
    padding-block: 12px 13px;
  }

  .dish-media {
    width: 100%;
    height: 118px;
  }

  .dish-media::before {
    width: 82%;
    height: 74%;
  }

  .dish-media img,
  .dish-media.is-tall img {
    inset: 4px 12px;
    width: calc(100% - 24px);
    height: calc(100% - 8px);
  }

  .dish-media.is-wide img {
    inset: 5px 4px;
    width: calc(100% - 8px);
    height: calc(100% - 10px);
  }

  .dish-copy {
    width: 100%;
    padding-inline: 4px;
  }

  .js .dish-card.is-pending .dish-copy {
    transform: translate3d(0, 7px, 0);
  }

  .dish-title,
  .dish-title.has-long-word {
    font-size: 14.5px;
  }

  .dish-description {
    -webkit-line-clamp: 3;
  }

  .dish-card.is-text-only .dish-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "flags"
      "heading"
      "description"
      "meta";
  }

  .dish-card.is-text-only .dish-meta {
    justify-self: start;
  }

  .app-dock {
    width: calc(100% - 8px);
    padding-inline: 3px;
  }

  .app-dock button {
    min-width: 0;
  }

  .dock-label {
    font-size: 7.5px;
  }

  .app-footer {
    padding-inline: 10px;
  }

  .app-footer > img {
    width: 132px;
  }

  .product-sheet {
    padding-inline: 10px;
  }

  .sheet-media {
    min-height: 132px;
    padding-inline: 6px;
  }

  .sheet-media img {
    height: min(184px, 25dvh);
  }

  .sheet-heading h2 {
    font-size: 20px;
  }

  .sheet-heading h2.has-long-word {
    font-size: 16px;
  }

  .sheet-description {
    font-size: 11.5px;
  }

  .variant-list li {
    grid-template-columns: minmax(0, 1fr);
  }

  .variant-list span {
    justify-self: start;
  }

  .sheet-price-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Complete source photos keep their real plates, baskets and original framing. */
.dish-media.is-original-photo::before,
.dish-media.is-original-photo::after {
  display: none;
}

.dish-media.is-original-photo img {
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  border-radius: 10px;
  filter: none;
}

.dish-card:hover .dish-media.is-original-photo img {
  transform: none;
  filter: none;
}

.sheet-media.is-original-photo {
  padding: 12px 8px 20px;
  max-height: none;
}

.sheet-media.is-original-photo img {
  max-width: 420px;
  height: min(340px, 36dvh);
  object-fit: contain;
  border-radius: 14px;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .dish-card.is-pending {
    opacity: 1;
    transform: none;
  }

  .js .dish-card.is-pending .dish-media,
  .js .dish-card.is-pending .dish-copy,
  .js .menu-category .category-banner {
    opacity: 1;
    transform: none;
  }
}
