/* ============================================================
   SubNess — editor de link (etapa.html)
   ============================================================ */
.editor-body { background: #04070f; }
.editor-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.eb-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 160, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(65% 55% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(65% 55% at 50% 0%, #000, transparent 80%);
}
.eb-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4; }
.eb-orb.o1 { width: 420px; height: 420px; left: -8%; top: -10%; background: rgba(47, 128, 255, .22); }
.eb-orb.o2 { width: 360px; height: 360px; right: -6%; top: 18%; background: rgba(255, 61, 113, .16); }

/* ---------------- topo ---------------- */
.editor-top {
  position: sticky; top: 0; z-index: 60;
  height: 66px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 22px;
  background: rgba(5, 9, 18, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.editor-top .brand { font-size: 18px; }
.editor-top .brand-mark { width: 32px; height: 32px; }
.editor-top .brand-mark svg { width: 15px; height: 15px; }
.et-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.et-divider { width: 1px; height: 24px; background: var(--line); flex: none; }
.et-title { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #c5d3ea; white-space: nowrap; }
.et-title svg { color: #7fb0ff; }
.et-status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 9.5px; color: #7d8dab; white-space: nowrap; }
.et-status.dirty { color: #ffd77a; border-color: rgba(255, 196, 61, .25); background: rgba(255, 196, 61, .06); }
.et-status.dirty .dot { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.et-status.saved .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.et-status .dot { width: 5px; height: 5px; }
.et-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; }

/* ---------------- layout ---------------- */
.editor-shell {
  width: 100%; max-width: 1520px; margin: 0 auto;
  padding: 18px 20px 34px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr) 344px;
  gap: 16px;
  align-items: start;
}

/* ---------------- navegação lateral ---------------- */
.wizard-nav {
  position: sticky; top: 84px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 22, 40, .8), rgba(7, 12, 23, .86));
  padding: 15px 12px 12px;
  display: grid; gap: 12px;
}
.wn-head { padding: 3px 8px 4px; }
.wn-kicker { font-size: 8px; font-weight: 800; letter-spacing: .18em; color: #50607d; }
.wn-head h2 { font-size: 16px; margin-top: 3px; letter-spacing: -.02em; }
.wn-steps { display: grid; gap: 3px; }
.wstep {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 8px 9px;
  border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: #8594b2; text-align: left;
  transition: all .16s;
}
.wstep:hover { background: rgba(255, 255, 255, .035); color: #dce5f7; }
.wstep.active { background: linear-gradient(90deg, rgba(47, 128, 255, .14), rgba(47, 128, 255, .03)); border-color: rgba(47, 128, 255, .24); color: #fff; box-shadow: inset 3px 0 0 #4c8dff; }
.ws-num { width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-family: var(--font-display); font-size: 9px; font-weight: 800; color: #647491; }
.wstep.active .ws-num { background: rgba(47, 128, 255, .2); border-color: rgba(47, 128, 255, .4); color: #b9d6ff; }
.ws-txt { min-width: 0; flex: 1; }
.ws-txt b { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.ws-txt small { display: block; font-size: 8.5px; color: #5d6d8b; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wstep.active .ws-txt small { color: #7f95ba; }
.ws-check { display: none; width: 16px; height: 16px; border-radius: 50%; place-items: center; background: rgba(46, 230, 168, .12); color: #63e8bb; flex: none; }
.wstep.done .ws-check { display: grid; }
.wstep.done .ws-num { color: #63e8bb; border-color: rgba(46, 230, 168, .3); background: rgba(46, 230, 168, .08); }
.wn-tip {
  display: flex; gap: 9px; padding: 11px;
  border-radius: 11px; border: 1px solid rgba(46, 230, 168, .16);
  background: rgba(46, 230, 168, .035);
}
.wn-tip-ic { color: #63e8bb; margin-top: 1px; }
.wn-tip b { display: block; font-size: 10px; color: #8ce8c7; }
.wn-tip p { font-size: 9px; color: #5f8078; line-height: 1.5; margin-top: 2px; }

/* ---------------- coluna principal ---------------- */
.wizard-main { min-width: 0; display: grid; gap: 12px; }
.wizard-progress { padding: 0 3px; }
.wp-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.wp-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f80ff, #7c4dff, #ff3d71); transition: width .4s var(--ease); box-shadow: 0 0 14px rgba(47, 128, 255, .4); }
.wp-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; font-size: 9.5px; color: #5f7090; }
.wp-meta span:last-child { color: #86a0c8; font-weight: 600; }

.step-panel { display: none; gap: 13px; }
.step-panel.active { display: grid; animation: stepIn .3s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-heading { display: flex; align-items: flex-start; gap: 12px; padding: 4px 2px 2px; }
.panel-heading .ph-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ph-ic.blue { background: rgba(47, 128, 255, .1); border: 1px solid rgba(47, 128, 255, .24); color: #7fb0ff; }
.ph-ic.pink { background: rgba(255, 61, 113, .09); border: 1px solid rgba(255, 61, 113, .22); color: #ff8ba0; }
.ph-ic.purple { background: rgba(124, 77, 255, .1); border: 1px solid rgba(124, 77, 255, .25); color: #b49aff; }
.ph-ic.gold { background: rgba(255, 196, 61, .08); border: 1px solid rgba(255, 196, 61, .22); color: #ffd77a; }
.ph-ic.green { background: rgba(46, 230, 168, .08); border: 1px solid rgba(46, 230, 168, .2); color: #63e8bb; }
.panel-heading h1 { font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.03em; }
.panel-heading p { font-size: 11.5px; color: #7c8ba9; margin-top: 4px; line-height: 1.5; max-width: 620px; }
.panel-heading .pill { margin-left: auto; flex: none; }

.editor-card {
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 23, 42, .62), rgba(8, 13, 24, .78));
  padding: 17px; display: grid; gap: 15px;
}
.editor-card .field { gap: 7px; }
.editor-card .field > label { font-size: 11.5px; }
.editor-card .field input, .editor-card .field textarea, .editor-card .field select { min-height: 43px; font-size: 13px; border-radius: 11px; }
.editor-card .field textarea { min-height: 88px; }
.req { color: #ff7a86; }
.card-title { display: flex; align-items: flex-start; gap: 10px; }
.card-title .ph-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.card-title h3 { font-size: 13.5px; }
.card-title p { font-size: 10.5px; color: #647391; margin-top: 2px; }
.card-title .btn { margin-left: auto; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; align-items: start; }
.switch-row, .check-line { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 9px 0; }
.switch-row .switch, .check-line .switch { margin-top: 1px; }
.switch-row b, .check-line b { display: block; font-size: 11.5px; color: #c5d3ea; font-weight: 600; }
.switch-row small, .check-line small { display: block; font-size: 9.5px; color: #61708f; line-height: 1.45; margin-top: 2px; }
.check-line { border-top: 1px solid rgba(126, 162, 255, .08); padding-top: 13px; }

/* modos */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mode-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 13px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  transition: all .17s;
}
.mode-card:hover { border-color: var(--line-2); background: rgba(126, 162, 255, .04); }
.mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card.selected { border-color: rgba(47, 128, 255, .5); background: rgba(47, 128, 255, .07); box-shadow: 0 0 0 3px rgba(47, 128, 255, .06); }
.mc-ic { width: 33px; height: 33px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: #7f90b0; }
.mode-card.selected .mc-ic { background: rgba(47, 128, 255, .14); border-color: rgba(47, 128, 255, .32); color: #9bc6ff; }
.mc-txt b { display: block; font-size: 11.5px; color: #dbe4f7; }
.mc-txt small { display: block; font-size: 9px; color: #61708f; line-height: 1.4; margin-top: 2px; }
.mc-radio { position: absolute; top: 11px; right: 11px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3d4c67; }
.mode-card.selected .mc-radio { border-color: #4c8dff; box-shadow: inset 0 0 0 3px #0b1628; background: #4c8dff; }
.access-field { padding: 13px; border-radius: 12px; border: 1px dashed rgba(255, 196, 61, .25); background: rgba(255, 196, 61, .035); }

/* catálogo de ações */
.action-catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.action-pick {
  display: flex; align-items: center; gap: 8px; padding: 9px;
  border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); color: #b7c6e4;
  font-size: 10px; font-weight: 500; text-align: left;
  transition: all .15s;
}
.action-pick:hover { border-color: var(--line-2); background: rgba(126, 162, 255, .06); color: #fff; transform: translateY(-1px); }
.action-pick .ap-ic { width: 27px; height: 27px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); flex: none; color: var(--ac, #7fb0ff); }
.action-pick .ap-ic svg { width: 14px; height: 14px; }
.action-pick.added { opacity: .45; pointer-events: none; }
.action-pick .ap-plus { margin-left: auto; color: #4e5e7c; }
.action-pick .ap-plus svg { width: 13px; height: 13px; }
.selected-actions-card { min-height: 160px; }
.selected-actions { display: grid; gap: 8px; }
.sel-empty {
  display: grid; place-items: center; text-align: center; gap: 5px;
  padding: 28px 16px; border: 1px dashed var(--line); border-radius: 12px; color: #5f7090;
}
.sel-empty b { font-size: 12px; color: #8d9cba; }
.sel-empty p { font-size: 10px; }
.sel-action {
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  padding: 10px; display: grid; gap: 9px;
}
.sel-head { display: flex; align-items: center; gap: 9px; }
.sel-ic { width: 33px; height: 33px; border-radius: 9px; display: grid; place-items: center; background: rgba(47, 128, 255, .09); border: 1px solid rgba(47, 128, 255, .2); color: var(--ac, #7fb0ff); flex: none; }
.sel-ic svg { width: 16px; height: 16px; }
.sel-name { min-width: 0; flex: 1; }
.sel-name b { display: block; font-size: 11.5px; color: #dbe4f7; }
.sel-name small { display: block; font-size: 8.5px; color: #61708f; margin-top: 1px; }
.sel-tools { display: flex; align-items: center; gap: 3px; }
.sel-tools .btn-icon { width: 28px; height: 28px; border-radius: 7px; }
.sel-tools .btn-icon svg { width: 13px; height: 13px; }
.sel-url { display: grid; grid-template-columns: 1fr 72px; gap: 7px; }
.sel-url .input-wrap svg { left: 11px; width: 15px; height: 15px; }
.sel-url input { min-height: 38px; font-size: 11px; padding-left: 34px; border-radius: 9px; }
.sel-url .field input:first-child { min-height: 38px; font-size: 11px; border-radius: 9px; }
.sel-seconds { display: grid; gap: 4px; }
.sel-seconds label { font-size: 8px; color: #5f7090; text-transform: uppercase; letter-spacing: .06em; }
.sel-seconds input { min-height: 38px; padding: 0 8px; font-size: 11px; border-radius: 9px; text-align: center; }

.notice { display: flex; gap: 9px; padding: 11px 13px; border-radius: 11px; background: rgba(47, 128, 255, .06); border: 1px solid rgba(47, 128, 255, .17); font-size: 10.5px; color: #a8bbdd; line-height: 1.55; }
.notice svg { width: 15px; height: 15px; color: #7fb0ff; margin-top: 1px; }
.notice.warn { background: rgba(255, 196, 61, .05); border-color: rgba(255, 196, 61, .18); color: #bfae85; }
.notice.warn svg { color: #ffd77a; }
.notice b { color: #d9e4f8; }

/* templates */
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.tpl-opt {
  position: relative; height: 168px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #0a1120;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: left;
  transition: transform .22s var(--ease), border-color .22s;
}
.tpl-opt:hover { transform: translateY(-3px); border-color: rgba(126, 162, 255, .38); }
.tpl-opt.selected { border-color: rgba(47, 128, 255, .6); box-shadow: 0 0 0 3px rgba(47, 128, 255, .12); }
.tpl-opt .to-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tpl-opt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 16, .08), rgba(4, 8, 16, .45) 45%, rgba(4, 8, 16, .94) 92%); }
.tpl-opt .to-tag { position: absolute; z-index: 2; top: 10px; left: 10px; height: 20px; padding: 0 7px; border-radius: 5px; display: inline-flex; align-items: center; font-size: 7.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; background: rgba(4, 8, 16, .62); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); color: #e3ebfc; }
.tpl-opt .to-sel { position: absolute; z-index: 2; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; display: none; place-items: center; background: #2f80ff; color: #fff; box-shadow: 0 4px 12px rgba(47, 128, 255, .5); }
.tpl-opt.selected .to-sel { display: grid; }
.tpl-opt .to-content { position: relative; z-index: 2; padding: 11px; }
.to-emblem { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 6px; background: rgba(4, 8, 16, .55); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.to-emblem svg { width: 14px; height: 14px; }
.tpl-opt h4 { font-size: 13px; }
.tpl-opt p { font-size: 8.5px; color: #94a2c0; margin-top: 2px; }
.to-pills { display: flex; gap: 3px; margin-top: 6px; flex-wrap: wrap; }
.to-pills span { height: 16px; padding: 0 5px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 6.5px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--tc, #2f80ff) 82%, #000); }

/* estilo */
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.color-input { display: flex; align-items: center; gap: 7px; }
.color-input input[type="color"] { width: 44px; height: 43px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 10, 20, .8); cursor: pointer; }
.color-input input[type="text"] { flex: 1; min-height: 43px; font-family: ui-monospace, monospace; font-size: 12px; text-transform: uppercase; }
.palette-row { display: flex; gap: 7px; flex-wrap: wrap; }
.palette { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: #8d9cba; font-size: 9px; font-weight: 600; }
.palette:hover { border-color: var(--line-2); color: #fff; }
.palette i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--p1), var(--p2)); }
.range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: rgba(126, 162, 255, .14); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(135deg, #4d94ff, #7c4dff); border: 2px solid #0b1628; box-shadow: 0 0 0 3px rgba(47, 128, 255, .18); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 17px; height: 17px; border: 2px solid #0b1628; border-radius: 50%; background: #4d94ff; }

/* fundos */
.background-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.bg-option {
  position: relative; height: 104px; border-radius: 12px; overflow: hidden;
  border: 2px solid transparent; background-size: cover; background-position: center;
  transition: all .18s;
}
.bg-option::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 8, 16, .6)); }
.bg-option:hover { transform: translateY(-2px); border-color: rgba(126, 162, 255, .35); }
.bg-option.selected { border-color: #4c8dff; box-shadow: 0 0 0 3px rgba(47, 128, 255, .14); }
.bg-check { position: absolute; z-index: 2; top: 7px; right: 7px; width: 21px; height: 21px; border-radius: 50%; background: #2f80ff; color: #fff; display: none; place-items: center; box-shadow: 0 4px 12px rgba(47, 128, 255, .5); }
.bg-option.selected .bg-check { display: grid; }
.mini-bg-preview { height: 130px; border-radius: 12px; border: 1px solid var(--line); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.mini-bg-preview::after { content: "Prévia do fundo"; position: absolute; left: 10px; bottom: 8px; font-size: 9px; color: rgba(255, 255, 255, .7); letter-spacing: .05em; }

/* revisão */
.review-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; }
.review-card { border-radius: 15px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 23, 42, .68), rgba(8, 13, 24, .82)); padding: 16px; display: grid; gap: 11px; }
.review-card h3 { font-size: 13px; display: flex; align-items: center; gap: 7px; }
.review-card h3 svg { width: 15px; height: 15px; color: #7fb0ff; }
.rv-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(126, 162, 255, .07); font-size: 11px; }
.rv-row:last-child { border-bottom: 0; }
.rv-row span { color: #71809e; flex: none; }
.rv-row b { color: #d4dff2; font-weight: 600; text-align: right; word-break: break-word; }
.rv-dest { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #8fb3e8; background: rgba(47, 128, 255, .06); border: 1px solid rgba(47, 128, 255, .16); padding: 8px 10px; border-radius: 8px; word-break: break-all; }
.rv-actions { display: grid; gap: 5px; }
.rv-action { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: #a9b9d8; padding: 6px 0; }
.rv-action .rv-ic { width: 25px; height: 25px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); flex: none; color: #7fb0ff; }
.rv-action svg { width: 12px; height: 12px; }
.rv-action small { margin-left: auto; color: #5f7090; font-size: 9px; }
.rv-ok { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #63e8bb; }
.rv-ok svg { width: 13px; height: 13px; }

/* rodapé do wizard */
.wizard-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0 0;
}
.wf-center { flex: 1; text-align: center; font-size: 9.5px; color: #5f7090; }
.wizard-foot .btn { min-width: 104px; }

/* ---------------- prévia ---------------- */
.preview-col { position: sticky; top: 84px; display: grid; gap: 10px; }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.pv-kicker { font-size: 8px; font-weight: 800; letter-spacing: .16em; color: #50607d; }
.preview-head h3 { font-size: 14px; margin-top: 2px; }
.phone-frame {
  position: relative; width: 100%; max-width: 306px; margin: 0 auto;
  padding: 10px 9px 12px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1b2740, #0a1220);
  border: 1px solid rgba(126, 162, 255, .24);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 17px; border-radius: 0 0 11px 11px; background: #060b15; z-index: 6; }
.phone-screen {
  position: relative; height: 540px; border-radius: 26px; overflow: hidden;
  background: #070d18; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
}
.pv-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: background-image .3s, filter .25s; z-index: 0; }
.pv-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 16, .5), rgba(4, 8, 16, .72)); z-index: 1; transition: background .25s; }
.pv-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .8; }
.pv-fx.petals { background-image: radial-gradient(circle at 20% 30%, rgba(255, 120, 170, .5) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255, 180, 210, .4) 0 2.5px, transparent 3.5px), radial-gradient(circle at 45% 80%, rgba(180, 140, 255, .4) 0 2px, transparent 3px); background-size: 70px 70px, 90px 90px, 60px 60px; animation: pvDrift 12s linear infinite; }
.pv-fx.snow { background-image: radial-gradient(circle, rgba(255, 255, 255, .7) 0 1.5px, transparent 2px); background-size: 46px 46px; animation: pvDrift 16s linear infinite; }
.pv-fx.sparks { background-image: radial-gradient(circle, rgba(47, 128, 255, .7) 0 1.5px, transparent 2px), radial-gradient(circle, rgba(255, 61, 113, .5) 0 1px, transparent 1.5px); background-size: 50px 60px, 70px 50px; animation: pvDrift 10s linear infinite; }
.pv-fx.stars { background-image: radial-gradient(circle, rgba(255, 255, 255, .8) 0 1px, transparent 1.5px); background-size: 34px 34px; animation: pvTwinkle 3s ease-in-out infinite alternate; }
@keyframes pvDrift { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 40px 120px, -30px 100px, 20px 90px; } }
@keyframes pvTwinkle { from { opacity: .35; } to { opacity: .9; } }
.pv-content { position: relative; z-index: 3; padding: 22px 17px; display: grid; gap: 7px; justify-items: center; text-align: center; }
.pv-brandline { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 8px; font-weight: 800; letter-spacing: .16em; color: rgba(255, 255, 255, .55); text-transform: uppercase; }
.pv-brandline .brand-mark::after { display: none; }
.pv-lock { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--pv-accent, #2f80ff) 40%, transparent); background: color-mix(in srgb, var(--pv-accent, #2f80ff) 14%, transparent); color: color-mix(in srgb, var(--pv-accent, #2f80ff) 80%, #fff); font-size: 6.5px; font-weight: 800; letter-spacing: .08em; }
.pv-creator { font-size: 8px; color: rgba(255, 255, 255, .5); }
.pv-content h3 { font-size: 19px; letter-spacing: -.03em; line-height: 1.15; max-width: 240px; }
.pv-content p { font-size: 8.5px; line-height: 1.5; color: rgba(255, 255, 255, .58); max-width: 230px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pv-chips { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.pv-chips span { height: 17px; padding: 0 5px; border-radius: 4px; display: inline-flex; align-items: center; gap: 3px; font-size: 6.5px; font-weight: 600; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .7); }
.pv-chips svg { width: 8px; height: 8px; }
.pv-actions { display: grid; gap: 4px; width: 100%; margin-top: 4px; }
.pv-action { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: left; }
.pv-action .pa-ic { width: 19px; height: 19px; border-radius: 5px; display: grid; place-items: center; background: rgba(0, 0, 0, .25); color: var(--pc, #7fb0ff); flex: none; }
.pv-action .pa-ic svg { width: 10px; height: 10px; }
.pv-action span { font-size: 7.5px; font-weight: 600; color: #dbe4f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-action .pa-done { margin-left: auto; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); flex: none; }
.pv-btn { width: 100%; min-height: 38px; margin-top: 7px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--pv-accent, #2f80ff), var(--pv-accent2, #ff3d71)); color: #fff; font-size: 9.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 10px 26px color-mix(in srgb, var(--pv-accent, #2f80ff) 30%, transparent); pointer-events: none; }
.pv-btn svg { width: 12px; height: 12px; }
.pv-foot { display: inline-flex; align-items: center; gap: 3px; font-size: 6.5px; color: rgba(255, 255, 255, .4); margin-top: 4px; }
.preview-meta { border-radius: 13px; border: 1px solid var(--line); background: rgba(8, 13, 24, .6); padding: 9px 12px; display: grid; gap: 6px; }
.pm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; }
.pm-row span { color: #61708f; }
.pm-row b { color: #b7c6e4; font-weight: 600; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------- sucesso ---------------- */
.success-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 11px; border: 1px solid var(--line); background: rgba(5, 10, 20, .7); }
.success-link > svg { color: #6f9fe0; }
.success-link input { flex: 1; min-width: 0; border: 0; background: transparent; color: #b9c6e2; font-size: 11px; outline: none; }
.success-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.success-stats div { padding: 11px; text-align: center; display: grid; justify-items: center; gap: 2px; }
.success-stats div + div { border-left: 1px solid var(--line); }
.success-stats svg { color: #7fb0ff; margin-bottom: 2px; }
.success-stats b { font-family: var(--font-display); font-size: 15px; }
.success-stats small { font-size: 8px; color: #61708f; text-transform: uppercase; letter-spacing: .06em; }
.success-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.success-actions .btn:first-child { grid-column: 1 / -1; }

/* ---------------- responsivo ---------------- */
@media (max-width: 1260px) {
  .editor-shell { grid-template-columns: 224px minmax(0, 1fr); }
  .preview-col { display: none; }
}
@media (max-width: 980px) {
  .editor-shell { grid-template-columns: 1fr; padding: 14px; }
  .wizard-nav { position: static; padding: 12px; }
  .wn-head, .wn-tip { display: none; }
  .wn-steps { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .wstep { flex-direction: column; gap: 4px; padding: 8px 4px; text-align: center; }
  .ws-txt b { font-size: 9.5px; }
  .ws-txt small { display: none; }
  .ws-check { display: none !important; }
  .ws-num { width: 22px; height: 22px; font-size: 8px; }
  .wstep.active { box-shadow: inset 0 -3px 0 #4c8dff; }
}
@media (max-width: 760px) {
  .editor-top { height: 60px; padding: 0 12px; gap: 8px; }
  .et-divider, .et-title { display: none; }
  .et-status { display: none; }
  .et-actions .btn span:not([data-icon]) { display: none; }
  .et-actions .btn { padding: 0 10px; }
  .editor-shell { padding: 10px; gap: 10px; }
  .wn-steps { grid-template-columns: repeat(3, 1fr); }
  .action-catalog { grid-template-columns: 1fr 1fr; }
  .template-grid { grid-template-columns: 1fr; }
  .review-grid, .form-two, .color-grid, .range-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .background-grid { grid-template-columns: 1fr 1fr; }
  .panel-heading .pill { display: none; }
  .panel-heading h1 { font-size: 20px; }
  .wizard-foot { position: sticky; bottom: 8px; background: rgba(5, 9, 18, .9); backdrop-filter: blur(12px); padding: 9px; border-radius: 12px; border: 1px solid var(--line); }
  .wizard-foot .btn { min-width: 0; flex: 1; }
  .wf-center { display: none; }
  .sel-url { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .action-catalog { grid-template-columns: 1fr; }
  .wn-steps { grid-template-columns: repeat(2, 1fr); }
  .success-actions { grid-template-columns: 1fr; }
}
