/* PrimeTrade — celular: minimizar painéis, tela cheia do gráfico e acabamento.
   Carregado por último: estas regras vencem as de styles/theme/alerts/signals. */

.dock-grab, .dock-mini, .focus-btn, .ps-fold { display: none; }

/* ---------------------------------------------------------------- botões discretos no canto do gráfico (PC e celular) */
.chart-tools { position: absolute; z-index: 4; top: 6px; left: 8px; display: flex; gap: 6px; }
.chart-legend { left: 46px !important; top: 13px !important; }
.focus-btn, .lines-btn {
  place-items: center; position: relative; width: 30px; height: 30px; padding: 0; cursor: pointer;
  border-radius: 10px; color: #c7cdf0; background: rgba(14,20,38,.7); border: 1px solid var(--line2, rgba(255,255,255,.12));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: transform .15s, color .2s, background .2s, border-color .2s, opacity .2s;
}
.lines-btn { display: grid; opacity: .75; }
.lines-btn:hover, .focus-btn:hover { opacity: 1; color: #fff; }
.focus-btn:active, .lines-btn:active { transform: scale(.92); }
.focus-btn svg, .lines-btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lines-btn .ln-off { display: none; }
.lines-btn.off { opacity: 1; color: #fbbf24; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.45); }
.lines-btn.off .ln-off { display: inline; }
.ln-count {
  position: absolute; top: -6px; right: -7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px;
  display: grid; place-items: center; font-size: 9.5px; font-style: normal; font-weight: 800; color: #1a1300; background: #fbbf24;
}
.ln-count.hidden { display: none; }

/* ---------------------------------------------------------------- GZ ShockShark: botão e atalhos */
.gz-btn {
  position: relative; height: 30px; min-width: 34px; padding: 0 8px; border-radius: 10px; cursor: pointer;
  font: 800 11.5px/1 Sora, Inter, sans-serif; letter-spacing: -.02em; color: #c7cdf0; opacity: .8;
  background: rgba(14,20,38,.7); border: 1px solid var(--line2, rgba(255,255,255,.12));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.gz-btn.on { opacity: 1; color: #1a1300; border-color: transparent; background: linear-gradient(135deg, #fde68a, #f59e0b 60%, #d97706); box-shadow: 0 6px 18px rgba(245,158,11,.4); }
.gz-chips {
  position: absolute; z-index: 5; top: 42px; left: 8px; right: 70px; display: flex; flex-wrap: wrap; gap: 6px;
  animation: gzIn .22s var(--ease, ease);
}
.gz-chips.hidden { display: none; }
@keyframes gzIn { from { opacity: 0; transform: translateY(-6px); } }
.gz-chips button {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  font: 700 12px/1 Inter, sans-serif; color: #aab2d5; background: rgba(10,14,26,.95); border: 1px solid var(--line2, rgba(255,255,255,.12));
  box-shadow: 0 6px 16px rgba(0,0,0,.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all .18s;
}
.gz-chips button i { width: 9px; height: 9px; border-radius: 50%; opacity: .45; transition: opacity .18s, box-shadow .18s; }
.gz-chips button.on { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(30,38,66,.98); }
.gz-chips button.on i { opacity: 1; box-shadow: 0 0 8px currentColor; }
.gz-chips button:active { transform: scale(.95); }
.chart-legend { left: 124px !important; }

.gz-row { border-color: rgba(245,158,11,.35) !important; background: linear-gradient(160deg, rgba(245,158,11,.10), rgba(6,9,19,.4) 55%) !important; }
.gz-sw { width: 26px !important; height: 18px !important; border-radius: 6px !important; display: grid; place-items: center; font: 800 9.5px/1 Sora, sans-serif; font-style: normal; color: #1a1300;
  background: linear-gradient(135deg, #fde68a, #f59e0b) !important; }
.gz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 10px; }
.gz-item { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 600; }
.gz-item i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.gz-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gz-note { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
/* Face ID na tela de senha */
.bio-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; margin-top: 4px; border-radius: 14px; font-weight: 800;
  color: #fff; border: 1px solid rgba(167,139,250,.45); background: linear-gradient(135deg, rgba(139,92,246,.35), rgba(34,211,238,.18)); box-shadow: 0 10px 26px rgba(99,102,241,.25); }
.bio-btn.hidden, .bio-or.hidden { display: none; }
.bio-btn svg, .bio-ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bio-or { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; color: var(--muted); font-size: 12px; }
.bio-or::before, .bio-or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.bio-offer { display: grid; gap: 8px; text-align: center; justify-items: center; }
.bio-offer h3 { margin: 4px 0 0; }
.bio-offer p { margin: 0; }
.bio-offer .actions { width: 100%; margin-top: 8px; }
.bio-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee); box-shadow: 0 12px 30px rgba(99,102,241,.45); }
.bio-ico svg { width: 34px; height: 34px; }

/* avisos das marcações */
.gz-chips button.gz-bell svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.gz-chips button.gz-bell.on { border-color: rgba(251,191,36,.55); color: #fde68a; }
.gz-chips button.gz-bell.on svg { opacity: 1; filter: drop-shadow(0 0 5px rgba(251,191,36,.8)); }
.gz-alert .gz-m1 { background: rgba(251,191,36,.06); border-color: rgba(251,191,36,.2); }
.gz-alert-opts { display: none; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.gz-alert.on .gz-alert-opts { display: grid; }
.gz-aopt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(6,9,19,.4); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.gz-aopt input { width: 16px; height: 16px; margin: 0; accent-color: #f59e0b; }
/* estrutura do M1 */
.gz-chips button.gz-src { border-style: dashed; }
.gz-chips button.gz-src em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .02em; padding: 1px 5px; border-radius: 6px;
  background: rgba(255,255,255,.08); color: #8b93b5; transition: background .18s, color .18s; }
.gz-chips button.gz-src.on { border-style: solid; border-color: rgba(232,186,92,.55); }
.gz-chips button.gz-src.on em { background: linear-gradient(135deg,#f5c96a,#e8a23c); color: #1a1205; }
.gz-chips button.gz-src.na { opacity: .5; }
.gz-m1 { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(232,186,92,.07); border: 1px solid rgba(232,186,92,.2); }
.gz-m1 > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gz-m1 b { font-size: 13px; }
.gz-m1 small { font-size: 11px; color: var(--muted); line-height: 1.35; }
.gz-m1 .toggle { flex: none; }

@media (max-width: 820px), (max-height: 500px) {

  /* ---------------------------------------------------------------- barra de negociação com alça */
  .dock {
    position: relative; gap: 8px !important; padding-top: 0 !important;
    transform: translateY(var(--pull, 0px)); transition: transform .3s var(--spring, cubic-bezier(.2,.8,.2,1));
  }
  .dock.dragging { transition: none; }
  .dock-grab {
    display: flex; justify-content: center; align-items: center; width: 100%; height: 20px; margin: 0 0 -6px;
    padding: 0; background: none; border: 0; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent;
  }
  .dock-grab i {
    width: 42px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.22);
    transition: width .25s var(--spring, ease), background .2s;
  }
  .dock.dragging .dock-grab i { width: 64px; background: linear-gradient(90deg, #8b5cf6, #22d3ee); box-shadow: 0 0 12px rgba(139,92,246,.6); }

  /* compacta: só vender · lote · comprar, mais baixos */
  .app[data-dock="compact"] .dock-chips { display: none !important; }
  .app[data-dock="compact"] .d-trade { padding: 6px 6px 7px; border-radius: 15px; }
  .app[data-dock="compact"] .d-trade small { font-size: 9.5px; letter-spacing: 1.3px; }
  .app[data-dock="compact"] .d-trade b { font-size: 16px; }
  .app[data-dock="compact"] .d-vol { border-radius: 15px; }
  .app[data-dock="compact"] .d-vol-val b { font-size: 15px; }

  /* mínima: uma linha fina com os preços (não envia ordem — toque para abrir) */
  .app[data-dock="min"] .dock-row, .app[data-dock="min"] .dock-chips { display: none !important; }
  .app[data-dock="min"] .dock { gap: 4px !important; padding-bottom: 6px !important; }
  .app[data-dock="min"] .dock-mini { display: grid; }
  .dock-mini {
    grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; width: 100%;
    padding: 6px 12px; border-radius: 14px; touch-action: none; color: var(--text);
    background: rgba(14,20,38,.78); border: 1px solid var(--line2, rgba(255,255,255,.12));
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 26px rgba(0,0,0,.4);
  }
  .dock-mini small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); }
  .dock-mini b { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
  .dm-s { text-align: left; }
  .dm-s b { color: var(--loss); }
  .dm-b { text-align: right; }
  .dm-b b { color: var(--gain); }
  .dm-mid {
    display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #c7cdf0;
    padding: 5px 10px; border-radius: 10px; background: rgba(139,92,246,.16); border: 1px solid rgba(139,92,246,.35);
  }
  .dm-mid svg, .ps-fold svg, .focus-btn svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

  /* ---------------------------------------------------------------- faixa da posição: abre / só uma linha */
  .pos-strip .ps-main { cursor: pointer; flex: 1; min-width: 0; gap: 6px !important; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
  .pos-strip .ps-main .tag { padding: 2px 6px; font-size: 9.5px; letter-spacing: .6px; }
  .pos-strip .ps-main small { font-size: 10.5px; color: var(--muted); }
  .pos-strip .ps-nav { width: 22px; flex: none; }
  .pos-strip .ps-nav[data-ps="next"] { order: 2; }
  .ps-fold {
    display: grid; place-items: center; order: 3; flex: none; width: 30px; height: 30px; margin-left: 2px;
    border-radius: 10px; border: 1px solid var(--line2, rgba(255,255,255,.12)); background: rgba(6,9,19,.5); color: #c7cdf0;
  }
  .ps-fold svg { transition: transform .3s var(--spring, ease); }
  .pos-strip .ps-acts { order: 4 !important; }
  .pos-strip .ps-range { order: 5 !important; }
  .app.strip-folded .ps-fold svg { transform: rotate(180deg); }
  .app.strip-folded .pos-strip .ps-acts,
  .app.strip-folded .pos-strip .ps-range { display: none !important; }
  .app.strip-folded .pos-strip { padding-top: 4px; padding-bottom: 4px; }

  /* ---------------------------------------------------------------- tela cheia do gráfico */
  .focus-btn { display: grid; }
  .focus-btn .fi-close { display: none; }
  .chart-legend { left: 160px !important; }

  .app.focus[data-view="chart"] .m-top,
  .app.focus[data-view="chart"] .chart-toolbar,
  .app.focus[data-view="chart"] .banner,
  .app.focus[data-view="chart"] .dock-chips,
  .app.focus[data-view="chart"] .m-nav { display: none !important; }
  .app.focus[data-view="chart"] .chart-area { padding-top: env(safe-area-inset-top); }
  .app.focus[data-view="chart"] .dock { padding-bottom: max(10px, calc(env(safe-area-inset-bottom) - 8px)) !important; }
  .app.focus .focus-btn { color: #fff; background: linear-gradient(135deg, rgba(139,92,246,.55), rgba(34,211,238,.35)); border-color: rgba(167,139,250,.6); }
  .app.focus .focus-btn .fi-open { display: none; }
  .app.focus .focus-btn .fi-close { display: block; }
}

/* celular deitado: alça mais baixa */
@media (max-height: 500px) {
  .dock-grab { height: 14px; margin-bottom: -4px; }
  .dock-mini { padding: 4px 12px; }
}

/* ---------------------------------------------------------------- Configurações (tela Conta) */
.set-head { margin: 22px 4px 10px; font: 800 13px/1 Sora, Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.set-list { display: grid; border-radius: 20px; overflow: hidden; background: var(--glass, rgba(18,25,46,.62)); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.set-item { display: flex; align-items: center; gap: 13px; padding: 12px 14px; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer; position: relative; }
.set-item + .set-item::before { content: ""; position: absolute; top: 0; left: 60px; right: 0; height: 1px; background: rgba(255,255,255,.06); }
.set-item:active { background: rgba(255,255,255,.04); }
.set-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.set-ico svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.set-item-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.set-item-txt b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.set-item-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-chev { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }

#set-body { display: grid; gap: 10px; padding-bottom: 10px; flex-shrink: 0; }
.set-cap { margin: 8px 4px -2px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.set-card { border-radius: 16px; background: rgba(6,9,19,.45); border: 1px solid var(--line); overflow: hidden; }
.set-card > .seg { margin: 8px; width: auto !important; display: flex; }
.set-card > .seg button { flex: 1; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.set-row + .set-row { border-top: 1px solid rgba(255,255,255,.05); }
.set-row .seg { flex: none; width: auto !important; display: flex; }
.set-row .seg button { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.set-row .set-txt b { white-space: nowrap; }
.set-txt { min-width: 0; display: grid; gap: 2px; }
.set-txt b { font-size: 14px; font-weight: 700; }
.set-txt small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.set-btn { flex: none; padding: 8px 14px; border-radius: 11px; border: 0; color: #fff; font-weight: 800; font-size: 12.5px; background: var(--grad); box-shadow: 0 6px 16px rgba(99,102,241,.3); cursor: pointer; }
.set-ok { color: var(--gain); font-weight: 800; font-size: 18px; }
.set-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 2px 4px; }
.set-note a { color: var(--accent2, #22d3ee); }
.set-seg button { font-size: 12px; }
.set-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 6px; padding: 10px; }
.swatch { display: grid; justify-items: center; gap: 6px; padding: 8px 2px; border-radius: 13px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; }
.swatch i { width: 34px; height: 34px; border-radius: 50%; background: var(--g); box-shadow: 0 6px 14px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3); display: flex; overflow: hidden; }
.swatch.candle i { border-radius: 11px; background: rgba(255,255,255,.05); padding: 6px 7px; gap: 5px; align-items: stretch; }
.swatch.candle em { flex: 1; border-radius: 3px; }
.swatch.candle em:last-child { margin-top: 7px; }
.swatch small { font-size: 10.5px; font-weight: 700; }
.swatch.on { border-color: var(--line2); background: rgba(255,255,255,.04); color: var(--text); }
.swatch.on i { outline: 2px solid #fff; outline-offset: 2px; }
.set-langs { display: grid; }
.set-lang { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: none; border: 0; color: var(--text); text-align: left; font-size: 15px; cursor: pointer; }
.set-lang + .set-lang { border-top: 1px solid rgba(255,255,255,.05); }
.set-lang span { font-size: 22px; }
.set-lang b { flex: 1; font-weight: 700; }
.set-lang i { font-style: normal; color: var(--gain); font-weight: 800; }
.set-lang.on { background: var(--accent-bg); }
/* Sobre */
.ab-hero { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 12px 16px; text-align: center; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(124,92,255,.28), rgba(34,211,238,.06) 55%, transparent 75%), rgba(6,9,19,.35); border: 1px solid var(--line); }
.ab-logo { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.08); margin-bottom: 4px; }
.ab-logo svg { width: 46px; height: 46px; }
.ab-name { margin: 0; font: 800 22px/1.15 var(--display); letter-spacing: -.03em; }
.ab-name span { font-weight: 600; color: var(--muted); }
.ab-tag { margin: 0; max-width: 340px; font-size: 13px; line-height: 1.45; color: #c3c9e6; }
.ab-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.ab-chip { font: 600 11px/1 var(--mono); padding: 6px 9px; border-radius: 999px; color: #c7ccf0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ab-chip.ed { font-family: Inter, sans-serif; font-weight: 700; color: #d8ccff; background: rgba(124,92,255,.16); border-color: rgba(124,92,255,.35); }
.ab-kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; font-size: 13px; }
.ab-kv > div + div { border-top: 1px solid rgba(255,255,255,.05); }
.ab-kv span { color: var(--muted); }
.ab-kv b { font-weight: 600; text-align: right; }
.ab-kv b.ok { color: var(--gain); }
.ab-copy { justify-self: start; margin: 2px 2px 0; }
.ab-tips { display: grid; }
.ab-tip { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.ab-tip + .ab-tip { border-top: 1px solid rgba(255,255,255,.05); }
.ab-tip-ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-bg); color: #b9a8ff; }
.ab-tip-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ab-tip span { display: grid; gap: 1px; min-width: 0; }
.ab-tip b { font-size: 13.5px; }
.ab-tip small { font-size: 12px; color: var(--muted); }
.ab-legal { padding: 12px 14px; display: grid; gap: 8px; }
.ab-legal p { margin: 0; font-size: 12px; line-height: 1.55; color: #aab1d3; }
.ab-lic { border-radius: 16px; background: rgba(6,9,19,.45); border: 1px solid var(--line); overflow: hidden; }
.ab-lic summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.ab-lic summary::-webkit-details-marker { display: none; }
.ab-lic summary svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .2s; }
.ab-lic[open] summary svg { transform: rotate(180deg); }
.ab-lic ul { list-style: none; margin: 0; padding: 0 14px 6px; }
.ab-lic li { display: grid; gap: 2px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.05); }
.ab-lic li b { font-size: 12.5px; }
.ab-lic li small { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.ab-lic a { color: var(--accent2, #22d3ee); }
.ab-foot { margin: 4px 0 2px; text-align: center; font-size: 11px; color: var(--muted); opacity: .75; }
.set-about { display: grid; justify-items: center; gap: 4px; padding: 10px 0 4px; text-align: center; }
.set-logo svg { width: 58px; height: 58px; filter: drop-shadow(0 10px 22px rgba(124,92,255,.45)); }
.set-about b { font: 800 19px/1.2 Sora, Inter, sans-serif; letter-spacing: -.03em; }
.set-about small { color: var(--muted); font-size: 12px; }

/* modo privado e sem animações */
body.privacy :is(#mm-equity, #mm-pl, #ma-balance, #ma-equity, #ma-profit, #ma-day, #ma-margin, #ma-free, #mp-total, #mh-total, #m-balance, #m-equity, #m-profit, #m-day, #m-margin, #m-free, .pc-pl, .ps-main b.gain, .ps-main b.loss) {
  filter: blur(7px); transition: filter .25s; cursor: pointer;
}
body.privacy :is(#mm-equity, #mm-pl, #ma-balance, #ma-equity, #ma-profit, #ma-day, #ma-margin, #ma-free, #mp-total, #mh-total, #m-balance, #m-equity, #m-profit, #m-day, #m-margin, #m-free).peek { filter: none; }
body.no-motion *, body.no-motion *::before, body.no-motion *::after { animation: none !important; transition: none !important; }

/* ---------------------------------------------------------------- Produtos: menu, Robôs e checkout (demonstração) */
.app[data-view="robots"] #mv-robots { visibility: visible; opacity: 1; transition: opacity .16s ease; z-index: 1; animation: viewIn .32s var(--ease, ease); }
.prod-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(3,6,12,.35); }
.prod-backdrop.hidden, .prod-menu.hidden { display: none; }
.prod-menu {
  position: fixed; z-index: 45; left: 50%; transform: translateX(-50%); width: min(320px, calc(100% - 32px));
  bottom: calc(env(safe-area-inset-bottom) + 84px); display: grid; gap: 4px; padding: 6px; border-radius: 20px;
  background: rgba(16,22,40,.97); border: 1px solid var(--line2); box-shadow: 0 24px 60px rgba(0,0,0,.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: prodIn .22s var(--spring, ease);
}
@keyframes prodIn { from { opacity: 0; transform: translate(-50%, 12px) scale(.96); } }
.prod-menu::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg);
  background: rgba(16,22,40,.97); border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.prod-menu button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; }
.prod-menu button:active, .prod-menu button.on { background: rgba(255,255,255,.06); }
.prod-menu i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c); box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 45%, transparent); }
.prod-menu i svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prod-menu span { display: grid; gap: 2px; }
.prod-menu b { font: 800 15.5px/1.1 Sora, Inter, sans-serif; letter-spacing: -.02em; }
.prod-menu small { font-size: 12px; color: var(--muted); }

.bot-price { flex: none; display: grid; justify-items: end; line-height: 1.1; }
.bot-price small { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.bot-price b { font: 800 16px/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bot-state { flex: none; padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.bot-state.on { color: var(--gain); background: rgba(0,227,154,.12); border-color: rgba(0,227,154,.4); }
.bot-own { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; margin-bottom: 12px;
  background: linear-gradient(160deg, rgba(0,227,154,.14), rgba(14,20,38,.9) 60%); border: 1px solid rgba(0,227,154,.35); }
.bot-own > div { display: grid; gap: 2px; }
.bot-own b { color: var(--gain); font-size: 14px; }
.bot-own small { color: var(--muted); font-size: 12px; }
.bot-steps { display: grid; gap: 8px; }
.bot-steps > div { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; background: rgba(6,9,19,.45); border: 1px solid var(--line); }
.bot-steps i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 Sora, sans-serif; font-style: normal; color: #fff; background: var(--grad); }
.bot-steps span { display: grid; gap: 2px; }
.bot-steps b { font-size: 14px; }
.bot-steps small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.bot-cta { display: flex !important; align-items: center; gap: 12px; }
.bot-cta .rm-follow { flex: 1; }
.bot-cta-price { flex: none; display: grid; line-height: 1.1; }
.bot-cta-price small { font-size: 10px; color: var(--muted); }
.bot-cta-price b { font: 800 19px/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; }
.rm-sig-res.gain { color: var(--gain); }
.rm-sig-res.loss { color: var(--loss); }

#buy-body { display: grid; gap: 10px; padding-bottom: 12px; }
.buy-head { display: flex; align-items: center; gap: 12px; }
.buy-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.buy-plan { position: relative; display: grid; gap: 3px; justify-items: center; padding: 14px 6px 10px; border-radius: 16px; cursor: pointer;
  background: rgba(6,9,19,.45); border: 1px solid var(--line); color: var(--text); transition: all .18s; }
.buy-plan em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 9.5px; font-weight: 800;
  padding: 3px 8px; border-radius: 99px; color: #1a1300; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.buy-plan b { font-size: 13px; }
.buy-plan span { font: 800 15px/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; }
.buy-plan span small { font: 600 10px Inter, sans-serif; color: var(--muted); }
.buy-plan > small { font-size: 10.5px; color: var(--muted); }
.buy-plan.on { border-color: var(--accent); background: var(--accent-bg); box-shadow: 0 0 0 1px var(--accent), 0 10px 24px rgba(0,0,0,.35); }
.buy-methods { display: grid; gap: 8px; }
.buy-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; cursor: pointer; text-align: left;
  background: rgba(6,9,19,.45); border: 1px solid var(--line); color: var(--text); }
.buy-method i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 18px; color: #fff; }
.buy-method i.pix { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.buy-method i.card { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.buy-method span { display: grid; gap: 1px; flex: 1; }
.buy-method b { font-size: 14.5px; }
.buy-method small { font-size: 12px; color: var(--muted); }
.buy-method.on { border-color: var(--accent); background: var(--accent-bg); box-shadow: 0 0 0 1px var(--accent); }
.buy-sum { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: rgba(6,9,19,.45); border: 1px solid var(--line); }
.buy-sum > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.buy-sum > div b { color: var(--text); }
.buy-sum .tot { padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06); font-size: 15px; color: var(--text); }
.buy-sum .tot b { font: 800 18px/1.1 Sora, Inter, sans-serif; }
.buy-sum > small { text-align: right; color: var(--muted); font-size: 11.5px; }
.buy-go { width: 100%; }
.buy-cancel { width: 100%; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.buy-pix, .buy-done, .buy-proc { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 6px 0; }
.buy-pix > b, .buy-done > b { font: 800 20px/1.2 Sora, Inter, sans-serif; letter-spacing: -.03em; }
.buy-qr { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.buy-qr span { font-size: 11px; font-weight: 700; color: #64748b; }
.buy-total { display: grid; justify-items: center; }
.buy-total small { color: var(--muted); font-size: 11px; }
.buy-total b { font: 800 22px/1.1 Sora, Inter, sans-serif; }
.buy-copy { padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--line2); background: rgba(255,255,255,.03); color: var(--text); font-weight: 700; cursor: pointer; }
.buy-pix .rm-follow, .buy-done .rm-follow, .buy-pix .buy-cancel { width: 100%; }
.buy-done p { margin: 0; }
.buy-check { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; font-weight: 800; color: #04140d;
  background: var(--grad-buy, linear-gradient(135deg,#2bf5b0,#00a676)); box-shadow: 0 0 0 10px rgba(0,227,154,.12), 0 18px 40px rgba(0,201,138,.45); animation: popIn .45s var(--spring, ease); }
@keyframes popIn { from { transform: scale(.3); opacity: 0; } }
.buy-proc { padding: 40px 0; }
.buy-proc .spin { width: 42px; height: 42px; border-radius: 50%; border: 4px solid rgba(255,255,255,.12); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.buy-proc small { color: var(--muted); }
