*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{min-height:100%}body{font-family:-apple-system,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;background:linear-gradient(160deg,#f8fafc,#fff 45%,#cfe0f5);color:#1f2d3d;line-height:1.7;min-height:100vh}.page{max-width:720px;margin:0 auto;padding:24px 16px 96px}.hero{background:linear-gradient(135deg,#1e3a5f,#3b82f6 60%,#4f8ef7);color:#fff;border-radius:14px;padding:24px;margin-bottom:16px;box-shadow:0 4px 18px #1e3a5f40}.hero h1{font-size:21px;font-weight:800;letter-spacing:1px}.hero p{font-size:12.5px;opacity:.85;margin-top:5px}.hero .actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.hero .chip{background:#ffffff29;border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:3px 12px;font-size:12px}.hero .chip b{font-weight:700}.card{background:#fff;border-radius:12px;padding:20px 22px;margin-bottom:16px;box-shadow:0 2px 10px #0f1e330f}.card h2{font-size:16px;color:#0f1e33;font-weight:700;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid #e8f0fe}.card h2 a{float:right;font-size:13px;font-weight:400;color:#2563eb;text-decoration:none}.card h2 a:hover{text-decoration:underline}.field{margin-bottom:14px}.field label{display:block;font-size:13px;color:#5b6b80;font-weight:600;margin-bottom:4px}.field input[type=text],.field input[type=password],.field select{width:100%;padding:10px 12px;font-size:14px;color:#1f2d3d;background:#f4f7fb;border:1px solid #dbe4ef;border-radius:8px;outline:none;font-family:Consolas,monospace;transition:border-color .2s}.field input:focus,.field select:focus{border-color:#3b82f6;background:#fff}.field .hint{font-size:12px;color:#8a99ad;margin-top:3px;font-family:sans-serif}.switchrow{display:flex;align-items:center;justify-content:space-between;padding:10px 2px;border-bottom:1px dashed #eef2f8}.switchrow:last-child{border-bottom:none}.switchrow .name{font-size:14px}.switchrow .desc{font-size:12px;color:#8a99ad}.sw{position:relative;width:46px;height:26px;flex:none}.sw input{opacity:0;width:100%;height:100%;position:absolute;cursor:pointer;z-index:2;margin:0}.sw .track{position:absolute;top:0;left:0;right:0;bottom:0;background:#cbd5e1;border-radius:20px;transition:background .2s}.sw .knob{position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:left .2s;box-shadow:0 1px 3px #0000004d}.sw input:checked+.track{background:#2563eb}.sw input:checked+.track .knob{left:23px}button{border:none;border-radius:8px;padding:11px 26px;font-size:15px;font-weight:600;cursor:pointer;transition:opacity .2s,transform .1s;font-family:inherit}button:active{transform:scale(.98)}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff}button.ghost{background:#eef5ff;color:#2563eb}button.minibtn{border:1px solid #dbe4ef;background:#eef5ff;color:#2563eb;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600}.toast{font-size:13px;font-weight:600;color:#16a34a;margin-top:8px;opacity:0;transition:opacity .3s}.toast.show{opacity:1}.toast.err{color:#dc2626}.note{background:#e8f0fe;border-left:4px solid #3b82f6;border-radius:8px;padding:12px 16px;font-size:12.5px;color:#3a4a5f;margin-bottom:16px}.note b{font-weight:700}.tokenbox{background:#0a1626;color:#c9d6f3;border-radius:8px;padding:12px 14px;font-family:Consolas,monospace;font-size:13px;word-break:break-all;margin-bottom:10px}.tokenbox b{color:#4ade80;font-weight:400}.appline{font-size:12.5px;color:#5b6b80}.appline code{background:#f0f5fd;border:1px solid #dbe4ef;border-radius:4px;padding:1px 6px;font-family:Consolas,monospace;font-size:12px}table{width:100%;border-collapse:collapse;font-size:13px}th{background:#f0f5fd;color:#0f1e33;font-weight:600;padding:8px 10px;text-align:left}td{padding:7px 10px;border-bottom:1px solid #eef2f8}audio{width:190px;height:32px}.empty{color:#8a99ad;font-size:13px;padding:12px 2px}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}.back{display:inline-block;margin-bottom:14px;font-size:13px}.savebar{position:fixed;left:0;right:0;bottom:0;padding:12px 16px;background:#f8fafceb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-top:1px solid #dbe4ef;z-index:10}.savebar .inner{max-width:720px;margin:0 auto;display:flex;gap:12px;align-items:center}.savebar button.primary{flex:1}.loading{text-align:center;color:#8a99ad;padding:40px 0;font-size:14px}@media(max-width:480px){.hero h1{font-size:18px}audio{width:150px}}
