/* =========================================================
   Media — mock UI: phone frame, app screens, card visuals
   ========================================================= */

/* ==================== PHONE FRAME ==================== */
.phone-shell {
  position: relative;
  flex: none;
  width: calc(300px * var(--s, 1));
  height: calc(620px * var(--s, 1));
}
.phone {
  position: relative;
  width: 300px;
  height: 620px;
  padding: 9px;
  border-radius: 46px;
  background:
    linear-gradient(150deg, #6b5f7d 0%, #221c2e 12%, #0c0911 38%, #0a0810 62%, #2a2235 88%, #5a4e6b 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .62),
    0 4px 14px rgba(0, 0, 0, .5),
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    inset 0 0 0 3px rgba(255, 255, 255, .03);
  transform: scale(var(--s, 1));
  transform-origin: top left;
}
.phone::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 128px;
  width: 2px;
  height: 46px;
  border-radius: 0 2px 2px 0;
  background: #3b3348;
  box-shadow: 0 62px 0 #3b3348;
}
.phone::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 104px;
  width: 2px;
  height: 28px;
  border-radius: 2px 0 0 2px;
  background: #3b3348;
  box-shadow: 0 40px 0 #3b3348;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #0b0912;
  color: #f4f1ff;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  line-height: 1.3;
  isolation: isolate;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 7px;
  height: 7px;
  z-index: 30;
  border-radius: 50%;
  background: #050409;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05);
  transform: translateX(-50%);
  pointer-events: none;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 29;
  border-radius: inherit;
  background: linear-gradient(128deg, rgba(255, 255, 255, .07), transparent 26%, transparent 70%, rgba(255, 255, 255, .03));
  pointer-events: none;
}

.p-status {
  position: relative;
  z-index: 6;
  height: 28px;
  flex: none;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .82);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .02em;
}
.p-status-icons { display: flex; align-items: center; gap: 4px; }
.p-status-icons .ic { width: 10px; height: 10px; stroke-width: 2; }

.p-top {
  position: relative;
  z-index: 6;
  height: 36px;
  flex: none;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-top-title {
  color: rgba(255, 255, 255, .55);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .04em;
}
.p-icon-btn {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .68);
}
.p-icon-btn .ic { width: 12px; height: 12px; }
.p-homebar {
  width: 88px;
  height: 4px;
  flex: none;
  margin: 6px auto 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .28);
}

/* ==================== PLAYER SCREEN ==================== */
.screen-player {
  background:
    radial-gradient(120% 66% at 50% -6%, #432f7c 0%, #211539 48%, #0c0914 100%);
}
.p-player {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2px 18px 0;
  text-align: center;
}
.p-cover {
  position: relative;
  width: 220px;
  height: 210px;
  flex: none;
  margin: 1px 0 9px;
}
.p-cover-art {
  position: absolute;
  left: 0;
  top: 0;
  width: 210px;
  height: 210px;
  border-radius: 15px;
  z-index: 2;
  overflow: hidden;
  background:
    radial-gradient(75% 65% at 26% 20%, rgba(255, 236, 179, .95), transparent 55%),
    linear-gradient(145deg, #ffc978 0%, #f472b6 36%, #7c3aed 72%, #1e1b4b 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.p-cover-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 66% 74%, rgba(34, 211, 238, .45), transparent 42%);
  mix-blend-mode: screen;
}
.p-cover-art::after {
  content: "夜";
  position: absolute;
  left: 14px;
  bottom: 4px;
  color: rgba(255, 255, 255, .9);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .35);
}
.alt-cover .p-cover-art {
  background:
    radial-gradient(70% 60% at 70% 20%, rgba(180, 255, 244, .9), transparent 52%),
    linear-gradient(150deg, #67e8f9 0%, #3b82f6 34%, #4338ca 66%, #111827 100%);
}
.alt-cover .p-cover-art::after { content: "潮"; }
.p-vinyl {
  position: absolute;
  right: -33px;
  top: 30px;
  width: 146px;
  height: 146px;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #e9e2ff 0 17px, #6d5a9e 18px 20px, transparent 21px),
    repeating-radial-gradient(circle, #0c0b10 0 2px, #1b1824 2px 3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  animation: spin 18s linear infinite;
}
.p-vinyl::after {
  content: "";
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}
@keyframes spin { to { transform: rotate(360deg); } }
.p-cover-gloss {
  position: absolute;
  left: 0;
  top: 0;
  width: 210px;
  height: 210px;
  z-index: 3;
  border-radius: 15px;
  background: linear-gradient(126deg, rgba(255, 255, 255, .22), transparent 34%, transparent 76%, rgba(255, 255, 255, .05));
  pointer-events: none;
}
.p-title {
  margin-top: 1px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.p-artist {
  margin-top: 3px;
  color: rgba(255, 255, 255, .43);
  font-size: 8.5px;
  letter-spacing: .02em;
}
.p-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}
.p-tags span {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  color: rgba(255, 255, 255, .48);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .08em;
}
.p-lyrics {
  margin: 10px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: rgba(255, 255, 255, .3);
  font-size: 9px;
  line-height: 1.45;
}
.p-lyrics .on {
  color: #dcd0ff;
  font-weight: 650;
  font-size: 9.5px;
}
.p-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 78%;
  margin: 0 auto;
  color: rgba(255, 255, 255, .42);
}
.p-volume .ic { width: 9px; height: 9px; }
.p-vol-bar {
  position: relative;
  display: block;
  flex: 1;
  height: 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}
.p-vol-bar i {
  position: absolute;
  left: 0;
  top: 0;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, .5);
}
.p-progress {
  width: 100%;
  height: 2.5px;
  margin-top: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.p-progress-fill {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b79bff, #22d3ee);
  box-shadow: 0 0 10px rgba(167, 139, 250, .6);
  animation: progressGlow 4s ease-in-out infinite alternate;
}
@keyframes progressGlow { from { filter: brightness(.85); } to { filter: brightness(1.2); } }
.p-times {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: rgba(255, 255, 255, .33);
  font-size: 7px;
  font-variant-numeric: tabular-nums;
}
.p-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 1px;
  padding: 0 2px;
  color: rgba(255, 255, 255, .78);
}
.p-controls > .ic { width: 15px; height: 15px; opacity: .8; }
.p-play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f6f3ff;
  color: #0b0714;
  box-shadow: 0 9px 22px rgba(0, 0, 0, .45);
}
.p-play .ic { width: 18px; height: 18px; margin-left: 1px; }
.p-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 3px 0;
  color: rgba(255, 255, 255, .45);
}
.p-actions .ic { width: 13px; height: 13px; }

/* ==================== LIBRARY SCREEN ==================== */
.screen-library {
  background:
    radial-gradient(100% 60% at 50% 0%, #211637 0%, #0d0a15 52%, #09070e 100%);
}
.lib-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 4px 16px 10px;
}
.lib-head small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, .32);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: .22em;
}
.lib-head b { font-size: 20px; font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.lib-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  margin: 0 14px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 9px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .32);
  font-size: 8px;
}
.lib-search .ic { width: 11px; height: 11px; }
.lib-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 15px 8px;
  color: rgba(255, 255, 255, .34);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: .18em;
}
.lib-sub span:last-child { letter-spacing: .04em; color: var(--accent); }
.lib-covers {
  display: flex;
  gap: 7px;
  padding: 0 14px;
}
.lc {
  position: relative;
  width: 33.33%;
  height: 104px;
  padding: 8px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
}
.lc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .55));
}
.lc.a { background: linear-gradient(150deg, #ffc978, #f472b6 44%, #6d28d9); }
.lc.b { background: linear-gradient(150deg, #67e8f9, #3b82f6 48%, #312e81); }
.lc.c { background: linear-gradient(150deg, #bbf7d0, #34d399 38%, #065f46); }
.lc span {
  position: relative;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, .92);
  letter-spacing: -.04em;
}
.lc small {
  position: relative;
  margin-top: 3px;
  color: rgba(255, 255, 255, .66);
  font-size: 6.5px;
  letter-spacing: .02em;
}
.lib-list { padding: 0 12px; }
.lr {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 37px;
}
.lr-art {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, .9);
}
.lr-art.a { background: linear-gradient(140deg, #f472b6, #7c3aed); }
.lr-art.b { background: linear-gradient(140deg, #22d3ee, #4338ca); }
.lr-art.c { background: linear-gradient(140deg, #34d399, #065f46); }
.lr-art.d { background: linear-gradient(140deg, #fbbf24, #b45309); }
.lr-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.lr-txt b { font-size: 8.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-txt small { color: rgba(255, 255, 255, .35); font-size: 7px; }
.lr-dur { color: rgba(255, 255, 255, .28); font-size: 7px; font-variant-numeric: tabular-nums; }
.mini-player {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  margin: auto 11px 6px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mp-thumb {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 7px;
  background: linear-gradient(140deg, #ffc978, #f472b6 45%, #7c3aed);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.mp-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.mp-info b { font-size: 8.5px; font-weight: 650; }
.mp-info small { color: rgba(255, 255, 255, .38); font-size: 7px; }
.mp-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #f6f3ff;
  color: #0b0714;
}
.mp-btn .ic { width: 12px; height: 12px; margin-left: 1px; }
.tabbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 46px;
  flex: none;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(8, 6, 13, .5);
}
.tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, .3);
}
.tabbar span.on { color: var(--accent); }
.tabbar .ic { width: 14px; height: 14px; }
.tabbar small { font-size: 6.5px; font-weight: 600; letter-spacing: .01em; }

/* ==================== KARAOKE SCREEN ==================== */
.screen-karaoke {
  background:
    radial-gradient(110% 70% at 50% 4%, #43206d 0%, #1b0f2d 48%, #08060d 100%);
}
.k-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px 0;
  text-align: center;
}
.k-song { font-size: 15px; font-weight: 750; letter-spacing: -.03em; }
.k-song span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .38);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: .05em;
}
.k-lyrics {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 14px 0 6px;
  color: rgba(255, 255, 255, .28);
  font-size: 9.5px;
  line-height: 1.5;
}
.k-lyrics .on {
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #f4f1ff, #c4b5fd 55%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 26px rgba(167, 139, 250, .45);
}
.k-art {
  position: relative;
  width: 92px;
  height: 74px;
  flex: none;
  margin: 6px auto 6px;
}
.k-art-cover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background:
    radial-gradient(80% 70% at 28% 22%, rgba(255, 236, 179, .9), transparent 56%),
    linear-gradient(145deg, #ffc978, #f472b6 38%, #7c3aed 76%, #1e1b4b);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .4);
  color: rgba(255, 255, 255, .92);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.k-art-vinyl {
  position: absolute;
  right: 0;
  top: 10px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #d8ccff 0 7px, #5a4b86 8px 9px, transparent 10px),
    repeating-radial-gradient(circle, #0c0b10 0 2px, #1b1824 2px 3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
  animation: spin 18s linear infinite;
}
.k-art-vinyl::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
}
.k-mode {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  font-size: 6.5px;
}
.k-mode span { padding: 0 4px; color: rgba(255, 255, 255, .35); letter-spacing: .04em; }
.k-mode b,
.k-mode i {
  padding: 3px 8px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 650;
  font-size: 6.5px;
}
.k-mode b { background: linear-gradient(100deg, #8b5cf6, #22d3ee); color: #08060d; }
.k-mode i { color: rgba(255, 255, 255, .35); }
.k-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 44px;
  margin: 14px 0 4px;
}
.k-wave i {
  flex: 1;
  height: var(--h);
  min-height: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #67e8f9, #8b5cf6);
  opacity: .8;
  animation: wavePulse 1.5s ease-in-out infinite alternate;
}
.k-wave i:nth-child(3n) { animation-delay: -.5s; }
.k-wave i:nth-child(3n+1) { animation-delay: -1s; }
.k-wave i:nth-child(4n) { animation-delay: -.25s; opacity: .55; }
@keyframes wavePulse { from { transform: scaleY(.55); opacity: .45; } to { transform: scaleY(1.05); opacity: .95; } }
.k-progress {
  width: 100%;
  height: 2.5px;
  margin-top: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .13);
  overflow: hidden;
}
.k-progress span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
}
.k-times {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: rgba(255, 255, 255, .3);
  font-size: 7px;
}
.k-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin: 10px 0 2px;
}
.k-side { display: grid; place-items: center; width: 28px; height: 28px; color: rgba(255, 255, 255, .6); }
.k-side .ic { width: 14px; height: 14px; }
.k-play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  color: #0b0714;
  box-shadow: 0 8px 24px rgba(139, 92, 246, .45);
}
.k-play .ic { width: 17px; height: 17px; margin-left: 1px; }

/* ==================== 3D SCENE SCREEN ==================== */
.screen-scene { background: #04030a; }
.scene-space { position: absolute; inset: 0; overflow: hidden; }
.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 22%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1px 1px at 72% 16%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.4px 1.4px at 84% 42%, rgba(196, 181, 253, .8), transparent),
    radial-gradient(1px 1px at 33% 58%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1px 1px at 62% 72%, rgba(103, 232, 249, .7), transparent),
    radial-gradient(1.2px 1.2px at 12% 78%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1px 1px at 44% 12%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1px 1px at 90% 82%, rgba(255, 255, 255, .4), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
.screen-scene .saturn {
  position: absolute;
  left: 50%;
  top: 31%;
  width: 190px;
  height: 150px;
  transform: translate(-50%, -50%) rotate(-17deg);
}
.screen-scene .saturn .planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #fdf0d5 0%, #e8c79b 34%, #b48a5f 62%, #5b422c 88%, #2b1d13 100%);
  transform: translate(-50%, -50%);
  box-shadow:
    inset -16px -18px 34px rgba(0, 0, 0, .65),
    0 0 46px rgba(251, 191, 36, .18);
  z-index: 2;
}
.screen-scene .saturn .planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, rgba(90, 60, 35, .1) 0 6px, transparent 6px 12px);
  opacity: .7;
}
.screen-scene .saturn .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.5px solid rgba(251, 213, 145, .62);
  border-radius: 50%;
  z-index: 3;
}
.screen-scene .saturn .r1 { width: 196px; height: 54px; transform: translate(-50%, -50%); }
.screen-scene .saturn .r2 { width: 236px; height: 70px; opacity: .32; transform: translate(-50%, -50%); }
.screen-scene .saturn .ring-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, .16), transparent 66%);
  transform: translate(-50%, -50%);
  filter: blur(12px);
}
.sc-body {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px 2px;
  background: linear-gradient(180deg, transparent 34%, rgba(4, 3, 10, .55) 62%, rgba(4, 3, 10, .92) 100%);
}
.sc-lyrics { display: flex; flex-direction: column; gap: 8px; text-align: center; margin-bottom: auto; padding-top: 260px; }
.sc-lyrics span { color: rgba(255, 255, 255, .3); font-size: 9.5px; line-height: 1.5; }
.sc-lyrics .on { color: #f4f1ff; font-size: 13px; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 0 20px rgba(167, 139, 250, .5); }
.sc-bottom { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 4px; }
.sc-song { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.sc-song b { font-size: 11px; font-weight: 700; }
.sc-song small { color: rgba(255, 255, 255, .38); font-size: 7px; }
.sc-controls { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); }
.sc-controls .ic { width: 13px; height: 13px; }
.sc-play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #0b0714;
}
.sc-play .ic { width: 14px; height: 14px; margin-left: 1px; }

/* ==================== CAST SCREEN ==================== */
.screen-cast { background: linear-gradient(180deg, #171126 0%, #0b0812 62%); }
.cast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px 8px;
}
.cast-head b { font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.cast-now {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 13px 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(255, 255, 255, .05);
}
.cast-now > .ic { margin-left: auto; width: 17px; height: 17px; color: var(--accent); opacity: .8; }
.cast-art {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(140deg, #ffc978, #f472b6 45%, #7c3aed);
}
.cast-now span:not(.cast-art) { display: flex; flex-direction: column; gap: 2px; }
.cast-now b { font-size: 9.5px; font-weight: 650; }
.cast-now small { color: rgba(255, 255, 255, .38); font-size: 7px; }
.cast-sub {
  margin: 0 15px 6px;
  color: rgba(255, 255, 255, .3);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: .18em;
}
.cast-list { padding: 0 10px; }
.cast-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 7px;
  border-radius: 10px;
}
.cast-row.on { background: rgba(167, 139, 250, .1); }
.cast-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  color: var(--accent);
}
.cast-ico .ic { width: 15px; height: 15px; }
.cast-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cast-row b { font-size: 8.5px; font-weight: 650; }
.cast-row small { color: rgba(255, 255, 255, .34); font-size: 6.8px; }
.cast-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(52, 211, 153, .16);
  color: #34d399;
}
.cast-check .ic { width: 10px; height: 10px; }
.cast-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: auto 15px 8px;
  padding: 8px 10px;
  border: 1px dashed rgba(255, 255, 255, .1);
  border-radius: 9px;
  color: rgba(255, 255, 255, .3);
  font-size: 7px;
}
.cast-tip .ic { width: 11px; height: 11px; }
.cast-remote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 52px;
  flex: none;
  color: rgba(255, 255, 255, .66);
}
.cast-remote .ic { width: 15px; height: 15px; }
.cast-play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0b0714;
}
.cast-play .ic { width: 14px; height: 14px; margin-left: 1px; }

/* ==================== THEME SCREEN ==================== */
.screen-theme { background: linear-gradient(180deg, #141020 0%, #0a0811 60%); }
.th-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 12px;
}
.th-head b { font-size: 15px; font-weight: 750; letter-spacing: -.03em; }
.th-preview {
  display: flex;
  height: 132px;
  margin: 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  overflow: hidden;
}
.th-half {
  position: relative;
  flex: 1;
  padding: 13px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.th-half.light { background: #f7f4fd; }
.th-half.dark { background: #100d18; }
.th-half span { display: block; height: 7px; border-radius: 4px; }
.th-half.light span { width: 46%; background: #c9bdf0; }
.th-half.dark span { width: 46%; background: #5b4a86; }
.th-half i { display: block; height: 4px; border-radius: 4px; }
.th-half.light i { width: 78%; background: #e2dbf4; }
.th-half.dark i { width: 78%; background: #2a2238; }
.th-half i + i { width: 56%; }
.th-half b {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(140deg, #a78bfa, #22d3ee);
}
.th-label {
  margin: 14px 16px 7px;
  color: rgba(255, 255, 255, .3);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: .18em;
}
.th-dots { display: flex; gap: 8px; padding: 0 16px; }
.th-dots i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.th-dots i.on { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.th-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .65);
  font-size: 8px;
}
.th-slider {
  position: relative;
  display: block;
  width: 66px;
  height: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}
.th-slider i {
  position: absolute;
  left: 0;
  top: 0;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}
.th-slider i::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}
.th-toggle {
  position: relative;
  display: block;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}
.th-toggle i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
}
.th-toggle.on { background: var(--accent); }
.th-toggle.on i { left: auto; right: 2px; background: #fff; }
.th-cards { display: flex; gap: 8px; margin: 12px 14px 0; }
.th-card {
  flex: 1;
  height: 66px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.th-card span { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(140deg, #8b5cf6, #22d3ee); }
.th-card b { width: 66%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.th-card i { width: 44%; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .09); }

/* ==================== CARD VISUALS ==================== */

/* library */
.visual-lib {
  background:
    radial-gradient(70% 70% at 50% 22%, rgba(139, 92, 246, .22), transparent 62%),
    linear-gradient(180deg, #120e1d, #0a0811);
}
.cover-fan { position: absolute; inset: 18px 20px auto; height: 190px; }
.fan-cover {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 126px;
  height: 126px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.05em;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
  transition: transform .6s var(--ease);
  transform-origin: bottom center;
}
.fan-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 42%);
}
.fan-cover.f1 {
  background: linear-gradient(145deg, #fbbf24, #f472b6 52%, #7c3aed);
  transform: translateX(-50%) translateX(-66px) rotate(-14deg);
}
.fan-cover.f2 {
  background: linear-gradient(145deg, #67e8f9, #3b82f6 50%, #312e81);
  transform: translateX(-50%) translateY(-10px);
  z-index: 2;
}
.fan-cover.f3 {
  background: linear-gradient(145deg, #a7f3d0, #34d399 45%, #065f46);
  transform: translateX(-50%) translateX(66px) rotate(14deg);
}
.card:hover .fan-cover.f1 { transform: translateX(-50%) translateX(-78px) rotate(-18deg) translateY(-4px); }
.card:hover .fan-cover.f3 { transform: translateX(-50%) translateX(78px) rotate(18deg) translateY(-4px); }
.card:hover .fan-cover.f2 { transform: translateX(-50%) translateY(-18px); }
.format-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 16px;
}
.format-row span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .42);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: .04em;
}

/* DSP */
.visual-dsp {
  background:
    radial-gradient(90% 80% at 50% 100%, rgba(34, 211, 238, .12), transparent 62%),
    linear-gradient(180deg, #0d0b14, #08070d);
}
.dsp-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 15px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .34);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .1em;
}
.eq {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 18px;
  height: 132px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.eq i {
  flex: 1;
  height: var(--h);
  min-height: 8px;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, #67e8f9, #8b5cf6 62%, rgba(139, 92, 246, .18));
  opacity: .82;
  transform-origin: bottom;
  animation: eqPulse 1.6s ease-in-out infinite alternate;
}
.eq i:nth-child(2n) { animation-delay: -.4s; opacity: .65; }
.eq i:nth-child(3n) { animation-delay: -.8s; }
.eq i:nth-child(5n) { animation-delay: -1.2s; opacity: .9; }
@keyframes eqPulse {
  from { transform: scaleY(.52); filter: brightness(.8); }
  to { transform: scaleY(1); filter: brightness(1.2); }
}
.knob {
  position: absolute;
  top: 40px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(from -40deg, #8b5cf6, #22d3ee 60deg, #1c1730 61deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .4);
  display: grid;
  place-items: center;
}
.knob::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2c2340, #100c1a 70%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.knob span {
  position: relative;
  width: 2px;
  height: 15px;
  border-radius: 2px;
  background: #67e8f9;
  transform: translateY(-9px) rotate(38deg);
  transform-origin: bottom center;
  box-shadow: 0 0 8px rgba(103, 232, 249, .8);
}

/* 3D scene */
.visual-scene {
  background:
    radial-gradient(80% 70% at 50% 30%, rgba(76, 29, 149, .35), transparent 62%),
    linear-gradient(180deg, #0b0814, #05040a);
}
.saturn {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 190px;
  height: 150px;
  transform: translate(-50%, -50%) rotate(-16deg);
}
.saturn .planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #fdf0d5 0%, #e8c79b 34%, #b48a5f 62%, #5b422c 88%, #2b1d13 100%);
  transform: translate(-50%, -50%);
  box-shadow: inset -16px -18px 34px rgba(0, 0, 0, .65), 0 0 50px rgba(251, 191, 36, .18);
  z-index: 2;
}
.saturn .planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, rgba(90, 60, 35, .12) 0 6px, transparent 6px 12px);
}
.saturn .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.5px solid rgba(251, 213, 145, .62);
  border-radius: 50%;
  z-index: 3;
}
.saturn .r1 { width: 200px; height: 56px; transform: translate(-50%, -50%); }
.saturn .r2 { width: 242px; height: 72px; opacity: .3; transform: translate(-50%, -50%); }
.saturn .ring-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, .16), transparent 66%);
  transform: translate(-50%, -50%);
  filter: blur(12px);
}
.visual-scene .saturn { animation: saturnFloat 10s ease-in-out infinite alternate; }
@keyframes saturnFloat {
  from { transform: translate(-50%, -50%) rotate(-18deg) translateY(4px); }
  to { transform: translate(-50%, -50%) rotate(-13deg) translateY(-6px); }
}
.scene-lyric {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  color: rgba(255, 255, 255, .3);
  font-size: 8.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.scene-lyric .on { color: #f4f1ff; font-size: 10px; font-weight: 650; }
.visual-scene .stars { opacity: .45; }

/* karaoke */
.visual-karaoke {
  background:
    radial-gradient(80% 70% at 24% 16%, rgba(139, 92, 246, .28), transparent 58%),
    radial-gradient(60% 60% at 90% 90%, rgba(34, 211, 238, .1), transparent 60%),
    linear-gradient(180deg, #100b1a, #08060d);
}
.kara-lines {
  position: absolute;
  left: 22px;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, .26);
  font-size: 10px;
}
.kara-lines .on {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #f4f1ff, #c4b5fd 55%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wave-bars {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 48px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.wave-bars i {
  flex: 1;
  height: var(--h);
  min-height: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #67e8f9, #8b5cf6);
  opacity: .72;
  animation: wavePulse 1.4s ease-in-out infinite alternate;
}
.wave-bars i:nth-child(3n) { animation-delay: -.5s; opacity: .5; }
.wave-bars i:nth-child(4n) { animation-delay: -.9s; }
.mode-pills { position: absolute; left: 22px; bottom: 18px; display: flex; gap: 5px; }
.mode-pills span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  color: rgba(255, 255, 255, .32);
  font-family: var(--font-mono);
  font-size: 7px;
}
.mode-pills span.on {
  border-color: transparent;
  background: linear-gradient(100deg, #8b5cf6, #22d3ee);
  color: #08060d;
  font-weight: 700;
}

/* cast */
.visual-cast {
  background:
    radial-gradient(70% 70% at 40% 62%, rgba(34, 211, 238, .1), transparent 62%),
    linear-gradient(180deg, #0d0b15, #08070d);
}
.tv {
  position: absolute;
  left: 22px;
  top: 46px;
  width: 148px;
  height: 106px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: #05040a;
  padding: 5px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.tv-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(145deg, #241540, #0c0914);
}
.tv-cover {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 5px;
  background: linear-gradient(140deg, #ffc978, #f472b6 45%, #7c3aed);
}
.tv-lines { position: absolute; left: 62px; top: 18px; display: flex; flex-direction: column; gap: 5px; }
.tv-lines i { display: block; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.tv-lines i:first-child { width: 52px; }
.tv-lines i:last-child { width: 36px; background: rgba(255, 255, 255, .1); }
.tv-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 13px;
  height: 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}
.tv-progress span {
  display: block;
  width: 56%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
}
.tv-foot {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 34px;
  height: 9px;
  border-radius: 0 0 4px 4px;
  background: #211a2e;
  transform: translateX(-50%);
}
.mini-phone {
  position: absolute;
  right: 22px;
  bottom: 38px;
  width: 56px;
  height: 102px;
  padding: 5px;
  border-radius: 12px;
  background: #1b1626;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  transform: rotate(8deg);
}
.mp-notch {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 12px;
  height: 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .16);
  transform: translateX(-50%);
}
.mp-art {
  width: 100%;
  height: 44px;
  margin-top: 7px;
  border-radius: 5px;
  background: linear-gradient(140deg, #67e8f9, #3b82f6 50%, #312e81);
}
.mp-wave { display: flex; align-items: flex-end; gap: 1.5px; height: 16px; margin-top: 8px; padding: 0 3px; }
.mp-wave i { flex: 1; height: 100%; border-radius: 1px; background: linear-gradient(180deg, #67e8f9, #8b5cf6); opacity: .7; animation: wavePulse 1.2s ease-in-out infinite alternate; }
.mp-wave i:nth-child(2) { height: 60%; animation-delay: -.3s; }
.mp-wave i:nth-child(3) { height: 84%; animation-delay: -.6s; }
.mp-wave i:nth-child(4) { height: 44%; animation-delay: -.9s; }
.mp-wave i:nth-child(5) { height: 70%; animation-delay: -.15s; }
.cast-rings { position: absolute; left: 50%; top: 56%; width: 1px; height: 1px; }
.cast-rings i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(167, 139, 250, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: castPulse 3.4s var(--ease) infinite;
}
.cast-rings i:nth-child(2) { animation-delay: 1.1s; }
.cast-rings i:nth-child(3) { animation-delay: 2.2s; }
@keyframes castPulse {
  0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; }
  30% { opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* network */
.visual-net {
  background:
    radial-gradient(70% 70% at 50% 46%, rgba(34, 211, 238, .12), transparent 62%),
    linear-gradient(180deg, #0c0b13, #07060c);
}
.net-cloud {
  position: absolute;
  left: 50%;
  top: 46%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(167, 139, 250, .26);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(167, 139, 250, .24), rgba(13, 11, 21, .9));
  color: #c4b5fd;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(139, 92, 246, .18);
}
.net-cloud .ic { width: 30px; height: 30px; }
.net-orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 190px;
  height: 190px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 40s linear infinite;
}
.net-node {
  position: absolute;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .03em;
}
.net-node.n1 { left: 26px; top: 42px; }
.net-node.n2 { right: 22px; top: 64px; }
.net-node.n3 { left: 34px; bottom: 42px; }
.net-node.n4 { right: 38px; bottom: 34px; }
.net-node::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, .8);
}
.net-node.n1::before { right: -2px; bottom: -2px; }
.net-node.n2::before { left: -2px; bottom: -2px; }
.net-node.n3::before { right: -2px; top: -2px; }
.net-node.n4::before { left: -2px; top: -2px; }

/* theme */
.visual-theme {
  background:
    radial-gradient(80% 70% at 24% 20%, rgba(139, 92, 246, .16), transparent 60%),
    linear-gradient(180deg, #0d0b14, #08070d);
}
.theme-mini {
  position: absolute;
  top: 40px;
  width: 98px;
  height: 122px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.theme-mini.light {
  left: 30px;
  background: #f7f4fd;
  transform: rotate(-7deg);
  border: 1px solid rgba(255, 255, 255, .6);
}
.theme-mini.dark {
  right: 30px;
  top: 52px;
  background: #14101f;
  transform: rotate(7deg);
  border: 1px solid rgba(255, 255, 255, .12);
}
.tm-bar { width: 36px; height: 8px; border-radius: 4px; background: #c9bdf0; }
.theme-mini.dark .tm-bar { background: #5b4a86; }
.tm-line { width: 72%; height: 4px; border-radius: 4px; background: #e2dbf4; }
.theme-mini.dark .tm-line { background: #2a2238; }
.tm-line.short { width: 50%; }
.tm-cards { display: flex; gap: 5px; margin-top: auto; }
.tm-cards i { flex: 1; height: 30px; border-radius: 5px; background: linear-gradient(140deg, #a78bfa, #22d3ee); opacity: .8; }
.tm-cards i:last-child { background: linear-gradient(140deg, #f472b6, #fbbf24); }
.swatches { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 7px; }
.swatches i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 10px rgba(0, 0, 0, .3);
}
