:root {
  --bg: #f7f7f5; --fg: #1d1d1b; --muted: #6b6b66; --line: #deded9; --card: #ffffff;
  --yes: #1f8a3b; --no: #8a8a84; --off: #b8b8b2; --err: #c0392b;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161615; --fg: #ececea; --muted: #9a9a94; --line: #33332f; --card: #1f1f1d;
          --yes: #3cc363; --no: #7a7a75; --off: #45453f; --err: #e2584a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: system-ui, sans-serif; line-height: 1.45; }
main { max-width: 56rem; margin: 0 auto; padding: 2rem 16px 4rem; }
h1 { font-size: 2rem; margin: 0 0 1rem; }
h2 { font-size: 1.1rem; margin: 2rem 0 .6rem; }

.answer { background: var(--card); border: 1px solid var(--line); border-left: 8px solid var(--no); border-radius: 10px; padding: 1rem 1.25rem; }
.answer .big { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.answer.yes { border-left-color: var(--yes); } .answer.yes .big { color: var(--yes); }
.answer.off { border-left-color: var(--off); }
.answer.err { border-left-color: var(--err); } .answer.err .big { color: var(--err); }
.answer p { margin: .4rem 0 0; }
.meta { color: var(--muted); font-size: .9rem; }
.warn { color: var(--err); font-size: .9rem; }

.timeline { display: flex; gap: 1px; height: 28px; }
.t { flex: 1; min-width: 1px; background: var(--off); border-radius: 1px; }
.t.ok { background: var(--no); } .t.hit { background: var(--yes); } .t.error { background: var(--err); }
.legend { color: var(--muted); font-size: .8rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; }
.legend .t { display: inline-block; width: 10px; height: 10px; flex: none; margin-right: -.6rem; }

.frame { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.grid a { color: var(--muted); text-decoration: none; font-size: .8rem; }
.grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block; margin-bottom: .2rem; }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
tr.hit td { color: var(--yes); font-weight: 600; }
