:root {
  --red: #f10a0a;
  --deep-red: #7d1111;
  --ink: #181412;
  --muted: #6c625e;
  --paper: #fffaf4;
  --line: #eadfd5;
  --warm: #ffd8b3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f3ece4;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.menu-app {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
}

.restaurant-home {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 28px 26px 34px;
  color: #fff;
  background: #160d0b;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.restaurant-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.36) 38%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 50% 48%, rgba(255, 20, 10, 0.2), transparent 38%);
  pointer-events: none;
  z-index: 0;
}

.restaurant-home::after {
  content: "";
  position: absolute;
  inset: auto -18px -1px;
  height: 74px;
  background: rgba(255, 250, 244, 0.97);
  clip-path: ellipse(72% 64% at 50% 100%);
  pointer-events: none;
  z-index: 0;
}

.home-bg,
.home-bg img {
  position: absolute;
  inset: 0;
}

.home-bg {
  z-index: 0;
}

.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(0.9) brightness(0.42) blur(9px);
  transform: scale(1.16);
  animation: homePhoto 18s infinite;
}

.home-bg img:nth-child(2) {
  animation-delay: 6s;
}

.home-bg img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes homePhoto {
  0%,
  28% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
  }
}

.home-link-row {
  align-self: start;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(5, 34px);
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 1;
}

.home-link-row a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.32));
}

.home-link-row svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-link-row .icon-fill {
  fill: currentColor;
  stroke: none;
}

.home-link-row .home-address-link {
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-logo-stage {
  width: min(62vw, 282px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--red);
  border: 8px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  position: relative;
  z-index: 1;
}

.logo-mark {
  width: 82%;
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 8px;
  color: #fff;
  line-height: 0.88;
}

.restaurant-home .logo-main,
.restaurant-home .logo-sub {
  font-family:
    Impact, Haettenschweiler, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  color: #fff;
}

.restaurant-home .logo-main {
  grid-column: 1 / 2;
  font-size: clamp(76px, 20vw, 112px);
}

.restaurant-home .logo-chinese {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: center;
  width: clamp(78px, 18vw, 104px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 14px solid #fff;
  border-radius: 999px;
  font-size: clamp(25px, 6vw, 34px);
  line-height: 0.92;
  color: #fff;
}

.restaurant-home .logo-sub {
  grid-column: 1 / 3;
  font-size: clamp(58px, 15vw, 82px);
  justify-self: center;
  color: #fff;
}

.restaurant-home p,
.restaurant-home h1,
.restaurant-home strong,
.restaurant-home span {
  margin: 0;
  position: relative;
  z-index: 1;
}

.restaurant-home p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-transform: uppercase;
}

.restaurant-home h1 {
  font-size: 38px;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.restaurant-home strong {
  color: #fff;
  font-size: 24px;
  letter-spacing: 0;
}

.restaurant-home span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.home-hours-card {
  display: grid;
  gap: 3px;
  justify-self: center;
  width: min(100%, 320px);
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.home-hours-card b {
  color: #fff;
  font-size: 13px;
}

.home-hours-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.home-feature-grid div {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.home-feature-grid b {
  color: #fff;
  font-size: 13px;
}

.home-feature-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.25;
}

.language-caption {
  margin-top: 8px;
  font-weight: 700;
}

.home-language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.home-language-grid button {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.home-meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.menu-content[hidden],
.restaurant-home[hidden] {
  display: none;
}

.menu-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 20px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 210, 160, 0.16), transparent 24%),
    linear-gradient(135deg, #1d1715, #651111 58%, var(--red));
}

.brand-mini,
.qr-logo {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.brand-mini span,
.brand-mini b {
  font-family:
    Impact, Haettenschweiler, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  line-height: 0.82;
}

.brand-mini small {
  margin-top: -12px;
  font-size: 11px;
  font-weight: 800;
  line-height: 0.92;
}

.brand-mini b {
  margin-top: -10px;
  font-size: 14px;
  color: inherit;
}

.qr-logo-stage {
  width: 150px;
  margin: 0 auto;
  border-width: 6px;
}

.qr-logo-stage .logo-main {
  font-size: 58px;
}

.qr-logo-stage .logo-chinese {
  width: 58px;
  border-width: 8px;
  font-size: 19px;
}

.qr-logo-stage .logo-sub {
  font-size: 42px;
}

.menu-hero p,
.menu-hero h1 {
  margin: 0;
}

.menu-hero p,
.menu-hero span,
.dish-card p,
.menu-footer,
.qr-page p {
  color: var(--muted);
}

.menu-hero p,
.menu-hero span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.menu-hero h1 {
  margin: 4px 0;
  font-size: 30px;
  letter-spacing: 0;
}

.language-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 12px 0;
  background: var(--paper);
}

.language-toggle button {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.language-toggle button.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.service-switch {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: rgba(255, 250, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.service-switch a {
  display: grid;
  gap: 3px;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.service-switch a.active {
  color: #fff;
  background: #27211d;
  border-color: #27211d;
  box-shadow: 0 10px 22px rgba(30, 22, 18, 0.14);
}

.service-switch small {
  color: inherit;
  opacity: 0.72;
  font-size: 11px;
  line-height: 1.1;
}

.service-switch span {
  color: inherit;
  font-size: 14px;
  line-height: 1.15;
}

.set-menu-block {
  padding-bottom: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(237, 27, 36, 0.07), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #fff6ef 100%);
}

.set-menu-intro {
  margin: 0 18px 14px;
  color: #7a5b4b;
  font-size: 13px;
  line-height: 1.45;
}

.set-menu-grid {
  display: grid;
  gap: 14px;
  padding: 0 18px 8px;
}

.set-menu-card {
  overflow: hidden;
  border: 1px solid #ead8cd;
  border-left: 5px solid var(--set-accent, var(--red));
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(43, 31, 25, 0.10);
}

.set-menu-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.set-menu-copy {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.set-menu-copy span,
.set-menu-copy h3,
.set-menu-copy ul {
  margin: 0;
}

.set-menu-copy span {
  color: #8a6d5f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.set-menu-copy h3 {
  margin-top: 3px;
  color: #251d19;
  font-size: 22px;
  line-height: 1.05;
}

.set-menu-copy ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.set-menu-copy li {
  position: relative;
  padding-left: 16px;
  color: #473a34;
  font-size: 14px;
  line-height: 1.35;
}

.set-menu-copy li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--set-accent, var(--red));
}

.set-menu-copy > strong {
  justify-self: end;
  min-width: 108px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-size: 20px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 20px rgba(237, 27, 36, 0.18);
}

.notice {
  margin: 16px 18px 0;
  padding: 14px;
  border: 1px solid #f1c2b8;
  border-radius: 8px;
  background: #fff1ee;
}

.notice strong,
.notice p {
  margin: 0;
}

.notice p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.service-block {
  padding-top: 18px;
}

.dinner-block {
  margin-top: 18px;
  background: #fff6ef;
}

.service-title {
  padding: 20px 18px 8px;
}

.service-title p,
.service-title h2 {
  margin: 0;
}

.service-title p {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-title h2 {
  margin-top: 4px;
  font-size: 28px;
}

.service-title span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.menu-section {
  padding: 14px 18px 4px;
}

.menu-section h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.menu-paper-section {
  padding-top: 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 76px;
  align-items: end;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #211b18;
}

.section-heading p,
.section-heading h3 {
  margin: 0;
}

.section-heading p {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h3 {
  font-size: 23px;
  letter-spacing: 0;
  text-align: right;
}

.section-photo {
  width: 76px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 0 12px 24px rgba(45, 34, 28, 0.16);
}

.dish-card-list {
  display: block;
  padding: 15px 0 18px;
}

.dish-card h4 span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.menu-english {
  display: none;
}

.dish-options {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.dish-options li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  color: #2d2521;
  font-size: 13px;
  line-height: 1.28;
}

.dish-options li::before {
  content: "";
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: end;
  border-bottom: 1px dotted #d9cbc0;
  transform: translateY(-4px);
  z-index: 0;
}

.dish-options span,
.dish-options strong {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.dish-options span {
  padding-right: 6px;
}

.dish-options strong {
  padding-left: 6px;
  color: var(--red);
  font-size: 14px;
  white-space: nowrap;
}

.two-price strong {
  font-size: 12px;
}

.compact-dish {
  padding: 14px 0;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 0 6px;
}

.extra-grid span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #302824;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
}

.extra-grid b {
  color: var(--red);
}

.menu-legend {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.highlight-section {
  padding-bottom: 14px;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.difference-grid span {
  padding: 10px;
  border-radius: 8px;
  color: #7e160f;
  background: #fff;
  border: 1px solid #f0d7d0;
  font-size: 12px;
  font-weight: 700;
}

.dish-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.dish-card h4,
.dish-card p {
  margin: 0;
}

.dish-card h4 {
  font-size: 17px;
}

.dish-card p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.dish-card strong {
  color: var(--red);
  font-size: 18px;
}

.menu-footer {
  padding: 24px 18px 32px;
  font-size: 13px;
  text-align: center;
}

.contact-card {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: left;
}

.contact-card h2,
.contact-card h3,
.contact-card p {
  margin: 0;
}

.contact-card h2,
.contact-card h3 {
  color: var(--red);
  font-size: 20px;
}

.contact-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.contact-card a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.contact-links a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(44, 35, 30, 0.16);
  border-radius: 999px;
  color: #342b27;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
}

.contact-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-links .icon-hole,
.contact-links .icon-cutout,
.contact-links .icon-pin {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-links .icon-fill {
  fill: currentColor;
  stroke: none;
}

.qr-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(241, 10, 10, 0.08), transparent 32%),
    var(--paper);
  text-align: center;
}

.qr-eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.qr-page h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
}

.qr-subtitle {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.qr-image {
  width: min(80vw, 330px);
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(60, 40, 30, 0.14);
}

.qr-actions {
  display: grid;
  gap: 6px;
}

.qr-actions a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.qr-actions span {
  color: var(--muted);
  font-size: 12px;
}

.qr-contact {
  width: min(100%, 360px);
  margin: 0;
  text-align: center;
}

.qr-page p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 380px) {
  .restaurant-home {
    padding: 22px;
  }

  .restaurant-home h1 {
    font-size: 40px;
  }

  .home-language-grid,
  .language-toggle {
    gap: 6px;
  }

  .home-language-grid button,
  .language-toggle button {
    font-size: 13px;
  }
}

@media print {
  body {
    background: #fff;
  }

  .menu-app,
  .qr-page {
    width: 100%;
    min-height: auto;
  }

  .qr-page {
    padding: 18mm 12mm;
  }

  .qr-actions a {
    display: none;
  }
}
