:root {
  --blue: var(--lego-colors-primary);
  --yellow: var(--lego-colors-brand-yellow);
  --ink: var(--lego-colors-text-primary);
  --secondary: var(--lego-colors-text-secondary);
  --muted: var(--lego-colors-text-muted);
  --paper: var(--lego-colors-page-grouped);
  --white: var(--lego-colors-surface);
  --line: var(--lego-colors-divider);
  --selected: var(--lego-colors-selected-surface);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--lego-colors-page-neutral);
  font-synthesis: none;
  font-size: var(--lego-typography-body-font-size);
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
button, a { touch-action: manipulation; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
button:active:not(:disabled), .button:active:not(:disabled) { filter: brightness(.94); }
::selection { background: var(--selected); color: var(--blue); }
select { accent-color: var(--blue); }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: var(--lego-colors-text-placeholder); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
h1,h2,h3,p { margin: 0; }
.icon { width: 22px; height: 22px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 6px; flex-shrink: 0; }
.button { height: var(--lego-components-button-primary-height); background: var(--lego-components-button-primary-background-color); color: var(--lego-components-button-primary-text-color); border-radius: var(--lego-components-button-primary-rounded); padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font-size: var(--lego-typography-body-font-size); font-weight: 600; border: 0; }
.button:disabled, .compact-button:disabled { background: var(--lego-colors-disabled-fill); color: var(--white); }
.text-button { color: var(--blue); display: inline-flex; align-items: center; gap: 4px; padding: 6px 4px; }
.text-button .icon { width: 16px; height: 16px; }
.compact-button { background: var(--blue); color: var(--white); border-radius: var(--lego-rounded-control); min-width: var(--lego-components-button-compact-width); height: var(--lego-components-button-compact-height); padding: 0 10px; font-size: 12px; }
.price { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 700; line-height: 1.2; font-size: var(--lego-typography-price-list-font-size); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-size: .7em; }
.muted { color: var(--secondary); }
.small { font-size: var(--lego-typography-label-font-size); }
.food-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.stepper { display: flex; gap: 4px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.step-button { width: 32px; height: 32px; padding: 5px; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.step-button .icon { border: 1px solid currentColor; border-radius: 50%; width: 22px; height: 22px; padding: 2px; }
.step-button:disabled { color: var(--lego-colors-disabled-fill); }
.step-count { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.outline-label { border: 1px solid var(--line); border-radius: 4px; padding: 5px 10px; color: var(--secondary); font-size: 12px; }
.inline-button { align-self: start; }
.connection-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; display: inline-block; margin-right: 7px; }
.missing-page { padding: 80px 20px; text-align: center; }
.missing-page h1, .missing-page h2 { margin-bottom: 24px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
