:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #000; color: #777; }
body {
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
#gallery { width: min(100%, 900px); margin: 0 auto; }
.stream-header {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 28px 16px 24px;
}
.stream-header[hidden] { display: none; }
.stream-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
figure { margin: 0; padding: 0 0 14px; }
img,
.reset-square {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}
img {
  height: auto;
  object-fit: contain;
  background: #000;
}
.reset-square { background: #000; }
figcaption {
  display: grid;
  gap: 5px;
  padding: 7px 10px 0;
  color: #666;
}
.title {
  color: #999;
  font-size: 15px;
  line-height: 1.3;
}
.details {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .02em;
}
.place { text-align: left; }
time { margin-left: auto; text-align: right; white-space: nowrap; }
