/* 해피운세 놀이터 — 타로 · MBTI · 사주 로또 · 종합 궁합 (2026-10-11 [HU261011_FUN])
   앱(.hu-app) 과 랜딩(.lp) 이 같이 쓴다. 접두어 fn-(공통) · tc-(타로 카드) · mb-(MBTI) · lt-/lb(로또) · mt-(궁합) · lf-(랜딩 구역) */

/* ---------- 화면 틀 ---------- */
.fn-scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--hu-bg); }
.fn-top { flex: none; height: 60px; display: flex; align-items: center; gap: 4px; padding: 0 16px 0 8px; }
.fn-top > .fn-title:first-child { padding-left: 12px; font-size: 21px; font-weight: 900; }
.fn-title { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.fn-back { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fn-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn-fire { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: #FFE7B8; color: #8A5A10; font-size: 13px; font-weight: 900; }
.fn-body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 20px 30px; display: flex; flex-direction: column; gap: 14px; }
.fn-body > * { flex-shrink: 0; }
.fn-card { background: #FFFFFF; border: 1.5px solid var(--hu-line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--hu-ink); }
.fn-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--hu-ink-2); }
.fn-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fn-h { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.fn-sub { font-size: 13.5px; font-weight: 700; color: var(--hu-muted-2); }
.fn-note { margin: 2px 4px 0; font-size: 13px; line-height: 1.6; color: var(--hu-muted-2); text-align: center; }
.fn-note.dark { color: #C9C6E8; }
.fn-bar { display: block; height: 10px; border-radius: 999px; background: #F4ECE0; overflow: hidden; }
.fn-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F2A65A, var(--hu-primary)); transition: width 0.6s ease; }
.hl-btn.off { background: #E6DED2; color: #5C6070; cursor: default; }
.hl-btn.ghost.off { background: #F7F2EA; color: #8A8E9C; }
.fn-body > .hl-btn { width: 100%; }
.fn-body > .hl-btn.ghost { margin-top: -4px; }

/* 구분 탭 · 칩 */
.fn-seg { flex: none; margin: 0 20px 10px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.12); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.fn-seg button { height: 44px; border: 0; border-radius: 12px; background: transparent; color: #D8D5F2; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fn-seg button.on { background: #FFFFFF; color: #2B2E45; font-weight: 900; }
.fn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; }
.fn-chips button { flex: none; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fn-chips button.on { border-color: var(--hu-primary); background: var(--hu-primary); color: #FFFFFF; font-weight: 800; }
.fn-chips button.add { border-style: dashed; color: var(--hu-primary-ink); }
.fn-night .fn-chips button { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); color: #ECEAFB; }
.fn-night .fn-chips button.on { background: #FFD45C; border-color: #FFD45C; color: #2B2E45; }

/* 용용이 한마디 · 가입 안내 · 머리 카드 */
.fn-tip { display: flex; align-items: center; gap: 12px; background: #FFF3D4; border: 2px solid #E8B94A; border-radius: 24px; padding: 14px 16px; }
.fn-tip p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--hu-ink); font-weight: 600; }
.fn-tip p b { display: block; font-size: 13px; font-weight: 900; color: #8A5A10; }
.fn-cta { background: #FFFFFF; border: 2px solid var(--hu-outline); border-radius: 26px; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; text-align: center; color: var(--hu-ink); }
.fn-cta b { font-size: 19px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.4; }
.fn-cta p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--hu-muted); }
.fn-hero { border-radius: 28px; padding: 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--hu-ink); }
.fn-hero > b { font-size: 23px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.35; }
.fn-hero > p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--hu-ink-2); font-weight: 600; }
.fn-hero .emo { font-size: 46px; line-height: 1.1; }
.fn-hero .hl-btn { width: 100%; margin-top: 12px; }
.fn-hero.mb { background: linear-gradient(160deg, #EDE7FF 0%, #F9EEFF 100%); }
.fn-hero.lt { background: linear-gradient(160deg, #FFF0C2 0%, #FFE2CF 100%); }
.fn-hero.mt { background: linear-gradient(160deg, #FFE3EA 0%, #FFF0E2 100%); }
.fn-mix { border-width: 2px; }
.fn-mix .k, .fn-3l .k, .tc-line .k, .mb-best .k, .mb-saju .k { font-size: 13px; font-weight: 900; color: var(--hu-primary-ink); }
.fn-mix b { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.fn-mix.hi { border-color: #7BC79A; background: #F1FAF4; }
.fn-mix.mid { border-color: #BFC8DC; background: #F6F8FC; }
.fn-mix.lo { border-color: #F0B48A; background: #FFF6EE; }
.fn-3l { gap: 0; padding: 4px 18px; }
.fn-3l > div { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1.5px dashed var(--hu-line); }
.fn-3l > div:last-child { border-bottom: 0; }
.fn-3l .k { flex: none; width: 36px; padding-top: 3px; }

/* 카카오톡 공유 단추 (2026-10-11 [HU261011_SHARE]) */
.fn-share { width: 100%; height: 56px; border: 0; border-radius: 999px; background: #FEE500; color: #191600; font: inherit; font-size: 16.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.fn-share svg { width: 21px; height: 21px; fill: #191600; }
.fn-body > .fn-share { margin-top: -4px; }
.lt-act button.kk { background: #FEE500; border-color: #F2D900; color: #191600; }
.lf-sh { width: 100%; max-width: 460px; box-sizing: border-box; padding: 14px 18px; border-radius: 20px; background: #FEE500; color: #191600; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.lf-sh b { font-size: 17px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.45; }
.lf-sh span { font-size: 14px; font-weight: 700; line-height: 1.5; }
.lf-sh .balls { display: flex; justify-content: center; gap: 5px; margin: 4px 0 2px; }

/* MY > 이 기기 알림 상태 (2026-10-11 [HU261011_PUSH]) */
.pn-dev { margin: 10px 0; padding: 14px 16px; border-radius: 18px; background: #F4F1EC; display: flex; flex-direction: column; gap: 10px; }
.pn-dev .t { display: flex; flex-direction: column; gap: 3px; }
.pn-dev .t b { font-size: 16px; font-weight: 900; letter-spacing: -0.03em; }
.pn-dev .t span { font-size: 13.5px; line-height: 1.55; font-weight: 600; color: var(--hu-muted); }
.pn-dev button { height: 48px; border: 0; border-radius: 999px; background: var(--hu-primary); color: #FFFFFF; font: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; }
.pn-dev button.ghost { background: #FFFFFF; color: var(--hu-primary-ink); border: 1.5px solid var(--hu-primary); height: 42px; font-size: 14px; }
.pn-dev.on { background: #E9F6EE; }
.pn-dev.off { background: #FFF3D4; border: 2px solid #E8B94A; }
.pn-dev.denied, .pn-dev.ios { background: #FFF0EA; }

/* ---------- 놀이터 첫 화면 ---------- */
.fn-lv { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 26px; background: linear-gradient(135deg, #FFE9BF 0%, #FFD9C7 100%); border: 2px solid var(--hu-outline); }
.fn-lv-z { flex: none; width: 76px; height: 76px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.fn-lv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.fn-lv-t .k { font-size: 13px; font-weight: 900; color: #8A5A10; }
.fn-lv-t .v { font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.fn-lv-t .v b { color: var(--hu-primary-ink); margin-right: 4px; }
.fn-lv-t .d { font-size: 13px; font-weight: 700; color: var(--hu-muted); }
.fn-lv .fn-bar { background: rgba(255, 255, 255, 0.75); }
.fn-st7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.fn-st { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--hu-muted-2); }
.fn-st i { width: 100%; max-width: 40px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #E3D6C2; box-sizing: border-box; display: block; }
.fn-st.on i { border: 2px solid #C9481F; background: #FFE2D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.5 5.4 5.9.7-4.4 4 1.2 5.8L12 16.5 6.8 19.4 8 13.6l-4.4-4 5.9-.7z' fill='%23C9481F'/%3E%3C/svg%3E") center / 64% no-repeat; transform: rotate(-8deg); }
.fn-st.today { color: var(--hu-primary-ink); }
.fn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fn-big { position: relative; min-height: 132px; padding: 16px; border: 0; border-radius: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font: inherit; color: var(--hu-ink); text-align: left; cursor: pointer; overflow: hidden; }
.fn-big .emo { font-size: 38px; line-height: 1.15; margin-bottom: 4px; }
.fn-big .t { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.fn-big .s { font-size: 13.5px; font-weight: 700; color: var(--hu-muted); }
.fn-big .chk { display: none; position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--hu-primary); color: #FFFFFF; font-size: 15px; font-weight: 900; align-items: center; justify-content: center; }
.fn-big.done .chk { display: flex; }
.fn-big.tarot { background: linear-gradient(150deg, #2E2A5E 0%, #4B3F8F 100%); color: #FFFFFF; }
.fn-big.tarot .s { color: #D5D0F5; }
.fn-big.mbti { background: #EDE7FF; }
.fn-big.lotto { background: #FFEFC2; }
.fn-big.match { background: #FFE3EA; }
.fn-big:active, .fn-m:active, .hm-fn button:active { transform: scale(0.97); }
.fn-ms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fn-m { height: 48px; padding: 0 10px; border-radius: 14px; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; display: flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 700; color: var(--hu-ink); cursor: pointer; text-align: left; letter-spacing: -0.02em; }
.fn-m .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #D9CDBA; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #FFFFFF; }
.fn-m.done { background: #FFF4E2; border-color: #F0C9A8; color: var(--hu-muted); }
.fn-m.done .box { background: var(--hu-primary); border-color: var(--hu-primary); }

/* 홈 화면의 놀이터 띠 */
.hm-fn { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-fn .hd { display: flex; align-items: center; justify-content: space-between; }
.hm-fn h3 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.hm-fn .more { height: 44px; padding: 0; border: 0; background: transparent; color: var(--hu-primary-ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.hm-fn .more i { font-style: normal; margin-right: 6px; padding: 3px 8px; border-radius: 999px; background: #FFE7B8; color: #8A5A10; font-size: 12px; font-weight: 900; }
.hm-fn .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hm-fn .row button { position: relative; padding: 12px 2px 10px; border: 0; border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; color: var(--hu-ink); cursor: pointer; }
.hm-fn .row .emo { font-size: 30px; line-height: 1.2; }
.hm-fn .row .t { font-size: 13.5px; font-weight: 900; letter-spacing: -0.04em; white-space: nowrap; }
.hm-fn .row .tarot { background: linear-gradient(150deg, #2E2A5E 0%, #4B3F8F 100%); color: #FFFFFF; }
.hm-fn .row .mbti { background: #EDE7FF; }
.hm-fn .row .lotto { background: #FFEFC2; }
.hm-fn .row .match { background: #FFE3EA; }
.hm-fn .row .done::after { content: '✓'; position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--hu-primary); color: #FFFFFF; font-size: 11px; font-weight: 900; line-height: 18px; text-align: center; }

/* 가입 첫 화면의 맛보기 */
.su-try { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.su-try button { height: 52px; border-radius: 16px; border: 1.5px solid #E3DAFF; background: #F5F1FF; color: #3D327A; font: inherit; font-size: 15px; font-weight: 800; letter-spacing: -0.03em; cursor: pointer; }
.su-try-k { margin: 0 0 -4px; font-size: 13px; font-weight: 800; color: var(--hu-muted-2); text-align: center; }
@media (max-height: 720px) { .hu-su-chars { display: none !important; } }

/* ---------- 타로 ---------- */
/* 2026-10-11 [HU261011_TAROT] 카드 = 실제 타로 그림(라이더-웨이트-스미스 1909, 공개 저작물 · assets/tarot/00~21.jpg) + 금테 + 한글 이름판.
   뒷면 = assets/tarot/back.svg. 이 구역은 tools/tpl/tarot.css 가 원본이다(patch-win-tarot-css.js 가 hu-fun.css 에 끼움). */
.fn-night { background: radial-gradient(120% 60% at 50% 0%, #3A2F7A 0%, #1F1C45 55%, #15123A 100%); color: #FFFFFF; }
.fn-night .fn-body { background: radial-gradient(1.5px 1.5px at 12% 8%, rgba(255, 255, 255, 0.7) 50%, transparent 51%), radial-gradient(1px 1px at 82% 14%, rgba(255, 255, 255, 0.6) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 68% 38%, rgba(249, 227, 163, 0.7) 50%, transparent 51%), radial-gradient(1px 1px at 24% 46%, rgba(255, 255, 255, 0.5) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 62%, rgba(255, 255, 255, 0.5) 50%, transparent 51%), radial-gradient(1px 1px at 8% 74%, rgba(249, 227, 163, 0.6) 50%, transparent 51%); }
.tc { position: relative; box-sizing: border-box; display: block; aspect-ratio: 340 / 600; border-radius: 6.5% / 3.7%; padding: 0; border: 0; font: inherit; color: #25283D; overflow: hidden; }
.tc-back { background: #1B1746 url(../tarot/back.svg) center / 100% 100% no-repeat; cursor: pointer; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.35); }
.tc-back i { display: none; }
div.tc-back { cursor: default; }
.tc-back b { position: absolute; right: 7%; top: 4%; width: 26px; height: 26px; border-radius: 50%; background: #FFD45C; color: #2B2E45; font-size: 14px; font-weight: 900; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.tc-back.picked { transform: translateY(-10px); box-shadow: 0 0 0 3px #FFD45C, 0 0 22px rgba(255, 212, 92, 0.75), 0 12px 20px rgba(0, 0, 0, 0.4); }
.tc-back.picked b { display: flex; }
/* 앞면 */
.tc-art { padding: 3.2%; background: linear-gradient(145deg, #F9E3A3 0%, #C9973A 42%, #F3D58A 68%, #A8762A 100%); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 0, 0, 0.3); }
.tc-art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4.5% / 2.6%; background: #EFE6D2; -webkit-user-drag: none; user-select: none; }
.tc-art.rev img { transform: rotate(180deg); }
.tc-art .plate { position: absolute; left: 3.2%; right: 3.2%; bottom: 1.8%; height: 11.6%; display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(180deg, #2A2460 0%, #17143A 100%); border-top: 2px solid #D9AE55; border-radius: 0 0 9px 9px; color: #F9E3A3; }
.tc-art .plate b { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; white-space: nowrap; }
.tc-art .plate i { font-style: normal; font-family: 'Noto Serif KR', serif; font-size: 13px; font-weight: 900; letter-spacing: 0.06em; color: #D9AE55; }
.tc-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%); transform: translateX(-120%); animation: tc-shine 1.1s ease 0.95s 1 both; pointer-events: none; }
@keyframes tc-shine { to { transform: translateX(120%); } }
.tc-sm { width: 100%; animation: tc-rise 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) backwards; }
.tc-sm .plate { gap: 0; border-top-width: 1.5px; border-radius: 0 0 5px 5px; }
.tc-sm .plate b { font-size: 12px; }
.tc-sm .plate i { display: none; }
.tc-sm::after { animation-delay: 0.5s; }
@keyframes tc-rise { from { opacity: 0; transform: translateY(18px) rotateY(90deg); } }
/* 고르기 */
.tc-ask { text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 8px 0 0; }
.tc-ask .k { font-size: 14px; font-weight: 900; color: #FFD45C; letter-spacing: 0.02em; }
.tc-ask p { margin: 0; font-size: 19px; line-height: 1.55; font-weight: 800; letter-spacing: -0.03em; }
.tc-fan { display: flex; flex-wrap: wrap; justify-content: center; padding: 30px 0 40px; }
.tc-fan .tc { flex: none; width: 11.5%; max-width: 92px; margin: 0 -2.2%; transform-origin: 50% 130%; transition: filter 0.18s, margin 0.18s; animation: tc-deal 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) backwards; }
.tc-fan .tc:nth-child(2) { animation-delay: 0.06s; } .tc-fan .tc:nth-child(3) { animation-delay: 0.12s; } .tc-fan .tc:nth-child(4) { animation-delay: 0.18s; }
.tc-fan .tc:nth-child(5) { animation-delay: 0.24s; } .tc-fan .tc:nth-child(6) { animation-delay: 0.3s; } .tc-fan .tc:nth-child(7) { animation-delay: 0.36s; }
.tc-fan .tc:nth-child(n+14) { margin-top: -9.5%; }
.tc-fan .tc:hover, .tc-fan .tc:focus-visible, .tc-fan .tc:active { filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 212, 92, 0.8)); z-index: 2; }
@keyframes tc-deal { from { opacity: 0; transform: translateY(70px) rotate(0); } }
.tc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 4px 4px 0; }
.tc-grid .tc { width: 100%; transition: transform 0.18s, box-shadow 0.18s; }
.tc-grid .tc:nth-child(n+6) { transform: translateX(55%); }
.tc-grid .tc.picked:nth-child(n+6) { transform: translate(55%, -10px); }
/* 큰 카드: 뒷면 → 앞면으로 뒤집힌다 */
.tc-big-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0 6px; }
.tc-big-wrap::before { content: ''; position: absolute; left: 50%; top: 50%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 212, 92, 0.38) 0%, rgba(255, 212, 92, 0.12) 38%, transparent 66%); animation: tc-glow 1.6s ease 0.5s backwards; pointer-events: none; }
@keyframes tc-glow { from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } }
.tc-flip { position: relative; width: 58%; max-width: 230px; perspective: 1100px; }
.tc-flip-in { position: relative; aspect-ratio: 340 / 600; transform-style: preserve-3d; animation: tc-turn 1.15s cubic-bezier(0.3, 0.7, 0.2, 1) backwards; }
.tc-flip-in > .tc { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tc-flip-in > .fb { transform: rotateY(180deg); }
.tc-flip .plate { border-radius: 0 0 11px 11px; }
@keyframes tc-turn { 0% { transform: rotateY(180deg) translateY(40px) scale(0.72); } 38% { transform: rotateY(180deg) translateY(0) scale(1.03); } 100% { transform: rotateY(0) scale(1); } }
.tc-res { align-items: center; text-align: center; gap: 8px; }
.tc-res .pose { height: 26px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: #EDE7FF; color: #4B3F8F; font-size: 13px; font-weight: 900; }
.tc-res h2 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -0.04em; }
.tc-res .keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tc-res .keys span { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 9px; background: #FFF4E2; color: #8A5A10; font-size: 13.5px; font-weight: 800; }
.tc-res .msg { font-size: 16.5px; line-height: 1.7; color: var(--hu-ink); font-weight: 600; text-align: left; }
.tc-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; perspective: 900px; }
.tc-three .col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tc-three .pos { font-size: 13px; font-weight: 900; color: #FFD45C; }
.tc-three .col:nth-child(2) .tc { animation-delay: 0.2s; } .tc-three .col:nth-child(3) .tc { animation-delay: 0.4s; }
.tc-line .k i { font-style: normal; margin-left: 4px; color: var(--hu-muted-2); font-weight: 700; }

/* ---------- MBTI ---------- */
.mb-16 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.mb-16 button { height: 44px; border-radius: 13px; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-ink); font: inherit; font-size: 14.5px; font-weight: 800; letter-spacing: 0.01em; cursor: pointer; }
.mb-16 button.on { border-color: #5B45A8; background: #5B45A8; color: #FFFFFF; }
.mb-q { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.mb-q .q { font-size: 15.5px; font-weight: 800; }
.mb-q .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mb-q button { min-height: 56px; padding: 8px 10px; border-radius: 16px; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-ink); font: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.35; cursor: pointer; }
.mb-q button.on { border-color: #5B45A8; background: #F1ECFF; color: #3D2D86; font-weight: 900; }
.mb-picked { text-align: center; font-weight: 900 !important; color: #5B45A8 !important; padding: 4px 0; }
.fn-hero.mb .type { font-size: 40px; font-weight: 900; letter-spacing: 0.04em; color: #5B45A8; line-height: 1.1; }
.fn-hero.mb .st { font-size: 18px; color: var(--hu-star); letter-spacing: 2px; }
.fn-hero .link { margin-top: 4px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(91, 69, 168, 0.35); background: rgba(255, 255, 255, 0.7); color: #5B45A8; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.mb-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed var(--hu-line); }
.mb-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.mb-row .L { flex: none; width: 44px; height: 44px; border-radius: 14px; background: #EDE7FF; color: #5B45A8; font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.mb-row .k { font-size: 13px; font-weight: 900; color: var(--hu-muted); }
.mb-row .k i { font-style: normal; font-weight: 400; font-size: 14px; color: var(--hu-star); letter-spacing: 1px; margin-left: 4px; }
.mb-row p { margin-top: 2px; }
.mb-best { align-items: center; text-align: center; gap: 2px; background: #F6F3FF; border-color: #DDD3FA; }
.mb-best b { font-size: 28px; font-weight: 900; color: #5B45A8; letter-spacing: 0.04em; }
.mb-best .d { font-size: 14.5px; font-weight: 700; color: var(--hu-muted); }
.mb-saju { border: 2px solid var(--hu-outline); }
.mb-saju .vs { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0; }
.mb-saju .vs div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mb-saju .vs .s { font-size: 12.5px; font-weight: 800; color: var(--hu-muted-2); }
.mb-saju .vs b { font-size: 30px; font-weight: 900; letter-spacing: 0.04em; color: #5B45A8; }
.mb-saju .vs b.sj { color: var(--hu-primary); }
.mb-saju .vs .x { font-size: 13px; font-weight: 900; color: #B5ADA0; }
.mb-saju .nick { text-align: center; font-size: 14.5px; font-weight: 700; color: var(--hu-muted); }
.mb-saju .cmp { display: flex; flex-direction: column; gap: 6px; }
.mb-saju .cmp > div { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; background: #FBF6EE; font-size: 14px; font-weight: 700; }
.mb-saju .cmp .ax { flex: 1; }
.mb-saju .cmp .lt { font-weight: 900; letter-spacing: 0.04em; }
.mb-saju .cmp .mk { flex: none; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 12.5px; font-weight: 900; }
.mb-saju .cmp .same .mk { background: #DDF3E5; color: #1F6B41; }
.mb-saju .cmp .diff .mk { background: #FFE3D6; color: #A93A16; }
.mb-saju .ttl { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; margin-top: 4px; }

/* ---------- 사주 로또 ---------- */
.lb { flex: none; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 17px; font-weight: 900; color: #FFFFFF; letter-spacing: -0.03em; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22); box-shadow: inset -3px -4px 0 rgba(0, 0, 0, 0.13), inset 3px 3px 0 rgba(255, 255, 255, 0.3); }
.lb.y { background: #F5B800; } .lb.b { background: #3FA9E0; } .lb.r { background: #EF5B5B; } .lb.g { background: #8D94A0; } .lb.n { background: #74B93A; }
.lb.sm { width: 30px; height: 30px; font-size: 13px; box-shadow: inset -2px -3px 0 rgba(0, 0, 0, 0.13); }
.lb.pop { animation: lb-pop 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) backwards; }
@keyframes lb-pop { from { transform: translateY(-26px) scale(0.3); opacity: 0; } }
.fn-hero.lt .rd { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--hu-primary); color: #FFFFFF; font-size: 13px; font-weight: 900; }
.lt-machine { display: flex; gap: 6px; padding: 16px 0 2px; }
.lt-machine .lb { animation: lb-bob 1.1s ease-in-out infinite; }
.lt-machine .lb:nth-child(2) { animation-delay: 0.14s; } .lt-machine .lb:nth-child(3) { animation-delay: 0.28s; } .lt-machine .lb:nth-child(4) { animation-delay: 0.42s; } .lt-machine .lb:nth-child(5) { animation-delay: 0.56s; }
@keyframes lb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.lt-game { gap: 12px; }
.lt-game .hd { display: flex; align-items: center; gap: 10px; }
.lt-game .tag { flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--hu-outline); color: #FFFFFF; font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.lt-game .hd div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lt-game .hd b { font-size: 16.5px; font-weight: 900; letter-spacing: -0.03em; }
.lt-game .hd span:not(.tag) { font-size: 13px; font-weight: 600; color: var(--hu-muted); line-height: 1.45; }
.lt-balls { display: flex; justify-content: space-between; gap: 4px; }
.lt-balls.sm { justify-content: flex-start; gap: 5px; flex: 1; }
.lt-why { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 16px; background: #FBF6EE; }
.lt-why div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--hu-ink-2); line-height: 1.4; }
.lt-act { display: flex; gap: 6px; }
.lt-act button { flex: 1; height: 40px; border-radius: 12px; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-ink); font: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: -0.03em; cursor: pointer; }
.lt-act button.done { background: #FFF4E2; border-color: #F0C9A8; color: var(--hu-primary-ink); }
.lt-base .it { display: flex; flex-direction: column; gap: 6px; }
.lt-base .it .k { font-size: 13px; font-weight: 900; color: var(--hu-muted); }
.lt-base .it div { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-base .chip { min-height: 30px; padding: 4px 11px; box-sizing: border-box; display: inline-flex; align-items: center; border-radius: 10px; background: #FFF4E2; color: #8A5A10; font-size: 14px; font-weight: 800; }
.lt-saved { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.lt-saved > .r { flex: none; width: 52px; font-size: 13px; font-weight: 900; color: var(--hu-muted); }
.lt-saved button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F4ECE0; color: var(--hu-muted); font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 359px) { .lb { width: 36px; height: 36px; font-size: 15px; } }

/* ---------- 로또 당첨번호 조회 · 당첨 확인 (2026-10-11 [HU261011_WIN]) ---------- */
.lt-win .nav { display: flex; align-items: center; gap: 4px; }
.lt-win .nav b { min-width: 68px; text-align: center; font-size: 17px; font-weight: 900; }
.lt-win .nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-ink); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.lt-win .nav button.off { opacity: 0.35; cursor: default; }
.lt-balls.win { justify-content: flex-start; align-items: center; gap: 5px; }
.lt-balls.win .lb { width: 38px; height: 38px; font-size: 16px; }
.lt-balls.win .plus { font-size: 18px; font-weight: 900; color: var(--hu-muted-2); }
.lt-win .prize { font-weight: 800 !important; color: var(--hu-ink) !important; }
.lt-chk .clr { height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-muted); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.lt-pick { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; }
.lt-pick button { aspect-ratio: 1; padding: 0; border-radius: 50%; border: 1.5px solid var(--hu-line-strong); background: #FFFFFF; color: var(--hu-ink-2); font: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: -0.04em; cursor: pointer; }
.lt-pick button.on { border-color: transparent; color: #FFFFFF; box-shadow: inset -2px -3px 0 rgba(0, 0, 0, 0.13); }
.lt-pick button.on.y { background: #F5B800; } .lt-pick button.on.b { background: #3FA9E0; } .lt-pick button.on.r { background: #EF5B5B; } .lt-pick button.on.g { background: #8D94A0; } .lt-pick button.on.n { background: #74B93A; }
.lt-pick button.win { box-shadow: 0 0 0 3px #FFD45C, 0 0 10px rgba(224, 144, 15, 0.7); }
.lt-res { padding: 14px 16px; border-radius: 18px; display: flex; flex-direction: column; gap: 2px; text-align: center; animation: hl-pop 0.35s ease; }
.lt-res b { font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.lt-res span { font-size: 14px; font-weight: 700; }
.lt-res.hit { background: #FFF0C2; border: 2px solid #E8B94A; color: #6B4300; }
.lt-res.miss { background: #F4F1EC; color: var(--hu-muted); }
.lt-saved { flex-wrap: wrap; }
.lt-saved .res { flex-basis: 100%; padding-left: 60px; font-size: 13px; font-weight: 700; color: var(--hu-muted-2); }
.lt-saved .res.hit { color: #A93A16; font-weight: 900; }
.lt-saved .lb.dim { opacity: 0.32; }
.lt-saved .lb.on { box-shadow: 0 0 0 2.5px #FFD45C, inset -2px -3px 0 rgba(0, 0, 0, 0.13); }

/* ---------- 종합 궁합 ---------- */
.fn-hero.mt .duo { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.fn-hero.mt .duo > div { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 800; min-width: 0; }
.fn-hero.mt .sc { flex-direction: row !important; align-items: baseline !important; color: var(--hu-primary); }
.fn-hero.mt .sc b { font-size: 54px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.fn-hero.mt .sc span { font-size: 18px; font-weight: 900; margin-left: 2px; }
.mt-part .hd { display: flex; align-items: center; gap: 8px; }
.mt-part .hd .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--hu-outline); color: #FFFFFF; font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.mt-part .hd b { flex: 1; font-size: 17px; font-weight: 900; letter-spacing: -0.03em; }
.mt-part .hd .pt { font-size: 17px; font-weight: 900; color: var(--hu-primary); }
.mt-part p b { display: block; font-size: 13px; font-weight: 900; color: var(--hu-primary-ink); }
.mt-part p.li { padding-left: 12px; position: relative; }
.mt-part p.li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #E0900F; }
.mt-part p.q { font-weight: 800; color: var(--hu-ink); }
.mt-part .mini, .bl-mix .mini, .dr-num .mini { align-self: flex-start; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--hu-primary); background: #FFFFFF; color: var(--hu-primary-ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.mt-draw { display: flex; align-items: center; gap: 16px; }
.mt-draw .tc { flex: none; width: 78px; animation: hl-wiggle 1.8s ease-in-out infinite; }
.mt-card { display: flex; align-items: center; gap: 14px; }
.mt-card .tc { flex: none; width: 84px; }
.mt-card > div:last-child { display: flex; flex-direction: column; gap: 6px; }

/* ---------- 메인(랜딩)의 놀이터 구역 ---------- */
.lf { box-sizing: border-box; padding: 96px var(--gx); background: linear-gradient(180deg, #1F1C45 0%, #2E2A5E 55%, #4A3E86 100%); color: #FFFFFF; display: flex; flex-direction: column; gap: 48px; scroll-margin-top: 84px; }
.lf-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.lf-head .k { font-size: 20px; font-weight: 800; color: #FFD45C; }
.lf-head h2 { margin: 0; font-size: 44px; line-height: 1.38; font-weight: 900; letter-spacing: -0.04em; }
.lf-head p { margin: 0; font-size: 19px; line-height: 1.7; color: #D8D5F2; font-weight: 500; }
.lf-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.lf-play { background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.18); border-radius: 32px; padding: 36px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; min-height: 440px; box-sizing: border-box; }
.lf-play .k { font-size: 15px; font-weight: 900; color: #FFD45C; }
.lf-play > b { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.4; }
.lf-play .tc-fan { width: 100%; max-width: 520px; padding: 30px 0 26px; }
.lf-play .tc-fan .tc { max-width: 100px; }
.lf-play .tc-flip { width: 190px; }
.lf-res { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lf-res .nm { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; }
.lf-res .nm i { font-style: normal; font-size: 14px; font-weight: 800; color: #FFD45C; margin-left: 8px; }
.lf-res p { margin: 0; max-width: 420px; font-size: 16.5px; line-height: 1.7; color: #ECEAFB; }
.lf-btn { height: 58px; padding: 0 28px; border-radius: 999px; background: #FFD45C; color: #2B2E45 !important; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 900; margin-top: 8px; }
.lf-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lf-card { border-radius: 28px; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: #25283D !important; transition: transform 0.18s; }
.lf-card:hover { transform: translateY(-4px); }
.lf-card .emo { font-size: 44px; line-height: 1.1; }
.lf-card b { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.lf-card span { font-size: 15.5px; line-height: 1.6; color: #4A4E60; font-weight: 600; }
.lf-card.c1 { background: #EDE7FF; } .lf-card.c2 { background: #FFEFC2; } .lf-card.c3 { background: #FFE3EA; } .lf-card.c4 { background: #E3F4EA; }
.lf-card .balls { display: flex; gap: 5px; margin-top: 4px; }
.lf-note { margin: 0; text-align: center; font-size: 14px; color: #B9B5DE; }
@media (max-width: 1199px) {
  .lf { padding: 80px var(--gx); gap: 36px; }
  .lf-head h2 { font-size: 38px; }
  .lf-main { grid-template-columns: minmax(0, 1fr); max-width: 720px; width: 100%; margin: 0 auto; }
}
@media (max-width: 767px) {
  .lf { padding: 64px var(--gx); gap: 28px; }
  .lf-head h2 { font-size: 28px; }
  .lf-head p { font-size: 16px; }
  .lf-head .k { font-size: 16px; }
  .lf-play { padding: 28px 16px; min-height: 400px; border-radius: 26px; }
  .lf-play > b { font-size: 21px; }
  .lf-cards { gap: 10px; }
  .lf-card { padding: 18px 16px; border-radius: 22px; }
  .lf-card .emo { font-size: 34px; }
  .lf-card b { font-size: 17px; }
  .lf-card span { font-size: 13.5px; }
  .lf-card .balls .lb { width: 24px; height: 24px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .tc, .lb, .lt-machine .lb, .mt-draw .tc { animation: none !important; } }

/* ---------- 혈액형 (2026-10-11 [HU261011_BLOOD]) ---------- */
.fn-hero.bl { background: linear-gradient(160deg, #FFE1DC 0%, #FFF1E6 100%); }
.fn-hero.bl .type { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; color: #C7372F; line-height: 1.1; }
.fn-hero.bl .st { font-size: 18px; color: var(--hu-star); letter-spacing: 2px; }
.fn-hero.bl .keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.fn-hero.bl .keys span { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: #A32A23; font-size: 13px; font-weight: 800; }
.fn-hero.bl .link { border-color: rgba(199, 55, 47, 0.35); color: #A32A23; }
.bl-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bl-4 button { min-height: 132px; padding: 14px 10px; border-radius: 24px; border: 2px solid #F3CFC9; background: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: inherit; color: var(--hu-ink); cursor: pointer; }
.bl-4 button .emo { font-size: 34px; line-height: 1.2; }
.bl-4 button b { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.bl-4 button span:last-child { font-size: 13.5px; font-weight: 700; color: var(--hu-muted); letter-spacing: -0.03em; }
.bl-4 button.on { border-color: #C7372F; background: #FFF0ED; }
.bl-4 button:active { transform: scale(0.97); }
.bl-row .L { background: #FFE9E5; font-size: 22px; }
.bl-luck .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bl-luck .three > div { padding: 12px 6px; border-radius: 16px; background: #FFF6EC; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.bl-luck .k, .bl-me .k, .bl-mix .k { font-size: 13px; font-weight: 900; color: var(--hu-primary-ink); }
.bl-luck b { font-size: 14.5px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.35; word-break: keep-all; }
.bl-me { gap: 12px; }
.bl-me > div { display: flex; flex-direction: column; gap: 2px; }
.bl-best { background: #FFF3F0; border-color: #F6D2CC; }
.bl-best b { color: #C7372F; }
.bl-best p { margin-top: 4px; font-size: 14.5px; }
.bl-mix { background: #F6F3FF; border-color: #DDD3FA; }
.bl-mix b { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: #5B45A8; }
.bl-mix .d { font-size: 14.5px; font-weight: 800; color: var(--hu-muted); }
.bl-mix .mini { align-self: flex-start; }
.bl-saju .vs b { color: #C7372F; }
.bl-saju .bars { display: flex; flex-direction: column; gap: 8px; }
.bl-saju .bars > div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.bl-saju .bars .t { flex: none; width: 40px; }
.bl-saju .bars .fn-bar { flex: 1; }
.bl-saju .bars .p { flex: none; width: 40px; text-align: right; color: var(--hu-muted); }
.bl-saju .bars .top .t, .bl-saju .bars .top .p { color: var(--hu-primary); font-weight: 900; }
.fn-big.blood { background: #FFE1DC; }
.hm-fn .row .blood { background: #FFE1DC; }
/* 놀이가 다섯 개: 놀이터는 마지막 한 칸을 넓게, 홈 띠는 옆으로 민다 */
.fn-grid > .fn-big:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 104px; }
.hm-fn .row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 4.5); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.hm-fn .row::-webkit-scrollbar { display: none; }
.hm-fn .row button { scroll-snap-align: start; }
.su-try.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lf-card.c5 { background: #FFE1DC; grid-column: 1 / -1; }

/* ---------- 꿈해몽 (2026-10-11 [HU261011_DREAM]) ---------- */
.dr-in { display: block; }
.dr-in .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dr-in textarea { display: block; width: 100%; box-sizing: border-box; min-height: 120px; padding: 16px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font: inherit; font-size: 17px; line-height: 1.6; font-weight: 600; resize: vertical; }
.dr-in textarea::placeholder { color: #B9B5DE; font-weight: 500; }
.dr-in textarea:focus { outline: 2px solid #FFD45C; outline-offset: 1px; }
.dr-k { margin: 6px 0 -4px; font-size: 14px; font-weight: 800; color: #FFD45C; }
.dr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dr-chips button { height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; letter-spacing: -0.02em; }
.dr-chips button:active { transform: scale(0.96); }
.dr-hero { border-radius: 28px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #FFFFFF; background: linear-gradient(160deg, #3A3480 0%, #5B4BAF 100%); border: 1.5px solid rgba(255, 255, 255, 0.2); }
.dr-hero .emo { font-size: 54px; line-height: 1.15; }
.dr-hero .kind { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: #FFD45C; color: #2B2E45; font-size: 13px; font-weight: 900; }
.dr-hero.care .kind { background: #FFC2A8; }
.dr-hero.mind .kind { background: #CFE3FF; }
.dr-hero > b { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.35; word-break: keep-all; }
.dr-hero .mine { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: #D8D5F2; font-weight: 500; word-break: break-all; }
.dr-sym .k, .dr-ai .k { font-size: 14px; font-weight: 900; color: var(--hu-primary-ink); }
.dr-sym .k i { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF1DC; color: #8A5A10; font-size: 12px; font-weight: 800; }
.dr-ai { border: 2px solid var(--hu-outline); }
.dr-ai .pre { white-space: pre-line; }
.dr-num .lt-balls { justify-content: center; }
.dr-num .mini { align-self: center; }
.fn-big.dream { background: linear-gradient(150deg, #3A3480 0%, #5B4BAF 100%); color: #FFFFFF; }
.fn-big.dream .s { color: #D5D0F5; }
.hm-fn .row .dream { background: linear-gradient(150deg, #3A3480 0%, #5B4BAF 100%); color: #FFFFFF; }
/* ---------- 손금 (2026-10-11 [HU261011_PALM] → 2026-10-12 [HU261012_PALM2] 양손 사진 · 전체 풀이 / 오늘의 손금 운세) ---------- */
.fn-hero.pm { background: linear-gradient(160deg, #DDF3E8 0%, #FFF3DD 100%); }
.fn-hero.pm .link { border-color: rgba(31, 107, 65, 0.35); color: #1F6B41; }
.pm-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pm-slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 10px 14px; border-radius: 24px; border: 2px dashed #1FA37A; background: #F0FAF5; color: var(--hu-ink); cursor: pointer; text-align: center; }
.pm-slot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pm-slot .pic { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #FFFFFF; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.pm-slot .pic .ph { width: 100%; height: 100%; object-fit: cover; }
.pm-slot .pic .gd { width: 62%; height: auto; opacity: 0.5; }
.pm-slot b { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.pm-slot .sub { font-size: 13px; font-weight: 700; color: var(--hu-muted); }
.pm-slot .st { margin-top: 6px; font-size: 13.5px; font-weight: 800; color: #17694E; line-height: 1.35; word-break: keep-all; }
.pm-slot.has { border-style: solid; background: #FFFFFF; }
.pm-slot.busy .pic { animation: pmPulse 1.1s ease-in-out infinite; }
.pm-slot.ok { border-color: #1FA37A; background: #EAF8F1; }
.pm-slot.err { border-color: #E5484D; background: #FFF3F2; }
.pm-slot.err .st { color: #B4232A; }
.pm-slot.lock { pointer-events: none; }
@keyframes pmPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .pm-slot.busy .pic { animation: none; opacity: 0.6; } }
.pm-err { margin: -4px 4px 0; padding: 12px 14px; border-radius: 16px; background: #FFF3F2; border: 1.5px solid #F2B8B5; color: #8E1B21; font-size: 14.5px; font-weight: 700; line-height: 1.55; text-align: center; word-break: keep-all; }
.pm-guide .li { display: flex; gap: 10px; align-items: flex-start; }
.pm-guide .li i { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: #1FA37A; color: #FFFFFF; font-style: normal; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.pm-guide .li p b { color: var(--hu-ink); font-weight: 900; }
.pm-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0 0 8px; }
.pm-pair figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pm-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border: 3px solid #FFFFFF; background: #FFFFFF; box-shadow: 0 4px 14px rgba(31, 107, 65, 0.16); }
.pm-pair.draw img { object-fit: contain; padding: 8px; }
.pm-pair figcaption { font-size: 13px; font-weight: 800; color: #1F6B41; }
.pm-tabs { position: sticky; top: 0; z-index: 3; padding: 4px; border-radius: 18px; background: #E9E2D6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.pm-tabs button { height: 48px; border: 0; border-radius: 14px; background: transparent; color: #5C6070; font: inherit; font-size: 15.5px; font-weight: 800; letter-spacing: -0.03em; cursor: pointer; }
.pm-tabs button.on { background: #FFFFFF; color: #17694E; font-weight: 900; box-shadow: 0 2px 8px rgba(43, 46, 69, 0.12); }
.pm-sim .pct { display: flex; align-items: baseline; gap: 8px; }
.pm-sim .pct b { font-size: 34px; font-weight: 900; color: #17694E; letter-spacing: -0.03em; line-height: 1; }
.pm-sim .pct span { font-size: 13.5px; font-weight: 800; color: var(--hu-muted); }
.pm-sim .fn-bar i { background: linear-gradient(90deg, #7BC79A, #1FA37A); }
.pm-sim .t { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.pm-table { border: 1.5px solid var(--hu-line); border-radius: 16px; overflow: hidden; }
.pm-table .tr { display: grid; grid-template-columns: 0.9fr 1.2fr 1.2fr; gap: 6px; padding: 9px 10px; font-size: 13.5px; line-height: 1.4; color: var(--hu-ink-2); border-top: 1px solid var(--hu-line); word-break: keep-all; }
.pm-table .tr:first-child { border-top: 0; }
.pm-table .tr.hd { background: #F7F2EA; font-weight: 900; color: var(--hu-muted); font-size: 12.5px; }
.pm-table .tr .n { font-weight: 900; color: var(--hu-ink); }
.pm-table .tr.diff { background: #FFF8EC; }
.pm-table .tr.diff span:last-child { font-weight: 800; color: #9A5B00; }
.pm-seen p b { display: inline-block; min-width: 46px; margin-right: 8px; font-size: 13px; font-weight: 900; color: #17694E; }
.pm-shape .k, .pm-ex .k, .pm-sum .k, .pm-day .k, .pm-hand2 .k, .pm-li .k { font-size: 13px; font-weight: 900; color: var(--hu-muted); }
.pm-shape b, .pm-hand2 b { font-size: 19px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.4; }
.pm-full .hd { display: flex; align-items: center; gap: 12px; }
.pm-full .hd img { flex: none; width: 66px; height: auto; }
.pm-full .hd div { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pm-full .hd .k { font-size: 13.5px; font-weight: 900; }
.pm-full .hd b { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.35; }
.pm-full .hd .lr { font-size: 12.5px; font-weight: 700; color: var(--hu-muted); line-height: 1.45; word-break: keep-all; }
.fn-card p.cmp { padding: 12px 14px; border-radius: 16px; background: #F1FAF4; font-size: 14.5px; color: var(--hu-ink); }
.fn-card p.cmp b { display: block; font-size: 12.5px; font-weight: 900; color: #17694E; margin-bottom: 2px; }
.fn-card p.tip { font-size: 14.5px; font-weight: 700; color: var(--hu-primary-ink); }
.pm-ex { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1.5px dashed var(--hu-line); }
.pm-ex:first-of-type { border-top: 0; padding-top: 0; }
.pm-ex:last-child { padding-bottom: 0; }
.pm-ex b { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.fn-card p.cmp2 { font-size: 14px; font-weight: 700; color: #17694E; }
.pm-sum > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-top: 1.5px dashed var(--hu-line); }
.pm-sum > div:first-of-type { border-top: 0; padding-top: 0; }
.pm-sum > div:last-child { padding-bottom: 0; }
.pm-day { align-items: center; text-align: center; background: linear-gradient(160deg, #FFF6DC 0%, #E6F6EC 100%); border-color: #CFE7D6; }
.pm-day .t { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.35; }
.pm-day .st { font-size: 22px; color: var(--hu-star); letter-spacing: 3px; }
.pm-drow { display: flex; flex-direction: column; gap: 5px; padding: 13px 0; border-top: 1.5px dashed var(--hu-line); }
.pm-drow:first-of-type { border-top: 0; padding-top: 0; }
.pm-drow:last-child { padding-bottom: 0; }
.pm-drow .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pm-drow .top i { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.pm-drow .top b { font-size: 16.5px; font-weight: 900; letter-spacing: -0.03em; }
.pm-drow .top .lv { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.pm-drow .top .lv.good { background: #E3F5EA; color: #17694E; }
.pm-drow .top .lv.mid { background: #EEF1F7; color: #4A5370; }
.pm-drow .top .lv.care { background: #FFEFD9; color: #9A5B00; }
.pm-drow .top .st { margin-left: auto; font-size: 15px; color: var(--hu-star); letter-spacing: 1px; }
.fn-card p.tail { font-size: 14.5px; color: var(--hu-muted); }
.pm-kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pm-kit > div { padding: 12px; border-radius: 16px; background: #F7F2EA; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.pm-kit span { font-size: 12.5px; font-weight: 800; color: var(--hu-muted); }
.pm-kit b { font-size: 15.5px; font-weight: 900; letter-spacing: -0.03em; word-break: keep-all; }
.pm-li { display: flex; flex-direction: column; gap: 2px; }
.fn-big.palm { background: #DDF3E8; }
.hm-fn .row .palm { background: #DDF3E8; }
.lf-card.c5 { grid-column: auto; }
.lf-card.c6 { background: #DAD9F5; } .lf-card.c7 { background: #DDF3E8; }
.lf-cards > .lf-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
