:root {
  --bg:#000000;
  --border:#2F3336;
  --bubble-in:#2F3336;
  --bubble-out:#005C4B;
  --text:#E7E9EA;
  --text-muted:#71767B;
  --online:#00BA7C;
  --danger:#F4212E;
  --focus:#E7E9EA;
  --hover-wash:rgba(231,233,234,.08);
  color-scheme:dark;
  font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text)
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
main {
  max-width:780px;
  margin:auto;
  padding:32px 24px
}
h1 {
  font-size:clamp(30px,6vw,56px);
  line-height:1.08;
  letter-spacing:-.04em;
  margin:16px 0
}
p {
  color:var(--text-muted);
  line-height:1.5
}
.eyebrow {
  font-size:11px;
  font-weight:700;
  letter-spacing:.15em;
  color:var(--online)
}
.button,button {
  display:inline-block;
  background:var(--online);
  color:#10251e;
  border:0;
  border-radius:10px;
  padding:12px 20px;
  font:inherit;
  font-weight:700;
  text-decoration:none;
  cursor:pointer
}
button:disabled {
  opacity:.5;
  cursor:wait
}
a {
  color:var(--online)
}
a:focus-visible,button:focus-visible {
  outline:2px solid var(--focus);
  outline-offset:3px
}
.poster {
  display:block;
  width:100%;
  height:auto;
  margin:32px 0;
  border-radius:16px
}
nav,.actions {
  display:flex;
  gap:16px;
  flex-wrap:wrap
}
nav {
  font-size:14px
}
.small {
  font-size:12px
}
.embed main {
  max-width:480px;
  padding:16px
}
.embed h1 {
  font-size:28px
}
.embed p {
  font-size:12px;
  margin:8px 0
}
.counter {
  font-size:64px;
  font-weight:800;
  line-height:1.15;
  font-variant-numeric:tabular-nums
}
.embed button {
  font-size:13px;
  padding:9px 14px
}
summary {
  cursor:pointer;
  font-weight:600;
  font-size:13px
}
dl {
  font-size:11px;
  display:grid;
  grid-template-columns:100px 1fr;
  gap:6px;
  margin:10px 0
}
dt {
  color:var(--text-muted)
}
dd {
  margin:0;
  overflow-wrap:anywhere
}
dd[data-status=PASS] {
  color:var(--online)
}
dd[data-status=FAIL] {
  color:var(--danger)
}
.actions {
  gap:8px;
  margin-top:12px
}
iframe {
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--bg);
  max-width:100%
}

.embed main { height:100dvh; overflow-y:auto; }
.media-tests video { display:block; max-width:100%; border-radius:8px; background:#000; }
.media-tests video[hidden], .media-tests meter[hidden] { display:none; }
.media-tests meter { width:100%; height:18px; }

[hidden] { display:none !important; }
