:root{color-scheme:light;--paper:#f7f5ec;--ink:#2b5260;--muted:#4b6868;--teal:#376f73;--line:#dde3d8;--ease:cubic-bezier(.2,.75,.25,1)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #b87c35;outline-offset:4px}button:active:not(:disabled){transform:scale(.97)}button{transition:transform .15s var(--ease),background .15s ease}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}.site-header{height:65px;max-width:1000px;margin:auto;padding:0 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.home-link{color:var(--ink);text-decoration:none;font-size:14px;font-weight:650;min-height:44px;display:flex;align-items:center;gap:10px}.header-note{font-size:12px;color:var(--muted);letter-spacing:.3px}.help-button{height:44px;width:44px;border:1px solid var(--line);border-radius:50%;background:#fcfbf4;color:var(--ink);font-size:17px}.game-shell{width:min(100%,470px);padding:0 22px;margin:20px auto 28px}.intro{text-align:center;margin-bottom:19px}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:7px;margin:0}.eyebrow span{height:5px;width:5px;background:#7dafaa;border-radius:50%}h1{font-size:30px;letter-spacing:-1.3px;line-height:1.3;margin:9px 0 7px}.intro>p:last-child{font-size:13px;color:var(--muted);margin:0}.level-heading{display:flex;justify-content:space-between;align-items:center;margin:0 3px 12px}.level-title{display:flex;align-items:center;gap:10px}.level-number{width:37px;height:39px;border-radius:12px;background:#e2eae0;display:grid;place-items:center;color:#456763;font:italic 21px Georgia,serif}.small-label{font-size:10px;color:#4b6868;letter-spacing:.6px}.level-title h2{font-size:15px;letter-spacing:-.4px;margin:3px 0 0}.counter{font-size:12px;font-weight:650;border:1px solid #d5e2d8;border-radius:30px;padding:9px 12px;background:#fbfaf3;font-variant-numeric:tabular-nums}.sea-frame{position:relative;width:100%;padding:10px;border-radius:29px;background:#c9dcd2;border:1px solid #b9cec2;box-shadow:0 5px 0 #b5c9bd,0 15px 27px -20px #456b6555}canvas{display:block;width:100%;aspect-ratio:1;border-radius:20px;touch-action:none;cursor:crosshair;background:#a4d5d2}.status{text-align:center;min-height:36px;margin:10px 0 4px;font-size:12px;line-height:1.55;color:var(--muted);display:flex;align-items:center;justify-content:center}.aim-controls{display:flex;gap:8px;justify-content:center}.aim-controls>button{min-height:44px;border:1px solid #d5e1d6;border-radius:13px;color:var(--ink);background:#fdfbf4;min-width:49px;font-size:23px}.primary,.aim-controls>.primary{border:0;background:var(--teal);color:#fffdf2;border-radius:13px;min-height:44px;padding:0 20px;font-size:13px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:13px}.aim-controls>.primary{flex:1}.tools{display:flex;justify-content:center;gap:8px;margin-top:6px}.tools button{border:0;background:transparent;color:#4b6868;min-height:44px;padding:0 13px;border-radius:10px;font-size:12px}.tools button span{font-size:16px;margin-right:4px}.level-nav{margin:13px auto 0;max-width:360px}.nav-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#4b6868;margin:0 4px 7px}.levels{display:flex;justify-content:space-between;gap:7px}.level-button{flex:1;min-width:44px;height:44px;border:1px solid #dce4d9;border-radius:50%;background:transparent;color:#4b6868;font-size:13px}.level-button.active{background:#e2ebe0;border-color:#b9d0bf;color:#315f5b}.level-button.done:after{content:'·';position:absolute;margin-top:9px;margin-left:2px;color:#6b947a;font-size:21px}.quiet-note{text-align:center;font-size:11px;color:#4b6861;margin:14px 0 0}.complete-card{position:absolute;left:22px;right:22px;top:50%;transform:translateY(-50%);text-align:center;background:#fbfaf0f5;padding:24px 14px 20px;border:1px solid #d8e3d5;border-radius:21px;box-shadow:0 10px 30px #34545720;animation:arrive .22s var(--ease)}.complete-kicker{font-size:11px;letter-spacing:.6px;color:#648177}.complete-card h3{font-size:20px;letter-spacing:-.7px;margin:9px 0 17px}.complete-card button{margin:auto}dialog{border:1px solid #d7e1d6;border-radius:25px;background:#fbfaf2;color:var(--ink);max-width:390px;width:calc(100% - 36px);padding:30px 26px 23px;box-shadow:0 20px 65px #233f4025}dialog::backdrop{background:#274c4855;backdrop-filter:blur(3px)}.close{position:absolute;right:7px;top:7px;height:44px;width:44px;border:0;background:none;color:#5d7976;font-size:26px}dialog h2{font-size:25px;letter-spacing:-1px;margin:10px 0 22px}dialog ol{padding-left:21px;margin:0}dialog li{padding-left:3px;margin:17px 0;color:#4b6861;font-size:13px}dialog strong{display:block;color:var(--ink);font-size:14px;margin-bottom:6px}dialog li span{font-size:12px;line-height:1.8}.keyboard-note{font-size:11px;line-height:1.7;color:#4b6868;padding-top:9px;text-align:center}dialog .primary{width:100%;margin-top:17px}@keyframes arrive{from{opacity:0}to{opacity:1}}@media(hover:hover){button:not(:disabled):hover{background:#e4ece1}.primary:not(:disabled):hover,.aim-controls>.primary:not(:disabled):hover{background:#2b6064}.home-link:hover{color:#b07941}}@media(max-width:500px){.site-header{height:56px;padding:0 20px}.header-note{font-size:10px}.game-shell{margin-top:17px;padding:0 20px}.intro{margin-bottom:17px}h1{font-size:27px;margin:8px 0 6px}.intro>p:last-child{font-size:12px}.eyebrow{font-size:10px}.sea-frame{padding:8px;border-radius:25px}canvas{border-radius:18px}.level-heading{margin-bottom:10px}.level-nav{margin-top:9px}}@media(max-height:780px){.game-shell{width:min(100%,420px);margin-top:12px}.intro{margin-bottom:13px}.eyebrow{display:none}.intro h1{font-size:25px;margin:0 0 5px}.sea-frame{max-width:calc(100svh - 352px);margin:auto}.level-heading{max-width:calc(100svh - 350px);margin-left:auto;margin-right:auto}.status{margin-top:8px;min-height:31px}.level-nav{margin-top:5px}.quiet-note{margin-top:8px}.game-shell{margin-bottom:14px}}@media(max-width:350px){.game-shell{padding:0 13px}.header-note{display:none}.levels{gap:3px}.level-button{min-width:40px}.complete-card h3{font-size:17px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
