/* ============================================================
   애정운 모드 스타일 (핑크 톤, 흔들→쾅 키프레임은 compat.css 재사용)
   ============================================================ */

/* 모드 네비: 애정운(활성, 핑크 톤) */
.mode-nav .mode-btn3 {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #ffe6f1;
  padding: 12px 10px; border-radius: 40px; cursor: pointer;
  background: linear-gradient(135deg, rgba(255,100,160,.24), rgba(180,80,210,.2));
  border: 1.5px solid rgba(255,100,160,.55);
  box-shadow: 0 0 14px rgba(255,100,160,.2), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .12s, box-shadow .18s, border-color .18s, background .18s;
}
.mode-nav .mode-btn3:hover {
  transform: scale(1.04); border-color: rgba(255,100,160,.85);
  background: linear-gradient(135deg, rgba(255,100,160,.4), rgba(180,80,210,.32));
  box-shadow: 0 0 24px rgba(255,100,160,.42), inset 0 1px 0 rgba(255,255,255,.12);
}
.mode-nav .mode-btn3:active { transform: scale(.97); }

/* ── 모달 ── */
.love-modal {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8,8,16,.72); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
  overflow-y: auto; padding: 24px 14px 50px;
}
.love-modal.open { opacity: 1; pointer-events: auto; }
.love-sheet {
  width: 100%; max-width: 440px; margin: auto;
  background: radial-gradient(120% 90% at 50% 0%, #3a2140 0%, #1f1428 60%, #160e1c 100%);
  border: 1px solid #5a3458; border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.6); padding: 16px 16px 26px;
  transform: translateY(16px); transition: transform .3s;
}
.love-modal.open .love-sheet { transform: translateY(0); }
.love-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 800; color: #ffe9f3; letter-spacing: .5px; margin-bottom: 4px;
}
.love-head span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.love-head svg { width: 18px; height: 18px; flex-shrink: 0; }
.love-close { background: none; border: none; color: #d6a5c2; font-size: 20px; cursor: pointer; padding: 4px 6px; }
.lo-guide { text-align: center; font-size: 13.5px; color: #f0bcd8; font-weight: 600; min-height: 18px; margin: 10px 0 6px; }

/* 3장 카드 */
.lo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 4px; }
.lo-slot { text-align: center; }
.lo-wrap { width: 100%; aspect-ratio: 2/3; perspective: 750px; position: relative; border-radius: 11px; }
.lo-card {
  width: 100%; height: 100%; position: relative;
  transition: transform .55s cubic-bezier(.2,.8,.2,1.25); transform-style: preserve-3d;
}
.lo-card.flipped { transform: rotateY(180deg); }
.lo-card.empty { opacity: .85; }
.lo-face {
  position: absolute; inset: 0; border-radius: 11px; overflow: hidden;
  backface-visibility: hidden; border: 1px solid #6a4068; box-shadow: 0 5px 14px rgba(0,0,0,.4);
}
.lo-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lo-front { transform: rotateY(180deg); }
.lo-pos { font-size: 11.5px; color: #e6a9cc; margin-top: 7px; font-weight: 700; }
.lo-wrap.charging { animation: csShake .56s ease-in-out; }
.lo-wrap.slam { animation: csSlam .43s cubic-bezier(.2,.85,.25,1); }
.lo-wrap.slam::after {
  content: ''; position: absolute; inset: -5px; border-radius: 14px; pointer-events: none;
  border: 2px solid rgba(255,150,210,.85); box-shadow: 0 0 18px rgba(255,130,200,.55);
  animation: csShock .5s ease-out forwards;
}

.lo-controls { text-align: center; margin-top: 16px; }
.lo-action {
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; color: #fff;
  border: none; border-radius: 24px; padding: 12px 30px;
  background: linear-gradient(135deg, #e6557f, #b94fd6);
  box-shadow: 0 6px 18px rgba(230,85,127,.4);
}
.lo-action:active { transform: scale(.96); }

/* 결과 */
.lo-result { display: none; margin-top: 18px; }
.lo-result.show { display: block; animation: loIn .4s ease; }
@keyframes loIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lo-read {
  display: flex; gap: 11px; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid #4a2f46;
  border-left: 3px solid #4a2f46; border-radius: 13px;
  padding: 12px; margin-bottom: 9px; text-align: left;
}
.lo-badge {
  flex-shrink: 0; font-size: 11px; font-weight: 800; color: #ffc1de;
  background: rgba(255,150,200,.12); border: 1px solid rgba(255,150,200,.4);
  border-radius: 8px; padding: 4px 8px; margin-top: 2px; min-width: 58px; text-align: center;
}
.lo-read-body { flex: 1; min-width: 0; }
.lo-read-name { font-size: 13.5px; font-weight: 700; color: #ffeef6; }
.lo-read-name em { font-style: normal; color: #d3a9c4; font-size: 11px; letter-spacing: .5px; }
.lo-rare { color: #ffd56b; }
.lo-read-line { font-size: 12.5px; line-height: 1.6; color: #eccfe0; margin: 6px 0 0; }
.lo-read-line b { color: #fff; }

.lo-summary {
  margin-top: 14px; padding: 14px; border-radius: 13px; text-align: left;
  font-size: 13px; line-height: 1.6; color: #ffeef7;
  background: linear-gradient(135deg, rgba(255,120,180,.14), rgba(180,90,210,.12));
  border: 1px solid rgba(255,140,200,.32);
}
.lo-sum-t { font-size: 12px; font-weight: 800; color: #ffc1de; letter-spacing: .06em; margin-bottom: 6px; }
.lo-note { text-align: center; font-size: 12px; color: #cfa6c0; margin-top: 14px; line-height: 1.5; }
