/* The music & video player (player/, player.js) — 19 Nov 2026. Glass panels over the artwork, in the
   site's colours (dark green-black, Vabcast green). Mobile first; two columns from 1024 px. */
:root { --pl-green: #39ff6a; --pl-green-2: #22c955; --pl-ink: #06210f; --pl-bg: #0a0d0b; --pl-text: #f3f7f4; --pl-muted: rgba(243, 247, 244, 0.62);
  --pl-glass: rgba(16, 24, 19, 0.52); --pl-line: rgba(255, 255, 255, 0.11); --pl-r: 22px; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
.pl-body { background: #0a0d0b; background: var(--pl-bg); color: #f3f7f4; color: var(--pl-text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding: 0 0 0 0; padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0); }
.pl-i { width: 22px; height: 22px; fill: currentColor; flex: none; }
[hidden] { display: none !important; }

/* background: the artwork, blurred, under a green-black wash */
.pl-bg { position: fixed; top: -60px; right: -60px; bottom: -60px; left: -60px; inset: -60px; z-index: 0; background: radial-gradient(circle at 20% 10%, rgba(57, 255, 106, 0.18), transparent 50%), radial-gradient(circle at 90% 80%, rgba(34, 201, 85, 0.14), transparent 55%), #0a0d0b; background: radial-gradient(circle at 20% 10%, rgba(57, 255, 106, 0.18), transparent 50%), radial-gradient(circle at 90% 80%, rgba(34, 201, 85, 0.14), transparent 55%), var(--pl-bg);
   }
.pl-bg.has-art { background-size: cover; background-position: center;  transform: scale(1.15); }
.pl-bg::after { content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 11, 0.35), rgba(10, 13, 11, 0.85)); }
.pl-glass { background: rgba(16, 24, 19, 0.9); border: 1px solid rgba(255, 255, 255, 0.11); border: 1px solid var(--pl-line);  
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);  border-radius: 22px; border-radius: var(--pl-r); }

/* top bar */
.pl-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(180deg, rgba(10, 13, 11, 0.85), rgba(10, 13, 11, 0)); }
.pl-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; font-size: 15px; min-width: 0; }
.pl-brand b { color: #39ff6a; color: var(--pl-green); }
.pl-modes { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.11); border: 1px solid var(--pl-line); }
.pl-mode { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.pl-mode .pl-i { width: 18px; height: 18px; }
.pl-mode.is-on { background: #39ff6a; background: var(--pl-green); color: #06210f; color: var(--pl-ink); }
@media (max-width: 440px) { .pl-brand span { display: none; } }

.pl-icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: #f3f7f4; color: var(--pl-text); cursor: pointer; padding: 0; text-decoration: none; transition: transform .12s; }
.pl-icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.pl-icon-btn:active { transform: scale(0.92); }
.pl-icon-btn[aria-pressed="true"], .pl-icon-btn.is-on { color: #39ff6a; color: var(--pl-green); }
.pl-icon-btn.is-big .pl-i { width: 30px; height: 30px; }
.pl-icon-btn:disabled, .pl-play:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 2px solid #39ff6a; outline: 2px solid var(--pl-green); outline-offset: 2px; }

.pl-takeover { position: relative; z-index: 15; margin: 6px 14px 0; padding: 12px 14px; border-radius: 16px; background: rgba(255, 196, 0, 0.12); border: 1px solid rgba(255, 196, 0, 0.35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pl-takeover p { margin: 0; font-size: 14px; }

/* layout */
.pl-main { position: relative; z-index: 5; display: grid; grid-gap: 14px; gap: 14px; padding: 6px 14px 28px; max-width: 1240px; margin: 0 auto; }
.pl-main > * { min-width: 0; }   /* long titles in the lists must not widen the page (they end with …) */
@supports (display: grid) { .pl-main { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) {
  .pl-main { grid-template-columns: minmax(380px, 460px) 1fr; align-items: start; grid-gap: 22px; gap: 22px; padding: 10px 28px 40px; }
  .pl-now { position: sticky; top: 70px; }
  .is-video .pl-main { grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); }
}

/* now playing */
.pl-now { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.pl-stage { position: relative; border-radius: 18px; overflow: hidden; }
.pl-art { aspect-ratio: 1 / 1; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 18px; background: linear-gradient(135deg, #16241b, #0d1510) center / cover no-repeat; display: grid; place-items: center; color: rgba(57, 255, 106, 0.6);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);  transition: transform .4s ease; }
.pl-art .pl-i { width: 34%; height: 34%; }
.pl-art.has-art .pl-i { display: none; }
.pl-body.is-playing .pl-art { transform: scale(1.01); }
.pl-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 18px; }
.pl-stage-tools { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; }
.pl-stage-tools .pl-icon-btn { background: rgba(0, 0, 0, 0.45); width: 38px; height: 38px; }
.pl-stage-tools .pl-icon-btn .pl-i { width: 20px; height: 20px; }
.pl-loading { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: none; place-items: center; pointer-events: none; }
.pl-loading span { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.18); border-top-color: #39ff6a; border-top-color: var(--pl-green); border-right-color: #39ff6a; border-right-color: var(--pl-green); animation: pl-spin .9s linear infinite; }
.pl-body.is-loading .pl-loading { display: grid; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-stage .ad-player { border-radius: 18px; }

.pl-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-titles { flex: 1; min-width: 0; }
.pl-title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-artist { margin: 4px 0 0; font-size: 15px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-artist a { color: inherit; }

/* seek bar and volume */
.pl-seek input, .pl-volume input { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; --p: 0%; }
.pl-seek input::-webkit-slider-runnable-track, .pl-volume input::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--pl-green) var(--p), rgba(255, 255, 255, 0.16) var(--p)); }
.pl-seek input::-moz-range-track, .pl-volume input::-moz-range-track { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); }
.pl-seek input::-moz-range-progress, .pl-volume input::-moz-range-progress { height: 5px; border-radius: 5px; background: #39ff6a; background: var(--pl-green); }
.pl-seek input::-webkit-slider-thumb, .pl-volume input::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.pl-seek input::-moz-range-thumb, .pl-volume input::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; }
.pl-seek input:disabled { opacity: .5; cursor: default; }
.pl-times { display: flex; justify-content: space-between; font-size: 12px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }

.pl-controls { display: flex; align-items: center; justify-content: space-between; max-width: 380px; width: 100%; margin: 0 auto; }
.pl-play { width: 70px; height: 70px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #06210f; color: var(--pl-ink);
  background: linear-gradient(135deg, #39ff6a, #22c955); background: linear-gradient(135deg, var(--pl-green), var(--pl-green-2)); box-shadow: 0 2px 6px rgba(0,0,0,0.35);  transition: transform .12s; }
.pl-play:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.35);  }
.pl-play:active { transform: scale(0.94); }
.pl-play .pl-i { width: 32px; height: 32px; }
.pl-volume { display: none; align-items: center; gap: 8px; max-width: 280px; width: 100%; margin: 0 auto; }
@media (hover: hover) and (pointer: fine) { .pl-volume { display: flex; } }

/* playlist / add */
.pl-side { padding: 10px; min-height: 280px; display: flex; flex-direction: column; }
.pl-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.pl-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; border-radius: 11px; background: transparent; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.pl-tab .pl-i { width: 19px; height: 19px; }
.pl-tab small { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.pl-tab.is-on { background: rgba(57, 255, 106, 0.14); color: #fff; }
.pl-tab.is-on small { background: #39ff6a; background: var(--pl-green); color: #06210f; color: var(--pl-ink); }
.pl-panel { padding: 10px 2px 2px; flex: 1; }
.pl-qhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 0 6px 8px; }
.pl-qtools { display: flex; gap: 6px; }
.pl-note { margin: 0; font-size: 12.5px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); }
#plSNote { padding: 0 6px 6px; }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.11); border: 1px solid var(--pl-line); background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.pl-btn:hover { background: rgba(255, 255, 255, 0.12); }
.pl-btn.is-primary { background: #39ff6a; background: var(--pl-green); color: #06210f; color: var(--pl-ink); border-color: transparent; }
.pl-btn.is-small { height: 32px; padding: 0 12px; font-size: 12.5px; }
.pl-btn.is-small .pl-i { width: 16px; height: 16px; }
.pl-btn.is-block { width: 100%; }
.pl-btn:disabled { opacity: .5; cursor: default; }

.pl-search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; margin: 0 4px 10px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.11); border: 1px solid var(--pl-line); }
.pl-search:focus-within { border-color: #39ff6a; border-color: var(--pl-green); box-shadow: 0 0 0 3px rgba(57, 255, 106, 0.15); }
.pl-search .pl-i { width: 19px; height: 19px; opacity: .6; }
.pl-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; outline: none; }

.pl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-row { display: flex; align-items: center; gap: 12px; padding: 7px 6px 7px 8px; border-radius: 14px; cursor: pointer;  min-width: 0; }
.pl-row:hover { background: rgba(255, 255, 255, 0.06); }
.pl-row.is-current { background: rgba(57, 255, 106, 0.1); }
.pl-row.is-current .pl-row-t b { color: #39ff6a; color: var(--pl-green); }
.pl-row.is-locked { opacity: .45; }
.pl-row-n { width: 22px; flex: none; text-align: center; font-size: 12px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font-variant-numeric: tabular-nums; }
.pl-row-art { position: relative; width: 46px; height: 46px; flex: none; border-radius: 10px; background: #18251c center / cover no-repeat; display: grid; place-items: center; color: rgba(57, 255, 106, 0.6); overflow: hidden; }
.is-video .pl-row-art { width: 74px; height: 42px; border-radius: 8px; }
.pl-row-art .pl-i { width: 20px; height: 20px; }
.pl-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-row-t b, .pl-row-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row-t b { font-size: 14.5px; font-weight: 700; }
.pl-row-t small { font-size: 12.5px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); }
.pl-row-t small .pl-i { width: 13px; height: 13px; vertical-align: -2px; color: #39ff6a; color: var(--pl-green); }
.pl-row-d { flex: none; font-size: 12px; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font-variant-numeric: tabular-nums; }
.pl-row .pl-icon-btn { width: 38px; height: 38px; flex: none; }
.pl-row .pl-icon-btn .pl-i { width: 20px; height: 20px; }
.pl-row .pl-add { color: #39ff6a; color: var(--pl-green); }
.pl-row .pl-add.is-in { color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); }
/* the "playing" bars on the current row's picture */
.pl-eq { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 12px; background: rgba(0, 0, 0, 0.45); }
.pl-eq i { width: 3px; height: 20px; border-radius: 2px; transform: scaleY(.3); transform-origin: 50% 100%; background: #39ff6a; background: var(--pl-green);  }
.pl-eq i:nth-child(2) { animation-delay: .2s; } .pl-eq i:nth-child(3) { animation-delay: .4s; }
.pl-row.is-current .pl-eq { display: flex; }
.pl-body:not(.is-playing) .pl-eq i { animation-play-state: paused; }
@keyframes pl-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .pl-eq i, .pl-loading span { animation-duration: 3s; } }

.pl-empty { padding: 28px 16px; text-align: center; color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font-size: 14px; line-height: 1.5; }
.pl-empty .pl-btn { margin-top: 12px; }

.pl-pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0 4px; flex-wrap: wrap; }
.pl-pager button { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.11); border: 1px solid var(--pl-line); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.pl-pager button[aria-current="page"] { background: #39ff6a; background: var(--pl-green); color: #06210f; color: var(--pl-ink); border-color: transparent; font-weight: 800; }
.pl-pager button:disabled { opacity: .35; cursor: default; }
.pl-pager .pl-i { width: 18px; height: 18px; vertical-align: middle; }
.pl-pager small { color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font-size: 12px; margin-left: 6px; }

/* one item's actions */
.pl-sheet-back { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.5); }
.pl-sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 460px; padding: 16px 16px calc(16px + 0); padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0)); border-radius: 22px 22px 0 0;
  background: rgba(16, 24, 19, 0.88); animation: pl-up .2s ease; }
@media (min-width: 600px) { .pl-sheet { bottom: 50%; transform: translateY(50%); border-radius: 22px; animation: none; } }
@keyframes pl-up { from { transform: translateY(30px); opacity: 0; } }
.pl-sheet-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.11); border-bottom: 1px solid var(--pl-line); min-width: 0; }
.pl-sheet-h > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-sheet-h b, .pl-sheet-h small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sheet-h small { color: rgba(243, 247, 244, 0.62); color: var(--pl-muted); font-size: 13px; }
.pl-sheet-art { width: 48px; height: 48px; flex: none; border-radius: 10px; background: #18251c center / cover no-repeat; }
.pl-sheet-acts { display: flex; flex-direction: column; padding: 8px 0 12px; }
.pl-sheet-acts button, .pl-sheet-acts a { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 8px; border: 0; border-radius: 12px; background: none; color: #fff; font: inherit; font-size: 15px; text-align: left; cursor: pointer; text-decoration: none; }
.pl-sheet-acts button:hover, .pl-sheet-acts a:hover { background: rgba(255, 255, 255, 0.07); }
.pl-sheet-acts button:disabled { opacity: .4; cursor: default; }
.pl-sheet-acts .is-danger { color: #ff8a80; }

/* compat:rich:start — capable devices only (html.tc-rich, set in the head): glass blur, big soft shadows,
   filters. Weak phones and old browsers use the lighter look in the rules above. */
.tc-rich .pl-bg.has-art { filter: blur(60px) saturate(1.5) brightness(0.55); }
.tc-rich .pl-glass { -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06); background: var(--pl-glass); }
.tc-rich .pl-art { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75); }
.tc-rich .pl-play { box-shadow: 0 14px 34px -10px rgba(57, 255, 106, 0.6); }
.tc-rich .pl-play:hover { box-shadow: 0 16px 40px -8px rgba(57, 255, 106, 0.75); }
/* compat:rich:end */

/* compat:motion:start — decorative movement, only when the phone isn't set to reduce motion */
@media (prefers-reduced-motion: no-preference) {
  .pl-eq i { animation: pl-eq .9s ease-in-out infinite; }
}
/* compat:motion:end */
/* compat:aspect — browsers without aspect-ratio (Chrome < 88, Safari < 15): fixed sizes that match
   the mobile layout, so boxes with a background picture or absolutely placed contents don't collapse. */
@supports not (aspect-ratio: 1 / 1) {
  .pl-art { height: 86vw; max-height: 420px; }
}

/* Weak phones: no huge blurred artwork behind the player (a 60 px blur of a full-screen picture is the
   heaviest thing a cheap GPU can be asked to do) — the green-black wash stays. */
html:not(.tc-rich) .pl-bg.has-art { background-image: none !important; }
/* The site's top bar and bottom bar on the player page (22 Nov) */
.pl-body { padding-top: 50px; padding-bottom: calc(84px + 0px); padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.pl-body .pl-top { top: 50px; justify-content: center; }
.pl-body .pl-top #plExit { position: absolute; right: 14px; }
@media (min-width: 1024px) { .pl-body { padding-bottom: 24px; } }

/* Songs from this device (22 Nov) */
.pl-dev { font-style: normal; font-size: 11px; color: #9fe8b5; }
.pl-dev-add { display: flex; flex-direction: column; align-items: center; margin: 0 0 12px; padding: 12px; text-align: center; }
.pl-dev-add small { display: block; margin-top: 4px; font-weight: 400; font-size: 12px; opacity: .75; }

/* compat:no-flexgap:start — rebuilt by tools/css_compat.py: spacing for engines without flex gap
   (html.no-flexgap, set in the head). Edit the gap in the rule above, then run the tool. */
.no-flexgap .pl-top > :not(:last-child) { margin-right: 10px; }
.no-flexgap .pl-brand > :not(:last-child) { margin-right: 8px; }
.no-flexgap .pl-modes > :not(:last-child) { margin-right: 4px; }
.no-flexgap .pl-mode > :not(:last-child) { margin-right: 6px; }
.no-flexgap .pl-takeover > * { margin-right: 10px; margin-bottom: 10px; }
.no-flexgap .pl-now > :not(:last-child) { margin-bottom: 14px; }
.no-flexgap .pl-stage-tools > :not(:last-child) { margin-right: 4px; }
.no-flexgap .pl-meta > :not(:last-child) { margin-right: 10px; }
.no-flexgap .pl-tabs > :not(:last-child) { margin-right: 6px; }
.no-flexgap .pl-tab > :not(:last-child) { margin-right: 8px; }
.no-flexgap .pl-qhead > * { margin-right: 8px; margin-bottom: 8px; }
.no-flexgap .pl-qtools > :not(:last-child) { margin-right: 6px; }
.no-flexgap .pl-btn > :not(:last-child) { margin-right: 6px; }
.no-flexgap .pl-search > :not(:last-child) { margin-right: 8px; }
.no-flexgap .pl-list > :not(:last-child) { margin-bottom: 2px; }
.no-flexgap .pl-row > :not(:last-child) { margin-right: 12px; }
.no-flexgap .pl-row-t > :not(:last-child) { margin-bottom: 2px; }
.no-flexgap .pl-pager > * { margin-right: 6px; margin-bottom: 6px; }
.no-flexgap .pl-sheet-h > :not(:last-child) { margin-right: 12px; }
.no-flexgap .pl-sheet-h > div > :not(:last-child) { margin-bottom: 2px; }
.no-flexgap .pl-sheet-acts button > :not(:last-child), .no-flexgap .pl-sheet-acts a > :not(:last-child) { margin-right: 14px; }
/* compat:no-flexgap:end */
