/* Activity feed. Last hour, changed files, mtime order. */

:root {
  --bg: #111114;
  --card: #1a1a1f;
  --line: #2d2d36;
  --text: #f0f0f4;
  --mute: #9a9aa8;
  --hot: #ffb020;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

body.area-latest {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
  min-height: 100vh;
}

a { color: var(--hot); }
a:hover { color: #fff; }

.feed {
  width: min(70rem, calc(100% - 1.6rem));
  margin: 0 auto;
  padding: 1.1rem 0 2.4rem;
}

.feed h1 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.feed .lede {
  margin: 0.35rem 0 1.1rem;
  color: var(--mute);
}

.feed h2 {
  margin: 1.3rem 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hot);
}

.hour-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--hot);
  padding: 0.8rem;
}

.table-scroll { overflow-x: auto; }
.latest-table, .ev-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.latest-table th, .latest-table td,
.ev-table th, .ev-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 0.42rem 0.55rem;
}
.latest-table th, .ev-table th {
  color: var(--mute);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.latest-table tbody tr:hover,
.ev-table tbody tr:hover { background: #22222a; }
.latest-table code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.changed {
  background: #211c14;
  border: 1px solid #3d3118;
  padding: 0.7rem;
  margin-bottom: 0.4rem;
}

.foot {
  margin-top: 1.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.75rem;
}
