/* 다다맘의 둥근 글꼴과 클릭 표면. 동작/인증/데이터 로직에는 관여하지 않는다.
   이 파일을 바꿔 배포할 때 HTML의 ?v= 값도 갱신한다(SW cache-first 대응).
   DadaRound: 나눔스퀘어라운드(NAVER Corporation, SIL OFL 1.1, assets/fonts/OFL.txt)를 자주 쓰는 글자만 남겨 줄인 것.
   OFL 규칙상 고친 글꼴은 원래 이름을 못 써서 이름을 바꿨다. 없는 드문 글자는 아래 시스템 글꼴로 보인다. */
@font-face{font-family:'DadaRound';src:url('./assets/fonts/DadaRoundR.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;}
@font-face{font-family:'DadaRound';src:url('./assets/fonts/DadaRoundB.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap;}
@font-face{font-family:'DadaRound';src:url('./assets/fonts/DadaRoundEB.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap;}
:root{--font-ui:'DadaRound',-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;--soft-edge:#EFCDB9;--soft-lift:0 4px 12px rgba(150,95,60,.08);}
body{font-family:var(--font-ui);letter-spacing:0;font-weight:700;font-size:15px;line-height:1.6;}
button,input,select,textarea,.display,.logo-text small,.brand b,.brand .mark,.tag,.rank,.stat b,.kid .v{font-family:var(--font-ui);}
button,input,select,textarea{font-weight:700;}
.helper{font-size:13px;line-height:1.7;font-weight:700;}
.more{font-size:13px;font-weight:800;}
.stat b,.kid .v,.rank{font-weight:800;}
.display,h1,h2,h3{letter-spacing:-.025em;}
.display,h1{font-weight:800;}
.post-body{line-height:1.95;}
.btn,.btn-primary,.btn-ghost,.chip,.chip-f,.cheer,.link-btn,.brand-chip,.topic-card,.pcard,.prod,.gcard,.ocard,.feature-ch .mosaic > a,.navbar button,.pager a{
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
/* 클릭하는 표면은 둥글게, 정적인 정보 칩은 차분하게 구분한다. */
.btn,.btn.primary,.btn.soft,.feature-ch .cta .btn,.feature-ch .cta .btn.primary,.btn-primary,.btn-ghost{
  border-radius:999px;min-height:46px;font-weight:700;line-height:1.45;padding:11px 20px;
}
.btn.primary,.feature-ch .cta .btn.primary,.btn-primary{
  background:#FFE0CF;border-color:#EDBFA5;color:#773B26;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 3px 8px rgba(150,95,60,.06);
}
.btn:not(.primary):not(.soft),.btn-ghost{background:#FFFDF9;border-color:var(--soft-edge);}
.chip,.chip-f,.cheer,.pager a,.pager span{border-radius:999px;font-weight:700;}
.chip,.chip-f{padding:10px 16px;}
.chip.on,.chip-f[aria-pressed="true"],.brand-chip.on{
  border-color:#E8B99D;box-shadow:inset 0 1px 0 #FFFDF9,0 2px 7px rgba(150,95,60,.05);
}
.search{border-radius:999px;padding:5px 6px 5px 8px;min-height:54px;}
.search select,.search button{border-radius:999px;}
.search button{min-height:42px;padding:9px 19px;font-weight:800;}
.nav-row{gap:6px;}
.nav-row a{border:1px solid transparent;border-radius:999px;padding:10px 16px;min-height:44px;margin-block:4px;}
.nav-row a.on{border:1px solid #EFCDB9;border-radius:999px;background:#FFF0E7;box-shadow:inset 0 1px 0 #FFFDF9;color:var(--deep);}
.nav-row .app-link{border-radius:999px;padding:9px 14px;}
.board-tabs{gap:6px;padding-bottom:10px;}
.board-tabs a{border:1px solid transparent;border-radius:999px;padding:10px 16px;min-height:44px;}
.board-tabs a.on{border:1px solid #EFCDB9;background:#FFF0E7;}
.feature-ch{border-radius:28px;}
.feature-ch .facts span{border-radius:14px;padding:7px 11px;line-height:1.5;}
.feature-ch .cta{gap:12px;}
.feature-ch .mosaic > a,.feature-ch .mosaic > span{border-radius:24px;}
.feature-ch .mosaic .fc-invite{border-color:#E8CDA8;}
.feature-ch .lbl b,.dday,.tag{border-radius:999px;}
.topic-card,.pcard,.gcard,.ocard,.prod{border-radius:22px;}
.brand-chip{border-radius:24px;}
.bell{border-radius:50%;min-width:44px;min-height:44px;}
.link-btn{border-radius:999px;}
.vote button{border-radius:26px;}
.form input[type=text],.form textarea,.c-form textarea,.modal-card input,.modal-card textarea,.ma-form select{border-radius:18px;}
.form input[type=file]::file-selector-button{border-radius:999px;}
.form input[type=file]{font-family:var(--font-ui);}
.modal-card{border-radius:28px;}
.popup-hero{border-radius:28px 28px 0 0;}
.segmented{border-radius:999px;background:#F8EEE4;gap:4px;}
.segmented button{border-radius:999px;}
.navbar button.active{border-radius:18px;}
.box a,.box button{border-radius:999px;}
.btn-primary:disabled,.btn:disabled{transform:none;box-shadow:none;}
/* hover는 마우스에서만: 휴대폰 탭 뒤에 떠 있는 상태가 남지 않는다. */
@media (hover:hover) and (pointer:fine){
  .btn:not(:disabled):hover,.btn.primary:not(:disabled):hover,.btn-primary:not(:disabled):hover,.btn-ghost:not(:disabled):hover{transform:translateY(-2px);box-shadow:var(--soft-lift);}
  .chip:hover,.chip-f:hover,.link-btn:hover,.pager a:hover{background:#FFF0E7;border-color:#E8B99D;}
  .topic-card:hover,.pcard:hover,.prod:hover,.brand-chip:hover,.gcard:hover,.feature-ch .mosaic > a:hover{transform:translateY(-2px);box-shadow:var(--soft-lift);border-color:#E8B99D;}
}
.btn:not(:disabled):active,.btn.primary:not(:disabled):active,.btn-primary:not(:disabled):active,.btn-ghost:not(:disabled):active,.chip:not(:disabled):active,.chip-f:not(:disabled):active,.cheer:not(:disabled):active,.nav-row a:active,.board-tabs a:active,.navbar button:active,.brand-chip:active,.topic-card:active,.pcard:active,.prod:active,.pager a:active{
  transform:translateY(1px) scale(.985);box-shadow:inset 0 2px 4px rgba(150,95,60,.08);
}
@media (max-width:720px){
  .btn,.btn.primary,.btn-primary,.btn-ghost{min-height:48px;}
  .nav-row a,.board-tabs a{padding-inline:14px;}
  .feature-ch{border-radius:26px;}
  .feature-ch .fc-in{padding:26px 22px;}
  .feature-ch .cta .btn{padding:13px 20px;}
}
@media (min-width:960px){.navbar button,.nav-site{border-radius:18px;}}
/* 브랜드관: 큰 색면과 굵은 타이포 + 일관된 상품 그리드. 사이드 피드와 분리한다. */
.layout.is-brand{grid-template-columns:minmax(0,1fr);gap:0;}
.layout.is-brand > .side{display:none;}
.brand-mall{display:flex;flex-direction:column;gap:36px;min-width:0;}
.mall-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);overflow:hidden;border:1px solid #EAD8C6;border-radius:30px;background:#FFF3DF;}
.mall-hero-copy{padding:40px 42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;}
.mall-eyebrow{font-size:13px;font-weight:800;letter-spacing:.04em;color:#8E442A;display:flex;align-items:center;gap:8px;}
.mall-eyebrow::before{content:'';width:10px;height:10px;border-radius:50%;background:#ED946B;}
.mall-hero h1{font-size:clamp(30px,3.6vw,46px);font-weight:800;line-height:1.27;letter-spacing:-.045em;margin:0;}
.mall-hero h1 em{font-style:normal;color:#9C452B;}
.mall-hero p{font-size:15px;line-height:1.8;max-width:380px;margin:0;color:#665247;}
.mall-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px;}
.mall-hero-art{position:relative;min-height:330px;background:#EAF2DB;display:grid;place-items:center;padding:36px;isolation:isolate;overflow:hidden;}
.mall-hero-art::before{content:'';position:absolute;width:290px;height:290px;border-radius:50%;background:#F5DB78;right:-48px;top:-62px;z-index:-1;}
.mall-hero-art::after{content:'';position:absolute;width:320px;height:320px;border:42px solid #D0DFBB;border-radius:50%;left:-160px;bottom:-206px;z-index:-1;}
.mall-hero-poster{width:min(100%,255px);min-height:230px;border:1px solid #E3D3BC;border-radius:100px 100px 24px 24px;background:#FFFDF5;box-shadow:10px 12px 0 rgba(145,164,111,.14);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 20px;gap:13px;transform:rotate(-5deg);text-align:center;}
.mall-hero-poster img{width:68px;height:68px;object-fit:cover;border-radius:24px;}
.mall-hero-poster b{font-size:25px;line-height:1.4;font-weight:800;}
.mall-hero-poster span{font-size:12px;letter-spacing:.12em;color:#7A654D;}
.mall-hero-sticker{position:absolute;right:20px;bottom:22px;border:1px solid #E5B9A0;border-radius:999px;padding:10px 17px;background:#FFDEC9;color:#83492D;font-size:13px;font-weight:800;transform:rotate(5deg);}
.mall-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px;flex-wrap:wrap;}
.mall-section-head h2{font-size:25px;font-weight:800;line-height:1.4;margin:0;letter-spacing:-.025em;}
.mall-section-head p{margin:5px 0 0;font-size:14px;color:var(--text2);line-height:1.6;}
.mall-section-head .helper{white-space:nowrap;}
.brand-mall .mall-banners{display:grid;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;padding:0;overflow:visible;}
.brand-mall .mall-banner{min-height:150px;border:1px solid rgba(143,98,58,.1);border-radius:24px;padding:24px;gap:8px;}
.brand-mall .mall-banner b{font-size:23px;font-weight:800;line-height:1.4;}
.brand-mall .mall-banner span{font-size:14px;line-height:1.65;opacity:1;}
.brand-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;}
.brand-card{min-width:0;display:flex;align-items:center;gap:16px;padding:22px;border:1px solid #EBDDCB;border-radius:24px;background:#FFFDF6;transition:transform .16s,box-shadow .16s;}
.brand-card:nth-child(3n+2){background:#FFF0E9;}
.brand-card:nth-child(3n){background:#EDF4E6;}
.brand-card .brand-logo{width:64px;height:64px;flex:0 0 auto;font-size:25px;background:#fff;border:1px solid #EBDFD1;}
.brand-card-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1;}
.brand-card-copy b{font-size:18px;line-height:1.5;font-weight:800;}
.brand-card-copy > span:last-child{font-size:13px;color:var(--text2);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.brand-card-labels{display:flex;gap:5px;flex-wrap:wrap;}
.brand-card-labels .tag{font-size:10px;padding:2px 8px;background:#fff;color:#80503A;border:1px solid #E9D6C3;}
.brand-card-arrow{font-size:22px;color:#8D6A50;}
.mall-catalog{min-width:0;scroll-margin-top:150px;}
.mall-filter{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:thin;}
.mall-filter .chip{white-space:nowrap;flex:0 0 auto;font-size:14px;min-height:44px;display:inline-flex;align-items:center;gap:7px;scroll-margin-block:150px 24px;}
.mall-filter .chip small{font-size:11px;}
.mall-catalog-summary{display:flex;justify-content:space-between;gap:12px;margin:3px 0 16px;font-size:14px;color:var(--text2);}
.brand-mall .mall-products{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:20px;}
.brand-mall .mall-products[data-count="1"]{max-width:420px;margin-inline:auto;}
.brand-mall .mall-products[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));}
.brand-mall .prod{position:relative;background:#FFFDF8;padding:14px;border-radius:26px;gap:10px;border-color:#E6D6C3;}
.brand-mall .prod .deal{position:absolute;top:24px;left:24px;}
.brand-mall .prod .ph{aspect-ratio:4/3;max-height:300px;border-radius:18px;background:#FFF0CB;}
.brand-mall .prod-wrap:nth-child(4n+2) .ph{background:#F8E5E8;}
.brand-mall .prod-wrap:nth-child(4n+3) .ph{background:#E8F0DD;}
.brand-mall .prod-wrap:nth-child(4n+4) .ph{background:#F5E2CC;}
.brand-mall .prod .ph img{object-fit:contain;padding:12px;}
.product-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;color:#8B7051;}
.product-placeholder svg{width:58px;height:58px;}
.product-placeholder > span{font-size:12px;line-height:1.5;font-weight:700;}
.brand-mall .prod .bn{font-size:13px;font-weight:800;}
.brand-mall .prod .nm{font-size:17px;font-weight:800;line-height:1.6;min-height:54px;}
.brand-mall .prod .was{font-size:13px;}
.brand-mall .prod .now{font-size:20px;font-weight:800;}
.product-price{display:flex;flex-direction:column;gap:6px;}
.brand-mall .product-price{min-height:60px;justify-content:flex-end;margin-top:auto;}
.brand-mall .prod .buy{margin-top:0;background:#FFF0E4;border:1px solid #EED6C1;border-radius:999px;justify-content:center;min-height:44px;font-size:14px;font-weight:800;}
.brand-mall .mall-note{margin:0;background:#F0F5E8;border-color:#DAE4CD;padding:18px 22px;font-size:13px;}
.mall-brand-detail{border:1px solid var(--border);border-radius:28px;background:#FFFDF8;overflow:hidden;}
.mall-brand-detail .brand-head{padding:30px;background:#FFF0DF;}
.mall-brand-detail .mall-sec{padding:24px;}
.mall-brand-detail .mall-note{margin:0 24px 24px;}
.mall-brand-detail .brand-head h1{font-size:30px !important;font-weight:800;}
.mall-brand-detail .brand-head p{font-size:15px !important;}
@media (hover:hover) and (pointer:fine){.brand-card:hover{transform:translateY(-2px);box-shadow:var(--soft-lift);}}
@media (max-width:980px){
  .mall-hero-copy{padding:30px;}.mall-hero-art{padding:26px;}.brand-mall{gap:30px;}
}
@media (max-width:720px){
  .me .btn{padding-inline:14px;}
  .mall-catalog{scroll-margin-top:230px;}
  .mall-filter .chip{scroll-margin-top:230px;}
  .mall-hero{grid-template-columns:1fr;border-radius:26px;}
  .mall-hero-copy{padding:28px 24px;gap:16px;}
  .mall-hero h1{font-size:34px;}.mall-hero p{font-size:14px;}
  .mall-hero-art{min-height:240px;}.mall-hero-poster{min-height:184px;width:210px;padding:20px;gap:10px;}
  .mall-hero-poster img{width:52px;height:52px;}.mall-hero-poster b{font-size:21px;}
  .mall-hero-actions{width:100%;}.mall-hero-actions .btn{flex:1;}
  .brand-directory-grid{grid-template-columns:1fr;gap:10px;}
  .brand-card{padding:16px;gap:12px;}.brand-card .brand-logo{width:54px;height:54px;font-size:23px;}
  .brand-card-copy b{font-size:16px;}.mall-section-head h2{font-size:22px;}
  .brand-mall .mall-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .brand-mall .mall-products[data-count="1"]{grid-template-columns:1fr;max-width:360px;}
  .brand-mall .prod{padding:10px;gap:8px;border-radius:20px;}
  .brand-mall .prod .deal{top:18px;left:18px;}
  .brand-mall .prod .ph{aspect-ratio:1;border-radius:14px;}
  .brand-mall .prod .nm{font-size:14px;min-height:46px;}.brand-mall .prod .now{font-size:17px;}
  .brand-mall .prod .bn{font-size:12px;}.brand-mall .prod .buy{font-size:12px;min-height:42px;}
  .brand-mall .mall-banner{padding:22px;min-height:140px;}.brand-mall .mall-banner b{font-size:20px;}
  .product-placeholder svg{width:44px;height:44px;}.product-placeholder > span{font-size:10px;}
  .mall-brand-detail .brand-head{padding:24px 20px;}.mall-brand-detail .mall-sec{padding:20px 14px;}
  .mall-brand-detail .mall-note{margin:0 14px 20px;}.mall-catalog-summary{font-size:12px;}
}
/* 홈·커뮤니티·챌린지: 브랜드관과 같은 큰 색면, 둥근 그래픽, 또렷한 위계. */
.warm-page{display:flex;flex-direction:column;gap:30px;min-width:0;}
.stack[data-page="home"]{gap:30px;}
.warm-page .page-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);padding:0;gap:0;overflow:hidden;border:1px solid #EAD8C6;border-radius:30px;background:#FFF3DF;}
.page-hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:17px;padding:32px;min-width:0;}
.warm-page .page-hero h1{font-size:clamp(30px,3.3vw,42px);font-weight:800;line-height:1.3;letter-spacing:-.04em;margin:0;overflow-wrap:anywhere;}
.page-hero h1 em,.feature-ch h1 em{font-style:normal;color:#9C452B;}
.page-hero-desc{margin:0;font-size:15px;color:#665247;line-height:1.8;}
.page-hero-art{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;min-height:260px;background:#EAF2DB;}
.page-hero-art::before{content:'';position:absolute;width:230px;height:230px;right:-95px;top:-70px;background:#F5DB78;border-radius:50%;z-index:-1;}
.page-hero-art::after{content:'';position:absolute;width:230px;height:230px;left:-135px;bottom:-150px;border:30px solid #D0DFBB;border-radius:50%;z-index:-1;}
.community-art{min-height:260px;}
.chat-note{position:absolute;width:178px;padding:23px 16px;border-radius:24px 24px 24px 7px;border:1px solid #E4D5BF;background:#FFFDF5;font-size:19px;font-weight:800;box-shadow:6px 7px 0 rgba(145,164,111,.1);text-align:center;}
.chat-note-back{top:48px;left:24px;transform:rotate(-8deg);}
.chat-note-front{right:20px;bottom:38px;transform:rotate(7deg);background:#FFE4D0;border-radius:24px 24px 7px 24px;color:#83492D;}
.chat-note-front span{display:block;margin-top:7px;font-size:20px;color:#9C452B;letter-spacing:.1em;}
.layout.is-social .side{gap:20px;}
.layout.is-social .side .panel{border-radius:24px;box-shadow:none;background:#FFFDF8;}
.layout.is-social .side .panel-h h2{font-size:18px;font-weight:800;}
.layout.is-social .side .me-card{padding:24px;background:#FFF0E5;}
.layout.is-social .side .app-card{background:#EEF4E5;}
.layout.is-social .side li a{padding-block:11px;line-height:1.6;}
.layout.is-social .side .rank{border-radius:50%;width:26px;height:26px;background:#F6EADD;}
.layout.is-social .side .panel-h{padding-bottom:12px;}
/* 홈: 실제 참가작/통계는 그대로 두고 표면과 간격을 통일한다. */
[data-page="home"] .feature-ch{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);border:1px solid #EAD8C6;border-radius:30px;background:#FFF3DF;}
[data-page="home"] .feature-ch .fc-in{padding:32px;gap:20px;}
[data-page="home"] .feature-ch h1{font-size:clamp(32px,3.6vw,44px);font-weight:800;line-height:1.3;}
[data-page="home"] .feature-ch p{font-size:15px;line-height:1.85;}
[data-page="home"] .feature-ch .facts span{font-weight:700;background:#FFFCF5;border-color:#E9D7BF;border-radius:12px;}
[data-page="home"] .feature-ch .mosaic{position:relative;isolation:isolate;background:#EAF2DB;padding:26px 18px;gap:12px;grid-auto-rows:minmax(165px,1fr);}
[data-page="home"] .feature-ch .mosaic::before{content:'';position:absolute;right:-75px;top:-75px;width:210px;height:210px;border-radius:50%;background:#F5DB78;z-index:-1;}
[data-page="home"] .feature-ch .mosaic > a,[data-page="home"] .feature-ch .mosaic > span{background:#FFFDF5;border-color:#DDDBC2;min-height:200px;}
[data-page="home"] .feature-ch .mosaic > a:first-child{border-radius:80px 80px 24px 24px;}
[data-page="home"] .feature-ch .mosaic .fc-invite{border-radius:24px;border-style:solid;background:#FFF3D4;}
[data-page="home"] .feature-ch .fc-invite::before{content:'♡';display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#FFFCF3;color:#9C452B;font-size:30px;}
[data-page="home"] .feature-ch .fc-invite b{font-weight:800;line-height:1.5;}
[data-page="home"] .feature-ch .fc-entry-name{font-weight:800;font-size:21px;}
[data-page="home"] .feature-ch .fc-entry-name::before{font-weight:700;}
[data-page="home"] .feature-ch .mosaic.is-empty .fc-invite{max-width:300px;width:100%;justify-self:center;}
[data-page="home"] .home-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 24px;padding:28px;border-color:#DAE3CE;border-radius:26px;background:#EEF4E5;box-shadow:none;}
[data-page="home"] .home-intro h2{font-size:25px;line-height:1.5;font-weight:800;}
[data-page="home"] .home-intro .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;grid-column:1;}
[data-page="home"] .home-intro .stat{padding:12px 14px;border:1px solid #E0E5D5;border-radius:18px;background:#FFFDF6;}
[data-page="home"] .home-intro .stat b{font-size:27px;font-weight:800;line-height:1.4;}
[data-page="home"] .home-intro .stat span{font-size:12px;}
[data-page="home"] .home-intro > .btn{grid-column:2;grid-row:1/3;}
[data-page="home"] > .panel{border-radius:26px;box-shadow:none;}
[data-page="home"] .panel-h{padding:24px 24px 20px;}
[data-page="home"] .panel-h h2{font-size:24px;font-weight:800;line-height:1.4;}
[data-page="home"] .post-cards{padding:0 24px 24px;gap:14px;}
[data-page="home"] .pcard{padding:20px;border-radius:22px;background:#FFF6E5;border-color:#EBDCC4;gap:12px;}
[data-page="home"] .pcard:nth-child(4n+2){background:#FFF0E9;}
[data-page="home"] .pcard:nth-child(4n+3){background:#EDF4E6;}
[data-page="home"] .pcard:nth-child(4n+4){background:#F9EEF1;}
[data-page="home"] .pcard .t{font-size:17px;font-weight:800;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
[data-page="home"] .pcard .b{font-size:14px;line-height:1.8;min-height:50px;}
[data-page="home"] .pcard .m{flex-wrap:wrap;gap:6px 10px;margin-top:auto;line-height:1.7;}
[data-page="home"] .topic-grid{gap:14px;}
[data-page="home"] .topic-card{padding:22px 18px;border-radius:24px;gap:12px;}
[data-page="home"] .topic-card .em{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#FFFDF8;font-size:25px;}
[data-page="home"] .topic-card b{font-size:18px;font-weight:800;}
[data-page="home"] .topic-card span:not(.em){font-size:13px;line-height:1.75;}
[data-page="home"] .home-mall .prod-grid{gap:14px;}
[data-page="home"] .home-mall .prod{padding:10px;border-radius:20px;background:#FFFDF8;}
[data-page="home"] .home-mall .prod .ph{background:#FFF0CB;border-radius:14px;}
[data-page="home"] .home-mall .prod-wrap:nth-child(2n) .ph{background:#E8F0DD;}
/* 커뮤니티: 시기/정렬을 분리하고 표의 의미는 유지하며 카드형 행으로 보인다. */
.community-page .board-panel{border-radius:26px;box-shadow:none;background:#FFFDF8;}
.community-page .board-tabs{padding:20px 20px 14px;gap:7px;border-bottom:1px solid #EEE0CF;}
.community-page .board-tabs a{font-size:14px;font-weight:800;}
.community-page .board-filters{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:8px;padding:14px 20px;background:#FFF9EE;overflow:visible;}
.board-filter-group{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:3px 2px 6px;scrollbar-width:thin;min-width:0;}
.board-filter-group .filter-label{flex:0 0 58px;font-size:12px;font-weight:800;color:var(--text2);}
.board-filter-group .chip{flex:0 0 auto;white-space:nowrap;}
.community-page #list-body,[data-page="home"] #home-new{padding:8px 18px 16px;}
.community-page .list,[data-page="home"] #home-new .list{border-collapse:separate;border-spacing:0 10px;}
.community-page .list th,[data-page="home"] #home-new .list th{padding:8px;font-size:12px;border:0;}
.community-page .list td,[data-page="home"] #home-new .list td{padding:18px 8px;background:#fff;border-block:1px solid #EDE0CE;}
.community-page .list td:first-child,[data-page="home"] #home-new .list td:first-child{border-left:1px solid #EDE0CE;border-radius:18px 0 0 18px;}
.community-page .list td:last-child,[data-page="home"] #home-new .list td:last-child{border-right:1px solid #EDE0CE;border-radius:0 18px 18px 0;}
.community-page .list .c-no{width:44px;}
.community-page .list .c-author,[data-page="home"] #home-new .list .c-author{width:120px;}
.community-page .list .title a,[data-page="home"] #home-new .list .title a{font-size:15px;font-weight:800;line-height:1.7;}
.community-page .list .pin td{background:#FFF3D4;}
.community-page .list tbody tr:hover td,[data-page="home"] #home-new .list tbody tr:hover td{background:#FFFAF0;}
.community-page .foot{padding:16px 4px 0;}
.community-page .empty{background:#FFF9EC;border-radius:22px;margin:10px 0 0;padding:38px 20px;}
/* 챌린지: 참여 정보 → 방법 → 실제 참가작, 같은 디자인 언어로 구분한다. */
.challenge-page .page-hero{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);}
.challenge-page .page-hero .dday{font-size:12px;padding:5px 10px;border:1px solid #E7D4BD;white-space:nowrap;}
.challenge-facts{display:flex;gap:8px;flex-wrap:wrap;}
.challenge-facts > span{padding:7px 10px;border:1px solid #E7D7BD;border-radius:12px;background:#FFFCF4;font-size:12px;line-height:1.6;color:#665247;}
.challenge-art{align-self:stretch;padding:26px 18px;}
.first-step-poster{position:relative;width:min(100%,235px);padding:28px 18px;border:1px solid #DFD9C4;border-radius:100px 100px 24px 24px;background:#FFFDF5;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;transform:rotate(-5deg);box-shadow:8px 9px 0 rgba(145,164,111,.12);}
.first-step-poster .footprint{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#FFF0CB;font-size:36px;}
.first-step-poster b{font-size:25px;font-weight:800;line-height:1.45;}
.first-step-poster > span:last-child{font-size:12px;color:#7A654D;line-height:1.6;}
.challenge-guide .mall-section-head{margin-bottom:16px;}
.challenge-guide .ch-steps{padding:0;gap:12px;}
.challenge-guide .ch-steps > div{padding:22px 18px;border-radius:24px;border-color:#E9DAC4;}
.challenge-guide .ch-steps b{display:grid;place-items:center;width:58px;height:34px;border-radius:999px;background:#FFFDF7;border:1px solid #E7D7C0;font-size:12px;font-weight:800;margin-bottom:14px;}
.challenge-guide .ch-steps span{font-size:14px;line-height:1.8;}
.challenge-guide .ch-steps div:nth-child(1){background:#FFF0E3;}.challenge-guide .ch-steps div:nth-child(2){background:#FFF4D4;}.challenge-guide .ch-steps div:nth-child(3){background:#EDF4E5;}
.challenge-gallery{border-radius:26px;box-shadow:none;background:#FFFDF8;}
.challenge-gallery .panel-h{padding:24px 24px 18px;}.challenge-gallery .panel-h h2{font-size:24px;font-weight:800;}
.challenge-gallery .sub{padding:4px 24px 18px;background:transparent;border:0;}
.challenge-gallery .gallery{padding:0 24px 24px;gap:16px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));}
.challenge-gallery .gcard{border-radius:24px;background:#FFFDF8;}
.challenge-gallery .gcard .ph{background:#FFF0CB;}.challenge-gallery .gcard:nth-child(2n) .ph{background:#E8F0DD;}
.challenge-gallery .gcard .in{padding:18px;gap:10px;}
.challenge-gallery .gcard .nm{font-size:17px;font-weight:800;}.challenge-gallery .gcard .nt{font-size:14px;line-height:1.8;}
.challenge-gallery .cheer{min-height:46px;background:#FFF0E4;border-color:#E8CBB1;}
.challenge-gallery .cheer[aria-pressed="true"]{background:#FFE0CF;color:#773B26;}
.challenge-gallery .empty{border:1px dashed #DFCFAF;border-radius:24px;background:#FFF6DD;}
@media (max-width:1100px) and (min-width:981px){
  .page-hero-copy,[data-page="home"] .feature-ch .fc-in{padding:24px;}
  .chat-note{width:145px;font-size:16px;}.chat-note-back{left:10px;}.chat-note-front{right:10px;}
  [data-page="home"] .home-intro{grid-template-columns:1fr;}
  [data-page="home"] .home-intro > .btn{grid-row:auto;grid-column:auto;justify-self:start;}
}
@media (max-width:720px){
  .warm-page,.stack[data-page="home"]{gap:26px;}
  .warm-page .page-hero,[data-page="home"] .feature-ch{grid-template-columns:1fr;border-radius:26px;}
  .page-hero-copy,[data-page="home"] .feature-ch .fc-in{padding:26px 22px;gap:17px;}
  .warm-page .page-hero h1,[data-page="home"] .feature-ch h1{font-size:34px;}
  .page-hero-desc,[data-page="home"] .feature-ch p{font-size:14px;line-height:1.8;}
  .community-page .page-hero{grid-template-columns:minmax(0,1fr);}.community-art{display:none;}
  .page-hero-copy > .btn{width:100%;}
  [data-page="home"] .feature-ch .mosaic{padding:20px 16px;grid-auto-rows:minmax(175px,1fr);}
  [data-page="home"] .feature-ch .mosaic > a,[data-page="home"] .feature-ch .mosaic > span{min-height:190px;}
  [data-page="home"] .feature-ch .fc-entry-name{font-size:19px;}
  [data-page="home"] .home-intro{grid-template-columns:1fr;padding:22px;gap:18px;}
  [data-page="home"] .home-intro h2{font-size:23px;}
  [data-page="home"] .home-intro .stat{padding:12px 8px;}
  [data-page="home"] .home-intro .stat b{font-size:26px;}[data-page="home"] .home-intro .stat span{font-size:11px;}
  [data-page="home"] .home-intro > .btn{grid-column:1;grid-row:auto;}
  [data-page="home"] .panel-h{padding:22px 18px 18px;}[data-page="home"] .panel-h h2{font-size:22px;}
  [data-page="home"] .post-cards{padding:0 18px 18px;}[data-page="home"] .pcard{padding:18px;}
  [data-page="home"] .topic-grid{gap:12px;}[data-page="home"] .topic-card{padding:20px 16px;}
  .community-page .board-tabs{padding:16px 12px 12px;}
  .community-page .board-filters{padding:12px;gap:5px;}.board-filter-group .filter-label{flex-basis:50px;font-size:11px;}
  .community-page .board-filter-group .chip{font-size:12px;padding-inline:12px;}
  .community-page #list-body,[data-page="home"] #home-new{padding:6px 12px 14px;}
  .community-page .list tbody,[data-page="home"] #home-new .list tbody{display:flex;flex-direction:column;gap:10px;}
  .community-page .list tbody tr,[data-page="home"] #home-new .list tbody tr{border:1px solid #EDE0CE;border-radius:18px;background:#fff;padding:16px 14px;gap:10px 8px;}
  .community-page .list tbody tr.pin{background:#FFF3D4;}
  .community-page .list td,[data-page="home"] #home-new .list td{padding:0;background:transparent;border-radius:0 !important;}
  .community-page .list .c-author,[data-page="home"] #home-new .list .c-author{width:auto;}
  .community-page .list .title a,[data-page="home"] #home-new .list .title a{font-size:15px;line-height:1.7;}
  .community-page .list tbody tr:hover td,[data-page="home"] #home-new .list tbody tr:hover td{background:transparent;}
  .challenge-page .page-hero{grid-template-columns:1fr;}.challenge-art{min-height:240px;padding:24px;}
  .first-step-poster{padding:20px 18px;gap:12px;width:210px;}.first-step-poster b{font-size:22px;}
  .first-step-poster .footprint{width:48px;height:48px;font-size:28px;}
  .challenge-guide .ch-steps{grid-template-columns:1fr;gap:10px;}
  .challenge-guide .ch-steps > div{display:flex;align-items:center;gap:14px;padding:18px;}
  .challenge-guide .ch-steps b{flex:0 0 56px;margin:0;}.challenge-guide .ch-steps span{font-size:13px;}
  .challenge-gallery .panel-h{padding:22px 18px 16px;}.challenge-gallery .panel-h h2{font-size:22px;}
  .challenge-gallery .sub{padding:2px 18px 16px;}.challenge-gallery .gallery{padding:0 14px 18px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));}
  .challenge-gallery .gcard .in{padding:14px 12px;}.challenge-gallery .gcard .nm{font-size:15px;}.challenge-gallery .gcard .nt{font-size:13px;}
}
/* ── 웹·앱 공용 색 ──
   웹(community.html)과 앱(index.html)이 같이 읽는다. 여기 값을 바꾸면 웹과 앱 홈이 함께 바뀐다. */
:root{
  --w-cream:#FFFDF6; --w-sun:#FFF3DF; --w-peach:#FFF0E9; --w-leaf:#EDF4E6;
  --w-art:#EAF2DB; --w-art-dot:#F5DB78; --w-art-ring:#D0DFBB;
  --w-line:#EBDDCB; --w-ink-soft:#665247; --w-em:#9C452B;
}
/* ── 앱 홈 (index.html #screen-home) — 웹 페이지 머리·브랜드 카드와 같은 모양 ── */
#screen-home .home-top{gap:10px;}
#screen-home .home-top > a.pill{max-width:140px;min-width:0 !important;padding-inline:10px !important;background:var(--w-cream);border-color:var(--w-line);}
#screen-home .home-top #home-bell{margin-right:0 !important;}
.home-logo{width:40px;height:40px;border-radius:13px;flex:0 0 auto;box-shadow:0 4px 12px rgba(150,95,60,.12);}
.home-hero{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid #EAD8C6;border-radius:28px;background:var(--w-sun);}
.hh-top{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.hs-label{font-size:13px;font-weight:800;color:var(--w-ink-soft);}
.hs-value{font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-.04em;color:var(--w-em);}
.hs-age{width:fit-content;font-size:12px;font-weight:800;color:#80503A;background:#fff;border:1px solid #E9D6C3;padding:4px 10px;border-radius:999px;}
.hh-art{position:relative;isolation:isolate;overflow:hidden;flex:0 0 auto;width:92px;height:92px;border-radius:26px;background:var(--w-art);display:grid;place-items:center;}
.hh-art::before{content:'';position:absolute;width:70px;height:70px;right:-26px;top:-24px;background:var(--w-art-dot);border-radius:50%;z-index:-1;}
.hh-art::after{content:'';position:absolute;width:70px;height:70px;left:-36px;bottom:-40px;border:12px solid var(--w-art-ring);border-radius:50%;z-index:-1;}
.hh-art span{font-size:38px;line-height:1;}
.hs-tip{display:flex;flex-direction:column;gap:5px;background:var(--w-cream);border:1px solid #EAD8C6;border-radius:20px;padding:14px 16px;}
.hs-tip-label{font-size:12.5px;font-weight:800;color:var(--w-em);}
.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:0 0 auto;}
.quick-tile{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 2px 11px;min-height:44px;border:1px solid var(--w-line);border-radius:22px;background:var(--w-cream);font-size:12.5px;font-weight:800;line-height:1.3;color:var(--text);text-decoration:none;font-family:var(--font-ui);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease;}
.quick-tile:nth-child(2){background:var(--w-peach);}
.quick-tile:nth-child(3){background:var(--w-leaf);}
.quick-tile:nth-child(4){background:var(--w-sun);}
.quick-tile:active{transform:translateY(1px) scale(.985);}
.quick-ico{width:44px;height:44px;border-radius:16px;background:#fff;border:1px solid #EBDFD1;display:flex;align-items:center;justify-content:center;font-size:22px;}
#screen-home .home-sec-title{font-size:19px;font-weight:800;}
#screen-home #home-missions{border-radius:24px;border-color:var(--w-line);background:var(--w-cream);}
#screen-home #home-feed > .card{border-radius:24px;border-color:var(--w-line);}
.feed-avatar{width:34px;height:34px;border-radius:999px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:#6B4A3A;border:1px solid #EBDFD1;}
/* ── 앱 커뮤니티 (index.html #screen-community) — 웹 커뮤니티 머리(page-hero)를 그대로 쓰고 폰 폭에 맞게 줄인다 ── */
#screen-community .warm-page .page-hero{grid-template-columns:1fr;border-radius:26px;}
#screen-community .page-hero-copy{padding:22px 20px;gap:10px;}
#screen-community .warm-page .page-hero h1{font-size:26px;line-height:1.35;}
#screen-community .page-hero-desc{font-size:13.5px;line-height:1.7;}
#screen-community .app-web-link{font-size:12.5px;font-weight:800;color:var(--w-em);background:#fff;border:1px solid #E9D6C3;border-radius:999px;padding:9px 14px;min-height:40px;display:inline-flex;align-items:center;}
#screen-community #community-tabs{align-self:flex-start;}
#screen-community #community-body > .card,#screen-community #community-body .col > .card{border-radius:24px;border-color:var(--w-line);}
/* ── 앱 홈: 육아기록 큰 카드 (탭에서 빠진 성장 화면 입구) ── */
.growth-cta{display:flex;align-items:center;gap:14px;width:100%;padding:16px 16px 16px 14px;border:1px solid #D9E4C8;border-radius:24px;background:var(--w-leaf);color:var(--text);font-family:var(--font-ui);cursor:pointer;flex:0 0 auto;}
.growth-cta b{font-size:16px;font-weight:800;}
.growth-cta-ico{width:52px;height:52px;flex:0 0 auto;border-radius:18px;background:#fff;border:1px solid #DCE6CD;display:flex;align-items:center;justify-content:center;font-size:26px;}
.growth-cta-go{flex:0 0 auto;font-size:13px;font-weight:800;color:#3F6B49;background:#fff;border:1px solid #CFDDBE;border-radius:999px;padding:8px 12px;white-space:nowrap;}
.growth-cta:active{transform:translateY(1px) scale(.99);}
.quick-grid:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr));}
/* ── 앱 브랜드관 (index.html #screen-brand) — 웹 브랜드관과 같은 색면·카드 ── */
#screen-brand .warm-page .page-hero{grid-template-columns:1fr;border-radius:26px;background:var(--w-sun);}
#screen-brand .page-hero-copy{padding:22px 20px;gap:10px;}
#screen-brand .warm-page .page-hero h1{font-size:26px;line-height:1.35;}
#screen-brand .page-hero-desc{font-size:13.5px;line-height:1.7;}
.app-mall-banners{display:grid;grid-auto-flow:column;grid-auto-columns:88%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none;margin-inline:-20px;padding-inline:20px;}
.app-mall-banners::-webkit-scrollbar{display:none;}
.app-mall-banner{scroll-snap-align:start;min-height:130px;border-radius:24px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;gap:5px;color:var(--text);text-decoration:none;background-size:cover;background-position:center;border:1px solid rgba(143,98,58,.1);position:relative;overflow:hidden;}
.app-mall-banner.img::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,251,247,.05),rgba(255,251,247,.94));}
.app-mall-banner > *{position:relative;}
.app-mall-banner b{font-size:19px;font-weight:800;line-height:1.4;}
.app-mall-banner span{font-size:13px;line-height:1.6;}
#screen-brand .home-feedbar{box-shadow:none;margin-top:0;padding-block:2px;}
.app-brand-list{display:flex;flex-direction:column;gap:10px;}
.app-brand-card{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1px solid var(--w-line);border-radius:22px;background:var(--w-cream);color:var(--text);font-family:var(--font-ui);cursor:pointer;}
.app-brand-card:nth-child(3n+2){background:var(--w-peach);}
.app-brand-card:nth-child(3n){background:var(--w-leaf);}
.app-brand-card.on{border-color:#E8B99D;box-shadow:0 0 0 2px #F6D3BF inset;}
.app-brand-card b{font-size:15.5px;font-weight:800;}
.app-brand-intro{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.app-brand-logo{width:52px;height:52px;flex:0 0 auto;border-radius:50%;background:#fff;border:1px solid #EBDFD1;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:var(--w-em);overflow:hidden;}
.app-brand-logo img{width:100%;height:100%;object-fit:cover;}
.app-brand-info{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--w-line);border-radius:22px;background:var(--w-cream);}
.app-brand-info b{font-size:15.5px;font-weight:800;}
.app-prod-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.app-prod{display:flex;flex-direction:column;gap:5px;min-width:0;padding:10px;border:1px solid var(--w-line);border-radius:20px;background:#FFFDF8;color:var(--text);text-decoration:none;}
.app-prod .ph{aspect-ratio:1;border-radius:14px;background:var(--w-sun);display:flex;align-items:center;justify-content:center;font-size:34px;overflow:hidden;}

.app-prod .ph img{width:100%;height:100%;object-fit:cover;}
.app-prod .deal{align-self:flex-start;font-size:11px;font-weight:800;color:#773B26;background:#FFE0CF;border-radius:999px;padding:2px 8px;}
.app-prod .bn{font-size:11.5px;color:var(--text2);}
.app-prod .nm{font-size:13.5px;font-weight:800;line-height:1.4;word-break:keep-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.app-prod .pr{display:flex;flex-direction:column;}
.app-prod .was{font-size:11.5px;color:var(--text2);text-decoration:line-through;}
.app-prod .now{font-size:15px;font-weight:800;}
.app-prod .pct{color:var(--w-em);margin-right:4px;}
.app-prod .buy{font-size:12px;font-weight:800;color:#A34429;margin-top:2px;}
/* ── 앱 MY (index.html #screen-my) — 홈과 같은 크림 카드·파스텔 칸·한 장짜리 메뉴 ── */
#screen-my > .scroll > .card.my-hero{gap:16px;padding:20px;border:1px solid #EAD8C6;border-radius:28px;background:var(--w-sun);box-shadow:none;}
#screen-my .my-hero .btn-ghost{background:#fff;border-color:#E9D6C3;color:var(--text);}
.my-badge{font-size:11px;font-weight:800;color:#80503A;background:#fff;border:1px solid #E9D6C3;padding:2px 9px;border-radius:999px;}
.my-art{position:relative;isolation:isolate;overflow:hidden;flex:0 0 auto;width:62px;height:62px;border-radius:20px;background:var(--w-art);display:grid;place-items:center;}
.my-art::before{content:'';position:absolute;width:46px;height:46px;right:-18px;top:-16px;background:var(--w-art-dot);border-radius:50%;z-index:-1;}
.my-art::after{content:'';position:absolute;width:46px;height:46px;left:-24px;bottom:-26px;border:9px solid var(--w-art-ring);border-radius:50%;z-index:-1;}
.my-art span{font-size:26px;line-height:1;}
.my-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:0 0 auto;}
.my-stat{display:flex;flex-direction:column;align-items:center;gap:3px;padding:14px 4px;border:1px solid var(--w-line);border-radius:22px;background:var(--w-cream);}
.my-stat:nth-child(2){background:var(--w-peach);}
.my-stat:nth-child(3){background:var(--w-leaf);}
.my-stat .display{font-size:22px;font-weight:800;color:var(--w-em);}
.my-stat span:last-child{font-size:12px;font-weight:700;color:var(--text2);}
.my-menu{display:flex;flex-direction:column;border:1px solid var(--w-line);border-radius:24px;background:var(--w-cream);overflow:hidden;flex:0 0 auto;}
.my-row{display:flex;align-items:center;gap:13px;width:100%;min-height:56px;padding:11px 16px;border:none;background:none;color:var(--text);text-decoration:none;text-align:left;font-family:var(--font-ui);cursor:pointer;}
.my-row + .my-row{border-top:1px solid #F1E6D9;}
.my-row:active{background:#FFF6EC;}
.my-ico{width:38px;height:38px;flex:0 0 auto;border-radius:13px;border:1px solid #EBDFD1;display:flex;align-items:center;justify-content:center;font-size:18px;}
.my-row-label{flex:1;font-size:14.5px;font-weight:800;}
.my-chev{flex:0 0 auto;color:var(--text2);}
.my-count{flex:0 0 auto;font-size:12px;font-weight:800;color:#80503A;background:#fff;border:1px solid #E9D6C3;padding:2px 9px;border-radius:999px;}
#screen-my #my-interest-card,#screen-my #account-card,#screen-my #block-card,#screen-my #family-card{border-radius:24px;border-color:var(--w-line);}
/* ── 앱 화면 전환: 아래 탭을 누르면 본문이 살짝 떠오른다 (과하지 않게 0.2초, 6px) ── */
@keyframes appScreenIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
.scroll.screen-enter{animation:appScreenIn .2s ease-out both;}
/* ── 앱 챌린지 (index.html #screen-challenge) — 홈과 같은 크림 머리 + 초록 그림판 ── */
#screen-challenge .warm-page .page-hero{grid-template-columns:1fr;border-radius:26px;background:var(--w-sun);}
#screen-challenge .page-hero-copy{padding:20px;gap:12px;align-items:stretch;}
#screen-challenge .page-hero-copy .mall-eyebrow{align-self:flex-start;}
#screen-challenge .warm-page .page-hero h1{font-size:28px;line-height:1.3;}
#screen-challenge .page-hero-desc{font-size:13.5px;line-height:1.7;}
#screen-challenge #challenge-prize{display:flex;gap:12px;align-items:flex-start;margin:0;padding:14px 15px;font-size:13.5px;line-height:1.65;word-break:keep-all;background:var(--w-cream) !important;border:1px solid #EAD8C6;border-radius:20px;}
.ch-prize-ico{flex:0 0 auto;width:38px;height:38px;border-radius:13px;background:var(--w-peach);border:1px solid #EBDFD1;display:flex;align-items:center;justify-content:center;font-size:19px;}
#screen-challenge #entries > .card{border-radius:24px;border-color:var(--w-line);background:var(--w-cream);}
#screen-challenge #entries > .card:nth-child(3n+2){background:#FFFBF5;}
#screen-challenge #entries > .card > div[role="img"]{width:76px !important;height:76px !important;border-radius:18px !important;background:var(--w-leaf) !important;}
#screen-challenge > .pad:has(> [data-open-challenge-modal]){background:var(--w-cream) !important;border-top-color:var(--w-line) !important;}
/* ── 앱 혜택·나들이·육아기록 공통 머리 (index.html .app-sub-hero) — 챌린지와 같은 크림 카드 + 초록 그림판 ── */
.app-sub-hero.page-hero,.warm-page .app-sub-hero.page-hero{grid-template-columns:1fr;border-radius:26px;background:var(--w-sun);}
.app-sub-hero .page-hero-copy{padding:20px;gap:10px;align-items:stretch;}
.app-sub-hero .page-hero-copy .mall-eyebrow{align-self:flex-start;}
.warm-page .app-sub-hero.page-hero h1{font-size:27px;line-height:1.3;}
.app-sub-hero .page-hero-desc{font-size:13px;line-height:1.7;}
.growth-hero .page-hero-desc{font-size:12px;}
.outing-hero .hh-art{background:#E3EFE6;}
.benefit-hero .hh-art{background:#F7E9DA;}
/* 목록 카드: 웹 브랜드관 카드와 같은 테두리·색 */
#outing-body > .card,#benefit-body > .card,#screen-growth .scroll > .card{border-radius:24px;border-color:var(--w-line);background:var(--w-cream);box-shadow:none;}
#outing-body > button.card:nth-child(3n+2){background:var(--w-peach);}
#outing-body > button.card:nth-child(3n){background:var(--w-leaf);}
#screen-growth #carelog-card{background:var(--w-leaf);border-color:#D9E4C8;}
#screen-growth #growth-card{background:var(--w-sun);border-color:#EAD8C6;}
#screen-growth #vax-card{background:var(--w-peach);}
#screen-growth [data-care-log].card{background:#fff;border-color:#DCE6CD;border-radius:20px;}
#screen-growth [data-care-log].card svg{width:24px;height:24px;}
#screen-growth .scroll > .col > h2.display{font-size:18px;font-weight:800;}
#screen-growth #timeline-list > .card{border-radius:22px;border-color:var(--w-line);}
#screen-outing #outing-region-group .chip{min-height:38px;padding:7px 14px;font-size:13px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
/* ── 앱 홈 배너 넘기기 ── */
.home-banners{display:flex;flex-direction:column;gap:8px;flex:0 0 auto;}
.hb-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:24px;}
.hb-track::-webkit-scrollbar{display:none;}
.hb-card{scroll-snap-align:start;display:flex;align-items:center;gap:12px;min-height:96px;padding:16px 18px;border:1px solid #EAD8C6;border-radius:24px;color:var(--text);text-decoration:none;}
.hb-card b{font-size:16.5px;font-weight:800;line-height:1.4;}
.hb-card span span,.hb-card .col > span{font-size:13px;color:var(--text2);line-height:1.5;}
.hb-emoji{flex:0 0 auto;width:58px;height:58px;border-radius:18px;background:#fff;border:1px solid #EBDFD1;display:flex;align-items:center;justify-content:center;font-size:28px;}
.hb-dots{display:flex;justify-content:center;gap:6px;}
.hb-dots span{width:6px;height:6px;border-radius:999px;background:#E6D3C2;transition:width .2s ease,background .2s ease;}
.hb-dots span.on{width:18px;background:#C9845F;}
/* ── 앱 홈 이번 주 인기글 ── */
.home-hot{list-style:none;margin:0;padding:4px 0;border:1px solid var(--w-line);border-radius:24px;background:var(--w-cream);}
.home-hot li + li{border-top:1px solid #F1E6D9;}
.home-hot button{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 16px;border:none;background:none;text-align:left;color:var(--text);font-family:var(--font-ui);cursor:pointer;}
.hot-rank{flex:0 0 auto;width:24px;height:24px;border-radius:8px;background:var(--w-sun);color:var(--w-em);font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.home-hot li:nth-child(-n+3) .hot-rank{background:#FFE0CF;color:#773B26;}
.hot-title{flex:1;min-width:0;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hot-meta{flex:0 0 auto;font-size:12px;color:var(--text2);}
/* ── 앱 준비물 체크리스트 · 선물 장부 (#screen-prep) ── */
.prep-hero .hh-art{background:#F3EBDD;}
.prep-progress{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #D9E4C8;border-radius:22px;background:var(--w-leaf);}
.prep-progress b{font-size:15px;font-weight:800;}
.prep-bar{height:10px;border-radius:999px;background:#fff;border:1px solid #DCE6CD;overflow:hidden;}
.prep-bar span{display:block;height:100%;border-radius:999px;background:#9DBE86;transition:width .25s ease;}
.prep-group{display:flex;flex-direction:column;border:1px solid var(--w-line);border-radius:22px;background:var(--w-cream);overflow:hidden;}
.prep-head{display:flex;align-items:center;gap:8px;margin:0;padding:14px 16px 8px;font-size:15.5px;font-weight:800;}
.prep-head .helper{margin-left:auto;font-size:12px;}
.prep-item{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 16px;cursor:pointer;border-top:1px solid #F4EADF;}
.prep-item input{position:absolute;opacity:0;width:1px;height:1px;}
.prep-box{flex:0 0 auto;width:24px;height:24px;border-radius:8px;border:2px solid #D9C3B1;background:#fff;display:flex;align-items:center;justify-content:center;}
.prep-item.done .prep-box{background:#9DBE86;border-color:#9DBE86;}
.prep-item.done .prep-box::after{content:'';width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px);}
.prep-item input:focus-visible + .prep-box{outline:3px solid var(--accent-strong);outline-offset:2px;}
.prep-name{flex:1;min-width:0;font-size:14px;font-weight:700;}
.prep-item.done .prep-name{color:var(--text2);text-decoration:line-through;}
.prep-del{flex:0 0 auto;min-width:40px;min-height:40px;border:none;background:none;color:var(--text2);font-size:15px;cursor:pointer;border-radius:12px;}
.prep-add{display:flex;align-items:flex-end;gap:8px;padding:10px 16px 14px;border-top:1px solid #F4EADF;}
.gift-sum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.gift-sum > div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 4px;border:1px solid var(--w-line);border-radius:20px;background:var(--w-cream);}
.gift-sum > div:nth-child(2){background:var(--w-sun);}
.gift-sum > div:nth-child(3){background:var(--w-peach);}
.gift-sum b{font-size:16px;font-weight:800;color:var(--w-em);word-break:keep-all;text-align:center;}
.gift-sum span{font-size:12px;color:var(--text2);}
#screen-prep .gift-form{gap:12px;padding:18px;border-radius:24px;border-color:var(--w-line);background:var(--w-cream);}
.gift-list{display:flex;flex-direction:column;border:1px solid var(--w-line);border-radius:22px;background:var(--w-cream);overflow:hidden;}
.gift-row{display:flex;align-items:center;gap:8px;padding:12px 10px 12px 16px;}
.gift-row + .gift-row{border-top:1px solid #F1E6D9;}
.gift-row b{font-size:14.5px;font-weight:800;}
.gift-kind{font-size:11px;font-weight:800;color:#80503A;background:#fff;border:1px solid #E9D6C3;border-radius:999px;padding:1px 7px;vertical-align:2px;}
.gift-thank{flex:0 0 auto;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #E9D6C3;background:#fff;color:var(--text2);font-size:12.5px;font-weight:800;font-family:var(--font-ui);cursor:pointer;}
.gift-thank[aria-pressed="true"]{background:var(--w-leaf);border-color:#CFDDBE;color:#3F6B49;}
.gift-row.thanked b{color:var(--text2);}
/* ── 매거진 카드 (웹·앱 공용, shared-content.js 의 magCardHtml) ── */
.mag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:14px;}
.mag-row{display:grid;grid-auto-flow:column;grid-auto-columns:76%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;}
.mag-row::-webkit-scrollbar{display:none;}
.mag-row > .mag-card{scroll-snap-align:start;}
.mag-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--w-line,#EBDDCB);border-radius:22px;background:var(--w-cream,#FFFDF6);color:var(--text);text-decoration:none;overflow:hidden;}
.mag-thumb{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden;}
.mag-thumb img{width:100%;height:100%;object-fit:cover;}
.mag-emoji{font-size:40px;}
.mag-play{position:absolute;right:10px;bottom:10px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);color:#A34429;display:flex;align-items:center;justify-content:center;font-size:13px;padding-left:2px;}
.mag-body{display:flex;flex-direction:column;gap:5px;padding:12px 14px 14px;}
.mag-kind{font-size:11.5px;font-weight:800;color:var(--w-em,#9C452B);}
.mag-title{font-size:15px;font-weight:800;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.mag-sum{font-size:13px;line-height:1.6;color:var(--text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.mag-src{font-size:12px;font-weight:700;color:var(--text2);}
.mag-note{font-size:12px;line-height:1.6;color:var(--text2);margin:0;}
/* ── 자주 묻는 질문 (웹·앱 공용) ── */
.faq-list{display:flex;flex-direction:column;border:1px solid var(--w-line,#EBDDCB);border-radius:22px;background:var(--w-cream,#FFFDF6);overflow:hidden;}
.faq-item + .faq-item{border-top:1px solid #F1E6D9;}
.faq-item summary{display:flex;align-items:flex-start;gap:10px;min-height:52px;padding:14px 16px;font-size:14.5px;font-weight:800;line-height:1.5;cursor:pointer;list-style:none;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'＋';margin-left:auto;flex:0 0 auto;color:var(--text2);font-weight:700;}
.faq-item[open] summary::after{content:'－';}
.faq-q{flex:0 0 auto;width:24px;height:24px;border-radius:8px;background:var(--w-sun,#FFF3DF);color:var(--w-em,#9C452B);font-size:13px;display:flex;align-items:center;justify-content:center;}
.faq-item p{margin:0;padding:0 16px 16px 50px;font-size:13.5px;line-height:1.75;color:var(--text2);}
/* ── 앱 커뮤니티 '사진' 탭 ── */
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
.photo-tile{position:relative;aspect-ratio:1;padding:0;border:none;border-radius:16px;overflow:hidden;background:var(--w-sun);cursor:pointer;}
.photo-tile img,.photo-tile video{display:block;width:100%;height:100%;object-fit:cover;}
.photo-meta{position:absolute;left:6px;bottom:6px;font-size:11px;font-weight:800;color:#773B26;background:rgba(255,255,255,.9);border-radius:999px;padding:2px 7px;}
/* ── 앱 브랜드관: 상품 찜, 기획전 배너(앱 안 이동은 버튼) ── */
.app-prod-wrap{position:relative;min-width:0;display:flex;}
.app-prod-wrap > .app-prod{flex:1;}
.app-prod-wrap:nth-child(2n) .ph{background:var(--w-leaf);}
.wish-btn{position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:50%;border:1px solid #EBDFD1;background:rgba(255,255,255,.94);color:#A34429;font-size:19px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.wish-btn[aria-pressed="true"]{background:#FFE0CF;border-color:#EDBFA5;}
button.app-mall-banner{text-align:left;font-family:var(--font-ui);cursor:pointer;width:100%;}
.mag-hero .hh-art{background:#F3EBDD;}
.faq-hero .hh-art{background:#E3EFE6;}
#screen-magazine .mag-grid{grid-template-columns:1fr;}
.hb-card.img{position:relative;overflow:hidden;}
.hb-card.img::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,251,247,.94),rgba(255,251,247,.55) 70%,rgba(255,251,247,.1));}
.hb-card.img > *{position:relative;}
/* ── 웹 브랜드관 상품 찜 · 사진 게시판 ── */
.prod-wrap{position:relative;min-width:0;display:flex;}
.prod-wrap > .prod{flex:1;min-width:0;}
.prod-wrap > .wish-btn{top:12px;right:12px;z-index:1;}
.web-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:12px;padding:16px 18px;}
.web-photo-tile{position:relative;display:block;aspect-ratio:1;border-radius:22px;overflow:hidden;background:var(--w-sun);border:1px solid var(--w-line);color:var(--text);text-decoration:none;}
.web-photo-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease;}
.web-photo-tile .ph-wait{display:flex;align-items:center;justify-content:center;height:100%;font-size:40px;}
.web-photo-tile .cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:2px;padding:28px 12px 10px;background:linear-gradient(180deg,rgba(255,251,247,0),rgba(255,251,247,.95) 45%);}
.web-photo-tile .cap b{font-size:13.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.web-photo-tile .cap span{font-size:12px;color:var(--text2);}
@media (hover:hover) and (pointer:fine){.web-photo-tile:hover img{transform:scale(1.03);}}
/* ── 웹 글쓰기·나들이·공지 머리(webHero) — 다른 페이지보다 조금 낮게 ── */
.warm-page .web-sub-hero .page-hero-art{min-height:200px;}
.warm-page .web-sub-hero h1{font-size:clamp(28px,3vw,38px);}
.warm-page > .panel{margin:0;}
/* 마이페이지 프로필·글 상세 머리도 같은 크림색 */
.my-head{background:var(--w-sun) !important;border-bottom:1px solid #EAD8C6;}
.my-head .avatar{background:#fff !important;border:1px solid #EBDFD1;}
.post-h{background:var(--w-sun) !important;}
@media (max-width:720px){
  .warm-page .web-sub-hero .page-hero-art{display:none;}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none !important;animation:none !important;scroll-behavior:auto !important;}
  .btn:active,.btn.primary:active,.btn-primary:active,.btn-ghost:active,.chip:active,.chip-f:active,.cheer:active,.nav-row a:active,.board-tabs a:active,.navbar button:active,.brand-chip:active,.topic-card:active,.pcard:active,.prod:active,.pager a:active{transform:none !important;}
}

/* 선 아이콘 (Lucide). 이모지 대신 쓴다 — 2026-10-28 */
.ic{width:1em;height:1em;flex:0 0 auto;display:inline-block;vertical-align:-0.14em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.ic-thin{stroke-width:1.5;}
.ic-fill{fill:currentColor;}
.mag-cover .ic{width:40px;height:40px;}
.mag-play .ic{width:18px;height:18px;fill:currentColor;}
.mag-src .ic{width:12px;height:12px;vertical-align:-1px;}
/* 큰 그림 칸 아이콘은 가늘고 따뜻한 색 */
.hh-art .ic,.my-art .ic,.page-hero-art .ic,.mall-hero-art .ic{color:#B5643F;stroke-width:1.5;}
.hb-emoji .ic{color:#B5643F;stroke-width:1.6;}
.empty .em .ic{color:#C9A48E;stroke-width:1.5;}

/* 한국어는 단어 중간에서 줄을 바꾸지 않는다 ('좋/아요' 방지). 긴 주소·영문만 칸 끝에서 끊는다 */
body{word-break:keep-all;overflow-wrap:anywhere;}

/* 2026-10-30 차별화: 홈 맨 위 강점 칸 + 해결 후기 */
.spot-card{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:24px;border:1px solid var(--w-line,#EAD8C6);background:var(--w-cream,#FFFDF8);color:var(--text);text-decoration:none;text-align:left;word-break:keep-all;}
.spot-contest{background:linear-gradient(160deg,#FFF6DD 0%,#FFE9D6 100%);border-color:#F1D3B5;}
.spot-outcome{background:#F4F8EC;border-color:#D9E6C6;}
.spot-ask{background:#FFF3EC;border-color:#F3CDB8;}
.spot-eyebrow{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:#B5643F;}
.spot-outcome .spot-eyebrow{color:#4D7A33;}
.spot-title{font-size:19px;font-weight:800;line-height:1.35;color:var(--text);}
.spot-sub{font-size:13px;line-height:1.6;color:var(--text2);}
.spot-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:4px;}
.spot-th{display:block;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#fff;}
.spot-th img,.spot-th video{width:100%;height:100%;object-fit:cover;display:block;}
.spot-th > .ic{width:40%;height:40%;margin:30%;color:#B5643F;}
.spot-go{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin-top:4px;padding:0;border:none;background:none;font-size:14px;font-weight:800;color:#B5643F;cursor:pointer;}
.spot-outcome .spot-go{color:#4D7A33;}
.spot-row{display:flex;flex-direction:column;gap:4px;width:100%;padding:12px 14px;border:1px solid #E1EBD3;border-radius:16px;background:#fff;text-align:left;color:var(--text);cursor:pointer;}
.spot-q{font-size:14px;font-weight:700;line-height:1.45;}
.spot-a{display:flex;gap:6px;align-items:flex-start;font-size:13px;line-height:1.55;color:#3F6A28;}
.spot-a .ic{flex:0 0 auto;margin-top:3px;}
.outcome-box{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:14px;background:#F2F8EA;border:1px solid #D9E6C6;word-break:keep-all;}
.outcome-box b{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:#4D7A33;}
.outcome-box p{margin:0;font-size:13.5px;line-height:1.65;color:var(--text);white-space:pre-wrap;}
.outcome-ask{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:10px 14px;border:1px dashed #E7B79C;border-radius:14px;background:#FFF8F3;color:#B5643F;font-size:13px;font-weight:700;text-align:left;cursor:pointer;}
/* 앱 커뮤니티 게시판 탭: 웹 board-tabs 와 같은 모양 (2026-10-30) */
#screen-community #community-tabs{align-self:stretch;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:0 0 2px;margin:0 -2px;}
#screen-community #community-tabs::-webkit-scrollbar{display:none;}
#screen-community #community-tabs button{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:0 15px;border-radius:999px;border:1px solid transparent;background:none;font-size:14px;font-weight:800;color:var(--text2);white-space:nowrap;}
#screen-community #community-tabs button[aria-selected="true"]{border-color:#EFCDB9;background:#FFF0E7;color:var(--accent-strong,#B5482A);}
/* 응원·투표 부탁하기 (내 참가작) */
.ask-vote{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 10px 10px;min-height:42px;border:none;border-radius:999px;background:var(--accent-soft,#FFF0E7);color:var(--accent-strong,#B5482A);font-size:13px;font-weight:800;cursor:pointer;}
