:root {
  --color-bg: #FAF6EB;
  --color-panel: #FFFDF8;
  --color-panel-soft: #F2EBDA;
  --color-border: #E6DCC6;
  --color-accent: #0F6B3C;
  --color-accent-dark: #0A4E2B;
  --color-lime: #8DC63F;
  --color-text: #2A2218;
  --color-muted: #6F6353;
  --color-success: #2E8B57;
  --color-warning: #C98A12;
  --color-error: #C0392B;
  --color-white: #FFFFFF;
  --color-dot-gray: #C9BFAE;
  --color-dot-beige: #E2CFA3;
  --color-flag-red: #C0392B;
  --color-flag-blue: #294C7A;
  --color-flag-white: #FFFFFF;
  --accent-06: rgba(15, 107, 60, .06);
  --accent-08: rgba(15, 107, 60, .08);
  --accent-10: rgba(15, 107, 60, .10);
  --accent-14: rgba(15, 107, 60, .14);
  --accent-20: rgba(15, 107, 60, .20);
  --accent-40: rgba(15, 107, 60, .40);
  --accent-50: rgba(15, 107, 60, .50);
  --lime-06: rgba(141, 198, 63, .06);
  --lime-50: rgba(141, 198, 63, .50);
  --ink-05: rgba(42, 34, 24, .05);
  --ink-06: rgba(42, 34, 24, .06);
  --ink-10: rgba(42, 34, 24, .10);
  --ink-12: rgba(42, 34, 24, .12);
  --ink-18: rgba(42, 34, 24, .18);
  --paper-70: rgba(255, 253, 248, .70);
  --white-70: rgba(255, 255, 255, .70);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-pill: 999px;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-panel: inset 0 1px 0 var(--color-white), 0 32px 64px -24px var(--accent-14), 0 12px 32px -16px var(--accent-10), 0 2px 6px var(--ink-05);
  --shadow-card: 0 1px 2px var(--ink-06), 0 18px 40px -16px var(--ink-18), 0 0 0 1px var(--ink-05);
  --shadow-pill: 0 10px 24px -10px var(--accent-50);
  --shadow-soft: 0 18px 48px -28px var(--accent-20);
  --page-width: 1280px;
  --content-width: 840px;
  --header-height: 72px;
  --gutter: 32px;
  --section-space: 104px;
  --toc-offset: 88px;
  --focus-width: 2px;
  --motion-fast: 180ms;
  --motion-base: 280ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

html.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

svg {
  flex-shrink: 0;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
}

button,
summary {
  cursor: pointer;
}

button {
  border: 0;
}

ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.16;
  letter-spacing: -.02em;
}

h3 {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.28;
}

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
}

code {
  overflow-wrap: anywhere;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-soft);
  line-height: 1.55;
  -webkit-overflow-scrolling: touch;
}

::selection {
  color: var(--color-white);
  background: var(--color-accent);
}

:where(a, button, input, select, textarea, summary, [role="tab"]):focus-visible {
  outline: var(--focus-width) solid var(--color-accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.content-wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  overflow-x: clip;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 18px;
}

.no-break {
  white-space: nowrap;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--color-muted);
}

.accent-text,
.hl {
  color: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.card,
.panel {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 24px;
}

.panel {
  padding: 32px;
}

.badge,
.eyebrow,
.pill,
.tag {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge,
.eyebrow {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  background: var(--accent-08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow i,
.status-dot {
  display: block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--accent-14);
}

.pill,
.tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  background: var(--color-panel);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.pill svg,
.tag svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  min-width: 24px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  color: var(--color-white);
  background: var(--color-accent);
  box-shadow: inset 0 1px 0 var(--lime-50), var(--shadow-pill);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary,
.btn-ghost {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-panel);
  box-shadow: 0 1px 2px var(--ink-05);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--accent-40);
}

.btn-small {
  min-height: 38px;
  padding: 8px 17px;
  font-size: 14px;
}

.btn[aria-disabled="true"],
.btn:disabled {
  cursor: not-allowed;
  opacity: .52;
  transform: none;
}

.reveal {
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.pending {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.shown {
  opacity: 1;
  transform: none;
}

/* Shared header */
.site-topbar {
  position: relative;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--ink-05);
  background: var(--paper-70);
}

.site-topbar__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 30px;
}

.site-brand {
  display: inline-flex;
  min-width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}

.site-brand img {
  width: 34px;
  height: 34px;
}

.site-brand__en {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.site-brand__zh {
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  height: var(--header-height);
  align-items: stretch;
  gap: 1px;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 10px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--color-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-base);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--color-text);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-tools {
  position: relative;
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  position: relative;
}

.lang-trigger,
.menu-toggle {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.lang-trigger svg {
  width: 13px;
  height: 13px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 164px;
  padding: 7px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding-inline: 11px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  color: var(--color-accent);
  background: var(--accent-08);
}

.header-login {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: 0 1px 2px var(--ink-05);
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

.mobile-drawer {
  display: none;
}

.mobile-veil {
  display: none;
}

/* Shared footer */
.site-footer {
  overflow-x: clip;
  border-top: 1px solid var(--color-border);
  background: var(--color-panel-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: 52px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand .site-brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 390px;
  color: var(--color-muted);
  font-size: 14px;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 7px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: var(--color-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 13px;
}

.footer-legal,
.footer-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* Approved hero */
.hero {
  position: relative;
  max-width: 100%;
  min-height: calc(100vh - 128px);
  overflow: clip;
  isolation: isolate;
  padding-top: 88px;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(58% 60% at 82% 4%, var(--accent-08), transparent 72%),
    radial-gradient(42% 46% at 6% 100%, var(--lime-06), transparent 70%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-panel-soft) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(var(--ink-05) .6px, transparent .8px) 0 0 / 5px 5px;
  content: "";
  opacity: .6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 216px);
  grid-template-columns: 48fr 52fr;
  align-items: stretch;
  gap: 48px;
}

.copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 12px;
}

.h1 {
  margin: 22px 0 18px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
}

@media (min-width: 1021px) {
  html[lang="en"] .h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(48px, 4.4vw, 56px);
  }

  html[lang="en"] .h1 .no-break {
    white-space: normal;
  }
}

.h1 .sep {
  margin-inline: .08em;
  color: var(--color-dot-gray);
  font-weight: 600;
}

.lede {
  max-width: 540px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.7;
}

.lede strong {
  color: var(--color-text);
  font-weight: 650;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 24px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rule {
  width: 100%;
  height: 1px;
  margin: 28px 0 20px;
  background: var(--color-border);
}

.row-label {
  flex: none;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.plat,
.hot {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hot {
  margin-top: 16px;
}

.plat-item,
.flag-item {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.plat-item svg {
  width: 18px;
  height: 18px;
}

.flag-item {
  gap: 7px;
}

.flag {
  width: 22px;
  height: 16px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--ink-12);
}

.flag-red {
  fill: var(--color-flag-red);
}

.flag-blue {
  fill: var(--color-flag-blue);
}

.flag-white {
  fill: var(--color-flag-white);
}

.device {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.win {
  position: absolute;
  top: 48px;
  right: -24px;
  bottom: -32px;
  left: 0;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.win-bar {
  position: relative;
  display: flex;
  height: 44px;
  flex: none;
  align-items: center;
  padding-inline: 16px;
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(180deg, var(--white-70), transparent);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dots i:nth-child(1) {
  background: var(--color-dot-gray);
}

.dots i:nth-child(2) {
  background: var(--color-dot-beige);
}

.dots i:nth-child(3) {
  background: var(--color-accent);
}

.win-title {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  transform: translateX(-50%);
}

.win-title svg {
  width: 12px;
  height: 12px;
}

.win-tools {
  display: flex;
  margin-left: auto;
  gap: 6px;
}

.tool {
  display: inline-flex;
  height: 26px;
  align-items: center;
  gap: 5px;
  padding-inline: 10px;
  border-radius: var(--radius-xs);
  color: var(--color-muted);
  background: var(--color-panel-soft);
  font-size: 12px;
  font-weight: 600;
}

.tool svg {
  width: 11px;
  height: 11px;
}

.win-body {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 16px;
  padding: 16px 18px 56px;
}

.pane {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.route-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--color-border);
}

.route-tab {
  position: relative;
  padding: 4px 10px 9px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
}

.route-tab.is-on {
  color: var(--color-text);
  font-weight: 700;
}

.route-tab.is-on::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  content: "";
}

.route-tabs .count {
  margin-left: auto;
  padding: 4px 2px 0;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.routes {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.route {
  display: grid;
  min-width: 0;
  height: 50px;
  grid-template-columns: 22px minmax(0, 1fr) auto 96px 22px;
  align-items: center;
  gap: 10px;
  padding-inline: 10px;
  border-radius: var(--radius-sm);
}

.route.is-on {
  background: var(--accent-08);
  box-shadow: inset 0 0 0 1px var(--accent-14);
}

.route:not(.is-on):hover {
  background: var(--color-panel-soft);
}

.city {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city small {
  display: block;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 500;
}

.type {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  background: var(--color-panel-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.type.iepl {
  color: var(--color-accent);
  background: var(--accent-10);
}

.proto {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.linked {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: var(--radius-xs);
  background: var(--color-panel);
  box-shadow: 0 1px 3px var(--ink-10), inset 0 0 0 1px var(--accent-14);
}

.linked svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
}

.detail {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 10px 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white-70);
}

.detail h4 {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.detail h4 .ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-accent);
}

.detail h4 .ok i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.kv b {
  display: block;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.kv span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.sub {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--color-panel-soft);
  box-shadow: inset 0 1px 0 var(--white-70);
}

.sub h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.sub h3 .tag {
  min-height: 0;
  padding: 2px 8px;
  border: 0;
  color: var(--color-accent);
  background: var(--accent-10);
  font-size: 11px;
}

.big {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.big small {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
}

.price {
  margin-top: 4px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.stats {
  margin-top: 8px;
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-block: 8px;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-muted);
  font-size: 12px;
}

.stat:last-child {
  border-bottom: 0;
}

.stat .v {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.btn-import {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: var(--color-accent);
  box-shadow: inset 0 1px 0 var(--lime-50);
  font-size: 13px;
  font-weight: 700;
}

.btn-import svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 11px;
}

.pay .chip {
  padding: 3px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: var(--color-panel);
  font-weight: 600;
}

.float-card {
  position: absolute;
  z-index: 3;
  top: -30px;
  right: -40px;
  width: 238px;
  padding: 14px 16px 16px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.float-card h5 {
  font-size: 13px;
  line-height: 1.3;
}

.float-card p {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 11px;
}

.float-card .icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-inline: 2px;
}

.float-card .icons svg {
  width: 22px;
  height: 22px;
  color: var(--color-text);
}

.float-card .icons .linux-word {
  display: inline-flex;
  min-width: 34px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--color-panel-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.float-pill {
  position: absolute;
  z-index: 3;
  bottom: 44px;
  left: -28px;
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: var(--color-accent);
  box-shadow: var(--shadow-pill), inset 0 1px 0 var(--lime-50);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.float-pill i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
  animation: breathe 2.4s ease-in-out infinite;
}

.peek {
  padding: 22px 0 40px;
  border-top: 1px solid var(--color-border);
  background: var(--color-panel);
}

.peek .wrap {
  text-align: center;
}

.peek .kicker {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 18px;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  opacity: .75;
}

#server-status {
  position: relative;
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 32px;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

@media (max-width: 1180px) {
  .site-topbar__inner {
    gap: 16px;
  }

  .desktop-nav a {
    padding-inline: 7px;
    font-size: 13px;
  }

  .site-brand__zh {
    display: none;
  }

  .h1 {
    font-size: 54px;
  }
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-veil {
    position: fixed;
    z-index: 48;
    inset: var(--header-height) 0 0;
    background: var(--ink-18);
  }

  .mobile-veil.is-open {
    display: block;
  }

  .mobile-drawer {
    position: absolute;
    z-index: 52;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--gutter) 20px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-panel);
    box-shadow: var(--shadow-card);
  }

  .mobile-drawer.is-open {
    display: block;
  }

  .mobile-drawer a {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    padding-inline: 12px;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    font-weight: 650;
  }

  .mobile-drawer a:hover,
  .mobile-drawer a.is-active {
    color: var(--color-accent);
    background: var(--accent-08);
  }

  .mobile-drawer__languages {
    display: grid;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .device {
    min-height: 620px;
  }

  .win {
    top: 36px;
    right: 0;
    bottom: 0;
  }

  .float-card {
    top: -28px;
    right: 0;
  }

  .float-pill {
    bottom: -14px;
    left: 12px;
  }

  .win-body {
    grid-template-columns: minmax(0, 1fr) 228px;
    padding-bottom: 36px;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-main > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-space: 76px;
  }

  h1,
  .h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.14;
  }

  h2 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 34px;
  }

  .device {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 22px;
  }

  .win {
    position: relative;
    inset: auto;
    min-height: 570px;
  }

  .win-body {
    grid-template-columns: 1fr;
  }

  .sub {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-main > :last-child {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .no-break {
    white-space: normal;
  }

  .lede {
    font-size: 15px;
  }

  .btn {
    min-height: 46px;
    padding-inline: 20px;
  }

  .header-login {
    padding-inline: 13px;
  }

  .site-brand__en {
    font-size: 18px;
  }

  .site-brand img {
    width: 31px;
    height: 31px;
  }

  .hero {
    padding-top: 34px;
  }

  .copy {
    padding-right: 0;
  }

  .cta {
    margin-top: 24px;
  }

  .trust {
    gap: 7px;
  }

  .pill {
    white-space: normal;
  }

  .plat,
  .hot {
    gap: 10px 14px;
  }

  .float-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(200px, calc(100% - 18px));
    margin: 16px 0 0 auto;
  }

  .win {
    min-height: 530px;
  }

  .win-tools {
    display: none;
  }

  .win-title {
    left: auto;
    right: 14px;
    transform: none;
  }

  .win-body {
    padding: 13px 12px 34px;
  }

  .route {
    grid-template-columns: 22px minmax(0, 1fr) auto 22px;
    gap: 7px;
    padding-inline: 7px;
  }

  .proto {
    display: none;
  }

  .detail {
    grid-template-columns: 1fr 1fr;
  }

  .wall {
    gap: 18px 24px;
    font-size: 15px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-main > :last-child {
    grid-column: auto;
  }

  [class*="tilt"],
  .tilt {
    transform: none;
  }

  .hero::before,
  .hero::after,
  [class*="halo"],
  [class*="glow"] {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .reveal.pending,
  .reveal.shown {
    opacity: 1;
    transform: none;
  }

  .float-pill i {
    animation: none;
  }
}