:root {
  color-scheme: light;
  --font-sans: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-serif: ui-serif, "Noto Serif TC", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --content-width: 1120px;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: anywhere; font-family: var(--font-sans); }
button, input, textarea, select { font: inherit; }
img, svg, canvas, video { max-width: 100%; height: auto; }
button, select, input[type="button"], input[type="submit"] { min-block-size: 44px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus, #2563eb); outline-offset: 3px; }
.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  translate: 0 -160%;
}
.skip-link:focus { translate: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
