/* Discord sign-in profile (2026-11-02). */
.avatar {
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-page {
  display: grid;
  gap: 18px;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  font-size: 26px;
}
.profile-identity {
  min-width: 0;
  flex: 1 1 200px;
}
.profile-identity h2 {
  margin: 0 0 2px;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.profile-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.profile-facts {
  display: flex;
  gap: 26px;
  margin: 0;
  flex-wrap: wrap;
}
.profile-facts dt {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile-facts dd {
  margin: 4px 0 0;
  font-size: 13px;
}
.profile-watchlists {
  display: grid;
  gap: 14px;
}
.profile-watchlist {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel2);
}
.profile-watchlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.profile-add {
  display: flex;
  gap: 6px;
  min-width: 0;
}
.profile-add input {
  width: 190px;
  max-width: 100%;
  min-width: 0;
}
.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
}
.profile-chip a {
  color: var(--text);
  text-decoration: none;
}
.profile-chip a:hover {
  text-decoration: underline;
}
.profile-chip .asset-icon {
  width: 16px;
  height: 16px;
}
.profile-chip .icon-button {
  font-size: 14px;
  padding: 0 4px;
}
.profile-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-servers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.profile-servers li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-card #discord-login.primary {
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .profile-card {
    padding: 18px;
    gap: 14px;
  }
  .profile-facts {
    gap: 16px;
  }
  .profile-add {
    width: 100%;
  }
  .profile-add input {
    flex: 1;
    width: auto;
  }
}
/* Guest browsing (2026-11-02): the account button reads "Sign in". */
.account .icon-button.account-sign-in {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  white-space: nowrap;
}
.account .icon-button.account-sign-in:hover {
  background: var(--panel2);
}
.breadcrumb em {
  font-style: normal;
}
/* Email accounts (2026-11-02). */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin: 14px 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.auth-tabs button {
  border: 0;
  border-radius: 7px;
  padding: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.auth-tabs button[aria-selected='true'] {
  background: var(--panel2);
  color: var(--text);
}
.auth-tabs button[hidden] {
  display: none;
}
.auth-tabs:has(button[hidden]) {
  grid-template-columns: 1fr;
}
.auth-form {
  display: grid;
  gap: 6px;
}
.auth-form input {
  margin-bottom: 6px;
}
.auth-form button {
  margin-top: 4px;
}
.login-card #guest-view {
  margin-top: 10px;
}
.login-card .discord-button {
  margin-top: 2px;
}
.profile-method p {
  margin: 0 0 12px;
}
/* Coinbase-style watchlist rows and balance card (2026-11-03). */
.cb-watch {
  display: grid;
}
.cb-watch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 90px 28px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.cb-watch-name {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.cb-watch-name .asset-icon {
  width: 28px;
  height: 28px;
}
.cb-watch-name span {
  display: grid;
  min-width: 0;
}
.cb-watch-name small {
  color: var(--muted);
  font-size: 11px;
}
.cb-watch-name:hover strong {
  text-decoration: underline;
}
.cb-watch-price {
  font-variant-numeric: tabular-nums;
}
.cb-watch-change {
  text-align: right;
}
.cb-profile-total {
  padding-bottom: 6px;
}
@media (max-width: 600px) {
  .cb-watch-row {
    grid-template-columns: minmax(0, 1fr) auto 28px;
  }
  .cb-watch-change {
    display: none;
  }
}
.cb-profile-total .cb-label {
  margin-bottom: 4px;
}
.cb-profile-total .cb-delta.positive {
  color: #00c805;
}
.cb-profile-total .cb-delta.negative {
  color: #ff5000;
}
