:root {
  color-scheme: light;
  --navy: #4d2d29;
  --navy-soft: #6f4942;
  --berry: #ed7783;
  --berry-dark: #c95260;
  --sun: #f4c979;
  --paper: #fffdf8;
  --cream: #fff0ce;
  --ink-soft: #80655f;
  --line: #ead8cf;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 26, 44, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 8% 5%, rgba(244,201,121,.28), transparent 24rem),
    radial-gradient(circle at 92% 24%, rgba(156,222,219,.2), transparent 22rem),
    linear-gradient(180deg, #fffaf0 0, var(--paper) 22rem);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
button, input, textarea { font: inherit; }
button { color: inherit; }

.site-shell { min-height: 100vh; padding-bottom: 92px; }
.topbar {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px 16px 16px 5px; color: #fff; background: var(--berry); font-weight: 900; font-size: 24px; transform: rotate(-4deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; line-height: 1.25; }
.brand small { color: var(--ink-soft); font-size: 12px; margin-top: 2px; }
.cart-pill { min-height: 44px; border: 1px solid rgba(16,26,44,.12); border-radius: 999px; padding: 8px 16px; background: rgba(255,255,255,.82); cursor: pointer; box-shadow: 0 8px 24px rgba(16,26,44,.06); }
.cart-pill strong { margin: 0 4px; font-size: 19px; color: var(--berry-dark); }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.view[hidden] { display: none; }
.hero { min-height: 470px; display: grid; grid-template-columns: 1.04fr .96fr; overflow: hidden; border-radius: 34px; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.hero-copy { padding: 64px 30px 54px 64px; align-self: center; position: relative; z-index: 1; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--berry); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.hero .eyebrow { color: var(--sun); }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 22px; }
h2 { font-size: clamp(25px, 3.2vw, 40px); line-height: 1.2; margin-bottom: 0; letter-spacing: -.025em; }
.hero p { max-width: 540px; color: #d9deea; font-size: 18px; }
.primary-button { min-height: 52px; border: 0; border-radius: 14px; padding: 12px 22px; color: #fff; background: var(--berry); font-weight: 800; cursor: pointer; box-shadow: 0 9px 0 var(--berry-dark); transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 var(--berry-dark); }
.primary-button:active { transform: translateY(5px); box-shadow: 0 4px 0 var(--berry-dark); }
.hero-media { min-height: 430px; position: relative; padding: 24px; display: grid; place-items: center; background: #9cdedb; }
.hero-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: 24px 24px 24px 7px; border: 7px solid #fff; box-shadow: 0 20px 45px rgba(77,45,41,.18); }
.hero-sticker { position: absolute; right: 18px; bottom: 22px; padding: 12px 17px; color: var(--navy); background: var(--sun); border: 2px solid var(--navy); border-radius: 17px 17px 6px 17px; transform: rotate(-3deg); box-shadow: 5px 6px 0 var(--navy); }
.hero-sticker span, .hero-sticker strong { display: block; }
.hero-sticker span { font-size: 12px; }
.hero-sticker strong { font-size: 16px; }
.section-heading { margin: 66px 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-button { border: 0; background: transparent; color: var(--berry-dark); font-weight: 800; cursor: pointer; }
.featured-grid, .dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dish-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 10px 25px rgba(16,26,44,.05); }
.dish-thumb { min-height: 168px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--cream); }
.dish-icon-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.dish-thumb .dish-icon-image { min-height: 168px; }
.dish-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.dish-card h3 { margin: 0; font-size: 20px; }
.dish-card p { margin: 8px 0 18px; color: var(--ink-soft); font-size: 14px; }
.dish-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 900; font-size: 21px; }
.price small { font-size: 13px; }
.add-button { width: 44px; height: 44px; border: 0; border-radius: 15px 15px 15px 5px; color: #fff; background: var(--berry); font-size: 25px; font-weight: 700; cursor: pointer; }
.menu-head { margin: 26px 0 28px; display: flex; align-items: end; justify-content: space-between; gap: 26px; }
.menu-head h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 0; }
.search-box { width: min(390px, 100%); min-height: 52px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; background: #fff; }
.search-box span { color: var(--berry); font-size: 23px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 16px; }
.category-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 18px; scrollbar-width: none; }
.category-tab { flex: 0 0 auto; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; background: #fff; cursor: pointer; font-weight: 700; }
.category-tab small { margin-left: 7px; color: var(--ink-soft); font-size: 11px; }
.category-tab.is-active { color: #fff; border-color: var(--navy); background: var(--navy); }
.category-tab.is-active small { color: rgba(255,255,255,.72); }
.menu-layout { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; }
.menu-note { position: sticky; top: 18px; border: 0; border-radius: 22px 22px 22px 6px; padding: 22px; color: var(--navy); background: var(--sun); transform: rotate(-1deg); }
.menu-note strong { font-size: 17px; }
.menu-note p { margin: 7px 0 0; font-size: 14px; line-height: 1.5; }
.menu-note small { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(16,26,44,.25); line-height: 1.45; }
.hotpot-builder { grid-column: 1 / -1; display: grid; gap: 26px; }
.hotpot-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: center; overflow: hidden; position: relative; padding: 30px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #4d2d29, #9f3f49); box-shadow: var(--shadow); }
.hotpot-hero::after { content: "♨"; position: absolute; right: 170px; top: -42px; color: rgba(255,255,255,.08); font-size: 180px; line-height: 1; transform: rotate(-10deg); }
.hotpot-hero .eyebrow { color: var(--sun); }
.hotpot-hero h2 { position: relative; z-index: 1; max-width: 720px; }
.hotpot-hero p { position: relative; z-index: 1; max-width: 720px; margin: 10px 0 0; color: #f5dfe1; }
.hotpot-cart-summary { min-width: 150px; position: relative; z-index: 1; border: 2px solid var(--sun); border-radius: 20px 20px 7px 20px; padding: 15px 18px; color: var(--navy); background: var(--sun); cursor: pointer; box-shadow: 5px 6px 0 rgba(16,26,44,.35); }
.hotpot-cart-summary span, .hotpot-cart-summary strong, .hotpot-cart-summary small { display: block; }
.hotpot-cart-summary strong { margin: 2px 0; font-size: 34px; }
.hotpot-cart-summary small { font-weight: 800; }
.hotpot-group { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.88); }
.hotpot-group-title { margin-bottom: 16px; display: flex; align-items: center; gap: 11px; }
.hotpot-group-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--berry); font-size: 23px; font-weight: 900; }
.hotpot-group-title h3 { margin: 0; font-size: 23px; }
.hotpot-group-title p { margin: 2px 0 0; color: var(--ink-soft); font-size: 13px; }
.hotpot-item-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.hotpot-item { min-width: 0; display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.hotpot-item-emoji { width: 72px; height: 48px; display: block; overflow: hidden; border-radius: 13px; background: var(--cream); }
.hotpot-item h4 { margin: 0 0 2px; font-size: 16px; }
.hotpot-item p { overflow: hidden; margin: 0 0 5px; color: var(--ink-soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.hotpot-item strong { color: var(--berry-dark); }
.hotpot-actions { display: grid; grid-template-columns: auto auto; gap: 6px; align-items: center; justify-items: end; }
.hotpot-actions i { grid-column: 1 / -1; min-width: 21px; height: 21px; border-radius: 11px; color: #fff; background: #31836d; font-size: 11px; font-style: normal; font-weight: 900; line-height: 21px; text-align: center; }
.hotpot-detail { border: 0; padding: 5px; color: var(--berry-dark); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.hotpot-quick-add { width: 38px; height: 38px; border: 0; border-radius: 13px 13px 13px 5px; color: #fff; background: var(--berry); cursor: pointer; font-size: 21px; }
.toast { position: fixed; left: 50%; bottom: 102px; z-index: 20; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 999px; color: #fff; background: var(--navy); box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.bottom-nav { position: fixed; left: 50%; bottom: 18px; z-index: 10; width: min(560px, calc(100% - 28px)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; border: 1px solid rgba(16,26,44,.12); border-radius: 25px; background: rgba(255,255,255,.92); box-shadow: 0 16px 42px rgba(16,26,44,.18); backdrop-filter: blur(16px); transform: translateX(-50%); }
.nav-item { min-height: 52px; position: relative; display: grid; place-items: center; gap: 0; border: 0; border-radius: 18px; background: transparent; cursor: pointer; }
.nav-item span { font-size: 21px; line-height: 1; }
.nav-item b { font-size: 12px; }
.nav-item.is-active { color: #fff; background: var(--navy); }
.nav-item i { position: absolute; top: 3px; right: 22%; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; color: #fff; background: var(--berry); font-size: 11px; font-style: normal; line-height: 18px; }
.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; color: var(--ink-soft); }
.page-heading { margin: 30px 0 28px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.page-heading h1 { margin: 0; font-size: clamp(40px, 6vw, 66px); }
.quiet-button { min-height: 44px; border: 0; padding: 8px 12px; color: var(--ink-soft); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 102px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.cart-item-food { width: 102px; height: 68px; display: block; overflow: hidden; border-radius: 16px 16px 16px 6px; background: var(--cream); }
.cart-item h3 { margin: 0 0 2px; font-size: 18px; }
.cart-item p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.cart-item-side { display: grid; justify-items: end; gap: 11px; }
.quantity-control { display: grid; grid-template-columns: 36px 30px 36px; align-items: center; text-align: center; }
.quantity-control button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 20px; }
.remove-item { border: 0; color: var(--berry-dark); background: transparent; cursor: pointer; font-size: 13px; }
.order-panel { position: sticky; top: 18px; padding: 26px; border: 2px dashed #d7a454; border-radius: 26px 26px 8px 26px; background: #fff8e5; box-shadow: var(--shadow); }
.order-panel h2 { font-size: 28px; margin-bottom: 18px; }
.field-label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 800; }
select, textarea, .profile-card input { width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; color: var(--navy); background: #fff; outline: 0; }
textarea { resize: vertical; }
select:focus, textarea:focus, input:focus { border-color: var(--berry); box-shadow: 0 0 0 3px rgba(237,119,131,.16); }
.bill-row, .bill-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bill-row { margin-top: 18px; color: var(--ink-soft); }
.bill-row.discount strong { color: #31836d; }
.bill-total { margin: 10px 0 18px; padding-top: 14px; border-top: 1px dashed #c9b98e; font-size: 18px; }
.bill-total strong { font-size: 28px; color: var(--berry-dark); }
.wide-button { width: 100%; }
.primary-button:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; transform: none; }
.order-hint { margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; text-align: center; }
.profile-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 24px; align-items: start; }
.profile-card { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 12px 30px rgba(77,45,41,.06); }
.profile-card h2 { font-size: 28px; margin-bottom: 20px; }
.profile-card label { display: block; margin-top: 14px; }
.profile-card label > span { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 800; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-character { height: 175px; margin: -16px -16px 24px; overflow: hidden; border-radius: 20px 20px 20px 6px; background: #9cdedb; }
.mini-character img { width: 100%; height: 100%; object-fit: cover; }
.secondary-button { min-height: 48px; border: 2px solid var(--navy); border-radius: 14px; padding: 10px 18px; color: var(--navy); background: var(--sun); font-weight: 800; cursor: pointer; box-shadow: 4px 5px 0 var(--navy); }
.preferences-card .secondary-button { width: 100%; margin-top: 20px; }
.history-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.order-history-list { display: grid; gap: 12px; }
.history-item { padding: 17px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; }
.history-item-head, .history-item-foot { display: flex; justify-content: space-between; gap: 14px; }
.history-item strong { font-size: 17px; }
.history-item small { color: var(--ink-soft); }
.history-item p { margin: 9px 0; color: var(--ink-soft); font-size: 14px; }
.history-item-foot { align-items: center; }
.history-item-foot button { border: 0; color: var(--berry-dark); background: transparent; font-weight: 800; cursor: pointer; }
.history-empty { padding: 60px 20px; text-align: center; color: var(--ink-soft); }
dialog { max-width: none; border: 0; padding: 0; background: transparent; }
dialog::backdrop { background: rgba(49,29,27,.62); backdrop-filter: blur(4px); }
.dish-dialog { width: min(820px, calc(100% - 28px)); border-radius: 28px; }
.dialog-shell { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px rgba(49,29,27,.25); }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.9); cursor: pointer; font-size: 28px; }
.dialog-food { min-height: 480px; display: grid; place-items: center; overflow: hidden; background: #9cdedb; }
.dialog-food .dish-icon-image { min-height: 480px; }
.dialog-content { padding: 38px 34px 30px; }
.dialog-content h2 { margin-bottom: 6px; font-size: 34px; }
.dialog-content > p { color: var(--ink-soft); }
fieldset { min-width: 0; margin: 20px 0 0; border: 0; padding: 0; }
legend, .dialog-note > span { margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chip span { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 7px 13px; background: #fff; cursor: pointer; }
.choice-chip input:checked + span { color: #fff; border-color: var(--navy); background: var(--navy); }
.choice-chip input:focus-visible + span { outline: 3px solid rgba(237,119,131,.35); outline-offset: 2px; }
.dialog-note { display: block; margin-top: 20px; }
.dialog-note input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.dialog-submit { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dialog-submit > strong { color: var(--berry-dark); font-size: 28px; }
.success-dialog { width: min(480px, calc(100% - 28px)); border-radius: 28px; }
.success-content { padding: 40px; border-radius: 28px; text-align: center; background: #fffdf8; box-shadow: 0 30px 80px rgba(49,29,27,.25); }
.success-face { display: block; margin-bottom: 12px; color: var(--berry-dark); font-size: 38px; font-weight: 900; }
.success-content h2 { font-size: 34px; }
.success-content p { color: var(--ink-soft); }
.success-actions { margin-top: 24px; display: flex; justify-content: center; gap: 14px; }
.admin-entry-button { width: 100%; min-height: 64px; margin-top: 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; padding: 10px 14px; color: var(--navy); background: #f5fbfa; cursor: pointer; text-align: left; }
.admin-entry-button > span:first-child { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: #fff; background: var(--navy); font-size: 21px; }
.admin-entry-button strong, .admin-entry-button small { display: block; }
.admin-entry-button small { color: var(--ink-soft); font-size: 12px; }
.admin-heading h1 { color: var(--navy); }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.admin-stats > div { padding: 19px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(77,45,41,.05); }
.admin-stats span, .admin-stats strong { display: block; }
.admin-stats span { color: var(--ink-soft); font-size: 13px; }
.admin-stats strong { margin-top: 4px; font-size: 26px; line-height: 1.2; }
.admin-layout { display: grid; gap: 22px; }
.admin-panel { padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 12px 32px rgba(77,45,41,.05); }
.admin-panel-head { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.admin-panel h2 { margin: 0; font-size: 28px; }
.admin-form { margin-bottom: 24px; padding: 20px; border: 1px dashed #d7a454; border-radius: 19px; background: #fffaf0; }
.admin-form-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr .65fr .45fr; gap: 12px; }
.admin-form label > span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 800; }
.admin-form input, .admin-form select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; background: #fff; }
.admin-desc-field { grid-column: 1 / -1; }
.admin-switches { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 18px; }
.admin-switches label { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.admin-switches input { width: 18px; min-height: 18px; accent-color: var(--berry-dark); }
.admin-form-actions { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.admin-list-tools { margin-bottom: 14px; display: grid; grid-template-columns: minmax(220px,1fr) minmax(150px,.35fr) auto; gap: 10px; align-items: center; }
.admin-list-tools input, .admin-list-tools select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; background: #fff; }
.admin-list-tools > span { color: var(--ink-soft); font-size: 13px; font-weight: 800; text-align: right; }
.admin-dish-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.admin-dish-row { min-width: 0; display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.admin-dish-row.is-inactive { opacity: .65; background: #f4f1ee; }
.admin-dish-icon { width: 72px; height: 48px; display: block; overflow: hidden; border-radius: 12px; background: var(--cream); }
.admin-dish-info { min-width: 0; }
.admin-dish-info strong, .admin-dish-info small { display: block; }
.admin-dish-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-dish-info small { color: var(--ink-soft); font-size: 12px; }
.admin-row-actions { display: flex; flex-direction: column; gap: 4px; }
.admin-row-actions button { border: 0; padding: 3px 6px; color: var(--berry-dark); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-row-actions button[data-admin-action="toggle"] { color: #287c68; }
.admin-order-list { display: grid; gap: 12px; }
.admin-order-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fffdf8; }
.admin-order-row h3 { margin: 0 0 4px; font-size: 17px; }
.admin-order-row p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.admin-order-side { min-width: 150px; display: grid; justify-items: end; gap: 7px; }
.admin-order-side select { min-height: 40px; padding: 6px 9px; font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 12px; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0a737; }
.admin-empty { padding: 42px 18px; color: var(--ink-soft); text-align: center; border: 1px dashed var(--line); border-radius: 17px; }
.admin-list-empty { grid-column: 1 / -1; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 34px 20px; }
  .hero-media { min-height: 260px; }
  .hero-media img { min-height: 240px; }
  .featured-grid, .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotpot-item-grid { grid-template-columns: 1fr; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-note { position: static; }
  .cart-layout, .profile-grid { grid-template-columns: 1fr; }
  .order-panel { position: static; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-list-tools { grid-template-columns: 1fr 1fr; }
  .admin-list-tools > span { grid-column: 1 / -1; text-align: left; }
  .admin-dish-list { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .topbar, main { width: min(100% - 24px, 1180px); }
  .topbar { height: 74px; }
  .brand small { display: none; }
  .cart-pill { padding: 7px 12px; }
  .hero { min-height: 0; border-radius: 25px; }
  .hero-copy { padding: 38px 24px 18px; }
  .hero p { font-size: 16px; }
  .hero-media { min-height: 220px; padding: 14px; }
  .hero-media img { min-height: 210px; }
  .section-heading { margin-top: 44px; }
  .featured-grid, .dish-grid { grid-template-columns: 1fr; gap: 14px; }
  .dish-card { flex-direction: row; border-radius: 19px; }
  .dish-thumb { flex: 0 0 126px; min-height: 148px; }
  .dish-thumb .dish-icon-image { min-height: 148px; }
  .dish-card-body { padding: 15px; }
  .menu-head { align-items: stretch; flex-direction: column; }
  .menu-head h1 { margin-bottom: 0; }
  .search-box { width: 100%; }
  .hotpot-hero { grid-template-columns: 1fr; padding: 23px; }
  .hotpot-cart-summary { width: 100%; }
  .hotpot-group { padding: 15px; }
  .hotpot-item { grid-template-columns: 68px minmax(0,1fr); }
  .hotpot-item-emoji { width: 68px; height: 46px; }
  .hotpot-actions { grid-column: 1 / -1; width: 100%; grid-template-columns: auto 1fr auto; }
  .hotpot-actions i { grid-column: auto; }
  .hotpot-detail { justify-self: end; }
  .cart-item { grid-template-columns: 88px minmax(0,1fr); }
  .cart-item-food { width: 88px; height: 59px; }
  .cart-item-side { grid-column: 1 / -1; width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .profile-card { padding: 20px; }
  .dialog-shell { grid-template-columns: 1fr; max-height: min(92vh, 760px); overflow-y: auto; }
  .dialog-food { min-height: 180px; }
  .dialog-food .dish-icon-image { min-height: 180px; }
  .dialog-content { padding: 26px 22px 24px; }
  .dialog-content h2 { font-size: 29px; }
  .success-content { padding: 32px 22px; }
  .success-actions { flex-direction: column-reverse; }
  .admin-stats { gap: 9px; }
  .admin-stats > div { padding: 15px; }
  .admin-form, .admin-panel { padding: 17px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-list-tools { grid-template-columns: 1fr; }
  .admin-list-tools > span { grid-column: auto; }
  .admin-desc-field { grid-column: auto; }
  .admin-order-row { grid-template-columns: 1fr; }
  .admin-order-side { min-width: 0; justify-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
