:root{--paper:#f7f7f5;--ink:#161616;--muted:#70706c;--line:#d9d9d5;--white:#fff;font-family:"PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0}main{max-width:540px;margin:auto;padding:20px 20px calc(20px + env(safe-area-inset-bottom))}button,input{font:inherit}button{border:1px solid var(--ink);background:white;color:var(--ink);min-height:44px;padding:10px 14px;border-radius:0;cursor:pointer;font-weight:600;touch-action:manipulation}button:disabled{color:#94948e;border-color:var(--line);background:#eaeae6;cursor:default}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #73736e;outline-offset:3px}button.primary{background:var(--ink);color:white}.primary:disabled{background:#d8d8d2;color:#85857f;border-color:#d8d8d2}button.quiet{border:0;background:transparent;padding:8px 0;font-size:12px;color:var(--muted);font-weight:500}.brand{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-height:48px;padding-bottom:12px}.brand a{color:inherit;text-decoration:none;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:750;letter-spacing:.04em}.brand img{image-rendering:pixelated}.edition{font-weight:400;color:var(--muted);font-family:monospace}.hero{display:flex;justify-content:space-between;align-items:center;min-height:142px;gap:5px}.eyebrow{font-size:11px;letter-spacing:.15em;margin:0 0 10px;color:var(--muted)}h1{font-size:clamp(24px,6.6vw,34px);letter-spacing:-.05em;font-weight:850;line-height:1.2;margin:0}h2{font-size:15px;margin:0;font-weight:750}.pet{border:0;padding:0;background:none;flex-shrink:0;width:104px;height:100px}.pet img{object-fit:contain;image-rendering:pixelated}.section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px;gap:8px}.section-head .mono{font-size:11px;color:var(--muted)}.mono,.gpu-name,.free strong,.stats,.countdown{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-variant-numeric:tabular-nums}.overview{background:var(--ink);color:#fff;display:flex;justify-content:space-between;gap:8px;padding:22px 18px}.overview p{font-size:20px;font-weight:750;margin:2px 0 10px}.overview #connection{color:#c3c3bd;font-size:11px}.free{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.free strong{font-size:38px;line-height:1.1;letter-spacing:-.08em}.free span{font-size:10px;margin-top:8px;color:#ccc}.gpu-card{border:1px solid var(--ink);padding:15px;background:white;margin-bottom:12px}.gpu-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.gpu-name{font-size:22px;font-weight:800;letter-spacing:-1px}.gpu-identity{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.badge{font-size:11px;padding:3px 6px;background:#efefec;font-weight:650}.badge.held{background:var(--ink);color:white}.select-box{width:44px;height:44px;display:flex;align-items:center;justify-content:flex-end;cursor:pointer;flex-shrink:0}.select-box input{appearance:none;width:22px;height:22px;margin:0;border:1.5px solid var(--ink);background:white;cursor:pointer;border-radius:0}.select-box input:checked{background:var(--ink);position:relative}.select-box input:checked:after{content:"";position:absolute;width:6px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);left:6px;top:2px}.select-box input:disabled{border-color:#d3d3ce;background:#eeeee9;cursor:default}.account{font-size:12px;color:var(--muted);margin:7px 0 16px;overflow-wrap:anywhere}.stats{display:flex;align-items:baseline;justify-content:space-between;gap:6px;font-size:12px}.stats strong{font-size:25px;font-weight:700;letter-spacing:-1px}.stats small{font-family:system-ui;font-size:10px;font-weight:400;color:var(--muted)}.segments{display:grid;grid-template-columns:repeat(32,1fr);gap:3px;height:7px;margin:11px 0}.segments i{background:#dfdfda}.segments i.used{background:var(--ink)}.gpu-foot{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.lease{border-top:1px solid var(--line);padding-top:12px;margin-top:13px;font-size:11px}.lease-top{display:flex;justify-content:space-between;align-items:center}.countdown{font-size:18px;font-weight:650}.lease p{color:var(--muted);font-size:10px;margin:7px 0 0;line-height:1.6}.message{font-size:12px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}.message:empty{display:none}.error{color:#a12e22}.actions{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--ink);padding:15px 0 max(8px,env(safe-area-inset-bottom));margin-top:20px;z-index:2}.duration{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:12px}.duration input{width:72px;height:36px;padding:6px 8px;border:1px solid var(--line);border-radius:0;background:white;font-family:monospace;font-size:16px}.duration small{font-size:10px;color:var(--muted)}.action-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action-buttons button{display:flex;justify-content:space-between;align-items:center;font-size:14px;min-height:46px}.action-buttons span{font-family:monospace;font-size:12px}.fine{font-size:10px;color:var(--muted);line-height:1.7;margin:9px 0 0}.muted{color:var(--muted);font-size:13px;line-height:1.7}details{border-top:1px solid var(--line);margin-top:24px}summary{cursor:pointer;min-height:48px;align-content:center;font-size:13px;font-weight:600}summary span{float:right;color:var(--muted);font-weight:400}.event{padding:12px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.6}.event p{margin:0}.event small{color:var(--muted);font-size:10px}footer{margin-top:25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding-top:10px}footer>span{font-family:monospace;font-size:10px;letter-spacing:.13em;color:var(--muted)}.login-panel{border-top:2px solid var(--ink);padding:3px 0 24px}.login-panel .section-head{margin-top:20px}form{display:grid;gap:12px;margin-top:28px}form label{font-size:12px}form input{width:100%;padding:12px;border:1px solid var(--ink);min-height:48px;background:#fff;font-size:16px;border-radius:0}form button{display:flex;justify-content:space-between;margin-top:3px}dialog{max-width:360px;width:calc(100% - 40px);border:1px solid var(--ink);padding:24px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#0007}dialog p{font-size:13px;line-height:1.8}dialog button{width:100%;margin-top:8px}[hidden]{display:none!important}@media(min-width:650px){main{padding-top:32px}.hero{min-height:160px}.gpu-card{padding:18px}.actions{padding-bottom:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
