/* 고양이 선물 받는 법(/cat-gift) — 링크 페이지(links.css)와 같은 색·글꼴 */
*{box-sizing:border-box}
body{margin:0;background:#fff9ee;color:#493726;font-family:'Pretendard Variable',-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}
a{color:inherit}
img,video{display:block;max-width:100%;height:auto}
.page{width:100%;max-width:460px;margin:auto;padding:18px 20px 40px;background:radial-gradient(ellipse at 50% 0,#ffefc6 0,transparent 42%),#fff9ee}
.topline{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8c7359}
.topline a{text-decoration:none;padding:5px 10px;border:1px solid #e7d9c0;border-radius:20px;background:#fffaf0}
.ended{display:none;margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#4a2e1f;color:#fff3d9;font-size:14px;text-align:center}
.ended.show{display:block}
.hero{text-align:center;padding:18px 0 6px}
.hero .eyebrow{font:16px/1.3 'Jua',sans-serif;color:#7a5a3b;margin:0}
.hero h1{font:38px/1.2 'Jua',sans-serif;font-weight:400;color:#c4561e;margin:6px 0 4px;letter-spacing:-.5px}
.hero .sub{margin:0 0 14px;font-size:15px;color:#6b5440}
.hero .cover{border-radius:22px;overflow:hidden;border:1px solid #ead9bd;box-shadow:0 6px 0 #e9cf9f55}
.hero .cover img{width:100%;image-rendering:pixelated}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:14px 0 4px;padding:0;list-style:none}
.chips li{font-size:13px;font-weight:650;padding:6px 12px;border-radius:999px;background:#4a2e1f;color:#fff3d9}
.chips li.soft{background:#f6e6c8;color:#5a412b}
.part{margin:34px 0 0}
.part>h2{font:26px/1.3 'Jua',sans-serif;font-weight:400;margin:0 0 4px;color:#4a2e1f}
.part>h2 span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#c4561e;color:#fff6e6;font-size:19px;margin-right:8px;vertical-align:2px}
.part>p.lead{margin:0 0 14px;color:#7a6047;font-size:14px}
.step{background:#fff;border:1px solid #eadfcd;border-radius:20px;padding:16px;margin:12px 0;box-shadow:0 3px 0 #ead9bd66}
.step h3{margin:0 0 6px;font-size:17px;font-weight:800;letter-spacing:-.3px;display:flex;gap:8px;align-items:baseline}
.step h3 b{flex:none;font:15px/1 'Jua',sans-serif;color:#c4561e;background:#fde9d6;border-radius:8px;padding:5px 7px}
.step p{margin:0;font-size:14.5px;color:#5d4835}
.step p+p{margin-top:6px}
.step em{font-style:normal;font-weight:800;color:#c4561e}
.shot{margin:12px -4px 0;max-width:none;border-radius:18px;overflow:hidden;border:1px solid #e5d6bd;background:#f2eadb}
.shot.wide{max-width:none}
.note{font-size:12.5px;color:#8a7158;margin-top:8px !important}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 0;padding:14px 16px;border-radius:16px;background:#f6bc58;border:1px solid #e7a940;font-weight:800;font-size:15.5px;text-decoration:none;box-shadow:0 4px 0 #e9b14d44}
.btn.dark{background:#4a2e1f;border-color:#4a2e1f;color:#fff3d9;box-shadow:0 4px 0 #4a2e1f33}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* 선물 버튼 위치 예시 */
.where{position:relative;margin:12px 0 0;border-radius:18px;overflow:hidden;border:1px solid #e5d6bd}
.where img{width:100%;image-rendering:pixelated}
.where .pill{position:absolute;left:5%;top:7%;width:15%;aspect-ratio:1;border-radius:30%;background:#fffaf0;border:2px solid #4a2e1f22;display:grid;place-items:center;box-shadow:0 2px 6px #0002}
.where .pill svg{width:58%;height:58%;fill:none;stroke:#4a2e1f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.where .pill::after{content:'';position:absolute;inset:-9px;border-radius:34%;border:3px solid #c4561e;animation:pulse 1.6s ease-out infinite}
.where .tag{position:absolute;left:23%;top:9%;font:15px/1 'Jua',sans-serif;background:#c4561e;color:#fff6e6;padding:7px 10px;border-radius:10px}
.where .ex{position:absolute;right:8px;bottom:8px;font-size:11px;background:#0006;color:#fff;padding:3px 8px;border-radius:8px}
@keyframes pulse{0%{transform:scale(.9);opacity:1}100%{transform:scale(1.25);opacity:0}}
@media (prefers-reduced-motion:reduce){.where .pill::after{animation:none}}
/* 안드로이드·아이폰 고르기 */
.os{margin:14px 0 0}
.os input{position:absolute;opacity:0;pointer-events:none}
.os .tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border-radius:16px;background:#f2e5cc}
.os label{text-align:center;padding:10px;border-radius:12px;font-weight:800;font-size:15px;cursor:pointer;color:#7a6047}
.os .panel{display:none}
#os-android:checked~.tabs label[for=os-android],#os-ios:checked~.tabs label[for=os-ios]{background:#fff;color:#4a2e1f;box-shadow:0 2px 0 #e2cfae}
#os-android:checked~.android,#os-ios:checked~.ios{display:block}
.os input:focus-visible~.tabs{outline:3px solid #c4561e66;outline-offset:2px}
video.unbox{width:100%;border-radius:18px;border:1px solid #e5d6bd;image-rendering:pixelated;background:#e9dfc9}
/* 자주 묻는 질문 */
.faq details{background:#fff;border:1px solid #eadfcd;border-radius:16px;margin:10px 0;padding:0 16px}
.faq summary{cursor:pointer;padding:14px 0;font-weight:800;font-size:15px;list-style:none;display:flex;justify-content:space-between;gap:10px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:#c4561e;font-weight:900}
.faq details[open] summary::after{content:'–'}
.faq details>div{padding:0 0 16px;font-size:14.5px;color:#5d4835}
.foot{margin:36px 0 0;text-align:center;font-size:12.5px;color:#8c7359}
.foot p{margin:4px 0}
.foot a{text-decoration:underline}
.step.tip{background:#fff6e6;border-color:#f0c48a}
.step.tip h3 b{background:#c4561e;color:#fff6e6}
ol.mini{margin:8px 0 0;padding-left:20px;font-size:14.5px;color:#5d4835}
ol.mini li+li{margin-top:4px}
