/* 大会站与票务中心共用。两站各自通过 /base.css 读取本文件。 */
@layer nbs-base {
  :root {
    --font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-size-base: 16px;
    --font-size-small: .875rem;
    --font-size-nav: 1.125rem;
    --weight-regular: 400;
    --weight-emphasis: 600;
    --line-height-body: 1.5;

    --brand-dark: #080604;
    --brand-ink: #fff5ea;
    --brand-note: #ffdfc8;
    --brand-action: #c52c1d;
    --brand-action-ink: var(--brand-ink);
    --brand-action-hover: #aa2519;
    --brand-campaign:
      radial-gradient(ellipse 38% 135% at 104% 124%, #ffc26f 5%, #f77a35 30%, #d54423 52%, rgb(152 29 18 / 65%) 70%, transparent 100%),
      radial-gradient(ellipse 54% 145% at 100% 100%, #912719 10%, #46130e 50%, transparent 100%),
      linear-gradient(90deg, var(--brand-dark) 24%, #0e0705 48%, #260d08 76%, #60180d 100%);
    --brand-campaign-compact:
      radial-gradient(ellipse 52% 100% at 111% 100%, #e56c30 0%, #a52b1a 30%, #582019 65%, transparent 100%),
      var(--brand-dark);

    --ink: #251a15;
    --muted: #66544b;
    --accent: #a2361c;
    --accent-hover: #762517;
    --accent-wash: #f9e9dc;
    --paper: #faf6f2;
    --surface: #fffdfb;
    --on-accent: var(--surface);
    --slot: #f2e9e3;
    --section: #f7f0eb;
    --line: #e2cfc3;
    --control-line: #a58273;
    --success: #146559;
    --shadow-rgb: 50 29 20;
    --footer-surface: var(--brand-dark);
    --footer-ink: var(--brand-ink);
    --footer-rule: #705249;
    --footer-slot: #33211c;
    --footer-accent: #ffd1af;

    --page-width: 1200px;
    --gutter: 16px;
    --frame-width: min(var(--page-width), calc(100% - 2 * var(--gutter)));
    --header-height: 70px;
    --header-mobile-height: 50px;
    --control-height: 44px;
    --radius-control: 4px;
    --focus-ring: 2px solid var(--accent);

    color-scheme: light;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--weight-regular);
    line-height: var(--line-height-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-text-size-adjust: 100%;
  }

  *, *::before, *::after { box-sizing: border-box; }
  body { margin: 0; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button:not(:disabled), summary { cursor: pointer; }
  :focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
  ::selection { background: var(--accent-wash); color: var(--ink); }
}
