/* 밝은 고르는 페이지(홈·매장·상세) — 2026-11-18. 참길명리원 홈(styles.css .hm-*)과 같은 결: 한지 바탕·남색 글씨·금빛 딱지.
   나중에 한 앱(운길)으로 합칠 때 두 사이트가 같아 보이게. 머리 줄(.bth)·하단 바는 밤색 그대로, 본문만 밝다.
   쓰는 법: <html class="lt"> + 이 파일. 결과·무료 놀이처럼 카드를 뒤집는 화면은 밤 바탕 그대로(shop.css). */
html.lt body { background: #f5efe2; color: #2a2418; }
html.lt body::before { display: none; }
.lt-main { padding-bottom: 12px; word-break: keep-all; --lt-card: 150px; }
.lt-main a { color: inherit; text-decoration: none; }
.lt-main img { height: auto; }

/* 오늘의 한 장 — 맨 위 밤 장면(참길 「오늘 인사」 자리) */
.lt-hero { position: relative; overflow: hidden; min-height: 330px; padding: 22px 18px 34px; color: #f6efdc; border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(10,16,30,.25), rgba(10,16,30,.7)), url(/assets/story/s1-w.webp) center 30% / cover, #121a2c; }
.lt-hero .eb { margin: 0 0 8px; font-size: 12.5px; opacity: .8; }
.lt-hero h1 { margin: 0; max-width: 230px; font: 600 23px/1.42 "Noto Serif KR", serif; }
.lt-hero p { max-width: 200px; margin: 8px 0 0; font-size: 13px; line-height: 1.55; opacity: .85; }
.lt-hero .owl { position: absolute; right: -6px; bottom: 0; height: 236px !important; width: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); pointer-events: none; }
.lt-pick { display: flex; gap: 9px; margin-top: 18px; }
.lt-pick a { width: 52px; height: 86px; border-radius: 7px; border: 1px solid rgba(233,217,168,.7);
  background: radial-gradient(circle at 50% 50%, rgba(233,217,168,.35) 0 9px, transparent 10px), repeating-linear-gradient(45deg, rgba(233,217,168,.12) 0 2px, transparent 2px 7px), #1a2540;
  box-shadow: 0 4px 10px rgba(0,0,0,.35); transition: transform .2s ease; }
.lt-pick a:nth-child(2) { transform: translateY(-6px); }
.lt-pick a:hover, .lt-pick a:focus-visible { transform: translateY(-10px); }
.lt-hero .go { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #e9d9a8 !important; }

/* 고민 칸(참길 장르 한자 칸 자리) — 카드 그림 조각 + 이름, 누르면 그 진열대로 */
.lt-sec { padding: 18px 14px 16px; border-top: 7px solid #ece4d1; }
.lt-sec.first { border-top: 0; }
.lt-sh { margin: 0 0 12px; font: 700 19px/1.35 "Noto Serif KR", serif; color: #1a2540; }
.lt-ic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lt-ic a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px 8px; border: 1px solid #e0d6bd; border-radius: 12px; background: #fffaf0; font-size: 12.5px; line-height: 1.25; text-align: center; color: #2a2418; }
.lt-ic img { width: 38px; height: 38px !important; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 1px solid #d2c8ae; }

/* 큰 띠(2027) — 참길 .hm-ban */
.lt-ban { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 14px 6px; scrollbar-width: none; }
.lt-ban::-webkit-scrollbar { display: none; }
.lt-ban a { position: relative; flex: none; width: 88%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; scroll-snap-align: center; color: #fff !important; }
.lt-ban img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lt-ban span { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 16px 14px; background: linear-gradient(transparent, rgba(12,16,30,.8)); }
.lt-ban small { font-size: 12px; opacity: .85; }
.lt-ban b { display: block; font: 700 18px/1.38 "Noto Serif KR", serif; }
.lt-ban .lt-prem { position: absolute; left: 11px; top: 10px; }

/* 진열대 머리 — 마스터 얼굴 + 회색 한 줄 + 굵은 고민 + 모두 보기 */
.lt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.lt-head img { width: 44px; height: 44px !important; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; border: 1px solid #d2c8ae; }
.lt-head h2 { margin: 0; font: 700 19px/1.35 "Noto Serif KR", serif; color: #1a2540; }
.lt-eb { margin: 0 0 1px; font-size: 13px; color: #6f6449; }
.lt-more { margin-left: auto; align-self: flex-end; flex: none; font-size: 12.5px; color: #6f6449 !important; padding: 4px 0; }

.lt-rail { display: flex; gap: 11px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.lt-rail::-webkit-scrollbar { display: none; }
.lt-card { flex: none; width: var(--lt-card); scroll-snap-align: start; }
.lt-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; background: #e6dcc4; }
.lt-card.v { width: 122px; }
.lt-card.v img { aspect-ratio: 2 / 3; }
.lt-cv { position: relative; display: block; container-type: inline-size; }
.lt-cv b { position: absolute; left: 16%; right: 16%; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 7.6cqw/1.35 "Noto Serif KR", serif; color: #3b3220; word-break: keep-all; }
.lt-t { margin-top: 7px; font-size: 14px; font-weight: 500; line-height: 1.38; color: #2a2418; }
.lt-m { margin-top: 3px; font-size: 12px; line-height: 1.4; color: #6f6449; }
.lt-m em { font-style: normal; font-weight: 700; color: #8a6a1c; }
.lt-big { display: block; margin-bottom: 13px; }
.lt-big img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #e6dcc4; }
.lt-big .lt-t { font: 700 16.5px/1.38 "Noto Serif KR", serif; }
.lt-list { list-style: none; margin: 0; padding: 0; }
.lt-list a > span { min-width: 0; }
.lt-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #e6dcc4; font-size: 14.5px; line-height: 1.4; color: #2a2418; }
.lt-list i { flex: none; font-style: normal; font-size: 12px; color: #6f6449; text-align: right; white-space: nowrap; }
.lt-list i em { font-style: normal; font-weight: 700; color: #8a6a1c; }
/* 유료 표시 — 참길 .hm-prem 과 같은 딱지(가격은 홈에 쓰지 않는다) */
.lt-prem { display: inline-block; margin-right: 5px; padding: 0 6px; border-radius: 4px; background: #f4e7c2; color: #8a6418; font-size: 10.5px; font-weight: 700; line-height: 17px; vertical-align: 1px; font-style: normal; }
.lt-prem::before { content: "♛"; margin-right: 2px; }

/* 무료 카드(가볍게 먼저 보기) — 세로 카드 그림 */
.lt-free { flex: none; width: 104px; text-align: center; scroll-snap-align: start; }
.lt-free img { display: block; width: 100%; aspect-ratio: 104 / 174; object-fit: cover; border-radius: 9px; background: #e6dcc4; }
.lt-free .lt-t { font-size: 13px; }

/* 사이에 끼는 무료 칸 — 참길 .hm-wd */
.lt-wd { display: flex; gap: 14px; align-items: center; margin: 14px; padding: 15px; border-radius: 14px; background: #fffaf0; border: 1px solid #d9c98f; }
.lt-wd img { width: 50px; height: 84px; object-fit: cover; border-radius: 6px; flex: none; }
.lt-wd b { display: block; font: 700 16.5px/1.4 "Noto Serif KR", serif; color: #1a2540; }
.lt-wd p { margin: 3px 0 6px; font-size: 13px; line-height: 1.5; color: #5b5240; }
.lt-go { display: block; font-size: 13.5px; font-weight: 700; color: #8a6a1c; }
.lt-wd.dk { background: #1a2540; border-color: #1a2540; }
.lt-wd.dk b, .lt-wd.dk .lt-go { color: #e9d9a8; }
.lt-wd.dk p { color: #d9d3c2; }

/* 맨 끝 — 믿을 거리 + 전부 보기 */
.lt-trust { margin: 8px 14px 18px; padding: 18px; border-radius: 14px; background: #1a2540; color: #e7e3d6; font-size: 14px; line-height: 1.6; }
.lt-trust b { display: block; font: 700 16.5px "Noto Serif KR", serif; color: #e9d9a8; margin-bottom: 6px; }
.lt-trust p { margin: 0 0 8px; }
.lt-trust a { display: block; margin-top: 4px; color: #e9d9a8 !important; font-size: 13.5px; }
.lt-all { display: block; margin: 18px 14px 0; padding: 14px; border-radius: 12px; text-align: center; background: #fffaf0; border: 1px solid #d2c8ae; font-size: 15px; font-weight: 700; color: #1a2540 !important; }
.lt-story { display: block; margin: 14px 0 0; text-align: center; font-size: 13px; color: #8f8468 !important; }

/* 바닥글 — 밝은 바탕에선 남색 띠로 */
html.lt .btf { background: #1a2540; margin-top: 28px; }

/* 매장(/products/) — 참길 매장(.hm-sban·.hm-tg·.hm-ic·.hm-grid)과 같은 결 */
.lt-mban { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 14px 6px; scrollbar-width: none; }
.lt-mban::-webkit-scrollbar { display: none; }
.lt-mban a { position: relative; flex: none; width: 86%; min-height: 168px; border-radius: 16px; overflow: hidden; scroll-snap-align: center; background: var(--b-bg, #f3ecdc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.lt-mban img { position: absolute; right: 0; top: 0; width: 46%; height: 100% !important; object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); }
.lt-mban div { position: relative; width: 60%; padding: 16px 0 14px 16px; }
.lt-mban p { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; color: var(--b-t, #1a2540); opacity: .7; }
.lt-mban b { display: block; font: 700 19px/1.32 "Noto Serif KR", serif; color: var(--b-t, #1a2540); }
.lt-mban i { display: block; margin-top: 8px; font-style: normal; font-size: 12px; line-height: 1.45; color: var(--b-t, #1a2540); opacity: .8; }
.lt-mban em { display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--b-t, #1a2540); }
.lt-tg { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px; }
.lt-tg [role=tablist] { display: inline-flex; padding: 3px; border-radius: 99px; background: #ece4d1; }
.lt-tg [role=tab] { font: inherit; font-size: 13.5px; font-weight: 700; padding: 6px 15px; border: 0; border-radius: 99px; background: none; color: #6f6449; cursor: pointer; }
.lt-tg [role=tab].on { background: #1a2540; color: #fff; }
.lt-reset { font: inherit; font-size: 12.5px; border: 0; background: none; color: #6f6449; cursor: pointer; padding: 4px 0; }
.lt-reset.on { color: #1a2540; font-weight: 700; text-decoration: underline; }
.lt-ic.pick { grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 14px; }
.lt-ic button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 2px 7px; border: 1px solid #e0d6bd; border-radius: 11px; background: #fffaf0; font: inherit; font-size: 11.5px; line-height: 1.25; color: #2a2418; cursor: pointer; }
.lt-ic button img { width: 32px; height: 32px !important; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 1px solid #d2c8ae; }
.lt-ic button.on { background: #1a2540; border-color: #1a2540; color: #fff; }
.lt-ic.ms button { border: 0; background: none; padding: 0; font-size: 12px; }
.lt-ic.ms button img { width: 54px; height: 54px !important; object-position: 50% 12%; }
.lt-ic.ms button.on { background: none; color: #1a2540; font-weight: 700; }
.lt-ic.ms button.on img { outline: 3px solid #1a2540; outline-offset: 1px; }
/* 고민별 칸 — 카드 그림을 칸에 꽉 채우고 아래만 어둡게 깔아 흰 글씨(2026-11-19). 카드 테두리는 확대해서 잘라 낸다. 마스터별(.ms)은 얼굴 동그라미 그대로 */
.lt-ic.fill a, .lt-ic.fill button { position: relative; overflow: hidden; justify-content: flex-end; height: 70px; padding: 0 2px 7px; border-color: #d2c8ae; background: #2a2f45; }
.lt-ic.fill.pick button { height: 62px; padding-bottom: 6px; }
.lt-ic.fill img { position: absolute; inset: 0; width: 100%; height: 100% !important; border: 0; border-radius: 0; object-fit: cover; object-position: 50% 18%; transform: scale(1.18); transform-origin: 50% 18%; }
.lt-ic.fill a::after, .lt-ic.fill button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(20, 24, 40, .62) 68%, rgba(20, 24, 40, .92)); }
.lt-ic.fill span { position: relative; z-index: 1; color: #fff; font-weight: 700; font-size: 12.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.lt-ic.fill.pick span { font-size: 12px; }
.lt-ic.fill button.on { border-color: #1a2540; box-shadow: 0 0 0 2px #1a2540; }
.lt-ic.fill button.on::after { background: linear-gradient(rgba(26, 37, 64, .15), rgba(26, 37, 64, .97) 75%); }
.lt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 11px; }
.lt-grid .lt-card { width: auto; }
.lt-gh { margin: 0 0 4px; font: 700 19px/1.35 "Noto Serif KR", serif; color: #1a2540; }
.lt-gp { margin: 0 0 14px; font-size: 13px; color: #6f6449; }
.lt-mcard { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; margin: 0 0 16px; background: var(--b-bg, #f3ecdc); color: var(--b-t, #1a2540); }
.lt-mcard img { width: 64px; height: 64px !important; border-radius: 50%; object-fit: cover; object-position: 50% 12%; flex: none; border: 3px solid #fff; }
.lt-mcard b { display: block; font: 700 17px/1.35 "Noto Serif KR", serif; }
.lt-mcard small { font-size: 13px; color: var(--b-t, #1a2540); opacity: .8; }
.lt-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #e6dcc4; }
.lt-row img { width: 96px; height: 72px !important; object-fit: cover; border-radius: 8px; flex: none; background: #e6dcc4; }
.lt-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lt-row small { font-size: 12px; color: #6f6449; }
.lt-row b { font-size: 15px; font-weight: 600; line-height: 1.4; color: #2a2418; }
.lt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }

/* 홈 팝업(popup.js, 2026-11-19 — 참길 .hm-pop 과 같은 꼴) — 480 칸 안 가운데 카드, 뒤는 어둡게 */
.lt-pop { position: fixed; top: 0; bottom: 0; left: var(--cg-gut, 0); right: var(--cg-gut, 0); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 14, 26, .64); animation: ltPopBg .25s ease; word-break: keep-all; }
.lt-pop-box { width: min(100%, 340px); animation: ltPopIn .3s cubic-bezier(.2, .9, .3, 1.2); }
.lt-pop-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lt-pop-top button { background: none; border: 0; color: #f1ead6; font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer; padding: 4px 2px; }
.lt-pop-top button.x { font-size: 28px; line-height: 1; padding: 0 2px; }
.lt-pop-card { display: block; background: #fffaf0; border-radius: 16px; overflow: hidden; color: #1a2540 !important; text-decoration: none !important; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.lt-pop-card img { display: block; width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; background: #e9dfc7; }
.lt-pop-tx { display: block; padding: 16px 18px 6px; text-align: center; }
.lt-pop-tx small { display: block; font-size: 12.5px; font-weight: 700; color: #7a3b6e; }
.lt-pop-tx b { display: block; margin: 4px 0 6px; font: 700 22px/1.32 "Noto Serif KR", serif; color: #1a2540; }
.lt-pop-tx span { display: block; font-size: 14px; line-height: 1.55; color: #4a5266; }
.lt-pop-go { display: block; margin: 12px 16px 16px; padding: 14px; border-radius: 10px; background: #1a2540; color: #e9d9a8; font-weight: 700; font-size: 15.5px; font-style: normal; text-align: center; }
@keyframes ltPopBg { from { opacity: 0; } }
@keyframes ltPopIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .lt-pop, .lt-pop-box { animation: none; } }
