.level-map-page{max-width:1120px;padding-top:24px;padding-bottom:52px}.level-map-page .map-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.level-map-page .map-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.level-map-page .map-heading>div:first-child{display:flex;gap:12px;align-items:center}.level-map-page .map-heading h1{font-size:32px;letter-spacing:-1px;margin:0}.level-map-page .map-mode-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#e8efd9;color:#2d563d}.level-map-page .map-progress{width:150px;flex-shrink:0;text-align:right}.level-map-page .map-progress>span{font-size:13px;color:var(--muted)}.level-map-page .map-progress>div{height:7px;background:#e4eadb;border-radius:8px;overflow:hidden;margin-top:8px}.level-map-page .map-progress i{display:block;height:100%;background:#79a856;border-radius:8px}.level-map-page .map-layout{display:block}.level-map-page .map-launch{position:sticky;top:16px;z-index:4;display:grid;grid-template-columns:70px minmax(0,1fr) auto auto;gap:18px;align-items:center;width:100%;padding:17px 20px;margin:0 0 22px;text-align:left;border:1px solid #d4e1c4;border-radius:24px;background:#fffef8;box-shadow:0 5px 0 #e3eacb,0 12px 26px #2c512409}.level-map-page .map-mascot{width:68px;height:68px;display:block;margin:0}.level-map-page .map-launch-copy{min-width:0}.level-map-page .map-level-label{font-size:12px;color:#6c7b5e;font-weight:600}.level-map-page .map-launch h2{margin:2px 0 4px;font-size:25px;letter-spacing:-.6px;line-height:1.2}.level-map-page .map-launch-copy>p{font-size:13px;color:var(--muted);margin:0}.level-map-page .map-launch-actions{display:flex;flex-direction:column;align-items:center;gap:5px}.level-map-page .map-play-button{min-height:50px;min-width:185px;padding:12px 22px;border:0;border-radius:16px;background:#254e36;color:#fff;font-size:16px;font-weight:650;box-shadow:0 4px 0 #153822;transition:transform 150ms cubic-bezier(.2,0,0,1),box-shadow 150ms cubic-bezier(.2,0,0,1)}.level-map-page .map-play-button:hover{background:#315f42}.level-map-page .map-play-button:active{transform:scale(.96);box-shadow:0 2px 0 #153822}.level-map-page .map-prerequisite{display:block;color:#788169;font-size:11px;margin:0!important;padding:0!important;background:transparent}.level-map-page .map-rule-details{position:relative}.level-map-page .map-rule-details>summary{display:flex;align-items:center;gap:6px;min-height:44px;list-style:none;cursor:pointer;font-size:12px;color:#617354}.level-map-page .map-rule-details>summary .icon{width:13px;height:13px}.level-map-page .map-rule-details:not([open])>.map-rules{display:none}.level-map-page .map-rules{position:absolute;z-index:6;top:48px;right:0;width:240px;display:flex;flex-direction:column;gap:12px;margin:0;padding:18px;background:#fff;border:1px solid #dfe7d4;border-radius:18px;box-shadow:0 8px 28px #20473014;list-style:none}.level-map-page .map-rules li{display:flex;gap:8px;align-items:center;font-size:13px;color:#566748}.level-map-page .map-rules .icon{flex-shrink:0}.level-map-page .map-worlds{display:flex;flex-direction:column;gap:22px;width:100%}.level-map-page .map-world{--world:#eef4df;--road:#c9dba8;position:relative;width:100%;padding:20px 28px 22px;border-radius:32px;background:var(--world);border:1px solid #dae6c4;overflow:hidden;order:0!important;box-shadow:inset 0 1px 0 #ffffffb3}.level-map-page .world-1{--world:#f8ede2;--road:#e9cfb5;border-color:#efdfcd}.level-map-page .world-2{--world:#eaf2f5;--road:#c5dce2;border-color:#d9e7eb}.level-map-page .world-3{--world:#f6eaf0;--road:#e5c9d7;border-color:#eddce5}.level-map-page .world-4{--world:#f8f1da;--road:#e7dba8;border-color:#ebe1c0}.level-map-page .map-world-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.level-map-page .map-world-heading>div{display:flex;gap:10px;align-items:center}.level-map-page .map-section-mark{width:33px;height:33px;display:grid;place-items:center;background:#ffffffa3;border-radius:11px;color:#6f855b;font-size:13px;font-weight:700}.level-map-page .map-world-heading h2{font-size:18px;font-weight:650;margin:0;letter-spacing:-.3px}.level-map-page .map-world-heading>span{font-size:12px;color:#76836b}.level-map-page .map-trail{position:relative;display:grid;grid-template-columns:repeat(var(--map-count),minmax(0,1fr));align-items:start;height:228px;padding-top:25px}.level-map-page .map-road{position:absolute;left:0;top:22px;width:100%;height:138px;overflow:visible}.level-map-page .map-road path{fill:none;stroke:var(--road);stroke-width:9px;stroke-linecap:round;stroke-dasharray:1 17}.level-map-page .map-stop{position:relative;display:flex;align-items:center;flex-direction:column;gap:7px;margin-top:67px;min-width:0}.level-map-page .map-stop.stop-1,.level-map-page .map-stop.stop-3{margin-top:0}.level-map-page .map-level{position:relative;display:grid;place-items:center;isolation:isolate;width:78px;height:66px;border-radius:22px 22px 30px 30px;border:3px solid #8dad5f;background:#fff7ef;color:#71825c;font-size:27px;font-weight:750;box-shadow:0 7px 0 #d8e4be,0 9px 0 #a0b979,0 12px 16px #2842180d;cursor:pointer;transition:transform 150ms cubic-bezier(.2,0,0,1),background-color 150ms cubic-bezier(.2,0,0,1)}.level-map-page .map-level>span{position:relative;z-index:1}.level-map-page .map-level .map-seed{position:absolute;width:4px;height:7px;background:currentColor;border-radius:60% 60% 50% 50%;opacity:.25;top:14px;transform:rotate(-22deg)}.level-map-page .map-level .seed-one{left:13px}.level-map-page .map-level .seed-two{right:13px;transform:rotate(22deg)}.level-map-page .map-level:active{transform:scale(.96)}.level-map-page .map-level:focus-visible{outline:3px solid #2e603d;outline-offset:6px}.level-map-page .ready .map-level{background:#f4a4a6;color:#613c3d;border-color:#83a95c;box-shadow:0 7px 0 #d6eab4,0 10px 0 #7fa255,0 13px 16px #28421812}.level-map-page .cleared .map-level{background:#8eaf69;color:#fff;border-color:#6f914d;box-shadow:0 7px 0 #d4e7b5,0 10px 0 #658c43,0 13px 16px #28421812}.level-map-page .locked .map-level{border-color:#b5c5a4;background:#f9fbf4;color:#839176;box-shadow:0 6px 0 #e5ecd9,0 9px 0 #b4c49c}.level-map-page .selected .map-level{outline:3px solid #729841;outline-offset:7px}.level-map-page .map-level>i{position:absolute;right:-8px;bottom:-7px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fafff3;color:#648748;border:2px solid #a9c381;z-index:2}.level-map-page .map-level>i .icon{width:12px;height:12px}.level-map-page .map-stars{font-size:14px;color:#a38126;letter-spacing:1px;min-height:20px;margin-top:8px}.level-map-page .map-stop-title{max-width:145px;text-align:center;font-size:13px;line-height:1.35;color:#526441}.level-map-page .map-content-end{display:flex;gap:6px;justify-content:center;align-items:center;color:#7b866e;font-size:13px;margin:22px 0 0}.level-map-page .map-result{background:#e8f1d9;border:1px solid #d5e4c2;border-radius:18px;padding:14px 18px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.level-map-page .map-result>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.level-map-page .map-result strong{font-size:17px}.level-map-page .map-result span{font-size:13px;color:#6a7b54}.level-map-page .map-result.failed{background:#fff0df;border-color:#efd6b8}.level-map-page .map-result .btn{white-space:nowrap;min-height:44px}.challenge-time{color:#895b23!important;display:inline-flex;align-items:center;gap:6px}.challenge-time b{font-variant-numeric:tabular-nums}.round-practice-note{font-size:14px;color:#946327;margin:12px 0 0;text-align:center}.level-retry-dialog .modal-content{padding:32px}.level-retry-dialog h2{font-size:27px}.level-retry-dialog .btn{margin-top:16px}.level-retry-dialog p{font-size:16px;line-height:1.6}
@media(max-width:760px){.level-map-page{padding-top:18px;padding-bottom:calc(var(--tab-height,64px) + 40px)!important}.level-map-page .map-heading h1{font-size:25px}.level-map-page .map-heading{gap:12px;margin-bottom:17px}.level-map-page .map-heading>div:first-child{gap:9px}.level-map-page .map-mode-icon{width:39px;height:39px;border-radius:12px}.level-map-page .map-progress{width:100px}.level-map-page .map-progress>span{font-size:11px}.level-map-page .map-top{margin-bottom:12px}.level-map-page .map-top .helper-picker{max-width:170px}.level-map-page .map-launch{position:sticky;inset:8px auto auto;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;padding:13px 14px;margin-bottom:23px;border-radius:22px;box-shadow:0 4px 0 #e1eacb,0 8px 18px #23462e12}.level-map-page .map-mascot{width:48px;height:48px;grid-column:1;grid-row:1;margin:0}.level-map-page .map-launch-copy{grid-column:2;grid-row:1}.level-map-page .map-launch h2{font-size:20px;grid-column:auto;grid-row:auto;margin:1px 0 4px}.level-map-page .map-level-label{font-size:11px}.level-map-page .map-launch-copy>p{font-size:11px}.level-map-page .map-launch-actions{grid-column:1/-1;grid-row:2;align-items:stretch;gap:5px}.level-map-page .map-play-button{min-height:48px;width:100%;min-width:0;font-size:16px}.level-map-page .map-rule-details{grid-column:3;grid-row:1;align-self:center}.level-map-page .map-rule-details>summary{width:auto;font-size:11px;min-height:44px;text-align:left}.level-map-page .map-rules,.level-map-page .map-rule-details[open]>.map-rules{position:absolute;top:48px;bottom:auto;left:auto;right:-7px;width:250px;margin:0;padding:17px;border-radius:17px;font-size:13px;background:#fff;display:flex}.level-map-page .map-prerequisite{font-size:11px!important;text-align:center}.level-map-page .map-worlds{gap:19px;display:flex;flex-direction:column}.level-map-page .map-world{padding:17px 12px 19px;border-radius:27px}.level-map-page .map-world-heading h2{font-size:16px}.level-map-page .map-section-mark{width:28px;height:28px;font-size:12px;border-radius:9px}.level-map-page .map-world-heading>span{font-size:11px}.level-map-page .map-trail{height:186px;padding-top:20px}.level-map-page .map-road{top:15px;height:100px}.level-map-page .map-stop{margin-top:43px;gap:6px}.level-map-page .map-stop.stop-1,.level-map-page .map-stop.stop-3{margin-top:0}.level-map-page .map-level{width:54px;height:49px;border-radius:16px 16px 22px 22px;font-size:21px;border-width:2px}.level-map-page .map-level .map-seed{top:9px;height:5px;width:3px}.level-map-page .map-level .seed-one{left:8px}.level-map-page .map-level .seed-two{right:8px}.level-map-page .map-level>i{width:20px;height:20px;right:-4px;bottom:-5px}.level-map-page .selected .map-level{outline-width:2px;outline-offset:5px}.level-map-page .map-stars{font-size:12px;min-height:17px;margin-top:5px}.level-map-page .map-stop-title{font-size:11px;max-width:76px}.level-map-page .map-result{padding:13px;margin-bottom:16px}.level-map-page .map-result>div{gap:7px}.level-map-page .map-result span{flex-basis:100%;font-size:12px}.level-map-page .map-result strong{font-size:15px}}
@media(max-width:360px){.level-map-page .map-heading h1{font-size:22px}.level-map-page .map-progress{width:85px}.level-map-page .map-world{padding-inline:8px}.level-map-page .map-level{width:46px;height:45px}.level-map-page .map-stop-title{font-size:10px}.level-map-page .map-launch h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.level-map-page .map-level,.level-map-page .map-play-button{transition:none}}
.less-motion .level-map-page .map-level,.less-motion .level-map-page .map-play-button{transition:none}
/* Mode landscapes are presentation only; nodes and roads stay interactive. */
.level-map-page .map-world{background-image:linear-gradient(180deg,#fffdf049,#fffdf015 40%,#fffdf065),var(--mode-map-image);background-size:cover;background-position:center 52%}
.level-map-page .map-world.world-1{background-position:center 72%}
.level-map-page .map-world-heading{position:relative;z-index:1}
.level-map-page .map-world-heading>div,.level-map-page .map-world-heading>span{padding:5px 8px;border-radius:10px;background:#fffdf0db}
.level-map-page .map-stop-title{padding:3px 6px;border-radius:7px;background:#fffdf0e6}
@media(max-width:760px){.level-map-page .map-world{background-size:auto 100%}.level-map-page .map-world-heading>div{gap:5px;padding:4px 6px}.level-map-page .map-world-heading>span{padding:5px;font-size:10px}}
/* Shared catalogue identity, adapted to a compact level-map HUD. */
.level-map-page .map-catalogue-hud{display:flex;align-items:center;gap:16px;padding:14px 16px;margin-bottom:24px;border-radius:24px;background:#fffef8;box-shadow:0 4px 0 #70895018,0 8px 24px #274a300c}
.level-map-page .map-hud-back{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#edf2df;color:var(--green)}
.level-map-page .map-hud-back:active{transform:scale(.96)}
.level-map-page .map-catalogue-hud .map-heading{flex:1;min-width:0;margin:0;gap:20px}
.level-map-page .map-heading-identity{min-width:0;gap:15px!important}
.level-map-page .map-mode-icon{flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:var(--lime);box-shadow:inset 0 1px 0 #fff9,0 3px 0 #bed599;transform:rotate(-5deg)}
.level-map-page .map-mode-icon .icon{width:27px;height:27px;transform:rotate(5deg)}
.level-map-page .map-title-copy{min-width:0}
.level-map-page .map-title-copy>span{display:block;font-size:11px;font-weight:550;color:var(--muted);margin-bottom:4px}
.level-map-page .map-catalogue-hud h1{font-size:28px;line-height:1.15;letter-spacing:-.8px}
.level-map-page .map-catalogue-hud .map-progress{width:114px;color:var(--muted);font-variant-numeric:tabular-nums}
.level-map-page .map-catalogue-hud .map-progress>span{font-size:14px}
.level-map-page .map-progress b{font-size:19px;color:var(--green)}
.level-map-page .map-progress>small{display:block;font-size:10px;line-height:1.3;margin-top:2px}
.level-map-page .map-catalogue-hud .map-progress>div{height:5px;margin-top:7px}
.level-map-page .map-helper-control{flex:0 0 auto;border-left:1px solid var(--line);padding-left:16px}
.level-map-page .map-helper-control .helper-picker{max-width:205px;margin:0}
.level-map-page .map-helper-control .helper-picker select{min-height:44px;max-width:170px}
@media(max-width:760px){
 .level-map-page .map-catalogue-hud{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px 10px;padding:12px;border-radius:22px;margin-bottom:22px}
 .level-map-page .map-hud-back{width:44px;height:44px;border-radius:13px}
 .level-map-page .map-catalogue-hud .map-heading{gap:12px;align-items:center}
 .level-map-page .map-heading-identity{gap:0!important}
 .level-map-page .map-mode-icon{display:none}
 .level-map-page .map-title-copy>span{font-size:10px;margin-bottom:3px}
 .level-map-page .map-catalogue-hud h1{font-size:21px;line-height:1.15;letter-spacing:-.4px}
 .level-map-page .map-catalogue-hud .map-progress{width:66px}
 .level-map-page .map-catalogue-hud .map-progress>span{font-size:11px}
 .level-map-page .map-progress b{font-size:15px}
 .level-map-page .map-progress>small{font-size:9px}
 .level-map-page .map-helper-control{grid-column:1/-1;display:flex;justify-content:flex-end;border-left:0;border-top:1px solid var(--line);padding:7px 0 0}
 .level-map-page .map-helper-control .helper-picker{max-width:100%}
 .level-map-page .map-helper-control .helper-picker select{max-width:min(240px,65vw)}
}
@media(max-width:360px){.level-map-page .map-catalogue-hud h1{font-size:18px}.level-map-page .map-catalogue-hud .map-heading{gap:8px}.level-map-page .map-catalogue-hud .map-progress{width:60px}}
