:root{color:#edf4f5;font-synthesis:none;text-rendering:optimizelegibility;background:#10191d;font-family:Microsoft YaHei,Noto Sans SC,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(135deg,#10191d,#15262b);min-width:320px;margin:0}button,input{font:inherit}.login-shell{background:#172328;border:1px solid #41575c;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);width:80vw;height:80svh;min-height:520px;margin:10svh auto;display:grid;box-shadow:0 28px 70px #0008}.login-panel,.history-panel{flex-direction:column;padding:clamp(32px,5vh,52px);display:flex}.login-panel{border-right:1px solid #41575c}.history-panel{background:#132025}.section-heading,.history-heading{min-height:86px}.history-heading{justify-content:space-between;gap:16px;display:flex}.step{color:#b9e6d4;letter-spacing:.14em;margin:0;font:600 11px/1.4 Cascadia Mono,Consolas,monospace}.section-heading h2,.history-heading h2,.takeover-dialog h2{letter-spacing:-.04em;margin:8px 0 7px;font-size:25px}.section-heading>p:last-child,.history-hint,.takeover-dialog>p:last-of-type{color:#9eb1b7;margin:0;font-size:14px;line-height:1.6}.login-form{gap:clamp(18px,3vh,28px);margin-top:auto;margin-bottom:auto;display:grid}.login-form label{gap:11px;display:grid}.login-form label>span{color:#f5fbf7;letter-spacing:.08em;text-shadow:0 1px 10px #0008;border-left:3px solid #dbfc79;padding-left:13px;font-family:Microsoft YaHei UI,Source Han Sans SC,Microsoft YaHei,sans-serif;font-size:18px;font-weight:800;line-height:1.3;position:relative}.login-form input{color:#f7fbfa;letter-spacing:.08em;appearance:none;caret-color:#dbfc79;background:#172328;border:1px solid #668087;border-radius:3px;outline:0;width:100%;height:56px;padding:0 16px;font:700 24px/1.2 Cascadia Mono,Consolas,monospace;transition:border-color .18s,box-shadow .18s}.login-form input::placeholder{color:#688087;font-weight:600}.login-form input:focus{border-color:#dbfc79;box-shadow:0 0 0 3px #dbfc791a}.login-form input:-webkit-autofill{-webkit-text-fill-color:#f7fbfa;caret-color:#dbfc79;letter-spacing:.08em;font:700 24px/1.2 Cascadia Mono,Consolas,monospace;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #172328}.login-form input:-webkit-autofill:hover{-webkit-text-fill-color:#f7fbfa;caret-color:#dbfc79;letter-spacing:.08em;font:700 24px/1.2 Cascadia Mono,Consolas,monospace;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #172328}.login-form input:-webkit-autofill:focus{-webkit-text-fill-color:#f7fbfa;caret-color:#dbfc79;letter-spacing:.08em;font:700 24px/1.2 Cascadia Mono,Consolas,monospace;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #172328}.login-form input:-webkit-autofill:active{-webkit-text-fill-color:#f7fbfa;caret-color:#dbfc79;letter-spacing:.08em;font:700 24px/1.2 Cascadia Mono,Consolas,monospace;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #172328}.password-field{position:relative}.password-field input{padding-right:56px}.password-toggle{color:#b8ccce;cursor:pointer;background:0 0;border:0;place-items:center;width:46px;height:46px;padding:0;display:grid;position:absolute;top:5px;right:5px}.password-toggle:hover,.password-toggle:focus-visible{color:#dbfc79;outline:0}.connect-button,.secondary-button{cursor:pointer;border:0;justify-content:space-between;align-items:center;min-height:50px;margin-top:4px;padding:0 18px;font-weight:700;display:flex}.connect-button{color:#17211e;background:#dbfc79;transition:transform .18s,background .18s}.connect-button:hover:not(:disabled){background:#efffb2;transform:translateY(-1px)}.connect-button:disabled{cursor:wait;opacity:.7}.secondary-button{color:#e9f1f2;background:0 0;border:1px solid #678087;justify-content:center}.error-message{color:#ffadad;min-height:20px;margin:0;font-size:13px}.count-badge{color:#dbfc79;border:1px solid #5e7a80;border-radius:50%;place-items:center;width:28px;height:28px;font:600 12px Cascadia Mono,Consolas,monospace;display:grid}.history-hint{margin-top:27px}.history-list{gap:8px;margin-top:16px;display:grid;overflow:auto}.history-item{color:#edf4f5;text-align:left;cursor:pointer;background:#1d2d32;border:1px solid #0000;width:100%;padding:13px;transition:border-color .18s,transform .18s}.history-item:hover,.history-item:focus-visible{border-color:#dbfc79;outline:0;transform:translate(2px)}.history-code,.history-time{display:block}.history-code{letter-spacing:.07em;font:700 15px Cascadia Mono,Consolas,monospace}.history-time{color:#9ab0b5;margin-top:5px;font-size:11px}.empty-history{color:#8ba1a7;border-top:1px solid #40585e;margin:20px 0 0;padding:20px 0;font-size:13px;line-height:1.7}.dialog-backdrop{z-index:10;background:#060a0cbb;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.takeover-dialog{background:#17262b;border:1px solid #668087;width:min(420px,100%);padding:32px;box-shadow:0 20px 80px #000}.takeover-dialog>p:last-of-type{margin-top:18px}.dialog-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:28px;display:grid}.dialog-actions button{width:100%;margin:0}.dialog-actions .connect-button{justify-content:center;gap:8px}@media (width<=690px){.login-shell{width:calc(100vw - 28px);height:auto;min-height:0;margin:14px auto;display:block}.login-panel,.history-panel{padding:30px}.login-panel{border-bottom:1px solid #41575c;border-right:0}.section-heading,.history-heading{min-height:auto}.login-form{margin:30px 0}.history-hint{margin-top:18px}.history-list{max-height:360px}}@media (width<=410px){.login-panel,.history-panel{padding:24px}.login-form input{font-size:21px}.dialog-actions{grid-template-columns:1fr}}.reconnect-panel{align-content:center;gap:clamp(18px,3vh,28px);margin-top:auto;margin-bottom:auto;display:grid}.reconnect-panel h3{color:#f5fbf7;letter-spacing:-.04em;margin:0;font-size:28px}.reconnect-panel>p:not(.step){color:#9eb1b7;margin:0;font-size:14px;line-height:1.7}.reconnect-panel strong{color:#dbfc79;letter-spacing:.08em;font-family:Cascadia Mono,Consolas,monospace}.reconnect-panel .secondary-button{margin-top:-12px}@media (width<=690px){.reconnect-panel{margin:30px 0}}.history-list{overflow-x:hidden}.history-item{min-width:0;overflow:hidden}.history-item:hover,.history-item:focus-visible{transform:none}
