:root {
  color-scheme: dark;
  --lx-bg: #060a14;
  --lx-text: #e2e8f0;
  --lx-muted: #94a3b8;
  --lx-accent: #67e8f9;
  --lx-border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei',
    sans-serif;
  line-height: 1.75;
  color: var(--lx-text);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(56, 189, 248, 0.12), transparent),
    var(--lx-bg);
}

.lx-legal-wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.lx-legal-back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--lx-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.lx-legal-back:hover {
  color: var(--lx-accent);
}

.lx-legal-wrap h1 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lx-legal-updated {
  margin: 0 0 2rem;
  color: var(--lx-muted);
  font-size: 0.9rem;
}

.lx-legal-wrap h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.lx-legal-wrap h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
}

.lx-legal-wrap p,
.lx-legal-wrap li {
  color: rgba(226, 232, 240, 0.88);
}

.lx-legal-wrap ul,
.lx-legal-wrap ol {
  padding-left: 1.35rem;
}

.lx-legal-placeholder {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--lx-border);
  border-radius: 0.75rem;
  color: var(--lx-muted);
  font-size: 0.95rem;
}

.lx-legal-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lx-border);
  font-size: 0.85rem;
  color: var(--lx-muted);
}

.lx-legal-footer a {
  color: var(--lx-muted);
}

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

.lx-legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.lx-legal-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.lx-legal-table th,
.lx-legal-table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--lx-border);
  text-align: left;
  vertical-align: top;
}

.lx-legal-table th {
  color: #f8fafc;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

.lx-legal-table a {
  color: var(--lx-accent);
  word-break: break-all;
}

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

.lx-legal-note {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(103, 232, 249, 0.45);
  background: rgba(255, 255, 255, 0.03);
  color: var(--lx-muted);
  font-size: 0.9rem;
}
