@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--ink:#30343b;--muted:#85858c;--accent:#7970b9;--line:#e8e7e2;--paper:#f7f6f2}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Noto Sans KR',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #9d90d2;outline-offset:5px}button:disabled{opacity:.38;cursor:default}.app{max-width:1180px;margin:auto;padding:0 44px}header{height:98px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:25px;font-weight:700;letter-spacing:-1px}.brand-mark{display:flex;gap:4px;transform:rotate(-30deg)}.brand-mark i{width:9px;height:9px;border-radius:50%;background:#ef8f80}.brand-mark i:nth-child(2){background:#8d82bd}.brand-mark i:nth-child(3){background:#79aea0}.brand-tag{font-size:11px;color:#99969b;letter-spacing:0;font-weight:400;border-left:1px solid #dbd8d5;margin-left:8px;padding-left:20px}.icon-btn{border:1px solid #e2dfdc;border-radius:24px;background:transparent;padding:10px 15px;color:#7b7782;font-size:18px}.icon-btn span{font-size:12px;margin-left:7px}.intro{display:flex;justify-content:space-between;align-items:center;padding:42px 0 30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#8c85aa;margin:0 0 13px}.eyebrow span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a69cc8;margin-right:7px;vertical-align:middle}h1{font-size:39px;letter-spacing:-2px;margin:0;font-weight:700;line-height:1.35}h1>span{color:#a297cb}.subtitle{font-size:13px;color:#83828a;margin:12px 0 0}.intro-note{display:flex;align-items:center;gap:16px;font-size:12px;line-height:1.8;color:#93909b;padding-right:8px}.mini-loop{font-size:53px;color:#b3a7cc;transform:rotate(-18deg)}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:25px;align-items:start}.play-card{background:white;border:1px solid #e7e5e1;border-radius:25px;padding:24px 28px 15px;box-shadow:0 9px 25px #39303404}.board-top{display:flex;align-items:center;gap:10px}.level-badge{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#7b729f;background:#f0edf7;padding:8px 12px;border-radius:7px}.difficulty{font-size:11px;color:#9c98a3}.timer{margin-left:auto;font-size:13px;color:#93909a;font-variant-numeric:tabular-nums}.board-wrap{position:relative;max-width:552px;margin:0 auto}#board{width:100%;display:block;touch-action:none;user-select:none;overflow:visible}#board [role=button]{cursor:grab}#board [role=button]:active{cursor:grabbing}.board-bottom{display:flex;align-items:center;justify-content:space-between;margin:0 13px 20px}.progress-label{font-size:11px;color:#a09da6}.progress-label>span{font-size:16px;color:#5a5667;font-weight:700;margin-right:5px}.swatches{display:flex;gap:7px}.swatch{height:9px;width:9px;background:var(--color);border-radius:50%;opacity:.25}.swatch.done{opacity:1;box-shadow:0 0 0 3px #f5f4f7}.tools{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #f0eeeb;padding-top:17px;gap:8px}.tools button{border:0;background:#f7f6f9;border-radius:10px;padding:11px 2px;color:#7f7a8c;font-size:12px;transition:background .15s}.tools button:hover{background:#eeebf5}.tools button span{font-size:18px;vertical-align:-1px;margin-right:7px}.status{text-align:center;color:#aaa6b0;font-size:10px;min-height:17px;margin:15px 0 0}.status.error{color:#d37264}aside{display:grid;gap:20px}.guide-card{background:#ebe7f4;border:1px solid #e4deee;border-radius:23px;padding:27px 25px 22px}.guide-icon{width:37px;height:37px;border-radius:12px;background:#ded6ee;color:#8c79b1;font-size:28px;line-height:32px;text-align:center;margin-bottom:24px}.guide-card .eyebrow{font-size:9px;color:#9990af}.guide-card h2{font-size:22px;letter-spacing:-.8px;line-height:1.5;margin:0 0 26px;font-weight:600;color:#514b62}.guide-card ol{list-style:none;margin:0;padding:0;counter-reset:item}.guide-card li{counter-increment:item;position:relative;padding-left:30px;margin-bottom:19px}.guide-card li:before{content:counter(item);position:absolute;left:0;top:1px;border:1px solid #c9bfdb;border-radius:50%;width:19px;height:19px;line-height:18px;text-align:center;font-size:10px;color:#9a8bad}.guide-card b{font-size:12px;display:block;color:#6d627f;font-weight:600}.guide-card li span{display:block;font-size:10px;color:#9a90a8;margin-top:5px}.guide-foot{border-top:1px solid #ddd5e8;padding-top:15px;margin:6px 0 0;color:#9d92ab;font-size:9px;line-height:1.7}.stages-card{background:#fff;border:1px solid #e7e5e1;border-radius:20px;padding:22px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.section-title h2{font-size:13px;font-weight:600;margin:0}.section-title span{font-size:10px;color:#a19ba9}.stages{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.stage{border:1px solid #eeecf1;background:#faf9fb;border-radius:10px;aspect-ratio:1.15;color:#aaa5b0;font-size:13px;position:relative}.stage.active{background:#8c80b8;color:white;border-color:#8c80b8;box-shadow:0 3px 8px #8c80b825}.stage.cleared:not(.active){background:#f1f5f1;color:#84a38b;border-color:#e4eee5}.stage.cleared:after{content:'·';font-size:18px;position:absolute;bottom:0;left:0;right:0}.stages-card>p{font-size:9px;color:#b0aab6;margin:18px 0 0;text-align:center}footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#b2acb5;padding:25px 1px 24px}footer span:last-child{letter-spacing:0}.complete[hidden]{display:none}.complete{position:absolute;inset:12% 5%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#faf9fcf5;animation:reveal .3s}.win-icon{color:#9485bf;font-size:44px;margin-bottom:19px}.complete h2{font-size:26px;letter-spacing:-1px;margin:0}.complete>p:not(.eyebrow){font-size:12px;color:#9e96ac;margin:16px 0 25px}.primary{background:#8c80b8;color:#fff;border:0;border-radius:30px;font-size:12px;padding:14px 24px}.primary span{margin-left:20px}.hint-path{animation:hintPulse 1s infinite}.dot-symbol{fill:#fff;font-size:14px;font-weight:700;text-anchor:middle;dominant-baseline:central;pointer-events:none}.selected-dot{animation:hintPulse 1s infinite}@keyframes hintPulse{50%{opacity:.4}}@keyframes reveal{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(min-width:1400px){.app{padding-top:20px}}@media(max-width:850px){.app{padding:0 24px}.game-layout{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.play-card{padding:20px 15px 14px}.guide-card{padding:24px 19px}.guide-card h2{font-size:19px}.brand-tag{display:none}.stages-card{padding:18px}.intro{padding-top:30px}h1{font-size:32px}}@media(max-width:650px){.app{padding:0 17px}header{height:74px}.brand{font-size:22px}.icon-btn{padding:7px 11px}.intro{padding:28px 3px 24px}.intro-note{display:none}h1{font-size:30px}.subtitle{font-size:11px}.eyebrow{font-size:8px}.game-layout{grid-template-columns:1fr}.play-card{border-radius:22px;padding:19px 14px 12px}.board-bottom{margin-bottom:16px}.board-wrap{margin-top:5px}.guide-card{display:none}aside{gap:0}.stages-card{padding:20px}.stages{grid-template-columns:repeat(6,1fr)}.stage{aspect-ratio:1.2}footer{justify-content:center;padding-top:20px}footer span:last-child{display:none}.status{font-size:9px}.difficulty{font-size:10px}.complete h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.stage-pager{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.stage-pager button{border:1px solid #eeeaf2;background:#faf9fc;border-radius:8px;width:29px;height:27px;font-size:20px;color:#9a8db5}.stage-pager span{font-size:10px;color:#a7a0af}@media(max-width:650px){.stages{grid-template-columns:repeat(8,1fr);gap:7px}.stage{font-size:11px}}
