.ls-popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
}

.ls-popover {
  position: fixed;
  z-index: 1200;
  min-width: 220px;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(18, 21, 20, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(18, 21, 20, 0.18);
  color: #121514;
  font-family: Archivo, Arial, sans-serif;
  overflow: hidden;
}

.ls-popover-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(18, 21, 20, 0.08);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ls-popover-list {
  max-height: 320px;
  overflow: auto;
  padding: 6px;
}

.ls-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ls-option:hover,
.ls-option:focus-visible {
  background: #eef4ef;
  outline: none;
}

.ls-option-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ls-token-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border: 1px solid rgba(18, 21, 20, 0.08);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.ls-token-img,
.ls-token-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ls-token-svg {
  padding: 3px;
  box-sizing: border-box;
}

.ls-token-empty {
  width: 100%;
  height: 100%;
  display: block;
  background: #f6faf4;
}

.ls-option small {
  color: #6a706e;
  font-size: 12px;
}

.ls-settings {
  padding: 14px;
}

.ls-settings-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ls-settings-label {
  color: #4d5552;
  font-size: 13px;
  font-weight: 700;
}

.ls-segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ls-chip {
  min-height: 34px;
  border: 1px solid rgba(18, 21, 20, 0.14);
  border-radius: 6px;
  background: #fff;
  color: #121514;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.ls-chip.active,
.ls-chip:hover {
  background: #d8ff6b;
  border-color: #121514;
}

.ls-static-active {
  background: #d8ff6b !important;
  border-color: #121514 !important;
  color: #121514 !important;
}

@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #root > .MuiStack-root {
    width: 100% !important;
    max-width: 100% !important;
  }

  #root > .MuiStack-root > .MuiStack-root:first-child {
    display: none !important;
  }

  #root > .MuiStack-root > .MuiStack-root:nth-child(2) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  #root .MuiContainer-root {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #root header {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #root header > span:first-child:not(.ls-mobile-logo),
  #root header .MuiTypography-subsection {
    display: none !important;
  }

  .ls-mobile-logo {
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 20px !important;
  }

  .ls-mobile-logo svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }

  #root button[title="menu"] {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgb(18, 21, 20) !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  #root button[title="menu"] p {
    display: none !important;
  }

  #root button[title="menu"] .MuiButton-icon {
    margin: 0 !important;
    width: 22px !important;
    height: 32px !important;
  }

  #root button[title="menu"] svg {
    width: 22px !important;
    height: 32px !important;
  }

  #root .css-f2m8te {
    display: none !important;
  }

  #root main,
  #root section,
  #root article,
  #root .MuiPaper-root,
  #root .MuiCard-root {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
