/* ===== 기본 ===== */
:root {
    --main: #3b82f6; --main-5: #f5f9ff; --main-10: #ebf2fe; --main-18: #dbe8fd; --main-30: #c4d9fc; --main-dark: #2a5bab;
    --sub: #f97316; --sub-10: #fef1e8; --sub-dark: #ae5110;
    --ink: #191f28; --ink2: #4e5968; --ink3: #8b95a1; --line: #e5e8eb; --bg: #f2f4f6; --card: #fff;
    --ok: #12b886; --ok-bg: #e6f8f2;
    --r: 20px;
    --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Noto Sans KR", sans-serif;
    background: #e9ecef; color: var(--ink); font-size: 16px; line-height: 1.5; word-break: keep-all;
    -webkit-text-size-adjust: 100%; letter-spacing: -0.2px;
}
button { font-family: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; box-shadow: 0 0 40px rgba(0,0,0,.06); }

/* ===== 상단 ===== */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; background: rgba(242,244,246,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.brand-mark { width: 28px; height: 28px; border-radius: 9px; background: var(--main); display: flex; align-items: center; justify-content: center; }
.brand-mark svg { width: 17px; height: 17px; }
.top-right { display: flex; align-items: center; gap: 8px; }
.badge-test { font-size: 11px; background: #fff4d6; color: #8a5a00; padding: 3px 8px; border-radius: 999px; font-weight: 700; }
.top-link { font-size: 14px; font-weight: 700; color: var(--main); background: var(--main-10); border: 0; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.back { display: flex; align-items: center; gap: 2px; background: none; border: 0; font-size: 16px; font-weight: 700; color: var(--ink); padding: 6px 4px 6px 0; cursor: pointer; }
.back svg { width: 22px; height: 22px; }

/* ===== 공통 ===== */
.view { padding: 8px 16px 120px; animation: fadeUp .28s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card { background: var(--card); border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow); margin-bottom: 12px; }
.sec-title { font-size: 19px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.4px; }
.sec-sub { font-size: 14px; color: var(--ink3); margin: 0 0 16px; }
.muted { color: var(--ink3); }
.small { font-size: 13px; }
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--main-10); color: var(--main); }
.chip.gray { background: #f2f4f6; color: var(--ink2); }
.chip.orange { background: var(--sub-10); color: var(--sub-dark); }
.error { color: #e5484d; font-size: 14px; font-weight: 600; margin: 12px 0 0; }

.cta-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, rgba(242,244,246,0)); display: flex; gap: 8px; pointer-events: none; }
.cta-bar > * { pointer-events: auto; }
.btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 16px; height: 56px; font-size: 17px; font-weight: 800; cursor: pointer; transition: transform .08s, filter .15s; }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--main); color: #fff; }
.btn-orange { background: var(--sub); color: #fff; }
.btn-light { background: var(--main-10); color: var(--main); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn:disabled { background: #d1d6db; color: #fff; cursor: default; transform: none; }
.btn.narrow { flex: 0 0 38%; }
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* ===== 첫 화면 ===== */
.hero { padding: 18px 4px 6px; }
.hero-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--main); background: #fff; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 18px; }
.hero-pill svg { width: 15px; height: 15px; }
.hero-title { font-size: 29px; line-height: 1.32; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.8px; white-space: pre-line; }
.hero-title em { font-style: normal; color: var(--main); }
.hero-text { color: var(--ink2); margin: 0 0 24px; font-size: 16px; }

.preview { position: relative; background: linear-gradient(160deg, var(--main) 0%, var(--main-dark) 100%); border-radius: 26px; padding: 22px 18px 18px; color: #fff; margin-bottom: 14px; overflow: hidden; }
.preview::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.preview-tag { font-size: 12px; font-weight: 700; opacity: .85; margin-bottom: 4px; }
.preview-head { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.preview-list { background: #fff; color: var(--ink); border-radius: 16px; padding: 6px 14px; position: relative; z-index: 1; }
.preview-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.preview-row + .preview-row { border-top: 1px solid #f2f4f6; }
.preview-row .ic { flex: 0 0 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--main-10); }
.preview-row .ic svg { width: 20px; height: 20px; }
.preview-row .t { flex: 1; font-size: 14px; color: var(--ink2); }
.preview-row b { font-size: 16px; }

/* 홈 목업 애니메이션 (찰칵 → AI → 결과), 파일 없이 CSS 루프 */
.demo-phone { margin-bottom: 14px; display: flex; justify-content: center; }
.demo-screen { position: relative; width: 100%; max-width: 340px; height: 230px; border-radius: 26px; background: linear-gradient(160deg, var(--main) 0%, var(--main-dark) 100%); overflow: hidden; box-shadow: var(--shadow); }
.dscene { position: absolute; inset: 0; padding: 20px 18px; opacity: 0; display: flex; flex-direction: column; }
.dscene-cam { animation: dCam 8s infinite; }
.dscene-ai { animation: dAi 8s infinite; align-items: center; justify-content: center; gap: 14px; }
.dscene-res { animation: dRes 8s infinite; }
@keyframes dCam { 0%{opacity:1} 26%{opacity:1} 32%{opacity:0} 96%{opacity:0} 100%{opacity:1} }
@keyframes dAi  { 0%,30%{opacity:0} 36%{opacity:1} 50%{opacity:1} 56%{opacity:0} 100%{opacity:0} }
@keyframes dRes { 0%,54%{opacity:0} 60%{opacity:1} 95%{opacity:1} 99%{opacity:0} 100%{opacity:0} }
/* 1) 카메라 — 증권 문서 + 프레임 + 플래시 */
.cam-doc { background: #fff; border-radius: 10px; width: 68%; margin: 10px auto 0; padding: 14px 14px 18px; }
.cam-doc span { display: block; height: 7px; border-radius: 4px; background: #d7dee6; margin-bottom: 8px; }
.cam-doc span.cam-doc-h { height: 11px; width: 60%; background: var(--main); opacity: .55; margin-bottom: 12px; }
.cam-doc span.short { width: 45%; }
.cam-frame { position: absolute; inset: 24px; border: 3px solid rgba(255,255,255,.9); border-radius: 16px; }
.cam-frame::before, .cam-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid #fff; }
.cam-frame::before { left: -3px; top: -3px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.cam-frame::after { right: -3px; bottom: -3px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: dFlash 8s infinite; }
@keyframes dFlash { 0%,24%{opacity:0} 26%{opacity:.85} 30%{opacity:0} 100%{opacity:0} }
.cam-label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: #fff; color: var(--main-dark); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; opacity: 0; animation: dLabel 8s infinite; }
@keyframes dLabel { 0%,22%{opacity:0;transform:translate(-50%,6px)} 27%{opacity:1;transform:translate(-50%,0)} 31%{opacity:1} 34%{opacity:0} 100%{opacity:0} }
/* 2) AI 분석 */
.ai-spark { width: 54px; height: 54px; border-radius: 18px; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; }
.ai-spark svg { width: 30px; height: 30px; animation: dSpin 2.4s linear infinite; }
@keyframes dSpin { to { transform: rotate(360deg); } }
.ai-text { color: #fff; font-weight: 700; font-size: 15px; }
.ai-dots { display: flex; gap: 6px; }
.ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.9); animation: dBounce 1.1s infinite; }
.ai-dots i:nth-child(2) { animation-delay: .18s; }
.ai-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dBounce { 0%,100%{transform:translateY(0);opacity:.5} 50%{transform:translateY(-5px);opacity:1} }
/* 3) 결과 */
.dres-head { color: #fff; font-weight: 800; font-size: 15px; margin: 2px 2px 10px; }
.dres-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 9px 12px; margin-bottom: 7px; opacity: 0; }
.dscene-res .dres-row.r1 { animation: dRow 8s infinite; }
.dscene-res .dres-row.r2 { animation: dRow 8s infinite .18s; }
.dscene-res .dres-row.r3 { animation: dRow 8s infinite .36s; }
@keyframes dRow { 0%,57%{opacity:0;transform:translateY(8px)} 63%,95%{opacity:1;transform:none} 99%{opacity:0} 100%{opacity:0} }
.dres-ic { flex: 0 0 30px; height: 30px; border-radius: 9px; background: var(--main-10); color: var(--main); display: flex; align-items: center; justify-content: center; }
.dres-ic svg { width: 17px; height: 17px; }
.dres-t { flex: 1; font-size: 13px; color: var(--ink2); }
.dres-row b { font-size: 15px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .dscene, .cam-flash, .cam-label, .ai-dots i, .ai-spark svg, .dres-row { animation: none !important; } .dscene-res { opacity: 1; } .dscene-res .dres-row { opacity: 1; } .dscene-cam, .dscene-ai { opacity: 0; } }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.trust div { background: #fff; border-radius: 16px; padding: 14px 6px; text-align: center; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--ink2); }
.trust svg { width: 26px; height: 26px; display: block; margin: 0 auto 6px; }

.feature { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.feature + .feature { border-top: 1px solid #f2f4f6; }
.feature .ic { flex: 0 0 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--main-10); }
.feature .ic svg { width: 24px; height: 24px; }
.feature b { display: block; font-size: 16px; margin-bottom: 2px; }
.feature p { margin: 0; font-size: 14px; color: var(--ink2); }

.steps { counter-reset: s; }
.steps li { list-style: none; position: relative; padding: 0 0 18px 44px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--main-18); }
.steps ol { margin: 0; padding: 0; }
.steps b { display: block; font-size: 16px; }
.steps span { font-size: 14px; color: var(--ink2); }

.faq-item { border-top: 1px solid #f2f4f6; }
.faq-item:first-of-type { border-top: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; padding: 16px 0; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.faq-q svg { width: 18px; height: 18px; flex: 0 0 18px; transition: transform .2s; color: var(--ink3); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { font-size: 14px; color: var(--ink2); padding: 0 0 16px; display: none; }
.faq-item.open .faq-a { display: block; }

.company { text-align: center; padding: 20px 10px 10px; font-size: 12px; color: var(--ink3); }
.company div + div { margin-top: 2px; }

/* ===== 단계 표시 ===== */
.progress { display: flex; gap: 6px; margin: 6px 0 22px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: #dfe3e8; }
.progress span.on { background: var(--main); }
.page-title { font-size: 24px; font-weight: 800; line-height: 1.35; margin: 0 0 8px; letter-spacing: -0.6px; }
.page-sub { font-size: 15px; color: var(--ink2); margin: 0 0 24px; }

/* ===== 입력 ===== */
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 14px; font-weight: 700; color: var(--ink2); margin-bottom: 8px; }
.field input { width: 100%; height: 56px; padding: 0 16px; font-size: 18px; font-weight: 600; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-family: inherit; color: var(--ink); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--main); }
.field input::placeholder { color: #c4c9d0; font-weight: 500; }

.agree { background: #fff; border-radius: 16px; padding: 4px 16px; box-shadow: var(--shadow); }
.agree-all { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid #f2f4f6; font-size: 16px; font-weight: 800; cursor: pointer; }
.agree-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 14px; color: var(--ink2); }
.agree-row label { flex: 1; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.agree-text { background: #f9fafb; border-radius: 10px; padding: 12px; margin: 0 0 10px; font-size: 13px; color: var(--ink2); line-height: 1.6; }
.check { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #e5e8eb; margin: 0; cursor: pointer; position: relative; transition: background .15s; }
.check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.check:checked { background: var(--main); }
.more { background: none; border: 0; color: var(--ink3); font-size: 13px; text-decoration: underline; padding: 4px; cursor: pointer; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink3); margin: 16px 4px 0; }
.secure-note svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }

/* ===== 사진 ===== */
.who { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.who button { border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.who button.on { background: var(--main); color: #fff; box-shadow: none; }
.guide { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.guide svg { flex: 0 0 76px; width: 76px; height: 96px; }
.guide ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink2); }
.guide li { display: flex; gap: 6px; align-items: flex-start; }
.guide li + li { margin-top: 6px; }
.guide li svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(25,31,40,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.ph .n { position: absolute; left: 6px; bottom: 6px; background: rgba(25,31,40,.65); color: #fff; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 1px 7px; }
.add { aspect-ratio: 3/4; border-radius: 14px; border: 2px dashed var(--main-30); background: var(--main-5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--main); font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; }
.add svg { width: 28px; height: 28px; }
.photo-count { font-size: 13px; color: var(--ink3); margin: 10px 2px 0; }

/* ===== 분석 중 ===== */
.loading { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.scan-doc { position: relative; width: 120px; height: 150px; margin-bottom: 30px; }
.scan-doc svg { width: 120px; height: 150px; }
.scan-line { position: absolute; left: -10px; right: -10px; height: 3px; border-radius: 3px; background: var(--main); box-shadow: 0 0 16px var(--main); animation: scan 1.8s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 8px; } 50% { top: 138px; } }
.load-title { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.load-steps { list-style: none; padding: 0; margin: 24px 0 0; text-align: left; width: 100%; max-width: 260px; }
.load-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--ink3); font-weight: 600; transition: color .3s; }
.load-steps li i { width: 22px; height: 22px; border-radius: 50%; background: #e5e8eb; display: flex; align-items: center; justify-content: center; flex: 0 0 22px; transition: background .3s; }
.load-steps li i svg { width: 13px; height: 13px; opacity: 0; }
.load-steps li.done { color: var(--ink); }
.load-steps li.done i { background: var(--ok); }
.load-steps li.done i svg { opacity: 1; }
.load-steps li.now { color: var(--ink); }
.load-steps li.now i { background: var(--main-30); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* ===== 결과 ===== */
.pol-head { background: linear-gradient(160deg, var(--main) 0%, var(--main-dark) 100%); color: #fff; border-radius: 24px; padding: 22px 20px 18px; margin-bottom: 12px; position: relative; overflow: hidden; }
.pol-head::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.07); }
.pol-head .chip { background: rgba(255,255,255,.2); color: #fff; }
.pol-insurer { font-size: 14px; opacity: .85; margin-top: 10px; }
.pol-name { font-size: 21px; font-weight: 800; line-height: 1.35; margin: 2px 0 16px; letter-spacing: -0.5px; }
.pol-start { font-size: 13px; opacity: .85; margin: -12px 0 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: relative; z-index: 1; }
.fact { background: rgba(255,255,255,.14); border-radius: 12px; padding: 9px 6px; text-align: center; }
.fact small { display: block; font-size: 11px; opacity: .8; }
.fact b { font-size: 14px; display: block; }

.flow { display: flex; align-items: center; gap: 8px; }
.flow-box { flex: 1; background: #f9fafb; border-radius: 14px; padding: 12px 14px; }
.flow-box small { display: block; font-size: 12px; color: var(--ink3); font-weight: 600; }
.flow-box b { font-size: 17px; font-weight: 800; }
.flow-box.on { background: var(--main-10); }
.flow-box.on b { color: var(--main); }
.flow-arrow { color: #b0b8c1; display: flex; }
.flow-arrow svg { width: 20px; height: 20px; }

.summary { font-size: 15px; color: var(--ink2); line-height: 1.6; }
.summary b { color: var(--ink); }

.scen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scen { background: #f9fafb; border-radius: 16px; padding: 14px; }
.scen .ic { width: 36px; height: 36px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.scen .ic svg { width: 22px; height: 22px; }
.scen .lbl { font-size: 13px; color: var(--ink2); font-weight: 600; }
.scen .amt { font-size: 19px; font-weight: 800; letter-spacing: -0.5px; margin-top: 2px; color: var(--ink); }
.scen .amt.txt { font-size: 15px; }
.scen .note { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.caveat { font-size: 12px; color: var(--ink3); margin: 12px 2px 0; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.ck { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 15px; font-weight: 600; }
.ck i { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ck i svg { width: 14px; height: 14px; }
.ck.yes i { background: var(--ok-bg); color: var(--ok); }
.ck.no { color: var(--ink3); }
.ck.no i { background: #f2f4f6; color: #b0b8c1; }
.ck-note { font-size: 13px; color: var(--ink3); margin: 10px 0 0; padding: 10px 12px; background: #f9fafb; border-radius: 10px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -4px 12px; padding: 0 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; border: 0; background: #f2f4f6; color: var(--ink2); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }
.cov { padding: 14px 0; }
.cov + .cov { border-top: 1px solid #f2f4f6; }
.cov-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cov-name { font-size: 15px; font-weight: 700; }
.cov-amt { font-size: 16px; font-weight: 800; color: var(--main); white-space: nowrap; }
.cov-easy { font-size: 14px; color: var(--ink2); margin-top: 3px; }
.cov-tags { margin-top: 6px; display: flex; gap: 4px; }
.cov-note { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--sub-dark); }
.cov-note svg { width: 14px; height: 14px; flex: 0 0 14px; }

.points { margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--ink2); }
.points li b { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--sub-10); color: var(--sub-dark); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.disclaimer { font-size: 12px; color: var(--ink3); margin: 6px 4px 14px; line-height: 1.6; }

.consult-card { background: linear-gradient(135deg, #fff 0%, var(--sub-10) 100%); border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow); margin-bottom: 12px; display: flex; gap: 14px; align-items: center; }
.consult-card .ic { flex: 0 0 52px; height: 52px; border-radius: 18px; background: var(--sub); display: flex; align-items: center; justify-content: center; }
.consult-card .ic svg { width: 28px; height: 28px; }
.consult-card b { display: block; font-size: 16px; }
.consult-card p { margin: 2px 0 0; font-size: 14px; color: var(--ink2); }
.consult-ok { background: var(--ok-bg); color: #0b7a5a; border-radius: 16px; padding: 14px 16px; font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.consult-ok svg { width: 18px; height: 18px; flex: 0 0 18px; }
.consult-card.tappable { cursor: pointer; transition: transform .1s, box-shadow .1s; }
.consult-card.tappable:active { transform: scale(.99); }
.consult-card .consult-go { margin-left: auto; color: var(--sub); display: flex; }
.consult-card .consult-go svg { width: 20px; height: 20px; }

/* 보장 점검 진입 카드 */
.checkup-cta { background: #fff; border-radius: var(--r); padding: 18px 18px; box-shadow: var(--shadow); margin-bottom: 12px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: transform .1s; }
.checkup-cta:active { transform: scale(.99); }
.checkup-cta .ic { flex: 0 0 48px; height: 48px; border-radius: 16px; background: var(--main-10); color: var(--main); display: flex; align-items: center; justify-content: center; }
.checkup-cta .ic svg { width: 26px; height: 26px; }
.checkup-cta b { display: block; font-size: 16px; }
.checkup-cta p { margin: 2px 0 0; font-size: 13px; color: var(--ink2); }
.checkup-cta .consult-go { margin-left: auto; color: var(--main); display: flex; }
.checkup-cta .consult-go svg { width: 20px; height: 20px; }

/* 보장 점검 목록(중복·갱신) */
.kk-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.kk-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f9fafb; border-radius: 12px; }
.kk-item > b { font-size: 15px; }
.kk-badge { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--sub-dark); background: var(--sub-10); padding: 3px 10px; border-radius: 999px; }
.kk-mid { min-width: 0; }
.kk-mid b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-mid span { font-size: 12px; color: var(--ink3); }
.kk-item .chip { margin-left: auto; flex: 0 0 auto; }
.ck-note.ok { background: var(--ok-bg); color: #0b7a5a; }

/* 쉬운 보험 용어 사전 */
.term-search { width: 100%; height: 46px; border: 0; border-radius: 12px; background: #f2f4f6; padding: 0 14px; font-size: 15px; font-family: inherit; margin-bottom: 8px; }
.term-search:focus { outline: 2px solid var(--main); }
.term-list { display: flex; flex-direction: column; }
.term { display: flex; gap: 12px; padding: 14px 2px; }
.term + .term { border-top: 1px solid #f2f4f6; }
.term-ic { flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--main-10); color: var(--main); display: flex; align-items: center; justify-content: center; }
.term-ic svg { width: 20px; height: 20px; }
.term-txt { min-width: 0; }
.term-txt b { display: block; font-size: 15px; }
.term-txt p { margin: 3px 0 0; font-size: 13px; color: var(--ink2); line-height: 1.5; }

/* ===== 내 보험함 ===== */
.box-hello { padding: 10px 4px 16px; }
.box-hello h1 { font-size: 24px; margin: 0; font-weight: 800; letter-spacing: -0.6px; }
.box-hello p { margin: 4px 0 0; color: var(--ink2); font-size: 15px; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.total small { display: block; font-size: 13px; color: var(--ink3); font-weight: 600; }
.total b { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.total em { font-style: normal; font-size: 12px; color: var(--ink3); display: block; }
.pol-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; }
.pol-item + .pol-item { border-top: 1px solid #f2f4f6; }
.pol-logo { flex: 0 0 44px; height: 44px; border-radius: 14px; background: var(--main-10); color: var(--main); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.pol-mid { flex: 1; min-width: 0; }
.pol-mid b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pol-mid .prod { display: block; font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pol-mid .meta { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; }
.pol-right { text-align: right; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pol-right svg { width: 18px; height: 18px; color: #b0b8c1; vertical-align: -4px; }
.pol-total { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; margin-top: 4px; border-top: 2px solid var(--line); }
.pol-total span { font-size: 14px; font-weight: 700; color: var(--ink2); }
.pol-total b { font-size: 18px; font-weight: 800; color: var(--main); }
.pol-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 2px dashed var(--main-30); background: var(--main-5); color: var(--main); border-radius: 16px; height: 54px; font-size: 15px; font-weight: 800; margin-top: 10px; cursor: pointer; }
.pol-add svg { width: 20px; height: 20px; }
.empty { text-align: center; padding: 28px 10px; color: var(--ink3); font-size: 15px; }
.text-link { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--ink3); font-size: 13px; text-decoration: underline; cursor: pointer; }
.manage { display: flex; gap: 8px; margin-top: 4px; }
.manage button { flex: 1; border: 0; background: #f2f4f6; color: var(--ink2); font-size: 14px; font-weight: 700; padding: 11px; border-radius: 12px; cursor: pointer; }

/* ===== 아래에서 올라오는 창 ===== */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 24px 24px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); animation: up .25s ease; max-height: 90vh; overflow-y: auto; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
.sheet h3 { font-size: 21px; margin: 0 0 6px; font-weight: 800; letter-spacing: -0.5px; }
.sheet p.sub { font-size: 14px; color: var(--ink2); margin: 0 0 20px; }
.sheet label.lbl { display: block; font-size: 14px; font-weight: 700; color: var(--ink2); margin: 0 0 8px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.opts button { border: 0; height: 48px; border-radius: 12px; background: #f2f4f6; color: var(--ink2); font-size: 15px; font-weight: 700; cursor: pointer; }
.opts button.on { background: var(--main-10); color: var(--main); box-shadow: inset 0 0 0 2px var(--main); }
.sheet textarea { width: 100%; min-height: 84px; border: 0; border-radius: 12px; background: #f2f4f6; padding: 12px 14px; font-size: 15px; font-family: inherit; resize: none; margin-bottom: 18px; }
.sheet textarea:focus { outline: 2px solid var(--main); }
.sheet .btns { display: flex; gap: 8px; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 4px auto 16px; }
.done-mark svg { width: 34px; height: 34px; }
.center { text-align: center; }
.pre { white-space: pre-line; }

.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: rgba(25,31,40,.92); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; z-index: 120; animation: fadeIn .2s; max-width: 88%; text-align: center; }

/* ===== AI 채팅 ===== */
.ask-card { background: linear-gradient(150deg, #1f2937 0%, #111827 100%); color: #fff; border-radius: var(--r); padding: 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.ask-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.ask-ic { flex: 0 0 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--main), #8b5cf6); display: flex; align-items: center; justify-content: center; }
.ask-ic svg { width: 24px; height: 24px; }
.ask-top b { font-size: 17px; display: block; }
.ask-top p { margin: 2px 0 0; font-size: 13px; color: #9ca3af; }
.ask-chips { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.ask-chips button { text-align: left; background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ask-go { width: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; background: #fff; color: var(--ink); border: 0; border-radius: 12px; height: 46px; font-size: 15px; font-weight: 800; cursor: pointer; }
.ask-go svg { width: 18px; height: 18px; }

.view.chat { padding-bottom: 190px; }
.chat-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--ink3); background: #fff; border-radius: 12px; padding: 10px 12px; margin: 4px 0 16px; }
.chat-note svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px; }
.msgs { display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 8px; align-items: flex-start; max-width: 100%; animation: fadeUp .2s ease; }
.msg-ic { flex: 0 0 32px; height: 32px; border-radius: 11px; background: var(--main); display: flex; align-items: center; justify-content: center; }
.msg-ic svg { width: 18px; height: 18px; }
.msg-body { max-width: 82%; }
.msg-text { background: #fff; border-radius: 4px 18px 18px 18px; padding: 12px 14px; font-size: 15px; line-height: 1.6; box-shadow: var(--shadow); white-space: pre-line; }
.msg.user { justify-content: flex-end; }
.msg.user .msg-text { background: var(--main); color: #fff; border-radius: 18px 4px 18px 18px; box-shadow: none; }
.msg.err .msg-text { background: #fff1f1; color: #b42318; }
.msg-cta { margin-top: 8px; display: flex; align-items: center; gap: 6px; border: 0; background: var(--sub); color: #fff; font-weight: 800; font-size: 14px; padding: 11px 14px; border-radius: 12px; cursor: pointer; }
.msg-cta svg { width: 18px; height: 18px; }
.msg-ic.agent { background: var(--sub); }
.live-sys { align-self: center; text-align: center; margin: 6px auto; font-size: 13px; color: var(--ink3); background: #eef1f4; border-radius: 999px; padding: 6px 14px; max-width: 90%; }
.live-wait { color: var(--sub-dark); background: var(--sub-10); }
.typing { display: flex; gap: 4px; padding: 16px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b0b8c1; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.cta-bar.chat-mode { background: var(--bg); border-top: 1px solid var(--line); padding-top: 10px; }
.chat-bar { width: 100%; }
.chat-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 10px; padding: 0 16px; scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: 0 0 auto; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink2); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.chat-input { display: flex; gap: 8px; align-items: flex-end; background: #fff; border-radius: 18px; padding: 6px 6px 6px 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.chat-input:focus-within { box-shadow: inset 0 0 0 2px var(--main); }
.chat-input textarea { flex: 1; border: 0; resize: none; font-size: 16px; font-family: inherit; line-height: 1.5; padding: 8px 0; max-height: 110px; background: transparent; color: var(--ink); }
.chat-input textarea:focus { outline: none; }
.send { flex: 0 0 40px; height: 40px; border-radius: 14px; border: 0; background: var(--main); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.send:disabled { background: #d1d6db; }
.send svg { width: 20px; height: 20px; }

/* ===== 앱 열릴 때 로딩 화면 (보험찰칵) ===== */
.splash { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 35%, var(--main) 0%, var(--main-dark) 70%, #0b1b3a 100%); color: #fff;
    transition: opacity .45s ease, transform .45s ease; }
.splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.sp-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 60%); animation: spGlow 2.4s ease-in-out infinite; }
@keyframes spGlow { 50% { transform: scale(1.12); opacity: .7; } }
.sp-center { position: relative; display: flex; flex-direction: column; align-items: center; }
.sp-mark { width: 112px; height: 112px; border-radius: 32px; background: #fff; color: var(--main); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.25), inset 0 -6px 0 rgba(0,0,0,.06); animation: spPop .55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes spPop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sp-aperture { width: 70px; height: 70px; }
.sp-blades { transform-origin: 32px 32px; animation: spShutter .9s cubic-bezier(.7,0,.3,1) .45s both; }
@keyframes spShutter { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(60deg) scale(.55); } 100% { transform: rotate(120deg) scale(1); } }
.sp-click { position: absolute; top: -26px; right: -46px; font-size: 18px; font-weight: 900; letter-spacing: -0.5px; background: #fff; color: var(--sub);
    padding: 5px 11px; border-radius: 14px 14px 14px 4px; box-shadow: 0 8px 20px rgba(0,0,0,.2); opacity: 0;
    animation: spClick .5s cubic-bezier(.2,1.8,.4,1) .85s both; }
@keyframes spClick { from { opacity: 0; transform: scale(.4) translateY(10px); } to { opacity: 1; transform: none; } }
.sp-name { margin-top: 26px; font-size: 34px; font-weight: 900; letter-spacing: -1.2px; animation: spUp .5s ease 1.05s both; }
.sp-tag { margin-top: 6px; font-size: 15px; font-weight: 600; opacity: .85; animation: spUp .5s ease 1.2s both; }
@keyframes spUp { from { opacity: 0; transform: translateY(14px); } to { opacity: .95; transform: none; } }
.sp-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; animation: spFlash .5s ease-out .78s both; }
@keyframes spFlash { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
.splash.quick .sp-mark, .splash.quick .sp-blades, .splash.quick .sp-click, .splash.quick .sp-name, .splash.quick .sp-tag, .splash.quick .sp-flash { animation-duration: .01s; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
    .sp-mark, .sp-blades, .sp-click, .sp-name, .sp-tag, .sp-glow { animation: none !important; opacity: 1; }
    .sp-flash { display: none; }
}

/* ===== 미리보기 잠금 ===== */
.locked { position: relative; margin-bottom: 12px; }
.locked .blur { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; max-height: 420px; overflow: hidden; }
.lock-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
    background: linear-gradient(to bottom, rgba(242,244,246,.2), rgba(242,244,246,.92) 40%); }
.lock-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--main); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.lock-ic svg { width: 28px; height: 28px; }
.lock-over b { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.lock-over p { font-size: 14px; color: var(--ink2); margin: 6px 0 16px; max-width: 300px; }
.lock-over .btn { flex: none; width: 100%; max-width: 300px; }
.no-info { display: flex; gap: 8px; align-items: flex-start; background: var(--main-10); color: var(--main-dark); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin: -8px 0 16px; }
.no-info svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; }
.sheet .field input { background: #f2f4f6; box-shadow: none; }
.sheet .field input:focus { box-shadow: inset 0 0 0 2px var(--main); }
.sheet .agree-row { padding: 8px 0; }

/* ===== 내 보험 찾기 ===== */
.find-link { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 0; border-radius: 16px; padding: 14px 16px; margin: 0 0 12px; box-shadow: var(--shadow); cursor: pointer; color: var(--ink); }
.find-link > span:first-child svg, .find-link svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--main); }
.find-link > span { display: flex; }
.find-link span:nth-child(2) { flex: 1; flex-direction: column; }
.find-link b { font-size: 15px; }
.find-link small { font-size: 13px; color: var(--ink3); }
.view .find-link { margin-top: 14px; }
.way-top { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.way-top b { font-size: 18px; font-weight: 800; margin-right: 6px; }
.way-num { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.way-desc { font-size: 14px; color: var(--ink2); margin: 0 0 10px; }
.way-steps { margin: 0 0 4px; padding-left: 20px; font-size: 14px; color: var(--ink2); }
.way-steps li + li { margin-top: 3px; }
.way-link { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 4px; height: 48px; border-radius: 12px; background: var(--main-10); color: var(--main); font-weight: 800; font-size: 15px; text-decoration: none; }
.way-link svg { width: 18px; height: 18px; }
.cap-row { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; }
.cap-row b { flex: 0 0 52px; }
.cap-row span { color: var(--ink2); }
.way-addr { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--ink3); }
.way-addr button { border: 0; background: #f2f4f6; color: var(--ink2); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }

/* ===== 내 보험 불러오기 ===== */
.stepper { display: flex; gap: 6px; margin: 4px 0 20px; }
.stepper .st { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink3); position: relative; }
.stepper .st i { width: 28px; height: 28px; border-radius: 50%; background: #e5e8eb; color: var(--ink3); font-style: normal; font-size: 13px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.stepper .st i svg { width: 15px; height: 15px; }
.stepper .st:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: #e5e8eb; }
.stepper .st.done i { background: var(--ok); color: #fff; }
.stepper .st.done::after { background: var(--ok) !important; }
.stepper .st.now i { background: var(--main); color: #fff; box-shadow: 0 0 0 5px var(--main-18); }
.stepper .st.now { color: var(--ink); }
.lk-hero { padding: 18px 14px; }
.lk-flow { display: flex; align-items: flex-end; justify-content: space-between; gap: 2px; margin-bottom: 14px; }
.lk-flow > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lk-flow small { font-size: 12px; font-weight: 700; color: var(--ink2); }
.phone-art { width: 74px; height: 124px; display: block; }
.lk-arrow { color: #b0b8c1; align-self: center; margin-bottom: 18px; display: flex; }
.lk-arrow svg { width: 16px; height: 16px; }
.lk-points { list-style: none; margin: 0; padding: 12px 4px 0; border-top: 1px solid #f2f4f6; font-size: 14px; color: var(--ink2); }
.lk-points li { display: flex; gap: 6px; align-items: flex-start; }
.lk-points li + li { margin-top: 6px; }
.lk-points svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; }
.lk-step { display: flex; gap: 14px; align-items: center; padding: 16px; }
.lk-step .lk-art .phone-art { width: 64px; height: 107px; }
.lk-step .way-num { width: 24px; height: 24px; font-size: 12px; display: inline-flex; margin-right: 6px; vertical-align: 1px; }
.lk-step b { font-size: 16px; }
.lk-step p { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.lk-pick { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px dashed var(--main-30); background: var(--main-5); color: var(--main); border-radius: 18px; padding: 26px 12px; cursor: pointer; }
.lk-pick svg { width: 34px; height: 34px; }
.lk-pick b { font-size: 17px; }
.lk-pick small { font-size: 13px; color: var(--ink3); }
.mini-link { color: var(--main); font-weight: 700; font-size: 13px; text-decoration: none; }
a.btn { text-decoration: none; }
.find-link.strong { background: linear-gradient(135deg, var(--main) 0%, var(--main-dark) 100%); color: #fff; }
.find-link.strong small { color: rgba(255,255,255,.8); }
.find-link.strong svg { color: #fff !important; }
.find-link .fl-ic { flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.find-link .fl-ic svg { width: 22px; height: 22px; stroke: #fff; }

/* ===== 불러오기: 가림 카드 / 갈림길 ===== */
.blur-cards { margin-top: 14px; }
.bc-title { font-size: 13px; color: var(--ink3); font-weight: 700; margin: 0 2px 8px; }
.bc { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 8px; }
.bc-logo { flex: 0 0 36px; height: 36px; border-radius: 11px; background: var(--main-10); color: var(--main); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bc-name { flex: 1; font-size: 15px; font-weight: 700; }
.bc-amt { font-size: 15px; font-weight: 800; color: var(--ink2); }
.bc-hide { filter: blur(5px); user-select: none; letter-spacing: 1px; color: var(--main); }
.already-link { display: block; width: 100%; text-align: center; background: none; border: 0; color: var(--ink2); font-size: 14px; padding: 16px 0 4px; cursor: pointer; }
.already-link b { color: var(--main); text-decoration: underline; }

/* ===== 로그인 화면 (네이버·카카오) ===== */
.login-view { min-height: 100vh; padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.login-brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; color: var(--main); }
.login-brand .login-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--main); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.login-brand .login-mark svg { stroke: #fff; }
.login-brand .login-mark svg { width: 20px; height: 20px; }
.login-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 0; }
.login-badge { width: 118px; height: 118px; border-radius: 34px; background: linear-gradient(140deg, var(--main) 0%, var(--main-dark) 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 42px rgba(26,45,80,.18); margin-bottom: 22px; }
.login-badge svg { width: 60px; height: 60px; stroke: #fff; }
.login-title { font-size: 26px; font-weight: 800; line-height: 1.38; margin: 0; letter-spacing: -.01em; }
.login-desc { font-size: 15px; color: var(--ink2); line-height: 1.65; margin: 12px 0 0; }
.login-btns { display: flex; flex-direction: column; gap: 10px; }
.social { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; border: 0; border-radius: 13px; height: 54px; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .08s, filter .12s; }
.social:active { transform: scale(.99); filter: brightness(.97); }
.social-ic { width: 20px; height: 20px; display: inline-flex; }
.social-ic svg { width: 20px; height: 20px; }
.social.naver { background: #03C75A; color: #fff; }
.social.kakao { background: #FEE500; color: #3C1E1E; }
.login-note { text-align: center; font-size: 12px; color: var(--ink3); margin: 12px 4px 0; line-height: 1.55; }

/* ===== 하단 탭바 ===== */
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; z-index: 60; background: #fff; border-top: 1px solid var(--line); display: flex; padding-bottom: env(safe-area-inset-bottom); }
.nav button { position: relative; z-index: 1; }
.nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; border: 0; background: none; cursor: pointer; color: var(--ink3); font-size: 11px; font-weight: 700; font-family: inherit; }
.nav .nav-ic { display: flex; }
.nav button svg { width: 23px; height: 23px; }
.nav button.on { color: var(--main); }
body.has-nav .view { padding-bottom: 84px; }
body.has-nav .view.chat { padding-bottom: 180px; }
body.has-nav .cta-bar { bottom: calc(56px + env(safe-area-inset-bottom)); }

/* ===== 전체(더보기) 화면 ===== */
.menu-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.menu-item { display: flex; align-items: center; gap: 14px; width: 100%; background: #fff; border: 0; border-radius: 16px; padding: 15px 16px; box-shadow: var(--shadow); cursor: pointer; text-align: left; color: var(--ink); }
.menu-item .menu-ic { flex: 0 0 44px; height: 44px; border-radius: 14px; background: var(--main-10); color: var(--main); display: flex; align-items: center; justify-content: center; }
.menu-item .menu-ic svg { width: 22px; height: 22px; }
.menu-item .menu-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.menu-item .menu-txt b { font-size: 16px; }
.menu-item .menu-txt small { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.menu-item .ico { color: var(--ink3); }
.menu-item .ico svg { width: 20px; height: 20px; flex: 0 0 20px; }

.nav button.off { opacity: .38; }

/* ===== 상담 채팅 사진 ===== */
.chat-input .attach { flex: 0 0 auto; border: 0; background: none; color: var(--ink3); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.chat-input .attach svg { width: 22px; height: 22px; }
.chat-input .attach:disabled { opacity: .4; cursor: default; }
.msg-img { max-width: 210px; max-height: 260px; border-radius: 12px; display: block; }
.msg-body a { display: inline-block; line-height: 0; }
