/* ==========================================================================
   BRADOX GERADOR — ESTILOS DOS MÓDULOS ESPECÍFICOS
   ========================================================================== */

/* ==========================================================================
   1. DASHBOARD MODERNO (BRADOX CREATIVE ECOSYSTEM — GOLD EDITION)
   ========================================================================== */

/* Hero de Apresentação */
.dash-hero {
  background: linear-gradient(135deg, rgba(20, 22, 26, 0.95) 0%, rgba(26, 29, 34, 0.8) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.dash-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.dash-hero-content {
  flex: 1;
}

.dash-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  margin-bottom: 8px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-glow);
}

.dash-hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.dash-hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.dash-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Cabeçalhos de Seção */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: -10px;
}

/* Grid de Estúdios Diferenciados (4 Estúdios) */
.studios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.studio-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.studio-cinema::before { background: #10B981; }
.studio-video::before { background: var(--gold-primary); }
.studio-ufc::before { background: #EF4444; }
.studio-football::before { background: #38BDF8; }

.studio-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-surface-elevated);
  box-shadow: var(--shadow-md);
}

.studio-card:hover::before {
  opacity: 1;
}

.studio-cinema:hover { border-color: rgba(16, 185, 129, 0.4); }
.studio-video:hover { border-color: var(--gold-border); }
.studio-ufc:hover { border-color: rgba(239, 68, 68, 0.4); }
.studio-football:hover { border-color: rgba(56, 189, 248, 0.4); }

.studio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.studio-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-card-body {
  flex: 1;
  margin-bottom: 20px;
}

.studio-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.studio-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.studio-card-foot {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.studio-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.studio-card:hover .studio-card-action {
  color: var(--gold-accent);
}

/* Área Operacional */
.operational-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.operational-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.op-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.op-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.op-brand-display {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.op-brand-logo-preview {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  background: #090A0C;
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.op-brand-logo-preview img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.op-brand-details strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.op-brand-details span {
  font-size: 12px;
  color: var(--text-muted);
}

.op-data-body strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.op-data-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.op-status-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-status-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.status-dot-mini {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
}

.status-green {
  background-color: var(--status-success);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.op-status-val {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tool-card-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.tool-card:hover .tool-card-action {
  gap: 10px;
}

/* ==========================================================================
   2. STUDIO PAGE HEADER — CABEÇALHO PADRÃO DE TODOS OS MÓDULOS
   ========================================================================== */

.studio-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.studio-page-header-left {
  flex: 1;
  min-width: 0;
}

.studio-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.studio-page-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.studio-page-title span {
  color: var(--gold-accent);
}

.studio-page-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
}

.studio-page-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ==========================================================================
   3. LAYOUT / MODEL SELECTOR CARDS (Banner, Video, UFC, Football)
   ========================================================================== */

.layout-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.layout-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  position: relative;
}

.layout-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.layout-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 1px var(--gold-border), var(--shadow-gold);
}

.layout-card-preview {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-surface-elevated);
  overflow: hidden;
  position: relative;
}

.layout-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layout-card-accent {
  height: 3px;
  width: 100%;
}

.layout-card-body {
  padding: 12px 14px;
}

.layout-card-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.layout-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-card-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--gold-muted);
  color: var(--gold-accent);
  border: 1px solid var(--gold-border);
  text-transform: uppercase;
}

.layout-card.is-selected .layout-card-badge {
  background: var(--gold-primary);
  color: var(--text-inverse);
  border-color: transparent;
}

/* ==========================================================================
   4. VIDEO THEME CARDS
   ========================================================================== */

.video-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.video-theme-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition-base), transform var(--transition-fast);
}

.video-theme-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.video-theme-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.video-theme-preview {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 180px;
  background: var(--bg-surface-elevated);
  overflow: hidden;
}

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

.video-theme-body {
  padding: 12px 14px;
}

.video-theme-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.video-theme-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.video-theme-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   5. UFC & MMA STUDIO
   ========================================================================== */

.events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.event-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 16px;
}

.event-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.event-card.is-selected {
  border-color: var(--gold-primary);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
}

.event-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.event-date-day {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.event-date-month {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-card-info {
  flex: 1;
  min-width: 0;
}

.event-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-card-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.fights-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.fight-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fight-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.fight-card.is-selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
}

.fight-card-fighters {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.fight-vs-icon {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.fight-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.fight-card-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  text-transform: uppercase;
}

.fight-card-type.main-event {
  background: var(--gold-muted);
  color: var(--gold-accent);
  border: 1px solid var(--gold-border);
}

.fight-card-division {
  font-size: 11.5px;
  color: var(--text-muted);
}

.poster-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.poster-model-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.poster-model-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.poster-model-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.poster-model-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-surface-elevated);
  overflow: hidden;
}

.poster-model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-model-label {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* ==========================================================================
   6. FUTEBOL STUDIO
   ========================================================================== */

.filters-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 24px;
}

.filters-row .form-group {
  flex: 1;
  min-width: 160px;
  max-width: 260px;
  margin-bottom: 0;
}

.football-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.football-model-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.football-model-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.football-model-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.football-model-thumb {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  background: var(--bg-surface-elevated);
  overflow: hidden;
}

.football-model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.football-model-label {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.matches-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.match-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background var(--transition-fast);
}

.match-item-card:hover {
  background: var(--bg-surface-elevated);
}

.match-item-card.is-selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
}

.match-teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.team-shield {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-vs {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}

.match-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.match-time {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-accent);
  font-family: var(--font-mono);
}

.match-league {
  font-size: 11px;
  color: var(--text-muted);
}

.match-broadcast {
  font-size: 10.5px;
  color: var(--text-muted);
}

.results-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.result-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.result-canvas-wrap {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.result-canvas-wrap canvas {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.result-actions {
  padding: 12px 14px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   7. PROGRESS BAR & SPINNER
   ========================================================================== */

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 16px 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-accent));
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.spinner-gold {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gold-muted);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spinGold 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spinGold {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   8. LOGO MANAGER / BRAND
   ========================================================================== */

.upload-zone {
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-fast);
  background: var(--bg-surface);
  margin-bottom: 20px;
}

.upload-zone:hover {
  border-color: var(--gold-primary);
  background: var(--bg-surface-elevated);
}

.upload-zone.has-file {
  border-color: var(--status-success);
}

.upload-zone-icon {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.upload-zone:hover .upload-zone-icon {
  color: var(--gold-primary);
}

.upload-zone-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.upload-zone-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.brand-preview-panel {
  background: #000;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.brand-preview-panel img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.brand-preview-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.admin-two-col-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

/* ==========================================================================
   9. TELEGRAM BOT
   ========================================================================== */

.integration-status-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.integration-status-card.is-connected {
  border-left: 4px solid var(--status-success);
}

.integration-status-card.is-disconnected {
  border-left: 4px solid var(--status-error);
}

.status-dot-success {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  flex-shrink: 0;
}

.status-dot-error {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-error);
  flex-shrink: 0;
}

.status-dot-warning {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-warning);
  flex-shrink: 0;
}

.integration-status-info {
  flex: 1;
  min-width: 0;
}

.integration-status-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.integration-status-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.chat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.chat-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-item-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-active);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.chat-item-info {
  flex: 1;
  min-width: 0;
}

.chat-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-item-id {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   10. BRADOX TABLE — TABELA PADRÃO PREMIUM
   ========================================================================== */

.bradox-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}

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

.bradox-table thead th {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.bradox-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.bradox-table tbody tr:last-child {
  border-bottom: none;
}

.bradox-table tbody tr:hover {
  background: var(--bg-surface-elevated);
}

.bradox-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  vertical-align: middle;
}

.bradox-table .td-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.bradox-table .td-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ==========================================================================
   11. FINANCEIRO — LICENSE STATUS & PLANS
   ========================================================================== */

.license-status-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.license-status-info {
  flex: 1;
}

.license-status-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.license-status-plan {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.license-status-validity {
  font-size: 13px;
  color: var(--text-secondary);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.plan-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-base), transform var(--transition-fast);
  position: relative;
}

.plan-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.plan-card.is-featured {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.plan-featured-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--gold-primary);
  color: var(--text-inverse);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
}

.plan-period {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-price-value {
  font-size: 34px;
  font-weight: 900;
  color: var(--gold-accent);
  line-height: 1;
}

.plan-price-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.plan-features li .feat-check {
  color: var(--status-success);
  flex-shrink: 0;
}

/* ==========================================================================
   12. RESULT / PREVIEW PANEL
   ========================================================================== */

.result-preview-panel {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-canvas-container {
  width: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.result-canvas-container canvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.result-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   13. SEARCH BAR PADRÃO GLOBAL
   ========================================================================== */

.search-bar-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-input-wrap .search-icon-inner {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-wrap .input-field {
  padding-left: 38px;
}

/* ==========================================================================
   14. EMPTY STATE
   ========================================================================== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  gap: 12px;
  color: var(--text-muted);
}

.empty-state-icon {
  opacity: 0.4;
  margin-bottom: 4px;
}

.empty-state-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.empty-state-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

/* ==========================================================================
   15. RESPONSIVE OVERRIDES PARA MÓDULOS
   ========================================================================== */

@media (max-width: 820px) {
  .admin-two-col-grid {
    grid-template-columns: 1fr;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .studio-page-header {
    flex-direction: column;
    gap: 16px;
  }
  .filters-row .form-group {
    min-width: 120px;
    max-width: none;
    flex: 1;
  }
  .results-gallery {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 480px) {
  .studio-page-title {
    font-size: 22px;
  }
  .layout-models-grid,
  .video-themes-grid,
  .football-models-grid,
  .poster-models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .license-status-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   LEGACY — Estilos antigos dos módulos (mantidos enquanto módulos são migrados)
   ========================================================================== */

/* 2. CATÁLOGO TMDB E CARDS DE FILMES */
.catalog-search-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}

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

.search-icon {
  font-size: 16px;
  color: var(--text-muted);
}

.input-search-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
}

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

.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.media-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.media-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #0d1017;
}

.media-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-card:hover .media-poster-wrap img {
  transform: scale(1.04);
}

.media-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(231, 181, 44, 0.4);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.media-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.media-title {
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-year {
  font-size: 11.5px;
  color: var(--text-muted);
}


/* ============================================================
   UFC & MMA STUDIO
   ============================================================ */

/* Cabeçalho de página dos estúdios */
.studio-page-header {
  margin-bottom: 32px;
}

.studio-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.studio-page-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.15;
}

.studio-page-title span {
  color: var(--gold-primary);
}

.studio-page-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin: 0;
}

/* Cards de Evento UFC */
.event-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.event-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18), 0 12px 28px rgba(0, 0, 0, 0.4);
  background-color: var(--bg-surface-elevated);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.event-card-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ef4444;
}

.event-card-date {
  font-size: 11px;
  color: var(--text-muted);
  background-color: var(--bg-surface-elevated);
  padding: 3px 10px;
  border-radius: 99px;
}

.event-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.event-card-venue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.event-card-foot {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-card-fights {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-accent);
}

/* Cards de Confronto/Luta */
.fight-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 12px;
  align-items: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
}

.fight-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-surface-elevated);
}

.fight-card.is-selected {
  border-color: var(--gold-primary);
  background-color: var(--bg-surface-elevated);
}

.fight-card-fighter {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fight-card-fighter-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.fight-card-fighter-record {
  font-size: 11px;
  color: var(--text-muted);
}

.fight-card-corner-red .fight-card-fighter-name { color: #fca5a5; }
.fight-card-corner-blue .fight-card-fighter-name { color: #93c5fd; }

.fight-card-vs {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.fight-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* Seletor de Modelo de Pôster UFC */
.poster-model-card {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.poster-model-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.poster-model-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18), 0 12px 30px rgba(0, 0, 0, 0.45);
}

.poster-model-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #050711;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.poster-model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.poster-model-card:hover .poster-model-thumb img {
  transform: scale(1.04);
}

.poster-model-size-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
}

.poster-model-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.poster-model-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.poster-model-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  flex: 1;
  margin-bottom: 12px;
}

.poster-model-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.poster-model-card.is-selected .poster-model-indicator {
  background: var(--gold-primary);
  color: #090A0C;
}

/* ============================================================
   FUTEBOL STUDIO
   ============================================================ */

/* Grid de Modelos de Futebol */
.football-model-card {
  position: relative;
  border: 2px solid var(--border-default);
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.football-model-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.football-model-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.football-model-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #060b14;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.football-model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.football-model-card:hover .football-model-thumb img {
  transform: scale(1.04);
}

.football-model-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.football-model-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.football-model-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
  flex: 1;
}

.football-model-meta {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-accent);
}

.football-model-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.football-model-actions button {
  flex: 1;
  min-height: 32px;
  font-size: 11px;
  padding: 6px;
  border-radius: var(--radius-sm);
}

/* Linha de Filtros */
.filters-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 24px;
}

.filters-row .form-group {
  min-width: 160px;
  flex: 1;
}

/* Cards de Partidas de Futebol */
.match-item-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  position: relative;
}

.match-item-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-surface-elevated);
}

.match-item-card.is-selected {
  border-color: var(--gold-primary);
  background-color: var(--bg-surface-elevated);
}

.match-item-card.is-selected::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.04);
  pointer-events: none;
}

.match-teams {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.match-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-team-shield {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.match-team-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.match-separator {
  font-size: 10px;
  color: var(--text-muted);
  padding: 0 2px;
}

.match-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.match-time {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--gold-accent);
}

.match-channel {
  font-size: 10.5px;
  color: var(--text-muted);
}

.match-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  flex-shrink: 0;
  cursor: pointer;
}

/* Galeria de Resultados */
.results-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.result-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition-fast);
}

.result-item:hover {
  border-color: var(--border-hover);
}

.result-item-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #05070e;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1080 / 1350;
  display: grid;
  place-items: center;
}

.result-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.result-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.result-item-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.result-item-filename {
  font-size: 10.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  word-break: break-all;
}

.result-item-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

/* ============================================================
   SPINNER DE PROCESSAMENTO
   ============================================================ */

@keyframes spin-gold {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-gold {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin-gold 0.7s linear infinite;
  flex-shrink: 0;
}

.spinner-gold.spinner-sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.spinner-gold.spinner-lg {
  width: 44px;
  height: 44px;
  border-width: 4px;
}

/* Barra de progresso dourada (uso UFC batch) */
.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
  border-radius: 99px;
  transition: width 0.2s ease;
}

/* Scope pills — filtros de card UFC */
.scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.scope-pill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.scope-pill.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

/* ============================================================
   ESTILOS EXATOS DO ESTÚDIO DE FUTEBOL E CATEGORIAS (GERADOR PRO MATCH STYLE)
   ============================================================ */
.fa-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.fa-eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 195, 255, 0.35);
  background: rgba(12, 48, 66, 0.7);
  color: #80e5ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.fa-top h2 {
  margin: 12px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 950;
  letter-spacing: -0.03em;
  color: #fff;
}
.fa-top p {
  max-width: 720px;
  margin: 0;
  color: #9baecb;
  font-size: 13.5px;
  line-height: 1.6;
}
.fa-owner {
  min-width: 175px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 15px;
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
}
.fa-owner strong {
  display: block;
  color: #fff;
  font-size: 13px;
}
.fa-owner small {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 700;
}
.fa-config-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin: 24px 0;
}
.fa-panel {
  border: 1px solid var(--border-card);
  border-radius: 17px;
  background: rgba(16, 23, 36, 0.75);
  padding: 20px;
  min-width: 0;
}
.fa-panel h3 {
  color: #f5faff;
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 800;
}
.fa-panel p {
  color: #9caec8;
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
}
.fa-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fa-field {
  display: grid;
  gap: 6px;
  color: #b2c4dc;
  font-size: 12px;
  font-weight: 700;
}
.fa-field select, .fa-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #304662;
  background: #101f36;
  color: #fff;
  outline: none;
  min-height: 42px;
}
.fa-bg-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 140px;
  border: 1px dashed rgba(231, 181, 44, 0.4);
  background: linear-gradient(125deg, #152238, #0a0d18);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
}
.fa-bg-preview img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.fa-bg-empty {
  color: #bbd8f3;
  font-size: 12px;
  padding: 12px;
}
.fa-bg-empty strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: #fff;
}
.fa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}
.fa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #365476;
  border-radius: 9px;
  background: #152a46;
  color: #eaf4ff;
  font-weight: 800;
  font-size: 11.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.fa-btn:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) {
  transform: translateY(-1px);
  filter: brightness(1.2);
  border-color: #5b8ec2;
}
.fa-btn-primary {
  background: linear-gradient(110deg, #2563eb, #06b6d4);
  border-color: #2876db;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}
.fa-btn-danger {
  border-color: #7f344b;
  background: #321828;
  color: #ffb4c1;
}
.fa-divider {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}
.fa-model-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}
.fa-model-head h3 {
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-weight: 800;
}
.fa-model-head p {
  font-size: 12.5px;
  color: #9eb1cb;
  margin: 4px 0 0;
}
.fa-league-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 200px;
  overflow: auto;
  padding: 4px 0;
}
.fa-hint {
  color: #9eb1cb;
  font-size: 12px;
  line-height: 1.55;
}
.fa-league-list + .fa-hint {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, .15);
}
.fa-actions > .fa-hint {
  flex: 1 1 180px;
}
.fa-league {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #304c6f;
  background: #101f35;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #c9daef;
}
.fa-league:has(input:checked) {
  border-color: #0284c7;
  background: #0b375c;
  color: #fff;
}
.fa-league input {
  accent-color: #38bdf8;
}

/* Grade dos 21 Modelos Reais (Exact Target Match) */
.fa-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 14px;
}
.fa-model-card {
  position: relative;
  border: 2px solid #293d59;
  background: #101d30;
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fa-model-card:hover {
  transform: translateY(-4px);
  border-color: #457bc1;
}
.fa-model-card.is-selected {
  border-color: #22c3ff !important;
  box-shadow: 0 0 0 3px rgba(34, 195, 255, 0.2), 0 10px 25px rgba(0,0,0,0.5) !important;
}
.fa-model-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 124px;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: radial-gradient(ellipse at 55% 90%, var(--theme-accent, #38bdf8), transparent 85%), linear-gradient(135deg, #050d1d, #172847);
  color: white;
  text-align: center;
}
.fa-model-art.has-real-preview {
  padding: 0;
  background: #060b14;
  height: 230px;
}
.fa-model-art.has-real-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fa-model-copy {
  padding: 10px 4px 4px;
  flex: 1;
}
.fa-model-copy strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}
.fa-model-copy p {
  font-size: 11px;
  line-height: 1.4;
  color: #8fa5c4;
  min-height: 30px;
  margin: 0 0 6px;
}
.fa-model-copy span {
  color: #9cc7fc;
  font-size: 10.5px;
  font-weight: 700;
}
.fa-model-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.fa-model-actions button {
  flex: 1;
  min-height: 32px;
  font-size: 11px;
  padding: 6px;
  border-radius: 8px;
}

/* Barra Fixa Inferior */
.fa-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  position: sticky;
  bottom: 12px;
  z-index: 50;
  margin: 24px 0 0;
  padding: 14px 20px;
  background: rgba(6, 16, 32, 0.95);
  border: 1px solid #315a89;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}
.fa-footer-bar p {
  margin: 0;
  font-size: 12px;
  color: #a5c4e6;
}
.fa-footer-bar strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

/* =========================================================
   2. BANNER FILMES & SÉRIES — MOTOR OFICIAL GERADORPRO / BRADOX
   ========================================================= */

.bannerfilm-wrap {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

.bannerfilm-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(231,181,44,.18), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(34,211,167,.12), transparent 35%),
        linear-gradient(135deg, #0a0f1d 0%, #11182a 55%, #0b1624 100%);
    border: 1px solid rgba(231,181,44,.25);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 28px 70px rgba(0,0,0,.35);
    margin-bottom: 28px;
}

.bannerfilm-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 350px;
    gap: 28px;
    align-items: center;
}

.bannerfilm-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(231,181,44,.12);
    border: 1px solid rgba(231,181,44,.25);
    color: var(--gold-light, #f6d877);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bannerfilm-title {
    margin: 16px 0 12px;
    max-width: 850px;
    font-size: clamp(28px, 3.5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.035em;
    color: #fff;
    font-weight: 800;
}

.bannerfilm-title em {
    font-style: normal;
    color: var(--gold-primary, #E7B52C);
}

.bannerfilm-copy {
    max-width: 760px;
    margin: 0 0 24px;
    color: #b9c5db;
    font-size: 14.5px;
    line-height: 1.7;
}

.bannerfilm-search,
.bannerfilm-search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 10px;
    max-width: 850px;
}

.bannerfilm-search input,
.bannerfilm-search button,
.bannerfilm-form input {
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.1);
    font: inherit;
}

.bannerfilm-search input,
.bannerfilm-form input {
    background: rgba(4,8,17,.75);
    color: #fff;
    padding: 0 18px;
    outline: none;
    font-size: 14px;
}

.bannerfilm-search input:focus,
.bannerfilm-form input:focus {
    border-color: var(--gold-primary, #E7B52C);
    box-shadow: 0 0 0 3px rgba(231,181,44,.15);
}

.bannerfilm-search button,
.bannerfilm-primary {
    background: var(--gold-gradient, linear-gradient(135deg, #F3C952, #D49C18));
    color: #090A0D;
    border: 0;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
    font-size: 14px;
}

.bannerfilm-search button:hover:not(:disabled):not([aria-busy="true"]),
.bannerfilm-primary:hover:not(:disabled):not([aria-busy="true"]),
.bannerfilm-generate:hover:not(:disabled):not([aria-busy="true"]) {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Shared search controls used by the movie/series and video modules. */
.bannerfilm-search-bar,
.catalog-search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 12px;
    max-width: none;
    margin-bottom: 28px;
}

.catalog-search-bar {
    padding: 0;
    background: transparent;
    border: 0;
}

.bannerfilm-search-bar .input-search-wrap,
.catalog-search-bar .input-search-wrap {
    min-width: 0;
    min-height: 48px;
    gap: 10px;
    padding: 0 15px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bannerfilm-search-bar .input-search-wrap:focus-within,
.catalog-search-bar .input-search-wrap:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.bannerfilm-search-bar .input-search-wrap input,
.catalog-search-bar .input-search-wrap input {
    min-width: 0;
    min-height: 46px;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    font-family: var(--font-sans);
    background: transparent;
}

.bannerfilm-search-bar .search-icon,
.catalog-search-bar .search-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.bannerfilm-search-bar > button,
.catalog-search-bar > button {
    min-height: 48px;
    padding-inline: 22px;
    border-radius: var(--radius-md);
}

@media (max-width: 600px) {
    .bannerfilm-search,
    .bannerfilm-search-bar,
    .catalog-search-bar {
        grid-template-columns: minmax(0, 1fr);
    }

    .bannerfilm-search-bar > button,
    .catalog-search-bar > button {
        width: 100%;
    }

    .search-input-wrap {
        min-width: 0;
        flex-basis: 100%;
    }

    .result-action-row > :is(button, a),
    .studio-page-actions > :is(button, a) {
        flex: 1 1 140px;
    }

    .fa-btn,
    .scope-pill {
        min-height: 44px;
    }
}

.bannerfilm-logo-box {
    display: grid;
    gap: 15px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(231,181,44,.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.bannerfilm-logo-preview {
    height: 120px;
    border-radius: 16px;
    background: #060912;
    border: 1px dashed rgba(231,181,44,.3);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 10px;
}

.bannerfilm-logo-preview img {
    max-width: 90%;
    max-height: 90px;
    display: block;
    object-fit: contain;
}

.bannerfilm-logo-copy h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 15px;
}

.bannerfilm-logo-copy p {
    margin: 0;
    color: #9cb0cc;
    font-size: 12px;
    line-height: 1.55;
}

.bannerfilm-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.bannerfilm-outline:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-1px);
}

/* Seções e Grid TMDB */
.bannerfilm-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 24px 0 16px;
}

.bannerfilm-section-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    color: #fff;
}

.bannerfilm-section-head p {
    margin: 0;
    color: #8fa2bf;
    font-size: 13px;
}

.bannerfilm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #141c2c;
    border: 1px solid rgba(231,181,44,.25);
    color: var(--gold-light, #f6d877);
    font-size: 11px;
    font-weight: 800;
}

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

.bannerfilm-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #0f1626;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bannerfilm-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231,181,44,.4);
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.bannerfilm-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    background: #070b14;
    overflow: hidden;
}

.bannerfilm-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.bannerfilm-card:hover .bannerfilm-poster img {
    transform: scale(1.04);
}

.bannerfilm-chip {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(5,9,17,.88);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

.bannerfilm-rate {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(5,9,17,.92);
    border: 1px solid rgba(231,181,44,.3);
    color: var(--gold-light, #f6d877);
    font-size: 12px;
    font-weight: 900;
}

.bannerfilm-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    flex: 1;
}

.bannerfilm-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
}

.bannerfilm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #8496b3;
    font-size: 11.5px;
}

.bannerfilm-overview {
    color: #b5c2d9;
    line-height: 1.55;
    font-size: 12px;
    min-height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bannerfilm-actions {
    margin-top: auto;
    padding-top: 6px;
}

.bannerfilm-actions button,
.bannerfilm-generate {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
    font-size: 13px;
    background: var(--gold-gradient, linear-gradient(135deg, #F3C952, #D49C18));
    color: #090A0D;
    transition: transform .2s ease, filter .2s ease;
}

/* Preview Section */
.bannerfilm-preview {
    display: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
    gap: 24px;
    padding: 24px;
    background: #0f1626;
    border: 1px solid rgba(231,181,44,.3);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,.4);
    margin-bottom: 28px;
}

.bannerfilm-preview.show {
    display: grid;
}

.bannerfilm-preview-figure {
    border-radius: 18px;
    overflow: hidden;
    background: #050811;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.bannerfilm-preview-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.bannerfilm-preview-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bannerfilm-preview-side h3 {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.bannerfilm-preview-side p {
    margin: 0;
    color: #a9bbd4;
    line-height: 1.6;
    font-size: 13.5px;
}

.bannerfilm-download {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    background: var(--gold-gradient, linear-gradient(135deg, #F3C952, #D49C18));
    color: #090A0D;
    font-size: 14px;
    cursor: pointer;
}

.bannerfilm-info-list {
    display: grid;
    gap: 8px;
}

.bannerfilm-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    color: #9cb0cc;
    font-size: 12px;
}

.bannerfilm-info-list strong {
    color: #fff;
}

.bannerfilm-share-card {
    margin: 10px 0;
    padding: 16px;
    border: 1px solid rgba(231,181,44,.25);
    border-radius: 18px;
    background: linear-gradient(145deg, #121a2c, #090e1a);
    box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.bannerfilm-share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bannerfilm-share-head span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    color: var(--gold-light, #f6d877);
}

.bannerfilm-share-head strong {
    font-size: 14px;
    color: #fff;
}

.bannerfilm-share-badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(231,181,44,.15);
    border: 1px solid rgba(231,181,44,.3);
    color: var(--gold-light, #f6d877);
    font-size: 10px;
    font-weight: 900;
}

.bannerfilm-share-text {
    display: block;
    width: 100%;
    min-height: 180px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: #060912;
    color: #e2e8f0;
    padding: 12px;
    font: 600 13px/1.6 Inter, system-ui, sans-serif;
    outline: none;
}

.bannerfilm-copy-share {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--gold-gradient, linear-gradient(135deg, #F3C952, #D49C18));
    color: #090A0D;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
}

/* =========================================================
   LAYOUT PICKER MODAL (11 MODELOS ORIGINAIS)
   ========================================================= */
#bfLayoutPicker * { box-sizing: border-box; }
#bfLayoutPicker .bf-picker {
    width: min(1180px, 100%);
    margin: auto;
    background: linear-gradient(145deg, #101827, #090e18);
    border: 1px solid rgba(231,181,44,.28);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 35px 100px rgba(0,0,0,.7);
    color: #fff;
}
#bfLayoutPicker .bf-picker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}
#bfLayoutPicker .bf-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
#bfLayoutPicker .bf-layout-card {
    appearance: none;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    padding: 13px;
    cursor: pointer;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(255,255,255,.1);
    background: #0e1524;
}
#bfLayoutPicker .bf-layout-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0,0,0,.4);
    border-color: var(--gold-primary, #E7B52C);
}
#bfLayoutPicker .bf-mini {
    position: relative;
    width: min(100%, 240px);
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 10px auto 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    background: #050810;
    box-shadow: 0 12px 28px rgba(0,0,0,.32), inset 0 0 45px rgba(0,0,0,.35);
}
#bfLayoutPicker .bf-mini img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    z-index: 4;
    background: #050810;
}
#bfLayoutPicker .bf-mini-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    padding: 12px;
    text-align: center;
    color: #d8e1ef;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    background: rgba(4,8,15,.38);
}
#bfLayoutPicker .bf-mini:before {
    content: 'PRÉVIA REAL';
    position: absolute;
    inset: auto 10px 10px 10px;
    text-align: center;
    color: rgba(255,255,255,.18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    z-index: 1;
}
#bfLayoutPicker .bf-mini-classic { color: #46d6a5; background: radial-gradient(circle at 70% 30%, #485466, #121827 55%, #080c14); }
#bfLayoutPicker .bf-mini-editorial { color: #f6b848; background: radial-gradient(circle at 30% 35%, #725837, #18140f 54%, #080b11); }
#bfLayoutPicker .bf-mini-cinema { color: #699cff; background: radial-gradient(circle at 55% 25%, #425b89, #111827 52%, #060912); }
#bfLayoutPicker .bf-mini-redpro { color: #ff3138; background: radial-gradient(circle at 78% 35%, #7b1118, #17090d 48%, #050609 78%); }
#bfLayoutPicker .bf-mini-grade { background: linear-gradient(100deg, #25121b, #07111c 85%); color: #f7293d; }
#bfLayoutPicker .bf-mini-action { background: linear-gradient(150deg, #416a7d, #071a2c 77%); color: #26bffd; }
#bfLayoutPicker .bf-mini-horror { background: radial-gradient(circle at 52% 20%, #1f334e, #060c19 63%); color: #38c4fc; }
#bfLayoutPicker .bf-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 6px 6px;
    text-align: center;
}

/* =========================================================
   3. TRAILERFORGE VÍDEOS — ESTILOS DOS TEMAS E PLAYER
   ========================================================= */
.theme-choice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    border: 0;
    padding: 0;
    margin: 18px 0;
}
.theme-choice legend {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.video-theme-legend-help {
    font-size: 11px;
    color: #9cb0cc;
    font-weight: 400;
}
.video-theme-card {
    position: relative;
    border: 2px solid rgba(255,255,255,.08);
    background: #0f1626;
    border-radius: 16px;
    padding: 10px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.video-theme-card:hover {
    transform: translateY(-3px);
    border-color: rgba(231,181,44,.4);
}
.video-theme-card.is-selected,
.video-theme-card:has(input:checked) {
    border-color: var(--gold-primary, #E7B52C) !important;
    box-shadow: 0 0 0 2px rgba(231,181,44,.25), 0 10px 25px rgba(0,0,0,.5);
}
.video-theme-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.video-theme-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #050811;
    border: 1px solid rgba(255,255,255,.1);
}
.video-theme-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-theme-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    background: linear-gradient(135deg, #E7B52C, #F3C952);
    color: #090A0D;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 6px;
    text-align: center;
    font-style: normal;
    letter-spacing: .06em;
}
.video-theme-updated-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    background: rgba(56, 189, 248, .9);
    color: #090A0D;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 6px;
    text-align: center;
    font-style: normal;
}
.video-theme-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}
.video-theme-meta b {
    font-size: 10px;
    color: var(--gold-primary, #E7B52C);
    letter-spacing: .1em;
}
.video-theme-meta strong {
    font-size: 13px;
    color: #fff;
}
.video-theme-meta small {
    font-size: 11px;
    color: #8da0be;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.duration-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.duration-choice label {
    border: 1px solid rgba(255,255,255,.1);
    background: #0d1422;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #fff;
    transition: border-color .2s;
}
.duration-choice label:has(input:checked) {
    border-color: var(--gold-primary, #E7B52C);
    background: rgba(231,181,44,.08);
}

/* =========================================================
   4. UFC & MMA LUTAS (ESPN LIVE DATA)
   ========================================================= */
.ufc-module {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 4px 0 34px;
}
.ufc-hero {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 32px;
    border: 1px solid rgba(231,181,44,.2);
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 10%, rgba(37,99,235,.25), transparent 27%),
        radial-gradient(circle at 8% 110%, rgba(220,38,38,.15), transparent 34%),
        linear-gradient(145deg, #0b1830, #07101f 52%, #0a1427);
    box-shadow: 0 26px 80px rgba(0,0,0,.35);
    margin-bottom: 24px;
}
.ufc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(59,130,246,.1);
    border: 1px solid rgba(96,165,250,.2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.ufc-hero h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3.5vw, 42px);
    line-height: 1.05;
}
.ufc-hero h2 span {
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ufc-hero p {
    max-width: 680px;
    margin: 12px 0 0;
    color: #91a2bc;
    font-size: 13.5px;
    line-height: 1.65;
}
.ufc-hero-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ufc-live-card {
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(10,20,39,.9);
    border: 1px solid rgba(231,181,44,.25);
    text-align: center;
}
.ufc-live-card small {
    display: block;
    color: #8da0bd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.ufc-live-card strong {
    display: block;
    font-size: 22px;
    color: var(--gold-light, #f6d877);
    margin: 4px 0;
}
.ufc-live-card span {
    font-size: 11px;
    color: #4ade80;
    font-weight: 700;
}
.ufc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}
.ufc-event-card {
    border-radius: 20px;
    background: #0d1525;
    border: 1px solid rgba(255,255,255,.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .2s ease, border-color .2s ease;
}
.ufc-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231,181,44,.4);
}
.ufc-event-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: 12px;
}
.ufc-event-head h3 {
    margin: 0;
    font-size: 17px;
    color: #fff;
}
.ufc-event-date {
    font-size: 12px;
    color: #9cb0cc;
}
.ufc-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}
.ufc-fighter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ufc-fighter-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #070a12;
    border: 2px solid rgba(255,255,255,.15);
    margin-bottom: 8px;
}
.ufc-fighter.red .ufc-fighter-img {
    border-color: #ef4444;
}
.ufc-fighter.blue .ufc-fighter-img {
    border-color: #3b82f6;
}
.ufc-fighter strong {
    font-size: 13.5px;
    color: #fff;
}
.ufc-fighter small {
    font-size: 11px;
    color: #8da0be;
}
.ufc-vs {
    font-size: 18px;
    font-weight: 900;
    color: var(--gold-primary, #E7B52C);
    background: rgba(231,181,44,.12);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

/* Destaques de futebol: catálogo por conta e associação de clube confirmada. */
.fa-players-panel {
  padding: clamp(18px, 2.5vw, 28px);
  background: linear-gradient(145deg, rgba(14, 24, 42, .96), rgba(8, 14, 25, .98));
  border: 1px solid rgba(91, 151, 207, .28);
  border-radius: 18px;
}
.fa-player-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.fa-player-panel-head h3 {
  margin: 5px 0 6px;
  color: #f4f8ff;
  font-size: clamp(18px, 2vw, 22px);
}
.fa-player-panel-head p,
.fa-player-panel-head + .fa-hint,
.fa-player-saved > .fa-hint {
  color: #9fb2cc;
  font-size: 13px;
  line-height: 1.55;
}
.fa-player-panel-head p { margin: 0; }
.fa-player-status {
  flex: 0 0 auto;
  max-width: 330px;
  padding: 8px 11px;
  border: 1px solid rgba(61, 195, 226, .28);
  border-radius: 999px;
  background: rgba(18, 89, 121, .15);
  color: #8fe7f8;
  font-size: 12px;
  line-height: 1.4;
}
.fa-player-search {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 20px 0 14px;
}
.fa-player-search .fa-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #d5e5f7;
  font-size: 12px;
  font-weight: 700;
}
.fa-player-search select,
.fa-player-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #344b68;
  border-radius: 10px;
  background: #0c1728;
  color: #f4f8ff;
  font: inherit;
}
.fa-player-search :is(select, input):focus-visible {
  outline: 2px solid #30c4ed;
  outline-offset: 2px;
}
.fa-player-search > button { min-height: 44px; }
.fa-player-results,
.fa-player-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.fa-player-results:empty { display: none; }
.fa-player-card,
.fa-player-saved-grid article {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(120, 160, 200, .2);
  border-radius: 12px;
  background: rgba(5, 12, 23, .72);
}
.fa-player-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 9px;
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 30%, #344964, #101a29 72%);
}
.fa-player-photo > img,
.fa-player-saved-grid article > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fa-player-card > strong {
  display: block;
  min-height: 34px;
  margin-bottom: 8px;
  color: #f4f8ff;
  font-size: 13px;
}
.fa-player-card > .fa-btn { width: 100%; min-height: 36px; }
.fa-player-photo-nav {
  position: absolute;
  inset: auto 6px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 5px;
  border-radius: 9px;
  background: rgba(3, 8, 16, .84);
  color: #fff;
  font-size: 11px;
}
.fa-player-photo-nav .fa-btn { min-height: 30px; padding: 5px 9px; }
.fa-player-saved { margin-top: 18px; }
.fa-player-saved h4 { margin: 0 0 10px; color: #dceafe; font-size: 13px; }
.fa-player-saved-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}
.fa-player-saved-grid article > img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #0c1728;
}
.fa-player-saved-grid article > div { display: grid; gap: 3px; min-width: 0; }
.fa-player-saved-grid article strong,
.fa-player-saved-grid article span {
  overflow: hidden;
  color: #ecf5ff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fa-player-saved-grid article span { color: #9fb2cc; }
.fa-player-saved-grid article .fa-btn { min-height: 32px; padding: 5px 9px; }
@media (max-width: 720px) {
  .fa-player-panel-head { flex-direction: column; }
  .fa-player-status { max-width: 100%; }
  .fa-player-search { grid-template-columns: minmax(0, 1fr); }
  .fa-player-search > button { width: 100%; }
  .fa-player-results,
  .fa-player-saved-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
  .fa-player-saved-grid article { grid-template-columns: 42px minmax(0, 1fr); }
  .fa-player-saved-grid article > img { width: 42px; height: 42px; }
  .fa-player-saved-grid article > .fa-btn { grid-column: 1 / -1; width: 100%; }
}
