@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

body {
  font-family: "Figtree", sans-serif;
  font-weight: 300;
  background: #092a59;
  padding: 0;
  margin: 0;
  color: #bfdbfe;
}

#app{
  max-width: 1440px;
  margin: 0 auto;
}

.serif {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.25em;
}

.industry {
  color: #00ffee;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25em;
  font-style: italic;
  font-weight: 500;
}

:root {
  --nwhite: 255, 255, 255;
  --nred: 20, 184, 166;
  --npanelbg: 255, 255, 255;
  --nred: 20, 184, 166;
}

html.lending:root {
  --nwhite: 255, 255, 255;
  --nred: 20, 184, 166;
  --npanelbg: 32, 0, 0;
  --nred: 20, 184, 166;
}

/* GREEN */
/* :root {
  --nwhite: 255, 255, 255;
  --nred: 192, 255, 0;
  --npanelbg: 24, 32, 0;
  --nkbut: 64, 125, 0;
} */

.toplogo img,
.toplogo svg {
  width: 148px;
  height: auto;
  position: relative;
  top: 4px;
}

.toplogo .tlinvest {
  display: none;
}

html.lending .toplogo .tlinvest {
  display: block;
}

html.lending .toplogo .tlinvest path {
  fill: rgba(var(--nred), 1);
}

html.lending .toplogo .tlloans {
  display: none;
}

#topbar {
  display: flex;
  align-items: end;
  width: 100%;
  justify-content: space-between;
  padding: 0 30px;
  box-sizing: border-box;
}

#topbar>div:first-child {
  flex-basis: calc(50% - 260px);
}

#topbar>div:nth-child(2) {
  flex-basis: 520px;
}

#topbar>div:last-child {
  flex-basis: calc(50% - 260px);
}

#topbar>div:first-child {
  display: flex;
  align-items: end;
  height: 76px;
}

#topbar nav a {
  text-decoration: none;
  line-height: 16px;
  padding: 10px;
  font-weight: 400;
}

#topbar nav a:hover {}

#topbar nav {
  position: relative;
  margin-left: 2em;
}

.topsearch {
  height: 44px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.topright {
  text-align: right;
}

button {
  appearance: none;
  font-family: inherit;
  font-weight: 500;
  border: none;
  outline: none;
  color: inherit;
  font-size: 1em;
  line-height: 1em;
  padding: .25em;
}

#connect {
  background: #00003060;
  backdrop-filter: blur(30px);
  border: 1px solid #8080ff50;
  padding: 1em 1.5em;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: all .15s ease-out;
}

#connect:hover {
  border: 1px solid #00ffee;
}

input {
  appearance: none;
  font-family: inherit;
  font-size: 1em;
}

.topsearch {
  background: rgba(var(--npanelbg), .5);
  border: none;
  outline: none;
  border-radius: 3px;
  border: 1px solid rgba(var(--nred), .2);
  font-size: .875rem;
  padding: 0 16px;
  box-sizing: border-box;
  color: inherit;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all .15s ease-out;
}

.topsearch:hover {
  border: 1px solid rgba(var(--nred), .5);
  background: rgba(var(--npanelbg), .75);
}

.topsearch::placeholder {
  color: rgba(var(--nred), .5);
  font-weight: 600;
}

#topbar>div:nth-child(2) {
  text-align: center;
}

.bgimage {
  background: #f2f0eb;
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity .15s ease-out;
  z-index: -1;
}

.bgimage.active {
  display: block;
}

.bgimage.show {
  opacity: 1;
  animation: bgshow 4s ease-out 1 forwards;
}

@keyframes bgshow {
  0% {
    scale: 1.05;
  }

  100% {
    scale: 1;
  }
}

header {
  position: relative;
  z-index: 10;
}

.bg1 {
  background-image: url('/images/bg1.webp');
}

.bg2 {
  background-image: url('/images/bg2.webp');
}

.bg3 {
  background-image: url('/images/bg3.webp');
  transform: scaleX(-1);
}

.bg4 {
  background-image: url('/images/bg4.webp');
}

.bg5 {
  background-image: url('/images/bg5.webp');
}

.lbg1 {
  background-image: url('/images/lbg1.webp');
}

.lbg2 {
  background-image: url('/images/lbg2.webp');
}

.lbg3 {
  background-image: url('/images/lbg3.webp');
  transform: scaleX(-1);
}

.lbg4 {
  background-image: url('/images/lbg4.webp');
  transform: scaleX(-1);
}

.lbg5 {
  background-image: url('/images/lbg5.webp');
}

.lbg6 {
  background-image: url('/images/lbg6.webp');
}


main {
  position: relative;
  margin: 0 auto;
  max-width: auto;
  padding: 0 30px;
  margin-top: 1em;
}

.nkpanel {
  appearance: none;
  padding: 30px;
  box-sizing: border-box;
  background: #00003080;
  backdrop-filter: blur(10px);
  border: 1px solid #80ffff30;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 32, .5);
  animation: nkpr 1s cubic-bezier(0.16, 1, 0.3, 1) 1 forwards;
  position: absolute;
}

@keyframes nkpr {
  0% {
    opacity: 0;
    top: 100px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

.nkbutton {
  background: #00002040;
  line-height: 1em;
  padding: 1em;
  border: 1px solid #80b0ff60;
  outline: none;
  border-radius: 5px;
  user-select: none;
  color: #fff;
}

.nkbutton:hover {
  background: #00002080;
  border: 1px solid #00ffee;
  cursor: pointer;
}



.priinput {
  color: inherit;
  font-size: 32px;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  font-family: inherit;
  font-weight: 400;
  line-height: 1em;
  height: 54px;
  width: 100%;
  color: #fff;
}

.priinput::placeholder {
  color: inherit;
  font-weight: 300;
}

/* SUBBOX */

.subbox .sbilabel,
.sbclabel {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  height: 16px;
  display: flex;
  gap: 8px;
}

.sbclabel {
  color: #bfdbfe;
}

.subbox .cmeta {
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
  height: 16px;
  margin-top: 8px;
  text-align: right;
  text-wrap: nowrap;
  color: #bfdbfeb0;
}

.subbox .cmeta span.cmax {
  margin-left: .5em;
  color: #00ffee;
  font-weight: 500;
  user-select: none;
  vertical-align: middle;
  border-radius: 3px;
  padding: 0 5px;
  border: 1px solid #00ffee;
}

.subbox .cmeta span.cmax:hover {
  cursor: pointer;
  background: rgba(var(--nred), .2);
  /* border: 1px solid rgba(var(--nred), 1); */
}

.subbox .sbclabel {
  width: fit-content;
  margin-left: auto;
  margin-bottom: 8px;
}

.subbox .sbclabel svg {
  opacity: .75;
}

.subbox .sbclabel:hover svg {
  opacity: 1;
  cursor: pointer;
}


.subbox .sbimeta {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  height: 16px;
  color: inherit;
}

.subbox .sbimeta span {
  opacity: .4;
  margin-left: .25em;
}



.nkpanel {
  position: relative;
  transition: all .1s ease-out;
  top: 0;
  max-width: 520px;
  margin: 0 auto;
  min-height: 200px;
}

.panelheader {
  display: flex;
  color: #ffffffb0;
  font-weight: 500;
  justify-content: space-between;
  align-content: center;
}

.menu {
  display: flex;
}

.menu div {
  opacity: .5;
  line-height: 1em;
  padding: .75em .5em;
  user-select: none;
  border-radius: 4px;
}

.menu .active {
  opacity: 1;
  font-weight: 600;
}

.menu div:not(.active):hover {
  background: rgba(var(--nred), .1);
  cursor: pointer;
  opacity: .75;
}

.slippage {
  background: rgba(var(--nred), .1);
  line-height: 1em;
  padding: .75em 1em;
  border-radius: 4px;
  opacity: .6;
  user-select: none;
  align-items: center;
  display: flex;
  font-size: 15px;
}

.slippage svg {
  width: 1em;
  height: 1em;
  margin-left: .5em;
}

.slippage:hover {
  opacity: 1;
  cursor: pointer;
}

.caption {
  font-family: inherit;
  font-size: 48px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-weight: 400;
  color: #fff;
}

.subcaption {
  font-size: 21px;
  text-align: center;
  margin-top: 1.5em;
}

.getstarted {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 18px;
  font-weight: 600;
  padding: 1.4em 2em;
  border-radius: 5px;
  border-width: 2px;
  box-sizing: border-box;
  color: #134e4a;
}

.invest {
  background: rgba(var(--nred), .2);
  line-height: 1em;
  border: 0px solid rgba(var(--nred), 1);
  user-select: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 18px;
  font-weight: 600;
  padding: 1.4em 2em;
  border-radius: 5px;
  border-width: 0px;
  margin-left: 1em;
}

.invest:hover {
  background: rgba(var(--nred), .3);
  cursor: pointer;
}

.buttons {
  margin: 0 auto;
  width: fit-content;
  margin-top: 3em;
}

.subbox {
  width: 100%;
  /* border: 1px solid #80b0ff20; */
  margin-top: .6em;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background: #00b0ff10;
}

.subbox.tall {
  flex-wrap: wrap;
  height: auto;
  padding: 20px;
}

.subbox>div:first-child,
.subbox>div:nth-child(2) {
  flex-basis: 50%;
}

main {
  margin-bottom: 100px;
}

.deposit {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 21px;
  font-weight: 500;
  padding: 0em 2em;
  border-radius: 100px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}

.depositbuttontext {
  text-align: left;
  line-height: .9em;
}

.depositbuttontext .meta {
  font-size: 13px;
  font-weight: 500;
  opacity: .75;
}

.buttonloading {
  width: 1.75em;
  height: 1.75em;
  margin-right: .75em;
  display: none;
}

.bloading .buttonloading {
  display: flex;
}

.deposit.disabled {
  cursor: not-allowed;
  background: rgba(var(--nred), .05);
  border: 1px solid #ffffff20;
  color: #ffffffb0;
}

@media screen and (orientation:landscape) and (min-height:800px) {
  main {
    margin-top: max(calc(50vh - 350px - 100px), 1em);
  }
}

/* HOMEPAGE */

a {
  color: inherit;
  text-decoration: inherit;
}

main.homepage .nkpanel {
  position: relative;
  transition: all .1s ease-out;
  top: 0;
  border-color: rgba(var(--nred), .5);
  max-width: 520px;
  margin: 0 auto;
  min-height: 300px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.1));
}

main.homepage .nkpanel:hover {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.1));
  top: -.5em !important;
  cursor: pointer;
  border-color: rgba(var(--nred), 1);
}

main.homepage .panelheader {
  display: flex;
  color: rgba(var(--nred), 1);
  font-weight: 500;
  justify-content: space-between;
  align-content: center;
}

main.homepage .menu {
  display: flex;
}

main.homepage .menu div {
  opacity: .5;
  line-height: 1em;
  padding: .75em .5em;
  user-select: none;
  border-radius: 4px;
}

main.homepage .menu .active {
  opacity: 1;
  font-weight: 600;
}

main.homepage .menu div:not(.active):hover {
  background: rgba(var(--nred), .1);
  cursor: pointer;
  opacity: .75;
}

main.homepage .slippage {
  background: rgba(var(--nred), .1);
  line-height: 1em;
  padding: .75em 1em;
  border-radius: 4px;
  opacity: .6;
  user-select: none;
  align-items: center;
  display: flex;
  font-size: 15px;
}

main.homepage .slippage svg {
  width: 1em;
  height: 1em;
  margin-left: .5em;
}

main.homepage .slippage:hover {
  opacity: 1;
  cursor: pointer;
}

main.homepage .caption {
  font-family: inherit;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1em;
  position: relative;
  margin-top: -50px;
}

main.homepage .subcaption {
  margin: 0 auto;
  font-size: 21px;
  text-align: center;
  margin-top: 1.5em;
  line-height: 1.5em;
  max-width: 520px;
  text-align: justify;
  text-align-last: center;
}

main.homepage .getstarted {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 18px;
  font-weight: 600;
  padding: 1em 2em;
  border-radius: 5px;
  border-width: 2px;
  box-sizing: border-box;
}

main.homepage .invest {
  background: rgba(var(--nred), .2);
  line-height: 1em;
  border: 0px solid rgba(var(--nred), 1);
  user-select: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 18px;
  font-weight: 600;
  padding: 1.15em 2em;
  border-radius: 5px;
  border-width: 0px;
  margin-left: 1em;
  color: #134e4a;
}

main.homepage .invest:hover {
  background: rgba(var(--nred), .3);
  cursor: pointer;
}

main.homepage .buttons {
  margin: 0 auto;
  width: fit-content;
  margin-top: 2em;
}


main.homepage {
  margin-bottom: 100px;
}

main.homepage .panelheader {
  pointer-events: none;
}

main.homepage .subbox {
  pointer-events: none;
}




/* Currency Drop Down */

.pricurdd {
  display: flex;
  gap: 12px;
  background: #00003040;
  padding: 8px;
  padding-right: 12px;
  align-items: center;
  border-radius: 30px;
  border: 1px solid rgba(var(--nred), .15);
  font-weight: 500;
  width: fit-content;
  margin-left: auto;
  user-select: none;
  color: #fff;
}

.pricurdd .icon {
  display: flex;
}

.pricurdd .icon img {
  width: 24px;
}


.pricurdd:hover {
  border-color: rgba(var(--nred), .5);
}

.pricurddsel {
  font-weight: 400;
  background: rgba(var(--nred), .1);
  width: fit-content;
  margin-left: auto;
  padding: 12px;
}

.icon {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
}

.ddarrow {
  width: 14px;
  height: 14px;
  position: relative;
}

.ddarrow svg {
  position: absolute;
}

.text {
  font-size: 18px;
  line-height: 18px;
  text-wrap: nowrap;
}

#topbar nav a.active {
  color: #fff;
  /* filter: drop-shadow(0px 0px 2px red) drop-shadow(0px 0px 8px red); */
}



.tlchide {
  display: none;
}

.tlinsignia {
  animation: rotatelogo 10s linear infinite forwards;
  transform-origin: 30.64px 30.69px;
  isolation: isolate;
}

.tlinsigniabg {
  filter: drop-shadow(0px 0px 2px red) drop-shadow(0px 0px 8px red);
  animation: insigbg 10s linear infinite forwards;
  stroke-width: 2px;
}

html.lending .tlinsigniabg {
  filter: drop-shadow(0px 0px 2px rgba(var(--nred), 1)) drop-shadow(0px 0px 8px rgba(var(--nred), 1));
  animation: insiglbg 10s linear infinite forwards;
}

svg#toplogo {
  overflow: visible;
}

.tlinsigniac,
.tlinsigniab1,
.tlinsigniab2,
.tlinsigniab3 {
  animation: insigfg 10s linear infinite forwards;
  stroke-width: 0px;
}

html.lending .tlinsigniac,
html.lending .tlinsigniab1,
html.lending .tlinsigniab2,
html.lending .tlinsigniab3 {
  animation: insiglfg 10s linear infinite forwards;
}

.mobnav {
  display: none;
  position: relative;
  top: 4px;
  margin-left: 1.5em;
}

.mobnav svg {
  width: 21px;
}

.mobnav svg path {
  fill: #00ffee;
}

.mobnavlinks {
  position: absolute;
  background: #fff;
  padding: .75em 1em;
  border: 1px solid rgba(var(--nred), .5);
  border-radius: 5px;
  top: 40px;
  right: 7px;
  box-shadow: 0 10px 20px -5px #00104080;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 300;
  animation: mnlr .1s ease-out 1 forwards;
  transform-origin: top right;
  display: none;
  color: #000;
}

.mobnavlinks.active {
  display: block;
  z-index: 1;
}

.topright {
  display: flex;
  justify-content: end;
}

.menumode {
  display: flex;
  height: 26px;
  font-size: 12px;
  line-height: 12px;
  align-items: center;
  margin-right: 15px;
  background: rgba(var(--nred), .1);
  background: rgba(0, 0, 0, .1);
  border-radius: 5px;
  border: 2px solid rgba(var(--nred), .75);
  font-weight: 600;
  padding: 0 3px;
  gap: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
  text-wrap: nowrap;
  background: #00000020;
}

.menumode div.active {
  background: rgba(var(--nred), 1);
  padding: 5px;
  border-radius: 3px;
  font-weight: 700;
  text-shadow: 0 0 1px rgba(0, 0, 0, 1);
}

.menumode div:not(.active) {
  padding: 5px;
}

.menumode:hover {
  cursor: pointer;
}

@keyframes mnlr {
  0% {
    scale: .9;
    opacity: 0;
  }

  100% {
    scale: 1;
    opacity: 1;
  }
}

.mobnavlinks>*:not(.menumode) {
  display: block;
}

.mobnavlinks>*:not(:last-child) {
  margin-bottom: .5em;
}

.mobnavlinks a.active {
  color: rgba(var(--nred), 1);
  font-weight: 700;
}

.mobmenhider {
  position: fixed;
  inset: 0;
  background: rgba(0, 32, 64, .35);
  animation: mnhr .1s ease-out 1 forwards;
  z-index: 1;
  backdrop-filter: blur(3px);
}

@keyframes mnhr {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes rotatelogo {
  0% {
    rotate: 0deg;
  }

  5% {
    rotate: 360deg;
  }

  100% {
    rotate: 720deg;
  }
}

@keyframes insigbg {
  0% {
    fill: white;
    stroke: white;
    filter: drop-shadow(0px 0px 2px red) drop-shadow(0px 0px 8px red)
  }

  5% {
    fill: #f9c900;
    stroke: white;
    filter: drop-shadow(0px 0px 2px red) drop-shadow(0px 0px 8px red)
  }

  20% {
    fill: #f9c900;
    stroke: white;
    filter: drop-shadow(0px 0px 2px red) drop-shadow(0px 0px 8px red)
  }

  25% {
    fill: #ff000010;
    stroke: orange;
    filter: drop-shadow(0px 0px 1px red) drop-shadow(0px 0px 8px red)
  }

  50% {
    fill: #00000000;
    stroke: red;
    filter: drop-shadow(0px 0px 1px red) drop-shadow(0px 0px 4px red)
  }

  100% {
    fill: #ff000010;
    stroke: red;
    filter: drop-shadow(0px 0px 2px red) drop-shadow(0px 0px 8px red)
  }
}

@keyframes insigfg {
  0% {
    fill: white;
    stroke: #00000000
  }

  5% {
    fill: #333;
    stroke: black
  }

  20% {
    fill: #333;
    ;
    stroke: black
  }

  25% {
    fill: red;
    stroke: #00000000
  }

  50% {
    fill: red;
    stroke: #00000000
  }

  100% {
    fill: red;
    stroke: #00000000
  }
}

@keyframes insiglbg {
  0% {
    fill: white;
    stroke: white;
    filter: drop-shadow(0px 0px 2px rgba(var(--nred), 1)) drop-shadow(0px 0px 8px rgba(var(--nred), 1))
  }

  5% {
    fill: #f9c900;
    stroke: white;
    filter: drop-shadow(0px 0px 2px rgba(var(--nred), 1)) drop-shadow(0px 0px 8px rgba(var(--nred), 1))
  }

  20% {
    fill: #f9c900;
    stroke: white;
    filter: drop-shadow(0px 0px 2px rgba(var(--nred), 1)) drop-shadow(0px 0px 8px rgba(var(--nred), 1))
  }

  25% {
    fill: #ff000010;
    stroke: #00ffff;
    filter: drop-shadow(0px 0px 1px rgba(var(--nred), 1)) drop-shadow(0px 0px 8px rgba(var(--nred), 1))
  }

  50% {
    fill: #00000000;
    stroke: rgba(var(--nred), 1);
    filter: drop-shadow(0px 0px 1px rgba(var(--nred), 1)) drop-shadow(0px 0px 4px rgba(var(--nred), 1))
  }

  100% {
    fill: #ff000010;
    stroke: rgba(var(--nred), 1);
    filter: drop-shadow(0px 0px 2px rgba(var(--nred), 1)) drop-shadow(0px 0px 8px rgba(var(--nred), 1))
  }
}

@keyframes insiglfg {
  0% {
    fill: white;
    stroke: #00000000
  }

  5% {
    fill: #333;
    stroke: black
  }

  20% {
    fill: #333;
    ;
    stroke: black
  }

  25% {
    fill: rgba(var(--nred), 1);
    stroke: #00000000
  }

  50% {
    fill: rgba(var(--nred), 1);
    stroke: #00000000
  }

  100% {
    fill: rgba(var(--nred), 1);
    stroke: #00000000
  }
}

.panelmenu {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  line-height: 1em;
  margin-bottom: .5em;
}

.panelmenu>div:first-child {
  flex-basis: 40%;
  font-size: 15px;
}

.panelmenu>div:nth-child(2) {
  flex-basis: 20%;
  text-align: center;
  font-size: 1.25em;
  opacity: 1;
  color: rgba(var(--nred), .75);
}

.panelmenu>div:last-child {
  flex-basis: 40%;
  text-align: right;
  font-size: 15px;
  flex-direction: row-reverse;
}

.panelmenu>div:not(.arrright) {
  font-weight: 400;
  user-select: none;
}

.panelmenu>div:not(:nth-child(2)):not(.active) {
  opacity: .9;
}


.panelmenu>div:not(.arrright).active {
  opacity: 1;
  font-weight: 500;
  color: white;
}

.panelmenu>div:not(:nth-child(2)):not(.active):hover {
  cursor: pointer;
  opacity: 1;
}

.arrright {
  width: 1em;
}

#itip {
  background: rgba(var(--nred), 1);
  color: black;
  font-weight: 600;
  font-size: 14px;
  padding: .5em;
  margin-left: 1em;
  border-radius: 4px;
}

.infobox {
  display: grid;
  grid-template-columns: 16px calc(100% - 26px);
  grid-gap: 10px;
  padding: 1em;
  font-size: 14px;
  align-items: start;
  border: 1px solid rgba(var(--nred), .6);
  border-radius: 5px;
  font-weight: 300;
  color: #ffffff;
}

.infobox span {
  font-weight: 600;
  color: #ffffffff;
}

.mt10 {
  margin-top: 10px;
}

.mt15 {
  margin-top: 15px;
}

.mt20 {
  margin-top: 20px;
}

.infobox>div:first-child {
  top: 2px;
  position: relative;
  color: rgba(var(--nred), 1);
}

.infobox>div:last-child {
  top: -1px;
  position: relative;
}

.infobox.success {
  border-color: #4ade80;
}


.infobox.success>div:first-child {
  top: 2px;
  position: relative;
  color: #4ade80;
}

.infobox.iberror {
  border-color: rgba(var(--nred), 1);
  background: rgba(var(--nred), .1);
}

.maxborrowsec {
  font-size: 14px;
  padding: 5px 12px 8px 12px;
}

.maxborrowsec>div {
  display: flex;
  justify-content: space-between;
}

.maxborrowsec div:not(:last-child, .leverageslider) {
  margin-bottom: 2px;
}

.maxborrowsec>div>div:first-child {
  color: #ffffffe0;
  font-weight: 300;
}

.maxborrowsec>div>div:first-child span {
  color: #ffffffff;
  font-weight: 500;
}

.maxborrowsec>div>div:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
}

.maxborrowsec>div>div:last-child .tokenicon {
  width: 1.5em;
  border-radius: 50%;
}

.boxesarrdown {
  width: 56px;
  height: 56px;
  box-sizing: border-box;
  border: 10px solid #00ffee;
  background: #00ffee;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute;
  left: calc(50% - 28px);
  transform: translateY(-23px);
  border-radius: 30px;
  color: #000040;
  padding: 11px;
}

.boxesarrdown svg {
  width: 14px;
  height: 14px;
  position: relative;
  margin: 0 auto;
  display: block;
}

.sbhider {
  position: fixed;
  inset: 0;
  background: rgba(0, 32, 64, .35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.wallet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: auto;
  gap: 16px;
}

.wallet.modal {
  height: max-content;
  z-index: 30;
}

.installedProviders {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.walletProvider {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: 1px solid rgba(var(--nred), .25);
  padding: 7px;
  padding-right: 12px;
  border-radius: 4px;
}

.walletProvider:hover {
  background: rgba(var(--nred), .1);
  color: #134e4a;
}

.modal .nkpanel {
  margin-top: calc(5vh + 76px);
  z-index: 11;
  max-width: 420px;
  min-height: auto;
  animation: nkpr .5s cubic-bezier(0.16, 1, 0.3, 1) 1 forwards;
}

.modal .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1em;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1.25em;
}

.modal .close:hover {
  color: rgba(var(--nred), 1);
  cursor: pointer;
}

.modal .close svg {
  width: 12px;
}

.tokenlist {
  padding-bottom: 20px;
  overflow: auto;
  max-height: calc(100vh - 340px);
}

@media screen and (orientation:landscape) {

  /* width */
  .tokenlist::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  .tokenlist::-webkit-scrollbar-track {
    background: rgba(var(--nred), .25);
  }

  /* Handle */
  .tokenlist::-webkit-scrollbar-thumb {
    background: rgba(var(--nred), .75);
  }

  /* Handle on hover */
  .tokenlist::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--nred), 1);
  }
}

@media screen and (orientation:landscape) and (min-height:780px) {
  .tokenlist {
    max-height: calc(100vh - 360px);
  }
}

@media screen and (orientation:landscape) and (min-height:900px) {
  .tokenlist {
    max-height: calc(100vh - 400px);
  }
}

@media screen and (orientation:portrait) and (max-height:959px) {
  .tokenlist {
    max-height: calc(100vh - 300px);
  }
}

@media screen and (orientation:portrait) and (min-height:960px) {
  .tokenlist {
    max-height: calc(100vh - 400px);
  }
}

.tokenlist>div {
  display: flex;
  width: 100%;
  gap: 15px;
  line-height: 1em;
  font-size: 15px;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

.tokenlist>div:hover {
  cursor: pointer;
  color: #fff;
  background: rgba(var(--nred), .1);
}

.tokenlist>div:not(:last-child) {
  /* margin-bottom: 1.25em; */
}

.tokenlist>div>div:first-child {
  flex-basis: 36px;
  height: 36px;
  width: 36px;
  overflow: hidden;
}

.tokenlist>div>div:last-child {
  margin-left: auto;
}

.tokenlist .tsym {
  font-size: 12px;
  margin-top: 2px;
}

.tokenlist .tsym span {
  color: #ffffffff;
  font-weight: 400;
}

.tokensearch {
  position: relative;
  box-sizing: border-box;
}

.tokensearch input {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  width: 100%;
  background: rgba(var(--nred), .1);
  margin-bottom: 1em;
  border: 1px solid rgba(var(--nred), .2);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1em;
  padding: .5em .75em;
  padding-left: 2.5em;
  box-sizing: border-box;
}

.tokensearch input::placeholder {
  color: #ffffffb0;
}

.searchico {
  position: absolute;
  width: 16px;
  opacity: .5;
  top: 11px;
  left: 31px;
  color: #ffffffb0;
}

.tokenmodal {
  padding: 0px;
  background: #000030d0;
}

.tokenmodal .header {
  padding: 20px;
  padding-bottom: 0;
}

.tokenmodal .tokensearch {
  padding: 0 20px;
}

input.nospinner::-webkit-outer-spin-button,
input.nospinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tinfocont {
  border: 1px solid rgba(var(--nred), .25);
  border-radius: 4px;
}

.tinfohead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background .1s ease-out;
}

.tinfoicon {
  color: rgba(var(--nred), 1);
  width: 16px;
  height: 16px;
  rotate: 90deg;
  opacity: .75;
  transition: all .1s ease-out;
}

.tinfohead.active {
  border-radius: 4px 4px 0 0;
  background: rgba(var(--nred), .06);
}

.tinfohead.active .tinfoicon {
  rotate: -90deg;
}

.tinfohead:hover {
  background: rgba(var(--nred), .055);
}

.tinfohead:hover .tinfoicon {
  color: rgba(var(--nred), 1);
  opacity: 1;
}

.submenue {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  line-height: 1em;
}

.submenue svg {
  color: rgba(var(--nred), 1);
  opacity: .75;
}

.submenue.active svg {
  opacity: 1;
}

.submenue img {
  opacity: .75;
}

.submenue.active img {
  opacity: 1;
}

.submenuicon {
  width: 18px;
}

.r180 {
  rotate: 180deg;
}

.rm90 {
  rotate: -90deg;
}

.mla {
  margin-left: auto;
}

.slmenu {
  display: flex;
  gap: 6px;
  padding: 6px;
}

.slme {
  background: rgba(var(--nred), .2);
  padding: 7px 10px;
  border-radius: 3px;
  color: #ffffffd0;
  user-select: none;
}

.slme:not(.active):hover {
  cursor: pointer;
}

.slme.active {
  background: rgba(var(--nred), .75);
  color: white;
}

.triad {
  height: 16px;
  padding: 12px;
}

.triad:hover {
  cursor: pointer;
}

.trit {
  padding-left: 12px;
}

.leverageslider {
  position: relative;
  padding-top: 16px;
  padding-bottom: 1.75em;
  margin-bottom: .75em;
}

.leverageslider .slider {
  width: 100%;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  outline: 0;
}

.leverageslider .slider::-webkit-slider-runnable-track {
  background: rgba(var(--nred), .15);
  height: 8px;
  border-radius: 3px;
}

.leverageslider .slider::-moz-range-track {
  background: rgba(var(--nred), .15);
  height: 8px;
  border-radius: 3px;
}

.leverageslider .slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #00ffee;
  border: 0px solid rgba(var(--nred), .5);
  border-radius: 10px;
  margin-top: -6px;
  z-index: 2;
}

.leverageslider .slider::-moz-range-thumb {
  appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  background: #00ffee;
  border: 0px solid rgba(var(--nred), .5);
  border-radius: 10px;
  margin-top: -6px;
  z-index: 1;
}

.leverageslider .slider::focus {
  outline: none;
}

.leveragelabels {
  display: flex;
  position: absolute;
  justify-content: space-between;
  width: 100%;
  bottom: 0;
  font-size: 12px;
  color: rgba(var(--nred), 1);
  font-weight: 500;
}

.leveragefill {
  position: absolute;
  background: #00ffee80;
  height: 8px;
  border-radius: 3px;
  z-index: 1;
  top: 7px;
  max-width: 100%;
  pointer-events: none;
}

.nkpanel.markets {
  max-width: 900px;
}

.marketssg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 20px;
}

.marketssg .nkpanel {
  width: 100%;
  min-height: 80px;
}

.marketscont {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.marketscont .nkbutton {
  margin-left: auto;
  position: relative;
  display: block;
  padding: .75em 1em;
  font-size: 15px;
  background: rgba(var(--npanelbg), .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marketscont .nkbutton:hover {
  background: rgba(var(--nred), .25);
}

.marketscont .nkbutton svg {
  width: 9px;
  rotate: 45deg;
  margin-right: .4em;
  color: rgba(var(--nred), 1);
}

.mktph {
  text-align: center;
}

.mktph svg {
  width: 30px;
  color: rgba(var(--nred), 1);
}

.mktnote {
  font-size: 13px;
  margin: 0 auto;
  margin-top: .75em;
  max-width: 200px;
}

.nkpanel.markets.empty {
  display: grid;
  align-items: center;
}

.mktmeta {
  font-size: 13px;
  color: rgba(var(--nred), 1);
  font-weight: 600;
  margin-bottom: .6em;
  line-height: 1em;
}

.mkmt {
  font-size: 15px;
}

.mktmeta svg {
  width: 1em;
  vertical-align: bottom;
  margin-left: 7px;
}

.aucnote {
  font-size: 13px;
  margin: 0 auto;
  margin-top: 0.75em;
  max-width: 260px;
}

.loader {
  position: fixed;
  z-index: 20;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 244, .1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.loader img {
  width: 100%;
  max-width: 72px;
  position: absolute;
  left: calc(50% - 36px);
  top: calc(50% - 36px);
}

html.lending .loader img {
  filter: hue-rotate(200deg) brightness(1.5);
}

.error {
  position: relative;
  border: 1px dashed rgba(var(--nred), 1);
  display: none;
}

.deposit.nkbutton:disabled {
  opacity: .25;
  cursor: not-allowed;
}

.spin {
  animation: spin 5s linear infinite forwards;
}

.chain-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.chain-info .chain-icon {
  width: 28px;
}

.chain-info .chain-icon-lg {
  width: 32px;
}

.loader.hidden {
  display: none !important;
}

.flexbreak {
  flex-basis: 100%;
  height: 0;
}

.leverageslider.nolabels {
  margin: 0;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 0;
  width: 100%;
}

.leverageslider.nolabels .leveragefill {
  top: 7px;
}

.error {
  background: rgba(var(--nred), .25);
  position: fixed;
  z-index: 40;
  width: 100%;
  max-width: 420px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 15px;
  border-radius: 4px;
  top: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nktable {
  width: 100%;
  font-size: 14px;
}

.nktable th {
  text-align: left;
  font-size: 12px;
  color: rgba(var(--nred), 1);
  line-height: 1em;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.nktable td {
  padding: 4px 0;
}

.nktable span.meta {
  font-size: 11px;
  opacity: .75;
}

.nktable .marketpill {
  border: 1px solid rgba(var(--nred), .5);
  font-size: 12px;
  text-align: center;
  margin-right: 15px;
  font-weight: 500;
  line-height: 1em;
  padding: 10px 0;
  border-radius: 4px;
}

.nktable .marketpill-borrow {
  border: 1px solid rgba(var(--nred), .5);
  background: rgba(var(--nred), .1);
}

.nktable .marketpill-lend {
  border: 1px solid #22c55e80;
  background: #22c55e30;
}

.nktable .marketpill-collateral {
  border: 1px solid #fbbf2480;
  background: #fbbf2420;
}

.nktvbut {
  border: 1px solid rgba(var(--nred), .5);
  font-size: 12px;
  text-align: center;
  line-height: 13px;
  border-radius: 4px;
  user-select: none;
  font-size: 500;
}

.nktvbut>div {
  padding: 6px 0;
}

.nktvbut>div:hover {
  background: rgba(var(--nred), .25);
  cursor: pointer;
}

.nktvbut>div:not(:last-child) {
  border-bottom: 1px solid rgba(var(--nred), .5);
}

.marketspage .nktable th:last-child {
  text-align: right;
}

.pricurdd.invest {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(var(--nred), .25);
  padding: 8px 10px;
}

.pricurdd.invest .ddarrow {
  margin-left: auto;
}

.nklabel {
  font-size: 13px;
  line-height: 13px;
  margin-bottom: 8px;
  color: white;
  font-weight: 400;
}

.nkmheading {
  font-size: 20px;
  line-height: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(var(--nred), .25);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.modal .nkpanel.wide {
  width: 100%;
  max-width: 520px;
}

table.auctions .meta {
  font-size: 11px;
  opacity: .5;
  margin-top: 3px;
}

table.auctions .colflex {
  display: flex;
  gap: 10px;
  line-height: 1em;
  align-items: center;
}

table.auctions .tflex {
  display: flex;
  gap: 10px;
  line-height: 1em;
  align-items: center;
}

table.auctions .tflex img {
  width: 1.5em;
  border-radius: 50%;
}

table.auctions img {
  width: 1.5em;
  border-radius: 50%;
}

.nukebut {
  border: none;
  background: rgba(var(--nred), .9);
  font-weight: 600;
  font-size: 14px;
}

.nukebut:hover {
  background: rgba(var(--nred), 1);
  filter: drop-shadow(0 0 10px rgba(var(--nred), 1));
}

.nukebut>div {
  padding: 10px 0;
  border: none;

}

nav.topmenu {
  display: flex;
  margin-bottom: 8px;
}

a.disabled {
  pointer-events: none;
  opacity: .5;
}

@keyframes spin {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

span.cmv {
  display: inline-block;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  font-weight: 500;
}

.tinfosec {
  font-size: 14px;
  padding: 15px 12px 15px 12px;
}

.tinfogrid {
  display: grid;
  grid-template-columns: calc(26% - 15px) calc(37% - 20px) 40px calc(37% - 20px);
  grid-column-gap: 5px;
  grid-row-gap: 10px;
  line-height: 1em;
}

.tith {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(var(--nred), .9);
  line-height: 11px
}

.tinfogrid>div.mitm {
  opacity: .75;
  font-weight: 500;
}

.tinfogrid .meta {
  font-size: 11px;
  opacity: .5;
  text-wrap: nowrap;
  line-height: 11px;
}

.timarket {
  margin-bottom: 5px;
}

.tinfogrid .toicon {
  color: rgba(var(--nred), .5);
  width: 11px;
  height: 11px;
  position: relative;
  margin: 0 auto;
  margin-top: 2px;
}

.tinfogrid>div:nth-child(4n+6) {
  text-align: right;
}

.timarket {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.timarket .icons {
  display: flex;
}

.timarket .icons img {
  width: 24px;
}

.timarket .icons img:nth-child(2) {
  margin-left: -4px;
  z-index: 1;
}

.mrow {
  line-height: 24px;
}

.modal .nkpanel {
  filter: drop-shadow(0px 10px 50px rgba(var(--nred), .4));
}

.subbox input.priinput:read-only:hover {
  cursor: not-allowed;
}

.atmm {
  opacity: 1;
  font-size: 12px;
  font-weight: 500;
  user-select: none;
}

.sbclabel:hover .atmm {
  opacity: 1;
  cursor: pointer;
}

.atmmlink {
  text-decoration: underline;
  text-decoration-color: rgba(var(--nred), .75);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  user-select: none;
}

.atmmlink:hover {
  cursor: pointer;
  text-decoration-color: rgba(var(--nred), 1);
}

.unsupportedalert {
  width: 1em;
  color: rgba(var(--nred), 1);
}


.ush {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  line-height: 1.25em;
}

.ushs {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.nkpanel.nkperror {
  filter: drop-shadow(0 0 40px rgba(var(--nred), 0.4));
}

.unsupported-text {
  font-size: 14px;
  line-height: 1.75em;
}

.usl {
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75em;
  margin-top: .75em;
  list-style-type: none;
  cursor: pointer;
}

.rth {
  display: block;
  margin-top: 1.5em;
  text-align: center;
  font-weight: 500;
}

.usl li {
  display: flex;
  align-items: center;
  line-height: 1em;
  gap: .5em;
}

.usl li>div:first-child svg {
  top: 1px;
  position: relative;
}

.usl li>div:first-child svg path,
.usl li>div:first-child svg circle {
  fill: #f9c200 !important;
}

.usl li:not(:last-child) {
  margin-bottom: .75em;
}

.usl li svg {
  width: 1em;
  height: 1em;
}

.errlogo {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  margin-bottom: 20px;
}



.errlogo .tlloans {
  display: none;
}

body .swal2-container.swal2-backdrop-show {
  background: rgba(var(--nred), .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body div:where(.swal2-icon).swal2-error {
  border-color: rgba(var(--nred), 1);
  color: rgba(var(--nred), 1);
}

body div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
  background-color: #fff;
}

body .swal2-popup {
  background: white;

  /* color: white; */
  border: 1px solid #00ffee;
  filter: drop-shadow(0px 20px 30px #00004080);
  border-radius: 20px;
  color: #334155;
}

.swal2-popup .swal2-title {
  color: #000040;
}

body button.swal2-styled{
  border-radius: 100px !important;
  font-weight: 600;
}

body div:where(.swal2-container) div:where(.swal2-popup) {
  padding: 0 0 2.5em;
}

.swal2-confirm,
.swal2-deny,
.swal2-cancel {
  padding: 1em 1.5em;
}

body .swal2-confirm {
  box-sizing: border-box;
  background: #00ffee10 !important;
  border: 1px solid #00ffee !important;
  color: #000040 !important;

}

body .swal2-cancel {
 background: #f8fafc !important;
 color: #334155 !important;
 border: 1px solid #cbd5e1 !important;
}

body .swal2-confirm:hover {
  background: #00ffee !important;
}

body div:where(.swal2-container) button:where(.swal2-styled).swal2-deny {
  background: rgba(var(--nred), .9);
}

body div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:hover {
  background: rgba(var(--nred), 1);
}

body div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover {
  background-image: none !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(112, 102, 224, 0) !important;
}

.swal2-success-circular-line-right,
.swal2-success-circular-line-left,
.swal2-success-fix {
  display: none;
}

body div:where(.swal2-icon).swal2-success {
  border-color: #22c55e;
}

body div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
  background-color: #fff !important;
}

body div:where(.swal2-icon).swal2-success {
  animation: swal2-animate-success-ring .5s;
}

@keyframes swal2-animate-success-ring {
  0% {
    /* margin-top: 1.625em; */
    transform: scaleY(0.4);
    opacity: 0;
  }

  50% {
    /* margin-top: 1.625em; */
    transform: scaleY(0.4);
    opacity: 0;
  }

  60% {
    /* margin-top: -0.375em; */
    transform: scaleY(0);
    opacity: 0;
  }

  100% {
    /* margin-top: 0; */
    transform: scaleY(1);
    opacity: 1;
  }
}

#sbinvest {
  flex-basis: 100%;
}

.subbox.imarket {
  height: auto;
  padding: 20px 20px 35px;
}

.subbox.imarket .sbclabel {
  margin-left: 0;
  margin-bottom: 0;
  margin-top: 4px;
}

.subbox.imarket .pricurdd {
  margin-left: 0;
}

.imdt {
  margin-top: 10px;
  width: 100%;
  font-size: 14px;
}

.imdt th {
  color: rgba(var(--nred), 1);
  font-size: 13px;
  font-weight: 600;
  line-height: 13px;
  height: 13px;
  text-align: left;
}

.imdt td {
  vertical-align: baseline;
}

.imdt .meta {
  font-size: 12px;
  font-weight: 400;
  opacity: .6;
}

.sbimsf {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.imdt tr>*:last-child,
.imdt tr>*:nth-child(2) {
  text-align: right;
}

.sbigrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* border: 1px solid rgba(var(--nred), .25); */
  background: rgba(var(--npanelbg), .5);
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  grid-gap: 15px;
  margin-top: 15px;
  padding-bottom: 15px;
}

.sbigrid:not(.nmi)>div:first-child {
  border-bottom: 1px solid rgba(var(--nred), .25);
  padding-bottom: 10px;
  grid-column: 1/4;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  gap: 10px;
  line-height: 15px;
}

.sbigrid.nmi {
  border-top: 1px solid rgba(var(--nred), .25);
  padding-top: 20px !important;
}

.sbigrid .icons {
  display: flex;
}

.sbigrid .icons img {
  width: 18px;
}

.sbigrid .icons img:nth-child(2) {
  margin-left: -4px;
}

.sbigrid .label {
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  text-transform: uppercase;
  color: rgba(var(--nred), .9);
  margin-bottom: 1px;
}

.sbigrid .meta {
  font-size: 11px;
  font-weight: 400;
  line-height: 11px;
  opacity: .6;
  margin-top: 2px;
}

.chdd {
  width: 12px;
  padding: 10px 2px;
  color: #fff;
}

.chdd:hover {
  cursor: pointer;
  color: #fff;
}

.ciselect {
  top: 3px;
  position: relative;
  z-index: 1;
  user-select: none;
}

.cisdd {
  height: 32px;
}

.cishider {
  position: fixed;
  inset: 0;
  background: rgba(0, 32, 64, .35);
  animation: mnhr .1s ease-out 1 forwards;
  z-index: -1;
  backdrop-filter: blur(3px);
}

.trans100 {
  transition: all .1s ease-out;
}

.cischains {
  position: absolute;
  display: none;
  background: white;
  color: #000;
  padding: 15px;
  border-radius: 5px;
  top: 44px;
  right: 24px;
  box-shadow: 0 10px 20px -5px #00104080;
  animation: mnlr .1s ease-out 1 forwards;
  transform-origin: top right;
  width: 240px;
  font-weight: 400;
}

.cischains.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cisgrid>div {
  display: grid;
  grid-template-columns: 20px calc(100% - 60px) 20px;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.cisgrid>div:not(:last-child) {
  margin-bottom: 16px;
}

.cisgrid>div>div:first-child {
  height: 20px;
  width: 20px;
}

.cisgrid>div>div:first-child img {
  border-radius: 10px;
}

.cisgrid .selected {
  font-weight: 600;
}

.ciso:not(.selected):hover {
  cursor: pointer;
}

.chainname .checkmark {
  width: 12px;
  margin-left: auto;
  color: rgba(var(--nred), 1);
}

.chainname {
  cursor: pointer;
  line-height: 1em;
}

.wadd {
  font-weight: 500;
  font-size: 11px;
  margin-right: auto;
  margin-top: 2px;
  opacity: .75;
}

.cicidd {
  display: flex;
  color: rgba(255, 255, 255, .75);
  gap: 6px;
}

.cicidd:hover {
  cursor: pointer;
  color: white;
}

.slperc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 3px;
  color: rgba(255, 255, 255, .75);
  font-weight: 400;
  user-select: none;
}

.slperc>div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.slperc>div:not(:first-child)>div:first-child {
  transform: translateX(-33%);
}

.slperc>div>div:hover {
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  cursor: pointer;
}

.subbox:has(.slperc) {
  height: auto;
}

.subbox:has(.slperc) .leverageslider {}

.subbox:first-child {
  padding-bottom: 30px;
}

.subbox.mt0 {
  margin-top: 0;
}

.subbox:hover {
  /* background: rgba(var(--nred), .075); */
}

.subbox>div.repayf {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-basis: 100%;
}

.subbox>div.repayf .pricurdd {
  margin-left: 0;
}

.subbox>div.repayf .sbclabel {
  margin-top: 11px;
}

.nkpanel.nmh {
  min-height: auto;
}

.nkpanel.positions {
  max-width: none;
  min-height: auto;
  overflow: auto;
}

.nkptable {
  font-size: 14px;
  min-width: 800px;
  border-collapse: collapse;
}

.nkptable th {
  font-weight: 700;
  text-align: left;
  font-size: 12px;
  color: rgba(var(--nred), 1);
  line-height: 12px;
  text-transform: uppercase;
}

.nkptable thead th {
  padding-bottom: 8px;
  padding-top: 4px;
  margin-bottom: 10px;
}


.nkptable thead th:first-child {
  border-radius: 4px 0 0 4px;
}

.nkptable thead th:last-child {
  border-radius: 0 4px 4px 0;
}

.nkptable tbody>tr:not(:last-child) td {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--nred), .3);
}

.nkptable tbody>tr td {
  padding-top: 10px;
}

.nkptable>*>tr>*:last-child {
  text-align: right;
  width: 50px;
}

.nkpactions {
  display: flex;
  justify-content: end;
}

.nkpa {
  font-size: 13px;
  line-height: 13px;
  border-top: 1px solid rgba(var(--nred), .75);
  border-bottom: 1px solid rgba(var(--nred), .75);
  border-left: 1px solid rgba(var(--nred), .75);
  padding: 8px 10px;
  user-select: none;
  background: transparent;
}

.nkpactions button:first-child {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.nkpactions button:last-child {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  border-right: 1px solid rgba(var(--nred), .75);
}

.nkpa:hover {
  border-color: rgba(var(--nred), 1);
  cursor: pointer;
  background: rgba(var(--nred), .2);
}

.nkparp {
  background: rgba(255, 125, 125, .1);
  border-radius: 3px;
  text-align: center;
  margin-right: 20px;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(var(--nred), .3);
}

@keyframes gradient {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.nkparp.high {
  border-color: rgba(var(--nred), 1);
  background: repeating-linear-gradient(to right, rgba(var(--nred), .25) 0%, rgba(var(--nred), .1) 50%, rgba(var(--nred), .25) 100%);
  background-size: 200% auto;
  background-position: 0 100%;
  animation: gradient 4s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.nkparp.medium {
  border-color: #f97316;
}

.nkparp.low {
  border-color: #4ade80;
}

.nkpa.spinnerbut:hover {
  box-shadow: 0 0 10px rgba(var(--nred), .5);
}

.iconpairs {
  display: flex;
  height: 20px;
}

.iconpairs img {
  width: 20px;
  height: 20px;
}

.iconpairs :nth-child(2) {
  margin-left: -5px;
}

.flexcenter {
  display: flex;
  gap: 10px;
}

.fw500 {
  font-weight: 500;
}

.fw600 {
  font-weight: 600;
}

.nkpa svg {
  width: 10px;
}

.marketmodal .flexcenter {
  align-content: center;
  align-items: center;
  font-size: 18px;
}

.marketmodal .iconpairs {
  display: inline;
  height: 24px;
}

.marketmodal .iconpairs img {
  width: 24px;
  height: 24px;
}

.marketmodal .sbigrid {
  padding: 0;
  background: transparent;
  border-bottom: 1px solid rgba(var(--nred), .25);
  padding-bottom: 15px;
  grid-row-gap: 20px;
}

.mktbuttons {
  margin-top: 20px;
  display: flex;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  gap: 10px;
  flex-wrap: wrap;
  user-select: none;
}

.mktbuttons>div {
  border: 2px solid rgba(var(--nred), 1);
  border-radius: 3px;
  padding: 10px;
  flex-grow: 1;
  text-align: center;
}

.mktbuttons>div:hover {
  cursor: pointer;
  background: rgba(var(--nred), .2);
  font-weight: 600;
}

.modal .nkpanel.marketmodal {
  max-width: 640px;
}

.marketmodal .sbigrid .label {
  font-size: 11px;
  margin-bottom: 3px;
}

.positionsempty {
  text-align: center;
  padding: 50px 0;
}

.positionsempty svg {
  width: 48px;
  margin-bottom: 10px;
  color: rgba(var(--nred), 1);
}

.positionsempty .meta {
  font-size: 14px;
  opacity: .8;
}

.posmeta {
  font-size: 11px;
  opacity: .65;
  line-height: 11px;
}

#topbar .mobnav a,
#topbar .topmenu a {
  /* text-decoration: underline;
  text-decoration-color: rgba(var(--nred), .75);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px; */
  /* text-transform: uppercase; */
  font-size: 16px;
  font-weight: 600;
}


#topbar nav.topmenu a:hover {
  text-decoration-color: rgba(var(--nred), 1);
  color: #fff;
}

#topbar nav.topmenu a.active {
  text-decoration: underline;
  text-decoration-color: rgba(var(--nred), .75);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(var(--nred), 1);
}

#topbar nav a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(var(--nred), .75);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.mobnavlinks .menumode {
  margin-bottom: 10px;
}

.hidden {
  display: none;
}

.atmmi {
  width: 16px;
}

.icon img {
  /* vertical-align: middle; */
}

.liquidationtable {
  text-align: left;
}

.liquidationtable th {
  font-weight: 600;
  font-size: 13px;
  color: rgba(var(--nred), 1);
}

.liquidationtable td {
  font-size: 20px;
}

.paytable {
  text-align: left;
}

.paytable th {
  font-weight: 600;
  font-size: 13px;
  color: rgba(var(--nred), 1);
}

.paytable td {
  font-size: 20px;
}

.nbicon {
  display: inline-block;
  width: 15px;
  height: 15px;
}

.nkpa.flex {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spinnerbut:hover img {
  animation: spin 5s linear infinite forwards;
}

.prired {
  color: rgba(var(--nred), 1);
}

.dltflex {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.bgb10 {
  background: rgba(0, 0, 0, 0.1);
}

.bgb15 {
  background: rgba(0, 0, 0, 0.15);
}

.invtable {
  font-size: 20px;
}

.invtable th {
  font-size: 12px;
  font-weight: 600;
  color: rgba(var(--nred), 1);
  text-align: left;
  line-height: 12px;
}

.invtable td {
  vertical-align: text-top;
  font-weight: 500;
}

.invtable .meta {
  font-size: 12px;
  opacity: .75;
  font-weight: 400;
  line-height: 12px;
  margin-top: 2px;
}

.yourposition {
  color: rgba(var(--nred), 1);
  display: inline-block;
  background: rgba(var(--nred), .15);
  font-weight: 600;
  font-size: 12px;
  margin-left: 7px;
  line-height: 12px;
  padding: 5px;
  border: 1px solid rgba(var(--nred), .3);
  border-radius: 4px;
}

.wselect {
  min-height: auto;
  height: fit-content;
  top: 50%;
  position: fixed;
  margin-top: 50vh;
  transform: translateY(-50%);
  z-index: 50;

}

.wselect .header {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.wclabel {
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--nred), 1);
  background: rgba(var(--nred), .1);
  line-height: 14px;
  padding: 5px;
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 10px;
}

.disconnect {
  text-align: left;
  margin-top: 2px;
  font-weight: 500;
  border-top: 1px solid rgba(var(--nred), .5);
  padding-top: 10px;
  user-select: none;
}

.disconnect:hover {
  cursor: pointer;
  font-weight: 600;
}

.invisible {
  opacity: 0;
  pointer-events: none;
}

.swal2-modal div:where(.swal2-icon).swal2-warning {
  border-color: #00ffee;
  color: inherit;
}

.mypositionfilter {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1.25em;
  line-height: 13px;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 13px;
}

.mypositionfilter:hover {
  cursor: pointer;
}

.mpft {
  height: 1em;
  width: 2em;
  background: rgba(var(--nred), .25);
  border-radius: .25em;
  border: 1px solid rgba(var(--nred), .5);
}

.mpftd {
  height: calc(1em - 4px);
  width: calc(1em - 4px);
  background: white;
  border-radius: 25%;
  position: relative;
  top: 2px;
  left: 2px;
  transition: all .1s ease-out;
}

.mpft.active {
  background: rgba(var(--nred), 1);
}

.mpft.active .mpftd {
  left: 14px;
}

.cltimer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  margin-top: 10px;
}

.ncswitch {
  display: flex;
  align-items: center;
  margin-right: 15px;
  position: relative;
  gap: 5px;
}

.ncswitch:hover {
  cursor: pointer;
}

.ncswitch img {
  width: 36px;
  position: relative;
  right: 0px;
  bottom: 0px;
  opacity: .75;
  border: 2px solid rgba(var(--nred), 0.1);
  box-sizing: border-box;
}

.ncswitch .connected {
  width: 36px;
  position: relative;
  z-index: 1;
  bottom: 0;
  right: 0;
  display: block;
  border: 3px solid rgba(var(--nred), 1);
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 1;
}

.ncnote {
  padding: 20px;
  box-sizing: border-box;
  background: #ff634710;
  border: 1px dashed #ff6347;
  border-radius: 3px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
}

.ncnote svg {
  width: 20px;
}

.h1 {
  line-height: 1em;
  font-size: 24px;
}

.landinglogo .insignia {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
  display: block;
  margin-bottom: 2em;
  transform: scaleX(-1);
  filter: drop-shadow(-30px 30px 30px #00004080);
}

.landinglogo .sukuktext {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  position: relative;
  display: block;
  margin-bottom: 6em;
}

.innerhead {
  font-weight: 450;
  letter-spacing: -0.03em;
  margin: 0;
  margin-bottom: .5em;
  color: #fff;
}

.marketsheader {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 1.5em;
}

.marketsheader .kyc {
  grid-column: span 2;
  background: #00003080;
  backdrop-filter: blur(10px);
  border: 1px solid #93c5fd40;
  border-radius: 10px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 32, .5);
  padding: 1em 1.5em;
  display: flex;
  align-items: center;
  gap: 2em;
}

.marketsheader .tvl {
  background: #00003080;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid #00ffee;
  padding: 1em;
  display: grid;
}

.tvlheader {
  display: flex;
  justify-content: space-between;

}

.tvlheader div:first-child {
  font-size: 14px;
  font-weight: 600;
}

.tvlheader div:last-child {
  font-size: 30px;
  line-height: 1em;
  letter-spacing: -.05em;
  text-align: right;
  font-weight: 450;
  color: #00ffee;
}

.tvlchart {
  margin-top: auto;
}

.kycnftlogo {
  background: url(./images/kycnft.svg) no-repeat center center;
  background-size: contain;
  width: 100px;
  height: 100px;
  margin-left: 0px;
}

.kyctr {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
}

.fw700 {
  font-weight: 700;
}

.kycprogress {
  background: #00ffee40;
  height: 6px;
  border-radius: 10px;
  width: 10vw;
  position: relative;
  top: 6px;
}

.kycprogress::after {
  content: '';
  background: #00ffee;
  height: 100%;
  width: 33%;
  position: absolute;
  border-radius: 10px;
}

.kycnftgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1em;
  gap: 1em;
}

.kycnftgrid>div {
  display: flex;
  align-items: start;
  gap: 1em;
  font-size: 14px;
}

.kycnftgrid>div .fw600 {
  color: #ffffff00;
  background: #00ffee80;
  width: fit-content;
  border-radius: 5px;
}

.wipetext {
  color: #e7e5e400;
  background: #e7e5e440;
  border-radius: 5px;
  line-height: 1em;
  margin: .25em 0;
}

.kycnfticon {
  font-size: 2em;
}

.kycstatus {
  margin-top: .5em;
  font-weight: 500;
}

.tableheader {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.marketstable {
  background: #00003080;
  backdrop-filter: blur(10px);
  border: 1px solid #93c5fd40;
  margin-top: 1.5em;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 32, .5);
}

.tableheader>div:first-child {
  grid-column: span 2;
}

.tablebody .row>div:first-child {
  grid-column: span 2;
  color: #fff;
  font-weight: 500;
  align-items: center;
  display: flex;
  gap: .5em;
}

.tableheader>div:last-child,
.tablebody .row>div:last-child {
  text-align: right;
}

.tablebody {
  margin-top: 1em;
}

.tablebody .row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  padding: .75em 0;
  align-items: center;
}

.tablebody .row:not(:last-child) {
  border-bottom: 1px solid #e7e5e4;
}

main.borrowpage {
  margin-top: max(10vh, 1em);
}

.npe {
  pointer-events: none;
}

.npe .loadingopacity {
  opacity: .75;
}

.countdown {
  text-align: center;
  font-size: 2em;
  font-weight: 500;
  margin-top: .6em;
  line-height: 1em;
  color: #fff;
}

.vaultstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 1em;
  margin-top: .5em;
}

.vaultstats>div {
  border-radius: 10px;
}

.vshead {
  font-size: 12px;
  font-weight: 450;
  line-height: 1em;
  margin-bottom: .5em;
  color: #bfdbfe;
}

.yvshead{
  margin-bottom: .6em;
}

.vsval {
  font-size: 15px;
  line-height: 1em;
  font-weight: 600;
}

.vsact {
  font-size: 13px;
  font-weight: 600;
  color: #00ffee;
  line-height: 1em;
  margin-top: .5em;
  user-select: none;
}

.vsact:hover {
  cursor: pointer;
}

.vsstatus {
  font-size: 13px;
  font-weight: 600;
  color: orange;
  line-height: 1em;
  margin-top: .5em;
  user-select: none;
}

.vaultstatshead {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1em;
  padding: 1.5em;
  border-radius: 10px;
  margin-bottom: 1em;
  border: 1px solid #00ffee80;
}

.tweetpreview {
  font-size: 14px;
  line-height: 1.5em;
  margin-top: .5em;
  word-break: break-word;
}

.tweetpreview div {
  margin: .5em 0;
  border: 1px dashed #44403c40;
  padding: 1em;
  border-radius: 10px;
}

.twitter-share-button {
  margin-top: .125em;
}

.twitter-follow-button {
  margin-top: .25em;
}

.fnt {
  font-size: 18px;
  font-weight: 450;
  margin-top: .5em;
}

.fnt span {
  font-weight: 600;
}

.fnt .meta {
  font-size: 12px;
  font-weight: 500;
  color: tomato;
}

.tweeturl {
  font-size: 16px;
  appearance: none;
  border: 1px solid #44403cb0;
  border-radius: 10px;
  padding: 1em;
  box-sizing: border-box;
  width: 100%;
  font-weight: 450;
}

.tweeturl::placeholder {
  color: #44403c80;
  font-weight: 450;
}

.claimbutton.disabled {}

.tweeterror {
  color: tomato;
  font-size: 14px;
  font-weight: 500;
  padding: 1em;
  border-radius: 10px;
  background: #ff634710;
  border: 1px dashed tomato;
  text-align: left;
  margin-top: 1em;
  line-height: 1.5em;
}

.toplogo .tbinsignia {
  width: 48px;
}

.toplogo .sukuktext {
  width: 100px;
  margin-left: 1em;
}

.bg {
  position: fixed;
  inset: 0;
  background: #092a59;
  height: 100lvh;
}

.bg2 {
  position: fixed;
  inset: 0;
  background: #00bbff;
  opacity: .2;
  animation: bg2 10s linear infinite forwards;
  height: 100lvh;
}

@keyframes bg2 {
  0% {
    opacity: .2;
  }

  25% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }
}

.grads {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
}

.grad1 {
  position: absolute;
  top: 25%;
  left: 5%;
  width: 70lvh;
  height: 50%;
  rotate: -45deg;
  background: #000040;
  opacity: .6;
  /* mix-blend-mode: multiply; */
  border-radius: 100%;
  filter: blur(100px);
}

.grad2 {
  position: absolute;
  width: 75lvh;
  height: 75lvh;
  background: url('./images/edgegrad.webp');
  opacity: .25;
  background-position: top left;
  background-size: contain;
  background-repeat: no-repeat;
}

.grad4 {
  position: absolute;
  width: 100lvh;
  height: 100lvh;
  right: 0;
  transform: scaleX(-1);
  background: url('./images/edgegrad.webp');
  opacity: .25;
  background-repeat: no-repeat;
}

.grad5 {
  position: absolute;
  width: 50lvh;
  height: 50lvh;
  left: 0;
  bottom: 0;
  background: url('./images/edgegrad2.webp');
  opacity: .5;
  background-size: contain;
  transform: scaleX(-1);
  background-position: bottom right;
  background-repeat: no-repeat;
}


.grad3 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100lvh;
  background: url('./images/edgegrad2.webp');
  background-size: cover;
  background-position: bottom right;
  opacity: .75;
}

.galaxy {
  position: absolute;
  width: 100%;
  height: 100lvh;
  background: url('./images/galaxy.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .15;
  animation: galaxy 5s ease-out 1 forwards;
}

.rgrad {
  position: absolute;
  width: 100lvh;
  height: 100lvh;
  background: url('./images/rgrad.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .4;
  z-index: -1;
  animation: rgrad 10s linear infinite forwards;
}

@keyframes rgrad {
  0% {
    top: -50lvh;
    left: 50vw;
    transform: translateX(-50lvh) translateY(-50lvh);
  }

  10% {
    top: 0lvh;
  }

  50% {
    left: 100vw;
    top: 0lvh;
    transform: translateX(0lvh) translateY(-50lvh);
  }

  50.1% {
    left: 50vw;
    transform: translateX(-50lvh) translateY(50lvh);
    top: 50lvh;
  }

  60% {
    top: 0lvh;
  }

  100% {
    left: 0vw;
    transform: translateX(-100lvh) translateY(50lvh);
  }
}

@keyframes galaxy {
  0% {
    scale: 1.2;
  }

  100% {
    scale: 1;
  }
}

.rgrad2 {
  position: absolute;
  width: 100lvh;
  height: 100lvh;
  background: url('./images/rgrad.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: -1;
}


    .wselect{
      color: #000;
      background: #fff;
    }


.unsupported-title{
  color: #fff;
}

.supported-chains .nkbutton{
  border-radius: 20px;
  padding: 1em 1.5em;
}

ul.usl li:hover{
  color: white;
}

.ushs{
  color: #fff;
}

.usheader{
  display: flex;
  width: fit-content;
  margin: 0 auto;
  gap: 1em;
}

@media screen {}

@media screen and (orientation:landscape) and (min-height:800px) {
  main.homepage {
    margin-top: max(calc(50vh - 306px - 80px), 1em);
  }
}

@media screen and (orientation:landscape) and (min-height:750px) {
  main:not(.homepage) {
    margin-top: 6vh;
  }
}

@media screen and (orientation:landscape) and (min-height:750px) {
  main:not(.homepage) {
    margin-top: 8vh;
  }
}

@media screen and (orientation:landscape) and (min-height:700px) {
  main:not(.homepage) {
    margin-top: 3vh;
  }

  main.borrowpage {
    margin-top: max(10vh, 1em);
  }
}

@media screen and (orientation:portrait) {
  @media screen and (min-height:1200px) {
    main {
      margin-top: 15vh;
    }

    #topbar {
      margin-top: 1vh;
    }

    .bg1 {
      background-position: 66%;
    }

    .bg2 {
      background-position: 33%;
    }
  }

  @media screen and (max-width:960px) {
    main {
      margin-top: 13vh;
    }

    main.homepage .caption {
      font-size: 55px;
    }

    #topbar {
      margin-top: 1vh;
    }

    .bg1 {
      background-position: 66%;
    }

    .bg2 {
      background-position: 33%;
    }

    nav {
      display: none;
    }

    .mobnav {
      display: block;
    }

    nav.topmenu {
      display: none;
    }

    #topbar>div:last-child {
      flex-basis: auto;
    }

    .toplogo {
      position: relative;
      top: 10px;
    }

    .marketsheader {
      grid-template-columns: repeat(1, 1fr);
    }

    .marketsheader .kyc {
      grid-column: 1;
    }

    #topbar>div:first-child {
      height: 60px;
    }

    .landinglogo img {
      max-width: 70vw;
      margin-top: 10vh;

    }

    .kycnftgrid {
      grid-template-columns: repeat(1, 1fr);
    }

    .marketstable {
      overflow-x: auto;
    }

    .tablecontainer {
      min-width: 950px;
    }
  }

  @media screen and (max-width:767px) {
    main {
      margin-top: 5vh;
    }

    .marketmodal .sbigrid {
      grid-template-columns: repeat(2, 1fr);
    }

    .mobnav {
      margin-left: 1em;
    }

    .marketsheader .kyc {
      display: grid;

    }

    .kycnftlogo {
      margin: 0 auto;
    }

    .kyctr {
      display: block;
      justify-content: space-between;
      width: 100%;
      font-size: 14px;
    }

    .kycprogress {
      width: 100%;
      margin-bottom: .75em;
    }


  }

  @media screen and (max-width:599px) {
    main {
      margin-top: 2vh;
      padding: 0 20px;
    }

    main.homepage .caption {
      font-size: 40px;
    }

    #topbar {
      padding: 0 20px;
      margin-top: 0;
    }

    .priinput {
      font-size: 30px;
      line-height: 36px;
      height: 54px;
    }

    .subbox {
      height: auto;
      padding-top: 30px;
      padding-bottom: 30px;
    }

    .tinfogrid {
      grid-template-columns: calc(26% - 7px) calc(37% - 10px) 12px calc(37% - 10px);
    }

    .ncswitch img {
      display: none;
    }

    .ncswitch .connected {
      border: 0px solid rgba(var(--nred), 1);
    }
  }


  @media screen and (max-width:439px) {
    main {
      padding: 0 20px;
      margin-top: 2em;
    }

    main.homepage .caption {
      font-size: 44px;
    }

    #topbar {
      padding: 0 10px;
    }

    .priinput {
      font-size: 24px;
      line-height: 36px;
      height: 54px;
    }

    main.homepage .caption {
      font-size: 30px;
    }

    .ush {
      align-items: flex-start;
    }

    .ush svg {
      top: 3px;
      position: relative;
    }

    .landinglogo .insignia {
      width: 75%;
  }
  }
}