@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #17131c;
  --panel: #211b27;
  --line: #3a3040;
  --muted: #969ca7;
  --text: #f2f3f5;
  --accent: #ffca58;
  --danger: #ff8793;
  font-family: Nunito, Arial, sans-serif;
  font-size: 17px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
.theme-button {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}
.stream-existing {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.stream-existing label {
  margin: 8px 0;
}
.stream-existing input {
  flex: none;
}
.stream-existing span {
  min-width: 0;
}
.stream-existing small {
  display: block;
  overflow-wrap: anywhere;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff8ee;
  --panel: #fff;
  --line: #e8d9cc;
  --muted: #5b6658;
  --text: #20261e;
  --accent: #842b57;
  --danger: #a12b40;
}
[data-theme="light"] :is(.topbar, .mobile-nav) {
  background: #fff8eef5;
  border-color: var(--line);
}
[data-theme="light"] :is(input, select, textarea, dialog, .day, pre) {
  background: var(--panel);
  border-color: var(--line);
}
[data-theme="light"]
  :is(
    .brand span span,
    label,
    .nav,
    .meta,
    .section-head a,
    .sidebar a,
    .tabs button,
    .tabs a,
    .mobile-nav a,
    .close
  ) {
  color: var(--muted);
}
[data-theme="light"]
  :is(.nav a.active, .sidebar a.active, .mobile-nav a.active, .day.today h3) {
  color: var(--accent);
}
[data-theme="light"] :is(.tabs, .episode, th, .btn.secondary) {
  background: #e8ebe3;
  border-color: var(--line);
  color: var(--text);
}
[data-theme="light"]
  :is(.btn.primary, .tabs .active, .episode.active, #toast.show:not(.error)) {
  background: var(--accent);
  color: #fff;
}
[data-theme="light"]
  :is(.avatar, .status, .notice, .tag.green, .sidebar a.active) {
  background: #ebf0df;
  border-color: #c9d5b9;
  color: var(--accent);
}
[data-theme="light"] :is(.status.pending, .status.draft) {
  background: #f7edda;
  color: #754506;
}
[data-theme="light"] :is(.status.hidden, .status.rejected, .btn.danger) {
  background: #fae9ed;
  color: var(--danger);
}
[data-theme="light"] .empty {
  border-color: var(--line);
}
[data-theme="light"] .hero {
  color: #f2f3f5;
}
[data-theme="light"] .hero .meta {
  color: #d4dbe2;
}
[data-theme="light"] .hero .eyebrow {
  color: #ffca58;
}
[data-theme="light"] .poster-badge {
  color: #fff;
}
@media (max-width: 420px) {
  .topbar .avatar {
    display: none;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button {
  border: 0;
  background: transparent;
  color: inherit;
}
input,
select,
textarea {
  background: #111419;
  border: 1px solid #383d46;
  color: var(--text);
  border-radius: 9px;
  padding: 11px 12px;
  width: 100%;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
textarea {
  min-height: 100px;
  resize: vertical;
}
label {
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: #c1c6ce;
}
label.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
label.check input {
  width: 16px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -2px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 18px;
}
p {
  line-height: 1.65;
}
small,
.muted {
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand img {
  width: 30px;
}
.brand span span {
  font-weight: 400;
  color: #d4d7db;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid #ffffff0e;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 4.5%;
  position: relative;
  z-index: 3;
  background: var(--bg);
}
.nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 15px;
  color: #abb1bb;
}
.nav a.active {
  color: var(--accent);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-icon {
  font-size: 21px;
}
.avatar {
  border: 1px solid #41473b;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #ffca5815;
  color: var(--accent);
  font-weight: 700;
}
.btn {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 19px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn.primary {
  background: var(--accent);
  color: #171b0a;
}
.btn.secondary {
  background: #ffffff12;
  border-color: #ffffff20;
}
.btn.danger {
  color: var(--danger);
  border-color: #ff879330;
}
.btn.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}
.btn:hover {
  filter: brightness(1.1);
}
.shell {
  max-width: 1600px;
  margin: auto;
  padding: 36px 4.5% 70px;
}
