/* 分享编辑页与公开分享页共用的紧凑播放器。
   几何和音乐墙底部播放器保持同一套：圆形封面、两行信息、细进度条、橙色描边播放键。 */
.shareplayer {
  --shareplayer-accent: var(--accent, #ff7a1a);
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 38px;
  background: linear-gradient(105deg, rgba(29, 27, 24, .95), rgba(22, 20, 18, .92));
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .045);
}
.shareplayer__cover {
  position: relative;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 2px solid var(--shareplayer-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 171, 92, .72);
  background: #15110e;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .34);
}
.shareplayer__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shareplayer__cover img[hidden] { display: none; }
.shareplayer__cover svg { width: 19px; height: 19px; }
.shareplayer__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.shareplayer__meta > strong,
.shareplayer__subrow > span,
.shareplayer__subrow > time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shareplayer__meta > strong {
  color: #f5f0ea;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.2;
}
.shareplayer__subrow {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: rgba(229, 220, 211, .62);
  font-size: 9.5px;
  line-height: 1.2;
}
.shareplayer__subrow > span { min-width: 0; }
.shareplayer__subrow > time {
  flex: 0 0 auto;
  color: rgba(235, 226, 217, .68);
  font-variant-numeric: tabular-nums;
}
.shareplayer__progress {
  position: relative;
  width: 100%;
  height: 3px;
  margin-top: 1px;
  border-radius: 99px;
  background: rgba(220, 214, 207, .28);
}
.shareplayer__progress > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--shareplayer-accent);
  box-shadow: 0 0 8px rgba(255, 122, 26, .28);
  pointer-events: none;
}
.shareplayer__seek {
  position: absolute;
  z-index: 2;
  inset: -10px 0;
  width: 100%;
  height: 23px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  touch-action: none;
}
.shareplayer__seek:disabled { cursor: default; }
.shareplayer__play {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--shareplayer-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--shareplayer-accent);
  background: rgba(15, 13, 11, .45);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: transform .12s ease, opacity .2s ease;
}
.shareplayer__play svg { width: 19px; height: 19px; stroke-width: 2.7; }
.shareplayer__play[data-icon="play"] svg,
.shareplayer__play[data-icon="pause"] svg { fill: currentColor; stroke: none; }
.shareplayer__play:active { transform: scale(.92); }
.shareplayer__play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.shareplayer__play:disabled { opacity: .32; pointer-events: none; box-shadow: none; }

