* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #141414;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  user-select: none;
  touch-action: none;
}

.app-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  overflow: hidden;
}

/* ============================================================================
   LEFT SLIM SIDEBAR (Monochrome 3D Rail)
   ============================================================================ */
.left-rail {
  background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
  border-right: 1px solid #282828;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  gap: 32px;
  z-index: 20;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.55);
}

.rail-logo {
  width: 44px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #383838 0%, #222222 100%);
  border: 2px solid #4a4a4a;
  box-shadow: 0 4px 0 #0a0a0a, 0 6px 12px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e5e5;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.rail-item {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #cfcfcf;
  transition: transform 0.12s;
}
.rail-item:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.rail-icon {
  width: 34px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.75));
}

.rail-pill {
  background: #c8c8c8;
  color: #141414;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 99px;
  box-shadow: 0 2px 0 #555555;
  transition: background 0.15s, color 0.15s;
}
.rail-item.active .rail-pill {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 2px 0 #777777, 0 0 10px rgba(255, 255, 255, 0.35);
}

/* ============================================================================
   MAIN GRID STAGE & FLOATING 3D DECORATIONS
   ============================================================================ */
.grid-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #1d1d1d;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

/* Subtle vignette over the grid */
.grid-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.58) 100%);
  pointer-events: none;
}

.bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.decor-item {
  position: absolute;
  color: #2c2c2c;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-shadow:
    -3px 4px 0 #111111,
    -6px 10px 18px rgba(0, 0, 0, 0.75);
  user-select: none;
}

.decor-star-tl {
  top: 13%;
  left: 19%;
  font-size: 42px;
  transform: rotate(-14deg);
}

.decor-q-left {
  top: 32%;
  left: 17%;
  font-size: 118px;
  transform: rotate(-18deg);
}

.decor-spark-bl {
  bottom: 29%;
  left: 14%;
  font-size: 38px;
}

.decor-play-bl {
  bottom: 14%;
  left: 18%;
  width: 66px;
  height: 48px;
  background: #2b2b2b;
  border-radius: 14px;
  box-shadow: -4px 6px 0 #121212, -8px 14px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(14deg);
  font-size: 20px;
  color: #1c1c1c;
}

.decor-q-right {
  top: 13%;
  right: 17%;
  font-size: 112px;
  transform: rotate(18deg);
}

.decor-star-mr {
  top: 30%;
  right: 22%;
  font-size: 40px;
  transform: rotate(12deg);
}

.decor-star-br {
  bottom: 36%;
  right: 16%;
  font-size: 44px;
  transform: rotate(-10deg);
}

.decor-play-br {
  bottom: 18%;
  right: 16%;
  width: 78px;
  height: 56px;
  background: #2b2b2b;
  border-radius: 16px;
  box-shadow: 4px 6px 0 #121212, 8px 14px 22px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-15deg);
  font-size: 24px;
  color: #1c1c1c;
}

/* ============================================================================
   CENTER 3D TACTILE CARD ("QUIZ VIDEO AI")
   ============================================================================ */
.stage-view {
  display: none;
  z-index: 10;
  width: 100%;
  max-width: 600px;
  justify-content: center;
  box-sizing: border-box;
}
.stage-view.active {
  display: flex;
}

.tactile-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(145deg, #d5d5d5 0%, #bcbcbc 100%);
  border-radius: 26px;
  padding: 24px 26px 26px;
  border: 2px solid #e6e6e6;
  box-shadow:
    -12px 14px 0 #666666,
    -14px 16px 0 2px #141414,
    -24px 34px 55px rgba(0, 0, 0, 0.85),
    inset 0 2px 3px rgba(255, 255, 255, 0.8);
  color: #141414;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.panel-card {
  max-height: 82vh;
  overflow: hidden;
}

/* HEADER ROW INSIDE CARD */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.title-3d {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.5px;
  color: #ffffff;
  -webkit-text-stroke: 2.2px #111111;
  text-shadow:
    0 4px 0 #111111,
    -3px 6px 0 #1c1c1c,
    0 8px 14px rgba(0, 0, 0, 0.4);
  line-height: 1.05;
}
.title-3d.title-sm {
  font-size: 24px;
}

.badge-3d-icon {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 18px;
}

.badge-play-box {
  width: 56px;
  height: 40px;
  background: linear-gradient(180deg, #d8d8d8 0%, #9e9e9e 100%);
  border: 2.5px solid #161616;
  border-radius: 12px;
  box-shadow: -3px 5px 0 #161616, 0 6px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #222222;
  transform: rotate(-7deg);
}

.badge-q-mark {
  position: absolute;
  right: -2px;
  top: -10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 46px;
  color: #ffffff;
  -webkit-text-stroke: 2.2px #111111;
  text-shadow: -2px 4px 0 #111111;
  transform: rotate(14deg);
}

.prompt-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: -2px;
}

/* INSET 3D DARK SCREEN */
.inset-screen {
  background: #b5b5b5;
  padding: 5px;
  border-radius: 16px;
  border: 2px solid #222222;
  box-shadow:
    0 3px 0 rgba(255, 255, 255, 0.7),
    inset 0 3px 6px rgba(0, 0, 0, 0.65);
}

.screen-textarea {
  width: 100%;
  background: linear-gradient(180deg, #252525 0%, #303030 100%);
  border: 2px solid #111111;
  border-radius: 11px;
  padding: 13px 15px;
  color: #f2f2f2;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  resize: none;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.75);
}
.screen-textarea:focus {
  outline: none;
  border-color: #ffffff;
}

/* TACTILE CONTROLS ROWS */
.tactile-controls {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 2px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.control-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  -webkit-text-stroke: 1.1px #141414;
  text-shadow: 0 2px 0 #141414;
  min-width: 90px;
  flex: 0 0 auto;
}

.pill-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 240px;
}

.pill-group-wrap {
  flex-wrap: wrap !important;
}

.pill-3d {
  flex: 1 1 auto;
  min-width: fit-content;
  height: 32px;
  padding: 0 10px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  /* Inactive = Dark Raised 3D Pill */
  background: linear-gradient(180deg, #303030 0%, #1f1f1f 100%);
  color: #d8d8d8;
  border: 2px solid #111111;
  box-shadow:
    0 4px 0 #0d0d0d,
    0 6px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.08s, box-shadow 0.08s, background 0.12s;
}

.pill-3d:hover {
  filter: brightness(1.06);
}

.pill-3d:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0d0d0d;
}

/* Active = Light Raised 3D Pill */
.pill-3d.active {
  background: linear-gradient(180deg, #ececec 0%, #cfcfcf 100%);
  color: #141414;
  border: 2px solid #1a1a1a;
  box-shadow:
    0 4px 0 #4a4a4a,
    0 6px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 1px #ffffff;
}

/* VOICEOVER 3D TOGGLE + MINI SELECT */
.voice-row-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.toggle-3d {
  width: 64px;
  height: 32px;
  border-radius: 99px;
  background: #232323;
  border: 2px solid #111111;
  box-shadow:
    0 3px 0 #0f0f0f,
    inset 0 2px 5px rgba(0, 0, 0, 0.8);
  position: relative;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
}

.toggle-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #cccccc 100%);
  border: 1.5px solid #141414;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
  transform: translateX(0);
  transition: transform 0.15s ease;
}

.toggle-3d.active .toggle-knob {
  transform: translateX(32px);
}

.mini-pill-select {
  height: 32px;
  padding: 0 12px;
  border-radius: 99px;
  background: linear-gradient(180deg, #303030 0%, #1f1f1f 100%);
  color: #eeeeee;
  border: 2px solid #111111;
  box-shadow: 0 3px 0 #0d0d0d;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.mini-pill-select:focus {
  outline: none;
}

/* TACTILE 3D CTA BUTTONS (IA + INSTANTÂNEO ACERVO) */
.cta-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}

.cta-3d-btn {
  width: 100%;
  min-height: 52px;
  height: auto;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  text-decoration: none;
  border: 2px solid #111111;
  box-sizing: border-box;
  transition: transform 0.08s, box-shadow 0.08s, filter 0.12s;
}

.cta-btn-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.cta-btn-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.cta-btn-sub {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.85;
}

/* BOTÃO 1: CRIAR COM IA */
.cta-ai-btn {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #0f172a;
  border-color: #0f172a;
  box-shadow:
    0 6px 0 #1e293b,
    0 8px 0 1px #020617,
    0 12px 20px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px #ffffff;
}

.plan-locked-btn {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.6) !important;
  box-shadow: 0 3px 0 #111111 !important;
  transform: none !important;
}

.plan-locked-pill {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.7) !important;
}

.cta-ai-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  filter: brightness(1.03);
}

.cta-ai-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #1e293b, 0 4px 10px rgba(0, 0, 0, 0.35);
}

.cta-ai-btn .cta-btn-sub {
  color: #334155;
}

.cta-badge-pill {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 99px;
  background: #0f172a;
  color: #f8fafc;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* BOTÃO 2: GERAR INSTANTÂNEO COM ACERVO */
.cta-instant-btn {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
  color: #422006;
  border-color: #713f12;
  box-shadow:
    0 6px 0 #713f12,
    0 8px 0 1px #451a03,
    0 12px 20px rgba(234, 179, 8, 0.4),
    inset 0 2px 2px #fef9c3;
}

.cta-instant-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #fef9c3 0%, #facc15 100%);
  filter: brightness(1.04);
}

.cta-instant-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #713f12, 0 4px 10px rgba(0, 0, 0, 0.35);
}

.cta-instant-btn .cta-btn-sub {
  color: #713f12;
}

.cta-3d-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.bolt-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.2));
}

/* PROGRESS BAR INSIDE CARD */
.card-progress {
  background: #232323;
  border: 2px solid #111111;
  border-radius: 12px;
  padding: 10px 12px;
  color: #ffffff;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.progress-track-3d {
  width: 100%;
  height: 8px;
  background: #111111;
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill-3d {
  height: 100%;
  background: #ffffff;
  transition: width 0.15s ease;
}

/* SECONDARY VIEWS (VIDEOS, FOLDERS, SETTINGS) */
.videos-list,
.folders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 58vh;
  padding-right: 4px;
}

.item-row-3d {
  background: #242424;
  color: #f0f0f0;
  border: 2px solid #111111;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.item-row-3d small {
  display: block;
  color: #9e9e9e;
  font-size: 10.5px;
  margin-top: 2px;
}

/* ============================================================================
   SINGLE PREVIEW STUDIO (SIDE-BY-SIDE 2-COLUMN LAYOUT)
   ============================================================================ */
#view-preview.stage-view {
  max-width: 1060px !important;
  width: 96% !important;
}

.preview-single-card {
  max-width: 1060px;
  width: 100%;
  max-height: 92vh;
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.preview-split-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 16px;
  align-items: stretch;
  min-height: 0;
  flex: 1;
}

.preview-player-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 290px;
  flex-shrink: 0;
}

.preview-controls-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 2px;
}

.studio-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
  padding-bottom: 8px;
}

.studio-title-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-global-Controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-preset-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-back-btn {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  flex: initial;
}

.preview-canvas-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.var-num-badge {
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.variation-slot-card.selected .var-num-badge {
  background: #facc15;
  color: #111111;
  border: 1.5px solid #111111;
}

.theme-pill-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 900;
  background: #facc15;
  color: #111111;
  border: 1.5px solid #111111;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 145px;
}

.font-pill-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  background: #272727;
  color: #f1f1f1;
  border: 1.5px solid #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* TELAS 9:16 MUITO MAIORES */
.preview-canvas-container {
  width: 100%;
  height: 54vh;
  max-height: 480px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #111111;
  box-shadow:
    0 5px 0 #202020,
    0 10px 22px rgba(0, 0, 0, 0.6);
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slot-preview-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-transport-row {
  display: grid;
  grid-template-columns: 44px 1fr 46px;
  align-items: center;
  gap: 8px;
  background: #242424;
  padding: 4px 9px;
  border-radius: 99px;
  border: 2px solid #111111;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.65);
}

.transport-play-btn {
  height: 26px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%);
  color: #111111;
  border: 1.5px solid #111111;
  box-shadow: 0 2px 0 #222222;
}

.preview-timeline-slider {
  width: 100%;
  accent-color: #ffffff;
  cursor: pointer;
  height: 5px;
}

.preview-timer-clock {
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  color: #e5e5e5;
  text-align: right;
}

/* BARRA ÚNICA DE CONTROLES NA PARTE INFERIOR (SEM TRIPLICAR BOTÕES!) */
.unified-bottom-bar {
  background: rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(0, 0, 0, 0.16);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  justify-content: space-between;
  box-sizing: border-box;
}

.unified-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.unified-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.unified-pill {
  height: 33px;
  padding: 0 11px;
  font-size: 11.5px;
  font-weight: 800;
  flex: initial;
}

.unified-pill-main {
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  flex: initial;
}

.preview-q-pills {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}

.q-pill-btn {
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  background: #2d2d2d;
  color: #cccccc;
  border: 1.5px solid #111111;
  box-shadow: 0 2px 0 #111111;
  transition: all 0.1s ease;
}

.q-pill-btn:hover {
  color: #ffffff;
}

.q-pill-btn.active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 2px 0 #444444;
}

.preset-manager-row {
  display: flex;
  gap: 5px;
  align-items: center;
}

.preset-select-wrap {
  min-width: 185px;
}

.preset-select-wrap .mini-pill-select {
  width: 100%;
  height: 32px;
  font-size: 11px;
}

.preset-save-btn {
  height: 32px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  flex: initial;
}

.preset-del-btn {
  height: 32px;
  width: 32px;
  padding: 0;
  font-size: 11.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: initial;
}

.export-cta {
  height: 46px;
  font-size: 15px;
  margin-top: 2px;
}

/* RESULT MODAL (FINAL VIDEO MP4 READY) */
.result-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.result-card {
  max-width: 420px;
}

.close-3d-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #232323;
  color: #ffffff;
  border: 2px solid #111111;
  font-weight: 800;
  cursor: pointer;
}

.result-video-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 58vh;
  background: #000000;
  border: 3px solid #111111;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#finalVideoPlayer {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hidden-canvas {
  position: fixed;
  left: -9999px;
  top: -9999px;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

.toast-stack {
  position: fixed;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 250;
}
.toast {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  box-shadow: 0 4px 0 #444444;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

/* ========================================================
   VOICE PICKER & BANK TOGGLE IN GENERATOR
   ======================================================== */
.voice-picker-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.voice-select {
  min-width: 200px;
  max-width: 240px;
}

.bank-pill-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #f7df1e;
  background: #1e1e1e;
  border: 1.5px solid #f7df1e;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
}
.bank-pill-checkbox input[type="checkbox"] {
  cursor: pointer;
  accent-color: #f7df1e;
}

/* ========================================================
   STORE & RESOURCES VIEW (MARKETPLACE)
   ======================================================== */
.store-main-card {
  max-width: 980px;
  margin: 0 auto;
}

.store-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge-tag {
  display: inline-block;
  background: #ffd700;
  color: #111111;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1.5px solid #111111;
  box-shadow: 0 2px 0 #111111;
  margin-bottom: 6px;
}

.store-top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.store-tabs-bar {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #2a2a2a;
  padding-bottom: 8px;
  margin: 16px 0;
  overflow-x: auto;
}

.store-tab-btn {
  background: #1c1c1c;
  color: #aaaaaa;
  border: 1.5px solid #333333;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.store-tab-btn:hover {
  color: #ffffff;
  border-color: #555555;
  background: #252525;
}

.store-tab-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
  box-shadow: 0 3px 0 #333333;
}

.store-tab-panel {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

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

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

.store-panel-info {
  background: #181818;
  border: 1.5px solid #2c2c2c;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #cccccc;
}

/* 1. Transitions Grid */
.store-grid-transitions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.store-trans-card {
  background: #161616;
  border: 2px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.store-trans-card.selected {
  border-color: #00e676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.trans-video-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: cover;
  border-bottom: 1.5px solid #2a2a2a;
}

.trans-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trans-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-transform: capitalize;
}

.trans-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.trans-chk-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #dddddd;
  cursor: pointer;
}

.trans-order-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #888888;
}

.trans-order-input {
  width: 44px;
  background: #222222;
  border: 1.5px solid #444444;
  color: #ffffff;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
}

/* 2. Clocks Grid */
.store-grid-clocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.store-clock-card {
  background: #161616;
  border: 2px solid #2a2a2a;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.store-clock-card:hover {
  border-color: #555555;
  background: #1f1f1f;
}

.store-clock-card.selected {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.25);
}

.store-clock-icon {
  font-size: 32px;
}

.store-clock-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
}

.store-clock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #252525;
  color: #888888;
}

.store-clock-card.selected .store-clock-badge {
  background: #ffd700;
  color: #111111;
  font-weight: 900;
}

/* 3. Sounds Wrap */
.store-sounds-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sound-category-box {
  background: #161616;
  border: 1.5px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px;
}

.sound-cat-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.sound-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sound-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #202020;
  border: 1.5px solid #333333;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #cccccc;
  cursor: pointer;
  transition: all 0.15s;
}

.sound-item-pill:hover {
  border-color: #666666;
  color: #ffffff;
}

.sound-item-pill.selected {
  border-color: #00e676;
  background: rgba(0, 230, 118, 0.1);
  color: #00e676;
}

.sound-play-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 0 2px;
}

/* 4. Voices Grid */
.store-grid-voices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.store-voice-card {
  background: #161616;
  border: 2px solid #2a2a2a;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.15s;
}

.store-voice-card.selected {
  border-color: #00d2ff;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

.voice-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voice-card-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.voice-card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #252525;
  color: #aaaaaa;
}

.voice-card-desc {
  font-size: 12px;
  color: #888888;
  line-height: 1.4;
}

.voice-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* 5. Bank Stats & List */
.store-bank-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.bank-stat-card {
  background: #181818;
  border: 1.5px solid #2c2c2c;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bank-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #f7df1e;
  font-family: 'Outfit', sans-serif;
}

.bank-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bank-actions-strip {
  margin-bottom: 20px;
}

.bank-cta-btn {
  background: #ffd700;
  color: #000000;
  font-weight: 900;
  box-shadow: 0 5px 0 #b39700;
}

.bank-questions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
}

.bank-question-item {
  background: #161616;
  border: 1.5px solid #262626;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bank-q-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.bank-q-topic {
  color: #ffd700;
  font-weight: 800;
}

.bank-q-badges {
  display: flex;
  gap: 6px;
}

.bank-badge {
  padding: 2px 6px;
  border-radius: 4px;
  background: #252525;
  color: #aaaaaa;
  font-size: 10px;
  font-weight: 700;
}

.bank-badge.has-audio {
  background: rgba(0, 230, 118, 0.2);
  color: #00e676;
}

.bank-q-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.bank-q-answer {
  font-size: 12px;
  color: #00e676;
  font-weight: 700;
}

/* ==========================================================================
   DEDICATED SEPARATE LOGIN SCREEN & MY VIDEOS BACKGROUND QUEUE
   ========================================================================== */
.app-shell.hidden,
.login-screen.hidden,
.login-screen-cartoon.hidden {
  display: none !important;
}

/* TELA DE LOGIN ESTILO CARTOON (DESIGN FIEL AO SCREENSHOT) */
.login-screen-cartoon {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  background-color: #0d0e12;
}

/* CONTAINER DO FUNDO DINÂMICO (IMAGEM OU VÍDEO FULLSCREEN) */
.login-bg-media-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.login-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none !important;
  opacity: 1 !important;
}

.login-bg-overlay {
  display: none !important;
}

/* CARD CENTRAL CARTOON COM BORDAS ARREDONDADAS E CORES DINÂMICAS */
.login-cartoon-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 360px;
  margin: 16px;
  border-radius: 36px;
  background: var(--login-card-bg, #221c38);
  border: 7px solid var(--login-card-border, #bfb7e6);
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.75),
    0 0 45px var(--login-card-glow, rgba(191, 183, 230, 0.45));
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* JANELA SUPERIOR DO CARD (ONDE RODA A ANIMAÇÃO OU IMAGEM DO CARD) */
.login-card-media-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  box-shadow: 
    inset 0 3px 8px rgba(0, 0, 0, 0.7),
    0 4px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
  position: relative;
}

.login-card-media-box {
  width: 100%;
  height: 100%;
}

.login-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* TÍTULO E SUBTÍTULO */
.login-cartoon-title {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.38);
}

.login-cartoon-subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--login-card-subtitle, #a7a1c9);
  margin: 0 0 20px 0;
  letter-spacing: -0.2px;
}

/* BOTÃO DE LOGIN COM O GOOGLE ESTILO 3D PILL */
.login-cartoon-btn-slot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-bottom: 18px;
}

.btn-cartoon-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  background: #ffffff;
  color: #1a1a20;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  box-shadow: 
    0 6px 0 var(--login-card-btn-shadow, #9d96c9),
    0 12px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  user-select: none;
}

.btn-cartoon-google:hover {
  transform: translateY(-1px);
  box-shadow: 
    0 7px 0 var(--login-card-btn-shadow, #9d96c9),
    0 14px 28px rgba(0, 0, 0, 0.45);
}

.btn-cartoon-google:active {
  transform: translateY(4px);
  box-shadow: 
    0 2px 0 var(--login-card-btn-shadow, #9d96c9),
    0 6px 14px rgba(0, 0, 0, 0.35);
}

/* TERMOS E POLÍTICA DE PRIVACIDADE */
.login-cartoon-terms {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

.login-terms-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1.4;
  user-select: none;
}

.login-terms-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  accent-color: var(--login-card-border, #bfb7e6);
  cursor: pointer;
}

.login-terms-label a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.15s ease;
}

.login-terms-label a:hover {
  color: #93c5fd;
}

.login-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.login-card-3d {
  width: 100%;
  max-width: 380px;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.login-badge-icon {
  transform: scale(1.15);
  margin-bottom: 4px;
}

.login-title {
  font-size: 28px;
  margin: 0;
}

.login-google-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
}

.google-btn-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-custom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  height: 46px;
  background: #ffffff;
  color: #1f1f1f;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  border: 2px solid #000000;
  border-radius: 999px;
  box-shadow: 0 4px 0 #000000;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.google-custom-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #000000;
}

.google-custom-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000000;
}

.job-progress-row {
  border-color: #ffd700 !important;
  background: #19170c !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.job-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.job-badge-live {
  font-size: 11px;
  font-weight: 900;
  color: #000;
  background: #ffd700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   DEDICATED PAYWALL SCREEN (R$ 1,00 PLANO MENSAL INFINITEPAY)
   ========================================================================== */
.paywall-card-3d {
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  border: 2px solid #2a2a2a;
  background: #141414;
}

.paywall-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.paywall-badge-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #201a08;
  border: 2px solid #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.paywall-badge-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #000000;
  background: #ffd700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.paywall-title {
  font-size: 22px;
  margin: 0;
  color: #ffffff;
}

.paywall-price-banner {
  background: linear-gradient(135deg, #1c1a11 0%, #15181c 100%);
  border: 2px solid #332d18;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-size: 18px;
  font-weight: 900;
  color: #ffd700;
}

.price-number {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  font-family: "Rubik", sans-serif;
}

.price-cents {
  font-size: 24px;
  font-weight: 900;
  color: #ffd700;
}

.price-period {
  font-size: 12px;
  font-weight: 700;
  color: #8c8c8c;
}

.paywall-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.paywall-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #00e676;
  color: #000;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.paywall-feat-item div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.paywall-feat-item strong {
  font-size: 13px;
  color: #ffffff;
}

.paywall-feat-item small {
  font-size: 11px;
  color: #8c8c8c;
}

.paywall-email-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.paywall-email-label {
  font-size: 11px;
  font-weight: 700;
  color: #a3a3a3;
}

.paywall-email-input {
  width: 100%;
  height: 42px;
  background: #0d0d0d;
  border: 1.5px solid #2e2e2e;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.paywall-email-input:focus {
  border-color: #00e676;
}

.btn-pay-infinitepay {
  width: 100%;
  height: 50px;
  background: #00e676;
  color: #000000;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid #000000;
  box-shadow: 0 4px 0 #000000;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-pay-infinitepay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #000000;
}

.btn-pay-infinitepay:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000000;
}

.pay-btn-icon {
  font-size: 18px;
}

.paywall-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.paywall-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.paywall-link-btn {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 4px;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.paywall-link-btn:hover {
  color: #7dd3fc;
}

.paywall-link-btn.text-muted {
  color: #737373;
}

.paywall-link-btn.text-muted:hover {
  color: #ef4444;
}

.paywall-status-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #171b26;
  border: 1px solid #0284c7;
  padding: 12px 16px;
  border-radius: 10px;
}

.paywall-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: paywallSpin 0.8s linear infinite;
  flex-shrink: 0;
}

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

.paywall-status-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.paywall-status-text strong {
  font-size: 12px;
  color: #38bdf8;
}

.paywall-status-text small {
  font-size: 11px;
  color: #94a3b8;
}

.paywall-security-note {
  font-size: 11px;
  color: #737373;
  text-align: center;
  line-height: 1.4;
}

.user-sub-badge {
  font-size: 11px;
  font-weight: 800;
  color: #000;
  background: #00e676;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.daily-limits-pill {
  font-size: 11px;
  font-weight: 700;
  color: #e5e5e5;
  background: #181a20;
  border: 1px solid #2e3440;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.daily-limits-pill strong {
  color: #38bdf8;
  font-weight: 900;
}

.daily-limits-pill .limit-sep {
  color: #52525b;
}

.export-limit-hint {
  font-size: 11px;
  color: #a1a1aa;
  text-align: center;
  margin-top: 6px;
}

.export-limit-hint strong {
  color: #38bdf8;
}

/* ============================================================================
   RESPONSIVIDADE TOTAL & OTIMIZAÇÃO MOBILE PROFISSIONAL (Celulares e Tablets)
   ============================================================================ */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
    user-select: auto !important;
    height: auto !important;
    min-height: 100dvh !important;
  }

  .app-shell {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    position: relative !important;
  }

  /* BARRA LATERAL TRANSFORMA-SE EM BOTTOM APP BAR FLUTUANTE (ESTILO APP NATIVO) */
  .left-rail {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 6px 8px !important;
    gap: 0 !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(18, 18, 22, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    z-index: 9999 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.75) !important;
  }

  .rail-logo {
    display: none !important;
  }

  .rail-nav {
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 100% !important;
    gap: 4px !important;
  }

  .rail-item {
    flex: 1 !important;
    gap: 2px !important;
    padding: 4px 2px !important;
  }

  .rail-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .rail-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .rail-pill {
    font-size: 8px !important;
    padding: 1px 5px !important;
  }

  /* PALCO PRINCIPAL (STAGE) ADAPTADO COM SCROLL SUAVE */
  .grid-stage {
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    padding: 16px 12px 84px 12px !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background-size: 24px 24px !important;
  }

  /* DECORAÇÕES DE FUNDO RECOLHIDAS EM TELAS PEQUENAS */
  .bg-decor {
    display: none !important;
  }

  /* CARDS TÁTEIS RESPONSIVOS */
  .stage-view {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .tactile-card {
    border-radius: 20px !important;
    padding: 20px 16px !important;
    box-shadow: -4px 6px 0 #3a3a3a, 0 12px 30px rgba(0, 0, 0, 0.7) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .panel-card {
    max-height: none !important;
    overflow: visible !important;
  }

  .card-header-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .title-3d {
    font-size: 24px !important;
    -webkit-text-stroke: 1.5px #111111 !important;
  }

  .title-3d.title-sm {
    font-size: 20px !important;
  }

  .badge-3d-icon {
    padding-right: 0 !important;
  }

  .badge-play-box {
    width: 44px !important;
    height: 32px !important;
  }

  .control-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  .control-label {
    min-width: auto !important;
  }

  .voice-picker-group {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .voice-select {
    flex: 1 1 180px !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .voice-row-right {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .cta-btn-main {
    font-size: 13px !important;
  }

  .cta-btn-sub {
    font-size: 10px !important;
  }

  /* TELA DE PREVIEW DE VÍDEO (VERTICAL 9:16) */
  #view-preview.stage-view {
    max-width: 100% !important;
    width: 100% !important;
  }

  .preview-single-card {
    max-width: 100% !important;
    max-height: none !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    overflow-y: auto !important;
  }

  .preview-split-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .preview-player-col {
    width: 100% !important;
  }

  .preview-controls-col {
    width: 100% !important;
    overflow-y: visible !important;
  }

  .studio-top-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .studio-global-Controls {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .preview-canvas-wrapper {
    max-height: 52vh !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .preview-canvas-wrapper canvas {
    max-height: 52vh !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .controls-row-tactile {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .btn-3d {
    font-size: 13px !important;
    padding: 11px 16px !important;
  }

  /* TELAS DE LOGIN E PAYWALL EM DISPOSITIVOS MÓVEIS */
  .login-screen {
    padding: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100dvh !important;
  }

  .login-card-3d,
  .paywall-card-3d {
    width: 100% !important;
    max-width: 440px !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  .paywall-header {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }

  .price-val-wrap .price-value-big {
    font-size: 48px !important;
  }

  .paywall-features-list {
    font-size: 13px !important;
  }

  /* LISTAGEM DE VÍDEOS E PASTAS */
  .videos-list-container {
    max-height: none !important;
  }

  .video-item-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .video-actions-col {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
  }
}

/* ============================================================================
   OFICIAL PAYWALL SCREEN (DESIGN FIEL AO SCREENSHOT IFQUIZ)
   ============================================================================ */
.paywall-screen-full {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000000 !important;
  background-color: #000000 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

#paywallBgContainer {
  display: none !important;
}
  width: 100vw;
  height: 100vh;
  z-index: 0 !important;
  pointer-events: none;
}

.paywall-top-nav,
.paywall-stage-center,
.paywall-bottom-footer {
  position: relative;
  z-index: 10;
}

.paywall-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px;
  width: 100%;
  box-sizing: border-box;
}

.paywall-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.paywall-nav-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
}

.paywall-brand-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.brand-accent-cyan {
  color: #22d3ee;
}

.paywall-user-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.paywall-avatar-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #10b981;
}

.paywall-nav-logout-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.15s;
}
.paywall-nav-logout-btn:hover {
  color: #ef4444;
}

.paywall-stage-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px 16px;
  box-sizing: border-box;
}

.paywall-card-wrapper {
  background: #08080a !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  width: 100%;
  max-width: 540px;
  padding: 36px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.paywall-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 8px;
}

.paywall-hero-logo-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #1c1c22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.paywall-hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.paywall-hero-fallback {
  font-size: 13px;
  font-weight: 900;
  color: #22d3ee;
  letter-spacing: -0.3px;
}

.paywall-main-heading {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 2px 0 4px;
  font-family: 'Montserrat', sans-serif;
}

.paywall-sub-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0;
}

.paywall-white-card {
  background: #ffffff;
  border-radius: 22px;
  width: 100%;
  max-width: 410px;
  padding: 28px 26px;
  box-sizing: border-box;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  color: #0f172a;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.white-card-title {
  font-size: 24px;
  font-weight: 900;
  color: #000000;
  text-align: center;
  margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.white-card-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  margin: 0 0 16px;
}

.white-card-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
}

.white-card-features-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.3;
}

.white-card-features-list .feat-check {
  color: #000000;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.btn-go-pro {
  width: 100%;
  height: 48px;
  border-radius: 99px;
  background: #000000;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  margin-top: 18px;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-go-pro:hover:not(:disabled) {
  background: #1c1c22;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

.btn-go-pro:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-go-pro:disabled {
  opacity: 0.65;
  cursor: wait;
}

.paywall-live-status-box {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}

.paywall-bottom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 36px;
  box-sizing: border-box;
  font-size: 11.5px;
  color: #64748b;
}

.footer-legal-link {
  color: #94a3b8;
  text-decoration: underline;
}

.paywall-support-floating-pill {
  position: fixed;
  bottom: 20px;
  right: 24px;
  z-index: 100;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  font-size: 12px;
  transition: transform 0.12s;
}

.paywall-support-floating-pill:hover {
  transform: scale(1.04);
  background: #1c1c22;
}

.support-status-dot {
  font-size: 10px;
}

.support-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.support-text-wrap small {
  font-size: 9.5px;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .paywall-top-nav {
    padding: 12px 18px;
  }
  .paywall-card-wrapper {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .paywall-white-card {
    padding: 22px 18px;
  }
  .paywall-bottom-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px 16px;
  }
  .paywall-support-floating-pill {
    bottom: 12px;
    right: 14px;
    padding: 6px 12px;
  }
}

/* ============================================================================
   MODAL DE PERSONALIZAÇÃO DE PEÇAS DO VÍDEO (Sons, Transições & Fundos)
   Permite ao usuário escolher antes de gerar o vídeo as peças compradas e uploads
   ============================================================================ */
.modal-assets-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-assets-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-assets-card {
  background: #141419;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(56, 189, 248, 0.12);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalAssetsSlide 0.25s ease-out;
}

@keyframes modalAssetsSlide {
  from { transform: scale(0.96) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-assets-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #18181f;
}

.modal-assets-title-group h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-assets-title-group p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.modal-assets-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-assets-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-assets-tabs {
  display: flex;
  background: #111116;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px 0;
  gap: 8px;
  overflow-x: auto;
}

.modal-assets-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #94a3b8;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.modal-assets-tab:hover {
  color: #ffffff;
}

.modal-assets-tab.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
  background: rgba(56, 189, 248, 0.06);
  border-radius: 8px 8px 0 0;
}

.modal-assets-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-tab-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.modal-tab-panel.active {
  display: flex;
}

/* BARRA DE AÇÃO SUPERIOR NAS ABAS */
.assets-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.assets-toolbar-btn {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.assets-toolbar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.assets-toolbar-btn.secondary {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.assets-toolbar-btn.secondary:hover {
  background: #3f3f46;
  box-shadow: none;
}

/* GRID DE IMAGENS DE FUNDO (GALERIA) */
.bg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.bg-gallery-card {
  background: #181820;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bg-gallery-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.bg-gallery-card.active {
  border-color: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.06);
}

.bg-gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 180px;
  overflow: hidden;
  background: #09090b;
  position: relative;
}

.bg-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.bg-gallery-card:hover .bg-gallery-thumb {
  transform: scale(1.05);
}

.bg-gallery-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

.bg-gallery-badge.upload {
  background: rgba(168, 85, 247, 0.85);
  color: #ffffff;
}

.bg-gallery-badge.store {
  background: rgba(245, 158, 11, 0.85);
  color: #ffffff;
}

.bg-gallery-badge.template {
  background: rgba(56, 189, 248, 0.85);
  color: #ffffff;
}

.bg-gallery-active-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #22c55e;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bg-gallery-del-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ef4444;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
}

.bg-gallery-card:hover .bg-gallery-del-btn {
  opacity: 1;
}

.bg-gallery-del-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.bg-gallery-info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bg-gallery-name {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* LISTA DE SONS DE RELÓGIO */
.clock-sounds-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clock-sound-card {
  background: #181820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s;
}

.clock-sound-card:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.03);
}

.clock-sound-card.active {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.07);
}

.clock-sound-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.clock-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.clock-play-btn:hover {
  background: #38bdf8;
  color: #000;
  border-color: #38bdf8;
}

.clock-sound-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.clock-sound-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.clock-sound-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.clock-sound-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* TRANSIÇÕES DE VÍDEO */
.trans-video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trans-video-card {
  background: #181820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
}

.trans-video-card.active {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.06);
}

.trans-video-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.trans-video-preview {
  width: 80px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  flex-shrink: 0;
}

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

.trans-order-input {
  width: 50px;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  padding: 6px 8px;
  font-size: 13px;
  text-align: center;
  font-weight: 700;
}

/* RODAPÉ DO MODAL */
.modal-assets-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #18181f;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .modal-assets-card {
    max-height: 94vh;
  }
  .bg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clock-sound-card, .trans-video-card {
    flex-direction: column;
    align-items: flex-start;
  }
}





