body {
  min-height: 100vh;
}
.remote-app {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% -8%, #16362f, transparent 39%), #0a0e14;
}
.remote-header {
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 650px) / 2));
  border-bottom: 1px solid #22313b;
  background: #0b1117ed;
}
.remote-header .logo strong {
  font-size: 19px;
}
.remote-header .logo-signet {
  height: 38px;
  width: 38px;
}
.remote-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
}
.remote-live {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a9d1c6;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.remote-content {
  width: min(650px, 100%);
  margin: auto;
  padding: 22px 16px 50px;
}
.remote-hero {
  padding: 29px;
  background: linear-gradient(135deg, #182b2e, #131b27 70%);
  border: 1px solid #385049;
  border-radius: 18px;
  text-align: center;
}
.remote-hero .section-kicker {
  text-align: left;
}
.remote-cover {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #327369, #3b3b64);
  font-size: 44px;
  margin: 20px auto;
  box-shadow: 0 10px 30px #0005;
}
.remote-hero h1 {
  font-size: 22px;
  letter-spacing: -0.65px;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.remote-hero p {
  font-size: 11px;
  color: #90a8b5;
}
.remote-progress {
  height: 5px;
  background: #41535b;
  overflow: hidden;
  border-radius: 30px;
  margin-top: 19px;
}
.remote-progress > div {
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 0.3s;
}
.remote-time {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8b9ba9;
  margin-top: 6px;
}
.remote-master {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 17px;
}
.remote-section {
  padding: 21px 16px;
  margin-top: 15px;
  border: 1px solid #2e3c4a;
  background: #121b25;
  border-radius: 16px;
}
.remote-section h2 {
  font-size: 20px;
  margin: 7px 0 15px;
}
.remote-section .section-head h2 {
  margin: 5px 0;
}
.remote-section .section-head h2 span {
  font-size: 11px;
  color: var(--cyan);
}
.remote-section .subtext {
  line-height: 1.8;
  margin: 12px 0 18px;
}
.remote-listen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.remote-listen-head h2 { margin: 0; }
.remote-listen-head .subtext { margin: 4px 0 0; }
.small-role {
  font-size: 10px;
  letter-spacing: 1.2px;
  background: #1d3c39;
  color: var(--cyan);
  border-radius: 20px;
  padding: 8px;
}
.remote-row {
  display: grid;
  grid-template-columns: 24px 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
  border-top: 1px solid #2c3b49;
  min-width: 0;
}
.remote-row .n {
  font-size: 11px;
  color: #8c99a8;
}
.remote-row .art {
  background: #273b45;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 17px;
}
.remote-row .details {
  min-width: 0;
}
.remote-row .details strong,
.remote-row .details small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.remote-row .details strong {
  font-size: 12px;
}
.remote-row .details small {
  font-size: 10px;
  color: #8295a6;
  margin-top: 5px;
}
.vote-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.vote-buttons button {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  background: #253441;
  border: 1px solid #405468;
  color: #bfcfe0;
  font-weight: 850;
  font-size: 14px;
}
.vote-buttons button:hover {
  border-color: var(--cyan);
}
.vote-buttons button:disabled {
  opacity: 0.33;
}
.vote-buttons .score {
  font-size: 11px;
  font-weight: 850;
  color: var(--cyan);
  min-width: 21px;
  text-align: center;
}
.remote-form {
  display: flex;
  gap: 7px;
}
.remote-form input {
  flex: 1;
  min-width: 0;
}
.space-top {
  margin: 23px 0 11px;
}
.remote-search-form,
.remote-search-auto {
  margin-bottom: 12px;
}
.remote-search-form .button { white-space: nowrap; }
.remote-search-auto { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.remote-search-auto input { flex-shrink: 0; accent-color: var(--cyan); }
.source-filter {
  display: flex;
  gap: 7px;
  margin: 0 0 14px;
}
.source-filter button {
  font-size: 10px;
  padding: 8px 14px;
  border: 1px solid #354554;
  background: #1c2934;
  border-radius: 7px;
}
.source-filter button.active {
  background: #215047;
  color: #b9f7eb;
  border-color: #347b71;
}
.remote-library {
  max-height: 430px;
  overflow: auto;
}
.remote-library-row {
  border-top: 1px solid #293843;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
}
.remote-library-row strong,
.remote-library-row small {
  display: block;
}
.remote-library-row strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.remote-library-row small {
  margin-top: 5px;
  color: #8094a3;
  font-size: 9px;
}
.remote-library-row button {
  flex-shrink: 0;
  font-weight: 900;
  padding: 9px 12px;
}
.remote-library-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.remote-library-controls .source-filter { margin: 0; }
.remote-library-controls select { padding: 6px 8px; font-size: 12px; }
.remote-library-count { margin: 10px 0 6px; color: var(--muted); font-size: 11px; }
.remote-library { max-height: min(52dvh, 640px); overscroll-behavior: contain; scrollbar-gutter: stable; }
.remote-library-row {
  padding: 9px 5px 9px 0;
  min-height: 52px;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 52px;
}
.remote-track-meta time { white-space: nowrap; }
.remote-track-meta { min-width: 0; }
.remote-track-meta small { font-size: 10px; line-height: 1.45; }
.remote-source-badge {
  display: inline-block;
  border-radius: 4px;
  padding: 1px 5px;
  background: var(--studio-accent-wash);
  color: var(--cyan);
}
.remote-track-actions { display: flex; align-items: center; flex-shrink: 0; gap: 5px; }
.remote-track-actions .button { min-height: 34px; }
.remote-track-actions .button:disabled { opacity: .4; }
#remote-library-more { display: block; margin: 7px auto; }
.remote-volume label { display: flex; justify-content: space-between; gap: 12px; }
.remote-volume output { color: var(--cyan); font-variant-numeric: tabular-nums; }
.studio-interface .remote-hero { padding: 16px; }
.studio-interface .remote-hero .remote-cover { height: 54px; width: 54px; margin: 8px auto; font-size: 26px; }
.studio-interface .remote-hero h1 { margin: 4px 0; }
.studio-interface .remote-hero .remote-progress { margin-top: 12px; }
@media (max-width: 460px) {
  .remote-library { width: 100%; scrollbar-gutter: auto; }
  .remote-library-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-inline-end: 0; }
  .remote-library-row strong { font-size: 14px; line-height: 1.3; }
  .remote-track-actions .button { min-width: 44px; min-height: 44px; padding-inline: 7px; }
  .remote-queue .remote-row { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .remote-queue .remote-row .art { display: none; }
  .remote-queue .remote-row .details strong { white-space: normal; overflow-wrap: anywhere; }
  .remote-search { font-size: 16px; }
}
.remote-footer {
  text-align: center;
  color: #6c8090;
  font-size: 10px;
  line-height: 1.7;
  padding: 26px 5px;
}
.remote-auth {
  position: fixed;
  inset: 0;
  background: #080d13e8;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 15px;
}
.remote-auth .auth-card {
  padding: 30px;
}
@media (max-width: 420px) {
  .remote-header {
    padding: 10px 15px;
    height: auto;
    min-height: 73px;
    gap: 8px;
  }
  .remote-hero {
    padding: 20px;
  }
  .remote-row {
    grid-template-columns: 16px 30px minmax(0, 1fr) auto;
    gap: 6px;
  }
  .remote-row .art {
    width: 30px;
    height: 34px;
  }
  .vote-buttons {
    gap: 3px;
  }
  .vote-buttons button {
    width: 29px;
    height: 29px;
  }
  .remote-section {
    padding: 17px 12px;
  }
}
