/* 單位九 UNIT NINE — design tokens
   Design frame 1280 × 800. One design pixel equals --u, the largest uniform
   scale that fits the whole frame: --u: min(100vw/1280, 100vh*100/800).
   Heights map 1:1 to the screen; extra width is absorbed by edge-anchored items. */
:root{
  --u: min(calc(100vw / 1280), calc(100vh * 100 / 800));

  --ink: #ffffff;
  --base-bot: #130e09;
  --rule: rgba(255,255,255,.115);
  --grid: rgba(255,255,255,.0265);
  --menu-bg: #fcfcfc;
  --menu-ink: #141414;
  --amber: #f0a35e;

  --small-min: 10px;
  --small: max(var(--small-min), calc(12.6 * var(--u)));
  --ls: -.051em;

  --font: "Helvetica Neue", Helvetica, Arial, "Noto Sans TC", "PingFang TC", sans-serif;

  --e-expo: cubic-bezier(.16, 1, .3, 1);
  --e-quint: cubic-bezier(.22, 1, .36, 1);
  --e-sweep: cubic-bezier(.76, 0, .24, 1);

  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
@media (min-height: 480px){
  :root{ --small-min: 11.28px; }
}
