:root {
  color-scheme: light;
  --bg: #f9d9ff;
  --bg-soft: #ffc8e0;
  --paper: #ffffff;
  --ink: #3b2b44;
  --muted: #8b708d;
  --line: rgba(255, 255, 255, 0.68);
  --accent: #ff67ae;
  --accent-2: #ff7f9f;
  --accent-deep: #d83f8d;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --focus: 0 0 0 4px rgba(255, 103, 174, 0.24);
  --radius-lg: 26px;
  --radius-md: 18px;
  --mint: #a7f0e0;
  --leaf: #98d783;
  --berry: #d85c99;
  --blue: #79a8ff;
  --shadow: 0 18px 48px rgba(124, 76, 177, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 10%, rgba(255, 255, 255, 0.5) 0 4%, transparent 12%),
    radial-gradient(circle at 98% 0%, rgba(255, 136, 188, 0.48) 0 6%, transparent 15%),
    radial-gradient(circle at 82% 42%, rgba(255, 228, 145, 0.38), transparent 18%),
    linear-gradient(160deg, #d8c9ff 0%, #f5bee8 34%, #ffb8cd 64%, #8bb8ff 100%);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 1px, transparent 2px),
    linear-gradient(155deg, transparent 0 42%, rgba(255, 255, 255, 0.22) 42% 43%, transparent 43% 100%);
  background-position: 0 0, 0 0;
  background-size: 36px 36px, 100% 100%;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 190px;
  background:
    radial-gradient(ellipse at 20% 95%, rgba(91, 126, 210, 0.54), transparent 48%),
    radial-gradient(ellipse at 66% 102%, rgba(70, 105, 195, 0.48), transparent 46%),
    linear-gradient(180deg, transparent, rgba(86, 132, 220, 0.48));
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--accent-deep);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
  transform: translateY(-180%);
  transition: transform 0.16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px);
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  color: #fff;
  background: linear-gradient(145deg, #ff70b7, #ff4f9a);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(255, 103, 174, 0.3);
  font-weight: 900;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: visible;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.42), transparent 20%),
    linear-gradient(145deg, #ff7fbd, #7e8cff);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(115, 91, 204, 0.26);
}

.chef-hat {
  position: absolute;
  left: 50%;
  top: 7px;
  z-index: 2;
  width: 23px;
  height: 15px;
  background: #fff;
  border-radius: 12px 12px 8px 8px;
  box-shadow:
    -8px 5px 0 -1px #fff,
    8px 5px 0 -1px #fff,
    0 11px 0 -3px #fff;
  transform: translateX(-50%);
}

.chef-hat::before,
.chef-hat::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 3px;
  height: 8px;
  background: rgba(126, 140, 255, 0.22);
  border-radius: 999px;
}

.chef-hat::before {
  left: 7px;
}

.chef-hat::after {
  right: 7px;
}

.chef-face {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 25px;
  height: 24px;
  background: #fff5fb;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 48% 52% 46% 54%;
  box-shadow: inset 0 -3px 0 rgba(255, 103, 174, 0.12);
  transform: translateX(-50%);
}

.chef-face::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 3px;
  height: 4px;
  background: #4e3c64;
  border-radius: 999px;
  box-shadow: 8px 0 0 #4e3c64;
}

.chef-face::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #ff67ae;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(186, 75, 128, 0.1);
}

.site-nav a {
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 0 10px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.18s ease;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: linear-gradient(145deg, #ff72b3, #ff8aa4);
  box-shadow: 0 8px 18px rgba(255, 103, 174, 0.28);
  outline: 0;
}

main {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 38px;
  align-items: center;
  min-height: auto;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 66% 16%, rgba(255, 255, 255, 0.92), transparent 12%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 237, 247, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy-block,
.page-kicker,
.panel,
.dish-card,
.feature-card,
.record-card,
.empty-state,
.success-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy-block {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7e4ad8;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.35vw, 4.65rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero-copy,
.page-kicker p,
.dish-card p,
.feature-card p,
.empty-state,
.record-meta,
.record-note,
.order-item p,
.admin-dish-row p,
.state-line {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  font-size: 1.06rem;
}

.hero-actions,
.dish-footer,
.panel-heading,
.summary-line,
.page-kicker,
.record-dishes,
.item-controls,
.toggle-row,
.row-actions {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-mini-stats span {
  padding: 12px 14px;
  color: #725084;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  font-weight: 900;
}

.hero-mini-stats strong {
  color: #ff5ba8;
  font-size: 1.35rem;
}

.primary-link,
.secondary-link,
.submit-button,
.danger-button,
.cart-pill,
.add-button,
.quantity-button,
.remove-button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.primary-link,
.submit-button,
.cart-pill,
.add-button,
.filter-button.active {
  color: #fff;
  background: linear-gradient(145deg, #ff70b7, #ff8d9d);
  box-shadow: 0 12px 24px rgba(255, 103, 174, 0.28);
}

.secondary-link,
.filter-button {
  color: #6c557b;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.danger-button,
.remove-button {
  color: #fff;
  background: linear-gradient(145deg, #ff7f9f, #ff5f8f);
}

.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.primary-link:hover,
.secondary-link:hover,
.submit-button:hover,
.danger-button:hover,
.cart-pill:hover,
.add-button:hover,
.filter-button:hover,
.quantity-button:hover,
.remove-button:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(145deg, rgba(255, 215, 235, 0.76), rgba(255, 157, 203, 0.8) 55%, rgba(148, 180, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-table {
  display: block;
}

.hero-table img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(1.02) contrast(0.98);
}

.hero-table::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.44), transparent 18%),
    linear-gradient(180deg, rgba(255, 247, 251, 0.06), rgba(87, 75, 166, 0.22));
  pointer-events: none;
}

.mascot-plate {
  position: absolute;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  background: #fffafb;
  border: 14px solid #ffb6d3;
  border-radius: 50%;
  box-shadow: 0 24px 45px rgba(186, 75, 128, 0.2);
}

.mascot-face {
  color: #642b47;
  font-size: 4rem;
  transform: rotate(180deg) translateY(-12px);
}

.mascot-eye,
.character-eye {
  position: absolute;
  width: 12px;
  height: 18px;
  background: #642b47;
  border-radius: 999px;
}

.mascot-eye.left {
  left: 64px;
  top: 76px;
}

.mascot-eye.right {
  right: 64px;
  top: 76px;
}

.dish-bubble {
  position: absolute;
  padding: 12px 16px;
  color: #6c557b;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(115, 91, 204, 0.14);
  font-weight: 900;
  z-index: 4;
}

.bubble-a {
  left: 9%;
  top: 16%;
}

.bubble-b {
  right: 8%;
  top: 20%;
}

.bubble-c {
  left: 16%;
  bottom: 25%;
}

.table-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(290px, calc(100% - 44px));
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  z-index: 3;
}

.home-feature-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  padding: 38px 30px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 20%, rgba(255, 211, 231, 0.74), transparent 16%),
    radial-gradient(circle at 50% 12%, rgba(221, 209, 255, 0.62), transparent 18%),
    radial-gradient(circle at 84% 24%, rgba(255, 213, 232, 0.72), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 245, 252, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 32px;
  box-shadow:
    0 20px 54px rgba(124, 76, 177, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.home-feature-strip::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 26px;
  pointer-events: none;
}

.home-feature-strip::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84), transparent);
  pointer-events: none;
}

.home-feature {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  min-height: 166px;
  padding: 0 18px;
  color: var(--ink);
  text-align: center;
}

.home-feature + .home-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(143, 119, 166, 0.12), transparent);
}

.feature-orb {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(145deg, #ffc4dc 0%, #ff85bd 44%, #9b8bff 100%);
  border-radius: 50%;
  box-shadow:
    0 18px 32px rgba(151, 118, 211, 0.2),
    inset 0 -8px 18px rgba(117, 95, 214, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.feature-orb::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.feature-orb.basket,
.feature-orb.film {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(145deg, #d9c8ff 0%, #aa8cff 46%, #838dff 100%);
}

.feature-orb svg {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 8px rgba(108, 74, 166, 0.16));
}

.feature-orb.wish svg {
  fill: rgba(255, 255, 255, 0.96);
  stroke: none;
}

.home-feature strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.home-feature small {
  max-width: 190px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 800;
}

.home-menu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-top: 34px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-menu-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.home-menu-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.home-preview-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.home-dish-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-preview-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(115, 91, 204, 0.12);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-preview-card:hover,
.home-preview-card:focus-visible {
  border-color: rgba(255, 103, 174, 0.34);
  box-shadow: 0 18px 34px rgba(255, 103, 174, 0.16);
  transform: translateY(-2px);
}

.home-preview-photo {
  height: 126px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(145deg, #ffd8f0, #ffa5cc 55%, #a9baff);
}

.home-preview-photo .dish-image,
.home-preview-photo .dish-character {
  width: 100%;
  height: 100%;
}

.home-preview-photo .dish-image {
  object-fit: cover;
}

.home-preview-card > div:last-child {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.home-preview-card h3 {
  margin-bottom: 0;
}

.home-preview-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.home-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-preview-footer strong {
  color: #ff5ba8;
  font-size: 1.12rem;
}

.home-cart-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 376px;
  padding: 24px 20px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.98), transparent 24%),
    radial-gradient(circle at 18% 16%, rgba(255, 199, 228, 0.72), transparent 25%),
    radial-gradient(circle at 94% 18%, rgba(255, 246, 251, 0.95), transparent 26%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 252, 0.93) 52%, rgba(255, 230, 244, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow:
    0 18px 42px rgba(255, 103, 174, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.home-cart-card::before,
.side-cart-card::before,
.order-summary-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  pointer-events: none;
}

.home-cart-illustration,
.side-cart-visual,
.order-summary-visual {
  position: relative;
  z-index: 1;
  display: grid;
  height: 94px;
  place-items: center;
}

.home-cart-illustration span,
.side-cart-visual span,
.order-summary-visual span {
  position: relative;
  width: 88px;
  height: 62px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.44), transparent 22%),
    linear-gradient(145deg, #ffd3ea 0%, #ff8fc4 42%, #9d8dff 100%);
  border-radius: 18px 18px 22px 22px;
  box-shadow:
    0 14px 28px rgba(255, 103, 174, 0.2),
    inset 0 -9px 0 rgba(160, 80, 160, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.home-cart-illustration span::before,
.side-cart-visual span::before,
.order-summary-visual span::before {
  content: "";
  position: absolute;
  left: 23px;
  top: -19px;
  width: 38px;
  height: 30px;
  border: 8px solid #ff92c5;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.home-cart-illustration span::after,
.side-cart-visual span::after,
.order-summary-visual span::after {
  content: "";
  position: absolute;
  inset: 17px 19px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.78) 3px, transparent 4px);
  background-size: 19px 17px;
}

.home-cart-title,
.home-cart-total,
.home-cart-list p {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-cart-title h2 {
  margin-bottom: 0;
  font-size: 1.34rem;
}

.home-cart-title span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff5ba8, #ff7e9f);
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(255, 91, 168, 0.22);
  font-weight: 900;
}

.home-cart-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 130px;
  max-height: 238px;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-color: rgba(255, 91, 168, 0.42) rgba(255, 255, 255, 0.42);
  scrollbar-width: thin;
}

.home-cart-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.home-cart-list:has(.home-cart-empty),
.side-cart-list:has(.home-cart-empty) {
  align-content: center;
  overflow: hidden;
  padding-right: 0;
}

.mini-cart-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 8px 10px 8px 8px;
  color: #604a70;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 251, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow:
    0 10px 20px rgba(255, 103, 174, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.mini-cart-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.mini-cart-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}

.mini-cart-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-cart-qty {
  color: #ff5ba8;
  font-size: 0.92rem;
  white-space: nowrap;
}

.mini-cart-action {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: #ff5ba8;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 139, 195, 0.32);
  border-radius: 999px;
  box-shadow: 0 7px 14px rgba(255, 103, 174, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.mini-cart-action:hover {
  color: #fff;
  background: linear-gradient(145deg, #ff5ba8, #ff7e9f);
}

.mini-cart-action.danger {
  color: #9a6a84;
}

.mini-cart-image {
  width: 42px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(255, 103, 174, 0.14);
}

.mini-cart-image.mini-character {
  width: 42px;
  height: 38px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.home-cart-list strong,
.home-cart-total strong {
  color: #ff5ba8;
}

.home-cart-empty {
  justify-content: center;
  text-align: center;
  line-height: 1.6;
}

.home-cart-total {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(255, 139, 195, 0.28);
  border-radius: 16px;
  font-weight: 900;
}

.home-cart-card .primary-link,
.side-cart-card .primary-link {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 46px;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff5ba8, #ff7f9f);
  box-shadow: 0 16px 28px rgba(255, 91, 168, 0.22);
}

.table-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.table-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.section,
.toolbar,
.order-layout,
.records-list,
.admin-dashboard,
.show-layout {
  margin-top: 26px;
}

.section-heading {
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 22px;
  border-radius: 24px;
  transform: none;
}

.feature-card:nth-child(2) {
  transform: translateY(10px);
}

.feature-card:nth-child(3) {
  transform: none;
}

.feature-card span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff77bb, #958cff);
  border-radius: 18px;
  font-weight: 900;
}

.page-kicker {
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 30px;
}

.page-kicker h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.page-kicker p {
  max-width: 720px;
  margin-bottom: 0;
}

.toolbar {
  flex-wrap: wrap;
  gap: 10px;
}

.state-line {
  margin: 18px 0 0;
  font-weight: 800;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(115, 91, 204, 0.14);
  backdrop-filter: blur(16px);
}

.spotlight-photo {
  overflow: hidden;
  height: 120px;
  border-radius: 22px;
}

.spotlight-photo .dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-photo .dish-character {
  width: 100%;
  height: 100%;
  border-width: 8px;
}

.spotlight-card h2 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.spotlight-card p:not(.eyebrow) {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.dish-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border-radius: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.dish-card:hover {
  transform: translateY(-6px) rotate(-0.2deg);
  box-shadow: 0 22px 54px rgba(115, 91, 204, 0.22);
}

.dish-card.is-recommended {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(255, 103, 174, 0.2);
}

.dish-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(145deg, #ffd8f0, #ffa5cc 55%, #a9baff);
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-character {
  position: relative;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  color: #665083;
  background: #fff;
  border: 9px solid #c5b7ff;
  border-radius: 45% 55% 48% 52%;
  box-shadow: 0 18px 30px rgba(115, 91, 204, 0.18);
}

.character-mark {
  font-size: 2.1rem;
  font-weight: 900;
}

.character-eye.left {
  left: 34px;
  top: 42px;
}

.character-eye.right {
  right: 34px;
  top: 42px;
}

.character-smile {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 32px;
  height: 18px;
  border-bottom: 5px solid #665083;
  border-radius: 50%;
  transform: translateX(-50%);
}

.dish-content {
  display: grid;
  padding: 20px;
}

.dish-category {
  margin-bottom: 8px;
  color: #7e4ad8;
  font-size: 0.84rem;
  font-weight: 900;
}

.dish-content h2 {
  font-size: 1.3rem;
}

.dish-quick-note {
  margin: -2px 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.dish-tags span,
.record-dishes span {
  padding: 7px 10px;
  color: #6c557b;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.dish-footer {
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.dish-footer strong {
  color: #ff5ba8;
  font-size: 1.4rem;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.panel {
  padding: 22px;
  border-radius: 26px;
}

.receipt-panel {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82) 0 0) padding-box,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 12px, transparent 12px 22px) border-box;
  border: 2px solid transparent;
}

.receipt-panel::before,
.receipt-panel::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 8px;
  background-image: radial-gradient(circle, #f7cced 5px, transparent 6px);
  background-size: 18px 8px;
}

.receipt-panel::before {
  top: -4px;
}

.receipt-panel::after {
  bottom: -4px;
}

.receipt-kicker {
  margin-bottom: 10px;
  color: #ff5ba8;
  font-weight: 900;
}

.panel-heading {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-heading span {
  color: var(--muted);
  font-weight: 800;
}

.order-item,
.admin-dish-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 2px dashed var(--line);
}

.order-item:first-child,
.admin-dish-row:first-child {
  border-top: 0;
}

.mini-character {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff78ba, #918dff);
  border-radius: 18px;
  font-weight: 900;
}

.item-controls,
.row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.quantity-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  color: #6c557b;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.summary-panel {
  align-self: start;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #6c557b;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  outline: 0;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 120, 180, 0.18);
}

.help-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  color: #6c557b;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  line-height: 1.65;
}

.help-card strong {
  display: block;
  margin-bottom: 4px;
  color: #6c557b;
}

.help-card p {
  margin-bottom: 0;
}

.help-card code {
  padding: 2px 6px;
  background: #fffafb;
  border-radius: 8px;
  font-size: 0.92em;
}

.upload-line {
  margin-bottom: 0;
}

.upload-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.upload-control input {
  flex: 1 1 260px;
}

.upload-status {
  display: block;
  margin-top: 8px;
  color: #8b708d;
  font-size: 0.9rem;
  font-weight: 800;
}

.upload-preview {
  min-height: 150px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(255, 103, 174, 0.28);
  border-radius: 18px;
}

.upload-preview img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.security-warning {
  color: #7d3b55;
  background: linear-gradient(145deg, rgba(255, 240, 246, 0.9), rgba(255, 255, 255, 0.78));
  border-color: rgba(255, 103, 174, 0.32);
}

.security-warning p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-category-list {
  display: grid;
  gap: 12px;
}

.category-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 110px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
}

.category-create-form label {
  margin-bottom: 0;
}

.admin-category-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 96px auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 18px;
}

.category-code {
  overflow: hidden;
  padding: 9px 10px;
  color: #7a5478;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wish-like-button {
  padding: 6px 10px;
  color: #ff5ba8;
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.summary-line {
  justify-content: space-between;
  padding: 14px 0;
  border-top: 2px dashed var(--line);
}

.summary-line.total strong {
  color: #ff5ba8;
  font-size: 1.6rem;
}

.success-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: #e9fff8;
}

.success-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.records-list {
  display: grid;
  gap: 14px;
}

.admin-orders {
  position: relative;
  display: flex;
  min-height: 520px;
  max-height: 760px;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 24px 22px;
  padding: 56px 42px 64px;
  overflow: auto;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.78), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(255, 227, 243, 0.62), transparent 22%),
    linear-gradient(135deg, rgba(255, 250, 253, 0.92), rgba(244, 249, 255, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 26px;
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.42),
    inset 0 0 0 11px rgba(255, 169, 211, 0.16);
  scrollbar-color: rgba(255, 91, 168, 0.42) rgba(255, 255, 255, 0.42);
  scrollbar-width: thin;
}

.admin-orders::before {
  content: "";
  position: absolute;
  inset: 22px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 148, 205, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 116, 210, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: 18px;
  mask-image: linear-gradient(#000 0 0);
}

.show-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.show-composer {
  position: sticky;
  top: 104px;
}

.feed-heading {
  align-items: flex-end;
  margin-bottom: 14px;
}

.show-feed {
  display: grid;
  gap: 16px;
}

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

.show-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-0.15deg);
}

.show-card:nth-child(even) {
  transform: rotate(0.18deg);
}

.show-media {
  min-height: 250px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.76), transparent 26%),
    linear-gradient(145deg, #ffd8f0, #ffbdd6 52%, #a9baff);
}

.show-image {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.show-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #7b3856;
}

.show-placeholder span {
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  background: #fffafb;
  border: 10px solid #ffb6d3;
  border-radius: 48% 52% 45% 55%;
  box-shadow: 0 18px 30px rgba(186, 75, 128, 0.18);
  font-size: 2.4rem;
  font-weight: 900;
}

.show-placeholder small {
  font-weight: 900;
}

.show-card-body {
  padding: 18px;
}

.show-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.show-author-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.show-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff78ba, #918dff);
  border-radius: 16px;
  font-weight: 900;
}

.show-body {
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-wrap;
}

.show-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.record-card {
  padding: 20px;
  border-radius: 24px;
}

.receipt-card {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin-inline: auto;
  background:
    linear-gradient(rgba(255, 255, 255, 0.84) 0 0) padding-box,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 10px, transparent 10px 18px) border-box;
  border: 2px solid transparent;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.receipt-card::before,
.receipt-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 8px;
  background-image: radial-gradient(circle, #f7cced 5px, transparent 6px);
  background-size: 18px 8px;
}

.receipt-card::before {
  top: -4px;
}

.receipt-card::after {
  bottom: -4px;
}

.receipt-title,
.receipt-meta,
.receipt-total,
.receipt-line-items div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.receipt-title {
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
  font-weight: 900;
}

.receipt-title strong {
  color: #ff5ba8;
}

.receipt-meta {
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.receipt-line-items {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.receipt-total {
  align-items: center;
  padding-top: 14px;
  font-weight: 900;
}

.receipt-total strong {
  color: #ff5ba8;
  font-size: 1.55rem;
}

.receipt-footer {
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

.compact-receipt {
  max-width: none;
}

.admin-order-ticket {
  flex: 0 0 min(390px, 100%);
  width: min(390px, 100%);
  min-height: 214px;
  margin: 0;
  padding: 28px 24px 20px;
  background:
    linear-gradient(var(--paper), rgba(255, 255, 255, 0.84)) padding-box,
    repeating-linear-gradient(90deg, rgba(245, 207, 238, 0.92) 0 10px, transparent 10px 18px) border-box;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform:
    translate(var(--drag-x, 0), calc(var(--lift, 0px) + var(--drag-y, 0px)))
    rotate(var(--tilt, 0deg));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow:
    0 18px 38px rgba(98, 82, 139, 0.14),
    0 3px 0 rgba(255, 255, 255, 0.72) inset;
}

.admin-order-ticket:nth-child(3n) {
  margin-left: 22px;
}

.admin-order-ticket:nth-child(4n) {
  margin-right: 34px;
}

.admin-order-ticket:nth-child(5n) {
  margin-top: 18px;
}

.admin-order-ticket.is-dragging {
  z-index: 20;
  cursor: grabbing;
  box-shadow:
    0 28px 60px rgba(98, 82, 139, 0.24),
    0 3px 0 rgba(255, 255, 255, 0.76) inset;
  transition: none;
}

.ticket-pin {
  position: absolute;
  left: var(--pin-x, 50%);
  top: 12px;
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
    linear-gradient(145deg, #ff5ba8, #ff8cb9);
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(255, 91, 168, 0.24);
  transform: translateX(-50%);
}

.admin-order-ticket .receipt-title {
  padding-top: 8px;
  gap: 12px;
}

.admin-order-ticket .record-meta {
  margin: 10px 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-order-ticket .receipt-line-items {
  max-height: 96px;
  overflow: auto;
  scrollbar-width: thin;
}

.admin-order-ticket .receipt-line-items div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
}

.admin-order-ticket .receipt-line-items span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order-ticket .record-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.has-ticket-modal {
  overflow: hidden;
}

.admin-ticket-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(61, 39, 72, 0.34);
  backdrop-filter: blur(14px);
}

.admin-ticket-dialog {
  position: relative;
  width: min(760px, 100%);
}

.ticket-modal-close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff5ba8, #ff7e9f);
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 16px 30px rgba(255, 91, 168, 0.24);
  font-size: 1.35rem;
  font-weight: 900;
}

.ticket-modal-paper {
  padding: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 211, 234, 0.78), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 251, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(61, 39, 72, 0.28);
}

.ticket-preview-card {
  width: 100%;
  min-height: 0;
  padding: 34px;
  cursor: default;
  transform: none;
  user-select: text;
}

.ticket-preview-card .receipt-title {
  font-size: 1.28rem;
}

.ticket-preview-card .record-meta {
  font-size: 1rem;
}

.ticket-preview-card .receipt-line-items {
  max-height: 340px;
}

.ticket-preview-card .receipt-line-items div {
  grid-template-columns: minmax(0, 1fr) 96px;
  font-size: 1rem;
}

.ticket-preview-card .receipt-line-items span {
  white-space: normal;
}

.record-dishes {
  flex-wrap: wrap;
  gap: 8px;
}

.empty-state {
  padding: 28px;
  border-radius: 24px;
  text-align: center;
}

.wish-feed,
.wish-admin-list {
  display: grid;
  gap: 14px;
}

.wish-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.wish-status {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #7e4ad8;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  font-weight: 900;
  text-align: center;
}

.wish-status.approved,
.wish-status.updated {
  color: #2f6d5e;
  background: #e9fff8;
  border-color: #9ee3d2;
}

.wish-status.rejected {
  color: #8d3650;
  background: #ffe0e7;
}

.wish-note {
  padding: 10px 12px;
  color: #6c557b;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 14px;
}

.wish-admin-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-login {
  max-width: 520px;
  margin-top: 24px;
}

.login-shell,
.wish-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.login-copy {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 214, 235, 0.72));
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.admin-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 217, 236, 0.78), transparent 24%),
    radial-gradient(circle at 92% 22%, rgba(220, 211, 255, 0.64), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 250, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(115, 91, 204, 0.14);
}

.admin-workbench h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.admin-workbench p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-workbench-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.admin-workbench-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(145deg, #ff65ad, #ff819f);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 103, 174, 0.22);
  font-weight: 900;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.admin-stats article {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 226, 245, 0.7));
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(115, 91, 204, 0.14);
}

.admin-stats article::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 103, 174, 0.18), transparent 68%);
  border-radius: 50%;
}

.admin-stats span,
.admin-stats small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.admin-stats strong {
  display: block;
  margin: 6px 0 4px;
  color: #ff5ba8;
  font-size: 2rem;
  line-height: 1;
}

.admin-quick-nav {
  position: sticky;
  top: 84px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(115, 91, 204, 0.12);
  backdrop-filter: blur(16px);
}

.admin-quick-nav a {
  min-height: 34px;
  padding: 8px 12px;
  color: #6c557b;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-weight: 900;
}

.admin-quick-nav a:hover {
  color: #fff;
  background: linear-gradient(145deg, #ff5ba8, #ff7e9f);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .wide {
  grid-column: span 3;
}

.toggle-row {
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 18px;
}

.toggle-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.toggle-row input {
  width: auto;
}

.admin-dish-row.is-muted {
  opacity: 0.56;
}

.admin-dish-row h3 small {
  color: #d8437b;
  font-size: 0.95rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 18px;
  color: #642b47;
  background: #fffafb;
  border: 2px solid var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: 0.18s ease;
  pointer-events: none;
  font-weight: 900;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.has-dish-modal {
  overflow: hidden;
}

.dish-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(72, 42, 70, 0.32);
  backdrop-filter: blur(12px);
}

.dish-detail-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  width: min(760px, 100%);
  padding: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 232, 244, 0.9), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 250, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(71, 44, 96, 0.28);
}

.dish-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 38px;
  min-height: 38px;
  padding: 0;
  color: #7a5478;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 900;
}

.dish-detail-photo {
  min-height: 310px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.76), transparent 26%),
    linear-gradient(145deg, #ffd8f0, #ffa9cc 55%, #a9baff);
  border-radius: 24px;
}

.dish-detail-photo .dish-image,
.dish-detail-photo .dish-character {
  width: 100%;
  height: 100%;
}

.dish-detail-photo .dish-image {
  object-fit: cover;
}

.dish-detail-photo .dish-character {
  border-width: 12px;
}

.dish-detail-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px 14px 20px 0;
}

.dish-detail-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.dish-detail-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 800;
}

.dish-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dish-detail-tags span {
  padding: 8px 12px;
  color: #7a5478;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-weight: 900;
}

.dish-detail-bottom,
.dish-detail-stepper {
  display: flex;
  align-items: center;
}

.dish-detail-bottom {
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed rgba(255, 139, 195, 0.36);
  border-bottom: 1px dashed rgba(255, 139, 195, 0.36);
}

.dish-detail-bottom > strong {
  color: #ff5ba8;
  font-size: 1.8rem;
}

.dish-detail-stepper {
  gap: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.dish-detail-stepper button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: #fff;
  background: linear-gradient(145deg, #ff70b7, #ff8aa4);
  border: 0;
  border-radius: 50%;
  font-weight: 900;
}

.dish-detail-stepper span {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.replica-board {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.78), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 241, 249, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.replica-heading {
  margin-bottom: 18px;
}

.replica-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.replica-heading p {
  color: var(--muted);
  font-weight: 800;
}

.replica-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.menu-board,
.order-board,
.show-board,
.wish-page-board,
.receipt-page-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}

.menu-board {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.replica-dish-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.replica-menu-card {
  grid-template-rows: 132px 1fr;
  border-radius: 18px;
}

.replica-menu-card .dish-content {
  padding: 13px;
}

.replica-menu-card h2,
.home-preview-card h3 {
  overflow: hidden;
  min-height: 2.6em;
  font-size: 1rem;
  line-height: 1.3;
}

.replica-menu-card .dish-footer {
  align-items: center;
}

.replica-menu-card .dish-footer strong {
  font-size: 1.05rem;
}

.replica-menu-card .add-button {
  min-height: 32px;
  padding: 0 12px;
  background: rgba(255, 232, 244, 0.92);
  color: #ff5ba8;
  box-shadow: none;
  font-size: 0.82rem;
}

.side-cart-card,
.side-note-card,
.order-summary-card,
.receipt-actions-card,
.share-card,
.hot-rank-card,
.wish-side-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 246, 251, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(115, 91, 204, 0.12);
}

.side-cart-card,
.order-summary-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.9), transparent 25%),
    radial-gradient(circle at 14% 20%, rgba(255, 217, 236, 0.66), transparent 20%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 238, 248, 0.78) 58%, rgba(255, 224, 240, 0.72));
  box-shadow:
    0 18px 40px rgba(255, 103, 174, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.side-cart-card {
  min-height: 376px;
  padding: 24px 20px 22px;
  border-color: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.98), transparent 24%),
    radial-gradient(circle at 18% 16%, rgba(255, 199, 228, 0.72), transparent 25%),
    radial-gradient(circle at 94% 18%, rgba(255, 246, 251, 0.95), transparent 26%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 252, 0.93) 52%, rgba(255, 230, 244, 0.88) 100%);
  box-shadow:
    0 18px 42px rgba(255, 103, 174, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.side-cart-card::before {
  inset: 10px;
  border-radius: 22px;
}

.replica-side,
.show-side {
  display: grid;
  gap: 20px;
}

.side-cart-visual {
  height: 98px;
}

.note-bowl,
.receipt-scroll-visual,
.wish-jar {
  position: relative;
  display: block;
  width: 90px;
  height: 66px;
  background: linear-gradient(145deg, #b58cff, #8c8eff);
  border-radius: 16px 16px 22px 22px;
}

.side-cart-title,
.side-cart-total {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-cart-title {
  margin-top: -6px;
}

.side-cart-title strong {
  font-size: 1.2rem;
}

.side-cart-title span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff5ba8, #ff7e9f);
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(255, 91, 168, 0.22);
  font-weight: 900;
}

.side-cart-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 132px;
  max-height: 238px;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 16px 0 10px;
  padding: 4px 4px 4px 0;
  scrollbar-color: rgba(255, 91, 168, 0.42) rgba(255, 255, 255, 0.42);
  scrollbar-width: thin;
}

.side-cart-list p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.side-cart-total {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(255, 139, 195, 0.28);
  border-radius: 16px;
  margin-bottom: 18px;
  font-weight: 900;
}

.side-cart-total strong,
.side-note-card h2,
.hot-rank-card li::marker {
  color: #ff5ba8;
}

.note-bowl,
.receipt-scroll-visual,
.wish-jar {
  width: 86px;
  height: 76px;
  margin: 20px auto 0;
  background: radial-gradient(circle at 42% 30%, #fff 0 18%, transparent 19%), linear-gradient(145deg, #ffd7e8, #ffb5cc);
  border-radius: 50% 50% 42% 42%;
}

.replica-order-list {
  display: grid;
  gap: 16px;
}

.replica-order-item {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
}

.cart-item-image {
  width: 70px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.order-summary-card {
  position: sticky;
  top: 112px;
}

.order-summary-card > * {
  position: relative;
  z-index: 1;
}

.order-summary-card h2 {
  text-align: center;
}

.recommend-board {
  margin-top: 24px;
}

.order-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recommend-card {
  position: relative;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(115, 91, 204, 0.12);
}

.recommend-card > div {
  height: 118px;
  overflow: hidden;
  border-radius: 14px;
}

.recommend-card .dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommend-card .add-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  width: 28px;
  padding: 0;
}

.receipt-page-board {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.replica-ticket {
  max-width: none;
  padding: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.82)) padding-box,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 10px, transparent 10px 18px) border-box;
}

.replica-ticket .receipt-meta,
.replica-ticket .receipt-line-items div {
  display: grid;
  grid-template-columns: 1fr 70px 70px 80px;
}

.receipt-actions-card {
  display: grid;
  gap: 12px;
}

.receipt-actions-card a {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  color: #6c557b;
  font-weight: 900;
}

.replica-show-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.replica-show-card {
  transform: none;
  border-radius: 20px;
}

.replica-show-card .show-image {
  height: 170px;
}

.show-side {
  align-content: start;
}

.share-card p,
.hot-rank-card li,
.wish-side-card p {
  color: var(--muted);
  font-weight: 800;
}

.hot-rank-card ol {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.hot-rank-card li {
  display: flex;
  justify-content: space-between;
}

.replica-wish-feed {
  display: grid;
  gap: 14px;
}

.replica-wish-card {
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  border-radius: 18px;
}

.wish-thumb {
  width: 58px;
  height: 58px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(145deg, #ff986d, #ff5f8f);
  border-radius: 16px;
}

.wish-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.wish-row-actions > span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #ff5ba8;
  font-size: 0.86rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 44px;
  width: min(100% - 48px, 1180px);
  margin: 20px auto 34px;
  padding: 18px 0 0;
  color: #8a779c;
  font-weight: 900;
  text-align: center;
}

.site-footer span {
  position: relative;
}

.site-footer span + span::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(122, 95, 150, 0.18);
  transform: translateY(-50%);
}

@media (max-width: 980px) {
  .site-header,
  .page-kicker {
    align-items: stretch;
    flex-direction: column;
  }

  .header-cta {
    width: 100%;
  }

  .site-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
  }

  .home-hero,
  .home-menu-panel,
  .order-layout,
  .show-layout,
  .login-shell,
  .wish-layout,
  .menu-board,
  .order-board,
  .show-board,
  .wish-page-board,
  .receipt-page-board {
    grid-template-columns: 1fr;
  }

  .show-composer,
  .order-summary-card {
    position: static;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .table-card {
    right: 18px;
    bottom: 18px;
    width: min(270px, calc(100% - 36px));
    padding: 16px 18px;
  }

  .dish-grid,
  .spotlight-grid,
  .home-dish-preview,
  .home-feature-strip,
  .feature-grid,
  .replica-dish-grid,
  .replica-show-feed,
  .order-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotlight-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .spotlight-photo {
    height: 104px;
  }

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

  .admin-workbench {
    grid-template-columns: 1fr;
  }

  .admin-workbench-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }

  .wish-admin-controls {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-create-form {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .wide {
    grid-column: span 2;
  }

  .admin-quick-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .site-header {
    padding: 12px;
  }

  .site-nav {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 22px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .dish-grid,
  .spotlight-grid,
  .home-dish-preview,
  .home-feature-strip,
  .feature-grid,
  .replica-dish-grid,
  .replica-show-feed,
  .order-recommend-grid,
  .admin-stats,
  .form-grid,
  .compact-feed {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .home-menu-panel,
  .home-feature-strip,
  .replica-board {
    padding: 20px;
    border-radius: 26px;
  }

  .home-menu-heading {
    display: grid;
  }

  .hero-mini-stats {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-photo {
    height: 180px;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .wish-card {
    grid-template-columns: 1fr;
  }

  .dish-card {
    grid-template-rows: 170px 1fr;
  }

  .order-item,
  .replica-order-item,
  .admin-dish-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .cart-item-image {
    width: 48px;
    height: 48px;
  }

  .replica-ticket {
    padding: 24px 18px;
  }

  .replica-ticket .receipt-meta,
  .replica-ticket .receipt-line-items div {
    grid-template-columns: 1fr 48px 58px 64px;
    gap: 8px;
    font-size: 0.82rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    width: min(100% - 24px, 1180px);
  }

  .site-footer span + span::before {
    display: none;
  }

  .admin-category-row {
    grid-template-columns: 1fr;
  }

  .category-create-form {
    grid-template-columns: 1fr;
  }

  .upload-control {
    display: grid;
  }

  .upload-preview img {
    max-height: 180px;
  }

  .home-cart-card,
  .side-cart-card {
    padding: 20px 16px;
  }

  .mini-cart-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .mini-cart-image,
  .mini-cart-image.mini-character {
    width: 38px;
    height: 36px;
  }

  .mini-cart-actions {
    flex-wrap: wrap;
  }

  .dish-detail-modal {
    padding: 14px;
  }

  .dish-detail-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    padding: 14px;
  }

  .dish-detail-photo {
    min-height: 220px;
  }

  .dish-detail-copy {
    padding: 8px 4px 4px;
  }

  .admin-workbench-actions {
    grid-template-columns: 1fr;
  }

  .admin-orders {
    min-height: 420px;
    padding: 32px 18px 44px;
  }

  .admin-order-ticket {
    flex-basis: 100%;
    width: 100%;
  }

  .ticket-preview-card {
    padding: 24px 18px;
  }

  .item-controls,
  .row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
