@font-face {
  font-family: 'Google Sans Flex';
  src: url('/app/fonts/gsansflex/GoogleSansFlex.woff2') format('woff2');
  font-weight: 1 1000;
  font-display: swap;
}
:root {
  --bg: #030003;
  --panel: #070007;
  --panel-2: #1c2130;
  --border: rgba(33, 19, 41, 0.527);
  --text: #ffffff;
  --text-dim: #9aa2b5;
  --accent: #4a29c2;
  --accent-soft: rgba(74, 41, 194, 0.22);
  --accent-text: #9b82f3;
  --accent-bright: #6d4aef;
  --accent-glow: rgba(109, 74, 239, 0.52);
  --accent-wash: rgba(74, 41, 194, 0.14);
  --danger: #ff7c8a;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

.xe_reduced-motion,
.xe_reduced-motion * {
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  transition-delay: 0ms !important;
  scroll-behavior: auto !important;
}

html,
body,
#root {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  overflow: hidden;
  user-select: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

button:disabled {
  cursor: default;
  opacity: 0.4;
}

a:not([class]) {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, opacity 120ms ease;
}

a:not([class]):hover {
  border-bottom-color: currentColor;
}

a:not([class]):focus-visible {
  outline: none;
  border-bottom-color: currentColor;
  opacity: 0.85;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--panel-2);
  border-radius: 99px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #2a3145;
}

.xe_explicit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--text-dim);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.xe_app {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    'xe_nav xe_main'
    'player player';
  height: 100vh;
}

.xe_nav {
  grid-area: xe_nav;
  position: relative;
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xe_nav--collapsed {
  align-items: center;
  padding-left: 8px;
  padding-right: 8px;
}

.xe_nav--collapsed .xe_nav__logo {
  justify-content: center;
  padding: 6px 0 18px;
}

.xe_nav--collapsed .xe_nav__link {
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}

.xe_nav__resize {
  position: absolute;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  z-index: 5;
  touch-action: none;
}

.xe_nav__resize::after {
  content: '';
  position: absolute;
  top: 0;
  right: 3px;
  width: 2px;
  height: 100%;
  background: transparent;
  transition: background 120ms ease;
}

.xe_nav__resize:hover::after,
.xe_nav__resize:active::after {
  background: var(--accent);
}

.xe_nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-text);
  padding: 6px 10px 18px;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 120ms ease;
}

.xe_nav__logo:hover {
  opacity: 0.75;
}

.xe_nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  text-align: left;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.xe_nav__link-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.xe_nav__dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.xe_nav__link:hover {
  background: var(--panel-2);
  color: var(--text);
}

.xe_nav__link--active {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}

.xe_nav__badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 7px;
}

.xe_main {
  grid-area: xe_main;
  overflow: hidden;
  display: flex;
}
.xe_page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 20px 24px 0;
}

.xe_page__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.xe_page__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  margin-right: auto;
}

.xe_page__meta {
  color: var(--text-dim);
}

.xe_page__scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-bottom: 20px;
}

.xe_infinite-sentinel {
  height: 1px;
}

.xe_banner {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  background: var(--accent-soft);
  border: 1px solid rgba(122, 92, 240, 0.4);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.xe_banner--info {
  justify-content: flex-start;
  color: var(--text-dim);
}

.xe_banner__eta {
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--panel-2);
  color: var(--accent-text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.xe_banner__stop {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--danger);
  border-color: transparent;
  color: #1a0206;
  font-weight: 600;
}

.xe_banner__stop:hover:not(:disabled) {
  background: #ff9aa5;
}

.xe_empty-note {
  color: var(--text-dim);
  padding: 24px 0;
}

.xe_empty-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-dim);
}

.xe_split {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 0;
}

.xe_split__nav {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  padding: 4px 16px 20px 0;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.xe_split__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.xe_split__item > span {
  min-width: 0;
}

.xe_split__item:hover {
  background: var(--panel-2);
}

.xe_split__item svg {
  flex-shrink: 0;
  color: var(--text-dim);
}

.xe_split__item--active {
  background: var(--panel-2);
  font-weight: 700;
  box-shadow: inset 2px 0 0 var(--accent-bright, var(--accent));
}

.xe_split__item--active svg {
  color: var(--accent-text);
}

.xe_split__detail {
  flex: 1;
  min-width: 0;
  padding-left: 28px;
}

.xe_split__head {
  margin-bottom: 22px;
}

.xe_split__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .xe_split {
    flex-direction: column;
  }

  .xe_split__nav {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 14px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .xe_split__item {
    width: auto;
    padding: 8px 12px;
  }

  .xe_split__item svg {
    display: none;
  }

  .xe_split__item--active {
    box-shadow: none;
  }

  .xe_split__detail {
    padding-left: 0;
    padding-top: 16px;
  }
}

.xe_about {
  max-width: 640px;
  padding-bottom: 24px;
}

.xe_about__hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0 24px;
}

.xe_about__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-text);
  flex-shrink: 0;
  cursor: pointer;
}

.xe_about__logo--spin {
  animation: xe_about_logo_spin 0.6s ease-in-out;
}

@keyframes xe_about_logo_spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.xe_about__name {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-text);
}

.xe_about__version {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.xe_about__lead {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.xe_about__text {
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 20px;
}

.xe_about__stats {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.xe_about__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}

.xe_about__stat strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.xe_about__stat span {
  color: var(--text-dim);
  font-size: 13px;
}

.xe_about__heading {
  margin: 0 0 10px;
  font-size: 15px;
}

.xe_about__list {
  margin: 0 0 26px;
  padding-left: 18px;
  color: var(--text-dim);
  line-height: 1.7;
}

.xe_about__subheading {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.xe_about__list--group {
  margin-bottom: 18px;
}

.xe_about__release .xe_about__heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-text);
}

.xe_about__release .xe_about__version {
  margin: 0;
  font-size: 13px;
}

.xe_about__packages {
  list-style: none;
  padding-left: 0;
  max-width: 340px;
}

.xe_about__packages li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.xe_about__packages li:last-child {
  border-bottom: none;
}

.xe_about__packages code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
}

.xe_about__packages span {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.xe_hotkeys {
  width: 100%;
  max-width: 460px;
  border-collapse: collapse;
  margin: 0 0 26px;
}

.xe_hotkeys tr {
  border-bottom: 1px solid var(--border);
}

.xe_hotkeys tr:last-child {
  border-bottom: none;
}

.xe_hotkeys th,
.xe_hotkeys td {
  padding: 7px 0;
  text-align: left;
  vertical-align: middle;
}

.xe_hotkeys th {
  width: 1%;
  white-space: nowrap;
  padding-right: 18px;
  font-weight: 400;
}

.xe_hotkeys td {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}

.xe_hotkeys__chord {
  display: inline-flex;
  align-items: center;
}

.xe_hotkeys__key {
  display: inline-flex;
  align-items: center;
}

.xe_hotkeys__sep {
  color: var(--text-dim);
  font-size: 12px;
  margin: 0 7px;
}

.xe_hotkeys__plus {
  color: var(--text-dim);
  font-size: 12px;
  margin: 0 4px;
}

.xe_hotkeys kbd {
  display: inline-block;
  min-width: 20px;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-2, rgba(255, 255, 255, 0.04));
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.xe_search-input {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 7px 12px;
  width: 240px;
  outline: none;
}

.xe_search-input:focus {
  border-color: var(--accent-bright);
}

.xe_search-field {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.xe_search-field svg {
  position: absolute;
  left: 10px;
  color: var(--text-dim);
  pointer-events: none;
}

.xe_search-field .xe_search-input {
  padding-left: 30px;
}

.xe_sort-select {
  background-color: var(--panel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa2b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 7px 30px 7px 12px;
  outline: none;
  cursor: pointer;
}

.xe_sort-select:hover {
  background-color: var(--panel-2);
}

.xe_sort-select:focus {
  border-color: var(--accent-bright);
}

.xe_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 14px;
  color: var(--text);
  transition: background 120ms ease;
}

.xe_btn:hover:not(:disabled) {
  background: #232a3d;
}

.xe_btn--accent {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

.xe_btn--accent:hover:not(:disabled) {
  background: #5b39d9;
}

.xe_btn--quiet {
  background: transparent;
  color: var(--text-dim);
}

.xe_btn--small {
  padding: 3px 10px;
  font-size: 12px;
}

.xe_btn--back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.xe_btn--back:hover:not(:disabled) {
  color: var(--text);
}

.xe_mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 14px;
}

.xe_mini-btn:hover {
  background: var(--panel-2);
  color: var(--text);
}

.xe_icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-dim);
  transition: color 120ms ease, background 120ms ease;
}

.xe_icon-btn:hover:not(:disabled) {
  color: var(--text);
  background: var(--panel-2);
}

.xe_icon-btn--primary {
  width: 40px;
  height: 40px;
  background: var(--text);
  color: var(--bg);
}

.xe_icon-btn--primary:hover:not(:disabled) {
  background: #fff;
  color: var(--bg);
}

.xe_icon-btn--active {
  color: var(--accent-text);
}

.xe_automix-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.xe_automix-pill:hover {
  background: var(--panel-2);
}

.xe_automix-pill--on {
  color: var(--text);
  border-color: var(--accent);
}

.xe_automix-pill--green {
  color: #3ddc84;
  border-color: #3ddc84;
}

.xe_automix-pill--orange {
  color: #f5a623;
  border-color: #f5a623;
}

.xe_automix-pill--red {
  color: #f5524a;
  border-color: #f5524a;
}

.xe_automix-pill--busy {
  animation: xe-automix-pulse 900ms ease-in-out infinite;
}

.xe_automix-pill--mixing {
  animation: xe-automix-pulse 500ms ease-in-out infinite;
}

@keyframes xe-automix-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.xe_slider {
  padding: 8px 0;
  cursor: pointer;
  touch-action: none;
  outline: none;
}

.xe_slider--disabled {
  cursor: default;
  opacity: 0.5;
}

.xe_slider__track {
  position: relative;
  height: 4px;
  border-radius: 99px;
  background: var(--panel-2);
}

.xe_slider__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 99px;
  background: var(--accent-bright);
}

.xe_slider__mark {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 8px;
  border-radius: 1px;
  background: var(--text-dim);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.xe_slider__thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 120ms ease;
}

.xe_slider:hover .xe_slider__thumb,
.xe_slider:focus-visible .xe_slider__thumb {
  opacity: 1;
}

.xe_scroll-text {
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}

.xe_scroll-text > span {
  display: inline-block;
  will-change: transform;
}

.xe_scroll-text--clickable {
  cursor: pointer;
  border-radius: 4px;
  transition: color 120ms ease;
}

.xe_scroll-text--clickable:hover {
  color: var(--accent-text);
}
.xe_spinner {
  display: inline-block;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.xe_skeleton {
  display: inline-block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 37%, var(--panel) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.xe_skeleton--line {
  height: 16px;
  border-radius: 8px;
}
.xe_track-table__row {
  display: grid;
  grid-template-columns: 36px minmax(140px, 2fr) minmax(100px, 1.4fr) minmax(100px, 1.4fr) 52px 92px;
  gap: 10px;
  align-items: center;
  padding: 0 10px;
  height: 40px;
  border-radius: 8px;
}

.xe_track-table__row--head {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}

.xe_track-table__row:not(.xe_track-table__row--head):hover {
  background: var(--panel);
}

.xe_track-table__row--active {
  color: var(--accent-text);
}

.xe_track-table__row--skeleton:hover {
  background: none;
}

.xe_track-table__cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_track-table__cell--link {
  display: block;
  width: 100%;
  text-align: left;
}

.xe_track-table__cell--link:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

.xe_track-table__cell--num {
  color: var(--text-dim);
  text-align: right;
}

.xe_track-table__cell--num svg {
  display: block;
  margin-left: auto;
}

.xe_track-table__row--active .xe_track-table__cell--num {
  color: var(--accent-text);
}

.xe_track-table__cell--dur {
  color: var(--text-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.xe_track-table__cell--actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  visibility: hidden;
}

.xe_track-table__row:hover .xe_track-table__cell--actions {
  visibility: visible;
}
.xe_queue-list {
  display: flex;
  flex-direction: column;
}

.xe_queue-row {
  display: grid;
  grid-template-columns: 28px 30px 1fr 56px 32px;
  gap: 8px;
  align-items: center;
  height: 52px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bg);
}

.xe_queue-row:hover {
  background: var(--panel);
}

.xe_queue-row--current {
  background: var(--accent-soft);
}

.xe_queue-row--dragging {
  background: var(--panel-2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.xe_queue-row__handle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: grab;
  touch-action: none;
}

.xe_queue-row--dragging .xe_queue-row__handle {
  cursor: grabbing;
}

.xe_queue-row__handle--disabled {
  cursor: default;
  opacity: 0.3;
}

.xe_queue-row__num {
  color: var(--text-dim);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.xe_queue-row__num svg {
  display: block;
  margin-left: auto;
}

.xe_queue-row--current .xe_queue-row__num {
  color: var(--accent-text);
}

.xe_queue-row__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.xe_queue-row__title,
.xe_queue-row__artist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_queue-row__artist {
  color: var(--text-dim);
  font-size: 12px;
}

.xe_queue-row--current .xe_queue-row__title {
  color: var(--accent-text);
  font-weight: 600;
}

.xe_queue-row__dur {
  color: var(--text-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.xe_artist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: left;
}

.xe_artist-row:hover {
  background: var(--panel);
}

.xe_artist-row__name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_artist-row__meta {
  color: var(--text-dim);
  font-size: 12px;
  flex-shrink: 0;
}

.xe_album-section {
  padding-bottom: 22px;
}

.xe_album-section__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 10px 14px;
}

.xe_album-section__cover {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-2);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.12s ease;
}

.xe_album-section__cover:hover {
  transform: scale(1.03);
}

.xe_album-section__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xe_album-section__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.xe_album-section__link {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.xe_album-section__link:hover {
  color: var(--accent-text);
}

.xe_album-section__meta {
  color: var(--text-dim);
  font-size: 13px;
}
.xe_album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  padding: 4px 2px 8px;
}

.xe_album-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px;
  transition: background 120ms ease;
}

.xe_album-card:hover {
  background: var(--panel);
}

.xe_album-card__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  overflow: hidden;
  margin-bottom: 6px;
}

.xe_album-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_album-card__actions {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.xe_album-card:hover .xe_album-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.xe_album-card__action {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(10, 8, 16, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: background 120ms ease;
}

.xe_album-card__action:hover {
  background: var(--accent);
}

.xe_album-card__play {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: background 120ms ease;
}

.xe_album-card__play:hover {
  background: #5b39d9;
}

.xe_album-card__title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_album-card__artist {
  color: var(--text-dim);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_album-hero {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 18px;
}

.xe_album-hero__art {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  overflow: hidden;
  flex-shrink: 0;
  transition: filter 120ms ease;
}

.xe_album-hero__art:hover:not(:disabled) {
  filter: brightness(1.1);
}

.xe_album-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_album-hero__info {
  min-width: 0;
}

.xe_album-hero__title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
}

.xe_album-hero__title-btn {
  font: inherit;
  color: inherit;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: copy;
}

.xe_album-hero__title-btn:hover {
  color: var(--accent-text);
}

.xe_album-hero__meta {
  color: var(--text-dim);
  margin: 0 0 14px;
}

.xe_album-hero__actions {
  display: flex;
  gap: 8px;
}
.xe_lyrics-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
}

.xe_lyrics-header__art {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  overflow: hidden;
  flex-shrink: 0;
}

.xe_lyrics-header__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_lyrics-header__titles {
  min-width: 0;
  flex: 1;
}

.xe_lyrics-header__title {
  font-size: 18px;
  font-weight: 700;
}

.xe_lyrics-header__subtitle {
  color: var(--text-dim);
}

.xe_lyrics-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.xe_lyrics-panel__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.xe_lyrics-panel__badge {
  color: var(--text-dim);
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 10px;
}

.xe_lyrics-panel__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  padding: 12px 0;
  margin: 0;
}

.xe_lyrics-panel__lines {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0;
  scrollbar-width: thin;
}

.xe_lyrics-panel--fullscreen .xe_lyrics-panel__lines {
  padding: 10px 0 18px;
}

.xe_lyrics-panel__spacer {
  height: 40vh;
  flex-shrink: 0;
}

.xe_lyrics-line {
  display: block;
  max-width: 640px;
  width: 100%;
  text-align: left;
  font-size: 19px;
  line-height: 1.5;
  padding: 7px 16px;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color 160ms ease, transform 160ms ease;
}

.xe_lyrics-panel--fullscreen .xe_lyrics-line {
  max-width: none;
  font-size: 17px;
  padding-left: 10px;
  padding-right: 10px;
}

.xe_lyrics-line:hover:not(.xe_lyrics-line--static) {
  color: var(--text);
  background: var(--panel);
}

.xe_lyrics-line--active {
  color: var(--text);
  font-weight: 700;
  transform: scale(1.03);
  transform-origin: left center;
}

.xe_lyrics-line--static {
  cursor: default;
}

.xe_lyrics-skeleton {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0;
}
.xe_share {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 28px;
  padding-bottom: 20px;
}

.xe_share__picker {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.xe_share__picker-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}

.xe_share__count {
  color: var(--text-dim);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.xe_share__lines {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 4px 0 24px;
  scrollbar-width: thin;
}

.xe_share-line {
  display: block;
  max-width: 640px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  padding: 6px 14px;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color 120ms ease, background 120ms ease;
}

.xe_share-line:hover:not(:disabled) {
  color: var(--text);
  background: var(--panel-2);
}

.xe_share-line--selected {
  color: var(--text);
  font-weight: 700;
  background: var(--accent-soft);
  box-shadow: inset 2px 0 0 var(--accent-bright);
}

.xe_share-line--selected:hover:not(:disabled) {
  background: var(--accent-soft);
}

.xe_share__side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
}

.xe_share__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.xe_share__field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xe_share__label {
  color: var(--text-dim);
  font-size: 12px;
}

.xe_share__styles {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.xe_share__style {
  padding: 5px 13px;
  font-size: 12px;
  color: var(--text-dim);
  transition: color 120ms ease, background 120ms ease;
}

.xe_share__style:hover {
  color: var(--text);
  background: var(--panel-2);
}

.xe_share__style--on {
  color: var(--text);
  background: var(--accent);
  font-weight: 600;
}

.xe_share__style--on:hover {
  background: var(--accent);
}

.xe_share__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
}

.xe_share__toggle input {
  accent-color: var(--accent-bright);
  cursor: pointer;
}

.xe_share__color {
  width: 38px;
  height: 26px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  cursor: pointer;
}

.xe_share__color:disabled {
  opacity: 0.4;
  cursor: default;
}

.xe_share__canvas {
  border: 1px solid var(--border);
  border-radius: 12px;
  height: auto;
  width: auto;
}

.xe_share__canvas--narrow {
  max-height: min(58vh, 620px);
  max-width: 100%;
}

.xe_share__canvas--square {
  max-height: min(50vh, 480px);
  max-width: 100%;
}

.xe_share__canvas--wide {
  max-width: min(42vw, 640px);
  max-height: min(50vh, 480px);
}

.xe_share__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
}

.xe_share__placeholder.xe_share__canvas--narrow {
  width: 280px;
  height: min(58vh, 500px);
}

.xe_share__placeholder.xe_share__canvas--square {
  width: min(42vw, 420px);
  height: min(50vh, 420px);
}

.xe_share__placeholder.xe_share__canvas--wide {
  width: min(42vw, 560px);
  height: min(50vh, 320px);
}

@media (max-width: 860px) {
  .xe_share {
    flex-direction: column;
    overflow-y: auto;
  }

  .xe_share__picker {
    flex: 0 0 auto;
    max-height: 40vh;
  }

  .xe_share__side {
    overflow-y: visible;
  }

  .xe_share__canvas--wide {
    max-width: 100%;
  }
}
.xe_player-bar {
  grid-area: player;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr minmax(280px, 340px);
  align-items: center;
  gap: 18px;
  height: 92px;
  padding: 0 18px;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

.xe_player-bar__visualizer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
}

.xe_player-bar__now {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.xe_player-bar__art {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  overflow: hidden;
  flex-shrink: 0;
  transition: opacity 180ms ease, width 180ms ease, margin 180ms ease;
}

.xe_player-bar__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_player-bar__art--button {
  outline: none;
}

.xe_player-bar__art--button:hover:not(:disabled),
.xe_player-bar__art--button:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-text);
}

.xe_player-bar__art--hidden {
  width: 0;
  margin-right: -12px;
  opacity: 0;
  pointer-events: none;
}

.xe_player-bar__titles {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xe_player-bar__title {
  font-weight: 600;
}

.xe_player-bar__subtitle {
  color: var(--text-dim);
  font-size: 12px;
}

.xe_player-bar__error {
  color: var(--danger);
  font-size: 11px;
}

.xe_player-bar__idle {
  color: var(--text-dim);
}

.xe_player-bar__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.xe_player-bar__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xe_player-bar__percent {
  color: var(--text-dim);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: center;
}

.xe_scrubber {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 640px;
}

.xe_scrubber__time {
  color: var(--text-dim);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  min-width: 46px;
  text-align: right;
}

button.xe_scrubber__time:hover {
  color: var(--text);
}

.xe_scrubber__time--total {
  text-align: left;
}

.xe_scrubber__slider {
  flex: 1;
}

.xe_seek-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}

.xe_seek-form__hint {
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
}

.xe_seek-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.xe_player-bar__volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xe_player-bar__volume-label {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  width: 22px;
  flex-shrink: 0;
}

.xe_player-bar__volume-label:hover,
.xe_player-bar__volume-label:focus-visible {
  color: var(--text);
  outline: none;
}

.xe_player-bar__volume-slider-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.xe_player-bar__volume-slider-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  left: clamp(18px, var(--volume-tooltip-x), calc(100% - 18px));
  bottom: calc(100% + 9px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
  z-index: 30;
}

.xe_player-bar__volume-slider-wrap:hover::after,
.xe_player-bar__volume-slider-wrap:focus-within::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.xe_player-bar__volume-slider {
  width: 100%;
}

.xe_player-bar__volume-slider--boosted .xe_slider__fill {
  background: linear-gradient(90deg, var(--accent-bright) 66%, #ffb454);
}

.xe_player-bar__volume-slider--boosted .xe_slider__thumb {
  background: #ffb454;
}

.xe_player-bar__volume-slider-wrap--boosted::after {
  color: #ffb454;
  border-color: rgba(255, 180, 84, 0.4);
}

.xe_fullscreen-player {
  position: fixed;
  inset: 0 0 92px 0;
  z-index: 10;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 22% 36%, var(--accent-wash), transparent 34%),
    linear-gradient(135deg, #030003, #070007 52%, #030003);
  animation: xe_fullscreen-player_in 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.xe_fullscreen-player--leaving {
  animation: xe_fullscreen-player_out 220ms cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes xe_fullscreen-player_in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes xe_fullscreen-player_out {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

.xe_fullscreen-player__wash {
  position: absolute;
  inset: -12%;
  background-position: center;
  background-size: cover;
  filter: blur(56px) saturate(1.35);
  opacity: 0.18;
  transform: scale(1.08);
}

.xe_fullscreen-player__prev-card {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 420px);
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(7, 0, 7, 0.58);
  color: var(--text);
  text-align: left;
}

.xe_fullscreen-player__prev-card:hover,
.xe_fullscreen-player__prev-card:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.xe_fullscreen-player__prev-art {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: var(--panel-2);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.xe_fullscreen-player__prev-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_fullscreen-player__prev-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.xe_fullscreen-player__prev-label {
  color: var(--accent-text);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.xe_fullscreen-player__prev-title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_fullscreen-player__prev-artist {
  color: var(--text-dim);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xe_fullscreen-player__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  margin-bottom: 16px;
}

.xe_fullscreen-player__top .xe_icon-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.xe_fullscreen-player__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: -12px;
}

.xe_fullscreen-player__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr) minmax(270px, 0.8fr);
  gap: 22px;
  height: calc(100% - 54px);
  min-height: 0;
}

.xe_fullscreen-player__hero,
.xe_fullscreen-player__panel {
  min-width: 0;
  min-height: 0;
}

.xe_fullscreen-player__hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.xe_fullscreen-player__cover-wrap {
  position: relative;
  width: min(100%, 46vh, 420px);
  aspect-ratio: 1;
  align-self: center;
}

.xe_fullscreen-player__cover-glow {
  position: absolute;
  inset: 9%;
  border-radius: 22px;
  background: var(--accent-glow);
  filter: blur(42px);
  opacity: 0.96;
}

.xe_fullscreen-player__cover {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: var(--panel-2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.xe_fullscreen-player__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_fullscreen-player__identity {
  min-width: 0;
}

.xe_fullscreen-player__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding-bottom: 8px;
}

.xe_fullscreen-player__title {
  margin: 0;
  font-size: clamp(30px, 4.4vh, 56px);
  line-height: 1;
  font-weight: 700;
}

.xe_fullscreen-player__artist {
  margin: 10px 0 18px;
  color: var(--text-dim);
  font-size: 18px;
}

.xe_fullscreen-player__progress {
  height: 5px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.xe_fullscreen-player__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-bright);
}

.xe_fullscreen-player__panel {
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--accent-bright) 34%, var(--border));
  border-radius: 8px;
  background: rgba(7, 0, 7, 0.58);
  padding: 16px;
  backdrop-filter: blur(18px);
}

.xe_fullscreen-player__panel h2 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--accent-text);
  text-transform: uppercase;
}

.xe_fullscreen-player__lyrics .xe_lyrics-panel {
  min-height: 0;
}

.xe_fullscreen-player__next-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  color: var(--text);
  text-align: left;
}

.xe_fullscreen-player__next-card:hover,
.xe_fullscreen-player__next-card:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.xe_fullscreen-player__next-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.xe_fullscreen-player__next-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xe_fullscreen-player__next-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.xe_fullscreen-player__next-title {
  font-size: 18px;
  font-weight: 700;
}

.xe_fullscreen-player__next-artist,
.xe_fullscreen-player__next-duration {
  color: var(--text-dim);
}

.xe_fullscreen-player__next-duration {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.xe_fullscreen-player__queue .xe_empty-note {
  padding-top: 8px;
}

@media (max-width: 1050px) {
  .xe_fullscreen-player {
    overflow-y: auto;
  }

  .xe_fullscreen-player__layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }

  .xe_fullscreen-player__hero {
    display: grid;
    grid-template-columns: minmax(180px, 300px) 1fr;
    align-items: center;
  }

  .xe_fullscreen-player__cover-wrap {
    width: 100%;
  }

  .xe_fullscreen-player__panel {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .xe_player-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      'now'
      'center';
    height: auto;
    padding: 10px 14px 14px;
    gap: 10px;
  }

  .xe_player-bar__now {
    grid-area: now;
  }

  .xe_player-bar__center {
    grid-area: center;
    width: 100%;
  }

  .xe_player-bar__art {
    width: 46px;
    height: 46px;
  }

  .xe_player-bar__controls {
    gap: 16px;
  }

  .xe_player-bar__percent {
    display: none;
  }

  .xe_icon-btn {
    width: 40px;
    height: 40px;
  }

  .xe_icon-btn--primary {
    width: 48px;
    height: 48px;
  }

  .xe_scrubber {
    max-width: none;
  }

  .xe_player-bar__volume {
    display: none;
  }

  .xe_fullscreen-player {
    padding: 16px;
  }

  .xe_fullscreen-player__hero {
    display: flex;
  }
}
.xe_settings__section {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.xe_settings__section h2 {
  font-size: 15px;
  margin: 0 0 12px;
}

.xe_settings__radio {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  cursor: pointer;
  color: var(--text-dim);
}

.xe_settings__radio input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.xe_settings__radio strong {
  color: var(--text);
}

.xe_settings__hint {
  color: var(--text-dim);
  margin: 6px 0 12px;
}

.xe_link-btn {
  color: var(--accent-text);
  text-decoration: underline;
}

.xe_link-btn:hover {
  color: var(--text);
}

.xe_settings__slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 420px;
}

.xe_settings__slider-row .xe_slider {
  flex: 1;
}

.xe_settings__slider-value {
  min-width: 34px;
  text-align: right;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.xe_eq__controls {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 10px 0 16px;
}

.xe_eq__preset {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text-dim);
  font-size: 13px;
}

.xe_eq__select {
  appearance: none;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 7px 28px 7px 10px;
  font-size: 13px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 15px) center, calc(100% - 10px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.xe_eq__select:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.xe_eq__bands {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.xe_eq__bands--off {
  opacity: 0.45;
}

.xe_eq__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 32px;
}

.xe_eq__gain {
  font-size: 11px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.xe_eq__freq {
  font-size: 10px;
  color: var(--text-dim);
}

.xe_eq__slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 20px;
  height: 130px;
  accent-color: var(--accent);
  cursor: pointer;
}

.xe_eq__slider:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.xe_settings__folders {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xe_settings__import-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xe_settings__import-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.xe_settings__import-key {
  flex-shrink: 0;
  font-weight: 600;
  font-family: monospace;
}

.xe_settings__import-value {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-dim);
  font-family: monospace;
  text-align: right;
}

.xe_settings__folders li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 120ms ease, border-color 120ms ease;
}

.xe_settings__folders li:hover {
  background: var(--accent-wash);
  border-color: var(--accent-soft);
}

.xe_settings__folder-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xe_settings__folder-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.xe_settings__folder-count {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.xe_settings__folder-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.xe_settings__folder-remove {
  background: transparent;
  border-color: var(--border);
  color: var(--danger);
}

.xe_settings__folder-remove:hover:not(:disabled) {
  background: rgba(255, 124, 138, 0.14);
  border-color: var(--danger);
  color: var(--danger);
}

.xe_settings__actions {
  display: flex;
  gap: 8px;
}

.xe_settings__share-url {
  margin-bottom: 14px;
}

.xe_settings__pron-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.xe_settings__pron-row .xe_search-input {
  flex: 1;
  min-width: 160px;
}

.xe_settings__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 16px;
}

.xe_settings__chip {
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-dim);
  font-size: 13px;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.xe_settings__chip:hover {
  color: var(--text);
}

.xe_settings__chip--active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

.xe_settings__chip--success.xe_settings__chip--active {
  background: #35d08a;
}

.xe_settings__chip--error.xe_settings__chip--active {
  background: var(--danger);
}

.xe_settings__chip--warning.xe_settings__chip--active {
  background: #e0b32e;
  color: #1a1400;
}

.xe_settings__chip--info.xe_settings__chip--active {
  background: var(--accent-text);
  color: #001018;
}

.xe_btn--toast-success {
  background: #35d08a;
  border-color: transparent;
  color: #04120b;
}

.xe_btn--toast-success:hover:not(:disabled) {
  background: #2ab979;
}

.xe_btn--toast-error {
  background: var(--danger);
  border-color: transparent;
  color: #fff;
}

.xe_btn--toast-error:hover:not(:disabled) {
  filter: brightness(1.1);
}

.xe_btn--toast-warning {
  background: #e0b32e;
  border-color: transparent;
  color: #1a1400;
}

.xe_btn--toast-warning:hover:not(:disabled) {
  background: #cfa326;
}

.xe_btn--toast-info {
  background: var(--accent-text);
  border-color: transparent;
  color: #001018;
}

.xe_btn--toast-info:hover:not(:disabled) {
  filter: brightness(1.1);
}
.xe_cover-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 0, 3, 0.82);
  backdrop-filter: blur(6px);
  animation: cover-modal-in 160ms ease;
}

@keyframes cover-modal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.xe_cover-modal__link {
  display: block;
  line-height: 0;
}

.xe_cover-modal__image {
  max-width: min(80vw, 640px);
  max-height: min(80vh, 640px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
}

.xe_cover-modal__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border);
  transition: background 120ms ease, color 120ms ease;
}

.xe_cover-modal__close:hover {
  background: #232a3d;
}

.xe_modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 0, 3, 0.6);
  backdrop-filter: blur(6px);
  animation: cover-modal-in 160ms ease;
}

.xe_modal-overlay--opaque {
  background: var(--bg);
  backdrop-filter: none;
}

.xe_modal {
  display: flex;
  flex-direction: column;
  width: min(90vw, 480px);
  max-height: 80vh;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.xe_modal--fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
  border: none;
}

.xe_modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid var(--border);
  cursor: move;
}

.xe_modal--fullscreen .xe_modal__header {
  cursor: default;
}

.xe_modal__header .xe_icon-btn {
  width: 28px;
  height: 28px;
}

.xe_modal__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.xe_modal__title svg {
  color: var(--accent-text);
  transform: translateY(5px);
}

.xe_modal__title-text {
  transform: translateY(5px);
}

.xe_modal__body {
  padding: 16px;
  overflow: auto;
}

.xe_modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
}

.xe_update-modal__text,
.xe_welcome-modal__text {
  margin: 0;
}
.xe_context-menu {
  position: fixed;
  z-index: 1000;
  min-width: 184px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  animation: xe_context-menu-in 0.09s ease;
}

@keyframes xe_context-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.xe_context-menu__item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.xe_context-menu__item:hover {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.xe_context-menu__sep {
  height: 1px;
  margin: 5px 8px;
  background: var(--border);
}

.xe_context-menu__heading {
  padding: 8px 12px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xe_context-menu > div:first-child .xe_context-menu__heading {
  margin-top: 0;
  border-top: none;
}
.xe_toast-stack {
  position: fixed;
  right: 20px;
  bottom: 112px;
  z-index: 40;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  max-width: 340px;
  pointer-events: none;
}

.xe_toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: var(--text);
  pointer-events: auto;
  animation: toast-in 200ms ease;
}

.xe_toast--leaving {
  animation: toast-out 180ms ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(120%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}

.xe_toast__message {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow-wrap: break-word;
}

.xe_toast__close {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background 120ms ease, color 120ms ease;
}

.xe_toast__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.xe_toast--success {
  color: #35d08a;
}

.xe_toast--success .xe_toast__message {
  color: var(--text);
}

.xe_toast--error {
  color: var(--danger);
}

.xe_toast--error .xe_toast__message {
  color: var(--text);
}

.xe_toast--warning {
  color: #e0b32e;
}

.xe_toast--warning .xe_toast__message {
  color: var(--text);
}

.xe_toast--info {
  color: var(--accent-text);
}

.xe_toast--info .xe_toast__message {
  color: var(--text);
}
