:root{--paper:#f7f5ec;--ink:#293e33;--muted:#7a8274;--line:#e3e5d8;--green:#48634a;--peach:#ebae89}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Malgun Gothic",system-ui,sans-serif;line-height:1.55}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:1px solid var(--line);background:#fffdf8;color:var(--ink);border-radius:12px;min-height:44px;padding:10px 14px;font-weight:700}button:hover:not(:disabled){background:#edf0e5}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,.scene:focus-visible{outline:3px solid #db9164;outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1120px;margin:auto;padding:0 32px}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.topbar a{font-weight:800;color:var(--ink);text-decoration:none;font-size:15px}.heading{display:flex;justify-content:space-between;align-items:center;padding:34px 0 28px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:var(--green);margin:0 0 10px}h1{font-size:38px;letter-spacing:-2px;line-height:1.3;margin:0;font-weight:850}h1 span{font-weight:400;margin-left:10px}.intro{margin:12px 0 0;color:var(--muted);font-size:14px}.chapter{font-size:11px;color:var(--muted);text-align:right;line-height:2}.chapter b{color:var(--green);font-weight:500}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.picture-card{background:#fffdf7;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 25px #34452b08}.board-bar{display:flex;align-items:center;justify-content:space-between;padding:9px 15px;font-size:11px;gap:6px}.zoom-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.zoom-controls button{padding:0;width:36px;min-height:36px;border-radius:50%;font-size:20px}.zoom-controls output{width:38px;text-align:center;font-size:10px}.viewport{position:relative;height:640px;overflow:auto;overscroll-behavior:contain;background:#d5dcc6;scrollbar-width:thin;scrollbar-color:#92a084 #e1e5d9}.scene{position:relative;width:100%;line-height:0;touch-action:pan-x pan-y;cursor:crosshair;user-select:none}.scene img{display:block;width:100%;height:auto;pointer-events:none}.scene.locked{filter:blur(7px);pointer-events:none}.cover{position:absolute;inset:0;min-height:100%;background:#f4f4e6df;backdrop-filter:blur(5px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;z-index:3}.cover-icon{font-size:52px;color:#789263;margin-bottom:22px}.cover h2{font-size:30px;line-height:1.5;letter-spacing:-1px;margin:0}.cover p:not(.eyebrow){font-size:13px;color:#6a7665;line-height:1.9;margin:18px 0 24px}.primary{background:var(--green);border-color:var(--green);color:#fff;padding:14px 24px}.primary:hover:not(:disabled){background:#344e37}.picture-note{padding:11px 10px;text-align:center;font-size:11px;color:var(--muted);margin:0}.notebook{background:#fffdf7;border:1px solid var(--line);border-radius:20px;padding:24px}.notebook-top{display:flex;justify-content:space-between;align-items:center}.notebook-top .eyebrow{margin:0}.progress-count strong{font-size:32px;font-weight:600}.progress-count span{font-size:13px;color:var(--muted);margin-left:6px}.progress-track{height:4px;background:#e9ecdf;border-radius:3px;margin:12px 0 18px;overflow:hidden}#progress{height:100%;width:0;background:var(--green);transition:width .3s}.list-help{font-size:11px;color:var(--muted);margin:0 0 18px}.objects{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:15px 6px}.object{position:relative;text-align:center;color:#68715f}.object svg{display:block;width:42px;height:42px;margin:0 auto 6px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.object .name{font-size:10px}.object.found{color:#7d9273}.object.found svg{opacity:.45}.object.found .name{text-decoration:line-through}.check{position:absolute;right:0;top:-3px;border-radius:50%;width:19px;height:19px;background:var(--green);color:#fff;font-size:12px}.message{font-size:12px;background:#f1f3e9;color:#526847;padding:12px;border-radius:10px;min-height:61px;display:flex;align-items:center;margin:22px 0 16px}.stats{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:1px dashed var(--line)}.stats div{display:flex;flex-direction:column;gap:4px}.stats div:last-child{text-align:right}.stats span{font-size:10px;color:var(--muted)}.stats b{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.actions{display:flex;gap:7px;margin-top:20px}.actions button{flex:1;padding:9px 4px;font-size:12px}.actions span{color:#89977e;margin-left:4px}.gentle-note{text-align:center;font-size:10px;color:var(--muted);margin:14px 0 0}.mark{position:absolute;border:3px solid #fff9dd;border-radius:50%;box-shadow:0 0 0 2px #496c40;background:#dcffc130;pointer-events:none}.mark:after{content:'✓';position:absolute;right:-6px;top:-6px;display:grid;place-items:center;line-height:1;width:22px;height:22px;font:700 13px system-ui;border:2px solid #fff9dd;border-radius:50%;background:#496c40;color:white}.hint-ring{position:absolute;border:4px dashed #ffd58a;border-radius:50%;box-shadow:0 0 0 2px #89633399;background:#ffe2a522;pointer-events:none;animation:pulse 1s ease-in-out infinite alternate}.miss{position:absolute;width:26px;height:26px;transform:translate(-50%,-50%);border:2px solid #fff7df;border-radius:50%;pointer-events:none;opacity:.9}#cursor{position:absolute;width:28px;height:28px;border:2px solid white;box-shadow:0 0 0 2px #334b38;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none}.result{border-top:1px dashed var(--line);margin-top:22px;padding-top:22px}.result h2{font-size:20px;margin:8px 0}.result p{font-size:12px;color:var(--muted)}.result button{display:block;width:100%;margin-top:10px;font-size:12px}#shareFallback{width:100%;min-height:100px;font:inherit;font-size:12px}footer{text-align:center;padding:26px;font-size:10px;color:#8d9585}@keyframes pulse{to{opacity:.45}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:760px){.shell{padding:0 16px}.topbar{height:58px}.topbar span{font-size:10px}.heading{padding:24px 0 20px}h1{font-size:28px;letter-spacing:-1.5px}.intro{font-size:12px;max-width:270px}.chapter{display:none}.game-layout{grid-template-columns:1fr;gap:14px}.viewport{height:58vh;max-height:640px;min-height:330px}.notebook{padding:18px}.notebook-top{margin-bottom:0}.objects{grid-template-columns:repeat(8,1fr);gap:4px}.object svg{width:32px;height:36px}.object .name{font-size:9px}.list-help{margin-bottom:12px}.message{min-height:44px;margin:16px 0}.stats{padding-bottom:13px}.stats div{flex-direction:row;align-items:center;gap:12px}.stats b{font-size:17px}.actions{margin-top:14px}.gentle-note{margin-top:12px}.board-bar{padding:7px 10px}.cover h2{font-size:26px}.cover-icon{font-size:36px;margin-bottom:10px}.progress-count strong{font-size:26px}}@media(max-width:360px){.objects{grid-template-columns:repeat(4,1fr);gap:12px}h1{font-size:26px}.topbar span{font-size:9px}.board-bar{font-size:10px}.zoom-controls{gap:4px}}

/* Keep the frame fitted to the illustration at the initial zoom. */
.viewport{height:auto;aspect-ratio:1122/1402;max-height:none;min-height:0}
@media(max-width:760px){.viewport{height:auto;max-height:58vh;min-height:0}}

/* 모드와 단계 선택도 그림책 카드의 질감을 이어간다. */
.landing{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.mode-card,.level-card{border:1px solid var(--line);background:#fffdf7;text-align:left;padding:28px;border-radius:20px;min-height:245px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;box-shadow:0 8px 25px #34452b08}.mode-card span{font-size:35px;color:var(--green)}.mode-card b{font-size:23px;letter-spacing:-1px}.mode-card small,.level-card small{font-size:13px;color:var(--muted);line-height:1.7}.mode-card i,.level-card i{font-style:normal;font-size:12px;color:var(--green);margin-top:auto}.duel-mode{background:#fff8ef}.duel-mode span{color:#c87d50}.level-select{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.select-lead{grid-column:1/-1;margin:0;color:var(--muted);font-size:14px}.level-card{min-height:190px;padding:20px}.level-card span{font-size:11px;font-weight:800;letter-spacing:.1em;color:var(--green)}.level-card b{font-size:20px;letter-spacing:-1px}.level-card.on{border:2px solid var(--green);background:#eff4e9}.level-card.locked{opacity:.48}.level-select>.primary{grid-column:1/-1;justify-self:center;margin-top:6px}@media(max-width:760px){.landing,.level-select{grid-template-columns:1fr}.mode-card{min-height:178px;padding:22px}.level-card{min-height:155px}.level-select>.primary{width:100%}}
/* 찾을 모양을 그림 바로 아래에 붙여 크게 보여준다(2026-09-16) */
.list-help{margin:0 0 8px}
.notebook .objects{margin-bottom:14px}
.notebook-top{border-top:1px solid var(--line);padding-top:12px}
@media(max-width:760px){
 .game-layout{gap:8px}
 .notebook{padding:14px 16px 18px}
 .picture-note{padding:8px 10px 4px}
 .list-help{font-size:12px;margin:0 0 6px}
 .notebook .objects{grid-template-columns:repeat(4,1fr);gap:10px 4px;margin-bottom:12px}
 .object svg{width:40px;height:42px}
 .object .name{font-size:11px}
 .progress-track{margin:10px 0 14px}
}
/* 둘이하기 결과: 이름 적고 카톡으로 바로 도전장 (2026-09-16) */
.name-row{display:block;margin:14px 0 6px;font-size:12px;color:var(--muted);font-weight:700}
.name-row input{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:12px;background:#fffdf7;padding:12px 14px;font:inherit;font-size:16px;font-weight:700;color:var(--ink)}
.name-row input:focus{outline:none;border-color:var(--green)}
.name-row input.need-name{border-color:#d4553f;animation:needName .45s ease}
@keyframes needName{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
button.kakao{background:#FEE500;border-color:#f2d900;color:#191600}
button.kakao:hover:not(:disabled){background:#ffe94d}

/* 정답과 닮은 장식이 장면 속에 얇게 겹친다. 클릭은 통과되어 진짜 물건만 정답이다. */
.decoy{position:absolute;z-index:1;display:block;pointer-events:none;transform:rotate(var(--tilt));opacity:.43;mix-blend-mode:multiply;filter:blur(.18px)}
.decoy svg{display:block;width:100%;height:100%;fill:#d7b47655;stroke:#4f573d;stroke-width:2.1;stroke-linejoin:round}
.decoy-1{opacity:.34;filter:blur(.3px)}.decoy-1 svg{fill:#aac37b55;stroke:#42553e}.decoy-2{opacity:.30}.decoy-2 svg{fill:#cf8d6755;stroke:#734c3b}
.mark,.hint-ring{z-index:2}
