@font-face {
  font-family: 'gg sans';
  src: url('/fonts/gg-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'gg sans';
  src: url('/fonts/gg-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: 'gg sans', system-ui, sans-serif;
  background: #111318;
  color: #e6e8ed;
  --muted: #9ba5b6;
  --line: #303846;
  --accent: #a9c5ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--accent);
}
button,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  text-decoration: none;
  font-size: 20px;
  color: #e6e8ed;
}
.brand span,
#identity {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 62px 28px 32px;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
h1 {
  margin: 18px 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.25;
  letter-spacing: -1.2px;
}
.intro > p:last-child {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.search-panel,
.login-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #181d26;
  overflow: hidden;
}
.channel-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.channel {
  color: #dce7ff;
  overflow-wrap: anywhere;
}
.badge {
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
}
form {
  padding: 18px 22px;
}
textarea {
  width: 100%;
  min-height: 92px;
  padding: 6px 0;
  resize: vertical;
  border: 0;
  color: #e6e8ed;
  background: transparent;
  line-height: 1.65;
}
textarea::placeholder {
  color: #7f8ba1;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}
.primary {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  background: #d6e4ff;
  color: #15243f;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.primary:hover:not(:disabled) {
  background: #eaf0ff;
}
.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 20px;
}
.syntax-help {
  margin: 0 22px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.syntax-help summary {
  cursor: pointer;
  color: var(--accent);
}
.syntax-help ul {
  padding-left: 20px;
}
.syntax-help code {
  color: #dce7ff;
}
.examples button {
  color: #b9c5da;
  border: 1px solid #384456;
  border-radius: 20px;
  background: transparent;
  font-size: 12px;
  padding: 6px 12px;
}
.examples button:hover:not(:disabled) {
  background: #283347;
}
.login-panel {
  padding: 22px;
  margin-bottom: 20px;
}
.login-panel h2 {
  margin: 0;
  font-size: 18px;
}
.login-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.status {
  color: var(--muted);
  min-height: 24px;
  margin: 20px 0 28px;
  line-height: 1.6;
  font-size: 13px;
}
.status[data-error='true'] {
  color: #f1aaa7;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}
h2 {
  font-size: 18px;
  margin: 0;
}
#result-meta {
  color: var(--muted);
  font-size: 12px;
}
.result {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.result-header {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.result-header span {
  color: var(--muted);
  font-size: 11px;
}
.result p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 14px;
  margin: 12px 0;
  color: #d2d9e6;
}
.result a {
  font-size: 12px;
  text-decoration: none;
}
.result a:hover {
  text-decoration: underline;
}
.note,
footer {
  color: #8994a8;
  line-height: 1.8;
  font-size: 12px;
}
footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .topbar {
    padding: 14px 20px;
  }
  .brand {
    font-size: 18px;
  }
  #identity {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  main {
    padding: 34px 20px 24px;
  }
  .channel-bar,
  form {
    padding: 16px;
  }
  .examples {
    padding: 0 16px 16px;
  }
  .form-footer {
    align-items: flex-end;
  }
  .form-footer > span {
    max-width: 120px;
    line-height: 1.6;
  }
  .badge {
    display: none;
  }
}
