/*! 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;
}

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);
}

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

.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;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  background: #0b0615;
}

.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);
  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: 0 0 auto;
  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 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 13px 34px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(189, 180, 207, 0.42) transparent;
}

.dw-network-list::-webkit-scrollbar {
  width: 8px;
}

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

.dw-network-list::-webkit-scrollbar-thumb {
  min-height: 62px;
  border-radius: 999px;
  border: 2px solid #0b0615;
  background: rgba(189, 180, 207, 0.48);
}

.dw-network-list::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 212, 235, 0.62);
}

.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-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-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-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: stable;
  padding: 42px 28px 72px;
}

.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-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-table .dw-token img {
  width: 28px;
  height: 28px;
}

.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-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-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-submit {
  width: max-content;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #9c7810;
  color: #06020c;
  font-weight: 700;
}

.dw-swap-error {
  color: #ff767f;
  font-weight: 700;
}

.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-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-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-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-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 > strong {
  min-width: 0;
  max-width: 48%;
  overflow-wrap: anywhere;
  text-align: right;
}

.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-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-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-quick-stake-card {
  margin-top: 24px;
  overflow: hidden;
}

.dw-quick-stake-card .dw-card-heading {
  align-items: center;
}

.dw-stake-action-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}

.dw-stake-action-tabs button {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--border);
  background: rgba(31, 17, 48, .82);
  color: var(--muted);
  min-height: 48px;
  font-weight: 900;
  cursor: pointer;
}

.dw-stake-action-tabs button:last-child {
  border-right: 0;
}

.dw-stake-action-tabs button.is-active {
  background: #090412;
  color: #fff;
}

.dw-stake-action-flow {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(9, 4, 18, .24);
}

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

.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: span 2;
}

.dw-stake-form .dw-primary {
  min-height: 48px;
}

.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(980px, 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-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 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);
  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-row > span:last-child {
  min-width: 0;
}

.dw-chain-coin-row > span:last-child {
  display: grid;
  justify-items: end;
  text-align: right;
  max-width: 220px;
}

.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: stable;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid var(--line);
  background: var(--panel-2);
}

.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 button {
  border: 0;
  background: transparent;
  color: var(--purple);
  font-weight: 600;
}

.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-wallet-list {
  display: grid;
}

.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-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-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-template-columns: repeat(2, minmax(0, 1fr));
  }

  .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-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-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-network-grid {
    grid-template-columns: 1fr;
  }

  .dw-inline-form {
    grid-template-columns: 1fr;
  }

  .dw-stake-row,
  .dw-stake-form {
    grid-template-columns: 1fr;
  }

  .dw-stake-action-tabs {
    grid-template-columns: 1fr;
  }

  .dw-stake-action-tabs button {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .dw-stake-action-tabs button:last-child {
    border-bottom: 0;
  }

  .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-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-breakdown-row > span:last-child,
  .dw-chain-coin-row > span:last-child {
    justify-items: start;
    text-align: left;
  }

  .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);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .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-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-chain-coin-row {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .dw-stake-breakdown-row > span:last-child,
  .dw-chain-coin-row > span:last-child {
    max-width: 100%;
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .dw-chain-coin-row {
    padding: 12px 0;
  }

  .dw-chain-coin-row > span:last-child {
    margin-left: 40px;
    width: calc(100% - 40px);
  }

  .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;
  }
}
