:root {
  --bg: #08080c; --panel: #111118; --panel2: #181822; --line: #25252f; --line2: #32323f;
  --txt: #f2f2f5; --mut: #9a9aa8; --gold: #f5c518; --gold2: #ff9d00;
  --ok: #2ecc71; --bad: #ff5468; --warn: #ffb020; --r: 14px;
  --grad: linear-gradient(135deg, var(--gold), var(--gold2));
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--txt); font: 14px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
small { color: var(--mut); }
.ic { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }

/* Shell */
.side { position: fixed; inset: 0 auto 0 0; width: 236px; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 40; }
.brand { display: flex; align-items: center; gap: 10px; padding: 20px 18px; color: var(--txt); font-weight: 800; font-size: 16px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #111; display: grid; place-items: center; font-weight: 900; font-size: 18px; box-shadow: 0 6px 20px -6px var(--gold); }
.side nav { flex: 1; padding: 6px 10px; overflow: auto; }
.nav-a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--mut); font-weight: 600; margin-bottom: 2px; }
.nav-a:hover { background: var(--panel2); color: var(--txt); }
.nav-a.on { background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold); }
.nav-h { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #666674; padding: 18px 12px 6px; }
.side-foot { display: flex; align-items: center; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.who { flex: 1; min-width: 0; line-height: 1.3; }
.who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { margin-left: 236px; padding: 0 26px 40px; min-height: 100vh; }
.top { display: flex; align-items: center; gap: 12px; padding: 22px 0 18px; }
.top h1 { font-size: 22px; }
.only-m { display: none; }
.scrim { display: none; }

/* Elementos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); color: var(--txt); font: 600 14px Inter, sans-serif; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: #4a4a5a; background: #1f1f2b; }
.btn.gold { background: var(--grad); color: #15120a; border: 0; font-weight: 800; box-shadow: 0 8px 24px -10px var(--gold); }
.btn.gold:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.bad { color: var(--bad); }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: wait; }
.icon-btn { background: none; border: 0; color: var(--mut); padding: 8px; border-radius: 8px; cursor: pointer; display: grid; }
.icon-btn:hover { color: var(--txt); background: var(--panel2); }
.link { background: none; border: 0; color: var(--gold); font: 500 12px Inter; cursor: pointer; padding: 0; text-transform: none; letter-spacing: 0; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; background: #0c0c12; border: 1px solid var(--line2); color: var(--txt); padding: 10px 12px; border-radius: 10px; font: 14px Inter, sans-serif; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 15%, transparent); }
textarea { resize: vertical; min-height: 80px; }
textarea.code { font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.fld { display: block; margin-bottom: 12px; }
.fld > span { display: block; font-size: 12px; font-weight: 600; color: var(--mut); margin-bottom: 5px; }
.fld > em { display: block; font-style: normal; font-size: 12px; color: #6f6f7d; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.sp { flex: 1; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 18px; }
.card > h2 { font-size: 16px; margin-bottom: 14px; }
.card > h2 small { font-weight: 500; margin-left: 6px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; border: 1px solid; font-weight: 500; }
.alert.ok { background: rgba(46, 204, 113, .1); border-color: rgba(46, 204, 113, .35); color: #7be3a6; }
.alert.err { background: rgba(255, 84, 104, .1); border-color: rgba(255, 84, 104, .35); color: #ff9aa6; }
.alert.warn { background: rgba(255, 176, 32, .1); border-color: rgba(255, 176, 32, .35); color: #ffd083; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.tag.ok { background: rgba(46, 204, 113, .14); color: #5fdc95; }
.tag.bad { background: rgba(255, 84, 104, .14); color: #ff8494; }
.tag.warn { background: rgba(255, 176, 32, .14); color: #ffc45c; }
.tag.gold { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.tag.mut { background: #22222d; color: var(--mut); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.stat b { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.stat span { color: var(--mut); font-size: 13px; }
.stat.hl b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td form { display: inline; }
td .btn { margin: 1px 0; }
.empty { color: var(--mut); text-align: center; padding: 30px 10px; }

.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.quick a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--txt); transition: .15s; position: relative; overflow: hidden; }
.quick a:hover { border-color: var(--gold); transform: translateY(-2px); }
.quick a .ic { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
.quick a b { display: block; font-size: 17px; }
.quick a span { color: var(--mut); }

/* Login */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(900px 500px at 50% -10%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%), var(--bg); }
.auth-box { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; box-shadow: 0 30px 80px -30px #000; }
.auth-box .brand { padding: 0 0 6px; justify-content: center; font-size: 20px; }
.auth-box p.sub { text-align: center; color: var(--mut); margin: 0 0 24px; }
.auth-box .btn { width: 100%; padding: 13px; margin-top: 6px; }
.auth-box .foot { text-align: center; margin-top: 18px; color: var(--mut); font-size: 13px; }

/* Editor */
.editor { display: grid; grid-template-columns: 340px minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.editor .panel { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; scrollbar-width: thin; scrollbar-color: #33333f transparent; }
.stage { position: sticky; top: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.canvas-wrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -30px #000, 0 0 0 1px var(--line); background: #000; line-height: 0; }
.canvas-wrap canvas { display: block; max-width: 100%; height: auto; max-height: calc(100vh - 190px); width: auto; }
.spin { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--gold); border-radius: 50%; animation: sp 0.7s linear infinite; opacity: 0; transition: opacity .2s; }
.busy .spin { opacity: 1; }
@keyframes sp { to { transform: rotate(360deg); } }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pager { display: flex; align-items: center; gap: 12px; color: var(--mut); font-weight: 600; }
.grp { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.grp:last-child { border: 0; margin: 0; padding: 0; }
.grp h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--mut); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg button { background: #0c0c12; border: 1px solid var(--line2); color: var(--txt); border-radius: 10px; padding: 8px 4px; cursor: pointer; font: inherit; line-height: 1.25; }
.seg button b { display: block; font-size: 13px; }
.seg button small { font-size: 10.5px; }
.seg button.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.seg button.on b { color: var(--gold); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { background: #0c0c12; border: 2px solid transparent; border-radius: 10px; padding: 0; cursor: pointer; overflow: hidden; color: var(--mut); font: 600 11px Inter; outline: 1px solid var(--line2); }
.thumb canvas { display: block; width: 100%; height: auto; background: #050508; }
.thumb span { display: block; padding: 5px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb.on { border-color: var(--gold); color: var(--gold); outline-color: transparent; }
.colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.c-color { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--mut); cursor: pointer; }
.c-color input { appearance: none; -webkit-appearance: none; width: 100%; height: 38px; border: 1px solid var(--line2); border-radius: 10px; background: none; padding: 3px; cursor: pointer; }
.c-color input::-webkit-color-swatch-wrapper { padding: 0; }
.c-color input::-webkit-color-swatch { border: 0; border-radius: 7px; }
.c-color input::-moz-color-swatch { border: 0; border-radius: 7px; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.swatches button { width: 34px; height: 22px; border-radius: 6px; border: 1px solid var(--line2); cursor: pointer; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.c-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; user-select: none; }
.c-check input { position: absolute; opacity: 0; }
.c-check i { width: 34px; height: 20px; border-radius: 99px; background: #2a2a36; position: relative; transition: .15s; flex: none; }
.c-check i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8a8a98; transition: .15s; }
.c-check input:checked + i { background: var(--gold); }
.c-check input:checked + i::after { left: 17px; background: #111; }
.c-check input:focus-visible + i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
input[type=range] { width: 100%; accent-color: var(--gold); padding: 0; }
.controls select, .controls input[type=text] { padding: 8px 10px; font-size: 13px; }

/* Seleção de conteúdo */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.grid button { padding: 0; border: 2px solid transparent; background: #0c0c12; border-radius: 9px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 2/3; }
.grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid button.on { border-color: var(--gold); }
.grid button em { position: absolute; left: 4px; top: 4px; background: rgba(0, 0, 0, .75); color: var(--gold); font: 700 10px Inter; padding: 2px 5px; border-radius: 5px; font-style: normal; }
.arts { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.arts button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; cursor: pointer; background: #000; height: 62px; }
.arts button.on { border-color: var(--gold); }
.arts img { height: 100%; display: block; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.chip { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line2); background: none; color: var(--mut); font: 600 12px Inter; cursor: pointer; }
.chip.on { background: color-mix(in srgb, var(--gold) 12%, transparent); border-color: var(--gold); color: var(--gold); }
.games { display: flex; flex-direction: column; gap: 6px; }
.game { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #0c0c12; border: 1px solid var(--line); cursor: pointer; }
.game.on { border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.game input { accent-color: var(--gold); width: 16px; height: 16px; }
.game b { display: block; font-size: 13px; }
.game small { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game time { color: var(--gold); font-weight: 700; margin-right: 6px; }
.note { font-size: 11.5px; color: #6f6f7d; margin-top: 12px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: #1d1d28; border: 1px solid var(--line2); padding: 11px 18px; border-radius: 12px; font-weight: 600; z-index: 99; box-shadow: 0 20px 50px -20px #000; }
.logo-prev { width: 100%; min-height: 110px; border: 1px dashed var(--line2); border-radius: 12px; display: grid; place-items: center; padding: 14px; margin-bottom: 8px; background: repeating-conic-gradient(#15151d 0 25%, #101017 0 50%) 0 0/20px 20px; }
.logo-prev img { max-width: 100%; max-height: 120px; }
.plan-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, transparent), color-mix(in srgb, var(--gold2) 4%, transparent)), var(--panel); border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.plan-hero b.big { font-size: 34px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 1280px) {
  .editor { grid-template-columns: 300px minmax(0, 1fr) 300px; }
}
@media (max-width: 1080px) {
  .side { transform: translateX(-100%); transition: transform .2s; }
  .nav-open .side { transform: none; }
  .nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 30; }
  .main { margin-left: 0; padding: 0 14px 30px; }
  .only-m { display: grid; }
  .editor { grid-template-columns: 1fr; }
  .editor .panel, .stage { position: static; max-height: none; }
  .stage { order: -1; }
  .canvas-wrap canvas { max-height: 62vh; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .three { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .two { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
.yt { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--line2); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.pats button { text-align: left; background: #0c0c12; border: 1px solid var(--line2); color: var(--txt); border-radius: 10px; padding: 9px 10px; cursor: pointer; font: inherit; line-height: 1.3; }
.pats button b { display: block; font-size: 13px; }
.pats button small { font-size: 11px; }
.pats button.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.pats button.on b { color: var(--gold); }
.grid button .num { position: absolute; right: 4px; top: 4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: #111; font: 800 12px/22px Inter; font-style: normal; text-align: center; padding: 0 5px; }
.stage > .c-check { font-size: 12.5px; color: var(--mut); }
.seg.four { grid-template-columns: repeat(2, 1fr); }
/* Guia da zona segura do TikTok: aparece só na prévia, não entra no vídeo */
.safe { display: none; position: absolute; inset: 0; pointer-events: none; }
.tt .safe { display: block; }
.safe i { position: absolute; background: repeating-linear-gradient(45deg, rgba(255, 60, 90, .22) 0 8px, rgba(255, 60, 90, .08) 8px 16px); }
.safe i:nth-child(1) { top: 0; left: 0; right: 0; height: 7.8%; }
.safe i:nth-child(2) { bottom: 0; left: 0; right: 0; height: 20.8%; }
.safe i:nth-child(3) { top: 7.8%; bottom: 20.8%; right: 0; width: 12%; }
.plan-row { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 6px; margin-bottom: 10px; }
.plan-row input { padding: 8px 10px; font-size: 13px; }
.plan-row input:last-child { grid-column: 2 / -1; }
.plan-row .star { border: 1px solid var(--line2); background: #0c0c12; color: #55556a; border-radius: 10px; cursor: pointer; font-size: 16px; }
.plan-row .star.on { color: #111; background: var(--gold); border-color: var(--gold); }
.logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: 10px; }
.logos img { width: 100%; aspect-ratio: 1; border-radius: 6px; display: block; border: 1px solid var(--line); }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.hl-grid a { display: block; color: var(--txt); transition: transform .15s; }
.hl-grid a:hover { transform: translateY(-4px); }
.hl-grid img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; display: block; background: #15151d; border: 1px solid var(--line); }
.hl-grid a:hover img { border-color: var(--gold); }
.hl-grid b { display: block; font-size: 13px; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.hl-games a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: #0c0c12; border: 1px solid var(--line); color: var(--txt); }
.hl-games a:hover { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.hl-games time { color: var(--gold); font-weight: 800; grid-row: span 2; align-self: center; }
.hl-games b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-games small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb { position: relative; }
.thumb .mnum { position: absolute; left: 5px; top: 5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: rgba(0, 0, 0, .72); color: var(--gold); font: 800 11px/20px Inter; font-style: normal; text-align: center; }
.thumb.on .mnum { background: var(--gold); color: #111; }
/* Capas numa faixa de uma linha: sobra espaço para os modelos logo abaixo */
.grid.strip { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #33333f transparent; }
.grid.strip button { flex: none; width: 92px; }
.grid.strip .empty { flex: 1; }
.bgs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bgs button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--mut); font: 600 10.500px Inter; }
.bgs i { display: block; aspect-ratio: 1; border-radius: 9px; border: 2px solid var(--line2); margin-bottom: 4px; background-size: cover; background-position: center; }
.bgs button.on i { border-color: var(--gold); }
.bgs button.on { color: var(--gold); }
.b-auto { background: linear-gradient(160deg, #2a2a36, #0b0b12); }
.b-pitch { background: repeating-linear-gradient(0deg, #0e5a2b 0 9px, #12702f 9px 18px); }
.b-stadium { background: radial-gradient(circle at 20% 15%, #fff 0 6%, transparent 22%), radial-gradient(circle at 80% 15%, #fff 0 6%, transparent 22%), linear-gradient(#0b1430 55%, #0c4a22 55%); }
.b-net { background: repeating-linear-gradient(60deg, transparent 0 7px, rgba(255, 255, 255, .28) 7px 8px), repeating-linear-gradient(-60deg, transparent 0 7px, rgba(255, 255, 255, .28) 7px 8px), linear-gradient(135deg, var(--gold), #0b0b12); }
.b-up { background-color: #15151d; background-image: none; }
.brand-logo { max-height: 40px; max-width: 190px; display: block; }
/* Painel inicial */
.dash-hero { display: grid; grid-template-columns: auto 1fr minmax(280px, 380px); gap: 28px; align-items: center; padding: 26px; border-radius: 18px; margin-bottom: 16px; border: 1px solid var(--line); background: radial-gradient(700px 300px at 0% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 65%), var(--panel); }
.dh-brand small { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--mut); margin-bottom: 8px; padding-top: 10px; border-top: 3px solid var(--gold); width: fit-content; }
.dh-brand h2 { font-size: 40px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dh-brand img { max-height: 84px; max-width: 320px; display: block; }
.dh-tag { font-size: 19px; line-height: 1.4; color: #d6d6de; margin: 0; }
.dh-plan { border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 14px; padding: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, transparent), color-mix(in srgb, var(--gold2) 3%, transparent)); box-shadow: 0 0 40px -18px var(--gold); }
.dh-plan-h { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.dh-plan-h .ic { width: 30px; height: 30px; color: var(--gold); }
.dh-plan-h b { display: block; font-size: 17px; }
.dh-plan-h span { color: var(--gold); font-size: 12.500px; font-weight: 600; }
.dh-plan ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 7px; }
.dh-plan li { padding-left: 26px; position: relative; font-size: 13.500px; }
.dh-plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: #111; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.dh-plan .btn { margin-top: 12px; }
.dash-new { display: grid; grid-template-columns: minmax(240px, 330px) 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 18px; margin-bottom: 16px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); background: linear-gradient(110deg, color-mix(in srgb, var(--gold) 20%, transparent), color-mix(in srgb, var(--gold) 3%, transparent) 45%), var(--panel); }
.dn-head { display: flex; gap: 14px; align-items: center; padding-left: 8px; }
.dn-head .ic { width: 44px; height: 44px; color: var(--gold); }
.dn-head b { display: block; font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.15; }
.dn-head b span { color: var(--gold); }
.dn-head small { font-size: 13px; }
.dn-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.dn-card { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; transition: .15s; }
.dn-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.dn-card span { width: 100%; padding: 26px 12px 10px; font-weight: 700; font-size: 13.500px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); }
.dn-0 { background-image: linear-gradient(135deg, #5a1414, #150606); } .dn-1 { background-image: linear-gradient(135deg, #0f5a2b, #06140c); }
.dn-2 { background-image: linear-gradient(135deg, #3b1f6e, #0d0716); } .dn-3 { background-image: linear-gradient(135deg, #14406e, #070b1a); }
.stat-ic { display: flex; gap: 14px; align-items: center; }
.stat-ic > span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold); flex: none; }
.stat-ic > span .ic { width: 24px; height: 24px; }
.stat-ic b { font-size: 26px; }
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .8); display: grid; place-items: center; padding: 18px; }
.modal-box { max-width: 520px; width: 100%; background: var(--panel); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 18px; padding: 28px; box-shadow: 0 30px 90px -30px #000; }
.modal-box h2 { font-size: 22px; margin-bottom: 10px; }
.modal-box p { color: #d6d6de; line-height: 1.6; margin: 0 0 20px; }
/* Divulgação em cartões altos: arte no topo, ícone, título em duas cores, descrição e "Acessar" */
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 16px; }
.hub a { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; color: var(--txt); background: #0b0b10; border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent); transition: .18s; }
.hub a:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 22px 50px -26px var(--gold); }
.hub-art { aspect-ratio: 5/4; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 30%, #0b0b10), #0b0b10) center top / cover no-repeat; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.hub-body { display: flex; flex-direction: column; flex: 1; padding: 0 18px 18px; margin-top: -40px; position: relative; }
.hub-ic { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 12px; color: var(--gold); background: rgba(8, 8, 12, .86); border: 1.500px solid var(--gold); box-shadow: 0 0 22px -8px var(--gold); }
.hub-ic .ic { width: 26px; height: 26px; }
.hub h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; line-height: 1.08; letter-spacing: 0; margin-bottom: 8px; }
.hub h3 span { display: block; color: var(--gold); font-size: 23px; }
.hub p { color: #c4c4cf; font-size: 13.500px; line-height: 1.4; margin: 0 0 16px; flex: 1; }
.hub .go { display: flex; align-items: center; justify-content: space-between; gap: 22px; width: fit-content; min-width: 150px; padding: 9px 16px; border-radius: 99px; font-weight: 600; font-size: 13.500px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: rgba(8, 8, 12, .6); }
.hub .go i { font-style: normal; color: var(--gold); font-size: 16px; transition: transform .18s; }
.hub a:hover .go i { transform: translateX(4px); }
.hub em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: rgba(8, 8, 12, .78); color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
@media (min-width: 1500px) { .hub { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 520px) { .hub { grid-template-columns: repeat(2, 1fr); gap: 10px; } .hub h3 { font-size: 15px; } .hub h3 span { font-size: 18px; } .hub p { font-size: 12px; } .hub-body { padding: 0 12px 14px; } .hub .go { min-width: 0; width: 100%; } }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.lib-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lib-card img, .lib-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.lib-ph { display: grid; place-items: center; background: linear-gradient(135deg, #1b1b26, #0c0c12); color: var(--gold); }
.lib-ph .ic { width: 40px; height: 40px; }
.lib-body { padding: 16px; }
.lib-body b { font-size: 15.500px; }
.lib-body p { color: var(--mut); font-size: 13px; margin: 6px 0 0; }
.lib-code { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #0c0c12; border: 1px dashed color-mix(in srgb, var(--gold) 50%, transparent); }
.lib-code code { flex: 1; font: 800 22px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--gold); letter-spacing: .08em; word-break: break-all; }
a.chip { text-decoration: none; }
/* VOD no PC: prévia fixa à esquerda e, à direita, a mesma ordem do celular (busca, modelos, ajustes) */
@media (min-width: 1081px) {
  .editor.flow { grid-template-columns: minmax(0, 1fr) 560px; }
  .editor.flow > .stage { grid-column: 1; grid-row: 1 / span 2; }
  .editor.flow > .panel { grid-column: 2; position: static; max-height: none; overflow: visible; }
  .editor.flow > .panel:first-child { grid-row: 1; }
  .editor.flow > .controls { grid-row: 2; }
  .editor.flow .thumbs { grid-template-columns: repeat(4, 1fr); }
  .editor.flow .grid.strip button { width: 108px; }
}
@media (max-width: 1080px) {
  .dash-hero { grid-template-columns: 1fr; gap: 16px; }
  .dash-new { grid-template-columns: 1fr; }
}
.hubadm { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.hubadm > div { display: grid; gap: 8px; }
.hubadm-prev { aspect-ratio: 5/4; border-radius: 12px; border: 1px solid var(--line2); background: #0c0c12 center top / cover no-repeat; }
.hubadm input[type=file] { font-size: 12px; width: 100%; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; }
.plan-mgr { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent 55%), var(--panel); }
.plan .tag { position: absolute; top: 16px; right: 16px; }
.plan h3 { font-size: 20px; }
.plan p { color: var(--mut); margin: 0 0 8px; font-size: 13.500px; min-height: 38px; }
.plan s { color: var(--mut); font-size: 14px; }
.plan-price { font-size: 36px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan ul { margin: 12px 0 0; padding-left: 18px; color: #c9c9d4; font-size: 13.500px; display: grid; gap: 4px; }
.plan .btn { margin-top: 18px; }
