@font-face{font-family:system;src:local("Segoe UI")}*{box-sizing:border-box}html{color-scheme:dark;--bg:#10191e;--surface:#172329;--raised:#1e2c33;--line:#2a3a41;--text:#f0f4ee;--muted:#9eafb4;--accent:#c7f183;--ink:#203016;--red:#ff9a91;--radius:22px}html[data-theme=light]{color-scheme:light;--bg:#f2f4ef;--surface:#fff;--raised:#eaf0e5;--line:#dce3d7;--text:#15282e;--muted:#62767c;--accent:#bee77d;--ink:#21351b;--red:#b52c35}body{margin:0;background:var(--bg);color:var(--text);font-family:system,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.5;cursor:wait}h1,h2,h3,p{margin:0}h1{font-size:clamp(29px,3.4vw,42px);font-weight:600;line-height:1.2;letter-spacing:-1.5px}h2{font-size:21px;letter-spacing:-.5px;font-weight:600}h3{font-size:18px;font-weight:600}.muted{color:var(--muted)}.tiny{font-size:12px;line-height:1.6}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--muted);display:block;margin-bottom:14px}.topbar{height:90px;max-width:1296px;margin:auto;padding:0 48px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:27px;font-weight:650;letter-spacing:-1.5px}.brand-suffix{font-size:12px;letter-spacing:1px;font-weight:500;margin-left:7px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:20px}.icon-button{display:grid;place-items:center;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--text);width:38px;height:38px;font-size:23px;flex-shrink:0}.icon-button:hover{background:var(--raised)}main{max-width:1296px;padding:46px 48px 22px;margin:auto}.button{border:0;border-radius:11px;padding:13px 20px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:600;font-size:13px;text-decoration:none;min-height:46px;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--accent);color:var(--ink)}.primary:hover{filter:brightness(1.06)}.quiet{background:var(--raised);color:var(--text)}.danger{background:#652d32;color:#ffdad5}.small{padding:8px 14px;min-height:36px}.full{width:100%}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:5px 0 35px}.page-heading h1{margin-bottom:13px}.sync-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;white-space:nowrap}.dot{width:6px;height:6px;background:var(--accent);display:inline-block;border-radius:50%;flex-shrink:0}.sync-status .icon-button{border:0;font-size:22px;width:30px;height:30px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.protection-grid{display:grid;grid-template-columns:1fr 1fr .85fr;gap:18px}.protection-card{padding:25px 25px 12px;display:flex;flex-direction:column}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.service-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;font-size:29px}.warp-icon{background:#493326;color:#f6b27b}.guard-icon{background:#273f34;color:var(--accent);font-size:35px}.pill{border:1px solid var(--line);padding:5px 10px;border-radius:40px;font-size:10px;color:var(--muted);font-weight:600}.pill.on{color:var(--accent);border-color:#506042;background:#26352b}html[data-theme=light] .pill.on{background:#edf7de;color:#497024}.pill.off{color:var(--muted)}.pill.error{color:var(--red)}.protection-card h2{margin-bottom:8px}.protection-card>.muted{font-size:12px;max-width:280px;margin-bottom:24px;min-height:36px}.service-detail{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:10px;align-items:center}.service-detail>span{color:var(--muted)}.service-detail strong{font-weight:500;text-align:right}.card-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;font-size:11px;font-weight:600}.service-link{display:flex;justify-content:space-between;font-size:11px;text-decoration:none;color:var(--accent);padding:4px 0 8px}.service-link:hover{text-decoration:underline}html[data-theme=light] .service-link{color:#4f6f2c}.vpn-only{margin-bottom:18px}.switch{display:inline-flex;position:relative;min-width:48px;min-height:44px;align-items:center;cursor:pointer}.switch input{position:absolute;opacity:0;width:44px;height:44px;margin:0;cursor:pointer}.track{display:block;width:45px;height:25px;border-radius:20px;background:var(--line);transition:background .2s;pointer-events:none}.track:after{content:"";display:block;width:19px;height:19px;border-radius:50%;background:#e5ebe7;margin:3px;transition:transform .2s}.switch input:checked+.track{background:var(--accent)}.switch input:checked+.track:after{background:var(--ink);transform:translateX(20px)}.switch input:focus-visible+.track{outline:2px solid var(--accent);outline-offset:4px}.switch input:disabled+.track{opacity:.45}.overview-card{padding:30px 25px}.big-number{font-size:65px;letter-spacing:-4px;font-weight:500;line-height:1.1;color:var(--accent)}html[data-theme=light] .big-number{color:#557d2d}.overview-card h2{font-size:14px;margin:9px 0 5px}.overview-card>.muted{font-size:11px}.overview-divider{height:1px;background:var(--line);margin:26px 0 20px}.server-tag{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:3px 7px;display:inline-block;margin-top:6px}.access-card{margin-top:25px;overflow:hidden}.section-heading{padding:25px;display:flex;justify-content:space-between;gap:20px;align-items:center}.section-heading h2{font-size:19px;margin-bottom:5px}.section-heading p{font-size:12px}.peer-list{padding:0 25px}.peer-row{display:grid;grid-template-columns:minmax(170px,1.5fr) 1fr 1fr 1fr 34px;gap:20px;align-items:center;border-top:1px solid var(--line);padding:19px 0}.peer-identity{display:flex;align-items:center;gap:12px;min-width:0}.peer-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:var(--accent);background:var(--raised);font-size:15px;font-weight:500;flex-shrink:0}.peer-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}.peer-ip{font-family:ui-monospace,monospace;font-size:10px;color:var(--muted);margin-top:3px}.peer-cell{font-size:11px}.peer-cell-label{font-size:9px;color:var(--muted);letter-spacing:.5px;display:block;margin-bottom:5px}.peer-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.peer-status.connected{color:var(--accent)}.peer-delete{font-size:17px;border:0;background:none;color:var(--muted);padding:8px;border-radius:7px;min-height:40px;min-width:34px}.peer-delete:hover{background:#562e30;color:#ffb5ad}.empty{padding:30px 24px 42px;text-align:center;border-top:1px solid var(--line)}.empty-icon{width:44px;height:44px;margin:0 auto 13px;border-radius:50%;background:var(--raised);color:var(--accent);font-size:27px}.empty h3{margin-bottom:8px;font-size:16px}.empty p{font-size:12px;margin-bottom:20px}footer{display:flex;justify-content:space-between;gap:20px;margin-top:27px;font-size:10px;color:var(--muted)}footer>span:first-child{display:flex;align-items:center;gap:8px}.auth-wrap{display:grid;grid-template-columns:1.1fr 1fr;max-width:960px;margin:25px auto 40px;border-radius:28px;overflow:hidden;border:1px solid var(--line);background:var(--surface);min-height:540px}.auth-art{position:relative;background:#23342f;padding:47px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.auth-art>img{margin-bottom:45px;z-index:1}.auth-art .eyebrow{color:#c7dcba;font-size:9px;z-index:1}.auth-art h1{font-size:36px;color:#f0f4ee;margin-bottom:20px;z-index:1}.auth-art p{font-size:12px;color:#b1c4bb;max-width:240px;z-index:1}.art-foot{font-size:10px;color:#b1c4bb;margin-top:auto;padding-top:42px;display:flex;gap:9px;align-items:center;z-index:1}.orbit{position:absolute;border:1px solid #425b45;border-radius:50%;width:480px;height:480px;right:-300px;bottom:-210px}.orbit-two{width:600px;height:600px;right:-340px;bottom:-245px}.auth-card{padding:55px 42px;align-self:center}.auth-card h2{font-size:26px;margin-bottom:10px}.auth-card>.muted{font-size:12px;margin-bottom:29px}label[for]{display:block;font-size:12px;margin:18px 0 7px;font-weight:500}input:not([type=checkbox]){width:100%;padding:13px 14px;background:var(--bg);border:1px solid var(--line);border-radius:10px;color:var(--text);font-size:14px;min-height:46px}input::placeholder{color:var(--muted)}.form-error{font-size:11px;line-height:1.5;color:var(--red);min-height:0;margin:7px 0}.form-error:not(:empty){margin:12px 0}.auth-card form>.button{margin-top:16px}.auth-note{font-size:10px;color:var(--muted);margin-top:28px;display:flex;gap:8px;align-items:flex-start}.totp-wrap{max-width:440px;margin:20px auto}.totp-wrap .auth-card{padding:34px 32px;border:1px solid var(--line);background:var(--surface);border-radius:24px}.totp-wrap h1{font-size:27px;letter-spacing:-.8px;margin-bottom:10px}.otp{letter-spacing:8px;text-align:center;font-size:23px!important}.qr{display:block;background:#fff;border-radius:12px;width:210px;max-width:100%;height:auto;padding:6px;margin:18px auto;image-rendering:auto}.secret{display:block;overflow-wrap:anywhere;color:var(--text);font-size:12px;margin-top:12px;letter-spacing:1px;user-select:all}details{font-size:11px;color:var(--muted);margin-top:16px}summary{cursor:pointer;min-height:30px;display:flex;align-items:center}summary:before{content:"＋";margin-right:8px}details[open] summary:before{content:"−"}pre{background:var(--bg);padding:14px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto;font-size:10px;color:var(--text)}dialog{border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);width:440px;max-width:calc(100% - 30px);padding:27px;max-height:90dvh;overflow:auto}dialog::backdrop{background:rgba(4,12,16,.78);backdrop-filter:blur(6px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.modal-heading .eyebrow{font-size:8px;margin-bottom:7px}.modal-heading .icon-button{font-size:22px;width:31px;height:31px}dialog>.muted{font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.notice{display:flex;gap:9px;padding:12px 14px;background:var(--raised);border:1px solid var(--line);border-radius:11px;font-size:10px;color:var(--muted);margin:20px 0 16px}.notice>span{color:var(--accent);font-size:19px}.config-qr{width:260px;padding:4px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);border:1px solid var(--line);background:var(--raised);padding:13px 22px;border-radius:12px;font-size:12px;z-index:20;max-width:90%;box-shadow:0 10px 50px #0004}.initial-loading{text-align:center;padding:100px 20px}.initial-loading p{font-size:12px;margin-top:20px}[hidden]{display:none!important}@media(max-width:1000px){.topbar{padding:0 30px}main{padding:35px 30px 22px}.protection-grid{grid-template-columns:1fr 1fr}.overview-card{grid-column:1/-1;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:0 25px;padding:22px 25px}.overview-card .eyebrow{display:none}.overview-card .big-number{grid-row:1/3;font-size:48px}.overview-card h2{margin:0}.overview-card>.muted{grid-column:2;grid-row:2}.overview-card .overview-divider{display:none}.overview-card .service-detail{grid-row:1/3;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;margin:0}.overview-card .server-tag{display:none}.auth-wrap{grid-template-columns:1fr 1fr}.auth-art{padding:35px}.auth-card{padding:40px 30px}.peer-row{grid-template-columns:minmax(150px,1.4fr) 1fr 1fr 34px;gap:16px}.peer-created{display:none}.page-heading h1{font-size:32px}.sync-status{align-self:flex-end}}@media(max-width:650px){.topbar{height:74px;padding:0 21px}.brand{font-size:25px}.header-actions{gap:10px}main{padding:30px 19px 25px}.page-heading{display:block;margin-bottom:26px}.page-heading h1{font-size:30px;letter-spacing:-1.1px;max-width:300px;margin-bottom:12px}.page-heading>.muted{font-size:12px}.page-heading .eyebrow{margin-bottom:12px}.page-heading p{font-size:12px}.sync-status{margin-top:19px;justify-content:flex-start}.protection-grid{grid-template-columns:1fr;gap:15px}.protection-card{padding:22px 23px 10px}.card-top{margin-bottom:18px}.protection-card>.muted{max-width:100%;min-height:0;margin-bottom:20px}.card-bottom{margin-top:13px}.overview-card{grid-column:auto;grid-template-columns:auto 1fr;gap:0 18px;padding:21px 23px}.overview-card .service-detail{display:none}.overview-card h2{font-size:13px}.overview-card .big-number{font-size:44px}.access-card{margin-top:23px}.section-heading{padding:21px;align-items:flex-start}.section-heading h2{font-size:18px}.section-heading p{font-size:10px;max-width:175px}.section-heading .button{padding:9px 12px;font-size:10px;min-height:40px;gap:5px;white-space:nowrap}.peer-list{padding:0 21px}.peer-row{grid-template-columns:1fr auto 29px;gap:13px;padding:19px 0}.peer-cell{font-size:10px}.peer-status-cell{grid-column:1;grid-row:2;padding-left:50px;margin-top:-12px}.peer-traffic{grid-column:2;grid-row:1/3}.peer-delete{grid-column:3;grid-row:1/3}.peer-identity{grid-column:1;grid-row:1}.peer-name{font-size:12px}.peer-avatar{width:36px;height:36px;font-size:14px}.peer-status{font-size:8px}.peer-cell-label{font-size:8px}.peer-status-cell .peer-cell-label{display:none}footer{font-size:8px;margin-top:24px}footer>span:last-child{display:none}.auth-wrap{display:flex;flex-direction:column;margin:0 auto;border-radius:22px;min-height:0;max-width:430px}.auth-art{padding:25px 27px 23px}.auth-art>img{width:40px;height:40px;margin-bottom:22px}.auth-art h1{font-size:27px;line-height:1.12;margin-bottom:12px}.auth-art h1 br{display:none}.auth-art .eyebrow{font-size:7px;margin-bottom:9px}.auth-art p{font-size:10px;max-width:275px}.art-foot{display:none}.auth-card{padding:30px 27px;align-self:stretch}.auth-card h2{font-size:23px}.auth-card .eyebrow{font-size:8px;margin-bottom:9px}.auth-card>.muted{font-size:11px;margin-bottom:22px}.auth-note{margin-top:20px;font-size:9px}.totp-wrap{margin:0 auto}.totp-wrap .auth-card{padding:28px 24px}dialog{padding:23px;border-radius:20px}.modal-heading h2{font-size:20px}.qr{width:195px}.config-qr{width:260px}.form-error{font-size:10px}.notice{font-size:10px}.toast{bottom:20px;width:max-content;font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
