/* Profile & Settings Drawer */
.profile-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.profile-section h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9a441;
  margin-bottom: 0.55rem;
}

.profile-stats {
  display: grid;
  gap: 0.35rem;
  background: #0d0b09;
  border: 1px solid #3a2e22;
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
}

.profile-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9b8c78;
}

.profile-stat strong {
  color: #f3e9d2;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-file-label {
  display: inline-block;
  background: #2e261f;
  color: #f3e9d2;
  border: 1px solid #5c4936;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.profile-file-label:hover {
  background: #3d3228;
}

.profile-file-label input {
  display: none;
}

.profile-textarea {
  width: 100%;
  min-height: 110px;
  margin-top: 0.55rem;
  background: #0d0b09;
  color: #f3e9d2;
  border: 1px solid #4a3b2c;
  border-radius: 4px;
  padding: 0.55rem;
  font: inherit;
  font-size: 0.76rem;
  resize: vertical;
}

.profile-textarea:focus {
  outline: none;
  border-color: #d9a441;
}

.profile-import-btn {
  margin-top: 0.5rem;
}

.profile-status {
  font-size: 0.78rem;
  min-height: 1.2em;
}

.profile-status.is-ok {
  color: #5cd67d;
}

.profile-status.is-error {
  color: #ff6b6b;
}

@media (max-width: 560px) {
  .profile-body {
    padding: 0.9rem;
    -webkit-overflow-scrolling: touch;
  }

  .profile-textarea {
    font-size: 1rem;
  }
}
