/* KAKI Music unified playback surfaces.
   One visual language, four views: full player, music-wall focus, public share and dock. */

:root {
  --playback-surface: #070605;
  --playback-text: #f6f3ef;
  --playback-secondary: #b8b2ac;
  --playback-muted: #8c8781;
  --playback-line: rgba(255, 255, 255, .07);
  --playback-glass: rgba(34, 27, 21, .92);
  --playback-orange: #ff7a1a;
  /* 完整播放器、音乐墙和分享页共用同一套顶部语义：普通屏至少留出
     一行标题栏，刘海屏则从真实安全区后再保留页面肩线。 */
  --playback-page-top: var(--kaki-layout-header-top);
  --playback-single-screen-top: var(--kaki-layout-single-screen-header-top);
  --playback-single-screen-offset: var(--kaki-layout-single-screen-safe-offset);
}

.playback-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.playback-backdrop img {
  position: absolute;
  inset: -34px -36px;
  width: calc(100% + 72px);
  height: calc(100% + 68px);
  object-fit: cover;
  filter: blur(32px);
  opacity: .3;
  transform: scale(1.04);
}
.playback-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 5, .84), rgba(7, 6, 5, .68) 42%, rgba(7, 6, 5, .86) 73%, #070605 100%);
}

/* Three equal touch slots, centered as one group on every playback surface. */
.playback-social {
  width: 252px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.playback-social .fpact {
  flex: 0 0 72px;
  width: 72px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 22px;
  color: #aba69e;
}
.playback-social .fpact--fav,
.playback-social .fpact--fav[aria-pressed="true"] { color: var(--playback-orange); }
.playback-social .fpact svg { width: 20px; height: 20px; }
.playback-social .fpact em { font-size: 11px; line-height: 16px; }
.playback-social .fpact em:empty::after { content: "0"; }

/* Seven-line lyric window. The page background remains continuous behind it. */
.playback-lyrics {
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.playback-lyrics span {
  min-height: 20px;
  line-height: 20px;
  text-align: center;
  color: rgba(246, 244, 240, .2);
  opacity: 1;
}
.playback-lyrics span[data-distance="1"] {
  min-height: 22px;
  color: rgba(246, 244, 240, .56);
  font-size: 14px;
  line-height: 22px;
}
.playback-lyrics span[data-distance="2"] { color: rgba(246, 244, 240, .34); }
.playback-lyrics span[data-distance="3"] { color: rgba(246, 244, 240, .16); font-size: 13px; }
.playback-lyrics span.is-active {
  min-height: 26px;
  color: rgba(246, 244, 240, .98);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-shadow: none;
}

.playback-progress,
.sp__progress {
  position: relative;
  height: 3px;
  overflow: visible;
  border-radius: 2px;
  background: #3b3835;
}
.playback-progress__fill,
.fplayer__seek-fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--playback-orange);
}
.playback-progress__fill::after,
.fplayer__seek-fill::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--playback-orange);
  box-shadow: 0 0 10px rgba(255, 122, 26, .34);
  transform: translateY(-50%);
  pointer-events: none;
}

@keyframes playback-disc-spin { to { transform: rotate(360deg); } }
.playback-spinning-disc img,
.discover__cover img {
  animation: playback-disc-spin 9s linear infinite;
  animation-play-state: paused;
}
.playback-spinning-disc.is-playing img,
.discover__selection.is-playing .discover__cover img {
  animation-play-state: running;
  will-change: transform;
}

/* ---------------- Full player · 393×852 ---------------- */
.fplayer {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: var(--playback-text);
  background: var(--playback-surface);
}
.fplayer > :not(.fplayer__backdrop, .fpempty) { z-index: 1; }
.fplayer__backdrop { z-index: 0; }
.fplayer > .fplayer__top {
  position: absolute;
  z-index: 10;
  top: var(--playback-page-top);
  left: 22px;
  width: calc(100% - 44px);
  height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.fplayer__top > strong {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}
.fplayer__exit,
.fplayer__more {
  position: relative;
  inset: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--playback-text);
  background: transparent;
}
.fplayer__exit { border: 1px solid rgba(52, 48, 45, .8); background: rgba(17, 17, 19, .72); }
.fplayer__exit svg,
.fplayer__more svg { width: 22px; height: 22px; filter: none; }
.fplayer__more { justify-self: end; }
.fplayer__menu {
  top: 48px;
  right: 0;
  bottom: auto;
  z-index: 8;
}
.fplayer__cover {
  position: absolute;
  top: calc(var(--playback-page-top) + 60px);
  left: 50%;
  width: 233px;
  height: 233px;
  margin: 0;
  aspect-ratio: 1;
  border: 1px solid var(--playback-line);
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}
.fplayer__cover img { transform: none; filter: none; }
.fplayer__cover::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 46% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
  pointer-events: none;
}
.fplayer__cover::after { border-radius: 22px; }
.fplayer__cover .fplayer__info {
  position: absolute;
  z-index: 2;
  left: 15px;
  right: 15px;
  bottom: 13px;
  padding: 0;
}
.fplayer__cover .fplayer__meta { gap: 2px; }
.fplayer__cover .fplayer__meta strong { font-size: 20px; line-height: 28px; }
.fplayer__cover .fplayer__meta em { font-size: 11px; line-height: 16px; }
.fplayer__cover .fplayer__meta span { font-size: 11px; line-height: 16px; }
.fplayer > .playback-social {
  position: absolute;
  top: calc(var(--playback-page-top) + 305px);
  left: 50%;
  transform: translateX(-50%);
}
.fplayer__lyrics {
  position: absolute;
  top: calc(var(--playback-page-top) + 361px);
  left: 22px;
  width: calc(100% - 44px);
  height: 216px;
  max-height: none;
  min-height: 0;
  padding: 14px 0;
  gap: 5px;
  justify-content: flex-start;
  overflow: hidden;
}
.fplayer__lyrics.has-timed-lyrics {
  gap: 0;
  overflow-y: auto;
}
.fplayer__lyrics.has-timed-lyrics > span {
  /* 文本字阶不变；每句由真实、不重叠的 44px 行盒承接点击与键盘 seek。 */
  flex: 0 0 var(--kaki-size-touch-min);
  min-height: var(--kaki-size-touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fplayer__lyrics.has-timed-lyrics > span::before { content: none; }
.fplayer__lyrics.has-timed-lyrics::before,
.fplayer__lyrics.has-timed-lyrics::after { flex-basis: calc(50% - 22px); }
.fplayer__seek {
  position: absolute;
  top: calc(var(--playback-page-top) + 592px);
  left: 22px;
  width: calc(100% - 44px);
  height: 3px;
  margin: 0;
}
.fplayer__seek::before { inset: -21px 0; }
.fplayer__times {
  position: absolute;
  top: calc(var(--playback-page-top) + 604px);
  left: 22px;
  width: calc(100% - 44px);
  margin: 0;
  color: var(--playback-muted);
  font-size: 12px;
}
.fplayer__ctrl {
  position: absolute;
  top: calc(var(--playback-page-top) + 637px);
  left: 22px;
  width: calc(100% - 44px);
  height: 64px;
  display: grid;
  grid-template-columns: 50px 50px 64px 50px 50px;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
.fplayer__side {
  width: 50px;
  height: 50px;
  color: rgba(235, 226, 216, .66);
}
.fplayer__side svg { width: 24px; height: 24px; }
.fplayer__main {
  width: 64px;
  height: 64px;
  color: #1a0f05;
  background: var(--playback-orange);
  box-shadow: none;
}
.fplayer__main svg { width: 24px; height: 24px; }
.fplayer__gesture-hint {
  position: absolute;
  top: calc(var(--playback-page-top) + 722px);
  left: 0;
  width: 100%;
  margin: 0;
  color: #6e6964;
  font-size: 12px;
  text-align: center;
}

/* ---------------- Music wall focus ---------------- */
.discover__topbar {
  top: var(--playback-single-screen-top);
  left: 22px;
  right: 22px;
  width: auto;
  height: 48px;
  padding: 0;
  background: none;
}
.discover__title {
  position: absolute;
  left: 50%;
  color: var(--playback-secondary);
  font: var(--kaki-type-header-title-weight) var(--kaki-type-header-title-size)/var(--kaki-type-header-title-line) var(--font-body);
  transform: translateX(-50%);
}
.discover__top-actions { gap: 8px; }
.discover__motion { border: 0; color: var(--playback-orange); background: none; }
.discover__motion svg { width: 22px; height: 22px; }
.discover-focus { padding: 0; }
.discover-focus__backdrop {
  z-index: 0;
  opacity: 1;
  contain: paint;
  isolation: isolate;
  background: rgba(7, 6, 5, .28);
}
.discover-focus__backdrop img {
  display: block;
  opacity: 0;
  transition: opacity 480ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.04);
}
.discover-focus__backdrop img.is-active { opacity: .3; }
.discover-focus__dismiss { z-index: 1; }
.discover-focus__panel {
  --focus-card-size: 233px;
  top: calc(112px + var(--playback-single-screen-offset));
  left: 50%;
  width: 349px;
  transform: translateX(-50%);
  z-index: 2;
}
.discover-focus__card {
  width: 233px;
  height: 233px;
  border: 1px solid var(--playback-line);
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}
.discover-focus__card > img.discover-focus__cover-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 180ms linear;
  will-change: opacity;
  backface-visibility: hidden;
}
.discover-focus__card > img.discover-focus__cover-layer.is-active { opacity: 1; }
.discover-focus__play {
  top: 14px;
  right: 14px;
  left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  color: #1a0f05;
  background: rgba(255, 122, 26, .82);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: none;
}
.discover-focus__play:active { transform: scale(.92); }
.discover-focus__play svg { width: 18px; height: 18px; }
.discover-focus__meta strong { font-size: 20px; line-height: 28px; }
.discover-focus__actions {
  width: 252px;
  height: 44px;
  margin-top: 8px;
  gap: 18px;
}
.discover-focus__actions .fpact { min-height: 44px; padding: 0; }
.discover-focus__lyrics {
  width: 349px;
  height: clamp(112px, calc(var(--app-viewport-height, 100dvh) - 587px), 252px);
  min-height: 0;
  margin-top: 12px;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  line-height: 20px;
  text-shadow: none;
}
.discover-focus__lyrics span:first-child:not(.is-active),
.discover-focus__lyrics span:last-child:not(.is-active) { opacity: 1; }
.discover-focus__lyrics.is-loading { opacity: .28; }
.discover__selection {
  left: 18px;
  right: auto;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  width: min(357px, calc(100% - 36px));
  height: 84px;
  min-height: 84px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 58px;
  gap: 15px;
  padding: 12px 13px 12px 14px;
  border: 1px solid var(--playback-line);
  border-radius: 28px;
  background: var(--playback-glass);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .46);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.discover__cover {
  position: relative;
  width: 52px;
  height: 52px;
  border: 0;
  overflow: visible;
  box-shadow: none;
}
.discover__cover::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(var(--playback-orange) calc(var(--progress-ratio, 0) * 1turn), rgba(255,255,255,.13) 0);
}
.discover__cover::after {
  content: "";
  position: absolute;
  inset: 21.5px;
  border-radius: 50%;
  background: #0b0908;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
  pointer-events: none;
}
.discover__cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 160ms linear;
}
.discover__cover > img.is-cover-entering { opacity: 0; }
.discover__cover > img.discover__cover-ghost {
  pointer-events: none;
  animation: playback-cover-fade-out 160ms linear forwards;
}
@keyframes playback-cover-fade-out { to { opacity: 0; } }
.discover__meta { gap: 4px; }
.discover__meta strong { font-size: 15px; line-height: 20px; text-shadow: none; }
.discover__subrow { font-size: 10px; text-shadow: none; }
.discover__play {
  width: 58px;
  height: 58px;
  border: 2px solid var(--playback-orange);
  background: rgba(15, 13, 11, .42);
  box-shadow: none;
}
.discover__progress::after { width: 8px; height: 8px; }

/* ---------------- Public share · 393×852 ---------------- */
.sp {
  position: relative;
  width: 100%;
  height: var(--app-viewport-height, 100dvh);
  min-height: 700px;
  padding: 0;
  overflow: hidden;
  color: var(--playback-text);
  background: var(--playback-surface);
}
.sp::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.42);
  transform: translateX(-50%);
}
.sp__backdrop { z-index: 0; }
.sp__col {
  --share-content-shift-y: -18px;
  position: relative;
  top: var(--kaki-layout-safe-offset);
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
  animation: none;
  transform: translateY(var(--share-content-shift-y));
}
.sp__head {
  position: absolute;
  top: 48px;
  left: 22px;
  width: calc(100% - 44px);
  height: 44px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.sp__cta-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: var(--playback-orange);
  background: transparent;
}
.sp__cta-mark img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.sp__creator-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 2px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid var(--playback-orange);
  border-radius: 50%;
  background: #21160f;
  color: var(--playback-orange);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255, 122, 26, .12);
}
.sp__creator-avatar img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  object-fit: cover;
}
.sp__creator-copy { min-width: 0; display: grid; gap: 2px; }
.sp__creator-copy strong,
.sp__creator-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp__creator-copy strong { font-size: 16px; line-height: 21px; }
.sp__creator-copy small { color: var(--playback-muted); font-size: 12px; line-height: 16px; }
.sp__public {
  min-width: 68px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #34302d;
  border-radius: 16px;
  color: var(--playback-secondary);
  background: #1c1917;
  font-size: 12px;
}
.sp__cover {
  position: absolute;
  top: 112px;
  left: 50%;
  width: 233px;
  height: 233px;
  aspect-ratio: 1;
  border: 1px solid var(--playback-line);
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(0,0,0,.5);
  transform: translateX(-50%);
}
.sp.is-playing .sp__cover { animation: none; }
.sp__cover::before { inset: 46% 0 0; border-radius: 22px; }
.sp__cover-play {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1a0f05;
  background: rgba(255, 122, 26, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sp__cover-play:active { transform: scale(.92); }
.sp__cover-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.sp__info { left: 15px; right: 15px; bottom: 13px; padding: 0; }
.sp__info h1 { font-size: 20px; line-height: 28px; }
.sp__info p { margin-top: 0; font-size: 11px; line-height: 16px; }
.sp > .sp__col > .playback-social {
  position: absolute;
  top: 359px;
  left: 50%;
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translateX(-50%);
}
.sp__lyrics {
  position: absolute;
  top: 414px;
  left: 22px;
  width: calc(100% - 44px);
  height: 206px;
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  line-height: 20px;
}
.sp__lyrics.has-timed-lyrics { overflow: hidden; justify-content: center; }
.sp__lyrics.has-timed-lyrics::before,
.sp__lyrics.has-timed-lyrics::after { content: none; }
.sp__progress {
  position: absolute;
  top: 646px;
  left: 22px;
  width: calc(100% - 44px);
}
.sp__seek {
  position: absolute;
  inset: -21px 0;
  width: 100%;
  height: 45px;
  margin: 0;
  opacity: 0;
  touch-action: none;
}
.sp__times {
  position: absolute;
  top: 658px;
  left: 22px;
  width: calc(100% - 44px);
  display: flex;
  justify-content: space-between;
  color: var(--playback-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.sp__foot { position: absolute; top: 710px; left: 22px; width: calc(100% - 44px); margin: 0; }
.sp__cta {
  width: 100%;
  height: 76px;
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 0 16px 0 14px;
  border: 1px solid #3a3029;
  border-radius: 20px;
  color: var(--playback-text);
  background: #1b1816;
  box-shadow: none;
}
.sp__cta-copy { gap: 1px; }
.sp__cta-copy strong { font-size: 17px; line-height: 20px; }
.sp__cta-copy small { color: var(--playback-muted); font-size: 12px; line-height: 14px; opacity: 1; }
.sp__cta > svg { width: 24px; height: 24px; color: var(--playback-orange); }

/* ---------------- Global dock: four tabs + adjacent player ---------------- */
.phone {
  /* Dock 几何只在这里定义。长列表继续使用 162px 的舒适滚动尾距；
     带末尾主操作的页面使用下面推导出的精确可达边界。 */
  /* 393×852 设计基线：66px Dock 位于 y=748，底部留 38px 给系统手势区。 */
  --dock-safe-bottom: max(38px, env(safe-area-inset-bottom, 0px));
  --dock-safe: var(--dock-safe-bottom);
  --dock-height: 66px;
  --dock-extra-height: 0px;
  /* 一级页面最后一个主操作的可达边界。Dock 与页面共同消费这一份合同，
     避免页面按自己的估算把按钮排进 Dock 命中层。 */
  --dock-content-gap: 16px;
  --dock-content-reserve: calc(
    var(--dock-safe-bottom) + var(--dock-height) + var(--dock-extra-height) + var(--dock-content-gap)
  );
  --dock-reserved-space: calc(162px + var(--dock-extra-height) + env(safe-area-inset-bottom, 0px));
  /* 视觉遮罩比内容保留区更轻、更晚出现：393×852 下约从 y=716 开始，
     但可滚动内容仍保留完整 162px，二者不能绑成同一个高度。 */
  --dock-backdrop-fade-height: 36px;
  --dock-backdrop-surface-height: calc(100px + var(--dock-extra-height) + env(safe-area-inset-bottom, 0px));
}

/* 内容 < 承载层 < Dock。承载层覆盖整屏宽度，没有边框或圆角，也不拦截滚动。 */
.dock-backdrop {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--dock-backdrop-fade-height) + var(--dock-backdrop-surface-height));
  overflow: hidden;
  pointer-events: none;
}
.dock-backdrop::before,
.dock-backdrop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.dock-backdrop::before {
  top: 0;
  height: var(--dock-backdrop-fade-height);
  background: linear-gradient(180deg, rgba(5, 5, 6, 0), rgba(5, 5, 6, .86));
}
.dock-backdrop::after {
  top: var(--dock-backdrop-fade-height);
  bottom: 0;
  background: rgba(5, 5, 6, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dock {
  --dock-inset-left: var(--page-gutter);
  --dock-inset-right: var(--page-gutter);
  left: var(--page-gutter);
  right: var(--page-gutter);
  z-index: 30;
  height: var(--dock-height);
  bottom: var(--dock-safe-bottom);
  align-items: center;
  gap: 8px;
}
.dock::before { content: none; }
.dock__nav { height: var(--dock-height); margin-top: 0; }
.phone__homebar { position: relative; z-index: 32; pointer-events: none; }
.dockplay {
  --hub: 60px;
  --disc: 52px;
  --btn: 52px;
  --gap: 8px;
  --btn-play: 52px;
  width: 60px;
  height: 60px;
  margin-top: 0;
  transition: width 160ms ease;
}
.dockplay.is-live { width: 112px; }
.dockplay__hub { width: 60px; height: 60px; }
.dockplay__disc { width: 52px; height: 52px; }
.dockplay:not(.is-live) .dockplay__ring,
.dockplay:not(.is-live) .dockplay__disc { opacity: 0; pointer-events: none; }
.dockplay__btn {
  left: 4px;
  top: 4px;
  width: 52px;
  height: 52px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  color: var(--playback-orange);
  border: 2px solid var(--playback-orange);
  background: #151311;
  box-shadow: none;
  transition: left 160ms ease, color 160ms ease, background 160ms ease;
}
.dockplay.is-live .dockplay__btn {
  left: 60px;
  color: #1a0f05;
  border: 0;
  background: var(--playback-orange);
  transform: none;
}
.dockplay.is-live .dockplay__btn:active { transform: scale(.94); }

/* 320–340px 设备保留四个一级 Tab 和独立播放器，只压缩它们之间的空隙。
   播放器仍然不是第五个 Tab，所有可点击目标仍不小于 44px。 */
@media (max-width: 340px) {
  .dock { gap: 5px; }
  .dock__nav { gap: 0; padding-inline: 0; }
  .dock__item { gap: 2px; padding-inline: 1px; font-size: 10px; }
  .dock__item svg { width: 20px; height: 20px; }
  .dockplay {
    --hub: 56px;
    --disc: 48px;
    --btn: 48px;
    --btn-play: 48px;
    --gap: 5px;
    width: 56px;
    height: 56px;
  }
  .dockplay.is-live { width: 104px; }
  .dockplay__hub { width: 56px; height: 56px; }
  .dockplay__disc { width: 48px; height: 48px; }
  .dockplay__btn { width: 48px; height: 48px; }
  .dockplay.is-live .dockplay__btn { left: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .playback-spinning-disc img,
  .discover__cover img,
  .dockplay__disc img,
  .dockplay__sheen { animation: none; }
  .playback-backdrop img { transition-duration: 120ms; }
}

@media (min-width: 768px) {
  .sp {
    width: 393px;
    height: 852px;
  }
}

@media (max-height: 760px) {
  .fplayer,
  .discover,
  .sp { min-height: 700px; overflow-y: auto; }
}
