:root {
  --bg: oklch(1 0 0);
  --ink: oklch(0.19 0.008 270);
  --muted: oklch(0.45 0.01 270);
  --line: oklch(0.89 0 0);
  --surface: oklch(0.97 0 0);
  --brand: oklch(0.36 0.219 270);
  --accent: oklch(0.9 0.06 85);
  --danger: oklch(0.45 0.18 25);
  --radius: 6px;
  --z-header: 10;
  --z-toast: 100;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: var(--bg);
  color: var(--ink);
}
input::placeholder {
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -70px;
  left: 15px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 120;
}
.skip:focus {
  top: 10px;
}
.site-header {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4vw;
  border-bottom: 1px solid var(--line);
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand-symbol {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.brand-dot {
  color: var(--brand);
}
.brand-en {
  font-size: 10px;
  letter-spacing: 0.12em;
  border-left: 1px solid var(--line);
  padding-left: 15px;
  line-height: 1.2;
  font-weight: 600;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
.site-header nav a {
  position: relative;
  color: var(--muted);
  padding: 8px 0;
}
.site-header nav a.active {
  color: var(--ink);
}
.site-header nav a.active:after {
  content: "";
  height: 2px;
  width: 18px;
  background: var(--ink);
  position: absolute;
  bottom: -23px;
  left: calc(50% - 9px);
}
.header-account {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 12px 21px;
  font-weight: 500;
  transition:
    background 0.16s,
    color 0.16s;
  line-height: 1.4;
  min-height: 43px;
}
.button:hover {
  background: var(--surface);
}
.button.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.button.dark:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.button.small {
  padding: 10px 16px;
  font-size: 13px;
}
.button.full {
  width: 100%;
}
.button.text {
  border: 0;
  padding: 8px;
  background: transparent;
}
.credit-chip {
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 30px;
  font-variant-numeric: tabular-nums;
}
.account-link {
  white-space: nowrap;
}
main {
  max-width: 1600px;
  margin: auto;
  min-height: 68vh;
  padding: 0 4vw 80px;
}
