:root{font-family:Malgun Gothic,Apple SD Gothic Neo,sans-serif;color:#f4f3e8;background:#10282f;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% -20%,#345d5a 0,#17383d 40%,#10282f 85%)}button{font:inherit;cursor:pointer;border:0}button:focus-visible{outline:3px solid #ffcf75;outline-offset:3px}button:disabled{opacity:.45;cursor:default}.game-shell{position:relative;max-width:520px;margin:0 auto;padding:clamp(14px,3vh,28px) 20px calc(20px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.mode{font-size:12px;font-weight:800;color:#a7dfc8;letter-spacing:.03em}h1{margin:3px 0 0;font-size:clamp(25px,6vw,32px);letter-spacing:-.06em}.quiet{min-height:44px;border:1px solid #77958c;background:transparent;color:#e9f0e8;border-radius:12px;padding:0 14px}.scoreboard{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1px;margin:22px 0 18px;overflow:hidden;border-radius:16px;background:#52726a}.scoreboard div{padding:13px 14px;background:#1c3c3e}.scoreboard span,.final-score span{display:block;font-size:12px;color:#b7d0c4}.scoreboard strong{display:block;margin-top:4px;font-size:clamp(22px,6vw,30px);line-height:1;font-variant-numeric:tabular-nums}.scoreboard .combo strong{color:#ffd178}.turn{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 3px 7px}.turn-label{display:block;font-size:11px;color:#9bbab0}.turn strong{display:block;margin-top:3px;font-size:13px;color:#edf6e9}.hint-button{min-height:42px;padding:0 15px;border-radius:12px;color:#183a37;background:#f5cf7e;font-size:13px;font-weight:800;white-space:nowrap}#game{width:100%;aspect-ratio:480/610;touch-action:none}canvas{display:block;touch-action:none}.instruction{margin:4px 2px;color:#bbd0c5;font-size:13px;line-height:1.5}.message{min-height:22px;margin:7px 2px 0;color:#ffdb91;font-size:13px;font-weight:700}.overlay[hidden]{display:none}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;padding:24px;background:#071a20c9}.dialog{width:min(100%,360px);padding:30px;text-align:center;border:1px solid #668b7c;border-radius:24px;background:#1c3c3e;box-shadow:0 20px 60px #06171c99}.dialog h2{margin:8px 0;font-size:25px}.dialog p{color:#c1d6ca;font-size:14px}.final-score{margin:22px 0;padding:17px;background:#153236;border-radius:14px}.final-score strong{display:block;margin-top:5px;font-size:36px;color:#ffdb91}.dialog button{width:100%;min-height:50px;border-radius:13px;background:#f5cf7e;color:#183a37;font-weight:800}@media(max-height:740px){.game-shell{padding-top:12px}.scoreboard{margin:12px 0 10px}.scoreboard div{padding:9px 12px}.instruction{margin-top:0}}@media(max-width:360px){.game-shell{padding-left:12px;padding-right:12px}.scoreboard div{padding:10px}.turn strong{font-size:12px}}.game-shell.single-block{touch-action:none}.game-shell.single-block button{touch-action:manipulation}.dialog button+button{margin-top:10px}.dialog #recover:not([hidden])+button{background:transparent;color:#e9f0e8;border:1px solid #77958c}.scoreboard{grid-template-columns:1.2fr .9fr 1fr;align-items:stretch}.scoreboard .best-score strong{font-size:clamp(16px,4vw,20px);color:#bed2c7;margin-top:8px}.scoreboard .combo{position:relative}.scoreboard .combo-lights{display:flex;gap:5px;margin-top:8px}.combo-lights i{display:block;width:8px;height:8px;border-radius:50%;background:#47635b;transition:background-color .18s,box-shadow .18s}.combo-lights i.lit{background:#82e6a8;box-shadow:0 0 8px #82e6a870}.turn{justify-content:flex-end}@media(prefers-reduced-motion:reduce){.combo-lights i{transition:none}}.scoreboard{grid-template-columns:1fr 1fr}.scoreboard .current-score .best-score{display:block;margin-top:7px;font-size:12px;color:#a9c5b8}.current-score .best-score b{font-size:inherit;font-weight:700;font-variant-numeric:tabular-nums}.current-score .best-score.record-flash{animation:record-flash 1.15s ease-out}@keyframes record-flash{0%{color:#fff4c2;transform:scale(1)}25%{color:#ffdc78;transform:scale(1.1);text-shadow:0 0 12px #ffc858}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.current-score .best-score.record-flash{animation:record-color 1.15s ease-out}@keyframes record-color{0%,60%{color:#ffdc78}to{color:#a9c5b8}}}.end-actions[hidden]{display:none}.end-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 2px 10px;color:#c9ded3;font-size:13px}.end-actions button{flex-shrink:0;min-height:44px;padding:0 16px;border-radius:12px;background:#f5cf7e;color:#183a37;font-weight:800}.dialog #review-board{background:transparent;color:#d6e6dc;border:1px solid #77958c}.final-score .final-best{margin-top:10px;color:#b7d0c4}.final-best b{color:#e0eae2;font-variant-numeric:tabular-nums}.final-score .completion-bonus{margin-top:8px;color:#d9eec8;font-weight:700}.final-score .completion-bonus[hidden]{display:none}.combo-lights.protected i.lit{background:#b9ffdd;box-shadow:0 0 4px #b9ffdd,0 0 12px #65e9a8}.turn .end-actions{width:100%;margin:0}.turn .end-actions span{font-weight:700}.hint-button[hidden],#revive-options[hidden]{display:none}#revive-options{margin:12px 0}#revive-options p{margin:8px 0;font-size:13px}#revive-options button{margin-top:8px}#revive-options #revive-item{background:#d7eee0}#revive-options #revive-ad:disabled{background:#668078;color:#d2ddd7;cursor:not-allowed}#revive-message:empty{display:none}.dialog{max-height:calc(100dvh - 48px);overflow-y:auto}#game{transition:filter .7s ease,opacity .7s ease}#game.game-ended{filter:saturate(.65);opacity:.8}.turn .end-actions{justify-content:flex-end}.turn #review-previous,.turn #review-next{min-width:44px;padding:0 12px;font-size:26px;line-height:1}@media(prefers-reduced-motion:reduce){#game{transition:none}}.mode-select{display:flex;gap:6px;margin:18px 0 0;padding:5px;border-radius:14px;background:#18393b}.mode-select button{flex:1;min-height:40px;padding:0 4px;border-radius:10px;background:transparent;color:#b4cbbf;font-size:13px;font-weight:700}.mode-select button[aria-pressed=true]{background:#466e60;color:#fff}.mode-info[hidden],.best-score[hidden],.final-best[hidden]{display:none!important}.mode-info{margin-top:12px;padding:12px 14px;border-radius:12px;background:#1b3b3c;color:#ecf5eb}.mode-info.daily-themed{position:relative;min-height:66px;padding-left:64px}.daily-art{position:absolute;left:14px;top:50%;display:grid;place-items:center;width:38px;height:38px;transform:translateY(-50%);border-radius:12px;background:#326b64}.daily-art[hidden]{display:none}.daily-art svg{width:27px;height:27px}.mode-info strong{font-size:14px}.mode-info p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#bcd1c5}.mode-info a{display:inline-block;margin-top:6px;color:#f5cf7e;font-size:12px}.mode-info a[hidden]{display:none}.route-help{display:block;line-height:1.45}.route-progress{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.route-step{padding:4px 7px;border-radius:8px;background:#ffffff10;color:#d5e6dd;font-size:11px;font-weight:700}.route-step.complete{background:#80d6a9;color:#143a31}.game-shell.route-demo #mode-title,.route-levels[hidden]{display:none}.route-levels{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-7px -8px -3px}.route-levels button{min-height:44px;border:0;border-radius:10px;background:transparent;color:#edf5ea;font:inherit;font-weight:700;padding:0 8px}.route-levels #route-level-select{display:inline-flex;align-items:center;gap:8px;min-width:0;text-align:left}.route-picker-icon{color:#b8d8c4;font-size:19px}.route-levels #route-undo{flex:none;color:#c7dbce;font-size:12px}.route-levels button:disabled{opacity:.38}.route-picker-dialog{padding:22px;text-align:left}.route-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.route-picker-header h2{margin:0;font-size:21px}.dialog .route-picker-header button{width:44px;min-height:44px;margin:0;background:#ffffff12;color:#f6f3de;box-shadow:none;font-size:25px}.route-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dialog .route-picker-grid button{width:100%;min-height:52px;margin:0;background:#315853;color:#edf4e8;box-shadow:inset 0 1px #ffffff25;font-size:17px}.dialog .route-picker-grid button[aria-current=step]{background:#f5cf7e;color:#173c35;box-shadow:inset 0 2px #ffffff60,0 3px #102b27}@media(max-height:900px){.game-shell{padding-top:10px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.topbar h1{font-size:24px}.mode-select{margin-top:8px}.mode-select button{min-height:36px}.mode-info{margin-top:7px;padding:8px 12px}.mode-info p{margin-top:2px}.scoreboard{margin:8px 0}.scoreboard div{padding:8px 12px}.scoreboard strong{font-size:23px}.turn{padding-bottom:2px}.hint-button{min-height:38px}#game{width:min(100%,max(200px,calc((100dvh - 350px)*.786885)));margin-inline:auto}.instruction{font-size:12px}.message{margin:2px 2px 0;min-height:16px;font-size:12px}}@media(max-width:600px)and (max-height:900px){.game-shell{padding-left:8px;padding-right:8px}#game{width:min(100%,max(200px,calc((100dvh - 220px)*.786885)))}}@media(max-height:900px){.game-shell.route-demo #game{width:min(100%,max(200px,calc((100dvh - 220px)*.786885)))}}@media(min-width:601px){.game-shell{max-width:660px}#game,.game-shell.route-demo #game{width:min(100%,620px,max(200px,calc((100dvh - 200px)*.786885)));margin-inline:auto}}.drag-area{height:68px;touch-action:none;-webkit-user-select:none;user-select:none}.home-screen[hidden]{display:none}.home-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 10%,#315e56,#17383d 54%,#10282f);overflow-y:auto}.home-content{width:min(100%,360px);text-align:center}.home-content h2{margin:20px 0 4px;font-size:38px;letter-spacing:-.07em}.home-content p{margin:0 0 35px;color:#bdd6c9;font-size:14px}.home-mark{display:grid;grid-template-columns:repeat(2,32px);gap:5px;justify-content:center;transform:rotate(-8deg)}.home-mark i{height:32px;background:#f3bd64;border-radius:5px}.home-mark i:nth-child(2){background:#6fc9b0}.home-mark i:nth-child(3){background:#e4849c}.home-mark i:nth-child(4){background:#86a6e9}.home-modes{display:grid;gap:12px}.home-modes button{min-height:76px;padding:14px 22px;text-align:left;border-radius:16px;background:#ecc371;color:#193c37;box-shadow:0 5px #a68446}.home-modes button:nth-child(2){background:#8bd2b4;box-shadow:0 5px #518d76}.home-modes button:nth-child(3){background:#a7bff2;box-shadow:0 5px #6680b8}.home-modes strong,.home-modes span{display:block}.home-modes strong{font-size:19px}.home-modes span{margin-top:3px;font-size:12px;opacity:.8}.settings-dialog #settings-home,.settings-dialog #settings-restart,.settings-dialog #settings-close{background:transparent;color:#e9f0e8;border:1px solid #77958c}.settings-dialog button+button{margin-top:8px}.settings-dialog button[aria-pressed=false]{background:#56716a;color:#dae7df}.settings-dialog{padding:25px 24px 22px;text-align:left}.settings-dialog h2{margin:0 0 17px;text-align:center}.settings-dialog .settings-options{border-radius:14px;background:#173a39;overflow:hidden}.settings-dialog .setting-row,.settings-dialog .setting-row[aria-pressed=false]{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:49px;margin:0;padding:0 15px;border:0;border-radius:0;background:transparent;color:#e8f2e8;font-size:15px;font-weight:700;text-align:left}.settings-dialog .setting-row+.setting-row{border-top:1px solid #ffffff13}.setting-switch{position:relative;width:42px;height:24px;border-radius:14px;background:#526e69;transition:background .16s}.setting-switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#e3ebe3;transition:transform .16s}.setting-row[aria-pressed=true] .setting-switch{background:#9cddb8}.setting-row[aria-pressed=true] .setting-switch:after{transform:translate(18px);background:#18443b}.settings-dialog .setting-value{color:#b8d8c4;font-weight:600}.settings-dialog .settings-secondary{display:flex;gap:12px;margin:14px 0 8px}.settings-dialog .settings-secondary button{width:50%;min-height:44px;margin:0;border:0;background:transparent;color:#aecbc0;font-size:13px;font-weight:700}.settings-dialog #settings-close{width:100%;min-height:50px;margin:0;border:0;background:#f5cf7e;color:#183a37}.turn:has(.end-actions[hidden]){display:none}:root[data-skin=night] body{background:radial-gradient(ellipse at 50% -20%,#536493,#263455 45%,#161e3d 90%)}:root[data-skin=sunset] body{background:radial-gradient(ellipse at 50% -20%,#a0695d,#573c47 45%,#302835 90%)}.level-controls[hidden]{display:none}.level-controls{display:flex;gap:8px;margin-top:8px}.level-controls button{min-height:34px;padding:0 10px;border-radius:8px;background:#426b5d;color:#f5f6e9;font-size:12px}.topbar .quiet{width:44px;height:44px;padding:0;font-size:22px;border-radius:50%;background:#31584e;border-color:#84ae98;box-shadow:inset 0 2px #fff2,0 3px #0b2928}.scoreboard{background:#719184;box-shadow:0 5px #0a2629,inset 0 1px #ffffff1f;border-radius:14px}.scoreboard div{background:#234744}.scoreboard strong{text-shadow:0 2px 0 #102b28}.game-shell:not(.adventure-mode) .topbar h1{font-size:clamp(18px,4vw,23px)}.game-shell:not(.adventure-mode) .mode{font-size:11px}.game-shell:not(.adventure-mode) .scoreboard{grid-template-columns:1fr auto;margin:8px 0 6px;border-radius:12px;background:transparent;box-shadow:none}.game-shell:not(.adventure-mode) .scoreboard div{background:transparent;padding:4px 12px}.game-shell:not(.adventure-mode) .current-score strong{font-size:clamp(33px,9vw,48px);color:#fff2c4}.game-shell:not(.adventure-mode) .current-score .best-score{font-size:11px}.game-shell:not(.adventure-mode) .scoreboard .combo{align-self:end;text-align:center}.game-shell:not(.adventure-mode) .scoreboard .combo strong{font-size:22px}.home-content h2{font-size:clamp(38px,11vw,52px);color:#f8e8af;text-shadow:0 4px 0 #43634e,0 7px 16px #071c1a88}.home-modes button{position:relative;border:1px solid #ffffff55;box-shadow:inset 0 2px #ffffff65,0 5px #a68446,0 9px 18px #071c1a55}.home-modes button:nth-child(2){box-shadow:inset 0 2px #ffffff65,0 5px #518d76,0 9px 18px #071c1a55}.home-modes button:nth-child(3){box-shadow:inset 0 2px #ffffff65,0 5px #6680b8,0 9px 18px #071c1a55}.dialog{border:2px solid #80a98d;box-shadow:inset 0 2px #ffffff25,0 20px 60px #06171c99}.dialog h2{color:#ffe4a0;text-shadow:0 2px #0d3028}.dialog button{box-shadow:inset 0 2px #ffffff4a,0 3px #172e2a}.dialog button[hidden]{display:none}.dialog #win-home{background:transparent;color:#e9f0e8;border:1px solid #77958c}.result-secondary{display:flex;gap:10px;margin-top:10px}.dialog .result-secondary button{flex:1;min-width:0;min-height:46px;margin:0;padding:0 8px;border:1px solid #77958c;background:transparent;color:#d6e6dc;box-shadow:none;font-size:13px}.dialog .result-secondary button[hidden]{display:none}.route-victory .dialog #next-level,.route-final-victory .dialog #win-home{min-height:54px;border:0;background:#f5cf7e;color:#183a37;box-shadow:inset 0 2px #ffffff4a,0 3px #172e2a;font-size:16px}.route-can-undo .dialog #play-again{min-height:46px;background:transparent;color:#d6e6dc;border:1px solid #77958c;box-shadow:none;font-size:13px}.theme-card[hidden]{display:none}.theme-card{display:flex;align-items:center;gap:14px;text-align:left;padding:12px;background:#204541;border:1px solid #608a76;border-radius:16px}.theme-card svg{width:102px;flex:none;border-radius:8px;background:#3f6e6a}.theme-card svg .covered{fill:#213d3b;fill-opacity:.91;stroke:#789c85;stroke-opacity:.35;stroke-width:1.5}.theme-card svg .revealed{fill:transparent;stroke:#fff;stroke-opacity:.26;stroke-width:1.5}.theme-card>div{min-width:0;flex:1}.theme-card .theme-eyebrow{display:block;color:#a9d4bd;font-size:10px}.theme-card strong{display:block;margin-top:3px;color:#f5f4d9;font-size:16px}.theme-card small{display:block;margin-top:5px;color:#c4d7c8;font-size:11px;white-space:nowrap}.theme-bar{height:5px;margin-top:9px;border-radius:4px;background:#365c50;overflow:hidden}.theme-bar i{display:block;height:100%;background:#f5d078;border-radius:4px}.home-content .theme-card{margin:-15px 0 18px}.dialog .theme-card{margin:12px 0}.dialog .theme-card strong{font-size:14px}.dialog .theme-card svg{width:85px}@media(max-height:740px){.home-content h2{margin:8px 0 2px;font-size:32px}.home-content p{margin-bottom:20px}.home-content .theme-card{margin:0 0 10px}.home-modes{gap:8px}.home-modes button{min-height:60px;padding:10px 18px}}#game{position:relative}.combo-burst{position:absolute;z-index:2;left:50%;top:29%;width:100%;display:flex;align-items:center;justify-content:center;gap:.15em;pointer-events:none;visibility:hidden;transform:translate(-50%,-50%);filter:drop-shadow(0 4px 0 #8f3c21) drop-shadow(0 7px 12px #102720a0)}.line-burst{position:absolute;z-index:3;left:50%;top:40%;width:100%;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;pointer-events:none;visibility:hidden;transform:translate(-50%,-50%);font-weight:1000;font-variant-numeric:tabular-nums;color:#ffe781;text-shadow:0 3px #a54926,0 7px 15px #142d27}.line-burst .reward-stage{position:absolute;left:50%;top:0;white-space:nowrap;font-size:clamp(25px,7vw,42px);color:#fff2bd;-webkit-text-stroke:1px #a54926;opacity:0}.line-burst.show .reward-stage{animation:reward-stage .48s ease-out var(--delay) both}.line-burst strong{font-size:clamp(48px,13vw,76px);line-height:1;color:#ffdc68;-webkit-text-stroke:1px #a54926;opacity:0}.line-burst.show strong{animation:reward-total .85s ease-out var(--delay) both}@keyframes reward-stage{0%{opacity:0;transform:translate(-50%) scale(.7)}25%,60%{opacity:1;transform:translate(-50%) scale(1.05)}to{opacity:0;transform:translate(-50%) scale(1)}}@keyframes reward-total{0%{opacity:0;transform:scale(.7)}20%,75%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-15px)}}.line-burst small{font-size:clamp(13px,3.5vw,18px);color:#fff4d4;text-shadow:0 2px 4px #173b36}.confirm-overlay{z-index:8}.confirm-overlay #restart-confirm-no{background:transparent;color:#e9f0e8;border:1px solid #77958c}.line-burst.show{animation:line-burst var(--reward-duration, 1.8s) linear both}@keyframes line-burst{0%,98%{visibility:visible;opacity:1}to{visibility:hidden;opacity:0}}@media(prefers-reduced-motion:reduce){.line-burst.show{animation:line-burst-reduced 1.8s linear both}.line-burst.show .reward-stage{display:none}.line-burst.show strong{animation:none;opacity:1}@keyframes line-burst-reduced{0%,80%{visibility:visible;opacity:1}to{visibility:hidden;opacity:0}}}.clear-burst{position:absolute;z-index:3;left:50%;top:45%;width:100%;text-align:center;pointer-events:none;visibility:hidden;transform:translate(-50%,-50%);font-size:clamp(32px,9vw,58px);font-weight:1000;letter-spacing:-.04em;color:#fff5c4;-webkit-text-stroke:1px #c67a22;text-shadow:0 4px #a05227,0 8px 20px #173e32}.clear-burst.show{animation:clear-burst 1.35s ease-out both}@keyframes clear-burst{0%{visibility:visible;opacity:0;transform:translate(-50%,-50%) scale(.7)}16%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}28%,74%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{visibility:hidden;opacity:0;transform:translate(-50%,-55%) scale(1)}}@media(prefers-reduced-motion:reduce){.clear-burst.show{animation:clear-fade 1.35s linear both;visibility:visible}@keyframes clear-fade{0%,75%{opacity:1}to{opacity:0;visibility:hidden}}}.collect-icon{width:21px;height:24px;vertical-align:middle;margin-right:6px}.collect-flight{position:fixed;z-index:6;width:27px;height:31px;pointer-events:none;filter:drop-shadow(0 2px 4px #17342b88)}.collect-flight .collect-icon{width:100%;height:100%;margin:0}.goal-intro{position:absolute;z-index:4;left:50%;top:32%;min-width:180px;padding:15px 26px;text-align:center;border:1px solid #a9dfc4;border-radius:18px;background:#21534eef;box-shadow:0 8px 24px #102c2a99;pointer-events:none;visibility:hidden;transform:translate(-50%,-50%)}.goal-intro .intro-label{display:block;color:#cae8d4;font-size:12px;font-weight:800}.goal-intro strong{display:block;margin-top:5px;color:#fff2be;font-size:36px;line-height:1.1}.goal-intro>div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:8px}.goal-intro .intro-item{display:flex;align-items:center;gap:4px;color:#fff2be;font-size:29px}.goal-intro .collect-icon{width:29px;height:34px;margin:0}.goal-intro.show{animation:goal-intro 1.7s ease-out both}@keyframes goal-intro{0%{visibility:visible;opacity:0;transform:translate(-50%,-50%) scale(.85)}12%,78%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{visibility:hidden;opacity:0;transform:translate(-50%,-54%) scale(1)}}@media(prefers-reduced-motion:reduce){.goal-intro.show{animation:goal-intro-fade 1.7s linear both}@keyframes goal-intro-fade{0%,75%{visibility:visible;opacity:1}to{visibility:hidden;opacity:0}}}.turn{position:absolute;z-index:3;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));padding:0}.turn .end-actions{width:auto;margin:0}.final-score .result-collect{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:inherit;font-size:inherit;line-height:1}.final-score .result-collect svg{width:32px;height:38px;filter:drop-shadow(0 2px 2px #0c2825)}.final-score .result-collect span{font-size:inherit;color:inherit;font-weight:inherit}.mode-info.adventure-goal{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:8px 14px;background:#1d4947;border:1px solid #6ba18c;box-shadow:inset 0 1px #ffffff20,0 3px #102c2b}.scoreboard[hidden]{display:none}.adventure-goal .combo{flex:none;display:flex;flex-direction:column;align-items:center;min-width:34px;color:#ffd178}.adventure-goal .combo>span:first-child{font-size:10px;color:#b7d0c4}.adventure-goal .combo strong{font-size:17px;line-height:1.1;font-variant-numeric:tabular-nums}.adventure-goal .combo-lights{display:flex;gap:3px;margin-top:4px}.adventure-goal .combo-lights i{width:6px;height:6px}.adventure-goal #mode-title{flex:1;min-width:0;font-size:12px;line-height:1.35;color:#bfdece}.adventure-goal #mode-description{display:flex;align-items:center;justify-content:flex-end;flex:1.5;min-width:0;margin:0;color:#fff8d8}.adventure-goal .collect-icon{width:35px;height:40px;margin-right:8px;filter:drop-shadow(0 2px 2px #123c38)}.adventure-goal .goal-count{font-size:clamp(25px,7vw,34px);font-weight:900;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 2px #194c40}.adventure-goal .goal-count small{font-size:14px;color:#c7e3d5;font-weight:700}.adventure-goal .goal-item{display:inline-flex;align-items:center;gap:2px}.adventure-goal .goal-item+.goal-item{margin-left:10px}.adventure-goal .goal-item .collect-icon{margin-right:3px;width:29px;height:34px}.final-score .result-collect+.result-collect{margin-left:16px}.adventure-goal .goal-item.pending{opacity:.4;filter:grayscale(.75)}.mode-info.adventure-goal.many-goals{flex-wrap:wrap;gap:4px}.many-goals #mode-title{flex-basis:100%}.many-goals #mode-description{justify-content:center;flex-basis:100%;gap:clamp(5px,2vw,12px)}.many-goals .goal-item+.goal-item{margin-left:0}.many-goals .goal-count{font-size:clamp(21px,5vw,27px)}.many-goals .goal-item .collect-icon{width:23px;height:27px}.final-score:has(.result-collect:nth-child(4)) strong{font-size:28px}.final-score .result-collect+.result-collect{margin-left:8px}.mode-info.adventure-goal.many-goals{position:relative;padding-right:54px}.many-goals .combo{position:absolute;right:10px;top:8px}.many-goals #mode-description{justify-content:flex-start;flex-wrap:wrap}.adventure-goal .goal-score{display:flex;align-items:center;gap:8px;width:100%;justify-content:flex-end}.adventure-goal .goal-track{flex:1;min-width:24px;max-width:110px;height:12px;overflow:hidden;border-radius:10px;background:#163c3c;box-shadow:inset 0 2px 3px #0b292888}.adventure-goal .goal-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#68d4b0,#d2f3a1);transition:width .25s ease}@media(prefers-reduced-motion:reduce){.adventure-goal .goal-track i{transition:none}}.combo-burst-label,.combo-burst strong{display:block;font-weight:1000;line-height:1;transform:scale(0)}.combo-burst-label{font-size:clamp(36px,10vw,62px);letter-spacing:-.04em;color:#fff0ba;-webkit-text-stroke:1px #c45d24}.combo-burst strong{font-size:clamp(55px,15vw,90px);color:#ffcf4a;-webkit-text-stroke:2px #fff1b4;font-variant-numeric:tabular-nums}.combo-burst[data-tier="1"] strong{color:#ffdc64}.combo-burst[data-tier="2"] strong{color:#ffbd4d}.combo-burst[data-tier="3"] strong{color:#ff9362}.combo-burst[data-tier="4"] strong{color:#ff75a7}.combo-burst[data-tier="2"],.combo-burst[data-tier="3"],.combo-burst[data-tier="4"]{filter:drop-shadow(0 4px 0 #8f3c21) drop-shadow(0 0 12px #ffd86f)}.combo-burst[data-tier="3"]:before,.combo-burst[data-tier="4"]:before,.combo-burst[data-tier="3"]:after,.combo-burst[data-tier="4"]:after{content:"✦";position:absolute;top:8%;font-size:clamp(24px,6vw,36px);color:#fff5b9}.combo-burst[data-tier="3"]:before,.combo-burst[data-tier="4"]:before{left:12%}.combo-burst[data-tier="3"]:after,.combo-burst[data-tier="4"]:after{right:12%}.combo-burst.show{visibility:visible;animation:combo-lifetime 1.25s ease-out both}.combo-burst.show .combo-burst-label{animation:combo-word 1.25s ease-out both}.combo-burst.show strong:not(:empty){animation:combo-number 1.25s ease-out both}@keyframes combo-lifetime{0%{opacity:0;visibility:visible}8%,76%{opacity:1}to{opacity:0;visibility:hidden}}@keyframes combo-word{0%{transform:scale(.72)}14%{transform:scale(1.12)}24%,to{transform:scale(1)}}@keyframes combo-number{0%,3%{transform:scale(.6)}17%{transform:scale(1.2)}27%,to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.combo-burst.show .combo-burst-label,.combo-burst.show strong:not(:empty){animation:none;transform:none}}.victory-emblem{display:none}.overlay.adventure-victory{background:radial-gradient(ellipse at 50% 30%,#8dd9bd 0,#3b947b 48%,#205c58);overflow-y:auto;padding:24px}.adventure-victory .dialog{width:min(100%,360px);max-height:none;overflow:visible;padding:20px 10px;border:0;background:transparent;box-shadow:none}.adventure-victory .dialog>.mode{color:#e2fff0;letter-spacing:.12em}.adventure-victory .victory-emblem{display:grid;place-items:center;width:112px;height:112px;margin:18px auto 12px;border:6px solid #fff0af;border-radius:50%;background:linear-gradient(145deg,#ffec9f,#f6b744);box-shadow:0 8px #bc8246,0 12px 35px #ffda7788;animation:victory-pop .6s cubic-bezier(.18,.85,.27,1.3) both}.victory-emblem span{color:#fff9da;font-size:72px;line-height:1;text-shadow:0 3px #e6a347}.adventure-victory .dialog h2{font-size:clamp(32px,9vw,42px);color:#fff7d7;text-shadow:0 3px #34765b,0 5px 12px #194e4c77}.adventure-victory #over-reason{margin:4px 0 18px;color:#dcfff0;font-weight:800;font-size:15px}.adventure-victory .theme-card{margin:16px 0 12px;background:#236c60bb;border-color:#b4e8c8;animation:victory-detail .45s .35s both}.adventure-victory .final-score{margin:12px 0 24px;padding:12px;background:#245e5999;animation:victory-detail .45s .55s both}.adventure-victory .final-score strong{font-size:30px;color:#fff2b9}.adventure-victory #next-level,.adventure-victory #win-home{animation:victory-detail .4s .95s both}.adventure-victory #next-level{background:linear-gradient(#ffe69b,#f2c56d);box-shadow:0 5px #ae864a;color:#244e40;font-size:17px}.adventure-victory #win-home{margin-top:12px;border:0;background:transparent;color:#e9fff2;box-shadow:none}@keyframes victory-pop{0%{opacity:0;transform:scale(.6) rotate(-12deg)}75%{opacity:1;transform:scale(1.07) rotate(3deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes victory-detail{0%{opacity:0;visibility:hidden;transform:translateY(12px)}to{opacity:1;visibility:visible;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.adventure-victory .victory-emblem,.adventure-victory .theme-card,.adventure-victory .final-score,.adventure-victory #next-level,.adventure-victory #win-home{animation:none}}@font-face{font-family:Pretendard;src:url(./pretendard-400-CoKbwaE8.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Pretendard;src:url(./pretendard-700-BX-M-pOJ.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap}:root{--nb-bg:#f5f4ef;--nb-surface:#fff;--nb-subtle:#efeee8;--nb-text:#252a29;--nb-muted:#56615d;--nb-border:#c5c9c2;--nb-accent:#24665b;--nb-accent-text:#fff;--nb-soft:#e0efea;--nb-overlay:#101c19a8;--nb-focus:#12695b;font-family:Pretendard,Apple SD Gothic Neo,Malgun Gothic,sans-serif;color:var(--nb-text);background:var(--nb-bg);color-scheme:light}:root[data-nb-theme=dark]{--nb-bg:#141817;--nb-surface:#1e2422;--nb-subtle:#262e2b;--nb-text:#e9edeb;--nb-muted:#b8c5bf;--nb-border:#64716b;--nb-accent:#2a7367;--nb-accent-text:#fff;--nb-soft:#283e37;--nb-overlay:#050a08c9;--nb-focus:#a5dbce;color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-nb-theme]){--nb-bg:#141817;--nb-surface:#1e2422;--nb-subtle:#262e2b;--nb-text:#e9edeb;--nb-muted:#b8c5bf;--nb-border:#64716b;--nb-accent:#2a7367;--nb-accent-text:#fff;--nb-soft:#283e37;--nb-overlay:#050a08c9;--nb-focus:#a5dbce;color-scheme:dark}}:root[data-nb-theme=light]{color-scheme:light}:root body,:root[data-skin] body{background:var(--nb-bg);color:var(--nb-text)}button:focus-visible,a:focus-visible{outline:3px solid var(--nb-focus);outline-offset:3px}.mode{color:var(--nb-accent);font-weight:700}:root[data-nb-theme=dark] .mode{color:#a5dbce}@media(prefers-color-scheme:dark){:root:not([data-nb-theme]) .mode{color:#a5dbce}}.quiet{min-width:44px;border-color:var(--nb-border);color:var(--nb-text);background:var(--nb-surface)}.topbar .quiet{background:var(--nb-surface);border-color:var(--nb-border);color:var(--nb-text);box-shadow:none}.scoreboard{background:transparent;gap:0;border-bottom:1px solid var(--nb-border);border-radius:0}.scoreboard div{background:transparent}.scoreboard span,.scoreboard .current-score .best-score{color:var(--nb-muted)}.scoreboard strong,.scoreboard .combo strong{color:var(--nb-text)}.game-shell:not(.adventure-mode) .current-score strong{color:var(--nb-text);text-shadow:none}.scoreboard strong{font-variant-numeric:tabular-nums;text-shadow:none}.combo-lights i{background:#83958c}.combo-lights i.lit{background:#2a8a67;box-shadow:none}.combo-lights.protected i.lit{background:#2a8a67;box-shadow:0 0 0 2px var(--nb-soft)}.combo-lights[data-remaining] i,.adventure-goal .combo-lights[data-remaining] i{box-sizing:border-box;width:10px;height:10px;border:1.5px solid var(--nb-muted);background:transparent;box-shadow:none}.combo-lights[data-remaining] i.lit,.combo-lights.protected[data-remaining] i.lit{border-color:#187a51;background:#187a51;box-shadow:none}.combo-lights[data-remaining="2"] i.lit:nth-child(2){border-color:#b47700;background:#e0a321}.combo-lights[data-remaining="1"] i.lit:first-child{border-color:#a72a30;background:#d2373e}.combo-lights.protected[data-remaining] i.lit{border-color:#42b47e;background:#8af3b8;box-shadow:0 0 5px #6ff5a0,0 0 12px #46df9180;animation:combo-protected-pulse 1.3s ease-in-out infinite}@keyframes combo-protected-pulse{0%,to{opacity:1;box-shadow:0 0 4px #6ff5a0,0 0 8px #46df9170}50%{opacity:.72;box-shadow:0 0 9px #6ff5a0,0 0 16px #46df91b0}}@media(prefers-reduced-motion:reduce){.combo-lights.protected[data-remaining] i.lit{animation:none;opacity:1}}.mode-info,.mode-info.adventure-goal{background:var(--nb-surface);border:1px solid var(--nb-border);border-radius:14px;color:var(--nb-text);box-shadow:none}.mode-info p,.adventure-goal #mode-title,.adventure-goal .combo>span:first-child{color:var(--nb-muted)}.mode-info a{color:var(--nb-accent);text-decoration:underline}.adventure-goal .combo,.adventure-goal #mode-description,.adventure-goal .goal-count small{color:var(--nb-text)}.adventure-goal .goal-count{text-shadow:none}.adventure-goal .goal-track{background:var(--nb-subtle);box-shadow:none}.adventure-goal .goal-track i{background:var(--nb-accent)}.route-levels button,.route-levels #route-undo{color:var(--nb-text)}.route-picker-icon{color:var(--nb-accent)}.route-levels #route-level-select{flex:1;justify-content:flex-start;flex-wrap:wrap;column-gap:8px;row-gap:0;padding:3px 8px}#route-level-label{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.route-levels .route-picker-icon{flex:none;padding:4px 7px;border:1px solid var(--nb-border);border-radius:7px;color:var(--nb-text);background:var(--nb-subtle);font-size:11px;line-height:1.25;white-space:nowrap}.route-picker-dialog .route-picker-progress{margin:-8px 0 14px;color:var(--nb-muted);font-size:12px}.route-picker-grid button{position:relative}.route-completed-mark{display:none;position:absolute;right:7px;top:4px;font-size:12px;font-weight:700;line-height:1}.route-picker-grid button.is-complete .route-completed-mark{display:block;color:var(--nb-accent)}.route-picker-grid button.is-complete[aria-current=step] .route-completed-mark{color:var(--nb-accent-text)}.dialog #over-reason{word-break:keep-all;overflow-wrap:break-word;line-height:1.5}.home-screen{background:var(--nb-bg)}.home-content h2{color:var(--nb-text);font-weight:700;text-shadow:none}.home-content p{color:var(--nb-muted)}.home-mark{display:block;width:80px;height:80px;margin:0 auto;transform:none}.home-mark svg{display:block;width:100%;height:100%}.home-modes{gap:0;border-top:1px solid var(--nb-border)}.home-modes button,.home-modes button:nth-child(n){min-height:70px;padding:12px 4px;border-radius:0;border-bottom:1px solid var(--nb-border);background:transparent;color:var(--nb-text);box-shadow:none}.home-modes button,.home-modes button:nth-child(n){border:0;border-bottom:1px solid var(--nb-border)}.home-modes button:after{content:"›";float:right;margin-top:-34px;color:var(--nb-accent);font-size:25px}:root[data-nb-theme=dark] .home-modes button:after{color:#a5dbce}@media(prefers-color-scheme:dark){:root:not([data-nb-theme]) .home-modes button:after{color:#a5dbce}}.home-modes button:hover{background:var(--nb-subtle)}.home-modes strong{font-size:17px}.home-modes span{color:var(--nb-muted);opacity:1;font-size:13px}.theme-card{background:var(--nb-surface);border-color:var(--nb-border);border-radius:14px}.theme-card strong{color:var(--nb-text)}.theme-card small,.theme-card .theme-eyebrow{color:var(--nb-muted)}.theme-bar{background:var(--nb-subtle)}.theme-bar i{background:var(--nb-accent)}.overlay{background:var(--nb-overlay)}.dialog{background:var(--nb-surface);color:var(--nb-text);border:1px solid var(--nb-border);border-radius:14px;box-shadow:0 12px 32px #0003}.dialog h2{color:var(--nb-text);text-shadow:none}.dialog p,.final-score span,.final-score .final-best,.final-best b{color:var(--nb-muted)}.dialog button,.settings-dialog #settings-close,.route-victory .dialog #next-level,.route-final-victory .dialog #win-home{background:var(--nb-accent);color:var(--nb-accent-text);border:0;box-shadow:none}.dialog .result-secondary button,.dialog #review-board,.settings-dialog #settings-home,.settings-dialog #settings-restart,.route-can-undo .dialog #play-again,.confirm-overlay #restart-confirm-no{background:transparent;color:var(--nb-text);border:1px solid var(--nb-border);box-shadow:none}.overlay:not(.adventure-victory):not(.route-final-victory) .dialog .result-secondary #win-home{color:var(--nb-text);border-color:var(--nb-border);background:transparent;box-shadow:none}.dialog #revive-options #revive-item{background:var(--nb-surface);color:var(--nb-text);border:1px solid var(--nb-border);box-shadow:none}.dialog .final-score .completion-bonus{color:var(--nb-text)}.daily-victory .dialog{display:flex;flex-direction:column;align-items:stretch}.daily-victory .dialog .result-secondary{order:1}.daily-victory .dialog #play-again{order:2;min-height:46px;margin-top:10px;border:1px solid var(--nb-border);background:transparent;color:var(--nb-text);box-shadow:none;font-size:13px}.overlay.daily-victory .dialog .result-secondary #win-home{min-height:50px;background:var(--nb-accent);color:var(--nb-accent-text);border:0;box-shadow:none;font-size:15px}.final-score{background:var(--nb-subtle)}.final-score strong{color:var(--nb-text)}.final-score strong.collection-result{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:24px;row-gap:10px}.final-score .collection-result .result-collect{gap:5px;white-space:nowrap}.final-score .collection-result .result-collect+.result-collect{margin-left:0}.final-score .collection-result .result-collect svg{flex:none;margin:0}.adventure-goal #mode-description{column-gap:6px}.settings-dialog .settings-options{background:var(--nb-subtle)}.settings-dialog .setting-row,.settings-dialog .setting-row[aria-pressed=false],.settings-dialog .setting-value{color:var(--nb-text)}.settings-dialog .setting-row+.setting-row{border-color:var(--nb-border)}.setting-row[aria-pressed=true] .setting-switch{background:var(--nb-accent)}.setting-row[aria-pressed=true] .setting-switch:after{background:#fff}.dialog .route-picker-header button,.dialog .route-picker-grid button{background:var(--nb-subtle);color:var(--nb-text);box-shadow:none}.dialog .route-picker-grid button[aria-current=step]{background:var(--nb-accent);color:var(--nb-accent-text);box-shadow:none}.end-actions button{background:var(--nb-accent);color:var(--nb-accent-text)}.message{color:var(--nb-text)}.adventure-victory .dialog h2,.adventure-victory .final-score strong{color:#fff7d7}.adventure-victory .dialog{color:#fff;background:transparent;border:0;box-shadow:none}.adventure-victory .theme-card{background:#f9fcf8;border-color:#e1eee7}.adventure-victory .theme-card strong{color:#203a34}.adventure-victory .theme-card .theme-eyebrow,.adventure-victory .theme-card small{color:#405b52}.adventure-victory .theme-bar{background:#cbded4}.adventure-victory .theme-bar i{background:#24665b}.adventure-victory .final-score #final-label{color:#f2fff8;font-size:13px;font-weight:700}.adventure-victory .final-score .result-collect span{color:#fff7d7}.adventure-victory .final-score .completion-bonus{color:#f2fff8}.adventure-victory .dialog h2{text-shadow:0 2px 2px #185346}.adventure-victory .dialog>.mode,.adventure-victory .dialog h2,.adventure-victory #over-reason{color:#123f35;text-shadow:none;opacity:1}.adventure-victory #win-home{color:#123f35;font-weight:700}.adventure-goal .goal-label{flex:none;color:var(--nb-muted);font-size:11px;font-weight:700;white-space:nowrap}@media(max-width:360px){.adventure-goal .goal-label{font-size:10px}.adventure-goal .goal-count{font-size:24px}}:root[data-nb-embedded=true] .topbar h1,:root[data-nb-embedded=true] .home-content h2{display:none}@media(min-width:601px){.home-screen{place-items:safe center;padding:24px}.home-content{width:min(100%,520px)}.home-content p{font-size:16px;line-height:1.5;margin:6px 0 22px}.home-content .theme-card{gap:18px;padding:15px;margin:0 0 18px}.home-content .theme-card svg{width:124px}.home-content .theme-card .theme-eyebrow{font-size:12px}.home-content .theme-card strong{font-size:19px}.home-content .theme-card small{font-size:13px;white-space:normal;line-height:1.4}.home-modes button,.home-modes button:nth-child(n){min-height:76px;padding:12px 8px}.home-modes strong{font-size:20px;line-height:1.3}.home-modes span{font-size:15px;line-height:1.45}.home-modes button:after{font-size:28px;margin-top:-38px}.game-shell .mode,.game-shell:not(.adventure-mode) .mode{font-size:13px}.scoreboard span,.scoreboard .current-score .best-score,.adventure-goal .combo>span:first-child{font-size:13px}.mode-info strong,.adventure-goal #mode-title,#route-level-label{font-size:15px}.mode-info p,.mode-info a,.route-levels .route-picker-icon,.adventure-goal .goal-label,.route-levels #route-undo{font-size:14px}.overlay{place-items:safe center;overflow-y:auto}.dialog{width:min(100%,460px);padding:28px 32px}.dialog h2{font-size:28px}.dialog p,.dialog button,.settings-dialog .setting-row{font-size:16px}.dialog .result-secondary button,.settings-dialog .settings-secondary button,.daily-victory .dialog #play-again{font-size:15px}.dialog .theme-card{gap:16px;padding:14px}.dialog .theme-card svg{width:110px}.dialog .theme-card .theme-eyebrow{font-size:13px}.dialog .theme-card strong{font-size:18px}.dialog .theme-card small{font-size:14px;line-height:1.4;white-space:normal}.final-score span,.adventure-victory .final-score #final-label,.route-picker-dialog .route-picker-progress{font-size:14px}.dialog .route-picker-grid button{font-size:18px}.adventure-victory .dialog{width:min(100%,460px);padding:16px 10px}.adventure-victory .dialog>.mode{font-size:14px}.adventure-victory #over-reason{font-size:17px}.adventure-victory .final-score strong{font-size:36px}.adventure-victory #next-level,.adventure-victory #win-home{font-size:17px}}.home-content .theme-card{gap:16px;padding:16px;margin:0 0 20px}.home-content .theme-card svg{border-radius:8px}.home-content .theme-card svg .covered{fill-opacity:.68;stroke-opacity:.48}.home-content .theme-card .theme-eyebrow{font-size:12px;line-height:1.4;letter-spacing:0}.home-content .theme-card small{font-size:13px;line-height:1.4;white-space:normal}.home-content .theme-bar{height:6px;margin-top:8px}.home-modes button,.home-modes button:nth-child(n){display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:72px;padding:12px 36px 12px 8px}.home-modes button:after{position:absolute;right:8px;top:50%;float:none;margin:0;transform:translateY(-50%);line-height:1}.home-modes strong{line-height:1.3}.home-modes span{margin-top:4px;line-height:1.4}.mode-info.adventure-goal{gap:12px;padding:12px 16px}.adventure-goal #mode-title{font-size:14px;line-height:1.4}.adventure-goal .combo>span:first-child{font-size:12px}.adventure-goal .goal-track{height:8px}.adventure-goal .goal-count small{font-size:15px}.overlay.adventure-victory{background:#dceee3}.adventure-victory .dialog{display:flex;flex-direction:column;align-items:stretch}.adventure-victory .dialog>.mode{color:#245549;letter-spacing:0}.adventure-victory .dialog h2,.adventure-victory #over-reason{color:#173e34;text-shadow:none}.adventure-victory .victory-emblem{width:88px;height:88px;margin:12px auto 8px;border-width:4px;box-shadow:0 4px #bc8246}.adventure-victory .victory-emblem span{font-size:56px}.adventure-victory .final-score{order:1;margin:8px 0 12px;padding:12px;background:#245e59}.adventure-victory .theme-card{order:2;margin:0 0 20px}.adventure-victory #next-level{order:3;background:#24665b;color:#fff;box-shadow:none}.adventure-victory .result-secondary{order:4}.adventure-victory #win-home{color:#173e34}@media(min-width:601px){.home-content .theme-card{padding:16px}.home-content .theme-card .theme-eyebrow{font-size:13px}.adventure-goal #mode-title{font-size:15px}.adventure-goal .combo>span:first-child{font-size:13px}}@media(min-width:900px)and (min-height:600px){.home-content{width:min(100%,920px);display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);column-gap:56px;align-items:start;text-align:left}.home-content .home-mark{grid-column:1;margin:0;width:72px;height:72px}.home-content h2{grid-column:1;margin:16px 0 4px;font-size:36px;line-height:1.15}.home-content p{grid-column:1;margin:8px 0 24px;font-size:16px}.home-content .theme-card{grid-column:1;margin:0;align-self:start}.home-content .home-modes{grid-column:2;grid-row:1 / span 4;align-self:center}}@media(max-width:600px){.home-screen{padding:16px;place-items:safe center}.home-content{width:min(100%,400px)}.home-content .home-mark{width:64px;height:64px}.home-content h2{margin:8px 0 4px;font-size:30px;line-height:1.15}.home-content p{margin:4px 0 16px;font-size:14px;line-height:1.4}.home-content .theme-card{padding:12px;margin:0 0 12px}.home-content .theme-card svg{width:96px}.home-modes button,.home-modes button:nth-child(n){min-height:64px;padding:8px 36px 8px 8px}.home-modes strong{font-size:17px}.home-modes span{font-size:13px}}.topbar .quiet,.mode-info,.mode-info.adventure-goal{border-radius:12px}.adventure-goal .goal-score{gap:8px}.adventure-goal .goal-caption{color:var(--nb-muted);font-size:12px;font-weight:700;white-space:nowrap}.adventure-goal .goal-count{white-space:nowrap}.dialog button{border-radius:10px}.dialog .result-secondary{gap:8px}.dialog .theme-card{border-radius:12px}@media(max-width:360px){.adventure-goal .goal-caption{display:none}.adventure-goal .goal-track{max-width:48px}}.mode-info.daily-goal{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;padding:8px 12px}.daily-goal #mode-title,.daily-goal .daily-art{display:none}.daily-goal .current-score{grid-column:1;grid-row:1;min-width:52px}.daily-goal .current-score>span:first-child,.daily-goal .combo>span:first-child{display:block;color:var(--nb-muted);font-size:11px;line-height:1.2}.daily-goal .current-score strong{display:block;font-size:27px;line-height:1.05;font-variant-numeric:tabular-nums;color:var(--nb-text)}.daily-goal #mode-description{grid-column:2;grid-row:1;display:flex;align-items:center;gap:8px;min-width:0;margin:0}.daily-target{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.daily-target-heading{display:flex;justify-content:space-between;align-items:baseline;gap:4px;color:var(--nb-muted);font-size:11px}.daily-target-heading strong{color:var(--nb-text);font-size:14px;font-variant-numeric:tabular-nums}.daily-track{height:8px;border-radius:4px;background:var(--nb-subtle);overflow:hidden}.daily-track i{display:block;height:100%;border-radius:inherit;background:#d99d35;transition:width .25s ease}.daily-reward{display:flex;flex:none;align-items:center;gap:4px;color:var(--nb-text);font-size:11px;font-weight:700;white-space:nowrap}.reward-symbol,.reward-medal{display:grid;place-items:center;color:#503b13;background:#ffd476;border:2px solid #f4b444;border-radius:9px;font-weight:700;line-height:1}.reward-symbol{width:28px;height:28px;font-size:20px}.daily-goal .combo{grid-column:3;grid-row:1;text-align:center;min-width:34px}.daily-goal .combo strong{display:block;color:var(--nb-text);font-size:18px;line-height:1}.daily-goal .combo-lights{display:flex;justify-content:center;gap:3px;margin-top:4px}.daily-goal .daily-observance:not([hidden]){grid-column:1 / -1;grid-row:2;color:var(--nb-muted);font-size:12px;line-height:1.35}.daily-goal #mode-source{grid-column:1 / -1;font-size:12px;margin:0}.daily-reward-display[hidden]{display:none}.daily-reward-display{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0;color:var(--nb-text);font-size:15px}.reward-medal{width:52px;height:52px;border-radius:16px;font-size:34px;box-shadow:0 3px #c48a30}.daily-reward-display strong{color:var(--nb-accent);font-size:22px;font-variant-numeric:tabular-nums}.daily-victory .daily-reward-display{animation:reward-arrival .55s cubic-bezier(.2,.8,.2,1) both}@keyframes reward-arrival{0%{opacity:0;transform:translateY(8px) scale(.92)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.daily-victory .daily-reward-display{animation:none}.daily-track i{transition:none}}.home-modes button,.home-modes button:nth-child(n){padding-left:52px}.home-modes button:before{content:"";position:absolute;left:8px;top:50%;width:12px;height:12px;border-radius:2px;background:var(--mode-tile,#e5ae53);box-shadow:14px 0 var(--mode-tile,#e5ae53),0 14px var(--mode-tile,#e5ae53);transform:translateY(-13px)}.home-modes button[data-mode=adventure]{--mode-tile:#67b8a2}.home-modes button[data-mode=classic]{--mode-tile:#e7a856}.home-modes button[data-mode=daily]{--mode-tile:#d98495}.home-modes button[data-mode=route-demo]{--mode-tile:#82a6dc}:root[data-nb-embedded=true] .home-content h2{display:block}.site-home-link{position:absolute;top:12px;left:16px;display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--nb-muted);font-size:12px;text-decoration:none}.site-home-link:hover{color:var(--nb-text)}@media(max-width:600px){.game-shell{padding:4px 8px 0}.topbar{min-height:44px}.topbar .quiet{width:44px;height:44px;min-height:44px;padding:0}.topbar h1,:root[data-nb-embedded=true] .topbar h1{display:none}.mode-info,.mode-info.adventure-goal,.mode-info.daily-goal{margin-top:4px}#game,.game-shell.route-demo #game{width:min(100%,max(200px,calc((100dvh - 160px)*.786885)));margin-inline:auto}.drag-area{height:clamp(24px,7dvh,68px)}.message:empty{display:none}.overlay{padding:12px;place-items:safe center}.dialog{max-height:calc(100dvh - 24px);padding:20px;overflow-y:auto}.dialog h2{font-size:24px;line-height:1.2}.dialog p{margin:8px 0;font-size:14px}.final-score{margin:12px 0;padding:12px}.dialog button{min-height:44px}.daily-reward{font-size:10px}.daily-goal{gap:8px}}@media(max-width:350px){.daily-reward span:last-child{display:none}.daily-goal .current-score strong{font-size:23px}}@media(max-height:680px)and (max-width:600px){.home-content .home-mark{width:48px;height:48px}.home-content h2{font-size:25px;margin:4px 0}.home-content p{margin:0 0 8px;font-size:12px}.home-content .theme-card{padding:8px;margin-bottom:8px}.home-content .theme-card svg{width:72px}.home-modes button,.home-modes button:nth-child(n){min-height:52px;padding-top:4px;padding-bottom:4px}.dialog{padding:12px 16px}.dialog h2{font-size:21px}.final-score{margin:8px 0;padding:8px}}
