/* ============================================================================
   Sonorus - films and series.

   The same chassis as the rest of the app. Two places are always dark whatever
   the theme, because they are screens: the hero banner and the player.
   ========================================================================== */

:root {
  --screen: #100e14;
  --screen-text: #f2eef4;
  --screen-dim: rgba(242, 238, 244, 0.72);
  --lamp: #f5a524;
  --lamp-ink: #24170a;
}

/* --- Tabs: Übersicht, Filme, Serien ------------------------------------------ */

.v-tabs { display: flex; gap: 26px; margin: 2px 0 22px; border-bottom: 1px solid var(--line); }
.v-tab {
  position: relative; padding: 4px 0 12px;
  font-size: 1.05rem; font-weight: 650; color: var(--text-dim);
}
.v-tab:hover { text-decoration: none; }
@media (hover: hover) {
  .v-tab:hover { color: var(--text); }
}
.v-tab.active { color: var(--text); }
.v-tab.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  border-radius: 2px; background: var(--accent);
}

/* --- Hero ----------------------------------------------------------------- */

.v-hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(320px, 46vh, 520px);
  margin-bottom: 30px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--screen); color: var(--screen-text);
  box-shadow: var(--shadow-md);
}
.v-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.v-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 14, 20, 0.94) 0%, rgba(16, 14, 20, 0.7) 38%, rgba(16, 14, 20, 0.12) 72%, rgba(16, 14, 20, 0) 100%),
    linear-gradient(0deg, rgba(16, 14, 20, 0.85) 0%, rgba(16, 14, 20, 0) 50%);
}
.v-hero-inner {
  position: relative; width: 100%;
  display: flex; align-items: flex-end; gap: 28px;
  padding: 34px 34px 30px;
}
.v-hero-poster {
  flex: none; width: 176px; aspect-ratio: 2 / 3;
  padding: 0; border: none; border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(255, 255, 255, 0.06); box-shadow: var(--shadow-lg); cursor: zoom-in;
}
.v-hero-poster:disabled { cursor: default; }
.v-hero-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-hero-text { min-width: 0; max-width: 720px; }
.v-hero-text .rack-label { color: rgba(242, 238, 244, 0.6); }
.v-hero-logo { margin: 8px 0 12px; }
.v-hero-logo img {
  display: block; max-width: min(440px, 80%); max-height: 128px;
  object-fit: contain; object-position: left bottom;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}
.v-hero-title {
  margin: 6px 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.08;
  letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.v-hero-facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  color: var(--screen-dim); font-size: 0.9rem;
}
.v-hero-facts .dot { opacity: 0.6; }
.v-hero-overview {
  margin: 12px 0 0; max-width: 62ch; color: rgba(242, 238, 244, 0.86); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.v-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.v-hero .btn-ghost {
  background: rgba(242, 238, 244, 0.12); border-color: rgba(242, 238, 244, 0.2); color: var(--screen-text);
  backdrop-filter: blur(6px);
}
.v-hero .btn-primary { background: var(--lamp); color: var(--lamp-ink); }
@media (hover: hover) {
  .v-hero .btn-ghost:hover { background: rgba(242, 238, 244, 0.2); }
}
.v-more { padding-left: 11px; padding-right: 11px; }

/* A title TMDB found no picture for is still a banner, just a quiet one. */
.v-hero.no-backdrop { min-height: 0; background: var(--surface); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.v-hero.no-backdrop .v-hero-shade { display: none; }
.v-hero.no-backdrop .v-hero-facts,
.v-hero.no-backdrop .v-hero-text .rack-label { color: var(--text-dim); }
.v-hero.no-backdrop .v-hero-overview { color: var(--text-dim); }
.v-hero.no-backdrop .btn-ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); backdrop-filter: none; }
.v-hero.no-backdrop .v-cert { border-color: var(--line); }

.v-cert {
  display: inline-block; padding: 0 5px; border: 1px solid rgba(242, 238, 244, 0.45); border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.5;
}
.v-vote { display: inline-flex; align-items: center; gap: 3px; color: var(--lamp); font-variant-numeric: tabular-nums; }

.v-hint {
  display: flex; align-items: center; gap: 8px; margin: -12px 0 24px;
  color: var(--text-dim); font-size: 0.86rem;
}

/* --- Tiles ------------------------------------------------------------------ */

.v-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grid.row.v-row > * { flex-basis: 150px; }
.v-card .card-art { margin-bottom: 9px; }
.v-card.is-current .card-art { outline: 2px solid var(--accent); outline-offset: 2px; }
.v-done {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lamp); color: var(--lamp-ink); box-shadow: var(--shadow-sm);
}
.v-progress {
  position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px;
  display: block; border-radius: 999px; overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
}
.v-progress > span { display: block; height: 100%; width: 0; background: var(--lamp); }
.v-none { color: var(--text-dim); grid-column: 1 / -1; }

.v-wide-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; overscroll-behavior-x: contain; }
@supports not selector(::-webkit-scrollbar) {
  .v-wide-row, .v-people { scrollbar-width: thin; }
}
.v-wide { flex: 0 0 300px; min-width: 0; display: block; color: var(--text); }
.v-wide-text { display: block; color: var(--text); }
.v-wide:hover, .v-wide-text:hover { text-decoration: none; }
@media (hover: hover) {
  .v-wide-text:hover .card-title { text-decoration: underline; }
}
.v-wide-art {
  position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 9px;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.v-wide-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-wide-art .art-fallback, .v-episode-art .art-fallback { font-size: 1.6rem; }
.v-wide-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 14, 20, 0.62); color: #fff; opacity: 0;
  transition: opacity 0.18s ease; backdrop-filter: blur(4px);
}
.v-wide-art .v-progress { right: 46px; }
.v-wide-done {
  position: absolute; right: 6px; bottom: 6px;
  width: 30px; height: 30px; border-radius: 50%; padding: 0;
  display: grid; place-items: center;
  background: rgba(16, 14, 20, 0.62); color: #fff; border: none; cursor: pointer;
  backdrop-filter: blur(4px); transition: background 0.15s ease, color 0.15s ease;
}
.v-wide-done:disabled { opacity: 0.5; cursor: default; }
@media (hover: hover) {
  .v-wide:hover .v-wide-play, .v-episode-art:hover .v-wide-play { opacity: 1; }
  .v-wide-done:not(:disabled):hover { background: var(--lamp); color: var(--lamp-ink); }
}
@media (hover: none) {
  .v-wide-play { opacity: 0.9; }
}

/* --- Browsing ----------------------------------------------------------------- */

.v-browse { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.v-browse select { width: auto; min-width: 150px; padding: 7px 10px; font-size: 0.86rem; }
.v-unwatched { font-size: 0.86rem; color: var(--text-dim); }
.v-browse-count { margin-left: auto; }

/* --- Detail pages ----------------------------------------------------------- */

.v-detail-progress { position: relative; height: 4px; margin: -18px 0 26px; }
.v-detail-progress .v-progress { left: 0; right: 0; bottom: 0; background: var(--surface-3); }
.v-detail-body { max-width: 920px; margin-bottom: 30px; }
.v-tagline { margin: 0 0 10px; font-style: italic; color: var(--text-dim); }
.v-overview { margin: 0 0 14px; line-height: 1.65; }
.v-original { margin: 0 0 14px; color: var(--text-dim); font-size: 0.88rem; }
.v-genres { margin-bottom: 18px; }
.v-crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 20px; margin: 0; }
.v-crew dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }
.v-crew dd { margin: 4px 0 0; font-size: 0.9rem; }
.v-tech dd { font-size: 0.86rem; color: var(--text-dim); }

.v-people { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; overscroll-behavior-x: contain; }
.v-person { flex: 0 0 104px; min-width: 0; text-align: center; color: var(--text); }
.v-person:hover { text-decoration: none; }
.v-person-photo {
  display: block; width: 96px; height: 96px; margin: 0 auto 8px;
  border-radius: 50%; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.v-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-person-name, .v-person-role {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v-person-name { font-size: 0.84rem; font-weight: 600; }
.v-person-role { font-size: 0.76rem; color: var(--text-dim); }
@media (hover: hover) {
  .v-person:hover .v-person-name { color: var(--accent); }
}

/* --- Seasons and episodes ----------------------------------------------------- */

.v-season-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 20px; padding-bottom: 4px; }
.v-season-tab {
  flex: none; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-dim);
  font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.v-season-tab.active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
@media (hover: hover) {
  .v-season-tab:hover { color: var(--text); }
}
.v-season-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.v-season-poster {
  flex: none; width: 104px; aspect-ratio: 2 / 3; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.v-season-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-season-text h2 { margin: 0 0 4px; font-size: 1.25rem; }
.v-season-facts { color: var(--text-dim); font-size: 0.86rem; margin-bottom: 8px; }
.v-season-overview { margin: 0 0 12px; max-width: 72ch; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }

.v-episodes { display: flex; flex-direction: column; gap: 4px; }
.v-episode {
  display: grid; grid-template-columns: 224px minmax(0, 1fr) 40px; gap: 18px; align-items: center;
  padding: 10px; border-radius: var(--radius);
}
@media (hover: hover) {
  .v-episode:hover { background: var(--surface); }
}
.v-episode-art {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2);
}
.v-episode-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-episode-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 3px; }
.v-episode-time { font-size: 0.8rem; color: var(--text-dim); }
.v-episode-name { display: block; font-weight: 650; font-size: 0.98rem; color: var(--text); margin-bottom: 4px; }
.v-episode-overview {
  margin: 0 0 4px; color: var(--text-dim); font-size: 0.86rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v-episode-date { font-size: 0.76rem; color: var(--text-faint); }
.v-episode.is-done .v-episode-name { color: var(--text-dim); }
.v-episode.is-done .v-episode-art img { opacity: 0.72; }
.v-episode-check { color: var(--text-faint); }
.v-episode-check.is-on { color: var(--accent); }

.v-modal-text { margin: 0 0 14px; color: var(--text-dim); font-size: 0.9rem; }
.shortcuts-gap { display: block; margin: 16px 0 6px; }

@media (max-width: 760px) {
  .v-hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
  .v-hero-poster { width: 112px; }
  .v-episode { grid-template-columns: 130px minmax(0, 1fr) 34px; gap: 12px; padding: 8px 4px; }
  .v-episode-overview { -webkit-line-clamp: 3; }
  .v-wide { flex-basis: 240px; }
  .v-browse-count { margin-left: 0; }
}

/* --- The player --------------------------------------------------------------- */

body.watching { overflow: hidden; }

.vp {
  position: fixed; inset: 0; z-index: 90;
  background: #000; color: #fff;
  user-select: none; -webkit-user-select: none;
  font-family: var(--font-ui);
}
.vp:not(.show-ui) { cursor: none; }
.vp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vp-stage { position: absolute; inset: 0; z-index: 1; }

.vp-top, .vp-bottom {
  position: absolute; left: 0; right: 0; z-index: 3;
  transition: opacity 0.25s ease;
}
.vp:not(.show-ui) .vp-top,
.vp:not(.show-ui) .vp-bottom { opacity: 0; pointer-events: none; }
.vp-top {
  top: 0; display: flex; align-items: center; gap: 12px;
  padding: 18px 22px 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}
.vp-heading { min-width: 0; }
.vp-heading .rack-label { color: rgba(255, 255, 255, 0.62); }
.vp-heading h1 {
  margin: 2px 0 0; font-size: 1.15rem; font-weight: 650;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vp-bottom {
  bottom: 0; padding: 50px 22px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.vp-btn {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: none; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.vp-btn:focus-visible { outline: 2px solid var(--lamp); outline-offset: 1px; }
@media (hover: hover) {
  .vp-btn:hover { background: rgba(255, 255, 255, 0.13); }
}

.vp-rail {
  position: relative; height: 24px; display: flex; align-items: center;
  cursor: pointer; touch-action: none;
}
.vp-track {
  position: relative; width: 100%; height: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.24); transition: height 0.12s ease;
}
.vp-rail:hover .vp-track, .vp.is-dragging .vp-track { height: 6px; }
.vp-buffer, .vp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; }
.vp-buffer { background: rgba(255, 255, 255, 0.32); }
.vp-fill { background: var(--lamp); }
.vp-knob {
  position: absolute; top: 50%; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.25);
  transform: translate(-50%, -50%) scale(0); transition: transform 0.12s ease;
}
.vp-rail:hover .vp-knob, .vp.is-dragging .vp-knob { transform: translate(-50%, -50%) scale(1); }
.vp-tip {
  position: absolute; bottom: 28px; transform: translateX(-50%);
  padding: 3px 8px; border-radius: 6px; font-size: 0.82rem;
  background: rgba(20, 18, 24, 0.94); pointer-events: none;
}

.vp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.vp-group { display: flex; align-items: center; gap: 2px; min-width: 0; }
.vp-time { margin-left: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.86); white-space: nowrap; }
.vp-sep { margin: 0 6px; opacity: 0.45; }

.vp-volume { display: flex; align-items: center; }
.vp-volume-range {
  --level: 100%;
  width: 0; opacity: 0; margin: 0; padding: 0; height: 4px; border: none; border-radius: 999px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(to right, #fff var(--level), rgba(255, 255, 255, 0.3) var(--level));
  transition: width 0.18s ease, opacity 0.18s ease, margin 0.18s ease;
}
.vp-volume:hover .vp-volume-range, .vp-volume-range:focus-visible { width: 92px; opacity: 1; margin: 0 8px 0 2px; }
.vp-volume-range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: none; }
.vp-volume-range::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: none; }
.vp-volume-range::-moz-range-track { background: transparent; }
.vp-volume-range:focus { box-shadow: none; }

.vp-subs {
  position: absolute; left: 6%; right: 6%; bottom: 8%; z-index: 2;
  text-align: center; pointer-events: none; transition: bottom 0.25s ease;
}
.vp.show-ui .vp-subs { bottom: 128px; }
.vp-subs span {
  display: inline; padding: 0.08em 0.45em; border-radius: 5px;
  background: rgba(0, 0, 0, 0.62); color: #fff;
  font-size: clamp(1.05rem, 2.5vw, 2.05rem); font-weight: 500; line-height: 1.42;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.vp-spinner {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border: 4px solid rgba(255, 255, 255, 0.18); border-top-color: var(--lamp); border-radius: 50%;
  display: none; animation: vp-spin 0.9s linear infinite; pointer-events: none;
}
.vp.is-loading .vp-spinner { display: block; }
@keyframes vp-spin { to { transform: rotate(360deg); } }

.vp-flash {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none;
}
.vp-flash.go { animation: vp-flash 0.55s ease-out; }
@keyframes vp-flash {
  0% { opacity: 1; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.25); }
}
.vp-bigplay {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  display: grid; place-items: center; border: none; border-radius: 50%;
  background: var(--lamp); color: var(--lamp-ink); cursor: pointer; box-shadow: var(--shadow-lg);
}

.vp-panel {
  position: absolute; right: 22px; bottom: 100px; z-index: 5;
  max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain;
  padding: 14px; border-radius: var(--radius);
  background: rgba(22, 20, 27, 0.97); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg); cursor: default;
}
.vp-menu { display: flex; gap: 24px; }
.vp-menu-col { display: flex; flex-direction: column; gap: 2px; min-width: 210px; }
.vp-menu-col .rack-label { color: rgba(255, 255, 255, 0.5); margin: 0 0 6px 10px; }
.vp-menu-gap { margin-top: 12px !important; }
.vp-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 10px; border: none; border-radius: var(--radius-sm);
  background: none; color: #fff; font: inherit; font-size: 0.9rem; text-align: left; cursor: pointer;
}
.vp-option.active { color: var(--lamp); }
.vp-option:disabled { opacity: 0.4; cursor: default; }
@media (hover: hover) {
  .vp-option:not(:disabled):hover { background: rgba(255, 255, 255, 0.08); }
}
.vp-option-text { display: flex; flex-direction: column; min-width: 0; }
.vp-option-text small { color: rgba(255, 255, 255, 0.52); font-size: 0.74rem; }
.vp-check { flex: none; width: 16px; display: grid; place-items: center; }
.vp-switch input { width: 16px; height: 16px; margin: 0; accent-color: var(--lamp); flex: none; }
.vp-empty { margin: 4px 10px; color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }

.vp-episodes-panel { width: min(420px, calc(100vw - 44px)); padding: 12px; }
.vp-episodes-head { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px 10px; }
.vp-episodes-head .rack-label { color: rgba(255, 255, 255, 0.5); }
.vp-episodes-list { display: flex; flex-direction: column; gap: 2px; }
.vp-episode {
  display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 6px; border-radius: var(--radius-sm); color: #fff;
}
.vp-episode:hover { text-decoration: none; }
@media (hover: hover) {
  .vp-episode:hover { background: rgba(255, 255, 255, 0.08); }
}
.vp-episode.active { background: rgba(245, 165, 36, 0.16); }
.vp-episode-art {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.vp-episode-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-episode-art .v-progress { left: 5px; right: 5px; bottom: 5px; height: 3px; }
.vp-episode-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 0.88rem; }
.vp-episode-text small { color: rgba(255, 255, 255, 0.5); }
.vp-episode-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.vp-next {
  position: absolute; right: 30px; bottom: 112px; z-index: 5;
  display: flex; gap: 14px; align-items: center;
  width: min(540px, calc(100vw - 40px)); padding: 12px;
  border-radius: var(--radius); background: rgba(22, 20, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: var(--shadow-lg);
}
.vp-next-art {
  flex: none; width: 180px; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.vp-next-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-next-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vp-next-text .rack-label { color: rgba(255, 255, 255, 0.55); }
.vp-next-text strong { font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-next-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.vp-next-go { position: relative; overflow: hidden; background: var(--lamp); color: var(--lamp-ink); }
.vp-next-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, 0.35); }
.vp-next-label { position: relative; display: inline-flex; align-items: center; gap: 7px; }
.vp-next .btn-ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); color: #fff; }

.vp-end {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(0, 0, 0, 0.66);
}
.vp-end .rack-label { color: rgba(255, 255, 255, 0.6); }
.vp-end h2 { margin: 0 0 12px; font-size: 1.6rem; }
.vp-end-actions { display: flex; gap: 10px; }
.vp-end .btn-ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); color: #fff; }

@media (max-width: 760px) {
  .vp-top { padding: 12px 12px 30px; }
  .vp-bottom { padding: 40px 10px 10px; }
  .vp-btn { width: 40px; height: 40px; }
  .vp-time { font-size: 0.8rem; margin-left: 4px; }
  .vp-volume-range { display: none; }
  .vp-next { right: 10px; bottom: 96px; }
  .vp-next-art { width: 120px; }
  .vp-panel { right: 10px; left: 10px; bottom: 90px; }
  .vp-menu { flex-direction: column; gap: 14px; }
}
