/* Perfil (ui/profile-view.js): a folha do apelido e o nome no menu. */
.overlay--profile {
  z-index: 15;
  background: rgba(9, 7, 20, 0.86);
  cursor: default;
}

.profile-card {
  gap: 10px;
  width: min(340px, 100%);
}

.profile-input {
  width: 100%;
  height: 52px;
  padding: 0 12px;
  border: 3px solid var(--outline);
  border-radius: 12px;
  background: #0f0c1f;
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 24px;
  text-align: center;
}

.profile-input::placeholder {
  color: #3d3560;
}

.profile-input:focus {
  outline: 3px solid var(--crystal);
  outline-offset: 1px;
}

.profile-hint {
  margin: 0;
}

.profile-card .overlay-actions {
  width: 100%;
}

.profile-card.is-busy [data-role="save"] {
  opacity: 0.6;
}

.home-profile[hidden] {
  display: none;
}

.home-profile span::before {
  content: "Você: ";
  color: var(--muted);
}

/* Configurações (ui/settings-view.js): a conta e o Som. */
.settings-card {
  gap: 8px;
}

.settings-card .big-btn {
  width: 100%;
}

.settings-card .big-btn[hidden] {
  display: none;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.settings-row .act-btn {
  flex: 0 0 auto;
  width: auto;
  padding: 0 18px;
}

.settings-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 22px;
}

.settings-card .is-armed {
  outline: 3px solid #ffcf4a;
  outline-offset: 1px;
}

.settings-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--crystal);
  background: rgba(124, 58, 237, 0.2);
  color: #ede9fe;
  font-weight: 700;
  text-align: center;
}

.settings-message[hidden] {
  display: none;
}

#settings.is-busy .settings-card {
  opacity: 0.7;
}

.profile-google {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  padding-top: 6px;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
}

.profile-google[hidden] {
  display: none;
}

.profile-google .setup-note {
  margin: 0;
}

.settings-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
}
