:root {
  color-scheme: light;
  --black: #111111;
  --muted: #5d6470;
  --line: #d9dee7;
  --blue: #1264d8;
  --blue-soft: #edf4ff;
  --red: #c7252e;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { background: var(--white); color: var(--black); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
body { margin: 0; min-width: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header { min-height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 24px; }
.brand { color: var(--black); font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.tagline, .hint, footer, .meta, .hash { color: var(--muted); }
.back { margin-left: auto; }
main { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.search-box { padding: 42px 0 22px; }
form { display: grid; grid-template-columns: minmax(0, 1fr) 92px; border: 2px solid var(--black); }
input { min-width: 0; border: 0; padding: 15px 16px; font: inherit; outline: none; }
input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
button { min-height: 50px; border: 0; background: var(--blue); color: var(--white); font: 700 16px inherit; cursor: pointer; }
button:hover { background: #0b52ba; }
.hint { margin: 9px 0 0; font-size: 13px; }
.summary { min-height: 26px; margin: 5px 0 10px; font-weight: 700; }
.source-status { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.source-pill { border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-size: 12px; color: var(--muted); }
.source-pill.ok { border-color: #8ab7f4; color: var(--blue); background: var(--blue-soft); }
.source-pill.bad { border-color: #efb2b7; color: var(--red); }
.result { padding: 18px 0; border-top: 1px solid var(--line); }
.result:last-child { border-bottom: 1px solid var(--line); }
.result h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: 13px; }
.hash { margin-top: 7px; font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.actions { display: flex; gap: 14px; margin-top: 9px; font-size: 13px; }
.copy { border: 0; padding: 0; min-height: 0; background: none; color: var(--blue); font: inherit; }
.copy:hover { background: none; text-decoration: underline; }
.empty, .error { border: 1px solid var(--line); padding: 24px; text-align: center; color: var(--muted); }
.error { border-color: #efb2b7; color: var(--red); }
.pagination { display: flex; justify-content: space-between; padding: 24px 0; }
.pagination a { border: 1px solid var(--line); padding: 8px 13px; }
footer { width: min(980px, calc(100% - 32px)); margin: 44px auto 24px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; }
.detail { padding: 36px 0; }
.detail h1 { font-size: 24px; line-height: 1.35; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.files { list-style: none; padding: 0; }
.files li { border-top: 1px solid var(--line); padding: 10px 0; display: flex; justify-content: space-between; gap: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 600px) {
  .site-header { min-height: 56px; padding: 0 16px; }
  .tagline { font-size: 13px; }
  main { width: min(100% - 24px, 980px); }
  .search-box { padding: 24px 0 16px; }
  form { grid-template-columns: minmax(0, 1fr) 74px; }
  input { padding: 13px 11px; font-size: 15px; }
  .result { padding: 15px 0; }
  .result h2 { font-size: 16px; }
  .facts { grid-template-columns: 88px minmax(0, 1fr); }
  footer { width: calc(100% - 24px); }
}
