:root { --bg:#070a12; --card:#0d1424; --text:#e8eefc; --muted:#9fb0d0; --line:#1b2a47; --btn:#2f7bff; --btn2:#1d4ed8; --err:#ff5a6f; }
*{ box-sizing:border-box; }
body{ margin:0; background:linear-gradient(180deg,#050713 0%,#070a12 100%); color:var(--text); font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans TC","PingFang TC","Microsoft JhengHei",Arial; }
.container{ max-width:980px; margin:0 auto; padding:24px 16px 40px; }
.header{ padding:18px 18px 10px; border:1px solid var(--line); border-radius:18px; background:rgba(13,20,36,.65); backdrop-filter:blur(6px); }
.brand{ font-size:22px; font-weight:700; }
.sub{ color:var(--muted); margin-top:6px; font-size:14px; }
.search{ display:flex; gap:10px; margin:16px 0; }
.input{ flex:1; padding:14px 14px; border-radius:14px; border:1px solid var(--line); background:#0b1020; color:var(--text); font-size:16px; outline:none; }
.btn{ padding:14px 18px; border-radius:14px; border:0; background:var(--btn); color:#fff; font-weight:700; cursor:pointer; }
.btn:hover{ background:var(--btn2); }
.btn.ghost{ background:transparent; border:1px solid var(--line); color:var(--text); }
.btn.ghost:hover{ background:rgba(255,255,255,.06); }
.status{ min-height:22px; color:var(--muted); margin:4px 2px 12px; }
.status.err{ color:var(--err); }
.card{ border:1px solid var(--line); border-radius:18px; background:rgba(13,20,36,.65); padding:14px 14px 10px; margin:12px 0; }
.card-title{ font-weight:700; margin-bottom:10px; }
.pre{ white-space:pre-wrap; word-break:break-word; line-height:1.55; background:#070b16; border:1px solid #0f1a33; border-radius:14px; padding:12px; color:var(--text); min-height:140px; }
.pre.small{ min-height:120px; font-size:12px; color:#cfe0ff; }
.footer{ color:var(--muted); margin-top:10px; font-size:12px; text-align:center; }

/* Login / topbar */
.form{ margin-top:6px; }
.row{ display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.label{ font-size:13px; color:var(--muted); }
.hint{ margin-top:10px; color:var(--muted); font-size:12px; }
.topbar{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:14px 2px 6px; }
.who{ color:var(--muted); font-size:13px; }
