:root {
  --bg: #14141a;
  --card: #22222b;
  --text: #eee;
  --muted: #9a9aa8;
  --live: #ff3b5c;
  --camjam: #7b5cff;
  --locked: #f5b400;
  --off: #555;
  --heart: #ff4d6d;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
main { max-width: 1400px; margin: 0 auto; }
.bar {
  max-width: 1400px;
  margin: 0 auto 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.bar h1 { font-size: 20px; margin: 0; }
.upd { font-size: 12px; color: var(--muted); }
.stale {
  max-width: 1400px;
  margin: 0 auto 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #4a3500;
  color: #ffd98a;
  font-size: 13px;
}
.sec {
  margin: 22px 0 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b8b8c6;
}
.sec small { text-transform: none; letter-spacing: 0; font-weight: 400; color: #7d7d8a; margin-left: 8px; }
summary.sec { cursor: pointer; }
.hint { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }

.tile {
  position: relative;
  display: block;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.tile:hover { outline: 2px solid #ffffff30; }
.pic {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #33333d center / 40% no-repeat;
}
.pic.none {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E");
}
.dim .pic { filter: grayscale(1) brightness(0.55); }
.meta { padding: 7px 8px; font-size: 12px; }
.name { font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--off); }
.dot.live { background: var(--live); }
.dot.locked { background: var(--locked); }
.dot.online { background: #3ecf8e; }
.badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--live);
  color: #fff;
}
.badge.camjam { background: var(--camjam); }
.heart {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: #fffc;
  text-shadow: 0 1px 3px #000;
  cursor: pointer;
}
.heart.on { color: var(--heart); }
.heart:focus-visible { outline: 2px solid #fff; border-radius: 50%; }
