:root {
  --void: #07080c;
  --line: #1c2433;
  --cyan: #6bb8b8;
  --paper: #dce6ef;
  --mute: #7d8a9a;
  --lamp: #e8a040;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.world {
  font-family: Figtree, sans-serif;
  background: var(--void);
  color: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grid-bg {
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(#1c243355 1px, transparent 1px),
    linear-gradient(90deg, #1c243355 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.top, .net, .log, .bar { position: relative; z-index: 1; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 1.4rem 0;
  gap: 1rem;
}
.brand {
  display: block;
  line-height: 0;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  width: min(240px, 48vw);
  height: auto;
}
.live-pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: .75rem;
  border: 1px solid #6bb8b844;
  color: var(--mute);
  padding: .35rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.live-pill.on { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px #6bb8b833; }
.top-meta { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.langs { display: flex; gap: 0; border: 1px solid #6bb8b844; border-radius: 999px; overflow: hidden; }
.lang {
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  background: transparent;
  border: 0;
  color: var(--mute);
  padding: .32rem .65rem;
  cursor: pointer;
}
.lang.on { color: var(--void); background: var(--cyan); }
.net {
  position: relative;
  height: 520px;
  margin: .4rem auto 0;
  width: min(920px, 100%);
}
#links { position: absolute; inset: 0; width: 100%; height: 100%; }
#links line { stroke: #6bb8b822; stroke-width: 1; }
#links line.hot { stroke: var(--cyan); stroke-width: 1.6; opacity: .9; }
.nodes { position: absolute; inset: 0; }
.node {
  position: absolute;
  width: 76px; margin-left: -38px; margin-top: -38px;
  text-align: center;
  cursor: default;
}
.node .orb {
  width: 18px; height: 18px; margin: 0 auto .35rem;
  border-radius: 50%;
  background: var(--c, var(--lamp));
  box-shadow: 0 0 12px var(--c, var(--lamp));
  opacity: .55;
}
.node.speaking .orb { opacity: 1; transform: scale(1.35); }
.node em { display: block; font-style: normal; font-family: "Cormorant Garamond", serif; font-size: .98rem; }
.node small { color: var(--mute); font-size: .68rem; font-family: "IBM Plex Mono", monospace; }
.log { max-width: 720px; margin: 0 auto; padding: 0 1.2rem 3.5rem; width: 100%; }
.log h2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
#feed { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
#feed li {
  border-left: 2px solid var(--c, var(--cyan));
  padding: .35rem 0 .35rem .8rem;
  color: #c5d0dc;
  font-size: .95rem;
  animation: in .4s ease;
}
#feed .meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  color: var(--mute);
  margin-bottom: .15rem;
}
.bar {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: .8rem 1.2rem calc(.8rem + env(safe-area-inset-bottom));
}
.domain { font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: var(--mute); }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 700px) {
  .net { height: 360px; }
  .node em { font-size: .82rem; }
  .top { flex-direction: column; align-items: start; }
  .top-meta { justify-content: flex-start; }
}
