/* 2026-10 개편: 보랏빛 산수화 배경 + 한지 카드 (궁합) */
.app.love-on { max-width: none; background: #8F86D9; }
.lv { --ink: #33285C; --ink2: #7268A6; --soft: #A49CC8; --rose: #D8778B; --rose-d: #B9566C; --paper: #FFFAF3; --line: #E4DDF5; --gold: #D9AE55;
  position: relative; min-height: 100dvh; color: var(--ink); font-family: 'Nunito', 'Gowun Dodum', system-ui, sans-serif;
  background: #9C93DE url(/assets/love/bg-d.webp) center / cover no-repeat; display: flex; flex-direction: column; }
.lv-top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(18px, 4vw, 40px); }
.lv-logo { all: unset; cursor: pointer; font-family: 'Fredoka', 'Gowun Dodum', sans-serif; font-weight: 600; font-size: 26px; color: #fff; text-shadow: 0 1px 8px rgba(60, 40, 120, .35); }
.lv-top nav { display: flex; gap: 26px; }
.lv-top nav a { color: #fff; text-decoration: none; font-size: 15px; text-shadow: 0 1px 8px rgba(60, 40, 120, .35); }
.lv-top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lv-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 96px 16px 48px; position: relative; z-index: 2; }

/* 종이 카드 */
.lv-card { position: relative; width: 100%; max-width: 440px; background: var(--paper); border-radius: 22px; padding: 32px 32px 22px;
  box-shadow: 0 30px 60px -28px rgba(40, 30, 90, .7); }
.lv-card::before { content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .47  0 0 0 0 .38  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.lv-card > * { position: relative; }
.lv-card h1 { margin: 0; font-weight: 400; font-size: clamp(34px, 4.2vw, 44px); line-height: 1.02; letter-spacing: -.02em; text-align: center; }
.lv-card h1 em { font-style: normal; font-weight: 500; color: var(--rose); }
.lv-lead { text-align: center; color: var(--ink2); font-size: 15px; line-height: 1.4; margin: 10px 0 22px; }

/* 생일 입력: 한 줄 안에 월 · 일 · 년 */
.lv-l { display: block; font-size: 13px; font-weight: 500; color: var(--ink2); margin: 0 0 7px 2px; letter-spacing: .01em; }
.lv-l.sub { font-size: 12px; color: var(--soft); margin-top: -4px; }
.lv-date { display: flex; align-items: center; height: 52px; margin-bottom: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.lv-date:focus-within { border-color: #B8AEEA; box-shadow: 0 0 0 4px rgba(154, 144, 222, .18); }
.lv-date i { width: 1px; height: 22px; background: var(--line); flex: none; }
.lv-date select { all: unset; box-sizing: border-box; display: block; min-width: 0; flex: 1; height: 100%; line-height: 49px; padding: 0 26px 0 14px; cursor: pointer; font-family: inherit; font-size: 18px; color: var(--ink); text-align: left;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path d='M3 4.5l3 3 3-3' fill='none' stroke='%239A90C8' stroke-width='1.6' stroke-linecap='round'/></svg>") right 10px center no-repeat; }
.lv-date select:nth-of-type(1) { flex: 1.1; }
.lv-date select:nth-of-type(3) { flex: 1.3; }
.lv-date.one select { flex: 1; font-size: 16px; }
.lv-names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.lv-in { box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-family: inherit; font-size: 16px; color: var(--ink); outline: none; }
.lv-in:focus { border-color: #B8AEEA; box-shadow: 0 0 0 4px rgba(154, 144, 222, .18); }
.lv-more { display: flex; gap: 18px; margin: -2px 0 18px 2px; }
.lv-more button { all: unset; cursor: pointer; font-size: 13.5px; color: var(--ink2); border-bottom: 1px dotted #B8AEEA; }
.lv-err { color: #B9566C; font-size: 13px; margin: -6px 0 12px 2px; }

/* 종이 버튼: 단색 + 종이결 + 안쪽 점선 */
.lv-btn { all: unset; box-sizing: border-box; position: relative; overflow: hidden; cursor: pointer; width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; background-color: var(--rose); color: #FFF8F2; font-family: inherit; font-size: 18px; font-weight: 500; letter-spacing: .01em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .1  0 0 0 0 .15  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  box-shadow: 0 1px 0 var(--rose-d), 0 10px 18px -12px rgba(150, 50, 75, .8); transition: transform .1s, filter .15s; }
.lv-btn::after { content: ""; position: absolute; inset: 3px; border-radius: 9px; border: 1px dashed rgba(255, 240, 235, .5); pointer-events: none; }
.lv-btn:hover { filter: brightness(1.04); }
.lv-btn:active { transform: translateY(1px); }
.lv-btn svg { width: 16px; height: 16px; fill: #fff; }
.lv-btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.lv-btn.ghost::after { display: none; }
.lv-btn.sm { height: 46px; font-size: 15px; width: auto; padding: 0 16px; flex: none; }
.lv-note { text-align: center; font-size: 12.5px; color: var(--soft); margin-top: 12px; }

/* 종이배 보키 */
.lv-boat { position: absolute; z-index: 3; width: clamp(96px, 9vw, 140px); left: calc(50% - 420px); top: 52%; filter: drop-shadow(0 10px 8px rgba(60, 40, 120, .25)); animation: lv-bob 3.4s ease-in-out infinite; }
.lv-boat.still { position: static; width: 120px; animation: lv-bob 2s ease-in-out infinite; }
@keyframes lv-bob { 50% { transform: translateY(-7px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .lv-boat { animation: none; } }

/* 로딩 */
.lv-load .lv-stage { flex-direction: column; gap: 14px; color: #fff; text-shadow: 0 1px 8px rgba(60, 40, 120, .4); font-size: 19px; }
.lv-bar { width: 180px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.lv-bar i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 4px; animation: lv-bar 2s ease-in-out forwards; }
@keyframes lv-bar { from { width: 5%; } to { width: 100%; } }

/* 결과 */
.lv-card.res { text-align: center; max-width: 460px; }
.lv-shared { font-size: 13px; color: var(--ink2); background: #F3EFFA; border-radius: 10px; padding: 7px 10px; margin-bottom: 12px; }
.lv-eyebrow { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink2); font-weight: 500; }
.lv-pair { font-size: 32px; letter-spacing: -.01em; margin-top: 6px; }
.lv-pair em { color: var(--rose); font-style: normal; margin: 0 10px; }
.lv-heart { display: block; width: 104px; margin: 6px auto -16px; position: relative; z-index: 2; }
.lv-seal { width: 124px; height: 124px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 50% 36%, #D46A80, #9D3550); border: 2.5px solid var(--gold);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .12); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #FFF3E0; }
.lv-seal small { font-size: 9.5px; letter-spacing: .3em; }
.lv-seal b { font-size: 52px; font-weight: 500; line-height: 1; }
.lv-seal sup { font-size: 19px; }
.lv-verdict { margin: 14px 0 0; font-size: 27px !important; font-style: normal; font-weight: 500 !important; line-height: 1.1 !important; }
.lv-body { font-size: 15.5px; line-height: 1.5; margin: 10px 0 0; color: var(--ink); }
.lv-role { font-size: 14.5px; line-height: 1.45; margin: 10px auto 0; color: var(--ink2); background: #F6F2FC; border-radius: 12px; padding: 10px 12px; }
.lv-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.lv-acts .lv-btn { font-size: 16px; }
.lv-lock { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1px dashed #C9BEEE; color: var(--ink2); font-size: 14.5px; }
.lv-lock svg { width: 13px; height: 15px; fill: currentColor; }
.lv-notify { margin-top: 12px; text-align: left; border: 1px dashed #C9BEEE; border-radius: 12px; padding: 12px; }
.lv-notify p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.lv-notify .row { display: flex; gap: 8px; }
.lv-notify .hp { position: absolute; left: -9999px; }
.lv-ok { margin-top: 12px; font-size: 14px; color: #2E7A63; background: #E6F4EE; border-radius: 12px; padding: 10px; }
.lv-link { all: unset; cursor: pointer; display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--ink2); border-bottom: 1px dotted #B8AEEA; }

/* 아래쪽: 블로그 · 푸터 */
.lv-blog { background: #F6F2FC; padding: 44px 20px; font-family: 'Nunito', 'Gowun Dodum', system-ui, sans-serif; color: #33285C; }
.lv-wrap { max-width: 880px; margin: 0 auto; }
.lv-blog h2 { font-weight: 400; font-size: 28px; margin: 0 0 16px; }
.lv-blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lv-blog-list a { display: block; background: #fff; border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; }
.lv-blog-list b { display: block; font-weight: 500; font-size: 17px; line-height: 1.25; }
.lv-blog-list span { display: block; font-size: 13.5px; color: #7268A6; margin-top: 6px; line-height: 1.4; }
.lv-foot { background: #2E2655; color: #CFC8EE; font-size: 12.5px; text-align: center; padding: 22px 16px 28px; font-family: 'Nunito', 'Gowun Dodum', system-ui, sans-serif; }
.lv-foot nav { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.lv-foot a { color: #fff; }

/* 모바일 */
@media (max-width: 720px) {
  .lv { background-image: url(/assets/love/bg-m.webp); background-position: center top; }
  .lv-top nav { display: none; }
  .lv-stage { align-items: flex-end; padding: 230px 12px 14px; }
  .lv-card { padding: 26px 20px 18px; }
  .lv-boat { left: auto; right: 20px; top: 128px; width: 100px; }
  .lv-res .lv-stage { padding-top: 74px; align-items: flex-start; }
  .lv-load .lv-stage { align-items: center; padding-top: 80px; }
  .lv-date select { font-size: 17px; padding: 0 22px 0 12px; }
}

/* 결과 설명 */
.lv-today { margin: 12px auto 0; font-size: 14px; color: var(--ink2); }
.lv-today b { font-weight: 500; color: var(--rose); }
.lv-read { text-align: left; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.lv-read p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; }
.lv-read h3 { margin: 14px 0 6px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink2); }
.lv-p { display: flex; gap: 10px; align-items: flex-start; }
.lv-el { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; }
.lv-el.wood { background: #3E9C82; } .lv-el.fire { background: #E0705F; } .lv-el.earth { background: #D9AE55; } .lv-el.metal { background: #A79BD8; } .lv-el.water { background: #5B83C2; }
.lv-mo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.lv-mo div { background: #F6F2FC; border-radius: 12px; padding: 10px 12px; }
.lv-mo b { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--rose); margin-bottom: 3px; }
.lv-mo span { font-size: 14px; line-height: 1.4; }
.lv-sharpen { all: unset; cursor: pointer; display: block; margin-top: 12px; font-size: 13.5px; color: var(--ink2); border-bottom: 1px dotted #B8AEEA; width: fit-content; }
.lv-times { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; margin-top: 12px; }
.lv-times label { font-size: 12px; color: var(--ink2); }
.lv-times .lv-date { margin: 4px 0 0; height: 46px; }
.lv-times .lv-date select { line-height: 43px; font-size: 15px; }
.lv-full { margin-top: 14px; text-align: left; border: 1px dashed #C9BEEE; border-radius: 14px; padding: 14px; }
.lv-full-h { display: flex; align-items: center; gap: 8px; }
.lv-full-h svg { width: 13px; height: 15px; fill: var(--ink2); }
.lv-full-h b { font-weight: 500; font-size: 17px; }
.lv-soon { margin-left: auto; white-space: nowrap; font-size: 11px; color: var(--rose); border: 1px solid #F0C3CC; border-radius: 99px; padding: 2px 8px; }
.lv-full p { margin: 8px 0 6px; font-size: 14px; color: var(--ink2); }
.lv-full ul { margin: 0 0 10px; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.lv-full .lv-notify { margin: 0; border: 0; padding: 0; }
@media (max-width: 720px) { .lv-times { grid-template-columns: 1fr 1fr; } .lv-times .lv-btn { grid-column: 1 / -1; width: 100%; } .lv-mo { grid-template-columns: 1fr; } }

/* 귀여운 산세리프: 제목·점수·이름은 Fredoka, 본문은 Nunito */
.lv-card h1, .lv-pair, .lv-seal b, .lv-verdict, .lv-btn, .lv-blog h2, .lv-full-h b, .lv-logo { font-family: 'Fredoka', 'Gowun Dodum', sans-serif; }
.lv-card h1 { font-weight: 600; letter-spacing: -.01em; }
.lv-card h1 em { font-weight: 600; }
.lv-pair { font-weight: 600; }
.lv-verdict { font-weight: 600 !important; }
.lv-seal b { font-weight: 600; }
.lv-btn { font-weight: 600; }

/* 2026-10-28 가독성: 여백·간격 정리 (8px 단위) */
.lv-card { padding: 36px 32px 28px; }
.lv-lead { font-size: 16px; line-height: 1.5; margin: 12px auto 28px; max-width: 320px; }
.lv-l { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.lv-date { margin-bottom: 20px; }
.lv-more { gap: 20px; margin: -4px 0 24px 2px; }
.lv-note { margin-top: 14px; }

.lv-card.res { max-width: 480px; padding: 32px 32px 28px; }
.lv-pair { margin-top: 8px; font-size: 34px; line-height: 1.15; }
.lv-heart { margin: 12px auto -16px; }
.lv-verdict { margin-top: 20px !important; font-size: 28px !important; line-height: 1.2 !important; }
.lv-today { display: inline-block; margin: 14px auto 0; padding: 8px 14px; border-radius: 99px; background: #FBEFF2; font-size: 14px; line-height: 1.45; color: var(--ink); }
.lv-today b { font-weight: 700; }
.lv-read { margin-top: 28px; padding-top: 4px; border-top: 0; }
.lv-read h3 { margin: 24px 0 10px; font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--soft); }
.lv-read p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.lv-people { display: grid; gap: 10px; }
.lv-p { gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lv-p b { font-weight: 700; }
.lv-el { width: 10px; height: 10px; margin-top: 8px; }
.lv-tog { padding: 0 2px; }
.lv-mo { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.lv-mo div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; }
.lv-mo b { font-size: 11.5px; letter-spacing: .16em; font-weight: 700; margin: 0; }
.lv-mo span { font-size: 15.5px; line-height: 1.5; }
.lv-sharpen { margin: 20px auto 0; font-size: 14px; }
.lv-times { margin-top: 20px; gap: 10px; }
.lv-acts { gap: 10px; margin-top: 32px; }
.lv-full { margin-top: 16px; padding: 20px; border-radius: 16px; }
.lv-full-h b { font-size: 18px; }
.lv-full p { margin: 10px 0 8px; font-size: 14.5px; line-height: 1.5; }
.lv-full ul { margin: 0 0 16px; padding-left: 20px; font-size: 14.5px; line-height: 1.75; }
.lv-link { margin-top: 20px; font-size: 14px; }
@media (max-width: 720px) {
  .lv-card { padding: 30px 22px 22px; }
  .lv-card.res { padding: 28px 20px 24px; }
  .lv-res .lv-stage { padding: 72px 12px 24px; }
  .lv-pair { font-size: 30px; }
  .lv-verdict { font-size: 25px !important; }
  .lv-acts { grid-template-columns: 1fr; }
  .lv-full { padding: 18px 16px; }
}
