/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Profile V2 — Ghost 个人资料页 UI 清理版
   2026 design: 静态、安静、有生活感
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ===== 头像 + 名字 + 动态个签 ===== */
.profile-header-v2 {
  text-align: center;
  padding: 40px 20px 28px;
  background: rgba(247,244,239,0.3);
  border-radius: 20px;
  margin-bottom: 16px;
}

.profile-avatar-v2 {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 24px rgba(80,140,55,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  overflow: hidden;
}

.profile-online-dot-v2 {
  width: 12px;
  height: 12px;
  background: #4ade80;
  border-radius: 50%;
  border: 2.5px solid #f7f4ef;
  position: absolute;
  bottom: 2px;
  right: 2px;
  box-shadow: 0 0 6px rgba(74,222,128,0.4);
}

.profile-names-v2 {
  margin-bottom: 12px;
}

.profile-nickname-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.profile-nickname {
  font-size: 22px;
  font-weight: 600;
  color: #1F2421;
  letter-spacing: 0.5px;
}

.profile-edit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(231,225,215,0.5);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #5C635D;
}

.profile-edit-icon:active {
  transform: scale(0.9);
  background: rgba(231,225,215,0.8);
}

.profile-realname {
  font-size: 16px;
  font-weight: 500;
  color: #5C635D;
  letter-spacing: 0.8px;
}

.profile-signature-v2 {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(92,99,93,0.7);
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  max-width: 300px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===== 我们在一起 ===== */
.profile-relationship-v2 {
  background: rgba(251,249,245,0.7);
  border: 1px solid rgba(231,225,215,0.5);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 16px;
}

.profile-rel-label {
  font-size: 13px;
  font-weight: 500;
  color: #5C635D;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.profile-rel-days {
  font-size: 48px;
  font-weight: 400;
  font-family: Georgia, 'Times New Roman', serif;
  color: #1F2421;
  line-height: 1;
  margin-bottom: 10px;
}

.profile-rel-since {
  font-size: 12px;
  color: rgba(92,99,93,0.65);
  letter-spacing: 0.3px;
}

/* ===== 地点 / 天气 / 时间 ===== */
.profile-reality-v2 {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.profile-reality-item {
  flex: 1;
  background: rgba(251,249,245,0.6);
  border: 1px solid rgba(231,225,215,0.4);
  border-radius: 14px;
  padding: 18px 10px;
  text-align: center;
}

.profile-reality-main {
  font-size: 15px;
  font-weight: 600;
  color: #1F2421;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.profile-reality-sub {
  font-size: 10px;
  color: #5C635D;
  letter-spacing: 0.5px;
}

/* ===== 进入 Love Space 主按钮 ===== */
.profile-btn-v2 {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #5a8a46, #7aaa5a);
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 16px rgba(90,138,70,0.2);
  margin-bottom: 48px;
}

.profile-btn-v2:active {
  transform: translateY(1px);
  box-shadow: 0 1px 6px rgba(90,138,70,0.2);
}

/* ===== 重置对话入口 ===== */
.profile-reset-v2 {
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 500;
  color: rgba(92,99,93,0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.profile-reset-v2:active {
  color: rgba(92,99,93,0.75);
}

/* ===== 备注编辑弹窗 ===== */
.remark-editor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,36,33,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.remark-editor-modal {
  background: rgba(251,249,245,0.98);
  border: 1px solid rgba(231,225,215,0.8);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 12px 40px rgba(31,36,33,0.15);
}

.remark-editor-title {
  font-size: 16px;
  font-weight: 600;
  color: #1F2421;
  margin-bottom: 16px;
  text-align: center;
}

.remark-editor-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(231,225,215,0.8);
  border-radius: 12px;
  font-size: 15px;
  color: #1F2421;
  background: rgba(255,255,255,0.7);
  font-family: inherit;
  outline: none;
  margin-bottom: 18px;
}

.remark-editor-input::placeholder {
  color: rgba(92,99,93,0.4);
}

.remark-editor-input:focus {
  border-color: rgba(90,138,70,0.5);
  box-shadow: 0 0 0 3px rgba(90,138,70,0.08);
}

.remark-editor-actions {
  display: flex;
  gap: 10px;
}

.remark-editor-cancel {
  flex: 1;
  padding: 11px;
  border: 1px solid rgba(231,225,215,0.8);
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
  color: #5C635D;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.remark-editor-save {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #5a8a46, #7aaa5a);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}


/* ━━━ Ghost Profile V3 · 奶油纸张与手绘双人心形 ━━━ */
#profileScreen { background:#f8f5ef; }
#profileScreen .profile-screen-nav { background:#f8f5ef; border-bottom:1px solid #e9ded2; padding-top:calc(12px + env(safe-area-inset-top)); padding-bottom:12px; }
#profileScreen .profile-nav-back { background:#fffaf5; border:1px solid #e8d9cb; color:#755d50; }
#profileScreen .profile-nav-title { color:#705749; font-weight:600; letter-spacing:.04em; }
#profileScreen .profile-container { background:linear-gradient(180deg,#f8f5ef 0%,#fcfaf6 100%); padding:12px 18px calc(32px + env(safe-area-inset-bottom)); }
#profileScreen .profile-header-v2 { padding:6px 6px 22px; margin-bottom:10px; border-radius:0; background:transparent; }
.profile-couple-art { width:min(100%,340px); height:210px; margin:0 auto 2px; position:relative; }
.profile-handdrawn-heart { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.profile-heart-stroke { stroke:#c9918c; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:740; stroke-dashoffset:0; filter:drop-shadow(0 3px 5px rgba(172,115,111,.10)); }
.profile-heart-echo { stroke:#d9b4a6; stroke-width:1.2; stroke-linecap:round; opacity:.72; }
#profileScreen.active .profile-heart-stroke { animation:profileHeartDraw 1.65s ease-out both; }
@keyframes profileHeartDraw { from {stroke-dashoffset:740;opacity:.45} to {stroke-dashoffset:0;opacity:1} }
.profile-couple-portraits { position:absolute; left:0;right:0; top:60px; display:flex; align-items:center; justify-content:center; gap:7px; }
.profile-couple-person { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:86px; }
.profile-couple-person>span { font-family:Georgia,serif; font-size:10px; letter-spacing:2.3px; color:#a78b7b; }
.profile-couple-avatar { width:78px; height:78px; border-radius:50%; padding:4px; background:#fffdf9; box-shadow:0 3px 16px rgba(122,84,68,.14); border:1px solid #e8d5c7; box-sizing:border-box; overflow:hidden; }
.profile-couple-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.profile-heartbeat { width:65px; height:35px; margin-top:-19px; overflow:visible; flex-shrink:0; }
.profile-heartbeat path { stroke:#b97d78; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:115; }
#profileScreen.active .profile-heartbeat path { animation:profileBeatDraw 1s .5s ease-out both; }
@keyframes profileBeatDraw { from {stroke-dashoffset:115;opacity:.3} to {stroke-dashoffset:0;opacity:1} }
#profileScreen .profile-names-v2 { margin-bottom:8px; }
#profileScreen .profile-nickname { color:#654e43; font-size:21px; }
#profileScreen .profile-realname { color:#a28a7b; font-family:Georgia,serif; font-size:14px; }
#profileScreen .profile-edit-icon { color:#93796a; background:#f0e7df; }
#profileScreen .profile-signature-v2 { color:#90786b; font-size:13px; max-width:290px; }
#profileScreen .profile-relationship-v2 { padding:19px 14px 17px; background:#fffaf5; border:1px solid #eadbd0; box-shadow:0 5px 22px rgba(116,81,60,.045); margin-bottom:12px; }
#profileScreen .profile-rel-label { color:#a18a7b; font-size:12px; letter-spacing:2px; margin-bottom:5px; }
.profile-rel-number { display:flex; align-items:baseline; justify-content:center; gap:8px; }
#profileScreen .profile-rel-days { color:#78594b; font-size:48px; margin:0; }
.profile-rel-unit { font-size:13px; color:#9f8374; }
#profileScreen .profile-rel-since { color:#b09887; margin-top:6px; font-family:Georgia,serif; letter-spacing:1px; }
#profileScreen .profile-reality-v2 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; margin-bottom:17px; }
#profileScreen .profile-reality-item { min-width:0; padding:15px 9px; background:#fffaf5; border:1px solid #eadbd0; border-radius:15px; }
#profileScreen .profile-reality-main { color:#735c50; font-size:14px; overflow-wrap:anywhere; }
#profileScreen .profile-reality-sub { color:#a18b7d; font-size:11px; }
#profileScreen .profile-btn-v2 { background:linear-gradient(110deg,#b8917b,#98705e); box-shadow:0 5px 15px rgba(127,87,70,.13); margin-bottom:26px; font-weight:500; }
#profileScreen .profile-reset-v2 { color:#b8a59b; }
@media (max-width:360px) { .profile-couple-art { transform:scale(.92); transform-origin:center center; margin:-8px auto -8px; } .profile-couple-portraits {gap:3px} }
@media (prefers-reduced-motion:reduce) { #profileScreen.active .profile-heart-stroke, #profileScreen.active .profile-heartbeat path { animation:none; } }
