:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e8edf7;
  background: #101622;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  width: min(760px, 100% - 36px);
  margin: 55px auto;
}
header {
  padding: 0 10px 24px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #7faef7;
  font-weight: 700;
}
h1 {
  font-size: clamp(38px, 8vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 20px 0;
}
p {
  color: #b1bfd4;
  line-height: 1.6;
  font-size: 15px;
}
section {
  border: 1px solid #303f56;
  border-radius: 20px;
  background: #182234;
  padding: 28px;
  margin: 18px 0;
}
.sectionhead {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step {
  display: grid;
  place-items: center;
  background: #283e5f;
  color: #a7ccff;
  border-radius: 50%;
  height: 28px;
  width: 28px;
  font-weight: 700;
}
h2 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.03em;
}
h2 small {
  font-size: 13px;
  color: #9eb0c8;
  font-weight: 400;
  margin-left: 8px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0;
  color: #dce8fa;
}
input,
select {
  display: block;
  width: 100%;
  margin-top: 9px;
  border: 1px solid #475a74;
  background: #101927;
  color: #edf4ff;
  border-radius: 9px;
  padding: 13px;
  font: inherit;
  min-width: 0;
}
input:focus,
select:focus {
  outline: 2px solid #7cb8ff;
  outline-offset: 2px;
}
button,
.button {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 13px 19px;
  background: #a5ccff;
  color: #102745;
  font: 600 14px inherit;
  cursor: pointer;
  font-weight: 650;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: #293b54;
  color: #e4efff;
}
summary {
  cursor: pointer;
  color: #b9d4f8;
  margin-top: 24px;
  font-size: 14px;
}
.hint {
  font-size: 13px;
  color: #93a7c3;
}
.preview {
  display: flex;
  gap: 24px;
  border: 1px solid #3d506d;
  border-radius: 12px;
  padding: 20px;
  background: #0f1929;
  font-weight: 650;
}
.preview small {
  font-size: 12px;
  color: #b6c4d8;
}
pre {
  font:
    13px/1.6 ui-monospace,
    monospace;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
footer {
  text-align: center;
  font-size: 12px;
  color: #8498b3;
  padding: 24px;
}
#libraries label {
  display: flex;
  gap: 10px;
  align-items: center;
}
#libraries input {
  width: auto;
  margin: 0;
}
#status,
#plex-status {
  overflow-wrap: anywhere;
}
#manifest {
  font-family: monospace;
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 500px) {
  main {
    margin-top: 30px;
  }
  section {
    padding: 22px;
  }
  .preview {
    gap: 14px;
    padding: 14px;
  }
  h2 small {
    display: block;
    margin: 4px 0 0;
  }
  .actions > * {
    width: 100%;
    text-align: center;
  }
  button {
    max-width: 100%;
  }
}
