@font-face { font-family: Oxanium; src: url('/assets/oxanium.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: dark;
  font: 14px/1.4 Oxanium, system-ui, sans-serif;
  color: #e3e6ea;
  background: #111214;
  --ink: #e3e6ea;
  --secondary: #a4a9b0;
  --edge: #2a2c30;
  --signal: #d1dce5;
  --signal-lit: #e7f1f8;
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1 { margin: 0; }
[hidden] { display: none !important; }
.listener {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 16px;
  background: radial-gradient(ellipse at 50% 15%, #1d1f22, #111214 66%);
}
.shell {
  width: min(100%, 500px);
  background: radial-gradient(ellipse at 47% 0%, #1d1f22, #131416 60%, #0e0f10);
  border: 1px solid #393b40;
  border-radius: 8px;
  box-shadow: 0 16px 34px -24px #000e;
  overflow: hidden;
}
.plugin .shell { width: 100%; border-radius: 0; border: 0; box-shadow: none; }
header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px 18px;
  background: linear-gradient(#1f2124, #17181b);
  border-bottom: 1px solid #090909;
  box-shadow: inset 0 -1px #ffffff08;
}
h1 { font-size: clamp(15px, 4vw, 20px); font-weight: 700; line-height: 1.22; text-transform: uppercase; letter-spacing: .15em; }
.descriptor, .label { color: var(--secondary); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.descriptor { margin-top: 3px; letter-spacing: .24em; }
.eclipse { isolation: isolate; position: relative; display: grid; height: 39px; flex: 0 0 39px; place-items: center; }
.eclipse canvas { position: absolute; z-index: -1; inset: 50% auto auto 50%; transform: translate(-50%, -50%); }
.eclipse span { color: var(--signal-lit); font-size: 18px; font-weight: 700; text-shadow: 0 0 6px #e7f1f87a; }
.body { display: grid; gap: 10px; padding: 16px 18px 18px; }
.session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 65px;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: linear-gradient(#1c1e21, #161719);
  box-shadow: inset 0 1px #ffffff0e, inset 0 -1px #0008;
}
.connection, .actions { display: flex; align-items: center; gap: 9px; }
.actions { flex-wrap: wrap; gap: 5px; }
.light { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #585d64; }
.light.live { background: var(--signal-lit); box-shadow: 0 0 8px #e7f1f86e; }
.light.error { background: #D63031; }
.status { font-size: 13px; font-weight: 700; }
.detail { color: var(--secondary); font-size: 12px; }
button {
  color: var(--ink);
  border: 1px solid transparent;
  border-image: url('/assets/keycap.png') 26 fill / 9px stretch;
  background: transparent;
  min-height: 38px;
  min-width: 83px;
  padding: 7px 12px;
  font: 700 11px/1.2 Oxanium, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .11em;
}
button:hover:not(:disabled) { filter: brightness(1.18); }
button:disabled { opacity: .55; }
button.secondary { color: var(--secondary); }
button.armed { color: var(--signal-lit); text-shadow: 0 0 6px #d1dce578; }
.meter-box {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: linear-gradient(#0b0c0d, #101113);
  border: 1px solid var(--edge);
  border-radius: 6px;
  box-shadow: inset 0 2px 5px #000c, 0 1px #ffffff07;
}
.meter-head { display: flex; justify-content: space-between; }
.meter-row, .meter-scale { display: grid; grid-template-columns: 14px minmax(0, 1fr) 41px; align-items: center; gap: 7px; }
.meter-scale, .meter-row { font-size: 11px; color: var(--secondary); font-variant-numeric: tabular-nums; }
.scale { display: flex; justify-content: space-between; }
.segments { display: flex; gap: 2px; height: 11px; }
.segments b { flex: 1; background: #25282d; border-radius: 1px; }
.segments b.lit { background: linear-gradient(#b9c6d1, #7d8994); }
.db { text-align: right; color: var(--ink); }
input, select { border: 1px solid #35383e; border-radius: 4px; background: #101113; color: var(--ink); padding: 6px 8px; font: inherit; min-width: 0; }
.invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.invite label { grid-column: 1 / -1; }
.format { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.capture { justify-content: flex-start; }
.capture .detail { flex-basis: 100%; }
@media (pointer: coarse) { button { min-height: 44px; } }
