/* home.css — ① 찾기 · 지역관 전용. 모든 선택자는 #tab-home 안으로 한정, 접두사 h-. 논리 px만 사용. */

/* ===== 폰: 앱 골격 ===== */
#tab-home .h-app{padding:0 0 44px;color:var(--ink)}
#tab-home .h-top{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:6px 18px 10px;background:#fff;border-bottom:1px solid var(--line2)}
#tab-home .h-lang button{height:26px;padding:0 9px;font-size:12px}
#tab-home .h-proto{margin:10px 16px 0;padding:6px 10px;border-radius:8px;background:var(--amber-bg);color:var(--amber-t);font-size:12px;font-weight:600;line-height:1.35}
#tab-home .h-hero{padding:16px 18px 2px}
#tab-home .h-hero .kicker{font-size:11px}
#tab-home .h-h1{font-size:31px;line-height:1.1;font-weight:900;letter-spacing:-0.025em;margin-top:8px}
#tab-home .h-h1 em{font-style:normal;color:var(--teal)}
#tab-home .h-app.ko .h-br-en{display:none}
#tab-home .h-lead{font-size:14.5px;color:var(--sub);margin-top:10px;line-height:1.45}
#tab-home .h-sec{padding:16px 16px 2px}
#tab-home .h-lab{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:800;margin-bottom:10px;line-height:1.25}
#tab-home .h-num{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;font-size:11px;font-weight:800}
#tab-home .h-chips{display:flex;flex-wrap:wrap;gap:7px}
#tab-home .h-chips .chip{cursor:pointer;height:34px;padding:0 13px;transition:transform .15s,background .15s}
#tab-home .h-ck{font-size:12px;font-weight:900}
#tab-home .h-frow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
#tab-home .h-fk{font-size:13px;font-weight:700;color:var(--sub)}
#tab-home .h-seg button{height:30px;padding:0 11px;font-size:13px}
#tab-home .h-pressed{transform:scale(.95)}

/* 지역(클러스터) 카드 */
#tab-home .h-cls{display:flex;flex-direction:column;gap:9px}
#tab-home .h-cl{display:grid;grid-template-columns:92px 1fr;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;transition:transform .15s}
#tab-home .h-cl.on{border:2px solid var(--teal);padding:7px;background:var(--teal-t)}
#tab-home .h-cl img,#tab-home .h-cl .ph-ph{width:92px;height:86px;aspect-ratio:auto;object-fit:cover;border-radius:8px}
#tab-home .h-cl.soon{background:#FAFAF8;border-style:dashed;border-color:#E2C48F}
#tab-home .h-cl.soon img{filter:grayscale(.55);opacity:.75}
#tab-home .h-cl-b{min-width:0;display:flex;flex-direction:column}
#tab-home .h-cl-n{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:16px;font-weight:800;line-height:1.2}
#tab-home .h-st{font-size:11.5px;white-space:nowrap;font-weight:700;padding:2px 7px;border-radius:999px;background:var(--teal-t);color:var(--teal-d)}
#tab-home .h-cl.on .h-st{background:#fff}
#tab-home .h-st.soon{background:var(--amber-bg);color:var(--amber-t)}
#tab-home .h-cl-d{font-size:12.5px;color:var(--sub);margin-top:3px;line-height:1.3}
#tab-home .h-cl-m{display:flex;justify-content:space-between;align-items:flex-end;gap:6px;margin-top:auto;padding-top:6px;font-size:13px;font-weight:600}
#tab-home .h-cl-t{color:var(--ink2)}
#tab-home .h-cl-t.mute{color:var(--gray);font-weight:500}
#tab-home .h-cnt{color:var(--teal-d);font-weight:800;white-space:nowrap}
#tab-home .h-cnt.soon{color:var(--amber-t)}

/* 체험 목록 */
#tab-home .h-exps{padding-top:18px}
#tab-home .h-hint{padding:14px;border:1.5px dashed var(--line);border-radius:12px;color:var(--gray);font-size:13.5px;font-weight:600;text-align:center}
#tab-home .h-eh{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
#tab-home .h-eh-t{font-size:19px;font-weight:900;letter-spacing:-0.01em}
#tab-home .h-eh-s{font-size:12.5px;font-weight:700;color:var(--teal-d);text-align:right}
#tab-home .h-exp{padding:0;overflow:hidden;cursor:pointer;margin-bottom:12px;transition:transform .15s}
#tab-home .h-mwrap{position:relative}
#tab-home .h-media{position:relative}
#tab-home img.h-cimg{display:block;width:100%;height:150px;object-fit:cover;border-radius:0}
#tab-home .ph-ph.h-cimg{width:100%;height:116px;aspect-ratio:auto;border-radius:0;padding-top:24px}
#tab-home .h-badges{position:absolute;left:10px;right:10px;top:10px;display:flex;justify-content:space-between;align-items:center;gap:6px}
#tab-home .h-pn{position:absolute;left:0;right:0;bottom:0;padding:16px 10px 6px;font-size:11px;font-weight:600;color:#fff;background:linear-gradient(rgba(14,34,53,0),rgba(14,34,53,.7))}
#tab-home .ph-ph b{font-size:13px;font-weight:800}
#tab-home .ph-ph span{font-weight:500;opacity:.85}
#tab-home .h-exp-b{padding:11px 14px 13px}
#tab-home .h-exp-t{font-size:17px;font-weight:800;line-height:1.25}
#tab-home .h-exp-h{font-size:12.5px;color:var(--sub);margin-top:2px}
#tab-home .h-exp-m{display:flex;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--ink2);margin-top:7px}
#tab-home .h-dot{color:var(--gray)}
#tab-home .h-exp-f{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid var(--line2)}
#tab-home .h-price{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
#tab-home .h-price small{font-size:12px;font-weight:500;color:var(--sub)}
#tab-home .h-next{font-size:12.5px;font-weight:800;color:var(--teal-d);font-variant-numeric:tabular-nums}
#tab-home .h-next.mute{color:var(--sub);font-weight:600}
#tab-home .h-next.amber{color:var(--amber-t)}
#tab-home .h-also{margin-top:4px;border:1px solid var(--line2);border-radius:12px;background:#FAFAF8;padding:10px 12px}
#tab-home .h-also-h{font-size:12.5px;font-weight:700;color:var(--sub);margin-bottom:6px}
#tab-home .h-also-r{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;width:100%;text-align:left;padding:6px 0;border-top:1px solid var(--line2)}
#tab-home .h-also-r:first-of-type{border-top:0}
#tab-home .h-also-r .tier{height:19px;font-size:11px;padding:0 6px;grid-row:span 2}
#tab-home .h-also-n{font-size:13.5px;font-weight:700;color:var(--ink2)}
#tab-home .h-also-w{font-size:12.5px;color:var(--amber-t);font-weight:600}
#tab-home .h-soonbox{padding:14px;border:1.5px dashed var(--amber);border-radius:12px;background:var(--amber-bg);display:flex;flex-direction:column;gap:8px;align-items:flex-start}
#tab-home .h-soon-t{font-size:15px;font-weight:800;color:var(--amber-t)}
#tab-home .h-soon-s{font-size:13px;color:var(--ink2)}

/* 하단 */
#tab-home .h-foot{padding:20px 16px 0}
#tab-home .h-db{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;background:var(--teal-t)}
#tab-home .h-db-t{font-size:14px;font-weight:800;color:var(--teal-d)}
#tab-home .h-db-s{font-size:12px;color:var(--ink2);margin-top:2px;line-height:1.35}
#tab-home .h-link{display:block;margin-top:12px;font-size:12.5px;font-weight:700;color:var(--teal-d);text-decoration:underline;text-underline-offset:3px}
#tab-home .h-legal{font-size:12px;color:var(--gray);margin-top:8px;line-height:1.4}

/* 자동 시연 탭 표시 */
#tab-home .h-tap{position:absolute;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(60,194,180,.30);border:2.5px solid var(--teal);pointer-events:none!important;z-index:90;animation:h-tap .85s ease-out both}
@keyframes h-tap{0%{transform:scale(.35);opacity:0}25%{transform:scale(1);opacity:1}100%{transform:scale(1.45);opacity:0}}

/* ===== 폰: 상세 바텀 모달 ===== */
#tab-home .h-dmodal .og-modal-h{padding:12px 16px;font-size:15px}
#tab-home .h-mh{display:flex;align-items:center;gap:6px}
#tab-home .h-dmodal .og-modal-b{padding:12px 16px 14px}
#tab-home .h-dt img.h-dimg{display:block;width:100%;height:170px;object-fit:cover;border-radius:10px}
#tab-home .h-dt .ph-ph.h-dimg{width:100%;height:110px;aspect-ratio:auto;border-radius:10px}
#tab-home .h-dt .h-pn{border-radius:0 0 10px 10px}
#tab-home .h-cr{font-size:10px;color:var(--gray);margin-top:4px}
#tab-home .h-dname{font-size:22px;font-weight:900;line-height:1.18;letter-spacing:-0.015em;margin-top:12px}
#tab-home .h-dhost{font-size:13px;color:var(--sub);margin-top:3px}
#tab-home .h-blurb{font-size:14.5px;margin-top:8px;line-height:1.45}
#tab-home .h-box{margin-top:12px;padding:11px 12px;border-radius:10px;background:var(--teal-t)}
#tab-home .h-box.t2{background:var(--bg)}
#tab-home .h-box.t3{background:var(--muted)}
#tab-home .h-box-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;font-weight:800;color:var(--ink)}
#tab-home .h-box-d{font-size:12.5px;font-weight:700;color:var(--teal-d)}
#tab-home .h-box.t2 .h-box-d{color:var(--amber-t)}
#tab-home .h-slots{display:flex;gap:8px;margin-top:8px}
#tab-home .h-slot{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:9px;background:#fff;border:1.5px solid var(--teal);color:var(--teal-d);font-weight:800;font-size:16px}
#tab-home .h-closed{margin-top:8px;font-size:14px;font-weight:800;color:var(--amber-t)}
#tab-home .h-hours{margin-top:6px;font-size:16px;font-weight:800}
#tab-home .h-hours span{font-size:13px;font-weight:600;color:var(--sub)}
#tab-home .h-box-s{font-size:12.5px;color:var(--ink2);margin-top:7px;line-height:1.4}
#tab-home .h-facts{display:grid;grid-template-columns:88px 1fr;gap:7px 10px;margin-top:14px;font-size:13.5px;line-height:1.35}
#tab-home .h-facts dt{color:var(--sub);font-weight:600}
#tab-home .h-facts dd{font-weight:600}
#tab-home .h-inc{margin-top:14px}
#tab-home .h-inc ul{margin-top:6px;padding-left:18px;font-size:13.5px;line-height:1.5}
#tab-home .h-dt .h-legal{margin-top:14px}
#tab-home .h-cta{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px 28px;border-top:1px solid var(--line2);background:#fff;border-radius:0 0 22px 22px}
#tab-home .h-cta-p{min-width:0}
#tab-home .h-cta-s{font-size:11.5px;color:var(--sub);margin-top:1px;white-space:nowrap}
#tab-home .h-add{height:44px;padding:0 16px;font-size:15px;font-weight:800;border-radius:11px;transition:transform .15s}
#tab-home .h-add.h-added{background:var(--teal-d);border-color:var(--teal-d)}

/* 사진 출처 */
#tab-home .h-crl-i{font-size:12.5px;color:var(--sub);margin-bottom:8px;line-height:1.4}
#tab-home .h-cri{display:grid;grid-template-columns:64px 1fr;gap:10px;padding:8px 0;border-top:1px solid var(--line2)}
#tab-home .h-cri img{width:64px;height:46px;object-fit:cover;border-radius:6px}
#tab-home .h-cri-t{font-size:13px;font-weight:700;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#tab-home .h-used{font-size:10px;font-weight:700;color:var(--teal-d);background:var(--teal-t);padding:1px 6px;border-radius:999px}
#tab-home .h-cri-c{font-size:11.5px;color:var(--ink2);margin-top:2px}
#tab-home .h-cri-u{font-size:10px;color:var(--gray);word-break:break-all;margin-top:1px}

/* ===== 엔진 패널: 고정 띠(데이터 3등급 + 현재 조건) ===== */
#tab-home .h-pin{flex:none;padding:12px 20px 12px;border-bottom:1px solid var(--line2);background:#FBFBF9}
#tab-home .h-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#tab-home .h-tierc{border:1px solid var(--line2);border-radius:10px;padding:8px 12px 9px;background:#fff}
#tab-home .h-tierc.t1{border-color:#B7DCD7}
#tab-home .h-tn{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:800;line-height:1.25}
#tab-home .h-tcnt{margin-left:auto;font-size:13px;font-weight:700;color:var(--amber-t);white-space:nowrap}
#tab-home .h-td{font-size:15px;color:var(--sub);margin-top:4px;line-height:1.35}
#tab-home .h-q{display:flex;align-items:center;gap:7px;margin-top:10px;flex-wrap:wrap}
#tab-home .h-ql{font-size:15px;font-weight:800;color:var(--teal-d);margin-right:4px}
#tab-home .h-qc{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:16px;font-weight:700;color:var(--gray)}
#tab-home .h-qc .k{font-size:13px;font-weight:600;color:var(--sub)}
#tab-home .h-qc.set{background:var(--teal-t);border-color:transparent;color:var(--teal-d)}
#tab-home .eng-note{font-size:17px;line-height:1.45}
#tab-home .eng-table{font-size:17px}
#tab-home .eng-kv{font-size:18px;gap:6px 18px}
#tab-home .eng-kv dd{font-weight:600}

/* QA 1차 반영: 지역 단계 배지(시범·미리보기) */
#tab-home .h-st.stage{background:#fff;color:var(--teal-d);border:1px solid var(--teal-l)}
#tab-home .h-cl.on .h-st.stage{background:#fff}
