﻿:root {
  --bg-0: #0e0e10;
  --bg-1: #141416;
  --text: #e6e6e6;
  --muted: #b7b7b7;
  --accent: #ff8a00;
  --accent-2: #2aa9ff;
  --glass: rgba(20, 20, 22, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --overlay-1: rgba(255, 255, 255, 0.06);
  --grid-line: rgba(255, 255, 255, 0.03);
  --card-bg: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  color: var(--text);
  text-decoration: none;
}

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

h1,
h2,
h3 {
  margin: 0 0 8px;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

code.code {
  display: inline-block;
  padding: 6px 10px;
  background: var(--overlay-1);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 灞忓箷闃呰鍣ㄤ笓鐢紙瑙嗚闅愯棌浣嗗彲琚悳绱㈠紩鎿庡拰闃呰鍣ㄨ闂級 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--overlay-1);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

button,
.btn {
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #ffb34d);
  color: #1a1a1a;
  border-color: transparent;
}

.btn--ghost {
  background: var(--overlay-1);
}

.section {
  padding: 56px 24px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.section--glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.section__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--overlay-1);
  color: var(--muted);
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__title {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.card__value {
  padding: 16px 14px;
  font-size: 20px;
}

.motd {
  font-size: 14px;
  color: var(--muted);
  white-space: pre-line;
}

.grid {
  display: grid;
  gap: 16px;
}

.footer {
  max-width: 1120px;
  margin: 48px auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer__brand {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__links {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .section {
    padding: 40px 16px;
  }
}

[data-theme="light"] {
  --bg-0: #fafafa;
  --bg-1: #ffffff;
  --text: #1a1a1a;
  --muted: #5e5e5e;
  --glass: rgba(255, 255, 255, 0.7);
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --overlay-1: rgba(0, 0, 0, 0.04);
  --grid-line: rgba(0, 0, 0, 0.04);
  --card-bg: rgba(0, 0, 0, 0.03);
}

/* 鍏嶈矗澹版槑閾炬帴 - 闅愯棌涓嶆樉绀?*/
.disclaimer-link {
  display: none !important;
}

/* 备案号链接 */
.beian-link {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 999;
  font-size: 12px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.beian-link:hover {
  opacity: 1;
}

.beian-link a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 8px;
  background: var(--overlay-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  display: inline-block;
}

.beian-link a:hover {
  color: var(--text);
  border-color: var(--border);
}

@media (max-width: 768px) {
  .beian-link {
    font-size: 11px;
    bottom: 8px;
    right: 8px;
  }
}

