html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

:root {
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.09);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
}

*,
::before,
::after {
  cursor: default !important;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: center/cover no-repeat #000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
}

.drift {
  position: relative;
  z-index: 1;
  width: var(--card-w, 580px);
  max-width: 100%;
  margin-top: max(0px, calc((100vh - 48px - var(--card-h, 515px)) / 2));
  will-change: transform;
}

.card {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: var(--card-h, auto);
  grid-template-columns: var(--banner-w, 36%) 1fr;
  grid-template-rows: minmax(0, 1fr);
  background: #000;
  border: 1px solid var(--line);
  border-radius: 21px;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-columns 0.3s, height 0.3s;
}

.card.in {
  opacity: 1;
}

.card-site {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}

.card.in + .card-site {
  opacity: 1;
  transition-delay: 1.4s;
}

@property --edge-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}

@property --edge-o {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}

.card::after,
.music-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 2px;
  border-radius: 21px;
  pointer-events: none;
  opacity: var(--edge-o);
  background: conic-gradient(
    from var(--edge-angle),
    transparent 0deg 300deg,
    rgba(255, 255, 255, 0.08) 316deg,
    rgba(255, 255, 255, 0.4) 342deg,
    rgba(255, 255, 255, 0.9) 356deg,
    #fff 358.5deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.banner {
  min-height: 100%;
  background: center/contain no-repeat #000;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000 70%, transparent);
}

.banner.empty {
  background: #000;
}

.main {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.main::-webkit-scrollbar {
  display: none;
}

.head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 77px;
  height: 77px;
  overflow: hidden;
  border: 2px solid #101010;
  border-radius: 21px;
  background: #16161a;
  box-shadow: 0 0 19px rgba(255, 255, 255, 0.14);
  font-size: 30px;
  font-weight: 600;
}

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

.name {
  font-size: 20px;
  font-weight: 600;
}

.card.in .name {
  animation: blurpulse 6s ease-in-out infinite;
}

@keyframes blurpulse {
  0%, 40%, 85%, 100% { filter: blur(0); }
  55%, 70% { filter: blur(2.5px); }
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.tab {
  position: relative;
  padding: 4px 0 10px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.18em;
  bottom: -1px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.tab:hover,
.tab:focus-visible,
.tab.on {
  color: #fff;
  outline: 0;
}

.tab.on::after,
.tab:focus-visible::after {
  transform: scaleX(1);
}

.page {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page[hidden] {
  display: none;
}

.bio {
  min-height: 1.5em;
  text-align: center;
  font-size: 15px;
  text-shadow: 0 0 var(--gs, 5px) color-mix(in srgb, var(--gc, #fff) 45%, transparent);
}

.caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #fff;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.lyrics {
  position: relative;
  margin-top: 14px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lyrics .ly {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 1.35em;
  transform: translateY(0);
  transition: opacity 0.38s ease, transform 0.38s var(--ease-out), filter 0.38s ease;
}

.lyrics .ly-prev,
.lyrics .ly-next {
  opacity: 0.32;
  font-size: 12px;
  filter: blur(0.6px);
}

.lyrics .ly-cur {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 0 var(--gs, 8px) color-mix(in srgb, var(--gc, #fff) 55%, transparent);
}

.lyrics.swap .ly {
  opacity: 0;
  transform: translateY(-8px);
}

.lyrics.swap.pre .ly {
  transition: none;
  transform: translateY(8px);
}

.lyrics.none .ly-cur {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  text-shadow: none;
}

.lyrics .ly-cur.note {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.stats {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.stats > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #0e0e10;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 14px;
}

.panel[hidden] {
  display: none;
}

.panel-link {
  color: inherit;
  text-decoration: none;
}

.page .panel {
  height: 66px;
  padding-block: 8px;
}

.panel .pic {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  background: center/cover #2a2a30;
}

.panel .pic.round {
  border-radius: 50%;
  overflow: visible;
}

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

.dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid #121214;
  border-radius: 50%;
  background: #ed4245;
}

.txt {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  font-size: 14px;
}

.txt b {
  font-weight: 600;
}

.txt small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.page.game-page {
  gap: 0;
  padding-inline: 12px;
}

.game {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.page.game-page .panel {
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.page.game-page .panel + .panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.page.game-page .top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

dl {
  display: grid;
}

dl div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 13px;
}

dl div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

dt {
  color: var(--muted);
}

dd {
  font-variant-numeric: tabular-nums;
}

.accounts {
  display: grid;
}

.acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 3px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: #fff;
  text-align: left;
}

.acc + .acc {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

dl div:first-child,
.acc:first-child {
  padding-top: 0;
}

dl div:last-child,
.acc:last-child {
  padding-bottom: 0;
}

.acc:hover,
.acc:focus-visible {
  outline: 0;
}

.acc:hover .acc-n,
.acc:focus-visible .acc-n {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}

.acc-n {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.acc-t {
  flex: none;
  font-size: 12px;
  color: var(--muted);
}

.acc.ok .acc-t {
  color: #fff;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.8s;
}

.gate[hidden] {
  display: none;
}

.gate.out {
  opacity: 0;
  pointer-events: none;
}

.enter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.enter:hover,
.enter:focus-visible {
  color: #fff;
  outline: 0;
}

.enter span {
  animation: hint-blink 1.6s ease-in-out infinite;
}

@keyframes hint-blink {
  50% { opacity: 0.35; }
}

#dcPic > img.dc-deco {
  position: absolute;
  left: -10%;
  top: -10%;
  z-index: 1;
  width: 120%;
  height: 120%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

#dcPic > .dot {
  z-index: 2;
}

#discord.lx-wrapped:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  height: auto;
  min-height: 66px;
}

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

.lx-namerow {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.lx-namerow > #dcName {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-badges {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3px;
}

.lx-badges img {
  display: block;
  width: 16px;
  height: 16px;
}

.lx {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 0;
  min-width: 100%;
  max-width: 100%;
  margin: 10px 0 0;
  padding-top: 10px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.lx[hidden],
.lx > [hidden],
.lx-badges[hidden] {
  display: none;
}

.lx-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  opacity: 0.85;
}

.lx-custom span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-custom img {
  width: 16px;
  height: 16px;
}

@media (max-width: 560px) {
  .card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .banner {
    min-height: 160px;
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
    mask-image: linear-gradient(#000 70%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---- second screen: music card ---- */
.screen {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.screen[hidden] { display: none; }

.screen-top {
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
  align-items: flex-start;
}

.screen-music {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  padding-block: 24px;
}

.to-music {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s, color 0.2s;
}

.to-music[hidden] { display: none; }

body.entered .to-music {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 2.2s, 0s;
}

.to-music:hover,
.to-music:focus-visible {
  outline: 0;
  color: #fff;
}

.music-card {
  position: relative;
  width: var(--card-w, 580px);
  max-width: 100%;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 21px;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.music-card.in {
  opacity: 1;
  transform: none;
}

.mc-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
}

.mc-sec {
  padding: 20px 22px 0;
}

.mc-sec:last-child {
  padding-bottom: 22px;
}

.mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
}

.mc-row h2 {
  font-size: 17px;
  font-weight: 600;
}

.seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b0d;
}

.seg button {
  padding: 6px 13px;
  border: 0;
  border-radius: 9px;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.seg button:hover,
.seg button:focus-visible { outline: 0; color: #fff; }

.seg button.on {
  background: #232326;
  color: #fff;
}

.mc-list {
  display: grid;
  margin-top: 10px;
}

.mc-msg {
  padding: 16px 0 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.lb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  color: #fff;
  text-decoration: none;
}

.lb-item + .lb-item { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.lb-item .pic {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: center/cover #1a1a1e;
}

.lb-item .pic.blank::after {
  content: "\266A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.lb-item .txt { font-size: 14px; }
.lb-item .txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }

.lb-rank {
  flex: none;
  width: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
}

.lb-right {
  flex: none;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

a.lb-item:hover .txt b,
a.lb-item:focus-visible .txt b { text-shadow: 0 0 10px rgba(255, 255, 255, 0.55); }
a.lb-item:focus-visible { outline: 0; }

.lb-live { color: #fff; }

.lb-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; vertical-align: middle; }
.lb-eq i { width: 2.5px; height: 100%; background: #fff; border-radius: 1px; transform-origin: bottom; animation: lbEq 900ms ease-in-out infinite; }
.lb-eq i:nth-child(2) { animation-delay: -300ms; }
.lb-eq i:nth-child(3) { animation-delay: -600ms; }
@keyframes lbEq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.lb-bar {
  display: block;
  height: 2px;
  margin-top: 6px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.lb-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}


.np-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: #0e0e10;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}

.np-card .pic {
  position: relative;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: center/cover #1a1a1e;
}

.np-card .pic.blank::after {
  content: "\266A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.np-txt {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.np-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.np-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
}

.np-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.np-card .lb-bar { margin-top: 7px; }
.np-card .lb-eq { flex: none; height: 14px; }
a.np-card:hover .np-title,
a.np-card:focus-visible .np-title { text-shadow: 0 0 10px rgba(255, 255, 255, 0.55); }
a.np-card:focus-visible { outline: 0; }

.mc-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.strip .mc-msg { grid-column: 1 / -1; }

.strip-i {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: center/cover #141416;
  transition: transform 0.2s var(--ease-out), border-color 0.2s;
}

.strip-i.blank::after {
  content: "\266A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--muted);
}

a.strip-i:hover,
a.strip-i:focus-visible {
  outline: 0;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 520px) {
  .strip { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .strip-i:nth-child(n + 9) { display: none; }
}

.strip-i.live { border-color: rgba(255, 255, 255, 0.55); }

/* ---- player ---- */
.player {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}

.player[hidden] { display: none; }

body.entered .player {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 1.6s;
}

.pl-vinyl {
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  transition: transform 0.25s var(--ease-out);
}

.pl-vinyl:hover { transform: scale(1.06); }
.pl-vinyl:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.5); outline-offset: 3px; }

.record {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #09090a 0 1.5px, #1a1a1d 1.5px 2.6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 16px rgba(0, 0, 0, 0.7);
  animation: spin 6s linear infinite;
}

.record::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 40deg, rgba(255, 255, 255, 0.16) 70deg, transparent 100deg 220deg, rgba(255, 255, 255, 0.12) 250deg, transparent 280deg);
  pointer-events: none;
}

.player.paused .record { animation-play-state: paused; }

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

.rec-label {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ececf0;
  color: #0a0a0b;
  font-family: "UnifrakturCook", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.rec-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: #09090a;
  opacity: 0.5;
}

.pl-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  width: min(280px, calc(100vw - 48px - 54px));
  height: 52px;
  padding: 0 10px 6px 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.pl-panel[hidden] { display: none; }

.pl-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding-right: 6px;
  font-size: 12px;
}

.pl-info b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.pl-info small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.pl-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, background 0.2s;
}

.pl-btn:hover,
.pl-btn:focus-visible {
  outline: 0;
  color: #fff;
}

.pl-main {
  width: 30px;
  height: 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.pl-main:hover,
.pl-main:focus-visible { background: rgba(255, 255, 255, 0.17); }

.pl-line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 3px;
  height: 10px;
}

.pl-line::before {
  content: "";
  position: absolute;
  inset: auto 0 3px 0;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.pl-line i {
  position: absolute;
  left: 0;
  bottom: 3px;
  height: 2px;
  width: 0;
  border-radius: 1px;
  background: #fff;
  transition: width 0.25s linear;
}
