@import url("/fonts.css");
:root {
  color-scheme: dark;
  --bg: #101419;
  --side: #12171d;
  --surface: #191f27;
  --surface2: #202832;
  --border: #ffffff12;
  --text: #f0f2f4;
  --muted: #929ba8;
  --accent: #e9b66f;
  --accent2: #f3ca91;
  --red: #f18181;
  --green: #94c9b0;
  --radius: 16px;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 15px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
input,
select,
textarea {
  outline: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
button .icon {
  pointer-events: none;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.3;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #2b3440;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  color: #201c17;
  border-color: transparent;
}
.btn.primary:hover {
  background: var(--accent2);
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  color: var(--red);
  border-color: #f1818138;
  background: #f181810a;
}
.btn.small {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 36px;
}
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.icon-btn:hover {
  background: #ffffff0c;
  color: var(--text);
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.hidden {
  display: none !important;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #ffffff0c;
  color: #c2c8d0;
  font-size: 11px;
  font-weight: 600;
}
.badge.gold {
  background: #e9b66f14;
  color: var(--accent);
}
.badge.green {
  background: #94c9b012;
  color: var(--green);
}
.badge.red {
  color: var(--red);
}
.badge .icon {
  width: 13px;
  height: 13px;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.pill {
  border: 1px solid var(--border);
  padding: 8px 15px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  background: transparent;
  min-height: 36px;
}
.pill.active {
  color: var(--accent);
  border-color: #e9b66f4d;
  background: #e9b66f0d;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 18px;
  gap: 15px;
}
.section-head h2 {
  margin: 0;
}
.section-head a {
  font-size: 12px;
  color: var(--muted);
}
.section-head span.count {
  color: #59636f;
  font-size: 13px;
  margin-left: 10px;
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.page-head {
  margin-bottom: 30px;
}
.page-head h1 {
  margin-bottom: 8px;
}
.page-head .eyebrow {
  margin-bottom: 12px;
}
.page-head.row {
  align-items: flex-end;
}
.panel {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.panel h3 {
  margin-bottom: 8px;
}
.panel p {
  font-size: 13px;
  color: var(--muted);
}
.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #bcc3cb;
}
.field input,
.field select,
.field textarea,
.input {
  width: 100%;
  background: #0e1319;
  border: 1px solid #ffffff15;
  border-radius: 9px;
  padding: 12px 13px;
  color: var(--text);
  min-height: 44px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #586371;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.notice {
  border: 1px solid #e9b66f25;
  border-radius: 10px;
  background: #e9b66f08;
  padding: 15px 18px;
  font-size: 13px;
  color: #c7b99f;
  line-height: 1.7;
}
.notice.error {
  border-color: #f1818140;
  background: #f181810a;
  color: var(--red);
}
.error-page {
  max-width: 540px;
  margin: 10vh auto;
  text-align: center;
}
.error-page .icon {
  width: 45px;
  height: 45px;
  color: var(--accent);
  margin-bottom: 20px;
}
.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 60px 25px;
  border: 1px dashed #ffffff17;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1b222b55, transparent);
}
.empty-illustration {
  width: 92px;
  height: 92px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  background: #e9b66f0b;
  border: 1px solid #e9b66f20;
  margin-bottom: 23px;
  transform: rotate(-6deg);
}
.empty-illustration .icon {
  width: 39px;
  height: 39px;
  color: var(--accent);
  transform: rotate(6deg);
}
.empty h3 {
  font-size: 21px;
  margin-bottom: 9px;
}
.empty p {
  max-width: 430px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.loader {
  width: 28px;
  height: 28px;
  border: 2px solid #ffffff1c;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
.boot {
  height: 90vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: var(--side);
  border-right: 1px solid var(--border);
  padding: 34px 20px 22px;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.9px;
}
.brand img {
  width: 33px;
  height: 33px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  display: block;
  color: #707c8b;
  font-weight: 500;
  margin-top: 4px;
}
.nav-label {
  font-size: 10px;
  color: #657181;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 39px 15px 12px;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border-radius: 9px;
  color: #98a2af;
  font-size: 13px;
  font-weight: 500;
}
.nav a:hover {
  background: #ffffff04;
  color: white;
}
.nav a.active {
  background: #e9b66f0f;
  color: var(--accent);
}
.nav a.active:after {
  content: "";
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}
.nav a .icon {
  width: 19px;
  height: 19px;
}
.sidebar-bottom {
  margin-top: auto;
}
.private-note {
  border: 1px solid var(--border);
  border-radius: 11px;
  margin: 25px 7px 20px;
  padding: 14px;
}
.private-note .row {
  color: #c5ccd4;
  font-size: 12px;
  gap: 8px;
  margin-bottom: 7px;
}
.private-note .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.private-note p {
  font-size: 10px;
  color: #657181;
  line-height: 1.6;
  margin: 0;
}
.profile {
  display: flex;
  align-items: center;
  padding: 13px 9px 0;
  border-top: 1px solid var(--border);
  gap: 11px;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #29333f;
  color: var(--accent);
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.profile-name {
  font-size: 12px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-name small {
  display: block;
  color: #687484;
  font-size: 10px;
  margin-top: 4px;
}
.main {
  margin-left: 232px;
  min-height: 100vh;
}
.topbar {
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 44px;
  border-bottom: 1px solid #ffffff06;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 360px;
  color: #667280;
}
.searchbox .icon {
  width: 18px;
  height: 18px;
}
.searchbox input {
  border: 0;
  background: transparent;
  width: 100%;
  color: var(--text);
  font-size: 12px;
  outline: none;
}
.searchbox input::placeholder {
  color: #667280;
}
.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.topbar-right .tag {
  color: #7f9c8d;
  display: flex;
  gap: 7px;
  align-items: center;
}
.topbar .mobile-brand {
  display: none;
}
.content {
  max-width: 1540px;
  padding: 34px 44px 40px;
  margin: auto;
  animation: enter 0.25s ease-out;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #4d5866;
  font-size: 10px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  min-height: 354px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  padding: 40px;
  background: linear-gradient(100deg, #252d35, #172627 70%, #26372e);
  border: 1px solid #ffffff0a;
}
.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  z-index: -3;
  opacity: 0.68;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #141b22f0 0%,
    #141b22b3 42%,
    #141b2210 100%
  );
}
.hero-copy {
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.22;
  font-weight: 620;
  letter-spacing: -1.4px;
  max-width: 550px;
  margin-bottom: 14px;
}
.hero p {
  font-size: 13px;
  color: #a9b2ba;
  max-width: 390px;
  margin: 14px 0 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero .badge {
  background: #ffffff0e;
}
.hero-art {
  position: absolute;
  right: -5%;
  top: -30%;
  width: 64%;
  height: 160%;
  background:
    radial-gradient(ellipse at 55% 30%, #d7ac7350, transparent 40%),
    radial-gradient(ellipse at 60% 70%, #6f947655, transparent 55%);
  transform: rotate(-20deg);
  z-index: -2;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 18% 8%;
  border: 1px solid #ffffff20;
  border-radius: 45%;
  box-shadow:
    0 0 0 45px #ffffff03,
    0 0 0 90px #ffffff03,
    0 0 0 135px #ffffff03;
}
.hero-caption {
  position: absolute;
  bottom: 25px;
  right: 30px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b8bdad90;
  z-index: 1;
}
.welcome-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}
.welcome-strip p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.welcome-strip strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
.welcome-strip .line {
  height: 1px;
  background: var(--border);
  flex: 1;
  margin-left: 20px;
}
.welcome-strip .date {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5e6a78;
}
.onboarding {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 26px;
}
.onboard-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}
.onboard-card:hover {
  border-color: #e9b66f38;
}
.onboard-card > .icon {
  color: var(--accent);
  width: 25px;
  height: 25px;
}
.onboard-card b {
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
.onboard-card small {
  font-size: 11px;
  color: var(--muted);
}
.library-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.library-tools > span {
  font-size: 12px;
  color: var(--muted);
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px;
}
.movie-card {
  min-width: 0;
  position: relative;
}
.poster {
  aspect-ratio: 2/2.85;
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  background: #222a35;
  isolation: isolate;
  transition: transform 0.25s;
}
.poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.poster:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #0c101ac4);
  z-index: 1;
}
.poster-fallback {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background:
    radial-gradient(ellipse at 75% 10%, #e9b66f44, transparent 45%),
    linear-gradient(155deg, #3a4b52, #151b28 70%);
}
.tone-1 {
  background:
    radial-gradient(ellipse at 80% 10%, #bb7e5544, transparent 45%),
    linear-gradient(155deg, #5c3832, #201b27 70%);
}
.tone-2 {
  background:
    radial-gradient(ellipse at 40% 20%, #88b8cb55, transparent 50%),
    linear-gradient(155deg, #2d5160, #171c30 70%);
}
.tone-3 {
  background:
    radial-gradient(ellipse at 80% 10%, #b297df44, transparent 45%),
    linear-gradient(155deg, #49415d, #1b1b2a 70%);
}
.poster-fallback > span {
  position: relative;
  z-index: 2;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}
.poster-fallback:before {
  content: "";
  width: 170%;
  height: 100%;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  position: absolute;
  transform: rotate(35deg);
  left: -20%;
  top: 20%;
  box-shadow:
    0 0 0 22px #ffffff03,
    0 0 0 44px #ffffff03,
    0 0 0 66px #ffffff03;
}
.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #10151ad9;
  backdrop-filter: blur(6px);
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 9px;
  color: #e8c79b;
  letter-spacing: 0.2px;
}
.poster-source {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 2;
  font-size: 9px;
  color: #ccd3db;
}
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #181a1f;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  z-index: 3;
}
.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.movie-card:hover .poster > img {
  transform: scale(1.04);
}
.movie-card h3 {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
  margin: 12px 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.movie-card small {
  font-size: 10px;
  color: #788494;
}
.progress-line {
  height: 3px;
  background: #ffffff1a;
  border-radius: 3px;
  overflow: hidden;
}
.progress-line > span {
  height: 100%;
  display: block;
  background: var(--accent);
  width: 0;
  transition: width 0.2s;
}
.poster .progress-line {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
}
.continue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.continue-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 108px;
}
.continue-card .poster {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 0;
}
.continue-card .poster-fallback {
  padding: 10px;
}
.continue-card .poster-fallback > span {
  font-size: 14px;
}
.continue-info {
  padding: 18px 16px;
}
.continue-info h3 {
  font-size: 13px;
  margin-bottom: 5px;
}
.continue-info p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 13px;
}
.continue-info .progress-line {
  height: 2px;
}
.detail-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  background: var(--surface);
  isolation: isolate;
}
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(25px);
  opacity: 0.12;
  z-index: -1;
}
.detail-banner > .poster {
  box-shadow: 0 10px 35px #0006;
}
.detail-copy {
  align-self: center;
  max-width: 750px;
}
.detail-copy h1 {
  margin: 15px 0;
  font-size: 38px;
}
.detail-copy > p {
  color: var(--muted);
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px;
}
.back-link .icon {
  width: 15px;
  height: 15px;
}
.episode-list {
  display: grid;
  gap: 9px;
}
.episode {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.episode:hover {
  border-color: #ffffff20;
}
.ep-number {
  color: #5e6d7e;
  font-size: 18px;
  font-weight: 300;
  min-width: 31px;
}
.ep-main {
  flex: 1;
  min-width: 0;
}
.ep-main b {
  font-size: 13px;
  font-weight: 500;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ep-main small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.episode .progress-line {
  width: 90px;
}
.episode.active {
  border-color: #e9b66f60;
  background: #e9b66f08;
}
.episode.active .ep-number {
  color: var(--accent);
}
.editor {
  margin-top: 25px;
}
.editor-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.file-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
input[type="file"] {
  max-width: 100%;
  font-size: 12px;
  color: var(--muted);
}
input[type="file"]::file-selector-button {
  background: #29323f;
  border: 0;
  padding: 9px 12px;
  margin-right: 12px;
  border-radius: 7px;
  color: #d1d7df;
  cursor: pointer;
}
.ep-edit {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.ep-edit > .row {
  align-items: flex-end;
}
.ep-edit .field {
  flex: 1;
}
.ep-edit .num {
  max-width: 95px;
}
.ep-edit .file-label {
  margin-top: 15px;
}
.ep-path {
  font-size: 10px;
  color: #637183;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.sub-tag {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff08;
  border-radius: 5px;
  padding: 3px 7px;
}
.sub-tag button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 15px;
  padding: 2px 4px;
}
.upload-zone {
  border: 1px dashed #e9b66f50;
  background: linear-gradient(145deg, #e9b66f06, transparent);
  border-radius: 15px;
  padding: 48px 25px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 17px;
}
.upload-zone.dragging {
  border-color: var(--accent);
  background: #e9b66f14;
}
.upload-zone > .icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.upload-zone h3 {
  font-size: 20px;
  margin: 0;
}
.upload-zone p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.upload-zone input[type="file"] {
  display: none;
}
.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.upload-settings {
  margin-top: 22px;
}
.upload-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 14px;
}
.upload-item .row {
  margin-bottom: 12px;
  align-items: flex-start;
}
.upload-item strong {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
  overflow-wrap: anywhere;
}
.upload-item small {
  font-size: 10px;
  color: var(--muted);
}
.upload-item .progress-line {
  margin-bottom: 10px;
}
.upload-tip {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid var(--border);
}
.upload-tip > .icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.upload-tip strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.upload-tip p {
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.source-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.source-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.source-title > .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.source-title h3 {
  margin-bottom: 5px;
}
.source-title small {
  font-size: 11px;
  color: var(--muted);
}
.source-item {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.source-item strong {
  font-size: 13px;
  font-weight: 500;
}
.source-item code {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
  color: #7b8797;
  margin: 8px 0 14px;
}
.root-list {
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  color: #788696;
  padding: 10px 0;
}
.drive-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.drive-file > .icon {
  width: 18px;
  color: #8797aa;
}
.drive-file > span {
  font-size: 12px;
  flex: 1;
  overflow-wrap: anywhere;
}
.drive-file .btn {
  flex: none;
}
.job {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.job > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.job b {
  font-size: 12px;
  font-weight: 500;
}
.job p {
  font-size: 11px;
  margin: 7px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.job .progress-line {
  margin-top: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 25px 0;
}
.stat {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.stat .icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
  margin-bottom: 18px;
}
.stat b {
  display: block;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.8px;
}
.stat small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.manage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.manage-table th {
  text-align: left;
  color: #6f7e90;
  font-weight: 500;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.manage-table td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--border);
}
.manage-table td:first-child {
  max-width: 400px;
}
.manage-table .title-cell {
  font-size: 13px;
}
.manage-table td small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.table-wrap {
  overflow: auto;
}
.manage-table .row {
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.user-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.user-item > div:nth-child(2) {
  flex: 1;
}
.user-item strong {
  font-size: 13px;
  font-weight: 500;
}
.user-item small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 25px;
  align-items: start;
}
.watch-main {
  min-width: 0;
}
.stage {
  position: relative;
  background: #000;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 16/9;
  isolation: isolate;
}
.stage:fullscreen {
  border-radius: 0;
  aspect-ratio: auto;
}
.stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.video-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.video-center > .icon {
  width: 55px;
  height: 55px;
  background: #151c2399;
  backdrop-filter: blur(5px);
  padding: 14px;
  border-radius: 50%;
  color: white;
}
.video-error {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 25px;
  text-align: center;
  background: #10151aee;
  z-index: 5;
}
.video-error p {
  font-size: 13px;
  max-width: 480px;
  margin: 12px 0 18px;
}
.video-error > .icon {
  color: var(--accent);
  width: 35px;
  height: 35px;
}
.controls {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 15px 9px;
  background: linear-gradient(transparent, #000d);
  z-index: 3;
  transition: opacity 0.25s;
}
.stage.sleeping .controls {
  opacity: 0;
  pointer-events: none;
}
.stage.sleeping {
  cursor: none;
}
.seek {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
}
.seek-bar {
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  background: #ffffff30;
  border-radius: 3px;
  overflow: hidden;
}
.seek-buffer,
.seek-played {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #ffffff50;
}
.seek-played {
  background: var(--accent);
}
.seek input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.control-row {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 40px;
}
.control-row button {
  color: #f1f2f3;
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 7px;
}
.control-row button:hover {
  background: #ffffff15;
}
.control-row .icon {
  width: 20px;
  height: 20px;
}
.volume-range {
  width: 56px;
  height: 3px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0 8px 0 1px;
}
.video-time {
  color: #d9dce1;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
  white-space: nowrap;
}
.control-spacer {
  flex: 1;
}
.control-select {
  max-width: 85px;
  background: #1e252be0;
  color: #e4e8ee;
  border: 1px solid #ffffff15;
  border-radius: 5px;
  padding: 4px;
  font-size: 10px;
  min-height: 30px;
  cursor: pointer;
}
.watch-title {
  margin: 22px 0 9px;
  font-size: 23px;
}
.watch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
  flex-wrap: wrap;
}
.watch-meta p {
  margin: 0;
}
.watch-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.watch-help {
  font-size: 10px;
  color: #5c6a7a;
  line-height: 1.8;
}
.playlist {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  overflow: hidden;
}
.playlist-head {
  padding: 22px 18px;
  border-bottom: 1px solid var(--border);
}
.playlist-head h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
}
.playlist-head p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.playlist-list {
  max-height: 520px;
  overflow: auto;
  padding: 8px;
}
.playlist .episode {
  background: transparent;
  border: 0;
  padding: 13px 10px;
  gap: 12px;
}
.playlist .episode.active {
  background: #e9b66f10;
}
.playlist .ep-number {
  font-size: 13px;
  min-width: 20px;
}
.playlist .ep-main b {
  font-size: 11px;
}
.playlist .ep-main small {
  font-size: 9px;
}
.playlist-footer {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.playlist-footer input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.theatre .sidebar {
  display: none;
}
.theatre .main {
  margin-left: 0;
}
.theatre .watch-layout {
  grid-template-columns: 1fr;
}
.theatre .playlist {
  max-width: none;
}
.theatre .playlist-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.theatre .content {
  max-width: 1600px;
}
.player-selects {
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-art {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px;
  background: #18232a;
  isolation: isolate;
  border-right: 1px solid var(--border);
}
.auth-art .brand {
  padding: 0;
}
.auth-art .brand small {
  color: #a0aaa8;
}
.auth-art .hero-art {
  width: 130%;
  right: -40%;
  top: -10%;
  height: 130%;
  opacity: 0.9;
}
.auth-art h1 {
  font-size: 52px;
  letter-spacing: -1.7px;
  line-height: 1.15;
  margin-bottom: 22px;
}
.auth-art p {
  max-width: 370px;
  font-size: 14px;
  color: #9eaeb0;
}
.auth-art footer {
  font-size: 10px;
  letter-spacing: 1px;
  color: #7b8c8c;
}
.auth-art-copy {
  margin: 85px 0;
  max-width: 500px;
}
.auth-art-copy .eyebrow {
  margin-bottom: 22px;
}
.auth-form-wrap {
  display: grid;
  align-content: center;
  padding: 55px;
  max-width: 550px;
  width: 100%;
  margin: auto;
}
.auth-form-wrap > .eyebrow {
  margin-bottom: 18px;
}
.auth-form-wrap h2 {
  font-size: 29px;
  margin-bottom: 12px;
}
.auth-form-wrap > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.auth-form-wrap form {
  display: grid;
  gap: 20px;
}
.auth-form-wrap .notice {
  font-size: 11px;
}
.auth-foot {
  font-size: 11px;
  color: #5c6b7a;
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-foot .icon {
  width: 14px;
  height: 14px;
}
#toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 200;
  max-width: 400px;
  display: grid;
  gap: 10px;
}
.toast {
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #28323ef5;
  box-shadow: 0 10px 40px #0007;
  padding: 15px 20px;
  font-size: 12px;
  line-height: 1.6;
  animation: enter 0.2s;
}
.toast.error {
  border-color: #f1818150;
  color: #ffb2b2;
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid #ffffff15;
  border-radius: 16px;
  max-width: 500px;
  width: calc(100% - 32px);
  padding: 28px;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #060a10b3;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 22px;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
dialog .row {
  justify-content: flex-end;
  margin-top: 24px;
}
.skeleton {
  height: 260px;
  border-radius: 15px;
  background: linear-gradient(90deg, #1c242e, #25303b, #1c242e);
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (min-width: 1600px) {
  .movie-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .hero {
    min-height: 400px;
    padding: 48px;
  }
  .hero h1 {
    font-size: 48px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 30px;
  }
  .content {
    padding: 30px;
  }
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero {
    padding: 32px;
  }
  .watch-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
  }
  .control-select {
    max-width: 62px;
  }
  .volume-range {
    width: 38px;
  }
  .upload-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .onboard-card {
    padding: 17px;
    gap: 12px;
  }
  .onboard-card small {
    font-size: 10px;
  }
  .onboard-card > .icon {
    width: 21px;
  }
  .continue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .continue-card:nth-child(3) {
    display: none;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 180px;
    padding-left: 9px;
    padding-right: 9px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .nav a {
    font-size: 12px;
    padding: 12px;
  }
  .main {
    margin-left: 180px;
  }
  .topbar {
    padding: 0 25px;
    height: 78px;
  }
  .content {
    padding: 26px 25px;
  }
  .topbar-right .tag {
    display: none;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero {
    min-height: 325px;
    padding: 28px;
  }
  .hero-copy {
    max-width: 390px;
  }
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .onboarding {
    grid-template-columns: 1fr;
  }
  .onboard-card {
    padding: 18px;
  }
  .onboard-card small {
    font-size: 11px;
  }
  .upload-layout,
  .source-grid,
  .watch-layout {
    grid-template-columns: 1fr;
  }
  .upload-aside {
    display: none;
  }
  .playlist-list {
    max-height: 300px;
  }
  .detail-banner {
    grid-template-columns: 150px 1fr;
    padding: 28px;
    gap: 25px;
  }
  .detail-copy h1 {
    font-size: 29px;
  }
  .auth-art {
    padding: 35px;
  }
  .auth-art h1 {
    font-size: 42px;
  }
  .auth-form-wrap {
    padding: 35px;
  }
  .hero-caption {
    display: none;
  }
  .video-time {
    font-size: 11px;
  }
  .control-select {
    max-width: 90px;
  }
}
@media (max-width: 640px) {
  :root {
    font-size: 14px;
  }
  .sidebar {
    display: none;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .topbar .mobile-brand {
    display: flex;
  }
  .topbar .mobile-brand .brand {
    padding: 0;
  }
  .topbar-right {
    margin-left: auto;
  }
  .topbar-right .btn {
    padding: 8px 12px;
    font-size: 11px;
    min-height: 36px;
  }
  .topbar-right .avatar {
    display: none;
  }
  .searchbox {
    order: 3;
    width: 100%;
    background: #ffffff04;
    border: 1px solid var(--border);
    padding: 10px 12px;
    border-radius: 8px;
  }
  .content {
    padding: 24px 20px 105px;
  }
  .welcome-strip {
    margin-bottom: 20px;
  }
  .welcome-strip .date,
  .welcome-strip .line {
    display: none;
  }
  .welcome-strip strong {
    font-size: 14px;
  }
  .welcome-strip p {
    font-size: 11px;
  }
  .hero {
    min-height: 330px;
    padding: 27px 23px;
    border-radius: 13px;
  }
  .hero h1 {
    font-size: 34px;
    max-width: 300px;
  }
  .hero p {
    font-size: 12px;
    max-width: 280px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-art {
    right: -45%;
    width: 115%;
    opacity: 0.7;
  }
  .hero .btn {
    font-size: 12px;
    padding: 10px 13px;
  }
  .hero-image {
    opacity: 0.4;
  }
  .hero:after {
    background: linear-gradient(90deg, #141b22e6, #141b2266);
  }
  .section-head {
    margin-top: 28px;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .section-head a {
    font-size: 10px;
  }
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 15px;
  }
  .movie-card h3 {
    font-size: 12px;
  }
  .poster {
    border-radius: 9px;
  }
  .poster-fallback {
    padding: 17px;
  }
  .poster-fallback > span {
    font-size: 21px;
  }
  .continue-grid {
    grid-template-columns: 1fr;
  }
  .continue-card:nth-child(3) {
    display: grid;
  }
  .continue-card {
    grid-template-columns: 95px 1fr;
    min-height: 95px;
  }
  .onboarding {
    gap: 10px;
  }
  .onboard-card {
    border-radius: 10px;
  }
  .footer {
    font-size: 9px;
    margin-top: 36px;
  }
  .footer span:last-child {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    justify-content: space-around;
    background: #141a21f5;
    backdrop-filter: blur(16px);
    border-top: 1px solid #ffffff0e;
    padding: 9px 7px calc(9px + env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #788596;
    font-size: 9px;
    padding: 4px 10px;
  }
  .mobile-nav a.active {
    color: var(--accent);
  }
  .mobile-nav .icon {
    width: 20px;
    height: 20px;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .page-head {
    margin-bottom: 24px;
  }
  .page-head .eyebrow {
    font-size: 9px;
  }
  .page-head .subtitle {
    font-size: 12px;
  }
  .page-head.row {
    gap: 18px;
  }
  .library-tools {
    align-items: flex-start;
  }
  .library-tools > span {
    display: none;
  }
  .pill {
    padding: 8px 12px;
    font-size: 11px;
  }
  .detail-banner {
    grid-template-columns: 93px 1fr;
    padding: 20px;
    gap: 17px;
    align-items: start;
    border-radius: 12px;
  }
  .detail-copy {
    align-self: start;
  }
  .detail-copy h1 {
    font-size: 23px;
    letter-spacing: -0.5px;
    margin-top: 10px;
  }
  .detail-copy > p {
    font-size: 11px;
    line-height: 1.7;
  }
  .detail-copy .btn {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 38px;
  }
  .detail-copy .badge {
    font-size: 9px;
  }
  .detail-copy .row {
    gap: 7px;
  }
  .detail-banner > .poster {
    aspect-ratio: 2/3;
  }
  .detail-copy .eyebrow {
    font-size: 8px;
  }
  .detail-copy .btn .icon {
    width: 15px;
    height: 15px;
  }
  .episode {
    padding: 13px;
    gap: 12px;
  }
  .ep-number {
    font-size: 16px;
    min-width: 23px;
  }
  .episode .ep-main b {
    font-size: 12px;
  }
  .episode > .progress-line {
    display: none;
  }
  .panel {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .ep-edit .row {
    gap: 10px;
  }
  .ep-edit .field {
    flex-basis: 60%;
  }
  .ep-edit .num {
    flex-basis: 25%;
  }
  .ep-edit .btn {
    padding: 9px 12px;
    font-size: 11px;
  }
  .ep-edit .move {
    max-width: 100%;
  }
  .stats {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 17px;
  }
  .stat:last-child {
    grid-column: 1/-1;
  }
  .stat:last-child .icon {
    margin-bottom: 10px;
  }
  .stat b {
    font-size: 23px;
  }
  .stat small {
    font-size: 10px;
  }
  .upload-zone {
    padding: 35px 20px;
  }
  .upload-zone h3 {
    font-size: 18px;
  }
  .upload-zone p {
    font-size: 11px;
  }
  .upload-item {
    padding: 16px;
  }
  .source-grid {
    gap: 20px;
  }
  .watch-layout {
    gap: 20px;
  }
  .watch-page {
    padding-left: 0;
    padding-right: 0;
    padding-top: 18px;
  }
  .watch-page > .back-link,
  .watch-title,
  .watch-meta,
  .watch-actions,
  .watch-help,
  .playlist,
  .watch-page > .notice {
    margin-left: 20px;
    margin-right: 20px;
  }
  .watch-title {
    font-size: 20px;
  }
  .watch-actions .btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .stage {
    border-radius: 0;
  }
  .controls {
    padding: 28px 8px 5px;
  }
  .control-row {
    gap: 0;
  }
  .control-row button {
    min-width: 31px;
    width: 31px;
    height: 34px;
    padding: 6px;
  }
  .control-row .icon {
    width: 18px;
    height: 18px;
  }
  .volume-range {
    display: none;
  }
  .video-time {
    font-size: 9px;
    margin-left: 3px;
  }
  .control-select {
    font-size: 9px;
    max-width: 64px;
    padding: 2px;
    min-height: 27px;
  }
  .control-row .theatre-btn {
    display: none;
  }
  .player-selects {
    gap: 4px;
  }
  .theatre .playlist-list {
    grid-template-columns: 1fr;
  }
  .watch-help {
    font-size: 9px;
  }
  .playlist-list {
    max-height: 340px;
  }
  .auth-layout {
    display: block;
    min-height: 100vh;
  }
  .auth-art {
    padding: 28px 25px 22px;
    border-right: 0;
    min-height: 210px;
  }
  .auth-art .brand {
    font-size: 23px;
  }
  .auth-art-copy {
    margin: 35px 0 0;
  }
  .auth-art-copy h1 {
    font-size: 31px;
    max-width: 280px;
    margin: 0;
  }
  .auth-art-copy .eyebrow,
  .auth-art-copy p,
  .auth-art footer {
    display: none;
  }
  .auth-art .hero-art {
    width: 120%;
    right: -60%;
    opacity: 0.7;
  }
  .auth-form-wrap {
    padding: 32px 25px 45px;
  }
  .auth-form-wrap h2 {
    font-size: 25px;
  }
  .auth-form-wrap .eyebrow {
    font-size: 10px;
  }
  .auth-form-wrap > p {
    font-size: 12px;
  }
  .auth-form-wrap form {
    gap: 17px;
  }
  #toasts {
    bottom: 88px;
    right: 15px;
    left: 15px;
    max-width: none;
  }
  .empty {
    padding: 42px 20px;
  }
  .empty h3 {
    font-size: 19px;
  }
  .empty p {
    font-size: 12px;
  }
  .source-title > .icon {
    width: 26px;
    height: 26px;
  }
  .manage-table th,
  .manage-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .manage-table .title-cell {
    min-width: 140px;
  }
  .manage-table .hide-mobile {
    display: none;
  }
  .table-wrap {
    margin: 0 -8px;
  }
  .control-row .pip-btn {
    display: none;
  }
  .stage:fullscreen .pip-btn {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 640px) {
  .topbar-right .avatar {
    display: grid;
    width: 32px;
    height: 32px;
  }
  .topbar-right {
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .control-row {
    flex-wrap: wrap;
  }
  .control-row .pip-btn {
    display: grid;
  }
  .player-selects {
    order: 10;
    width: 100%;
    justify-content: flex-end;
    padding: 2px 3px 3px;
  }
  .control-select {
    max-width: 120px;
  }
  .controls {
    padding-top: 25px;
  }
  .watch-help {
    display: none;
  }
}
