:root{--ink: #2f2a26;--muted: #7a6f66;--paper: #fffaf1;--line: #eadfcd;--blue: #3f6fd1;--ok: #2e9a6a;--bad: #d9534f;font-family:-apple-system,Apple SD Gothic Neo,Noto Sans KR,Segoe UI,sans-serif;color:var(--ink)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#f3ead9}#scene{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;touch-action:none}#ui{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none}#ui>*{pointer-events:auto}.screen{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:16px;background:#f3ead9d1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.card{width:min(440px,100%);background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:28px 22px;box-shadow:0 12px 40px #3c281424}.center{text-align:center}h1{margin:0 0 8px;font-size:28px}.muted{color:var(--muted);margin:0 0 20px;line-height:1.5}.row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:14px}.btn{font:inherit;font-weight:600;font-size:16px;min-height:48px;padding:10px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn:disabled{opacity:.55;cursor:default}.btn.live{background:var(--bad);border-color:var(--bad)}.hint{position:absolute;top:16px;left:50%;transform:translate(-50%);background:#fffaf1eb;border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-size:14px;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis}.talk{position:absolute;bottom:28px;left:50%;transform:translate(-50%);font-size:18px;padding:12px 26px}[hidden]{display:none!important}.sheet{position:absolute;left:50%;bottom:12px;transform:translate(-50%);width:min(520px,calc(100% - 24px));background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:18px 18px 20px;text-align:center;box-shadow:0 12px 40px #3c281429}.speaker{font-size:13px;font-weight:700;color:var(--blue);letter-spacing:.02em;margin-bottom:6px}.speaker.you{color:var(--ok)}.ko{font-size:32px;font-weight:700;line-height:1.3}.rom{color:var(--muted);font-size:15px;margin-top:2px}.meaning{font-size:17px;margin-top:6px}.status{font-size:14px;color:var(--muted);margin-top:10px;min-height:20px}.status.bad{color:var(--bad)}.syllables{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.syl{padding:0 2px;border-radius:8px}.syl.ok{color:var(--ok)}.syl.bad{color:var(--bad);text-decoration:underline wavy;text-underline-offset:6px}.syl.chip{font:inherit;font-weight:700;border:1px solid var(--line);background:#fff;padding:2px 10px;cursor:pointer;color:var(--ink)}.syl.chip.now{background:var(--blue);color:#fff;border-color:var(--blue)}.debug{width:100%;margin-top:12px;font:inherit;font-size:16px;padding:10px 14px;border-radius:12px;border:1px dashed var(--muted)}.stamp{display:inline-block;border:3px solid var(--bad);color:var(--bad);border-radius:50%;width:96px;height:96px;line-height:1.2;padding-top:22px;font-weight:800;font-size:17px;transform:rotate(-10deg);margin-bottom:12px}.report{list-style:none;padding:0;margin:0 0 18px;text-align:left}.report li{padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}.screen{transition:opacity .4s}.screen.out{opacity:0}.hero{width:120px;height:120px;object-fit:cover;border-radius:50%;border:4px solid #fff;box-shadow:0 6px 20px #3c281426;margin-bottom:10px}.kicker{font-weight:800;color:var(--blue);letter-spacing:.08em;font-size:13px;margin:6px 0}.next-up{font-weight:700;margin:4px 0 16px}.fade{position:absolute;top:0;right:0;bottom:0;left:0;background:#1d1a17;opacity:0;transition:opacity .45s;pointer-events:auto}.fade.on{opacity:1}.banner{position:absolute;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;margin:0 auto;width:fit-content;max-width:calc(100% - 24px);background:#fffaf1f2;border:2px solid #2f2a26;border-radius:14px;padding:8px 14px;box-shadow:0 4px #2f2a26}.banner .qn{font-size:12px;font-weight:800;color:#b07a12;letter-spacing:.03em}.banner .goal{font-size:15px;font-weight:700}.hint{top:auto;bottom:96px;font-size:13px;color:var(--muted)}.talk{box-shadow:0 4px #2a4f9c;animation:pop .25s ease-out}@keyframes pop{0%{transform:translate(-50%) scale(.8)}to{transform:translate(-50%) scale(1)}}.dlg{position:absolute;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translate(-50%);width:min(720px,calc(100% - 24px));min-height:150px;background:#fffaf1;border:3px solid #2f2a26;border-radius:18px;box-shadow:0 6px #2f2a26,0 18px 40px #0000002e;padding:30px 18px 16px 150px;cursor:pointer;animation:rise .22s ease-out}@keyframes rise{0%{transform:translate(-50%,16px);opacity:0}to{transform:translate(-50%);opacity:1}}.dlg .portrait{position:absolute;left:14px;bottom:14px;width:120px;height:140px;object-fit:cover;object-position:center top;border-radius:14px;border:3px solid #2f2a26;background:#ece6f0}.dlg .nametag{position:absolute;top:-18px;left:150px;background:#2f2a26;color:#fff;font-weight:800;font-size:15px;padding:6px 14px;border-radius:10px}.dlg.who-nabi .nametag{background:#e58a3a}.dlg.who-mikyung .nametag{background:#2e9a6a}.dlg.who-jiho .nametag{background:var(--blue)}.dlg.who-mia .nametag{background:#9b6fd1}.dlg .body{text-align:left}.dlg .say-text{font-size:18px;line-height:1.5;min-height:54px}.dlg .ko{font-size:28px;font-weight:800;line-height:1.3;min-height:36px}.dlg .syllables{justify-content:flex-start}.dlg .rom{margin-top:4px}.dlg .meaning{font-size:16px;margin-top:2px}.dlg .cue{font-size:13px;font-weight:800;color:#9b6fd1;margin-bottom:2px}.dlg .cue.ok{color:var(--ok);font-size:16px}.dlg .status{text-align:left;margin-top:6px}.dlg .tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.dlg .chip,.card .chip{font:inherit;font-weight:700;font-size:14px;min-height:40px;padding:6px 14px;border-radius:999px;border:2px solid #2f2a26;background:#fff;color:var(--ink);cursor:pointer}.dlg .mic{min-height:44px;box-shadow:0 3px #2a4f9c}.dlg .next{position:absolute;right:14px;bottom:10px;font:inherit;font-weight:800;font-size:14px;background:none;border:0;color:#b07a12;cursor:pointer;animation:blink 1s infinite;padding:8px}@keyframes blink{50%{opacity:.35}}.dlg .btn{margin-top:10px}.dlg .debug{margin-top:8px}@media(max-width:600px){.dlg{padding:28px 14px 14px;min-height:0}.dlg .portrait{width:64px;height:64px;top:-40px;left:12px;bottom:auto;border-radius:50%;object-position:center 12%}.dlg .nametag{left:84px;top:-16px;font-size:14px}.dlg .say-text{font-size:16px;padding-bottom:22px}.dlg .ko{font-size:24px}.dlg .tools{padding-right:70px}.banner .goal{font-size:14px}}#osm-credit{position:fixed;right:6px;bottom:4px;z-index:1;font:10px -apple-system,sans-serif;color:#2828288c;pointer-events:none}.name-input{width:100%;max-width:280px;margin:12px auto 6px;padding:12px 14px;font-size:18px;border-radius:12px;border:2px solid #d9cdbd;text-align:center;background:#fff}.name-input:focus{outline:none;border-color:#3f6fd1}.name-preview{min-height:24px;font-size:18px;font-weight:700;color:#2f2a26}.card .row+.btn{margin-top:12px}.btn.wide{width:100%;max-width:320px;margin:4px auto 0;display:block}.btn.ghost{background:#fff;color:#2f2a26;border:2px solid #d9cdbd}.muted.small{font-size:13px;margin:10px 0 6px}#corner{position:fixed;right:10px;top:214px;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:6px}@media(min-width:700px){#corner{top:140px}}.corner-btn{min-width:32px;height:32px;border-radius:999px;border:none;background:#ffffffb8;font-size:16px;cursor:pointer;padding:0 8px}.corner-btn.text{font:600 11px -apple-system,sans-serif;color:#4a443f}.credits{z-index:40}.credit-list{list-style:none;padding:0;margin:8px 0 16px;text-align:left;font-size:13px;line-height:1.45}.credit-list li{padding:8px 0;border-bottom:1px solid var(--line);display:grid;gap:2px}.credit-list b{font-size:12px;color:var(--blue)}#ui:has(.dlg)~#corner>:not(.exit){display:none}.corner-btn.exit{background:#2f2a26c7;color:#fff}#minimap{position:fixed;right:10px;top:84px;z-index:2;display:none;flex-direction:column;align-items:center;gap:2px;pointer-events:none}#minimap canvas{border-radius:50%;box-shadow:0 4px 14px #0000004d}.map-dist{font:700 12px -apple-system,sans-serif;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7);min-height:14px}@media(min-width:700px){#minimap{top:12px}}body.can-move #minimap{display:flex}#controls{display:none}body.can-move #controls{display:block}.stick{position:fixed;left:22px;bottom:34px;z-index:3;width:128px;height:128px;border-radius:50%;background:#ffffff38;border:2px solid rgba(255,255,255,.45);touch-action:none;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.stick.on{background:#ffffff52}.knob{position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;background:#fffffff2;box-shadow:0 3px 10px #00000040;display:grid;place-items:center;font-size:24px;color:#5a5560;pointer-events:none}.act{position:fixed;right:18px;bottom:34px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:12px}.act-btn{width:64px;height:64px;border-radius:50%;border:2px solid rgba(255,255,255,.6);background:#ffffffd9;box-shadow:0 3px 10px #00000038;display:grid;place-items:center;align-content:center;gap:0;touch-action:none;cursor:pointer;color:#3b3640}.act-btn span{font-size:22px;line-height:1}.act-btn small{font:700 10px -apple-system,sans-serif}.act-btn.jump{width:76px;height:76px}.act-btn.run.on{background:#4f8cff;color:#fff;border-color:#fff}body.can-move .hint{bottom:178px}body:has(#ui .screen) #corner,body:has(#ui .screen) #controls,body:has(#ui .screen) #minimap{visibility:hidden}.title{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:max(34px,env(safe-area-inset-top)) 16px max(30px,env(safe-area-inset-bottom));cursor:pointer;text-align:center;background:linear-gradient(to bottom,#1c163c9e,#1c163c00 42%,#140e1e00 60%,#140e1ea8)}.logo{display:grid;justify-items:center;gap:6px;animation:drop .7s cubic-bezier(.2,1.4,.4,1)}@keyframes drop{0%{transform:translateY(-30px);opacity:0}to{transform:none;opacity:1}}.logo-ko{background:#fffaf1;color:#e58a3a;font-weight:900;font-size:20px;letter-spacing:.12em;padding:6px 18px;border-radius:999px;border:3px solid #2f2a26;box-shadow:0 4px #2f2a26;transform:rotate(-3deg)}.logo-en{font-weight:900;font-size:clamp(44px,13vw,76px);line-height:1;color:#fff;letter-spacing:-.01em;-webkit-text-stroke:2px #2f2a26;paint-order:stroke fill;text-shadow:0 5px 0 #2f2a26,0 12px 26px rgba(0,0,0,.45);margin-top:4px}.logo-sub{color:#fff;font-weight:600;font-size:14px;text-shadow:0 1px 6px rgba(0,0,0,.7);max-width:320px}.tap-start{font:inherit;font-weight:800;font-size:20px;color:#fff;background:none;border:0;cursor:pointer;text-shadow:0 2px 10px rgba(0,0,0,.8);animation:blink 1.4s infinite;padding:18px;margin-top:auto;margin-bottom:14px}.tap-start:disabled{animation:none;opacity:.8;font-size:15px}.title-foot{min-height:34px}.save-chip{background:#fffaf1f0;border:2px solid #2f2a26;border-radius:999px;padding:6px 14px;font-weight:700;font-size:13px;box-shadow:0 3px #2f2a26}.title-panel{width:min(400px,100%);background:var(--paper);border:3px solid #2f2a26;border-radius:22px;box-shadow:0 6px #2f2a26,0 18px 40px #0000004d;padding:18px 16px 16px;cursor:default;margin-top:auto;animation:rise2 .25s ease-out}@keyframes rise2{0%{transform:translateY(18px);opacity:0}to{transform:none;opacity:1}}.title-panel .row{margin-top:4px}.title-panel .muted.small{margin:12px 0 8px}.toast{position:absolute;top:24%;left:50%;transform:translate(-50%);background:#2f2a26e0;color:#fff;font-weight:800;font-size:17px;padding:10px 20px;border-radius:999px;white-space:nowrap;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;pointer-events:none;animation:toast 3.2s forwards}@keyframes toast{0%{opacity:0;transform:translate(-50%,10px)}10%,80%{opacity:1;transform:translate(-50%)}to{opacity:0}}#scene{transition:filter .4s}body.coaching #scene{filter:brightness(.55) saturate(.8)}body.coaching .dlg{border-color:#e58a3a;box-shadow:0 6px #b9651f,0 18px 40px #0000004d}.dlg .tip-ko{font-weight:800;font-size:17px;margin-bottom:4px}.dlg .chunks{display:flex;gap:12px;flex-wrap:wrap}.dlg .chunk{opacity:.3}.dlg .chunk.now{opacity:1;color:#e58a3a}.dlg .status.ok{color:var(--ok);font-weight:800;font-size:16px}.dlg .chip.quiet{border-color:#d9cdbd;color:var(--muted)}.dlg .coach-btn{display:block;background:#e58a3a;border:2px solid #2f2a26;color:#fff;box-shadow:0 3px #b9651f;animation:pop2 .3s ease-out}@keyframes pop2{0%{transform:scale(.85)}to{transform:none}}.stars{color:#f2b320;letter-spacing:1px;white-space:nowrap}.dlg .chip .stars{font-size:12px}.bench{background:#e58a3a;border-color:#e58a3a;box-shadow:0 4px #b9651f}#ui:has(.dlg) .hint,#ui:has(.dlg) .talk{display:none}.bar{height:12px;border-radius:999px;background:#eadfcd;overflow:hidden;margin:4px 0 14px}.bar .fill{height:100%;background:linear-gradient(90deg,#e58a3a,#f2b320);border-radius:999px}.report li.locked{color:#b5aba0}.card .report{max-height:42vh;overflow:auto}.card{max-height:calc(100% - 8px);overflow:auto}.dlg .examples{display:grid;gap:6px;margin-top:4px;padding-bottom:26px}.dlg .example{font:inherit;text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:baseline;padding:8px 12px;border-radius:12px;border:2px solid #2f2a26;background:#fff;cursor:pointer}.dlg .ex-ko{font-weight:800;font-size:18px;grid-row:span 2;align-self:center}.dlg .ex-rom{color:var(--muted);font-size:13px}.dlg .ex-mean{font-size:14px}.dlg .option{font-size:17px;min-height:46px;padding:8px 18px}.dlg .option.right{background:var(--ok);border-color:var(--ok);color:#fff}.dlg .option.wrong{background:#f6dedd;border-color:var(--bad);color:var(--bad);animation:shake .3s}@keyframes shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.dlg .status.bad,.dlg .status.ok{padding-bottom:22px}.banner .clue{font-size:11px;font-weight:700;color:#7a6f66;margin-top:2px}.report.notes li{display:grid;gap:2px}.report.notes b{font-size:13px;color:#e58a3a}.dlg.who-sunja .nametag{background:#f08a24}.dlg.who-minjae .nametag{background:#3a3a46}.dlg.who-yuna .nametag{background:#ff7aa8}.dlg.who-eunbi .nametag{background:#d9608f}.dlg.who-seojun .nametag{background:#6b4a35}.dlg.who-harin .nametag{background:#c9698f}.dlg.who-other .nametag{background:#5b7a8c}.dlg .route-ko{font-size:21px;line-height:1.45}.dlg .route-icons{font-size:24px;margin-top:6px;letter-spacing:2px}.dlg .meaning.big{font-size:22px;font-weight:800;color:var(--ink, #2f2a26);margin:8px 0 4px}.talk.route-btn{background:#7a5fd1;border-color:#7a5fd1;box-shadow:0 4px #5a43a8;bottom:auto;top:96px;left:12px;transform:none;font-size:14px;padding:8px 14px}@media(min-width:700px){.talk.route-btn{top:84px}}.talk.review{background:#ffc83d;border-color:#ffc83d;color:#3b2a12;box-shadow:0 4px #c9951a}.talk.replay{background:#2e9a6a;border-color:#2e9a6a;box-shadow:0 4px #1f7450;bottom:84px}.report li .go-there{margin-left:8px;font-size:11px;padding:3px 9px}body.can-move .talk:not(.route-btn){bottom:216px;white-space:nowrap;font-size:16px;padding:10px 20px}body.can-move .talk.replay{bottom:270px}body.can-move .hint{bottom:172px}.talk.sign{background:#8a4fd8;border-color:#8a4fd8;box-shadow:0 4px #6233a8}.hangul-card{border-color:#d9c6f5}.hangul-card .kicker{color:#7a3fc8}.hangul-card .sign-src{color:var(--muted);font-size:14px;margin-top:2px}.h-cue{font-size:13px;font-weight:700;color:#7a3fc8;margin-top:14px}.h-blocks{display:flex;gap:8px;justify-content:center;margin-top:8px;flex-wrap:wrap}.h-block{font:inherit;display:grid;gap:4px;justify-items:center;padding:8px 12px;border-radius:16px;border:2px solid #d9c6f5;background:#fff;color:var(--ink);cursor:default}.h-syl{font-size:54px;font-weight:800;line-height:1.05}.h-parts{font-size:13px;color:#6b4a9a;white-space:nowrap}.h-note{text-align:left;font-size:15px;line-height:1.5;margin:12px 0 0;background:#f5effd;border-radius:12px;padding:10px 12px}.hangul-card .option{min-width:120px}.hangul-card .option.right{background:var(--ok);border-color:var(--ok);color:#fff}.hangul-card .option.wrong{background:#f6dedd;border-color:var(--bad);color:var(--bad);animation:shake .3s}.hangul-card .status.ok{color:var(--ok);font-weight:800}.h-stamp{margin:10px auto 0;border-color:#8a4fd8;color:#8a4fd8}.h-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:6px 0 10px}.h-grid span{text-align:center;padding:6px 2px;border-radius:10px;font-weight:700;font-size:15px}.h-got{background:#efe4fc;color:#6233a8}.h-locked{background:#f1ebe2;color:#c4b8a8}.photo-stage{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;display:grid;place-items:center}.photo-count{font-size:120px;font-weight:900;color:#fff;text-shadow:0 4px 18px rgba(194,56,110,.6)}.photo-count.beat{animation:beat .42s ease-out}@keyframes beat{0%{transform:scale(1.6);opacity:0}to{transform:scale(1);opacity:1}}.photo-flash{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;opacity:0}.photo-flash.on{animation:flash .6s ease-out}@keyframes flash{0%{opacity:.95}to{opacity:0}}.photo-strip{display:block;margin:6px auto 4px;max-height:52vh;max-width:100%;border-radius:6px;box-shadow:0 6px 20px #78284640}.dlg-close{position:absolute;top:-18px;right:14px;width:40px;height:40px;border-radius:50%;border:3px solid #2f2a26;background:#fff;color:#2f2a26;font:inherit;font-size:18px;font-weight:900;cursor:pointer;display:grid;place-items:center;box-shadow:0 3px #2f2a26;z-index:2}.dlg-close:active{transform:translateY(2px);box-shadow:0 1px #2f2a26}.syl.bad{color:#c98a2b}.status.soft,.dlg .status.soft{color:#8a6a3a;font-size:14px;line-height:1.45;padding-bottom:6px}.status.soft .reask b{color:var(--ink);font-size:16px}.status.soft .reask span{color:var(--muted)}.banner .bond{font-size:12px;letter-spacing:1px;margin-top:2px}.bond-row{margin:-12px 0 14px;font-weight:700;color:#b9651f}.talk.trace{background:#f2b23a;border-color:#f2b23a;color:#3b2a12;box-shadow:0 4px #c08a1e;bottom:84px}body.can-move .talk.trace{bottom:270px}.dlg .picks{margin-top:8px}.dlg .picks .option{min-width:96px}.greet{position:absolute;top:118px;left:50%;transform:translate(-50%);width:min(430px,calc(100% - 24px));display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:start;background:#fffaf1;border:3px solid #2f2a26;border-radius:16px;padding:10px 12px;box-shadow:0 5px #2f2a26;animation:pop .25s ease-out}.greet .portrait{width:64px;height:64px;border-radius:12px;border:2px solid #2f2a26;object-fit:cover;position:static}.greet b{font-size:13px;color:#9b6fd1}.greet-ko{font-size:19px;font-weight:800;line-height:1.3}.greet-mean{font-size:14px;color:var(--muted);margin-bottom:8px}.greet .btn{min-height:40px;font-size:15px;padding:6px 14px}.greet .status{min-height:0;margin-top:4px}.corner-btn.bell{background:#e58a3a;color:#fff;font-size:12px}.corner-btn.bell.ring{animation:bell-ring .9s ease 2;transform-origin:50% 0}@keyframes bell-ring{0%,to{transform:rotate(0)}20%{transform:rotate(14deg) scale(1.15)}40%{transform:rotate(-12deg) scale(1.15)}60%{transform:rotate(8deg)}80%{transform:rotate(-5deg)}}.dlg .chip.skip{margin-left:auto}.talk.passer{background:#ff8fab;border-color:#ff8fab;box-shadow:0 4px #d9647f;bottom:140px;font-size:16px;padding:10px 20px}body.can-move .talk.passer{bottom:324px}.talk.play{background:#f2a51a;border-color:#f2a51a;color:#3b2a12;box-shadow:0 4px #b97a0c}.talk.visit{background:#5b7a8c;border-color:#5b7a8c;box-shadow:0 4px #3d5564}.talk.leave{background:#5b7a8c;border-color:#5b7a8c;box-shadow:0 4px #3d5564;bottom:84px}body.can-move .talk.leave{bottom:150px}.corner-btn.closet{background:#ffe3ec;color:#b23a63;font-size:12px}.corner-btn.closet.ring{animation:bell-ring .9s ease 2;transform-origin:50% 0}.closet-list li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px}.closet-icon{font-size:24px;text-align:center}.card .chip.on{background:#2e9a6a;border-color:#2e9a6a;color:#fff}.card .chip:disabled{opacity:.45}.screen.game{z-index:30;padding:8px;background:#28203c8c}.game-card{position:relative;width:min(560px,100%);height:min(640px,100%);background:#fffaf1;border:3px solid #2f2a26;border-radius:22px;box-shadow:0 6px #2f2a26;padding:14px;display:grid;grid-template-rows:auto 1fr auto auto;gap:8px;overflow:hidden}.game-x{position:absolute;top:8px;right:8px;width:38px;height:38px;border-radius:50%;border:2px solid #2f2a26;background:#fff;font:inherit;font-weight:900;cursor:pointer;z-index:3}.game-intro{grid-row:1 / -1;display:grid;align-content:center;justify-items:center;gap:8px;text-align:center;padding:10px}.game-ko{font-size:30px;font-weight:900}.game-name{font-weight:800;color:#9b6fd1}.game-how{margin:4px 0;line-height:1.5;max-width:420px}.game-need{margin:0 0 6px;font-size:13px;color:var(--muted);max-width:420px}.game-stars{font-size:44px;color:#f2b320;letter-spacing:4px}.game-head{display:flex;align-items:center;gap:10px;padding-right:44px;font-weight:800}.game-title{flex:1;font-size:17px}.game-lives{font-size:14px;letter-spacing:1px}.game-score{min-width:44px;text-align:right;color:#b07a12}.game-stage{position:relative;border-radius:16px;background:linear-gradient(#cfe9ff,#e9f6e2 62%,#d9c7a6 62%);overflow:hidden;min-height:150px}body.dd-on #ui>:not(.dd-hud),body.dd-on #corner,body.dd-on #minimap,body.dd-on #controls{display:none!important}.dd-hud{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;pointer-events:none;display:grid;grid-template-rows:auto auto 1fr auto;gap:6px;padding:10px 12px calc(14px + env(safe-area-inset-bottom))}#ui>.dd-hud,#ui>.dd-hud>.dd-mid{pointer-events:none}.dd-hud>*{pointer-events:auto}.dd-top{position:relative;display:flex;align-items:center;gap:10px;background:#fffaf1;border:3px solid #2f2a26;border-radius:16px;box-shadow:0 4px #2f2a26;padding:8px 52px 8px 14px;font-weight:800}.dd-top .game-x{top:50%;transform:translateY(-50%)}.dd-title{flex:1;font-size:16px}.dd-dots{font-size:14px;color:#7a6f66}.dd-line{justify-self:center;max-width:min(520px,100%);background:#fffaf1f0;border:2px solid #2f2a26;border-radius:14px;padding:6px 14px;text-align:center;font-weight:700;font-size:15px;display:grid;gap:1px}.dd-line b{font-size:19px}.dd-line span{color:#5b524a}.dd-line.ok{border-color:var(--ok)}.dd-line.ok span{color:var(--ok);font-size:18px}.dd-line.bad span{color:#b0651c}.dd-line:empty{display:none}.dd-mid{display:grid;place-items:center;pointer-events:none;min-height:0}.dd-mid>*{pointer-events:auto}.dd-card{width:min(360px,100%);max-height:100%;overflow:auto;background:#fffaf1;border:3px solid #2f2a26;border-radius:20px;box-shadow:0 5px #2f2a26;padding:14px;display:grid;gap:8px;text-align:center}.dd-card-h{font-weight:800;font-size:17px}.dd-card .btn{margin:0;width:100%}.dd-level{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left}.dd-level-s{letter-spacing:1px}.dd-level:disabled{opacity:.5}.dd-foot{display:grid;place-items:center;min-height:52px}.dd-hear{min-height:52px;font-size:18px;padding:10px 26px;box-shadow:0 4px #2f2a26}@media(orientation:landscape)and (max-height:520px){.dd-hud{grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto;padding:6px var(--sr, 10px) 8px var(--sl, 10px)}.dd-top{grid-column:1}.dd-line{grid-column:2;grid-row:1;align-self:center}.dd-mid{grid-column:1 / 3}.dd-foot{grid-column:1 / 3;justify-items:end;min-height:46px}.dd-card{grid-template-columns:1fr 1fr;width:min(560px,100%);padding:10px;gap:6px}.dd-card-h,.dd-card .game-stars,.dd-card .game-how{grid-column:1 / 3}}.game-note{min-height:22px;font-size:15px;font-weight:700;text-align:center;color:var(--ink)}.game-note.ok{color:var(--ok)}.game-note.bad{color:#b0651c}.game-foot{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;min-height:54px}.game-opt{flex:1 1 30%;min-width:0;border:2px solid #2f2a26;font-size:15px;line-height:1.2;padding:8px 10px}.game-opt.right{background:var(--ok);border-color:var(--ok);color:#fff}.game-opt.wrong{background:#f6dedd;border-color:var(--bad);color:var(--bad);animation:shake .3s}.game-foot .chip{font:inherit;font-weight:700;min-height:44px;padding:6px 14px;border-radius:999px;border:2px solid #2f2a26;background:#fff;cursor:pointer}.jg-sky{position:absolute;top:0;right:0;bottom:44px;left:0}.jg-jegi{position:absolute;left:50%;bottom:6%;transform:translate(-50%);font-size:46px}.jg-jegi.drop{bottom:2%!important;filter:grayscale(1);transition:bottom .2s}.jg-built{position:absolute;left:0;right:0;bottom:6px;display:flex;justify-content:center;gap:5px}.jg-slot{min-width:30px;height:36px;display:grid;place-items:center;border-bottom:3px solid #2f2a26;font-size:24px;font-weight:900;color:#b5aba0}.jg-slot.on{color:var(--ink)}.jg-key{flex:0 0 auto;min-width:56px;font-size:24px;font-weight:900}.jg-key.hint{background:#fff1c2;border-color:#f2b320}.jg-key:disabled{opacity:.25}.g-sabang .game-stage{background:linear-gradient(#e9e0cf,#d9c7a6)}.sb-court{position:absolute;left:50%;top:8px;bottom:54px;transform:translate(-50%);aspect-ratio:4 / 6;max-width:92%;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(6,1fr);gap:0}.sb-cell{position:relative;border:3px solid #fffaf1;background:#ffffff2e;font:inherit;font-size:clamp(20px,5vh,30px);font-weight:900;color:var(--ink);cursor:pointer;padding:0}.sb-cell.on{background:#ffe58a}.sb-cell.bad{animation:shake .3s;background:#f6dedd}.sb-me{position:absolute;left:50%;top:100%;transform:translate(-50%,-80%);font-size:30px;pointer-events:none;transition:left .28s ease-out,top .28s ease-out;z-index:2}.sb-me.hop{animation:sb-hop .3s ease-out}@keyframes sb-hop{40%{transform:translate(-50%,-150%)}}.sb-built{position:absolute;left:0;right:0;bottom:6px;display:flex;justify-content:center;align-items:center;gap:5px}.sb-word{font-size:22px;font-weight:900;margin-right:8px;padding:2px 10px;background:#fffaf1;border:2px solid #2f2a26;border-radius:10px}.talk.lesson{background:#2a7de1;border-color:#2a7de1;box-shadow:0 4px #1b5aa8}.h-card{grid-template-rows:auto auto 1fr auto auto;text-align:center}.h-card>.game-ko,.h-card>.game-name,.h-card>.game-how{margin:0}.h-menu{display:grid;gap:8px;align-content:start;overflow:auto;padding:4px;grid-row:span 2}.h-lesson{font:inherit;display:grid;grid-template-columns:40px 1fr;align-items:center;gap:10px;text-align:left;padding:10px 12px;border-radius:14px;border:2px solid #2f2a26;background:#fff;cursor:pointer;font-weight:700}.h-lesson:disabled{opacity:.45;cursor:default}.h-lesson.done{background:#e8f6ee}.h-num{width:36px;height:36px;border-radius:50%;background:#2a7de1;color:#fff;display:grid;place-items:center;font-weight:900}.h-lesson.done .h-num{background:var(--ok)}.h-top{text-align:left;padding-right:44px;font-size:13px;font-weight:800;color:#2a7de1}.h-head{font-weight:800;font-size:17px}.h-body{display:grid;align-content:center;justify-items:center;gap:10px;overflow:auto;min-height:0}.h-say{font-size:18px;line-height:1.55;max-width:440px;margin:0}.h-letters{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.h-letter{font:inherit;width:74px;padding:8px 4px;border-radius:14px;border:2px solid #2f2a26;background:#fff;cursor:pointer;display:grid;justify-items:center;gap:2px}.h-letter.heard{background:#eaf2ff;border-color:#2a7de1}.h-letter.right{background:var(--ok);border-color:var(--ok);color:#fff}.h-letter.wrong{background:#f6dedd;border-color:var(--bad);animation:shake .3s}.h-big{font-size:38px;font-weight:800;line-height:1.1}.h-rom{font-size:12px;color:var(--muted)}.h-letter.right .h-rom{color:#fff}.h-hint{min-height:44px;font-size:14px;line-height:1.45;max-width:440px;background:#f5effd;border-radius:12px;padding:8px 12px}.h-hint:empty{visibility:hidden}.h-pad{width:min(260px,62vw);height:min(260px,62vw);background:#fff;border:3px solid #2f2a26;border-radius:18px;touch-action:none}.h-row{display:flex;gap:8px;justify-content:center}.h-card .chip{font:inherit;font-weight:700;font-size:14px;min-height:40px;padding:6px 14px;border-radius:999px;border:2px solid #2f2a26;background:#fff;cursor:pointer}.h-card .chip.quiet{border-color:#d9cdbd;color:var(--muted)}.h-words{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.h-word{font:inherit;padding:8px;border-radius:14px;border:2px solid #2f2a26;background:#fff;cursor:pointer;display:grid;justify-items:center}.h-mean{font-size:14px;font-weight:700}.h-tip{margin:0;font-size:13px;color:var(--muted);max-width:420px}.h-typed{min-width:120px;min-height:62px;padding:4px 18px;border-bottom:4px solid #2f2a26;font-size:46px;font-weight:900;line-height:1.2}.h-typed.off{color:#c98a2b;border-color:#c98a2b}.h-kb{display:grid;gap:5px;width:100%;max-width:460px}.h-kb-row{display:flex;gap:4px;justify-content:center}.h-key{font:inherit;font-size:21px;font-weight:800;flex:1 1 0;max-width:46px;min-height:44px;border-radius:9px;border:2px solid #2f2a26;background:#fff;cursor:pointer;padding:0}.h-key.vowel{background:#fff4d6}.h-key:disabled{opacity:.22}.h-key.del{max-width:60px;background:#f6dedd}.h-name{display:grid;justify-items:center;background:#eaf2ff;border:2px dashed #2a7de1;border-radius:16px;padding:8px 22px}.h-msg{font-size:26px}.h-letters .h-letter .h-big{white-space:nowrap}.h-card>.btn{justify-self:center;min-width:140px}.h-card>.btn:disabled{opacity:.4}.dlg.thought{background:#f6f1ff;border-style:dashed}.dlg.thought .say-text{font-style:italic;color:#4a3f6b}.phone-screen{z-index:25;background:#141022b8}.card.phone{width:min(330px,100%);background:#1f1b2e;color:#fff;border:3px solid #0e0c16;border-radius:34px;padding:26px 20px;box-shadow:0 14px 40px #00000080}.phone .kicker{color:#b9a8ff}.phone-from{font-size:13px;color:#a9a3bd;margin-bottom:14px}.phone-bubble{background:#fff;color:var(--ink);border-radius:18px 18px 18px 4px;padding:12px 14px;text-align:left;margin:0 20px 12px 0}.phone-bubble .ko{font-size:22px}.phone .phone-bubble .meaning{font-size:14px;color:var(--muted);min-height:0}.phone-none{font-size:13px;color:#8c86a3;margin:14px 0 18px}.phone-thread{max-height:min(58vh,460px);overflow-y:auto;margin-bottom:12px;display:grid;gap:2px}.phone-thread .phone-from{text-align:center;margin:8px 0 4px}.phone-thread .phone-bubble{animation:bubble-in .25s ease-out}.phone-bubble.me{position:relative;justify-self:end;background:#fee500;border-radius:18px 18px 4px;margin:0 0 8px 34px}.phone-bubble .mine{font-size:16px;font-weight:600}.phone-unread{position:absolute;left:-16px;bottom:2px;font-size:12px;font-weight:800;color:#fee500}.phone-thread .phone-none{text-align:center}@keyframes bubble-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.phone-wave{font-size:30px;letter-spacing:3px;color:#6f66a0;margin:6px 0 12px}.phone-wave.on{color:#b9a8ff;animation:blink .5s infinite}.phone-ko{font-size:22px;min-height:60px}.phone .meaning{color:#cfc9e6;font-size:15px;min-height:22px}.phone-cut{color:#ff9aa8;font-size:13px;font-style:italic;min-height:20px;margin:10px 0 14px}.pass-note{background:#fff4d6;border:1px dashed #e0b84a;border-radius:12px;padding:8px 12px;font-size:13px;line-height:1.45;margin:0 0 12px}.nudge{position:absolute;top:118px;left:50%;transform:translate(-50%);width:min(430px,calc(100% - 24px));display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:start;background:#fffaf1;border:3px solid #e58a3a;border-radius:16px;padding:10px 12px;box-shadow:0 5px #b9651f;animation:pop .25s ease-out;z-index:4}.nudge .portrait{width:52px;height:52px;border-radius:12px;border:2px solid #2f2a26;object-fit:cover;position:static}.nudge b{font-size:12px;color:#e58a3a}.nudge-text{font-size:16px;font-weight:700;line-height:1.35;margin:2px 0 8px}.nudge-row{display:flex;flex-wrap:wrap;gap:6px}.nudge .chip{font:inherit;font-weight:700;font-size:13px;min-height:38px;padding:5px 12px;border-radius:999px;border:2px solid #2f2a26;background:#fff;color:var(--ink);cursor:pointer}.nudge .chip.quiet{border-color:#d9cdbd;color:var(--muted)}@media(orientation:landscape)and (max-height:520px){:root{--sl: max(12px, env(safe-area-inset-left));--sr: max(12px, env(safe-area-inset-right));--sb: max(6px, env(safe-area-inset-bottom))}.banner{top:8px;left:var(--sl);right:auto;margin:0;max-width:min(42vw,calc(100% - var(--sl) - var(--sr) - 380px));padding:5px 10px;border-radius:12px;box-shadow:0 3px #2f2a26}.banner .qn{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner .goal{font-size:13px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.banner .clue,.banner .bond{display:inline-block;margin:1px 10px 0 0;font-size:10px}#minimap{top:6px;right:var(--sr);transform:scale(.74);transform-origin:top right}#corner{top:8px;right:calc(var(--sr) + 108px);flex-direction:row-reverse;align-items:center;gap:5px}.corner-btn{height:30px}.stick{left:calc(var(--sl) + 8px);bottom:calc(var(--sb) + 10px);width:112px;height:112px}.knob{width:50px;height:50px;margin:-25px 0 0 -25px;font-size:20px}.act{right:calc(var(--sr) + 6px);bottom:calc(var(--sb) + 10px);flex-direction:row;align-items:flex-end;gap:10px}.act-btn{width:56px;height:56px}.act-btn.jump{width:68px;height:68px}.hint,body.can-move .hint{bottom:calc(var(--sb) + 4px);font-size:12px;padding:5px 12px;max-width:46vw}.talk,body.can-move .talk:not(.route-btn){bottom:calc(var(--sb) + 40px);font-size:15px;padding:9px 18px;min-height:42px;white-space:nowrap}.talk.replay,body.can-move .talk.replay,.talk.trace,body.can-move .talk.trace{bottom:calc(var(--sb) + 92px)}.talk.passer,body.can-move .talk.passer{bottom:calc(var(--sb) + 144px)}.talk.route-btn{top:66px;left:var(--sl);font-size:13px;padding:6px 12px;min-height:36px}.greet{top:94px;width:min(430px,54vw);grid-template-columns:48px 1fr;padding:7px 10px}.greet .portrait{width:48px;height:48px}.greet-ko{font-size:17px}.greet-mean{font-size:13px;margin-bottom:5px}.greet .btn{min-height:36px;font-size:14px}.toast{top:28%;font-size:15px;padding:8px 16px}.dlg{width:min(780px,calc(100% - var(--sl) - var(--sr)));min-height:0;bottom:var(--sb);padding:16px 14px 8px 108px;border-radius:16px;box-shadow:0 4px #2f2a26,0 12px 30px #0000002e}.dlg .portrait{left:10px;top:auto;bottom:8px;width:86px;height:92px;border-radius:12px;object-position:center top}.dlg .nametag{left:108px;top:-15px;font-size:13px;padding:4px 12px}.dlg-close{top:-15px;width:34px;height:34px;font-size:15px}.dlg .body{max-height:calc(100vh - 62px);max-height:calc(100dvh - 62px);overflow-y:auto;overscroll-behavior:contain}.dlg .say-text{font-size:15px;line-height:1.4;min-height:42px;padding-bottom:20px}.dlg .ko{font-size:23px;min-height:0;line-height:1.2}.dlg .route-ko{font-size:18px}.dlg .route-icons{font-size:20px;margin-top:2px}.dlg .rom{font-size:13px;margin-top:1px}.dlg .meaning{font-size:14px;margin-top:1px}.dlg .meaning.big{font-size:19px;margin:4px 0 2px}.dlg .cue{font-size:12px}.dlg .status{margin-top:3px;min-height:0;font-size:13px}.dlg .status.bad,.dlg .status.ok{padding-bottom:4px}.dlg .tools{margin-top:6px;gap:6px;padding-right:0}.dlg .chip,.card .chip{min-height:36px;font-size:13px;padding:4px 12px}.dlg .mic{min-height:40px;font-size:15px;padding:6px 16px}.dlg .btn{margin-top:6px;min-height:40px;padding:6px 16px;font-size:15px}.dlg .option{min-height:40px;font-size:15px;padding:6px 16px}.dlg .examples{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:5px;padding-bottom:22px}.dlg .example{padding:5px 10px}.dlg .ex-ko{font-size:16px}.dlg .debug{margin-top:4px;padding:5px 10px;font-size:14px}.dlg .next{bottom:4px;right:10px;padding:6px}.dlg .tip-ko{font-size:15px}.dlg .coach-btn{display:inline-block}#ui:has(.dlg) .banner{display:none}.dlg .body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:start}.dlg .body>*{grid-column:1}.dlg .body>.tools:not(.picks){grid-column:2;grid-row:1 / span 8;align-self:end;width:232px;justify-content:flex-end;margin-top:0}.dlg .body>.tools:not(.picks) .mic{flex:1 1 100%;order:9}.dlg .body>.tools:not(.picks) .btn.primary:not(.mic){flex:1 1 100%;order:9;margin-top:0}.dlg .body>.tools:not(.picks) .chip{flex:1 1 auto}.dlg .chip.skip{margin-left:0}.dlg:has(.next) .body>.tools:not(.picks){margin-bottom:30px}.dlg .body>.examples,.dlg .body>.debug,.dlg .body>.picks{grid-column:1 / -1}.dlg .syllables{line-height:1.5}.screen{padding:6px var(--sr) 6px var(--sl)}.card{width:min(660px,100%);padding:14px 18px;border-radius:18px;max-height:calc(100% - 2px)}.card h1{font-size:21px;margin-bottom:4px}.card .muted{margin-bottom:8px;font-size:14px;line-height:1.4}.hero{width:64px;height:64px;margin-bottom:4px;border-width:3px}.stamp{width:70px;height:70px;padding-top:15px;font-size:13px;margin-bottom:6px}.card .btn{min-height:42px;padding:7px 16px}.card .report{max-height:none;margin-bottom:10px}.report li{padding:5px 0;font-size:14px}.name-input{margin:6px auto 4px;padding:8px 12px}.bond-row{margin:-4px 0 8px}.h-syl{font-size:38px}.h-block{padding:5px 10px}.h-cue{margin-top:8px}.h-note{margin-top:8px;padding:7px 10px;font-size:14px}.h-grid{grid-template-columns:repeat(6,1fr)}.photo-strip{max-height:58vh}.photo-count{font-size:84px}.title{padding:10px var(--sr) max(8px,env(safe-area-inset-bottom)) var(--sl)}.logo{gap:3px}.logo-ko{font-size:14px;padding:3px 12px;border-width:2px;box-shadow:0 3px #2f2a26}.logo-en{font-size:clamp(34px,15vh,58px);text-shadow:0 4px 0 #2f2a26,0 10px 22px rgba(0,0,0,.45);margin-top:2px}.logo-sub{font-size:12px;max-width:none}.tap-start{font-size:18px;padding:8px;margin-bottom:4px}.title-foot{min-height:28px}.title-panel{width:min(520px,100%);padding:10px 14px;border-radius:18px}.title-panel .muted.small{margin:6px 0 4px}}@media(orientation:landscape)and (max-height:520px){.game-card{width:min(760px,100%);height:100%;padding:8px 12px;gap:5px;border-radius:16px}.game-stage{min-height:110px}.game-ko{font-size:24px}.game-how{font-size:14px;margin:0}.game-need{display:none}.game-stars{font-size:34px}.game-opt{padding:6px 8px;min-height:42px;font-size:14px}.jg-key{min-width:50px;font-size:21px;min-height:42px}.talk.leave,body.can-move .talk.leave{bottom:calc(var(--sb) + 92px)}.banner{max-width:min(40vw,calc(100% - var(--sl) - var(--sr) - 400px))}}@media(orientation:landscape)and (max-height:520px){.nudge{top:62px;width:min(460px,56vw);grid-template-columns:44px 1fr;padding:7px 10px}.nudge .portrait{width:44px;height:44px}.nudge-text{font-size:14px;margin-bottom:5px}.card.phone{width:min(520px,100%);padding:12px 18px;border-radius:24px}.phone-ko{min-height:34px;font-size:20px}.phone-wave{font-size:22px;margin:2px 0 6px}.phone-bubble{margin-bottom:6px}.phone-none{margin:6px 0 8px}.phone-cut{margin:4px 0 8px}}@media(orientation:landscape)and (max-height:520px){.h-pad{width:min(170px,44vh);height:min(170px,44vh)}.h-big{font-size:28px}.h-letter{width:60px;padding:4px}.h-say,.h-head{font-size:15px}.h-typed{font-size:32px;min-height:44px}.h-key{min-height:34px;font-size:18px}.h-hint{min-height:30px;font-size:13px;padding:5px 10px}.h-menu{grid-template-columns:1fr 1fr}.h-words{grid-template-columns:repeat(4,minmax(0,1fr))}.h-tip{display:none}}.pass-card{position:relative;max-height:calc(100dvh - 24px);overflow-y:auto}.pass-hook{font-size:17px;font-weight:700;line-height:1.4;margin:4px 0 10px}.pass-list{list-style:none;padding:0;margin:0 0 14px;text-align:left;display:grid;gap:6px}.pass-list li{background:#fff4d6;border-radius:12px;padding:8px 12px 8px 34px;position:relative;font-size:14px;line-height:1.35}.pass-list li:before{content:"🐾";position:absolute;left:10px;top:7px}.pass-secure{font-size:12px;color:var(--muted);margin:6px 0 8px}.pass-msg{background:#e8f1ff;border-radius:12px;padding:8px 12px;font-size:14px;margin:0 0 10px}.pass-signin{border:2px dashed #d9cdbd;border-radius:14px;padding:12px;margin:0 0 10px;display:grid;gap:8px}.pass-signin p{margin:0;font-size:13px}.pass-mail{font:inherit;font-size:16px;min-height:46px;padding:8px 14px;border-radius:999px;border:1px solid var(--line);width:100%;max-width:320px;margin:0 auto;box-sizing:border-box}.pass-legal{display:flex;gap:14px;justify-content:center;font-size:12px;margin:10px 0 0}.pass-legal a{color:var(--muted)}.pass-chip{position:absolute;top:calc(14px + env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:3;box-shadow:0 4px #0000002e;white-space:nowrap}.h-lesson.shut{background:#f4efe6;color:var(--muted)}@media(orientation:landscape)and (max-height:520px){.pass-card{max-width:560px;padding:12px 16px}.pass-list{grid-template-columns:1fr 1fr}.pass-chip{top:calc(8px + env(safe-area-inset-top));min-height:40px;padding:6px 14px;font-size:14px}}.reply-hint{margin:4px 0 10px;min-height:34px;color:#cfc9e6}.reply-tiles{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:6px}.reply-tiles .chip.reply-tile{font-size:20px;padding:10px 16px;min-height:46px}.reply-tile:disabled{opacity:.25}.reply-tile.no{animation:reply-no .35s ease;background:#ffd9de}@keyframes reply-no{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}.phone-bubble .phone-wave{font-size:20px;margin:0 0 4px}.card.phone.mine{max-height:92vh;overflow-y:auto}.phone.mine .phone-thread{max-height:min(36vh,300px)}.phone-play{display:block;width:100%;border:none;font:600 15px -apple-system,Apple SD Gothic Neo,sans-serif;cursor:pointer;margin:0 0 10px;text-align:left}.phone-notes{list-style:none;padding:0;margin:0 0 12px;text-align:left;font-size:14px;line-height:1.45;color:#e7e2f7}.phone-notes li{padding:6px 10px;border-left:3px solid #b9a8ff;margin-bottom:6px;background:#ffffff0f;border-radius:0 8px 8px 0}.phone-notes li.none{color:#8c86a3;border-left-color:#55506e}.phone-notes li.count{border:none;background:none;text-align:center;color:#b9a8ff}@media(orientation:landscape)and (max-height:520px){.reply-tiles .chip.reply-tile{font-size:17px;padding:6px 12px;min-height:38px}.reply-hint{margin:2px 0 6px;min-height:0}.phone.mine .phone-thread{max-height:34vh}}.g-rain .game-stage{background:linear-gradient(#aebfd6,#cfdbe6 70%,#8fa3b3 70%);min-height:240px}.g2-sky{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.g2-drop{position:absolute;top:-22%;transform:translate(-50%);width:62px;height:74px;border:3px solid #2f2a26;border-radius:50%/62% 62% 38% 38%;background:#eaf5ff;box-shadow:0 4px #2f2a26;font:inherit;font-size:30px;font-weight:900;color:var(--ink);cursor:pointer;display:grid;place-items:center;padding:8px 0 0}.g2-drop.big{width:auto;min-width:84px;padding:8px 14px 0;cursor:default}.g2-drop.hit{background:var(--ok);border-color:var(--ok);color:#fff;box-shadow:none;transform:translate(-50%) scale(1.15);transition:transform .2s}.g2-drop.no{background:#f6dedd;border-color:var(--bad);color:var(--bad);animation:shake .3s}.g2-drop.ground{background:#fff1c2;border-color:#f2b320;border-radius:50%;height:52px}.g2-key{flex:0 0 auto;min-width:58px;font-size:26px;font-weight:900}.g2-key.v{background:#fff6e0}.g-ppopgi .game-stage{background:linear-gradient(#ffe3ec,#fff3d6);display:grid;place-items:center;min-height:190px}.g2-machine{display:grid;place-items:center}.g2-capsule{width:150px;height:150px;border-radius:50%;border:4px solid #2f2a26;background:radial-gradient(circle at 35% 30%,#fff,#ffd9e4);box-shadow:0 6px #2f2a26;display:grid;place-items:center;font-size:76px}.g2-capsule.word{font-size:40px;font-weight:900}.g2-capsule.pop{animation:g2pop .45s}@keyframes g2pop{0%{transform:translateY(-60px) scale(.5) rotate(-40deg)}70%{transform:translateY(6px) scale(1.06)}to{transform:none}}.g2-wordopt{font-size:24px;font-weight:900;display:grid;gap:2px;justify-items:center}.g2-wordopt small,.g2-item small{font-size:12px;font-weight:600;color:var(--muted)}.g2-wordopt.right small{color:#fff}.g2-picopt{font-size:40px}.g-order .game-stage{background:linear-gradient(#fdf1dc,#f3dcb8 68%,#b98a56 68%);min-height:200px}.g2-customer{position:absolute;left:14px;top:10px;font-size:62px}.g2-bubble{position:absolute;left:96px;right:12px;top:16px;background:#fff;border:3px solid #2f2a26;border-radius:16px;padding:10px 12px;font-size:19px;font-weight:800;min-height:48px}.g2-tray{position:absolute;left:12px;right:12px;bottom:8px;min-height:64px;background:#fffaf1;border:3px solid #2f2a26;border-radius:14px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;justify-content:center;padding:6px 10px}.g2-onTray{display:grid;justify-items:center;font-size:13px}.g2-pics{font-size:24px;letter-spacing:-4px}.g2-item{flex:1 1 17%;font-size:26px;padding:4px 2px;display:grid;justify-items:center;gap:0}.g2-serve{flex:1 1 100%}.g-eoje .game-stage{background:linear-gradient(#fff3d6,#e7f0ff);display:grid;place-items:center;min-height:170px}.g2-verb{display:grid;justify-items:center;gap:6px;background:#fff;border:3px solid #2f2a26;border-radius:18px;box-shadow:0 5px #2f2a26;padding:18px 26px}.g2-verb b{font-size:38px}.g2-verb small{font-size:15px;color:var(--muted);font-weight:700}.g2-verb.ok{border-color:var(--ok);box-shadow:0 5px 0 var(--ok)}.g2-verb.bad{border-color:#b0651c;box-shadow:0 5px #b0651c}.g2-side{font-size:18px;font-weight:800;min-height:60px}.g2-menu{display:grid;gap:10px}.g2-menu .btn{font-size:18px;font-weight:800;border:2px solid #2f2a26}@media(orientation:landscape)and (max-height:520px){.g-rain .game-stage,.g-order .game-stage{min-height:150px}.g2-drop{width:52px;height:60px;font-size:25px}.g2-capsule{width:100px;height:100px;font-size:52px}.g2-customer{font-size:44px}.g2-bubble{left:74px;font-size:16px;padding:6px 10px}.g2-verb{padding:8px 20px}.g2-verb b{font-size:28px}.g2-item{font-size:20px}.g2-serve{flex:1 1 30%}}.g2-wordopt{white-space:nowrap;padding-left:4px;padding-right:4px}.g-eoje .g2-wordopt{font-size:20px}.call-face{width:112px;height:112px;border-radius:24px;margin:6px auto 10px;display:block;box-shadow:0 4px 14px #0000002e}@media(orientation:portrait),(min-height:521px){.banner{left:10px;right:auto;margin:0;top:max(10px,env(safe-area-inset-top));max-width:calc(100% - 128px);padding:6px 10px;border-radius:12px;box-shadow:0 3px #2f2a26}.banner .qn{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner .goal{font-size:13.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.banner .clue,.banner .bond{display:inline-block;margin:1px 8px 0 0;font-size:10.5px}#minimap{top:max(8px,env(safe-area-inset-top));right:8px;transform:scale(.78);transform-origin:top right}#corner{top:calc(max(8px,env(safe-area-inset-top)) + 110px);right:10px}.talk.route-btn{top:calc(max(10px,env(safe-area-inset-top)) + 84px);left:10px;font-size:13px;padding:6px 12px}.greet{top:calc(max(10px,env(safe-area-inset-top)) + 156px);width:min(430px,calc(100% - 20px))}body:has(#ui .title) #corner{top:214px}}#corner:not(.open)>:not(.menu){display:none}#corner.open{background:#fffaf1eb;border-radius:18px;padding:6px;box-shadow:0 4px 14px #0000002e}#ui:has(.dlg)~#corner>.menu{display:none}#ui:has(.dlg)~#corner>.exit{display:inline-block}.corner-btn.menu{width:38px;height:38px;font-size:18px;background:#ffffffd9;box-shadow:0 2px 8px #0003;position:relative}#corner:has(.bell) .corner-btn.menu:after{content:"";position:absolute;top:3px;right:3px;width:9px;height:9px;border-radius:50%;background:#ff6b4a;border:2px solid #fff}#corner.open .corner-btn{min-height:34px}#corner .corner-btn.menu{order:-1}body.can-move .hint{animation:hint-out 7s forwards}@keyframes hint-out{0%,80%{opacity:1}to{opacity:0;visibility:hidden}}.home-tip{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 190px);transform:translate(-50%);z-index:30;width:min(360px,calc(100% - 32px));background:#2f2a26eb;color:#fff;font-size:14px;line-height:1.4;padding:12px 14px;border-radius:14px;display:flex;gap:10px;align-items:center}.home-tip .chip{flex:none;font:inherit;font-weight:800;border:0;border-radius:999px;padding:6px 12px;background:#fff;color:#2f2a26}@media(orientation:landscape)and (max-height:520px){#corner{top:8px;right:calc(var(--sr) + 96px)}#corner.open{flex-wrap:wrap;justify-content:flex-end;max-width:60vw}.home-tip{bottom:calc(var(--sb) + 80px)}}.arrive-sign{position:absolute;top:30%;left:50%;transform:translate(-50%);background:#fff;border:4px solid #3aa655;border-radius:14px;padding:12px 34px;text-align:center;box-shadow:0 8px 24px #00000040;pointer-events:none;animation:arrive-in .5s ease-out;transition:opacity .6s;z-index:30}.arrive-sign.out{opacity:0}.arrive-ko{font-size:44px;font-weight:900;color:#2f2a26;letter-spacing:4px}.arrive-en{font-size:15px;font-weight:700;color:#3aa655}@keyframes arrive-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}
