/* Velo profile — modern, responsive account + sync UI */

.velo-profile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 36rem;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.velo-profile-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.velo-profile-avatar {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #e0f2fe;
  background: linear-gradient(145deg, #0ea5e9, #6366f1);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.velo-profile-hero__text {
  min-width: 0;
  flex: 1;
}

.velo-profile-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.velo-profile-email,
.velo-profile-meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--velo-text-secondary);
}

.velo-profile-card {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--velo-surface-elevated, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.velo-profile-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.velo-profile-card-head h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.velo-profile-card-head p {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--velo-text-muted);
}

.velo-profile-card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.velo-profile-card-icon--muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--velo-text-secondary);
}

.velo-profile-card-icon--accent {
  background: rgba(244, 114, 182, 0.15);
  color: #f9a8d4;
}

.velo-profile-taste-headline {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--velo-text);
}

.velo-profile-taste-bullets {
  margin: 0;
  padding: 0 1rem 0 0;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--velo-text-secondary);
  line-height: 1.45;
}

.velo-profile-recs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.velo-profile-recs li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.velo-profile-recs li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.velo-profile-recs__cover {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.velo-profile-recs__meta {
  min-width: 0;
  flex: 1;
}

.velo-profile-recs__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.velo-profile-recs__artist {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  color: var(--velo-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.velo-profile-recs__why {
  font-size: 0.62rem;
  color: #c4b5fd;
  white-space: nowrap;
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.velo-profile-continue__track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.velo-profile-continue__cover {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.velo-profile-continue__meta {
  min-width: 0;
  flex: 1;
}

.velo-profile-continue__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.velo-profile-continue__artist {
  margin: 0.12rem 0 0;
  font-size: 0.72rem;
  color: var(--velo-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.velo-profile-continue__badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  white-space: nowrap;
}

.velo-profile-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.velo-profile-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-size: 0.78rem;
}

.velo-profile-history li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.velo-profile-history__title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.velo-profile-history__artist {
  font-size: 0.68rem;
  color: var(--velo-text-muted);
}

.velo-profile-history__when {
  font-size: 0.65rem;
  color: var(--velo-text-muted);
  white-space: nowrap;
}

.velo-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.velo-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.velo-profile-btn:active {
  transform: scale(0.98);
}

.velo-profile-btn--primary {
  width: 100%;
  color: #041016;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
}

.velo-profile-btn--ghost {
  color: var(--velo-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.velo-profile-auth {
  padding: 1rem;
  border-radius: 18px;
  background: var(--velo-surface-elevated, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.velo-profile-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.25rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.velo-profile-auth__tab {
  border: none;
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--velo-text-muted);
  background: transparent;
}

.velo-profile-auth__tab.is-active {
  color: var(--velo-text);
  background: rgba(255, 255, 255, 0.08);
}

.velo-profile-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.velo-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.velo-profile-field span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--velo-text-secondary);
}

.velo-profile-field input {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: var(--velo-text);
  font-size: 0.88rem;
}

.velo-profile-field input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.45);
}

.velo-profile-form-error {
  margin: 0;
  font-size: 0.75rem;
  color: #fca5a5;
}

.velo-profile-auth-hint {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--velo-text-muted);
  text-align: center;
}

@media (min-width: 640px) {
  .velo-profile-hero {
    padding: 1.15rem 1.25rem;
  }

  .velo-profile-avatar {
    width: 3.75rem;
    height: 3.75rem;
    font-size: 1.35rem;
  }
}
