.sp-card { position:relative; width:100%; background:var(--card-bg); backdrop-filter:blur(40px); border:1px solid var(--card-border); border-radius:20px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.45); }
.sp-card-header { padding:11px 16px 10px; display:flex; align-items:center; gap:8px; border-bottom:1px solid rgba(255,255,255,0.05); }
.sp-logo { display:inline-flex; align-items:center; gap:5px; background:#1db954; color:#000; border-radius:5px; padding:2px 7px; font-size:0.58rem; font-weight:700; letter-spacing:0.05em; }
.sp-logo i { font-size:0.7rem; }
.sp-card-label { font-size:0.6rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--text-faint); }
.sp-items { display:flex; flex-direction:column; }
.sp-item { display:flex; align-items:center; gap:12px; padding:10px 16px; border-bottom:1px solid rgba(255,255,255,0.04); text-decoration:none; color:var(--text); transition:background 0.2s; }
.sp-item:last-child { border-bottom:none; }
.sp-item:hover { background:rgba(29,185,84,0.04); }
.sp-art { width:40px; height:40px; flex-shrink:0; overflow:hidden; background:rgba(255,255,255,0.04); display:flex; align-items:center; justify-content:center; color:var(--text-faint); font-size:0.9rem; border:1px solid var(--border); }
.sp-art.sq { border-radius:8px; } .sp-art.rnd { border-radius:50%; }
.sp-art img { width:100%; height:100%; object-fit:cover; }
.sp-info { flex:1; min-width:0; }
.sp-name { font-size:0.82rem; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sp-meta { font-size:0.67rem; color:var(--text-muted); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sp-chip { font-size:0.54rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; padding:2px 6px; border-radius:4px; flex-shrink:0; }
.chip-track    { background:rgba(29,185,84,0.1);    color:rgba(29,185,84,0.75);    border:1px solid rgba(29,185,84,0.15); }
.chip-playlist { background:rgba(148,163,184,0.08); color:rgba(148,163,184,0.6);   border:1px solid rgba(148,163,184,0.12); }
.chip-album    { background:rgba(200,169,110,0.08); color:rgba(200,169,110,0.6);   border:1px solid rgba(200,169,110,0.12); }
.chip-artist   { background:rgba(168,162,158,0.08); color:rgba(168,162,158,0.6);   border:1px solid rgba(168,162,158,0.12); }
.sp-arrow { font-size:0.7rem; color:var(--text-faint); flex-shrink:0; transition:color 0.2s,transform 0.2s; }
.sp-item:hover .sp-arrow { color:rgba(29,185,84,0.5); transform:translateX(2px); }

.lfm-dot { color: rgba(240,237,232,0.35); }
.lfm-album-inline { color: rgba(240,237,232,0.45); }

.lfm-card {
  position: relative;
  width: 100%;
  background: var(--widget-bg, var(--card-bg));
  backdrop-filter: blur(40px) saturate(1.2);
  border: 1px solid var(--widget-border, var(--card-border));
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.03),
    0 28px 70px rgba(0,0,0,0.5),
    0 8px 22px rgba(0,0,0,0.3);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, border-radius 0.2s, backdrop-filter 0.2s;
}

.lfm-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.lfm-art {
  width: 68px;
  height: 68px;
  border-radius: var(--widget-art-radius, 16px);
  flex-shrink: 0;
  background: var(--widget-art-bg, var(--icon-bg));
  border: 1px solid var(--widget-border, var(--border));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--widget-muted, var(--icon-color));
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.lfm-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

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

.lfm-kicker {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--widget-muted, var(--text-muted));
}

.lfm-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--widget-text, var(--text));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lfm-artist,
.lfm-album {
  font-size: 0.75rem;
  color: var(--widget-muted, var(--text-muted));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lfm-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lfm-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--widget-muted, var(--text-muted));
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--widget-bg, var(--surface));
  border: 1px solid var(--widget-border, var(--border));
}

.lfm-style-default .lfm-art {
  width: 68px;
  height: 68px;
  border-radius: var(--widget-art-radius, 16px);
}
.lfm-style-default .lfm-title {
  font-size: 0.94rem;
}

.lfm-style-cute .lfm-body {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr);
  grid-template-areas:
    'art kicker'
    'art title'
    'art artist'
    'meta meta';
  gap: 5px 14px;
  padding: 16px;
}
.lfm-style-cute .lfm-art {
  grid-area: art;
  width: 78px;
  height: 78px;
  border-radius: var(--widget-art-radius, 26px);
  margin-top: 2px;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    0 0 0 3px var(--widget-border, var(--border));
}
.lfm-style-cute .lfm-info { display: contents; }
.lfm-style-cute .lfm-kicker {
  grid-area: kicker;
  letter-spacing: 0.16em;
  font-size: 0.55rem;
}
.lfm-style-cute .lfm-title {
  grid-area: title;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.12;
}
.lfm-style-cute .lfm-artist {
  grid-area: artist;
  font-size: 0.78rem;
}
.lfm-style-cute .lfm-meta {
  grid-area: meta;
  margin-top: 10px;
  gap: 8px;
}
.lfm-style-cute .lfm-status,
.lfm-style-cute .lfm-album {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--widget-border, var(--border));
  background: var(--widget-bg, var(--surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.lfm-style-cute .lfm-card-bow,
.lfm-style-cute .lfm-card-star {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  color: var(--widget-muted, var(--text-muted));
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.lfm-style-cute .lfm-card-bow {
  top: 10px;
  right: 14px;
  font-size: 0.92rem;
  transform: rotate(10deg);
}
.lfm-style-cute .lfm-card-star {
  left: 58px;
  top: 14px;
  font-size: 0.7rem;
  transform: rotate(-12deg);
}

.lfm-style-minimal {
  background: var(--widget-bg, var(--surface));
  border: 1px solid var(--widget-border, var(--border));
  box-shadow: none;
  backdrop-filter: blur(20px) saturate(1.05);
}
.lfm-style-minimal::after { opacity: 0.4; }
.lfm-style-minimal .lfm-body {
  padding: 12px 14px;
  gap: 12px;
}
.lfm-style-minimal .lfm-art {
  width: 48px;
  height: 48px;
  border-radius: var(--widget-art-radius, 12px);
}
.lfm-style-minimal .lfm-kicker { display: none; }
.lfm-style-minimal .lfm-title {
  font-size: 0.86rem;
  font-weight: 600;
}
.lfm-style-minimal .lfm-artist,
.lfm-style-minimal .lfm-album {
  font-size: 0.7rem;
}
.lfm-style-minimal .lfm-meta {
  gap: 8px;
  margin-top: 6px;
}
.lfm-style-minimal .lfm-status {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--widget-muted, var(--text-muted));
}

.dc-card {
  position: relative;
  width: 100%;
  background: var(--widget-bg, var(--card-bg));
  backdrop-filter: blur(40px) saturate(1.2);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--widget-border, var(--card-border));
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.03), 0 40px 100px rgba(0,0,0,0.7), 0 8px 24px rgba(0,0,0,0.35);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, border-radius 0.2s, backdrop-filter 0.2s;
}
.dc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 28%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
body[data-card-style='glass'] .dc-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015) 28%, rgba(255,255,255,0.03) 100%),
    rgba(12,12,18,0.48);
  border-color: var(--widget-border, var(--glass-border));
  backdrop-filter: blur(34px) saturate(1.5);
  -webkit-backdrop-filter: blur(34px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 32px 80px rgba(0,0,0,0.52), 0 10px 28px rgba(0,0,0,0.28);
  border-radius: 24px;
}
body[data-card-style='glass'] .dc-card::before {
  opacity: 1;
  background: linear-gradient(180deg, var(--glass-highlight), rgba(255,255,255,0.03) 24%, transparent 50%);
}
body[data-card-style='boxy'] .dc-card {
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 18px 42px rgba(0,0,0,0.3);
  border-radius: 12px;
}
body[data-card-style='solid'] .dc-card {
  background: var(--widget-bg, var(--solid-bg));
  border-color: var(--widget-border, var(--solid-border));
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 56px rgba(0,0,0,0.36);
}
body[data-card-style='solid'] .dc-card::before {
  opacity: 0.55;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), transparent 32%);
}
body[data-card-style='outline'] .dc-card {
  background: transparent;
  border: 1px solid var(--widget-border, color-mix(in srgb, var(--user-accent) 58%, rgba(255,255,255,0.14)));
  backdrop-filter: none;
  box-shadow: none;
}
body[data-card-style='ghost'] .dc-card {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
body[data-card-style='glow'] .dc-card {
  background: var(--widget-bg, rgba(6,6,10,0.82));
  border: 1px solid var(--widget-border, rgba(255,255,255,0.08));
  backdrop-filter: blur(28px) saturate(1.15);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 22px 70px rgba(0,0,0,0.5), 0 0 28px color-mix(in srgb, var(--widget-accent, var(--user-accent)) 22%, transparent);
}
.dc-body { display:flex; align-items:center; gap:16px; padding:16px; min-width:0; }
.dc-avatar-shell { position:relative; width:62px; height:62px; flex-shrink:0; }
.dc-avatar {
  width:62px; height:62px; border-radius:var(--widget-art-radius, 20px); object-fit:cover; display:block;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 12px 24px rgba(0,0,0,0.24);
  background:rgba(255,255,255,0.04);
}
.dc-status-dot {
  position:absolute; right:-2px; bottom:-2px; width:18px; height:18px; border-radius:50%;
  border:3px solid rgba(10,10,16,0.96); background:#80848e;
  box-shadow:0 0 0 1px rgba(255,255,255,0.06), 0 0 18px rgba(255,255,255,0.06);
}
.dc-status-online { background:#23a559; box-shadow:0 0 0 1px rgba(255,255,255,0.06), 0 0 18px rgba(35,165,89,0.32); }
.dc-status-idle { background:#f0b232; box-shadow:0 0 0 1px rgba(255,255,255,0.06), 0 0 18px rgba(240,178,50,0.26); }
.dc-status-dnd { background:#f23f43; box-shadow:0 0 0 1px rgba(255,255,255,0.06), 0 0 18px rgba(242,63,67,0.26); }
.dc-status-offline, .dc-status-invisible { background:#80848e; }
.dc-main { min-width:0; flex:1; display:flex; flex-direction:column; gap:5px; }
.dc-title-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
.dc-name {
  font-size:1rem; font-weight:650; color:var(--widget-text, var(--text));
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; letter-spacing:-0.01em;
}

.dc-clan { display:inline-flex; align-items:center; gap:6px; padding:3px 8px; border-radius:999px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07); font-size:0.64rem; color:var(--widget-muted, var(--text-muted)); max-width:100%; }
.dc-clan img { width:15px; height:15px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.dc-clan-name { color:var(--text-faint); font-size:0.62rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:140px; }
.dc-badges { display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; }
.dc-badge { width:18px; height:18px; border-radius:6px; object-fit:contain; display:block; background:rgba(255,255,255,0.04); }
.dc-activity { font-size:0.82rem; line-height:1.42; color:var(--widget-muted, var(--text-muted)); }
.dc-activity .dc-kicker { color:var(--widget-text, var(--text)); font-weight:600; }
.dc-art-wrap {
  width:72px; height:72px; border-radius:var(--widget-art-radius, 18px); overflow:hidden;
  border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.03);
  box-shadow:0 12px 28px rgba(0,0,0,0.22); flex-shrink:0;
}
.dc-art-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
body[data-card-style='outline'] .dc-card,
body[data-card-style='ghost'] .dc-card { box-shadow:none; }
body[data-card-style='boxy'] .dc-card,
body[data-card-style='boxy'] .dc-art-wrap,
body[data-card-style='boxy'] .dc-avatar { border-radius:12px; }
body[data-card-style='minimal'] .dc-card { box-shadow:none; }

.song-card {
  position: relative;
  width: 100%;
  background: var(--widget-bg, var(--card-bg));
  backdrop-filter: blur(40px) saturate(1.2);
  border: 1px solid var(--widget-border, var(--card-border));
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.03),
    0 40px 100px rgba(0,0,0,0.7),
    0 8px 24px rgba(0,0,0,0.35);
}
.song-head { padding: 12px 16px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.song-logo { display: inline-flex; align-items: center; gap: 5px; background: rgba(200,169,110,0.12); color: var(--widget-accent, var(--accent)); border-radius: 5px; padding: 2px 7px; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.05em; }
.song-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--widget-muted, var(--text-faint)); }
.song-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.song-main { display: flex; align-items: center; gap: 12px; }
.song-art { width: 56px; height: 56px; border-radius: var(--widget-art-radius, 14px); flex-shrink: 0; background: var(--widget-art-bg, linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025))); border: 1px solid var(--widget-border, rgba(255,255,255,0.08)); overflow: hidden; display: flex; align-items: center; justify-content: center; color: rgba(240,237,232,0.3); font-size: 1rem; box-shadow: 0 10px 26px rgba(0,0,0,0.42); }
.song-art img { width: 100%; height: 100%; object-fit: cover; }
.song-info { flex: 1; min-width: 0; }
.song-title { font-size: 0.96rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.01em; color: var(--widget-text, var(--text)); }
.song-artist { font-size: 0.76rem; color: var(--widget-muted, var(--text-muted)); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-ctrl { width: 38px; height: 38px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--widget-accent, rgba(200,169,110,1)) 30%, transparent); background: color-mix(in srgb, var(--widget-accent, rgba(200,169,110,1)) 12%, transparent); color: var(--widget-accent, var(--accent)); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.song-progress-row { display: flex; align-items: center; gap: 8px; }
.song-time { font-size: 0.62rem; color: var(--widget-muted, var(--text-faint)); min-width: 34px; text-align: center; }
.song-progress { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); outline: none; }
.song-progress::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--widget-accent, var(--accent)); border: none; cursor: pointer; }
.song-progress::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--widget-accent, var(--accent)); border: none; cursor: pointer; }