:root { font-family: "Noto Sans CJK SC", system-ui, sans-serif; background: #10171b; color: #eff5f6; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 1.2rem; background: radial-gradient(ellipse at top, #20383a, transparent 65%); }
main { width: min(100%, 30rem); }
header { margin: 0 0 1.4rem; }
h1 { margin: .55rem 0 0; font-size: clamp(1.7rem, 6vw, 2.4rem); letter-spacing: -.035em; }
.chip { color: #8edacb; font: 700 .88rem ui-monospace, monospace; letter-spacing: .12em; }
.panel { padding: clamp(1rem, 5vw, 1.7rem); border: 1px solid #395052; border-radius: 1.25rem; background: #192427; box-shadow: 0 1rem 3rem #0004; }
label { display: block; margin-bottom: .65rem; font-weight: 600; }
.login-row, .device { display: flex; align-items: center; gap: .65rem; }
.device { justify-content: space-between; margin-bottom: 1rem; }
input, button { min-height: 2.8rem; border-radius: .7rem; font: inherit; }
input { min-width: 0; flex: 1; border: 1px solid #54696b; background: #10191c; color: inherit; padding: .5rem .7rem; }
button { border: 0; padding: .5rem .95rem; cursor: pointer; font-weight: 700; background: #a5e5d7; color: #102a28; }
button:disabled { cursor: default; opacity: .48; }
button:focus-visible, input:focus-visible { outline: 2px solid #f7cc93; outline-offset: 3px; }
#logout { background: transparent; border: 1px solid #54696b; color: inherit; }
.power { width: 100%; min-height: 4rem; font-size: 1.2rem; background: #f7cc93; color: #251603; }
.force { width: 100%; margin-top: .75rem; border: 1px solid #a47673; background: #352627; color: #ffc1b9; }
.hint, .last { color: #becdcc; margin: .8rem 0 0; font-size: .9rem; }
#message { color: #f8d6a6; margin: .9rem 0 0; }
