/* 홈 구성 (2차) */
.pill{background:#fff;border:1.5px solid var(--ink);border-radius:99px;font-size:12px;font-weight:700;padding:2px 10px;white-space:nowrap;color:var(--ink)}
.sec{margin:34px 0 14px}
.sec h2{font-family:var(--sans);font-weight:700;font-size:19px;letter-spacing:-.3px}

/* 캐러셀 */
.hero.light{background:linear-gradient(115deg,#cfe0fb 0%,#e7eefc 48%,#f7ecd2 100%)!important;color:var(--ink)}
.hero.light h2,.hero.light p{text-shadow:none!important}
.hero.light h2{font-size:30px!important;font-family:var(--sans);font-weight:500;letter-spacing:-.5px}
.hero.light p{color:#3a4257}
.hero.light .go{background:#fff;box-shadow:0 2px 10px rgba(40,60,120,.12)}
.hero .hd{position:absolute;right:-8px;bottom:-6px;height:86%;pointer-events:none;filter:drop-shadow(0 8px 14px rgba(40,50,90,.22))}
.hero .tg,.hero>div,.hero .go{position:relative;z-index:1}
.hero .go i{font-style:normal;margin-left:8px;opacity:.6}
.dots{gap:0;margin:14px 0 6px}
.dots button{width:44px;height:16px;position:relative;padding:0}
.dots button:after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;background:#cfc7b4}
.dots button.on:after{width:9px;height:9px;margin:-4.5px;background:var(--ink)}

/* 프로모 카드 */
.promo{display:flex;align-items:center;gap:14px;padding:16px;border-radius:22px;background:var(--paper);border:1px solid var(--line);margin-top:12px}
.promo img{width:76px;height:76px;border-radius:18px;object-fit:cover;flex:none}
.promo>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.promo b{font-size:17px;font-weight:600;line-height:1.35;letter-spacing:-.3px}
.promo span{font-size:13.5px;color:var(--sub);line-height:1.45}
.ybtn{font-style:normal;font-weight:700;font-size:15px;padding:11px 16px;border-radius:99px;background:#ffe45c;color:#2b2400;white-space:nowrap}
.promo.two img{width:64px;height:64px;border-radius:12px}
.rbtn{flex:none;width:54px;height:54px;border-radius:50%;border:1.5px solid #cfc7b4;display:grid;place-items:center;font-size:14.5px;font-weight:600;background:#fff}

/* 두 칸 */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.duo-l,.duo-r{border-radius:22px;background:var(--paper);border:1px solid var(--line);overflow:hidden}
.duo-l{display:flex;flex-direction:column;padding:16px;min-height:200px}
.duo .th{position:relative;display:flex;height:56px;margin-bottom:auto}
.duo .th img{width:56px;height:56px;border-radius:12px;object-fit:cover;border:2px solid var(--paper);margin-right:-14px}
.duo .th .pill{position:absolute;right:0;top:0}
.duo-l b{font-size:17px;font-weight:600;margin-top:16px}
.duo-l small{font-size:13.5px;color:var(--sub)}
.duo-r{display:flex;flex-direction:column}
.duo-r>a{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-size:14.5px;border-bottom:1px solid var(--line);background:#f8f4ea}
.duo-r i{font-style:normal;font-size:18px;opacity:.6}
.duo-r>a.fr{flex:1;flex-direction:column;align-items:stretch;justify-content:space-between;border:0;background:var(--paper)}
.duo-r .fr .th{height:40px;margin:0}
.duo-r .fr .th img{width:40px;height:40px;border-radius:10px;margin-right:-10px}
.duo-r .fr b{display:flex;justify-content:space-between;font-size:16px;font-weight:600;margin-top:10px}

.askrow{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 16px;border-radius:18px;background:#eaf0fd;border:1px solid #c9d6f5}
.askrow img{width:42px;height:42px;object-fit:contain}
.askrow b{flex:1;font-size:16.5px;font-weight:600}

/* 가로 넘김 카드 */
.hs{display:flex;gap:12px;overflow-x:auto;margin:0 -16px;padding:2px 16px 6px;scrollbar-width:none;scroll-snap-type:x proximity}
.hs::-webkit-scrollbar{display:none}
.fcard{flex:0 0 62%;scroll-snap-align:start;position:relative;padding:18px 16px;border-radius:20px;background:var(--paper);border:1px solid var(--line);min-height:128px}
.fcard b{display:block;font-size:16px;font-weight:600;line-height:1.4;padding-right:52px}
.fcard .pill{position:absolute;right:14px;top:16px}
.fcard p{margin:10px 0 0;font-size:13.5px;color:var(--sub);line-height:1.5}
.qcard{flex:0 0 80%;scroll-snap-align:start;display:flex;flex-direction:column;padding:20px 20px 18px;border-radius:22px;background:#f1ecdf}
.qcard p{margin:0;font-size:15.5px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.qcard .more{font-size:13.5px;color:var(--sub);margin:8px 0 16px}
.qcard small{font-size:13.5px;color:#4a4f5c}

/* 가이드 목록 */
.glist{display:flex;flex-direction:column;gap:10px}
.glist a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px;border-radius:18px;background:var(--paper);border:1px solid var(--line);font-size:15.5px}
.glist a:active{background:#f6efdd}
.glist i{font-style:normal;font-size:18px;opacity:.65}
.glist span{display:flex;flex-direction:column}.glist small{color:var(--sub);font-size:13px;margin-top:2px}

.foot{margin:36px -16px 0;padding:26px 20px 10px;border-top:1px solid var(--line);background:#efe8d8;font-size:12.5px;color:var(--sub)}
.foot b{font-family:var(--serif);font-size:16px;color:var(--ink)}
.foot p{margin:8px 0 0;line-height:1.6}
.foot nav{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-size:13px;color:var(--ink)}

/* 하단 도사 버튼 */
.tabs .fab em{background:#fff6dc;border-color:#fff}
.tabs .fab em img{object-fit:cover;transform:scale(1.55);transform-origin:50% 22%}
.tabs .fab span{color:var(--ink);font-weight:800}

/* 상담 */
.dosa-say{display:flex;align-items:flex-end;gap:6px;margin-bottom:14px}
.dosa-say img{width:118px;flex:none}
.bub{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:20px 20px 20px 4px;padding:14px 16px;font-family:var(--serif);font-size:16px;margin-bottom:26px}

/* 일간, 카드 사전 */
.simg{width:100%;border-radius:16px;display:block;margin-bottom:10px}
.acc summary span b{font-family:var(--serif)}
.dgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 8px}
.dc{text-align:center;font-size:11.5px;line-height:1.3}
.dc img{width:100%;border-radius:8px;display:block;margin-bottom:4px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.cardtop{display:flex;gap:16px;align-items:center;margin:12px 0 16px}
.cardtop img{width:120px;border-radius:10px;box-shadow:0 5px 14px rgba(0,0,0,.28)}

.hero .hd{height:76%;right:-4px;bottom:0}
.hero.light h2{font-size:27px!important}
.hero.light p{max-width:52%}
.hero{padding-left:26px!important}
.arw.l{left:-10px}.arw.r{right:-10px}
.arw{width:36px;height:36px;border:1px solid var(--line)}

/* 상담 채팅 */
.chat{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.me-b{align-self:flex-end;max-width:82%;background:var(--indigo);color:#fff;padding:11px 15px;border-radius:18px 18px 4px 18px;font-size:15px}
.do-b{display:flex;gap:8px;align-items:flex-start}
.do-b>img{width:44px;height:44px;border-radius:50%;background:#fff6dc;object-fit:cover;object-position:50% 12%;flex:none;border:1px solid var(--line)}
.do-b>div{background:var(--paper);border:1px solid var(--line);border-radius:4px 18px 18px 18px;padding:13px 15px;max-width:calc(100% - 52px)}
.do-b p{margin:0 0 10px;font-size:15.5px;line-height:1.7}.do-b p:last-child{margin:0}
.dots3{display:flex;gap:5px;padding:4px 2px}.dots3 i{width:7px;height:7px;border-radius:50%;background:#b9b09a;animation:bl 1s infinite}.dots3 i:nth-child(2){animation-delay:.2s}.dots3 i:nth-child(3){animation-delay:.4s}
@keyframes bl{0%,80%,100%{opacity:.3}40%{opacity:1}}
#askbox .chips{gap:7px}#askbox .chip{padding:8px 12px;font-size:13.5px}
