@font-face {
  font-family: 'Open Sans';
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf')
    format('truetype');
}
:root {
  color-scheme: light;
  --fg: #1f1f1f;
  --muted: #575757;
  --border: #e5e5e5;
  --surface: #f5f5f5;
  --panel: #1f1f1f;
  --accent: #e73c0e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--fg);
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
header,
main,
footer {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.docs-link {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  text-underline-offset: 4px;
}
.wordmark {
  color: var(--fg);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
main {
  padding-block: 32px 48px;
}
h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 12px;
}
h2 span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
p {
  margin: 0;
}
.lede {
  max-width: 640px;
  color: var(--muted);
}
section {
  margin-top: 40px;
}
.experience-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
#connection {
  font-size: 14px;
  color: var(--muted);
}
#player {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.toolbar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
button {
  font: inherit;
  font-size: 14px;
  color: var(--fg);
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
button:hover {
  background: var(--surface);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  max-width: 640px;
}
.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
section > p {
  max-width: 640px;
}
.code-panel {
  margin-top: 16px;
  background: var(--panel);
  color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #424242;
  font-size: 14px;
}
.code-heading button {
  color: inherit;
  background: transparent;
  border-color: #575757;
}
.code-heading button:hover {
  background: #303030;
}
pre {
  margin: 0;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  overflow: auto;
}
footer {
  padding-block: 16px 32px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.feedback {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  background: var(--panel);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}
.feedback:empty {
  display: none;
}
@media (max-width: 800px) {
  header,
  main,
  footer {
    padding-inline: 16px;
  }
  h1 {
    font-size: 24px;
  }
}
