*{box-sizing:border-box}body{margin:0;font-family:-apple-system,"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;background:linear-gradient(160deg,#efeaf8,#e4dff0);color:#2b2750;min-height:100vh}
#app{max-width:560px;margin:0 auto;padding:16px}
.card{background:#fff;border-radius:20px;padding:22px;margin-bottom:14px;box-shadow:0 4px 18px rgba(80,60,160,.08)}
h1{font-size:26px;margin:6px 0 10px;text-align:center}h2{font-size:16px;margin:0 0 12px}
.sub{color:#8a84b5;font-size:12px;text-align:center;letter-spacing:1px}
p{line-height:1.7;font-size:14px;margin:8px 0}
.btn{display:block;width:100%;padding:14px;border-radius:14px;border:0;background:#6f5fc0;color:#fff;font-size:16px;cursor:pointer;margin-top:10px}
.btn.ghost{background:#fff;color:#6f5fc0;border:1px solid #cfc8ee}.btn:disabled{opacity:.45}
.opt{display:block;width:100%;text-align:left;padding:14px;margin:10px 0;border-radius:14px;border:1px solid #ddd8f3;background:#f8f6ff;font-size:15px;cursor:pointer;color:#2b2750}
.opt:hover,.opt.sel{border-color:#6f5fc0;background:#efebff}
.bar{height:8px;background:#ece9f8;border-radius:6px;overflow:hidden;flex:1}.bar i{display:block;height:100%;background:#7461c4}
.bar i.f{background:#e0a24c}.row{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:13px}.row b{width:34px;font-weight:500}.row span{width:28px;text-align:right;color:#6f5fc0;font-size:12px}
.prog{height:6px;background:#e3dff5;border-radius:4px}.prog i{display:block;height:100%;background:#6f5fc0;border-radius:4px}
.pct{font-size:60px;font-weight:700;color:#6f5fc0;text-align:center;line-height:1.1}.name{font-size:28px;font-weight:700;text-align:center}
.tags{text-align:center;margin:10px 0}.tags span{display:inline-block;background:#efebff;color:#6f5fc0;border-radius:12px;padding:3px 12px;font-size:12px;margin:2px}
.quote{background:#f4f1ff;border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.7}.quote small{display:block;color:#8a84b5;margin-top:4px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.grid div{background:#f8f6ff;border:1px solid #e6e1f7;border-radius:12px;padding:10px;font-size:12px;line-height:1.6}.grid b{display:block;font-size:13px;margin-bottom:4px}
.locked{filter:blur(4px);user-select:none;pointer-events:none}.lockbox{position:relative}.lockmsg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-weight:600;color:#6f5fc0}
input[type=text]{width:100%;padding:13px;border-radius:12px;border:1px solid #cfc8ee;font-size:16px;text-transform:uppercase;letter-spacing:2px;text-align:center}
.err{color:#c0392b;font-size:13px;text-align:center;min-height:18px}.pref{display:flex;gap:10px;align-items:center}.pref b{font-size:20px;width:36px;height:36px;line-height:36px;text-align:center;background:#efebff;border-radius:50%;color:#6f5fc0}
.disc{max-width:560px;margin:0 auto;padding:8px 20px 30px;color:#9a95c0;font-size:11px;text-align:center;line-height:1.6}.leg{font-size:11px;color:#8a84b5}.leg i{display:inline-block;width:10px;height:6px;background:#7461c4;margin:0 3px 0 8px}.leg i.f{background:#e0a24c}
