/* ═══════════════════════════════════════════════════════════
   DEX terminal stage — special-page look for #/dex
   Dark: mint terminal chrome over Faulty Terminal WebGL bg.
   Light: white / sky-blue glass (html:not dark|voidtype).
   Loaded last so it wins over light/void theme card styles.
   ═══════════════════════════════════════════════════════════ */

#dexView{
  --dex-term-mint:#a7ef9e;
  --dex-term-mint-dim:rgba(167,239,158,.55);
  --dex-term-cyan:#7ee7ff;
  --dex-term-ink:#e8f7e4;
  --dex-term-mute:rgba(186,214,180,.62);
  --dex-term-panel:rgba(6,12,8,.78);
  --dex-term-panel-2:rgba(10,18,12,.72);
  --dex-term-line:rgba(167,239,158,.20);
  --dex-term-line-strong:rgba(167,239,158,.38);
  --dex-term-glow:0 0 28px rgba(167,239,158,.12);
  position:relative;
  /* No stage fill: the calm page gradient shows through (the animated
     Faulty Terminal background is no longer loaded). */
  background:transparent;
  overflow-x:hidden;
  isolation:isolate;
  color:var(--dex-term-ink);
}

.dex-faulty-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  background:#040806;
  min-height:100%;
}
/* Mouse parallax on empty stage areas only — UI siblings sit above at z-index:2 */
.dex-faulty-bg.is-live{pointer-events:auto}
.dex-faulty-canvas{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
}
/* CSS fallback (no-WebGL only) — animated CRT lattice, same mint / TON blue palette */
.dex-faulty-fallback{
  background-color:#040806;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(167,239,158,.12) 48%, transparent 100%),
    radial-gradient(ellipse 90% 70% at 46% 36%, rgba(167,239,158,.34), transparent 68%),
    radial-gradient(ellipse 55% 45% at 70% 68%, rgba(167,239,158,.16), transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent 0 12px,
      rgba(167,239,158,.14) 12px 13px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 8px,
      rgba(167,239,158,.10) 8px 9px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(167,239,158,.16) 0 1px,
      transparent 1px 3px
    );
  background-size:100% 180%, 140% 140%, 120% 120%, 100% 100%, 100% 100%, 100% 100%;
  background-position:0 -30%, 30% 20%, 70% 70%, 0 0, 0 0, 0 0;
  /* Fast, unmistakable crawl — phones must read motion even if WebGL fails. */
  animation:dex-term-crawl 5.5s linear infinite;
}
.dex-faulty-bg.is-light,
.dex-faulty-bg.is-light.dex-faulty-fallback{
  background-color:#f4f9fc;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(0,152,234,.12) 48%, transparent 100%),
    radial-gradient(ellipse 90% 70% at 46% 36%, rgba(0,152,234,.24), transparent 68%),
    radial-gradient(ellipse 55% 45% at 70% 68%, rgba(0,152,234,.12), transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent 0 12px,
      rgba(0,152,234,.12) 12px 13px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 8px,
      rgba(0,152,234,.08) 8px 9px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0,152,234,.12) 0 1px,
      transparent 1px 3px
    );
  background-size:100% 180%, 140% 140%, 120% 120%, 100% 100%, 100% 100%, 100% 100%;
  background-position:0 -30%, 30% 20%, 70% 70%, 0 0, 0 0, 0 0;
  animation:dex-term-crawl 5.5s linear infinite;
}
@keyframes dex-term-crawl{
  0%{
    background-position:0 -50%, 10% 5%, 90% 90%, 0 0, 0 0, 0 0;
  }
  50%{
    background-position:0 55%, 60% 50%, 35% 25%, 0 10px, 8px 0, 0 2px;
  }
  100%{
    background-position:0 160%, 95% 80%, 10% 15%, 0 20px, 16px 0, 0 4px;
  }
}
@media (prefers-reduced-motion:reduce){
  .dex-faulty-fallback,
  .dex-faulty-bg.is-light.dex-faulty-fallback{animation:dex-term-crawl 18s linear infinite}
}

#dexView > *:not(.dex-faulty-bg){
  position:relative;
  z-index:2;
}

/* ── Hero ── */
#dexView .dex-hero{
  background:rgba(6,12,8,.42);
  border:1px solid var(--dex-term-line);
  border-radius:16px;
  box-shadow:var(--dex-term-glow), inset 0 1px 0 rgba(167,239,158,.06);
  backdrop-filter:blur(14px) saturate(1.1);
  -webkit-backdrop-filter:blur(14px) saturate(1.1);
}
#dexView .dex-hero-title{
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size:clamp(22px,2.6vw,28px);
  font-weight:800;
  letter-spacing:-.4px;
  color:#f2fff0;
  text-shadow:0 0 24px rgba(167,239,158,.25);
}
#dexView .dex-hero-sub{
  color:var(--dex-term-mute);
  font-size:13px;
  max-width:48ch;
  line-height:1.45;
}
#dexView .dex-ext-btn,
#dexView .dex-ext-dsc,
#dexView .dex-ext-gecko{
  background:rgba(8,16,10,.65);
  border:1px solid var(--dex-term-line);
  color:var(--dex-term-ink);
  border-radius:10px;
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-size:11px;
  font-weight:600;
  letter-spacing:.02em;
  box-shadow:none;
}
#dexView .dex-ext-btn:hover{
  border-color:var(--dex-term-line-strong);
  background:rgba(167,239,158,.10);
  color:#fff;
  box-shadow:0 0 16px rgba(167,239,158,.12);
}

/* ── Tabs ── */
#dexView .dex-tabstrip{
  background:rgba(6,12,8,.55);
  border:1px solid var(--dex-term-line);
  border-radius:12px;
  box-shadow:inset 0 1px 0 rgba(167,239,158,.05);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
#dexView .dex-tab{
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  color:var(--dex-term-mute);
  font-weight:600;
  letter-spacing:.02em;
}
#dexView .dex-tab:hover{
  background:rgba(167,239,158,.08);
  color:var(--dex-term-ink);
}
#dexView .dex-tab.active{
  background:rgba(167,239,158,.16);
  color:var(--dex-term-mint);
  box-shadow:0 0 0 1px rgba(167,239,158,.25), 0 0 18px rgba(167,239,158,.12);
}
#dexView .dex-tab.active svg{color:var(--dex-term-mint);opacity:1}

/* ── Swap card — terminal bezel ── */
#dexView .dex-swap-card{
  background:linear-gradient(165deg, rgba(10,18,12,.88) 0%, rgba(5,10,7,.92) 100%);
  border:1px solid var(--dex-term-line-strong);
  border-radius:18px;
  box-shadow:
    var(--dex-term-glow),
    0 20px 48px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(167,239,158,.10);
  backdrop-filter:blur(18px) saturate(1.15);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);
  position:relative;
}
#dexView .dex-swap-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(167,239,158,.06), transparent 40%);
}

#dexView .dex-sc-box{
  background:rgba(0,0,0,.35);
  border:1px solid rgba(167,239,158,.16);
  border-radius:14px;
}
#dexView .dex-sc-box:focus-within{
  background:rgba(0,0,0,.45);
  border-color:rgba(167,239,158,.42);
  box-shadow:0 0 0 3px rgba(167,239,158,.10), 0 0 20px rgba(167,239,158,.08);
}
#dexView .dex-sc-box-lbl{
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  color:var(--dex-term-mint-dim);
  letter-spacing:.08em;
  font-size:10px;
}
#dexView .dex-sc-inp,
#dexView .dex-sc-out{
  color:#f4fff2;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
}
#dexView .dex-sc-inp::placeholder{color:rgba(167,239,158,.28)}
#dexView .dex-sc-box-usd,
#dexView .dex-sc-bal{color:var(--dex-term-mute)}

#dexView .dex-sc-tok{
  background:rgba(8,16,10,.85);
  border:1px solid rgba(167,239,158,.22);
  color:var(--dex-term-ink);
  box-shadow:none;
}
#dexView .dex-sc-tok:hover{
  border-color:rgba(167,239,158,.4);
  background:rgba(167,239,158,.10);
}
#dexView .dex-sc-tok-gram{
  background:linear-gradient(135deg, rgba(126,231,255,.10), rgba(167,239,158,.12));
  border-color:rgba(126,231,255,.28);
  color:#eafcff;
}
#dexView .dex-sc-tok-select{
  color:var(--dex-term-mint);
  border-color:rgba(167,239,158,.32);
  background:rgba(167,239,158,.08);
}
#dexView .dex-sc-tok-select:hover{
  background:rgba(167,239,158,.14);
  border-color:rgba(167,239,158,.5);
  color:#d8ffd0;
}
#dexView .dex-sc-tok-selected{
  background:rgba(8,16,10,.9);
  border:1px solid rgba(167,239,158,.24);
  color:var(--dex-term-ink);
  box-shadow:none;
}
#dexView .dex-sc-tok-selected:hover{
  background:rgba(167,239,158,.10);
  border-color:rgba(167,239,158,.4);
}
#dexView .dex-sc-max{
  color:var(--dex-term-mint);
  background:rgba(167,239,158,.12);
}
#dexView .dex-sc-max:hover{
  background:rgba(167,239,158,.22);
  color:#d8ffd0;
}

#dexView .dex-sc-flip{
  background:rgba(8,16,10,.9);
  border:1.5px solid rgba(167,239,158,.28);
  color:var(--dex-term-mint);
  box-shadow:0 0 16px rgba(167,239,158,.08);
}
#dexView .dex-sc-flip:hover{
  background:linear-gradient(135deg, rgba(167,239,158,.95), #7edc8a);
  background-image:linear-gradient(135deg, rgba(167,239,158,.95), #7edc8a);
  color:#041006;
  border-color:transparent;
  box-shadow:0 0 22px rgba(167,239,158,.35);
}

#dexView .dex-sc-details{
  background:rgba(0,0,0,.28);
  border:1px solid rgba(167,239,158,.14);
}
#dexView .dex-sc-det-lbl{color:var(--dex-term-mute)}
#dexView .dex-sc-det-val{color:var(--dex-term-ink)}
#dexView .dex-sc-det-sub{color:rgba(186,214,180,.45)}

#dexView .dex-sc-cta{
  background:linear-gradient(135deg, #a7ef9e 0%, #6fd68a 55%, #4ecf9a 100%);
  background-image:linear-gradient(135deg, #a7ef9e 0%, #6fd68a 55%, #4ecf9a 100%);
  color:#041006;
  border:1px solid rgba(214,255,210,.45);
  box-shadow:0 8px 28px rgba(167,239,158,.28), inset 0 1px 0 rgba(255,255,255,.25);
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
#dexView .dex-sc-cta:hover{
  box-shadow:0 12px 36px rgba(167,239,158,.4), inset 0 1px 0 rgba(255,255,255,.3);
  filter:brightness(1.04);
  color:#020804;
  transform:translateY(-1px);
}

#dexView .dex-sc-notice{
  background:rgba(0,0,0,.28);
  border:1px solid rgba(167,239,158,.12);
  color:var(--dex-term-mute);
}
#dexView .dex-sc-notice svg{color:var(--dex-term-mint)}

#dexView .dex-sc-slip.bs-trade-settings-btn,
#dexView .bs-trade-settings-btn.dex-sc-slip{
  background:rgba(0,0,0,.32);
  border:1px solid rgba(167,239,158,.16);
  color:var(--dex-term-mute);
}
#dexView .dex-sc-slip .bs-ts-label{color:var(--dex-term-mute)}
#dexView .dex-sc-slip .bs-ts-val{
  color:var(--dex-term-cyan);
  font-weight:800;
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
}

/* ── Side cards ── */
#dexView .dex-side-card{
  background:rgba(6,12,8,.62);
  border:1px solid var(--dex-term-line);
  border-radius:16px;
  box-shadow:0 12px 32px rgba(0,0,0,.28), inset 0 1px 0 rgba(167,239,158,.05);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
#dexView .dex-side-hdr{
  color:var(--dex-term-ink);
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  font-weight:700;
  letter-spacing:.02em;
}
#dexView .dex-why-title{color:var(--dex-term-ink)}
#dexView .dex-why-sub{color:var(--dex-term-mute)}
#dexView .dex-why-ico-grn{background:rgba(167,239,158,.14);color:var(--dex-term-mint)}
#dexView .dex-why-ico-blue{background:rgba(126,231,255,.12);color:var(--dex-term-cyan)}
#dexView .dex-why-ico-purple{background:rgba(167,239,158,.10);color:#b8f0ae}
#dexView .dex-why-ico-gold{background:rgba(255,210,120,.12);color:#ffd278}

#dexView .dex-fee-name{color:var(--dex-term-mute)}
#dexView .dex-fee-track{background:rgba(0,0,0,.35)}
#dexView .dex-fee-fill--lp{background:var(--dex-term-cyan)}
#dexView .dex-fee-pct{color:var(--dex-term-ink)}
#dexView .dex-fee-total{color:var(--dex-term-mint)}

/* ── Docs / article ── */
#dexView .dex-doc-sh{
  color:var(--dex-term-mint-dim);
  border-bottom-color:rgba(167,239,158,.18);
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
}
#dexView .dex-lang-toggle{
  background:rgba(0,0,0,.35);
  border-color:rgba(167,239,158,.18);
}
#dexView .dex-lang-btn{color:var(--dex-term-mute)}
#dexView .dex-lang-btn.active{
  background:rgba(167,239,158,.2);
  color:var(--dex-term-mint);
}
#dexView .dex-docs-wrap,
#dexView .dex-doc-section,
#dexView .dex-article-body{
  color:var(--dex-term-ink);
}
#dexView .dex-doc-article{
  background:rgba(6,12,8,.58);
  border:1px solid var(--dex-term-line);
  border-radius:16px;
  box-shadow:0 12px 32px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
#dexView .dex-art-p{color:rgba(220,240,215,.82);line-height:1.65}
#dexView .dex-art-p strong{color:#f2fff0}
#dexView .dex-art-p em{color:var(--dex-term-cyan)}
#dexView .dex-art-h2{
  color:var(--dex-term-mint);
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  border-top-color:rgba(167,239,158,.16);
}
#dexView .dex-art-aside,
#dexView .dex-prog-card,
#dexView .dex-art-formula,
#dexView .dex-doc-table{
  background:rgba(0,0,0,.32);
  border:1px solid var(--dex-term-line);
  border-radius:14px;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:var(--dex-term-ink);
}
#dexView .dex-art-aside-lbl,
#dexView .dex-prog-lbl,
#dexView .dex-art-formula-caption,
#dexView .dex-prog-note{color:var(--dex-term-mute)}
#dexView .dex-art-aside-val{color:var(--dex-term-ink)}
#dexView .dex-art-aside-total .dex-art-aside-lbl{color:var(--dex-term-ink)}
#dexView .dex-prog-val{color:var(--dex-term-mint)}
#dexView .dex-prog-track{background:rgba(0,0,0,.35)}
#dexView .dex-prog-fill{
  background:linear-gradient(90deg, var(--dex-term-cyan), var(--dex-term-mint));
}
#dexView .dex-doc-table thead th{
  color:var(--dex-term-mint-dim);
  background:rgba(0,0,0,.25);
  border-color:rgba(167,239,158,.14);
}
#dexView .dex-doc-table tbody td{
  color:rgba(220,240,215,.82);
  border-color:rgba(167,239,158,.10);
}
#dexView .dex-doc-table tbody tr:hover td{background:rgba(167,239,158,.06)}
#dexView .dex-art-code{
  background:rgba(0,0,0,.4);
  border:1px solid rgba(167,239,158,.16);
  color:var(--dex-term-mint);
}
#dexView .dex-art-fi-eq{color:var(--dex-term-cyan)}
#dexView .dex-doc-footer{color:var(--dex-term-mute);border-color:rgba(167,239,158,.14)}

/* Phones */
@media (max-width:768px){
  #dexView .dex-hero{
    background:rgba(6,12,8,.28);
    backdrop-filter:blur(10px) saturate(1.05);
    -webkit-backdrop-filter:blur(10px) saturate(1.05);
  }
  #dexView .dex-swap-card{
    background:rgba(6,12,8,.55);
  }
}

@media (prefers-reduced-motion: reduce){
  #dexView .dex-sc-cta:hover,
  #dexView .dex-sc-flip:hover,
  #dexView .dex-ext-btn:hover{transform:none}
}

/* ═══════════════════════════════════════════════════════════
   Light theme — airy sky-blue terminal (white / glass / TON blue)
   Keeps dark mint path above unchanged.
   ═══════════════════════════════════════════════════════════ */
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView{
  --dex-term-mint:#0098EA;
  --dex-term-mint-dim:rgba(0,152,234,.62);
  --dex-term-cyan:#3db8f5;
  --dex-term-ink:#0a1e30;
  --dex-term-mute:rgba(40,80,110,.62);
  --dex-term-panel:rgba(255,255,255,.82);
  --dex-term-panel-2:rgba(248,252,255,.88);
  --dex-term-line:rgba(0,152,234,.18);
  --dex-term-line-strong:rgba(0,152,234,.36);
  --dex-term-glow:0 0 28px rgba(0,152,234,.10);
  color:var(--dex-term-ink);
}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-hero{
  background:rgba(255,255,255,.72);
  border-color:var(--dex-term-line);
  box-shadow:var(--dex-term-glow), inset 0 1px 0 rgba(255,255,255,.9), 0 10px 28px rgba(20,70,110,.06);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-hero-title{
  color:#071828;
  text-shadow:none;
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-ext-btn,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-ext-dsc,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-ext-gecko{
  background:rgba(255,255,255,.88);
  border-color:var(--dex-term-line);
  color:var(--dex-term-ink);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-ext-btn:hover{
  border-color:var(--dex-term-line-strong);
  background:rgba(0,152,234,.08);
  color:#071828;
  box-shadow:0 0 16px rgba(0,152,234,.10);
}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-tabstrip{
  background:rgba(255,255,255,.78);
  border-color:var(--dex-term-line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 6px 18px rgba(20,70,110,.05);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-tab:hover{
  background:rgba(0,152,234,.07);
  color:var(--dex-term-ink);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-tab.active{
  background:rgba(0,152,234,.12);
  color:#0098EA;
  box-shadow:0 0 0 1px rgba(0,152,234,.22), 0 0 16px rgba(0,152,234,.08);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-tab.active svg{color:#0098EA}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-swap-card{
  background:linear-gradient(165deg, rgba(255,255,255,.94) 0%, rgba(244,249,252,.96) 100%);
  border-color:var(--dex-term-line-strong);
  box-shadow:
    var(--dex-term-glow),
    0 18px 40px rgba(20,70,110,.10),
    inset 0 1px 0 rgba(255,255,255,.95);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-swap-card::before{
  background:linear-gradient(180deg, rgba(0,152,234,.06), transparent 40%);
}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-box{
  background:rgba(0,152,234,.04);
  border-color:rgba(0,152,234,.14);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-box:focus-within{
  background:rgba(255,255,255,.95);
  border-color:rgba(0,152,234,.42);
  box-shadow:0 0 0 3px rgba(0,152,234,.10), 0 0 18px rgba(0,152,234,.08);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-inp,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-out{color:#071828}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-inp::placeholder{color:rgba(0,152,234,.32)}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok{
  background:rgba(255,255,255,.95);
  border-color:rgba(0,152,234,.18);
  color:var(--dex-term-ink);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok:hover{
  border-color:rgba(0,152,234,.36);
  background:rgba(0,152,234,.07);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok-gram{
  background:linear-gradient(135deg, rgba(0,152,234,.08), rgba(90,200,255,.10));
  border-color:rgba(0,152,234,.26);
  color:#0a2a40;
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok-select{
  color:#0098EA;
  border-color:rgba(0,152,234,.30);
  background:rgba(0,152,234,.08);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok-select:hover{
  background:rgba(0,152,234,.14);
  border-color:rgba(0,152,234,.48);
  color:#0077c2;
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok-selected{
  background:rgba(255,255,255,.96);
  border-color:rgba(0,152,234,.20);
  color:var(--dex-term-ink);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-tok-selected:hover{
  background:rgba(0,152,234,.07);
  border-color:rgba(0,152,234,.36);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-max{
  color:#0098EA;
  background:rgba(0,152,234,.10);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-max:hover{
  background:rgba(0,152,234,.18);
  color:#0077c2;
}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-flip{
  background:rgba(255,255,255,.96);
  border-color:rgba(0,152,234,.28);
  color:#0098EA;
  box-shadow:0 0 14px rgba(0,152,234,.08);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-flip:hover{
  background:linear-gradient(135deg, #0098EA, #3db8f5);
  background-image:linear-gradient(135deg, #0098EA, #3db8f5);
  color:#fff;
  border-color:transparent;
  box-shadow:0 0 22px rgba(0,152,234,.30);
}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-details{
  background:rgba(0,152,234,.04);
  border-color:rgba(0,152,234,.12);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-det-sub{color:rgba(40,80,110,.45)}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-cta{
  background:linear-gradient(135deg, #0098EA 0%, #2eb0f0 55%, #5bc4f5 100%);
  background-image:linear-gradient(135deg, #0098EA 0%, #2eb0f0 55%, #5bc4f5 100%);
  color:#fff;
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 8px 28px rgba(0,152,234,.28), inset 0 1px 0 rgba(255,255,255,.28);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-cta:hover{
  box-shadow:0 12px 36px rgba(0,152,234,.38), inset 0 1px 0 rgba(255,255,255,.35);
  color:#fff;
}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-notice{
  background:rgba(0,152,234,.04);
  border-color:rgba(0,152,234,.10);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-notice svg{color:#0098EA}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-slip.bs-trade-settings-btn,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .bs-trade-settings-btn.dex-sc-slip{
  background:rgba(255,255,255,.9);
  border-color:rgba(0,152,234,.14);
  color:var(--dex-term-mute);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-sc-slip .bs-ts-val{color:#0098EA}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-side-card{
  background:rgba(255,255,255,.78);
  border-color:var(--dex-term-line);
  box-shadow:0 12px 28px rgba(20,70,110,.07), inset 0 1px 0 rgba(255,255,255,.95);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-why-ico-grn{background:rgba(0,152,234,.10);color:#0098EA}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-why-ico-blue{background:rgba(61,184,245,.12);color:#3db8f5}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-why-ico-purple{background:rgba(0,152,234,.08);color:#2a8fd4}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-fee-track{background:rgba(0,152,234,.08)}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-fee-total{color:#0098EA}

html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-sh{
  border-bottom-color:rgba(0,152,234,.14);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-lang-toggle{
  background:rgba(255,255,255,.9);
  border-color:rgba(0,152,234,.14);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-lang-btn.active{
  background:rgba(0,152,234,.14);
  color:#0098EA;
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-article{
  background:rgba(255,255,255,.78);
  border-color:var(--dex-term-line);
  box-shadow:0 12px 28px rgba(20,70,110,.07);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-p{color:rgba(10,30,48,.78)}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-p strong{color:#071828}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-h2{
  color:#0098EA;
  border-top-color:rgba(0,152,234,.12);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-aside,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-prog-card,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-formula,
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-table{
  background:rgba(255,255,255,.88);
  border-color:var(--dex-term-line);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-prog-val{color:#0098EA}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-prog-track{background:rgba(0,152,234,.08)}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-prog-fill{
  background:linear-gradient(90deg, #3db8f5, #0098EA);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-table thead th{
  color:rgba(0,152,234,.72);
  background:rgba(0,152,234,.05);
  border-color:rgba(0,152,234,.12);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-table tbody td{
  color:rgba(10,30,48,.78);
  border-color:rgba(0,152,234,.08);
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-table tbody tr:hover td{background:rgba(0,152,234,.05)}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-code{
  background:rgba(0,152,234,.05);
  border-color:rgba(0,152,234,.14);
  color:#0077c2;
}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-art-fi-eq{color:#0098EA}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView .dex-doc-footer{border-color:rgba(0,152,234,.12)}
