@charset "UTF-8";
/* 界面字库优先加载，动态中文内容使用同款常用中文字库补足。 */
@font-face {
  font-family: 'Matro Serif';
  src: url('/fonts/matro-serif.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Matro Serif CJK';
  src: url('/fonts/matro-serif-cjk.woff2') format('woff2');
  font-display: swap;
}

:root {
  font-family: 'Matro Serif', 'Matro Serif CJK', 'Songti SC', SimSun, serif;
  color: #000;
  background: #fff;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
::selection { background: #000; color: #fff; }
::placeholder { color: #666; opacity: 1; }
:focus-visible { outline: 2px solid #000; outline-offset: 4px; }

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 24px;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 32px;
  font: inherit;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.primary:hover { background: #292929; }
.primary:active { background: #444; }
.primary:disabled { opacity: .4; cursor: default; }
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 0 24px;
  border: 1px solid #d7d7d7;
  border-radius: 32px;
  background: #fff;
  color: #333;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.secondary:hover { border-color: #888; background: #f7f7f5; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: #666;
  text-decoration: none;
  cursor: pointer;
}
.text-button:hover { color: #000; }
.quiet, .muted { color: #666; }
.error { color: #000; }
@media (prefers-reduced-motion: reduce) {
  .primary, .secondary { transition: none; }
}
