/* ===== extras: modo escuro, botao de tema, componentes novos ===== */
.theme-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin-left:auto;margin-right:8px;color:var(--ink-2);transition:.2s}
.theme-btn:hover{background:var(--bg-2);color:var(--ink)}
.theme-btn svg{width:20px;height:20px}
.hdr .wrap{gap:6px}
.hdr .nav{margin-left:0}
html[data-theme=dark]{color-scheme:dark;--bg:#0b0b10;--bg-2:#16161e;--ink:#f3f3f8;--ink-2:#b6b6c4;--ink-3:#80808f;--line:#2a2a36;--pink-soft:#2b1223}
html[data-theme=dark] body{background:var(--bg);color:var(--ink)}
html[data-theme=dark] .hdr.scrolled,html[data-theme=dark] .menu-open .hdr{background:rgba(11,11,16,.85)}
html[data-theme=dark] .hdr .logo img,html[data-theme=dark] .ftr img{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}
html[data-theme=dark] .page-hero{background:radial-gradient(60% 80% at 50% 0%,#2a1024,var(--bg) 70%)}
html[data-theme=dark] .hero{background:radial-gradient(60% 55% at 70% 30%,#2a1024,var(--bg) 70%)}
html[data-theme=dark] .pcard,html[data-theme=dark] .feat,html[data-theme=dark] .cmp,html[data-theme=dark] .founder,html[data-theme=dark] .gi,html[data-theme=dark] .gt,html[data-theme=dark] .sec-alt .stat,html[data-theme=dark] .cfg-panel,html[data-theme=dark] .ex-card,html[data-theme=dark] .tl-item::before{background:#14141b;border-color:var(--line)}
html[data-theme=dark] .pcard .tagpill{background:rgba(20,20,27,.85);color:var(--ink)}
html[data-theme=dark] .btn-ghost{color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .btn-ghost:hover{background:var(--ink);color:var(--bg)}
html[data-theme=dark] .cfg-hero,html[data-theme=dark] .cfg-prev{background-color:transparent}
html[data-theme=dark] .cfg-warn{background:#3a2c0a;color:#ffd98a}
html[data-theme=dark] .cfg-search,html[data-theme=dark] .hex-row input,html[data-theme=dark] .ex-in{background:#0f0f15;color:var(--ink)}
html[data-theme=dark] .cfg-sw span{background:#3a3a46}
html[data-theme=dark] .swatches-row button,html[data-theme=dark] .sw{border-color:#14141b}
html[data-theme=dark] .face-grid button{background:#0f0f15}
html[data-theme=dark] .face-grid button.on{background:var(--pink-soft)}
@media (max-width:900px){html[data-theme=dark] .cfg-prev{background:rgba(11,11,16,.96)}}

/* favoritos / presets / extras da pagina configurar */
.face-grid button,.rx-grid button{position:relative}
.star{position:absolute;top:4px;right:6px;font-size:16px;line-height:1;color:var(--ink-3);opacity:.55;cursor:pointer;padding:4px;margin:-4px}
.star:hover,.star.on{opacity:1;color:#ffb300}
.rx-grid button .star{position:static;display:inline-block;margin:0 -4px 0 6px;padding:0 2px;font-size:15px}
.rx-grid button.live{background:#2ee59d;color:#04150d;box-shadow:0 0 0 3px rgba(46,229,157,.35)}
.rx-grid button.fire .star,.rx-grid button:hover .star{color:#fff}
.cfg-empty{color:var(--ink-3);font-size:14px;padding:10px 2px}
.cfg-sub{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin:18px 0 10px}
.ps-new{display:flex;gap:8px;margin-bottom:14px}
.ps-new input{flex:1;min-width:0;height:48px;padding:0 14px;border:1.5px solid var(--line);border-radius:14px;font:inherit;background:transparent;color:inherit}
.ps-new input:focus{outline:0;border-color:var(--pink)}
.ps-list{display:grid;gap:10px}
.ps-item{display:flex;align-items:center;gap:12px;padding:12px;border:1.5px solid var(--line);border-radius:18px}
.ps-item .dots{display:flex;flex:none}
.ps-item .dots i{width:26px;height:26px;border-radius:50%;border:2px solid var(--bg);box-shadow:0 0 0 1px var(--line);margin-right:-8px}
.ps-item b{flex:1;min-width:0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ps-item small{display:block;color:var(--ink-3);font-weight:600;font-size:12px}
.ps-item button{min-height:38px;padding:0 14px;border-radius:999px;background:var(--bg-2);font-weight:700;font-size:13px}
.ps-item button.go{background:var(--pink);color:#fff}
.ps-item button.del{width:38px;padding:0;color:var(--ink-3)}
.cfg-quick{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}
.cfg-quick button svg{flex:none}
.cfg-quick button.rec{background:#ff3b30;color:#fff;animation:recp 1s infinite}
@keyframes recp{50%{opacity:.6}}
.cfg-note{color:var(--ink-3);font-size:13px;margin-top:12px}

/* criar rosto */
.ex-wrap{display:grid;grid-template-columns:minmax(300px,420px) 1fr;gap:28px;align-items:start;padding-bottom:90px}
.ex-prev{position:sticky;top:88px;display:flex;flex-direction:column;gap:14px}
.ex-stage{display:grid;place-items:center;padding:34px 12px 30px;border-radius:28px;background:radial-gradient(70% 70% at 50% 40%,#2a1030,#0b0b0f 75%);box-shadow:0 30px 60px -30px rgba(255,20,147,.45)}
.ex-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px}
.ex-card h3{font-size:20px;margin:18px 0 10px}.ex-card h3:first-child{margin-top:0}
.ex-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ex-col{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--ink-2);text-align:center}
.ex-col input[type=color]{width:100%;height:52px;padding:0;border:2px solid var(--line);border-radius:14px;background:none;cursor:pointer}
.ex-lock{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin-top:12px}
.ex-seg{display:flex;flex-wrap:wrap;gap:8px}
.ex-seg button{padding:10px 16px;border-radius:999px;background:var(--bg-2);font-weight:700;font-size:14px}
.ex-seg button.on{background:var(--pink);color:#fff}
.ex-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.ex-actions .btn{padding:13px 16px;font-size:15px}
.ex-in{width:100%;height:46px;padding:0 14px;border:1.5px solid var(--line);border-radius:14px;font:inherit;margin-top:10px}
@media (max-width:900px){.ex-wrap{grid-template-columns:1fr}.ex-prev{position:sticky;top:72px;z-index:20;padding:8px 0;background:var(--bg)}.ex-stage{padding:22px 8px 12px}.ex-stage .disp{--s:min(38vw,150px)!important}.ex-cols{grid-template-columns:repeat(2,1fr)}}

/* galeria ao vivo */
.live-sec .live-box{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:34px;align-items:center}
.live-disp{position:relative;width:min(100%,360px);aspect-ratio:1;margin:0 auto;border-radius:50%;padding:5%;background:#08080b;box-shadow:0 0 0 6px #cfd2d9,0 0 0 10px #8f939e,0 40px 70px -30px rgba(255,20,147,.55)}
.live-disp canvas{width:100%;height:100%;border-radius:50%;display:block;background:#000}
.live-faces,.live-rx{display:flex;flex-wrap:wrap;gap:8px}
.live-faces button{width:42px;height:42px;border-radius:50%;border:3px solid var(--bg);box-shadow:0 0 0 1.5px var(--line);transition:.2s}
.live-faces button.on{box-shadow:0 0 0 3px var(--pink)}
.live-rx button{padding:10px 16px;border-radius:999px;background:var(--bg-2);font-weight:700;font-size:14px}
.live-rx button:hover{background:var(--pink);color:#fff}
.live-box h3{font-size:15px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin:0 0 10px}
.live-box h3:not(:first-child){margin-top:22px}
.live-name{font-size:22px;font-weight:800;margin-bottom:14px}
@media (max-width:820px){.live-sec .live-box{grid-template-columns:1fr}}

/* ajuda bluetooth */
.hp-check{display:grid;gap:10px;max-width:760px;margin:0 auto 40px}
.hp-check div{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:16px;background:var(--bg-2);font-weight:600}
.hp-check i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#fff;font-style:normal;font-weight:800;font-size:15px;background:#8b8b98}
.hp-check .ok i{background:#22c55e}.hp-check .no i{background:#ef4444}
.hp-check small{display:block;color:var(--ink-3);font-weight:500;font-size:13px}
.hp-steps{max-width:760px;margin:0 auto;counter-reset:s;display:grid;gap:14px}
.hp-steps li{list-style:none;counter-increment:s;position:relative;padding:18px 20px 18px 70px;border:1px solid var(--line);border-radius:20px;background:var(--bg)}
.hp-steps li::before{content:counter(s);position:absolute;left:18px;top:16px;width:38px;height:38px;border-radius:50%;background:var(--pink);color:#fff;display:grid;place-items:center;font-weight:800}
.hp-steps b{display:block;margin-bottom:2px}.hp-steps span{color:var(--ink-2);font-size:15px}
.hp-faq{max-width:760px;margin:0 auto}
.hp-faq details{border-bottom:1px solid var(--line);padding:16px 2px}
.hp-faq summary{font-weight:700;cursor:pointer;font-size:17px}
.hp-faq p{color:var(--ink-2);margin-top:10px}
@media (max-width:820px){html[data-theme=dark] .nav{background:rgba(11,11,16,.97)}}
