:root{color-scheme:light;--ink:#402d20;--green:#25482f;--paper:#fcf4e3;--rule:#c9b89a;--serif:Georgia,"Noto Serif KR","Yu Mincho",serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 system-ui,"Malgun Gothic",sans-serif}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}a{color:var(--green)}:focus-visible{outline:3px solid #1d7384;outline-offset:4px}
header{border-bottom:1px solid var(--rule)}nav{max-width:1170px;margin:auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 24px}.brand{display:flex;align-items:center;gap:11px;font:700 21px/1 var(--serif);text-decoration:none;color:var(--ink)}.brand img{width:39px;height:39px;border-radius:10px}select{max-width:45%;border:1px solid var(--rule);background:transparent;border-radius:8px;padding:6px 9px}
main{width:min(1100px,100%);display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);grid-template-areas:"board prompt" "board actions";grid-template-rows:1fr 1fr;gap:18px clamp(24px,5vw,68px);align-items:end;padding:clamp(20px,3.3vw,45px) 24px;margin:auto}
.board{position:relative;grid-area:board;width:100%;aspect-ratio:6/7;overflow:hidden;border-radius:18px;align-self:center;background:#80ad9c;isolation:isolate}
.world{width:100%;height:100%;display:block;user-select:none}.target{border:0;padding:0;background:transparent;display:grid;place-items:center;position:absolute;left:var(--x);top:var(--y);width:max(44px,var(--tap));height:max(44px,11%);transform:translate(-50%,-50%);touch-action:manipulation;border-radius:50%}.target img{display:block;width:var(--size);height:auto;max-width:none;pointer-events:none;filter:drop-shadow(0 1px 1px #34291355)}.board{container-type:inline-size}.target.found::after{content:"✓";display:grid;place-items:center;position:absolute;right:2px;top:0;width:24px;height:24px;color:white;font-weight:750;background:var(--green);border:2px solid #fff4c8;border-radius:100%}
.prompt{grid-area:prompt}.actions{grid-area:actions;align-self:start}h1{font:700 clamp(39px,5.3vw,76px)/1.04 var(--serif);letter-spacing:-.052em;margin:0 0 14px;text-wrap:balance}.instruction{margin:0 0 17px;font-size:clamp(16px,1.7vw,20px)}.tray{border:1px solid var(--rule);border-radius:15px;display:flex;padding:10px 8px;list-style:none;gap:4px;margin:0}.tray li{width:33.333%;text-align:center;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;font-weight:650;font-size:.88rem;line-height:1.22;gap:4px;overflow-wrap:anywhere}.tray img{width:38px;height:38px;object-fit:contain}.tray .done{color:var(--green)}.tray .done::before{content:"✓";position:absolute;right:9%;top:0;font-weight:bold}.tray .done img{opacity:.54}
.progress{font-size:1.12rem;font-weight:700;margin:11px 0 0;min-height:1.5em}
.offer{font-size:.86rem;margin-top:6px}.offer summary{cursor:pointer;color:var(--green);width:fit-content}.offer p{margin:4px 0;font-weight:650}
html:lang(ko) h1{word-break:keep-all}
@media(min-width:701px){html:lang(ko) h1{font-size:clamp(40px,4.25vw,60px)}}
.cta,.share,.replay{font-weight:650;line-height:1.25;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:11px 19px;text-decoration:none}.cta{color:#fff;background:var(--green);border:1px solid var(--green)}.share,.replay{background:transparent;border:1px solid var(--rule)}.buttons{display:flex;flex-wrap:wrap;gap:8px}.details{font-size:.9rem;color:#604e41;max-width:53ch;margin:12px 0 3px}.message{font-size:.88rem;margin:5px 0;min-height:1.25em}.manual{width:100%;border:1px solid var(--rule);padding:8px}.replay{margin:4px 0}.replay[hidden],[hidden]{display:none}footer{max-width:1100px;margin:auto;padding:8px 24px 25px;color:#6b5845;font-size:.9rem}
@media(max-width:700px){nav{min-height:53px;padding:6px 14px}.brand{font-size:18px;gap:7px}.brand img{width:32px;height:32px}select{font-size:14px}.board{max-width:460px;justify-self:center;border-radius:12px}main{grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"prompt" "board" "actions";padding:17px 14px 0;gap:10px;max-width:490px}h1{font-size:clamp(31px,7.4vw,42px);margin-bottom:5px}.instruction{font-size:15px;margin:0 0 8px}.tray{padding:5px;gap:4px;border-radius:9px}.tray li{flex-direction:row;gap:5px;font-size:.79rem}.tray img{width:26px;height:26px}.tray .done::before{position:static}.progress{font-size:.95rem;margin:5px 0 0}.buttons{margin-top:2px}.details{font-size:.84rem}footer{padding:5px 14px 18px;max-width:490px}}

.phone-install {
  display: none;
}
@media (min-width: 800px) and (any-hover: hover) and (any-pointer: fine) {
  .phone-install {
    display: block;
    margin: 10px 0 4px;
    font-size: .9rem;
  }
  .phone-install summary {
    color: var(--green);
    cursor: pointer;
    width: fit-content;
  }
  .phone-install-code {
    display: block;
    width: min(240px, 100%);
    margin-top: 8px;
  }
  .phone-install-code img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    image-rendering: pixelated;
  }
}
