* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  /* ===== Paleta de Cores e Tokens UI ===== */
  --bg: #090a10;
  --bg-surface: #10121c;
  --ink: #f8fafc;
  --ink-dim: #94a3b8;
  --ink-faint: #64748b;
  
  /* Vidro Fosco & Superfícies */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-hover: rgba(255, 255, 255, 0.13);
  
  /* Acentos de Destaque */
  --teal: #0a84ff;
  --teal-glow: rgba(10, 132, 255, 0.35);
  --violet: #6366f1;
  --magenta: #ec4899;
  --lime: #38bdf8;
  --amber: #f59e0b;
  --emerald: #10b981;
  
  --grad: linear-gradient(135deg, #0a84ff 0%, #6366f1 50%, #ec4899 100%);
  --grad-subtle: linear-gradient(135deg, rgba(10,132,255,0.15) 0%, rgba(99,102,241,0.15) 100%);
  --grad-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  
  /* Cantos Arredondados */
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  --mono: 'Cascadia Code', 'SF Mono', Consolas, monospace;
}

body {
  font-family: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(10, 132, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 95%, rgba(99, 102, 241, 0.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.aurora { display: none; }

.sidebar, .app-main { position: relative; z-index: 1; }

/* ---------- Layout Principal: Sidebar + Conteúdo ---------- */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 236px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 14px; overflow-y: auto;
  background: rgba(12, 14, 22, 0.88); backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
}
.app-main { margin-left: 236px; padding: 28px 36px 64px; max-width: 1240px; }

.sidebar-top-row { display: flex; flex-direction: column; }
.brand { display: flex; align-items: baseline; gap: 8px; padding: 0 10px 18px; }
.brand-mark {
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: -2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand h1 {
  font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
}
.brand h1 em { font-style: normal; font-weight: 300; color: var(--ink-dim); }

.side-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-group {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  color: var(--ink-faint); padding: 14px 12px 6px;
}
.nav-btn {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent; color: var(--ink-dim);
  padding: 10px 14px; border-radius: var(--r-pill); font-size: 0.88rem; font-family: inherit; font-weight: 500; cursor: pointer;
  transition: all .15s ease; box-shadow: none;
}
.nav-btn[hidden] { display: none !important; }
.nav-btn .ni { font-size: 1.05rem; width: 20px; text-align: center; flex: none; }
.nav-btn:hover { background: rgba(255,255,255,0.06); color: var(--ink); transform: none; box-shadow: none; }
.nav-btn.active {
  background: var(--glass-strong); color: var(--ink); border-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.nav-btn:focus-visible { outline: 2px solid var(--teal); }

.side-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--glass-border); margin-top: 8px; }
.nav-btn-icon {
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--ink);
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; padding: 0; box-shadow: none; flex: none;
}
.nav-btn-icon:hover { background: var(--glass-hover); }

select {
  background: rgba(16, 20, 32, 0.7); color: var(--ink);
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  padding: 8px 12px; font-family: inherit; font-size: 0.85rem; cursor: pointer;
  transition: border-color .15s;
}
select:focus-visible { outline: 2px solid var(--teal); border-color: var(--teal); }
.lang-select { flex: 1; }
.style-pick { display: flex; align-items: center; gap: 8px; }

/* ---------- Botões Base ---------- */
button {
  background: var(--grad); color: white; border: none; border-radius: var(--r-pill);
  padding: 10px 22px; font-size: 0.9rem; font-weight: 650; cursor: pointer;
  font-family: inherit; box-shadow: 0 4px 16px rgba(10,132,255,0.25);
  transition: transform .12s, box-shadow .12s, filter .12s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
button:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,132,255,0.35); }
button:active { transform: translateY(0); }
button:disabled { background: rgba(255, 255, 255, 0.08); color: var(--ink-faint); cursor: not-allowed; filter: none; box-shadow: none; transform: none; }
button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

button.ghost {
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--ink);
  backdrop-filter: blur(14px); border-radius: var(--r-pill);
  padding: 8px 16px; font-size: 0.82rem; font-weight: 550; box-shadow: none;
}
button.ghost:hover { background: var(--glass-hover); border-color: rgba(255,255,255,.25); color: var(--ink); transform: translateY(-1px); box-shadow: none; }
button.ghost:disabled { background: var(--glass); border-color: var(--glass-border); color: var(--ink-faint); transform: none; }

.btn-cancel { border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.btn-cancel:hover { background: rgba(239, 68, 68, 0.15); border-color: #ef4444; color: #fff; }

/* ---------- Matriz Visual de Combinações ---------- */
.matrix-summary {
  background: linear-gradient(135deg, rgba(10,132,255,0.08) 0%, rgba(99,102,241,0.05) 100%);
  border: 1px solid rgba(10,132,255,0.25);
  backdrop-filter: blur(18px); border-radius: var(--r-lg);
  padding: 16px 20px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.matrix-title {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  color: var(--lime); display: flex; align-items: center; gap: 6px;
}
.matrix-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.m-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border);
  padding: 6px 14px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 500;
}
.m-chip b { font-family: var(--mono); color: var(--ink); font-size: 0.95rem; }
.m-icon { font-size: 0.95rem; }
.m-op { color: var(--ink-faint); font-weight: 700; font-size: 1rem; padding: 0 2px; }
.m-chip.m-total {
  background: var(--grad); color: #fff; border: none; font-weight: 700;
  box-shadow: 0 4px 16px rgba(10,132,255,0.3);
}
.m-chip.m-total b { color: #fff; font-size: 1.05rem; }

/* ---------- Master Progress Bar (ETA) ---------- */
.master-progress {
  background: linear-gradient(135deg, rgba(16, 22, 38, 0.92) 0%, rgba(20, 16, 32, 0.92) 100%);
  border: 1px solid rgba(10, 132, 255, 0.4); border-radius: var(--r-lg);
  backdrop-filter: blur(24px); padding: 18px 22px; margin: 16px 0 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 12px;
}
.mp-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.mp-status { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.mp-spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--teal); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mp-meta { display: flex; align-items: center; gap: 8px; }
.mp-badge {
  font-family: var(--mono); font-size: 0.76rem; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); color: var(--ink-dim);
}
.mp-badge.mp-eta { background: rgba(10,132,255,0.18); color: var(--lime); border: 1px solid rgba(10,132,255,0.3); }

.mp-bar-wrap { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 6px; overflow: hidden; }
.mp-bar {
  height: 100%; width: 0; background: var(--grad);
  border-radius: 6px; transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(10,132,255,0.6);
}
.mp-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--ink-dim); }
.mp-stage-msg { font-family: var(--mono); font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 75%; }

/* ---------- Cabeçalho da Galeria ---------- */
.grid-header { margin: 24px 0 14px; }
.grid-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.grid-title-row h3 { font-size: 1.05rem; font-weight: 650; }
.grid-actions { display: flex; gap: 8px; }

/* ---------- Dashboard ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.tile {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 4px;
}
.tile-num { font-family: var(--mono); font-size: 2.1rem; font-weight: 700; color: var(--ink); }
.tile-label { color: var(--ink-dim); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-head h2 { font-size: 1.15rem; font-weight: 700; }

.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.project-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; transition: transform .15s, border-color .15s;
}
.project-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.22); }
.project-card .pc-name { font-weight: 650; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; }
.project-card .pc-meta { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-dim); display: flex; gap: 14px; }
.project-card .pc-videos { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-dim); }
.project-card .pc-videos b { color: var(--ink); }
.project-card .pc-actions { display: flex; gap: 8px; margin-top: 4px; }
.empty { color: var(--ink-faint); padding: 30px 0; text-align: center; }

/* ---------- Estúdio ---------- */
.studio-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
  font-size: 0.92rem; color: var(--ink-dim);
}
.studio-bar strong { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.studio-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.slot {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg); padding: 18px;
}
.slot h2 { font-size: 0.96rem; margin-bottom: 12px; font-weight: 650; }
.slot .count { color: var(--ink-dim); font-weight: normal; font-size: 0.85rem; font-family: var(--mono); }

.dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.16); border-radius: var(--r-md);
  padding: 22px 10px; text-align: center; color: var(--ink-dim);
  cursor: pointer; transition: all 0.15s ease; font-size: 0.88rem;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--teal); background: rgba(10, 132, 255, 0.08); color: var(--ink); }
.dropzone small { color: var(--ink-faint); font-size: 0.78rem; }

.part-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.part-list li {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0, 0, 0, 0.35); border-radius: var(--r-md); padding: 6px 10px; font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.04);
}
.part-list video { width: 38px; height: 64px; object-fit: cover; border-radius: 6px; background: #000; flex: none; }
.part-list .pname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-dim); }
.part-list .del { cursor: pointer; color: #f87171; background: none; border: none; font-size: 1rem; padding: 4px; box-shadow: none; }
.part-list .del:hover { color: #ef4444; filter: none; transform: scale(1.1); }

.options {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  margin: 16px 0; padding: 18px 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg); font-size: 0.9rem;
}
.options label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.options input[type=checkbox] { accent-color: var(--violet); width: 16px; height: 16px; }
.toptext-mode { display: flex; gap: 12px; flex-wrap: wrap; }
.toptext-mode label { color: var(--ink-dim); }
.toptext-list {
  width: 100%; resize: vertical; border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border);
  color: var(--ink); padding: 10px 14px; font-family: inherit; font-size: 0.85rem; margin-top: 10px;
}
.toptext-list:focus { outline: none; border-color: var(--teal); }

.generate-bar { display: flex; align-items: center; gap: 14px; margin: 18px 0; flex-wrap: wrap; }
#stage-msg { color: var(--ink-dim); font-size: 0.85rem; font-family: var(--mono); }

/* ---------- Cards Ricos de Combinações (Grid) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.combo {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg); padding: 12px;
  display: flex; flex-direction: column; gap: 10px; transition: transform .15s, border-color .15s, box-shadow .15s;
  overflow: hidden;
}
.combo:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.22); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* Miniatura 9:16 do vídeo no card */
.combo-thumb-wrap {
  position: relative; aspect-ratio: 9/16; width: 100%; max-height: 260px;
  background: #000; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
}
.combo-thumb-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.combo-play-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s ease;
}
.combo-thumb-wrap:hover .combo-play-overlay { opacity: 1; }
.combo-play-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.5); transform: scale(0.9);
  transition: transform .15s ease;
}
.combo-thumb-wrap:hover .combo-play-icon { transform: scale(1); }

.combo-header { display: flex; align-items: center; justify-content: space-between; }
.combo .cid { font-family: var(--mono); font-weight: 700; font-size: 0.9rem; }
.combo-dur {
  position: absolute; bottom: 8px; right: 8px; font-family: var(--mono); font-size: 0.72rem;
  padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,0.75); color: #fff;
}

.combo .bar { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; }
.combo .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.3s; }
.combo.done { border-color: rgba(16, 185, 129, 0.35); }
.combo.error { border-color: rgba(239, 68, 68, 0.45); }
.combo .status { font-size: 0.8rem; color: var(--ink-dim); }

.combo-quick-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.combo-quick-actions button, .combo-quick-actions a {
  flex: 1; text-align: center; text-decoration: none; font-size: 0.76rem; padding: 6px 8px;
}

/* ---------- Viral Score Visual ---------- */
.combo .score { font-size: 0.8rem; }
.combo .score-head b { font-family: var(--mono); font-size: 0.95rem; }
.tier-label { font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px; text-transform: uppercase; }
.score.tier-1 .score-head b, .score.tier-1 .tier-label { color: #3ddc84; } .score.tier-1 .tier-label { background: rgba(61,220,132,.15); }
.score.tier-2 .score-head b, .score.tier-2 .tier-label { color: #ffd60a; } .score.tier-2 .tier-label { background: rgba(255,214,10,.15); }
.score.tier-3 .score-head b, .score.tier-3 .tier-label { color: #fb923c; } .score.tier-3 .tier-label { background: rgba(251,146,60,.15); }
.score.tier-4 .score-head b, .score.tier-4 .tier-label { color: #f87171; } .score.tier-4 .tier-label { background: rgba(248,113,113,.15); }

.sbar { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.7rem; }
.sbar-label { width: 42px; color: var(--ink-dim); }
.sbar-track { flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.sbar-track i { display: block; height: 100%; border-radius: 2px; }
.sbar.tier-1 .sbar-track i { background: #3ddc84; } .sbar.tier-2 .sbar-track i { background: #ffd60a; }
.sbar.tier-3 .sbar-track i { background: #fb923c; } .sbar.tier-4 .sbar-track i { background: #f87171; }
.sbar-val { width: 24px; text-align: right; font-family: var(--mono); color: var(--ink-dim); }

.combo .desc-text {
  font-size: 0.75rem; color: var(--ink-dim); line-height: 1.45;
  background: rgba(0, 0, 0, 0.35); border-radius: var(--r-sm); padding: 8px 10px;
  user-select: all; word-break: break-word; max-height: 90px; overflow-y: auto;
}

/* ==========================================================================
   WIZARD PROMPT VEO3 (LAYOUT PREMIUM EM GRID)
   ========================================================================== */
.veo3-card {
  background: rgba(16, 20, 32, 0.75); border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px); border-radius: var(--r-lg);
  padding: 28px; max-width: 960px; margin-top: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.veo3-progress-wrap {
  height: 6px; background: rgba(255, 255, 255, 0.08);
  border-radius: 4px; overflow: hidden; margin-bottom: 24px;
}
.veo3-progress {
  height: 100%; width: 0; background: var(--grad);
  border-radius: 4px; transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
}

.veo3-head {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px;
}
.veo3-emoji {
  font-size: 2rem; line-height: 1; padding: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
}
.veo3-head h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.set-desc { color: var(--ink-dim); font-size: 0.88rem; line-height: 1.5; }

/* Grid moderno de cards de opções VEO3 */
.veo3-options {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin: 18px 0 24px;
}

.veo3-opt {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; text-align: left;
  color: var(--ink); font-family: inherit; font-size: 0.88rem;
  cursor: pointer; box-shadow: none; transition: all 0.15s ease;
}
.veo3-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  filter: none; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.veo3-opt.on {
  background: rgba(10, 132, 255, 0.14);
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 4px 18px rgba(10, 132, 255, 0.3);
}
.veo3-opt-emoji { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.veo3-opt-label { font-weight: 600; color: #fff; line-height: 1.3; }
.veo3-opt-desc { font-size: 0.76rem; color: var(--ink-dim); display: block; margin-top: 3px; }

/* Cenas VEO3 */
.veo3-scenes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.veo3-scene-btn {
  background: rgba(255, 255, 255, 0.04); border: 1.5px solid var(--glass-border);
  color: var(--ink); border-radius: var(--r-pill); padding: 8px 18px;
  font-size: 0.85rem; font-weight: 600; box-shadow: none;
}
.veo3-scene-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); transform: none; box-shadow: none; }
.veo3-scene-btn.on {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 2px 12px rgba(10, 132, 255, 0.4);
}

/* Barra de Navegação do Wizard */
.veo3-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--glass-border); flex-wrap: wrap;
}
.veo3-auto { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-dim); cursor: pointer; }
.veo3-output {
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--glass-border);
  border-radius: var(--r-md); padding: 18px; font-family: var(--mono);
  font-size: 0.82rem; line-height: 1.6; color: #a5f3fc;
  max-height: 380px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; margin: 16px 0;
}

/* ==========================================================================
   TRENDING TIKTOK SHOP
   ========================================================================== */
.trending-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.trending-controls input[type=text] {
  flex: 1; min-width: 220px; padding: 10px 14px; border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border);
  color: var(--ink); font-size: 0.88rem;
}
.trending-controls input[type=text]:focus { outline: none; border-color: var(--teal); }
.tr-presets { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; margin-top: 6px; }
.tr-preset { font-size: 0.75rem; padding: 4px 10px; }

.tr-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 20px;
}
.tr-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg); padding: 16px;
  display: flex; gap: 14px; position: relative; overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tr-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }
.tr-rank {
  position: absolute; top: 12px; right: 12px; font-family: var(--mono);
  font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.08); color: var(--lime);
}
.tr-card img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-md); background: #000; flex-shrink: 0; }
.tr-noimg { width: 72px; height: 72px; border-radius: var(--r-md); background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.tr-info { display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.tr-title { font-size: 0.85rem; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tr-meta { font-size: 0.78rem; color: var(--ink-dim); font-family: var(--mono); }
.tr-meta b { color: #38bdf8; }
.tr-seller { font-size: 0.74rem; color: var(--ink-faint); }
.tr-info a { font-size: 0.78rem; color: var(--teal); text-decoration: none; margin-top: 4px; font-weight: 600; }
.tr-info a:hover { text-decoration: underline; }

/* ==========================================================================
   ACADEMY & REMIX LIVE
   ========================================================================== */
.academy-head { margin-bottom: 22px; }
.academy-head h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.academy-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 20px; }
.academy-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); border-radius: var(--r-lg); overflow: hidden;
}
.academy-video { aspect-ratio: 16/9; width: 100%; background: #000; }
.academy-video iframe { width: 100%; height: 100%; border: none; }
.academy-meta { padding: 18px; }
.academy-meta h3 { font-size: 0.98rem; font-weight: 650; margin-bottom: 6px; }
.academy-meta p { font-size: 0.82rem; color: var(--ink-dim); line-height: 1.45; }

.remix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin: 10px 0; }
.remix-label { font-size: 0.82rem; font-weight: 600; color: var(--ink-dim); display: block; margin-bottom: 6px; }
.remix-check { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.remix-bar-wrap { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.remix-bar { height: 100%; width: 0; background: var(--grad); transition: width 0.3s; }
.remix-log {
  background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border); border-radius: var(--r-md);
  padding: 12px; font-family: var(--mono); font-size: 0.76rem; color: #a5f3fc;
  max-height: 160px; overflow-y: auto; margin-top: 10px; white-space: pre-wrap;
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */
.adm-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.adm-row {
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border);
  border-radius: var(--r-md); padding: 14px 18px; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.adm-info { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; }
.adm-badge { font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; margin-left: 6px; }
.adm-badge.ok { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.adm-badge.pend { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.adm-badge.rev { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.adm-meta { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-faint); }
.adm-actions { display: flex; gap: 6px; }
.adm-danger { color: #f87171 !important; border-color: rgba(239, 68, 68, 0.4) !important; }
.adm-danger:hover { background: rgba(239, 68, 68, 0.15) !important; }

/* ==========================================================================
   MODAL PLAYER 9:16 (TIKTOK EXPERIENCE)
   ========================================================================== */
.video-modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5, 7, 14, 0.85); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.video-modal-backdrop[hidden] { display: none; }

.video-modal-dialog {
  position: relative; max-width: 920px; width: 100%;
  background: rgba(18, 22, 36, 0.95); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 24px;
}

.video-modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-border);
  color: var(--ink); font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; box-shadow: none;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); }

.video-modal-layout {
  display: grid; grid-template-columns: 310px 1fr; gap: 24px; align-items: start;
}

/* Mockup de Smartphone 9:16 */
.player-phone-frame {
  position: relative; aspect-ratio: 9/16; width: 100%; max-height: 550px;
  background: #000; border-radius: 24px; overflow: hidden;
  border: 4px solid #1a1d2d; box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 16px; background: #1a1d2d; border-radius: 10px; z-index: 5;
}
#player-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.player-overlay-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 12px 10px; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 8px; z-index: 6;
}
.player-play-btn {
  align-self: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 1.1rem; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.player-timeline {
  display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; color: #fff;
}
.player-timeline input[type=range] {
  flex: 1; accent-color: var(--teal); height: 4px; cursor: pointer;
}

/* Painel Lateral do Modal */
.player-sidebar { display: flex; flex-direction: column; gap: 14px; max-height: 550px; overflow-y: auto; padding-right: 4px; }
.player-combo-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--glass-border);
}
.player-combo-title { display: flex; align-items: center; gap: 10px; }
.player-combo-title h2 { font-family: var(--mono); font-size: 1.2rem; }
.player-tag {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  background: rgba(10, 132, 255, 0.2); color: var(--lime); border: 1px solid rgba(10, 132, 255, 0.4);
  padding: 2px 8px; border-radius: 6px;
}
.player-nav-arrows { display: flex; gap: 8px; }
.nav-arrow { font-size: 0.8rem; padding: 6px 12px; }

.player-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
}
.player-card-head { display: flex; align-items: center; justify-content: space-between; }
.player-card-head h4 { font-size: 0.88rem; font-weight: 650; color: var(--ink); }

.player-desc-content {
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border);
  border-radius: var(--r-sm); padding: 12px 14px; color: var(--ink);
  font-size: 0.85rem; line-height: 1.5; min-height: 80px; max-height: 140px; overflow-y: auto;
}
.player-desc-content:focus { outline: none; border-color: var(--teal); }

.player-card-actions { display: flex; justify-content: flex-end; }
.button-primary-download {
  display: block; text-align: center; text-decoration: none;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 12px 20px; border-radius: var(--r-pill); box-shadow: 0 4px 18px rgba(10,132,255,0.35);
  transition: transform .12s, box-shadow .12s;
}
.button-primary-download:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(10,132,255,0.45); }

/* ---------- Modais Antigos e Utilitários ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5, 7, 14, 0.8); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.modal {
  background: #141724; border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  max-width: 620px; width: 100%; padding: 26px 30px; font-size: 0.92rem; line-height: 1.55;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-head h2 { font-size: 1.2rem; font-weight: 700; }
.modal h3 { font-size: 0.98rem; margin: 18px 0 8px; }

.license-modal { max-width: 480px; text-align: center; }
.license-input {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md); margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border);
  color: var(--ink); font-family: var(--mono); font-size: 0.82rem;
}
.license-input:focus { outline: none; border-color: var(--teal); }
.license-error { color: #f87171; font-size: 0.82rem; margin-bottom: 10px; }

/* ==========================================================================
   RESPONSIVIDADE MOBILE & TABLET MODERNA
   ========================================================================== */

#update-bar, .update-bar { display: none !important; }

@media (max-width: 860px) {
  /* Scrollbars invisíveis para visual de App Nativo */
  ::-webkit-scrollbar { width: 0px; height: 0px; display: none; }
  * { scrollbar-width: none; -ms-overflow-style: none; }

  .sidebar {
    position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
    width: 100%; height: auto;
    display: flex; flex-direction: column; gap: 8px;
    padding: 10px 14px 6px;
    background: rgba(12, 14, 22, 0.95);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .sidebar-top-row {
    display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%;
  }

  .brand {
    padding: 0; margin: 0;
    display: flex; align-items: center; gap: 6px;
  }
  .brand h1 { font-size: 1rem; font-weight: 700; }
  .brand-mark { font-size: 0.8rem; }

  .side-foot {
    display: flex; flex-direction: row; align-items: center; gap: 6px;
    padding: 0; margin: 0; border: none; flex: none;
  }
  .nav-btn-icon { width: 34px; height: 34px; font-size: 0.95rem; }
  .lang-select { padding: 4px 8px; font-size: 0.75rem; border-radius: var(--r-pill); height: 34px; width: auto; }

  .nav-group { display: none; }

  .side-nav {
    display: flex; flex-direction: row; align-items: center; gap: 6px;
    width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 4px 0 6px;
  }

  .nav-btn {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; font-size: 0.82rem; font-weight: 600;
    border-radius: var(--r-pill); background: var(--glass);
    border: 1px solid var(--glass-border); color: var(--ink-dim);
    white-space: nowrap; box-shadow: none;
  }
  .nav-btn.active {
    background: var(--grad); color: #fff; border-color: transparent;
    box-shadow: 0 2px 10px rgba(10,132,255,0.4);
  }
  .nav-btn .ni { font-size: 0.95rem; width: auto; }

  .app-main {
    margin-left: 0;
    padding: 14px 12px 48px;
    max-width: 100vw;
  }

  /* Dashboard Stats: 3 colunas compactas elegantes */
  .stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px;
  }
  .tile {
    padding: 12px 8px; border-radius: var(--r-md); text-align: center; gap: 2px;
  }
  .tile-num { font-size: 1.35rem; }
  .tile-label { font-size: 0.65rem; letter-spacing: 0.04em; }

  /* Cards de Projetos */
  .dash-head { margin-bottom: 12px; }
  .dash-head h2 { font-size: 1.1rem; }
  .project-cards { grid-template-columns: 1fr; gap: 10px; }
  .project-card { padding: 14px; border-radius: var(--r-md); }

  /* Estúdio no Mobile */
  .studio-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .studio-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .studio-actions button { width: 100%; padding: 8px 10px; font-size: 0.78rem; }
  
  .slots { grid-template-columns: 1fr; gap: 12px; }
  .slot { padding: 14px; border-radius: var(--r-md); }
  .dropzone { padding: 22px 12px; font-size: 0.84rem; }

  .options { padding: 14px; border-radius: var(--r-md); flex-direction: column; align-items: flex-start; gap: 12px; }
  .matrix-summary { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Modal Player no Mobile */
  .modal-backdrop { padding: 10px; }
  .modal { padding: 20px 14px; border-radius: var(--r-lg); max-width: 98vw; margin: auto; }
  .video-modal-layout { grid-template-columns: 1fr; gap: 14px; }
  .player-phone-frame { max-height: 400px; max-width: 250px; margin: 0 auto; border-radius: 18px; }
  .player-sidebar { max-height: 280px; }
}

@media (max-width: 480px) {
  .brand h1 em { display: none; }
  .app-main { padding: 12px 10px 40px; }
  button { padding: 8px 14px; font-size: 0.82rem; }
}



/* ==========================================================================
   TRENDING TIKTOK SHOP & BIBLIOTECA 30 DIAS
   ========================================================================== */
.tr-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  margin-top: 4px;
}
.tr-tab-btn {
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.tr-tab-btn:hover {
  color: var(--ink);
}
.tr-tab-btn.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 2px 10px rgba(10, 132, 255, 0.35);
}
.tr-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 800;
}

.tr-retention-banner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(20, 24, 38, 0.6) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #fbbf24;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tr-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.tr-cat-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-dim);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}
.tr-retention-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.tr-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.tr-btn-transcribe {
  width: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.25) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.tr-btn-transcribe:hover {
  background: rgba(245, 158, 11, 0.35) !important;
  border-color: #fbbf24 !important;
}
.tr-btn-save {
  width: 100%;
  font-size: 0.78rem !important;
  padding: 6px 10px !important;
}
.tr-btn-save.saved {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}
.tr-btn-remove {
  width: 100%;
  color: #f87171 !important;
  font-size: 0.76rem !important;
}
.tr-link-btn {
  display: block;
  text-align: center;
  font-size: 0.74rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  margin-top: 2px;
}
.tr-link-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MODAL DE TRANSCRIÇÃO & ROTEIRO IA
   ========================================================================== */
.dialog-transcribe {
  background: #0d111a;
  color: var(--ink);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0;
  max-width: 620px;
  width: 95vw;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  margin: auto;
  overflow: hidden;
}
.dialog-transcribe::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dt-head {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dt-head-info { flex: 1; }
.dt-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}
.dt-head-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}
.dt-close-btn {
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--ink-dim);
}

.dt-body {
  padding: 18px 20px 22px;
  max-height: 75vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dt-loading-box {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-dim);
}
.dt-section {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 16px;
}
.dt-sec-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.dt-hooks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dt-hook-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}
.dt-copy-chip {
  padding: 3px 8px !important;
  font-size: 0.72rem !important;
  border-radius: 6px !important;
}

.dt-script-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dt-script-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
}
.dt-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
}
.dt-box-text {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

.dt-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.45;
  resize: vertical;
}

.dt-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
