:root {
  color-scheme: dark;
  --bg: #111310;
  --panel: #1a1d19;
  --line: #30352d;
  --muted: #929a8e;
  --lime: #c5f26a;
  --text: #edf1e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.hidden {
  display: none !important;
}
.shell {
  max-width: 1500px;
  margin: auto;
  padding: 0 6%;
}
.topbar {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font:
    800 21px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: var(--lime);
  color: #111;
  font-size: 25px;
  line-height: 1;
}
.brand-mark span {
  color: #111;
}
.top-label,
.section-index,
.eyebrow,
small {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--muted);
}
.top-label {
  margin-left: 6px;
}
.ghost {
  margin-left: auto;
  border: 1px solid var(--line);
  color: #dce5d5;
  background: transparent;
  border-radius: 7px;
  padding: 11px 17px;
}
.ghost span {
  margin-left: 12px;
}
.loading {
  text-align: center;
  padding: 120px;
  color: var(--muted);
}
.welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 64px 0 34px;
}
.eyebrow {
  color: #b2c8a2;
}
.dot,
.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 7px;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.12;
  margin: 16px 0 10px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
}
.accent {
  color: var(--lime);
}
.welcome p,
.muted {
  color: var(--muted);
  line-height: 1.65;
}
.account-tag {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 13px;
}
.account-tag small,
.account-tag strong {
  display: block;
}
.account-tag strong {
  font-size: 13px;
  margin-top: 4px;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  background: #37422c;
  color: var(--lime);
  font-weight: bold;
}
.online-dot {
  margin-left: 14px;
  margin-right: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
}
.main-column,
.side-column {
  display: grid;
  gap: 20px;
  align-content: start;
}
.panel {
  background: var(--panel);
  border: 1px solid #292e27;
  border-radius: 12px;
  padding: 27px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.panel-heading h2 {
  margin-top: 9px;
}
.heading-icon {
  color: var(--lime);
  font-size: 24px;
}
.dropzone {
  border: 1px dashed #515d48;
  background: #20251d;
  border-radius: 9px;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  transition: 0.2s;
}
.dropzone.dragging {
  border-color: var(--lime);
  background: #293324;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #37462d;
  color: var(--lime);
  font-size: 24px;
  margin-bottom: 14px;
}
.dropzone strong {
  font-size: 15px;
}
.dropzone p {
  color: var(--muted);
  margin: 7px 0 15px;
}
.upload-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.secondary,
.primary {
  border: 1px solid #4b5843;
  border-radius: 6px;
  background: #303a2b;
  color: #e7f3de;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 12px;
}
.secondary:hover {
  background: #3b4934;
}
.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #1b2414;
  font-size: 14px;
  padding: 14px 16px;
}
.primary:hover {
  background: #d4ff83;
}
.primary span {
  float: right;
}
.text-button {
  border: 0;
  background: transparent;
  color: #bccbb3;
  font-size: 12px;
}
.upload-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #828c7d;
  font-size: 11px;
  margin-top: 14px;
}
.status,
.error {
  color: #bcd1ae;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
}
.error {
  color: #ff9991;
}
.status:empty,
.error:empty {
  display: none;
}
.upload-list {
  margin-top: 8px;
}
.upload-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.upload-item strong {
  color: var(--text);
  overflow-wrap: anywhere;
}
.upload-item button,
.delete {
  background: none;
  border: 0;
  color: #a5afa0;
}
.count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  vertical-align: middle;
  margin-left: 5px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 20px;
}
.search input {
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  width: 150px;
  font-size: 12px;
}
.track-header,
.track {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 100px 30px;
  gap: 12px;
  align-items: center;
}
.track-header {
  color: #727d6e;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.track {
  padding: 14px 0;
  border-bottom: 1px solid #2a3028;
  color: var(--muted);
  font-size: 12px;
}
.track:last-child {
  border-bottom: 0;
}
.track-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.track-art {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  background: #37422f;
  border-radius: 5px;
  color: var(--lime);
  font-size: 16px;
}
.track-title {
  min-width: 0;
}
.track-title strong,
.track-title span,
.album {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track-title strong {
  color: var(--text);
  font-size: 13px;
  margin-bottom: 4px;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 34px 10px;
}
.side-column h2 {
  margin-top: 12px;
  font-size: 20px;
}
.storage-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.storage-heading > span {
  color: var(--lime);
  font-size: 22px;
}
.storage-value {
  margin-top: 24px;
  color: var(--muted);
}
.storage-value strong {
  font:
    700 27px Manrope,
    sans-serif;
  color: var(--text);
  letter-spacing: -0.05em;
}
.progress {
  height: 5px;
  border-radius: 5px;
  background: #353b32;
  margin: 13px 0;
}
.progress span {
  display: block;
  background: var(--lime);
  height: 100%;
  border-radius: 5px;
  width: 0;
}
.storage p,
.hint {
  font-size: 11px;
}
.connect > p,
.panel > p {
  margin-top: 10px;
}
.connection-row {
  margin-top: 20px;
}
.connection-row > span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #899584;
  font-weight: 700;
}
.connection-row div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.connection-row code {
  font:
    12px DM Sans,
    sans-serif;
  overflow-wrap: anywhere;
}
.copy {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 18px;
}
.wide {
  width: 100%;
}
.connect .secondary {
  margin-top: 20px;
}
.key-rotate {
  margin-top: 12px;
  padding: 0;
}
.invite-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.invite-item button {
  margin: 8px 10px 0 0;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #7e897a;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 35px 0;
}
.auth {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 9%;
  padding: 50px 0;
}
.auth-intro h1 {
  font-size: clamp(45px, 5.7vw, 80px);
  margin-top: 28px;
}
.auth-intro h1 em {
  font-style: normal;
  color: var(--lime);
}
.auth-intro > p {
  max-width: 400px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  margin-top: 20px;
}
.auth-art {
  margin-top: 35px;
  display: flex;
  align-items: end;
  gap: 25px;
}
.record {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    #282d25 0,
    #282d25 2px,
    #1b201a 3px,
    #1b201a 5px
  );
  display: grid;
  place-items: center;
  border: 1px solid #394136;
}
.record-center {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: #172015;
  font: 800 30px Manrope;
}
.record-center span {
  display: none;
}
.art-caption {
  display: grid;
  gap: 6px;
  color: #697565;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.auth-card {
  background: var(--panel);
  border: 1px solid #30362d;
  border-radius: 12px;
  padding: 32px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 0 20px 14px 0;
  margin-right: 20px;
}
.tab.active {
  border-color: var(--lime);
  color: var(--text);
}
.auth-card h2 {
  font-size: 25px;
}
.auth-card > p {
  margin-top: 8px;
}
.auth-card form {
  margin-top: 25px;
}
.auth-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 16px 0;
}
.auth-card input {
  display: block;
  width: 100%;
  background: #151814;
  border: 1px solid #3a4137;
  border-radius: 6px;
  color: var(--text);
  padding: 13px;
  margin-top: 8px;
}
.auth-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  margin-top: 20px !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth {
    grid-template-columns: 1fr 380px;
    gap: 5%;
  }
  .auth-art {
    display: none;
  }
}
@media (max-width: 650px) {
  .shell {
    padding: 0 18px;
  }
  .topbar {
    height: 70px;
  }
  .top-label {
    display: none;
  }
  .welcome {
    padding: 42px 0 25px;
  }
  .account-tag {
    display: none;
  }
  .panel {
    padding: 20px;
  }
  .side-column {
    grid-template-columns: 1fr;
  }
  .auth {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 35px;
  }
  .auth-intro h1 {
    font-size: 45px;
  }
  .auth-card {
    padding: 25px;
  }
  .library-heading {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .search,
  .search input {
    width: 100%;
  }
  .track-header,
  .track {
    grid-template-columns: minmax(0, 1fr) 55px 25px;
  }
  .track-header span:nth-child(2),
  .track .album {
    display: none;
  }
  .track-header span:nth-child(3) {
    font-size: 0;
  }
  .track-header span:nth-child(3):after {
    content: "ВРЕМЯ";
    font-size: 10px;
  }
  .upload-foot {
    flex-direction: column;
  }
  footer {
    gap: 15px;
  }
}
