:root {
  color-scheme: dark;
  --bg: #101318;
  --panel: #191e26;
  --panel-high: #242c36;
  --line: #303843;
  --text: #f1f2f3;
  --muted: #a3aeba;
  --accent: #e2be80;
  --accent-strong: #f1d39f;
  --danger: #f0aba7;
  --page-max: 1760px;
  --page-gutter: 24px;
  --layout-gap: 24px;
  --sidebar-width: 320px;
  --panel-inset: 20px;
  --panel-radius: 12px;
  --heading-height: 88px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 25% 20%, #20283466, transparent 60%), var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .42; }
a { color: inherit; text-decoration: none; }
input, select, textarea { border: 1px solid #475261; background: #11171e; border-radius: 7px; padding: 10px 12px; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
select { height: 44px; max-width: 210px; padding-right: 24px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; font-weight: 650; }
h2 { font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -.3px; }
h3 { font-size: 16px; font-weight: 600; }
input[type=number] { appearance: textfield; -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
[hidden] { display: none!important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.flip { transform: rotate(180deg); }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 1.6px; font-weight: 650; }
.muted { color: var(--muted); }
.button { min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .16s, border-color .16s; }
.button-primary { background: var(--accent); color: #201b12; }
.button-primary:hover:not(:disabled) { background: var(--accent-strong); }
.button-secondary { background: #252e38; border-color: #3c4653; }
.button-secondary:hover:not(:disabled) { background: #354150; border-color: #5a6777; }
.button-quiet { background: transparent; color: var(--muted); }
.button-quiet:hover { background: #ffffff09; color: var(--text); }
.icon-button { width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: var(--muted); border-radius: 6px; display: grid; place-items: center; }
.icon-button:hover { background: #ffffff0c; color: white; }
.positive { color: #a8d7bc; }
.negative { color: #ecb2ac; }
.language-button { min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-high); font-size: 14px; font-weight: 700; flex: none; }
@media (max-width: 900px) {
  :root { --page-gutter: 16px; }
}
@media (max-width: 700px) {
  :root { --panel-inset: 16px; --layout-gap: 16px; }
}
@media (max-width: 780px) {
  h1 { font-size: 28px; }
}
@media (max-width: 540px) {
  h1 { font-size: 28px; letter-spacing: -.6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}
