/* Prototype v3の画面移動と小型プレーヤーを維持します。 */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 30;
  width: min(100%, 470px);
  padding: 10px 18px var(--bottom);
  background: linear-gradient(
    transparent,
    rgba(241, 239, 232, 0.96) 27%,
    rgba(241, 239, 232, 0.99)
  );
}
.bottom-nav-inner {
  height: 69px;
  border-radius: 24px;
  background: rgba(250, 249, 244, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 14px 40px rgba(39, 48, 45, 0.17),
    inset 0 0 0 1px rgba(39, 48, 45, 0.05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 5px;
}
.nav-button {
  border: 0;
  background: transparent;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  cursor: pointer;
}
.nav-button svg {
  width: 18px;
  height: 18px;
}
.nav-button.active {
  background: var(--ink);
  color: #f8f6f0;
}
.mini-player {
  position: fixed;
  left: 50%;
  bottom: calc(83px + var(--bottom));
  transform: translate(-50%, 18px);
  z-index: 29;
  width: min(calc(100% - 36px), 434px);
  height: 55px;
  padding: 6px 7px 6px 14px;
  border-radius: 19px;
  background: rgba(250, 249, 244, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 13px 35px rgba(39, 48, 45, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.22s;
}
.mini-player.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.mini-copy {
  min-width: 0;
}
.mini-copy strong {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.mini-copy span {
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}
.mini-play {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mini-play svg {
  width: 17px;
  height: 17px;
}
.mini-play .mini-pause {
  display: none;
}
.playing .mini-play .mini-triangle {
  display: none;
}
.playing .mini-play .mini-pause {
  display: block;
}
