/* WebCore Setup Assistant (macOS-style). (c) 2026 Dannny0117 */
.setup #app{min-height:100vh;display:grid;place-items:center;padding:28px 16px 70px}
.sa{position:relative;width:min(720px,100%);min-height:560px;padding:44px 52px 30px;display:flex;flex-direction:column}
@media(max-width:620px){.sa{padding:30px 22px 22px;min-height:0}}
.sa-head{text-align:center;margin-bottom:22px}
.sa-icon{width:76px;height:76px;margin:0 auto 18px;border-radius:22px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,var(--violet),#4f8bf9 60%,var(--cyan));box-shadow:0 14px 40px rgba(124,92,255,.45),inset 0 1px 0 rgba(255,255,255,.35)}
.sa-icon .ico{width:38px;height:38px}
.sa-head h1{font-size:28px;margin-bottom:8px}
.sa-head p{color:var(--ink2);max-width:520px;margin:0 auto;font-size:15px}
.sa-body{flex:1;animation:slidein .45s var(--ease)}
.sa.back .sa-body{animation-name:slideback}
@keyframes slidein{from{opacity:0;transform:translateX(40px)}}
@keyframes slideback{from{opacity:0;transform:translateX(-40px)}}
.sa-foot{display:flex;align-items:center;gap:12px;margin-top:26px}
.sa-dots{display:flex;gap:6px;margin:0 auto}
.sa-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.18);transition:all .3s var(--ease)}
.sa-dots i.on{width:22px;border-radius:9px;background:linear-gradient(90deg,var(--violet),var(--cyan))}
.sa-dots i.done{background:rgba(255,255,255,.45)}
.sa-lang{position:fixed;top:16px;right:16px}
/* hello */
.hello-logo{width:min(380px,82vw);height:auto;margin-bottom:8px;filter:drop-shadow(0 18px 40px rgba(34,211,238,.18))}
.hello{min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.hello-word{font-size:clamp(56px,11vw,104px);font-weight:700;letter-spacing:-.04em;line-height:1.05;height:1.2em;
  background:linear-gradient(120deg,#fff 10%,var(--violet) 45%,var(--cyan) 70%,var(--rose));-webkit-background-clip:text;background-clip:text;color:transparent;
  background-size:220% 100%;animation:shine 6s linear infinite;transition:opacity .5s,filter .5s}
.hello-word.out{opacity:0;filter:blur(10px)}
@keyframes shine{to{background-position:-220% 0}}
.hello .go{margin-top:46px;width:64px;height:64px;border-radius:50%;padding:0}
.hello .go .ico{width:26px;height:26px}
.hello small{margin-top:18px;color:var(--ink3)}
/* product key */
.key-in{text-align:center;font-size:20px;height:56px;letter-spacing:.14em;text-transform:uppercase}
.lic-ok{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.lic-ok div{padding:14px;border-radius:14px;background:var(--glass);border:1px solid var(--line);text-align:center}
.lic-ok b{display:block;font-size:20px}.lic-ok small{color:var(--ink3)}
/* checks */
.checks{display:grid;gap:8px}
.checks div{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:var(--glass);border:1px solid var(--line)}
/* host rows */
.hosts{display:grid;gap:8px;margin-top:10px}
.host{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--glass);border:1px solid var(--line)}
.host b{flex:1;word-break:break-all}
/* password meter */
.meter{height:6px;border-radius:6px;background:rgba(255,255,255,.1);overflow:hidden;margin-top:8px}
.meter i{display:block;height:100%;width:0;transition:width .3s,background .3s}
/* done */
.done-check{width:96px;height:96px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--mint),#10b981);box-shadow:0 18px 50px rgba(16,185,129,.45);animation:pop .6s var(--ease)}
.done-check .ico{width:48px;height:48px;color:#fff}
.admin-url{display:flex;gap:8px;align-items:center;padding:12px 14px;border-radius:14px;background:rgba(5,8,20,.5);border:1px dashed rgba(139,123,255,.6);word-break:break-all}
.installing{display:grid;place-items:center;min-height:300px;text-align:center}
.ring{width:72px;height:72px;border-radius:50%;border:4px solid rgba(255,255,255,.1);border-top-color:var(--violet);border-right-color:var(--cyan);animation:spin 1s linear infinite;margin-bottom:22px}
.tzclock{font-variant-numeric:tabular-nums}
