:root {
  --bg: #0b0812;
  --panel: #120e1c;
  --card: #171224;
  --line: #2a2140;
  --line-soft: #211a33;
  --text: #f3eefc;
  --muted: #8f84a8;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-soft: #241a3d;
  --green: #279263;
  --wine: #86294f;
  --danger: #ef4468;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); min-width: 0; font-size: 14px; }
button, input, select, textarea { font-family: inherit; }

.app { max-width: 1680px; margin: 0 auto; padding: 18px 22px 40px; }

/* ---------- Barra superior ---------- */
.topbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.name-row { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.name-row input { width: 320px; max-width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--accent); background: #0f0b18; padding: 0 14px; color: var(--text); font-size: 17px; outline: none; }
.name-row input:focus { box-shadow: 0 0 0 3px rgba(139,92,246,.25); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn, .mini {
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px; font-weight: 700; font-size: 13px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--text); background: #14101f;
  transition: filter .15s, transform .05s;
}
.btn:hover, .mini:hover { filter: brightness(1.25); }
.btn:active, .mini:active { transform: translateY(1px); }
.btn i { font-style: normal; font-size: 13px; opacity: .9; }
.btn.success { background: var(--green); border-color: transparent; }
.btn.primary { background: var(--wine); border-color: transparent; }
.btn.publish { background: linear-gradient(135deg, #8b5cf6, #6d3fd6); border-color: transparent; color: #fff; }
.btn.soft, .btn.outline { background: #14101f; }
.mini { padding: 9px 14px; font-size: 12px; background: var(--accent-soft); border-color: var(--line); color: var(--accent-2); }

/* ---------- Layout 3 colunas ---------- */
.workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr) 360px; gap: 22px; margin-top: 20px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px; padding: 0; max-height: calc(100vh - 130px); overflow-y: auto; }
.panel::-webkit-scrollbar { width: 8px; } .panel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.models-panel { padding: 18px 16px 20px; }
.panel-title { margin: 0 0 14px; font-size: 20px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: sticky; top: 0; z-index: 5; background: var(--panel); border-bottom: 1px solid var(--line-soft); }
.tab { border: 0; background: transparent; padding: 16px 8px; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
.tab-panel { display: none; padding: 16px; }
.tab-panel.active { display: block; }
.panel-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.hint { color: var(--muted); font-weight: 600; line-height: 1.4; margin: 0 0 12px; }
.hint.small { font-size: 12px; margin-top: 10px; }

/* ---------- Cards de página ---------- */
.card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 14px; background: var(--card); }
.card.current { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(139,92,246,.35), 0 8px 26px rgba(139,92,246,.14); }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; cursor: pointer; color: var(--text); font-weight: 800; }
.card-head .num { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 13px; flex: none; }
.card-title { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-size: 10px; font-weight: 800; padding: 4px 9px; text-transform: uppercase; letter-spacing: .5px; }
.x-btn { width: 24px; height: 24px; border: 0; border-radius: 7px; background: #241d33; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; }
.x-btn:hover { background: var(--danger); color: #fff; }
.card > .card-head:only-child { margin-bottom: 0; }
.field { display: grid; gap: 6px; color: var(--muted); font-weight: 700; font-size: 12px; margin: 10px 0; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; min-height: 40px; padding: 8px 12px; font: inherit; color: var(--text);
  background: #0f0b18; max-width: 100%; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
input[readonly] { opacity: .75; }
textarea { min-height: 78px; resize: vertical; }
input[type="color"] { padding: 3px; height: 40px; }
input[type="date"], input[type="datetime-local"] { color-scheme: dark; }
.drop {
  display: grid; place-items: center; min-height: 110px; border: 1px dashed #4a3a70; border-radius: 12px; margin: 12px 0;
  color: var(--accent-2); text-align: center; font-weight: 700; cursor: pointer; background: #0f0b18; padding: 12px;
}
.drop:hover { border-color: var(--accent); }
.drop small { color: var(--muted); font-size: 11px; font-weight: 600; display: block; margin-top: 6px; word-break: break-all; }
.drop.loaded { border-style: solid; border-color: #2f5f4a; color: #52d6a0; }
.drop input { display: none; }
.file-ok { color: #52d6a0; font-weight: 700; font-size: 12px; margin: -4px 0 10px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px; }
.danger { color: #ff8aa1; background: #2a1420; border: 0; border-radius: 8px; padding: 9px 12px; font-weight: 700; cursor: pointer; }
.section-title { margin: 16px 0 8px; color: var(--muted); text-transform: uppercase; font-size: 10.5px; letter-spacing: 1px; font-weight: 800; }
.card .section-title { padding-top: 12px; border-top: 1px solid var(--line-soft); margin-top: 14px; }

/* ---------- Toggles ---------- */
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; color: var(--text); font-weight: 600; font-size: 13px; margin: 0; cursor: pointer; }
.toggle-row input[type="checkbox"], .check-line input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 40px; height: 22px; min-height: 22px; padding: 0; border: 0; border-radius: 999px;
  background: #2b2340; position: relative; cursor: pointer; transition: background .18s;
}
.toggle-row input[type="checkbox"]::before {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; left: 2px; top: 2px; transition: transform .18s; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.toggle-row input[type="checkbox"]:checked { background: var(--accent); }
.toggle-row input[type="checkbox"]:checked::before { transform: translateX(18px); }
.range-row { display: grid; gap: 8px; color: var(--muted); font-weight: 700; margin: 16px 0; }
.range-row b { float: right; color: var(--accent-2); }
.range-row input { padding: 0; accent-color: var(--accent); }

/* ---------- Modelos (direita) ---------- */
.model-list { display: grid; gap: 10px; }
.model-card {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; border: 1px solid var(--line); border-radius: 14px;
  background: transparent; padding: 14px; cursor: pointer; color: var(--text); position: relative;
}
.model-card:hover { background: #17122a; }
.model-card.active { border-color: var(--accent); background: linear-gradient(135deg, #21173b, #171224); box-shadow: 0 6px 22px rgba(139,92,246,.16); }
.model-icon { font-size: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); flex: none; }
.model-copy { display: grid; gap: 3px; padding-right: 18px; }
.model-copy b { font-size: 14px; }
.model-copy small { color: var(--muted); font-weight: 600; line-height: 1.3; font-size: 11.5px; }
.model-check { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--accent-2); font-weight: 900; font-size: 18px; }

/* ---------- Botões / música ---------- */
.music-note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); padding: 14px; margin-bottom: 14px; line-height: 1.4; font-weight: 600; }
.music-note strong { color: var(--accent-2); display: block; margin-bottom: 8px; }
.music-note p { margin: 8px 0; }
.music-status { margin-top: 10px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); padding: 10px; }
.music-status.ready { background: #123024; color: #52d6a0; }
.check-line { display: flex; align-items: center; gap: 10px; }
.drop .page-file-input, .drop .share-file-input { display: none; }

/* ---------- Preview ---------- */
.preview-area { display: grid; justify-items: center; }
.zoom { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px 16px; margin-bottom: 20px; }
.zoom button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #14101f; color: var(--text); font-size: 18px; font-weight: 800; cursor: pointer; }
.zoom strong { color: var(--accent-2); font-size: 15px; min-width: 46px; text-align: center; }
.zoom input { width: 74px; min-height: 36px; text-align: center; font-weight: 800; }
.phone-shell { width: 430px; height: 842px; padding: 36px 18px 18px; border-radius: 70px; background: #050308; box-shadow: inset 0 0 0 5px #2a2238, 0 20px 60px rgba(0,0,0,.5); position: relative; transform-origin: top center; }
.phone-shell::before, .phone-shell::after { content: ""; position: absolute; width: 7px; background: #2a2238; border-radius: 8px; left: -5px; }
.phone-shell::before { height: 72px; top: 160px; }
.phone-shell::after { height: 94px; top: 260px; }
.notch { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); width: 180px; height: 34px; border-radius: 0 0 20px 20px; background: #000; z-index: 5; }
.phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 48px; background: linear-gradient(160deg, #1b1330, #0e0a18 65%); position: relative; }
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.empty-preview { width: 100%; height: 100%; display: grid; place-items: center; padding: 32px; text-align: center; color: rgba(255,255,255,.5); font-weight: 700; }
.hotspot { position: absolute; border: 2px dashed rgba(167,139,250,.9); background: rgba(139,92,246,.16); border-radius: 4px; cursor: move; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; touch-action: none; }
.hotspot::after { content: attr(data-label); background: rgba(15,11,24,.85); padding: 4px 6px; border-radius: 6px; pointer-events: none; }
.hotspot-handle { position: absolute; width: 12px; height: 12px; background: #fff; border: 2px solid var(--accent); border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.4); z-index: 2; }
.hotspot-handle.nw { left: -7px; top: -7px; cursor: nwse-resize; }
.hotspot-handle.n { left: 50%; top: -7px; transform: translateX(-50%); cursor: ns-resize; }
.hotspot-handle.ne { right: -7px; top: -7px; cursor: nesw-resize; }
.hotspot-handle.e { right: -7px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.hotspot-handle.se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.hotspot-handle.s { left: 50%; bottom: -7px; transform: translateX(-50%); cursor: ns-resize; }
.hotspot-handle.sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.hotspot-handle.w { left: -7px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.countdown { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); min-width: 70%; text-align: center; background: rgba(255,255,255,.35); border-radius: 12px; padding: 10px; font-weight: 900; }
.skip-video { position: absolute; right: 18px; bottom: 22px; border: 0; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; padding: 10px 14px; font-weight: 800; cursor: pointer; z-index: 4; }
.close-page { position: absolute; right: 18px; top: 22px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; z-index: 4; }
h2 { text-transform: uppercase; letter-spacing: 4px; font-size: 13px; color: var(--muted); margin: 22px 0 0; }

/* ---------- Diálogos ---------- */
dialog { border: 1px solid var(--line); border-radius: 18px; padding: 0; background: var(--panel); color: var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
dialog::backdrop { background: rgba(5,3,10,.7); backdrop-filter: blur(3px); }
.dialog-box { width: min(480px, 92vw); padding: 26px; }
.dialog-box h3 { margin: 0 0 6px; }
.published-preview-box { width: min(520px, 94vw); padding: 18px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dialog-head h3 { margin: 0; }
#publishedPreviewFrame { width: 100%; height: min(780px, 78vh); border: 0; border-radius: 16px; background: #000; }
.saved-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.publish-box { display: grid; gap: 4px; }
.publish-domain-preview { background: #0f0b18; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 800; color: var(--accent-2); word-break: break-all; margin: 6px 0 14px; }
.publish-domain-preview span { color: var(--muted); }
.slug-status { min-height: 18px; font-weight: 800; font-size: 13px; margin: -4px 0 4px; }
.slug-status.ok { color: #52d6a0; }
.slug-status.taken { color: var(--danger); }
.publish-notice { border-radius: 10px; padding: 12px 14px; font-weight: 700; margin-top: 10px; }
.publish-notice.error { background: #2a1420; color: #ff8aa1; }
.publish-notice.success { background: #123024; color: #52d6a0; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 340px; }
  .models-panel { grid-column: 1 / -1; grid-row: 1; max-height: none; }
  .model-list { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .panel { max-height: none; }
}
@media (max-width: 900px) {
  .app { padding: 14px 12px 40px; }
  .workspace { grid-template-columns: 1fr; }
  .models-panel { grid-row: auto; order: -1; }
  .preview-area { order: -1; }
  .phone-shell { width: min(390px, 92vw); height: min(764px, 180vw); }
  .name-row input { width: 100%; }
  .actions .btn { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 560px) {
  .phone-shell { width: min(340px, 94vw); height: min(666px, 184vw); padding: 30px 14px 14px; border-radius: 52px; }
  .phone-screen { border-radius: 36px; }
  .notch { top: 28px; width: 142px; height: 28px; }
  .dialog-box, .published-preview-box { width: 94vw; padding: 16px; }
}

/* Interações de arraste */
.ix-dlg{border:0;padding:0;background:transparent;color:#fff;max-width:96vw;max-height:94vh;overflow:visible}
.ix-dlg::backdrop{background:rgba(6,3,16,.78)}
.ix-box{width:min(560px,94vw);max-height:92vh;display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:20px;border:1px solid #4b3a86;background:linear-gradient(160deg,#241448,#0d0820)}
.ix-box.wide{width:min(980px,96vw)}
.ix-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.ix-top h3{margin:0}.ix-top small{color:#c4a8ff}
.ix-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ix-card{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:16px;border:1px solid #4b3a86;background:rgba(255,255,255,.04)}
.ix-card.off{opacity:.6}.ix-card h4,.ix-card p{margin:0}.ix-card p{font-size:13px;color:#c9c0e6;flex:1}.ix-ico{font-size:28px}
.ix-cols{display:grid;grid-template-columns:1fr 320px;gap:18px;min-height:0;flex:1}
.ix-form{overflow-y:auto;max-height:64vh;display:flex;flex-direction:column;gap:10px;padding-right:6px}
.ix-side{display:flex;flex-direction:column;align-items:center;gap:8px}
.ix-preview{position:relative;width:100%;max-width:300px;aspect-ratio:9/16;border-radius:16px;border:1px solid #4b3a86;background:#0a0618;overflow:hidden;user-select:none}
.ix-preview .empty-preview{position:absolute;inset:0;display:grid;place-items:center;padding:20px;text-align:center;color:#a99bd0}
.ix-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ix-dlg .mini.active{background:#7c3aed;color:#fff}
.ix-dlg .mini:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){
.ix-dlg{width:100vw;max-width:100vw;max-height:100dvh}
.ix-box,.ix-box.wide{width:100vw;max-height:100dvh;height:100dvh;border-radius:0;padding:14px;overflow:hidden}
.ix-grid{grid-template-columns:1fr}
.ix-cols{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
.ix-side{order:-1;position:sticky;top:0;z-index:10;background:#160c33;padding:6px 0}
.ix-preview{height:36dvh;width:auto;max-width:none;aspect-ratio:9/16}
.ix-form{overflow:visible;max-height:none;flex:none;padding-right:0}
}

.ix-dlg input[type=radio]{width:18px;height:18px;flex:none;accent-color:#a855f7}

.ix-lock{cursor:default;pointer-events:none}
.ix-lock+.inline{margin-top:8px}

/* Deslize (mobile): prévia com capa + PNG sempre visível no topo enquanto ajusta as configurações abaixo */
@media(max-width:760px){
html:has(.ix-dlg[open]){overflow:hidden;overscroll-behavior:none}
.ix-dlg[open]{position:fixed;inset:0;margin:0;height:100dvh}
.ix-box,.ix-box.wide{overflow:hidden;min-height:0}
.ix-top{flex:none}
.ix-foot{flex:none}
.ix-cols{position:relative;overscroll-behavior:contain;align-items:stretch}
.ix-side{position:sticky;top:0;z-index:20;gap:4px;border-bottom:1px solid #4b3a86;box-shadow:0 10px 14px -10px #000}
.ix-side #ixNote{display:none}
.ix-preview{height:34dvh}
}

.usage-box{margin:0 0 12px;padding:10px 12px;border:1px solid #3b3070;border-radius:12px;background:#17122b;font-size:12px;color:#cfc8ef}
.usage-top{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}
.usage-top b{color:#fff;font-weight:800}
.usage-bar{height:8px;border-radius:999px;background:#2a2250;overflow:hidden}
.usage-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8b5cf6,#a78bfa);transition:width .3s}
.usage-box small{display:block;margin-top:6px;opacity:.75}
.usage-box.warn .usage-bar i{background:#f59e0b}
.usage-box.over .usage-bar i{background:#ef4444}
.usage-box.over small{color:#fca5a5;opacity:1}

.usage-scale{display:flex;justify-content:space-between;margin-top:3px;font-size:10px;opacity:.6}
.usage-foot{display:flex;justify-content:space-between;gap:10px;margin-top:4px}
.usage-foot small{margin:0}

.ix-layers{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ix-layer{text-align:left;padding:10px;border:1px solid #3b3070;border-radius:12px;background:#120e24;color:#eee;cursor:pointer;display:flex;flex-direction:column;gap:4px;font:inherit}
.ix-layer b{font-size:12px}.ix-layer small{font-size:11px;opacity:.7}
.ix-layer.on{border-color:#8b5cf6;background:#241a4a;box-shadow:0 0 0 1px #8b5cf6 inset}

.ex-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}
.ex-tabs button{padding:8px 4px;border:1px solid #3b3070;border-radius:12px;background:#120e24;color:#cfc8ef;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.ex-tabs button i{font-style:normal;display:inline-flex;width:18px;height:18px;border-radius:50%;background:#2a2250;align-items:center;justify-content:center;margin-right:3px}
.ex-tabs button.on{border-color:#8b5cf6;background:#241a4a;color:#fff}.ex-tabs button.on i{background:#8b5cf6}
.ex-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ex-emojis{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;max-height:190px;overflow:auto;margin:8px 0}
.ex-emojis button{font-size:22px;padding:6px 0;border:1px solid #3b3070;border-radius:10px;background:#120e24;cursor:pointer}
.ex-emojis button.on{border-color:#8b5cf6;background:#241a4a}
.ex-map{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:#120e24;margin-top:8px}
.ex-map img{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}
.ex-obj{position:absolute;transform:translate(-50%,-50%);width:40px;height:40px;font-size:30px;display:flex;align-items:center;justify-content:center;cursor:grab;touch-action:none;outline:2px dashed #c084fc;border-radius:8px;background:rgba(0,0,0,.15)}
.ex-step textarea,.ix-step textarea{width:100%;box-sizing:border-box}
.ix-sep{margin:16px 2px 6px}
.ix-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
#ixSwitch[hidden]{display:none!important}
.usage-limits{margin-top:6px;font-size:11px;font-weight:600;color:var(--muted)}
.page-weight{margin:8px 2px 0;font-size:11.5px;font-weight:700;color:var(--muted)}
.page-weight.warn{color:#fbbf24}.page-weight.over{color:#f87171}
.tab { padding-left: 4px; padding-right: 4px; }
.fx-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 14px; }
.fx-type { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line-soft); background: #14101f; color: var(--text); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.fx-type span { font-size: 20px; line-height: 1; }
.fx-type.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }
.fx-color-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13px; font-weight: 600; }
.fx-color-row span { flex: 1; }
.fx-color-row input[type="color"] { width: 46px; height: 34px; padding: 2px; border-radius: 8px; border: 1px solid var(--line); background: #0d0a16; cursor: pointer; }
.fx-test { position: relative; overflow: hidden; touch-action: none; user-select: none; margin: 12px 0 8px; height: 120px; display: grid; place-items: center; text-align: center; padding: 12px; border-radius: 14px; border: 1px dashed var(--line); background: radial-gradient(circle at 50% 40%, #241a40, #0d0a16); color: var(--muted); font-size: 12.5px; font-weight: 700; }
