.ton-wallet-card {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px; margin: 7px 0 25px;
  border: 1px solid #98512d80; border-radius: 22px;
  background: linear-gradient(120deg, #4022169e, #22150f);
  box-shadow: inset 0 1px #ffd19c15;
}
.ton-wallet-heading { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.ton-wallet-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; }
.ton-wallet-icon img { width: 100%; height: 100%; object-fit: contain; }
.ton-wallet-copy { min-width: 0; }
.ton-wallet-copy h2 { margin: 0 0 4px; color: #fff2e2; font-size: 18px; line-height: 1.15; }
.ton-wallet-copy p { margin: 0; color: #bea48e; font-size: 12px; line-height: 1.3; }
.ton-wallet-card button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ton-wallet-connect { flex: none; min-height: 42px; padding: 10px 14px; border: 1px solid #ffbd6d; border-radius: 14px; color: #fff7eb; background: linear-gradient(115deg, #ff9b2d, #f45618); font-size: 13px !important; font-weight: 700 !important; box-shadow: inset 0 1px #ffeac57a, 0 4px 16px #ee6b1824; }
.ton-wallet-card button:disabled { cursor: default; opacity: .55; }
.ton-wallet-card button:focus-visible { outline: 2px solid #ffcb7a; outline-offset: 3px; }
.ton-wallet-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding-top: 12px; border-top: 1px solid #b479482d; }
.ton-wallet-address, .ton-wallet-disconnect { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 7px 10px; border: 1px solid #98512d65; border-radius: 12px; color: #efd6ba; background: #4b2a1c66; font-size: 13px !important; }
.ton-wallet-address { font-variant-numeric: tabular-nums; }
.ton-wallet-account svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ton-wallet-notice { width: 100%; margin: 0; color: #f8d491; font-size: 12px; line-height: 1.4; }
.ton-wallet-notice.is-error { color: #ffb794; }
.ton-wallet-notice[hidden] { display: none; }
@media (max-width: 350px) {
  .ton-wallet-card { padding: 13px; gap: 10px; }
  .ton-wallet-heading { gap: 8px; }
  .ton-wallet-icon { width: 36px; height: 36px; }
  .ton-wallet-copy h2 { font-size: 16px; }
  .ton-wallet-connect { padding: 9px; }
}
