/* 用户协议 / 隐私政策 / 免责声明 */
.legal-page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--bg, #0b1220);
  color: var(--text, #e8eef7);
}

.legal-page > .toolbar,
.legal-page > .legal-toolbar {
  flex-shrink: 0;
}

.legal-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  width: 100%;
  box-sizing: border-box;
}

.legal-doc h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--muted, #9aabbf);
  font-size: 13px;
}

.legal-doc h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 650;
}

.legal-doc p,
.legal-doc li {
  margin: 0 0 10px;
  line-height: 1.75;
  color: #d5deea;
  font-size: 14px;
}

.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 1.25em;
}

.legal-doc a {
  color: #69d8d0;
  text-decoration: none;
}

.legal-doc a:hover {
  text-decoration: underline;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 36px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border, #243836);
  font-size: 13px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  font-size: 12px;
}

.legal-footer-links a {
  color: var(--muted, #9aabbf);
  text-decoration: none;
}

.legal-footer-links a:hover {
  color: #c8f2ee;
}

.auth-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 4px;
  font-size: 12px;
  color: var(--muted, #9aabbf);
  line-height: 1.55;
  cursor: pointer;
  user-select: none;
}

.auth-agree[hidden],
.auth-agree-hint[hidden] {
  display: none !important;
}

.auth-agree input {
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent, #3fd0c8);
}

.auth-agree a {
  color: #69d8d0;
  text-decoration: none;
}

.auth-agree a:hover {
  text-decoration: underline;
}

.auth-agree-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted, #9aabbf);
  line-height: 1.5;
}

.auth-agree-hint a {
  color: #69d8d0;
  text-decoration: none;
}

.auth-agree-hint a:hover {
  text-decoration: underline;
}

.profile-legal-footer {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  border-top: none;
  padding-bottom: 28px;
  justify-content: flex-end;
}

.legal-page .site-copy-fixed {
  position: fixed;
  right: 16px;
  bottom: 12px;
  z-index: 30;
}

/* —— 关于我们（备案公示）—— */
.about-page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(63, 208, 200, 0.18), transparent 60%),
    radial-gradient(700px 360px at 88% 8%, rgba(78, 161, 255, 0.1), transparent 55%),
    var(--bg, #0b1220);
}

.about-page .toolbar a.btn,
.about-page .toolbar-brand-link {
  text-decoration: none;
}

.about-page .toolbar .toolbar-outline-btn.is-current {
  background: rgba(63, 208, 200, 0.16);
  border-color: #7de0d6;
  color: #e8f2ff;
}

.updates-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted, #8b9e9a);
}

.updates-body p {
  margin: 0 0 0.55em;
  line-height: 1.7;
  white-space: pre-wrap;
}

.updates-body .updates-h2 {
  margin: 1.25em 0 0.5em;
  font-size: 1.05rem;
  font-weight: 700;
  color: #d7e6ff;
}

.updates-body .updates-h2:first-child {
  margin-top: 0;
}

.about-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 20px 48px;
  box-sizing: border-box;
}

.about-hero {
  padding: 8px 4px 28px;
  border-bottom: 1px solid rgba(120, 150, 190, 0.18);
  margin-bottom: 28px;
}

.about-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #8eb6e8;
}

.about-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 750;
  letter-spacing: 0.02em;
  color: #f2f6fc;
}

.about-lead {
  margin: 0;
  max-width: 52em;
  font-size: 15px;
  line-height: 1.85;
  color: #c5d3e6;
}

.about-lead p {
  margin: 0 0 14px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.about-lead p:last-child {
  margin-bottom: 0;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-card-map {
  grid-column: 1 / -1;
}

.about-map {
  margin: 14px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(120, 150, 190, 0.2);
  background: #101820;
}

.about-map img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.about-map figcaption {
  margin: 0;
  padding: 8px 12px;
  font-size: 12px;
  color: #8fa3bb;
  border-top: 1px solid rgba(120, 150, 190, 0.16);
  background: rgba(12, 18, 28, 0.55);
}

.about-card {
  margin: 0;
  padding: 20px 22px 22px;
  border-radius: 14px;
  border: 1px solid rgba(120, 150, 190, 0.22);
  background: linear-gradient(180deg, rgba(28, 38, 54, 0.92) 0%, rgba(18, 26, 38, 0.92) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.about-card h2 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 650;
  color: #9ee8e2;
  letter-spacing: 0.03em;
}

.about-card-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #e6eef8;
}

.about-phone a {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7ec2ff;
  text-decoration: none;
}

.about-phone a:hover {
  color: #b7dcff;
  text-decoration: none;
}

.about-dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.about-dl > div {
  display: grid;
  gap: 4px;
}

.about-dl dt {
  font-size: 12px;
  color: #8fa3bb;
}

.about-dl dd {
  margin: 0;
  font-size: 15px;
  color: #e6eef8;
  line-height: 1.55;
}

.about-dl a,
.about-card a {
  color: #7ec2ff;
  text-decoration: none;
}

.about-dl a:hover,
.about-card a:hover {
  color: #b7dcff;
  text-decoration: none;
}

.about-legal-nav {
  margin-top: 32px;
}

.about-legal-nav a,
.about-legal-nav a:link,
.about-legal-nav a:visited {
  color: #9ee8e2;
  text-decoration: none;
}

.about-legal-nav a:hover,
.about-legal-nav a:focus {
  color: #e8f2ff;
  text-decoration: none;
}

.about-legal-nav a:active {
  color: #c8f2ee;
}

.about-footer {
  flex-shrink: 0;
  padding: 18px 20px 24px;
  border-top: 1px solid rgba(120, 150, 190, 0.14);
}

.about-footer .site-copy {
  margin-left: 0;
  text-align: center;
  width: 100%;
}

.about-footer .site-copy a {
  color: inherit;
  text-decoration: none;
}

.about-footer .site-copy a:hover {
  color: #c8f2ee;
  text-decoration: none;
}

.site-beian-gongan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: baseline;
}

.site-beian-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-page .toolbar .brand-group .toolbar-outline-btn {
    display: none;
  }
}

