:root {
  color-scheme: light;
  --bg: #f6f9fc;
  --card: #fff;
  --ink: #152238;
  --muted: #64748b;
  --brand: #ff6b6b;
  --brand-soft: #fff1f1;
  --line: #e7edf4;
  --shadow: 0 18px 54px rgba(31, 45, 61, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 0 0, #fff 0, var(--bg) 42%); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.legal-shell { width: min(100% - 32px, 960px); margin: 0 auto; padding: 28px 0 64px; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.brand { color: var(--ink); font-size: 20px; font-weight: 800; text-decoration: none; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-right: 8px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), #ff9b6d); color: #fff; vertical-align: -10px; font-size: 17px; }
.back-link { color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; }
.legal-card { background: var(--card); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 5vw, 48px); }
h1 { margin: 0; font-size: clamp(26px, 5vw, 36px); letter-spacing: -.5px; }
h2 { margin: 34px 0 12px; padding-top: 4px; scroll-margin-top: 18px; font-size: 20px; }
h3 { margin: 24px 0 8px; font-size: 16px; }
p, li { color: #334155; font-size: 15px; line-height: 1.85; }
p { margin: 10px 0; }
ul { padding-left: 22px; }
.meta { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.notice { margin: 22px 0; padding: 14px 16px; border: 1px solid #ffd5d5; border-radius: 14px; background: var(--brand-soft); color: #7f1d1d; font-size: 14px; line-height: 1.7; }
.protocol-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 22px; }
.protocol-list a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .2s, transform .2s; }
.protocol-list a:hover { border-color: #ffb3b3; transform: translateY(-1px); }
.protocol-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.legal-footer { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
@media (max-width: 560px) { .legal-shell { width: min(100% - 22px, 960px); padding-top: 16px; } .legal-header { align-items: flex-start; } p, li { font-size: 14px; } }
