/* 솔로모음.ZIP 웹 (공유 링크로 들어온 미가입 친구용). 앱과 같은 색: 주황 #FF4C00 · 보라 #5217E1 · 먹 #111014 */
:root {
  --flame: #ff4c00; --violet: #5217e1; --violet-soft: #eee8fd; --ink: #111014; --sub: #55525e; --muted: #8b8894;
  --mist: #f3f2f6; --line: #e6e4ec; --paper: #fff; --lemon: #fdf8cf;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--mist); }
body { font-family: var(--font); color: var(--ink); background: var(--paper); max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
b { font-weight: 700; }
.flame { color: var(--flame); }
.violet { color: var(--violet); }

/* 공통: 아래 고정 버튼 */
.cta { position: sticky; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 70%, rgba(255,255,255,0)); }
.btn { display: flex; width: 100%; height: 56px; border: 0; border-radius: 14px; align-items: center; justify-content: center; gap: 8px; font: 700 16px var(--font); cursor: pointer; text-decoration: none; transition: transform .12s ease, opacity .12s ease; }
.btn:active { transform: scale(.985); opacity: .9; }
.btn-flame { background: var(--flame); color: #fff; box-shadow: 0 8px 20px rgba(255,76,0,.28); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn + .btn { margin-top: 8px; }
.note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* 불러오는 중 */
.loading { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.loading .dot { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--flame); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .5s ease both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }

/* ── 프로필 링크 ── */
.hero { position: relative; aspect-ratio: 3 / 3.4; background: var(--mist); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .from { position: absolute; left: 16px; top: 16px; background: rgba(17,16,20,.62); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 99px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .timer { position: absolute; right: 16px; top: 16px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; padding: 7px 10px; border-radius: 99px; }
.hero .noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.head { padding: 20px 20px 18px; display: grid; gap: 6px; }
.head h1 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.head p { font-size: 14px; color: var(--sub); }
.head p b { color: var(--ink); }
.gap { height: 8px; background: var(--mist); }
.sec { padding: 22px 20px; }
.sec h2 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.kv { display: grid; gap: 12px; }
.kv div { display: flex; gap: 12px; font-size: 14px; }
.kv dt { width: 84px; color: var(--muted); flex: none; }
.kv dd { color: var(--ink); }
.kv dd.lock { color: transparent; text-shadow: 0 0 9px rgba(17,16,20,.55); user-select: none; }
.callout { margin-top: 20px; padding: 18px 16px; border-radius: 14px; background: var(--violet-soft); border: 1px solid #ddd2fb; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--violet); }
.callout b { color: var(--flame); }
.others { padding: 30px 0 26px; text-align: center; background: linear-gradient(180deg, #fff 0%, #efe9ff 55%, #e7dcff 100%); }
.others h2 { font-size: 20px; font-weight: 800; line-height: 1.45; padding: 0 20px; }
.others p { margin-top: 8px; font-size: 14px; color: var(--sub); line-height: 1.55; padding: 0 20px; }
.lane { display: flex; gap: 10px; margin-top: 20px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lane::-webkit-scrollbar { display: none; }
.ghost { position: relative; flex: none; width: 112px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 6px 18px rgba(82,23,225,.12); }
.ghost svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(5px); transform: scale(1.12); }
.ghost span { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ghost.more { display: flex; align-items: center; justify-content: center; background: var(--violet); color: #fff; font-weight: 800; font-size: 18px; }
.ghost.more span { position: static; text-shadow: none; font-size: 15px; }

/* ── 폴더 링크 ── */
.fhero { position: relative; background: var(--flame); padding: 26px 22px 0; overflow: hidden; }
.mark { font-weight: 900; font-size: 18px; letter-spacing: -.6px; color: var(--ink); }
.mark i { font-style: normal; color: #fff; }
.eyebrow { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); border: 2px solid var(--ink); border-radius: 99px; padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 700; }
.eyebrow .av { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); }
.fhero h1 { margin-top: 16px; font-size: 52px; line-height: 1.05; font-weight: 900; letter-spacing: -2px; }
.fhero .lead { margin-top: 14px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.fhero .art { width: 78%; margin: 14px 0 -4px auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 20px 0; }
.stats div { background: var(--mist); border-radius: 14px; padding: 14px 8px; text-align: center; }
.stats b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.stats span { font-size: 12px; color: var(--sub); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 20px 0; }
.grid .ghost { width: auto; box-shadow: none; }
.how { padding: 30px 20px 10px; }
.how h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.how ol { list-style: none; display: grid; gap: 10px; }
.how li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.how li .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.how li:nth-child(2) .n { background: var(--violet); } .how li:nth-child(3) .n { background: var(--flame); }
.how li b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.how li p { font-size: 13.5px; color: var(--sub); line-height: 1.5; }

/* ── 안내 상태 (만료 · 없음) ── */
.state { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 28px; gap: 12px; }
.state img { width: 220px; margin-bottom: 8px; }
.state h1 { font-size: 22px; font-weight: 800; line-height: 1.4; }
.state p { font-size: 14.5px; color: var(--sub); line-height: 1.6; }

/* ── 설치 안내 시트 ── */
.sheet-dim { position: fixed; inset: 0; background: rgba(17,16,20,.55); display: flex; align-items: flex-end; justify-content: center; z-index: 50; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; padding: 26px 20px calc(18px + env(safe-area-inset-bottom)); animation: up .24s ease; }
@keyframes up { from { transform: translateY(40px); } }
.sheet h3 { font-size: 19px; font-weight: 800; text-align: center; }
.sheet p { font-size: 14px; color: var(--sub); text-align: center; margin: 8px 0 18px; line-height: 1.55; }
.sheet .icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }

/* ── 첫 화면 ── */
.lhero { background: var(--flame); text-align: center; padding: 48px 0 0; overflow: hidden; }
.lhero .word { font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -3px; }
.lhero .tag { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.5; padding: 0 20px; }
.lhero .hand { width: 92%; margin: 24px 0 0 auto; }
.feat { padding: 34px 20px 8px; display: grid; gap: 28px; }
.feat article { text-align: center; }
.feat img { width: 72%; margin: 0 auto 6px; }
.feat h2 { font-size: 21px; font-weight: 800; }
.feat p { margin-top: 6px; font-size: 14.5px; color: var(--sub); line-height: 1.6; }
.banner { margin: 24px 20px 0; padding: 26px 20px; border-radius: 20px; background: var(--ink); color: #fff; text-align: center; }
.banner b { font-size: 20px; line-height: 1.45; display: block; }
.banner b em { font-style: normal; background: var(--flame); color: var(--ink); padding: 0 6px; border-radius: 6px; }

/* ── 문서 (약관 · 개인정보) ── */
.doc { padding: 26px 20px 40px; }
.doc .back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 18px; }
.doc h1 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.doc .intro { font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.doc h2 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.doc p { font-size: 14px; line-height: 1.7; color: var(--sub); white-space: pre-line; }

footer.site { padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--line); margin-top: 24px; }
footer.site a { color: var(--sub); }
