* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: #101412;
  color: #f3f6f2;
  font: 16px/1.45 "Segoe UI", sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 64px;
}
main { width: min(980px, 100%); }
h1 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.04em; }
h2 { margin: 28px 0 6px; font-size: 20px; }
.lead { margin: 0 0 8px; color: #b7c2b8; }
#bar, #crawl { display: flex; gap: 10px; align-items: stretch; }
.url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #181d1a;
  border: 1px solid #2c3530;
  border-radius: 12px;
  padding: 0 14px;
}
.url span { color: #8e9a90; font-size: 13px; font-weight: 650; }
input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: 14px 0;
}
.source {
  width: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #181d1a;
  border: 1px solid #2c3530;
  color: #9aa59b;
  font-weight: 700;
}
.source.ok { color: #c8f5a0; border-color: #3d6a32; background: #162016; }
.source.bad { color: #ffb8ae; border-color: #6d3530; background: #241614; }
button {
  border: 0;
  border-radius: 12px;
  background: #181d1a;
  color: #d5ddd4;
  font: inherit;
  cursor: pointer;
}
.primary {
  padding: 0 20px;
  background: #d6ff4a;
  color: #152006;
  font-weight: 750;
}
button:disabled { opacity: 0.4; cursor: default; }
.picks, .logins { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.picks button, .logins button { padding: 8px 12px; border: 1px solid #2c3530; }
.picks button.on { background: #d6ff4a; color: #152006; border-color: transparent; font-weight: 750; }
.logins button.on { color: #c8f5a0; border-color: #3d6a32; background: #162016; font-weight: 750; }
.gate h2 { margin-top: 18px; }
.sites { margin: 12px 0 0; color: #8e9a90; font-size: 14px; }
.status { min-height: 1.4em; margin: 14px 0 0; color: #e7f0e4; }
.results { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.results:empty { display: none; }
.hit {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #181d1a;
  border: 1px solid #2c3530;
  border-radius: 12px;
  padding: 10px 12px;
}
.hit .meta { flex: 1; min-width: 0; }
.hit .name { font-weight: 650; }
.hit .when { color: #8e9a90; font-size: 13px; }
.hit .primary { padding: 8px 14px; }
@media (max-width: 760px) {
  #bar, #crawl { flex-direction: column; }
  .source, #go, #find, .hit .primary { width: 100%; min-height: 48px; }
  .hit { flex-direction: column; align-items: stretch; }
}
