.cove-love-card{margin:16px auto;padding:22px 18px;max-width:560px;text-align:center;
  background:rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(30px) saturate(170%);
  backdrop-filter:blur(30px) saturate(170%);
  border:1px solid rgba(255,255,255,.5);border-radius:22px;
  box-shadow:0 8px 32px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.6);
  position:relative}
.love-card-header{margin-bottom:14px}
.love-title{font-size:15px;font-weight:600;letter-spacing:.5px;color:#555}

.love-avatars{display:flex;align-items:center;justify-content:center;gap:22px;margin:6px 0 12px}
.love-avatar-wrapper{position:relative;width:80px;height:80px}
.love-avatar{display:flex;align-items:center;justify-content:center;width:80px;height:80px;
  border-radius:50%;background:#eef2f7 center/cover no-repeat;font-size:34px;cursor:pointer;
  box-shadow:0 2px 10px rgba(0,0,0,.10);overflow:hidden}
.love-avatar.has-img{font-size:0}

/* 关键：不用 display:none，否则部分浏览器里 label 点不开选择器 */
.love-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;
  clip:rect(0 0 0 0);border:0;padding:0;margin:-1px}

.love-days{font-size:66px;line-height:1.1;font-weight:700}
.love-label{font-size:13px;color:#8a8a8a;margin-top:2px}
.love-since{font-size:12px;color:#aaa;margin-top:10px}

.love-edit-panel{display:none;position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,.45);align-items:center;justify-content:center;padding:20px}
.love-edit-panel.open{display:flex}
.love-edit-content{width:100%;max-width:340px;background:#fff;border-radius:16px;padding:20px;
  box-shadow:0 10px 40px rgba(0,0,0,.25)}
.love-edit-content h3{margin:0 0 14px;font-size:16px;color:#333;text-align:center}
.love-f{display:block;margin-bottom:12px;font-size:13px;color:#666}
.love-f span{display:block;margin-bottom:5px}
.love-f input{width:100%;box-sizing:border-box;padding:9px 11px;font-size:14px;
  border:1px solid #dfe3e8;border-radius:9px;background:#fafbfc;color:#333}
.love-btns{display:flex;gap:10px;margin-top:16px}
.love-btns button{flex:1;padding:10px;font-size:14px;border:none;border-radius:10px;cursor:pointer}
.btn-cancel{background:#f0f1f3;color:#666}
.btn-save{background:#6b9bd6;color:#fff}

@media(max-width:600px){
  .cove-love-card{margin:12px 10px;padding:18px 14px}
  .love-days{font-size:54px}
  .love-avatar,.love-avatar-wrapper{width:66px;height:66px}
}
.love-avatar:active{transform:scale(.94)}

/* 心率波形：底线常亮，一段高亮沿路径循环扫过 */
.love-ecg{display:block;width:64px;height:40px;flex:0 0 64px}
.love-ecg svg{width:100%;height:100%;overflow:visible}
.love-ecg path{stroke-linecap:round;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.ecg-bg{stroke:rgba(214,107,133,.22);stroke-width:2}
.ecg-run{stroke:#e0607f;stroke-width:2.2;stroke-dasharray:22 78;animation:ecgRun 2.2s linear infinite}
@keyframes ecgRun{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.ecg-run{animation:none;stroke-dasharray:none}}

/* 名字跟着各自的头像走 */
.love-person{display:flex;flex-direction:column;align-items:center;gap:8px}
.love-person-name{font-size:14px;color:#666;max-width:88px;text-align:center;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.love-avatars{align-items:center}

/* 编辑弹窗里的取色器 */
.love-color-row{display:flex;align-items:center;gap:10px}
.love-color-row input[type=color]{width:52px;height:38px;padding:0;border:1px solid #dfe3e8;
  border-radius:9px;background:#fafbfc;cursor:pointer}
.love-color-reset{padding:8px 12px;font-size:12px;border:none;border-radius:9px;
  background:#f0f1f3;color:#666;cursor:pointer}
