﻿.profile-page {
  padding-bottom: 80px;
}

.nav-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.back-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.guest-section {
  display: flex;
  justify-content: center;
}

.guest-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: grid;
  gap: 16px;
}

.guest-hero {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(59, 27, 18, 0.1);
}

.avatar-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a8a, #ffc46b);
}

.guest-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.guest-subtitle {
  font-size: 13px;
  color: var(--ink-soft);
}

.guest-note {
  font-size: 12px;
  color: var(--ink-soft);
}

.guest-actions {
  display: grid;
  gap: 10px;
}

.user-section {
  display: grid;
  gap: 18px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ff7a8a;
  background: #fff;
  box-shadow: 0 10px 20px rgba(59, 27, 18, 0.1);
}

.user-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.user-signature {
  font-size: 13px;
  color: var(--ink-soft);
}

.list-group {
  padding: 8px 0;
  display: grid;
  gap: 0;
}

.list-title {
  padding: 10px 20px 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(59, 27, 18, 0.55);
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(59, 27, 18, 0.08);
  color: inherit;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.menu-row:first-of-type {
  border-top: none;
}

.menu-button {
  width: 100%;
  text-align: left;
}

.menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff7a8a, #ffc46b);
  box-shadow: 0 6px 12px rgba(255, 107, 157, 0.2);
  flex-shrink: 0;
}

.menu-icon::before {
  content: attr(data-icon);
}

.menu-icon.is-voice {
  background: linear-gradient(135deg, #4ecdc4, #88d8c0);
}

.menu-icon.is-feedback {
  background: linear-gradient(135deg, #ffb366, #ffd28f);
}

.menu-icon.is-privacy {
  background: linear-gradient(135deg, #9aa6ff, #c5ccff);
}

.menu-icon.is-theme {
  background: linear-gradient(135deg, #ffb347, #ffd194);
}

.menu-main {
  display: grid;
  gap: 4px;
  flex: 1;
}

.menu-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.menu-subtitle {
  font-size: 12px;
  color: var(--ink-soft);
}

.menu-chevron {
  font-size: 16px;
  color: rgba(59, 27, 18, 0.45);
}

.privacy-content {
  padding: 0 20px 14px;
  display: grid;
  gap: 12px;
}

.privacy-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-left: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.privacy-list li::before {
  content: "-";
  margin-right: 6px;
  color: var(--accent-pink);
}

.privacy-link {
  font-size: 12px;
  color: var(--accent-pink);
  font-weight: 600;
  text-decoration: none;
}

.theme-options {
  padding: 0 20px 16px;
  display: grid;
  gap: 10px;
}

.theme-option {
  border: 1px solid rgba(59, 27, 18, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(59, 27, 18, 0.12);
}

.theme-option.is-active {
  border-color: rgba(255, 122, 138, 0.6);
  box-shadow: 0 12px 22px rgba(255, 107, 157, 0.2);
}

.theme-swatch {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 12px rgba(59, 27, 18, 0.12);
  flex-shrink: 0;
}

.theme-swatch-default {
  background: linear-gradient(135deg, #ffe6d2, #ffd3b0);
}

.theme-swatch-spring {
  background: linear-gradient(135deg, #8b0f12, #d42824, #f7c66a);
}

.theme-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.gift-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.gift-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(59, 27, 18, 0.08);
}

.gift-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.gift-date {
  font-size: 12px;
  color: var(--ink-soft);
}

.ghost-btn {
  background: #fff;
}

.voice-info {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.voice-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink);
}

.voice-label {
  font-weight: 600;
  color: var(--ink-soft);
}

.voice-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.panel-inner {
  margin-top: 12px;
}

.empty-panel {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(59, 27, 18, 0.12);
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 720px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
