/* v5.5.3 · tema escuro grafite nas duas páginas (claro continua em fix-v552.css / estilos originais) */
.theme-btn{display:grid;place-items:center;width:44px;height:44px;margin-left:12px;border-radius:50%;font:25px/1 Arial,sans-serif;color:var(--gr2);cursor:pointer;transition:background .2s}
.theme-btn:hover{background:var(--fio)}
.theme-btn:focus-visible{outline:2px solid var(--roxo);outline-offset:2px}
html[data-coin-theme=dark]{background:#17181B;color-scheme:dark}
html[data-coin-theme=dark] body.v{--bg:#17181B;--sup:#1F2023;--gr:#F2F1EE;--gr2:#A9A7A2;--fio:#2E3035;--fio2:#3E4147;--lil:#34324A;background:#17181B;color:#F2F1EE}
/* topo e navegação */
html[data-coin-theme=dark] body.v .top{background:rgba(23,24,27,.94);border-color:var(--fio)}
html[data-coin-theme=dark] body.v .logo{color:#B9AEF5}
html[data-coin-theme=dark] body.v.pm .logo{color:var(--gr)}
html[data-coin-theme=dark] body.v.pm .logo span{color:var(--gr2)}
html[data-coin-theme=dark] body.v .menu a{color:var(--gr)}
html[data-coin-theme=dark] body.v .menu a.on,html[data-coin-theme=dark] body.v .menu a:hover,html[data-coin-theme=dark] body.v .fcol a:hover{color:#B9AEF5}
html[data-coin-theme=dark] body.v .chip{background:var(--sup);border-color:var(--fio2);color:var(--gr)}
html[data-coin-theme=dark] body.v .chip .ex{color:var(--gr2)}
html[data-coin-theme=dark] body.v .burger{border-color:var(--fio2)}
html[data-coin-theme=dark] body.v .burger span{background:var(--gr)}
html[data-coin-theme=dark] body.v .mnav{background:var(--sup);color:var(--gr);border-color:var(--fio)}
html[data-coin-theme=dark] body.v .mnav a{border-color:var(--fio)}
html[data-coin-theme=dark] body.v .mnav a[aria-current]{color:#B9AEF5}
html[data-coin-theme=dark] body.v .premium-tools button{color:var(--gr2)}
html[data-coin-theme=dark] body.v .premium-tools button[aria-pressed=true]{color:var(--gr)}
html[data-coin-theme=dark] body.v .premium-tools>button[aria-pressed=true],html[data-coin-theme=dark] body.v .premium-tools>button:hover{background:var(--fio)}
html[data-coin-theme=dark] body.v .languages{border-color:var(--fio)}
/* textos com gradiente */
html[data-coin-theme=dark] body.v .grad{background:linear-gradient(90deg,#CFC7FB,#9C8EEB);-webkit-background-clip:text;background-clip:text;color:#B9AEF5}
html[data-coin-theme=dark] body.v .gradg{background:linear-gradient(90deg,#F2F1EE,#B9B7B1);-webkit-background-clip:text;background-clip:text;color:#E2E0DB}
/* etiquetas e botões */
html[data-coin-theme=dark] body.v .tag{color:#E8D58A;background:#2A2715;border-color:#5A4F22}
html[data-coin-theme=dark] body.v .tag.n{color:var(--gr2);background:var(--sup);border-color:var(--fio2)}
html[data-coin-theme=dark] body.v .info .tag.u{color:#CFC7FB;background:#2C2840;border-color:#4A4373}
html[data-coin-theme=dark] body.v .pill{background:var(--sup);border-color:var(--fio2);color:var(--gr)}
html[data-coin-theme=dark] body.v .pill:hover{background:var(--fio)}
html[data-coin-theme=dark] body.v .btn{background:#5446B8;color:#fff}
html[data-coin-theme=dark] body.v .btn:hover{background:#6153C8}
html[data-coin-theme=dark] body.v .arr{background:var(--sup);border-color:var(--fio2);color:var(--gr)}
html[data-coin-theme=dark] body.v .arr[disabled]{color:#6B6A66}
/* Cotação: hero, calculadora, gráfico, peças, fonte */
html[data-coin-theme=dark] body.v .frame.lil{background-image:linear-gradient(rgba(23,24,27,.58),rgba(23,24,27,.58)),url(/assets/img/seda-dominio-1600.webp)}
html[data-coin-theme=dark] body.v .calc{background:var(--sup);box-shadow:0 24px 60px -20px rgba(0,0,0,.7);border:1px solid var(--fio)}
html[data-coin-theme=dark] body.v .teor span.p{background:var(--lil);color:var(--gr)}
html[data-coin-theme=dark] body.v .res{border-color:var(--fio)}
html[data-coin-theme=dark] body.v .rng::-webkit-slider-runnable-track{background:linear-gradient(90deg,#9C8EEB,#6A5AC8) 0/var(--p) 100% no-repeat,var(--lil)}
html[data-coin-theme=dark] body.v .rng::-moz-range-track{background:var(--lil)}
html[data-coin-theme=dark] body.v .rng::-webkit-slider-thumb{background:#F2F1EE;border-color:#6B6A66}
html[data-coin-theme=dark] body.v .rng::-moz-range-thumb{background:#F2F1EE;border-color:#6B6A66}
html[data-coin-theme=dark] body.v .chart,html[data-coin-theme=dark] body.v .fx,html[data-coin-theme=dark] body.v .card{background:var(--sup);border-color:var(--fio)}
html[data-coin-theme=dark] body.v .tabs,html[data-coin-theme=dark] body.v .tabs:before{background:#2A2C31}
html[data-coin-theme=dark] body.v .tabs button{color:var(--gr2)}
html[data-coin-theme=dark] body.v .tabs button[aria-pressed=true]{color:#17181B}
html[data-coin-theme=dark] body.v .tabs button[aria-pressed=true]:before{background:var(--gr)}
html[data-coin-theme=dark] body.v .chart svg line{stroke:#2E3035}
html[data-coin-theme=dark] body.v svg .ax{color:var(--gr2)}
html[data-coin-theme=dark] body.v .chart svg circle{stroke:#1F2023}
html[data-coin-theme=dark] body.v .foto{background:radial-gradient(ellipse 70% 65% at 50% 45%,#3A3C42 0%,#26272B 62%,#202125 100%)}
html[data-coin-theme=dark] body.v .foto img{filter:drop-shadow(0 22px 22px rgba(0,0,0,.55)) brightness(1.04)}
html[data-coin-theme=dark] body.v .card.hov{box-shadow:0 30px 60px -28px rgba(0,0,0,.8)}
html[data-coin-theme=dark] body.v .meta{border-color:var(--fio)}
html[data-coin-theme=dark] body.v .mm{border-color:var(--fio2)}
html[data-coin-theme=dark] body.v .dots i{background:var(--fio2)}
html[data-coin-theme=dark] body.v .dots i.on{background:var(--gr)}
html[data-coin-theme=dark] body.v .hint{color:var(--gr2)}
/* bloco do domínio: seda escurecida, texto claro */
html[data-coin-theme=dark] body.v .dcard{background:var(--sup);border-color:var(--fio)}
html[data-coin-theme=dark] body.v .dband{color:var(--gr)}
html[data-coin-theme=dark] body.v .dband:before{background:linear-gradient(90deg,rgba(23,24,27,.9) 0%,rgba(23,24,27,.7) 50%,rgba(23,24,27,.35) 100%)}
html[data-coin-theme=dark] body.v .dband h2{color:var(--gr)}
html[data-coin-theme=dark] body.v .dband p,html[data-coin-theme=dark] body.v .pst{color:#D6D4CF}
html[data-coin-theme=dark] body.v .dband .tag.n{background:rgba(23,24,27,.75);color:var(--gr)}
@media(max-width:600px){html[data-coin-theme=dark] body.v .dband:before{background:linear-gradient(180deg,rgba(23,24,27,.88),rgba(23,24,27,.7) 70%,rgba(23,24,27,.5))}html[data-coin-theme=dark] body.v .frame.lil{background-image:linear-gradient(rgba(23,24,27,.58),rgba(23,24,27,.58)),url(/assets/img/seda-dominio-900.webp)}}
/* rodapé */
html[data-coin-theme=dark] body.v .foot{background:var(--sup);border-color:var(--fio)}
html[data-coin-theme=dark] body.v .fr,html[data-coin-theme=dark] body.v .fcol h3{color:var(--gr)}
html[data-coin-theme=dark] body.v .fcol a,html[data-coin-theme=dark] body.v .fbase{color:var(--gr2)}
html[data-coin-theme=dark] body.v .fbase{border-color:var(--fio)}
html[data-coin-theme=dark] body.v .fword{color:#8E8C87}
/* página da moeda */
html[data-coin-theme=dark] body.v.pm .stage,html[data-coin-theme=dark] body.v.pm .ponte{background:var(--bg);border:0}
html[data-coin-theme=dark] body.v.pm .stage .q,html[data-coin-theme=dark] body.v.pm .res2,html[data-coin-theme=dark] body.v.pm .ponte p{color:var(--gr)}
html[data-coin-theme=dark] body.v.pm .coin-sub,html[data-coin-theme=dark] body.v.pm .flip-actions>span,html[data-coin-theme=dark] body.v.pm .premium-score,html[data-coin-theme=dark] body.v.pm .premium-score button,html[data-coin-theme=dark] body.v.pm .play-note{color:var(--gr2)}
html[data-coin-theme=dark] body.v.pm .premium-score button{text-decoration-color:var(--fio2)}
html[data-coin-theme=dark] body.v.pm .premium-score button:hover{color:var(--gr);text-decoration-color:var(--gr)}
html[data-coin-theme=dark] body.v.pm .premium-flip{border-color:var(--gr);color:var(--gr);background:transparent}
html[data-coin-theme=dark] body.v.pm .premium-flip:hover{background:rgba(242,241,238,.08)}
html[data-coin-theme=dark] body.v.pm .lk{color:var(--gr);text-decoration-color:rgba(242,241,238,.4)}
html[data-coin-theme=dark] body.v.pm .lk:hover{text-decoration-color:#B9AEF5}
html[data-coin-theme=dark] body.v.pm .ponte .wrap:before{background:#9C8EEB}
html[data-coin-theme=dark] body.v.pm .original-coin-stage:before{content:"";position:absolute;left:50%;top:50%;width:calc(var(--coin-size)*1.55);height:calc(var(--coin-size)*1.55);transform:translate(-50%,-54%);border-radius:50%;background:radial-gradient(circle,rgba(242,241,238,.10) 0%,rgba(242,241,238,.04) 40%,transparent 68%);pointer-events:none}
html[data-coin-theme=dark] body.v.pm .original-coin-wrap{filter:drop-shadow(0 16px 26px rgba(0,0,0,.55)) drop-shadow(0 3px 6px rgba(0,0,0,.35))}
html[data-coin-theme=dark] body.v.pm .original-coin-shadow{background:rgba(0,0,0,.6)}
/* formulário de proposta */
html[data-coin-theme=dark] .offer-dialog{background:#1F2023;color:#F2F1EE;border-color:#2E3035}
html[data-coin-theme=dark] .offer-intro,html[data-coin-theme=dark] .offer-dialog label,html[data-coin-theme=dark] .offer-help,html[data-coin-theme=dark] #offer-status,html[data-coin-theme=dark] .offer-close{color:#A9A7A2}
html[data-coin-theme=dark] .offer-dialog input,html[data-coin-theme=dark] .offer-dialog textarea{background:#17181B;color:#F2F1EE;border-color:#3E4147}
html[data-coin-theme=dark] .offer-send{background:#F2F1EE;color:#17181B}
html[data-coin-theme=dark] .offer-send:hover{background:#D9D7D2}
html[data-coin-theme=dark] .offer-fallback{color:#B9AEF5}
@media(prefers-reduced-motion:reduce){.theme-btn{transition:none}}
/* ícone de som: SVG na cor do texto (sem emoji vermelho) */
.premium-tools #sound-toggle svg{display:block;width:22px;height:22px;pointer-events:none}
.premium-tools #sound-toggle,.premium-tools #theme-toggle{color:var(--gr2)}
.premium-tools #sound-toggle[aria-pressed=true]{color:var(--gr)}
html[data-coin-theme=dark] body.v .premium-tools #sound-toggle,html[data-coin-theme=dark] body.v .premium-tools #theme-toggle{color:#D6D4CF}
html[data-coin-theme=dark] body.v .premium-tools #sound-toggle[aria-pressed=true]{color:var(--gr)}
