:root{font-family:system-ui,"Microsoft JhengHei",sans-serif;color:#e7edf6;background:#0c1423;color-scheme:dark}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;padding:24px max(20px,calc((100vw - 900px)/2));border-bottom:1px solid #263348}header a{font-weight:700;color:#66e7bc;text-decoration:none}main{max-width:900px;margin:40px auto;padding:0 20px}h1{font-size:34px;margin:0 0 12px}h2{margin-top:0}p,li{line-height:1.8;color:#b7c7dd}section{background:#142036;padding:28px;border-radius:16px;margin:24px 0}button,.button{font:inherit;padding:12px 18px;border:1px solid #35516b;border-radius:8px;background:#203b52;color:#fff;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#305671}button:disabled{opacity:.5;cursor:default}input{font:inherit;padding:12px;border:1px solid #53677e;border-radius:8px;min-width:0;background:#0c1423;color:#fff;width:100%}.row,.heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.row{margin-top:12px}.row button{white-space:nowrap}.device{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#15243a;padding:22px;margin:14px 0;border-radius:12px}.device strong{display:block;font-size:21px;overflow-wrap:anywhere}.device p{margin:6px 0}.device .actions{display:flex;gap:10px;flex-wrap:wrap}.online{color:#66e7bc}#message{color:#ffd48a;white-space:pre-wrap}#confirm{margin-top:20px;padding-top:10px;border-top:1px solid #35516b}footer{color:#8496ae;font-size:14px;margin:30px 0}[hidden]{display:none!important}@media(max-width:550px){.device{align-items:flex-start;flex-direction:column}.row{flex-direction:column;align-items:stretch}header span{font-size:13px}section{padding:20px}h1{font-size:28px}}

.device .actions{flex-shrink:0;max-width:420px}.wake-form{display:grid;gap:10px}.wake-form>label:not(.wake-check){margin-top:10px}.wake-check{display:flex;align-items:flex-start;gap:10px;line-height:1.7;margin-top:12px}.wake-check input{width:auto;flex-shrink:0;margin-top:6px}.wake-guide{border:1px solid #35516b;border-radius:8px;padding:14px;margin-bottom:20px}.wake-guide summary{cursor:pointer;color:#66e7bc}.wake-guide a{color:#66e7bc}.wake-actions{display:flex;flex-wrap:wrap;gap:10px}.wake-note{font-size:13px}.wake-form input[type=number]{max-width:220px}.device .actions button,.device .actions .button{white-space:nowrap}@media(max-width:700px){.device{align-items:flex-start;flex-direction:column}.device .actions{max-width:none}.wake-actions button{flex:1 1 auto}}
