:root {
  --background: #fffdf5;
  --foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #8b5cf6;
  --secondary: #f472b6;
  --tertiary: #fbbf24;
  --quaternary: #34d399;
  --danger: #ef4444;
  --border: #1e293b;
  --soft-border: #e2e8f0;
  --card: #ffffff;
  --shadow: 5px 5px 0 #1e293b;
  --soft-shadow: 8px 8px 0 #e2e8f0;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12px 12px, rgba(30,41,59,.08) 2px, transparent 2px) 0 0 / 28px 28px,
    var(--background);
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 4vw, 40px);
  background: rgba(255,253,245,.92);
  border-bottom: 2px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand, .avatar-btn, .top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand, .avatar-btn {
  color: inherit;
  text-decoration: none;
  border: 0;
  background: transparent;
}

.message-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--foreground);
  font-weight: 900;
}

.message-btn span {
  font-size: 12px;
}

.message-btn b {
  position: absolute;
  right: -7px;
  bottom: -7px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--border);
  border-radius: 14px 14px 14px 2px;
  background: var(--tertiary);
  box-shadow: 4px 4px 0 var(--border);
  font-weight: 800;
}

.brand-mark .table-top {
  position: absolute;
  left: 8px;
  top: 11px;
  width: 30px;
  height: 18px;
  border: 3px solid var(--border);
  border-radius: 50%;
  background: #fff7ed;
}

.brand-mark .table-top::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 6px;
  height: 3px;
  border-radius: 999px;
  background: #f472b6;
}

.brand-mark .table-plate {
  position: absolute;
  top: 15px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fbbf24;
}

.brand-mark .table-plate.left {
  left: 16px;
}

.brand-mark .table-plate.right {
  right: 16px;
  background: #a78bfa;
}

.brand-mark .table-leg {
  position: absolute;
  bottom: 8px;
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: var(--border);
}

.brand-mark .table-leg.left {
  left: 15px;
  transform: rotate(18deg);
}

.brand-mark .table-leg.right {
  right: 15px;
  transform: rotate(-18deg);
}

.brand strong, h1, h2, h3 {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
}

.brand small {
  display: block;
  color: var(--muted-foreground);
  font-size: 12px;
}

.topnav {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.nav-btn, .bottom-tab, .side-link, .segment, .chip {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  font-weight: 700;
}

.nav-btn { padding: 10px 16px; }
.nav-btn.active, .bottom-tab.active, .side-link.active, .segment.active, .chip.active {
  background: var(--accent);
  color: white;
}

.avatar-btn img {
  width: 38px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
}

main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 96px;
}

.view.active { display: grid; }

.auth-view {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: center;
  gap: 32px;
  min-height: calc(100vh - 150px);
}

.auth-copy {
  position: relative;
  padding: clamp(26px, 5vw, 56px);
}

.auth-copy::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 0;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tertiary);
  z-index: -1;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: .98;
}

h2, h3 { margin: 0 0 10px; }
p { color: var(--muted-foreground); line-height: 1.75; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel, .sticker-card, .dish-card, .shop-card, .empty-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.panel { padding: clamp(18px, 3vw, 28px); }

.form-card {
  display: grid;
  gap: 18px;
  max-width: 460px;
  width: 100%;
}

label {
  display: grid;
  gap: 8px;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 800;
}

input, textarea {
  min-height: 48px;
  width: 100%;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  background: white;
  color: var(--foreground);
  padding: 12px 14px;
  outline: 0;
}

textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
input[type="file"] {
  padding: 10px;
  cursor: pointer;
}
select {
  min-height: 48px;
  width: 100%;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  background: white;
  color: var(--foreground);
  padding: 12px 14px;
  outline: 0;
}

.primary-btn, .secondary-btn, .icon-btn, .add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}

.primary-btn {
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.primary-btn span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  color: var(--accent);
}

.primary-btn:hover, .sticker-card:hover, .dish-card:hover, .shop-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--border);
}

.primary-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--border); }

.secondary-btn {
  padding: 10px 16px;
  background: white;
  color: var(--foreground);
}

.secondary-btn:hover { background: var(--tertiary); }
.secondary-btn.danger:hover { background: #fee2e2; color: #991b1b; }
.primary-btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.link-btn { border: 0; background: transparent; color: var(--accent); font-weight: 800; padding: 0; }

.mini-flow, .tag-row, .category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-flow span, .tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--foreground);
  font-size: 12px;
  font-weight: 800;
}

.tag.violet { background: #ede9fe; }
.tag.green { background: #d1fae5; }
.tag.amber { background: #fef3c7; }

.app-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.kitchen-card img { width: 100%; margin: -8px 0 12px; }
.kitchen-card.compact h2 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 26px; }

.side-nav {
  display: grid;
  gap: 8px;
}

.side-link {
  width: 100%;
  padding: 12px 14px;
  text-align: left;
}

.content-stack {
  display: grid;
  gap: 22px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(251,191,36,.25), transparent 55%),
    white;
}

.hero h1 { font-size: clamp(34px, 5vw, 58px); }

.action-grid, .dish-grid, .shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sticker-card {
  position: relative;
  padding: 30px 22px 22px;
  min-height: 180px;
}

.sticker-card.pink { box-shadow: 8px 8px 0 var(--secondary); }
.sticker-card.yellow { box-shadow: 8px 8px 0 var(--tertiary); }

.icon-bubble {
  position: absolute;
  top: -18px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--quaternary);
  font-weight: 900;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item, .cart-row, .order-card, .message, .snapshot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 2px solid var(--soft-border);
  border-radius: 16px;
  background: #fff;
}

.order-date {
  margin: 8px 0 2px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 900;
}

.order-card .tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
}

.complete-order {
  width: fit-content;
  min-height: 36px;
  margin-top: 10px;
  padding: 7px 12px;
}

.list-item span, .cart-row span, .order-card span, .message span, .snapshot span {
  display: block;
  margin-top: 5px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.review-item {
  justify-content: flex-start;
  align-items: flex-start;
}

.review-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.icon-btn, .add-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: var(--tertiary);
  color: var(--foreground);
}

.narrow-page {
  max-width: 760px;
  margin: 0 auto;
}

.invite-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  border: 2px dashed var(--border);
  border-radius: 18px;
  background: #fef3c7;
}

.invite-card strong, .code-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 30px;
  text-align: center;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.segment { min-height: 42px; }

.order-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-bar { margin-bottom: 0; }
.chip { min-height: 38px; padding: 8px 14px; border: 2px solid var(--border); background: white; }
.chip.admin { border-style: dashed; }

.cart-entry span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--tertiary);
}

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

.dish-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 14px;
  overflow: visible;
}

.dish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}

.dish-card .add-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--accent);
  color: white;
}

.dish-card .add-btn .add-count {
  position: absolute;
  right: -10px;
  top: -10px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--tertiary);
  color: var(--foreground);
  font-size: 12px;
}

.dish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 58px;
  margin-top: 10px;
}

.danger-text {
  color: var(--danger);
}

.permission-locked {
  opacity: 0.72;
}

.shop-card, .empty-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.shop-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 14px;
}

.shop-card b, .score {
  justify-self: start;
  padding: 6px 12px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--tertiary);
  font-size: 28px;
  font-family: "Outfit", system-ui, sans-serif;
}

.empty-card {
  place-content: center;
  min-height: 190px;
  border-style: dashed;
  background: #f8fafc;
}

.stepper {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.stepper button {
  height: 34px;
  border: 0;
  background: var(--muted);
  font-weight: 900;
}

.stepper span { margin: 0; text-align: center; }

.chef-choice {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 18px;
}

.chef-choice legend { padding: 0 8px; font-weight: 900; }
.chef-choice label { display: block; padding: 12px; border-radius: 14px; background: #f8fafc; }
.chef-choice input:checked + span { color: var(--accent); }

.order-note {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-weight: 900;
}

.order-note textarea {
  min-height: 96px;
  resize: vertical;
}

.dish-detail > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 18px;
}

.shop-detail-card > img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 18px;
  margin-top: 14px;
}

.shop-delete-btn {
  width: fit-content;
  margin: 0 0 14px;
}

.shop-card {
  cursor: pointer;
}

.shop-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.back-btn {
  margin-bottom: 4px;
}

.compact-head {
  margin-top: 18px;
}

.review-box {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--muted);
}

.rating-control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.rating-control output {
  min-width: 58px;
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--tertiary);
  text-align: center;
  font-weight: 900;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-border);
}

dt { color: var(--muted-foreground); }
dd { margin: 0; font-weight: 800; }

.snapshot img {
  width: 82px;
  height: 82px;
  border: 2px solid var(--border);
  border-radius: 14px;
  object-fit: cover;
}

.profile-top {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.avatar-upload {
  position: relative;
}

.avatar-upload img {
  width: 92px;
  height: 92px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fef3c7;
}

.avatar-plus {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--accent);
  color: white;
  box-shadow: 3px 3px 0 var(--border);
  font-size: 20px;
  font-weight: 900;
}

.avatar-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.avatar-choice {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--soft-border);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.avatar-choice img {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-choice.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .22);
}

.profile-info .tag-row {
  justify-content: center;
}

.nickname-editor {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  width: min(520px, 100%);
  margin: 16px auto 0;
}

.nickname-editor .small {
  min-height: 48px;
}

.profile-expiry {
  margin: 12px 0 0;
  color: var(--danger);
  font-weight: 800;
}

.profile-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  width: min(260px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.profile-actions .secondary-btn {
  width: 100%;
}

.message.unread {
  background: #fff7ed;
  border-color: var(--tertiary);
}

.unread-dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--danger);
}

.bottom-tabs {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.bottom-tab {
  position: relative;
  min-height: 46px;
}

.message-tab b {
  position: absolute;
  right: 12px;
  top: -8px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(30,41,59,.45);
}

.modal {
  width: min(440px, 100%);
  box-shadow: var(--shadow);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.category-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-preview button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--foreground);
  font-weight: 800;
}

.category-preview button.selected {
  background: var(--accent);
  color: white;
}

.kitchen-select-list {
  display: grid;
  gap: 12px;
}

.kitchen-select-list button,
.account-switch-list button {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--foreground);
  text-align: left;
}

.kitchen-select-list button:hover,
.account-switch-list button:hover {
  background: #fef3c7;
  box-shadow: 4px 4px 0 var(--border);
}

.kitchen-select-list span {
  color: var(--muted-foreground);
  font-size: 13px;
}

.account-switch-list {
  display: grid;
  gap: 12px;
}

.account-switch-list button {
  grid-template-columns: 46px 1fr;
  align-items: center;
}

.account-switch-list img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fef3c7;
}

.account-switch-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted-foreground);
}

.account-switch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 6px;
}

.account-switch-actions button {
  justify-content: center;
  grid-template-columns: 1fr;
  text-align: center;
}

.dish-delete-top {
  width: fit-content;
  justify-content: center;
  margin-bottom: 14px;
  border-color: var(--danger);
}

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

.member-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px;
  border: 2px solid var(--soft-border);
  border-radius: 16px;
  background: #fff;
}

.member-list span {
  color: var(--muted-foreground);
  font-size: 13px;
}

.member-info {
  display: grid;
  gap: 4px;
}

.member-list button {
  width: fit-content;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-action-panel {
  display: grid;
  gap: 14px;
}

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

.member-action-grid button {
  width: 100%;
}

.image-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 80;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--quaternary);
  color: var(--foreground);
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: .25s ease;
}

.toast.show { transform: translate(-50%, 0); opacity: 1; }

.shape {
  position: fixed;
  z-index: -1;
  opacity: .9;
}

.shape.circle { width: 150px; height: 150px; right: 8%; top: 15%; border-radius: 50%; background: var(--tertiary); }
.shape.triangle { left: 5%; bottom: 12%; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 120px solid var(--secondary); }
.shape.pill { right: 10%; bottom: 16%; width: 180px; height: 68px; border-radius: 999px; background: var(--quaternary); transform: rotate(-18deg); }
.shape.square { left: 16%; top: 18%; width: 74px; height: 74px; background: var(--accent); transform: rotate(12deg); }

@media (max-width: 860px) {
  .topnav, .avatar-btn span, .side-panel, .shape { display: none; }
  .topbar { padding: 12px 16px; }
  main { width: min(100% - 24px, 560px); padding-top: 18px; }
  .auth-view, .app-shell, .action-grid, .dish-grid, .shop-grid { grid-template-columns: 1fr; }
  .auth-view { min-height: auto; }
  h1 { font-size: clamp(34px, 11vw, 48px); }
  .hero { display: grid; }
  .section-head { align-items: flex-start; }
  .sticker-card, .panel, .dish-card, .shop-card, .empty-card { box-shadow: 3px 3px 0 #1e293b; }
  .dish-card { grid-template-columns: 92px 1fr 44px; align-items: center; }
  .dish-card img { width: 92px; height: 92px; aspect-ratio: 1; }
  .dish-card .add-btn { position: static; }
  .dish-actions { padding-right: 0; }
  .segmented { border-radius: 18px; }
  .segment { font-size: 13px; }
  .order-tools { align-items: flex-start; flex-direction: column; }
  .order-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .order-tools .primary-btn, .order-tools .secondary-btn { width: 100%; }
  .bottom-tabs { display: grid; }
  .sticky-action { width: 100%; position: sticky; bottom: 86px; }
}

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