:root {
  --bg: #0f1115;
  --card: #1a1d24;
  --border: #2a2e37;
  --text: #e8e9ec;
  --muted: #9aa0ab;
  --accent: #5b8def;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 24px;
}
main {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
h1 { font-size: 1.4rem; margin: 0 0 20px; }
#lookup-form { display: flex; gap: 8px; }
#channel-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #12141a;
  color: var(--text);
  font-size: 0.95rem;
}
#channel-input:focus { outline: none; border-color: var(--accent); }
button {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
}
button:hover { opacity: 0.9; }
#result { margin-top: 20px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
#result strong { color: var(--text); font-size: 1.1rem; }
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }