/* =========================================================================
   刷歌 · 沉浸式竖屏播放
   Standalone overlay page, scoped entirely under .sq-app
   ========================================================================= */

:root {
  --sq-lime: #d8ff3e;
  --sq-lime-soft: rgba(216, 255, 62, .14);
  --sq-ink: #08090d;
  --sq-glow: rgba(216, 255, 62, .28);
  --sq-font: "Manrope", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- kill the site chrome behind the immersive page -------------------- */
body:has(.sq-app) {
  overflow: hidden !important;
  background: #050608 !important;
  overscroll-behavior: none;
}
body:has(.sq-app) #main-header,
body:has(.sq-app) .ma_sidebar,
body:has(.sq-app) .sidebar,
body:has(.sq-app) .ma_player,
body:has(.sq-app) .player,
body:has(.sq-app) .ma_footer,
body:has(.sq-app) .neon-tabbar,
body:has(.sq-app) .neon-ambient,
body:has(.sq-app) .sidenav_overlay,
body:has(.sq-app) .queue_overlay,
body:has(.sq-app) #bar_loading,
body.sq-page-active #main-header,
body.sq-page-active .ma_sidebar,
body.sq-page-active .sidebar,
body.sq-page-active .ma_player,
body.sq-page-active .player,
body.sq-page-active .ma_footer,
body.sq-page-active .neon-tabbar,
body.sq-page-active .neon-ambient,
body.sq-page-active .sidenav_overlay,
body.sq-page-active .queue_overlay,
body.sq-page-active #bar_loading {
  display: none !important;
}
body.sq-page-active {
  overflow: hidden !important;
  background: #050608 !important;
  overscroll-behavior: none;
}

.sq-app,
.sq-app *,
.sq-app *::before,
.sq-app *::after {
  box-sizing: border-box;
}

.sq-app {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: #0b0d12;
  font-family: var(--sq-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  isolation: isolate;
}

:where(.sq-app) button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
:where(.sq-app) a {
  color: inherit;
  text-decoration: none;
}
:where(.sq-app) img {
  display: block;
  max-width: none;
}
:where(.sq-app) h2 {
  margin: 0;
  font-family: var(--sq-font);
  font-weight: 800;
}
:where(.sq-app) p {
  margin: 0;
}
:where(.sq-app) svg {
  display: block;
  overflow: visible;
}
.sq-app [hidden],
.sq-app .sq-play-start[hidden] {
  display: none !important;
}

/* ---- desktop-only chrome is hidden on phones --------------------------- */
.sq-brand,
.sq-nav,
.sq-eyebrow,
.sq-dt-lyrics,
.sq-transport,
.sq-dt-foot {
  display: none;
}

/* ---- tablet: keep the phone stage centered ----------------------------- */
@media (min-width: 760px) and (min-height: 700px) and (max-width: 1023px) {
  .sq-app {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 420px;
    height: min(884px, calc(100dvh - 36px));
    border-radius: 38px;
    transform: translate(-50%, -50%);
    box-shadow:
      0 50px 140px rgba(0, 0, 0, .82),
      0 0 0 1px rgba(255, 255, 255, .1),
      inset 0 0 0 1px rgba(255, 255, 255, .04);
  }
  .sq-app::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 80;
    border-radius: 38px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
    pointer-events: none;
  }
}

#sq-audio {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---- backdrop ---------------------------------------------------------- */
.sq-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0b0d12;
}
.sq-bg {
  position: absolute;
  inset: -16%;
  background-position: center;
  background-size: cover;
  filter: blur(64px) saturate(1.25) brightness(.52);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s ease;
  will-change: opacity;
}
.sq-bg.is-active {
  opacity: 1;
}
.sq-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .58) 0%, rgba(7, 8, 12, .16) 22%, rgba(7, 8, 12, .58) 66%, rgba(5, 6, 9, .96) 100%),
    radial-gradient(120% 72% at 50% 32%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 64%);
}
.sq-bg-grain {
  position: absolute;
  inset: 0;
  opacity: .05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---- top bar ----------------------------------------------------------- */
.sq-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: calc(env(safe-area-inset-top) + 12px) 15px 12px;
  background: linear-gradient(180deg, rgba(7, 8, 12, .5) 0%, rgba(7, 8, 12, 0) 100%);
}
.sq-burger {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, .92);
  border-radius: 10px;
  transition: background .2s;
}
.sq-burger:active {
  background: rgba(255, 255, 255, .08);
}
.sq-burger svg {
  width: 22px;
  height: 22px;
}
.sq-mode-title {
  flex: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  white-space: nowrap;
}
.sq-pref {
  margin-left: auto;
  flex: 0 1 auto;
  max-width: 118px;
  height: 29px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sq-pref:active {
  background: rgba(255, 255, 255, .16);
}
.sq-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffe6a3, #ffb84d 58%, #e8892f);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .28), 0 4px 14px rgba(255, 174, 66, .22);
}
.sq-face {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
}
.sq-face i {
  position: absolute;
  top: 7px;
  width: 2.6px;
  height: 3.4px;
  border-radius: 50%;
  background: #5a3212;
}
.sq-face i:nth-child(1) { left: 5px; }
.sq-face i:nth-child(2) { right: 5px; }
.sq-face b {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 8px;
  height: 5px;
  margin-left: -4px;
  border-bottom: 1.8px solid #5a3212;
  border-radius: 0 0 8px 8px;
}
.sq-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  margin-left: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s, background .2s;
}
.sq-close:active {
  transform: scale(.92);
  background: rgba(255, 255, 255, .16);
}
.sq-close svg {
  width: 16px;
  height: 16px;
}

/* ---- vertical stage ---------------------------------------------------- */
.sq-stage {
  position: relative;
  z-index: 5;
  flex: 1;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.sq-stage:active {
  cursor: grabbing;
}
.sq-track {
  height: 100%;
  will-change: transform;
  transition: transform .46s cubic-bezier(.22, .9, .24, 1);
}
.sq-track.is-dragging {
  transition: none;
}
.sq-slide {
  position: relative;
  height: 100%;
  padding: calc(env(safe-area-inset-top) + 59px) 20px calc(env(safe-area-inset-bottom) + 84px);
}
.sq-slide-inner {
  display: flex;
  flex-direction: column;
  gap: 13px;
  height: 100%;
  min-height: 0;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- album card -------------------------------------------------------- */
.sq-art {
  position: relative;
  flex: 1 1 auto;
  min-height: 190px;
  border-radius: 24px;
  overflow: hidden;
  background: #20232c;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .38),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
  isolation: isolate;
}
.sq-art-img {
  position: absolute;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) brightness(.92);
  transform: scale(1.02);
  transition: transform .8s cubic-bezier(.22, .9, .24, 1);
  user-select: none;
  -webkit-user-drag: none;
}
.sq-slide.is-current .sq-art-img {
  animation: sqArtIn 1.1s cubic-bezier(.22, .9, .24, 1) both;
}
@keyframes sqArtIn {
  from { transform: scale(1.12); opacity: .5; }
  to { transform: scale(1.06); opacity: 1; }
}
.sq-art-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .1) 0%, rgba(7, 8, 12, .02) 42%, rgba(7, 8, 12, .58) 100%),
    radial-gradient(72% 55% at 78% 12%, rgba(255, 255, 255, .12), transparent 68%);
}
.sq-art-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: var(--sq-lime);
  border: 0;
  color: #0c0f08;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .42),
    0 0 0 9px rgba(216, 255, 62, .1),
    0 0 44px rgba(216, 255, 62, .3);
  opacity: 0;
  transform: scale(.86);
  transition: opacity .28s ease, transform .28s cubic-bezier(.22, .9, .24, 1);
  pointer-events: none;
}
.sq-art-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.sq-app:not(.is-playing) .sq-art-play {
  opacity: 1;
  transform: scale(1);
}
.sq-art-edge {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .14);
  pointer-events: none;
}
.sq-art-label b {
  font-weight: 700;
}
.sq-art-label i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}
.sq-bubble {
  position: absolute;
  right: 20px;
  bottom: 70px;
  z-index: 3;
  max-width: calc(100% - 44px);
  padding: 9px 13px;
  border-radius: 15px 15px 5px 15px;
  background: rgba(34, 37, 45, .72);
  border: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transform-origin: 100% 100%;
  transition: opacity .2s ease, transform .2s ease;
}
.sq-bubble:empty { display: none; }
.sq-bubble:not(:empty) { animation: sqBubbleIn .34s cubic-bezier(.2, .9, .25, 1); }
.sq-bubble.is-swap {
  opacity: 0;
  transform: translateY(5px) scale(.97);
}
@keyframes sqBubbleIn {
  from { opacity: 0; transform: translateY(6px) scale(.94); }
  to { opacity: 1; transform: none; }
}
.sq-bubble::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: rgba(34, 37, 45, .72);
  border-right: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transform: rotate(45deg);
  border-radius: 0 0 3px 0;
}
.sq-mascot {
  position: absolute;
  right: -8px;
  bottom: -20px;
  z-index: 4;
  width: 92px;
  height: 92px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .42));
  animation: sqMascotFloat 5.2s ease-in-out infinite;
  scale: 1;
  transition: scale .18s ease;
}
.sq-mascot:active { scale: .93; }
.sq-mascot:focus-visible {
  outline: 2px solid #d8ff3e;
  outline-offset: 3px;
  border-radius: 50%;
}
.sq-mascot svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sq-mascot.is-pop svg { animation: sqMascotPop .62s cubic-bezier(.2, .9, .25, 1); }
@keyframes sqMascotFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1.2deg); }
}
@keyframes sqMascotPop {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.13) rotate(-5deg); }
  58% { transform: scale(.95) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

/* ---- live lyrics ------------------------------------------------------- */
.sq-lyrics-live {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 2px 2px 0;
  text-align: left;
  color: #fff;
}
.sq-live-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sq-live-main {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(22px, 5.9vw, 28px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.022em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .18);
}
.sq-live-sub {
  display: block;
  min-height: 1.3em;
  font-size: clamp(15px, 4.1vw, 18px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, .68);
}
.sq-live-main.is-swap {
  animation: sqLineIn .42s cubic-bezier(.22, .9, .24, 1) both;
}
.sq-live-sub.is-swap {
  animation: sqSubIn .5s cubic-bezier(.22, .9, .24, 1) both;
}
@keyframes sqLineIn {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes sqSubIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.sq-live-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 13px;
  background: rgba(216, 255, 62, .11);
  border: 1px solid rgba(216, 255, 62, .26);
  color: var(--sq-lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 0 22px rgba(216, 255, 62, .08);
}

/* ---- song meta --------------------------------------------------------- */
.sq-song {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sq-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  row-gap: 6px;
}
.sq-title {
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(21px, 5.6vw, 27px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.026em;
  color: #fff;
}
.sq-tag {
  flex: none;
  height: 21px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}
.sq-tag-vip {
  background: rgba(216, 255, 62, .12);
  border: 1px solid rgba(216, 255, 62, .26);
  color: var(--sq-lime);
}
.sq-artist-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.sq-artist {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: rgba(255, 255, 255, .76);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sq-verified {
  flex: none;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .62);
}
.sq-verified svg {
  width: 9px;
  height: 9px;
}
.sq-follow {
  flex: none;
  height: 25px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .26);
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 600;
  transition: all .22s;
}
.sq-follow:active {
  transform: scale(.95);
}
.sq-follow.is-followed {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .42);
}

/* ---- action row -------------------------------------------------------- */
.sq-actions {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 7vw, 34px);
  padding: 1px 4px 0;
}
.sq-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 36px;
  border-radius: 12px;
}
.sq-action-num {
  height: 14px;
  line-height: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}
.sq-action-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  transition: transform .2s;
}
.sq-action-icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .22));
}
.sq-action:active .sq-action-icon {
  transform: scale(.9);
}
.sq-action-more {
  margin-left: auto;
  min-width: 26px;
}
.sq-action-more .sq-action-icon svg {
  width: 23px;
  height: 23px;
}
.sq-action-like.is-liked .sq-icon-heart {
  fill: var(--sq-lime);
  stroke: var(--sq-lime);
}
.sq-action-like.is-liked .sq-action-num {
  color: var(--sq-lime);
}
.sq-action-like.is-burst .sq-action-icon {
  animation: sqLikePop .46s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes sqLikePop {
  0% { transform: scale(1); }
  38% { transform: scale(1.34) rotate(-6deg); }
  70% { transform: scale(.92) rotate(3deg); }
  100% { transform: scale(1); }
}

/* ---- progress ---------------------------------------------------------- */
.sq-time {
  display: inline-flex;
  flex: none;
  min-width: 30px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .5);
  font-variant-numeric: tabular-nums;
}
.sq-time[data-time-dur] { justify-content: flex-end; }
.sq-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 1px;
}
.sq-bar {
  position: relative;
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.sq-bar-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2.5px;
  margin-top: -1.25px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .24);
}
.sq-bar-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2.5px;
  width: 0;
  margin-top: -1.25px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 12px rgba(255, 255, 255, .18);
  will-change: width;
}
.sq-bar-knob {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12), 0 2px 8px rgba(0, 0, 0, .35);
}
.sq-progress-note {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, .56);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: color .2s;
}
.sq-progress-note:active {
  color: rgba(255, 255, 255, .8);
}
@media (max-width: 1023px) {
  /* 手机上底栏已有「每日特权」，进度条右侧不再重复放领会员入口 */
  .sq-progress-note { display: none; }
}
.sq-progress-note svg {
  width: 12px;
  height: 12px;
}

/* ---- bottom nav -------------------------------------------------------- */
.sq-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr 74px 1fr 1fr;
  align-items: center;
  height: calc(72px + env(safe-area-inset-bottom));
  padding: 0 8px env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(9, 10, 15, 0) 0%, rgba(9, 10, 15, .5) 34%, rgba(9, 10, 15, .88) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.sq-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, .5);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .2s;
}
.sq-tab span {
  position: relative;
  z-index: 1;
}
.sq-tab.is-active {
  color: #fff;
  font-weight: 600;
}
.sq-tab-dot {
  position: absolute;
  bottom: 13px;
  left: 50%;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--sq-lime);
  box-shadow: 0 0 8px rgba(216, 255, 62, .7);
}
.sq-play {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .045);
  color: #fff;
  transform: translateY(-9px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38), inset 0 0 20px rgba(255, 255, 255, .04);
  transition: transform .2s, background .2s;
}
.sq-play:active {
  transform: translateY(-9px) scale(.93);
  background: rgba(255, 255, 255, .12);
}
.sq-play svg {
  width: 23px;
  height: 23px;
}
.sq-play .sq-play-start {
  width: 26px;
  height: 26px;
  margin-left: 2px;
}

/* ---- hints ------------------------------------------------------------- */
.sq-swipe-hint {
  position: absolute;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 76px);
  bottom: auto;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(12, 13, 18, .52);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .6);
  font-size: 10.5px;
  letter-spacing: .02em;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  transition: opacity .5s, transform .5s;
  animation: sqHintFloat 2.4s ease-in-out infinite;
}
.sq-swipe-hint i {
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.sq-swipe-hint i::before,
.sq-swipe-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid rgba(255, 255, 255, .68);
  border-left: 1.5px solid rgba(255, 255, 255, .68);
  transform: translateX(-50%) rotate(45deg);
}
.sq-swipe-hint i::before { top: 3px; }
.sq-swipe-hint i::after { top: 7px; opacity: .42; }
@keyframes sqHintFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -3px); }
}
.sq-swipe-hint.is-hidden {
  opacity: 0;
  transform: translate(-50%, -6px);
}
.sq-sound-hint {
  position: absolute;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 76px);
  bottom: auto;
  z-index: 22;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(216, 255, 62, .14);
  border: 1px solid rgba(216, 255, 62, .34);
  color: var(--sq-lime);
  font-size: 11px;
  font-weight: 600;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: sqSoundPulse 2.4s ease-in-out infinite;
}
.sq-sound-hint svg {
  width: 14px;
  height: 14px;
}
@keyframes sqSoundPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, .18); }
  50% { box-shadow: 0 0 0 7px rgba(216, 255, 62, 0); }
}
.sq-sound-hint[hidden] {
  display: none;
}

/* ---- sheets ------------------------------------------------------------ */
.sq-scrim {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: rgba(3, 4, 7, .56);
  opacity: 0;
  transition: opacity .32s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.sq-scrim.is-open {
  opacity: 1;
}
.sq-scrim[hidden] {
  display: none;
}
.sq-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  max-height: 86%;
  padding-bottom: env(safe-area-inset-bottom);
  border-radius: 26px 26px 0 0;
  border: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 0;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(216, 255, 62, .05), transparent 62%),
    linear-gradient(180deg, rgba(25, 27, 34, .97) 0%, rgba(10, 11, 16, .995) 100%);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .55);
  transform: translateY(104%);
  visibility: hidden;
  transition: transform .44s cubic-bezier(.22, .9, .24, 1), visibility 0s linear .44s;
  touch-action: pan-y;
  will-change: transform;
}
.sq-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform .44s cubic-bezier(.22, .9, .24, 1), visibility 0s linear 0s;
}
.sq-sheet-lyrics {
  height: 83%;
}
.sq-sheet-comments {
  height: 63%;
}
.sq-sheet-mini {
  height: auto;
  max-height: 78%;
}
.sq-sheet-grip {
  flex: none;
  align-self: center;
  width: 38px;
  height: 4px;
  margin: 9px 0 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .2);
}
.sq-sheet-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px 12px;
}
.sq-sheet-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.sq-sheet-title > span {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}
.sq-sheet-title > em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sq-lime);
  opacity: .82;
}
.sq-sheet-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .7);
}
.sq-sheet-close svg {
  width: 15px;
  height: 15px;
}
.sq-sheet-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .34);
  font-size: 10.5px;
  letter-spacing: .02em;
}
.sq-sheet-track {
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, .48);
}

/* ---- daily perk sheet -------------------------------------------------- */
.sq-sheet-perk {
  padding-bottom: calc(4px + env(safe-area-inset-bottom));
}
.sq-perk {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(216, 255, 62, .2);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(216, 255, 62, .16), transparent 58%),
    rgba(255, 255, 255, .04);
  transition: border-color .25s, background .25s, opacity .25s;
}
.sq-perk[data-state="claimed"] {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}
.sq-perk[data-state="loading"] {
  opacity: .78;
}
.sq-perk-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: var(--sq-lime);
  background: rgba(216, 255, 62, .12);
  box-shadow: inset 0 0 0 1px rgba(216, 255, 62, .18);
}
.sq-perk-ico svg {
  width: 24px;
  height: 24px;
}
.sq-perk-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sq-perk-copy b {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}
.sq-perk-copy span {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .52);
}
.sq-perk-btn {
  flex: none;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--sq-lime);
  color: #0b0c10;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: opacity .2s, transform .15s, background .25s, color .25s;
}
.sq-perk-btn:active:not([disabled]) {
  transform: scale(.95);
}
.sq-perk-btn[disabled] {
  opacity: .4;
}
.sq-perk[data-state="claimed"] .sq-perk-btn {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .6);
}
.sq-perk-foot {
  margin: 12px 20px 18px;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .34);
  text-align: center;
}

/* ---- lyric sheet ------------------------------------------------------- */
.sq-lyrics-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 16px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
}
.sq-lyrics-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.sq-lrc-row {
  position: relative;
  display: flex;
  width: 100%;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 13px;
  text-align: left;
  color: rgba(255, 255, 255, .34);
  transition: background .24s, color .24s;
}
.sq-lrc-row + .sq-lrc-row {
  margin-top: 1px;
}
.sq-lrc-row:active {
  background: rgba(255, 255, 255, .05);
}
.sq-lrc-time {
  flex: none;
  width: 36px;
  padding-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .26);
  font-variant-numeric: tabular-nums;
}
.sq-lrc-text {
  flex: 1;
  min-width: 0;
}
.sq-lrc-text b {
  display: block;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: -.01em;
  color: inherit;
}
.sq-lrc-text em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .26);
}
.sq-lrc-row.is-near {
  color: rgba(255, 255, 255, .55);
}
.sq-lrc-row.is-near .sq-lrc-text em {
  color: rgba(255, 255, 255, .38);
}
.sq-lrc-row.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .045);
}
.sq-lrc-row.is-active::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 99px;
  background: var(--sq-lime);
  box-shadow: 0 0 12px rgba(216, 255, 62, .5);
}
.sq-lrc-row.is-active .sq-lrc-text b {
  font-size: 18.5px;
  font-weight: 800;
  color: #fff;
}
.sq-lrc-row.is-active .sq-lrc-text em {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}
.sq-lrc-row.is-active .sq-lrc-time {
  color: rgba(216, 255, 62, .85);
}
.sq-lrc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 260px;
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, .44);
}
.sq-lrc-empty b {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
}
.sq-lrc-empty span {
  font-size: 12px;
  line-height: 1.6;
}
.sq-lrc-empty i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: rgba(216, 255, 62, .09);
  color: var(--sq-lime);
}
.sq-lrc-empty svg {
  width: 24px;
  height: 24px;
}

/* ---- comments ---------------------------------------------------------- */
.sq-comments-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 20px 20px;
  -webkit-overflow-scrolling: touch;
}
.sq-comment {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.sq-comment-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #262a33;
}
.sq-comment-main {
  flex: 1;
  min-width: 0;
}
.sq-comment-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.sq-comment-top b {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}
.sq-comment-top span {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
}
.sq-comment p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .68);
  word-break: break-word;
}
.sq-comments-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 190px;
  text-align: center;
  color: rgba(255, 255, 255, .38);
}
.sq-comments-empty-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 2px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .42);
}
.sq-comments-empty-ico svg {
  width: 26px;
  height: 26px;
}
.sq-comments-empty b {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .72);
}
.sq-comments-empty i {
  font-style: normal;
  font-size: 11.5px;
}
.sq-comments-input {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px calc(12px + env(safe-area-inset-bottom));
  padding: 0 6px 0 15px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .07);
}
.sq-comments-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}
.sq-comments-input input::placeholder {
  color: rgba(255, 255, 255, .36);
}
.sq-comments-input button {
  flex: none;
  height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--sq-lime);
  color: #10130a;
  font-size: 11.5px;
  font-weight: 800;
}
.sq-comments-input button:active {
  transform: scale(.96);
}

/* ---- mode sheet -------------------------------------------------------- */
.sq-mode-list {
  padding: 2px 14px calc(20px + env(safe-area-inset-bottom));
}
.sq-mode-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 12px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.sq-mode-item + .sq-mode-item {
  margin-top: 4px;
}
.sq-mode-item.is-active {
  background: rgba(216, 255, 62, .07);
  border-color: rgba(216, 255, 62, .2);
}
.sq-mode-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .7);
}
.sq-mode-item.is-active .sq-mode-ico {
  background: rgba(216, 255, 62, .14);
  color: var(--sq-lime);
}
.sq-mode-ico svg {
  width: 20px;
  height: 20px;
}
.sq-mode-copy {
  flex: 1;
  min-width: 0;
}
.sq-mode-copy b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
}
.sq-mode-copy small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
}
.sq-mode-check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .16);
}
.sq-mode-item.is-active .sq-mode-check {
  border-color: var(--sq-lime);
  background: var(--sq-lime);
  box-shadow: inset 0 0 0 4px #171a12;
}

/* ---- preference sheet -------------------------------------------------- */
.sq-pref-wrap {
  padding: 2px 20px calc(20px + env(safe-area-inset-bottom));
}
.sq-pref-wrap p {
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .42);
}
.sq-pref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.sq-pref-chips button {
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
}
.sq-pref-chips button.is-on {
  border-color: rgba(216, 255, 62, .4);
  background: rgba(216, 255, 62, .13);
  color: var(--sq-lime);
}
.sq-pref-save {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 15px;
  background: var(--sq-lime);
  color: #11140a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}
.sq-pref-save:active {
  transform: scale(.985);
}

/* ---- toast ------------------------------------------------------------- */
.sq-toast {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 104px);
  z-index: 60;
  max-width: 82%;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(18, 20, 26, .88);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .88);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity .26s, transform .26s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sq-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- tap-to-play fallback --------------------------------------------- */
.sq-tap {
  position: absolute;
  left: 50%;
  top: 30vh;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transform: translate(-50%, -50%);
  text-align: center;
}
.sq-tap[hidden] {
  display: none;
}
/* 点击封面即可播放，旧的整屏轻触层不再使用 */
.sq-tap {
  display: none !important;
}
.sq-tap-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sq-lime);
  color: #11140a;
  box-shadow: 0 0 0 10px rgba(216, 255, 62, .09), 0 18px 46px rgba(0, 0, 0, .45), 0 0 40px rgba(216, 255, 62, .28);
  animation: sqTapPulse 2s ease-in-out infinite;
}
.sq-tap-ring svg {
  width: 25px;
  height: 25px;
  margin-left: 3px;
}
.sq-tap b {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(9, 11, 16, .66);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}
.sq-tap i {
  display: none;
}
@keyframes sqTapPulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(216, 255, 62, .09), 0 18px 46px rgba(0, 0, 0, .45), 0 0 40px rgba(216, 255, 62, .28); }
  50% { box-shadow: 0 0 0 18px rgba(216, 255, 62, .02), 0 18px 46px rgba(0, 0, 0, .45), 0 0 40px rgba(216, 255, 62, .18); }
}

/* ---- empty / closing --------------------------------------------------- */
.sq-slide-empty {
  display: grid;
  place-items: center;
}
.sq-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 30px;
  text-align: center;
}
.sq-empty strong {
  font-size: 20px;
  font-weight: 800;
}
.sq-empty span {
  font-size: 12px;
  color: rgba(255, 255, 255, .46);
}
.sq-empty a {
  margin-top: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--sq-lime);
  color: #10130a;
  font-size: 12px;
  font-weight: 800;
}
.sq-app.is-closing {
  animation: sqClose .34s cubic-bezier(.4, 0, 1, 1) both;
}
@keyframes sqClose {
  to { opacity: 0; transform: translateY(14px) scale(.985); }
}
@media (min-width: 760px) and (min-height: 700px) {
  .sq-app.is-closing {
    animation: sqCloseDesktop .34s cubic-bezier(.4, 0, 1, 1) both;
  }
  @keyframes sqCloseDesktop {
    to { opacity: 0; transform: translate(-50%, -50%) scale(.97); }
  }
}

/* ---- compact screens --------------------------------------------------- */
@media (max-height: 740px) {
  .sq-slide {
    padding-top: calc(env(safe-area-inset-top) + 54px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 76px);
  }
  .sq-slide-inner {
    gap: 10px;
  }
  .sq-art {
    min-height: 168px;
    border-radius: 20px;
  }
  .sq-art-edge {
    border-radius: 20px;
  }
  .sq-live-main {
    font-size: clamp(21px, 6vw, 27px);
  }
  .sq-live-sub {
    font-size: 14px;
  }
  .sq-lyrics-live {
    min-height: 56px;
  }
  .sq-title {
    font-size: clamp(19px, 5.2vw, 24px);
  }
  .sq-actions {
    gap: 22px;
  }
  .sq-tabs {
    height: calc(66px + env(safe-area-inset-bottom));
  }
  .sq-play {
    width: 53px;
    height: 53px;
  }
  .sq-tab-dot {
    bottom: 11px;
  }
  .sq-bubble {
    bottom: 62px;
  }
  .sq-mascot {
    width: 78px;
    height: 78px;
  }
}
@media (max-width: 355px) {
  .sq-top {
    gap: 6px;
    padding-left: 11px;
    padding-right: 11px;
  }
  .sq-mode-title {
    font-size: 17px;
  }
  .sq-pref {
    max-width: 96px;
    padding: 0 9px;
    font-size: 10px;
  }
  .sq-slide {
    padding-left: 15px;
    padding-right: 15px;
  }
  .sq-progress-note span {
    display: none;
  }
  .sq-progress-note svg {
    display: none;
  }
  .sq-perk {
    margin: 0 14px;
    padding: 13px;
    gap: 10px;
  }
  .sq-perk-copy b {
    font-size: 13.5px;
  }
  .sq-perk-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sq-app *,
  .sq-app *::before,
  .sq-app *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================================
   桌面宽屏：页面模式播放器（>=1024）
   - 左封面 / 右信息 + 多行同步歌词 + 播放控制
   - 顶部品牌导航与站点页面一致；底部只留键盘提示
   ========================================================================= */
@media (min-width: 1024px) and (min-height: 560px) {
  .sq-app {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    background: #07080b;
  }
  .sq-app::after { display: none; }

  /* ---- backdrop ------------------------------------------------------- */
  .sq-bg {
    inset: -18%;
    filter: blur(96px) saturate(1.45) brightness(.48);
  }
  .sq-bg-shade {
    background:
      linear-gradient(180deg, rgba(6, 7, 10, .9) 0%, rgba(6, 7, 10, .52) 24%, rgba(6, 7, 10, .68) 64%, rgba(4, 5, 8, .97) 100%),
      radial-gradient(70% 55% at 16% 82%, rgba(216, 255, 62, .1), transparent 66%);
  }

  /* ---- top bar (page chrome) ----------------------------------------- */
  .sq-top {
    position: relative;
    padding: 20px 52px;
    gap: 18px;
    background: none;
  }
  .sq-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
    padding-right: 22px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    color: #f5f6f3;
  }
  .sq-brand img {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    object-fit: cover;
    object-position: left center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
  }
  .sq-brand b {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
  }
  .sq-burger,
  .sq-mode-title { display: none; }

  .sq-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .sq-nav a,
  .sq-nav button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .54);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: color .2s, background .2s;
  }
  .sq-nav a:hover,
  .sq-nav button:hover { color: #fff; background: rgba(255, 255, 255, .07); }
  .sq-nav .is-active {
    color: #0c0f08;
    background: var(--sq-lime);
  }
  .sq-nav .is-active:hover { background: #e5ff77; color: #0c0f08; }
  .sq-nav svg { width: 12px; height: 12px; }

  .sq-pref {
    margin-left: auto;
    height: 32px;
    max-width: none;
    padding: 0 14px;
    font-size: 11.5px;
  }
  .sq-avatar { width: 32px; height: 32px; }
  .sq-close { width: 32px; height: 32px; }

  /* ---- stage ---------------------------------------------------------- */
  .sq-slide { padding: 46px 52px 86px; }
  .sq-slide-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    column-gap: clamp(44px, 5vw, 88px);
    row-gap: 15px;
    align-content: center;
    max-width: 1370px;
    height: 100%;
    margin: 0 auto;
  }

  /* ---- cover ---------------------------------------------------------- */
  .sq-art {
    grid-column: 1;
    grid-row: 1 / span 5;
    align-self: center;
    justify-self: center;
    width: min(100%, calc(100dvh - 290px), 470px);
    height: auto;
    aspect-ratio: 1;
    min-height: 0;
    flex: none;
    border-radius: 26px;
    box-shadow:
      0 46px 100px rgba(0, 0, 0, .58),
      0 0 0 1px rgba(255, 255, 255, .08),
      0 0 120px rgba(216, 255, 62, .06);
    transition: transform .6s cubic-bezier(.22, .9, .24, 1), box-shadow .6s;
  }
  .sq-slide.is-current .sq-art { transform: translateY(0); }
  .sq-art:hover {
    transform: translateY(-6px);
    box-shadow:
      0 56px 120px rgba(0, 0, 0, .62),
      0 0 0 1px rgba(255, 255, 255, .12),
      0 0 140px rgba(216, 255, 62, .1);
  }
  .sq-art-img {
    filter: saturate(1.05) brightness(.95);
    transform: scale(1.01);
  }
  .sq-slide.is-current .sq-art-img { animation: none; }
  .sq-art-edge { border-radius: 26px; }
  .sq-bubble,
  .sq-mascot { display: none; }
  .sq-art-play {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
  .sq-art-play svg { width: 26px; height: 26px; }

  /* ---- now playing meta ---------------------------------------------- */
  .sq-eyebrow {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: end;
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .38);
    white-space: nowrap;
    overflow: hidden;
  }
  .sq-eyebrow b { color: var(--sq-lime); font-weight: 800; }
  .sq-eyebrow i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    flex: none;
  }
  .sq-eyebrow span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sq-song {
    grid-column: 2;
    grid-row: 2;
    gap: 9px;
  }
  .sq-title-line {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
  }
  .sq-title {
    flex: 1 1 auto;
    font-size: clamp(30px, 2.5vw, 48px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
  }
  .sq-title-line .sq-tag { margin-top: 7px; }
  .sq-tag { height: 22px; padding: 0 7px; font-size: 10.5px; }
  .sq-artist { font-size: 16px; }
  .sq-follow { height: 28px; padding: 0 13px; font-size: 11.5px; }
  .sq-follow:hover { border-color: rgba(216, 255, 62, .55); color: var(--sq-lime); }

  /* ---- synced lyrics -------------------------------------------------- */
  .sq-lyrics-live { display: none; }
  .sq-dt-lyrics {
    display: block;
    grid-column: 2;
    grid-row: 3;
    position: relative;
    min-height: 0;
    margin: 2px 0;
    padding: 10px 14px 10px 4px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  }
  .sq-dt-lyrics::-webkit-scrollbar { width: 0; height: 0; }
  .sq-dtl-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 6px 8px;
    border-radius: 12px;
    text-align: left;
    color: rgba(255, 255, 255, .3);
    transition: color .32s ease, background .32s ease;
  }
  .sq-dtl-row:hover {
    color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .04);
  }
  .sq-dtl-time {
    flex: none;
    width: 40px;
    padding-top: 7px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .2);
    font-variant-numeric: tabular-nums;
    transition: color .32s ease;
  }
  .sq-dtl-text {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 600;
    letter-spacing: -.012em;
    transition: font-size .32s cubic-bezier(.22, .9, .24, 1), color .32s ease;
  }
  .sq-dtl-text em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, .24);
  }
  .sq-dtl-row.is-near { color: rgba(255, 255, 255, .56); }
  .sq-dtl-row.is-near .sq-dtl-text em { color: rgba(255, 255, 255, .34); }
  .sq-dtl-row.is-active {
    color: #fff;
    background: linear-gradient(90deg, rgba(216, 255, 62, .1), rgba(216, 255, 62, 0) 72%);
  }
  .sq-dtl-row.is-active .sq-dtl-time { color: rgba(216, 255, 62, .9); }
  .sq-dtl-row.is-active .sq-dtl-text {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.028em;
  }
  .sq-dtl-row.is-active .sq-dtl-text em { color: rgba(255, 255, 255, .62); }
  .sq-dtl-empty {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 30px 6px;
    color: rgba(255, 255, 255, .38);
  }
  .sq-dt-lyrics.is-empty {
    display: grid;
    place-items: start;
    padding: 0 6px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .sq-dt-lyrics.is-empty .sq-dtl-empty {
    align-items: flex-start;
    padding: 22px 0 0;
  }
  .sq-dtl-empty b { font-size: 22px; font-weight: 800; color: rgba(255, 255, 255, .82); }
  .sq-dtl-empty span { font-size: 12.5px; letter-spacing: .01em; }

  /* ---- progress ------------------------------------------------------- */
  .sq-progress {
    grid-column: 2;
    grid-row: 4;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
    padding: 0;
  }
  .sq-time {
    display: inline-flex;
    min-width: 34px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .46);
    font-variant-numeric: tabular-nums;
  }
  .sq-progress .sq-time:last-of-type { justify-self: end; }
  .sq-progress-note { display: none; }
  .sq-bar { height: 22px; }
  .sq-bar-track { height: 4px; background: rgba(255, 255, 255, .16); }
  .sq-bar-fill {
    height: 4px;
    background: var(--sq-lime);
    box-shadow: 0 0 14px rgba(216, 255, 62, .38);
  }
  .sq-bar-knob {
    width: 12px;
    height: 12px;
    right: -6px;
    background: #f2ffcb;
    box-shadow: 0 0 0 4px rgba(216, 255, 62, .16), 0 2px 10px rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .2s;
  }
  .sq-bar:hover .sq-bar-knob,
  .sq-bar:focus-visible .sq-bar-knob { opacity: 1; }

  /* ---- transport + actions ------------------------------------------- */
  .sq-transport {
    display: inline-flex;
    grid-column: 2;
    grid-row: 5;
    align-items: center;
    justify-self: start;
    gap: 10px;
    margin-top: 2px;
  }
  .sq-tp {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    transition: background .2s, transform .15s, border-color .2s;
  }
  .sq-tp:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .2); }
  .sq-tp:active { transform: scale(.93); }
  .sq-tp svg { width: 17px; height: 17px; }
  .sq-tp-play {
    width: 58px;
    height: 58px;
    margin: 0 4px;
    background: var(--sq-lime);
    border-color: transparent;
    color: #0b0e07;
    box-shadow: 0 14px 34px rgba(216, 255, 62, .24);
  }
  .sq-tp-play:hover { background: #e5ff77; border-color: transparent; }
  .sq-tp-play svg { width: 23px; height: 23px; }

  .sq-actions {
    display: flex;
    grid-column: 2;
    grid-row: 5;
    align-items: center;
    justify-self: end;
    align-self: center;
    gap: 18px;
    padding: 0;
  }
  .sq-action {
    flex-direction: row-reverse;
    align-items: center;
    gap: 7px;
    min-width: 0;
    border-radius: 8px;
  }
  .sq-action-num {
    height: auto;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
  }
  .sq-action-icon { width: 22px; height: 22px; }
  .sq-action-icon svg { width: 21px; height: 21px; filter: none; }
  .sq-action:hover .sq-action-icon { color: var(--sq-lime); }
  .sq-action-more { margin-left: 2px; }
  .sq-action-more .sq-action-icon svg { width: 19px; height: 19px; }

  /* ---- footer / chrome ----------------------------------------------- */
  .sq-tabs,
  .sq-swipe-hint,
  .sq-tap { display: none; }

  .sq-dt-foot {
    display: flex;
    position: absolute;
    left: 52px;
    right: 52px;
    bottom: 22px;
    z-index: 12;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .3);
    pointer-events: none;
  }
  .sq-dt-count { font-variant-numeric: tabular-nums; }
  .sq-dt-keys { display: inline-flex; align-items: center; gap: 16px; }
  .sq-dt-keys b {
    margin-right: 5px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .52);
  }

  .sq-toast {
    top: 92px;
    bottom: auto;
    transform: translate(-50%, -8px);
  }
  .sq-toast.is-visible { transform: translate(-50%, 0); }

  /* ---- sheets: centered sheet --------------------------------------- */
  .sq-sheet {
    left: 50%;
    right: auto;
    width: min(560px, 90vw);
    transform: translate(-50%, 104%);
    border-radius: 24px 24px 0 0;
  }
  .sq-sheet.is-open { transform: translate(-50%, 0); }
  .sq-sheet-lyrics { height: min(660px, 80vh); }
  .sq-sheet-comments { height: min(520px, 64vh); }
}

@media (min-width: 1024px) and (max-height: 700px) {
  .sq-slide { padding-top: 30px; padding-bottom: 54px; }
  .sq-slide-inner { row-gap: 11px; }
  .sq-title { font-size: clamp(26px, 2.4vw, 34px); }
  .sq-dtl-text { font-size: 15.5px; }
  .sq-dtl-row.is-active .sq-dtl-text { font-size: 21px; }
  .sq-tp-play { width: 50px; height: 50px; }
  .sq-art { width: min(100%, calc(100dvh - 210px), 380px); }
  .sq-dt-foot { bottom: 14px; }
}
