@font-face{font-family:Noto Sans KR;font-style:normal;font-display:swap;font-weight:400;src:url(./noto-sans-kr-korean-400-normal-CERZrUqY.woff2) format("woff2"),url(./noto-sans-kr-korean-400-normal-DGATwn9d.woff) format("woff")}@font-face{font-family:Noto Sans KR;font-style:normal;font-display:swap;font-weight:700;src:url(./noto-sans-kr-korean-700-normal-C6l4wo6f.woff2) format("woff2"),url(./noto-sans-kr-korean-700-normal-CiarQsWG.woff) format("woff")}:root{color:#4e4560;background:#f6f1fb;font-family:Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#app{margin:0;height:100%;overflow:hidden}body{min-height:100vh;min-height:100dvh;background:#f6f1fb;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}#app{height:100vh;height:100dvh}#safe-probe{position:fixed;pointer-events:none;visibility:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}button,input{font-family:inherit}.boot,.screen{height:100%;overflow:auto;background:#f6f1fb center / cover no-repeat;padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))}.boot{display:grid;place-items:center;color:#7d7394;font-weight:700}.wrap{width:min(460px,100%);margin:0 auto;display:flex;flex-direction:column;gap:12px;min-height:calc(100% - 8px)}.logo{width:min(440px,100%);height:auto;align-self:center;margin-top:8px;filter:drop-shadow(0 10px 18px rgba(120,96,170,.16))}.credit{margin:0;text-align:center;color:#8a809f;font-size:13px;letter-spacing:.08em}.menu{display:flex;flex-direction:column;gap:10px}.btn{appearance:none;border:0;min-height:48px;padding:0 18px;border-radius:999px;background:#ffffffe0;color:#564c6e;font-size:16px;font-weight:700;box-shadow:0 8px 20px #68549614;cursor:pointer}.btn:active{transform:translateY(1px)}.btn.primary{color:#fff;background:linear-gradient(180deg,#b7a4f6,#8b74ee);box-shadow:0 10px 22px #7e66e047}.btn.ghost{background:#ffffff9e}.btn.tiny{min-height:40px;font-size:14px;background:transparent;box-shadow:none;color:#8a809f}.btn:disabled{opacity:.45}.subhead{display:flex;align-items:center;justify-content:space-between;gap:8px}.subhead h1{margin:0;font-size:22px}.chapter-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.chapter-tabs::-webkit-scrollbar{display:none}.chapter-tab{flex:0 0 auto;border:0;border-radius:999px;padding:8px 12px;background:#ffffffb3;color:#6d6482;font-weight:700;font-size:13px}.chapter-tab.on{background:#8b74ee;color:#fff}.chapter-blurb{margin:0;color:#7d7392;font-size:13px;line-height:1.45}.stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;padding-bottom:12px}.stage-cell{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.stage-hex{width:100%;aspect-ratio:1.15 / 1;border:0;cursor:pointer;color:#5c516f;font-weight:700;font-size:18px;background:#ffffffe6;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%)}.stage-hex.current{background:#efe7ff;color:#6d58d6}.stage-hex.done{background:#fff}.stage-hex.locked{background:#ffffff73;color:#b3abc4;cursor:default}.stars{font-size:11px;letter-spacing:1px;color:#d9d0e6;line-height:1}.stars i{font-style:normal;color:#e2a429}.codex-count{margin:0;color:#7c728f;font-size:14px}.codex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:16px}.codex-card{border:0;background:#ffffffd1;border-radius:16px;padding:8px 6px 10px;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;cursor:pointer;box-shadow:0 6px 16px #6854960f}.codex-card img{width:100%;aspect-ratio:1;object-fit:contain;background:radial-gradient(circle at 50% 40%,#fff,#f3eefb 70%);border-radius:12px}.codex-card.locked img{filter:grayscale(1) brightness(.55)}.codex-card b,.codex-card span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.codex-card span{color:#8b829c;font-weight:400}.help-step{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;background:#fffc;border-radius:16px;padding:10px}.help-step img{width:64px;height:64px;object-fit:contain}.help-step p{margin:0;font-size:14px;line-height:1.45}.play{--booster: 68px;position:relative;height:100%;display:flex;flex-direction:column;background:#f6f1fb center / cover no-repeat;overflow:hidden;touch-action:none}.hud{display:flex;align-items:center;gap:8px;padding:4px 8px;min-height:0}.hud-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.hud-title{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-title em{font-style:normal;color:#8b74ee;margin-right:6px}.goal-row{display:flex;align-items:center;gap:8px}.goal-bar{flex:1;height:8px;border-radius:99px;background:#ffffffb3;overflow:hidden}.goal-fill{height:100%;width:0%;border-radius:inherit;background:linear-gradient(90deg,#f0a0c0,#8b74ee)}.goal-num,.score-num{font-size:12px;font-weight:700;color:#6d6484;white-space:nowrap}.icon-btn{width:40px;height:40px;flex:0 0 auto;border:0;border-radius:14px;background:#ffffffd1;color:#5c516f;font-size:16px;font-weight:700;cursor:pointer}.board-wrap{flex:1;min-height:0;min-width:0}.board-wrap canvas{width:100%;height:100%;display:block;touch-action:none}.boosters{height:var(--booster);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px 8px 6px}.booster{border:0;border-radius:16px;background:#ffffffe0;color:#564c6e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;padding:2px;cursor:pointer;font-weight:700}.booster small{font-size:11px;font-weight:700}.booster b{font-size:12px;color:#8b74ee}.booster.active{outline:2px solid #e07a90}.booster:disabled{opacity:.4}.play.is-landscape{display:grid;grid-template-columns:minmax(0,1fr) var(--booster);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"hud hud" "board boost"}.play.is-landscape .hud{grid-area:hud}.play.is-landscape .board-wrap{grid-area:board}.play.is-landscape .boosters{grid-area:boost;height:auto;width:var(--booster);grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));padding:6px}.play.is-landscape .hud{padding:2px 6px}.play.is-landscape .hud-copy{flex-direction:row;align-items:center;gap:8px}.play.is-landscape .hud-title{font-size:13px;max-width:34%}.play.is-landscape .icon-btn{width:32px;height:32px}.coach{position:relative;margin:0 8px 4px;background:#ffffffeb;color:#534a68;border-radius:14px;padding:8px 12px;font-size:13px;font-weight:700;line-height:1.35;text-align:center;pointer-events:none;box-shadow:0 8px 20px #5a468c1a}.play.is-landscape .coach{grid-area:coach;margin:0 8px 4px}.play.is-landscape{grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"hud hud" "coach coach" "board boost"}.toast{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);background:#3e3454e0;color:#fff;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:700;max-width:calc(100% - 32px);text-align:center;pointer-events:none;z-index:4}.overlay[hidden],.toast[hidden],.coach[hidden]{display:none!important}.overlay{position:absolute;inset:0;background:#56487047;display:flex;align-items:center;justify-content:center;padding:14px;z-index:5}.modal{width:min(400px,100%);max-height:100%;overflow:auto;background:#fffffff5;border-radius:24px;padding:18px 16px 14px;box-shadow:0 18px 40px #46346e2e}.modal h2{margin:0 0 6px;font-size:22px;text-align:center}.modal p{margin:0 0 10px;text-align:center;color:#6f6584;font-size:14px;line-height:1.45}.modal .menu{margin-top:8px}.star-row{display:flex;justify-content:center;gap:8px;font-size:28px;margin:6px 0 8px}.portrait{width:min(220px,70%);display:block;margin:0 auto 8px;background:radial-gradient(circle at 50% 42%,#fff,#f4eefb 72%);border-radius:20px}.detail-name{text-align:center;margin:0;font-size:20px}.detail-meta{text-align:center;color:#8a809f;margin:4px 0 8px;font-size:13px}@media(max-width:359px){.stage-grid{gap:8px 4px}.stage-hex{font-size:16px}.codex-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.btn{font-size:15px}}@media(max-height:560px)and (orientation:landscape){.logo{width:min(280px,70%);margin-top:0}.wrap{min-height:0}}
