/*! do-wallet-product.css */
* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #07030f;
  --surface: #10091a;
  --panel: #171020;
  --panel-2: #211632;
  --panel-3: #2a1744;
  --line: #3e1f5c;
  --line-strong: #6f2aa3;
  --text: #ffffff;
  --muted: #c9b9e6;
  --muted-2: #9e8abf;
  --purple: #9d3df5;
  --purple-2: #7a28ca;
  --orange: #ff9f08;
  --orange-2: #ffbd36;
  --green: #12c99b;
  --red: #ff4a55;
  --shadow: rgba(0, 0, 0, 0.42);
  --sidebar-width: 222px;
  --portfolio-width: 420px;
  --header-height: 78px;
}

html,
body,
#do-wallet {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  overflow: hidden !important;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--text);
}

body {
  position: fixed;
  inset: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: 0;
  max-width: 100%;
}

button {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 120ms ease,
    filter 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease,
    background-color 120ms ease,
    opacity 120ms ease;
}

button,
[role="button"],
[data-action],
[data-route],
[data-copy],
[data-wallet-id],
[data-group-key],
[data-asset-key],
[data-stake-group-key],
[data-stake-summary-kind],
[data-stake-action-tab],
[data-stake-source-validator],
[data-validator-action],
[data-market-page],
[data-favorite-chain],
[data-amount-preset] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button.is-hit,
[role="button"].is-hit,
[data-route].is-hit,
[data-copy].is-hit,
[data-wallet-id].is-hit,
[data-group-key].is-hit,
[data-asset-key].is-hit,
[data-stake-group-key].is-hit,
[data-stake-summary-kind].is-hit,
[data-stake-action-tab].is-hit,
[data-stake-source-validator].is-hit,
[data-validator-action].is-hit,
[data-market-page].is-hit,
[data-favorite-chain].is-hit,
[data-amount-preset].is-hit {
  transform: translateY(1px) scale(0.985);
  filter: brightness(1.12);
}

button.is-hit::after {
  content: "";
  position: absolute;
  left: var(--hit-x, 50%);
  top: var(--hit-y, 50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.36);
  transform: translate(-50%, -50%) scale(1);
  animation: dw-button-hit 420ms ease-out forwards;
}

button.is-feedback-busy,
[role="button"].is-feedback-busy,
[data-route].is-feedback-busy,
[data-copy].is-feedback-busy,
[data-wallet-id].is-feedback-busy,
[data-validator-action].is-feedback-busy,
[data-market-page].is-feedback-busy {
  cursor: wait;
  animation: dw-control-busy 820ms ease-in-out infinite alternate;
}

button.is-feedback-done,
[role="button"].is-feedback-done,
[data-route].is-feedback-done,
[data-copy].is-feedback-done,
[data-wallet-id].is-feedback-done,
[data-validator-action].is-feedback-done,
[data-market-page].is-feedback-done {
  box-shadow:
    0 0 0 2px rgba(27, 225, 178, 0.24),
    0 0 18px rgba(27, 225, 178, 0.18);
}

@keyframes dw-button-hit {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@keyframes dw-control-busy {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  button,
  [role="button"],
  [data-route],
  [data-copy],
  [data-wallet-id],
  [data-group-key],
  [data-asset-key],
  [data-stake-group-key],
  [data-stake-summary-kind],
  [data-stake-action-tab],
  [data-stake-source-validator],
  [data-validator-action],
  [data-market-page],
  [data-favorite-chain],
  [data-amount-preset] {
    transition: none;
    animation: none !important;
  }

  button.is-hit,
  [role="button"].is-hit,
  [data-route].is-hit,
  [data-copy].is-hit,
  [data-wallet-id].is-hit,
  [data-group-key].is-hit,
  [data-asset-key].is-hit,
  [data-stake-group-key].is-hit,
  [data-stake-summary-kind].is-hit,
  [data-stake-action-tab].is-hit,
  [data-stake-source-validator].is-hit,
  [data-validator-action].is-hit,
  [data-market-page].is-hit,
  [data-favorite-chain].is-hit,
  [data-amount-preset].is-hit {
    transform: none;
  }

  button.is-hit::after {
    display: none;
  }
}

input,
textarea,
select {
  min-width: 0;
}

h1,
h2,
h3,
b,
strong,
th,
.dw-brand,
.dw-nav-item.is-active,
.dw-network-row.is-active,
.dw-primary,
.dw-secondary,
.dw-danger,
.dw-wallet-pill {
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

.dw-shell {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--portfolio-width);
  grid-template-rows: var(--header-height) minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
  transition: grid-template-columns 180ms ease;
}

.dw-shell > * {
  min-width: 0;
  min-height: 0;
}

.dw-shell:not(.is-mobile-mode).is-left-panel-collapsed {
  --sidebar-width: 0px;
}

.dw-shell:not(.is-mobile-mode).is-right-panel-collapsed {
  --portfolio-width: 0px;
}

.dw-shell:not(.is-mobile-mode).is-left-panel-collapsed .dw-sidebar,
.dw-shell:not(.is-mobile-mode).is-left-panel-collapsed .dw-brand {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.dw-shell:not(.is-mobile-mode).is-right-panel-collapsed .dw-portfolio {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.dw-shell.is-mobile-mode .dw-side-toggle {
  display: none;
}

.dw-shell.is-mobile-mode {
  --sidebar-width: 188px;
  --portfolio-width: 0px;
  --header-height: 72px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--header-height) minmax(0, 1fr);
}

.dw-shell.is-mobile-mode .dw-topbar {
  grid-template-columns: minmax(150px, var(--sidebar-width)) minmax(0, 1fr);
}

.dw-shell.is-mobile-mode .dw-workspace {
  grid-column: 1;
}

.dw-shell.is-mobile-mode .dw-sidebar {
  position: fixed;
  left: 0;
  top: var(--header-height);
  bottom: 0;
  width: min(300px, 86vw);
  height: auto;
  z-index: 50;
  transform: translateX(-105%);
  transition: transform 160ms ease;
  box-shadow: 20px 0 50px var(--shadow);
}

.dw-shell.is-mobile-mode .dw-sidebar.is-open {
  transform: translateX(0);
}

.dw-shell.is-mobile-mode .dw-menu-button {
  display: inline-grid;
}

.dw-shell.is-mobile-mode .dw-portfolio {
  display: none;
}

.dw-shell.is-mobile-mode .dw-topbar-main {
  padding: 0 12px;
  gap: 8px;
}

.dw-shell.is-mobile-mode .dw-chain-chip,
.dw-shell.is-mobile-mode .dw-mobile-connect,
.dw-shell.is-mobile-mode .dw-top-mobile,
.dw-shell.is-mobile-mode .dw-wallet-pill {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-shell.is-mobile-mode .dw-main {
  padding: 28px 14px 64px;
}

.dw-shell.is-mobile-mode .dw-overview,
.dw-shell.is-mobile-mode .dw-network-hero,
.dw-shell.is-mobile-mode .dw-manage-grid,
.dw-shell.is-mobile-mode .dw-stake-grid,
.dw-shell.is-mobile-mode .dw-stat-grid,
.dw-shell.is-mobile-mode .dw-market-summary,
.dw-shell.is-mobile-mode .dw-flow-grid,
.dw-shell.is-mobile-mode .dw-network-grid,
.dw-shell.is-mobile-mode .dw-inline-form,
.dw-shell.is-mobile-mode .dw-stake-row,
.dw-shell.is-mobile-mode .dw-stake-form,
.dw-shell.is-mobile-mode .dw-stake-chart-row .dw-donut-wrap {
  grid-template-columns: 1fr;
}

.dw-shell.is-mobile-mode .dw-stake-stat-strip {
  grid-template-columns: 1fr;
  padding-inline: 18px;
}

.dw-shell.is-mobile-mode .dw-stake-filter-row,
.dw-shell.is-mobile-mode .dw-stake-chart-row {
  padding-inline: 18px;
}

.dw-shell.is-mobile-mode .dw-stake-filter-row {
  justify-content: stretch;
}

.dw-shell.is-mobile-mode .dw-stake-filter-row .dw-filter {
  width: 100%;
}

.dw-sidebar {
  grid-column: 1;
  grid-row: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-right: 1px solid var(--line);
  background: #0b0615;
  transform: translateX(0);
  opacity: 1;
  transition: transform 180ms ease, opacity 140ms ease;
}

.dw-brand {
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 21px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #0b0615;
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(0);
  opacity: 1;
  transition: transform 180ms ease, opacity 140ms ease;
  font-size: 19px;
  text-align: left;
}

.dw-brand img,
.dw-brand .dw-logo-video,
.dw-token img {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.dw-logo-video {
  display: block;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b0615;
}

.dw-brand-logo {
  box-shadow: 0 0 18px rgba(157, 61, 245, 0.42);
}

.dw-nav {
  flex: 1 1 50%;
  min-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 23px 10px 26px;
  border-bottom: 1px solid var(--line);
}

.dw-nav-item,
.dw-network,
.dw-menu-row,
.dw-wallet-option,
.dw-manage-row {
  width: 100%;
  border: 0;
  text-align: left;
}

.dw-nav-item,
.dw-network {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.dw-nav-item:hover,
.dw-network:hover,
.dw-nav-item.is-active,
.dw-network-row.is-active {
  background: #1b1626;
  color: var(--text);
}

.dw-nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  color: #bdb4cf;
}

.dw-nav-item.is-active .dw-nav-icon {
  color: var(--text);
}

.dw-nav-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.dw-icon-dashboard {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z'/%3E%3C/svg%3E");
}

.dw-icon-quarantine {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5' fill='white'/%3E%3C/svg%3E");
}

.dw-icon-swap {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 4l4 4-4 4'/%3E%3Cpath d='M3 8h18'/%3E%3Cpath d='M7 20l-4-4 4-4'/%3E%3Cpath d='M21 16H3'/%3E%3C/svg%3E");
}

.dw-icon-history {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.dw-icon-markets {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17l5-5 4 4 7-8'/%3E%3C/svg%3E");
}

.dw-icon-nft {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8' cy='10' r='1.4' fill='black' stroke='none'/%3E%3Cpath d='M6 17l4-4 3 3 2-2 3 3'/%3E%3C/svg%3E");
}

.dw-icon-stake {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3'/%3E%3Cpath d='M5 6v5c0 1.7 3.1 3 7 3s7-1.3 7-3V6'/%3E%3Cpath d='M5 11v5c0 1.7 3.1 3 7 3s7-1.3 7-3v-5'/%3E%3C/svg%3E");
}

.dw-icon-validator {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3.5v5.2c0 4.7-3.2 7.7-8 9.3-4.8-1.6-8-4.6-8-9.3V6.5L12 3z'/%3E%3Ccircle cx='15.5' cy='14.5' r='2.3'/%3E%3Cpath d='M17.4 16.4l1.6 1.6'/%3E%3C/svg%3E");
}

.dw-icon-governance {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l5 5-5 5-5-5 5-5z'/%3E%3Cpath d='M6 20h12'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
}

.dw-network-list {
  flex: 1 1 50%;
  min-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 13px 34px;
}

.dw-nav,
.dw-network-list {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #7436a3 transparent;
  -ms-overflow-style: auto;
}

.dw-nav::-webkit-scrollbar,
.dw-network-list::-webkit-scrollbar {
  display: block;
  width: 7px;
}

.dw-nav::-webkit-scrollbar-track,
.dw-network-list::-webkit-scrollbar-track {
  background: transparent;
}

.dw-nav::-webkit-scrollbar-thumb,
.dw-network-list::-webkit-scrollbar-thumb {
  border: 2px solid #0b0615;
  border-radius: 999px;
  background: #7436a3;
}

.dw-nav::-webkit-scrollbar-thumb:hover,
.dw-network-list::-webkit-scrollbar-thumb:hover {
  background: #a84dea;
}

.dw-network-list::before {
  content: "NETWORKS";
  display: block;
  margin: 0 0 10px 0;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.dw-network-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 2px;
  border-radius: 9px;
  color: var(--muted);
}

.dw-network-row + .dw-network-row {
  margin-top: 4px;
}

.dw-network-row:hover {
  background: #1b1626;
}

.dw-network-row .dw-network {
  min-width: 0;
  padding-right: 8px;
  background: transparent;
}

.dw-network-row .dw-network:hover {
  background: transparent;
}

.dw-network-row.is-active .dw-network,
.dw-network-row.is-active .dw-network-favorite {
  color: var(--text);
}

.dw-network span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-network-favorite,
.dw-network-favorite-spacer {
  width: 30px;
  height: 30px;
}

.dw-network-favorite {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #827695;
}

.dw-network-favorite:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.dw-network-favorite.is-active {
  color: #ffcc4a;
}

.dw-network-favorite span {
  width: 16px;
  height: 16px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.8l2.7 5.6 6.2.9-4.5 4.4 1.1 6.2L12 17l-5.5 2.9 1.1-6.2-4.5-4.4 6.2-.9L12 2.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.8l2.7 5.6 6.2.9-4.5 4.4 1.1 6.2L12 17l-5.5 2.9 1.1-6.2-4.5-4.4 6.2-.9L12 2.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dw-network img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.dw-workspace {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dw-topbar {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  z-index: 20;
}

.dw-topbar-main {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
}

.dw-top-left,
.dw-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dw-side-toggle {
  position: fixed;
  top: calc(var(--header-height) + 18px);
  width: 22px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 61, 245, 0.55);
  background: rgba(18, 9, 29, 0.92);
  color: var(--muted);
  cursor: pointer;
  z-index: 45;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  transition:
    left 180ms ease,
    right 180ms ease,
    width 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.dw-side-toggle:hover {
  width: 28px;
  background: rgba(42, 23, 68, 0.96);
  border-color: var(--accent);
  color: var(--text);
}

.dw-side-toggle span {
  position: relative;
  width: 8px;
  height: 22px;
  border: 0;
}

.dw-side-toggle span::before,
.dw-side-toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 2px;
  border-radius: 999px;
  background: currentColor;
}

.dw-side-toggle span::before {
  left: 1px;
}

.dw-side-toggle span::after {
  right: 1px;
}

.dw-side-toggle-left {
  left: max(0px, calc(var(--sidebar-width) - 1px));
  border-left: 0;
  border-radius: 0 14px 14px 0;
}

.dw-side-toggle-left.is-collapsed {
  left: 0;
}

.dw-side-toggle-right {
  right: max(0px, calc(var(--portfolio-width) - 1px));
  border-right: 0;
  border-radius: 14px 0 0 14px;
}

.dw-side-toggle-right.is-collapsed {
  right: 0;
}

.dw-top-actions {
  justify-content: flex-end;
  gap: 14px;
}

.dw-chain-chip,
.dw-mobile-connect {
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #10070d;
  padding: 10px 18px;
  min-height: 40px;
  font-weight: 600;
  white-space: nowrap;
}

.dw-chain-chip:hover,
.dw-mobile-connect:hover {
  background: var(--orange-2);
}

.dw-icon-button,
.dw-menu-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  display: inline-grid;
  place-items: center;
}

.dw-icon-button:hover,
.dw-menu-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dw-top-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-top-refresh.is-refreshing {
  background: rgba(169, 61, 255, 0.18);
  color: #dca8ff;
  cursor: wait;
  opacity: 1;
}

.dw-top-refresh.is-refreshing svg {
  animation: dw-refresh-spin 820ms linear infinite;
}

@keyframes dw-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.dw-top-settings svg {
  width: 22px;
  height: 22px;
}

.dw-menu-button {
  gap: 4px;
}

.dw-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.dw-wallet-pill {
  max-width: 230px;
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 9px 16px;
}

.dw-wallet-pill span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-wallet-mini {
  width: 14px;
  height: 14px;
  border: 2px solid var(--text);
  border-radius: 3px;
  flex: 0 0 auto;
}

.dw-menu-button {
  display: none;
}

.dw-wallet-menu {
  position: absolute;
  top: calc(var(--header-height) - 10px);
  right: 16px;
  z-index: 40;
  width: min(420px, calc(100vw - 24px));
  max-height: min(620px, 76dvh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel-2);
  box-shadow: 0 18px 60px var(--shadow);
}

.dw-wallet-menu h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.dw-wallet-menu-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dw-wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #25163c;
  color: var(--text);
}

.dw-wallet-row.is-active {
  border-color: var(--purple);
}

.dw-wallet-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name action"
    "address action";
  gap: 7px 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.dw-wallet-row-main strong {
  grid-area: name;
}

.dw-wallet-row-main span {
  grid-area: address;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: var(--text);
}

.dw-wallet-row-main strong,
.dw-wallet-row-main span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-wallet-row-main em {
  grid-area: action;
  color: var(--purple);
  font-style: normal;
  font-weight: 600;
  justify-self: end;
}

.dw-wallet-copy-address {
  align-self: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.dw-wallet-copy-address:hover:not(:disabled) {
  border-color: var(--purple);
  color: #fff;
}

.dw-wallet-copy-address:disabled {
  opacity: 0.45;
}

.dw-wallet-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name action"
    "address action";
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #25163c;
  color: var(--text);
}

.dw-wallet-option.is-active {
  border-color: var(--purple);
}

.dw-wallet-option strong {
  grid-area: name;
}

.dw-wallet-option span,
.dw-wallet-option small {
  grid-area: address;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.dw-wallet-option strong,
.dw-wallet-option span,
.dw-wallet-option small {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-wallet-option em {
  grid-area: action;
  color: var(--purple);
  font-style: normal;
  font-weight: 600;
  justify-self: end;
}

.dw-menu-row {
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  margin-top: 8px;
}

.dw-main {
  flex: 1 1 auto;
  min-height: 0;
  height: calc(100dvh - 78px);
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 42px 28px 72px;
}

.dw-main::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dw-page {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
}

.dw-narrow {
  max-width: 1060px;
}

.dw-page h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 34px;
  line-height: 1.15;
}

.dw-page h2 {
  font-size: 20px;
  line-height: 1.2;
}

.dw-page h3 {
  font-size: 16px;
  line-height: 1.25;
}

.dw-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.dw-page-head h1 {
  margin-bottom: 0;
}

.dw-page-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dw-card,
.dw-list-card,
.dw-table-card,
.dw-overview,
.dw-stat-card,
.dw-mini-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow-wrap: break-word;
}

.dw-card,
.dw-list-card,
.dw-table-card {
  overflow: hidden;
}

.dw-error-card {
  padding: 20px;
  border: 1px solid var(--red);
  border-radius: 8px;
  color: #ffd3d8;
  background: rgba(255, 74, 85, 0.12);
}

.dw-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px 36px;
  background: linear-gradient(90deg, #2a1744 0%, #171020 70%);
}

.dw-overview > div:first-child > span,
.dw-card-heading p,
.dw-stat-card small,
.dw-mini-panel span,
.dw-token small,
.dw-filter,
.dw-empty,
.dw-form label,
.dw-review dt,
.dw-asset-details dt {
  color: var(--muted);
}

.dw-overview strong,
.dw-portfolio-top strong,
.dw-group-hero strong {
  display: block;
  font-size: 34px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.dw-overview > div:first-child > strong {
  white-space: nowrap;
}

.dw-overview p {
  margin-top: 8px;
  color: var(--muted);
}

.dw-overview-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.dw-overview-stats div {
  min-width: 118px;
  border-left: 3px solid var(--purple);
  padding-left: 14px;
}

.dw-overview-stats span {
  display: block;
  color: var(--muted);
}

.dw-overview-stats strong {
  font-size: 18px;
}

.dw-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.dw-stat-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 24px;
}

.dw-stat-card strong,
.dw-mini-panel strong {
  display: block;
  margin: 5px 0;
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.dw-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #371964;
  display: grid;
  place-items: center;
  color: var(--purple);
}

.dw-stat-icon::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--purple);
}

.dw-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.dw-card-heading > div,
.dw-card-heading > span,
.dw-card-heading > strong {
  min-width: 0;
  max-width: 100%;
}

.dw-card-heading h2,
.dw-card-heading p,
.dw-card-heading span,
.dw-card-heading strong {
  overflow-wrap: anywhere;
}

.dw-card-heading:only-child {
  border-bottom: 0;
}

.dw-table-card {
  margin-top: 24px;
  overflow: hidden;
}

.dw-wallet-overview-table td {
  padding-top: 11px;
  padding-bottom: 11px;
}

.dw-wallet-overview-card {
  container-type: inline-size;
}

.dw-wallet-overview-table {
  min-width: 860px;
  table-layout: auto;
}

.dw-wallet-overview-table .dw-token img {
  width: 28px;
  height: 28px;
}

.dw-wallet-overview-table .dw-token b,
.dw-wallet-overview-table .dw-token small {
  overflow-wrap: normal;
  word-break: normal;
}

@container (max-width: 980px) {
  .dw-wallet-overview-table,
  .dw-wallet-overview-table tbody,
  .dw-wallet-overview-table tr,
  .dw-wallet-overview-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .dw-wallet-overview-table thead {
    display: none;
  }

  .dw-wallet-overview-table tr {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }

  .dw-wallet-overview-table td {
    min-height: 0;
    padding: 4px 0;
    border-top: 0;
  }

  .dw-wallet-overview-table td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }

  .dw-wallet-overview-table td:not(:first-child)::before {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
  }

  .dw-wallet-overview-table td:nth-child(2)::before {
    content: "Address";
  }

  .dw-wallet-overview-table td:nth-child(3)::before {
    content: "Available";
  }

  .dw-wallet-overview-table td:nth-child(4)::before {
    content: "Staked";
  }

  .dw-wallet-overview-table td:nth-child(5)::before {
    content: "Rewards";
  }

  .dw-wallet-overview-table td:nth-child(6)::before {
    content: "Unbonding";
  }

  .dw-wallet-overview-table td:nth-child(7)::before {
    content: "Validators";
  }
}

.dw-table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  line-height: 1.35;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.dw-token {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  line-height: 1.25;
}

.dw-token b,
.dw-token small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.dw-token.big img {
  width: 70px;
  height: 70px;
}

.dw-asset-list {
  display: grid;
}

.dw-asset-row,
.dw-group-row,
.dw-history-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(124px, auto);
  gap: 18px;
  align-items: center;
  min-height: 66px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.dw-card > .dw-asset-row,
.dw-card > .dw-group-row,
.dw-card .dw-asset-list > .dw-asset-row,
.dw-card .dw-asset-list > .dw-group-row {
  padding-left: 28px;
  padding-right: 28px;
}

.dw-asset-row > span:first-child,
.dw-group-row > span:first-child,
.dw-history-row > span:first-child {
  min-width: 0;
}

.dw-asset-row:hover,
.dw-group-row:hover,
.dw-history-row:hover,
.dw-group-row.is-selected {
  background: rgba(255, 255, 255, 0.04);
}

.dw-asset-row > span:last-child,
.dw-group-row > span:last-child,
.dw-history-row > span:last-child {
  min-width: 120px;
  max-width: 100%;
  justify-self: end;
  text-align: right;
  overflow-wrap: anywhere;
}

.dw-asset-row > span:last-child b,
.dw-asset-row > span:last-child small,
.dw-group-row > span:last-child b,
.dw-group-row > span:last-child small,
.dw-history-row > span:last-child b,
.dw-history-row > span:last-child small {
  display: block;
  line-height: 1.3;
}

.dw-asset-row small,
.dw-group-row small,
.dw-history-row small {
  display: block;
  overflow-wrap: anywhere;
}

.dw-quarantine-list .dw-asset-row:last-child {
  border-bottom: 0;
}

.dw-history-row {
  min-height: 72px;
  padding: 14px 20px;
  cursor: pointer;
}

.dw-history-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.dw-history-main img {
  width: 32px;
  height: 32px;
}

.dw-history-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dw-history-copy b,
.dw-history-copy small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dw-history-copy b {
  font-size: 14px;
}

.dw-history-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.dw-history-memo {
  max-width: 720px;
}

.dw-history-amount {
  display: grid;
  justify-items: end;
  gap: 3px;
  line-height: 1.25;
}

.dw-history-amount b {
  max-width: 220px;
  overflow-wrap: anywhere;
}

.dw-history-amount small {
  color: var(--text);
  font-size: 12px;
}

.dw-history-row.is-in > span:last-child b {
  color: var(--green);
}

.dw-history-row.is-out > span:last-child b {
  color: var(--text);
}

.dw-history-row.is-failed > span:first-child b {
  color: var(--red);
}

.dw-history-row:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}

.dw-dashboard-compact-card {
  margin-top: 18px;
  overflow: hidden;
}

.dw-card .dw-dashboard-group-list > .dw-group-row,
.dw-dashboard-group-list .dw-group-row {
  min-height: 54px;
  padding: 10px 22px;
}

.dw-dashboard-group-list .dw-token img {
  width: 28px;
  height: 28px;
}

.dw-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
}

.dw-receive-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.dw-receive-row code,
.dw-code,
.dw-review pre,
.dw-modal pre,
.dw-seed-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dw-primary,
.dw-secondary,
.dw-danger,
.dw-small-button,
.dw-back {
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 18px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.dw-primary,
.dw-small-primary {
  border: 0;
  background: linear-gradient(135deg, var(--purple), #a440f6);
  color: var(--text);
}

.dw-secondary,
.dw-small-button {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}

.dw-danger {
  border: 1px solid #bf3765;
  background: rgba(191, 55, 101, 0.2);
  color: #ffc7d8;
}

.dw-back {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.dw-form-page {
  max-width: 980px;
}

.dw-form,
.dw-inline-form {
  display: grid;
  gap: 16px;
}

.dw-form {
  max-width: 760px;
}

.dw-inline-form {
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  padding: 22px 28px 28px;
}

.dw-form label,
.dw-filter {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dw-form input,
.dw-form textarea,
.dw-form select,
.dw-filter select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0716;
  line-height: 1.35;
}

.dw-amount-field {
  align-content: start;
}

.dw-amount-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.dw-amount-presets button {
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(163, 55, 245, 0.08);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.dw-amount-presets button:hover,
.dw-amount-presets button:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(163, 55, 245, 0.18);
}

.dw-form textarea {
  min-height: 120px;
  resize: vertical;
}

.dw-form-note {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--orange);
  background: rgba(255, 159, 8, 0.16);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dw-form-note.is-blocked {
  color: var(--red);
  background: rgba(255, 69, 88, 0.14);
}

.dw-form-error {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--red);
  background: rgba(255, 69, 88, 0.14);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dw-form-inline-error {
  padding: 11px 13px;
  border: 1px solid rgba(255, 69, 88, 0.38);
  border-radius: 8px;
  color: var(--red);
  background: rgba(255, 69, 88, 0.14);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dw-field.is-missing-field input,
.dw-field.is-missing-field select,
.dw-field.is-missing-field textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(255, 69, 88, 0.18);
}

.dw-form-note code {
  color: inherit;
  overflow-wrap: anywhere;
}

.dw-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.dw-flow-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dw-flow-card strong {
  font-size: 17px;
}

.dw-flow-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.dw-flow-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.dw-flow-card dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
}

.dw-flow-card dt {
  color: var(--muted);
}

.dw-flow-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.dw-swap-page {
  max-width: 980px;
}

.dw-swap-page h1 {
  margin-bottom: 26px;
  font-size: 52px;
  line-height: 1;
}

.dw-swap-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
}

.dw-swap-copy {
  display: grid;
  gap: 8px;
}

.dw-swap-copy h2 {
  font-size: 22px;
  line-height: 1.25;
}

.dw-swap-copy p {
  color: #d9a5ff;
  font-weight: 600;
}

.dw-swap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.dw-swap-fields {
  display: grid;
  gap: 14px;
}

.dw-swap-fields label {
  display: grid;
  gap: 7px;
  color: #d9c4ff;
  font-weight: 600;
}

.dw-swap-fields input,
.dw-swap-fields select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  background: #09030f;
  color: var(--text);
}

.dw-swap-fields input::placeholder {
  color: #58307c;
  opacity: 1;
}

.dw-swap-password small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.dw-swap-submit {
  width: max-content;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #72590f;
  color: #1c1402;
  font-weight: 700;
  opacity: 0.72;
  filter: saturate(0.72);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dw-swap-submit.is-ready {
  background: linear-gradient(135deg, #ffe05b 0%, #efad00 100%);
  color: #160e00;
  opacity: 1;
  filter: saturate(1.18) brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 224, 91, 0.55),
    0 0 22px rgba(255, 194, 20, 0.44),
    0 7px 18px rgba(0, 0, 0, 0.32);
}

.dw-swap-submit.is-ready:hover,
.dw-swap-submit.is-ready:focus-visible {
  filter: saturate(1.24) brightness(1.11);
  box-shadow:
    0 0 0 2px rgba(255, 235, 137, 0.72),
    0 0 28px rgba(255, 200, 28, 0.58),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.dw-swap-summary {
  display: grid;
  gap: 10px;
}

.dw-swap-summary section {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #2b1b3d;
  border-radius: 8px;
  background: #0b0612;
}

.dw-swap-summary span,
.dw-swap-contract-row span {
  display: block;
  color: #caa7ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.dw-swap-summary strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.dw-swap-summary p {
  color: #ffe663;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.dw-swap-contracts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #322341;
}

.dw-swap-contract-row {
  display: grid;
  gap: 7px;
}

.dw-swap-contract-row code {
  display: block;
  min-height: 24px;
  padding: 5px 8px;
  background: var(--panel-2);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.dw-dex-status {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid #342246;
  border-radius: 8px;
  background: #0b0612;
}

.dw-dex-status h3 {
  margin-bottom: 3px;
  font-size: 17px;
}

.dw-dex-status-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #2b1b3d;
}

.dw-dex-status-row:last-of-type {
  border-bottom: 0;
}

.dw-dex-status-row > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8f6513;
  box-shadow: 0 0 10px rgba(255, 194, 20, 0.25);
}

.dw-dex-status-row.is-live > span {
  background: #51e69a;
  box-shadow: 0 0 12px rgba(81, 230, 154, 0.48);
}

.dw-dex-status-row div {
  display: grid;
  gap: 3px;
}

.dw-dex-status-row strong {
  font-size: 13px;
}

.dw-dex-status-row small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.dw-dex-status-row em {
  color: #d2a33a;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.dw-dex-status-row.is-live em {
  color: #51e69a;
}

.dw-dex-form-note,
.dw-dex-status-warning {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.dw-dex-status-warning {
  color: #ffd36a;
}

.dw-dex-manage {
  width: max-content;
}

.dw-ramp-page {
  max-width: 1120px;
}

.dw-ramp-head {
  align-items: center;
}

.dw-ramp-open {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--text);
  font-weight: 800;
}

.dw-ramp-open:disabled {
  cursor: not-allowed;
  background: #2a2037;
  color: var(--muted);
}

.dw-ramp-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
}

.dw-ramp-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.dw-ramp-intro h2 {
  margin-bottom: 8px;
}

.dw-ramp-intro p,
.dw-ramp-status small {
  color: var(--muted);
  font-weight: 700;
}

.dw-ramp-status {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  border-left: 3px solid var(--purple);
}

.dw-ramp-status span {
  color: #caa7ff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dw-ramp-status strong {
  font-size: 18px;
}

.dw-ramp-status.is-setup {
  border-left-color: #ffbd4a;
}

.dw-ramp-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 720px;
}

.dw-ramp-wallets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
}

.dw-ramp-wallet-row {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dw-ramp-wallet-row .dw-token img {
  width: 28px;
  height: 28px;
}

.dw-ramp-wallet-row code {
  min-width: 0;
  color: #d8c5ff;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.dw-ramp-frame-wrap {
  min-width: 0;
  min-height: 720px;
  background: #08030e;
}

.dw-ramp-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  background: #08030e;
}

.dw-ramp-setup {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 720px;
  padding: 34px;
}

.dw-ramp-setup p {
  color: var(--muted);
  font-weight: 700;
}

.dw-ramp-key-form {
  display: grid;
  max-width: 520px;
  gap: 14px;
}

.dw-ramp-key-form label {
  display: grid;
  gap: 8px;
  color: #d9c4ff;
  font-weight: 700;
}

.dw-ramp-key-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  background: #09030f;
  color: var(--text);
}

.dw-burn-page {
  max-width: 1040px;
}

.dw-burn-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
}

.dw-burn-hero {
  display: grid;
  gap: 10px;
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--line);
}

.dw-burn-hero span {
  color: #e0a9ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dw-burn-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
}

.dw-burn-layout {
  display: grid;
  grid-template-columns: 446px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 24px 24px;
}

.dw-burn-form {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #130b1d;
}

.dw-burn-form label {
  display: grid;
  gap: 8px;
  color: #cfc2df;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dw-burn-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  background: #09030f;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.dw-burn-form input:focus {
  outline: 2px solid rgba(157, 61, 245, 0.38);
  outline-offset: 1px;
}

.dw-burn-route-note {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid rgba(255, 210, 28, 0.32);
  border-radius: 8px;
  background: rgba(255, 210, 28, 0.08);
  color: #ffd21c;
  font-size: 13px;
  font-weight: 800;
}

.dw-burn-route-note button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 210, 28, 0.42);
  border-radius: 999px;
  background: #241526;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.dw-burn-password {
  padding: 13px;
  border: 1px solid rgba(157, 61, 245, 0.52);
  border-radius: 8px;
  background: rgba(157, 61, 245, 0.08);
}

.dw-burn-password small {
  color: #bfb1d2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
}

.dw-burn-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dw-burn-stats section {
  display: grid;
  gap: 8px;
  min-height: 74px;
  padding: 13px 12px;
  border: 1px solid #2b1b3d;
  border-radius: 8px;
  background: #0f0918;
}

.dw-burn-stats span {
  color: #9f91b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dw-burn-stats strong {
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.dw-burn-live,
.dw-burn-caption {
  color: #d8cee9;
  font-size: 13px;
}

.dw-burn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dw-burn-submit,
.dw-burn-refresh {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
}

.dw-burn-submit {
  border: 0;
  background: #ffd21c;
  color: #05020b;
}

.dw-burn-refresh {
  border: 1px solid #4b3e57;
  background: #2b2533;
  color: var(--text);
}

.dw-burn-table-wrap {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #120c1b;
}

.dw-burn-table {
  width: 100%;
  border-collapse: collapse;
}

.dw-burn-table th,
.dw-burn-table td {
  height: 44px;
  padding: 10px 12px;
  border-top: 1px solid #2d2139;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
}

.dw-burn-table th {
  border-top: 0;
  color: #ffe349;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dw-burn-table tr.is-active td {
  background: #342819;
  font-weight: 800;
}

.dw-dodx-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: var(--text);
  font-weight: 600;
}

.dw-ownership-card {
  margin-bottom: 18px;
}

.dw-address-grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 12px 20px;
  margin: 0;
  padding: 16px 28px 20px;
}

.dw-address-grid dt {
  min-width: 0;
  color: var(--muted);
  line-height: 1.35;
}

.dw-address-grid dd {
  min-width: 0;
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dw-address-grid code {
  display: block;
  max-width: 100%;
  color: var(--text);
  white-space: normal;
  overflow-wrap: anywhere;
}

.dw-validator-empty {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.dw-validator-empty p {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
}

.dw-validator-owner-table {
  min-width: 920px;
}

.dw-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 18px 0 0;
}

.dw-filter {
  grid-template-columns: auto minmax(220px, 320px);
  align-items: center;
  padding: 18px 28px;
}

.dw-filter select {
  border-radius: 999px;
  background: #24143a;
}

.dw-governance-page {
  max-width: 1080px;
}

.dw-governance-head {
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.dw-governance-new {
  min-width: 128px;
  min-height: 32px;
  padding: 8px 20px;
}

.dw-governance-tabs {
  display: flex;
  min-width: 0;
  min-height: 62px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.dw-governance-tab {
  min-width: 0;
  min-height: 60px;
  padding: 0 30px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.dw-governance-tab.is-active {
  background: #080412;
  color: var(--text);
}

.dw-governance-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dw-governance-filter-row {
  padding: 46px 20px 26px;
}

.dw-governance-filter {
  display: grid;
  grid-template-columns: 80px minmax(220px, 280px);
  align-items: center;
  gap: 0;
  width: fit-content;
  margin-left: 40px;
  color: var(--text);
  font-weight: 600;
}

.dw-governance-filter select {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--purple);
  border-radius: 12px;
  background: #24143a;
  color: var(--text);
}

.dw-governance-rule {
  height: 1px;
  margin: 0 20px 20px;
  background: var(--line);
}

.dw-governance-results {
  min-height: 138px;
  padding: 56px 48px;
  border-top: 1px solid var(--line);
  background: var(--panel-2);
}

.dw-governance-empty {
  color: var(--muted);
  font-weight: 600;
}

.dw-proposal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.dw-proposal-row > span:first-child {
  min-width: 0;
}

.dw-proposal-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dw-proposal-row > span:last-child {
  min-width: 132px;
  max-width: 100%;
  text-align: right;
  overflow-wrap: anywhere;
}

.dw-proposal-row small {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.dw-proposal-detail {
  display: grid;
  gap: 18px;
}

.dw-proposal-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.dw-proposal-status {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #12091e;
}

.dw-proposal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.dw-proposal-meta div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-proposal-meta dt {
  color: var(--muted);
}

.dw-proposal-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.dw-proposal-copy {
  display: grid;
  gap: 10px;
}

.dw-proposal-copy p {
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dw-proposal-action-form {
  max-width: none;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-modal.dw-proposal-create-modal {
  width: min(640px, calc(100vw - 40px));
  max-height: min(780px, calc(100dvh - 40px));
  padding: 28px 24px 22px;
}

.dw-modal.dw-proposal-create-modal .dw-modal-body {
  overflow-y: auto;
  padding-right: 4px;
}

.dw-modal.dw-proposal-modal {
  width: min(760px, calc(100vw - 40px));
  max-height: min(820px, calc(100dvh - 40px));
}

.dw-modal.dw-proposal-modal .dw-modal-body {
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.dw-proposal-create-form {
  max-width: none;
  gap: 14px;
}

.dw-proposal-warning-list {
  display: grid;
  gap: 6px;
}

.dw-proposal-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 5px;
  background: rgba(255, 159, 8, 0.13);
  color: var(--orange);
  font-size: 12px;
  line-height: 1.45;
}

.dw-proposal-warning i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--orange);
  color: #2b1424;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.dw-proposal-create-form label {
  color: #c9a8ff;
}

.dw-proposal-create-form input,
.dw-proposal-create-form textarea,
.dw-proposal-create-form select {
  border-color: var(--line);
  background: #12091e;
}

.dw-proposal-create-form textarea {
  min-height: 76px;
}

.dw-proposal-create-form input::placeholder,
.dw-proposal-create-form textarea::placeholder {
  color: #5c2c87;
  opacity: 1;
}

.dw-proposal-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.dw-proposal-label-row b {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
}

.dw-proposal-label-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.dw-proposal-deposit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-proposal-deposit-input input {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dw-proposal-deposit-input strong {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  background: #0d0716;
  color: var(--text);
}

.dw-proposal-submit {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  margin-top: 2px;
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -14px 24px #211630;
}

.dw-tally-grid {
  display: grid;
  gap: 10px;
}

.dw-tally-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dw-tally-heading h3 {
  margin: 0;
}

.dw-tally-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(168, 51, 255, 0.08);
}

.dw-tally-summary span,
.dw-tally-summary small {
  color: var(--muted);
}

.dw-governance-stake-card {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(168, 51, 255, 0.55);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 51, 255, 0.13), rgba(18, 9, 30, 0.96));
}

.dw-governance-stake-card.is-proposal {
  margin-top: 16px;
  margin-bottom: 16px;
  gap: 14px;
  overflow: hidden;
}

.dw-governance-stake-card.is-modal {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.dw-modal.dw-dodx-staking-modal {
  width: min(1000px, calc(100vw - 40px));
}

.dw-governance-stake-head,
.dw-governance-stake-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dw-governance-stake-head h2,
.dw-governance-stake-head p {
  margin: 0;
}

.dw-governance-stake-head h2 {
  padding: 0;
  text-align: left;
}

.dw-governance-stake-head > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dw-governance-stake-head p,
.dw-governance-stake-note,
.dw-governance-stake-totals small {
  color: var(--muted);
}

.dw-governance-stake-totals span {
  display: grid;
  gap: 3px;
  min-width: 110px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-do-balance-breakdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.dw-do-balance-breakdown span {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 4, 18, 0.72);
}

.dw-do-balance-breakdown small {
  color: var(--muted);
  font-weight: 800;
}

.dw-governance-stake-card.is-proposal .dw-governance-stake-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.dw-governance-stake-card.is-proposal .dw-governance-stake-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(105px, 1fr));
  align-items: stretch;
  gap: 10px;
}

.dw-governance-stake-card.is-proposal .dw-governance-stake-totals span {
  min-width: 0;
  padding: 11px 12px;
}

.dw-governance-stake-card.is-proposal .dw-do-balance-breakdown {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dw-governance-stake-card.is-proposal .dw-stake-context-note {
  display: block;
  margin-top: -4px;
  padding: 10px 12px;
  border: 1px solid rgba(168, 51, 255, 0.28);
  border-radius: 8px;
  background: rgba(168, 51, 255, 0.08);
  color: #d5b8ec;
  line-height: 1.45;
}

.dw-governance-stake-action {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 51, 255, 0.24);
}

.dw-governance-stake-action-head {
  display: grid;
  gap: 3px;
}

.dw-governance-stake-action-head strong {
  color: var(--text);
  font-size: 14px;
}

.dw-governance-stake-action-head small {
  color: var(--muted);
  line-height: 1.4;
}

.dw-governance-stake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.dw-governance-stake-form .dw-primary {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  white-space: nowrap;
}

.dw-governance-stake-form .dw-amount-field .dw-amount-presets {
  order: 1;
}

.dw-governance-stake-form .dw-amount-field input {
  order: 2;
}

.dw-tally-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-tally-item span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dw-tally-item em {
  color: var(--muted);
  font-style: normal;
}

.dw-tally-item i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dw-tally-item i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--purple);
}

.dw-tally-item.is-yes i b {
  background: var(--green);
}

.dw-tally-item.is-no i b,
.dw-tally-item.is-veto i b {
  background: var(--red);
}

.dw-vote-list,
.dw-memo-list {
  display: grid;
  gap: 8px;
}

.dw-vote-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) minmax(0, 1.2fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-vote-row small {
  display: block;
  color: var(--muted);
}

.dw-vote-row code,
.dw-memo-list code {
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dw-memo-list code {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-stake-card {
  overflow: hidden;
}

.dw-stake-heading {
  min-height: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

.dw-stake-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  max-width: 56%;
  text-align: right;
}

.dw-stake-heading-actions > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dw-stake-all-validators-button {
  display: grid;
  min-height: 40px;
  gap: 2px;
  padding: 8px 14px;
  text-align: center;
}

.dw-stake-all-validators-button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dw-stake-filter-row {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  padding: 12px 28px 6px;
}

.dw-stake-filter-row .dw-filter {
  grid-template-columns: 72px minmax(0, 320px);
  width: min(360px, 100%);
  margin: 0;
  padding: 0;
  overflow-wrap: normal;
}

.dw-stake-chart-row {
  padding: 4px 28px 14px;
}

.dw-stake-chart-row .dw-donut-wrap {
  grid-template-columns: minmax(150px, 190px) minmax(0, 500px);
  align-items: center;
  justify-content: center;
  justify-items: stretch;
  width: min(760px, 100%);
  margin: 0 auto;
  gap: 24px;
}

.dw-stake-chart-row .dw-donut {
  width: 118px;
  height: 118px;
  justify-self: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 34px rgba(0, 0, 0, 0.2);
}

.dw-stake-chart-row .dw-donut::after {
  inset: 30px;
}

.dw-stake-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 28px 16px;
  border-bottom: 1px solid var(--line);
}

.dw-stake-stat-button {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 78px;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10081a;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.dw-stake-stat-button:hover {
  border-color: rgba(169, 72, 245, 0.72);
  background: rgba(169, 72, 245, 0.08);
}

.dw-stake-stat-button span,
.dw-stake-stat-button small {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dw-stake-stat-button strong {
  min-width: 0;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.dw-stake-claim-button {
  min-height: 44px;
  border-radius: 8px;
  align-self: center;
}

.dw-stake-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: center;
  padding: 22px 28px 26px;
  min-height: 250px;
}

.dw-stack {
  display: grid;
  gap: 14px;
}

.dw-stake-list {
  display: grid;
}

.dw-stake-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 14px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.dw-stake-network-row {
  cursor: pointer;
}

.dw-stake-network-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dw-dodx-stake-row {
  background: linear-gradient(90deg, rgba(169, 72, 245, 0.13), rgba(169, 72, 245, 0.025));
  box-shadow: inset 3px 0 0 rgba(169, 72, 245, 0.9);
}

.dw-dodx-stake-row:hover {
  background: linear-gradient(90deg, rgba(169, 72, 245, 0.22), rgba(169, 72, 245, 0.06));
}

.dw-stake-row-main {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.dw-stake-row-main .dw-token {
  min-width: 0;
}

.dw-stake-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dw-stake-meta span {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(158, 61, 245, 0.28);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 700;
}

.dw-unbond-countdown {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 218, 85, .34);
  border-radius: 999px;
  background: rgba(255, 218, 85, .08);
  color: #ffda55;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.dw-unbond-countdown.is-ready {
  border-color: rgba(0, 224, 184, .36);
  background: rgba(0, 224, 184, .08);
  color: #00e0b8;
}

.dw-wallet-overview-table .dw-unbond-countdown {
  display: flex;
  margin-top: 6px;
}

.dw-stake-meta .dw-unbond-countdown {
  margin-top: 0;
  font-weight: 500;
}

.dw-stake-row-value {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.dw-stake-row-value strong,
.dw-stake-row-value span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.dw-stake-row-value small {
  color: #caa7ff;
  font-size: 12px;
  font-weight: 800;
}

.dw-stake-action-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid rgba(151, 66, 208, .36);
  border-radius: 14px;
  background: rgba(9, 4, 18, .42);
}

.dw-stake-action-tabs button {
  appearance: none;
  display: grid;
  gap: 3px;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.dw-stake-action-tabs button:hover {
  border-color: rgba(171, 65, 241, .38);
  background: rgba(54, 25, 78, .52);
  color: #fff;
  transform: translateY(-1px);
}

.dw-stake-action-tabs button strong {
  font-size: 14px;
  font-weight: 900;
}

.dw-stake-action-tabs button small {
  color: #927da7;
  font-size: 11px;
  font-weight: 750;
}

.dw-stake-action-tabs button.is-active {
  border-color: rgba(193, 96, 255, .72);
  background: linear-gradient(135deg, rgba(151, 43, 223, .96), rgba(102, 30, 163, .9));
  color: #fff;
  box-shadow: 0 9px 24px rgba(117, 33, 171, .25);
}

.dw-stake-action-tabs button.is-active small {
  color: rgba(255, 255, 255, .78);
}

.dw-stake-actions-intro {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.dw-stake-action-flow {
  border: 1px solid rgba(151, 66, 208, .4);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 14, 43, .72), rgba(9, 4, 18, .48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.dw-stake-form {
  max-width: none;
  display: grid;
  gap: 16px;
  padding: 20px 24px 24px;
}

.dw-stake-form-section {
  display: grid;
  gap: 14px;
  padding: 17px 18px 18px;
  border: 1px solid rgba(120, 62, 159, .32);
  border-radius: 12px;
  background: rgba(8, 4, 15, .28);
}

.dw-stake-form-section-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.dw-stake-form-section-head > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(190, 91, 255, .6);
  border-radius: 50%;
  background: rgba(153, 48, 220, .16);
  color: #dba9ff;
  font-size: 12px;
  font-weight: 900;
}

.dw-stake-form-section-head div {
  display: grid;
  gap: 2px;
}

.dw-stake-form-section-head strong {
  color: #fff;
  font-size: 14px;
}

.dw-stake-form-section-head small {
  color: var(--muted);
  font-weight: 700;
}

.dw-stake-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}

.dw-stake-form .dw-field {
  grid-column: span 4;
}

.dw-stake-form .dw-field-action,
.dw-stake-form .dw-field-chainid {
  grid-column: span 3;
}

.dw-stake-form .dw-field-assetkey,
.dw-stake-form .dw-field-validator,
.dw-stake-form .dw-field-destinationvalidator,
.dw-stake-form .dw-field-feedenom {
  grid-column: span 6;
}

.dw-stake-form .dw-field-amount,
.dw-stake-form .dw-field-password {
  grid-column: span 3;
}

.dw-stake-form select,
.dw-stake-form input {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-stake-form select {
  padding-right: 38px;
  white-space: nowrap;
}

.dw-dodx-stake-form .dw-field-chainid {
  grid-column: span 4;
}

.dw-dodx-stake-form .dw-field-assetkey {
  grid-column: span 8;
}

.dw-dodx-stake-form .dw-field-stakeraddress,
.dw-dodx-stake-form .dw-field-feedenom {
  grid-column: span 6;
}

.dw-dodx-stake-form .dw-field-amount,
.dw-dodx-stake-form .dw-field-password {
  grid-column: span 4;
}

.dw-stake-form .dw-primary {
  grid-column: span 3;
  min-height: 48px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(145, 42, 210, .18);
}

.dw-dodx-stake-form .dw-primary {
  grid-column: span 4;
}

.dw-stake-signing-grid .dw-field-amount,
.dw-stake-signing-grid .dw-field-password,
.dw-stake-signing-grid .dw-primary {
  grid-column: span 4;
}

.dw-stake-signing-grid .dw-amount-field .dw-amount-presets {
  order: 1;
}

.dw-stake-signing-grid .dw-amount-field input {
  order: 2;
}

.dw-stake-context-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 24px;
  border-bottom: 1px solid rgba(151, 66, 208, .34);
  background: linear-gradient(90deg, rgba(109, 35, 157, .19), rgba(9, 4, 18, .12));
}

.dw-stake-context-banner > div,
.dw-stake-context-banner > span {
  display: grid;
  gap: 3px;
}

.dw-stake-context-banner > span {
  justify-items: end;
  text-align: right;
}

.dw-stake-context-banner strong,
.dw-stake-context-banner b {
  color: #fff;
}

.dw-stake-context-banner small {
  color: var(--muted);
  font-weight: 750;
}

.dw-stake-auto-validator {
  display: grid;
  min-height: 76px;
  align-content: center;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(9, 4, 18, .72);
}

.dw-stake-auto-validator > span,
.dw-stake-auto-validator > small,
.dw-stake-context-note {
  color: var(--muted);
  font-weight: 800;
}

.dw-stake-context-note {
  grid-column: 1 / -1;
}

.dw-stake-source-panel {
  display: grid;
  gap: 14px;
  padding: 22px 28px 0;
}

.dw-stake-source-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.dw-stake-source-head h3 {
  margin: 0;
  font-size: 18px;
}

.dw-stake-source-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.dw-stake-source-head strong {
  color: #fff;
  white-space: nowrap;
}

.dw-stake-source-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(9, 4, 18, .32);
}

.dw-stake-source-row {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(180px, .8fr) minmax(130px, .6fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
}

.dw-stake-source-row:last-child {
  border-bottom: 0;
}

.dw-stake-source-row:hover,
.dw-stake-source-row:focus-visible {
  background: rgba(159, 78, 255, .12);
  outline: none;
}

.dw-stake-source-row > span:not(.dw-token) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dw-stake-source-row > span:nth-child(n+2) {
  justify-items: end;
  text-align: right;
}

.dw-stake-source-row b,
.dw-stake-source-row small {
  overflow-wrap: anywhere;
}

.dw-stake-source-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dw-stake-source-row > span:last-child small {
  color: #caa7ff;
}

.dw-claim-rewards-form {
  max-width: none;
}

.dw-claim-rewards-form p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.dw-modal.dw-stake-modal {
  width: min(900px, calc(100vw - 40px));
  max-height: min(820px, calc(100dvh - 40px));
}

.dw-modal.dw-stake-actions-modal {
  width: min(1120px, calc(100vw - 40px));
  max-height: min(860px, calc(100dvh - 40px));
}

.dw-modal.dw-stake-modal .dw-modal-body {
  overflow-x: hidden;
  padding-right: 18px;
  scrollbar-gutter: stable;
}

.dw-modal.dw-stake-actions-modal .dw-modal-body {
  overflow-x: hidden;
  padding-right: 18px;
  scrollbar-gutter: stable;
}

.dw-modal.dw-chain-coins-modal {
  width: min(840px, calc(100vw - 40px));
}

.dw-modal.dw-chain-coins-modal .dw-modal-body {
  overflow-x: hidden;
  padding-right: 18px;
  scrollbar-gutter: stable;
}

.dw-stake-detail {
  display: grid;
  gap: 18px;
}

.dw-chain-coins-detail {
  display: grid;
  gap: 18px;
}

.dw-stake-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.dw-stake-detail-head strong {
  font-size: 24px;
  min-width: max-content;
}

.dw-stake-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dw-stake-detail-grid section {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10081a;
}

.dw-stake-detail-grid span,
.dw-stake-detail-grid small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.dw-stake-detail-grid strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.dw-stake-detail-grid .dw-unbond-countdown {
  margin-top: 8px;
}

.dw-stake-validators {
  display: grid;
  gap: 10px;
}

.dw-stake-validators h3 {
  margin: 4px 0 0;
}

.dw-stake-validator-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.65fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dw-stake-validator-row .dw-token {
  min-width: 0;
}

.dw-stake-validator-row b,
.dw-stake-validator-row small {
  display: block;
  overflow-wrap: break-word;
  word-break: normal;
}

.dw-stake-validator-row small {
  color: var(--muted);
}

.dw-stake-validator-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dw-stake-validator-meta small {
  border: 1px solid rgba(172, 58, 255, 0.34);
  border-radius: 999px;
  padding: 5px 9px;
  line-height: 1;
  white-space: nowrap;
}

.dw-stake-validator-value {
  min-width: 0;
  display: grid;
  gap: 3px;
  justify-items: end;
  text-align: right;
}

.dw-stake-validator-extra {
  margin-top: 4px;
}

.dw-stake-validator-extra .dw-unbond-countdown {
  margin-top: 6px;
}

.dw-stake-breakdown {
  display: grid;
  gap: 10px;
}

.dw-stake-breakdown h3 {
  margin-top: 4px;
}

.dw-stake-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, max-content);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dw-stake-breakdown-row .dw-token {
  min-width: 0;
}

.dw-stake-breakdown-row > span:last-child {
  min-width: 0;
  text-align: right;
  display: grid;
  justify-items: end;
}

.dw-stake-breakdown-row .dw-unbond-countdown,
.dw-chain-coin-row .dw-unbond-countdown {
  justify-self: end;
}

.dw-stake-breakdown-row b,
.dw-stake-breakdown-row small {
  display: block;
  overflow-wrap: anywhere;
}

.dw-stake-breakdown-row small {
  color: var(--muted);
}

.dw-chain-coin-section {
  display: grid;
  gap: 8px;
}

.dw-chain-coin-section h3 {
  margin: 0;
  font-size: 15px;
}

.dw-chain-coin-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.dw-chain-coin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 220px) max-content;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.dw-chain-coin-row > span:first-child,
.dw-chain-coin-value,
.dw-chain-coin-actions {
  min-width: 0;
}

.dw-chain-coin-value {
  display: grid;
  justify-items: end;
  text-align: right;
  max-width: 220px;
}

.dw-chain-coin-actions {
  display: flex;
  justify-content: flex-end;
}

.dw-chain-coin-actions .compact {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.dw-chain-coin-row b,
.dw-chain-coin-row small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.dw-chain-coin-row small {
  color: var(--muted);
  line-height: 1.35;
}

.dw-donut-wrap {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.dw-donut-panel {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-width: 0;
}

.dw-donut-total {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.dw-donut-total span,
.dw-donut-total small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.dw-donut-total strong {
  max-width: 180px;
  font-size: 18px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.dw-donut {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  position: relative;
}

.dw-donut::after {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: var(--panel);
}

.dw-donut > span {
  position: absolute;
  inset: 40px;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
}

.dw-stake-chart-row .dw-donut > span {
  inset: 30px;
}

.dw-donut > span b,
.dw-donut > span small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.dw-donut > span b {
  font-size: 15px;
}

.dw-donut > span small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.dw-donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}

.dw-donut-legend-list {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
  gap: 8px;
  width: 100%;
}

.dw-donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dw-donut-legend-list span {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(147, 68, 225, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.dw-donut-legend-list b,
.dw-donut-legend-list small,
.dw-donut-legend-list em {
  min-width: 0;
  font-style: normal;
}

.dw-donut-legend-list b {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-donut-legend-list em {
  justify-self: end;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.dw-donut-legend-list small {
  grid-column: 2 / 4;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.dw-donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  grid-row: 1 / span 2;
}

.dw-mini-panel {
  padding: 18px;
}

.dw-mini-panel h3 {
  margin-bottom: 8px;
}

.dw-portfolio {
  grid-column: 3;
  grid-row: 2;
  height: 100%;
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid var(--line);
  background: var(--panel-2);
  transform: translateX(0);
  opacity: 1;
  transition: transform 180ms ease, opacity 140ms ease;
}

.dw-portfolio::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dw-portfolio-top {
  padding: 32px 18px 30px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
}

.dw-portfolio-top > span,
.dw-group-hero > span {
  color: var(--muted);
}

.dw-portfolio-top > span button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.dw-action-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.dw-action-buttons button {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  min-width: 0;
}

.dw-action-buttons .dw-action-button > span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  position: relative;
}

.dw-action-buttons .dw-action-button:first-child > span {
  background: var(--purple);
  box-shadow: 0 10px 28px rgba(157, 61, 245, 0.35);
}

.dw-action-button > span::before,
.dw-action-button > span::after {
  content: "";
  position: absolute;
  color: var(--text);
}

.dw-action-send > span::before {
  width: 22px;
  height: 22px;
  background: currentColor;
  clip-path: polygon(0 4%, 100% 50%, 0 96%, 23% 55%, 56% 50%, 23% 45%);
  left: 21px;
  top: 20px;
  transform: rotate(-18deg);
}

.dw-action-download > span::before {
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  left: 20px;
  bottom: 17px;
}

.dw-action-download > span::after {
  width: 18px;
  height: 22px;
  background: currentColor;
  left: 22px;
  top: 18px;
  clip-path: polygon(42% 0, 58% 0, 58% 50%, 76% 50%, 50% 78%, 24% 50%, 42% 50%);
}

.dw-action-dollar > span::before {
  content: "$";
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.dw-action-dollar > span::after {
  display: none;
}

.dw-action-buttons b {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.dw-panel-section {
  padding: 24px 18px 70px;
  min-width: 0;
}

.dw-connect-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dw-connect-panel h2 {
  font-size: 18px;
}

.dw-connect-panel p {
  color: var(--muted);
}

.dw-connect-panel .dw-primary {
  justify-self: start;
}

.dw-connect-actions,
.dw-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dw-connect-actions {
  align-items: center;
}

.dw-wallet-actions {
  padding: 18px 22px 22px;
}

.dw-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dw-section-title-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dw-section-title button {
  border: 0;
  background: transparent;
  color: var(--purple);
  font-weight: 600;
}

.dw-section-title .dw-assets-refresh {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: rgba(169, 61, 255, 0.1);
}

.dw-section-title .dw-assets-refresh:hover {
  background: rgba(169, 61, 255, 0.2);
}

.dw-section-title .dw-assets-refresh:disabled {
  cursor: wait;
}

.dw-section-title .dw-assets-refresh svg {
  width: 17px;
  height: 17px;
}

.dw-portfolio .dw-group-row,
.dw-portfolio .dw-asset-row {
  padding: 10px 0;
  gap: 10px;
}

.dw-portfolio .dw-token img {
  width: 30px;
  height: 30px;
}

.dw-portfolio .dw-token {
  gap: 9px;
  min-width: 0;
}

.dw-portfolio .dw-group-row > span:last-child,
.dw-portfolio .dw-asset-row > span:last-child {
  min-width: 88px;
  overflow-wrap: anywhere;
}

.dw-group-hero {
  min-height: 250px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
  position: relative;
}

.dw-group-hero .dw-back {
  position: absolute;
  left: 18px;
  top: 20px;
}

.dw-group-hero img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.dw-group-hero strong {
  font-size: 28px;
}

.dw-network-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.5fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
}

.dw-network-hero dl,
.dw-review dl,
.dw-asset-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.dw-network-hero dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dw-loading-line {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--orange);
  background: rgba(255, 159, 8, 0.12);
}

.dw-token-loading-line {
  margin: 8px 0 10px;
  padding: 9px 11px;
  font-size: 12px;
}

.dw-network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.dw-network-metric {
  min-width: 0;
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dw-network-metric span,
.dw-network-metric small {
  color: var(--muted);
}

.dw-network-metric strong {
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.dw-network-section {
  margin-top: 18px;
  overflow: hidden;
}

.dw-network-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.dw-network-detail-grid div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dw-network-detail-grid dd {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.dw-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}

.dw-module-tags span {
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #120a1c;
  overflow-wrap: anywhere;
}

.dw-network-subsection {
  border-top: 1px solid var(--line);
}

.dw-network-subsection h3 {
  padding: 18px 18px 0;
}

.dw-diagnostic-list {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.dw-diagnostic-list code {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 159, 8, 0.34);
  border-radius: 8px;
  color: #ffd08a;
  background: rgba(255, 159, 8, 0.1);
}

tr.is-highlight td {
  background: rgba(157, 61, 245, 0.12);
}

.dw-network-hero div,
.dw-review div,
.dw-asset-details div {
  min-width: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.dw-manage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.dw-manage-grid .dw-card {
  padding: 0;
  overflow: hidden;
}

.dw-manage-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  overflow-wrap: anywhere;
}

.dw-token-import-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
}

.dw-token-import-form {
  display: grid;
  gap: 14px;
}

.dw-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dw-token-import-list {
  display: grid;
  gap: 10px;
  padding: 0 22px 22px;
}

.dw-token-import-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.dw-token-import-row img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.dw-token-import-row strong,
.dw-token-import-row span,
.dw-token-import-row code {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-token-import-row span,
.dw-token-import-row code {
  color: var(--muted);
  font-size: 0.82rem;
}

.dw-token-import-row code {
  font-family: inherit;
}

.dw-token-import-empty {
  padding: 18px 22px;
  color: var(--muted);
}

.dw-wallet-list {
  display: grid;
}

.dw-clean-wallet-list {
  display: grid;
}

.dw-clean-wallet-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 0 18px 16px;
}

.dw-clean-wallet-tools span {
  color: var(--muted);
}

.dw-clean-wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.dw-clean-wallet-row.is-active {
  background: rgba(157, 61, 245, 0.1);
}

.dw-clean-wallet-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dw-clean-wallet-main strong,
.dw-clean-wallet-main span,
.dw-clean-wallet-main small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-clean-wallet-main span {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.dw-clean-wallet-main small,
.dw-clean-wallet-actions em {
  color: var(--muted);
}

.dw-clean-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.dw-admin-page {
  display: grid;
  gap: 24px;
}

.dw-admin-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.dw-admin-heading-actions .dw-small-button {
  min-height: 38px;
  padding: 8px 14px;
}

.dw-admin-heading-actions button:disabled,
.dw-page-head button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.dw-admin-inline-error {
  margin: 18px 28px 0;
}

.dw-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dw-admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.dw-admin-list-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.dw-admin-list-row strong {
  font-size: 18px;
}

.dw-admin-restricted {
  display: grid;
  gap: 10px;
  padding: 22px 28px;
}

.dw-admin-restricted strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.dw-empty-line {
  padding: 12px;
  color: var(--muted);
}

.dw-market-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
  padding: 22px;
}

.dw-market-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
}

button.dw-market-card:hover {
  border-color: var(--purple);
}

.dw-market-card span,
.dw-market-card small {
  color: var(--muted);
}

.dw-market-card strong {
  font-size: 26px;
}

.dw-markets-page {
  max-width: 1230px;
}

.dw-markets-page > h1 {
  margin-bottom: 22px;
  font-size: 36px;
}

.dw-markets-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dw-markets-card.is-loading .dw-market-summary,
.dw-markets-card.is-loading .dw-market-table-wrap {
  opacity: 0.42;
}

.dw-markets-loading {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(300px, calc(100% - 40px));
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(18, 10, 29, 0.94);
  box-shadow: 0 18px 50px var(--shadow);
  text-align: center;
  transform: translate(-50%, -50%);
}

.dw-markets-loading-logo {
  width: 58px;
  height: 58px;
  box-shadow: 0 0 28px rgba(157, 61, 245, 0.5);
}

.dw-markets-loading strong {
  font-size: 18px;
}

.dw-markets-loading span {
  color: var(--muted);
  font-weight: 700;
}

.dw-markets-controls {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) 190px;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  background: var(--panel-2);
}

.dw-market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dw-market-tabs button,
.dw-market-periods button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.dw-market-tabs button.is-active,
.dw-market-periods button.is-active {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--text);
}

.dw-market-search {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-self: center;
  width: min(360px, 100%);
  gap: 10px;
  color: var(--muted);
}

.dw-market-search span {
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted-2);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.dw-market-search span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -2px;
  border-radius: 2px;
  background: var(--muted-2);
  transform: rotate(45deg);
}

.dw-market-search input,
.dw-markets-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #120a1d;
  color: var(--text);
}

.dw-market-search input {
  border-color: transparent;
  background: transparent;
  padding: 10px 4px;
}

.dw-markets-controls select {
  padding: 10px 12px;
}

.dw-markets-card .dw-market-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.dw-markets-card .dw-market-card {
  min-height: 160px;
  align-content: space-between;
  background: var(--panel-2);
}

.dw-market-mini-bars {
  height: 38px;
  display: flex;
  align-items: end;
  gap: 5px;
}

.dw-market-mini-bars i {
  width: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--purple), #22c7c8);
}

.dw-market-card.is-warm .dw-market-mini-bars i {
  background: linear-gradient(180deg, #ffcc4a, var(--purple));
}

.dw-market-card small b {
  margin-left: 16px;
}

.dw-market-gainer-card {
  border-color: var(--line);
}

.dw-market-table-wrap {
  max-width: 100%;
  border-top: 1px solid var(--line);
  overflow: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable both-edges;
  -webkit-overflow-scrolling: touch;
}

.dw-market-table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
}

.dw-market-col-rank {
  width: 58px;
}

.dw-market-col-asset {
  width: 238px;
}

.dw-market-col-price,
.dw-market-col-money {
  width: 118px;
}

.dw-market-col-change {
  width: 76px;
}

.dw-market-col-supply {
  width: 106px;
}

.dw-market-table th,
.dw-market-table td {
  height: 68px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-market-table th:last-child,
.dw-market-table td:last-child {
  padding-right: 22px;
}

.dw-market-table thead th {
  height: 44px;
  color: var(--muted);
  font-size: 12px;
}

.dw-market-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.dw-market-asset {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.dw-market-asset img,
.dw-market-detail-asset img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.dw-market-asset b,
.dw-market-asset small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-market-asset small {
  color: var(--muted);
}

.dw-market-detail-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.dw-market-detail-button span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

.dw-market-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.dw-market-pagination + .dw-market-table-wrap {
  border-top: 0;
}

.dw-market-pagination > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.dw-market-pagination button {
  min-height: 34px;
  min-width: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
}

.dw-market-pagination button.is-active {
  border-color: var(--purple);
  background: var(--purple);
  font-weight: 700;
}

.dw-market-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dw-market-page-gap {
  min-width: 20px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}

.dw-market-modal {
  width: min(960px, calc(100vw - 40px));
  max-height: min(820px, 92dvh);
}

.dw-market-modal footer {
  display: none;
}

.dw-market-detail-modal {
  display: grid;
  gap: 18px;
}

.dw-market-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dw-market-detail-asset {
  display: inline-grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.dw-market-detail-asset img {
  grid-row: span 2;
  width: 50px;
  height: 50px;
}

.dw-market-detail-asset b {
  font-size: 24px;
  line-height: 1.1;
}

.dw-market-detail-asset small {
  color: var(--muted);
}

.dw-market-website {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.dw-market-chart-card,
.dw-market-detail-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dw-market-chart-card {
  padding: 16px;
}

.dw-market-chart-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dw-market-chart-top span,
.dw-market-detail-grid span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.dw-market-chart-top strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.dw-market-chart-top small {
  display: block;
  margin-top: 4px;
  font-weight: 800;
}

.dw-market-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dw-market-chart {
  position: relative;
  height: 280px;
  padding: 12px 8px 12px 86px;
  border-radius: 8px;
  background: var(--panel-2);
}

.dw-market-chart-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 28px;
  border-radius: 8px;
  background: var(--panel-2);
  text-align: center;
}

.dw-market-chart-empty-logo {
  width: 62px;
  height: 62px;
  box-shadow: 0 0 28px rgba(157, 61, 245, 0.5);
}

.dw-market-chart-empty strong {
  font-size: 18px;
}

.dw-market-chart-empty span {
  max-width: 460px;
  color: var(--muted);
  font-weight: 800;
}

.dw-market-y-axis {
  position: absolute;
  inset: 14px auto 18px 10px;
  width: 68px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
}

.dw-market-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dw-market-chart line {
  stroke: rgba(201, 185, 230, 0.14);
  stroke-width: 1;
}

.dw-market-chart .dw-market-chart-line {
  fill: none;
  stroke: var(--purple);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-market-chart .dw-market-chart-area {
  fill: url(#marketAreaGradient);
  stroke: none;
}

.dw-market-hover-zone {
  fill: transparent;
  cursor: crosshair;
  pointer-events: all;
}

.dw-market-volume-bar {
  fill: rgba(201, 185, 230, 0.18);
}

.dw-market-volume-bar.is-up {
  fill: rgba(18, 201, 155, 0.46);
}

.dw-market-volume-bar.is-down {
  fill: rgba(255, 74, 85, 0.42);
}

.dw-market-chart-dates {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.dw-market-chart-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.dw-market-chart-stats section {
  min-height: 58px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 3, 20, 0.45);
}

.dw-market-chart-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dw-market-chart-stats strong {
  overflow-wrap: anywhere;
}

.dw-market-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dw-market-detail-grid section {
  display: grid;
  gap: 8px;
  min-height: 74px;
  padding: 14px 12px;
}

.dw-market-detail-grid strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.dw-market-detail-grid section.positive strong,
.dw-market-chart-top small.positive {
  color: var(--green);
}

.dw-market-detail-grid section.negative strong,
.dw-market-chart-top small.negative {
  color: var(--red);
}

.dw-marketplace-list {
  display: grid;
  gap: 0;
}

.dw-marketplace-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.dw-marketplace-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dw-marketplace-link::after {
  content: "Open";
  color: var(--purple);
  font-weight: 600;
}

.pos,
.positive {
  color: var(--green);
}

.neg,
.negative {
  color: var(--red);
}

.dw-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.dw-modal {
  width: min(660px, 100%);
  max-width: calc(100vw - 40px);
  max-height: min(760px, 88dvh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel-2);
  box-shadow: 0 20px 70px var(--shadow);
  padding: 26px;
  position: relative;
}

.dw-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.dw-modal h2 {
  text-align: center;
}

.dw-modal-body {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overflow-wrap: anywhere;
}

.dw-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.dw-startup-wallet-gate {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 26%, rgba(157, 61, 245, 0.2), transparent 360px),
    #07020f;
}

.dw-startup-wallet-card {
  width: min(660px, 100%);
  display: grid;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(24, 14, 38, 0.98);
  box-shadow: 0 24px 90px var(--shadow);
}

.dw-startup-wallet-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dw-startup-wallet-heading.is-centered {
  justify-content: center;
  text-align: center;
}

.dw-startup-wallet-heading span,
.dw-startup-wallet-heading p,
.dw-startup-wallet-note {
  color: var(--muted);
}

.dw-startup-wallet-heading h1 {
  margin: 4px 0;
  font-size: clamp(24px, 4vw, 34px);
}

.dw-startup-wallet-heading p,
.dw-startup-wallet-note {
  margin: 6px 0 0;
}

.dw-startup-wallet-heading code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-startup-wallet-logo {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(157, 61, 245, 0.5);
}

.dw-startup-wallet-list {
  display: grid;
  gap: 9px;
  max-height: min(440px, 48dvh);
  overflow: auto;
  padding-right: 5px;
}

.dw-startup-wallet-option {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #25163c;
  color: var(--text);
  text-align: left;
}

.dw-startup-wallet-option:hover,
.dw-startup-wallet-option:focus-visible {
  border-color: var(--purple);
  background: #2d1949;
}

.dw-startup-wallet-option span {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.dw-startup-wallet-option strong,
.dw-startup-wallet-option code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-startup-wallet-option code {
  color: var(--muted);
  font-size: 12px;
}

.dw-startup-wallet-option em {
  color: var(--purple);
  font-style: normal;
  font-weight: 700;
}

.dw-startup-wallet-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dw-startup-wallet-form {
  display: grid;
  gap: 14px;
}

.dw-startup-wallet-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

.dw-startup-password-field {
  display: grid;
  gap: 9px;
}

.dw-startup-password-field > label {
  color: #d9c7ec;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.dw-startup-password-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  overflow: hidden;
  border: 1px solid rgba(180, 74, 255, 0.64);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(20, 11, 32, 0.98), rgba(10, 5, 18, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 30px rgba(0, 0, 0, 0.2);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dw-startup-password-shell:hover {
  border-color: rgba(197, 108, 255, 0.86);
}

.dw-startup-password-shell:focus-within {
  border-color: #c66cff;
  background: #10081b;
  box-shadow:
    0 0 0 3px rgba(166, 57, 246, 0.18),
    0 12px 34px rgba(74, 21, 111, 0.28);
}

.dw-startup-password-shell input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 52px 0 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.025em;
}

.dw-startup-password-shell input::placeholder {
  color: #7f6c92;
  letter-spacing: 0;
  opacity: 1;
}

.dw-startup-password-icon {
  position: absolute;
  left: 18px;
  width: 16px;
  height: 15px;
  border: 1.7px solid #af83d6;
  border-radius: 4px;
  pointer-events: none;
}

.dw-startup-password-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -8px;
  width: 7px;
  height: 8px;
  border: 1.7px solid #af83d6;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.dw-startup-password-toggle {
  position: absolute;
  right: 7px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #a78abb;
  transition: color 150ms ease, background 150ms ease;
}

.dw-startup-password-toggle:hover,
.dw-startup-password-toggle:focus-visible,
.dw-startup-password-toggle[aria-pressed="true"] {
  background: rgba(174, 61, 255, 0.12);
  color: #d7a4ff;
}

.dw-startup-password-toggle:focus-visible {
  outline: 2px solid rgba(198, 108, 255, 0.8);
  outline-offset: -2px;
}

.dw-startup-password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.dw-startup-wallet-form .dw-primary {
  min-height: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(152, 42, 232, 0.2);
}

.dw-startup-wallet-back {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.dw-startup-wallet-back:hover {
  color: var(--text);
}

.dw-startup-wallet-error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 96, 113, 0.55);
  border-radius: 8px;
  background: rgba(116, 25, 45, 0.35);
  color: #ff9aaa;
}

.dw-startup-wallet-opening {
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  text-align: center;
}

.dw-startup-wallet-opening h1,
.dw-startup-wallet-opening p {
  margin: 0;
}

.dw-startup-wallet-opening p {
  color: var(--muted);
}

@media (max-width: 620px) {
  .dw-startup-wallet-gate {
    align-items: start;
    padding: 14px;
  }

  .dw-startup-wallet-card {
    margin-top: 18px;
    padding: 22px 18px;
  }

  .dw-startup-wallet-heading {
    align-items: flex-start;
  }

  .dw-startup-wallet-logo {
    width: 64px;
    height: 64px;
  }

  .dw-startup-wallet-actions > * {
    flex: 1 1 140px;
  }
}

.dw-wallet-switch-screen {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(157, 61, 245, 0.18), transparent 320px),
    rgba(4, 1, 10, 0.86);
  backdrop-filter: blur(6px);
}

.dw-wallet-switch-screen section {
  width: min(380px, 100%);
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 32px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(24, 14, 38, 0.96);
  box-shadow: 0 24px 80px var(--shadow);
  text-align: center;
}

.dw-wallet-switch-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(157, 61, 245, 0.56);
}

.dw-wallet-switch-screen strong {
  font-size: 22px;
  line-height: 1.2;
}

.dw-wallet-switch-screen span {
  max-width: 280px;
  color: var(--muted);
}

.dw-wallet-switch-dots {
  display: flex;
  gap: 7px;
  margin-top: 3px;
}

.dw-wallet-switch-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  animation: dw-switch-dot 900ms ease-in-out infinite;
}

.dw-wallet-switch-dots i:nth-child(2) {
  animation-delay: 120ms;
}

.dw-wallet-switch-dots i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes dw-switch-dot {
  0%,
  80%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.dw-modal.dw-market-modal {
  width: min(960px, calc(100vw - 40px));
  max-height: min(820px, 92dvh);
}

.dw-modal.dw-market-modal footer {
  display: none;
}

.dw-modal.dw-pending-modal {
  width: min(520px, calc(100vw - 40px));
}

.dw-modal.dw-pending-modal .dw-modal-close {
  display: none;
}

.dw-modal.dw-mobile-modal {
  width: min(1040px, calc(100vw - 40px));
}

.dw-mobile-qr-layout {
  display: grid;
  grid-template-columns: 450px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.dw-mobile-qr-card {
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
}

.dw-mobile-qr-card img {
  width: 420px;
  height: 420px;
  display: block;
  image-rendering: pixelated;
}

.dw-mobile-qr-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.dw-mobile-qr-copy h3 {
  font-size: 20px;
}

.dw-mobile-qr-copy p,
.dw-mobile-qr-copy small {
  color: var(--muted);
}

.dw-mobile-qr-copy label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.dw-mobile-qr-copy input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0b0412;
  padding: 12px 14px;
  color: var(--text);
}

.dw-mobile-open-link {
  width: fit-content;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.dw-modal.dw-transaction-modal {
  width: min(900px, calc(100vw - 40px));
  max-height: min(860px, 92dvh);
}

.dw-tx-detail {
  display: grid;
  gap: 16px;
}

.dw-tx-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12091e;
}

.dw-tx-head img {
  width: 38px;
  height: 38px;
}

.dw-tx-head span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.dw-tx-head small {
  color: var(--muted);
}

.dw-tx-head strong {
  max-width: 220px;
  text-align: right;
  overflow-wrap: anywhere;
}

.dw-tx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dw-tx-grid div,
.dw-tx-message,
.dw-tx-raw {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0716;
}

.dw-tx-grid .is-wide {
  grid-column: 1 / -1;
}

.dw-tx-grid dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.dw-tx-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.dw-tx-grid code {
  display: block;
  max-width: 100%;
  white-space: normal;
  word-break: break-all;
}

.dw-tx-section {
  display: grid;
  gap: 10px;
}

.dw-tx-section h3 {
  margin: 0;
  font-size: 17px;
}

.dw-tx-message summary,
.dw-tx-raw summary {
  cursor: pointer;
  font-weight: 800;
}

.dw-tx-message pre,
.dw-tx-raw pre {
  max-height: 280px;
  margin: 12px 0 0;
}

.dw-pending {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 0 2px;
  text-align: center;
}

.dw-pending-logo {
  width: 82px;
  height: 82px;
  box-shadow: 0 0 32px rgba(157, 61, 245, 0.46);
}

.dw-pending strong {
  font-size: 20px;
}

.dw-pending p {
  max-width: 360px;
  color: var(--muted);
}

.dw-modal pre,
.dw-seed-box {
  max-height: 260px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0716;
}

.dw-asset-details {
  grid-template-columns: 160px minmax(0, 1fr);
}

@media (max-width: 1600px) {
  .dw-swap-grid {
    grid-template-columns: 1fr;
  }

  .dw-burn-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1360px) {
  :root {
    --sidebar-width: 220px;
    --portfolio-width: 360px;
  }

  .dw-topbar-main {
    padding: 0 18px;
  }

  .dw-chain-chip,
  .dw-mobile-connect {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dw-action-buttons {
    gap: 8px;
  }

  .dw-action-buttons span {
    width: 54px;
    height: 54px;
  }

  .dw-stake-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 1180px) {
  .dw-overview {
    grid-template-columns: 1fr;
  }

  .dw-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .dw-markets-card .dw-market-summary,
  .dw-market-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-stake-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-stake-form .dw-field,
  .dw-stake-form .dw-primary,
  .dw-dodx-stake-form .dw-field,
  .dw-dodx-stake-form .dw-primary {
    grid-column: span 1;
  }

  .dw-stake-source-row {
    grid-template-columns: minmax(220px, 1.2fr) minmax(150px, .8fr) minmax(120px, .6fr);
  }

  .dw-stake-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --sidebar-width: 188px;
    --portfolio-width: 0px;
    --header-height: 72px;
  }

  .dw-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--header-height) minmax(0, 1fr);
  }

  .dw-side-toggle {
    display: none;
  }

  .dw-topbar {
    grid-template-columns: minmax(160px, var(--sidebar-width)) minmax(0, 1fr);
  }

  .dw-workspace {
    grid-column: 1;
  }

  .dw-sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    width: min(300px, 86vw);
    height: auto;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform 160ms ease;
    box-shadow: 20px 0 50px var(--shadow);
  }

  .dw-sidebar.is-open {
    transform: translateX(0);
  }

  .dw-menu-button {
    display: inline-grid;
  }

  .dw-portfolio {
    display: none;
  }

  .dw-topbar-main {
    padding: 0 12px;
    gap: 8px;
  }

  .dw-top-left,
  .dw-top-actions {
    gap: 8px;
  }

  .dw-chain-chip,
  .dw-mobile-connect {
    max-width: 130px;
    padding: 9px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dw-wallet-pill {
    max-width: 150px;
    padding: 8px 12px;
  }

  .dw-main {
    padding: 28px 14px 64px;
  }

  .dw-page h1 {
    font-size: 30px;
  }

  .dw-overview,
  .dw-network-hero,
  .dw-manage-grid,
  .dw-token-import-layout,
  .dw-stake-grid {
    grid-template-columns: 1fr;
  }

  .dw-stake-filter-row {
    justify-content: stretch;
  }

  .dw-stake-filter-row .dw-filter {
    width: 100%;
  }

  .dw-stake-chart-row .dw-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dw-stake-chart-row .dw-donut {
    justify-self: center;
  }

  .dw-donut-legend-list {
    grid-template-columns: 1fr;
  }

  .dw-overview {
    padding: 24px;
  }

  .dw-overview-stats {
    display: grid;
    gap: 14px;
  }

  .dw-stat-grid,
  .dw-market-summary,
  .dw-flow-grid,
  .dw-admin-grid,
  .dw-network-grid {
    grid-template-columns: 1fr;
  }

  .dw-inline-form {
    grid-template-columns: 1fr;
  }

  .dw-token-import-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .dw-token-import-row button {
    grid-column: 2;
    justify-self: start;
  }

  .dw-stake-row,
  .dw-stake-form-grid {
    grid-template-columns: 1fr;
  }

  .dw-stake-form .dw-field,
  .dw-stake-form .dw-primary,
  .dw-dodx-stake-form .dw-field,
  .dw-dodx-stake-form .dw-primary {
    grid-column: 1 / -1;
  }

  .dw-governance-stake-head,
  .dw-governance-stake-totals {
    align-items: stretch;
    flex-direction: column;
  }

  .dw-governance-stake-form {
    grid-template-columns: 1fr;
  }

  .dw-governance-stake-card.is-proposal .dw-governance-stake-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-stake-action-tabs {
    grid-template-columns: 1fr;
  }

  .dw-stake-action-tabs button {
    min-height: 54px;
  }

  .dw-stake-context-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .dw-stake-context-banner > span {
    justify-items: start;
    text-align: left;
  }

  .dw-stake-source-panel {
    padding: 18px 18px 0;
  }

  .dw-stake-source-head {
    display: grid;
    align-items: start;
  }

  .dw-stake-source-row {
    grid-template-columns: 1fr;
  }

  .dw-stake-source-row > span:nth-child(n+2) {
    justify-items: start;
    text-align: left;
  }

  .dw-stake-stat-strip {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .dw-stake-filter-row,
  .dw-stake-chart-row {
    padding-inline: 18px;
  }

  .dw-stake-detail-head,
  .dw-stake-validator-row,
  .dw-stake-breakdown-row,
  .dw-chain-coin-row {
    grid-template-columns: 1fr;
  }

  .dw-stake-detail-head {
    display: grid;
  }

  .dw-stake-detail-grid {
    grid-template-columns: 1fr;
  }

  .dw-stake-heading-actions {
    justify-content: flex-start;
    max-width: 100%;
    text-align: left;
  }

  .dw-stake-breakdown-row > span:last-child,
  .dw-stake-validator-value,
  .dw-chain-coin-value {
    justify-items: start;
    text-align: left;
  }

  .dw-chain-coin-actions {
    justify-content: flex-start;
  }

  .dw-stake-breakdown-row .dw-unbond-countdown,
  .dw-stake-validator-extra .dw-unbond-countdown,
  .dw-chain-coin-row .dw-unbond-countdown {
    justify-self: start;
  }

  .dw-stake-form label:nth-of-type(3),
  .dw-stake-form label:nth-of-type(4),
  .dw-stake-form label:nth-of-type(5),
  .dw-stake-form label:nth-of-type(6) {
    grid-column: auto;
  }

  .dw-stake-row-value {
    justify-items: start;
    text-align: left;
  }

  .dw-mobile-qr-layout {
    grid-template-columns: 1fr;
  }

  .dw-mobile-qr-card {
    justify-self: center;
    width: min(100%, 450px);
  }

  .dw-mobile-qr-card img {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1;
  }

  .dw-card-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dw-address-grid {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px 18px;
  }

  .dw-address-grid dt:not(:first-child) {
    margin-top: 8px;
  }

  .dw-network-hero dl {
    grid-template-columns: 1fr 1fr;
  }

  .dw-network-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dw-swap-grid {
    grid-template-columns: 1fr;
  }

  .dw-ramp-intro,
  .dw-ramp-grid {
    grid-template-columns: 1fr;
  }

  .dw-ramp-status {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 3px solid var(--purple);
  }

  .dw-ramp-status.is-setup {
    border-top-color: #ffbd4a;
  }

  .dw-ramp-wallets {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dw-ramp-frame-wrap {
    order: -1;
  }

  .dw-ramp-frame-wrap,
  .dw-ramp-frame,
  .dw-ramp-setup {
    min-height: 640px;
  }

  .dw-ramp-setup {
    align-content: start;
    min-height: 320px;
    padding: 24px 18px;
  }

  .dw-markets-controls {
    grid-template-columns: 1fr;
  }

  .dw-market-search {
    justify-self: stretch;
    width: 100%;
  }

  .dw-governance-tabs {
    overflow-x: auto;
  }

  .dw-governance-tab {
    flex: 0 0 auto;
  }

  .dw-governance-filter {
    margin-left: 22px;
  }

  .dw-governance-results {
    padding-left: 28px;
    padding-right: 28px;
  }

  .dw-vote-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dw-do-balance-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dw-governance-stake-card.is-proposal {
    padding: 14px;
  }

  .dw-governance-stake-card.is-proposal .dw-governance-stake-head,
  .dw-governance-stake-card.is-proposal .dw-governance-stake-form,
  .dw-governance-stake-card.is-proposal .dw-do-balance-breakdown {
    grid-template-columns: 1fr;
  }

  .dw-governance-stake-card.is-proposal .dw-governance-stake-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body {
    font-size: 14px;
  }

  .dw-form-grid {
    grid-template-columns: 1fr;
  }

  .dw-do-balance-breakdown {
    grid-template-columns: 1fr;
  }

  .dw-topbar {
    min-width: 0;
  }

  .dw-top-actions .dw-icon-button {
    display: none;
  }

  .dw-mobile-connect {
    display: none;
  }

  .dw-chain-chip {
    max-width: 92px;
  }

  .dw-page h1 {
    font-size: 28px;
    gap: 8px 12px;
    line-height: 1.18;
  }

  .dw-page h1 .dw-back {
    min-height: 34px;
    margin-right: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .dw-page-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .dw-page-head .dw-primary,
  .dw-page-head .dw-secondary {
    width: 100%;
  }

  .dw-page-head-actions {
    width: 100%;
    flex-direction: column;
  }

  .dw-overview {
    gap: 18px;
    padding: 20px;
  }

  .dw-overview > div:first-child > strong {
    white-space: normal;
  }

  .dw-overview-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dw-overview-stats div {
    min-width: 0;
    padding-left: 10px;
  }

  .dw-overview-stats strong {
    font-size: 17px;
  }

  .dw-swap-page h1 {
    font-size: 42px;
  }

  .dw-swap-card {
    padding: 20px;
  }

  .dw-burn-hero {
    padding: 22px 20px 18px;
  }

  .dw-burn-hero h1 {
    font-size: 38px;
  }

  .dw-burn-layout {
    padding: 18px;
  }

  .dw-burn-form {
    padding: 16px;
  }

  .dw-burn-stats {
    grid-template-columns: 1fr;
  }

  .dw-burn-table-wrap {
    overflow-x: auto;
  }

  .dw-burn-table {
    min-width: 520px;
  }

  .dw-markets-page > h1 {
    font-size: 32px;
  }

  .dw-markets-card .dw-market-summary,
  .dw-market-detail-grid {
    grid-template-columns: 1fr;
  }

  .dw-market-chart-top,
  .dw-market-detail-head {
    align-items: stretch;
    flex-direction: column;
  }

  .dw-market-chart-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-market-chart {
    padding-left: 76px;
  }

  .dw-overview strong,
  .dw-portfolio-top strong {
    font-size: 30px;
  }

  .dw-card-heading {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dw-card-heading > span,
  .dw-card-heading > strong {
    align-self: stretch;
    text-align: left;
  }

  .dw-table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dw-table-card:not(.dw-wallet-overview-card) table {
    min-width: 620px;
  }

  .dw-wallet-overview-table,
  .dw-wallet-overview-table tbody,
  .dw-wallet-overview-table tr,
  .dw-wallet-overview-table td {
    display: block;
    width: 100%;
  }

  .dw-wallet-overview-table thead {
    display: none;
  }

  .dw-wallet-overview-table tr {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }

  .dw-wallet-overview-table td {
    min-height: 0;
    padding: 4px 0;
    border-top: 0;
  }

  .dw-wallet-overview-table td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }

  .dw-wallet-overview-table td:not(:first-child)::before {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
  }

  .dw-wallet-overview-table td:nth-child(2)::before {
    content: "Address";
  }

  .dw-wallet-overview-table td:nth-child(3)::before {
    content: "Available";
  }

  .dw-wallet-overview-table td:nth-child(4)::before {
    content: "Staked";
  }

  .dw-wallet-overview-table td:nth-child(5)::before {
    content: "Rewards";
  }

  .dw-wallet-overview-table td:nth-child(6)::before {
    content: "Unbonding";
  }

  .dw-wallet-overview-table td:nth-child(7)::before {
    content: "Validators";
  }

  .dw-stake-row,
  .dw-stake-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dw-stat-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }

  .dw-stat-icon {
    width: 42px;
    height: 42px;
  }

  .dw-filter {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .dw-card > .dw-asset-row,
  .dw-card > .dw-group-row,
  .dw-card .dw-asset-list > .dw-asset-row,
  .dw-card .dw-asset-list > .dw-group-row {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dw-token {
    display: inline-grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 10px;
    width: 100%;
  }

  .dw-token img,
  .dw-market-asset img {
    width: 30px;
    height: 30px;
  }

  .dw-market-detail-asset img {
    width: 44px;
    height: 44px;
  }

  .dw-token img {
    grid-row: 1 / span 2;
  }

  .dw-token.big {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 56px;
  }

  .dw-token.big img {
    width: 56px;
    height: 56px;
  }

  .dw-token b,
  .dw-token small {
    grid-column: 2;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .dw-receive-row,
  .dw-asset-row,
  .dw-group-row,
  .dw-history-row,
  .dw-proposal-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dw-asset-row > span:last-child,
  .dw-group-row > span:last-child,
  .dw-history-row > span:last-child,
  .dw-proposal-row > span:last-child {
    min-width: 0;
    width: 100%;
    justify-self: stretch;
    text-align: left;
  }

  .dw-asset-row > span:last-child,
  .dw-group-row > span:last-child,
  .dw-history-row > span:last-child {
    margin-left: 42px;
    width: calc(100% - 42px);
  }

  .dw-history-main {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .dw-history-main img {
    width: 28px;
    height: 28px;
  }

  .dw-history-amount {
    justify-items: start;
    text-align: left;
  }

  .dw-history-amount b {
    max-width: 100%;
  }

  .dw-network-hero dl,
  .dw-asset-details,
  .dw-network-detail-grid {
    grid-template-columns: 1fr;
  }

  .dw-governance-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    overflow: visible;
  }

  .dw-governance-tab {
    min-height: 48px;
    padding: 9px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    line-height: 1.2;
    white-space: normal;
  }

  .dw-governance-tab:nth-child(2n) {
    border-right: 0;
  }

  .dw-governance-filter-row {
    padding: 24px 16px 18px;
  }

  .dw-governance-filter {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 0;
  }

  .dw-governance-results {
    min-height: 118px;
    padding: 18px 16px;
  }

  .dw-proposal-row {
    gap: 9px;
    padding: 14px 0;
  }

  .dw-proposal-row > span:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    justify-content: space-between;
  }

  .dw-proposal-row > span:last-child b,
  .dw-proposal-row > span:last-child small {
    min-width: 0;
    max-width: 100%;
  }

  .dw-proposal-row small {
    line-height: 1.35;
  }

  .dw-proposal-detail-head,
  .dw-proposal-meta {
    grid-template-columns: 1fr;
  }

  .dw-modal-backdrop {
    padding: 10px;
  }

  .dw-modal {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    gap: 14px;
    padding: 18px;
  }

  .dw-modal h2 {
    padding: 0 28px;
    font-size: 20px;
    line-height: 1.2;
  }

  .dw-modal-body {
    padding-right: 0;
  }

  .dw-stake-detail-head {
    gap: 10px;
  }

  .dw-stake-detail-head strong {
    min-width: 0;
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  .dw-stake-breakdown-row,
  .dw-stake-validator-row,
  .dw-chain-coin-row,
  .dw-clean-wallet-row {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .dw-stake-breakdown-row > span:last-child,
  .dw-stake-validator-value,
  .dw-chain-coin-value {
    max-width: 100%;
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .dw-chain-coin-row {
    padding: 12px 0;
  }

  .dw-chain-coin-value,
  .dw-chain-coin-actions {
    margin-left: 40px;
    width: calc(100% - 40px);
  }

  .dw-clean-wallet-actions {
    justify-content: flex-start;
  }

  .dw-market-table {
    min-width: 900px;
  }

  .dw-market-table th,
  .dw-market-table td {
    height: 58px;
    padding: 10px 12px;
  }

  .dw-market-pagination {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 14px;
  }

  .dw-market-pagination > div {
    justify-content: flex-start;
  }

  .dw-market-detail-grid,
  .dw-market-chart-stats,
  .dw-stake-detail-grid {
    grid-template-columns: 1fr;
  }
}
