/*
 * Buynnex Video Stream Global - Fase 1 Secure Wide Build
 * Layout premium 2026, responsivo e isolado para player/upload/camera.
 */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  min-width: 320px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  color: #0f172a;
  background: #f5f7fb;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.bv-app {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef3fb 100%);
}

.bv-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.bv-top-left,
.bv-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bv-icon-btn,
.bv-premium-btn,
.bv-search-btn,
.bv-pill-btn,
.bv-action-btn,
.bv-create-submit,
.camera-actions button {
  border: 0;
  outline: none;
  cursor: pointer;
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bv-icon-btn:hover,
.bv-premium-btn:hover,
.bv-search-btn:hover,
.bv-pill-btn:hover,
.bv-action-btn:hover,
.bv-create-submit:hover,
.camera-actions button:hover {
  transform: translateY(-1px);
}

.bv-icon-btn {
  width: 44px;
  background: #eef4ff;
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
}

.bv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bv-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 950;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #0f172a, #2563eb 48%, #06b6d4);
  box-shadow: 0 18px 35px rgba(37, 99, 235, .28);
}

.bv-brand-title {
  display: block;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #0f172a;
  white-space: nowrap;
}

.bv-brand-subtitle {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  white-space: nowrap;
}

.bv-search {
  display: flex;
  align-items: center;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 999px;
  padding: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.bv-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 650;
  color: #0f172a;
}

.bv-search-btn {
  padding: 0 18px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: #fff;
  box-shadow: 0 12px 22px rgba(37, 99, 235, .24);
}

.bv-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 58%, #06b6d4);
  box-shadow: 0 16px 28px rgba(15, 23, 42, .22);
}

.bv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.bv-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
}

.bv-sidebar {
  position: sticky;
  top: 92px;
  height: calc(100vh - 112px);
  overflow: auto;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 24px 55px rgba(15, 23, 42, .08);
}

.bv-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: 16px;
  color: #334155;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.bv-side-link:hover,
.bv-side-link.active {
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(6,182,212,.10));
  color: #0f172a;
}

.bv-main {
  min-width: 0;
}

.bv-category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
}

.bv-cat {
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(255,255,255,.9);
  padding: 10px 16px;
  border-radius: 999px;
  color: #334155;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.bv-cat.active {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.bv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  margin: 2px 0 22px;
}

.bv-hero-card,
.bv-studio-card,
.bv-watch-panel,
.bv-info-card,
.bv-comment-card,
.bv-modal-card {
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 26px 60px rgba(15, 23, 42, .08);
}

.bv-hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(37,99,235,.86)),
    radial-gradient(circle at top right, rgba(6,182,212,.4), transparent 35%);
  min-height: 260px;
}

.bv-hero-card h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: .95;
  letter-spacing: -0.055em;
}

.bv-hero-card p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 650;
}

.bv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.bv-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 16px 32px rgba(15,23,42,.16);
}

.bv-pill-btn.dark {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
}

.bv-studio-card {
  padding: 22px;
}

.bv-studio-card h2 {
  margin: 0 0 8px;
  letter-spacing: -0.035em;
}

.bv-studio-card p {
  margin: 0 0 16px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 650;
}

.bv-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.bv-video-card {
  min-width: 0;
}

.bv-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #111827;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.bv-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.30), transparent 28%);
}

.bv-thumb-gradient-1 { background: linear-gradient(135deg, #0f172a, #2563eb 54%, #06b6d4); }
.bv-thumb-gradient-2 { background: linear-gradient(135deg, #111827, #7c3aed 54%, #ec4899); }
.bv-thumb-gradient-3 { background: linear-gradient(135deg, #082f49, #0ea5e9 52%, #22c55e); }
.bv-thumb-gradient-4 { background: linear-gradient(135deg, #1e1b4b, #3b82f6 52%, #a855f7); }
.bv-thumb-gradient-5 { background: linear-gradient(135deg, #172554, #0891b2 52%, #14b8a6); }
.bv-thumb-gradient-6 { background: linear-gradient(135deg, #020617, #475569 52%, #38bdf8); }

.bv-thumb-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 42px;
  color: #fff;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,.28);
}

.bv-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15,23,42,.88);
  color: #fff;
  font-weight: 900;
  padding: 5px 8px;
  border-radius: 9px;
  font-size: 12px;
}

.bv-card-meta {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 12px;
  padding-top: 12px;
}

.bv-channel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.bv-card-title {
  display: block;
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.bv-card-sub {
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.bv-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 24px;
  padding: 22px;
}

.bv-watch-main {
  min-width: 0;
}

.bv-watch-panel {
  overflow: hidden;
  padding: 14px;
}

.buynnex-player-shell {
  --bv-control-bg: rgba(15, 23, 42, .78);
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
}

.buynnex-player-shell.theater-mode {
  border-radius: 0;
  min-height: min(74vh, 760px);
}

.buynnex-player-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.bv-player-watermark {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  color: #fff;
  font-weight: 950;
  background: rgba(15,23,42,.48);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  padding: 8px 11px;
  border-radius: 999px;
  pointer-events: none;
}

.bv-player-watermark span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.bv-big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(15,23,42,.56);
  backdrop-filter: blur(18px);
  font-size: 28px;
  cursor: pointer;
  z-index: 8;
  box-shadow: 0 24px 50px rgba(0,0,0,.25);
}

.buynnex-player-shell.is-playing .bv-big-play {
  opacity: 0;
  pointer-events: none;
}

.bv-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  gap: 8px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}

.bv-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bv-time {
  min-width: 92px;
  font-weight: 850;
  font-size: 12px;
  color: rgba(255,255,255,.92);
}

.bv-progress {
  flex: 1;
  accent-color: #38bdf8;
  height: 6px;
}

.bv-control-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bv-control-btn,
.bv-select {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(15,23,42,.64);
  backdrop-filter: blur(10px);
  font-weight: 850;
  padding: 0 11px;
}

.bv-control-btn {
  cursor: pointer;
}

.bv-volume {
  width: 96px;
  accent-color: #38bdf8;
}

.bv-control-spacer {
  flex: 1;
}

.bv-embed-body {
  width: 100%;
  min-height: 100vh;
  background: #020617;
  display: grid;
  place-items: center;
  padding: 12px;
}

.bv-embed-frame {
  width: min(100%, 1380px);
}

.bv-embed-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 12px;
  color: #fff;
}

.bv-embed-titlebar strong {
  font-weight: 950;
}

.bv-embed-titlebar span {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 700;
}

.bv-error-card {
  width: min(92vw, 760px);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
}

.bv-error-card h1 {
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

.bv-video-info {
  padding: 18px 4px 0;
}

.bv-video-info h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.bv-video-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.bv-action-btn {
  padding: 0 14px;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 12px 24px rgba(15,23,42,.06);
}

.bv-watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 16px 0;
}

.bv-info-card {
  padding: 15px;
}

.bv-info-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bv-info-card strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.bv-description,
.bv-stats-panel,
.bv-comments {
  margin-top: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: 0 18px 38px rgba(15,23,42,.06);
}

.bv-description p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-weight: 650;
}

.bv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.bv-stat {
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148,163,184,.22);
}

.bv-stat span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.bv-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bv-recommend-sidebar {
  min-width: 0;
}

.bv-sidebar-title {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.bv-next-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 14px 30px rgba(15,23,42,.05);
}

.bv-next-card .bv-thumb {
  border-radius: 16px;
}

.bv-next-title {
  display: block;
  font-weight: 950;
  line-height: 1.24;
  font-size: 14px;
}

.bv-next-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.bv-mini-action {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.bv-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(12px);
}

.bv-modal-overlay.is-open {
  display: flex;
}

.bv-modal-card {
  width: min(100%, 1020px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.bv-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148,163,184,.22);
}

.bv-modal-head h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.bv-modal-body {
  overflow: auto;
  padding: 18px 20px 20px;
}

.bv-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.bv-tab-btn {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
}

.bv-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.bv-tab-panel {
  display: none;
}

.bv-tab-panel.active {
  display: block;
}

.bv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bv-field {
  display: grid;
  gap: 7px;
}

.bv-field.full {
  grid-column: 1 / -1;
}

.bv-field label {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.bv-field input,
.bv-field select,
.bv-field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.34);
  background: #f8fafc;
  color: #0f172a;
  padding: 10px 12px;
  outline: none;
  font-weight: 650;
}

.bv-field textarea {
  min-height: 96px;
  resize: vertical;
}

.bv-preview-video {
  width: 100%;
  max-height: 320px;
  border-radius: 18px;
  background: #000;
}

.bv-progress-box {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148,163,184,.24);
}

.bv-progress-box.active {
  display: block;
}

.bv-progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.bv-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.bv-create-submit {
  width: 100%;
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb 58%, #06b6d4);
  box-shadow: 0 16px 34px rgba(37,99,235,.2);
}

.bv-upload-message,
.camera-message {
  margin-top: 12px;
  padding: 12px;
  display: none;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.bv-upload-message.show,
.camera-message.show {
  display: block;
  background: #eef4ff;
  color: #1e3a8a;
}

.bv-upload-message.error,
.camera-message.error {
  background: #fef2f2;
  color: #991b1b;
}

.camera-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.camera-preview-wrap {
  width: 100%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.buynnex-camera-preview,
.buynnex-recorded-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.camera-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
  z-index: 20;
}

.camera-actions button {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
  background: #eef4ff;
  color: #0f172a;
}

.camera-actions button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.camera-timer {
  width: 100%;
  text-align: center;
  font-weight: 900;
  color: #0f172a;
  font-size: 15px;
}

.bv-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bv-library-item {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148,163,184,.22);
  font-weight: 800;
}

@media (max-width: 1200px) {
  .bv-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bv-watch-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .bv-watch-grid, .bv-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .bv-topbar { grid-template-columns: 1fr auto; }
  .bv-search { grid-column: 1 / -1; order: 3; max-width: none; }
  .bv-layout { grid-template-columns: 1fr; padding: 16px; }
  .bv-sidebar { position: static; height: auto; display: flex; gap: 8px; overflow-x: auto; padding: 10px; }
  .bv-side-link { flex: 0 0 auto; margin: 0; }
  .bv-hero { grid-template-columns: 1fr; }
  .bv-watch-layout { grid-template-columns: 1fr; padding: 16px; }
  .bv-recommend-sidebar { order: 2; }
}

@media (max-width: 768px) {
  .bv-topbar { padding: 10px 12px; gap: 10px; min-height: 62px; }
  .bv-brand-subtitle, .bv-notify { display: none; }
  .bv-brand-title { font-size: 14px; }
  .bv-premium-btn { padding: 0 12px; font-size: 13px; }
  .bv-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .bv-hero-card { padding: 22px; min-height: 220px; }
  .bv-thumb-title { font-size: 15px; bottom: 36px; }
  .bv-watch-panel { padding: 8px; border-radius: 18px; }
  .buynnex-player-shell { border-radius: 18px; min-height: 180px; }
  .bv-big-play { width: 68px; height: 68px; font-size: 22px; }
  .bv-controls { padding: 10px; }
  .bv-control-row { gap: 6px; }
  .bv-control-btn, .bv-select { min-height: 36px; font-size: 12px; padding: 0 8px; }
  .bv-volume { width: 74px; }
  .bv-time { min-width: 78px; font-size: 11px; }
  .bv-next-card { grid-template-columns: 132px minmax(0, 1fr); }
  .bv-form-grid { grid-template-columns: 1fr; }
  .bv-library-grid { grid-template-columns: 1fr; }
  .camera-panel { gap: 10px; }
  .camera-preview-wrap { aspect-ratio: 4 / 3; max-height: 42vh; }
  .camera-actions {
    position: sticky;
    bottom: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
  }
  .camera-actions button { width: 100%; font-size: 13px; }
  .camera-actions .btn-full, .camera-timer { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .bv-layout, .bv-watch-layout { padding: 12px; }
  .bv-top-right { gap: 7px; }
  .bv-avatar { display: none; }
  .bv-search input { padding: 0 12px; }
  .bv-search-btn { padding: 0 12px; }
  .bv-video-grid { grid-template-columns: 1fr; }
  .bv-card-meta { grid-template-columns: 38px minmax(0, 1fr) 24px; }
  .bv-channel-avatar { width: 38px; height: 38px; }
  .bv-watch-grid, .bv-stats-grid { grid-template-columns: 1fr; }
  .bv-video-actions { gap: 8px; }
  .bv-action-btn { flex: 1 1 calc(50% - 8px); }
  .bv-next-card { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 8px; }
  .bv-next-title { font-size: 13px; }
  .bv-modal-overlay { padding: 8px; }
  .bv-modal-card { max-height: 96vh; border-radius: 20px; }
  .bv-modal-head, .bv-modal-body { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 420px) {
  .camera-preview-wrap { max-height: 36vh; }
  .camera-actions { grid-template-columns: 1fr; }
  .camera-actions button { font-size: 14px; }
}

@media (max-width: 360px) {
  body { min-width: 320px; }
  .bv-brand-title { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .bv-premium-btn { font-size: 12px; }
  .bv-control-btn, .bv-select { font-size: 11px; padding: 0 7px; }
  .bv-next-card { grid-template-columns: 1fr; }
}

/* ==========================================================
   Buynnex Video Stream - Layout Fix 1.1
   Corrige cards sobrepostos, thumbnails inline e grade desktop/mobile.
   ========================================================== */

.bv-app,
.bv-layout,
.bv-main,
.bv-hero,
.bv-video-grid,
.bv-video-card,
.bv-card-meta {
  min-width: 0;
}

.bv-layout {
  align-items: start;
}

.bv-main {
  display: block;
  width: 100%;
}

.bv-category-bar,
.bv-hero,
.bv-video-grid {
  position: relative;
  z-index: 1;
}

.bv-hero {
  clear: both;
  isolation: isolate;
}

.bv-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bv-hero-card h1,
.bv-hero-card p,
.bv-hero-actions {
  position: relative;
  z-index: 2;
}

.bv-video-grid {
  width: 100%;
  align-items: start;
  grid-auto-rows: auto;
  clear: both;
}

.bv-video-card {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.bv-thumb {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bv-thumb::before {
  z-index: 1;
  pointer-events: none;
}

.bv-thumb-title {
  z-index: 2;
  display: -webkit-box;
  max-height: 4.1em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: normal;
  overflow-wrap: anywhere;
}

.bv-duration {
  z-index: 3;
}

.bv-card-meta {
  display: grid;
  align-items: start;
  width: 100%;
  overflow: hidden;
}

.bv-card-meta > div {
  min-width: 0;
}

.bv-card-title {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #0f172a;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.bv-card-sub {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bv-studio-card {
  min-height: 100%;
}

.bv-next-card .bv-thumb {
  aspect-ratio: 16 / 9;
}

@supports not (aspect-ratio: 16 / 9) {
  .bv-thumb,
  .buynnex-player-shell,
  .camera-preview-wrap {
    height: 0;
    padding-top: 56.25%;
  }

  .bv-thumb > *,
  .buynnex-player-shell > *,
  .camera-preview-wrap > * {
    position: absolute;
  }

  .buynnex-player-video,
  .buynnex-camera-preview,
  .buynnex-recorded-preview {
    inset: 0;
    height: 100%;
  }
}

@media (min-width: 1440px) {
  .bv-video-grid {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
  }
}

@media (max-width: 1320px) {
  .bv-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
  }

  .bv-hero {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .bv-hero-card h1 {
    font-size: clamp(30px, 3.4vw, 48px);
  }
}

@media (max-width: 992px) {
  .bv-hero {
    grid-template-columns: 1fr;
  }

  .bv-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bv-video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bv-hero-card h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.02;
  }

  .bv-thumb-title {
    font-size: 17px;
    bottom: 38px;
  }
}

/* ==========================================================
   Buynnex Video Stream - Playback/Upload Fix 1.2
   Diagnostico elegante quando o stream retorna 403/404 ou codec falha.
   ========================================================== */
.bv-player-error {
  position: absolute;
  inset: auto 18px 96px 18px;
  z-index: 12;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(127, 29, 29, .88);
  border: 1px solid rgba(254, 202, 202, .28);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  max-width: 760px;
}

.bv-player-error strong {
  font-size: 15px;
  font-weight: 950;
}

.bv-player-error span,
.bv-player-error small {
  line-height: 1.45;
  font-weight: 750;
}

.bv-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 768px) {
  .bv-player-error {
    inset: auto 10px 82px 10px;
    padding: 11px 12px;
    border-radius: 14px;
    font-size: 12px;
  }
}

/* ==========================================================
   Buynnex Video Stream - Mobile Studio Fix 1.3
   Corrige zoom do iPhone, modal em tela cheia e gravação nativa.
   ========================================================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.bv-native-capture-box,
.bv-mobile-native-record {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(6,182,212,.08));
  border: 1px solid rgba(37,99,235,.16);
}

.bv-mobile-native-record {
  margin-bottom: 14px;
}

.bv-native-capture-box strong,
.bv-mobile-native-record strong {
  display: block;
  margin-bottom: 7px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.bv-mobile-native-record p,
.bv-native-capture-box small {
  display: block;
  margin: 0 0 10px;
  color: #475569;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 700;
}

.bv-native-capture-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb 58%, #06b6d4);
  box-shadow: 0 14px 30px rgba(37,99,235,.20);
  font-weight: 950;
  cursor: pointer;
  text-align: center;
}

#nativeVideoCapture,
#nativeVideoCaptureCamera {
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .camera-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .camera-actions button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.2;
  }

  .camera-actions .btn-full,
  .camera-timer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body.bv-modal-is-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }

  .bv-modal-overlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: hidden;
  }

  .bv-modal-overlay.is-open {
    display: block;
  }

  .bv-modal-card {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border: 0;
  }

  .bv-modal-head {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    padding: 12px 14px;
  }

  .bv-modal-head h2 {
    font-size: 20px;
    line-height: 1.1;
  }

  .bv-modal-body {
    padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .bv-tabs {
    position: sticky;
    top: 73px;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 10px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
  }

  .bv-tab-btn,
  .bv-field input,
  .bv-field select,
  .bv-field textarea,
  input[type="file"] {
    font-size: 16px;
  }

  .bv-field input,
  .bv-field select,
  .bv-field textarea {
    min-height: 48px;
  }

  .bv-preview-video {
    max-height: 34vh;
  }

  .camera-preview-wrap {
    max-height: 34vh;
    border-radius: 14px;
  }

  .camera-actions {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 10;
    box-shadow: 0 18px 46px rgba(15,23,42,.20);
  }

  .camera-actions button,
  .bv-create-submit,
  .bv-native-capture-btn {
    min-height: 48px;
    font-size: 15px;
  }

  .bv-mobile-native-record,
  .bv-native-capture-box {
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .bv-tabs {
    top: 68px;
  }

  .camera-actions {
    grid-template-columns: 1fr;
  }

  .camera-preview-wrap {
    max-height: 30vh;
  }

  .bv-search {
    border-radius: 18px;
  }

  .bv-search-btn {
    min-width: 94px;
  }
}


/* ==========================================================
   Buynnex Video Stream - Mobile Render + Studio Fix 1.4
   CSS inline fallback, studio premium 2026 e controles mobile.
   ========================================================== */
html {
  -webkit-font-smoothing: antialiased;
}

body {
  touch-action: manipulation;
}

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

.bv-file-picker {
  display: grid;
  grid-template-columns: minmax(160px, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 18px;
  background: rgba(248,250,252,.96);
  border: 1px solid rgba(148,163,184,.24);
}

.bv-file-main-btn,
.bv-native-capture-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 15px;
  padding: 10px 16px;
  color: #fff !important;
  background: linear-gradient(135deg, #0f172a, #2563eb 58%, #06b6d4);
  box-shadow: 0 16px 34px rgba(37,99,235,.22);
  font-weight: 950;
  text-decoration: none !important;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}

.bv-file-main-btn.secondary {
  background: linear-gradient(135deg, #334155, #64748b);
  box-shadow: 0 14px 28px rgba(51,65,85,.16);
}

.bv-file-name {
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  color: #475569;
  background: #fff;
  border: 1px dashed rgba(148,163,184,.42);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bv-native-file-name {
  margin-top: 10px;
  white-space: normal;
}

.bv-upload-message .bv-inline-link,
.camera-message .bv-inline-link {
  margin-left: 6px;
}

.bv-upload-working {
  pointer-events: none;
  opacity: .82;
}

@media (max-width: 768px) {
  .bv-app {
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
  }

  .bv-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: calc(8px + env(safe-area-inset-top)) 10px 9px;
    min-height: auto;
    background: rgba(255,255,255,.96);
  }

  .bv-brand {
    gap: 8px;
  }

  .bv-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .bv-brand-title {
    max-width: 152px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
  }

  .bv-search {
    grid-column: 1 / -1;
    order: 5;
    height: 44px;
    margin-top: 2px;
    border-radius: 16px;
  }

  .bv-search input {
    font-size: 16px;
  }

  .bv-search-btn {
    min-height: 36px;
    border-radius: 12px;
    font-size: 13px;
  }

  .bv-icon-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 13px;
  }

  .bv-premium-btn {
    min-height: 38px;
    border-radius: 13px;
    padding: 0 12px;
  }

  .bv-layout {
    display: block;
    padding: 12px;
  }

  .bv-sidebar {
    position: relative;
    top: auto;
    height: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .bv-side-link {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.7);
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
    white-space: nowrap;
    font-size: 13px;
  }

  .bv-category-bar {
    gap: 8px;
    padding: 0 0 12px;
    -webkit-overflow-scrolling: touch;
  }

  .bv-cat {
    padding: 9px 13px;
    font-size: 13px;
  }

  .bv-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .bv-hero-card,
  .bv-studio-card,
  .bv-watch-panel,
  .bv-description,
  .bv-stats-panel,
  .bv-comments {
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(15,23,42,.08);
  }

  .bv-hero-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .bv-hero-card h1 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.02;
    letter-spacing: -.055em;
  }

  .bv-hero-card p {
    font-size: 15px;
    line-height: 1.48;
  }

  .bv-video-grid {
    grid-template-columns: 1fr !important;
  }

  .bv-watch-layout {
    display: block;
    padding: 10px;
  }

  .buynnex-player-shell {
    border-radius: 20px;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .bv-control-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .bv-control-spacer {
    display: none;
  }

  .bv-control-btn,
  .bv-select {
    width: 100%;
    min-height: 36px;
    font-size: 12px;
    padding: 0 6px;
  }

  .bv-volume {
    width: 100%;
    grid-column: span 2;
  }

  .bv-next-card {
    grid-template-columns: 128px minmax(0,1fr);
  }

  .bv-modal-overlay.is-open {
    display: block;
  }

  .bv-modal-card {
    background:
      radial-gradient(circle at 10% 0%, rgba(37,99,235,.10), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  }

  .bv-modal-head {
    border-bottom: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 12px 24px rgba(15,23,42,.05);
  }

  .bv-tabs {
    grid-template-columns: 1fr;
  }

  .bv-tab-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }

  .bv-form-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .bv-field label {
    font-size: 13px;
  }

  .bv-field input,
  .bv-field select,
  .bv-field textarea {
    min-height: 50px;
    font-size: 16px;
    border-radius: 16px;
  }

  .bv-file-picker {
    grid-template-columns: 1fr;
    padding: 9px;
  }

  .bv-file-main-btn,
  .bv-native-capture-btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }

  .bv-file-name {
    font-size: 13px;
    text-align: center;
  }

  .bv-native-capture-box,
  .bv-mobile-native-record {
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(239,246,255,.96), rgba(236,253,245,.82));
    border-color: rgba(37,99,235,.20);
  }

  .camera-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
  }

  .camera-actions button {
    min-height: 50px;
    font-size: 14px;
  }

  .camera-actions .btn-full,
  .camera-timer {
    grid-column: 1 / -1;
  }

  .camera-preview-wrap {
    aspect-ratio: 4 / 3;
    max-height: 34vh;
  }
}

@media (max-width: 420px) {
  .bv-topbar {
    grid-template-columns: auto 1fr auto;
  }

  .bv-brand-title {
    max-width: 118px;
  }

  .bv-control-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bv-volume {
    grid-column: span 3;
  }

  .bv-next-card {
    grid-template-columns: 1fr;
  }

  .camera-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   Buynnex Video Stream - Mobile Portrait Player Layout Fix 1.5
   Ajuste fino para iPhone/Android em modo vertical: controles compactos,
   sem sobrepor o centro do video. Modo horizontal permanece amplo.
   ========================================================== */
@media (max-width: 768px) and (orientation: portrait) {
  .bv-watch-panel {
    padding: 10px;
    border-radius: 24px;
  }

  .buynnex-player-shell {
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #000 !important;
    box-shadow: 0 20px 46px rgba(15, 23, 42, .14) !important;
  }

  .buynnex-player-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
  }

  .bv-player-watermark {
    top: 10px !important;
    left: 10px !important;
    max-width: calc(100% - 20px) !important;
    padding: 6px 9px !important;
    gap: 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    transform: scale(.92) !important;
    transform-origin: left top !important;
  }

  .bv-player-watermark span {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
  }

  .bv-big-play {
    width: 58px !important;
    height: 58px !important;
    font-size: 20px !important;
    z-index: 9 !important;
  }

  .bv-controls {
    padding: 7px 10px 10px !important;
    gap: 6px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.50) 25%, rgba(0,0,0,.88) 100%) !important;
  }

  .bv-progress-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .bv-progress {
    width: 100% !important;
    min-width: 0 !important;
    height: 4px !important;
    margin: 0 !important;
  }

  .bv-time {
    min-width: 78px !important;
    width: auto !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .bv-control-row {
    display: grid !important;
    grid-template-columns: 40px 40px minmax(74px, 1fr) 58px 42px !important;
    gap: 6px !important;
    align-items: center !important;
  }

  .bv-control-btn,
  .bv-select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, .72) !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10) !important;
  }

  .bv-volume {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    grid-column: auto !important;
    margin: 0 !important;
  }

  .bv-quality,
  .bv-speed,
  .bv-control-spacer,
  .bv-control-btn[data-player-action="mini"],
  .bv-control-btn[data-player-action="theater"] {
    display: none !important;
  }

  .bv-control-btn[data-player-action="loop"] {
    font-size: 0 !important;
  }

  .bv-control-btn[data-player-action="loop"]:after {
    content: 'Loop';
    font-size: 11px;
    font-weight: 900;
  }

  .bv-control-btn[data-player-action="fullscreen"] {
    font-size: 0 !important;
  }

  .bv-control-btn[data-player-action="fullscreen"]:after {
    content: '\26F6';
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
  }
}

@media (max-width: 420px) and (orientation: portrait) {
  .bv-controls {
    padding: 6px 8px 8px !important;
  }

  .bv-control-row {
    grid-template-columns: 38px 38px minmax(62px, 1fr) 54px 40px !important;
    gap: 5px !important;
  }

  .bv-control-btn,
  .bv-select {
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: 10px !important;
  }

  .bv-time {
    min-width: 72px !important;
    font-size: 10px !important;
  }

  .bv-player-watermark {
    transform: scale(.84) !important;
  }
}

@media (max-width: 360px) and (orientation: portrait) {
  .bv-control-row {
    grid-template-columns: 36px 36px minmax(56px, 1fr) 48px 38px !important;
    gap: 4px !important;
  }

  .bv-controls {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .bv-control-btn[data-player-action="loop"]:after {
    content: 'L';
  }
}

/* Build 1.6 - biblioteca real sem cards fake */
.bv-empty-library {
  grid-column: 1 / -1;
  min-height: 260px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,246,255,.88));
  box-shadow: 0 24px 80px rgba(15, 23, 42, .10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 34px;
  color: #0f172a;
}
.bv-empty-library strong {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.bv-empty-library span {
  max-width: 720px;
  color: #64748b;
  font-weight: 800;
  line-height: 1.55;
}
.bv-empty-side {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  color: #334155;
  font-weight: 800;
  line-height: 1.45;
}
.bv-library-headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  color: #0f172a;
}
.bv-library-headline strong {
  font-size: 18px;
  letter-spacing: -.02em;
}
.bv-library-headline span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.bv-library-item.wide {
  grid-column: 1 / -1;
}
.bv-library-item.video {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #0f172a;
}
.bv-library-item.video b {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  color: #0f172a;
}
.bv-library-item.video small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-weight: 800;
}
.bv-library-mini-thumb {
  display: block;
  width: 96px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 12px 26px rgba(15,23,42,.12);
}
@media (max-width: 768px) {
  .bv-empty-library {
    min-height: 220px;
    padding: 24px;
    border-radius: 24px;
  }
  .bv-empty-library strong {
    font-size: 24px;
  }
  .bv-library-item.video {
    grid-template-columns: 82px 1fr;
  }
  .bv-library-mini-thumb {
    width: 82px;
  }
}

/* Build 1.7 - thumbnails automaticas, editor premium e compartilhamento */
.bv-editor-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 64, 175, .92));
  color: #fff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .20);
  margin-bottom: 18px;
}
.bv-editor-headline strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.bv-editor-headline span {
  display: block;
  color: rgba(226, 232, 240, .86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.bv-editor-tools-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.bv-soft-tool {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  font-weight: 900;
  cursor: default;
}
.bv-soft-tool.is-active {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 12px 26px rgba(14,165,233,.24);
}
.bv-soft-tool.is-disabled {
  opacity: .62;
}
.bv-editor-list {
  display: grid;
  gap: 16px;
}
.bv-edit-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
  color: #0f172a;
}
.bv-edit-thumb {
  position: relative;
  min-height: 148px;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 18px 38px rgba(15,23,42,.18);
}
.bv-edit-thumb span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(2,6,23,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}
.bv-edit-content {
  min-width: 0;
}
.bv-edit-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bv-edit-title-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.bv-edit-title-row p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}
.bv-inline-watch {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
}
.bv-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bv-file-picker.compact {
  min-height: 46px;
  padding: 6px;
}
.bv-file-picker.compact .bv-file-main-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}
.bv-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.bv-edit-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  box-shadow: 0 14px 28px rgba(37,99,235,.18);
}
.bv-edit-actions .bv-edit-save-thumb {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}
.bv-edit-actions .bv-edit-auto-thumb {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}
.bv-edit-actions .bv-edit-delete {
  background: linear-gradient(135deg, #991b1b, #ef4444);
}
.bv-edit-message {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(34,197,94,.10);
  color: #166534;
  border: 1px solid rgba(34,197,94,.22);
  font-weight: 900;
  line-height: 1.35;
}
.bv-edit-message.show {
  display: block;
}
.bv-edit-message.error {
  background: rgba(239,68,68,.10);
  color: #991b1b;
  border-color: rgba(239,68,68,.24);
}
.bv-action-btn {
  text-decoration: none;
}
.bv-inline-status {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(14,165,233,.10);
  color: #075985;
  font-weight: 900;
}
.bv-inline-status.show {
  display: inline-flex;
}
.bv-share-whatsapp {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  color: #fff !important;
}
.bv-share-facebook {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
  color: #fff !important;
}
@media (max-width: 900px) {
  .bv-editor-headline,
  .bv-edit-title-row {
    flex-direction: column;
  }
  .bv-editor-tools-row {
    justify-content: flex-start;
  }
  .bv-edit-card {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 24px;
  }
  .bv-edit-thumb {
    width: 100%;
    min-height: 0;
  }
  .bv-edit-grid {
    grid-template-columns: 1fr;
  }
  .bv-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .bv-edit-actions button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .bv-editor-headline {
    padding: 14px;
    border-radius: 20px;
  }
  .bv-editor-headline strong {
    font-size: 19px;
  }
  .bv-soft-tool {
    min-height: 34px;
    font-size: 11px;
  }
  .bv-edit-title-row h3 {
    font-size: 17px;
  }
  .bv-edit-actions {
    grid-template-columns: 1fr;
  }
  .bv-video-actions {
    grid-template-columns: 1fr 1fr;
  }
  .bv-video-actions .bv-action-btn {
    min-width: 0;
    width: 100%;
  }
}

/* Fix 1.9 - Social actions nos cards e upload seguro */
.bv-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.bv-mini-share-btn {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.24);
  background: rgba(255,255,255,.86);
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}
.bv-mini-share-btn.whatsapp {
  color: #fff;
  border-color: rgba(34,197,94,.22);
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.bv-mini-share-btn.facebook {
  color: #fff;
  border-color: rgba(59,130,246,.22);
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}
.bv-card-share-status {
  display: none;
  color: #0284c7;
  font-size: 11px;
  font-weight: 900;
}
.bv-card-share-status.show {
  display: inline-flex;
}
.bv-create-submit:disabled,
.bv-mini-share-btn:disabled,
.bv-edit-actions button:disabled {
  opacity: .72;
  cursor: wait;
}
@media (max-width: 640px) {
  .bv-card-meta {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
  }
  .bv-card-actions {
    gap: 5px;
  }
  .bv-mini-share-btn {
    min-height: 30px;
    padding: 0 8px;
  }
}


/* Fix 1.9.3 - capa real via navegador/canvas */
.bv-browser-thumb-source{
  position:relative;
}
.bv-browser-thumb-source[data-browser-thumb-status]:after{
  content:attr(data-browser-thumb-status);
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:5;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(2,6,23,.72);
  color:#e0f2fe;
  font-size:10px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.16);
  pointer-events:none;
}
.bv-thumb-generating:after{
  animation:bvThumbPulse 1.1s ease-in-out infinite;
}
@keyframes bvThumbPulse{
  0%,100%{opacity:.68;}
  50%{opacity:1;}
}


/* ==========================================================
   Buynnex Video Stream - Clean Mobile Flow Fix 1.9.8
   Remove caminho visual duplicado de gravação no upload.
   ========================================================== */
.bv-mobile-flow-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(14,165,233,.08);
  color: #075985;
  border: 1px solid rgba(14,165,233,.16);
  font-weight: 800;
}
.bv-native-capture-box.is-legacy-disabled {
  display: none !important;
}
@media (max-width: 768px) {
  .bv-mobile-flow-note {
    font-size: 13px;
    line-height: 1.45;
  }
}


/* ==========================================================
   Buynnex Video Stream - Mobile Camera Layout Fix 1.9.9
   Remove o menu de abas sticky de cima do preview durante gravacao.
   Mantem backend/upload/thumb funcional; altera somente fluxo visual mobile.
   ========================================================== */
@media (max-width: 768px) {
  .bv-modal-card.bv-camera-mode .bv-tabs {
    display: none !important;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .bv-modal-card.bv-camera-mode .bv-modal-body {
    padding-top: 10px !important;
  }

  .bv-modal-card.bv-camera-mode .bv-mobile-native-record {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .bv-modal-card.bv-camera-mode.bv-camera-live-mode .bv-mobile-native-record,
  .bv-modal-card.bv-camera-mode.bv-camera-recording-mode .bv-mobile-native-record,
  .bv-modal-card.bv-camera-mode.bv-camera-recorded-mode .bv-mobile-native-record {
    display: none !important;
  }

  .bv-modal-card.bv-camera-mode .camera-panel {
    gap: 10px !important;
  }

  .bv-modal-card.bv-camera-mode .camera-preview-wrap {
    width: 100% !important;
    height: min(48vh, 430px) !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border-radius: 18px !important;
    background: #020617 !important;
    box-shadow: 0 18px 44px rgba(15,23,42,.22) !important;
  }

  .bv-modal-card.bv-camera-mode .buynnex-camera-preview,
  .bv-modal-card.bv-camera-mode .buynnex-recorded-preview {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #020617 !important;
  }

  .bv-modal-card.bv-camera-mode .camera-actions {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    margin: 10px 0 0 !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.14) !important;
  }

  .bv-modal-card.bv-camera-mode .camera-message.show {
    margin-top: 10px !important;
  }
}

@media (max-width: 420px) {
  .bv-modal-card.bv-camera-mode .camera-preview-wrap {
    height: min(43vh, 390px) !important;
  }

  .bv-modal-card.bv-camera-mode .camera-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  .bv-modal-card.bv-camera-mode .camera-actions button {
    min-height: 48px !important;
    font-size: 14px !important;
  }
}

/* Build 2.0.3 - sincronizacao real das thumbs do index por ID
   Exibe a imagem como <img>, alem do background, para evitar card cinza quando
   o CSS/gradiente antigo estiver sobrepondo a capa. */
.bv-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.bv-thumb.bv-has-real-thumb {
  background-color: #020617;
}
.bv-thumb.bv-has-real-thumb::before {
  background: linear-gradient(180deg, rgba(2,6,23,.04), rgba(2,6,23,.58));
}

/* ==========================================================
   Build 2.0.5 - Duracao real e layout watch mais profissional
   Mantem o tamanho do player; melhora apenas informacoes, cards e leitura.
   ========================================================== */
.bv-duration {
  min-width: 46px;
  text-align: center;
  letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}
.bv-duration-ready {
  background: rgba(2, 6, 23, .92);
}
.bv-watch-info-premium {
  padding: 16px 0 0;
}
.bv-watch-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: 0 18px 42px rgba(15,23,42,.07);
}
.bv-watch-title-area {
  min-width: 0;
}
.bv-watch-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.bv-watch-eyebrow span,
.bv-watch-meta-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 900;
}
.bv-watch-eyebrow span:last-child {
  background: #ecfdf5;
  color: #047857;
}
.bv-watch-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.bv-watch-meta-line .bv-duration-main {
  position: static;
  min-width: auto;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  border: none;
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
}
.bv-watch-actions {
  justify-content: flex-end;
  max-width: 420px;
  margin: 0;
}
.bv-watch-actions .bv-action-btn {
  min-height: 38px;
  border-radius: 14px;
  font-size: 13px;
}
.bv-watch-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 14px;
  margin-top: 14px;
}
.bv-watch-description-card,
.bv-watch-facts-card,
.bv-tech-details,
.bv-comments {
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: 0 16px 34px rgba(15,23,42,.055);
}
.bv-watch-description-card {
  padding: 18px;
}
.bv-watch-description-card h2,
.bv-comments h2 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.bv-watch-description-card p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-weight: 700;
}
.bv-watch-facts-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  padding: 12px;
}
.bv-watch-facts-card .bv-info-card {
  padding: 13px;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: none;
}
.bv-tech-details {
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}
.bv-tech-details summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 950;
  color: #0f172a;
  background: linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.86));
}
.bv-tech-details summary::-webkit-details-marker { display: none; }
.bv-tech-details summary:after {
  content: 'abrir';
  float: right;
  color: #2563eb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bv-tech-details[open] summary:after { content: 'fechar'; }
.bv-tech-details .bv-stats-grid {
  padding: 0 16px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bv-tech-details .bv-stat {
  background: #f8fafc;
}
.bv-next-card .bv-thumb-img {
  border-radius: inherit;
}
.bv-video-card:hover .bv-thumb,
.bv-next-card:hover .bv-thumb {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(15,23,42,.16);
}
.bv-thumb {
  transition: transform .18s ease, box-shadow .18s ease;
}
@media (max-width: 1200px) {
  .bv-watch-summary-card,
  .bv-watch-content-grid {
    grid-template-columns: 1fr;
  }
  .bv-watch-actions {
    justify-content: flex-start;
    max-width: none;
  }
}
@media (max-width: 760px) {
  .bv-watch-summary-card,
  .bv-watch-description-card,
  .bv-watch-facts-card,
  .bv-tech-details,
  .bv-comments {
    border-radius: 18px;
  }
  .bv-watch-summary-card {
    padding: 14px;
  }
  .bv-watch-meta-line span,
  .bv-watch-eyebrow span {
    min-height: 26px;
    font-size: 11px;
  }
  .bv-watch-facts-card,
  .bv-tech-details .bv-stats-grid {
    grid-template-columns: 1fr;
  }
  .bv-watch-actions .bv-action-btn {
    flex: 1 1 calc(50% - 8px);
  }
}


/* =========================================================
   Buynnex Video Stream - Fix 2.1.4
   Watermark visual 30% maior no player. Nao grava na thumbnail.
========================================================= */
.bv-player-watermark.bv-player-watermark-logo {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 30 !important;
  width: 76px !important;
  height: 76px !important;
  max-width: 76px !important;
  max-height: 76px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.32 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.bv-player-watermark.bv-player-watermark-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 76px !important;
  max-height: 76px !important;
  object-fit: contain !important;
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .bv-player-watermark.bv-player-watermark-logo {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    top: 10px !important;
    left: 10px !important;
    opacity: 0.36 !important;
  }

  .bv-player-watermark.bv-player-watermark-logo img {
    max-width: 55px !important;
    max-height: 55px !important;
  }
}

/* =========================================================
   Buynnex Video Stream - Gallery Watermark Fix 2.1.7
   Aplica a marca visual /images/buy.png tambem nas capas da galeria.
   Mantem a watermark visual, sem gravar texto ou logo dentro do arquivo da thumbnail.
   Tamanho espelhado do player watch.php: 76px desktop e 55px mobile.
========================================================= */
.bv-thumb.bv-thumb-live::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  width: 76px;
  height: 76px;
  max-width: 76px;
  max-height: 76px;
  display: block;
  background-image: url('/images/buy.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .32;
  pointer-events: none;
  border: 0;
  box-shadow: none;
}

.bv-library-mini-thumb.bv-thumb-live,
.bv-edit-thumb.bv-thumb-live {
  position: relative;
  overflow: hidden;
}

.bv-library-mini-thumb.bv-thumb-live::after,
.bv-edit-thumb.bv-thumb-live::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: block;
  background-image: url('/images/buy.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .32;
  pointer-events: none;
}

@media (max-width: 768px) {
  .bv-thumb.bv-thumb-live::after {
    width: 55px;
    height: 55px;
    max-width: 55px;
    max-height: 55px;
    top: 10px;
    left: 10px;
    opacity: .36;
  }

  .bv-library-mini-thumb.bv-thumb-live::after,
  .bv-edit-thumb.bv-thumb-live::after {
    width: 28px;
    height: 28px;
    top: 7px;
    left: 7px;
    opacity: .36;
  }
}

/* =========================================================
   Buynnex Video Stream - Creator Camera UI/Login Fix 2.1.5
   Foco: camera limpa no celular, controles abaixo do preview e fluxo Studio 2026.
   Nao altera upload/thumb/watch/share; apenas experiencia visual da criacao.
========================================================= */
.bv-studio-creator-card {
  border-radius: 30px;
  border: 1px solid rgba(148,163,184,.20);
  background:
    radial-gradient(circle at 0% 0%, rgba(14,165,233,.13), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 34px 96px rgba(2,6,23,.28);
}

.bv-creator-login-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14,165,233,.10);
  color: #075985;
  border: 1px solid rgba(14,165,233,.16);
  font-size: 12px;
  font-weight: 900;
}

.bv-creator-intro,
.bv-camera-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(29,78,216,.92));
  color: #fff;
  box-shadow: 0 18px 42px rgba(37,99,235,.18);
}

.bv-creator-intro strong,
.bv-camera-flow-head strong {
  display: block;
  font-size: 17px;
  letter-spacing: -.02em;
}

.bv-creator-intro span,
.bv-camera-flow-head span {
  display: block;
  margin-top: 3px;
  color: rgba(224,242,254,.86);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.bv-camera-flow-head em {
  flex: 0 0 auto;
  font-style: normal;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #e0f2fe;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bv-camera-title-field {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.bv-camera-native-card {
  margin-bottom: 14px;
  background:
    linear-gradient(135deg, rgba(239,246,255,.98), rgba(236,253,245,.92)) !important;
  border-color: rgba(37,99,235,.18) !important;
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
}

.bv-camera-clean-panel {
  gap: 14px !important;
}

.bv-camera-preview-stage {
  border-radius: 24px !important;
  background: #020617 !important;
  border: 1px solid rgba(15,23,42,.20);
  box-shadow: 0 24px 58px rgba(2,6,23,.22);
  isolation: isolate;
}

.bv-camera-preview-stage:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.bv-camera-preview-stage video {
  position: relative;
  z-index: 0;
}

.bv-camera-controls {
  position: static !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.98) !important;
  border: 1px solid rgba(148,163,184,.22) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.12) !important;
  z-index: auto !important;
}

.bv-camera-control-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.bv-camera-controls button {
  width: 100% !important;
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  box-shadow: none !important;
}

.bv-camera-controls button.primary {
  background: linear-gradient(135deg, #0f172a, #1d4ed8 62%, #06b6d4) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(37,99,235,.20) !important;
}

.camera-timer {
  width: 100% !important;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a !important;
  border: 1px solid rgba(148,163,184,.22);
  font-size: 18px !important;
  font-weight: 950 !important;
  letter-spacing: .08em;
}

.bv-camera-control-secondary,
.bv-camera-control-final,
#btnStartRecording,
#btnStopRecording,
#btnPauseRecording,
#btnResumeRecording,
#btnUseRecording,
#btnDiscardRecording {
  display: none;
}

.bv-modal-card.bv-camera-live-mode #btnStartRecording,
.bv-modal-card.bv-camera-live-mode .bv-camera-control-secondary,
.bv-modal-card.bv-camera-recording-mode #btnStopRecording,
.bv-modal-card.bv-camera-recording-mode .bv-camera-control-secondary,
.bv-modal-card.bv-camera-recording-mode #btnPauseRecording,
.bv-modal-card.bv-camera-paused-mode #btnResumeRecording,
.bv-modal-card.bv-camera-recorded-mode .bv-camera-control-final,
.bv-modal-card.bv-camera-recorded-mode #btnUseRecording,
.bv-modal-card.bv-camera-recorded-mode #btnDiscardRecording {
  display: grid;
}

.bv-modal-card.bv-camera-recording-mode #btnEnableCamera,
.bv-modal-card.bv-camera-recording-mode #btnStartRecording,
.bv-modal-card.bv-camera-recorded-mode #btnEnableCamera,
.bv-modal-card.bv-camera-recorded-mode #btnStartRecording,
.bv-modal-card.bv-camera-paused-mode #btnPauseRecording {
  display: none !important;
}

.bv-modal-card.bv-camera-recording-mode .camera-timer {
  background: rgba(239,68,68,.10);
  color: #991b1b !important;
  border-color: rgba(239,68,68,.24);
}

.bv-modal-card.bv-camera-recorded-mode .camera-timer {
  background: rgba(34,197,94,.10);
  color: #166534 !important;
  border-color: rgba(34,197,94,.24);
}

.bv-camera-studio-panel .camera-message.show {
  border: 1px solid rgba(37,99,235,.15);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

@media (max-width: 768px) {
  .bv-studio-creator-card {
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .bv-creator-login-note {
    font-size: 11px;
    line-height: 1.25;
  }

  .bv-creator-intro {
    display: none;
  }

  .bv-modal-card.bv-camera-mode .bv-modal-head {
    position: relative !important;
    top: auto !important;
    z-index: 2 !important;
    padding: 11px 14px !important;
    box-shadow: 0 10px 22px rgba(15,23,42,.05) !important;
  }

  .bv-modal-card.bv-camera-mode .bv-modal-body {
    padding: 10px 12px calc(16px + env(safe-area-inset-bottom)) !important;
  }

  .bv-camera-flow-head {
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
  }

  .bv-camera-flow-head em {
    display: none;
  }

  .bv-camera-title-field {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 18px;
  }

  .bv-camera-native-card {
    margin-bottom: 12px !important;
  }

  .bv-modal-card.bv-camera-mode .bv-camera-preview-stage {
    height: min(52vh, 520px) !important;
    min-height: 260px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border-radius: 22px !important;
    margin: 0 !important;
  }

  .bv-modal-card.bv-camera-mode .buynnex-camera-preview,
  .bv-modal-card.bv-camera-mode .buynnex-recorded-preview {
    object-fit: contain !important;
    background: #020617 !important;
  }

  .bv-modal-card.bv-camera-mode .bv-camera-controls {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    padding: 12px !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.10) !important;
  }

  .bv-camera-control-group {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .bv-camera-control-main {
    grid-template-columns: 1fr 1fr;
  }

  .bv-modal-card.bv-camera-recording-mode .bv-camera-control-main,
  .bv-modal-card.bv-camera-recorded-mode .bv-camera-control-final {
    grid-template-columns: 1fr;
  }

  .bv-camera-controls button,
  .bv-create-submit,
  .bv-native-capture-btn {
    min-height: 54px !important;
    font-size: 15px !important;
  }

  .camera-timer {
    min-height: 42px;
    font-size: 16px !important;
  }
}

@media (max-width: 420px) {
  .bv-modal-card.bv-camera-mode .bv-camera-preview-stage {
    height: min(48vh, 450px) !important;
    min-height: 230px !important;
    border-radius: 20px !important;
  }

  .bv-camera-control-group,
  .bv-camera-control-main,
  .bv-modal-card.bv-camera-recording-mode .bv-camera-control-secondary {
    grid-template-columns: 1fr !important;
  }

  .bv-camera-controls button {
    min-height: 52px !important;
  }
}

/* ==========================================================
   Buynnex Video Stream - Fix 2.1.8
   Nome obrigatorio na gravacao, controles estilo YouTube 2026
   e titulo do watch no padrao de leitura YouTube.
   ========================================================== */
.bv-camera-title-priority {
  position: relative;
  border: 1px solid rgba(37, 99, 235, .22) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.96)) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08) !important;
}

.bv-camera-title-priority label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
}

.bv-camera-title-priority label span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .10);
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bv-camera-title-priority input {
  min-height: 52px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, .18) !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 26px rgba(15, 23, 42, .06) !important;
}

.bv-camera-title-priority input:focus {
  outline: none !important;
  border-color: rgba(37, 99, 235, .74) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), 0 16px 32px rgba(37, 99, 235, .10) !important;
}

.bv-field-help {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.bv-native-title-reminder {
  margin: 9px 0 0;
  color: #1d4ed8;
}

.bv-input-alert {
  border-color: rgba(239, 68, 68, .80) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .14), 0 14px 30px rgba(239, 68, 68, .12) !important;
}

.bv-youtube-controls {
  gap: 8px;
  padding: 0 10px 10px !important;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 24%, rgba(0,0,0,.78) 100%) !important;
}

.bv-youtube-controls .bv-progress-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.bv-youtube-controls .bv-progress-wrap > .bv-time:not(.bv-time-pill) {
  display: none !important;
}

.bv-youtube-controls .bv-progress {
  width: 100%;
  height: 5px;
  margin: 0;
  accent-color: #ff0033;
  cursor: pointer;
}

.bv-youtube-controls .bv-control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.bv-control-left-pack,
.bv-control-right-pack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bv-control-right-pack {
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.bv-youtube-controls .bv-control-btn,
.bv-youtube-controls .bv-select {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0 !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(15, 23, 42, .34) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.bv-youtube-controls .bv-control-btn:hover,
.bv-youtube-controls .bv-select:hover,
.bv-youtube-controls .bv-control-btn.is-active {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.28) !important;
}

.bv-youtube-controls .bv-volume {
  width: 78px;
  accent-color: #fff;
}

.bv-time-pill {
  min-width: auto !important;
  height: 34px;
  display: inline-flex !important;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  white-space: nowrap;
}

.bv-youtube-title-layout {
  padding-top: 12px !important;
}

.bv-youtube-title-layout .bv-watch-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 0 2px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bv-youtube-title-layout .bv-watch-title-area h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 950;
}

.bv-youtube-title-layout .bv-watch-meta-line {
  margin-top: 8px;
  gap: 8px;
  color: #64748b;
}

.bv-youtube-title-layout .bv-watch-meta-line span {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.bv-youtube-title-layout .bv-watch-meta-line span + span:before {
  content: '•';
  margin-right: 8px;
  color: #94a3b8;
}

.bv-youtube-title-layout .bv-watch-meta-line .bv-duration-main {
  color: #64748b !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.bv-watch-channel-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: #0f172a;
}

.bv-watch-channel-line .bv-channel-avatar {
  flex: 0 0 auto;
}

.bv-watch-channel-line strong {
  font-size: 14px;
  font-weight: 950;
}

.bv-watch-channel-line small {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.bv-youtube-title-layout .bv-watch-actions {
  justify-content: flex-end;
  max-width: 520px;
  margin: 0;
}

.bv-youtube-title-layout .bv-action-btn {
  min-height: 38px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: none;
  font-weight: 900;
}

.bv-youtube-title-layout .bv-action-btn:hover {
  background: #e2e8f0;
}

@media (max-width: 760px) {
  .bv-camera-title-priority label {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .bv-camera-title-priority label span {
    white-space: normal;
  }

  .bv-camera-title-priority input {
    min-height: 54px !important;
    font-size: 15px !important;
  }

  .bv-youtube-controls {
    padding: 0 8px 8px !important;
  }

  .bv-youtube-controls .bv-control-row {
    gap: 6px;
  }

  .bv-youtube-controls .bv-volume,
  .bv-youtube-controls .bv-control-btn[data-player-action="loop"],
  .bv-youtube-controls .bv-control-btn[data-player-action="mini"] {
    display: none !important;
  }

  .bv-control-left-pack,
  .bv-control-right-pack {
    gap: 5px;
  }

  .bv-control-right-pack {
    padding: 6px;
  }

  .bv-youtube-controls .bv-control-btn,
  .bv-youtube-controls .bv-select {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }

  .bv-time-pill {
    height: 32px;
    padding: 0 8px;
    font-size: 11px !important;
  }

  .bv-youtube-title-layout .bv-watch-summary-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .bv-youtube-title-layout .bv-watch-title-area h1 {
    font-size: 20px;
  }

  .bv-youtube-title-layout .bv-watch-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .bv-youtube-title-layout .bv-action-btn {
    flex: 0 1 auto !important;
    min-height: 36px;
    padding: 0 12px;
  }
}

@media (max-width: 420px) {
  .bv-youtube-controls .bv-quality {
    display: none !important;
  }

  .bv-youtube-controls .bv-control-btn,
  .bv-youtube-controls .bv-select {
    width: 32px !important;
    min-width: 32px !important;
  }

  .bv-time-pill {
    max-width: 88px;
    overflow: hidden;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .bv-youtube-controls .bv-control-row {
    display: flex !important;
    grid-template-columns: none !important;
  }

  .bv-youtube-controls .bv-control-left-pack,
  .bv-youtube-controls .bv-control-right-pack {
    display: inline-flex !important;
  }

  .bv-youtube-controls .bv-control-btn[data-player-action="theater"],
  .bv-youtube-controls .bv-control-btn[data-player-action="fullscreen"],
  .bv-youtube-controls .bv-speed {
    display: inline-flex !important;
  }

  .bv-youtube-controls .bv-control-btn[data-player-action="fullscreen"]:after,
  .bv-youtube-controls .bv-control-btn[data-player-action="loop"]:after {
    content: none !important;
  }
}

/* =========================================================
   Buynnex Video Stream - Fix 2.1.9
   Assistir publico, Studio protegido, upload seguro e watermark proporcional.
========================================================= */
.bv-login-top-btn {
  border: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 950;
  color: #0f172a;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .16);
}

.bv-avatar.is-guest {
  background: linear-gradient(135deg, #e2e8f0, #ffffff);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.35);
}

.bv-login-tab-btn {
  background: #0f172a !important;
  color: #fff !important;
}

.bv-login-panel {
  padding: 6px 0 0;
}

.bv-login-gate-card {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.9));
  border: 1px solid rgba(148,163,184,.28);
  box-shadow: 0 28px 72px rgba(15, 23, 42, .14);
}

.bv-login-gate-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.bv-login-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(219,234,254,.95);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bv-login-gate-copy h3,
.bv-auth-gate-card h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  line-height: .95;
  letter-spacing: -.06em;
  color: #0f172a;
}

.bv-login-gate-copy p,
.bv-auth-gate-card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  font-weight: 750;
}

.bv-login-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.bv-soft-login-btn {
  border: 0;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  color: #1d4ed8;
  background: #eef4ff;
  font-weight: 950;
}

.bv-login-iframe-wrap {
  overflow: hidden;
  min-height: 430px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.bv-login-iframe-wrap iframe,
.bv-auth-gate-card iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  background: #fff;
}

.bv-auth-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2,6,23,.58);
  backdrop-filter: blur(12px);
}

.bv-auth-gate-overlay.is-open {
  display: flex;
}

.bv-auth-gate-card {
  position: relative;
  width: min(920px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  box-shadow: 0 38px 110px rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.58);
}

.bv-auth-gate-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(15,23,42,.08);
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.bv-upload-working .bv-create-submit {
  opacity: .75;
  cursor: progress;
}

.bv-thumb.bv-thumb-live::after,
.bv-player-watermark.bv-player-watermark-logo {
  border-radius: 22px !important;
}

.bv-player-watermark.bv-player-watermark-logo img {
  border-radius: 22px !important;
}

.bv-thumb.bv-thumb-live::after {
  width: clamp(46px, 24%, 76px) !important;
  height: clamp(46px, 24%, 76px) !important;
  max-width: 76px !important;
  max-height: 76px !important;
  top: 12px !important;
  left: 12px !important;
  border-radius: 19px !important;
  background-color: rgba(15,23,42,.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18) !important;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: .34 !important;
}

.bv-next-card .bv-thumb.bv-thumb-live::after {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  top: 7px !important;
  left: 7px !important;
  border-radius: 14px !important;
  opacity: .34 !important;
}

.bv-library-mini-thumb.bv-thumb-live::after,
.bv-edit-thumb.bv-thumb-live::after {
  border-radius: 12px !important;
  background-color: rgba(15,23,42,.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16) !important;
}

@media (max-width: 900px) {
  .bv-login-gate-card {
    grid-template-columns: 1fr;
  }

  .bv-login-iframe-wrap {
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .bv-login-top-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .bv-login-gate-card {
    padding: 12px;
    border-radius: 22px;
  }

  .bv-login-iframe-wrap,
  .bv-login-iframe-wrap iframe,
  .bv-auth-gate-card iframe {
    min-height: 520px;
  }

  .bv-thumb.bv-thumb-live::after {
    width: clamp(40px, 24%, 55px) !important;
    height: clamp(40px, 24%, 55px) !important;
    top: 9px !important;
    left: 9px !important;
    border-radius: 16px !important;
  }

  .bv-next-card .bv-thumb.bv-thumb-live::after {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    top: 6px !important;
    left: 6px !important;
    border-radius: 11px !important;
  }
}

/* Fix 2.2.0 - botoes/abas clicaveis e filtros visuais */
.bv-side-link,
.bv-cat,
.bv-pill-btn,
.bv-premium-btn,
.bv-search-btn,
.bv-notify {
  cursor: pointer;
}

.bv-side-link:focus-visible,
.bv-cat:focus-visible,
.bv-pill-btn:focus-visible,
.bv-premium-btn:focus-visible,
.bv-search-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 3px;
}

/* Fix 2.3.6 - remove cadeado duplicado.
   O cadeado visual agora vem somente do elemento .bv-side-lock gerado no PHP.
   Este pseudo-elemento antigo criava um segundo cadeado no menu lateral. */
.bv-side-link.bv-menu-auth-required::after {
  content: none !important;
  display: none !important;
}

.bv-side-link.bv-menu-auth-required.active::after,
.bv-side-link.bv-menu-auth-required:hover::after {
  content: none !important;
  display: none !important;
}

.bv-filter-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, .14);
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(219,234,254,.84));
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 30px;
  color: #0f172a;
}

.bv-filter-empty strong {
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.bv-filter-empty span {
  max-width: 720px;
  color: #64748b;
  font-weight: 800;
  line-height: 1.5;
}

.bv-video-card {
  transition: transform .18s ease, opacity .18s ease;
}

.bv-video-card[style*="display: none"] {
  opacity: 0;
}

@media (max-width: 768px) {
  .bv-filter-empty {
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
  }
  .bv-filter-empty strong {
    font-size: 21px;
  }
}

/* =========================================================
   Fix 2.2.1 - menu mobile, Studio em pagina propria e paineis reais
========================================================= */
.bv-premium-btn,
.bv-login-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bv-menu-toggle {
  display: inline-grid;
  place-items: center;
}

.bv-dynamic-panel {
  margin: 0 0 22px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(219,234,254,.78));
  border: 1px solid rgba(148,163,184,.24);
  box-shadow: 0 22px 60px rgba(15,23,42,.09);
}

.bv-panel-headline {
  display: grid;
  gap: 8px;
  color: #0f172a;
}

.bv-panel-headline span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bv-panel-headline strong {
  font-size: clamp(26px, 4vw, 42px);
  line-height: .98;
  letter-spacing: -.055em;
}

.bv-panel-headline p {
  margin: 0;
  max-width: 820px;
  color: #475569;
  line-height: 1.55;
  font-weight: 750;
}

.bv-summary-grid,
.bv-studio-dashboard-row,
.bv-config-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bv-studio-dashboard-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 16px;
}

.bv-summary-card,
.bv-config-grid > div {
  min-width: 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 16px 36px rgba(15,23,42,.06);
}

.bv-summary-card b,
.bv-config-grid b {
  display: block;
  color: #0f172a;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.05;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.bv-summary-card span,
.bv-config-grid span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.bv-studio-shell .bv-layout {
  align-items: start;
}

.bv-studio-page {
  width: 100%;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
  background: rgba(255,255,255,.92) !important;
}

.bv-studio-page .bv-modal-body {
  overflow: visible !important;
}

.bv-studio-page-head {
  background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(37,99,235,.86));
  color: #fff;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.bv-studio-page-head .bv-card-sub,
.bv-studio-page-head .bv-creator-login-note {
  color: rgba(255,255,255,.78);
}

.bv-config-card {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff, #eff6ff);
  border: 1px solid rgba(148,163,184,.24);
  box-shadow: 0 20px 55px rgba(15,23,42,.08);
}

.bv-config-card h3 {
  margin: 10px 0 6px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -.055em;
}

.bv-config-card p {
  color: #64748b;
  font-weight: 750;
}

.bv-studio-page.bv-camera-live-mode #btnStartRecording,
.bv-studio-page.bv-camera-live-mode .bv-camera-control-secondary,
.bv-studio-page.bv-camera-recording-mode #btnStopRecording,
.bv-studio-page.bv-camera-recording-mode .bv-camera-control-secondary,
.bv-studio-page.bv-camera-recording-mode #btnPauseRecording,
.bv-studio-page.bv-camera-paused-mode #btnResumeRecording,
.bv-studio-page.bv-camera-recorded-mode .bv-camera-control-final,
.bv-studio-page.bv-camera-recorded-mode #btnUseRecording,
.bv-studio-page.bv-camera-recorded-mode #btnDiscardRecording {
  display: grid;
}

.bv-studio-page.bv-camera-recording-mode #btnEnableCamera,
.bv-studio-page.bv-camera-recording-mode #btnStartRecording,
.bv-studio-page.bv-camera-recorded-mode #btnEnableCamera,
.bv-studio-page.bv-camera-recorded-mode #btnStartRecording,
.bv-studio-page.bv-camera-paused-mode #btnPauseRecording {
  display: none !important;
}

.bv-studio-page.bv-camera-recording-mode .camera-timer {
  background: rgba(239,68,68,.10);
  color: #991b1b !important;
  border-color: rgba(239,68,68,.24);
}

.bv-studio-page.bv-camera-recorded-mode .camera-timer {
  background: rgba(34,197,94,.10);
  color: #166534 !important;
  border-color: rgba(34,197,94,.24);
}

@media (max-width: 768px) {
  body.bv-sidebar-open {
    overflow: hidden;
  }

  .bv-layout {
    position: relative;
  }

  .bv-sidebar {
    position: fixed !important;
    top: calc(72px + env(safe-area-inset-top)) !important;
    left: 10px;
    bottom: 10px;
    width: min(82vw, 310px);
    height: auto !important;
    display: block !important;
    padding: 12px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 1200;
    transform: translateX(calc(-100% - 24px));
    transition: transform .22s ease;
    border-radius: 24px !important;
    box-shadow: 0 28px 80px rgba(15,23,42,.26) !important;
    background: rgba(255,255,255,.96) !important;
    -webkit-overflow-scrolling: touch;
  }

  body.bv-sidebar-open .bv-sidebar {
    transform: translateX(0);
  }

  body.bv-sidebar-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.35);
    backdrop-filter: blur(5px);
    z-index: 1190;
  }

  .bv-side-link {
    width: 100%;
    margin: 0 0 8px !important;
    white-space: normal !important;
  }

  .bv-summary-grid,
  .bv-studio-dashboard-row,
  .bv-config-grid {
    grid-template-columns: 1fr;
  }

  .bv-dynamic-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .bv-studio-page {
    border-radius: 24px !important;
  }

  .bv-studio-page-head {
    border-radius: 24px 24px 0 0;
    align-items: flex-start;
  }

  .bv-studio-page .bv-modal-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bv-studio-page.bv-camera-mode .bv-tabs {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }

  .bv-studio-page.bv-camera-mode .camera-preview-wrap {
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .bv-studio-page.bv-camera-mode .buynnex-camera-preview,
  .bv-studio-page.bv-camera-mode .buynnex-recorded-preview {
    min-height: 360px !important;
    object-fit: cover !important;
  }

  .bv-studio-page.bv-camera-mode .camera-actions {
    position: static !important;
    margin-top: 12px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.94) !important;
  }
}

/* Fix 2.2.2 - Player estilo YouTube com volume visivel */
.bv-youtube-controls .bv-volume {
  display: inline-block !important;
  height: 24px;
  max-width: 82px;
}
@media (max-width: 700px) {
  .bv-youtube-controls .bv-volume {
    display: inline-block !important;
    width: 56px !important;
    max-width: 56px !important;
  }
}

/* Fix 2.2.3 - Like/owner polish */
.bv-like-video.liked,
.bv-action-btn.bv-like-video.liked,
.bv-mini-share-btn.bv-like-video.liked {
  background: linear-gradient(135deg, rgba(29, 78, 216, .98), rgba(37, 99, 235, .92));
  color: #ffffff !important;
  border-color: rgba(255,255,255,.38);
  box-shadow: 0 12px 30px rgba(37, 99, 235, .22);
}
.bv-watch-channel-line strong,
.bv-card-sub span[id^="bvLikeCounter"] {
  letter-spacing: -0.01em;
}

/* =========================================================
   Buynnex Video Stream - Fix 2.2.6
   Player resize, duplo clique e menu de qualidade legivel.
========================================================= */
body.bv-theater-active {
  overflow-x: hidden;
}

body.bv-theater-active .bv-watch-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

body.bv-theater-active .bv-recommend-sidebar {
  display: none !important;
}

body.bv-theater-active .bv-watch-panel {
  padding: 8px !important;
}

body.bv-theater-active .buynnex-player-shell.theater-mode {
  min-height: min(78vh, 820px) !important;
  border-radius: 18px !important;
}

.buynnex-player-shell.fullscreen-mode {
  border-radius: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  aspect-ratio: auto !important;
}

.buynnex-player-shell.fullscreen-mode .buynnex-player-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.bv-youtube-controls .bv-quality,
.bv-youtube-controls .bv-speed {
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  overflow: visible !important;
  color: #fff !important;
  background-color: rgba(15, 23, 42, .48) !important;
}

.bv-youtube-controls .bv-quality option,
.bv-youtube-controls .bv-speed option,
.bv-select option {
  color: #0f172a !important;
  background: #ffffff !important;
  font-weight: 850 !important;
  padding: 8px 12px !important;
}

.bv-youtube-controls .bv-quality:focus,
.bv-youtube-controls .bv-speed:focus,
.bv-youtube-controls .bv-control-btn:focus {
  outline: 2px solid rgba(96, 165, 250, .95) !important;
  outline-offset: 2px;
}

.bv-youtube-controls .bv-control-btn[data-player-action="fullscreen"].is-active,
.bv-youtube-controls .bv-control-btn[data-player-action="theater"].is-active {
  background: rgba(37, 99, 235, .88) !important;
  border-color: rgba(255, 255, 255, .38) !important;
}

.buynnex-player-video {
  cursor: pointer;
}

@media (max-width: 420px) {
  .bv-youtube-controls .bv-quality {
    display: inline-flex !important;
  }
}

@media (max-width: 760px) {
  body.bv-theater-active .buynnex-player-shell.theater-mode {
    min-height: 52vh !important;
    border-radius: 14px !important;
  }

  .bv-youtube-controls .bv-quality,
  .bv-youtube-controls .bv-speed {
    font-size: 11px !important;
  }
}

/* Fix 2.2.7 - Player advanced controls refix
   - Double click/tap toggles expanded player without depending on native fullscreen.
   - Gear menu is custom HTML so labels are readable on desktop/mobile.
   - Advanced speed/quality is shown only for authorized moderators/admins. */
body.bv-player-expanded-active {
  overflow: hidden !important;
}

.buynnex-player-shell.fullscreen-mode {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  background: #000 !important;
  box-shadow: none !important;
}

.buynnex-player-shell.fullscreen-mode .buynnex-player-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.buynnex-player-shell.fullscreen-mode .bv-controls {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 18px max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)) !important;
}

.buynnex-player-shell.fullscreen-mode .bv-player-watermark-logo {
  top: max(16px, env(safe-area-inset-top)) !important;
  left: max(16px, env(safe-area-inset-left)) !important;
}

.bv-player-select-state {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.bv-settings-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.bv-settings-toggle {
  min-width: 42px !important;
  gap: 4px;
  white-space: nowrap;
}

.bv-settings-wrap.is-open .bv-settings-toggle,
.bv-settings-toggle:hover {
  background: rgba(37, 99, 235, .92) !important;
  border-color: rgba(255, 255, 255, .34) !important;
}

.bv-settings-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(260px, calc(100vw - 28px));
  max-height: min(72vh, 420px);
  overflow: auto;
  display: none;
  padding: 12px;
  border-radius: 18px;
  color: #e5edff;
  background: rgba(15, 23, 42, .96);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bv-settings-wrap.is-open .bv-settings-panel {
  display: block;
}

.bv-settings-head {
  display: grid;
  gap: 4px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 10px;
}

.bv-settings-head span,
.bv-settings-section strong {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
}

.bv-settings-head small {
  color: rgba(226, 232, 240, .78);
  font-size: 11px;
  line-height: 1.35;
}

.bv-settings-section {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.bv-settings-options {
  display: grid;
  gap: 6px;
}

.bv-settings-option,
.bv-settings-empty {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  color: #f8fafc;
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 850;
  padding: 8px 10px;
}

.bv-settings-option {
  cursor: pointer;
}

.bv-settings-option:hover,
.bv-settings-option.is-active {
  background: rgba(37, 99, 235, .95);
  border-color: rgba(147, 197, 253, .72);
}

.bv-settings-option.is-active:after {
  content: '✓';
  margin-left: 8px;
  color: #fff;
  font-weight: 950;
}

.bv-settings-empty {
  justify-content: center;
  color: rgba(226,232,240,.75);
}

@media (max-width: 760px) {
  .bv-settings-panel {
    right: -42px;
    width: min(240px, calc(100vw - 24px));
    max-height: min(64vh, 360px);
  }

  .buynnex-player-shell.fullscreen-mode .bv-control-row {
    gap: 7px !important;
  }
}

/* Fix 2.2.8 - Fluxo de criação por dispositivo e câmera mobile premium
   Mantém desktop atual, mas cria uma experiência vertical limpa para celular. */
.bv-device-choice-panel {
  padding: 6px 0 14px;
}

.bv-device-choice-head {
  max-width: 820px;
  margin: 0 auto 18px;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(8, 24, 62, .96), rgba(37, 99, 235, .88));
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.bv-device-choice-head h3 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: .98;
  letter-spacing: -.06em;
}

.bv-device-choice-head p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-weight: 750;
  line-height: 1.5;
}

.bv-device-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.bv-device-choice-card {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  color: #07152f;
  text-align: left;
  padding: 24px;
  min-height: 230px;
  display: grid;
  gap: 10px;
  align-content: start;
  cursor: pointer;
  box-shadow: 0 22px 56px rgba(15,23,42,.14);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bv-device-choice-card:hover,
.bv-device-choice-card:focus {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, .62);
  box-shadow: 0 28px 80px rgba(37,99,235,.22);
  outline: none;
}

.bv-device-choice-card.mobile {
  background: radial-gradient(circle at top left, rgba(37,99,235,.28), transparent 38%), linear-gradient(145deg, #07152f, #111827 72%, #05070d);
  color: #fff;
}

.bv-device-icon {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,.12);
  font-size: 30px;
}

.bv-device-choice-card.mobile .bv-device-icon {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}

.bv-device-choice-card strong {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.bv-device-choice-card em {
  font-style: normal;
  font-size: 15px;
  font-weight: 850;
  color: #2563eb;
}

.bv-device-choice-card.mobile em {
  color: #93c5fd;
}

.bv-device-choice-card small {
  display: block;
  color: #64748b;
  font-weight: 750;
  line-height: 1.45;
}

.bv-device-choice-card.mobile small {
  color: rgba(226,232,240,.78);
}

.bv-camera-mobile-hud {
  display: none;
}

.bv-camera-download-btn {
  border-color: rgba(14,165,233,.22) !important;
  background: rgba(14,165,233,.11) !important;
  color: #075985 !important;
}

@media (max-width: 860px) {
  .bv-device-choice-grid {
    grid-template-columns: 1fr;
  }

  .bv-device-choice-head,
  .bv-device-choice-card {
    border-radius: 24px;
  }

  body.bv-mobile-camera-active {
    background: #050505 !important;
  }

  body.bv-mobile-camera-active .bv-topbar,
  body.bv-mobile-camera-active .bv-sidebar {
    display: none !important;
  }

  body.bv-mobile-camera-active .bv-layout,
  body.bv-mobile-camera-active .bv-main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.bv-mobile-camera-active .bv-studio-page {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: radial-gradient(circle at top, #1f2937 0, #050505 52%, #000 100%) !important;
    box-shadow: none !important;
  }

  body.bv-mobile-camera-active .bv-studio-page-head,
  body.bv-mobile-camera-active .bv-studio-dashboard-row,
  body.bv-mobile-camera-active .bv-tabs,
  body.bv-mobile-camera-active .bv-camera-flow-head,
  body.bv-mobile-camera-active .bv-mobile-native-record {
    display: none !important;
  }

  body.bv-mobile-camera-active .bv-studio-page .bv-modal-body {
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) !important;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: stretch;
  }

  body.bv-mobile-camera-active #tabCamera {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid !important;
    grid-template-rows: auto 1fr;
    gap: 0;
    padding: 0 !important;
    background: #000;
  }

  body.bv-mobile-camera-active .bv-camera-title-priority {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(12px + env(safe-area-inset-top));
    z-index: 30;
    background: rgba(8, 13, 23, .72) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.32);
  }

  body.bv-mobile-camera-active .bv-camera-title-priority label {
    color: #fff !important;
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }

  body.bv-mobile-camera-active .bv-camera-title-priority label span,
  body.bv-mobile-camera-active .bv-camera-title-priority small {
    display: none !important;
  }

  body.bv-mobile-camera-active .bv-camera-title-priority input {
    min-height: 38px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.92) !important;
    color: #07152f !important;
    font-size: 14px !important;
  }

  body.bv-mobile-camera-active .camera-panel.bv-camera-clean-panel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    display: block !important;
    overflow: hidden;
  }

  body.bv-mobile-camera-active .bv-camera-preview-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
    overflow: hidden;
  }

  body.bv-mobile-camera-active .bv-camera-preview-stage:before {
    display: none !important;
  }

  body.bv-mobile-camera-active .buynnex-camera-preview,
  body.bv-mobile-camera-active .buynnex-recorded-preview {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    background: #000 !important;
  }

  body.bv-mobile-camera-active .bv-camera-mobile-hud {
    display: flex;
    position: absolute;
    top: calc(86px + env(safe-area-inset-top));
    left: 20px;
    right: 20px;
    z-index: 8;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    color: #fff;
    font-weight: 850;
    letter-spacing: .01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
  }

  body.bv-mobile-camera-active .bv-camera-rec-indicator,
  body.bv-mobile-camera-active .bv-camera-quality-hud {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 0;
    font-size: 15px;
  }

  body.bv-mobile-camera-active .bv-camera-rec-indicator i {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 8px;
    border-radius: 50%;
    background: #ff1d1d;
    box-shadow: 0 0 18px rgba(255,29,29,.82);
  }

  body.bv-mobile-camera-active .bv-camera-controls {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(32px + env(safe-area-inset-bottom)) !important;
    z-index: 9;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 18px !important;
    padding: 0 24px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.bv-mobile-camera-active .camera-timer {
    display: none !important;
  }

  body.bv-mobile-camera-active .bv-camera-control-group {
    display: contents !important;
  }

  body.bv-mobile-camera-active .bv-camera-controls button {
    width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 2px solid rgba(255,255,255,.88) !important;
    background: rgba(0,0,0,.28) !important;
    color: #fff !important;
    font-size: 0 !important;
    display: none;
    place-items: center;
    box-shadow: 0 16px 32px rgba(0,0,0,.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body.bv-mobile-camera-active .bv-camera-controls button:before {
    font-size: 26px;
    line-height: 1;
    color: #fff;
    font-weight: 950;
  }

  body.bv-mobile-camera-active #btnEnableCamera:before { content: '📷'; font-size: 24px; }
  body.bv-mobile-camera-active #btnPauseRecording:before { content: 'Ⅱ'; }
  body.bv-mobile-camera-active #btnResumeRecording:before { content: '▶'; }
  body.bv-mobile-camera-active #btnStopRecording:before { content: '■'; font-size: 24px; }
  body.bv-mobile-camera-active #btnSwitchCamera:before { content: '↻'; }
  body.bv-mobile-camera-active #btnDownloadRecording:before { content: '↓'; }
  body.bv-mobile-camera-active #btnDiscardRecording:before { content: '×'; font-size: 30px; }

  body.bv-mobile-camera-active #btnStartRecording {
    width: 82px !important;
    height: 82px !important;
    min-height: 82px !important;
    grid-column: 2;
    border: 5px solid rgba(255,255,255,.95) !important;
    outline: 2px solid rgba(255,255,255,.32);
    background: radial-gradient(circle at 35% 30%, #ff4d4d, #ff1111 58%, #b30000) !important;
    box-shadow: 0 0 0 4px rgba(255,255,255,.14), 0 18px 45px rgba(255,0,0,.28) !important;
  }

  body.bv-mobile-camera-active #btnStartRecording:before { content: ''; }

  body.bv-mobile-camera-active #btnEnableCamera {
    display: grid !important;
    grid-column: 2;
    width: 82px !important;
    height: 82px !important;
    min-height: 82px !important;
    background: radial-gradient(circle at 35% 30%, #2dd4bf, #2563eb) !important;
  }

  body.bv-mobile-camera-active .bv-camera-live-mode #btnEnableCamera,
  body.bv-mobile-camera-active .bv-camera-recording-mode #btnEnableCamera,
  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnEnableCamera {
    display: none !important;
  }

  body.bv-mobile-camera-active .bv-camera-live-mode #btnStartRecording,
  body.bv-mobile-camera-active .bv-camera-paused-mode #btnResumeRecording,
  body.bv-mobile-camera-active .bv-camera-recording-mode #btnPauseRecording,
  body.bv-mobile-camera-active .bv-camera-recording-mode #btnStopRecording,
  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnUseRecording,
  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnDownloadRecording,
  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnDiscardRecording {
    display: grid !important;
  }

  body.bv-mobile-camera-active .bv-camera-recording-mode #btnPauseRecording,
  body.bv-mobile-camera-active .bv-camera-paused-mode #btnResumeRecording,
  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnDownloadRecording {
    grid-column: 1;
  }

  body.bv-mobile-camera-active .bv-camera-recording-mode #btnStopRecording,
  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnDiscardRecording {
    grid-column: 3;
  }

  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnUseRecording {
    grid-column: 2;
    width: 82px !important;
    height: 82px !important;
    min-height: 82px !important;
    background: radial-gradient(circle at 35% 30%, #34d399, #16a34a) !important;
  }

  body.bv-mobile-camera-active .bv-camera-recorded-mode #btnUseRecording:before {
    content: '✓';
    font-size: 34px;
  }

  body.bv-mobile-camera-active .camera-message {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(128px + env(safe-area-inset-bottom));
    z-index: 20;
    border-radius: 18px !important;
    background: rgba(15, 23, 42, .76) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #fff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body.bv-mobile-camera-active .camera-message.error {
    background: rgba(127, 29, 29, .82) !important;
  }
}

@media (max-width: 860px) {
  body.bv-mobile-camera-active .bv-camera-paused-mode #btnStopRecording {
    display: grid !important;
    grid-column: 3;
  }
}

/* Fix 2.2.9 - banner preservado com marca original Buynnex */
.bv-hero-brand-logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 210px;
  margin: 0 0 18px 0;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 32px rgba(15,23,42,.20);
  backdrop-filter: blur(10px);
}

.bv-hero-brand-logo img {
  display: block;
  width: 100%;
  max-width: 185px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.28));
}

@media (max-width: 768px) {
  .bv-hero-brand-logo {
    max-width: 170px;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 16px;
  }
  .bv-hero-brand-logo img {
    max-width: 150px;
  }
}

/* Fix 2.3.0 - Visual mais limpo estilo plataforma de videos + comentarios */
body {
  font-family: Roboto, Arial, Helvetica, sans-serif !important;
  background: #ffffff !important;
}

.bv-app {
  background: #ffffff !important;
}

.bv-layout,
.bv-watch-layout {
  background: #ffffff !important;
}

.bv-sidebar {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.bv-side-link {
  color: #0f0f0f !important;
  font-weight: 500 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  background: transparent !important;
}

.bv-side-link:hover,
.bv-side-link.active {
  background: #f2f2f2 !important;
  color: #0f0f0f !important;
}

.bv-side-link span {
  min-width: 22px;
  text-align: center;
  filter: none !important;
}

.bv-hero-brand-logo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: 220px !important;
}

.bv-hero-brand-logo img {
  max-width: 205px !important;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.20)) !important;
}

.bv-category-bar {
  background: #ffffff !important;
}

.bv-cat {
  background: #f2f2f2 !important;
  color: #0f0f0f !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.bv-cat.active {
  background: #0f0f0f !important;
  color: #ffffff !important;
}

.bv-card,
.bv-watch-panel,
.bv-watch-summary-card,
.bv-watch-description-card,
.bv-watch-facts-card,
.bv-comments,
.bv-recommend-sidebar,
.bv-studio-card {
  box-shadow: none !important;
}

.bv-watch-panel {
  background: #ffffff !important;
  border: 0 !important;
  padding: 0 !important;
}

.bv-watch-summary-card {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 14px 4px 6px !important;
}

.bv-watch-title-area h1 {
  font-family: Roboto, Arial, Helvetica, sans-serif !important;
  color: #0f0f0f !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

.bv-watch-meta-line {
  color: #606060 !important;
  font-weight: 500 !important;
}

.bv-watch-channel-line {
  margin-top: 12px !important;
}

.bv-youtube-action-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.bv-yt-like-group {
  display: inline-flex;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f2f2;
}

.bv-yt-like-group .bv-yt-action {
  border-radius: 0 !important;
  margin: 0 !important;
}

.bv-yt-like-group .bv-yt-action + .bv-yt-action {
  border-left: 1px solid rgba(0,0,0,.08) !important;
}

.bv-yt-action {
  min-height: 42px !important;
  border-radius: 999px !important;
  background: #f2f2f2 !important;
  color: #0f0f0f !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 16px !important;
  font-weight: 700 !important;
}

.bv-yt-action:hover,
.bv-yt-action.liked {
  background: #e5e5e5 !important;
  color: #0f0f0f !important;
}

.bv-watch-content-grid {
  display: block !important;
}

.bv-watch-description-card {
  background: #f2f2f2 !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin-top: 12px !important;
  color: #0f0f0f !important;
}

.bv-watch-description-card h2 {
  display: none !important;
}

.bv-watch-facts-card,
.bv-tech-details {
  margin-top: 12px !important;
}

.bv-youtube-comments {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 24px 0 40px !important;
  margin-top: 10px !important;
}

.bv-comments-head {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 18px;
}

.bv-comments-head h2 {
  margin: 0 !important;
  font-size: 22px !important;
  color: #0f0f0f !important;
  font-weight: 700 !important;
}

.bv-comments-sort {
  color: #0f0f0f;
  font-weight: 700;
  font-size: 14px;
}

.bv-comment-form {
  display: flex;
  gap: 12px;
  margin: 0 0 24px 0;
}

.bv-comment-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  font-weight: 900;
  font-size: 14px;
}

.bv-comment-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.bv-comment-input-wrap textarea {
  width: 100%;
  min-height: 36px;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid #d3d3d3;
  border-radius: 0;
  padding: 8px 0;
  outline: none;
  background: transparent;
  color: #0f0f0f;
  font-size: 15px;
}

.bv-comment-input-wrap textarea:focus {
  border-bottom-color: #0f0f0f;
}

.bv-comment-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.bv-comment-cancel,
.bv-comment-submit,
.bv-comment-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.bv-comment-cancel {
  background: transparent;
  color: #0f0f0f;
}

.bv-comment-submit,
.bv-comment-login {
  background: #065fd4;
  color: #fff;
}

.bv-comment-status {
  margin-top: 6px;
  font-size: 13px;
  color: #2563eb;
  display: none;
}

.bv-comment-status.show,
.bv-comment-status.error {
  display: block;
}

.bv-comment-status.error {
  color: #dc2626;
}

.bv-comment-list {
  display: grid;
  gap: 18px;
}

.bv-comment-item {
  display: flex;
  gap: 12px;
}

.bv-comment-item strong {
  display: inline-block;
  color: #0f0f0f;
  font-size: 14px;
  margin-right: 8px;
}

.bv-comment-item small {
  color: #606060;
  font-size: 12px;
}

.bv-comment-item p {
  margin: 6px 0 0 0;
  color: #0f0f0f;
  line-height: 1.45;
  font-size: 14px;
}

.bv-no-comments {
  padding-left: 48px;
}

@media (max-width: 860px) {
  .bv-sidebar {
    border-radius: 0 !important;
  }
  .bv-youtube-action-row {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 4px;
  }
  .bv-yt-action {
    flex: 0 0 auto;
  }
  .bv-hero-brand-logo img {
    max-width: 165px !important;
  }
}

/* ==========================================================
   Fix 2.3.2 - Painel visual de moderacao apenas para admin
   ========================================================== */
.bv-moderation-shell .bv-main {
  background: #fff;
}

.bv-moderation-hero,
.bv-moderation-denied {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #07152f 0%, #143f86 52%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
  margin-bottom: 22px;
}

.bv-moderation-denied {
  display: block;
  max-width: 820px;
}

.bv-moderation-hero h1,
.bv-moderation-denied h1 {
  margin: 8px 0 10px 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 950;
}

.bv-moderation-hero p,
.bv-moderation-denied p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  line-height: 1.55;
}

.bv-moderation-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
}

.bv-moderation-alert {
  align-self: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.bv-moderation-alert strong,
.bv-moderation-alert span {
  display: block;
}

.bv-moderation-alert strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.bv-moderation-alert span {
  color: rgba(255,255,255,.86);
  font-weight: 700;
  line-height: 1.5;
}

.bv-moderation-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.bv-moderation-stats div {
  padding: 18px 16px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.bv-moderation-stats b {
  display: block;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.8px;
}

.bv-moderation-stats span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 800;
  font-size: 12px;
}

.bv-moderation-section {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
}

.bv-moderation-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.bv-moderation-section-head span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #174ea6;
  font-size: 12px;
  font-weight: 900;
}

.bv-moderation-section-head h2 {
  margin: 8px 0 0 0;
  color: #0f172a;
  font-size: 24px;
  letter-spacing: -.5px;
}

.bv-moderation-section-head small {
  color: #64748b;
  font-weight: 700;
}

.bv-moderation-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
}

.bv-moderation-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #fff;
}

.bv-moderation-table th,
.bv-moderation-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
  color: #0f172a;
}

.bv-moderation-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bv-moderation-table td strong,
.bv-moderation-table td small {
  display: block;
}

.bv-moderation-table td small {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.bv-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 900;
  font-size: 12px;
  text-transform: capitalize;
}

.bv-status-pill.status-ativo,
.bv-status-pill.status-analisado {
  background: #dcfce7;
  color: #166534;
}

.bv-status-pill.status-pendente {
  background: #fef3c7;
  color: #92400e;
}

.bv-status-pill.status-bloqueado,
.bv-status-pill.status-oculto {
  background: #fee2e2;
  color: #991b1b;
}

.bv-status-pill.status-excluido,
.bv-status-pill.status-removido,
.bv-status-pill.status-indeferido {
  background: #e5e7eb;
  color: #374151;
}

.bv-moderation-actions,
.bv-moderation-card-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.bv-moderation-actions a,
.bv-moderation-actions button,
.bv-moderation-card-actions a,
.bv-moderation-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.bv-moderation-actions button:hover,
.bv-moderation-card-actions button:hover,
.bv-moderation-actions a:hover,
.bv-moderation-card-actions a:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.bv-moderation-list {
  display: grid;
  gap: 12px;
}

.bv-moderation-list.compact {
  gap: 10px;
}

.bv-moderation-card,
.bv-moderation-empty-card,
.bv-moderation-empty {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.bv-moderation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.bv-moderation-card strong,
.bv-moderation-card small,
.bv-moderation-card p {
  display: block;
}

.bv-moderation-card strong {
  color: #0f172a;
  font-size: 15px;
}

.bv-moderation-card small {
  margin-top: 4px;
  color: #64748b;
  font-weight: 700;
}

.bv-moderation-card p {
  margin: 10px 0 0 0;
  color: #334155;
  line-height: 1.5;
}

.bv-moderation-empty,
.bv-moderation-empty-card {
  color: #64748b;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .bv-moderation-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bv-moderation-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .bv-moderation-hero,
  .bv-moderation-denied,
  .bv-moderation-section {
    border-radius: 18px;
    padding: 18px;
  }
  .bv-moderation-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bv-moderation-card {
    grid-template-columns: 1fr;
  }
  .bv-moderation-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Fix 2.3.3 - compartilhamento universal e tempo publico dos videos */
.bv-mini-share-btn.bv-open-share-modal {
  color: #fff;
  border-color: rgba(37,99,235,.22);
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.bv-share-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(7px);
}
.bv-share-modal-overlay.is-open {
  display: flex;
}
.bv-share-modal {
  width: min(560px, 100%);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 30px 90px rgba(15,23,42,.26);
  overflow: hidden;
  color: #0f172a;
}
.bv-share-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 10px;
  font-size: 22px;
  font-weight: 900;
}
.bv-share-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.bv-share-modal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 18px 24px 20px;
  overflow-x: auto;
}
.bv-share-choice {
  min-width: 70px;
  border: 0;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 8px;
  font: inherit;
  cursor: pointer;
}
.bv-share-choice span {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 24px;
  font-weight: 950;
}
.bv-share-choice[data-share-network="facebook"] span { background: #315aa8; color: #fff; border-color: #315aa8; }
.bv-share-choice[data-share-network="whatsapp"] span { background: #25d366; color: #fff; border-color: #25d366; }
.bv-share-choice[data-share-network="x"] span { background: #000; color: #fff; border-color: #000; }
.bv-share-choice[data-share-network="messages"] span { background: #eff6ff; color: #2563eb; }
.bv-share-choice small {
  font-size: 12px;
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
}
.bv-share-copy-row {
  margin: 0 24px 22px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  background: #fff;
}
.bv-share-link-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
}
.bv-share-copy-now {
  border: 0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.bv-share-modal-status {
  display: none;
  margin: -8px 24px 22px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(14,165,233,.10);
  color: #075985;
  font-weight: 900;
}
.bv-share-modal-status.show {
  display: block;
}
@media (max-width: 640px) {
  .bv-share-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .bv-share-modal {
    width: 100%;
    border-radius: 24px 24px 0 0;
  }
  .bv-share-modal-grid {
    grid-template-columns: repeat(6, 76px);
    justify-content: flex-start;
  }
  .bv-share-copy-row {
    grid-template-columns: 1fr;
  }
  .bv-share-copy-now {
    width: 100%;
  }
}

/* Fix 2.3.4 - mobile menu vivo, player watch mais compacto e compartilhamento com SVG */
.bv-menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.bv-hamb-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #0f0f0f;
  transition: transform .18s ease, opacity .18s ease;
}
body.bv-sidebar-open .bv-hamb-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.bv-sidebar-open .bv-hamb-line:nth-child(2) { opacity: 0; }
body.bv-sidebar-open .bv-hamb-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.bv-watch-mobile-sidebar {
  display: none;
}
.bv-side-svg,
.bv-side-svg svg {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
}
.bv-side-svg svg {
  fill: currentColor;
}
.bv-side-lock {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  opacity: .62;
}

@media (min-width: 1100px) {
  .bv-watch-layout {
    max-width: 1580px !important;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 360px) !important;
    gap: 22px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: start !important;
  }
  .bv-watch-main {
    max-width: 1160px !important;
    width: 100% !important;
  }
  .bv-watch-panel .buynnex-player-shell {
    max-height: calc(100vh - 155px) !important;
  }
}

@media (max-width: 768px) {
  .bv-watch-mobile-sidebar {
    display: block;
  }
  .bv-watch-menu-toggle {
    display: inline-flex !important;
  }
  .bv-sidebar-open .bv-watch-mobile-sidebar,
  body.bv-sidebar-open .bv-watch-mobile-sidebar {
    transform: translateX(0) !important;
  }
  .bv-topbar .bv-brand-title {
    font-size: 15px !important;
  }
  .bv-topbar .bv-brand-subtitle {
    font-size: 10px !important;
  }
}

.bv-share-choice span svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  display: block;
}
.bv-share-choice[data-share-network="facebook"] span svg,
.bv-share-choice[data-share-network="whatsapp"] span svg,
.bv-share-choice[data-share-network="x"] span svg {
  fill: #fff;
}
.bv-share-choice[data-share-network="messages"] span svg {
  fill: #2563eb;
}
.bv-action-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
}
.bv-yt-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
}
@media (max-width: 640px) {
  .bv-youtube-action-row {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 8px !important;
    scrollbar-width: none;
  }
  .bv-youtube-action-row::-webkit-scrollbar { display: none; }
  .bv-yt-action {
    min-width: 118px !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    gap: 2px !important;
    padding: 8px 12px !important;
  }
  .bv-action-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;
    font-size: 18px;
  }
  .bv-watch-layout {
    padding-top: 8px !important;
  }
  .bv-watch-panel .buynnex-player-shell {
    min-height: 220px !important;
  }
}


/* Fix 2.3.5 - sanduiche desktop/mobile + icones laterais preservados */
.bv-menu-toggle {
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 999px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  color: #0f0f0f !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
.bv-menu-toggle:hover,
.bv-menu-toggle:focus-visible {
  background: #f2f2f2 !important;
  outline: none !important;
}
.bv-hamb-line {
  display: block !important;
  width: 21px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transition: transform .18s ease, opacity .18s ease, background .18s ease !important;
}
body.bv-sidebar-open .bv-hamb-line:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }
body.bv-sidebar-open .bv-hamb-line:nth-child(2) { opacity: 0 !important; }
body.bv-sidebar-open .bv-hamb-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg) !important; }

.bv-side-svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #0f0f0f !important;
  line-height: 1 !important;
  filter: none !important;
}
.bv-side-svg svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
}
.bv-side-label {
  display: inline-flex !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.bv-side-lock {
  margin-left: auto !important;
  font-style: normal !important;
  font-size: 11px !important;
  opacity: .55 !important;
}
.bv-side-link {
  min-height: 44px !important;
  gap: 16px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}
.bv-side-link:hover .bv-side-svg,
.bv-side-link.active .bv-side-svg {
  color: #0f0f0f !important;
}

@media (min-width: 769px) {
  .bv-top-left {
    gap: 10px !important;
  }
  .bv-layout {
    grid-template-columns: 252px minmax(0, 1fr) !important;
    transition: grid-template-columns .2s ease !important;
  }
  body.bv-sidebar-collapsed .bv-layout {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }
  body.bv-sidebar-collapsed .bv-sidebar {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  body.bv-sidebar-collapsed .bv-side-link {
    justify-content: center !important;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 14px !important;
  }
  body.bv-sidebar-collapsed .bv-side-label,
  body.bv-sidebar-collapsed .bv-side-lock {
    display: none !important;
  }
  body.bv-sidebar-collapsed .bv-side-svg {
    margin: 0 !important;
  }
  body.bv-sidebar-collapsed .bv-sidebar .bv-side-link:hover::after {
    content: attr(data-bv-filter-label);
    position: fixed;
    left: 86px;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(15,15,15,.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1800;
    pointer-events: none;
  }

  .bv-watch-mobile-sidebar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 286px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    padding: 82px 14px 18px !important;
    overflow-y: auto !important;
    z-index: 1300 !important;
    transform: translateX(-110%) !important;
    transition: transform .22s ease !important;
    background: #ffffff !important;
    border-right: 1px solid #e5e7eb !important;
    box-shadow: 18px 0 50px rgba(15,23,42,.20) !important;
    border-radius: 0 !important;
  }
  body.bv-sidebar-open .bv-watch-mobile-sidebar {
    transform: translateX(0) !important;
  }
  body.bv-sidebar-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.36);
    z-index: 1250;
  }
}

@media (max-width: 768px) {
  .bv-menu-toggle {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    color: #111827 !important;
  }
  .bv-hamb-line {
    width: 23px !important;
    height: 2.4px !important;
  }
  .bv-sidebar,
  .bv-watch-mobile-sidebar {
    width: min(78vw, 286px) !important;
    max-width: 286px !important;
    background: #ffffff !important;
    color: #0f0f0f !important;
    border-radius: 0 22px 22px 0 !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    padding-top: calc(76px + env(safe-area-inset-top)) !important;
  }
  .bv-side-link {
    min-height: 50px !important;
    padding: 12px 18px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    color: #0f0f0f !important;
  }
  .bv-side-link:hover,
  .bv-side-link.active {
    background: #f2f2f2 !important;
  }
  .bv-side-svg {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
  }
  .bv-side-svg svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* ==========================================================
   Fix 2.3.7 - Banner compacto, admin banner e canais
   ========================================================== */
.bv-hero {
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
}

.bv-hero-card {
  min-height: 150px !important;
  padding: 18px 24px !important;
  border-radius: 24px !important;
  background-size: cover !important;
  background-position: center !important;
}

.bv-hero-card.bv-hero-custom-image {
  background:
    linear-gradient(135deg, rgba(15,23,42,.78), rgba(37,99,235,.54)),
    var(--bv-hero-banner-image) !important;
  background-size: cover !important;
  background-position: center !important;
}

.bv-hero-card.bv-hero-custom-image::after,
.bv-banner-admin-preview.bv-hero-custom-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.30), rgba(15,23,42,.02));
  pointer-events: none;
}

.bv-hero-card > * {
  position: relative;
  z-index: 2;
}

.bv-hero-card .bv-hero-brand-logo {
  max-width: 150px !important;
  margin-bottom: 10px !important;
}

.bv-hero-card .bv-hero-brand-logo img {
  max-width: 142px !important;
}

.bv-hero-card h1 {
  max-width: 680px !important;
  margin-bottom: 8px !important;
  font-size: clamp(25px, 3vw, 38px) !important;
  line-height: 1 !important;
}

.bv-hero-card p {
  max-width: 640px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.bv-hero-actions {
  margin-top: 14px !important;
  gap: 10px !important;
}

.bv-hero-actions .bv-pill-btn {
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  font-size: 13px !important;
}

.bv-studio-card {
  padding: 16px 18px !important;
  border-radius: 24px !important;
  min-height: 150px !important;
}

.bv-studio-card h2 {
  font-size: 20px !important;
  margin-bottom: 6px !important;
}

.bv-studio-card p {
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.bv-studio-card .bv-premium-btn {
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  font-size: 13px !important;
}

.bv-banner-admin-card {
  display: grid;
  gap: 18px;
}

.bv-banner-admin-preview {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 150px;
  padding: 18px 24px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(37,99,235,.86)),
    radial-gradient(circle at top right, rgba(6,182,212,.4), transparent 35%);
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.12);
}

.bv-banner-admin-preview.bv-hero-custom-image {
  background:
    linear-gradient(135deg, rgba(15,23,42,.78), rgba(37,99,235,.54)),
    var(--bv-hero-banner-image) !important;
}

.bv-banner-admin-preview > * {
  position: relative;
  z-index: 2;
}

.bv-banner-admin-preview .bv-hero-brand-logo {
  max-width: 145px !important;
  margin: 0 0 4px !important;
}

.bv-banner-admin-preview .bv-hero-brand-logo img {
  max-width: 138px !important;
}

.bv-banner-admin-preview strong {
  display: block;
  max-width: 680px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.bv-banner-admin-preview span {
  display: block;
  max-width: 640px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.bv-banner-admin-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148,163,184,.20);
}

.bv-edit-actions button.danger,
.bv-banner-admin-form button.danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

@media (max-width: 992px) {
  .bv-hero {
    grid-template-columns: 1fr !important;
  }
  .bv-studio-card {
    min-height: auto !important;
  }
}

@media (max-width: 768px) {
  .bv-hero-card {
    min-height: 150px !important;
    padding: 18px !important;
  }
  .bv-hero-card h1 {
    font-size: 28px !important;
  }
  .bv-hero-card p {
    font-size: 12px !important;
  }
  .bv-hero-card .bv-hero-brand-logo {
    max-width: 130px !important;
  }
  .bv-hero-card .bv-hero-brand-logo img {
    max-width: 122px !important;
  }
}

/* ==========================================================
   Fix 2.3.8 - Canal atual, menu de conta e login sem iframe
   ========================================================== */
.bv-account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.bv-account-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.bv-account-menu summary::-webkit-details-marker { display: none; }
.bv-account-summary .bv-avatar { box-shadow: 0 8px 24px rgba(37, 99, 235, .18); }
.bv-account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 286px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.bv-account-menu[open] .bv-account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.bv-account-head {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.bv-account-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f3ea9, #0ea5e9);
  color: #fff;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 24px rgba(37,99,235,.25);
}
.bv-account-head strong {
  display: block;
  max-width: 190px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}
.bv-account-head small {
  display: block;
  margin-top: 3px;
  max-width: 190px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}
.bv-account-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.bv-account-dropdown a:hover {
  background: rgba(37, 99, 235, .08);
  color: #0f3ea9;
  text-decoration: none;
}
.bv-login-standalone .bv-login-gate-copy {
  max-width: 620px;
}
.bv-login-standalone .bv-login-gate-actions {
  flex-wrap: wrap;
}
.bv-login-standalone .bv-soft-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  color: #0f3ea9;
  font-weight: 900;
  text-decoration: none;
}
.bv-login-iframe-wrap,
#bvLoginIframe,
#bvAuthGateIframe { display: none !important; }
@media (max-width: 720px) {
  .bv-account-dropdown {
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    max-width: none;
    border-radius: 20px;
  }
  .bv-account-head strong,
  .bv-account-head small { max-width: calc(100vw - 110px); }
}
.bv-account-menu .bv-avatar { display: grid !important; }

/* ==========================================================
   Fix 2.3.9 - Login independente do Streaming sincronizado com cliente
   ========================================================== */
.bv-signin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, .24);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none !important;
  white-space: nowrap;
}
.bv-signin-pill:hover {
  color: #0f3ea9;
  background: #f8fbff;
  border-color: rgba(37, 99, 235, .38);
  transform: translateY(-1px);
}
.bv-signin-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .10);
}
.bv-signin-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.bv-login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(37, 99, 235, .20), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(14, 165, 233, .13), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}
.bv-stream-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bv-stream-login-card {
  width: min(460px, 100%);
  border-radius: 30px;
  padding: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 28px 80px rgba(15,23,42,.14);
}
.bv-stream-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.bv-stream-login-brand span {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #0f3ea9, #0ea5e9);
  box-shadow: 0 12px 26px rgba(37,99,235,.24);
}
.bv-stream-login-brand strong {
  display: block;
  font-size: 16px;
  color: #0f172a;
  font-weight: 950;
}
.bv-stream-login-brand small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}
.bv-stream-login-card h1 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(34px, 6vw, 52px);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 950;
}
.bv-stream-login-card p {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.6;
  font-weight: 700;
}
.bv-stream-login-form {
  display: grid;
  gap: 12px;
}
.bv-stream-login-form label {
  color: #334155;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bv-stream-login-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.42);
  background: #f8fafc;
  color: #0f172a;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 750;
  outline: none;
}
.bv-stream-login-form input:focus {
  background: #fff;
  border-color: rgba(37,99,235,.62);
  box-shadow: 0 0 0 5px rgba(37,99,235,.10);
}
.bv-stream-login-form button,
.bv-stream-whatsapp-btn {
  min-height: 50px;
  border-radius: 16px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff !important;
  background: linear-gradient(135deg, #0f3ea9, #0ea5e9);
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 16px 34px rgba(37,99,235,.22);
  cursor: pointer;
}
.bv-stream-whatsapp-btn {
  width: 100%;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.bv-stream-login-error,
.bv-stream-login-success {
  margin: 0 0 16px;
  padding: 13px 14px;
  border-radius: 16px;
  font-weight: 850;
  line-height: 1.45;
}
.bv-stream-login-error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.bv-stream-login-success {
  background: #ecfdf5;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.bv-stream-login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.bv-stream-login-actions a {
  color: #1d4ed8;
  font-weight: 850;
  text-decoration: none;
}
.bv-stream-login-actions a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .bv-signin-pill { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .bv-stream-login-page { align-items: flex-start; padding: 16px; }
  .bv-stream-login-card { margin-top: 18px; padding: 22px; border-radius: 24px; }
}


/* =========================================================
   Fix 2.4.0 - notebook 14 polegadas, busca estilo lista e escala PC menor
   Mantém as funções anteriores e ajusta apenas encaixe visual.
========================================================= */
@media (min-width: 769px) and (max-width: 1500px) {
  .bv-topbar {
    min-height: 60px !important;
    padding: 8px 18px !important;
    gap: 14px !important;
  }
  .bv-brand-mark,
  .bv-avatar,
  .bv-account-photo {
    width: 36px !important;
    height: 36px !important;
    border-radius: 14px !important;
  }
  .bv-brand-title {
    font-size: 14px !important;
  }
  .bv-brand-subtitle {
    font-size: 10px !important;
  }
  .bv-icon-btn {
    width: 38px !important;
    min-height: 38px !important;
    border-radius: 13px !important;
  }
  .bv-premium-btn,
  .bv-search-btn {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
  }
  .bv-search {
    max-width: 620px !important;
    min-height: 46px !important;
  }
  .bv-search input {
    font-size: 14px !important;
    padding: 0 16px !important;
  }
  .bv-layout {
    padding: 16px !important;
    gap: 16px !important;
  }
  .bv-category-bar {
    gap: 8px !important;
    padding-bottom: 12px !important;
  }
  .bv-cat {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  .bv-hero {
    grid-template-columns: minmax(0, 1fr) 270px !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
  }
  .bv-hero-card {
    min-height: 210px !important;
    padding: 24px !important;
    border-radius: 24px !important;
  }
  .bv-hero-brand-logo img {
    max-height: 38px !important;
    max-width: 170px !important;
  }
  .bv-hero-card h1 {
    max-width: 650px !important;
    font-size: clamp(30px, 3.15vw, 46px) !important;
    line-height: .98 !important;
    letter-spacing: -.05em !important;
  }
  .bv-hero-card p {
    max-width: 600px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .bv-pill-btn {
    min-height: 38px !important;
    padding: 0 15px !important;
    font-size: 13px !important;
    border-radius: 13px !important;
  }
  .bv-studio-card {
    padding: 18px !important;
    border-radius: 24px !important;
  }
  .bv-studio-card h2 {
    font-size: 20px !important;
  }
  .bv-studio-card p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .bv-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
  .bv-thumb {
    border-radius: 18px !important;
  }
  .bv-thumb-title {
    font-size: 17px !important;
    bottom: 36px !important;
  }
  .bv-card-meta {
    grid-template-columns: 38px minmax(0, 1fr) 28px !important;
    gap: 10px !important;
    padding-top: 10px !important;
  }
  .bv-channel-avatar {
    width: 38px !important;
    height: 38px !important;
  }
  .bv-card-title {
    font-size: 15px !important;
    line-height: 1.22 !important;
  }
  .bv-card-sub {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  .bv-card-actions {
    gap: 6px !important;
  }
  .bv-mini-share-btn {
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  body.bv-sidebar-collapsed .bv-layout {
    grid-template-columns: 78px minmax(0, 1fr) !important;
  }
  body.bv-sidebar-collapsed .bv-sidebar {
    top: 78px !important;
    height: calc(100vh - 94px) !important;
    padding: 10px !important;
    border-radius: 22px !important;
  }
  body.bv-sidebar-collapsed .bv-side-link {
    min-height: 56px !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 16px !important;
  }
  body.bv-sidebar-collapsed .bv-side-svg {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (min-width: 769px) {
  body.bv-search-results-mode .bv-hero,
  body.bv-search-results-mode .bv-studio-card {
    display: none !important;
  }
  body.bv-search-results-mode .bv-video-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-width: 1180px !important;
    gap: 18px !important;
  }
  body.bv-search-results-mode .bv-video-card {
    display: grid !important;
    grid-template-columns: minmax(260px, 390px) minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
    overflow: visible !important;
  }
  body.bv-search-results-mode .bv-video-card[style*="display: none"] {
    display: none !important;
  }
  body.bv-search-results-mode .bv-thumb {
    border-radius: 16px !important;
    box-shadow: 0 8px 22px rgba(15,23,42,.08) !important;
  }
  body.bv-search-results-mode .bv-thumb-title {
    display: none !important;
  }
  body.bv-search-results-mode .bv-card-meta {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 34px !important;
    gap: 12px !important;
    padding-top: 2px !important;
  }
  body.bv-search-results-mode .bv-card-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  body.bv-search-results-mode .bv-card-sub {
    font-size: 13px !important;
    line-height: 1.45 !important;
    max-width: 760px !important;
  }
  body.bv-search-results-mode .bv-card-actions {
    margin-top: 12px !important;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  body.bv-search-results-mode .bv-video-card {
    grid-template-columns: minmax(230px, 330px) minmax(0, 1fr) !important;
  }
  body.bv-search-results-mode .bv-card-title {
    font-size: 16px !important;
  }
}


/* ==========================================================
   Fix 2.4.1 - Dropdown da conta fecha ao clicar fora
   ========================================================== */
.bv-account-menu[open] {
  z-index: 2000;
}
.bv-account-menu[open] .bv-account-summary .bv-avatar {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10), 0 12px 28px rgba(37, 99, 235, .22);
}
.bv-account-dropdown {
  will-change: opacity, transform;
}
.bv-account-dropdown a:last-child {
  border-bottom: 0;
}
@media (max-width: 720px) {
  .bv-account-menu[open] .bv-account-dropdown {
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }
}

/* Public Channel Growth Fix 2.4.2 */
.bv-channels-strip{margin:18px 0 22px;padding:18px;border-radius:22px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 12px 28px rgba(15,23,42,.06)}
.bv-section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px}
.bv-section-title-row h2{margin:0;font-size:20px;font-weight:900;color:#0f172a;letter-spacing:-.02em}
.bv-section-title-row span{font-size:13px;color:#64748b;font-weight:700}
.bv-channel-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bv-channel-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #e8eef7;color:#0f172a;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;min-width:0}
.bv-channel-card:hover{transform:translateY(-2px);background:#fff;border-color:#d8e3f3;box-shadow:0 16px 30px rgba(15,23,42,.08);color:#0f172a}
.bv-channel-card-avatar,.bv-channel-big-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:linear-gradient(135deg,#0f172a,#2563eb);color:#fff;font-weight:950;box-shadow:0 12px 24px rgba(37,99,235,.18)}
.bv-channel-card-avatar{width:44px;height:44px;border-radius:50%}
.bv-channel-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;color:#111827}
.bv-channel-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;color:#64748b;font-weight:700}
.bv-channel-card em{margin-left:auto;font-style:normal;font-size:12px;font-weight:900;color:#2563eb;white-space:nowrap}
.bv-card-channel-link,.bv-watch-channel-name{color:inherit;text-decoration:none!important;font-weight:900}
.bv-card-channel-link:hover,.bv-watch-channel-name:hover{color:#2563eb}
.bv-view-channel-btn{margin-left:auto;white-space:nowrap}
.bv-channel-layout .bv-main{min-width:0}
.bv-channel-hero{margin:0 0 18px;border-radius:26px;overflow:hidden;background:#fff;border:1px solid #e5e7eb;box-shadow:0 16px 34px rgba(15,23,42,.07)}
.bv-channel-cover{height:145px;background:radial-gradient(circle at 12% 20%,rgba(59,130,246,.28),transparent 30%),linear-gradient(135deg,#081226,#143f81 55%,#55b7ff)}
.bv-channel-profile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:0 22px 22px;margin-top:-44px}
.bv-channel-big-avatar{width:96px;height:96px;border-radius:50%;border:5px solid #fff;font-size:38px}
.bv-channel-profile-text h1{margin:8px 0 8px;font-size:34px;line-height:1.05;font-weight:950;letter-spacing:-.04em;color:#0f172a}
.bv-channel-profile-text p{margin:0;max-width:760px;color:#475569;font-weight:650;line-height:1.55}
.bv-channel-kicker{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eef6ff;color:#2563eb;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.bv-channel-stats-line{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;color:#64748b;font-size:13px;font-weight:800}
.bv-channel-stats-line span{padding:7px 10px;border-radius:999px;background:#f8fafc;border:1px solid #e8eef7}
.bv-channel-share-box{display:grid;gap:10px;justify-items:center;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid #e8eef7}
.bv-channel-share-box img{width:118px;height:118px;border-radius:12px;background:#fff}
.bv-channel-actions-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:16px 18px;border-radius:20px;background:#0f172a;color:#fff}
.bv-channel-actions-panel strong{display:block;font-size:16px;font-weight:900}.bv-channel-actions-panel span{display:block;color:#cbd5e1;font-size:13px;margin-top:3px}.bv-channel-social-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bv-channel-social-actions .bv-mini-share-btn{background:#fff;color:#0f172a;border:0}
.bv-channel-video-grid{margin-top:12px}
.bv-info-card a{color:inherit;text-decoration:none}.bv-info-card a:hover{color:#2563eb}
@media(max-width:1180px){.bv-channel-row{grid-template-columns:repeat(3,minmax(0,1fr))}.bv-channel-profile{grid-template-columns:auto minmax(0,1fr)}.bv-channel-share-box{grid-column:1/-1;justify-items:start;display:flex;align-items:center}.bv-channel-share-box img{width:90px;height:90px}}
@media(max-width:820px){.bv-channel-row{grid-template-columns:repeat(2,minmax(0,1fr))}.bv-section-title-row,.bv-channel-actions-panel{align-items:flex-start;flex-direction:column}.bv-channel-profile{grid-template-columns:1fr;text-align:left;margin-top:-38px}.bv-channel-big-avatar{width:82px;height:82px;font-size:32px}.bv-channel-profile-text h1{font-size:28px}.bv-channel-cover{height:120px}.bv-view-channel-btn{margin-left:0}}
@media(max-width:560px){.bv-channel-row{grid-template-columns:1fr}.bv-channels-strip{padding:14px;border-radius:18px}.bv-channel-profile{padding:0 16px 16px}.bv-channel-profile-text h1{font-size:24px}.bv-channel-social-actions{width:100%}.bv-channel-social-actions .bv-mini-share-btn{flex:1}.bv-channel-share-box{width:100%}}

/* ==========================================================
   Fix 2.4.4 - Android drawer, watermark arredondada e kit Divulgar
   ========================================================== */
@media (max-width: 768px) {
  html,
  body,
  .bv-app {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .bv-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1500 !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    padding: 8px 10px !important;
  }

  .bv-brand {
    max-width: 185px !important;
  }

  .bv-brand-title,
  .bv-brand-subtitle {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .bv-search {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .bv-layout {
    display: block !important;
    padding: 10px !important;
  }

  .bv-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  .bv-sidebar,
  .bv-watch-mobile-sidebar {
    display: block !important;
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: min(82vw, 304px) !important;
    max-width: 304px !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: calc(72px + env(safe-area-inset-top)) 14px 22px !important;
    background: #ffffff !important;
    border-radius: 0 24px 24px 0 !important;
    border-right: 1px solid #e5e7eb !important;
    box-shadow: 18px 0 54px rgba(15,23,42,.24) !important;
    z-index: 1450 !important;
    transform: translate3d(-112%, 0, 0) !important;
    transition: transform .22s cubic-bezier(.22,1,.36,1) !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.bv-sidebar-open .bv-sidebar,
  body.bv-sidebar-open .bv-watch-mobile-sidebar {
    transform: translate3d(0, 0, 0) !important;
  }

  body.bv-sidebar-open::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, .42) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 1400 !important;
  }

  body.bv-sidebar-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  .bv-side-link {
    display: flex !important;
    width: 100% !important;
    flex: none !important;
    margin: 0 0 5px !important;
    min-height: 50px !important;
    padding: 12px 14px !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }

  .bv-side-label,
  .bv-side-lock {
    display: inline-flex !important;
  }

  .bv-category-bar {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .bv-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .bv-video-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 520px) {
  .bv-video-grid {
    grid-template-columns: 1fr !important;
  }
}

.bv-thumb.bv-thumb-live::after,
.bv-next-card .bv-thumb.bv-thumb-live::after,
.bv-library-mini-thumb.bv-thumb-live::after,
.bv-edit-thumb.bv-thumb-live::after {
  border-radius: 18px !important;
  background-color: rgba(15, 23, 42, .09) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 8px 18px rgba(0,0,0,.10) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  backdrop-filter: blur(2px) !important;
  overflow: hidden !important;
}

.bv-thumb.bv-thumb-live::after {
  width: clamp(46px, 18%, 70px) !important;
  height: clamp(46px, 18%, 70px) !important;
  top: 10px !important;
  left: 10px !important;
  opacity: .36 !important;
}

.bv-next-card .bv-thumb.bv-thumb-live::after {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  top: 7px !important;
  left: 7px !important;
  border-radius: 13px !important;
}

@media (max-width: 768px) {
  .bv-thumb.bv-thumb-live::after {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    top: 9px !important;
    left: 9px !important;
    border-radius: 15px !important;
  }
}

.bv-boost-modal .bv-share-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
}

.bv-boost-modal {
  max-width: 520px !important;
}

.bv-boost-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  padding-right: 34px;
}

.bv-boost-head strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.02em;
}

.bv-boost-head small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-weight: 750;
}

.bv-boost-bolt {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f59e0b, #2563eb);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37,99,235,.20);
  font-size: 22px;
}

.bv-boost-note {
  margin: 0 0 15px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  line-height: 1.55;
  font-weight: 700;
}

.bv-boost-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.bv-boost-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 13px;
  background: #eef4ff;
  color: #0f172a;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(37,99,235,.12);
}

.bv-boost-social:hover {
  background: #dfeaff;
  text-decoration: none;
}

.bv-boost-label {
  display: block;
  margin: 0 0 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bv-boost-text {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  outline: none;
}

.bv-boost-copy-row {
  margin-top: 11px;
}

.bv-open-boost-modal {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .bv-boost-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bv-boost-head strong {
    font-size: 18px;
  }
}

/* ==========================================================
   Fix 2.4.5 - Refix Android menu/render, watermark e modal Divulgar
   ========================================================== */
.bv-boost-modal-wrap {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99990 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 22px !important;
  background: rgba(15, 23, 42, .52) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}
.bv-boost-modal-wrap.is-open {
  display: flex !important;
}
.bv-boost-modal-wrap .bv-share-modal-card,
.bv-boost-modal-wrap .bv-boost-modal {
  width: min(520px, calc(100vw - 28px)) !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-y: auto !important;
  margin: 0 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 30px 80px rgba(15,23,42,.30) !important;
}
@media (max-width: 560px) {
  .bv-boost-modal-wrap {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .bv-boost-modal-wrap .bv-share-modal-card,
  .bv-boost-modal-wrap .bv-boost-modal {
    width: 100% !important;
    max-height: 86dvh !important;
    border-radius: 24px 24px 0 0 !important;
  }
}

.bv-thumb.bv-thumb-live,
.bv-next-card .bv-thumb.bv-thumb-live,
.bv-library-mini-thumb.bv-thumb-live,
.bv-edit-thumb.bv-thumb-live {
  position: relative !important;
  overflow: hidden !important;
}
.bv-thumb.bv-thumb-live::after,
.bv-next-card .bv-thumb.bv-thumb-live::after,
.bv-library-mini-thumb.bv-thumb-live::after,
.bv-edit-thumb.bv-thumb-live::after {
  background-image: url('/images/buy.png') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  overflow: hidden !important;
  clip-path: inset(0 round 18px) !important;
  -webkit-clip-path: inset(0 round 18px) !important;
}
.bv-thumb.bv-thumb-live::after {
  width: clamp(48px, 17%, 70px) !important;
  height: clamp(48px, 17%, 70px) !important;
  border-radius: 18px !important;
  opacity: .36 !important;
}
.bv-next-card .bv-thumb.bv-thumb-live::after,
.bv-library-mini-thumb.bv-thumb-live::after,
.bv-edit-thumb.bv-thumb-live::after {
  border-radius: 13px !important;
  clip-path: inset(0 round 13px) !important;
  -webkit-clip-path: inset(0 round 13px) !important;
}

html.bv-android-mobile,
body.bv-android-mobile,
body.bv-android-mobile .bv-app {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
body.bv-android-mobile .bv-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1700 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  min-height: 56px !important;
  background: rgba(255,255,255,.98) !important;
}
body.bv-android-mobile .bv-top-left {
  min-width: 0 !important;
}
body.bv-android-mobile .bv-menu-toggle {
  display: inline-flex !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
}
body.bv-android-mobile .bv-brand {
  min-width: 0 !important;
  max-width: 170px !important;
  gap: 8px !important;
}
body.bv-android-mobile .bv-brand-title,
body.bv-android-mobile .bv-brand-subtitle {
  max-width: 120px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.bv-android-mobile .bv-top-right {
  gap: 6px !important;
}
body.bv-android-mobile .bv-top-right .bv-premium-btn {
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}
body.bv-android-mobile .bv-search {
  grid-column: 1 / -1 !important;
  order: 3 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 2px 0 0 !important;
}
body.bv-android-mobile .bv-search input {
  min-height: 40px !important;
  font-size: 14px !important;
}
body.bv-android-mobile .bv-search-btn {
  min-height: 40px !important;
  padding: 0 14px !important;
}
body.bv-android-mobile .bv-layout {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 10px !important;
  margin: 0 !important;
}
body.bv-android-mobile .bv-main {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}
body.bv-android-mobile .bv-sidebar,
body.bv-android-mobile .bv-watch-mobile-sidebar {
  display: block !important;
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  width: min(84vw, 310px) !important;
  max-width: 310px !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  padding: calc(68px + env(safe-area-inset-top)) 14px 22px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
  border-radius: 0 24px 24px 0 !important;
  border-right: 1px solid #e5e7eb !important;
  box-shadow: 18px 0 54px rgba(15,23,42,.24) !important;
  z-index: 1600 !important;
  transform: translate3d(-112%, 0, 0) !important;
  transition: transform .22s cubic-bezier(.22,1,.36,1) !important;
  -webkit-overflow-scrolling: touch !important;
}
body.bv-android-mobile.bv-sidebar-open .bv-sidebar,
body.bv-android-mobile.bv-sidebar-open .bv-watch-mobile-sidebar {
  transform: translate3d(0, 0, 0) !important;
}
body.bv-android-mobile.bv-sidebar-open::before {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1550 !important;
  background: rgba(15, 23, 42, .46) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  backdrop-filter: blur(2px) !important;
}
body.bv-android-mobile.bv-sidebar-open {
  overflow: hidden !important;
  touch-action: none !important;
}
body.bv-android-mobile .bv-side-link {
  display: flex !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 0 6px !important;
  padding: 12px 14px !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
}
body.bv-android-mobile .bv-side-label,
body.bv-android-mobile .bv-side-lock {
  display: inline-flex !important;
}
body.bv-android-mobile .bv-category-bar {
  display: flex !important;
  overflow-x: auto !important;
  gap: 8px !important;
  padding: 8px 0 10px !important;
  margin: 0 !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
body.bv-android-mobile .bv-category-bar::-webkit-scrollbar { display: none !important; }
body.bv-android-mobile .bv-cat {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
}
body.bv-android-mobile .bv-hero {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
}
body.bv-android-mobile .bv-hero-card {
  min-height: 210px !important;
  padding: 22px 18px !important;
  border-radius: 22px !important;
}
body.bv-android-mobile .bv-hero-card h1 {
  font-size: clamp(27px, 8vw, 36px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.04em !important;
}
body.bv-android-mobile .bv-hero-card p {
  font-size: 13px !important;
  line-height: 1.45 !important;
  max-width: 100% !important;
}
body.bv-android-mobile .bv-hero-actions {
  gap: 8px !important;
}
body.bv-android-mobile .bv-pill-btn {
  min-height: 40px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}
body.bv-android-mobile .bv-studio-card {
  min-height: auto !important;
  padding: 16px !important;
  border-radius: 20px !important;
}
body.bv-android-mobile .bv-channels-strip {
  padding: 14px !important;
  margin: 0 0 16px !important;
  border-radius: 20px !important;
}
body.bv-android-mobile .bv-section-title-row {
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 6px !important;
}
body.bv-android-mobile .bv-channel-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
body.bv-android-mobile .bv-video-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.bv-android-mobile .bv-video-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
body.bv-android-mobile .bv-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: auto !important;
  border-radius: 18px !important;
}
body.bv-android-mobile .bv-thumb-title {
  font-size: 17px !important;
  line-height: 1.15 !important;
}
body.bv-android-mobile .bv-card-meta {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  gap: 10px !important;
}
body.bv-android-mobile .bv-card-title {
  font-size: 15px !important;
  line-height: 1.25 !important;
}
body.bv-android-mobile .bv-card-sub {
  font-size: 12px !important;
  line-height: 1.45 !important;
}
body.bv-android-mobile .bv-card-actions {
  display: flex !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
}
body.bv-android-mobile .bv-mini-share-btn {
  min-height: 33px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}
body.bv-android-mobile .bv-open-boost-modal {
  order: 4 !important;
}

/* Fix 2.4.6 - Android drawer real + escolhas de capa automática
   Mantém iPhone/desktop preservados; reforça somente quando JS detecta Android/mobile. */
body.bv-android-mobile {
  min-width: 0 !important;
  overflow-x: hidden !important;
  background: #fff !important;
}
body.bv-android-mobile .bv-app,
body.bv-android-mobile .bv-layout,
body.bv-android-mobile .bv-main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body.bv-android-mobile .bv-layout {
  display: block !important;
  grid-template-columns: 1fr !important;
  padding: 10px 12px !important;
  margin: 0 !important;
}
body.bv-android-mobile .bv-topbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}
body.bv-android-mobile .bv-sidebar,
body.bv-android-mobile .bv-watch-mobile-sidebar {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: min(78vw, 320px) !important;
  max-width: 320px !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: calc(72px + env(safe-area-inset-top)) 16px 26px !important;
  border-radius: 0 24px 24px 0 !important;
  background: #ffffff !important;
  box-shadow: 24px 0 70px rgba(15,23,42,.28) !important;
  transform: translateX(-108%) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 1900 !important;
  transition: transform .24s cubic-bezier(.22,1,.36,1) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
body.bv-android-mobile.bv-sidebar-open .bv-sidebar,
body.bv-android-mobile.bv-sidebar-open .bv-watch-mobile-sidebar {
  transform: translateX(0) !important;
}
body.bv-android-mobile.bv-sidebar-open::before {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15,23,42,.46) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  z-index: 1850 !important;
}
body.bv-android-mobile .bv-side-link {
  min-height: 56px !important;
  padding: 12px 14px !important;
  margin-bottom: 7px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  color: #111827 !important;
  border-radius: 16px !important;
}
body.bv-android-mobile .bv-side-svg {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
}
body.bv-android-mobile .bv-side-svg svg {
  width: 24px !important;
  height: 24px !important;
}
body.bv-android-mobile .bv-side-label {
  display: inline-flex !important;
  white-space: normal !important;
}
body.bv-android-mobile .bv-video-grid {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}
body.bv-android-mobile .bv-video-card,
body.bv-android-mobile .bv-thumb {
  max-width: 100% !important;
}
body.bv-android-mobile .bv-card-actions {
  justify-content: flex-start !important;
}

.bv-auto-thumb-choices {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dbe7f8;
  border-radius: 18px;
  background: linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
}
.bv-auto-thumb-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.bv-auto-thumb-head strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}
.bv-auto-thumb-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.bv-auto-thumb-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 3px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.bv-auto-thumb-option {
  flex: 0 0 150px;
  width: 150px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  cursor: pointer;
  color: #0f172a;
  text-align: left;
}
.bv-auto-thumb-option img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #020617;
}
.bv-auto-thumb-option span {
  display: block;
  padding: 7px 4px 2px;
  font-size: 12px;
  font-weight: 900;
}
.bv-auto-thumb-option.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.14), 0 14px 28px rgba(37,99,235,.14);
}
.bv-auto-thumb-loading {
  min-width: 240px;
  padding: 16px;
  border-radius: 14px;
  background: #eef6ff;
  color: #1d4ed8;
  font-weight: 900;
}
@media (max-width: 640px) {
  .bv-auto-thumb-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .bv-auto-thumb-option { flex-basis: 132px; width: 132px; }
}

/* ==========================================================
   Fix 2.4.7 - Seletor de capa por frames no upload e edição
   ========================================================== */
.bv-auto-thumb-choices,
.bv-edit-frame-selector {
  position: relative;
}
.bv-auto-thumb-choices::before,
.bv-edit-frame-selector::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 62px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37,99,235,.18), rgba(236,72,153,.22));
  pointer-events: none;
}
.bv-edit-frame-selector {
  display: none;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid #dbe7f8;
  border-radius: 18px;
  background: linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
}
.bv-edit-frame-selector.is-ready {
  display: block;
}
.bv-edit-frame-option {
  position: relative;
}
.bv-edit-frame-option::after,
.bv-auto-thumb-option::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: rgba(239,68,68,.75);
  transform: translateX(-50%);
}
.bv-edit-frame-option.active::after,
.bv-auto-thumb-option.active::after {
  height: 15px;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,.13);
}
.bv-field-help {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .bv-auto-thumb-choices::before,
  .bv-edit-frame-selector::before {
    bottom: 58px;
  }
}


/* =========================================================
   Fix 2.4.8 - Acoes compactas por icone com tooltip
   Mantem as acoes existentes, mas economiza espaco para futuros recursos.
   ========================================================= */
.bv-card-actions {
  gap: 6px !important;
  align-items: center;
  flex-wrap: wrap;
}
.bv-mini-share-btn.bv-icon-action,
.bv-yt-action.bv-icon-action {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: visible;
}
.bv-card-actions .bv-mini-share-btn.bv-icon-action {
  width: 34px !important;
  min-width: 34px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
.bv-card-actions .bv-mini-share-btn.bv-icon-action span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bv-card-actions .bv-mini-share-btn.bv-open-share-modal.bv-icon-action {
  background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
  color: #fff !important;
  border-color: rgba(37, 99, 235, 0.18) !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16) !important;
}
.bv-card-actions .bv-mini-share-btn.bv-open-boost-modal.bv-icon-action {
  background: #fff7ed !important;
  color: #ea580c !important;
  border-color: #fed7aa !important;
}
.bv-youtube-action-row .bv-yt-action.bv-icon-action {
  width: 44px;
  min-width: 44px;
  height: 40px;
  min-height: 40px;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 16px;
}
.bv-youtube-action-row .bv-yt-like-group .bv-yt-action.bv-icon-action:first-child {
  width: auto;
  min-width: 64px;
}
.bv-youtube-action-row .bv-yt-action.bv-icon-action .bv-action-icon {
  margin: 0 !important;
}
.bv-icon-action[data-tooltip]::after,
.bv-icon-action[data-tooltip]::before {
  position: absolute;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 9999;
}
.bv-icon-action[data-tooltip]::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
  white-space: nowrap;
}
.bv-icon-action[data-tooltip]::before {
  content: "";
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.94);
}
.bv-icon-action[data-tooltip]:hover::after,
.bv-icon-action[data-tooltip]:hover::before,
.bv-icon-action[data-tooltip]:focus-visible::after,
.bv-icon-action[data-tooltip]:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (hover: none) {
  .bv-icon-action[data-tooltip]::after,
  .bv-icon-action[data-tooltip]::before {
    display: none;
  }
}
@media (max-width: 560px) {
  .bv-card-actions .bv-mini-share-btn.bv-icon-action {
    width: 32px !important;
    min-width: 32px !important;
    height: 30px !important;
    min-height: 30px !important;
    font-size: 13px !important;
  }
  .bv-youtube-action-row .bv-yt-action.bv-icon-action {
    width: 40px;
    min-width: 40px;
    height: 38px;
    min-height: 38px;
  }
}

/* ==========================================================
   Fix 2.4.9 - Meus negocios e Android drawer ampliado
   ========================================================== */
.bv-business-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15,23,42,.78);
  box-shadow: 0 10px 22px rgba(15,23,42,.20);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bv-business-badge.bv-business-vendido { background: linear-gradient(135deg,#111827,#ef4444); }
.bv-business-badge.bv-business-reservado { background: linear-gradient(135deg,#111827,#f59e0b); }
.bv-business-badge.bv-business-indisponivel { background: linear-gradient(135deg,#111827,#64748b); }
.bv-business-badge.bv-business-servico,
.bv-business-badge.bv-business-conteudo { background: linear-gradient(135deg,#111827,#2563eb); }
.bv-watch-business-badge {
  position: static;
  width: fit-content;
  margin: -4px 0 8px;
  color: #fff;
}
.bv-business-list {
  display: grid;
  gap: 14px;
}
.bv-business-card {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15,23,42,.06);
}
.bv-business-card.bv-business-vendido { opacity: .82; }
.bv-business-thumb {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
}
.bv-business-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(2,6,23,.06),rgba(2,6,23,.62));
}
.bv-business-thumb span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.bv-business-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.bv-business-title-row strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  color: #0f172a;
}
.bv-business-title-row small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-weight: 750;
}
.bv-business-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}
.bv-business-grid .full { grid-column: 1 / -1; }
.bv-business-grid textarea { resize: vertical; }
@media (max-width: 880px) {
  .bv-business-card { grid-template-columns: 1fr; }
  .bv-business-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bv-business-grid { grid-template-columns: 1fr; }
  .bv-business-title-row { flex-direction: column; }
}

body.bv-android-mobile .bv-sidebar,
body.bv-android-mobile .bv-watch-mobile-sidebar {
  width: min(92vw, 430px) !important;
  max-width: 430px !important;
  padding: calc(82px + env(safe-area-inset-top)) 22px 30px !important;
  border-radius: 0 28px 28px 0 !important;
}
body.bv-android-mobile .bv-side-link {
  min-height: 64px !important;
  padding: 14px 16px !important;
  gap: 18px !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  border-radius: 18px !important;
}
body.bv-android-mobile .bv-side-svg {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
}
body.bv-android-mobile .bv-side-svg svg {
  width: 30px !important;
  height: 30px !important;
}
body.bv-android-mobile .bv-side-lock {
  margin-left: auto !important;
  font-size: 16px !important;
}
body.bv-android-mobile.bv-sidebar-collapsed .bv-sidebar {
  width: min(92vw, 430px) !important;
}
body.bv-android-mobile.bv-sidebar-collapsed .bv-side-label,
body.bv-android-mobile.bv-sidebar-collapsed .bv-side-lock {
  display: inline-flex !important;
}


/* ==========================================================
   Fix 2.5.0 - Criar conta cliente Buynnex e sino com alerta
   ========================================================== */
.bv-guest-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.bv-register-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f3ea9, #0ea5e9);
  color: #fff !important;
  border: 1px solid rgba(37, 99, 235, .18);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
}
.bv-register-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.bv-notify {
  position: relative;
  overflow: visible !important;
}
.bv-notify.has-alert {
  color: #b45309;
  background: #fff7ed;
  border-color: rgba(245, 158, 11, .38);
  box-shadow: 0 12px 26px rgba(245, 158, 11, .18);
}
.bv-notify-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bv-notify-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  border: 2px solid #fff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(239, 68, 68, .28);
}
.bv-stream-login-create {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, .22);
  color: #475569;
  font-weight: 850;
}
.bv-stream-login-create a {
  color: #1d4ed8;
  font-weight: 950;
  text-decoration: none;
}
.bv-stream-login-create a:hover { text-decoration: underline; }
.bv-stream-register-card {
  width: min(560px, 100%);
}
.bv-stream-register-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
}
.bv-stream-register-form label,
.bv-stream-register-form input,
.bv-stream-register-form button,
.bv-stream-register-form .bv-full {
  grid-column: auto;
}
.bv-stream-register-form label:nth-of-type(1),
.bv-stream-register-form input[name="nome"],
.bv-stream-register-form button {
  grid-column: 1 / -1;
}
@media (max-width: 768px) {
  .bv-notify { display: inline-flex !important; }
  .bv-guest-actions { gap: 6px; }
  .bv-register-pill { min-height: 38px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 640px) {
  .bv-stream-register-form { grid-template-columns: 1fr; }
  .bv-stream-register-form label,
  .bv-stream-register-form input,
  .bv-stream-register-form button { grid-column: 1 / -1 !important; }
}
@media (max-width: 480px) {
  .bv-guest-actions .bv-register-pill { display: none; }
}

/* Fix 2.5.1 - Central real de notificacoes */
.bv-notify {
  text-decoration: none !important;
}
.bv-notification-page {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 70px;
  display: grid;
  gap: 18px;
}
.bv-notification-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #07152f 0%, #19408c 52%, #129ee7 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
}
.bv-notification-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.bv-notification-hero h1 {
  margin: 16px 0 8px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -0.05em;
}
.bv-notification-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-weight: 750;
  line-height: 1.65;
}
.bv-notification-summary {
  min-width: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  text-align: center;
}
.bv-notification-summary strong {
  font-size: 54px;
  line-height: .9;
  letter-spacing: -0.05em;
}
.bv-notification-summary span {
  margin-top: 8px;
  color: rgba(255,255,255,.86);
  font-weight: 900;
}
.bv-notification-list-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  overflow: hidden;
}
.bv-notification-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.bv-notification-list-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  color: #07152f;
}
.bv-notification-list-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: #f1f5ff;
  color: #1541c8;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none !important;
}
.bv-notification-list {
  display: grid;
}
.bv-notification-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 24px;
  color: #07152f;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  transition: background .18s ease, transform .18s ease;
}
.bv-notification-row:last-child {
  border-bottom: 0;
}
.bv-notification-row:hover {
  background: #f8fbff;
  transform: translateX(2px);
}
.bv-notification-row-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #1245bb, #0ea5e9);
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .20);
}
.bv-notification-row-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.bv-notification-row-body strong {
  font-size: 16px;
  font-weight: 950;
  color: #07152f;
}
.bv-notification-row-body em {
  color: #334155;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.bv-notification-row-body small {
  color: #64748b;
  font-weight: 850;
}
.bv-notification-row-time {
  white-space: nowrap;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
}
.bv-notification-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 68px 22px;
}
.bv-notification-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: #b45309;
  font-size: 32px;
  box-shadow: 0 18px 38px rgba(245, 158, 11, .13);
}
.bv-notification-empty h3 {
  margin: 12px 0 0;
  font-size: 24px;
  color: #07152f;
}
.bv-notification-empty p {
  max-width: 560px;
  margin: 0;
  color: #64748b;
  font-weight: 800;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .bv-notification-page {
    width: min(100% - 20px, 680px);
    margin-top: 14px;
  }
  .bv-notification-hero {
    display: grid;
    padding: 22px;
    border-radius: 24px;
  }
  .bv-notification-summary {
    min-width: 0;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }
  .bv-notification-summary strong {
    font-size: 40px;
  }
  .bv-notification-row {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
  }
  .bv-notification-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 18px;
  }
  .bv-notification-row-time {
    grid-column: 2;
    justify-self: start;
  }
}


/* ==========================================================
   Fix 2.5.2 - Respostas encadeadas nos comentarios
   ========================================================== */
.bv-comment-body {
  flex: 1 1 auto;
  min-width: 0;
}

.bv-comment-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.bv-comment-reply-toggle {
  border: 0;
  background: transparent;
  color: #0f0f0f;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 0;
  cursor: pointer;
}

.bv-comment-reply-toggle:hover {
  color: #065fd4;
}

.bv-comment-reply-form {
  margin: 8px 0 0 0 !important;
  padding: 10px 0 0 0;
}

.bv-comment-reply-form .bv-comment-avatar {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.bv-comment-reply-login {
  margin-top: 8px;
}

.bv-comment-replies {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-left: 10px;
  border-left: 2px solid #eef2f7;
}

.bv-comment-reply {
  gap: 10px !important;
}

.bv-comment-reply .bv-comment-avatar {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.bv-comment-reply p {
  margin-top: 4px !important;
}

@media (max-width: 640px) {
  .bv-comment-replies {
    padding-left: 8px;
  }
  .bv-comment-reply-form {
    gap: 8px;
  }
}

/* ==========================================================
   Fix 2.5.3 - Notificacoes por comentario + seguir canal
   ========================================================== */
.bv-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #dbe7ff;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}
.bv-follow-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.bv-follow-btn em {
  font-style: normal;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 11px;
}
.bv-follow-btn:hover { filter: brightness(1.05); transform: translateY(-1px); color:#fff; }
.bv-follow-btn.is-following { background: #eef4ff; color: #16439b; border-color: #bcd2ff; box-shadow: none; }
.bv-follow-btn.is-following span,
.bv-follow-btn.is-following em { background: #dceaff; color:#16439b; }
.bv-follow-btn.is-loading { opacity: .65; pointer-events: none; }
.bv-channel-follow-line { margin-top: 12px; display:flex; flex-wrap:wrap; gap:8px; }
.bv-watch-channel-line .bv-follow-btn { margin-left: 8px; }

.bv-notification-comment-card {
  align-items: flex-start;
  text-decoration: none;
}
.bv-notification-comment-card .bv-notification-row-body em {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e3ecf8;
  color: #172033;
  font-style: normal;
  white-space: normal;
}
.bv-notification-comment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.bv-notification-comment-actions a,
.bv-notification-comment-actions button {
  border: 0;
  background: transparent;
  color: #065fd4;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: none;
}
.bv-notification-reply-form {
  width: 100%;
  margin-top: 12px !important;
  padding: 12px !important;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e3ecf8;
}
.bv-notification-reply-form .bv-comment-input-wrap textarea { background: #f8fbff; }

@media (max-width: 700px) {
  .bv-notification-comment-card { grid-template-columns: 42px minmax(0,1fr); }
  .bv-notification-row-time { grid-column: 2; margin-top: 4px; }
  .bv-watch-channel-line .bv-follow-btn { margin-left: 0; margin-top: 8px; }
}
.bv-channel-card-main {
  display: contents;
  color: inherit;
  text-decoration: none !important;
}
.bv-channel-card .bv-follow-btn {
  margin-left: auto;
  min-height: 30px;
  padding: 7px 11px;
  font-size: 12px;
}

/* =========================================================
   Fix 2.5.9 - Watch alinhado e denunciar dentro dos tres pontos
   Remove o icone publico de denuncia e mantem a acao dentro do menu.
   ========================================================= */
.bv-youtube-title-layout .bv-watch-summary-card {
  align-items: end !important;
}
.bv-youtube-title-layout .bv-watch-title-area {
  min-width: 0 !important;
}
.bv-youtube-title-layout .bv-watch-actions,
.bv-youtube-action-row {
  align-items: center !important;
  overflow: visible !important;
}
.bv-youtube-title-layout .bv-watch-actions {
  max-width: 560px !important;
  align-self: end !important;
}
.bv-watch-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 30;
}
.bv-watch-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 190px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
  z-index: 10050;
}
.bv-watch-more-wrap.is-open .bv-watch-more-menu {
  display: flex;
}
.bv-watch-more-wrap.is-open .bv-more-video {
  background: #e5e7eb !important;
}
.bv-watch-more-wrap.is-open .bv-more-video[data-tooltip]::before,
.bv-watch-more-wrap.is-open .bv-more-video[data-tooltip]::after {
  display: none !important;
}
.bv-watch-more-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.bv-watch-more-item:hover,
.bv-watch-more-item:focus {
  background: #f3f4f6;
  color: #0f172a;
  outline: none;
  text-decoration: none;
}
.bv-watch-more-icon {
  width: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 1200px) {
  .bv-youtube-title-layout .bv-watch-summary-card {
    align-items: start !important;
  }
  .bv-youtube-title-layout .bv-watch-actions {
    max-width: none !important;
    align-self: start !important;
  }
}
@media (max-width: 640px) {
  .bv-youtube-action-row {
    justify-content: flex-start !important;
    gap: 7px !important;
  }
  .bv-watch-more-menu {
    right: auto;
    left: 0;
  }
}

/* ==========================================================
   Fix 2.5.10 - Mais opcoes de capa por frames
   ========================================================== */
.bv-auto-thumb-track {
  padding-top: 8px;
  gap: 12px;
}
.bv-auto-thumb-option {
  flex-basis: 138px;
  width: 138px;
}
.bv-auto-thumb-loading {
  min-width: 290px;
}
@media (max-width: 640px) {
  .bv-auto-thumb-option {
    flex-basis: 124px;
    width: 124px;
  }
}

/* ==========================================================
   Fix 2.5.11 - Canais em destaque na lateral esquerda
   Move os canais do topo para a sidebar para evitar nomes cortados
   e preparar a lista para mais canais sem empurrar a biblioteca.
   ========================================================== */
.bv-sidebar-channels {
  margin-top: 14px;
  padding: 8px 0 2px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.bv-sidebar-channels-head {
  margin: 0 0 8px;
  padding: 0 10px;
}
.bv-sidebar-channels-head span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bv-sidebar-channels-head strong {
  display: block;
  margin-top: 7px;
  color: #0f0f0f;
  font-size: 16px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.025em;
}
.bv-sidebar-channels-head small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.32;
  font-weight: 650;
}
.bv-sidebar-channel-list {
  display: grid;
  gap: 2px;
}
.bv-sidebar-channel-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 8px 9px 10px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: background .18s ease, transform .18s ease;
}
.bv-sidebar-channel-card:hover {
  transform: translateX(1px);
  background: #f2f2f2;
  border: 0;
  box-shadow: none;
}
.bv-sidebar-channel-main {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: inherit;
  text-decoration: none !important;
  min-width: 0;
}
.bv-sidebar-channel-main .bv-channel-card-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
  box-shadow: 0 9px 18px rgba(37,99,235,.18);
}
.bv-sidebar-channel-text {
  display: block;
  min-width: 0;
}
.bv-sidebar-channel-text strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #0f0f0f;
  font-size: 13px;
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: -.01em;
}
.bv-sidebar-channel-text small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}
.bv-sidebar-channel-follow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.bv-sidebar-channel-follow .bv-follow-btn {
  width: auto;
  min-width: 42px;
  min-height: 30px;
  padding: 6px 9px;
  gap: 5px;
  border-radius: 999px;
  font-size: 11px;
  box-shadow: none;
}
.bv-sidebar-channel-follow .bv-follow-btn span {
  width: 16px;
  height: 16px;
}
.bv-sidebar-channel-follow .bv-follow-btn em {
  margin-left: 2px;
}
@media (min-width: 769px) {
  .bv-sidebar {
    align-self: start !important;
    height: auto !important;
    min-height: calc(100vh - 112px) !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  body.bv-sidebar-collapsed .bv-sidebar-channels {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .bv-sidebar-channels {
    margin-top: 12px !important;
    padding: 8px 0 2px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .bv-sidebar-channel-card {
    padding: 9px 8px 9px 10px !important;
    border-radius: 14px !important;
  }
  .bv-sidebar-channel-main {
    grid-template-columns: 36px minmax(0, 1fr) !important;
  }
  .bv-sidebar-channel-main .bv-channel-card-avatar {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ==========================================================
   Fix 2.5.12 - Canais sem frame e sem barra interna
   Ajuste visual solicitado: manter os canais na esquerda, mas sem
   moldura pesada, sem contornos nos cards e sem barra de rolagem
   interna no desktop. A pagina volta a rolar naturalmente.
   ========================================================== */
.bv-sidebar-channels,
.bv-sidebar-channel-card {
  border: 0 !important;
  box-shadow: none !important;
}
@media (min-width: 769px) {
  .bv-sidebar {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    scrollbar-width: none;
  }
  .bv-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* ==========================================================
   Fix 2.5.13 - Canais em destaque estilo inscricoes na sidebar
   Visual inspirado em menu moderno por secoes: divisoria fina,
   lista vertical limpa, sem frame, sem borda pesada e sem barra
   interna. Mantem os canais integrados ao menu lateral.
   ========================================================== */
.bv-sidebar-section {
  margin: 12px 0 10px !important;
  padding: 12px 0 10px !important;
  border-top: 1px solid rgba(15, 23, 42, .10) !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bv-sidebar-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px 8px 8px;
  color: #151515;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
}
.bv-sidebar-section-title em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #111827;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  opacity: .85;
}
.bv-sidebar-static-title {
  cursor: default;
  pointer-events: none;
}
.bv-sidebar-menu-group {
  padding-bottom: 4px !important;
}
.bv-sidebar-menu-group .bv-side-link {
  margin-bottom: 4px;
}
.bv-sidebar-channels {
  margin-top: 12px !important;
  padding: 12px 0 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.bv-sidebar-channel-list,
.bv-sidebar-more-channel-list {
  display: grid !important;
  gap: 1px !important;
}
.bv-sidebar-channel-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 7px 8px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.bv-sidebar-channel-card:hover {
  background: rgba(15, 23, 42, .055) !important;
  transform: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
.bv-sidebar-channel-main {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-width: 0 !important;
  color: #242424 !important;
  text-decoration: none !important;
}
.bv-sidebar-channel-main .bv-channel-card-avatar {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}
.bv-sidebar-channel-text {
  min-width: 0 !important;
  display: block !important;
}
.bv-sidebar-channel-text strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #202124 !important;
  font-size: 13.5px !important;
  line-height: 1.24 !important;
  font-weight: 650 !important;
  letter-spacing: -.01em !important;
}
.bv-sidebar-channel-text small {
  display: none !important;
}
.bv-sidebar-channel-follow {
  width: 22px !important;
  min-width: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.bv-sidebar-channel-follow .bv-follow-btn {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: transparent !important;
  color: #2563eb !important;
  box-shadow: none !important;
  font-size: 0 !important;
  gap: 0 !important;
}
.bv-sidebar-channel-follow .bv-follow-btn:hover {
  background: rgba(37, 99, 235, .10) !important;
}
.bv-sidebar-channel-follow .bv-follow-btn span {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}
.bv-sidebar-channel-follow .bv-follow-btn.is-following span {
  background: #16a34a !important;
}
.bv-sidebar-channel-follow .bv-follow-btn strong,
.bv-sidebar-channel-follow .bv-follow-btn em {
  display: none !important;
}
.bv-sidebar-more-channels {
  margin: 2px 0 0 !important;
  padding: 0 !important;
}
.bv-sidebar-more-channels summary {
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 34px !important;
  padding: 7px 8px !important;
  border-radius: 12px !important;
  color: #202124 !important;
  cursor: pointer !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
}
.bv-sidebar-more-channels summary::-webkit-details-marker {
  display: none !important;
}
.bv-sidebar-more-channels summary:hover {
  background: rgba(15, 23, 42, .055) !important;
}
.bv-sidebar-more-icon {
  width: 30px !important;
  min-width: 30px !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111827 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
.bv-sidebar-more-channels[open] .bv-sidebar-more-icon {
  transform: rotate(180deg) !important;
}
@media (min-width: 769px) {
  body.bv-sidebar-collapsed .bv-sidebar-channels {
    display: none !important;
  }
  body.bv-sidebar-collapsed .bv-sidebar-section-title {
    display: none !important;
  }
  body.bv-sidebar-collapsed .bv-sidebar-menu-group {
    padding-top: 8px !important;
  }
}
@media (max-width: 768px) {
  .bv-sidebar-section {
    margin: 11px 0 9px !important;
    padding: 11px 0 9px !important;
  }
  .bv-sidebar-section-title {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .bv-sidebar-channel-card {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
