:root{--blue:#2476ed;--red:#f05252;--bg:#f7f9fc;--ink:#172033;--gold:#e8b64d;--white:#fff;--muted:#5b6578;--line:#e3e8f0;--glass:#ffffffdb;--r:14px;--fs:15px;--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px);--sl:env(safe-area-inset-left,0px);--sr:env(safe-area-inset-right,0px);color:var(--ink);font-family:Pretendard,Pretendard Variable,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;font-size:var(--fs);-webkit-tap-highlight-color:transparent}html.big{--fs:18px}html.calm *,html.calm :before,html.calm :after{transition-duration:.01ms!important;animation-duration:.01ms!important}*{box-sizing:border-box}html,body,#root{overscroll-behavior:none;background:#0d1424;height:100%;margin:0;overflow:hidden}body{-webkit-user-select:none;user-select:none;touch-action:none}input,textarea,select{-webkit-user-select:text;user-select:text;font:inherit;color:inherit}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}h1,h2,h3,h4,p{margin:0}small{font-size:.82em;display:block}.stage{touch-action:none;width:100%;height:100%;display:block;position:fixed;inset:0}.btn{background:var(--white);border:1px solid var(--line);min-height:44px;color:var(--ink);white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-weight:600;text-decoration:none;display:inline-flex}.btn.primary{background:var(--blue);border-color:var(--blue);color:var(--white)}.btn.danger{background:var(--white);color:var(--red);border-color:#f6c3c3}.btn.ghost{background:0 0;border-color:#0000}.btn.big{flex-direction:column;gap:0;min-height:56px;font-size:1.1em}.btn.big small{opacity:.8;font-weight:500}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row.end{justify-content:flex-end;margin-top:14px}.row.between{justify-content:space-between}.muted{color:var(--muted)}.fine{color:var(--muted);margin-top:10px;font-size:.8em;line-height:1.5}.ok{color:#1f8a5b}.warn{color:#b7791f}.badge{color:#7a5a10;background:#fff4d6;border-radius:999px;margin:8px 0;padding:4px 10px;font-size:.8em;font-weight:600;display:inline-block}.badge.ok{color:#1f8a5b;background:#e3f6ec}.big-num{margin:10px 0;font-size:1.6em;font-weight:800}.field{border:1px solid var(--line);background:var(--white);border-radius:12px;width:100%;min-height:44px;padding:10px 12px}textarea.field{resize:vertical;margin-top:8px}.row .field{flex:1;width:auto;min-width:0}select{border:1px solid var(--line);background:var(--white);border-radius:10px;min-height:40px;padding:0 8px}.list{margin:10px 0;padding:0;list-style:none}.list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.list li>div:first-child{min-width:0}.list li button:only-child{text-align:left;width:100%;padding:4px 0}.tabs{scrollbar-width:none;gap:6px;margin:10px 0;padding-bottom:6px;display:flex;overflow-x:auto}.tabs button{background:var(--bg);border:1px solid var(--line);border-radius:999px;flex:none;min-height:36px;padding:0 12px;font-size:.9em}.tabs button.on{background:var(--ink);color:var(--white);border-color:var(--ink)}.chips{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.chips button{border:2px solid var(--line);background:var(--white);border-radius:12px;width:44px;height:44px;font-weight:700}.chips button.on{border-color:var(--blue);box-shadow:0 0 0 3px #2476ed40}.chips.wide button{width:auto;padding:0 14px}.chips.wide button.on{background:var(--blue);color:var(--white)}.sheet-back{z-index:30;background:#0d14242e;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:min(560px,100%);max-height:80vh;padding-bottom:var(--sb);border-radius:20px 20px 0 0;flex-direction:column;animation:.22s ease-out up;display:flex;box-shadow:0 -10px 40px #00000040}.sheet.wide{width:min(760px,100%)}.sheet header{justify-content:space-between;align-items:center;padding:14px 16px 6px;display:flex}.sheet header h2{font-size:1.15em}.sheet .x{border-radius:50%;width:44px;height:44px;font-size:1.1em}.sheet-body{-webkit-overflow-scrolling:touch;padding:4px 16px 18px;overflow-y:auto}.sheet-body h3{margin:16px 0 6px;font-size:1em}.sheet-body h4{color:var(--muted);margin:12px 0 0;font-size:.9em}@keyframes up{0%{opacity:0;transform:translateY(30px)}}@media (width>=900px) and (orientation:landscape){.sheet-back{background:0 0;justify-content:flex-end;align-items:stretch}.sheet,.sheet.wide{width:420px;max-height:none;padding-top:var(--st);border-radius:0;margin:0}.sheet.wide{width:520px}}.modal-back{z-index:50;background:#0d142480;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--white);border-radius:18px;gap:12px;width:min(420px,100%);padding:20px;display:grid}.modal.small{width:min(340px,100%)}.skip{right:calc(16px + var(--sr));bottom:calc(24px + var(--sb));z-index:20;color:#fff;background:#00000073;border-radius:999px;min-height:44px;padding:0 18px;font-weight:700;position:fixed}.menu{z-index:10;padding:24px 20px calc(24px + var(--sb));text-align:center;color:#fff;background:linear-gradient(#0000,#0d1424d1 30%);justify-items:center;gap:14px;display:grid;position:fixed;inset:auto 0 0}.menu h1{letter-spacing:-.02em;font-size:clamp(30px,8vw,54px);font-weight:900}.menu h1 span{color:var(--gold)}.menu .tag{opacity:.9}.menu-btns{gap:10px;width:min(360px,100%);display:grid}.menu-btns .btn.ghost{color:#fff}.menu .fine{color:#ffffffbf;max-width:420px}.onboard{z-index:10;padding:0 10px calc(10px + var(--sb));pointer-events:none;justify-content:center;display:flex;position:fixed;inset:auto 0 0}.onboard-card{pointer-events:auto;background:var(--glass);-webkit-backdrop-filter:blur(12px);border-radius:20px;width:min(520px,100%);max-height:58vh;padding:16px;overflow-y:auto;box-shadow:0 10px 40px #00000040}.onboard-card h2{margin:10px 0;font-size:1.2em}.onboard.step-look .onboard-card{max-height:44vh}.dots{gap:6px;display:flex}.dots i{background:var(--line);border-radius:2px;flex:1;height:4px}.dots i.on{background:var(--blue)}.flags{grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:6px;max-height:32vh;display:grid;overflow-y:auto}.flags button{background:var(--white);border:2px solid #0000;border-radius:10px;padding:6px 0;font-size:1.5em}.flags button small{color:var(--muted);font-size:.45em}.flags button.on{border-color:var(--blue)}.passport-card{color:#fff;background:#1d2b4f;border-radius:16px;margin:6px 0;overflow:hidden}.pp-head{background:var(--gold);color:var(--ink);letter-spacing:.08em;padding:8px 14px;font-size:.7em;font-weight:800}.pp-body{align-items:center;gap:14px;padding:16px;display:flex}.pp-body b{font-size:1.3em}.pp-body small{opacity:.8}.pp-flag{font-size:2.6em}.passport-card.issue{animation:.5s ease-out up}.loading{z-index:40;color:#fff;background:#0d1424b3;place-content:center;justify-items:center;gap:14px;display:grid;position:fixed;inset:0}.spinner{border:4px solid #ffffff40;border-top-color:var(--gold);border-radius:50%;width:42px;height:42px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.hud{z-index:5;pointer-events:none;position:fixed;inset:0}.hud>*,.hud button,.hud canvas{pointer-events:auto}.hud-profile{top:calc(10px + var(--st));left:calc(10px + var(--sl));background:var(--glass);text-align:left;border-radius:999px;align-items:center;gap:8px;max-width:46vw;padding:6px 12px 6px 6px;display:flex;position:absolute}.hud-profile .flag{font-size:1.6em}.hud-profile b{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.hud-profile small{color:var(--muted)}.hud-top{top:calc(10px + var(--st));background:var(--glass);white-space:nowrap;pointer-events:none;border-radius:999px;align-items:center;gap:10px;padding:8px 14px;font-size:.85em;display:flex;position:absolute;left:50%;transform:translate(-50%)}.hud-top .net{color:#b7791f}.hud-top .net.offline{color:var(--muted)}.hud-right{top:calc(10px + var(--st));right:calc(10px + var(--sr));align-items:flex-start;gap:8px;display:flex;position:absolute}.minimap{background:var(--glass);border-radius:16px;width:96px;height:96px;box-shadow:0 2px 10px #00000026}.icon-col{gap:6px;display:grid}.icon-col button,.act-row button{background:var(--glass);border-radius:50%;width:44px;height:44px;font-size:1.15em;box-shadow:0 2px 8px #0000001f}.hud-left{left:calc(18px + var(--sl));bottom:calc(84px + var(--sb));justify-items:center;gap:10px;display:grid;position:absolute}.joy{touch-action:none;background:#ffffff47;border:2px solid #fff9;border-radius:50%;place-items:center;width:128px;height:128px;display:grid}.joy-knob{pointer-events:none;background:#ffffffeb;border-radius:50%;width:56px;height:56px;box-shadow:0 3px 10px #00000040}.run{background:var(--glass);border-radius:999px;min-height:36px;padding:0 14px;font-size:.85em;font-weight:700}.run.on{background:var(--red);color:#fff}.hud-actions{right:calc(16px + var(--sr));bottom:calc(84px + var(--sb));justify-items:end;gap:10px;display:grid;position:absolute}.act-main{background:var(--blue);color:#fff;border-radius:22px;flex-direction:column;justify-content:center;min-width:120px;min-height:64px;padding:0 20px;font-size:1.05em;font-weight:800;display:flex;box-shadow:0 6px 18px #2476ed73}.act-main small{opacity:.7;font-size:.7em}.act-row{gap:8px;display:flex}.emote-grid{background:var(--glass);border-radius:16px;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;display:grid}.emote-grid button{background:var(--white);border-radius:10px;min-height:40px;padding:0 8px;font-size:.85em}.hud-bottom{left:50%;bottom:calc(10px + var(--sb));background:var(--glass);border-radius:20px;gap:4px;padding:6px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 4px 16px #00000026}.hud-bottom button{border-radius:14px;align-content:center;justify-items:center;min-width:56px;min-height:52px;font-size:1.2em;display:grid}.hud-bottom button span{font-size:.58em;font-weight:600}.hud-eye{z-index:6;top:calc(10px + var(--st));right:calc(10px + var(--sr));background:var(--glass);border-radius:50%;width:44px;height:44px;position:fixed}@media (width<=520px){.hud-top{top:calc(64px + var(--st));left:calc(10px + var(--sl));transform:none}.minimap{width:76px;height:76px}.joy{width:112px;height:112px}}@media (height<=480px){.hud-left,.hud-actions{bottom:calc(68px + var(--sb))}.joy{width:100px;height:100px}.minimap{display:none}}.toasts{z-index:60;left:50%;top:calc(64px + var(--st));pointer-events:none;gap:6px;width:min(440px,92vw);display:grid;position:fixed;transform:translate(-50%)}.toast{pointer-events:auto;color:#fff;background:#172033eb;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-size:.9em;animation:.2s ease-out up;display:flex}.toast button{background:var(--gold);min-height:34px;color:var(--ink);border-radius:10px;flex:none;padding:0 12px;font-weight:700}.notice-bar{z-index:25;padding:6px 12px calc(6px + var(--sb));text-align:center;color:#fff;pointer-events:none;background:#2476edeb;font-size:.8em;position:fixed;bottom:0;left:0;right:0}.notice-bar.warn{padding-top:calc(6px + var(--st));background:#f05252f2;top:0;bottom:auto}.stamp-fx{z-index:70;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.stamp-ink{border:8px double var(--red);width:190px;height:190px;color:var(--red);text-align:center;background:#ffffffd9;border-radius:50%;place-content:center;font-size:1.3em;font-weight:900;animation:.45s cubic-bezier(.2,1.6,.4,1) stamp;display:grid;transform:rotate(-12deg)}.stamp-ink small{letter-spacing:.1em;font-size:.5em}@keyframes stamp{0%{opacity:0;transform:rotate(-12deg)scale(2.4)}}.region-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-top:10px;display:grid}.region-grid button{background:var(--white);border:1px solid var(--line);border-radius:12px;min-height:44px;font-weight:600}.region-grid button.gold{border-color:var(--gold);background:#fff8e6}.region-card h3{margin:10px 0 4px}.places{margin:10px 0;padding:0;list-style:none}.places li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:10px 0;display:flex}.places small{color:var(--muted)}.star{width:40px;height:40px;color:var(--muted);font-size:1.3em}.star.on{color:var(--gold)}.travel-bar{z-index:30;left:50%;bottom:calc(24px + var(--sb));background:var(--glass);border-radius:999px;align-items:center;gap:12px;padding:8px 8px 8px 18px;font-weight:700;display:flex;position:fixed;transform:translate(-50%)}.stamps{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;display:grid}.stamp{aspect-ratio:1;border:3px dashed var(--line);text-align:center;color:var(--muted);border-radius:50%;place-content:center;padding:8px;font-size:.78em;display:grid}.stamp.on{border:4px double var(--red);color:var(--red);background:#fff;font-weight:800;transform:rotate(-6deg)}.stamp small{font-size:.8em;font-weight:500}.lock-item{flex-wrap:wrap}.found{background:var(--white);border-radius:12px;margin:8px 0;padding:12px}.found p{margin-top:6px}.about{border-top:1px solid var(--line);text-align:center;color:var(--muted);gap:4px;margin-top:20px;padding-top:14px;display:grid}.version{-webkit-user-select:none;user-select:none;cursor:default;padding:6px}.set-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:52px;display:flex}.set-row input[type=range]{width:50%}.set-row input[type=checkbox]{width:22px;height:22px}.phrases b{font-size:1.1em}.food-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;display:grid}.food-grid button{background:var(--white);border:1px solid var(--line);text-align:left;border-radius:12px;min-height:64px;padding:8px;position:relative}.food-grid button small{color:var(--muted)}.food-grid button.tried{border-color:var(--red)}.food-grid i{color:var(--red);font-style:normal;font-weight:900;position:absolute;top:6px;right:8px}.food-detail p{margin:8px 0}.chat-log{background:var(--white);-webkit-user-select:text;user-select:text;border-radius:12px;align-content:start;gap:6px;height:34vh;padding:10px;display:grid;overflow-y:auto}.chat-log p{word-break:break-word;line-height:1.4}.chat-log p.me b{color:var(--blue)}.quick{gap:6px;margin:8px 0;display:flex;overflow-x:auto}.quick button{background:var(--white);border:1px solid var(--line);border-radius:999px;flex:none;min-height:36px;padding:0 12px}.dialog{background:var(--white);border-radius:12px;margin:10px 0;padding:12px}.dialog p{margin-top:4px}.cert{text-align:center;border:4px double var(--gold);background:#fffaf0;border-radius:14px;padding:14px}.pieces{grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;display:grid}.piece{background:var(--white);border:2px solid var(--line);border-radius:12px;justify-items:center;gap:6px;padding:10px 6px;font-size:.85em;display:grid}.piece.grill,.piece.flipped{border-color:#f2994a}.piece.cut,.piece.wrapped{border-color:#3fae7a}.piece.eaten{opacity:.6}.piece .btn{width:100%;min-height:38px;padding:0 10px}.photo-ui{z-index:30;left:0;right:0;bottom:calc(16px + var(--sb));color:#fff;text-shadow:0 1px 3px #0009;justify-items:center;gap:12px;display:grid;position:fixed}.photo-ui .fine{color:#fff}.poses{gap:6px;max-width:100vw;padding:0 12px;display:flex;overflow-x:auto}.poses button{background:var(--glass);min-height:40px;color:var(--ink);text-shadow:none;border-radius:999px;flex:none;padding:0 12px}.shutter{background:#fff;border:6px solid #ffffff80;border-radius:50%;width:74px;height:74px;box-shadow:inset 0 0 0 3px #fff,0 4px 14px #00000059}.photo-ui .btn.ghost{color:#fff}.photo-result{z-index:40;background:#0d1424d9;place-content:center;justify-items:center;gap:14px;padding:20px;display:grid;position:fixed;inset:0}.photo-result img{border-radius:12px;max-width:92vw;max-height:70vh;box-shadow:0 10px 40px #00000080}.photo-result .btn.ghost{color:#fff}.nogl{background:var(--bg);padding:calc(16px + var(--st)) 16px calc(16px + var(--sb));-webkit-user-select:text;user-select:text;touch-action:auto;align-content:start;justify-items:center;gap:10px;display:grid;position:fixed;inset:0;overflow-y:auto}.nogl h1{font-size:28px;font-weight:900}.nogl h1 span{color:var(--blue)}.nogl svg{width:min(420px,100%);height:auto}.nogl .region-card{background:#fff;border-radius:14px;width:min(520px,100%);padding:14px}
