:root{color-scheme:dark;--border:#223244;--muted:#9db0c3;--text:#e7eef7}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#0b0f14;color:#e7eef7}
a{color:#8bd3ff;text-decoration:none}
.container{max-width:1050px;margin:0 auto;padding:18px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.card{background:#121a24;border:1px solid #223244;border-radius:16px;padding:16px;margin:12px 0;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.row{display:flex;gap:12px;flex-wrap:wrap}
.col{flex:1;min-width:260px}
h1,h2,h3{margin:8px 0 10px}
input,button,textarea{background:#0e1520;border:1px solid #2a3d54;color:#e7eef7;border-radius:12px;padding:10px 12px;font-size:14px}
button{cursor:pointer;border:1px solid #2f5375;background:#13304a}
button:hover{filter:brightness(1.08)}
button.secondary{background:#0e1520;border-color:#2a3d54}
button.danger{background:#4a1321;border-color:#7a2f44}
.small{font-size:12px;opacity:.85;line-height:1.4}
.badge{display:inline-block;padding:4px 10px;border-radius:999px;background:#0e1520;border:1px solid #2a3d54;font-size:12px}
.notice{padding:10px 12px;border-radius:12px;background:#0e2233;border:1px solid #2a3d54}
.hidden{display:none!important}
.split{display:flex;gap:12px}
.split>*{flex:1}
@media(max-width:860px){.split{flex-direction:column}}
.list{width:100%;border-collapse:collapse}
.list td,.list th{padding:8px 10px;border-bottom:1px solid #223244;text-align:left;vertical-align:top}
.pill{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#0e1520;border:1px solid #2a3d54;font-size:12px;margin:4px 6px 0 0}
.pill button{padding:2px 8px;border-radius:999px}
.msgs{height:380px;overflow:auto;background:#0e1520;border:1px solid #2a3d54;border-radius:12px;padding:10px}
.msg{margin:8px 0}
.msg .meta{font-size:12px;opacity:.8}
.msg .txt{white-space:pre-wrap;word-break:break-word;margin-top:2px}
.kbd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#0e1520;border:1px solid #2a3d54;border-radius:10px;padding:2px 8px}
hr{border:none;border-top:1px solid #223244;margin:14px 0}
/* BRAND */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px;
}

.brand__logo{
  width:52px;
  height:52px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid var(--border);
  background:#111;
}

.brand__powered{
  font-size:13px;
  color:var(--muted);
}

.brand__link{
  display:inline-block;
  margin-top:4px;
  color:var(--text);
  text-decoration:none;
  font-size:18px;
  font-weight:800;
}
