.embed-page {
  margin: 0;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #f8f7f2;
  color: #403160;
  font: 12px/1.4 system-ui, sans-serif;
}

.embed-page iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-page footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  text-align: center;
}

#embed-sound {
  min-height: 44px;
  min-width: 64px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: #eae4f3;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#embed-sound:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

.embed-page a {
  color: inherit;
}

.embed-code {
  margin-block: 24px;
}

.embed-code textarea {
  display: block;
  width: 100%;
  margin-block: 8px 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  font: 1rem/1.4 monospace;
  resize: vertical;
}

#embed-copy-status {
  margin-inline-start: 8px;
}
