:root {
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #142342;
  background: #eff4fb;
  --blue: #2354e6;
  --panel: #fff;
  --muted: #526587;
  --line: #dce6f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #e7edff, transparent 72%);
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 16px;
  line-height: 1.35;
}
button,
input,
select {
  font: inherit;
  color: inherit;
  min-width: 0;
}
button,
input,
select,
summary {
  outline-offset: 2px;
}
:where(button, input, select, summary):focus-visible {
  outline: 2px solid var(--blue);
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 7px 10px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
button:hover:not(:disabled) {
  border-color: var(--blue);
}
svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.viewport {
  max-width: 390px;
  margin: 20px auto;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 37px #162d551e;
}
body[data-kind="personal"] {
  background: #edf1f8;
  --safe-top: max(
    env(safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px)
  );
  --safe-bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--tg-content-safe-area-inset-bottom, 0px)
  );
}
[data-kind="personal"] .viewport {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: #f5f7fb;
  box-shadow: none;
  overflow: visible;
}
[data-kind="personal"] .header {
  padding: calc(8px + var(--safe-top)) 18px 8px;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}
.header,
.brand,
.language {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header {
  padding: 10px 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}
[data-kind="checkout"] .header {
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 670;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 720;
  flex: none;
}
[data-kind="personal"] .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.language {
  padding: 0 7px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.language select {
  border: 0;
  background: transparent;
  min-height: 44px;
  inline-size: clamp(76px, 29vw, 140px);
  min-inline-size: 0;
  text-overflow: ellipsis;
  color: #142342;
}
main {
  padding: 14px;
  display: grid;
  gap: 11px;
  min-width: 0;
}
[data-kind="personal"] main {
  flex: 1;
  align-content: start;
  grid-template-rows: auto auto 1fr;
  padding: 16px;
  gap: 14px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f6f9ff;
  display: grid;
}
.asset-hero {
  padding: 18px;
  gap: 5px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 100% 115%, #5157c2, transparent 64%),
    linear-gradient(127deg, #132750, #284da8);
}
.asset-hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -99px;
  top: -110px;
  z-index: -1;
  width: 225px;
  height: 225px;
  border: 1px solid #e3edff50;
  border-radius: 50%;
  box-shadow:
    0 0 0 19px #ffffff12,
    0 0 0 38px #ffffff0d;
  pointer-events: none;
}
.asset-hero h1 {
  font-size: clamp(25px, 7vw, 30px);
}
.asset-hero p {
  color: #e0eaff;
}
.asset-hero .search-trigger {
  justify-self: start;
  margin-top: 10px;
  color: #143670;
  border: 0;
  border-radius: 12px;
  padding-inline: 15px;
  gap: 8px;
}
.asset-hero .search-trigger:hover {
  background: #e8f0ff;
}
.asset-hero .search-trigger:focus-visible {
  outline-color: #fff;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 20px;
  background: #ffffff24;
  margin-bottom: 5px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  min-width: 0;
}
.state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}
.state p {
  margin-top: 4px;
}
.muted,
.foot {
  color: var(--muted);
  font-size: 12px;
}
[data-state="expired"],
[data-state="exception"],
[data-state="link_unavailable"] {
  color: #8b332b;
}
[data-state="credited"] {
  color: #166344;
}
.primary {
  color: #fff;
  background: var(--blue);
  border-color: transparent;
}
.primary:hover {
  background: #1946c5;
}
.secondary {
  color: var(--blue);
}
[data-kind="checkout"] :is(button, input) {
  border-radius: 6px;
}
.payment {
  display: grid;
  gap: 11px;
}
.payment-meta {
  padding: 13px;
  border-radius: 14px;
  gap: 2px;
  background: radial-gradient(ellipse at 95% 125%, #5757b8, #193672 72%);
}
.payment-meta strong {
  font-size: 30px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.payment-meta small {
  color: #e1ebff;
}
.payment-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
#countdown {
  font-variant-numeric: tabular-nums;
  color: #fff;
  border-radius: 5px;
  padding: 1px 7px;
  background: #ffffff24;
}
.address-label,
.search label {
  font-weight: 650;
}
.qr-wrap {
  margin: 5px auto 9px;
  width: max-content;
  max-width: 100%;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.qr-wrap img {
  display: block;
  width: min(176px, 49vw);
  height: auto;
  aspect-ratio: 1;
}
.address-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}
.address-box input {
  font:
    12px ui-monospace,
    Consolas,
    monospace;
}
.risk-note {
  color: #774817;
  background: #fff2df;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 8px;
}
input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 10px;
  width: 100%;
  min-height: 44px;
}
.search form,
#portfolio {
  display: grid;
  gap: 12px;
}
.search {
  width: min(100% - 24px, 460px);
  max-height: calc(100dvh - var(--safe-top) - 16px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: inherit;
  background: var(--panel);
}
.search::backdrop {
  background: rgb(20 35 66 / 48%);
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sheet-header h2 {
  font-size: 20px;
}
.sheet-close {
  min-width: 44px;
}
.search .primary {
  border-radius: 12px;
}
.search .primary:disabled {
  cursor: progress;
  opacity: 0.75;
}
.search .feedback[data-state="loading"] {
  color: var(--muted);
}
.search input {
  font-size: 16px;
}
#query-privacy,
.history-scope {
  font-size: 12px;
  line-height: 1.5;
}
.search #query-privacy {
  margin: 0;
  text-align: center;
}
.history-scope {
  margin: 0 0 8px;
}
.search input[aria-invalid="true"] {
  border-color: #b14a4a;
}
.address-help-trigger {
  justify-self: start;
  padding-inline: 0;
  border-color: transparent;
  background: transparent;
  color: var(--blue);
}
.search form .address-help-trigger {
  justify-self: center;
}
.address-help-trigger:hover:not(:disabled) {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.help-content {
  display: grid;
  gap: 14px;
}
.address-help-steps {
  display: grid;
  gap: 8px;
  padding-inline-start: 23px;
  margin: 0;
}
.address-help-steps li {
  padding-inline-start: 3px;
}
.address-help-steps li::marker {
  font-weight: 750;
  color: var(--blue);
}
.help-official {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 13px;
  background: #f2f6fe;
}
.help-official input {
  min-width: 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
}
.help-official button {
  justify-self: start;
  max-width: 100%;
}
.address-help-safety {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef6f4;
  color: #25594e;
  align-items: flex-start;
}
.address-help-safety svg {
  margin-top: 3px;
}
#viewing,
#history-address,
.transaction code {
  font-family: ui-monospace, Consolas, monospace;
  overflow-wrap: anywhere;
}
.port-head {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 11px;
}
.port-head > div {
  min-width: 0;
}
#portfolio .panel {
  padding: 14px;
  border-radius: 16px;
}
#balances:empty,
#history-items:empty {
  display: none;
}
.history-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 17px 8px 10px;
  text-align: center;
}
.history-empty p {
  color: var(--muted);
  font-size: 12px;
}
.history-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  margin-bottom: 3px;
  color: #3760a5;
  background: #edf2fc;
}
.balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.asset {
  background: #f0f4fc;
  padding: 10px;
  border-radius: 12px;
  min-width: 0;
}
.asset-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #223959;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}
.token-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #fde8ed;
  color: #a9284a;
  font-size: 12px;
}
.token-mark[data-asset="USDT"] {
  color: #086850;
  background: #d8f4ec;
}
.asset strong,
.asset small,
.activity b,
.activity small {
  display: block;
  overflow-wrap: anywhere;
}
.asset strong,
.activity b {
  font-variant-numeric: tabular-nums;
}
.asset small,
.activity small,
.transaction {
  color: var(--muted);
  font-size: 12px;
}
.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.history h2 {
  margin-bottom: 5px;
}
#history-address {
  margin-bottom: 8px;
}
.personal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.personal-heading .search-trigger {
  color: var(--blue);
}
.personal-heading h1,
.personal-settings h1 {
  font-size: 25px;
  margin-bottom: 4px;
}
.personal-settings {
  display: grid;
  gap: 12px;
}
.personal-settings .panel {
  border-radius: 16px;
  padding: 14px;
}
.settings-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.settings-note .history-icon {
  flex: none;
  margin: 0;
}
.settings-note p {
  margin-top: 4px;
  color: var(--muted);
}
[data-personal-view="me"] main {
  grid-template-rows: auto 1fr;
}
.personal-nav {
  position: sticky;
  z-index: 1;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 6px 10px calc(6px + var(--safe-bottom));
  min-width: 0;
  background: #fff;
  border-top: 1px solid #dce7f6;
  box-shadow: 0 -6px 22px #173c7911;
}
@supports (backdrop-filter: blur(12px)) {
  .personal-nav {
    background: rgb(249 252 255 / 96%);
    backdrop-filter: blur(12px);
  }
}
.personal-nav button {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 50px;
  flex-direction: column;
  gap: 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 3px 9px;
  -webkit-tap-highlight-color: transparent;
}
.personal-nav button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline: max(3px, (100% - 100px) / 2);
  border: 1px solid #dce8fb;
  border-radius: 15px;
  background: linear-gradient(130deg, #e7efff, #e7f5f8);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}
.personal-nav .nav-label {
  max-width: min(100%, 92px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.personal-nav button[aria-current="page"] {
  color: #1b48a2;
  font-weight: 720;
}
.personal-nav button[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}
.personal-nav button:active::before {
  opacity: 0.7;
  transform: scale(0.96);
}
.personal-nav button:focus-visible {
  outline-offset: -2px;
}
.nav-icon {
  width: 25px;
  height: 23px;
  display: grid;
  place-items: center;
  transition: transform 160ms ease;
}
.nav-icon svg {
  width: 20px;
  height: 20px;
}
.personal-nav button[aria-current="page"] .nav-icon {
  transform: translateY(-1px);
}
.personal-nav button[aria-current="page"] svg {
  stroke-width: 2;
}
@media (prefers-reduced-motion: reduce) {
  .personal-nav button::before,
  .personal-nav .nav-icon {
    transition: none;
  }
}
.activity {
  border-top: 1px solid var(--line);
}
.activity summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 0;
}
.activity summary::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border: solid var(--blue);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}
.activity[open] summary::before {
  transform: rotate(45deg);
}
.activity summary > span:first-of-type {
  margin-inline-end: auto;
}
.activity-right {
  text-align: end;
}
.transaction {
  padding: 0 0 7px 10px;
}
.transaction code {
  display: block;
}
.empty {
  padding: 6px 0;
}
.feedback {
  color: #8b332b;
  font-size: 12px;
}
.foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.foot svg {
  color: var(--blue);
  margin-top: 1px;
}
[data-kind="personal"] .foot {
  align-self: end;
}
[data-kind="personal"] {
  --blue: #2458d8;
  --line: #e1e9f6;
  --muted: #4e6382;
}
[data-kind="personal"] .viewport {
  background: linear-gradient(168deg, #edf4ff 0, #f7faff 365px, #f2f6fc 100%);
}
[data-kind="personal"] .header {
  padding-block: calc(8px + var(--safe-top)) 8px;
  background: #f8fbff;
  border-bottom-color: #dfe9f7;
  flex-wrap: nowrap;
}
[data-kind="personal"] .brand {
  font-size: 16px;
  letter-spacing: -0.035em;
  gap: 9px;
  white-space: nowrap;
}
.personal-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  min-inline-size: 0;
}
.personal-header-tools .chain-pill {
  flex: none;
  white-space: nowrap;
}
.personal-header-tools .language {
  min-inline-size: 0;
  gap: 5px;
  padding-inline: 6px;
  background: #fff;
}
.personal-header-tools .language select {
  inline-size: clamp(58px, 23vw, 116px);
  min-height: 44px;
}
[data-kind="personal"] .brand-mark {
  background: linear-gradient(145deg, #2b60f1, #173788);
  box-shadow: 0 3px 8px #2456d23b;
  color: #fff;
}
.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  color: #243d67;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: 0.06em;
  border-radius: 99px;
  background: #e8eef9;
}
.chain-pill::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: #ce4467;
}
.asset-hero {
  padding: 19px 18px;
  gap: 6px;
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 103% 25%, #217d9c 0%, transparent 56%),
    linear-gradient(132deg, #102748 14%, #184181 70%, #1c4f8a 100%);
  box-shadow: 0 11px 24px #173c791e;
}
.asset-hero::before {
  inset-inline-end: -64px;
  top: -126px;
  width: 245px;
  height: 245px;
  border-color: #8ee6ef24;
  box-shadow:
    0 0 0 22px #8ee6ef12,
    0 0 0 41px #8ee6ef0a;
}
.hero-network {
  position: absolute;
  z-index: -1;
  inset-inline-end: -4px;
  top: 20px;
  width: clamp(94px, 31vw, 136px);
  rotate: -9deg;
  opacity: 0.76;
  pointer-events: none;
}
.hero-network svg {
  width: 100%;
  height: auto;
  stroke: #90dcea;
  stroke-width: 0.85;
}
.hero-network path {
  stroke-width: 1.4;
}
.hero-network .orbit-dot {
  fill: #b3f0fa;
}
.asset-hero .eyebrow {
  color: #b9f2f3;
  background: #d0f8ff20;
  margin-bottom: 2px;
}
.asset-hero p {
  max-width: 73%;
  font-size: 13px;
  color: #dcecff;
}
.asset-hero .search-trigger {
  margin-top: 8px;
  background: #ecfbff;
  color: #17447b;
}
#portfolio .panel,
.personal-settings .panel {
  box-shadow: 0 5px 18px #14357508;
}
.panel.portfolio .balances {
  gap: 10px;
}
.asset {
  border: 1px solid #e2e9f5;
  background: linear-gradient(164deg, #fff, #edf4ff);
  padding: 12px 10px;
}
.asset:has([data-asset="USDT"]) {
  border-color: #dceee9;
  background: linear-gradient(164deg, #fff, #edf9f5);
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.history-heading h2 {
  margin-bottom: 0;
}
.history-link {
  min-height: 44px;
  color: var(--blue);
  border: 0;
  background: transparent;
  font-size: 12px;
  padding-inline: 4px;
}
.history-icon {
  background: linear-gradient(155deg, #e7efff, #e2f6f6);
}
.activity-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-block: 9px;
  min-width: 0;
}
.activity-row > span {
  min-width: 0;
}
.activity-row > span:last-child {
  margin-inline-start: auto;
}
.activity-row b,
.activity-row small {
  display: block;
  overflow-wrap: anywhere;
}
.activity-row small {
  color: var(--muted);
  font-size: 12px;
}
#history-preview .activity-row {
  border-top: 1px solid var(--line);
}
.activity-direction {
  display: grid;
  place-items: center;
  inline-size: 29px;
  block-size: 29px;
  flex: none;
  border-radius: 10px;
  background: #edf2fa;
  color: #42649b;
  font-weight: 750;
}
.activity-direction[data-direction="in"] {
  background: #e4f6ef;
  color: #127558;
}
.activity summary::before {
  content: none;
}
.activity summary::after {
  content: "";
  inline-size: 5px;
  block-size: 5px;
  flex: none;
  border: solid var(--blue);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}
.activity[open] summary::after {
  transform: rotate(45deg);
}
.asset-freshness {
  padding: 8px 11px;
  border-radius: 11px;
  background: #fff4dc;
  border: 1px solid #f3dfac;
  color: #704807;
  font-size: 12px;
}
.personal-heading,
.settings-heading {
  padding: 15px 14px;
  border-radius: 17px;
  background: linear-gradient(125deg, #e2ecff, #e3f5f6);
  border: 1px solid #dce8f6;
  color: #1b385f;
}
.settings-heading p {
  color: var(--muted);
  font-size: 13px;
}
[data-personal-view="me"] .foot {
  display: none;
}
@media (max-width: 600px) {
  .search {
    margin: auto 0 0;
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(18px + var(--safe-bottom));
  }
}
@media (max-width: 410px) {
  .viewport {
    margin: 8px;
  }
}
@media (max-width: 350px) {
  .address-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .address-box button {
    justify-self: end;
  }
}

.profile-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#address-book-profile {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d5e6ee;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, #e1f1f3, transparent 65%), #fff;
  box-shadow: 0 8px 23px #2b587114;
}
.book-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}
.book-identity-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.book-identity-text strong {
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  color: #132f47;
}
.book-identity-text small {
  color: #4b657e;
  font-variant-numeric: tabular-nums;
}
.book-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 14px;
  background: #e2f1f4;
  color: #185f6e;
  font-size: 18px;
  font-weight: 720;
}
.book-profile-route {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 10px 10px 12px;
  background: #f0f7fa;
  color: #15435a;
  border: 1px solid #dbe9f1;
  border-radius: 12px;
  min-height: 44px;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.book-profile-route > :first-child {
  flex: 1;
}
.book-chevron {
  font-size: 21px;
  font-weight: 450;
  line-height: 1;
  color: #4d7088;
}
.book-pill {
  border-radius: 999px;
  padding: 2px 7px;
  background: #e5f0fa;
  color: #245276;
  font-size: 12px;
  font-weight: 650;
}
.profile-actions,
.book-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-actions button,
.book-row-actions button {
  min-height: 38px;
  overflow-wrap: anywhere;
}
.profile-actions .primary {
  background: #195b70;
  color: white;
}
.profile-actions .secondary {
  font-size: 12px;
  min-height: 32px;
  padding: 4px 9px;
  color: #395b73;
  background: #fff;
}
.profile-group {
  display: grid;
  gap: 8px;
}
.profile-group-title {
  margin: 0 0 0 2px;
  font-size: 14px;
  color: #45617b;
}
.personal-settings .profile-rows {
  padding: 0 14px;
}
.profile-rows > div {
  padding: 12px 0;
}
.profile-rows h3,
.profile-security h3 {
  margin: 0 0 3px;
  font-size: 14px;
}
.profile-security {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9e8f3;
  border-radius: 14px;
  background: #edf5fa;
}
.profile-security p {
  margin: 0;
  font-size: 12px;
  color: #35546d;
}
.book-quick {
  display: grid;
  gap: 8px;
  margin: 12px 0 10px;
  padding: 12px 13px;
  border: 1px solid #d7e7f3;
  border-radius: 16px;
  background: linear-gradient(110deg, #fff 63%, #eaf5f8);
}
.book-card-top,
.book-choice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.book-card-head {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.book-card-head small {
  color: #48637c;
  font-size: 12px;
}
.book-card-head strong,
.book-choice b {
  overflow-wrap: anywhere;
  color: #17334b;
}
.book-card-top > button {
  flex: none;
  min-height: 36px;
}
.book-full-address {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  font:
    12.5px/1.5 ui-monospace,
    Consolas,
    monospace;
  color: #21485e;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  user-select: text;
}
.book-quick .book-full-address {
  padding: 8px 9px;
  border-radius: 8px;
  background: #f2f8fb;
  border: 1px solid #e0edf3;
}
.book-address-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}
.book-address-line > button {
  min-height: 44px;
  padding-inline: 9px;
}
body[data-watch-address-active] #viewing,
body[data-watch-address-active] #history-address {
  display: none;
}
.book-status {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
  color: #35566e;
  font-size: 12px;
}
.book-status:empty {
  display: none;
}
.book-dialog {
  max-height: min(83dvh, 650px);
  overflow: auto;
}
.book-items {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.book-row,
.book-choice {
  display: grid;
  gap: 8px;
  border: 1px solid #d9e7f4;
  border-radius: 12px;
  padding: 10px;
  min-width: 0;
}
.book-row b {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 4px;
}
.book-choice {
  width: 100%;
  text-align: left;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.book-choice[aria-pressed="true"] {
  border-color: #8dbcc6;
  background: #eaf6f7;
}
.book-choice:focus-visible,
.book-profile-route:focus-visible {
  outline: 2px solid #2354e6;
  outline-offset: 2px;
}
.book-row-actions button {
  font-size: 12px;
}
.book-form {
  display: grid;
  gap: 8px;
}
#asset-overview.asset-hero {
  border: 1px solid #286e964d;
  box-shadow: 0 12px 22px #14335029;
}
#asset-summary .port-head {
  padding-bottom: 5px;
}
#asset-summary .balances {
  gap: 10px;
}
#asset-summary .asset {
  border-radius: 14px;
  padding: 13px 11px;
}
@media (max-width: 350px) {
  [data-kind="personal"] .header {
    padding-inline: 12px;
  }
  [data-kind="personal"] .brand {
    font-size: 15px;
    gap: 6px;
  }
  .personal-header-tools {
    gap: 5px;
  }
  .personal-header-tools .chain-pill {
    font-size: 10px;
    padding-inline: 6px;
  }
  .book-full-address {
    font-size: 12px;
  }
}
