:root { color-scheme:light dark; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:transparent; color:#21333c; }
* { box-sizing:border-box; }
body { margin:0; background:transparent; }
main { width:min(760px,calc(100% - 32px)); margin:0 auto; padding:max(24px,env(safe-area-inset-top)) 0 64px; }
nav { display:flex; align-items:center; gap:10px; margin-bottom:32px; }
nav a { color:#456f73; font-size:14px; font-weight:700; text-decoration:none; }
/* The first legal-page link returns to the app. Keep it prominent and localized. */
nav a:first-child { display:inline-flex; align-items:center; gap:6px; min-height:42px; padding:0 14px; border:1px solid #c9ddd8; border-radius:12px; background:rgba(255,255,255,.78); color:#2d5c61; font-size:0; box-shadow:0 2px 8px rgba(33,51,60,.08); }
nav a:first-child::after { content:"← 返回"; font-size:14px; }
html[lang="en"] nav a:first-child::after { content:"← Back"; }
nav a:first-child:hover { background:#eef8f5; }
nav a:not(:first-child) { display:none; }
h1 { font-size:clamp(30px,7vw,48px); margin:0 0 8px; }
h2 { margin:30px 0 8px; font-size:20px; }
p,li { color:#52666d; font-size:15px; line-height:1.75; }
.updated { margin:0 0 30px; color:#7c8c91; font-size:13px; }
.card { padding:20px; border:1px solid #dce8e5; border-radius:18px; background:rgba(255,255,255,.75); }
form { display:grid; gap:14px; }
label { display:grid; gap:6px; color:#344d55; font-size:13px; font-weight:750; }
input,select,textarea { width:100%; padding:12px; border:1px solid #cadbd7; border-radius:12px; background:#fff; color:#21333c; font:inherit; }
textarea { min-height:150px; resize:vertical; }
button { min-height:46px; border:0; border-radius:13px; background:#456f73; color:white; font:inherit; font-weight:800; cursor:pointer; }
button:disabled { opacity:.55; }
.status { min-height:24px; margin:0; font-weight:700; }
.honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
@media (prefers-color-scheme:dark) { :root,body { background:transparent; color:#eef8f5; } p,li,.updated { color:#b9ccc8; } nav a { color:#a6d2c9; } nav a:first-child { border-color:#35545a; background:#183744; color:#eef8f5; box-shadow:none; } nav a:first-child:hover { background:#244b59; } .card { border-color:#28434a; background:rgba(20,47,57,.8); } label { color:#d5e8e3; } input,select,textarea { border-color:#35545a; background:#0e2028; color:#eef8f5; } }
