:root { --bg:#fafaf8; --ink:#1d1d1b; --mute:#77756f; --line:#e4e2dc; --accent:#2f6b4f; --hl:#fff6d6; }
@media (prefers-color-scheme: dark) { :root { --bg:#17181a; --ink:#e6e4df; --mute:#9a978f; --line:#2c2d30; --accent:#7fc3a0; --hl:#3a3420; } }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:13px/1.4 system-ui, sans-serif; }
header { position:sticky; top:0; z-index:2; background:var(--bg); padding:10px 12px; border-bottom:1px solid var(--line);
  display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; }
h1 { font-size:15px; margin:0; }
h1 a { color:inherit; }
input[type=search] { flex:1 1 220px; max-width:360px; padding:5px 8px; border:1px solid var(--line); border-radius:6px; background:transparent; color:inherit; }
button { padding:4px 10px; border:1px solid var(--line); border-radius:6px; background:transparent; color:inherit; cursor:pointer; }
label, #status { color:var(--mute); }
.wrap { overflow-x:auto; }
table { border-collapse:collapse; width:100%; }
th, td { padding:3px 8px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { position:sticky; top:0; background:var(--bg); cursor:pointer; user-select:none; white-space:nowrap; color:var(--mute); font-weight:600; }
th.sorted::after { content:" ▾"; } th.sorted.asc::after { content:" ▴"; }
td.n, td.d, td.y { color:var(--mute); white-space:nowrap; font-variant-numeric:tabular-nums; }
td.a { font-weight:600; }
td.s a { color:inherit; }
td.l { width:1%; min-width:40px; max-width:140px; }
td.l a { white-space:nowrap; display:inline-block; }
td.l a { color:var(--accent); text-decoration:none; margin-right:6px; }
td.t { min-width:240px; width:60%; }
td.p { padding:2px 4px; width:88px; }
td.p .gone { display:flex; align-items:center; justify-content:center; width:80px; height:45px; border-radius:3px;
  background:var(--line); color:var(--mute); font-size:11px; text-decoration:none; }
td.l a.dead { color:var(--mute); text-decoration:line-through; }
td.p img { display:block; width:80px; height:45px; object-fit:cover; border-radius:3px; background:var(--line); }
.clamp { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; cursor:pointer; white-space:pre-line; }
.clamp.open { -webkit-line-clamp:unset; }
.en { color:var(--mute); font-style:italic; }
.hide-en .en { display:none; }
tr:hover td { background:var(--hl); }

.index { padding:12px 32px; font-size:15px; }
.index a { color:var(--accent); }
