/* ==========================================================================
   Erova Platform - Exclusive Luxury Interface
   Paleta: Vinho Aveludado, Ameixa Profunda, Ouro Rosé Puro e Rubi Neon
   ========================================================================== */

:root {
  --primary-accent: #ff2a6d;          /* Rosa Rubi Neon Sedutor */
  --primary-glow: rgba(255, 42, 109, 0.55);
  --secondary-accent: #ff5e36;        /* Âmbar Quente */
  --gold-accent: #fcd590;             /* Ouro Rosé Puro */
  --gold-glow: rgba(252, 213, 144, 0.45);
  --burgundy-deep: #120411;           /* Fundo Principal Escuro */
  --burgundy-surface: #1e091c;        /* Painéis em Ameixa */
  --card-bg: #180617;                 /* Card do Vídeo */
  --glass-bg: rgba(36, 12, 34, 0.85);
  --glass-border: rgba(252, 213, 144, 0.24);
  --text-primary: #ffffff;
  --text-secondary: #fce8f0;
  --text-muted: #c99fb0;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sidebar-left-width: 290px;
  --sidebar-right-width: 310px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--burgundy-deep);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   LAYOUT GERAL
   ========================================================================== */

.erova-container,
.erova-layout {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 15%, rgba(255, 42, 109, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(155, 25, 91, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, #1c081a 0%, #0c020c 100%);
}

/* ==========================================================================
   1. SIDEBAR ESQUERDA (NAVEGAÇÃO)
   ========================================================================== */

.erova-sidebar-left {
  width: var(--sidebar-left-width);
  min-width: var(--sidebar-left-width);
  max-width: var(--sidebar-left-width);
  height: 100vh;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(26, 8, 24, 0.97) 0%, rgba(14, 3, 13, 0.98) 100%);
  border-right: 1.5px solid var(--glass-border);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 24px 18px 24px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 109, 0.3) transparent;
  z-index: 50;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.75);
}

.erova-sidebar-left::-webkit-scrollbar {
  width: 4px;
}
.erova-sidebar-left::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 109, 0.3);
  border-radius: 4px;
}

/* Header da Marca e Logotipo */
.sidebar-brand-wrapper,
.sidebar-header {
  margin-bottom: 20px;
  padding: 6px 4px 10px;
}

.erova-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.erova-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 42, 109, 0.7)) drop-shadow(0 0 25px rgba(255, 42, 109, 0.35));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.erova-brand:hover .erova-logo-img {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text-wrap,
.brand-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.erova-neon-title,
.brand-name-neon {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 15%, #ffd4e5 50%, #ff2a6d 85%, #ff5e36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 42, 109, 0.85)) drop-shadow(0 0 22px rgba(255, 42, 109, 0.5));
  transition: filter 0.25s ease;
  white-space: nowrap;
}

.erova-brand:hover .erova-neon-title,
.erova-brand:hover .brand-name-neon {
  filter: drop-shadow(0 0 14px rgba(255, 42, 109, 1)) drop-shadow(0 0 30px rgba(255, 42, 109, 0.7));
}

.brand-tagline {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2.8px;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(252, 213, 144, 0.5);
  white-space: nowrap;
}

/* Campo de Busca */
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(45, 14, 42, 0.65);
  border-radius: 28px;
  padding: 12px 18px;
  color: var(--text-muted);
  margin-bottom: 22px;
  border: 1px solid rgba(252, 213, 144, 0.18);
  transition: all 0.25s ease;
}

.search-box:focus-within {
  border-color: var(--gold-accent);
  background: rgba(60, 18, 55, 0.85);
  box-shadow: 0 0 18px rgba(252, 213, 144, 0.3);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14.5px;
  width: 100%;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* Menus de Navegação */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 18px;
  border-radius: 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  background: rgba(255, 42, 109, 0.14);
  color: #ffffff;
  border-color: rgba(255, 42, 109, 0.3);
  transform: translateX(4px);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.28) 0%, rgba(155, 25, 91, 0.2) 100%);
  color: var(--gold-accent);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 18px rgba(255, 42, 109, 0.28);
}

.nav-link.active svg {
  fill: var(--gold-accent);
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.nav-badge-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.badge-dot {
  position: absolute;
  top: -5px;
  right: -7px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.mini-profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--gold-accent);
}

.sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 213, 144, 0.25), transparent);
  margin: 20px 0;
}

/* Categorias */
.quick-tags-section {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-accent);
}

.tags-cloud {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  overflow: hidden;
}

.tag-pill {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: rgba(45, 14, 42, 0.6);
  border: 1px solid rgba(252, 213, 144, 0.18);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-pill:hover {
  background: rgba(255, 42, 109, 0.25);
  color: #fff;
  border-color: var(--primary-accent);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   PAINEL LATERAL DE COMENTÁRIOS EXPANDIDO
   (Preenche a área amarela demarcada com largura ampla sem quebrar o layout)
   ========================================================================== */

.inline-comments-panel {
  position: absolute;
  left: var(--sidebar-left-width);
  top: 0;
  bottom: 0;
  width: clamp(520px, 33vw, 640px);
  max-width: calc(100vw - var(--sidebar-left-width) - 520px);
  min-width: 480px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(30, 10, 28, 0.98) 0%, rgba(16, 4, 15, 0.99) 100%);
  border-right: 1.5px solid var(--glass-border);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 45;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.9);
}

.inline-comments-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.inline-comments-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(252, 213, 144, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.inline-comments-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-comments-heading {
  font-size: 19px;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 0.3px;
}

.inline-comments-count {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.close-inline-comments-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 4px;
}

.close-inline-comments-btn:hover {
  color: var(--primary-accent);
  transform: scale(1.15);
}

/* Lista de Comentários com Quebra de Linha Obrigatória */
.inline-comments-list {
  flex: 1;
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 109, 0.3) transparent;
}

.inline-comments-list::-webkit-scrollbar {
  width: 5px;
}
.inline-comments-list::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 109, 0.3);
  border-radius: 4px;
}

.inline-comment-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.inline-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1.5px solid var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-glow);
}

.inline-comment-content {
  flex: 1;
  min-width: 0;                     /* Impede que o flex item estoure em linha reta! */
}

.inline-comment-author {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--gold-accent);
}

/* QUEBRA DE LINHA PERFEITA PARA EVITAR LINHA RETA INFINITA */
.inline-comment-text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.94);
  margin-top: 4px;
  line-height: 1.5;
  word-break: break-word;           /* Quebra palavras longas */
  overflow-wrap: anywhere;          /* Permite quebrar qualquer string sem espaços */
  white-space: pre-wrap;            /* Mantém quebras de linha manuais do usuário */
}

/* Imagem ou GIF anexado no comentário */
.inline-comment-media-img {
  margin-top: 8px;
  max-width: 260px;
  max-height: 200px;
  border-radius: 14px;
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  display: block;
  object-fit: cover;
}

.inline-comment-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.inline-comment-like-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding-top: 2px;
}

.inline-comment-like-col:hover {
  color: var(--primary-accent);
}

/* Seletor de Emojis Flutuante */
.emoji-picker-container {
  position: absolute;
  bottom: 120px;
  left: 20px;
  right: 20px;
  background: rgba(30, 9, 28, 0.98);
  border: 1.5px solid var(--glass-border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  z-index: 60;
}

.emoji-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-accent);
}

.close-emoji-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.emoji-btn-item {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-btn-item:hover {
  background: rgba(255, 42, 109, 0.25);
  transform: scale(1.25);
}

/* Barra de Preview de Imagem ou GIF Anexado */
.media-preview-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px 8px;
  padding: 8px 14px;
  background: rgba(45, 14, 42, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.media-preview-bar img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.preview-filename {
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remove-media-btn {
  background: none;
  border: none;
  color: var(--primary-accent);
  font-size: 22px;
  cursor: pointer;
}

/* CAMPO DE DIGITAÇÃO SUBIDO E MAIS LARGO (CONFORME O DESENHO VERMELHO) */
.inline-comment-form {
  margin: 10px 24px 38px 24px;           /* Subido consideravelmente do rodapé conforme o traço vermelho */
  padding: 0;
  background: transparent;
  flex-shrink: 0;
  width: calc(100% - 48px);
}

.comment-input-wrapper {
  width: 100%;
  background: rgba(36, 12, 34, 0.98);
  border: 1.5px solid var(--glass-border);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-input-wrapper:focus-within {
  border-color: var(--gold-accent);
  box-shadow: 0 0 20px rgba(252, 213, 144, 0.25);
}

.comment-input-wrapper textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.45;
  resize: none;
  min-height: 52px;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.comment-input-wrapper textarea::placeholder {
  color: var(--text-muted);
}

.comment-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(252, 213, 144, 0.12);
}

.comment-tools-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--gold-accent);
  border-radius: 12px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
}

.tool-icon-btn:hover {
  background: rgba(255, 42, 109, 0.3);
  border-color: var(--primary-accent);
  color: #fff;
  transform: scale(1.05);
}

.gif-tag-pill {
  font-size: 10.5px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
}

.send-inline-comment-btn {
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.send-inline-comment-btn:hover {
  background: linear-gradient(135deg, #ff4d84, var(--primary-accent));
  transform: scale(1.06);
  box-shadow: 0 0 20px var(--primary-glow);
}

.send-inline-comment-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   2. ÁREA CENTRAL: VÍDEO ENORME EM ALTURA E LARGURA
   ========================================================================== */

.erova-main {
  position: relative;
  flex: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: transparent;
}

.desktop-feed-container {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  position: relative;
}

.desktop-feed-container::-webkit-scrollbar {
  display: none;
}

.feed-loading-state {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.feed-loading-card {
  width: min(100%, 440px);
  aspect-ratio: 9 / 16;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(44, 12, 36, .94), rgba(12, 5, 12, .98));
  color: var(--text-muted);
}

.feed-loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, .18);
  border-top-color: var(--primary-accent);
  border-radius: 50%;
  animation: feed-loading-spin .8s linear infinite;
}

.feed-loading-card button {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--primary-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

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

.feed-item {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 4px 0;
  overflow: hidden;
}

/* ESTRUTURA HORIZONTAL: [AÇÕES ESQUERDA] [VÍDEO ALTO E LARGO] [SETAS DIREITA] */
.feed-item-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: calc(100vh - 8px);       /* ALTURA MÁXIMA TOTAL DA VIEWPORT */
  max-height: 98vh;
  max-width: 100%;
}

/* CARD DE VÍDEO ENORME: ALTURA E LARGURA TOTALMENTE AMPLIADAS */
.video-card-desktop {
  position: relative;
  height: 100%;
  width: auto;
  aspect-ratio: 9 / 16;
  max-width: 620px;
  background-color: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(255, 42, 109, 0.25),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Som / Unmute */
.video-sound-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(26, 8, 24, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: var(--gold-accent);
  padding: 7px 15px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 10px var(--gold-glow);
  transition: all 0.2s ease;
}

.video-sound-pill:hover {
  background: rgba(255, 42, 109, 0.35);
  color: #fff;
  border-color: var(--primary-accent);
  transform: scale(1.04);
}

/* Play/Pause Central */
.play-pause-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(30, 10, 28, 0.8);
  border: 2px solid var(--gold-accent);
  padding: 24px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 25px var(--gold-glow);
  z-index: 20;
}

.play-pause-icon.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Duplo Clique Coração */
.double-tap-heart {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: heartPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  z-index: 30;
  filter: drop-shadow(0 0 25px var(--primary-accent));
}

@keyframes heartPop {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-15deg); opacity: 0; }
  35% { transform: translate(-50%, -50%) scale(1.5) rotate(0deg); opacity: 1; }
  70% { transform: translate(-50%, -70%) scale(1.15) rotate(10deg); opacity: 0.95; }
  100% { transform: translate(-50%, -90%) scale(0.8) rotate(15deg); opacity: 0; }
}

/* Informações do Vídeo na Base */
.video-overlay-info {
  position: absolute;
  left: 20px;
  bottom: 22px;
  right: 20px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  pointer-events: none;
}

.video-overlay-info > * {
  pointer-events: auto;
}

.creator-handle {
  font-size: 18.5px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-handle:hover {
  color: var(--gold-accent);
}

.caption-text {
  font-size: 14.5px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.95);
}

.caption-more {
  font-weight: 800;
  color: var(--gold-accent);
  cursor: pointer;
  margin-left: 6px;
}

.audio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-accent);
  overflow: hidden;
  white-space: nowrap;
  width: 85%;
  cursor: pointer;
}

.audio-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeText 9s linear infinite;
}

@keyframes marqueeText {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.video-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 25;
  cursor: pointer;
}

.video-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary-accent));
  box-shadow: 0 0 12px var(--primary-accent);
}

/* ==========================================================================
   BARRA DE FERRAMENTAS / AÇÕES: À ESQUERDA DO VÍDEO
   ========================================================================== */

.actions-column-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: rgba(30, 10, 28, 0.65);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: 40px;
  padding: 16px 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

/* Avatar da Molete */
.avatar-action-wrap {
  position: relative;
  cursor: pointer;
  margin-bottom: 2px;
  transition: transform 0.25s ease;
}

.avatar-action-wrap:hover {
  transform: scale(1.08);
}

.action-creator-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2.5px solid var(--gold-accent);
  box-shadow: 
    0 0 20px var(--gold-glow),
    0 6px 16px rgba(0, 0, 0, 0.7);
}

.follow-plus-btn {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  border: 2px solid var(--burgundy-deep);
  box-shadow: 0 0 10px var(--primary-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.follow-plus-btn.following {
  background: linear-gradient(135deg, #00d26a, #00994d);
  box-shadow: 0 0 10px rgba(0, 210, 106, 0.6);
}

/* Botões de Ação */
.action-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.action-circle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(45, 14, 42, 0.85);
  border: 1.5px solid var(--glass-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.action-circle-btn svg {
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease;
}

.action-circle-btn:hover {
  background: rgba(255, 42, 109, 0.35);
  border-color: var(--primary-accent);
  transform: scale(1.12);
  box-shadow: 0 0 20px var(--primary-glow);
}

.action-circle-btn:active {
  transform: scale(0.92);
}

.feed-feedback-button { background: rgba(25, 28, 39, 0.9); }
.feed-feedback-button:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.7); }
.recommendation-reason { margin: 0 0 5px; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.4; }
.feed-report-button { background: rgba(25, 28, 39, 0.9); }
.feed-report-button:hover { background: rgba(255, 180, 50, 0.2); border-color: #ffbd4a; }
.video-report-window { overflow-y: auto; }
.video-report-window .auth-form { display: grid; gap: 10px; padding: 12px; }
.video-report-guidance { color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.video-report-window label { color: #fff; font-size: 13px; font-weight: 700; }
.video-report-window select, .video-report-window textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--glass-border); border-radius: 9px; background: #180b18; color: #fff; font: inherit; }
.video-report-window textarea { min-height: 120px; resize: vertical; }
.video-report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }

.action-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-accent);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.3px;
}

/* Curtido e Salvo */
.action-box.liked .action-circle-btn {
  background: rgba(255, 42, 109, 0.3);
  border-color: var(--primary-accent);
}

.action-box.liked .action-circle-btn svg {
  fill: var(--primary-accent);
  filter: drop-shadow(0 0 14px var(--primary-accent));
  animation: heartPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-box.liked .action-number {
  color: var(--primary-accent);
}
.action-box.disliked .action-circle-btn { color: #b8a2ff; border-color: #8b68ef; box-shadow: 0 0 14px rgba(139,104,239,.36); }

.action-box.bookmarked .action-circle-btn {
  background: rgba(252, 213, 144, 0.3);
  border-color: var(--gold-accent);
}

.action-box.bookmarked .action-circle-btn svg {
  fill: var(--gold-accent);
  filter: drop-shadow(0 0 14px var(--gold-accent));
  animation: heartPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   COLUNA DA DIREITA DO VÍDEO: SETAS VERTICAIS + BOTÃO AUTORROLAGEM
   ========================================================================== */

.nav-arrows-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.nav-controls-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;                         /* Espaço nítido e elegante entre subir e descer */
  background: rgba(30, 10, 28, 0.75);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(18px);
  border-radius: 42px;
  padding: 16px 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 42, 109, 0.15);
}

.nav-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(45, 14, 42, 0.88);
  border: 1.5px solid var(--glass-border);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-arrow-btn svg {
  transition: transform 0.2s ease;
}

.nav-arrow-btn:hover {
  background: rgba(255, 42, 109, 0.4);
  border-color: var(--gold-accent);
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 0 20px var(--gold-glow);
}

.nav-arrow-btn:active {
  transform: scale(0.92);
}

.nav-arrow-btn.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Divisor elegante antes do botão de autorrolagem */
.nav-controls-divider {
  width: 28px;
  height: 1px;
  background: rgba(252, 213, 144, 0.2);
  margin: 2px 0;
}

/* Botão de Autorrolagem */
.autoscroll-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 52px;
  padding: 10px 4px;
  border-radius: 26px;
  background: rgba(45, 14, 42, 0.88);
  border: 1.5px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.autoscroll-toggle-btn:hover {
  background: rgba(255, 42, 109, 0.25);
  border-color: var(--primary-accent);
  color: #ffffff;
  transform: scale(1.08);
}

.autoscroll-toggle-btn.active {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.35), rgba(45, 14, 42, 0.95));
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  box-shadow: 0 0 20px rgba(252, 213, 144, 0.4), 0 0 30px rgba(255, 42, 109, 0.3);
}

.autoscroll-icon-wrap svg {
  transition: transform 0.4s ease;
}

.autoscroll-toggle-btn.active .autoscroll-icon-wrap svg {
  transform: rotate(180deg);
  stroke: var(--gold-accent);
}

.autoscroll-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.autoscroll-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #666;
  transition: all 0.25s ease;
}

.autoscroll-toggle-btn.active .autoscroll-status-dot {
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
}

/* Toast de Notificação de Autorrolagem */
.erova-toast-notification {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(26, 8, 24, 0.95);
  border: 1.5px solid var(--gold-accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
  backdrop-filter: blur(20px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.erova-toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   3. SIDEBAR DIREITA (EM ALTA + MINI PREVIEWS + CONTAS SEGUIDAS)
   ========================================================================== */

.erova-sidebar-right {
  width: var(--sidebar-right-width);
  min-width: var(--sidebar-right-width);
  max-width: var(--sidebar-right-width);
  height: 100vh;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(26, 8, 24, 0.97) 0%, rgba(14, 3, 13, 0.98) 100%);
  border-left: 1.5px solid var(--glass-border);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 109, 0.3) transparent;
  z-index: 50;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.75);
}

.erova-sidebar-right::-webkit-scrollbar {
  width: 4px;
}
.erova-sidebar-right::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 109, 0.3);
  border-radius: 4px;
}

.section-header-row {
  margin-bottom: 14px;
}

.section-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

/* Mini Previews dos Vídeos em Alta */
.previews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.preview-card-item {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(45, 14, 42, 0.55);
  border: 1px solid rgba(252, 213, 144, 0.16);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card-item:hover {
  background: rgba(255, 42, 109, 0.18);
  border-color: var(--gold-accent);
  transform: translateX(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
}

.preview-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background-color: #000;
  flex-shrink: 0;
  border: 1px solid rgba(252, 213, 144, 0.2);
}

.preview-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-card-item .preview-meta-info { display: none; }
.preview-card-item .preview-badge-views { background: rgba(15, 4, 14, .82); }
.explore-ad-banner-slot,.explore-ad-slot { display:flex; align-items:center; justify-content:center; min-height:90px; margin:0 0 22px; border:1px dashed rgba(255,42,109,.42); border-radius:12px; color:rgba(255,255,255,.52); background:rgba(35,8,29,.45); font-size:12px; }
.explore-ad-banner-slot { width:min(100%,728px); min-height:90px; }
.explore-ad-slot { margin-top:18px; }
.explore-ad-banner-slot a,.explore-ad-slot a { display:block; position:relative; width:100%; height:100%; min-height:90px; overflow:hidden; border-radius:inherit; }
.explore-ad-banner-slot img,.explore-ad-slot img { display:block; width:100%; height:90px; object-fit:cover; }
.explore-ad-slot img { height:auto; max-height:280px; }
.explore-ad-banner-slot a span,.explore-ad-slot a span { position:absolute; right:8px; bottom:8px; padding:3px 7px; border-radius:5px; background:rgba(0,0,0,.72); color:#fff; font-size:11px; }

.preview-badge-views {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold-accent);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.preview-meta-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.preview-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-creator {
  font-size: 12px;
  color: var(--gold-accent);
  font-weight: 600;
}

.preview-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.preview-stats-row span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Contas que Você Segue */
.following-users-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.right-user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(45, 14, 42, 0.45);
  border: 1px solid rgba(252, 213, 144, 0.14);
  cursor: pointer;
  transition: all 0.2s ease;
}

.right-user-item:hover {
  background: rgba(255, 42, 109, 0.14);
  border-color: rgba(252, 213, 144, 0.35);
  transform: translateX(-3px);
}

.right-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.right-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-glow);
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #00e676;
  border-radius: 50%;
  border: 2px solid var(--burgundy-surface);
  box-shadow: 0 0 8px #00e676;
}

.right-user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.right-handle {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.right-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-tag {
  color: var(--primary-accent);
  font-weight: 800;
  font-style: normal;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.msg-mini-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.msg-mini-btn:hover {
  background: rgba(255, 42, 109, 0.3);
  transform: scale(1.1);
}

.see-all-right-btn {
  width: 100%;
  margin-top: 12px;
  padding: 11px;
  background: rgba(45, 14, 42, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--gold-accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.see-all-right-btn:hover {
  background: rgba(255, 42, 109, 0.25);
  color: #fff;
  border-color: var(--gold-accent);
}

/* ==========================================================================
   Modais
   ========================================================================== */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 4, 13, 0.8);
  backdrop-filter: blur(10px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-container {
  width: 500px;
  max-width: 90vw;
  max-height: 80vh;
  background: linear-gradient(180deg, #240d22 0%, #170716 100%);
  border-radius: 22px;
  border: 1.5px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 42, 109, 0.25);
}

.sheet-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(252, 213, 144, 0.15);
}

.sheet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-accent);
}

.close-sheet-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.close-sheet-btn:hover {
  color: var(--primary-accent);
}

.share-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 22px;
}

.share-opt-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.share-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(50, 16, 46, 0.8);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.share-icon-circle.whatsapp { background: #25D366; }
.share-icon-circle.copy { background: linear-gradient(135deg, var(--primary-accent), #9b195b); }
.share-icon-circle.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.share-icon-circle.twitter { background: #000; border: 1.5px solid var(--glass-border); }


/* ==========================================================================
   4. ESTILOS DE TELAS DINÂMICAS: PERFIL, EXPLORAR, UPLOAD E AUTENTICAÇÃO
   ========================================================================== */

/* Botão de Publicar Vídeo na Sidebar Esquerda */
.sidebar-publish-wrapper {
  margin: 12px 0 16px;
  width: 100%;
}

.publish-video-btn {
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--primary-accent), #c20046);
  border: 1.5px solid rgba(252, 213, 144, 0.4);
  border-radius: 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.publish-video-btn:hover {
  background: linear-gradient(135deg, #ff4d84, var(--primary-accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow), 0 0 15px var(--gold-glow);
}

.publish-video-btn .plus-icon {
  font-size: 20px;
  line-height: 1;
}

/* Card do Usuário Logado na Sidebar */
.sidebar-user-box {
  margin-top: auto;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: rgba(36, 12, 34, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.logged-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-box-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-glow);
  flex-shrink: 0;
  cursor: pointer;
}

.user-box-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.user-box-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-box-handle {
  display: block;
  font-size: 11.5px;
  color: var(--gold-accent);
}

.logout-mini-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logout-mini-btn:hover {
  color: var(--primary-accent);
  background: rgba(255, 42, 109, 0.2);
}

.login-trigger-btn {
  width: 100%;
  padding: 10px;
  background: rgba(252, 213, 144, 0.15);
  border: 1px solid var(--gold-accent);
  border-radius: 12px;
  color: var(--gold-accent);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.login-trigger-btn:hover {
  background: var(--gold-accent);
  color: #1a0818;
}

/* ==========================================================================
   TELA DE PERFIL DO CRIADOR / USUÁRIO
   ========================================================================== */
.profile-view-screen {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, #1b071a 0%, #110311 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.profile-view-header {
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(252, 213, 144, 0.15);
  background: rgba(26, 8, 24, 0.95);
  backdrop-filter: blur(16px);
  z-index: 15;
}

.back-to-feed-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--gold-accent);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.back-to-feed-btn:hover {
  background: rgba(255, 42, 109, 0.25);
  border-color: var(--primary-accent);
  color: #fff;
  transform: translateX(-3px);
}

.profile-header-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.profile-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 60px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 109, 0.4) transparent;
}

.profile-cover-banner {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #2d0e25 0%, #170416 50%, #3a0d2a 100%);
  position: relative;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  transition: background-image 0.2s ease;
}

.profile-cover-banner.has-cover-image {
  background-color: #130910;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 10, 15, 0.0) 0%, rgba(13, 10, 15, 0.1) 50%, rgba(13, 10, 15, 0.75) 85%, var(--bg-dark) 100%);
}

.profile-main-meta {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 14px;
  max-width: 1080px;
  margin: -75px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 5;
}

.profile-avatar-row {
  display: contents;
}

.profile-large-avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  flex: 0 0 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid var(--gold-accent);
  box-shadow: 0 0 25px var(--gold-glow), 0 10px 30px rgba(0, 0, 0, 0.8);
}

.profile-actions-bar {
  grid-column: 2;
  grid-row: 4;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
}
.profile-large-avatar { grid-column:1; grid-row:1 / span 4; }
.profile-names-wrap { grid-column:2; grid-row:1; min-width:0; }
.profile-stats-bar { grid-column:2; grid-row:2; }
.profile-bio-text { grid-column:2; grid-row:3; margin:0; }
.profile-blocked-accounts-panel { grid-column:1 / -1; }
.profile-tabs-row,.profile-videos-grid { grid-column:1 / -1; }
.profile-more-settings { position:relative; }
.profile-more-settings > summary { display:inline-flex; min-height:42px; align-items:center; justify-content:center; padding:10px 18px; border:1.5px solid var(--glass-border); border-radius:24px; color:var(--gold-accent); background:rgba(45,14,42,.85); font-size:14px; font-weight:800; cursor:pointer; list-style:none; }
.profile-more-settings > summary::-webkit-details-marker { display:none; }
.profile-more-settings-menu { position:absolute; z-index:30; top:calc(100% + 8px); right:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:min(420px,90vw); padding:12px; border:1px solid var(--glass-border); border-radius:16px; background:rgba(24,7,22,.98); box-shadow:0 16px 40px rgba(0,0,0,.55); }
.profile-more-settings-menu .profile-secondary-btn { width:100%; min-width:0; padding:9px 10px; font-size:12px; }

.profile-blocked-accounts-panel {
  width: min(100%, 720px);
  margin: 12px 0 18px;
  padding: 14px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: rgba(20, 8, 18, 0.92);
}

.profile-blocked-accounts-heading,
.profile-blocked-account-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-blocked-accounts-heading { margin-bottom: 10px; }
.profile-blocked-accounts-heading h2 { margin: 0; color: var(--text-main); font-size: 15px; }
.profile-blocked-account-list { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; }
.profile-blocked-account-row { min-width: 0; padding: 10px; border-top: 1px solid var(--glass-border); }
.profile-blocked-account-row > div { display: grid; min-width: 0; gap: 3px; }
.profile-blocked-account-row strong { color: var(--text-main); font-size: 13px; overflow-wrap: anywhere; }
.profile-blocked-account-row span { color: var(--text-muted); font-size: 11px; overflow-wrap: anywhere; }

.profile-main-action-btn {
  padding: 10px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: all 0.2s;
}

.profile-main-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--primary-glow);
}

.profile-main-action-btn.following {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--glass-border);
  color: var(--gold-accent);
  box-shadow: none;
}

.profile-secondary-btn {
  min-height: 42px;
  max-width: 100%;
  flex: 0 1 auto;
  padding: 10px 22px;
  border-radius: 24px;
  background: rgba(45, 14, 42, 0.85);
  border: 1.5px solid var(--glass-border);
  color: var(--gold-accent);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-secondary-btn:disabled {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: .9;
}

.profile-secondary-btn:disabled:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--text-muted);
}

.monetization-launch-notice {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, .28);
  border-radius: 14px;
  background: rgba(251, 191, 36, .07);
  color: var(--gold-accent);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.profile-secondary-btn:hover {
  background: rgba(255, 42, 109, 0.25);
  color: #fff;
}

.profile-names-wrap {
  margin-top: 18px;
}

.profile-display-name {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.3px;
}

.profile-handle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.profile-handle-text {
  font-size: 15px;
  color: var(--gold-accent);
  font-weight: 700;
}

.system-account-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.system-account-badge[hidden] { display: none; }

.adult-badge-pill,
.vip-gold-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #ffffff;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: all 0.3s ease;
}

.adult-badge-pill.mainstream-mode {
  background: linear-gradient(135deg, #00c853, #009624);
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.45);
  color: #ffffff;
}

.exclusive-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.profile-stats-bar {
  display: flex;
  gap: 32px;
  margin: 22px 0 16px;
  padding: 14px 20px;
  background: rgba(30, 9, 28, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  width: fit-content;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-number {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
}

.profile-bio-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  max-width: 650px;
  margin-bottom: 26px;
}

.profile-tabs-row {
  display: flex;
  gap: 24px;
  border-bottom: 1.5px solid rgba(252, 213, 144, 0.15);
  margin-bottom: 24px;
}

.profile-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 800;
  padding: 12px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.2s;
}

.profile-tab-btn:hover {
  color: #fff;
}

.profile-tab-btn.active {
  color: var(--gold-accent);
}

.profile-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-accent);
  box-shadow: 0 0 12px var(--gold-glow);
  border-radius: 3px 3px 0 0;
}

/* Grid de Vídeos do Perfil */
.profile-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.profile-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #1e091c;
  border: 1.5px solid var(--glass-border);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-video-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gold-accent);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 20px var(--gold-glow);
}

.profile-video-card video,
.profile-video-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-video-badge-views {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.profile-video-card:hover .profile-video-play-overlay {
  opacity: 1;
}

/* ==========================================================================
   TELA DE EXPLORAR
   ========================================================================== */
.explore-view-screen {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, #1b071a 0%, #110311 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.explore-view-header {
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(252, 213, 144, 0.15);
  background: rgba(26, 8, 24, 0.95);
  backdrop-filter: blur(16px);
}

.explore-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-accent);
}

.explore-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px 60px;
}

.explore-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.categories-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.category-card {
  padding: 9px 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(50, 16, 46, 0.9), rgba(28, 8, 26, 0.9));
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
}

.category-icon {
  font-size: 19px;
}

.category-name {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.creators-carousel-container {
  position: relative;
  margin-bottom: 36px;
}

.creators-cards-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 6px 16px 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-accent) transparent;
}

.creators-cards-row::-webkit-scrollbar {
  height: 6px;
}

.creators-cards-row::-webkit-scrollbar-thumb {
  background: var(--primary-accent);
  border-radius: 4px;
}

.creator-card-item {
  scroll-snap-align: start;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(25, 8, 23, 0.92);
  border: 1.5px solid var(--primary-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: var(--primary-accent);
  transform: translateY(-50%) scale(1.12);
}

.carousel-nav-btn.prev {
  left: -14px;
}

.carousel-nav-btn.next {
  right: -14px;
}

.creator-card-item {
  width: 170px;
  flex-shrink: 0;
  background: rgba(36, 12, 34, 0.85);
  border: 1.5px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.25s;
}

.creator-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-accent);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.creator-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--gold-accent);
  margin-bottom: 12px;
}

.creator-card-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.creator-card-handle {
  font-size: 12px;
  color: var(--gold-accent);
  margin-top: 2px;
}

.creator-card-follow-btn {
  margin-top: 14px;
  padding: 7px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.creator-card-follow-btn:hover {
  transform: scale(1.08);
}

.explore-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.explore-load-more {
  display: block;
  width: auto;
  min-width: 190px;
  margin: 22px auto 0;
}

.explore-load-more[hidden] {
  display: none;
}

.explore-catalog-sentinel {
  width: 100%;
  height: 2px;
  pointer-events: none;
}

/* ==========================================================================
   MODAIS: ESTÚDIO DE UPLOAD, LOGIN E CADASTRO
   ========================================================================== */
.erova-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 4, 13, 0.88);
  backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.erova-modal-window {
  background: linear-gradient(180deg, #280d26 0%, #170517 100%);
  border: 1.5px solid var(--glass-border);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 42, 109, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
}

.upload-window {
  width: 900px;
  max-width: 95vw;
}

.auth-window {
  width: 460px;
  max-width: 95vw;
  padding: 10px;
}

.edit-profile-window {
  width: 500px;
  max-width: 95vw;
  padding: 10px;
}

.account-requests-window { width: 760px; }
.account-security-window { width: 520px; }
.account-requests-content { overflow-y: auto; padding: 8px 16px 18px; }
.account-requests-content .auth-form { padding: 16px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.account-requests-content .auth-form label { display: grid; gap: 7px; min-width: 0; }
.account-requests-content .form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.advertiser-portal-window .auth-form { display: grid; gap: 12px; }
.advertiser-portal-window .submit-publish-btn:disabled { opacity: .5; cursor: not-allowed; }
.advertiser-portal-window .ops-guidance { margin: 10px; padding: 12px; border: 1px solid rgba(252,213,144,.18); border-radius: 10px; background: rgba(252,213,144,.06); color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.account-requests-content h4 { color: var(--gold-accent); font-size: 14px; }
.account-requests-content label { color: var(--text-muted); font-size: 12px; }
.account-requests-content select,
.account-requests-content input,
.account-requests-content textarea {
  width: 100%; padding: 11px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  background: rgba(0,0,0,.3); color: #fff; font: inherit; font-size: 13px;
}
.account-requests-content select:focus,
.account-requests-content input:focus,
.account-requests-content textarea:focus { outline: 2px solid var(--primary-accent); outline-offset: 1px; }
.account-request-history { padding: 18px 10px 6px; }
.account-request-history h4 { margin-bottom: 12px; }
.account-request-item { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 12px; line-height: 1.5; }
.account-request-history-item { display: grid; gap: 5px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.account-request-history-item span, .account-request-history-item small { color: var(--text-muted); }
.account-request-item span { color: var(--text-muted); }

.modal-header {
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(252, 213, 144, 0.15);
}

.modal-title {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--gold-accent);
}

.close-modal-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

.close-modal-btn:hover {
  color: var(--primary-accent);
}

/* Upload Dropzone & Form */
.upload-form {
  padding: 24px 28px;
  overflow-y: auto;
}

.upload-form-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
}

.video-dropzone {
  width: 100%;
  aspect-ratio: 9 / 15;
  border: 2px dashed rgba(252, 213, 144, 0.35);
  border-radius: 20px;
  background: rgba(36, 12, 34, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 24px;
  text-align: center;
  transition: all 0.25s;
  overflow: hidden;
  position: relative;
}

.video-dropzone:hover {
  border-color: var(--gold-accent);
  background: rgba(45, 14, 42, 0.8);
  box-shadow: 0 0 25px rgba(252, 213, 144, 0.15);
}

.dropzone-empty svg {
  color: var(--gold-accent);
  margin-bottom: 14px;
}

.dropzone-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.dropzone-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.dropzone-btn {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 20px;
  margin-bottom: 14px;
}

.dropzone-specs {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

.dropzone-preview {
  width: 100%;
  height: 100%;
  position: relative;
}

.dropzone-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.change-video-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--gold-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 14px;
  cursor: pointer;
}

.upload-fields-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-accent);
}

.form-group input,
.form-group textarea {
  background: rgba(30, 9, 28, 0.85);
  border: 1.5px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 16px var(--gold-glow);
}

.upload-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

.cancel-modal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-modal-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.submit-publish-btn {
  background: linear-gradient(135deg, var(--primary-accent), #c20046);
  border: 1px solid rgba(252, 213, 144, 0.4);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  padding: 11px 28px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.2s;
}

.submit-publish-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px var(--primary-glow);
}

.upload-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.upload-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary-accent));
  box-shadow: 0 0 10px var(--primary-accent);
  transition: width 0.3s;
}

.upload-progress-text {
  font-size: 12px;
  color: var(--gold-accent);
}

/* Auth Modal Tabs & Forms */
.auth-tabs-row {
  display: flex;
  border-bottom: 1px solid rgba(252, 213, 144, 0.15);
  margin-bottom: 18px;
}

.auth-tab {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.auth-tab.active {
  color: var(--gold-accent);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-glow);
}

.auth-form {
  padding: 10px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-submit-btn {
  padding: 13px;
  background: linear-gradient(135deg, var(--primary-accent), #cf0049);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.2s;
}

.auth-submit-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px var(--primary-glow);
}

.auth-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

.auth-hint strong {
  color: var(--gold-accent);
}

/* ==========================================================================
   ADMIN EXECUTIVE PANEL (TIKTOK GRADE COMMAND CENTER)
   ========================================================================== */

.nav-admin-link {
  position: relative;
  border-left: 2px solid transparent;
}

.nav-admin-link[hidden] {
  display: none !important;
}

.nav-admin-link.active {
  border-left-color: var(--gold-accent);
}

.admin-badge-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #e11d48, #9333ea);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}

.admin-view-screen {
  flex: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

@media (max-width: 760px) {
  .account-requests-window { width: 100%; max-width: 100%; max-height: 94vh; border-radius: 18px; }
  .account-requests-content { padding: 4px 10px 12px; }
  .account-requests-content .form-row-2 { grid-template-columns: minmax(0, 1fr); }
  .erova-container,
  .erova-layout {
    width: 100%;
    height: 100dvh;
    flex-direction: column;
  }

  .erova-sidebar-left {
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: calc(62px + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    overflow: hidden;
    border-right: 0;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  }

  .sidebar-brand-wrapper,
  .sidebar-publish-wrapper,
  .search-box,
  .sidebar-divider,
  .quick-tags-section,
  .sidebar-user-box,
  .sidebar-footer,
  .erova-sidebar-right {
    display: none !important;
  }

  .sidebar-nav {
    width: 100%;
    height: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
  }

  .nav-link {
    min-width: 0;
    flex: 1 1 20%;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 10px;
    font-size: 9px;
    text-align: center;
  }

  .nav-link svg {
    width: 20px;
    height: 20px;
  }

  .nav-link span:not(.admin-badge-tag) {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-admin-link {
    border-left: 1px solid transparent;
  }

  .admin-badge-tag {
    display: none;
  }

  .erova-main {
    width: 100%;
    min-width: 0;
    height: calc(100dvh - 62px - env(safe-area-inset-bottom));
    flex: 1 1 auto;
  }

  .desktop-feed-container {
    width: 100%;
  }

  .feed-item {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    align-items: stretch;
  }

  .feed-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    gap: 0;
  }

  .video-card-desktop {
    width: 100%;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .actions-column-left {
    position: absolute;
    right: 10px;
    bottom: 74px;
    z-index: 24;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .action-creator-avatar {
    width: 42px;
    height: 42px;
  }

  .action-circle-btn {
    width: 38px;
    height: 38px;
  }

  .action-number {
    font-size: 10px;
  }

  .video-overlay-info {
    left: 14px;
    right: 68px;
    bottom: 16px;
  }

  .creator-handle {
    font-size: 15px;
  }

  .caption-text {
    font-size: 12px;
  }

  .nav-arrows-column {
    display: none;
  }

  .inline-comments-panel {
    left: 0;
    top: 0;
    bottom: calc(62px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: none;
    min-width: 0;
    border-right: 0;
  }

  .admin-view-screen {
    width: 100%;
    height: calc(100dvh - 62px - env(safe-area-inset-bottom));
    min-width: 0;
  }
}

.admin-view-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(19, 9, 16, 0.85);
  backdrop-filter: blur(20px);
  flex-shrink: 0;
  z-index: 10;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-title-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-main-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}

.admin-role-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--gold-accent);
}

.admin-sync-indicator {
  font-size: 12.5px;
  font-weight: 600;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-workspace-layout {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* SUBNAV LATERAL ISOLADA (REGRA [P-15]) */
.admin-subnav-sidebar {
  width: 250px;
  background: rgba(14, 6, 12, 0.95);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  gap: 6px;
  flex-shrink: 0;
  overflow-y: auto;
}

.admin-subnav-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 0 12px 10px;
  text-transform: uppercase;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}

.admin-nav-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s;
}

.admin-nav-item:hover {
  background: rgba(225, 29, 72, 0.1);
  color: #fff;
}

.admin-nav-item:hover svg {
  color: var(--primary-accent);
}

.admin-nav-item.active {
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.25) 0%, rgba(225, 29, 72, 0.05) 100%);
  border-color: rgba(225, 29, 72, 0.4);
  color: #fff;
  font-weight: 700;
}

.admin-nav-item.active svg {
  color: var(--gold-accent);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* ÁREA DE CONTEÚDO PRINCIPAL DO ADMIN */
.admin-content-pane {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  background: radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.08) 0%, transparent 60%);
}

.admin-tab-pane {
  display: none;
  animation: fadeInPane 0.25s ease-out;
}

.admin-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.pane-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.pane-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}

.pane-refresh-btn,
.action-btn-primary,
.action-btn-secondary {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pane-refresh-btn,
.action-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: #fff;
}

.pane-refresh-btn:hover,
.action-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.action-btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), #be123c);
  border: none;
  color: #fff;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

.action-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6);
}

.pane-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* KPI CARDS */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-card {
  background: rgba(26, 12, 23, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, border-color 0.2s;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.35);
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-icon-wrap.ruby { background: rgba(225, 29, 72, 0.18); border: 1px solid rgba(225, 29, 72, 0.4); }
.kpi-icon-wrap.gold { background: rgba(251, 191, 36, 0.18); border: 1px solid rgba(251, 191, 36, 0.4); }
.kpi-icon-wrap.emerald { background: rgba(16, 185, 129, 0.18); border: 1px solid rgba(16, 185, 129, 0.4); }

.kpi-meta {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  font-family: 'Space Grotesk', sans-serif;
}

.kpi-trend {
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

.kpi-trend.positive { color: #10b981; }
.kpi-trend.negative { color: #ef4444; }

/* GRÁFICO 7 DIAS */
.admin-chart-card {
  background: rgba(26, 12, 23, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.chart-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  gap: 16px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-fill {
  width: 100%;
  max-width: 44px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--primary-accent) 0%, rgba(225, 29, 72, 0.3) 100%);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.chart-bar-fill:hover {
  background: linear-gradient(180deg, var(--gold-accent) 0%, var(--primary-accent) 100%);
}

.chart-bar-day {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.chart-bar-val {
  font-size: 11px;
  color: var(--text-muted);
}

/* TABELAS ADMIN */
.admin-table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-search-field {
  flex: 1;
  min-width: 260px;
  max-width: 450px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.admin-search-field:focus {
  border-color: var(--gold-accent);
}

.admin-filter-pills {
  display: flex;
  gap: 8px;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active {
  background: rgba(225, 29, 72, 0.2);
  border-color: var(--primary-accent);
  color: #fff;
}

.admin-table-container {
  background: rgba(26, 12, 23, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-data-table th {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(14, 6, 12, 0.6);
}

.admin-data-table td {
  padding: 14px 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.admin-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.user-td-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-td-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gold-accent);
}

.user-td-name {
  font-weight: 700;
  color: #fff;
  font-size: 13.5px;
}

.user-td-handle {
  font-size: 12px;
  color: var(--text-muted);
}

.role-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.role-badge.admin { background: rgba(225, 29, 72, 0.2); color: var(--primary-accent); border: 1px solid rgba(225, 29, 72, 0.4); }
.role-badge.vip { background: rgba(251, 191, 36, 0.2); color: var(--gold-accent); border: 1px solid rgba(251, 191, 36, 0.4); }
.role-badge.member { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); }

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.status-badge.active { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-badge.banned { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.btn-action-table {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-action-table:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-action-table.ban {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-action-table.ban:hover {
  background: rgba(239, 68, 68, 0.2);
}

.btn-action-table.unban {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-action-table.unban:hover {
  background: rgba(16, 185, 129, 0.2);
}

/* CARDS E GRIDS DE FORMULÁRIO DO ADMIN */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.admin-card-box {
  background: rgba(26, 12, 23, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.admin-card-box.full-width {
  grid-column: 1 / -1;
}

.box-heading {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gold-accent);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.box-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.slider-row {
  margin-bottom: 18px;
}

.slider-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.slider-meta label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.slider-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-accent);
}

.slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--primary-accent);
  cursor: pointer;
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* MONETIZAÇÃO & ANÚNCIOS (ADSENSE) */
.ads-frequency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.radio-box-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s;
}

.radio-box-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.radio-box-card input[type="radio"] {
  accent-color: var(--primary-accent);
  margin-top: 3px;
}

.radio-box-card:has(input[type="radio"]:checked) {
  border-color: var(--gold-accent);
  background: rgba(251, 191, 36, 0.08);
}

.radio-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.radio-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.ad-placements-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.checkbox-box-card {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.checkbox-box-card input {
  accent-color: var(--primary-accent);
}

.btn-sm-save {
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--primary-accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}

.btn-sm-save:hover {
  box-shadow: 0 0 15px var(--primary-glow);
}

/* PACOTES DE ANÚNCIO COMERCIAIS */
.packages-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.package-admin-card {
  background: rgba(14, 6, 12, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.package-badge-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.2);
  color: var(--gold-accent);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.package-name-input {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: transparent;
  border: 1px dashed transparent;
  border-radius: 6px;
  padding: 4px;
}

.package-name-input:focus {
  border-color: var(--gold-accent);
}

.package-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.package-price-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold-accent);
  font-family: 'Space Grotesk', sans-serif;
}

.package-views-val {
  font-size: 12.5px;
  color: #10b981;
  font-weight: 700;
}

.package-desc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1;
}

/* BRANDING & LOGOTIPOS */
.color-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.color-picker-row label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.color-picker-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-picker-input-wrap input[type="color"] {
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--glass-border);
  cursor: pointer;
  background: transparent;
  padding: 2px;
}

.color-hex-text {
  width: 80px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: monospace;
  font-size: 12.5px;
  text-align: center;
}

.branding-presets-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.presets-label {
  font-size: 12px;
  color: var(--text-muted);
}

.preset-theme-btn {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.preset-theme-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-accent);
}

.logo-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(14, 6, 12, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 12px;
}

.logo-upload-meta label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.file-name-curr {
  font-size: 11px;
  color: var(--text-muted);
}

.logo-upload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-logo-preview {
  height: 38px;
  width: 38px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px;
}

.mini-logo-preview.text-preview {
  width: 90px;
}

.btn-upload-file {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid var(--primary-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-upload-file:hover {
  background: var(--primary-accent);
}

.admin-select-field {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(14, 6, 12, 0.9);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 13.5px;
  outline: none;
}

.admin-select-field option {
  background: #130910;
  color: #fff;
}

.live-branding-preview-box {
  background: #080407;
  border: 1.5px dashed var(--gold-accent);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.preview-brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.preview-brand-container img {
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(225, 29, 72, 0.4));
}

.preview-subtag {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold-accent);
  text-transform: uppercase;
}

/* SWITCH CONTROLS */
.switch-control {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.switch-slider {
  width: 42px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  position: relative;
  transition: 0.3s;
}

.switch-slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch-control input:checked + .switch-slider {
  background-color: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-glow);
}

.switch-control input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.switch-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.form-inline-toggles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.number-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.number-input-wrap label {
  font-size: 13px;
  color: var(--text-muted);
}

.number-input-wrap input {
  width: 70px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
}

/* GATEWAYS BOX */
.gateway-group-box {
  background: rgba(14, 6, 12, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.gateway-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

/* ITEM DE ANÚNCIO PATROCINADO NO FEED */
.feed-item.ad-sponsored-item .video-card-desktop {
  border-color: var(--gold-accent);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(251, 191, 36, 0.3);
}

.ad-sponsor-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(251, 191, 36, 0.9);
  color: #000;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.ad-cta-button-banner {
  position: absolute;
  bottom: 80px;
  left: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold-accent), #f59e0b);
  color: #000;
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s;
}

.ad-cta-button-banner:hover {
  transform: scale(1.03);
}


/* ATALHO PROEMINENTE DO PAINEL ADMIN NA SIDEBAR */
.sidebar-admin-shortcut-box {
  margin: 0 0 16px;
  width: 100%;
}

.admin-glow-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.28) 0%, rgba(147, 51, 234, 0.22) 100%);
  border: 1.5px solid rgba(225, 29, 72, 0.55);
  border-radius: 14px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.admin-glow-btn:hover {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.5) 0%, rgba(147, 51, 234, 0.4) 100%);
  border-color: var(--gold-accent);
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.6);
  transform: translateY(-2px);
  color: #fff;
}

.admin-glow-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(225, 29, 72, 0.7));
}

.admin-badge-mini {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--gold-accent);
  color: #000;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Esconde a barra lateral direita quando em modo admin para amplitude total da tela */
body.admin-view-active .erova-sidebar-right {
  display: none !important;
}

body.admin-view-active .admin-view-screen {
  flex: 1;
  width: 100%;
  max-width: 100%;
}

.creator-wallet-window { width: min(720px, calc(100vw - 28px)); max-height: min(88vh, 900px); overflow: auto; }
.creator-wallet-content { display: grid; gap: 16px; padding: 18px; }
.creator-wallet-balance { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--glass-border); border-radius: 14px; background: rgba(255,255,255,.04); }
.creator-wallet-balance span, .creator-wallet-balance small { color: var(--text-muted); }
.creator-wallet-balance strong { color: var(--gold-accent); font-size: clamp(25px, 6vw, 36px); overflow-wrap: anywhere; }
.creator-wallet-content .account-request-history { min-width: 0; }
.notifications-window { width: min(760px, calc(100vw - 28px)); max-height: min(88vh, 900px); overflow: auto; }
.notifications-content { display: grid; gap: 16px; padding: 18px; }
.notifications-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: var(--text-muted); font-size: 13px; }
.notification-inbox-list { display: grid; gap: 9px; max-height: 38vh; overflow-y: auto; }
.notification-inbox-item { min-width: 0; padding: 13px; border: 1px solid var(--glass-border); border-radius: 12px; background: rgba(255,255,255,.035); }
.notification-inbox-item.unread { border-left: 3px solid var(--primary-accent); background: rgba(225,29,72,.07); }
.notification-inbox-item > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
.notification-inbox-item strong { color: var(--text-main); overflow-wrap: anywhere; }
.notification-inbox-item small, .notification-channel-note { color: var(--text-muted); font-size: 11px; overflow-wrap: anywhere; }
.notification-inbox-item p { margin: 9px 0 0; color: var(--text-main); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-preferences { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--glass-border); border-radius: 12px; }
.notification-preferences h4 { margin: 0; color: var(--text-main); }
.notification-preferences label { display: flex; gap: 9px; align-items: center; color: var(--text-main); font-size: 13px; }
.notification-preferences input { accent-color: var(--primary-accent); }
.notification-channel-note { margin: 0; line-height: 1.5; }
.register-policy-choices { display: grid; gap: 8px; margin: 6px 0; }
.register-password-policy-hint { display: block; margin-top: -5px; color: var(--text-muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.advertiser-conversion-api { display: grid; gap: 10px; min-width: 0; margin: 16px 0; padding: 14px; border: 1px solid var(--glass-border); border-radius: 12px; background: rgba(255,255,255,.025); }
.advertiser-conversion-api h4, .advertiser-conversion-api h5 { margin: 0; color: var(--text-main); }
.advertiser-conversion-api p { margin: 0; }
.advertiser-conversion-api code { overflow-wrap: anywhere; }
.advertiser-conversion-api textarea { width: 100%; min-height: 54px; resize: vertical; }
.advertiser-conversion-example { max-width: 100%; margin: 0; padding: 12px; overflow: auto; border: 1px solid var(--glass-border); border-radius: 9px; color: var(--text-main); background: rgba(0,0,0,.28); font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.register-policy-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 9px; padding: 10px; border: 1px solid var(--glass-border); border-radius: 10px; color: var(--text-main); font-size: 12px; }
.register-policy-choice > input { margin-top: 3px; accent-color: var(--primary-accent); }
.register-policy-choice > span { display: grid; gap: 4px; min-width: 0; }
.register-policy-choice small, .policy-consent-note { color: var(--text-muted); }
.register-policy-choice details, .policy-user-card details { min-width: 0; }
.register-policy-choice summary, .policy-user-card summary { color: var(--primary-accent); cursor: pointer; }
.register-policy-choice details div, .policy-user-card details p { max-height: 180px; margin: 7px 0; overflow: auto; color: var(--text-muted); font-size: 11px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.policy-consents-window { width: min(760px, calc(100vw - 28px)); max-height: min(88vh, 900px); overflow: auto; }
.policy-consents-content { display: grid; gap: 14px; padding: 18px; }
.policy-user-list { display: grid; gap: 9px; max-height: 50vh; overflow-y: auto; }
.policy-user-card { display: grid; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--glass-border); border-radius: 12px; background: rgba(255,255,255,.035); }
.policy-user-card > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.policy-user-card strong { color: var(--text-main); }
.policy-user-card span { color: var(--text-muted); font-size: 11px; }
.policy-consent-note { margin: 0; font-size: 11px; line-height: 1.5; }
.privacy-deletion-confirm { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border: 1px solid rgba(248,113,113,.3); border-radius: 10px; color: var(--text-main); font-size: 12px; line-height: 1.5; }
.privacy-deletion-confirm input { margin-top: 3px; accent-color: #ef4444; }
@media (max-width: 600px) {
  .creator-wallet-window { width: calc(100vw - 20px); max-height: 92vh; }
  .creator-wallet-content { padding: 12px; }
  .notifications-window { width: calc(100vw - 20px); max-height: 92vh; }
  .notifications-content { padding: 12px; }
  .notification-inbox-list { max-height: 32vh; }
  .policy-consents-window { width: calc(100vw - 20px); max-height: 92vh; }
  .policy-consents-content { padding: 12px; }
}
.platform-maintenance-notice[hidden] { display: none !important; }
.platform-maintenance-notice {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 35%, rgba(114, 50, 93, .24), transparent 56%), #100d14;
}
.platform-maintenance-card {
  width: min(100%, 520px);
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(26, 22, 31, .96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
  text-align: center;
}
.platform-maintenance-icon { color: var(--primary-accent, #ff4da6); font-size: 34px; }
.platform-maintenance-eyebrow { margin: 14px 0 8px; color: var(--primary-accent, #ff4da6); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.platform-maintenance-card h1 { margin: 0 0 12px; font-size: clamp(28px, 7vw, 40px); }
.platform-maintenance-card > p:not(.platform-maintenance-eyebrow) { margin: 0 0 24px; color: rgba(255, 255, 255, .72); line-height: 1.6; }
.platform-maintenance-card .btn-primary { min-height: 44px; }

@media (max-width: 768px) {
  .profile-cover-banner {
    height: 280px;
    background-position: center 20%;
  }
  .profile-main-meta {
    margin: -50px auto 0;
    padding: 0 16px;
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .profile-avatar-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }
  .profile-large-avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
    flex-basis: 96px;
  }
  .profile-actions-bar {
    gap: 8px;
  }
  .profile-secondary-btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .profile-main-meta { grid-template-columns: 1fr; row-gap:12px; }
  .profile-large-avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
    flex-basis: 88px;
    grid-column:1;
    grid-row:1;
    justify-self:center;
  }
  .profile-names-wrap { grid-column:1; grid-row:2; text-align:center; }
  .profile-stats-bar { grid-column:1; grid-row:3; }
  .profile-bio-text { grid-column:1; grid-row:4; text-align:center; }
  .profile-actions-bar { grid-column:1; grid-row:5; justify-content:center; }
  .profile-blocked-accounts-panel { grid-column:1; grid-row:6; }
  .profile-tabs-row { grid-column:1; grid-row:7; }
  .profile-videos-grid { grid-column:1; grid-row:8; }
  .profile-actions-bar {
    width: 100%;
  }
  .profile-secondary-btn {
    flex: 1 1 145px;
  }
}
