html body > .tickers{display:flex!important;align-items:stretch!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 0 0 12px!important;background:#000!important;border:0!important;border-bottom:1px solid #2a2a30!important;overflow:hidden!important;position:static!important;box-shadow:none!important}
html body > .tickers .tickers-track{display:flex!important;align-items:stretch!important;height:auto!important;gap:0!important;background-image:none!important;animation:tk-mob 80s linear infinite!important}
html body > .tickers .tk{width:auto!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;padding:9px 11px!important;border:0!important;position:relative!important;background:none!important;align-self:stretch!important;white-space:nowrap!important}
html body > .tickers .tk .ic{width:14px!important;height:14px!important;flex:0 0 14px!important;font-size:8px!important}
html body > .tickers .tk b{font-size:10.5px!important;line-height:1.1!important}
html body > .tickers .tk .px{width:auto!important;display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:5px!important;margin:0!important;line-height:1.1!important}
html body > .tickers .tk .px .v{font-size:10.5px!important;font-weight:600!important;line-height:1.1!important}
html body > .tickers .tk .px em{font-size:9.5px!important;line-height:1.1!important;margin:0!important}
html body > .tickers .tk::after{content:""!important;position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:1px!important;background:rgba(255,255,255,.09)!important}
@media (max-width:980px){
body{padding-bottom:calc(56px + env(safe-area-inset-bottom))!important}
.robot-float{display:none!important}
html body > .tickers{padding-left:8px!important}
html body .side{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;height:auto!important;width:100%!important;display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0!important;border-right:0!important;border-bottom:0!important;border-top:1px solid #2a2a30!important;background:#0a0a0b!important;z-index:60!important;scrollbar-width:none}
html body .side .navbox{display:flex!important;flex-direction:row!important;gap:0!important;width:max-content!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body .side .sep,html body .side .brand,html body .side .robot-card,html body .side .nav-tag{display:none!important}
html body .side a{flex:0 0 auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;padding:13px 9px!important;border-radius:0!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important;color:#c4c4d0!important;background:transparent!important;box-shadow:none!important}
html body .side a .ico,html body .side a .ico svg{display:block!important;width:14px!important;height:14px!important;filter:none!important}
html body .side a.on{color:#fff!important;border-bottom:2px solid #8b5cf6!important}
}

/* ticker: body is a flex column, so the band was being shrunk to fit and clipped */
html body > .tickers{flex:0 0 auto!important;min-height:36px!important;position:relative!important;z-index:2!important}
html body .main{margin-top:0!important}
html body .shell{margin-top:0!important}

/* breathing room under the band */
html body > .tickers{margin-bottom:14px!important}
@media (max-width:980px){html body .main{padding-top:6px!important}}
/* value card: dash borderless, stake boxed, perp single screen */
@media (max-width:980px){
html body .main .panel.on{border:0!important;margin-top:34px!important}
html body .main #p-stake.panel.on{border:1px solid rgba(255,255,255,.1)!important;padding:16px!important}
html body .main #p-stake.panel.on .card{margin-left:0!important;margin-right:0!important}
html body .main .panel.on > .grid > div > .card.rainbow{filter:drop-shadow(0 6px 12px rgba(0,0,0,.6))!important}

html body:has(#p-perps.panel.on) .main{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;padding:10px 14px!important;background:#000!important}
html body:has(#p-perps.panel.on) .main > .grid,
html body:has(#p-perps.panel.on) .main > .grid > div{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;background:#000!important}

html body #p-perps.panel.on{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:14px 15px!important;border:2px solid rgba(255,255,255,.2)!important;border-radius:14px!important;background:#000!important;overflow:hidden!important;box-shadow:0 0 0 1px rgba(255,255,255,.05),0 0 26px -14px rgba(139,92,246,.6)!important}
html body #p-perps.panel.on *{position:static!important;inset:auto!important;grid-area:auto!important;grid-row:auto!important;grid-column:auto!important;min-height:0!important;max-height:none!important;height:auto!important;box-shadow:none!important;margin-top:0!important;margin-bottom:0!important}
html body #p-perps.panel.on .pp{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:100%!important;width:100%!important;min-width:0!important;min-height:0!important;gap:6px!important;background:#000!important}
html body #p-perps.panel.on .card{border:0!important;border-radius:0!important;background:#000!important;margin:0!important;padding:0!important;filter:none!important;min-width:0!important;width:100%!important}

html body #p-perps.panel.on .pp-about,
html body #p-perps.panel.on .pp-mk-filter,
html body #p-perps.panel.on .pp-mk-foot,
html body #p-perps.panel.on .pp-fill,
html body #p-perps.panel.on .pp-exp > *:not(.pp-exp-l):not(.pp-exp-r){display:none!important}

html body #p-perps.panel.on .pp-mk-card{order:-1!important;flex:0 0 auto!important;padding-bottom:6px!important;border-bottom:1px solid rgba(255,255,255,.07)!important;width:100%!important;min-width:0!important;background:#000!important}
html body #p-perps.panel.on .pp-mk-head{margin:0 0 5px!important;font-size:8.5px!important;letter-spacing:.16em!important;text-transform:uppercase!important;opacity:.5!important;line-height:1!important}
html body #p-perps.panel.on .pp-mk-count{font-size:8.5px!important;opacity:.4!important}
html body #p-perps.panel.on .pp-mk{display:flex!important;flex-direction:row!important;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important;width:100%!important;min-width:0!important;overflow:hidden!important;background:#000!important}
html body #p-perps.panel.on .pp-mk li{flex:1 1 0!important;min-width:0!important;width:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;padding:5px 3px!important;border-radius:8px!important;border:1px solid rgba(255,255,255,.1)!important;overflow:hidden!important;background:#000!important}
html body #p-perps.panel.on .pp-mk li.on{background:#000!important;border-color:#4b3a86!important;box-shadow:inset 0 0 0 1px #4b3a86!important}
html body #p-perps.panel.on .pp-mk-ic{display:none!important}
html body #p-perps.panel.on .pp-mk b{font-size:9.5px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
html body #p-perps.panel.on .pp-mk .sub{display:none!important}
html body #p-perps.panel.on .pp-mk-r{font-size:9.5px!important;text-align:center!important;line-height:1.15!important;white-space:nowrap!important}
html body #p-perps.panel.on .pp-mk-r em{display:block!important;font-size:8px!important;font-style:normal!important}

html body #p-perps.panel.on .pp-mid{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;min-width:0!important;gap:5px!important;background:#000!important}
html body #p-perps.panel.on .pp-chart-card{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:110px!important;overflow:hidden!important;gap:0!important;background:#000!important}

html body #p-perps.panel.on .pp-pos{order:-1!important;display:flex!important;flex-direction:column!important;flex:0 0 auto!important;gap:4px!important;min-width:0!important;height:50px!important;min-height:50px!important;max-height:50px!important;overflow:hidden!important;background:#000!important}
html body #p-perps.panel.on .pp-tabs{display:flex!important;gap:4px!important;height:26px!important;min-height:26px!important;margin:0!important;padding:0!important;flex:0 0 auto!important;background:#000!important}
html body #p-perps.panel.on .pp-tabs button{flex:1 1 0!important;height:100%!important;font-size:10px!important;font-weight:600!important;border-radius:7px!important;border:1px solid rgba(255,255,255,.12)!important;background:#000!important;color:#9aa39a!important;padding:0!important;margin:0!important}
html body #p-perps.panel.on .pp-tabs button.on{background:#000!important;border-color:#4b3a86!important;color:#fff!important}

html body #p-perps.panel.on .pp-tbl{display:block!important;height:19px!important;min-height:19px!important;max-height:19px!important;overflow-y:auto!important;overflow-x:auto!important;min-width:0!important;flex:0 0 auto!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;overscroll-behavior:contain!important;background:#000!important}
html body #p-perps.panel.on .pp-tbl::-webkit-scrollbar{display:none!important}
html body #p-perps.panel.on .pp-tbl table{width:100%!important;border-collapse:collapse!important;font-size:9px!important;table-layout:auto!important;background:#000!important}
html body #p-perps.panel.on .pp-tbl thead,html body #p-perps.panel.on .pp-tbl tbody{display:table!important;width:100%!important;background:#000!important}
html body #p-perps.panel.on .pp-tbl th,html body #p-perps.panel.on .pp-tbl td{padding:2px 5px!important;white-space:nowrap!important;font-size:9px!important;line-height:15px!important;height:15px!important;max-height:15px!important;text-align:left!important;background:#000!important}
html body #p-perps.panel.on .pp-tbl th{font-weight:400!important;opacity:.5!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.06em!important}
html body #p-perps.panel.on .pp-tbl td:first-child,html body #p-perps.panel.on .pp-tbl th:first-child{padding-left:0!important}
html body #p-perps.panel.on .pp-tbl td:last-child,html body #p-perps.panel.on .pp-tbl th:last-child{padding-right:0!important;text-align:right!important}
html body #p-perps.panel.on .pp-side{font-size:8px!important;padding:1px 4px!important;border-radius:3px!important;margin-left:4px!important;font-style:normal!important;background:#000!important;border:1px solid rgba(255,255,255,.2)!important}
html body #p-perps.panel.on .pp-side.l{background:#000!important;border-color:rgba(22,199,132,.55)!important;color:#16c784!important}
html body #p-perps.panel.on .pp-side.s{background:#000!important;border-color:rgba(239,75,63,.55)!important;color:#ef4b3f!important}
html body #p-perps.panel.on .sx{font-size:8px!important;padding:1px 5px!important;border-radius:4px!important;border:1px solid rgba(255,255,255,.16)!important;background:#000!important;color:#cfd6cf!important}
html body #p-perps.panel.on .pp-empty{font-size:9px!important;opacity:.45!important;padding:2px 0!important;margin:0!important;line-height:15px!important;height:15px!important;background:#000!important}

html body #p-perps.panel.on .pp-ck-top{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-height:24px!important;margin:0 0 4px!important;overflow:visible!important;background:#000!important}
html body #p-perps.panel.on .pp-badge{width:18px!important;height:18px!important;flex:0 0 auto!important;overflow:visible!important;display:flex!important;align-items:center!important;margin:0!important;background:#000!important}
html body #p-perps.panel.on .pp-badge-ic{width:18px!important;height:18px!important;border-radius:4px!important;display:block!important}
html body #p-perps.panel.on .pp-ck-id{display:flex!important;flex-direction:column!important;justify-content:center!important;margin:0!important}
html body #p-perps.panel.on .pp-ck-id b{font-size:11px!important;letter-spacing:.05em!important;line-height:1.2!important;margin:0!important}
html body #p-perps.panel.on .pp-ck-id span{font-size:9px!important;opacity:.55!important;line-height:1.2!important;display:block!important;margin:0!important}
html body #p-perps.panel.on .pp-share{width:20px!important;height:20px!important;padding:0!important;margin:0 0 0 auto!important;border:0!important;background:#000!important;flex:0 0 auto!important}
html body #p-perps.panel.on .pp-share svg{width:13px!important;height:13px!important}
html body #p-perps.panel.on .pp-price{font-size:21px!important;line-height:1.05!important;font-weight:700!important;letter-spacing:-.02em!important;flex:0 0 auto!important;margin:0!important}
html body #p-perps.panel.on .pp-px-row{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-height:20px!important;margin:4px 0 0!important;background:#000!important}
html body #p-perps.panel.on .pp-delta{font-size:9.5px!important;line-height:1!important;margin:0!important}
html body #p-perps.panel.on .pp-tf2{display:flex!important;gap:3px!important;margin:0 0 0 auto!important;background:#000!important}
html body #p-perps.panel.on .pp-tf2 button{height:18px!important;padding:0 6px!important;font-size:9px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:5px!important;background:#000!important;color:#9aa39a!important;margin:0!important}
html body #p-perps.panel.on .pp-tf2 button.on{background:#16c784!important;border-color:#16c784!important;color:#04120a!important;font-weight:700!important}

html body #p-perps.panel.on .pp-line{position:relative!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;margin:5px 0 0!important;padding:0!important;display:flex!important;background:#000!important}
html body #p-perps.panel.on #ppChart{display:block!important;width:100%!important;height:100%!important;min-height:0!important;position:relative!important;overflow:hidden!important;background:#000!important}
html body #p-perps.panel.on #ppChart canvas,html body #p-perps.panel.on #ppChart svg{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
html body #p-perps.panel.on .pp-line > svg{display:none!important}
html body #p-perps.panel.on .pp-dot{display:none!important}
html body #p-perps.panel.on .pp-tools{display:flex!important;gap:4px!important;position:absolute!important;right:0!important;bottom:0!important;z-index:3!important}
html body #p-perps.panel.on .pp-tools button{width:22px!important;height:22px!important;padding:0!important;border-radius:6px!important;border:1px solid rgba(255,255,255,.16)!important;background:#000!important;color:#9aa39a!important;display:grid!important;place-items:center!important;margin:0!important}
html body #p-perps.panel.on .pp-tools button svg{width:12px!important;height:12px!important;display:block!important}

html body #p-perps.panel.on .pp-ticket{order:1!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px 12px!important;align-items:start!important;padding-top:7px!important;border-top:1px solid rgba(255,255,255,.08)!important;margin:0!important;width:100%!important;min-width:0!important;background:#000!important}
html body #p-perps.panel.on .pp-ticket > *{grid-column:1 / -1!important;min-width:0!important}
html body #p-perps.panel.on .pp-rule{display:none!important}
html body #p-perps.panel.on .pp-ticket .pp-block{grid-column:auto!important;border-top:1px solid rgba(255,255,255,.07)!important;padding-top:6px!important;background:#000!important}
html body #p-perps.panel.on .pp-avail{display:flex!important;align-items:center!important;gap:4px!important;font-size:9.5px!important;opacity:.85!important;margin:0!important;background:#000!important}
html body #p-perps.panel.on .pp-avail b{font-size:10.5px!important;font-weight:600!important}
html body #p-perps.panel.on .pp-coin{width:12px!important;height:12px!important;flex:0 0 auto!important;opacity:1!important;display:block!important}
html body #p-perps.panel.on .pp-coin.lg{width:15px!important;height:15px!important}

html body #p-perps.panel.on .pp-dir{display:flex!important;gap:3px!important;padding:3px!important;height:28px!important;border-radius:999px!important;background:#000!important;border:1px solid rgba(255,255,255,.14)!important;margin:0!important}
html body #p-perps.panel.on .pp-dir button{flex:1 1 0!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:999px!important;background:#000!important;color:#9aa39a!important;font-size:11px!important;font-weight:600!important;padding:0!important;margin:0!important}
html body #p-perps.panel.on .pp-dir button.on{background:#16c784!important;color:#04120a!important}

html body #p-perps.panel.on .pp-block{display:flex!important;flex-direction:column!important;gap:0!important;margin:0!important;background:#000!important}
html body #p-perps.panel.on .pp-cap{display:block!important;font-size:8.5px!important;opacity:.5!important;line-height:1.4!important;margin:0!important}
html body #p-perps.panel.on .pp-amt,html body #p-perps.panel.on .pp-mult{display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;margin:0!important;line-height:1!important;min-height:20px!important;background:#000!important}
html body #p-perps.panel.on .pp-amt svg,html body #p-perps.panel.on .pp-mult svg{align-self:center!important;flex:0 0 auto!important;margin:0!important;display:block!important}
html body #p-perps.panel.on .pp-amt b,html body #p-perps.panel.on .pp-mult b{font-size:15px!important;line-height:1!important;font-weight:700!important;margin:0!important}
html body #p-perps.panel.on .pp-bolt{font-size:10px!important;line-height:1!important}
html body #p-perps.panel.on .pp-slider{-webkit-appearance:none!important;appearance:none!important;width:100%!important;height:3px!important;border-radius:2px!important;background:#2b2b2b!important;margin:5px 0 0!important;border:0!important}
html body #p-perps.panel.on .pp-slider::-webkit-slider-thumb{-webkit-appearance:none!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#fff!important;border:0!important}
html body #p-perps.panel.on .pp-grad{background:linear-gradient(90deg,#16c784,#c8d13a,#e8a33d,#ef4b3f)!important}

html body #p-perps.panel.on .pp-exp{display:flex!important;align-items:center!important;gap:4px!important;font-size:9.5px!important;margin:0!important;background:#000!important}
html body #p-perps.panel.on .pp-exp-l{opacity:.5!important}
html body #p-perps.panel.on .pp-exp-r{margin:0 0 0 auto!important;display:flex!important;align-items:center!important;gap:4px!important}
html body #p-perps.panel.on .pp-exp-r b{font-size:11px!important;font-weight:600!important}
html body #p-perps.panel.on .pp-fee{display:flex!important;align-items:center!important;font-size:9.5px!important;margin:0!important;background:#000!important}
html body #p-perps.panel.on .pp-fee b{margin:0 0 0 auto!important;font-size:11px!important;font-weight:600!important}

html body #p-perps.panel.on .pp-ticket > button{width:100%!important;height:34px!important;border-radius:9px!important;border:0!important;background:#16c784!important;color:#04120a!important;font-size:12px!important;font-weight:700!important;margin:0!important;grid-column:1 / -1!important}
}



/* swap: hold position, no page scroll */
@media (max-width:980px){
html body:has(#p-swap.panel.on) .main{overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:0!important}
html body #p-swap.panel.on{flex:0 0 auto!important;margin-bottom:0!important;max-height:100%!important}
}


/* black pass: pitch black inside the perp casing only, buttons keep a fill */
@media (max-width:980px){
html body #p-perps.panel.on *{background-color:transparent!important}
html body #p-perps.panel.on,
html body #p-perps.panel.on .pp,
html body #p-perps.panel.on .card,
html body #p-perps.panel.on .pp-mk-card,
html body #p-perps.panel.on .pp-mid,
html body #p-perps.panel.on .pp-chart-card,
html body #p-perps.panel.on .pp-line,
html body #p-perps.panel.on #ppChart,
html body #p-perps.panel.on .pp-pos,
html body #p-perps.panel.on .pp-tabs,
html body #p-perps.panel.on .pp-tbl,
html body #p-perps.panel.on .pp-tbl table,
html body #p-perps.panel.on .pp-tbl thead,
html body #p-perps.panel.on .pp-tbl tbody,
html body #p-perps.panel.on .pp-tbl tr,
html body #p-perps.panel.on .pp-tbl th,
html body #p-perps.panel.on .pp-tbl td,
html body #p-perps.panel.on .pp-ck-top,
html body #p-perps.panel.on .pp-badge,
html body #p-perps.panel.on .pp-badge-ic,
html body #p-perps.panel.on .pp-mk,
html body #p-perps.panel.on .pp-mk li,
html body #p-perps.panel.on .pp-px-row,
html body #p-perps.panel.on .pp-ticket,
html body #p-perps.panel.on .pp-block,
html body #p-perps.panel.on .pp-avail,
html body #p-perps.panel.on .pp-dir,
html body #p-perps.panel.on .pp-dir button,
html body #p-perps.panel.on .pp-tools,
html body #p-perps.panel.on .pp-tools button,
html body #p-perps.panel.on .pp-share,
html body #p-perps.panel.on .pp-exp,
html body #p-perps.panel.on .pp-fee{background:#000!important}
html body #p-perps.panel.on .pp-slider{background:#000!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important}
html body #p-perps.panel.on .pp-slider::-webkit-slider-thumb{background:#fff!important}
html body #p-perps.panel.on .pp-grad{background:linear-gradient(90deg,#16c784,#c8d13a,#e8a33d,#ef4b3f)!important;background-color:transparent!important}
html body #p-perps.panel.on .pp-mk li.on{background:#000!important;border-color:#4b3a86!important}
html body #p-perps.panel.on .pp-tabs button.on{background:#000!important;border-color:#4b3a86!important;color:#fff!important}
html body #p-perps.panel.on .pp-side.l{background:#000!important;color:#16c784!important;border:1px solid rgba(22,199,132,.5)!important}
html body #p-perps.panel.on .pp-side.s{background:#000!important;color:#ef4b3f!important;border:1px solid rgba(239,75,63,.5)!important}
html body #p-perps.panel.on .pp-tools button{background:#000!important;border-color:rgba(255,255,255,.22)!important}
html body #p-perps.panel.on .pp-dir button.on{background:#16c784!important;color:#04120a!important}
html body #p-perps.panel.on .pp-tf2 button.on{background:#16c784!important;border-color:#16c784!important;color:#04120a!important}
html body #p-perps.panel.on .pp-ticket > button{background:#16c784!important;color:#04120a!important}
}



/* black pass 2: kill the last grey hairlines */
@media (max-width:980px){
html body #p-perps.panel.on .pp-mk li{border-color:rgba(255,255,255,.07)!important}
html body #p-perps.panel.on .pp-mk li.on{border-color:#4b3a86!important}
html body #p-perps.panel.on .pp-tabs button{border-color:rgba(255,255,255,.07)!important}
html body #p-perps.panel.on .pp-tabs button.on{border-color:#4b3a86!important}
html body #p-perps.panel.on .pp-tf2 button{border-color:rgba(255,255,255,.07)!important}
html body #p-perps.panel.on .pp-tf2 button.on{border-color:#16c784!important}
html body #p-perps.panel.on .pp-dir{border-color:rgba(255,255,255,.07)!important}
html body #p-perps.panel.on .pp-tools button{border-color:rgba(255,255,255,.07)!important;background:#000!important}
html body #p-perps.panel.on .pp-ticket{border-top-color:rgba(255,255,255,.06)!important}
html body #p-perps.panel.on .pp-ticket .pp-block{border-top-color:rgba(255,255,255,.06)!important}
html body #p-perps.panel.on .pp-mk-card{border-bottom-color:rgba(255,255,255,.06)!important}
html body #p-perps.panel.on .pp-side{border-color:rgba(255,255,255,.07)!important}
html body #p-perps.panel.on .sx{border-color:rgba(255,255,255,.07)!important}
html body #p-perps.panel.on .pp-share{border:0!important}
html body #p-perps.panel.on .pp-slider{background:#111!important;box-shadow:none!important}
html body #p-perps.panel.on .pp-slider::-webkit-slider-thumb{background:#fff!important}
}



/* black pass 3: kill skin gradient overlays and pseudo-element sheen */
@media (max-width:980px){
html body #p-perps.panel.on *{background-image:none!important}
html body #p-perps.panel.on .card::after,
html body #p-perps.panel.on .card::before,
html body #p-perps.panel.on .panel::after,
html body #p-perps.panel.on .panel::before,
html body #p-perps.panel.on .pp *::after,
html body #p-perps.panel.on .pp *::before{background:none!important;background-image:none!important;box-shadow:none!important;border:0!important}
html body #p-perps.panel.on .card{background:#000!important;box-shadow:none!important}
html body #p-perps.panel.on .pp-grad{background:linear-gradient(90deg,#16c784,#c8d13a,#e8a33d,#ef4b3f)!important;background-image:linear-gradient(90deg,#16c784,#c8d13a,#e8a33d,#ef4b3f)!important}
html body #p-perps.panel.on .pp-slider::-webkit-slider-thumb{background:#fff!important;background-image:none!important}
html body #p-perps.panel.on .pp-dir button.on{background:#16c784!important;background-image:none!important}
html body #p-perps.panel.on .pp-tf2 button.on{background:#16c784!important;background-image:none!important}
html body #p-perps.panel.on .pp-ticket > button{background:#16c784!important;background-image:none!important}
}



/* black pass 4: grey casing border */
@media (max-width:980px){
html body #p-perps.panel.on{border-color:#6e6e6e!important}
}



/* black pass 5: no casing border */
@media (max-width:980px){
html body #p-perps.panel.on{border:0!important}
}



/* black pass 6: no casing glow */
@media (max-width:980px){
html body #p-perps.panel.on{box-shadow:none!important}
}



/* black pass 7: nudge content up a hair */
@media (max-width:980px){
html body:has(#p-perps.panel.on) .main{padding:6px 14px 10px!important}
html body #p-perps.panel.on{padding:9px 15px 14px!important}
}



/* black pass 8: short side turns red */
@media (max-width:980px){
html body #p-perps.panel.on .pp-dir button.on{background:#16c784!important;background-image:none!important;color:#04120a!important}
html body #p-perps.panel.on .pp-dir button:last-child.on{background:#ef4b3f!important;color:#fff!important}
}



/* black pass 9: one bright green across every green accent */
@media (max-width:980px){
html body #p-perps.panel.on .pp-dir button.on{background:#1ee08a!important;background-image:none!important;color:#04120a!important}
html body #p-perps.panel.on .pp-tf2 button.on{background:#1ee08a!important;background-image:none!important;border-color:#1ee08a!important;color:#04120a!important}
html body #p-perps.panel.on .pp-ticket > button{background:#1ee08a!important;background-image:none!important;color:#04120a!important}
html body #p-perps.panel.on .pp-side.l{color:#1ee08a!important;border-color:rgba(30,224,138,.55)!important}
html body #p-perps.panel.on .pp-grad{background-image:linear-gradient(90deg,#1ee08a,#c8d13a,#e8a33d,#ef4b3f)!important}
}



/* perp green: one bright mint accent, all widths */
html body #p-perps.panel.on .pp-dir button.on{background:#4ade80!important;background-image:none!important;color:#04120a!important}
html body #p-perps.panel.on .pp-tf2 button.on{background:#4ade80!important;background-image:none!important;border-color:#4ade80!important;color:#04120a!important}
html body #p-perps.panel.on .pp-ticket > button{background:#4ade80!important;background-image:none!important;color:#04120a!important}
html body #p-perps.panel.on .pp-side.l{color:#4ade80!important;border-color:rgba(74,222,128,.55)!important}
html body #p-perps.panel.on .pp-grad{background-image:linear-gradient(90deg,#4ade80,#c8d13a,#e8a33d,#ef4b3f)!important}
html body #p-perps.panel.on .pp-dir button:last-child.on{background:#ef4b3f!important;color:#fff!important}



/* swap pad: symmetric top and bottom */
@media (max-width:980px){
html body #p-swap.panel.on{margin-top:0!important;margin-bottom:0!important}
html body:has(#p-swap.panel.on) .main{padding:20px 16px 16px!important;justify-content:flex-start!important}
}



/* swap pad 2: equal on all four sides */
@media (max-width:980px){
html body:has(#p-swap.panel.on) > .tickers{margin-bottom:0!important}
html body:has(#p-swap.panel.on) .main{padding:16px!important}
html body #p-swap.panel.on{margin:0!important}
}



/* swap pad 3: centre the casing so both gaps are identical */
@media (max-width:980px){
html body:has(#p-swap.panel.on) .main{justify-content:center!important;align-items:stretch!important;padding:16px!important}
html body #p-swap.panel.on{margin:0!important}
}



/* dash gap: smaller space above the value card */
@media (max-width:980px){
html body #p-dash.panel.on{margin-top:14px!important}
}



/* dash bottom: match the space above the value card */
@media (max-width:980px){
html body:has(#p-dash.panel.on) .main{padding-bottom:34px!important}
html body #p-dash.panel.on{margin-bottom:0!important}
}



/* ticker lip: no gap, grey hairline like the band top */
@media (max-width:980px){
html body > .tickers{margin-bottom:0!important;border-bottom:1px solid #2a2a30!important}
html body #p-dash.panel.on{margin-top:14px!important}
}



/* dash gaps: one uniform break between every card */
@media (max-width:980px){
html body #p-dash .card{margin-top:0!important;margin-bottom:24px!important}
html body #p-dash .card:last-child{margin-bottom:0!important}
html body #p-dash #resCard{margin-bottom:24px!important}
}



/* dash stats gap: same break above and below the six boxes */
@media (max-width:980px){
html body #p-dash .stats{margin-top:24px!important;margin-bottom:24px!important}
html body #p-dash .card.rainbow{margin-bottom:0!important}
html body #p-dash .stats + .card{margin-top:0!important}
}



/* deposit sheet: constant height, the asset list scrolls inside it */
@media (max-width:980px){
html body .dep-sheet{height:600px!important;max-height:86vh!important;overflow-y:auto!important;overflow-x:hidden!important}
html body .dep-sheet .dep-list{max-height:190px!important;overflow-y:auto!important;overscroll-behavior:contain!important}
html body .dep-sheet .dep-head{position:sticky!important;top:0!important;z-index:6!important;background:#000!important}
html body .dep-sheet .dep-x{position:static!important}
}



/* popouts grey: lighter surfaces, no stray frames, no safe line */
html body .dep-sheet,html body .dep-sheet *,
html body .wd-sheet,html body .wd-sheet *{background-color:#2a2a33!important}
html body .dep-sheet .dep-qr,html body .dep-sheet .dep-addr code,html body .dep-sheet .dep-copy,
html body .wd-sheet .wd-addr code,html body .wd-sheet .wd-copy{background-color:#34343f!important}
html body .dep-sheet .dep-addr,html body .dep-sheet .dep-status,
html body .wd-sheet .wd-addr,html body .wd-sheet .wd-status{border:0!important;background:transparent!important}
html body .dep-sheet .dep-safe,html body .wd-sheet .wd-safe{display:none!important}
html body .dep-overlay,html body .wd-overlay{background:rgba(10,10,14,.72)!important}
/* dep head: no black band */
html body .dep-sheet .dep-head{background:#2a2a33!important;background-image:none!important;border-bottom:0!important}
html body .wd-sheet .wd-head{background:#2a2a33!important;background-image:none!important}

/* dep foot: even spacing, copy pill */
html body .dep-sheet .dep-quote{margin:0 0 12px!important;padding:0!important;min-height:0!important;line-height:1.45!important}
html body .dep-sheet .dep-status{margin:0 0 12px!important;line-height:1.45!important}
html body .dep-sheet .dep-status .pulse{background:#cbb9ff!important;opacity:.75!important;flex:0 0 7px!important}
html body .dep-sheet .dep-warn{margin-top:0!important}
html body .dep-sheet .dep-copy{background:rgba(139,92,246,.14)!important;background-image:none!important;border:1px solid rgba(139,92,246,.5)!important;color:#cbb9ff!important;border-radius:99px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase!important;padding:0 14px!important}
html body .dep-sheet .dep-copy.done{background:rgba(74,222,128,.16)!important;border-color:rgba(74,222,128,.55)!important;color:#4ade80!important}

/* dep asset: black pill and list */
html body .dep-sheet .dep-row{background:#000!important;background-image:none!important}
html body .dep-sheet .dep-list{background:#000!important;background-image:none!important}
html body .dep-sheet .dep-opt{background:#000!important;background-image:none!important}
html body .dep-sheet .dep-opt:hover{background:#16161c!important}
html body .dep-sheet .dep-group{background:#000!important}
html body .dep-sheet .dep-lg{background:rgba(255,255,255,.07)!important}

/* dep text: no grey boxes behind labels */
html body .dep-sheet .dep-lbl,html body .dep-sheet .dep-cur,html body .dep-sheet .dep-group,html body .dep-sheet .dep-opt .s,html body .dep-sheet .dep-opt .n,html body .dep-sheet .dep-head h2,html body .dep-sheet .dep-x,html body .dep-sheet .dep-hint,html body .dep-sheet .dep-quote,html body .dep-sheet .dep-status,html body .dep-sheet .dep-warn,html body .dep-sheet .dep-addr code span{background:transparent!important;background-image:none!important}

/* dash: no wrapper boxes on stats, ref link, ref stats */
html body #p-dash .stats{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;padding:0!important}
html body #p-dash .addr{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;padding:0!important}
html body #p-dash .addr code{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
html body #p-dash .ref-stats > div{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;padding:0!important}

/* dash: ref stats strip itself */
html body #p-dash .ref-stats{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;padding:0!important}
html body #p-dash .ref-stats > div + div{border-left:0!important}

/* dash: ref stat pills match claim button */
html body #p-dash .ref-stats > div{background:transparent!important;background-image:none!important;border:1px solid rgba(120,205,255,.95)!important;border-radius:12px!important;padding:10px 12px!important;color:#bfe6ff!important;font-weight:600!important;text-shadow:0 0 12px rgba(120,205,255,.65)!important;box-shadow:0 0 24px -4px rgba(120,205,255,.95),0 16px 34px -18px rgba(120,205,255,.95)!important}
html body #p-dash .ref-stats > div .lbl{color:rgba(191,230,255,.7)!important;text-shadow:none!important}
html body #p-dash .ref-stats > div b{color:#bfe6ff!important}

/* dash: one flat spec for ref pills, link, copy, claim */
html body #p-dash .ref-stats > div,html body #p-dash .addr code,html body #p-dash .addr .btn,html body #p-dash #rwOut{background:#0a0a0b!important;background-image:none!important;border:1px solid rgba(120,205,255,.95)!important;border-radius:8px!important;color:#bfe6ff!important;font-weight:700!important;text-shadow:none!important;box-shadow:none!important}
html body #p-dash .ref-stats > div{padding:9px 12px!important;font-size:12.5px!important}
html body #p-dash .addr code{padding:10px 12px!important;font-size:12px!important}
html body #p-dash .addr .btn{padding:9px 15px!important;font-size:12.5px!important}
html body #p-dash .ref-stats > div .lbl{color:rgba(191,230,255,.6)!important;text-shadow:none!important}

/* dash: ref controls match the deposit btn */
html body #p-dash .ref-stats > div,html body #p-dash .addr code,html body #p-dash .addr .btn,html body #p-dash #rwOut{background:#17181b!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;color:#f2f3f5!important;font-weight:500!important;font-size:13px!important;text-shadow:none!important;box-shadow:none!important}
html body #p-dash .ref-stats > div{padding:12px 14px!important}
html body #p-dash .addr code{padding:12px 13px!important;font-size:12px!important}
html body #p-dash .addr .btn{padding:12px 18px!important}
html body #p-dash .ref-stats > div .lbl{color:#b3b5bd!important;text-shadow:none!important}
html body #p-dash .ref-stats > div b{color:#fff!important}

/* dash: ref controls black with the deposit btn purple glow */
html body #p-dash .ref-stats > div,html body #p-dash .addr code,html body #p-dash .addr .btn,html body #p-dash #rwOut{background:#000!important;background-image:none!important;border:1px solid #2b2d33!important;box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important}

/* withdraw: no boxes, both buttons identical */
html body .wd-card,html body .wd-card .field,html body .wd-card .msg,html body .wd-card #capLine,html body .wd-card #feeLine,html body .wd-foot{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
html body .wd-card .field input,html body .wd-card .field select{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body #wSubmit,html body #wAll{background:#000!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;color:#fff!important;font-weight:600!important;text-shadow:none!important;box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important}

/* withdraw: kill the remaining pills and focus rings */
html body .wd-ico{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:auto!important;height:auto!important;font-size:15px!important}
html body .wd-card .msg,html body .wd-foot{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;padding-left:0!important;padding-right:0!important;box-shadow:none!important}
html body .wd-card .field input,html body .wd-card .field select{border-radius:0!important;outline:none!important}
html body .wd-card .field input:focus,html body .wd-card .field select:focus{outline:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}

/* withdraw: pill the fields and the warn line */
html body .wd-card .field input,html body .wd-card .field select{background:rgba(0,0,0,.55)!important;background-image:none!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;padding:11px 14px!important;color:#fff!important;box-shadow:none!important}
html body .wd-card .field input:focus,html body .wd-card .field select:focus{border-color:rgba(139,92,246,.7)!important;outline:none!important;box-shadow:none!important}
html body .wd-foot{background:rgba(224,183,106,.10)!important;background-image:none!important;border:1px solid rgba(224,183,106,.30)!important;border-radius:10px!important;padding:10px 13px!important;color:#e0b76a!important;box-shadow:none!important}

/* withdraw: fields match the deposit addr pill */
html body .wd-card .field input,html body .wd-card .field select{background:#1c1c22!important;background-image:none!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:999px!important;color:#fff!important;box-shadow:none!important;padding:11px 18px!important}
html body .wd-card .field input:focus,html body .wd-card .field select:focus{border-color:rgba(139,92,246,.6)!important;outline:none!important;box-shadow:none!important;border-radius:999px!important}
html body .wd-foot{background:#1c1c22!important;background-image:none!important;border:1px solid rgba(224,183,106,.22)!important;border-radius:10px!important;padding:10px 14px!important;color:#e0b76a!important;box-shadow:none!important}

/* withdraw: warn takes the button shape, addr pill colour */
html body .wd-foot{background:#1c1c22!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;padding:12px 14px!important;color:#e0b76a!important;font-weight:500!important;box-shadow:none!important}

/* withdraw: fields take the request button shape */
html body .wd-card .field input,html body .wd-card .field select{background:#1c1c22!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;color:#fff!important;box-shadow:none!important;padding:12px 16px!important}
html body .wd-card .field input:focus,html body .wd-card .field select:focus{border-color:rgba(139,92,246,.6)!important;border-radius:9px!important;outline:none!important;box-shadow:none!important}

/* withdraw: fields filled #34343e */
html body .wd-card .field input,html body .wd-card .field select{background:#34343e!important;background-image:none!important}
html body .wd-card .field input::placeholder{color:rgba(255,255,255,.45)!important}

/* withdraw: hide the minimum explainer line */
html body .wd-card > .hint:first-child{display:none!important}

/* withdraw: keep only the minimum line */
html body .wd-card::before{content:"$10 minimum."!important;display:block!important;font-size:11.5px!important;color:#b3b5bd!important;margin:0 0 12px!important;line-height:1.5!important}

/* swap: no wrapper around the address fields */
html body .sw-fields{border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;padding:0!important}

/* swap: identical space above and below */
html body:has(#p-swap.panel.on) .main{padding:16px 16px 4px!important;justify-content:center!important}
html body .sw-card{padding:16px!important}
html body .sw-wrap{padding-bottom:0!important}

/* swap: equal gaps around the two address fields and the CTA */
html body .sw-fields{display:flex!important;flex-direction:column!important;gap:10px!important}
html body .sw-cta{margin-top:10px!important}

/* stake: drop the hero and the how-it-works block */
html body #p-stake .st-hero,html body #p-stake .st-stats,html body #p-stake .st-how{display:none!important}

/* stake: card gaps match the dashboard */
html body #p-stake .card{margin-top:0!important;margin-bottom:24px!important}
html body #p-stake .card:last-child{margin-bottom:0!important}
html body #p-stake .st-grid{gap:24px!important}

/* stake: kill the doubled gap and the dead space at the foot */
html body #p-stake .st-grid{gap:0!important}
html body #p-stake .st-gap{display:none!important}
html body #p-stake .st-wrap{padding-bottom:0!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:0!important}

/* stake: top and bottom match the dashboard */
html body #p-stake.panel.on{margin-top:14px!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:34px!important}

/* stake: foot spacing matches the dash */
html body #p-stake .st-wrap{padding:0!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:18px!important}
html body #p-stake.panel.on{padding-bottom:16px!important;margin-bottom:0!important}
html body #p-stake .st-side{margin-bottom:0!important}

/* stake: contain the casing to the viewport */
html body:has(#p-stake.panel.on) .main{overflow-x:hidden!important;padding-left:14px!important;padding-right:14px!important}
html body #p-stake.panel.on{width:auto!important;max-width:none!important;box-sizing:border-box!important}
html body #p-stake .st-wrap{width:100%!important;max-width:none!important;box-sizing:border-box!important}
html body #p-stake .st-grid{grid-template-columns:1fr!important;width:100%!important;max-width:100%!important}
html body #p-stake .st-wrap *,html body #p-stake .card{box-sizing:border-box!important;max-width:100%!important;min-width:0!important}

/* stake: no side indent, no clipped card */
@media (max-width:980px){
html body .main{padding:6px 14px 18px!important;overflow-x:hidden!important}
html body:has(#p-stake.panel.on){padding-left:0!important;padding-right:0!important;overflow-x:hidden!important}
html body #p-stake .st-wrap{padding:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
html body #p-stake .card,html body #p-stake .st-grid,html body #p-stake .st-side,html body #p-stake .st-main{width:100%!important;max-width:100%!important;min-width:0!important}
html body #p-stake .calc-chips{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body #p-stake .calc-chips button{padding:7px 2px!important;font-size:11px!important;min-width:0!important}
html body #p-stake .calc-tot,html body #p-stake .calc-outs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #p-stake .calc-tot b,html body #p-stake .calc-outs b{font-size:14px!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
}

@media (max-width:980px){
html body:has(#p-stake.panel.on) .main{padding-bottom:70px!important}
html body:has(#p-stake.panel.on){padding-bottom:0!important}
}

@media (max-width:980px){
html body:has(#p-stake.panel.on) .main{padding-bottom:20px!important}
}

@media (max-width:980px){
html body:has(#p-stake.panel.on) .main{padding-bottom:76px!important}
}

/* stake: bottom inner gap equals the top */
@media (max-width:980px){
html body #p-stake.panel.on{padding-bottom:6px!important}
html body #p-stake .st-side{padding-bottom:8px!important}
html body #p-stake .st-side .calc-tot{margin-bottom:0!important;padding-bottom:0!important}
}

@media (max-width:980px){
html body #p-stake .st-grid{align-items:start!important;grid-auto-rows:auto!important}
html body #p-stake .st-side{height:auto!important;align-self:start!important}
html body #p-stake .st-main{height:auto!important}
html body #p-stake.panel.on{padding-bottom:16px!important}
html body #p-stake .st-side{padding-bottom:16px!important}
}

/* stake: nav flush to the bottom edge, no see-through band */
@media (max-width:980px){
html body .side{height:calc(56px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important;align-items:stretch!important}
html body .side .navbox{height:100%!important;align-items:stretch!important}
html body .side a{padding:0 9px!important;height:100%!important;align-items:center!important}
html body .shell::after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(56px + env(safe-area-inset-bottom));background:#0a0a0b;z-index:59;pointer-events:none}
html body:has(#p-stake.panel.on){padding-bottom:calc(56px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important;background:#0a0a0b!important;background-image:none!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:20px!important;background:#0a0a0b!important;background-image:none!important}
}
/* stake nav 2: centre the row, underline back on the label */
@media (max-width:980px){
html body .side{align-items:center!important}
html body .side .navbox{height:auto!important;align-items:center!important}
html body .side a{padding:13px 9px!important;height:auto!important;align-items:center!important}
html body:has(#p-stake.panel.on){padding-bottom:0!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:76px!important;background:#0a0a0b!important;background-image:none!important}
}
/* nav: drop the backing strip, the bar itself covers the band */
html body .shell::after{display:none!important}
/* nav: natural height back, reserve matched to it */
@media (max-width:980px){
html body .side{height:auto!important;align-items:center!important}
html body{padding-bottom:calc(41px + env(safe-area-inset-bottom))!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:61px!important}
}
/* stake: last card flush with the casing foot, no blank tail */
@media (max-width:980px){
html body #p-stake.panel.on{padding-bottom:0!important}
html body #p-stake .st-side,html body #p-stake .st-main{padding-bottom:0!important}
html body #p-stake .st-side > .card:last-child,html body #p-stake .st-main > .card:last-child{margin-bottom:0!important}
html body #p-stake .st-grid{align-content:start!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:61px!important}
}
/* nav: extend the bar box past the links so the band under it is filled */
@media (max-width:980px){
html body .side{align-items:flex-start!important;padding-bottom:calc(26px + env(safe-area-inset-bottom))!important;background:#0a0a0b!important;background-image:none!important}
html body .side::-webkit-scrollbar{display:none!important;height:0!important}
html body{padding-bottom:calc(67px + env(safe-area-inset-bottom))!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:calc(87px + env(safe-area-inset-bottom))!important}
}
/* nav: back to the natural bar, keep the hidden scrollbar */
@media (max-width:980px){
html body .side{align-items:center!important;padding-bottom:0!important}
html body{padding-bottom:calc(41px + env(safe-area-inset-bottom))!important}
html body:has(#p-stake.panel.on) .main{padding-bottom:61px!important}
}
/* nav: pull the bar down into the bottom inset instead of padding it up */
@media (max-width:980px){
html body .side{bottom:calc(-1 * env(safe-area-inset-bottom))!important;margin:0!important;padding-bottom:0!important;align-items:center!important;background:#0a0a0b!important;background-image:none!important}
}
/* nav: hairline along the bar bottom */
@media (max-width:980px){
html body .side{border-bottom:1px solid #2a2a30!important;box-shadow:inset 0 -1px 0 #2a2a30!important}
}
/* nav: hairline along the bar bottom */
@media (max-width:980px){
html body .side{border-bottom:1px solid #2a2a30!important;box-shadow:inset 0 -1px 0 #2a2a30!important}
}
/* dash: no first-deposit sub-labels on the tiers */
html body #p-dash .ref-ladder .s{display:none!important}
html body #p-dash .ref-ladder > div{padding:7px 0!important}
/* popouts: every pill takes the deposit btn spec */
html body .dep-sheet .dep-row,html body .dep-sheet .dep-opt,html body .dep-sheet .dep-lg,html body .dep-sheet .dep-addr code,html body .dep-sheet .dep-copy,html body .dep-sheet .dep-quote,html body .dep-sheet .dep-status,html body .dep-sheet .dep-warn,html body .dep-sheet .dep-x,html body .wd-sheet .wd-addr code,html body .wd-sheet .wd-copy,html body .wd-sheet .wd-foot,html body .wd-card .field input,html body .wd-card .field select,html body #wSubmit,html body #wAll,html body .wd-x{background:#000!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;color:#f2f3f5!important;font-weight:500!important;box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important}
html body .dep-sheet .dep-warn,html body .wd-sheet .wd-foot{color:#e0b76a!important}
html body .dep-sheet .dep-opt:hover{background:#0c0c10!important;border-color:#3a3c44!important}
/* dep: quote and status sit on the sheet grey, no pill */
html body .dep-sheet .dep-quote,html body .dep-sheet .dep-status{background:#2a2a33!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#f2f3f5!important}
html body .dep-sheet .dep-quote:empty{display:none!important}
/* dep: warn line also sits on the sheet grey */
html body .dep-sheet .dep-warn{background:#2a2a33!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#e0b76a!important}
html body .dep-sheet .dep-warn:empty{display:none!important}
/* popouts: black sheet, blended lines follow it */
html body .dep-sheet,html body .dep-sheet *,html body .wd-sheet,html body .wd-sheet *{background-color:#000!important;background-image:none!important}
html body .dep-sheet .dep-quote,html body .dep-sheet .dep-status,html body .dep-sheet .dep-warn{background:#000!important}
/* dep: qr frame black */
html body .dep-sheet .dep-qr{background:#000!important;background-image:none!important;border:0!important;box-shadow:none!important}
/* popouts: head black, specificity above the grey block */
html body .dep-overlay .dep-sheet .dep-head,html body .dep-overlay .dep-sheet .dep-head h2{background:#000!important;background-color:#000!important;background-image:none!important;border:0!important;box-shadow:none!important}
html body .wd-overlay .wd-sheet .wd-head,html body .wd-overlay .wd-sheet .wd-head h2{background:#000!important;background-color:#000!important;background-image:none!important;border:0!important;box-shadow:none!important}
/* dep: amber casing around the warn sentence */
html body .dep-overlay .dep-sheet .dep-warn{display:block!important;background:#000!important;background-color:#000!important;background-image:none!important;border:1px solid rgba(224,183,106,.8)!important;border-radius:9px!important;padding:10px 12px!important;color:#e0b76a!important;box-shadow:none!important}
/* wd: amber casing around the warning box */
html body .wd-overlay .wd-sheet .wd-foot{display:block!important;background:#000!important;background-color:#000!important;background-image:none!important;border:1px solid rgba(224,183,106,.8)!important;border-radius:9px!important;padding:10px 12px!important;color:#e0b76a!important;box-shadow:none!important}
/* wd: address, asset and amount pills match the buttons */
html body #wAddr,html body #wAsset,html body #wUsd{background:#000!important;background-color:#000!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;color:#f2f3f5!important;font-size:13px!important;font-weight:500!important;padding:12px 16px!important;box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important}
html body #wAddr::placeholder,html body #wUsd::placeholder{color:rgba(255,255,255,.45)!important}
html body #wAddr:focus,html body #wAsset:focus,html body #wUsd:focus{border-color:rgba(139,92,246,.6)!important;outline:none!important;box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important}
/* wd: stronger glow on the asset select */
html body #wAsset{box-shadow:0 0 0 1px rgba(139,92,246,.3),0 0 24px -4px rgba(139,92,246,.85),0 0 52px -18px rgba(139,92,246,.7)!important;border-color:rgba(139,92,246,.45)!important}
html body #wAsset:focus{box-shadow:0 0 0 1px rgba(139,92,246,.45),0 0 28px -3px rgba(139,92,246,.95),0 0 60px -16px rgba(139,92,246,.8)!important}
/* swap: cta black, including the disabled state */
html body #swCta,html body #swCta:disabled{background:#000!important;background-color:#000!important;background-image:none!important;border:1px solid #2b2d33!important;border-radius:9px!important;color:#f2f3f5!important;font-weight:500!important;opacity:1!important;box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important}
html body #swCta:disabled{color:#b3b5bd!important}
/* wd: glow on the asset select, filter so it paints on a select */
html body .wd-overlay .wd-sheet #wAsset{background:#000!important;background-image:none!important;border:1px solid rgba(139,92,246,.55)!important;border-radius:9px!important;box-shadow:0 0 24px -4px rgba(139,92,246,.85),0 0 52px -18px rgba(139,92,246,.7)!important;filter:drop-shadow(0 0 9px rgba(139,92,246,.85))!important}
html body .wd-overlay .wd-sheet #wAsset:focus{box-shadow:0 0 28px -3px rgba(139,92,246,.95),0 0 60px -16px rgba(139,92,246,.8)!important;filter:drop-shadow(0 0 13px rgba(139,92,246,1))!important}
/* stake: quick chips, projection box and cta black */
html body #p-stake .st-quick button,html body #p-stake .st-proj,html body #p-stake .st-cta,html body #p-stake .st-cta:disabled{background:#000!important;background-color:#000!important;background-image:none!important}
/* popouts: one glow, identical to the request button */
html body .dep-sheet .dep-row,html body .dep-sheet .dep-opt,html body .dep-sheet .dep-lg,html body .dep-sheet .dep-addr code,html body .dep-sheet .dep-copy,html body .dep-sheet .dep-x,html body .wd-addr code,html body .wd-copy,html body #wAddr,html body #wAsset,html body #wUsd,html body #wSubmit,html body #wAll,html body .wd-x{box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important;filter:none!important}
html body #wAsset{border-color:#2b2d33!important}
html body #wAddr:focus,html body #wAsset:focus,html body #wUsd:focus{box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important;filter:none!important}
/* wd: every glow identical to the request button, all states */
html body .wd-overlay .wd-sheet #wAddr,html body .wd-overlay .wd-sheet #wAsset,html body .wd-overlay .wd-sheet #wUsd,html body .wd-overlay .wd-sheet #wAddr:focus,html body .wd-overlay .wd-sheet #wAsset:focus,html body .wd-overlay .wd-sheet #wUsd:focus,html body .wd-overlay .wd-sheet #wSubmit,html body .wd-overlay .wd-sheet #wAll{box-shadow:0 0 22px -6px rgba(139,92,246,.75),0 0 44px -20px rgba(139,92,246,.55)!important;filter:none!important;border-color:#2b2d33!important;outline:none!important}
/* stake: room under the cta, the totals and the last card */
@media (max-width:980px){
html body #p-stake .st-main{padding-bottom:22px!important}
html body #p-stake .st-side{padding-bottom:22px!important}
html body #p-stake.panel.on{padding-bottom:18px!important}
}
/* wd: asset select glow, filter only since select ignores box-shadow */
html body .wd-overlay .wd-sheet #wAsset,html body .wd-overlay .wd-sheet #wAsset:focus{filter:drop-shadow(0 0 9px rgba(139,92,246,.42)) drop-shadow(0 0 20px rgba(139,92,246,.26))!important;border-color:#2b2d33!important}
/* stake: casing border black */
html body #p-stake.panel.on{border-color:#000!important}
/* stake: no outer casing */
html body #p-stake.panel.on{border:0!important;box-shadow:none!important}
/* stake: no outer casing, matching the rule that sets it */
html body .main #p-stake.panel.on{border:0!important;box-shadow:none!important}
/* stake: no panel padding, cards sit on the gutter */
html body .main #p-stake.panel.on{padding:0!important;border-radius:0!important}
/* stake: outer ring black */
html body:has(#p-stake.panel.on) .main{background:#000!important;background-color:#000!important;background-image:none!important}
html body:has(#p-stake.panel.on){background:#000!important;background-color:#000!important;background-image:none!important}
/* stake: a hair of panel padding back */
html body .main #p-stake.panel.on{padding:4px!important}
/* perps: lift the place button, hide the fee line */
@media (max-width:980px){
html body #p-perps.panel.on .pp-ticket{padding-bottom:16px!important}
html body #p-perps.panel.on .pp-ticket > button{margin-bottom:0!important}
html body #p-perps.panel.on .pp-fee{display:none!important}
}
/* history: no foot note */
html body .hs-foot{display:none!important}
/* settings: black card */
html body #p-settings.panel.on,html body #p-settings .card{background:#000!important;background-color:#000!important;background-image:none!important}
/* app: grey surfaces black everywhere */
html body .main .card,html body .main .panel.on,html body .main .field,html body .main .field input,html body .main .field select,html body .main .field textarea,html body .main .msg,html body .main .list li,html body .main .stat,html body .main .row,html body .main .calc-amount,html body .main .calc-out,html body .main .calc-total,html body .main details{background:#000!important;background-color:#000!important;background-image:none!important}
/* settings sheet: black surfaces */
html body .st-sheet,html body .st-sheet *{background-color:#000!important;background-image:none!important}
html body .st-sheet .st-card,html body .st-sheet #stCur,html body .st-sheet #stNew,html body .st-sheet .pill{background:#000!important;background-color:#000!important;background-image:none!important}
/* value card: spectrum rim back */
html body .main .card.rainbow{border:1px solid transparent!important;background:linear-gradient(#0a0a0b,#0a0a0b) padding-box,var(--rim) border-box!important;background-image:linear-gradient(#0a0a0b,#0a0a0b),var(--rim)!important;background-origin:padding-box,border-box!important;background-clip:padding-box,border-box!important}
/* value card: same spectrum rim as mobile, all widths */
html body .main .card.rainbow{position:relative!important;border:0!important;border-radius:0!important;background:linear-gradient(90deg,#22d3ee,#3b82f6 25%,#8b5cf6 50%,#f97316 75%,#ef4444)!important;background-image:linear-gradient(90deg,#22d3ee,#3b82f6 25%,#8b5cf6 50%,#f97316 75%,#ef4444)!important;clip-path:polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px)!important;box-shadow:0 0 30px -6px rgba(139,92,246,.5),0 0 72px -26px rgba(139,92,246,.38)!important}
html body .main .card.rainbow::before{content:""!important;position:absolute!important;inset:0!important;background:#000!important;background-image:none!important;clip-path:polygon(27px 3px,calc(100% - 3px) 3px,calc(100% - 3px) calc(100% - 27px),calc(100% - 27px) calc(100% - 3px),3px calc(100% - 3px),3px 27px)!important;border-radius:0!important;z-index:0!important}
html body .main .card.rainbow > *{position:relative!important;z-index:1!important}
/* revert: rounded card, spectrum in the border ring */
html body .main .card.rainbow{clip-path:none!important;border:1px solid transparent!important;border-radius:12px!important;background:linear-gradient(#0a0a0b,#0a0a0b) padding-box,var(--rim) border-box!important;background-image:linear-gradient(#0a0a0b,#0a0a0b),var(--rim)!important;background-origin:padding-box,border-box!important;background-clip:padding-box,border-box!important}
html body .main .card.rainbow::before{clip-path:none!important}
/* value card: ring painted outside the box */
html body .main .card.rainbow{position:relative!important;z-index:0!important;border:0!important;border-radius:12px!important;background:#000!important;background-image:none!important;clip-path:none!important}
html body .main .card.rainbow::before{content:""!important;position:absolute!important;inset:-1px!important;background:conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee)!important;background-image:conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee)!important;border-radius:13px!important;clip-path:none!important;z-index:-1!important}
html body .main .card.rainbow > *{position:relative!important;z-index:1!important}
/* revert: ring back inside the border */
html body .main .card.rainbow{border:1px solid transparent!important;border-radius:12px!important;background:conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee) border-box!important;background-image:conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee)!important;background-clip:border-box!important;background-origin:border-box!important;clip-path:none!important;z-index:auto!important}
html body .main .card.rainbow::before{content:""!important;position:absolute!important;inset:1px!important;background:#000!important;background-image:none!important;border-radius:11px!important;clip-path:none!important;z-index:0!important}
/* value card: colour rails on the vertical edges */
html body .main .card.rainbow{background-image:linear-gradient(#22d3ee,#8b5cf6,#ef4444),linear-gradient(#22d3ee,#8b5cf6,#ef4444),conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee)!important;background-size:2px 100%,2px 100%,auto!important;background-position:left top,right top,0 0!important;background-repeat:no-repeat,no-repeat,repeat!important;background-clip:border-box!important;background-origin:border-box!important}
/* revert: single conic layer, no rails */
html body .main .card.rainbow{background-image:conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee)!important;background-size:auto!important;background-position:0 0!important;background-repeat:repeat!important;background-clip:border-box!important;background-origin:border-box!important}
/* value card: black layer off */
html body .main .card.rainbow::before{display:none!important}
/* value card: black interior, conic in the border only */
html body .main .card.rainbow{background:linear-gradient(#000,#000) padding-box,conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee) border-box!important;background-image:linear-gradient(#000,#000),conic-gradient(from 200deg,#22d3ee,#3b82f6 18%,#8b5cf6 38%,#f97316 58%,#ef4444 76%,#22d3ee)!important;background-size:auto,auto!important;background-position:0 0,0 0!important;background-repeat:repeat,repeat!important;background-origin:padding-box,border-box!important;background-clip:padding-box,border-box!important}

/* ===== value card: one shape, pinned last ===== */
html body .main .card.rainbow{position:relative!important;border:0!important;border-radius:12px!important;clip-path:none!important;background:var(--rim)!important;background-image:var(--rim)!important;background-clip:border-box!important;background-origin:border-box!important;background-size:auto!important;background-position:0 0!important;background-repeat:repeat!important;box-shadow:0 0 30px -8px rgba(139,92,246,.45)!important}
html body .main .card.rainbow::before{content:""!important;display:block!important;position:absolute!important;inset:1px!important;background:#000!important;background-image:none!important;border-radius:11px!important;clip-path:none!important;z-index:0!important}
html body .main .card.rainbow > *{position:relative!important;z-index:1!important}

/* value card: rim variable + concentric ring, pinned last */
html body .main .card.rainbow{
  --rim: conic-gradient(from 210deg,#7c5cff,#22d3ee,#2fd48a,#eab308,#f97316,#ef4444,#7c5cff);
  position:relative!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  clip-path:none!important;
  background:
    linear-gradient(#000,#000) padding-box,
    var(--rim,#7c5cff) border-box!important;
  background-origin:padding-box,border-box!important;
  background-clip:padding-box,border-box!important;
}
html body .main .card.rainbow::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:1px!important;
  background:#000!important;
  background-image:none!important;
  border-radius:11px!important;
  clip-path:none!important;
  z-index:0!important;
}
html body .main .card.rainbow > *{position:relative!important;z-index:1!important}
