:root { --bg:#0f172a; --panel:#1e293b; --fg:#e2e8f0; --muted:#94a3b8; --accent:#2563eb; }
* { box-sizing: border-box; }
body { margin:0; font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background:var(--bg); color:var(--fg); min-height:100vh; }
header { display:flex; align-items:center; gap:12px; padding:14px 20px; border-bottom:1px solid #334155; position:sticky; top:0; background:rgba(15,23,42,.92); backdrop-filter:blur(6px); z-index:10; }
header h1 { font-size:16px; margin:0; }
header .tag { font-size:11px; color:var(--muted); }
.spacer { flex:1; }
button { background:#334155; color:var(--fg); border:1px solid #475569; border-radius:8px; padding:6px 12px; font:inherit; font-size:12.5px; cursor:pointer; }
button:hover { background:#3d4c63; }
button.primary { background:var(--accent); border-color:var(--accent); color:#fff; }
button:disabled { opacity:.5; cursor:default; }
main { padding:20px; max-width:1100px; margin:0 auto; }
.section { margin-bottom:22px; }
.section h2 { font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin:0 0 10px; }
.controls { display:flex; flex-wrap:wrap; gap:8px; }
#status-line { margin-left:auto; font-size:12px; color:var(--muted); max-width:380px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#log { background:#0b1220; border:1px solid #334155; border-radius:10px; padding:10px 12px; font: 11.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color:#7dd3fc; height:140px; overflow-y:auto; white-space:pre-wrap; }
.pet-note { font-size:12px; color:var(--muted); margin-top:8px; }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { background:#0b1220; border:1px solid #334155; border-radius:10px; padding:12px 14px; overflow-x:auto; font-size:12px; line-height:1.6; color:#7dd3fc; }
