@font-face {
  font-family: "Review Sans";
  src: url("../assets/fonts/review-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Review Song";
  src: url("../assets/fonts/review-song.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --sans: "Review Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --song: "Review Song", "Songti SC", "Noto Serif CJK SC", serif;
  --paper: #f4f2ea;
  --ink: #202321;
  --muted: #535c52;
  --line: #b9bcb0;
  --accent: #17483b;
  --on-accent: #fff;
  --focus: #285ac2;
  --logo-filter: brightness(0);
  --edge: clamp(24px, 5.1vw, 80px);
  --max: 1512px;
  font-family: var(--sans);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip {
  position: fixed;
  z-index: 4;
  inset: 8px auto auto 8px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
}
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.site-bar {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--edge);
  min-height: 75px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  column-gap: clamp(18px, 3vw, 44px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand img { filter: var(--logo-filter); }
.brand-mark { width: 47px; height: auto; }
.brand-stack { display: grid; gap: 2px; align-items: center; }
.brand-stack span { font-size: 15px; line-height: 1; font-weight: 740; letter-spacing: .10em; }
.brand-word { width: 62px; height: auto; }
.platform { font-size: .91rem; font-weight: 560; width: max-content; }
.site-links { display: flex; align-items: center; gap: 22px; font-size: .91rem; }
.site-links a { padding: 10px 0; }
.site-links a:hover, .site-footer a:hover { text-decoration: underline; }
.account-guest, .account-user { display: flex; align-items: center; gap: 7px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 16px;
  border: 1px solid transparent;
  background: transparent;
  font-size: .92rem;
  font-weight: 650;
  white-space: nowrap;
}
.button-quiet:hover { text-decoration: underline; text-underline-offset: .22em; }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { filter: brightness(.93); }
.button-outline { border-color: var(--line); }
.button-outline:hover { border-color: currentColor; }
.arrow {
  --arrow-length: 1.1em;
  display: inline-block;
  position: relative;
  width: var(--arrow-length);
  height: var(--arrow-length);
  flex: 0 0 var(--arrow-length);
  vertical-align: -.17em;
}
.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4%;
  right: 7%;
  border-top: 1.6px solid currentColor;
}
.arrow::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 45%;
  top: 50%;
  right: 7%;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: translateY(-42%) rotate(45deg);
}
.arrow-down { transform: rotate(90deg); }
.site-footer {
  width: min(100%, var(--max));
  margin: 34px auto 0;
  padding: 20px var(--edge) 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: .86rem;
  color: var(--muted);
}
.site-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
#demo-dialog {
  width: min(calc(100% - 28px), 480px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
#demo-dialog::backdrop { background: rgba(8, 12, 20, .68); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 10px; }
.dialog-top h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.dialog-top button { padding-inline: 10px; }
.dialog-body { display: grid; gap: 16px; font-size: 1rem; }
.dialog-context { color: var(--muted); }
.dialog-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 10px; }
.dialog-form { display: grid; gap: 9px; }
.dialog-form input { width: 100%; padding: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); caret-color: var(--accent); }
.recent-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.recent-list button { padding-inline: 0; }
.recent-list li + li { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  :root { --edge: 22px; }
  .site-bar { min-height: 68px; grid-template-columns: auto 1fr auto; column-gap: 12px; }
  .site-links { display: none; }
  .brand { gap: 6px; }
  .brand-mark { width: 37px; }
  .brand-word { width: 52px; }
  .brand-stack span { font-size: 13px; }
  .platform { font-size: .81rem; }
  .site-bar .button { padding: 7px 9px; font-size: .85rem; }
  .site-footer { margin-top: 18px; }
}
@media (max-width: 360px) {
  :root { --edge: 16px; }
  .site-bar { column-gap: 8px; }
  .site-bar .button { padding-inline: 6px; }
  .account-guest, .account-user { gap: 2px; }
  .account:has(.account-user:not([hidden])) { grid-column: 3; }
  .site-bar:has(.account-user:not([hidden])) .platform { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
