/* Vlotube Explore hubs - Shop, Music, Live, Movies & TV.
   Scoped to .vth so it never touches the host theme. .vth-dark is added by
   hubs.js when the page behind it is dark (night mode, Studio dark, ...). */

.vth {
  --vth-fg: #0f0f0f;
  --vth-fg2: #606060;
  --vth-surface: rgba(0, 0, 0, .05);
  --vth-surface2: rgba(0, 0, 0, .09);
  --vth-line: rgba(0, 0, 0, .1);
  --vth-card: #fff;
  --vth-accent: #065fd4;
  --vth-accent-fg: #fff;
  --vth-live: #e62117;
  --vth-sale: #cc0000;
  --vth-ok: #1e8e3e;
  --vth-radius: 12px;
  --vth-ease: cubic-bezier(.2, .7, .2, 1);
  color: var(--vth-fg);
  font-family: "Roboto", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 8px 0 48px;
}
.vth *, .vth *::before, .vth *::after { box-sizing: border-box; }
.vth.vth-dark, .vth--movies {
  --vth-fg: #f1f1f1;
  --vth-fg2: #aaa;
  --vth-surface: rgba(255, 255, 255, .08);
  --vth-surface2: rgba(255, 255, 255, .14);
  --vth-line: rgba(255, 255, 255, .12);
  --vth-card: #1f1f1f;
  --vth-accent: #3ea6ff;
  --vth-accent-fg: #0f0f0f;
}
.vth a { color: inherit; text-decoration: none; }
.vth a:hover { text-decoration: none; }
.vth img { max-width: 100%; display: block; }
.vth svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vth button { font: inherit; color: inherit; }
.vth :focus-visible { outline: 2px solid var(--vth-accent); outline-offset: 2px; border-radius: 6px; }
.vth [hidden] { display: none !important; }

/* ---- type & primitives ---- */
.vth-h1 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 700; margin: 0; letter-spacing: -.01em; color: var(--vth-fg); }
.vth-h2 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0; color: var(--vth-fg); display: flex; align-items: center; gap: 10px; }
.vth-sub { color: var(--vth-fg2); margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
.vth-lead { font-size: 15px; line-height: 1.55; color: var(--vth-fg2); margin: 0 0 18px; }
.vth-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--vth-fg2); }
.vth-count { font-size: 13px; font-weight: 500; background: var(--vth-surface); color: var(--vth-fg2); border-radius: 999px; padding: 2px 9px; }
.vth-link { color: var(--vth-accent) !important; font-weight: 600; font-size: 14px; margin-left: auto; }
.vth-section { margin: 28px 0; }
.vth-prose { font-size: 15px; line-height: 1.65; color: var(--vth-fg); overflow-wrap: anywhere; }
.vth-prose a { color: var(--vth-accent); }

.vth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s var(--vth-ease), box-shadow .15s; background: var(--vth-surface); color: var(--vth-fg) !important; }
.vth-btn svg { width: 18px; height: 18px; }
.vth-btn:hover { background: var(--vth-surface2); }
.vth-btn:active { transform: scale(.97); }
.vth-btn--primary { background: var(--vth-fg); color: var(--vth-card) !important; }
.vth.vth-dark .vth-btn--primary, .vth--movies .vth-btn--primary { color: #0f0f0f !important; }
.vth-btn--primary:hover { background: var(--vth-fg); opacity: .88; }
.vth-btn--primary svg { fill: currentColor; stroke: none; }
.vth-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--vth-line); }
.vth-btn--ghost svg[viewBox] path[d^="M8 5.5"] { fill: currentColor; stroke: none; }
.vth-btn--live { background: var(--vth-live); color: #fff !important; }
.vth-btn--live:hover { background: #c4150d; }
.vth-btn--light { background: #fff; color: #0f0f0f !important; }
.vth-btn--light:hover { background: rgba(255, 255, 255, .85); }
.vth-btn--light svg { fill: currentColor; stroke: none; }
.vth-btn--glass { background: rgba(109, 109, 110, .7); color: #fff !important; backdrop-filter: blur(6px); }
.vth-btn--glass:hover { background: rgba(109, 109, 110, .5); }
.vth-btn--block { width: 100%; height: 46px; font-size: 15px; }
.vth-btn[disabled] { opacity: .5; cursor: not-allowed; }
.vth-iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--vth-fg); transition: background .15s; }
.vth-iconbtn:hover { background: var(--vth-surface2); }
.vth-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.vth-badge { position: absolute; top: 8px; left: 8px; background: rgba(15, 15, 15, .82); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 7px; border-radius: 6px; }
.vth-badge--sale { background: var(--vth-sale); }
.vth-badge--muted { background: rgba(15, 15, 15, .6); }
.vth-pinfo .vth-badge, .vth-price .vth-badge { position: static; }
.vth-tag { display: inline-block; font-size: 12px; color: var(--vth-fg2); background: var(--vth-surface); padding: 1px 8px; border-radius: 999px; margin-top: 4px; }
.vth-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vth-live); margin-right: 6px; vertical-align: middle; animation: vth-pulse 1.6s infinite; }
@keyframes vth-pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 33, 23, .55); } 70% { box-shadow: 0 0 0 7px rgba(230, 33, 23, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 33, 23, 0); } }

.vth-input { height: 40px; border-radius: 10px; border: 1px solid var(--vth-line); background: var(--vth-card); color: var(--vth-fg); padding: 0 14px; font-size: 14px; width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.vth-input:focus { outline: none; border-color: var(--vth-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vth-accent) 22%, transparent); }
.vth-input--select { width: auto; padding-right: 30px; }
.vth-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--vth-fg2); margin: 0; }
.vth-error { background: rgba(204, 0, 0, .09); color: var(--vth-sale); border-radius: 8px; padding: 10px 12px; margin: 0; font-size: 14px; }

/* ---- page header ---- */
.vth-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 22px; flex-wrap: wrap; }
.vth-head__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--vth-hub1, #ff4e45), var(--vth-hub2, #c50b73)); color: #fff; box-shadow: 0 8px 20px -8px var(--vth-hub1, #ff4e45); flex: none; }
.vth-head__svg { width: 28px !important; height: 28px !important; }
.vth-head__text { flex: 1 1 240px; min-width: 0; }
.vth-head__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vth--shop { --vth-hub1: #ff8a00; --vth-hub2: #e52e71; }
.vth--music { --vth-hub1: #ff0f7b; --vth-hub2: #7b2ff7; }
.vth--live { --vth-hub1: #ff3b30; --vth-hub2: #ff9500; }
.vth-wallet { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--vth-surface); font-weight: 600; font-size: 14px; }
.vth-wallet .vth-ico { width: 18px; height: 18px; }

/* ---- chips / toolbar ---- */
.vth-toolbar { display: flex; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.vth-toolbar .vth-input[type="search"] { flex: 1 1 260px; max-width: 520px; border-radius: 999px; padding-left: 18px; }
.vth-chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 0 8px; scrollbar-width: none; }
.vth-chips::-webkit-scrollbar { display: none; }
.vth-chip { flex: none; height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--vth-surface); font-size: 14px; font-weight: 500; transition: background .15s; white-space: nowrap; }
.vth-chip:hover { background: var(--vth-surface2); }
.vth-chip.is-on { background: var(--vth-fg); color: var(--vth-card) !important; }
.vth.vth-dark .vth-chip.is-on, .vth--movies .vth-chip.is-on { color: #0f0f0f !important; }
.vth-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 0; }
.vth-crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--vth-fg2); margin: 4px 0 16px; flex-wrap: wrap; }
.vth-crumbs a:hover { color: var(--vth-fg); }
.vth-crumbs span:last-child { color: var(--vth-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---- rows ---- */
.vth-row { margin: 30px 0; position: relative; }
.vth-row__head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.vth-row__head .vth-btn { margin-left: auto; }
.vth-row__head .vth-link + .vth-row__nav { margin-left: 8px; }
.vth-row__nav { display: flex; gap: 4px; margin-left: auto; }
.vth-row__head .vth-link ~ .vth-row__nav { margin-left: 4px; }
.vth-row__nav .vth-iconbtn { box-shadow: inset 0 0 0 1px var(--vth-line); }
.vth-row__nav .vth-iconbtn[disabled] { opacity: .35; cursor: default; }
.vth-row__track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--vth-col, 200px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.vth-row__track::-webkit-scrollbar { display: none; }
.vth-row__track > * { scroll-snap-align: start; }
@media (max-width: 640px) { .vth-row__nav { display: none; } .vth-row__track { gap: 12px; } }

.vth-grid { display: grid; gap: 22px 16px; }
.vth-grid--products { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.vth-grid--streams { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vth-grid--posters { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.vth-empty { text-align: center; padding: 56px 16px; border-radius: var(--vth-radius); background: var(--vth-surface); margin: 12px 0 24px; }
.vth-empty__art { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--vth-surface2); color: var(--vth-fg2); }
.vth-empty__art svg { width: 32px; height: 32px; }
.vth-empty h3 { margin: 0 0 6px; font-size: 18px; color: var(--vth-fg); }
.vth-empty p { color: var(--vth-fg2); margin: 0 0 18px; }

/* ---- homepage shelf ---- */
.vth-shelf { padding: 4px 0 18px; max-width: none; }
.vth-shelf__title { font-size: 18px; font-weight: 700; margin: 0 0 12px; color: var(--vth-fg); }
.vth-shelf__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.vth-tile { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; overflow: hidden; color: #fff !important; min-height: 84px; background: linear-gradient(135deg, var(--a), var(--b)); isolation: isolate; transition: transform .25s var(--vth-ease), box-shadow .25s var(--vth-ease); }
.vth-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 55%); z-index: -1; }
.vth-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px var(--a); }
.vth-tile--shop { --a: #ff8a00; --b: #e52e71; }
.vth-tile--music { --a: #ff0f7b; --b: #7b2ff7; }
.vth-tile--movies { --a: #141e30; --b: #8e0e00; }
.vth-tile--live { --a: #ff3b30; --b: #ff9500; }
.vth-tile__ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.vth-tile__svg { width: 26px !important; height: 26px !important; }
.vth-tile__body { display: flex; flex-direction: column; min-width: 0; }
.vth-tile__name { font-size: 17px; font-weight: 700; line-height: 1.2; }
.vth-tile__meta { font-size: 13px; opacity: .9; margin-top: 2px; }
.vth-tile .vth-dot { background: #fff; }

/* ================================ SHOP ================================ */
.vth-feature { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; border-radius: 20px; overflow: hidden; margin: 0 0 22px; background: linear-gradient(120deg, #fff4e6, #ffe3ec); color: #1b1b1b !important; padding: 28px 32px; min-height: 240px; transition: box-shadow .25s; }
.vth.vth-dark .vth-feature { background: linear-gradient(120deg, #3a2410, #3b1225); color: #fff !important; }
.vth-feature:hover { box-shadow: 0 18px 40px -22px rgba(229, 46, 113, .6); }
.vth-feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vth-feature__title { font-size: clamp(22px, 3vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.vth-feature__summary { font-size: 15px; opacity: .8; max-width: 46ch; }
.vth-feature .vth-eyebrow { color: #e52e71; }
.vth-feature__img img { width: 100%; max-height: 260px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .18)); transition: transform .5s var(--vth-ease); }
.vth-feature:hover .vth-feature__img img { transform: scale(1.04) rotate(-1deg); }
@media (max-width: 720px) { .vth-feature { grid-template-columns: 1fr; padding: 22px; } .vth-feature__img { order: -1; } }

.vth-product { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vth-product__img { position: relative; aspect-ratio: 1; border-radius: var(--vth-radius); overflow: hidden; background: var(--vth-surface); }
.vth-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--vth-ease); }
.vth-product:hover .vth-product__img img { transform: scale(1.05); }
.vth-product__title { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.vth-product__price { font-size: 15px; font-weight: 700; }
.vth-product__price s, .vth-price s { color: var(--vth-fg2); font-weight: 400; font-size: .85em; margin-left: 4px; }
.vth-row--products { --vth-col: 190px; }

.vth-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .vth-pdp { grid-template-columns: 1fr; gap: 20px; } }
.vth-gallery { position: sticky; top: 76px; }
@media (max-width: 900px) { .vth-gallery { position: static; } }
.vth-gallery__main { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--vth-surface); }
.vth-gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.vth-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.vth-thumb { width: 72px; height: 72px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--vth-surface); cursor: pointer; }
.vth-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vth-thumb.is-on { border-color: var(--vth-fg); }
.vth-pinfo .vth-h1 { margin: 6px 0 10px; }
.vth-price { font-size: 26px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vth-pmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--vth-fg2); margin: 0 0 14px; }
.vth-stock { color: var(--vth-ok); font-weight: 600; }
.vth-stock.is-out { color: var(--vth-sale); }
.vth-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; border-radius: 16px; background: var(--vth-surface); margin: 0 0 16px; }
.vth-checkout > .vth-field:first-of-type { grid-column: 1 / -1; max-width: 140px; }
.vth-checkout .vth-field--wide, .vth-checkout .vth-summary, .vth-checkout .vth-error, .vth-checkout .vth-btn, .vth-ship { grid-column: 1 / -1; }
.vth-ship { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vth-ship__h { grid-column: 1 / -1; font-size: 14px; font-weight: 700; color: var(--vth-fg); margin: 4px 0 0; }
@media (max-width: 480px) { .vth-checkout, .vth-ship { grid-template-columns: 1fr; } }
.vth-summary { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; padding-top: 4px; }
.vth-summary strong { font-size: 20px; }
.vth-summary--muted { font-size: 13px; color: var(--vth-fg2); padding-top: 0; }
.vth-summary--muted a { color: var(--vth-accent); font-weight: 600; }
.vth-linked { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--vth-line); transition: background .15s; }
.vth-linked:hover { background: var(--vth-surface); }
.vth-linked img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.vth-linked span { display: flex; flex-direction: column; min-width: 0; }
.vth-linked strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-linked small { color: var(--vth-fg2); }
.vth-desc { margin: 36px 0; max-width: 820px; }
.vth-desc .vth-h2 { margin-bottom: 12px; }

.vth-orders { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.vth-order { display: flex; gap: 14px; padding: 14px; border-radius: 14px; background: var(--vth-surface); }
.vth-order > img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; flex: none; }
.vth-order__main { min-width: 0; flex: 1; }
.vth-order__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.vth-order__meta { font-size: 13px; color: var(--vth-fg2); margin-top: 4px; }
.vth-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--vth-surface2); }
.vth-status--paid, .vth-status--processing { background: rgba(6, 95, 212, .12); color: var(--vth-accent); }
.vth-status--shipped { background: rgba(255, 149, 0, .16); color: #b86e00; }
.vth-status--completed { background: rgba(30, 142, 62, .14); color: var(--vth-ok); }
.vth-status--cancelled, .vth-status--refunded { background: rgba(204, 0, 0, .1); color: var(--vth-sale); }
.vth-delivery { margin-top: 10px; font-size: 14px; }
.vth-delivery summary { cursor: pointer; font-weight: 600; color: var(--vth-accent); }
.vth-delivery .vth-prose { padding: 10px 12px; margin-top: 8px; border-radius: 10px; background: var(--vth-card); }
.vth-watchshelf { padding: 0; max-width: none; margin: 16px 0; }
.vth-watchshelf .vth-row { margin: 0; }

/* =============================== MUSIC =============================== */
.vth-mhero { position: relative; display: flex; align-items: center; gap: 28px; padding: 28px; border-radius: 24px; overflow: hidden; margin: 0 0 22px; color: #fff; isolation: isolate; background: #1b1026; }
.vth-mhero::before { content: ""; position: absolute; inset: -40px; background-image: var(--vth-art); background-size: cover; background-position: center; filter: blur(46px) saturate(1.6) brightness(.55); transform: scale(1.2); z-index: -2; }
.vth-mhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1)); z-index: -1; }
.vth-mhero__art { width: clamp(140px, 22vw, 220px); aspect-ratio: 1; border-radius: 14px; overflow: hidden; flex: none; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); }
.vth-mhero__art img { width: 100%; height: 100%; object-fit: cover; }
.vth-mhero__text { min-width: 0; }
.vth-mhero__title { font-size: clamp(24px, 3.6vw, 44px); font-weight: 800; line-height: 1.08; margin: 6px 0 4px; letter-spacing: -.02em; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vth-mhero .vth-sub, .vth-mhero .vth-eyebrow { color: rgba(255, 255, 255, .8); }
.vth-mhero .vth-btn--primary { background: #fff; color: #0f0f0f !important; }
.vth-mhero .vth-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
@media (max-width: 560px) { .vth-mhero { flex-direction: column; align-items: flex-start; padding: 20px; } }

.vth-quick { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-auto-columns: minmax(280px, 1fr); gap: 4px 20px; overflow-x: auto; scrollbar-width: none; }
.vth-quick::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .vth-quick { grid-auto-columns: 86%; } }
.vth-track { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; min-width: 0; transition: background .15s; }
.vth-track:hover, .vth-track.is-playing { background: var(--vth-surface); }
.vth-track__art { position: relative; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; border: 0; padding: 0; flex: none; cursor: pointer; background: var(--vth-surface2); }
.vth-track__art img { width: 100%; height: 100%; object-fit: cover; }
.vth-track__play, .vth-album__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transition: opacity .15s; }
.vth-track__play svg, .vth-album__play svg { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.vth-track:hover .vth-track__play, .vth-track.is-playing .vth-track__play { opacity: 1; }
.vth-track.is-playing .vth-track__play svg { display: none; }
.vth-track.is-playing .vth-track__play::before { content: ""; width: 16px; height: 14px; background: linear-gradient(#fff, #fff) 0 100%/3px 60% no-repeat, linear-gradient(#fff, #fff) 6px 100%/3px 100% no-repeat, linear-gradient(#fff, #fff) 12px 100%/3px 40% no-repeat; animation: vth-eq .9s infinite alternate; }
@keyframes vth-eq { 50% { background-size: 3px 100%, 3px 40%, 3px 80%; } 100% { background-size: 3px 30%, 3px 70%, 3px 100%; } }
.vth-track__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vth-track__title { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-track.is-playing .vth-track__title { color: var(--vth-accent) !important; }
.vth-track__sub { font-size: 13px; color: var(--vth-fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-track__queue { opacity: 0; transition: opacity .15s; }
.vth-track:hover .vth-track__queue, .vth-track__queue:focus-visible { opacity: 1; }
@media (hover: none) { .vth-track__queue { opacity: .7; } }
.vth-track__time { font-size: 13px; color: var(--vth-fg2); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }

.vth-tracklist { list-style: none; margin: 0; padding: 0; }
.vth-tracklist li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--vth-line); padding-right: 8px; }
.vth-tracklist li:last-child { border-bottom: 0; }
.vth-tracklist .vth-track { flex: 1; }
.vth-rank { width: 30px; text-align: center; font-weight: 700; font-size: 15px; color: var(--vth-fg2); font-variant-numeric: tabular-nums; flex: none; }
.vth-tracklist li:nth-child(-n+3) .vth-rank { color: var(--vth-fg); }

.vth-album { display: flex; flex-direction: column; min-width: 0; }
.vth-album__art { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--vth-surface2); margin-bottom: 8px; }
.vth-album__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--vth-ease); }
.vth-album:hover .vth-album__art img { transform: scale(1.06); }
.vth-album:hover .vth-album__play { opacity: 1; }
.vth-album__play svg { width: 44px; height: 44px; padding: 12px; background: rgba(0, 0, 0, .6); border-radius: 50%; box-sizing: content-box; }
.vth-album__title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-album__sub { font-size: 13px; color: var(--vth-fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-mosaic { display: grid; grid-template-columns: 1fr 1fr; }
.vth-mosaic img { aspect-ratio: 1; }
.vth-mosaic img:only-child { grid-column: 1 / -1; }
.vth--music .vth-row { --vth-col: 180px; }
.vth-artist { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.vth-artist img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: 6px; transition: transform .3s var(--vth-ease); background: var(--vth-surface2); }
.vth-artist:hover img { transform: scale(1.04); }
.vth-artist strong { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-artist small { font-size: 12px; color: var(--vth-fg2); }
.vth-row:has(.vth-artist) { --vth-col: 150px; }

/* ================================ LIVE ================================ */
.vth-live { position: absolute; top: 8px; left: 8px; background: var(--vth-live); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; }
.vth-viewers { position: absolute; bottom: 8px; left: 8px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12px; font-weight: 500; padding: 2px 7px; border-radius: 4px; }
.vth-viewers--inline { position: static; background: none; color: var(--vth-fg2); padding: 0; display: flex; align-items: center; }
.vth-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: var(--vth-surface2); }
.vth-avatar--lg { width: 56px; height: 56px; }
.vth-avatar--live { box-shadow: 0 0 0 2px var(--vth-card, #fff), 0 0 0 4px var(--vth-live); }

.vth-lhero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; background: #0f0f0f; color: #fff; margin: 0 0 26px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .6); }
@media (max-width: 900px) { .vth-lhero { grid-template-columns: 1fr; } }
.vth-lhero__player { position: relative; aspect-ratio: 16/9; display: block; overflow: hidden; }
.vth-lhero__player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vth-ease); }
.vth-lhero__player:hover img { transform: scale(1.03); }
.vth-lhero__player .vth-live { top: 14px; left: 14px; font-size: 13px; padding: 3px 8px; }
.vth-lhero__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); }
.vth-lhero__play svg { width: 34px; height: 34px; padding: 18px; border-radius: 50%; background: rgba(0, 0, 0, .55); fill: #fff; stroke: none; box-sizing: content-box; transition: transform .2s var(--vth-ease); }
.vth-lhero__player:hover .vth-lhero__play svg { transform: scale(1.1); }
.vth-lhero__side { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vth-lhero__channel { display: flex; align-items: center; gap: 12px; }
.vth-lhero__channel strong { display: block; font-size: 16px; }
.vth-lhero__side .vth-avatar--live { box-shadow: 0 0 0 2px #0f0f0f, 0 0 0 4px var(--vth-live); }
.vth-lhero__title { font-size: 20px; font-weight: 700; margin: 4px 0 0; line-height: 1.3; color: #fff; }
.vth-lhero__side .vth-sub, .vth-lhero__side .vth-eyebrow, .vth-lhero__side .vth-viewers--inline { color: #aaa; }
.vth-lhero__side .vth-btn--live { align-self: flex-start; }
.vth-lhero__list { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 12px; }
.vth-mini { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.vth-mini:hover { background: rgba(255, 255, 255, .08); }
.vth-mini span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vth-mini strong { font-size: 14px; }
.vth-mini small { font-size: 12px; color: #aaa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-mini em { font-style: normal; font-size: 12px; color: #ddd; white-space: nowrap; }
.vth-mini .vth-dot { width: 6px; height: 6px; margin-right: 4px; }

.vth-stream { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vth-stream__thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--vth-radius); overflow: hidden; background: var(--vth-surface2); display: block; }
.vth-stream__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--vth-ease); }
.vth-stream:hover .vth-stream__thumb img { transform: scale(1.04); }
.vth-stream__info { display: flex; gap: 10px; }
.vth-stream__info > div { min-width: 0; display: flex; flex-direction: column; }
.vth-stream__title { font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vth-stream__sub { font-size: 13px; color: var(--vth-fg2); }
.vth-row--streams { --vth-col: 300px; }

/* =============================== MOVIES ============================== */
.vth--movies { background: #0b0b0f; color: var(--vth-fg); border-radius: 0 0 20px 20px; padding: 0 0 40px; max-width: none; overflow: hidden; }
.vth--movies .vth-row, .vth--movies .vth-section, .vth--movies .vth-chips, .vth--movies .vth-attribution, .vth--movies .vth-head, .vth--movies > .vth-empty { margin-left: clamp(14px, 3vw, 44px); margin-right: clamp(14px, 3vw, 44px); }
.vth--movies > .vth-head { padding-top: 20px; }
.vth-hero { position: relative; height: clamp(360px, 56vw, 640px); overflow: hidden; margin: 0 0 8px; }
.vth-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.vth-hero__slide.is-on { opacity: 1; visibility: visible; }
.vth-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.vth-hero__slide.is-on .vth-hero__bg { transform: scale(1); }
.vth-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 15, .92) 0%, rgba(11, 11, 15, .6) 38%, rgba(11, 11, 15, 0) 70%), linear-gradient(0deg, #0b0b0f 0%, rgba(11, 11, 15, 0) 36%); }
.vth-hero__content { position: absolute; left: clamp(16px, 4vw, 56px); bottom: clamp(40px, 9vw, 110px); width: min(560px, 88%); color: #fff; }
.vth-hero__slide.is-on .vth-hero__content > * { animation: vth-rise .8s var(--vth-ease) both; }
.vth-hero__slide.is-on .vth-hero__content > :nth-child(2) { animation-delay: .08s; }
.vth-hero__slide.is-on .vth-hero__content > :nth-child(3) { animation-delay: .16s; }
.vth-hero__slide.is-on .vth-hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes vth-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.vth-hero__title { font-size: clamp(30px, 5.2vw, 64px); font-weight: 900; line-height: 1; margin: 0 0 12px; letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.vth-hero__logo { max-width: min(420px, 80%); max-height: 150px; object-fit: contain; object-position: left bottom; margin: 0 0 16px; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .6)); }
.vth-hero__facts { font-size: 14px; font-weight: 600; color: #e5e5e5; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.vth-hero__facts span { font-weight: 400; color: #bdbdbd; }
.vth-hero__overview { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.5; color: #ddd; margin: 12px 0 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vth-hero .vth-btn { height: 44px; padding: 0 24px; font-size: 16px; border-radius: 8px; }
.vth-hero__dots { position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(40px, 9vw, 110px); display: flex; gap: 8px; }
.vth-hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s var(--vth-ease), background .3s; }
.vth-hero__dots button.is-on { width: 28px; background: #fff; }
@media (max-width: 640px) { .vth-hero__dots { display: none; } .vth-hero__shade { background: linear-gradient(0deg, #0b0b0f 8%, rgba(11, 11, 15, .5) 60%, rgba(11, 11, 15, .2)); } }

.vth-chips--dark { position: relative; z-index: 2; margin-top: -6px; }
.vth--movies .vth-row { --vth-col: 170px; margin-top: 26px; margin-bottom: 26px; }
.vth--movies .vth-row__nav .vth-iconbtn { color: #fff; }
.vth-mcard { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vth-mcard__img { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #1c1c22; transition: transform .3s var(--vth-ease), box-shadow .3s var(--vth-ease); }
.vth-mcard.is-poster .vth-mcard__img { aspect-ratio: 2/3; }
.vth-mcard__img img { width: 100%; height: 100%; object-fit: cover; }
.vth-mcard:hover .vth-mcard__img { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .9), 0 0 0 2px rgba(255, 255, 255, .85); }
.vth-mcard__title { font-size: 14px; font-weight: 600; color: #eee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vth-mcard__meta { font-size: 12px; color: #9a9aa3; }
.vth-progress { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.vth-progress i { display: block; height: 100%; background: #e50914; }
.vth-row--ranked { --vth-col: 230px !important; }
.vth-mcard.has-rank { flex-direction: row; align-items: flex-end; gap: 0; }
.vth-mcard__rank { font-size: 132px; line-height: .74; font-weight: 900; letter-spacing: -.08em; color: #0b0b0f; -webkit-text-stroke: 3px #555; margin-right: -14px; flex: none; width: 88px; text-align: right; user-select: none; }
.vth-mcard.has-rank .vth-mcard__img { width: 130px; flex: none; aspect-ratio: 2/3; }
.vth-mcard.has-rank .vth-mcard__title, .vth-mcard.has-rank .vth-mcard__meta { display: none; }
.vth-mcard.has-rank:hover .vth-mcard__rank { -webkit-text-stroke-color: #fff; }

.vth-attribution { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #8a8a93; margin-top: 36px; }
.vth-attribution svg { width: 54px; height: 39px; stroke: none; }

.vth-dialog { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .72); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 12px; overflow-y: auto; animation: vth-fade .2s ease; }
@keyframes vth-fade { from { opacity: 0; } }
.vth-dialog__panel { position: relative; width: min(860px, 100%); background: #181818; color: #eee; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: vth-rise .35s var(--vth-ease); }
.vth-dialog__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: #181818 !important; color: #fff; }
.vth-dialog__media { position: relative; aspect-ratio: 16/9; background: #000; }
.vth-dialog__media img, .vth-dialog__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vth-dialog__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, #181818, transparent); pointer-events: none; }
.vth-dialog__media.has-video::after { display: none; }
.vth-dialog__body { padding: 8px clamp(18px, 4vw, 40px) 32px; }
.vth-dialog__body h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 0 0 8px; color: #fff; }
.vth-dialog__facts { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; color: #bcbcbc; margin: 0 0 12px; align-items: center; }
.vth-dialog__facts .vth-cert { border: 1px solid #777; padding: 0 6px; border-radius: 3px; font-size: 12px; }
.vth-dialog__facts .vth-score { color: #46d369; font-weight: 700; }
.vth-dialog__body p { color: #ddd; line-height: 1.6; margin: 12px 0; }
.vth-dialog__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; margin: 16px 0 0; }
.vth-dialog__body dt { color: #8a8a93; }
.vth-dialog__body dd { margin: 0; color: #ddd; }
body.vth-lock { overflow: hidden; }

/* ======================== persistent music player ===================== */
.vtmp { --mp-bg: rgba(255, 255, 255, .92); --mp-fg: #0f0f0f; --mp-fg2: #606060; --mp-line: rgba(0, 0, 0, .1); --mp-accent: #ff0033; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: var(--mp-bg); color: var(--mp-fg); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, .25); font-family: "Roboto", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.vtmp.is-on { transform: none; }
.vtmp.is-dark { --mp-bg: rgba(24, 24, 28, .92); --mp-fg: #f1f1f1; --mp-fg2: #aaa; --mp-line: rgba(255, 255, 255, .12); }
.vtmp * { box-sizing: border-box; }
.vtmp button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.vtmp svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vtmp__seek { position: absolute; left: 0; right: 0; top: -6px; height: 12px; cursor: pointer; touch-action: none; }
.vtmp__seek::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 3px; background: var(--mp-line); transition: height .15s, top .15s; }
.vtmp__fill { position: absolute; left: 0; top: 5px; height: 3px; background: var(--mp-accent); width: 0; transition: height .15s, top .15s; }
.vtmp__seek:hover::before, .vtmp__seek:hover .vtmp__fill { top: 4px; height: 5px; }
.vtmp__knob { position: absolute; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--mp-accent); transform: scale(0); transition: transform .15s; }
.vtmp__seek:hover .vtmp__knob { transform: scale(1); }
.vtmp__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; height: 72px; padding: 0 16px; }
.vtmp__now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vtmp__art { position: relative; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: #000; flex: none; }
.vtmp__art img { width: 100%; height: 100%; object-fit: cover; }
.vtmp__art.is-video { width: 86px; }
.vtmp__art iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vtmp__meta { min-width: 0; display: flex; flex-direction: column; }
.vtmp__title { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mp-fg) !important; text-decoration: none !important; }
.vtmp__artist { font-size: 13px; color: var(--mp-fg2) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; }
.vtmp__controls { display: flex; align-items: center; gap: 4px; }
.vtmp__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .15s, color .15s; color: var(--mp-fg); }
.vtmp__btn:hover { background: var(--mp-line); }
.vtmp__btn.is-on { color: var(--mp-accent); }
.vtmp__btn--play { width: 48px; height: 48px; }
.vtmp__btn--play svg { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.vtmp__time { font-size: 12px; color: var(--mp-fg2); font-variant-numeric: tabular-nums; min-width: 88px; text-align: center; }
.vtmp__side { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.vtmp__vol { width: 90px; accent-color: var(--mp-accent); }
.vtmp__queue { position: absolute; right: 12px; bottom: 80px; width: min(380px, calc(100vw - 24px)); max-height: min(60vh, 520px); overflow-y: auto; background: var(--mp-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 14px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .4); padding: 8px; }
.vtmp__queue h4 { margin: 6px 10px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mp-fg2); }
.vtmp__qitem { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border-radius: 8px; text-align: left; }
.vtmp__qitem:hover { background: var(--mp-line); }
.vtmp__qitem.is-current { background: var(--mp-line); }
.vtmp__qitem img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex: none; }
.vtmp__qitem span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vtmp__qitem strong { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtmp__qitem.is-current strong { color: var(--mp-accent); }
.vtmp__qitem small { font-size: 12px; color: var(--mp-fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtmp__hint { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); background: #0f0f0f; color: #fff; font-size: 13px; padding: 8px 14px; border-radius: 8px; white-space: nowrap; pointer-events: none; }
body.vtmp-open { padding-bottom: 76px !important; }
@media (max-width: 760px) {
  .vtmp__bar { grid-template-columns: minmax(0, 1fr) auto; height: 64px; padding: 0 8px 0 10px; }
  .vtmp__side .vtmp__vol, .vtmp__side [data-mp="mute"], .vtmp__time, .vtmp__controls [data-mp="shuffle"], .vtmp__controls [data-mp="repeat"], .vtmp__controls [data-mp="prev"] { display: none; }
  .vtmp__side { display: none; }
  .vtmp__controls [data-mp="queue"] { display: grid; }
}
.vtmp__controls [data-mp="queue"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .vth *, .vtmp, .vtmp * { animation: none !important; transition: none !important; }
}

/* music artist / genre pages */
.vth-mhero__art.is-round { border-radius: 50%; }
.vth-mhero--page .vth-mhero__title { font-size: clamp(28px, 4.2vw, 52px); }
