.profile-dashboard {
  width: min(1192px, calc(100% - 96px));
  padding: 40px 0 56px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dashboard-heading h1 {
  font-size: clamp(2.55rem, 5.1vw, 4.2rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.067em;
}

.dashboard-heading p {
  margin-top: 8px;
  color: var(--muted);
}

.profile-preview-label {
  flex: none;
  padding: 5px 10px;
  border: 1px solid #d6e7dc;
  border-radius: 6px;
  background: #e8f2eb;
  color: #205b4e;
  font-size: .78rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  grid-template-rows: min-content 1fr;
  align-items: start;
  gap: 14px 19px;
}

.wallet-area, .connection-panel, .wallet-roadmap { min-width: 0; }
.wallet-area { grid-column: 1; grid-row: 1; display: grid; gap: 14px; }
.connection-panel { grid-column: 2; grid-row: 1 / 3; }
.wallet-roadmap { grid-column: 1; grid-row: 2; }

.wallet-summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 25px 19px;
  border: 1px solid #335b58;
  border-radius: 16px;
  color: #f6fbf7;
  background: radial-gradient(ellipse at 83% 32%, #25584d 1%, transparent 47%), linear-gradient(127deg, #0c2b34 5%, #103e43 92%);
}

.wallet-summary h2 {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.023em;
}

.wallet-label {
  margin-top: 15px;
  color: #c5ded5;
  font-size: .84rem;
}

.wallet-total {
  margin: 2px 0 17px;
  min-width: 0;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.3vw, 4.38rem);
  line-height: 1.03;
  letter-spacing: -.066em;
  font-variant-numeric: tabular-nums;
}

.wallet-total span {
  color: #cde7db;
  font-size: .31em;
  letter-spacing: .035em;
}

.wallet-coin {
  position: absolute;
  z-index: -1;
  top: 7px;
  right: 16px;
  display: grid;
  place-items: center;
  width: clamp(118px, 25%, 155px);
  height: 157px;
}

.wallet-coin::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 132%;
  aspect-ratio: 1;
  border: 1px solid #afdac932;
  border-radius: 50%;
  box-shadow: 0 0 0 18px #9bd7c30b, 0 0 0 36px #9bd7c30b, inset 0 0 36px #e1d48120;
}

.wallet-coin img {
  width: 78%;
  filter: drop-shadow(0 10px 13px #0319127d);
}

.wallet-breakout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid #91c8b940;
  border-radius: 9px;
  background: #06222d55;
}

.wallet-breakout div { padding: 10px 13px; }
.wallet-breakout div + div { border-left: 1px solid #91c8b940; }
.wallet-breakout dt { color: #cae0d9; font-size: .75rem; }

.wallet-breakout dd {
  margin: 2px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.wallet-breakout dd span { color: #cce6dc; font-size: .69em; }

.dashboard-panel {
  overflow: hidden;
  border: 1px solid #dbe5df;
  border-radius: 12px;
  background: #fcfdfa;
}

.balance-panel, .wallet-roadmap { padding: 15px 21px; }
.dashboard-panel h2, .dashboard-panel h3 { font-weight: 800; letter-spacing: -.046em; line-height: 1.14; }
.balance-panel h3, .wallet-roadmap h2 { font-size: 1.32rem; }
.app-balances, .roadmap-list { margin: 9px 0 0; }

.app-balances div, .roadmap-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.app-balances dt { min-width: 0; }

.app-balances dd, .roadmap-list dd {
  flex: none;
  margin: 0;
  color: #154e48;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.app-balances dd span { font-size: .72em; }
.balance-app { padding: 8px 0 6px; font-weight: 800; }

.balance-app dt {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}

.balance-store {
  padding: 4px 0 4px 40px;
  color: var(--muted);
  font-size: .88rem;
}

.balance-store:last-child { padding-bottom: 7px; }

.bonus-note {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e3ebe6;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.42;
}

.bonus-note strong { color: #23564d; }

.wallet-roadmap p {
  margin-top: 6px;
  color: var(--muted);
  font-size: .88rem;
}

.roadmap-list { margin-top: 11px; }

.roadmap-list div {
  padding-block: 7px;
  border-top: 1px solid #e4ebe6;
  font-size: .85rem;
  font-weight: 750;
}

.connection-panel { padding: 17px 17px 5px; }
.connections-heading h2 { font-size: 1.61rem; }

.connections-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
}

.connection-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 13px 0;
}

.connection-filters button {
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid #d6e3db;
  border-radius: 6px;
  background: transparent;
  color: #345b54;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.connection-filters button:hover { background: #edf3ee; }
.connection-filters button[aria-pressed="true"] { background: #175950; border-color: #175950; color: white; }
.connection-filters button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.connection-list { margin: 0; padding: 0; list-style: none; }

.connection-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding-block: 5px;
  border-top: 1px solid #e3ebe6;
}

.connection-row[hidden] { display: none; }
.connection-name { font-size: .88rem; font-weight: 800; line-height: 1.21; overflow-wrap: anywhere; }

.app-symbol {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border-radius: 7px;
  color: #235153;
  background: #e0ebea;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.symbol-navigation, .symbol-game { color: #205862; background: #dcebed; }
.symbol-community { color: #4d496f; background: #e9e5f1; }
.symbol-crew { color: #37604a; background: #e3eee3; }
.symbol-deck { color: #3b5166; background: #e3ebf1; }
.symbol-engine { color: #4d6054; background: #e7ebdf; }

.connection-state {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  background: #edf1ee;
  color: #52645d;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.35;
}

.connection-state.state-connected { color: #11614d; background: #d8efe6; }
.connection-state.state-development { color: #73501c; background: #f8ecd5; }
.connection-state.state-planned { color: #52645d; }

.status-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 1040px) {
  .profile-dashboard { width: calc(100% - 48px); }
}

@media (max-width: 760px) {
  .profile-dashboard { width: calc(100% - 36px); padding: 24px 0 34px; }
  .dashboard-heading { display: grid; align-items: start; gap: 11px; padding-bottom: 15px; margin-bottom: 13px; }
  .profile-preview-label { justify-self: start; }
  .dashboard-heading p { margin-top: 5px; font-size: .91rem; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 11px; }
  .wallet-area, .connection-panel, .wallet-roadmap { grid-column: auto; grid-row: auto; }
  .wallet-area { gap: 11px; }
  .wallet-summary { padding: 15px 15px 12px; border-radius: 12px; }
  .wallet-summary h2 { font-size: 1.11rem; }
  .wallet-label { margin-top: 9px; }
  .wallet-total { font-size: clamp(2.55rem, 12vw, 3.55rem); margin-bottom: 14px; }
  .wallet-coin { width: 85px; height: 104px; top: 4px; right: 16px; }
  .wallet-coin::before { width: 116%; }
  .wallet-breakout div { padding: 7px 10px; }
  .wallet-breakout dd { font-size: 1rem; }
  .balance-panel, .wallet-roadmap { padding: 12px 13px; }
  .connection-panel { padding: 13px 10px 4px; }
  .connections-heading h2 { font-size: 1.4rem; }
  .connections-heading p { font-size: .82rem; }
  .connection-filters { padding: 10px 0; }
  .connection-filters button { padding-inline: 6px; }
  .connection-row { grid-template-columns: 27px minmax(0, 1fr) auto; gap: 6px; min-height: 44px; }
  .connection-row .app-symbol { width: 27px; }
  .connection-name { font-size: .83rem; }
  .connection-state { padding-inline: 5px; }
}

@media (max-width: 350px) {
  .profile-dashboard { width: calc(100% - 26px); }
  .connection-state { font-size: .62rem; }
  .connection-filters button { font-size: .71rem; }
  .roadmap-list div { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
