/* ============================================================
   viewer.css — Design system do Tele VIP.

   Dark-only, inspirado na densidade de um mensageiro (lista de canais,
   pastas, abas de mídia), mas com identidade própria: azul safira, vinho,
   serifa de sistema no wordmark/H1/numerais e "A Estante" como elemento
   de assinatura.

   Regras:
   · Nenhuma fonte/CSS externo. Paleta fechada nos tokens abaixo.
   · Prefixo `v-` em todos os componentes.
   · Base 15–16px, labels 10px uppercase, grid de 4px, container 1120px.
   · Alvos de toque ≥44px; foco sempre visível (azul).
   · Sem neon, sem gradiente arco-íris, sem emoji.
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. TOKENS
   ──────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;

  /* Superfícies */
  --bg: #0A0A0D;
  --surface: #131318;
  --surface-2: #1B1B22;
  --surface-3: #24242D;
  --border: #2A2A33;
  --border-strong: #3A3A46;

  /* Texto */
  --text: #F2EDE4;
  --muted: #9C97A6;
  --faint: #837E8C;

  /* Ação / semântica */
  --accent: #2AABEE;
  --accent-strong: #54B9F0;
  --accent-soft: rgba(42, 171, 238, 0.14);
  --wine: #7A2436;
  --wine-soft: rgba(122, 36, 54, 0.28);
  --free: #58C08A;
  --free-soft: rgba(88, 192, 138, 0.13);
  --danger: #E5484D;
  --danger-soft: rgba(229, 72, 77, 0.13);

  /* Pastas */
  --folder-1: #2AABEE;
  --folder-2: #C25470;
  --folder-3: #8C7BD8;
  --folder-4: #4FA3A5;
  --folder-5: #C77B4E;
  --folder-6: #7D8597;

  /* Tipografia */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --fs-label: 10px;
  --fs-sm: 13px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --tracking-label: 0.12em;

  /* Espaçamento (base 4px) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Layout */
  --container: 1120px;
  --gutter: 16px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --topbar-h: 64px;
  --bottomnav-h: 56px;
  --sidebar-w: 236px;

  /* Movimento */
  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 240ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);

  /* Sombras */
  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 64px rgba(0, 0, 0, 0.55);

  --z-topbar: 100;
  --z-sidebar: 110;
  --z-bottomnav: 120;
  --z-modal: 500;
  --z-toast: 600;
}

/* ────────────────────────────────────────────────────────────
   2. RESET / BASE
   ──────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + 16px);
}

body.v-login-body,
body.v-player-body {
  padding-bottom: 0;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #0A0A0D;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ────────────────────────────────────────────────────────────
   3. UTILITÁRIOS
   ──────────────────────────────────────────────────────────── */

.v-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #0A0A0D;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}

.v-skip:focus {
  transform: translateY(0);
}

.v-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.v-icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.v-icon--sm {
  width: 16px;
  height: 16px;
}

.v-eyebrow {
  margin: 0;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted);
}

.v-display {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 8vw, 46px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.v-link:hover {
  color: var(--accent-strong);
}

.v-verified {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

.v-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.v-page {
  padding: var(--sp-6) 0 var(--sp-12);
}

.v-page--narrow {
  max-width: 560px;
  margin: 0 auto;
}

.v-main {
  min-height: calc(100dvh - var(--topbar-h));
  outline: none;
}

/* ────────────────────────────────────────────────────────────
   4. TOPBAR
   ──────────────────────────────────────────────────────────── */

.v-topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-topbar);
  background: rgba(10, 10, 13, 0.94);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.v-topbar__inner {
  height: var(--topbar-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.v-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
  flex: none;
}

.v-wordmark__main {
  color: var(--text);
}

.v-wordmark__accent {
  color: var(--accent);
}

.v-topbar__search {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.v-topbar__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.v-topbar__input {
  width: 100%;
  height: 44px;
  padding-left: 42px;
  padding-right: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--dur-2), background var(--dur-2);
}

.v-topbar__input::placeholder {
  color: var(--faint);
}

.v-topbar__input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}

.v-topbar__account {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--dur-2), color var(--dur-2);
}

.v-topbar__account:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.v-topbar__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.v-topbar__avatar .v-icon {
  width: 16px;
  height: 16px;
}

/* ────────────────────────────────────────────────────────────
   5. SIDEBAR (desktop)
   ──────────────────────────────────────────────────────────── */

.v-sidebar {
  display: none;
}

.v-sidebar {
  overflow-y: auto;
}

.v-navlist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-navitem {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--dur-2), color var(--dur-2);
}

.v-navitem:hover {
  background: var(--surface);
  color: var(--text);
}

.v-navitem[aria-current="page"] {
  background: var(--surface);
  color: var(--accent);
}

.v-navitem[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.v-sidebar__brand {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.09em;
  line-height: 1;
  display: flex;
  gap: 5px;
}

.v-sidebar__eyebrow {
  margin-top: 6px;
}

.v-sidebar__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-sidebar__foot {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* ────────────────────────────────────────────────────────────
   6. BOTTOM NAV (mobile)
   ──────────────────────────────────────────────────────────── */

.v-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-bottomnav);
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(19, 19, 24, 0.97);
  border-top: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.v-bottomnav__item {
  position: relative;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--dur-2);
}

.v-bottomnav__item .v-icon {
  width: 22px;
  height: 22px;
}

.v-bottomnav__item:hover {
  color: var(--text);
}

.v-bottomnav__item[aria-current="page"] {
  color: var(--accent);
}

.v-bottomnav__item[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--accent);
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
    padding-left: var(--sidebar-w);
  }

  /* Login e player são páginas inteiras, sem sidebar: o recuo do shell
     não pode deslocar o conteúdo para a direita. */
  body.v-login-body,
  body.v-player-body {
    padding-left: 0;
  }

  .v-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: var(--z-sidebar);
    width: var(--sidebar-w);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--surface);
    border-right: 1px solid var(--border);
  }

  .v-topbar__inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .v-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .v-bottomnav {
    display: none;
  }
}

@media (min-width: 1280px) {
  .v-container,
  .v-topbar__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ────────────────────────────────────────────────────────────
   7. BOTÕES / INPUTS / PILLS
   ──────────────────────────────────────────────────────────── */

.v-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-2), border-color var(--dur-2),
              color var(--dur-2), transform var(--dur-1);
}

.v-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
}

.v-btn:active {
  transform: translateY(1px);
}

.v-btn:disabled,
.v-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.v-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0A0D;
}

.v-btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.v-btn--secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.v-btn--secondary:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.v-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.v-btn--ghost:hover {
  background: var(--surface);
  color: var(--text);
}

.v-btn--block {
  width: 100%;
}

.v-btn--lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
}

.v-btn .v-icon {
  width: 18px;
  height: 18px;
}

.v-iconbtn {
  appearance: none;
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: color var(--dur-2), border-color var(--dur-2), background var(--dur-2);
}

.v-iconbtn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.v-label {
  display: block;
  margin: 0 0 8px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted);
}

.v-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-base);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}

.v-input::placeholder {
  color: var(--faint);
}

.v-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.v-input[aria-invalid="true"] {
  border-color: var(--danger);
}

/* A topbar usa a altura compacta e o ícone à esquerda; a regra base de
   .v-input (padding 14px) não pode sobrescrever o recuo do ícone. */
.v-topbar .v-topbar__input {
  height: 44px;
  min-height: 44px;
  padding-left: 42px;
  padding-right: 12px;
  font-size: 14px;
}

.v-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}

.v-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.v-pill--accent {
  border-color: rgba(42, 171, 238, 0.42);
  background: var(--accent-soft);
  color: var(--accent);
}

.v-pill--free {
  border-color: rgba(88, 192, 138, 0.38);
  background: var(--free-soft);
  color: var(--free);
}

.v-pill--locked {
  border-color: rgba(122, 36, 54, 0.7);
  background: var(--wine-soft);
  color: #E8A2B2;
}

.v-pill--muted {
  color: var(--muted);
}

.v-spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(242, 237, 228, 0.18);
  border-top-color: var(--accent);
  animation: v-spin 0.9s linear infinite;
  display: inline-block;
}

.v-spinner--lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

@keyframes v-spin {
  to { transform: rotate(360deg); }
}

/* ────────────────────────────────────────────────────────────
   8. CAPAS / A ESTANTE
   ──────────────────────────────────────────────────────────── */

.v-cover,
.v-media__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}

.v-cover__img,
.v-media__thumb img,
.v-channel__heroimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Capa tipográfica: pasta na cor, numeral romano em serifa, small caps. */
.v-shelf {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 12px 10px 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
  background: #121218;
  isolation: isolate;
}

.v-shelf::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--folder, var(--folder-1));
  opacity: 0.22;
}

.v-shelf::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--folder, var(--folder-1));
}

.v-shelf__num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 9vw, 52px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
}

.v-shelf__title {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.v-shelf__count {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.v-cover > .v-shelf,
.v-media__thumb > .v-shelf,
.v-channel__hero > .v-shelf {
  position: absolute;
  inset: 0;
}

.v-cover--row {
  width: 52px;
  height: 68px;
  min-width: 52px;
  border-radius: var(--radius-sm);
}

.v-cover--row .v-shelf {
  padding: 7px 6px 6px 10px;
}

.v-cover--row .v-shelf::after {
  width: 3px;
}

.v-cover--row .v-shelf__num {
  font-size: 22px;
}

.v-cover--row .v-shelf__title,
.v-cover--row .v-shelf__count {
  display: none;
}

.v-shelf--thumb {
  padding: 8px 8px 8px 12px;
}

.v-shelf--thumb .v-shelf__num {
  font-size: 22px;
}

.v-shelf--thumb .v-shelf__title {
  font-size: 8px;
}

.v-shelf--thumb .v-shelf__count {
  display: none;
}

.v-shelf--hero {
  padding: 24px 24px 20px 30px;
  background: #101016;
}

.v-shelf--hero::before {
  opacity: 0.3;
}

.v-shelf--hero::after {
  width: 6px;
}

.v-shelf--hero .v-shelf__num {
  font-size: clamp(64px, 16vw, 120px);
  line-height: 0.82;
}

.v-shelf--hero .v-shelf__title {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.v-shelf--hero .v-shelf__count {
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* ────────────────────────────────────────────────────────────
   9. SEÇÕES / TRILHOS / AVISOS
   ──────────────────────────────────────────────────────────── */

.v-section {
  margin-top: var(--sp-8);
}

.v-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.v-section__titlewrap {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  min-width: 0;
}

.v-section__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.v-section__count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.v-section__action {
  font-size: 13px;
  flex: none;
}

.v-section__more {
  margin-top: var(--sp-4);
}

.v-rail {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 2px 2px 6px;
  margin: -2px -2px 0;
  scrollbar-width: none;
}

.v-rail::-webkit-scrollbar {
  display: none;
}

.v-rail__item {
  flex: none;
  scroll-snap-align: start;
}

.v-rail--covers {
  gap: var(--sp-3);
}

/* Meus canais: mesmos cards do Descobrir, em trilho horizontal. */
.v-rail--channels {
  gap: var(--sp-2);
}

.v-rail--channels .v-channel-row {
  width: min(320px, 82vw);
}

/* No trilho da Home o selo "Membro" e o chevron são redundantes;
   o cadeado + "Liberar" continua visível para canais bloqueados. */
.v-rail--channels .v-channel-row .v-pill--accent,
.v-rail--channels .v-channel-row__chevron {
  display: none;
}

.v-rail--empty {
  display: block;
}

.v-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.v-hint .v-link {
  font-size: 13px;
}

.v-hint--block {
  display: block;
  padding: 18px 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.v-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: var(--sp-4);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.v-note__icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 1px;
}

.v-note__text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ────────────────────────────────────────────────────────────
   10. HOME
   ──────────────────────────────────────────────────────────── */

.v-home {
  padding-top: var(--sp-6);
}

.v-home__greeting-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
}

.v-home__greeting .v-eyebrow {
  margin-bottom: 6px;
}

.v-home__greeting .v-display {
  margin-bottom: 8px;
}

.v-home__sub {
  color: var(--muted);
  font-size: 14px;
}

.v-home__cta {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* Canal compacto no trilho "Meus canais". */
.v-mini {
  width: 196px;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-2), background var(--dur-2);
}

.v-mini::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: var(--folder, var(--folder-1));
}

.v-mini:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.v-avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, var(--folder, var(--folder-1)), #1B1B22 85%);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.v-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-avatar--sm {
  width: 38px;
  height: 38px;
}

.v-avatar--lg {
  width: 100%;
  height: 100%;
  font-size: 22px;
}

.v-mini__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.v-mini__name {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}

.v-mini__name > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-mini__name .v-verified {
  width: 13px;
  height: 13px;
}

.v-mini__meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.v-mini__lock {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: var(--muted);
  flex: none;
}

/* Novidade: capa 3:4 + nome do canal. */
.v-novidade {
  position: relative;
  width: 152px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
}

.v-novidade .v-media__thumb {
  width: 152px;
  transition: transform var(--dur-3) var(--ease-out);
}

.v-novidade:hover .v-media__thumb {
  transform: translateY(-2px);
}

.v-novidade__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.v-novidade__name {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-novidade__sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.v-novidade--skeleton {
  pointer-events: none;
}

.v-novidade--skeleton .v-skel {
  width: 152px;
  aspect-ratio: 3 / 4;
}

/* ────────────────────────────────────────────────────────────
   11. LINHA DE CANAL (Descobrir / busca)
   ──────────────────────────────────────────────────────────── */

.v-channel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-channel-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 84px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
  transition: border-color var(--dur-2), background var(--dur-2),
              transform var(--dur-2);
}

.v-channel-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--folder, var(--folder-1));
}

.v-channel-row:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.v-channel-row:active {
  transform: scale(0.997);
}

.v-channel-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-channel-row__name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.v-channel-row__nametext {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-channel-row__name .v-verified {
  width: 14px;
  height: 14px;
}

.v-channel-row__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-channel-row__handle {
  font-size: 12px;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-channel-row__side {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--muted);
}

.v-channel-row__cta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.v-channel-row__lock {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.v-channel-row__chevron {
  width: 18px;
  height: 18px;
}

/* ────────────────────────────────────────────────────────────
   12. PÁGINAS: CABEÇALHO / BUSCA / CHIPS
   ──────────────────────────────────────────────────────────── */

.v-pagehead {
  padding: var(--sp-6) 0 var(--sp-5);
}

.v-pagehead .v-eyebrow {
  margin-bottom: 8px;
}

.v-pagehead__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.v-pagehead__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.v-pagehead__sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.v-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.v-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.v-search__input {
  flex: 1;
  min-width: 0;
  padding-left: 42px;
  background: var(--surface);
}

.v-search__submit {
  flex: none;
}

.v-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin: 0 -2px var(--sp-3);
  scrollbar-width: none;
}

.v-chips::-webkit-scrollbar {
  display: none;
}

.v-chip {
  appearance: none;
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color var(--dur-2), border-color var(--dur-2), background var(--dur-2);
}

.v-chip::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--folder, var(--faint));
  vertical-align: 1px;
}

.v-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.v-chip.is-active {
  color: #0A0A0D;
  background: var(--accent);
  border-color: var(--accent);
}

.v-chip.is-active::before {
  background: #0A0A0D;
}

@media (min-width: 768px) {
  .v-pagehead {
    padding-top: var(--sp-8);
  }

  .v-discover__search {
    max-width: 560px;
  }
}

/* ────────────────────────────────────────────────────────────
   13. CANAL
   ──────────────────────────────────────────────────────────── */

.v-channel {
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-12);
}

@media (min-width: 768px) {
  .v-channel {
    padding-top: var(--sp-5);
  }
}

.v-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-bottom: var(--sp-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v-crumb:hover {
  color: var(--accent);
}

.v-crumb .v-icon {
  width: 16px;
  height: 16px;
}

.v-channel__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(155deg, var(--folder, var(--folder-1)), #111116 82%);
}

.v-channel__heroimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-channel__head {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: end;
  gap: var(--sp-3);
  padding: 0 var(--sp-2);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.v-channel__avatar {
  width: 80px;
  height: 80px;
  padding: 3px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
}

.v-channel__identity {
  min-width: 0;
  padding-bottom: 2px;
}

.v-channel__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  text-shadow: 0 1px 12px rgba(10, 10, 13, 0.8);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-channel__name > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-channel__name .v-verified {
  width: 18px;
  height: 18px;
}

.v-channel__handle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-channel__handle > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-channel__folder {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
}

.v-channel__dot {
  color: var(--faint);
}

.v-channel__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.v-channel__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
}

.v-channel__cta {
  min-width: 180px;
}

.v-channel__bio {
  margin: var(--sp-4) var(--sp-2) 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v-channel__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin: var(--sp-4) var(--sp-2) 0;
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.v-stat {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-right: var(--sp-3);
  border-right: 1px solid var(--border);
}

.v-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.v-stat__value {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.v-stat__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.v-channel__tabswrap {
  position: sticky;
  top: var(--topbar-h);
  z-index: 20;
  margin-top: var(--sp-4);
  background: rgba(10, 10, 13, 0.96);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.v-tabs {
  display: flex;
  align-items: stretch;
  gap: var(--sp-5);
  overflow-x: auto;
  scrollbar-width: none;
}

.v-tabs::-webkit-scrollbar {
  display: none;
}

.v-tabs__tab {
  appearance: none;
  position: relative;
  min-height: 48px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: color var(--dur-2);
}

.v-tabs__tab:hover {
  color: var(--text);
}

.v-tabs__tab[aria-selected="true"] {
  color: var(--text);
}

.v-tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

.v-tabs__tab[aria-disabled="true"] {
  color: var(--faint);
  cursor: not-allowed;
}

.v-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.v-tabs__tab[aria-selected="true"] .v-tabs__count {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ────────────────────────────────────────────────────────────
   14. GRADE DE MÍDIA
   ──────────────────────────────────────────────────────────── */

.v-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: var(--sp-3);
}

.v-media {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  overflow: hidden;
  text-align: left;
  transition: transform var(--dur-2) var(--ease-out);
}

a.v-media:hover {
  transform: translateY(-1px);
}

.v-media .v-media__thumb {
  border-radius: var(--radius-sm);
}

.v-media--locked .v-media__thumb img {
  filter: blur(14px) saturate(0.6) brightness(0.55);
  transform: scale(1.08);
}

.v-media__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(10, 10, 13, 0.28);
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v-media__lock .v-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.v-media__lock--small {
  inset: auto 6px auto auto;
  top: 6px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.72);
  border: 1px solid rgba(242, 237, 228, 0.14);
}

.v-media__lock--small .v-icon {
  width: 14px;
  height: 14px;
}

.v-media__kind {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 13, 0.68);
  color: var(--text);
}

.v-media__kind .v-icon {
  width: 13px;
  height: 13px;
}

.v-media__duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(10, 10, 13, 0.78);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.v-empty--grid {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  background: var(--surface);
}

.v-media-grid--search {
  margin-top: var(--sp-2);
}

/* ────────────────────────────────────────────────────────────
   15. LOCKBAR (canal bloqueado)
   ──────────────────────────────────────────────────────────── */

.v-channel--locked {
  padding-bottom: 170px;
}

.v-lockbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + 12px);
  z-index: 40;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  border: 1px solid rgba(42, 171, 238, 0.35);
  border-radius: var(--radius);
  background: rgba(27, 27, 34, 0.94);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.v-lockbar__info {
  min-width: 0;
}

.v-lockbar__info .v-eyebrow {
  margin-bottom: 2px;
}

.v-lockbar__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.v-lockbar .v-btn {
  flex: none;
}

@media (max-width: 479px) {
  .v-lockbar {
    flex-direction: column;
    align-items: stretch;
  }

  .v-lockbar .v-btn {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .v-channel--locked {
    padding-bottom: 150px;
  }

  .v-lockbar {
    left: calc(var(--sidebar-w) + 24px);
    right: 24px;
    bottom: 24px;
    max-width: 1056px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .v-channel__head {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    align-items: center;
    margin-top: -42px;
    padding: 0 var(--sp-3);
  }

  .v-channel__actions {
    grid-column: auto;
    padding-top: 0;
    align-self: center;
  }

  .v-channel__bio,
  .v-channel__stats {
    margin-left: var(--sp-3);
    margin-right: var(--sp-3);
  }

  .v-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (min-width: 1024px) {
  .v-media-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

}

/* ────────────────────────────────────────────────────────────
   16. ESTADOS VAZIOS / INSTALAÇÃO
   ──────────────────────────────────────────────────────────── */

.v-empty {
  margin-top: var(--sp-8);
  padding: var(--sp-10) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.v-empty--compact {
  margin-top: var(--sp-4);
  padding: var(--sp-5) var(--sp-4);
  background: transparent;
  border-style: dashed;
}

.v-empty__shelf {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 74px;
  margin-bottom: var(--sp-5);
}

.v-empty__spine {
  width: 16px;
  height: 56px;
  border-radius: 3px 3px 1px 1px;
  background: var(--folder, var(--folder-1));
  opacity: 0.6;
}

.v-empty__spine:nth-child(2) {
  height: 68px;
  opacity: 0.45;
}

.v-empty__spine:nth-child(3) {
  height: 48px;
  opacity: 0.7;
}

.v-empty__spine:nth-child(4) {
  height: 62px;
  opacity: 0.4;
}

.v-empty__spine:nth-child(5) {
  height: 40px;
  opacity: 0.55;
}

.v-empty__title {
  margin: var(--sp-2) 0 0;
  max-width: 22ch;
  font-family: var(--font-serif);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.v-empty__text {
  margin-top: var(--sp-2);
  max-width: 46ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.v-empty__actions {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}

.v-install {
  max-width: 560px;
  margin: var(--sp-8) auto;
  padding: var(--sp-8) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.v-install__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.v-install__brand {
  margin-top: var(--sp-4);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.v-install__title {
  margin-top: var(--sp-2);
  font-family: var(--font-serif);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 400;
  line-height: 1.1;
}

.v-install__text {
  margin-top: var(--sp-3);
  max-width: 42ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.v-install__actions {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}

.v-install__hint {
  margin-top: var(--sp-4);
  color: var(--muted);
  font-size: 13px;
}

.v-install__note {
  margin-top: var(--sp-3);
  color: var(--faint);
  font-size: 12px;
}

/* ────────────────────────────────────────────────────────────
   17. CONTA
   ──────────────────────────────────────────────────────────── */

.v-discover,
.v-searchpage,
.v-account {
  padding-bottom: var(--sp-12);
}

.v-access {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur-2), background var(--dur-2);
}

.v-access:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

/* Card + "Renovar": o botão é irmão do link (nunca dentro do <a>). */
.v-access-block {
  margin-top: var(--sp-2);
}

.v-access-row {
  display: flex;
  align-items: stretch;
  gap: var(--sp-2);
}

.v-access-row > .v-access {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}

.v-access__renew {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  align-self: stretch;
}

/* Acesso vencido: card histórico, ainda clicável para ver o canal. */
.v-access--expired {
  border-style: dashed;
}

.v-access--expired .v-access__icon {
  border-color: rgba(122, 36, 54, 0.7);
  background: var(--wine-soft);
  color: #E8A2B2;
}

.v-access__namerow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
}

.v-access__namerow .v-access__name {
  min-width: 0;
}

.v-access__hint {
  margin: 6px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.v-access__renew-error {
  margin: 6px 2px 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
}

.v-access__renew-error[hidden] {
  display: none;
}

.v-access__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.v-access__status[hidden] {
  display: none;
}

.v-access__status[data-tone="error"] {
  color: var(--danger);
}

/* Em telas estreitas o botão desce e ocupa a linha, mantendo o alvo. */
@media (max-width: 420px) {
  .v-access-row {
    flex-wrap: wrap;
  }

  .v-access-row > .v-access {
    flex-basis: 100%;
  }

  .v-access__renew {
    width: 100%;
  }
}

.v-access__icon {
  width: 38px;
  height: 38px;
  flex: none;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(42, 171, 238, 0.1);
  color: var(--accent);
}

.v-access__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-access__name {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-access__meta {
  font-size: 12px;
  color: var(--muted);
}

.v-access__chevron {
  flex: none;
  color: var(--muted);
}

.v-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

/* ────────────────────────────────────────────────────────────
   18. MODAL DE LIBERAÇÃO
   ──────────────────────────────────────────────────────────── */

.v-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--sp-4);
}

.v-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.v-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90dvh;
  overflow-y: auto;
  margin: 0 auto;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  animation: v-modal-in var(--dur-3) var(--ease-out);
}

@keyframes v-modal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.v-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
}

.v-modal__head > div {
  min-width: 0;
}

.v-modal__title {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-modal__subtitle {
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: 14px;
}

.v-modal__plans {
  margin: var(--sp-4) 0 0;
  padding: 0;
  border: 0;
}

#v-modal-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-modal__plan {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color var(--dur-2), background var(--dur-2);
}

.v-modal__plan:hover {
  border-color: var(--border-strong);
}

.v-modal__plan:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.v-modal__plan:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.v-modal__plan input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.v-modal__plan-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.v-modal__plan-name {
  font-size: 14px;
  font-weight: 700;
}

.v-modal__plan-period {
  font-size: 11px;
  color: var(--muted);
}

.v-modal__plan-price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.v-modal__plan-value {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.v-modal__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--sp-4);
  color: var(--muted);
  font-size: 14px;
}

.v-modal__note {
  margin-top: var(--sp-3);
  color: var(--faint);
  font-size: 12px;
}

.v-modal__footer {
  margin-top: var(--sp-4);
}

.v-modal__done {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid rgba(88, 192, 138, 0.3);
  border-radius: var(--radius);
  background: var(--free-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}

.v-modal__done-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--free);
  color: #0A0A0D;
}

.v-modal__done-icon .v-icon {
  width: 22px;
  height: 22px;
}

.v-modal__done-text {
  color: var(--text);
  font-size: 14px;
}

.v-modal__done-reason {
  max-width: 40ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Pagamento sem acesso aplicado: análise manual, nunca "confirmado". */
.v-modal__done[data-tone="review"] {
  border-color: rgba(199, 123, 78, 0.42);
  background: rgba(199, 123, 78, 0.12);
}

.v-modal__done[data-tone="review"] .v-modal__done-icon {
  background: var(--folder-5);
  color: #0A0A0D;
}

/* Estorno: estado terminal, sem oferta de renovação. */
.v-modal__done[data-tone="refunded"] {
  border-color: rgba(229, 72, 77, 0.4);
  background: var(--danger-soft);
}

.v-modal__done[data-tone="refunded"] .v-modal__done-icon {
  background: var(--danger);
  color: #FFFFFF;
}

/* ── Checkout PIX (estado dentro do modal de liberação) ── */

.v-checkout {
  margin-top: var(--sp-4);
  animation: v-checkout-in 200ms var(--ease-out);
}

@keyframes v-checkout-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v-checkout__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.v-checkout__title:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.v-checkout__amount {
  margin-top: var(--sp-2);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.v-checkout__plan {
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.v-checkout__note {
  margin-top: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid rgba(42, 171, 238, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(42, 171, 238, 0.08);
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.v-checkout__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.v-checkout__qr {
  width: 220px;
  max-width: 100%;
  height: auto;
  padding: var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: opacity var(--dur-2) var(--ease-out);
}

.v-checkout__qr.is-expired {
  opacity: .35;
}

.v-checkout__qr-fallback {
  color: var(--danger);
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: center;
}

.v-checkout__code {
  margin-top: var(--sp-4);
}

.v-checkout__label {
  display: block;
  margin-bottom: var(--sp-1);
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.v-checkout__textarea {
  width: 100%;
  min-height: 64px;
  margin-bottom: var(--sp-2);
  padding: var(--sp-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  resize: vertical;
}

.v-checkout__textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.v-checkout__expiry {
  margin-top: var(--sp-2);
  color: var(--faint);
  font-size: 12px;
  line-height: 1.4;
}

.v-checkout__status {
  min-height: 1.4em;
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.v-checkout__status[data-tone="error"] {
  color: var(--danger);
}

.v-checkout__status[data-tone="success"] {
  color: var(--free);
}

.v-checkout__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

@media (min-width: 768px) {
  .v-modal {
    align-items: center;
  }
}

/* ────────────────────────────────────────────────────────────
   19. TOASTS
   ──────────────────────────────────────────────────────────── */

.v-toasts {
  position: fixed;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + 12px);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  pointer-events: none;
}

.v-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-1);
  animation: v-toast-in var(--dur-3) var(--ease-out);
  transition: opacity var(--dur-2), transform var(--dur-2);
}

.v-toast--success {
  border-color: rgba(88, 192, 138, 0.4);
}

.v-toast--error {
  border-color: rgba(229, 72, 77, 0.5);
}

.v-toast__icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

.v-toast--success .v-toast__icon { color: var(--free); }
.v-toast--error .v-toast__icon { color: var(--danger); }
.v-toast--info .v-toast__icon { color: var(--accent); }

.v-toast.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

@keyframes v-toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .v-toasts {
    left: auto;
    right: var(--sp-6);
    bottom: var(--sp-6);
    width: 360px;
  }
}

/* ────────────────────────────────────────────────────────────
   20. LOGIN
   ──────────────────────────────────────────────────────────── */

.v-login-body {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-login {
  width: 100%;
  min-height: 100dvh;
  padding: var(--sp-10) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-login__inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.v-login__brand {
  font-size: 30px;
}

.v-login__card {
  width: 100%;
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.v-login__title {
  margin-top: var(--sp-2);
  font-family: var(--font-serif);
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.v-login__subtitle {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 14px;
}

.v-login__next {
  margin-top: var(--sp-3);
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v-login__form {
  margin-top: var(--sp-5);
}

.v-login__form .v-input {
  font-family: var(--font-sans);
}

/* Espaço entre o campo de senha e o próximo rótulo (form com 2 campos). */
.v-login__form .v-input + .v-label {
  margin-top: var(--sp-4);
}

/* Separador "ou" entre entrar e criar conta (visual, sem papel semântico). */
.v-login__divider {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.v-login__divider::before,
.v-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Cadastro na mesma página (sempre visível, inclusive sem JavaScript). */
.v-login__register {
  margin-top: var(--sp-5);
}

.v-login__section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.v-login__form--register {
  margin-top: var(--sp-3);
}

.v-login__hint {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* O hint fica entre a senha e o rótulo de confirmação. */
.v-login__form .v-login__hint + .v-label {
  margin-top: var(--sp-4);
}

.v-login__alt {
  margin-top: var(--sp-2);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.v-login__alt .v-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.v-login__submit {
  margin-top: var(--sp-4);
}

.v-login__footer {
  margin-top: var(--sp-4);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.v-login__footer .v-link {
  min-height: 0;
  font-size: inherit;
}

.v-login__back {
  font-size: 13px;
}

/* ────────────────────────────────────────────────────────────
   21. PLAYER
   ──────────────────────────────────────────────────────────── */

.v-player-body {
  background: #000;
  overflow: hidden;
}

.v-player {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: var(--text);
}

.v-player__stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  aspect-ratio: 16 / 9;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  touch-action: pan-y;
  will-change: transform;
}

/* Arrasto horizontal (foto ou vídeo): o palco acompanha o dedo. */
.v-player__stage.is-swiping {
  transform: translateX(var(--swipe-x, 0));
}

.v-player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.v-player__image {
  max-width: 100%;
  max-height: 100dvh;
  object-fit: contain;
}

.v-player__back {
  position: fixed;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(242, 237, 228, 0.18);
  background: rgba(10, 10, 13, 0.7);
  color: var(--text);
}

.v-player__back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.v-player__caption {
  position: fixed;
  top: var(--sp-4);
  left: 72px;
  right: var(--sp-4);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}

.v-player__caption .v-eyebrow {
  color: rgba(242, 237, 228, 0.55);
}

#player-catalog {
  font-size: 14px;
  font-weight: 700;
}

.v-player__bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(242, 237, 228, 0.24);
  background: rgba(10, 10, 13, 0.6);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background var(--dur-2), transform var(--dur-2);
}

.v-player__bigplay:hover {
  background: var(--accent);
  color: #0A0A0D;
  transform: translate(-50%, -50%) scale(1.04);
}

.v-player__bigplay .v-icon {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.v-player__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
  transition: opacity var(--dur-3), transform var(--dur-3);
}

.v-player__controls.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
}

.v-player__btn {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(242, 237, 228, 0.18);
  background: rgba(19, 19, 24, 0.68);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v-player__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.v-player__progress {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.v-player__seek {
  flex: 1;
  min-width: 60px;
  height: 44px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  accent-color: var(--accent);
  cursor: pointer;
}

.v-player__seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(242, 237, 228, 0.25);
}

.v-player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
}

.v-player__seek::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(242, 237, 228, 0.25);
}

.v-player__seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
}

.v-player__time {
  flex: none;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(242, 237, 228, 0.8);
}

.v-player__state {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-6);
  text-align: center;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.55);
}

.v-player__state-text {
  max-width: 38ch;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.v-player__state .v-eyebrow {
  color: rgba(242, 237, 228, 0.55);
}

.v-player__auth-login {
  min-width: 160px;
}

@media (max-width: 767px) {
  .v-player__stage {
    aspect-ratio: auto;
    height: 100dvh;
    max-height: none;
  }

  .v-player__caption {
    left: 68px;
    right: var(--sp-4);
  }
}

/* ────────────────────────────────────────────────────────────
   22. SKELETONS
   ──────────────────────────────────────────────────────────── */

.v-skel {
  background: var(--surface-2);
  border-radius: var(--radius);
  animation: v-pulse 1.8s ease-in-out infinite;
}

.v-skel--eyebrow { width: 88px; height: 10px; border-radius: 999px; }
.v-skel--display { width: min(62%, 280px); height: 42px; margin-top: 12px; }
.v-skel--line { width: 100%; height: 12px; margin-top: 12px; }
.v-skel--line-short { width: 40%; }
.v-skel--line-mid { width: 70%; }
.v-skel--btn { width: 170px; height: 44px; margin-top: 20px; }
.v-skel--heading { width: 140px; height: 18px; margin-top: 32px; }
.v-skel--rail { width: 100%; height: 96px; margin-top: 12px; }
.v-skel--field { width: 100%; height: 48px; margin-top: 20px; }
.v-skel--chips { width: 100%; height: 44px; margin-top: 14px; border-radius: 999px; }
.v-skel--row { width: 100%; height: 84px; margin-top: 8px; }
.v-skel--hero { width: 100%; aspect-ratio: 16 / 9; }
.v-skel--avatar { width: 80px; height: 80px; border-radius: 50%; }
.v-skel--tabs { width: 100%; height: 48px; margin-top: 16px; }
.v-skel--cover { width: 100%; aspect-ratio: 3 / 4; }

.v-home--loading,
.v-discover--loading,
.v-channel--loading,
.v-account--loading {
  padding-top: var(--sp-6);
}

.v-skel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: var(--sp-4);
}

.v-channel__skel-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.v-channel__skel-lines {
  flex: 1;
  min-width: 0;
}

@keyframes v-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.95; }
}

@media (min-width: 768px) {
  .v-skel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .v-novidade,
  .v-novidade .v-media__thumb,
  .v-novidade--skeleton .v-skel {
    width: 184px;
  }
}

@media (min-width: 1024px) {
  .v-skel-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ────────────────────────────────────────────────────────────
   23. RESPONSIVO / PREFERÊNCIAS
   ──────────────────────────────────────────────────────────── */

@media (max-width: 359px) {
  :root {
    --gutter: 12px;
  }

  .v-topbar__account span:last-child {
    display: none;
  }

  .v-channel-row {
    padding-right: 8px;
  }

  .v-channel-row__handle {
    display: none;
  }
}

@media (min-width: 768px) {
  .v-home__greeting .v-display {
    font-size: 44px;
  }

  .v-empty {
    padding: var(--sp-12) var(--sp-8);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .v-novidade:hover .v-media__thumb,
  .v-btn:active,
  a.v-media:hover {
    transform: none;
  }
}

/* ────────────────────────────────────────────────────────────
   24. POSTS HÍBRIDOS (ADR-0002)
   ──────────────────────────────────────────────────────────── */

/* Abas top-level Posts/Mídia. A aba Mídia mantém os filtros legados. */
.v-channel-tabs {
  display: flex;
  align-items: stretch;
  gap: var(--sp-5);
}

.v-channel-tabs__tab {
  appearance: none;
  position: relative;
  min-height: 52px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color var(--dur-2);
}

.v-channel-tabs__tab:hover {
  color: var(--text);
}

.v-channel-tabs__tab[aria-selected="true"] {
  color: var(--text);
}

.v-channel-tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

.v-channel-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.v-channel-tabs__tab[aria-selected="true"] .v-channel-tabs__count {
  background: var(--accent-soft);
  color: var(--accent);
}

.v-channel-tabs + .v-tabs {
  border-top: 1px solid var(--border);
}

.v-channel-panel {
  min-width: 0;
}

/* Feed editorial: coluna de leitura, sem cara de mensageiro. */
.v-post-feed {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.v-post-feed__pinned {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.v-post-feed__stream {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.v-post-feed__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v-post-feed__label .v-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.v-post {
  position: relative;
  min-width: 0;
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur-3), box-shadow var(--dur-3);
}

.v-post.is-highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.v-post__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.v-post__avatar {
  width: 40px;
  height: 40px;
  flex: none;
}

.v-post__byline {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.v-post__author {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.v-post__author:hover .v-post__author-name {
  color: var(--accent);
}

.v-post__author-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-post__author .v-verified {
  width: 14px;
  height: 14px;
}

.v-post__handle {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.v-post__meta {
  margin-left: auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 1px;
}

.v-post__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--wine);
  border-radius: 999px;
  background: var(--wine-soft);
  color: var(--text);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.v-post__badge .v-icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.v-post__time {
  color: var(--faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v-post__caption {
  margin-top: var(--sp-3);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.v-post__caption--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v-post__caption--clamp.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.v-post__expand {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.v-post__expand:hover {
  color: var(--accent-strong);
}

.v-post__teaser {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: var(--sp-3);
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.v-post__teaser .v-icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  color: var(--accent);
}

.v-post__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

.v-post__unlock {
  min-height: 44px;
}

.v-post__note {
  color: var(--muted);
  font-size: 11px;
}

/* Mosaico: 1 = full, 2 = lado a lado, 3 = 1 grande + 2, 4+ = 2x2. */
.v-post__media {
  display: grid;
  gap: 4px;
  margin-top: var(--sp-3);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.v-post__media--1 {
  display: block;
  aspect-ratio: var(--post-ratio, 4 / 5);
  max-height: min(72dvh, 640px);
  margin-inline: auto;
}

.v-post__media--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  aspect-ratio: 16 / 10;
}

.v-post__media--3 {
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 4 / 3;
}

.v-post__media--3 .v-post__tile:first-child {
  grid-row: span 2;
}

.v-post__media--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1;
}

/* Álbuns do Telegram (5–10 mídias): grade de 3 colunas, tiles quadrados. */
.v-post__media--5,
.v-post__media--6,
.v-post__media--7,
.v-post__media--8,
.v-post__media--9,
.v-post__media--10 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
}

.v-post__media--5 .v-post__tile,
.v-post__media--6 .v-post__tile,
.v-post__media--7 .v-post__tile,
.v-post__media--8 .v-post__tile,
.v-post__media--9 .v-post__tile,
.v-post__media--10 .v-post__tile {
  aspect-ratio: 1 / 1;
  height: auto;
}

.v-post__tile {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--surface-2);
  color: var(--text);
  overflow: hidden;
  text-align: left;
}

.v-post__thumb {
  position: absolute;
  inset: 0;
  display: block;
}

.v-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease-out);
}

.v-post__tile:hover .v-post__thumb img {
  transform: scale(1.015);
}

.v-post__thumb .v-shelf {
  position: absolute;
  inset: 0;
}

.v-post__tile--locked img {
  filter: blur(14px) saturate(0.6) brightness(0.55);
  transform: scale(1.06);
}

.v-post__tile-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  background: rgba(10, 10, 13, 0.45);
  color: var(--text);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v-post__tile-lock .v-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.v-post__tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.68);
  color: var(--text);
}

.v-post__tile-play .v-icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.v-post__tile-duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(10, 10, 13, 0.78);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.v-post__tile-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 13, 0.62);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  pointer-events: none;
}

.v-post--skeleton {
  pointer-events: none;
}

.v-post__skel-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v-skel--avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.v-post__skel-lines {
  flex: 1;
  min-width: 0;
}

.v-skel--postmedia {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 12px;
  border-radius: var(--radius-sm);
}

/* Novidades da Home: post com thumb ou card tipográfico (texto puro). */
.v-novidade--post {
  width: 200px;
}

.v-novidade--post .v-media__thumb {
  width: 200px;
  aspect-ratio: 4 / 5;
}

.v-novidade__quote {
  width: 200px;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  background: var(--surface);
}

.v-novidade__quote-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.v-novidade__count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.78);
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
}

/* Lightbox de fotos: imagem só depois do /play assinado. */
.v-lightbox {
  position: fixed;
  inset: 0;
  z-index: 550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.v-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.v-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-lightbox__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 4px;
}

.v-lightbox__counter {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.72);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.v-lightbox__close {
  background: rgba(19, 19, 24, 0.92);
}

.v-lightbox__figure {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.v-lightbox__stage {
  position: relative;
  width: 100%;
  height: min(72dvh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  touch-action: pan-y pinch-zoom;
}

.v-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.v-lightbox__video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #000;
}

.v-lightbox__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.v-lightbox__error {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90%, 360px);
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.v-lightbox__retry {
  position: absolute;
  top: calc(50% + 30px);
  left: 50%;
  transform: translateX(-50%);
}

.v-lightbox__nav {
  position: absolute;
  top: calc(min(72dvh, 760px) / 2 - 22px);
  z-index: 4;
  background: rgba(19, 19, 24, 0.92);
}

.v-lightbox__nav--prev {
  left: 10px;
}

.v-lightbox__nav--next {
  right: 10px;
}

.v-lightbox__nav[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
}

.v-lightbox__caption {
  padding: 0 56px;
  max-height: 16dvh;
  overflow-y: auto;
  text-align: center;
}

.v-lightbox__title {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.v-lightbox__text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .v-post {
    padding: var(--sp-3);
  }

  .v-post__head {
    gap: 8px;
  }

  .v-post__time {
    font-size: 10px;
  }

  .v-post__media--1 {
    max-height: 70vh;
  }

  .v-lightbox {
    padding: 0;
  }

  .v-lightbox__dialog {
    width: 100%;
    height: 100%;
  }

  .v-lightbox__figure {
    height: 100%;
    justify-content: center;
  }

  .v-lightbox__stage {
    height: calc(100dvh - 150px);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .v-lightbox__nav {
    display: none;
    top: calc((100dvh - 150px) / 2 - 22px);
  }

  .v-lightbox__caption {
    padding: 0 16px;
    max-height: 120px;
  }

  .v-novidade--post {
    width: 180px;
  }

  .v-novidade--post .v-media__thumb,
  .v-novidade__quote {
    width: 180px;
  }
}

@media (max-width: 359px) {
  .v-post {
    padding: 10px;
  }

  .v-post__meta {
    gap: 6px;
  }

  .v-post__note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-post__tile:hover .v-post__thumb img {
    transform: none;
  }

  .v-post.is-highlighted {
    box-shadow: none;
  }
}

/* ────────────────────────────────────────────────────────────
   25. POSTS — TIMELINE CONTÍNUA (A+B)
   ────────────────────────────────────────────────────────────
   Aproxima a leitura do feed do ritmo de um chat (posts colados,
   separadores de data, hover de linha), sem balões, composer ou
   qualquer chrome de mensageiro. */

.v-post-feed {
  max-width: 720px;
  padding: var(--sp-2) 0 var(--sp-8);
  gap: 0;
}

.v-post-feed__stream {
  gap: 0;
}

.v-post-feed__pinned {
  gap: 0;
  padding-bottom: 0;
}

.v-post-feed__label {
  padding: 10px 12px 4px;
}

.v-post {
  padding: 14px 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  transition: background-color var(--dur-2), border-color var(--dur-2);
}

.v-post:hover {
  background: rgba(242, 237, 228, 0.018);
}

.v-post--pinned {
  border-left: 3px solid var(--wine);
  background: var(--surface);
}

.v-post.is-highlighted {
  border-color: transparent;
  border-bottom-color: var(--border);
  background: var(--accent-soft);
  box-shadow: none;
}

.v-post__media {
  margin-top: 10px;
  border-radius: 8px;
}

.v-post__caption {
  margin-top: 10px;
}

.v-post-day {
  display: flex;
  justify-content: center;
  padding: 12px 0 6px;
}

.v-post-day > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .v-post {
    padding: 12px 4px 14px;
  }

  .v-post__media {
    border-radius: 6px;
  }

  .v-post-feed__label {
    padding-left: 4px;
    padding-right: 4px;
  }
}
