:root { color-scheme: light; --ink:#39334e; --muted:#81778f; --accent:#8063bd; }
* { box-sizing:border-box; }
body { min-height:100svh; margin:0; color:var(--ink); font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; background:#e4def2 url("/torrent/assets/maple-v4/sakura-starlight-9f86b9e6784c.webp") center/cover fixed no-repeat; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(239,234,248,.25),transparent 75%); }
#main { position:relative; width:min(410px,calc(100% - 40px)); margin:0; margin-left:clamp(24px,9vw,180px); top:clamp(40px,17vh,180px); padding:38px; text-align:left; border:1px solid rgba(255,255,255,.8); border-radius:28px; background:rgba(255,255,255,.88); box-shadow:0 24px 80px #35225125; backdrop-filter:blur(18px); }
#main::before { content:"SAKURA · STARLIGHT"; display:block; color:var(--accent); font-size:11px; letter-spacing:3px; margin-bottom:12px; }
#main h1 { font-size:25px; line-height:1.3; letter-spacing:-.5px; margin:0 0 24px; }
#logo { display:none; }
#formplace { width:100%; padding:0; }
.row { margin-bottom:18px; }
label { color:var(--muted); font-size:13px; }
input[type=text],input[type=password] { width:100%; height:46px; margin-top:7px; padding:0 14px; border:1px solid #dfd6ec; border-radius:12px; background:#fffafeee; color:var(--ink); font:inherit; }
input:focus-visible { outline:3px solid #b7a0dc; outline-offset:3px; }
#login { width:100%; height:46px; float:none; margin-top:6px; border:0; border-radius:12px; color:white; background:linear-gradient(110deg,#8b6cc4,#b17baf); font:600 14px/1 inherit; cursor:pointer; box-shadow:0 8px 20px #8063bd30; }
#login:hover { filter:brightness(1.08); }
#error_msg { clear:both; color:#a52c52; font-size:13px; }
@media(max-width:600px) { body { background-position:70% center; } #main { margin:0 auto; top:12vh; padding:30px; background:rgba(255,255,255,.94); } }
