.assets-page .pay-shell {
  max-width: 900px;
}

.assets-page .pay-page-header {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.assets-page .pay-page-header-text {
  flex: 1;
  min-width: 200px;
}

.assets-header-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.assets-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.assets-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.assets-action-btn-primary {
  background: linear-gradient(180deg, #ffcc00, #e6b800);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.2);
}

.assets-action-btn-primary:hover {
  opacity: 0.92;
  background: linear-gradient(180deg, #ffcc00, #e6b800);
}

.assets-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.assets-wallet-card {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  font: inherit;
  color: inherit;
}

.assets-wallet-card:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.assets-wallet-card.is-active {
  border-color: rgba(255, 204, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(255, 204, 0, 0.03));
}

.assets-wallet-card.is-active .assets-wallet-value {
  color: var(--accent);
}

.assets-wallet-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.assets-wallet-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.assets-wallet-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

.assets-panel {
  display: none;
}

.assets-panel.active {
  display: block;
}

.assets-panel.active.assets-panel-animate {
  animation: assetsPanelIn 0.3s ease;
}

@keyframes assetsPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.assets-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.assets-account-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.assets-account-uid {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.assets-breakdown-table td:last-child,
.assets-breakdown-table th:last-child {
  text-align: right;
}

.assets-breakdown-total td {
  font-weight: 600;
  color: var(--text);
  border-top: 1px solid rgba(255, 204, 0, 0.15);
}

.assets-breakdown-total td:first-child {
  color: var(--accent);
}

.assets-table-wrap {
  overflow-x: auto;
}

.assets-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.assets-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  padding: 0 8px 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.assets-table td {
  padding: 14px 8px 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.assets-table td:last-child,
.assets-table th:last-child {
  text-align: right;
}

.assets-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.assets-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.2);
  color: var(--accent);
}

@media (max-width: 767px) {
  .assets-wallet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .assets-wallet-card {
    padding: 14px 12px;
  }

  .assets-wallet-value {
    font-size: 1.05rem;
  }

  .assets-wallet-sub {
    font-size: 0.68rem;
  }

  .assets-header-actions {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
  }

  .assets-action-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .assets-wallet-label {
    font-size: 0.7rem;
  }

  .assets-wallet-value {
    font-size: 0.95rem;
  }
}
