:root{
  --paper:#ffffff; --mist:#EEF4F2; --ink:#1B2A30; --muted:#51636A;
  --rose:#D42A68; --rose-soft:#FCE6EE; --jade:#167F74; --jade-soft:#D9F0EC;
  --sun:#FFC83D; --line:#CFDAD7;
  --display:"Hahmlet","Noto Serif KR",serif;
  --body:"IBM Plex Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --wrap:1120px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,p,ol,ul,figure,fieldset{margin:0;padding:0}
fieldset{border:0;min-width:0}
ul,ol{list-style:none}
:focus-visible{outline:3px solid var(--jade);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:10px 14px;z-index:10}
.skip:focus{left:8px;top:8px}

/* 상단 */
.top{max-width:var(--wrap);margin:0 auto;padding:18px 20px 10px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px}
.mark{font-family:var(--display);font-weight:800;font-size:26px;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}
.mark::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--rose);margin-left:4px;vertical-align:baseline}
.mark.small{font-size:20px}
.top nav{display:flex;gap:4px;flex-wrap:wrap;margin-left:auto}
.top nav a{text-decoration:none;font-weight:500;font-size:15.5px;padding:8px 12px;border-radius:999px;color:var(--muted)}
.top nav a:hover{color:var(--ink);background:var(--mist)}
.top nav a[aria-current="page"]{color:var(--ink);background:var(--mist);font-weight:600}

main{max-width:var(--wrap);margin:0 auto;padding:0 20px 72px}
.view[hidden]{display:none}

/* 글자 */
h1{font-family:var(--display);font-weight:800;font-size:clamp(34px,7.4vw,60px);line-height:1.16;letter-spacing:-.03em}
h2{font-family:var(--display);font-weight:700;font-size:clamp(24px,4.4vw,32px);line-height:1.25;letter-spacing:-.02em}
h3{font-size:18px;font-weight:600;line-height:1.35}
.lead{font-size:clamp(17px,2.4vw,20px);color:var(--muted);margin-top:16px;max-width:34em}
.sub{color:var(--muted);margin-top:6px}
.note,.asof{font-size:14.5px;color:var(--muted);max-width:60em}
.asof{margin-top:12px}
.note{margin-top:20px}

/* 홈 히어로 */
.hero{display:grid;gap:36px;padding:28px 0 8px}
.hero-side{display:flex;justify-content:center;padding:10px 0 26px}
@media (min-width:860px){
  .hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;padding:56px 0 28px}
}

/* 계산 폼 */
.calc{margin-top:28px;display:grid;gap:18px;max-width:460px}
.field label,.field legend{display:block;font-weight:600;font-size:15px;margin-bottom:8px}
input[type="date"]{width:100%;font:inherit;font-size:18px;padding:13px 14px;border:2px solid var(--ink);border-radius:10px;background:#fff;color:var(--ink);min-height:54px}
.seg{display:grid;grid-template-columns:repeat(4,1fr);border:2px solid var(--ink);border-radius:10px;overflow:hidden}
.seg label{margin:0;position:relative}
.seg input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.seg span{display:block;text-align:center;padding:13px 4px;font-weight:500;font-size:16px;border-left:1px solid var(--line)}
.seg label:first-child span{border-left:0}
.seg input:checked + span{background:var(--ink);color:#fff;font-weight:600}
.seg input:focus-visible + span{outline:3px solid var(--jade);outline-offset:-3px}
.btn{font:inherit;font-weight:600;font-size:17px;border-radius:999px;padding:15px 26px;border:2px solid var(--ink);cursor:pointer;min-height:54px}
.btn.primary{background:var(--rose);border-color:var(--rose);color:#fff}
.btn.primary:hover{background:#B81F57;border-color:#B81F57}
.btn.ghost{background:#fff;color:var(--ink)}
.btn.ghost:hover{background:var(--mist)}
.err{color:#B3261E;font-weight:500;font-size:15px}

/* 일력 */
.ilyeok{position:relative;width:min(100%,360px);background:#fff;border:2px solid var(--ink);border-radius:6px 6px 14px 14px;padding:46px 26px 24px;text-align:center;transform:rotate(-1.6deg)}
.ilyeok::before,.ilyeok::after{content:"";position:absolute;left:8px;right:-8px;top:10px;bottom:-9px;border:2px solid var(--ink);border-radius:6px 6px 14px 14px;background:var(--jade-soft);z-index:-1}
.ilyeok::after{left:16px;right:-16px;top:20px;bottom:-18px;background:var(--rose-soft);z-index:-2}
.ilyeok-bind{position:absolute;left:0;right:0;top:0;height:30px;background:var(--jade);border-radius:3px 3px 0 0;display:flex;justify-content:space-around;align-items:center;padding:0 22%}
.ilyeok-bind i{width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--ink)}
.ilyeok-top{font-weight:600;font-size:15.5px;color:var(--jade)}
.ilyeok-d{font-family:var(--display);font-weight:800;font-size:clamp(64px,19vw,96px);line-height:1.05;letter-spacing:-.04em;color:var(--rose);margin:6px 0 4px;font-variant-numeric:tabular-nums}
.ilyeok-date{font-weight:500;font-size:17px}
.road{height:12px;border-radius:999px;background:var(--mist);border:2px solid var(--ink);margin-top:22px;overflow:hidden}
.road-fill{height:100%;width:0;background:var(--rose);transition:width .7s cubic-bezier(.2,.7,.2,1)}
.road-label{display:flex;justify-content:space-between;font-size:14px;font-weight:500;color:var(--muted);margin-top:8px}
.road-label span:nth-child(2){color:var(--ink);font-weight:600}
@media (prefers-reduced-motion:reduce){.road-fill{transition:none}}

/* 결과 날짜 */
.result{margin-top:36px;padding:28px 22px;background:var(--mist);border-radius:18px}
.dates{margin-top:18px;display:grid;gap:0}
.dates li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:14px 0;border-top:1px solid var(--line);align-items:baseline}
.dates li:first-child{border-top:0}
.dates .what{font-weight:600}
.dates .when{font-variant-numeric:tabular-nums;font-weight:500;text-align:right}
.dates .left{grid-column:1/-1;font-size:14.5px;color:var(--muted)}
.dates li.past .what,.dates li.past .when{color:var(--muted)}
.dates li.goal .what,.dates li.goal .when{color:var(--rose);font-size:19px}
.result-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px}
.copied{font-weight:500;color:var(--jade)}
@media (min-width:860px){.result{padding:36px 40px}.dates li{grid-template-columns:200px 1fr auto}.dates .left{grid-column:auto;order:2}.dates .when{order:3}}

/* 사진 자리 */
.shot{position:relative;overflow:hidden;border-radius:14px;background:var(--mist)}
.shot.wide{aspect-ratio:4/5;margin-top:8px}
@media (min-width:860px){.shot.wide{max-width:440px;margin:28px auto 0}}
.shot.r43{aspect-ratio:1/1}.shot.r32{aspect-ratio:4/5}
@media (min-width:860px){.page-head .shot.r32{max-width:400px;width:100%;justify-self:end}}.shot.r11{aspect-ratio:1/1}
.shot img{width:100%;height:100%;object-fit:cover}
.shot.empty{background:repeating-linear-gradient(135deg,var(--mist) 0 14px,#E3ECE9 14px 28px)}
.shot.empty img{display:none}
.shot.empty::after{content:"사진 자리: " attr(data-cap);position:absolute;left:10px;right:10px;bottom:10px;font-size:13px;line-height:1.4;color:var(--muted);background:rgba(255,255,255,.92);padding:6px 9px;border-radius:8px}

/* 시기 */
.phases{margin-top:72px}
.phase-grid{margin-top:22px;display:grid;gap:22px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.phase{text-decoration:none;display:block}
.phase.big{grid-column:1/-1}
.phase h3{margin-top:12px;font-size:19px}
.phase p{color:var(--muted);font-size:15.5px}
.phase:hover h3{text-decoration:underline;text-decoration-color:var(--rose);text-decoration-thickness:3px;text-underline-offset:5px}
@media (min-width:860px){
  .phase-grid{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:24px}
  .phase.big{grid-column:auto}
  .phase.big .shot{aspect-ratio:1/1}
}

/* 안쪽 페이지 머리 */
.page-head{display:grid;gap:24px;padding:28px 0 8px}
.page-head h1{font-size:clamp(32px,6.6vw,52px)}
@media (min-width:860px){.page-head{grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding:48px 0 16px}}
.view > h2{margin-top:52px}

/* 체크리스트 */
.progress{margin-top:26px;font-weight:600;font-size:16px;color:var(--jade)}
.lists{display:grid;gap:36px;margin-top:18px}
@media (min-width:860px){.lists{grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}}
.clist h2{font-size:22px;padding-bottom:10px;border-bottom:3px solid var(--ink)}
.clist.must h2{border-color:var(--rose)}
.clist.good h2{border-color:var(--jade)}
.clist li{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}
.clist label{display:flex;gap:14px;align-items:flex-start;cursor:pointer;flex:1;min-width:0}
.clist input{appearance:none;-webkit-appearance:none;flex:none;width:26px;height:26px;border:2px solid var(--ink);border-radius:7px;margin:2px 0 0;background:#fff;display:grid;place-content:center;cursor:pointer}
.clist input:checked{background:var(--jade);border-color:var(--jade)}
.clist input:checked::after{content:"";width:7px;height:13px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg) translate(-1px,-1px)}
.clist label span{font-size:15.5px;color:var(--muted);line-height:1.5}
.clist label b{display:block;font-size:17px;font-weight:600;color:var(--ink)}
.clist input:checked ~ span b{text-decoration:line-through;color:var(--muted)}
.buy{flex:none;font-size:14.5px;font-weight:600;color:var(--rose);text-decoration:none;border:1.5px solid var(--rose);border-radius:999px;padding:7px 12px;white-space:nowrap;margin-top:2px}
.buy:hover{background:var(--rose);color:#fff}

.tip{margin-top:48px;background:var(--rose-soft);border-radius:18px;padding:26px 24px;max-width:760px}
.tip h2{font-size:21px}
.tip p{margin-top:8px}

/* 수료식 순서: 실제 순서라서 번호를 씀 */
.steps{margin-top:18px;counter-reset:s;display:grid;gap:0;max-width:760px}
.steps li{counter-increment:s;position:relative;padding:0 0 26px 58px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;font-family:var(--display);font-weight:700;display:grid;place-content:center}
.steps li::after{content:"";position:absolute;left:19px;top:44px;bottom:4px;width:2px;background:var(--line)}
.steps li:last-child::after{display:none}
.steps h3{padding-top:7px}
.steps p{color:var(--muted);margin-top:4px}

.pack{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}
@media (min-width:860px){.pack{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
.pack-item{text-decoration:none;display:block}
.pack-item h3{margin-top:12px}
.pack-item p{font-size:15px;color:var(--muted)}
.buy-text{display:inline-block;margin-top:8px;font-size:14.5px;font-weight:600;color:var(--rose);border-bottom:2px solid var(--rose)}

/* 선물 */
.tabs{display:flex;gap:8px;margin-top:30px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{font:inherit;font-weight:600;font-size:16px;white-space:nowrap;padding:11px 18px;border-radius:999px;border:2px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer;min-height:48px}
.tabs button[aria-selected="true"]{background:var(--ink);color:#fff}
.gifts{margin-top:22px;display:grid;gap:0;max-width:820px}
.gift{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start}
.gift h3{font-size:18.5px}
.gift .why{color:var(--muted);font-size:15.5px;margin-top:4px}
.gift .row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.price{font-weight:600;font-size:14.5px;background:var(--sun);padding:4px 10px;border-radius:6px}
@media (min-width:860px){.gift{grid-template-columns:150px minmax(0,1fr);gap:24px;padding:22px 0}}

.foot{border-top:2px solid var(--ink);max-width:var(--wrap);margin:0 auto;padding:26px 20px 48px;color:var(--muted);font-size:15px}
.foot .mark{display:block;margin-bottom:6px}

/* 상품 사진이 아직 없으면 칸을 접는다 (제휴 링크 연결 뒤 실제 상품 사진이 들어옴) */
.gift .shot.empty{display:none}
.gift:has(.shot.empty){grid-template-columns:minmax(0,1fr)}

/* 카드 전체가 링크 */
a.gift{text-decoration:none;color:inherit;position:relative;padding-right:22px}
a.gift::after{content:"";position:absolute;right:4px;top:50%;width:9px;height:9px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:translateY(-50%) rotate(45deg);opacity:.55}
a.gift:hover h3{text-decoration:underline;text-underline-offset:4px}
a.gift:focus-visible{outline:2px solid var(--rose);outline-offset:4px}
.buy{border:0;padding:10px 8px;margin:0;border-radius:8px;display:inline-flex;align-items:center}
.buy::after{content:"";width:9px;height:9px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:rotate(45deg);opacity:.6}
.buy:hover{background:transparent}.buy:hover::after{border-color:var(--rose);opacity:1}

/* ===== 2차 정리: 흔들림 제거, 꾸밈 덜어내기 ===== */
:root{
  --display:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;
  --body:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;
  --line:#E3E6E8; --mist:#F4F6F6; --muted:#5B666B; --ink:#16191C;
}
html,body{overflow-x:clip;max-width:100%}
body{font-size:16.5px;line-height:1.6}
h1{font-weight:800;font-size:clamp(30px,7.6vw,52px);line-height:1.22;letter-spacing:-.035em}
h2{font-weight:700;font-size:clamp(21px,5vw,28px);letter-spacing:-.025em}
.page-head h1{font-size:clamp(28px,7vw,46px)}
.mark{font-weight:800;font-size:22px;letter-spacing:-.04em}
.mark::after{display:none}
.top{align-items:center;padding:14px 20px 0;border-bottom:1px solid var(--line);gap:0 20px}
.top nav{gap:0;margin-left:0;width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
.top nav::-webkit-scrollbar{display:none}
.top nav a{border-radius:0;padding:12px 2px;margin-right:20px;font-size:15.5px;white-space:nowrap;border-bottom:2px solid transparent}
.top nav a:hover{background:none}
.top nav a[aria-current="page"]{background:none;border-bottom-color:var(--ink);font-weight:700}
@media (min-width:860px){.top{padding:0 20px;gap:0 36px}.top nav{width:auto}.top nav a{padding:20px 2px}}
.hero{gap:24px;padding:26px 0 8px}
.lead{margin-top:12px;font-size:16.5px}
input[type="date"]{border:1px solid #C9CFD2;min-height:52px;font-size:17px}
input[type="date"]:focus{border-color:var(--ink)}
.seg{border:1px solid #C9CFD2}
.seg span{font-size:15.5px}
.btn{border-radius:12px;border-width:1px;min-height:52px;font-size:16.5px;font-weight:700}
.btn.primary{width:100%}
.btn.ghost{border-color:#C9CFD2}
/* 결과: 종이 달력 꾸밈을 없애고 숫자만 크게 */
.hero-side{display:block;padding:0}
.ilyeok{transform:none;width:100%;max-width:460px;border:0;border-radius:14px;background:var(--mist);padding:22px 22px 20px;text-align:left}
.ilyeok::before,.ilyeok::after{display:none}
.ilyeok-top{color:var(--muted);font-weight:500;font-size:15px}
.ilyeok-d{font-size:clamp(52px,16vw,76px);line-height:1.1;margin:2px 0 2px;letter-spacing:-.045em}
.ilyeok-date{font-size:16.5px;font-weight:600}
.road{height:6px;border:0;background:#DDE2E4;margin-top:18px}
.road-label{font-size:13.5px}
.result{background:none;border-radius:0;padding:0;margin-top:40px}
.dates{border-top:1px solid var(--ink);margin-top:14px}
.dates li{padding:13px 0}
.dates li:first-child{border-top:0}
.shot{border-radius:10px}
.phases{margin-top:56px}
.clist h2{border-bottom-width:1px;border-color:var(--ink)!important;font-size:19px}
.tabs button,.tab{border-width:1px}
@media (min-width:860px){.result{padding:0}.btn.primary{width:auto}}

/* 화살표 없애고 상품 사진·이름을 보여 줌 */
a.gift{padding-right:0}
a.gift::after{display:none}
.gift .pname{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.4}
.gift .shot{background:#fff;border:1px solid var(--line)}
.gift .shot img{object-fit:contain}

.buy{padding:0;margin:0 0 0 8px}
.buy::after{display:none}
.buy[hidden]{display:none}
.buy img{width:56px;height:56px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}
.price{background:none;padding:0;font-size:16px;font-weight:700}

/* 수료식 음식 안내 */
.dos{list-style:none;margin-top:14px;border-top:1px solid var(--ink);max-width:760px}
.dos li{padding:16px 0;border-bottom:1px solid var(--line)}
.dos h3{font-size:17.5px;font-weight:700}
.dos p{margin-top:5px;color:var(--muted)}

.tabs{flex-wrap:wrap;overflow:visible;gap:8px}
.tabs button{padding:9px 15px;min-height:44px;font-size:15.5px}

.disclosure{font-size:12.5px;line-height:1.5;color:var(--muted);padding:8px 20px;max-width:1180px;margin:0 auto}

/* 자주 묻는 것 */
.faq{margin-top:14px;border-top:1px solid var(--ink);max-width:760px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;padding:16px 28px 16px 0;font-weight:700;font-size:17px;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:14px;font-weight:400;font-size:22px;color:var(--muted)}
.faq details[open] summary::after{content:"\2212"}
.faq p{padding:0 0 18px;color:var(--muted)}
.faq summary:focus-visible{outline:2px solid var(--rose);outline-offset:2px}
/* 작은 계산기, 훈련소 표 */
.calc.mini{max-width:460px;margin-top:16px;display:grid;gap:12px}
.phone-out{max-width:760px;margin-top:14px;min-height:1.6em}
.phone-out b{color:var(--rose)}
.list-title{margin-top:30px;font-size:18px}
.camps{width:100%;max-width:560px;border-collapse:collapse;margin-top:12px;border-top:1px solid var(--ink)}
.camps th,.camps td{text-align:left;padding:13px 0;border-bottom:1px solid var(--line);font-size:16.5px}
.camps th{font-weight:600}
.camps td{color:var(--muted);text-align:right}
.view h2{margin-top:52px}
.page-head+h2{margin-top:40px}
.sub a,.dos a{color:var(--rose);text-underline-offset:3px}

.top nav a{margin-right:16px;font-size:15px}

/* ===== 3차: 다꾸·각꾸 느낌 (모눈종이, 마스킹테이프, 스티커) ===== */
:root{
  --paper:#FFF7FA; --grid:#F8E3EB; --ink:#2A2630; --muted:#6A6272; --line:#F1DCE4;
  --rose:#FF4F8B; --rose-deep:#E0356F; --rose-soft:#FFE3EE; --butter:#FFE680; --mint:#C8F0E0; --lilac:#E4DBFF;
  --display:"Jua",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  --hand:"Gaegu","Jua",-apple-system,"Apple SD Gothic Neo",sans-serif;
}
body{background:var(--paper);background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:22px 22px;color:var(--ink);padding-bottom:84px}
.top{background:rgba(255,247,250,.94);border-bottom:0;position:relative}
.mark{font-family:var(--display);font-weight:400;font-size:25px;letter-spacing:0;color:var(--rose-deep)}
.mark::after{display:inline-block!important;content:"";width:9px;height:9px;border-radius:50%;background:var(--butter);margin-left:5px;vertical-align:6px;box-shadow:0 0 0 2px var(--ink)}
.top nav{display:none}
.disclosure{background:transparent;color:var(--muted)}
h1{font-family:var(--display);font-weight:400;letter-spacing:-.01em;line-height:1.28;font-size:clamp(31px,8.2vw,52px)}
.page-head h1{font-size:clamp(30px,7.8vw,48px)}
h2{font-family:var(--display);font-weight:400;font-size:clamp(23px,5.8vw,30px);letter-spacing:0;display:inline;background:linear-gradient(transparent 58%,var(--butter) 58%);padding:0 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.view h2{margin-top:0}
.view h2::before{content:"";display:block;height:48px}
.page-head+h2::before{height:34px}
.clist h2{border:0!important;font-size:22px;padding:0 4px}
.lead{color:var(--muted)}
.asof{display:inline-block;font-family:var(--hand);font-size:17px;color:var(--ink);background:var(--mint);padding:3px 12px;border-radius:3px;transform:rotate(-1deg);margin-top:14px}
.sub{margin-top:10px}
/* 카드: 흰 종이 */
.calc,.calc.mini,.result,.faq,.dos,.camps,.clist,.gifts,.steps{background:#fff;border:1.5px solid var(--ink);border-radius:18px;padding:18px 18px;box-shadow:4px 4px 0 var(--rose-soft)}
.calc,.calc.mini{margin-top:20px}
.result{margin-top:26px;padding:18px}
.dos,.faq,.camps,.gifts,.steps{margin-top:16px;border-top:1.5px solid var(--ink);max-width:760px}
.camps{display:table;border-collapse:separate;border-spacing:0;padding:6px 18px}
.dates{border-top:0}
.dos li:last-child,.faq details:last-child,.gifts>*:last-child,.clist li:last-child{border-bottom:0}
.dos li{padding:14px 0}
.dos li.fold h3{cursor:pointer;position:relative;padding-right:30px;font-size:17px}
.dos li.fold h3::after{content:"+";position:absolute;right:2px;top:-4px;font-size:24px;font-weight:400;color:var(--rose)}
.dos li.fold.open h3::after{content:"\2212"}
.dos li.fold h3:focus-visible{outline:2px solid var(--rose);outline-offset:3px;border-radius:4px}
.faq summary::after{color:var(--rose)}
.steps li::before{background:var(--rose);font-family:var(--display);font-weight:400}
.steps li::after{background:var(--rose-soft)}
/* 결과 카드: 마스킹테이프 붙인 메모 */
.ilyeok{background:#fff;border:1.5px solid var(--ink);border-radius:6px;box-shadow:5px 5px 0 var(--lilac);position:relative;margin-top:26px;padding:30px 22px 22px}
.ilyeok::before{display:block!important;content:"";position:absolute;left:50%;top:-13px;width:104px;height:26px;margin-left:-52px;background:repeating-linear-gradient(135deg,var(--butter) 0 8px,#FFF3B8 8px 16px);opacity:.95;transform:rotate(-2deg);border:0;border-radius:2px}
.ilyeok-top{font-family:var(--hand);font-size:19px;color:var(--ink)}
.ilyeok-d{font-family:var(--display);font-weight:400;color:var(--rose);letter-spacing:0}
.road{background:var(--rose-soft);height:10px;border-radius:99px}
.road i,.road span{border-radius:99px}
/* 버튼, 입력 */
.btn{font-family:var(--display);font-weight:400;font-size:19px;border-radius:14px;border:1.5px solid var(--ink)}
.btn.primary{background:var(--rose);color:#fff;box-shadow:3px 3px 0 var(--ink)}
.btn.primary:hover{background:var(--rose-deep)}
.btn.primary:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
input[type="date"]{border:1.5px solid var(--ink);border-radius:12px;background:#fff}
.seg{border:1.5px solid var(--ink);border-radius:12px;overflow:hidden}
.seg input:checked+span{background:var(--rose);color:#fff}
/* 사진: 폴라로이드 */
.shot{border-radius:6px;border:1.5px solid var(--ink);background:#fff}
.shot.wide,.page-head .shot{border-width:8px 8px 30px;border-color:#fff;box-shadow:0 0 0 1.5px var(--ink),6px 6px 0 var(--mint);border-radius:4px}
.phase .shot,.pack-item .shot{border-radius:14px}
.phase h3,.pack-item h3{font-family:var(--display);font-weight:400;font-size:19px}
/* 탭, 가격 */
.tabs button{border:1.5px solid var(--ink);font-family:var(--display);font-weight:400;font-size:17px;background:#fff}
.tabs button[aria-selected="true"]{background:var(--rose);border-color:var(--ink);color:#fff;box-shadow:2px 2px 0 var(--ink)}
.gift h3{font-size:18px}
.price{color:var(--rose-deep)}
.phone-out b{color:var(--rose-deep)}
.list-title{font-family:var(--hand);font-size:22px;background:var(--lilac);display:inline-block;padding:2px 12px;border-radius:3px;transform:rotate(-1deg);margin-top:30px}
.clist input{border:1.5px solid var(--ink)}
.clist input:checked{background:var(--rose);border-color:var(--rose)}
.note{font-size:14px}
.foot{border-top:0;background:transparent}
/* 아래 메뉴 */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-top:1.5px solid var(--ink);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.tabbar a{display:grid;justify-items:center;gap:1px;text-decoration:none;color:var(--muted);font-size:12.5px;font-weight:600;padding:6px 0;border-radius:12px;min-height:52px}
.tabbar a span{font-size:21px;line-height:1.1}
.tabbar a[aria-current="page"]{color:var(--ink);background:var(--rose-soft)}
.tabbar a:focus-visible{outline:2px solid var(--rose);outline-offset:-2px}
@media (min-width:860px){
  body{padding-bottom:0}
  .tabbar{display:none}
  .top nav{display:flex}
  .top nav a{font-family:var(--display);font-size:18px}
  .top nav a[aria-current="page"]{border-bottom-color:var(--rose)}
}
@media (prefers-reduced-motion:reduce){.btn.primary:active{transform:none}}
h2{display:inline-block;line-height:1.3;background:linear-gradient(transparent 60%,var(--butter) 60%);background-size:100% 1.3em;background-repeat:repeat-y;margin-top:46px}
.view h2{margin-top:46px}
.view h2::before,.page-head+h2::before{display:none}
.page-head+h2{margin-top:30px}
.clist h2{margin-top:30px}
.asof{font-size:15.5px;transform:none}
.shot.wide,.page-head .shot{max-width:300px;margin-left:auto;margin-right:auto;transform:rotate(1.2deg)}
.hero-side,.page-head{overflow:visible}

/* 목록 검색 */
.finder{margin-top:18px;max-width:760px}
.finder-input{font:inherit;width:100%;min-height:50px;padding:10px 14px;border:1.5px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);-webkit-appearance:none;appearance:none}
.finder-input:focus{outline:2px solid var(--ink);outline-offset:1px}
.finder-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.finder-out{font-size:14.5px;color:var(--muted);margin-top:8px;min-height:1.3em}
.is-out{display:none!important}
.chip{font:inherit;font-size:14.5px;background:#fff;border:1.5px solid var(--ink);border-radius:99px;padding:8px 14px;min-height:42px;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--rose);color:#fff}
.finder-input{box-shadow:3px 3px 0 var(--rose-soft)}
/* 날짜 칸이 휴대폰에서 카드 밖으로 넘치지 않게 */
.calc,.calc.mini{grid-template-columns:minmax(0,1fr)}
.field{min-width:0;max-width:100%}
input[type="date"]{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;-webkit-appearance:none;appearance:none;text-align:left;line-height:1.3;height:52px;padding:0 14px;font-size:17px}
input[type="date"]::-webkit-date-and-time-value{text-align:left;min-height:1.3em}
input[type="date"]::-webkit-calendar-picker-indicator{margin-left:auto}

.tabbar a img{width:30px;height:30px;object-fit:contain}
.mark{display:inline-flex;align-items:center;gap:6px}
.mark img{width:34px;height:34px;object-fit:contain}
.mark::after{display:none!important}

/* 좋아요·싫어요·별점 */
.vote{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:40px;padding-top:18px;border-top:1px dashed var(--line)}
.vote.small{margin-top:10px;padding-top:0;border-top:0}
.vote-q{font-weight:600;font-size:15px;margin-right:4px}
.vote.small .vote-q{font-weight:500;font-size:14px;color:var(--muted)}
.vote-b{font:inherit;font-size:14.5px;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:99px;padding:7px 14px;min-height:40px;cursor:pointer}
.vote-b[aria-pressed="true"]{background:var(--ink);color:#fff}
.vote-msg{font-size:14px;color:var(--muted)}
.stars{display:flex;align-items:center;gap:10px;padding:6px 0 14px;border-bottom:1px solid var(--line)}
.stars-row{display:inline-flex}
.star{font:inherit;font-size:24px;line-height:1;background:none;border:0;padding:6px 3px;min-width:34px;min-height:40px;color:#D6D9E0;cursor:pointer}
.star.on{color:#F5B301}
.stars-info{font-size:14px;color:var(--muted)}
.vote-b:focus-visible,.star:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.gift{border-bottom:0}
.gifts .stars:last-child{border-bottom:0}

/* 네이버 상품: 사진 없이 이름과 가격만 */
.item-more{display:grid;gap:2px;padding:4px 0 12px}
.more-h{font-size:13px;color:var(--muted);margin-bottom:2px}
.item-more a{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:8px 0;min-height:40px;color:var(--ink);text-decoration:none;border-top:1px dashed var(--line)}
.item-more .more-n{text-decoration:underline;text-underline-offset:3px;font-size:15px;min-width:0}
.item-more .more-p{font-size:14px;color:var(--muted);white-space:nowrap}
.is-out + .stars, .is-out + .item-more, .is-out + .stars + .item-more, .is-out + .item-more + .stars{display:none!important}
.navx{background:#fff;border:1.5px solid var(--ink);border-radius:18px;padding:8px 18px;box-shadow:4px 4px 0 var(--rose-soft);margin-top:16px;max-width:760px}
.navx-t{font-size:16.5px;margin-top:10px}
.gifts .item-more{border-bottom:1px solid var(--line)}

.asof{font-family:var(--body);font-size:14px}

/* 종류 고르기 창 */
html.pick-open,html.pick-open body{overflow:hidden}
.picker{position:fixed;inset:0;z-index:50;background:rgba(20,18,26,.45);display:flex;align-items:flex-end;justify-content:center}
.pick-box{background:#fff;width:100%;max-width:640px;max-height:92vh;max-height:92dvh;overflow-y:auto;border-radius:20px 20px 0 0;padding:18px 18px calc(24px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
@media (min-width:700px){.picker{align-items:center}.pick-box{border-radius:20px;max-height:86vh}}
.pick-head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-18px;background:#fff;padding:14px 0 10px;margin-top:-14px;z-index:1}
.pick-head h2{font-size:22px;margin:0;background:none;display:block;padding:0}
.pick-x{font:inherit;font-size:15px;background:#fff;border:1.5px solid var(--ink);border-radius:99px;padding:8px 16px;min-height:42px;cursor:pointer;color:var(--ink)}
.pick-sub{font-size:14.5px;color:var(--muted);margin:2px 0 12px}
.pick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.pick-card{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:10px;background:#fff}
.pick-card img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:8px;background:#fff}
.pick-n{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.pick-p{font-size:16.5px}
.pick-r{align-self:flex-start;font-size:12px;font-weight:600;color:#0B63CE;background:#EAF3FF;border-radius:4px;padding:2px 6px}
.pick-more{margin-top:18px;display:grid}
.pick-more-t{font-size:13.5px;color:var(--muted);margin-bottom:2px}
.pick-more a{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:10px 0;min-height:44px;color:var(--ink);text-decoration:none;border-top:1px dashed var(--line)}
.pick-card:focus-visible,.pick-x:focus-visible,.pick-more a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.picker .finder-input{box-shadow:none}
.picker .chip{font:inherit;font-size:14.5px;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:99px;padding:8px 14px;min-height:42px;cursor:pointer}
.picker .chip[aria-pressed="true"]{background:var(--ink);color:#fff}
.pcount{font-size:13.5px;color:var(--muted);font-weight:500;margin-left:6px}

.finder-more{margin-top:10px;padding:12px 14px;border:1.5px dashed var(--ink);border-radius:12px;background:#fff}
.finder-more b{display:block;font-size:14px;margin-bottom:6px}
.finder-more a{display:block;padding:8px 0;color:var(--ink);font-size:15px;border-top:1px solid var(--rose-soft)}
.finder-more a small{color:var(--muted);margin-left:6px}
.tabbar a{font-size:12px}

.camps th a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--rose);text-underline-offset:4px}
.camp-links{line-height:2.1}
.camp-links a{color:var(--ink)}

/* ---- 내 군인 ---- */
.tabbar{grid-template-columns:repeat(7,1fr)}
.tabbar a{font-size:11px}
.my-teaser{margin:10px 0 0;font-size:14px;color:var(--muted)}
.my-teaser a{font-weight:700;color:var(--ink)}
.my-set{margin-bottom:18px}
.my-jump{display:flex;gap:8px;overflow-x:auto;margin:6px 0 14px;padding-bottom:4px}
.my-jump button{flex:0 0 auto;border:1.5px solid var(--ink);background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-weight:700;min-height:40px}
.my-card{border:1.5px solid var(--ink);border-radius:18px;padding:18px;background:var(--rose-soft);margin-bottom:22px}
.my-who{margin:0;font-weight:700}
.my-d{margin:4px 0;font-size:54px;font-weight:800;line-height:1.05}
.my-rank{margin:0 0 10px}
.my-next{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.my-next li{display:flex;justify-content:space-between;gap:10px;background:#fff;border-radius:12px;padding:10px 12px}
.my-cheer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.my-box{margin:0 0 26px}
.my-topic{border:1.5px solid var(--ink);border-radius:16px;padding:14px;background:#fff;margin:10px 0 18px}
.my-topic-t{font-size:19px;font-weight:700;margin:0 0 12px}
.my-open-t{margin:12px 0 0;min-height:1.4em}
.my-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0}
.my-row .btn{text-decoration:none}
.clist-my{list-style:none;margin:10px 0;padding:0;display:grid;gap:8px}
.clist-my label{display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--ink);border-radius:12px;padding:12px;background:#fff;min-height:48px}
.clist-my input{width:22px;height:22px;flex:0 0 auto}
.my-prompt{font-weight:700;margin:10px 0 8px}
.my-moods{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
#my-diary-t{width:100%;box-sizing:border-box;border:1.5px solid var(--ink);border-radius:12px;padding:12px;font:inherit;resize:vertical}
.my-log{list-style:none;margin:8px 0 12px;padding:0;display:grid;gap:8px}
.my-log li{border:1.5px solid var(--ink);border-radius:12px;padding:10px 12px;background:#fff}
.my-log li p{margin:4px 0 0;white-space:pre-wrap}
.my-log li.empty{border-style:dashed;color:var(--muted)}
.sr{position:absolute;left:-9999px}
.linkbtn{border:0;background:none;font:inherit;text-decoration:underline;padding:0;cursor:pointer}
.my-sticker-sheet{display:none}
@media print{
  body.print-stk > *:not(main){display:none!important}
  body.print-stk main > *{display:none!important}
  body.print-stk #view-my{display:block!important}
  body.print-stk #view-my > *:not(#my-sticker-sheet){display:none!important}
  body.print-stk .my-sticker-sheet{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8mm;padding:10mm}
  .stk{border:1px solid #333;border-radius:14px;padding:10mm 4mm;text-align:center;display:grid;gap:4px;break-inside:avoid}
  .stk b{font-size:18pt}.stk span{font-size:12pt}
}
#pair-code-in{border:1.5px solid var(--ink);border-radius:12px;padding:10px 12px;font:inherit;min-width:0;flex:1 1 140px;min-height:44px}
.pair-who select{border:1.5px solid var(--ink);border-radius:10px;padding:8px;font:inherit;background:#fff}
#pair-t{width:100%;box-sizing:border-box;border:1.5px solid var(--ink);border-radius:12px;padding:12px;font:inherit;resize:vertical}
.my-log li .linkbtn{margin-top:6px;font-size:13px;color:var(--muted)}

.my-book{display:none}
@media print{
  body.print-book > *:not(main){display:none!important}
  body.print-book main > *{display:none!important}
  body.print-book #view-my{display:block!important}
  body.print-book #view-my > *:not(#my-book){display:none!important}
  body.print-book .my-book{display:block!important;color:#000;font-size:12pt;line-height:1.7}
  .bk-cover{page-break-after:always;text-align:center;padding-top:70mm}
  .bk-cover h2{font-size:26pt;margin:6mm 0}
  .bk-k{letter-spacing:.2em}
  .bk-e{break-inside:avoid;margin:0 0 7mm;padding-bottom:4mm;border-bottom:1px solid #bbb}
  .bk-e p{margin:2mm 0 0;white-space:pre-wrap}
}

/* 20대 여성 취향 글씨체 + 폴라로이드 사진 */
:root{
  --body:"Gowun Dodum","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  --hand:"Hi Melody","Gaegu","Jua",sans-serif;
}
body{font-size:17.5px;letter-spacing:-.01em}
.top nav a,.tabbar a{font-family:var(--body)}
.lead,.asof{font-family:var(--hand);font-size:20px;line-height:1.5}
.asof{font-size:17px}
.phase .shot,.pack-item .shot{border:7px solid #fff;border-bottom-width:24px;border-radius:3px;box-shadow:0 0 0 1px #F3C9D8,0 8px 18px rgba(212,42,104,.16);transform:rotate(-1.6deg)}
.phase:nth-child(even) .shot,.pack-item:nth-child(even) .shot{transform:rotate(1.8deg)}
.phase .shot::before,.pack-item .shot::before,.shot.wide::before,.page-head .shot::before{content:"";position:absolute;top:-4px;left:50%;width:74px;height:24px;margin-left:-37px;background:repeating-linear-gradient(135deg,rgba(255,196,214,.92) 0 7px,rgba(255,255,255,.7) 7px 12px);transform:rotate(-3deg);z-index:2;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.phase:nth-child(even) .shot::before{background:repeating-linear-gradient(135deg,rgba(196,232,214,.92) 0 7px,rgba(255,255,255,.7) 7px 12px);transform:rotate(4deg)}
.phase .shot::after,.pack-item .shot::after{content:attr(data-cap);position:absolute;left:0;right:0;bottom:-22px;font-family:var(--hand);font-size:14px;line-height:1;text-align:center;color:#8a5a6a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 6px}
.phase .shot{overflow:visible}.phase .shot img{border-radius:1px}
.shot.empty::after{position:absolute}

.item-more .more-r{display:block;font-size:12px;color:var(--muted);margin-top:2px}

.foot .copy{font-size:12px;color:var(--muted);margin-top:6px}

/* 테스터 의견 반영 */
.disclosure{font-size:13.5px;line-height:1.6;color:#6b5560}
.gloss{font-size:15px;line-height:1.6;color:var(--ink);margin:6px 0 14px}
.hint{font-weight:400;font-size:13px;color:var(--muted);margin-left:6px}
.stars.fold .stars-row,.stars.fold .stars-info{display:none}
.stars-open{font:inherit;font-size:14px;color:var(--muted);background:none;border:0;border-bottom:1px dashed var(--muted);padding:2px 0;cursor:pointer}
