:root{--ink:#192238;--cream:#fffaf1;--orange:#ff7859;--out:#543847}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#d7f0ee,#fff7e8 60%);font-family:Arial,sans-serif;color:var(--ink)}.page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:10px 12px}.back{position:fixed;top:18px;left:20px;z-index:2;color:var(--ink);font-weight:700;text-decoration:none}.panel{display:grid;grid-template-areas:"head" "stage" "controls";justify-items:center;gap:10px;padding:14px 16px 16px;background:var(--cream);border-radius:26px;text-align:center;box-shadow:0 20px 60px #19223824}.head{grid-area:head}.eyebrow{margin:0;color:var(--orange);font-size:11px;font-weight:700;letter-spacing:2px}.panel h1{margin:4px 0;font-size:30px}.help{margin:0;color:#788096;font-size:13px;line-height:1.7}kbd{display:inline-block;padding:0 6px;border:1px solid #c9cedb;border-bottom-width:2px;border-radius:5px;background:#fff;font:700 12px Arial,sans-serif;color:var(--ink)}.stage{grid-area:stage;position:relative;container-type:inline-size;width:min(100%,560px,max(240px,calc((100vh - 190px) * .5625)));width:min(100%,560px,max(240px,calc((100dvh - 190px) * .5625)));border-radius:12px;overflow:hidden;background:#86d4f2;box-shadow:0 0 0 3px var(--ink),0 14px 30px #19223833;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.stage canvas{display:block;width:100%;aspect-ratio:288/512;image-rendering:pixelated;cursor:pointer;touch-action:none}.controls{grid-area:controls;display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.controls button{border:0;border-radius:10px;height:40px;padding:0 18px;background:var(--ink);color:#fff;font-weight:700;cursor:pointer}.controls button[aria-pressed=false]{background:#788096}@media (orientation:landscape) and (min-width:640px){.page{padding:8px 12px}.panel{grid-template-areas:"head stage" "controls stage";grid-template-columns:minmax(170px,250px) auto;grid-template-rows:1fr 1fr;column-gap:26px;row-gap:18px;padding:12px 14px 12px 26px;text-align:left}.head{align-self:end;justify-self:start}.panel h1{font-size:40px}.eyebrow{letter-spacing:1px;white-space:nowrap}.controls{align-self:start;justify-self:start;flex-direction:column;align-items:stretch}.stage{width:max(220px,calc((100vh - 40px) * .5625));width:max(220px,calc((100dvh - 40px) * .5625))}}@media (orientation:portrait) and (max-width:560px){.page{padding:6px 6px 10px}.back{position:static;justify-self:start;margin:2px 0 4px 4px}.panel{width:100%;padding:0;gap:8px;background:0 0;box-shadow:none}.head{display:none}.stage{width:min(100%,calc((100vh - 110px) * .5625));width:min(100%,calc((100dvh - 110px) * .5625))}}@media (orientation:landscape) and (max-height:520px){.eyebrow,.help{display:none}.back{top:8px;left:10px}}.menu{position:absolute;left:9%;right:9%;top:45%;display:grid;gap:2.6cqw}#bLevels[hidden],.bar[hidden],.levels[hidden],.menu[hidden]{display:none}.menu button{display:grid;gap:.6cqw;padding:2.4cqw 4cqw;border:.9cqw solid var(--out);border-radius:3.4cqw;background:#fff6d6;box-shadow:0 1.4cqw 0 #54384755;color:var(--out);font:800 5.6cqw/1.1 Arial,sans-serif;text-align:left;cursor:pointer}.menu button small{font-size:3.5cqw;font-weight:700;color:#8a6a50}.menu button:hover{background:#fff0b0}.menu button:active{transform:translateY(.8cqw);box-shadow:none}#mJourney{background:#ffd24a}#mJourney:hover{background:#ffdf74}.levels{position:absolute;inset:0;display:flex;flex-direction:column;background:#192238ee;color:#fff}.lv-head{display:flex;align-items:center;gap:3cqw;padding:3cqw 4cqw;font-size:5.4cqw}.lv-head b{flex:1}.lv-head span{color:#ffd23a;font-weight:700}.lv-head button{width:10cqw;height:10cqw;border:0;border-radius:2.6cqw;background:#ffd24a;color:var(--out);font:800 5.6cqw Arial,sans-serif;cursor:pointer}.lv-grid{flex:1;overflow-y:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2.2cqw;padding:0 3cqw 5cqw;align-content:start}.lv-grid h3{grid-column:1/-1;margin:3cqw 0 0;font-size:4.4cqw;color:#ffd9a0}.lv{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:1cqw 1cqw 1.4cqw;border:.7cqw solid #fff6d6;border-radius:2.4cqw;background:#fff6d6;color:var(--out);font:700 2.9cqw/1.15 Arial,sans-serif;cursor:pointer}.lv .th canvas{display:block;width:100%;height:100%;border-radius:1.4cqw;image-rendering:pixelated}.lv .th{display:block;width:100%;overflow:hidden;aspect-ratio:144/200;background:#8aa;border-radius:1.4cqw}.lv b{position:absolute;top:1.6cqw;left:1.6cqw;min-width:5.4cqw;padding:.4cqw .8cqw;border-radius:1.6cqw;background:var(--out);color:#fff;font-size:3cqw}.lv .nm{margin-top:.8cqw;min-height:6.6cqw;text-align:center}.lv .st{color:#f2a52c;font-size:3.2cqw;letter-spacing:-.2cqw}.lv.boss{border-color:#ff7a4a}.lv.done{background:#fff0b0}.lv.locked{cursor:default;opacity:.55}.lv.locked .th canvas{filter:grayscale(1) brightness(.6)}.bar{position:absolute;top:2.6cqw;right:2.6cqw;display:flex;gap:1.8cqw}.bar button{padding:1.6cqw 2.6cqw;border:.6cqw solid var(--out);border-radius:2.4cqw;background:#fff6d6;color:var(--out);font:800 3.6cqw Arial,sans-serif;cursor:pointer}#btnBirds{background:#f2a52c;color:#3a2410}.toast{position:absolute;left:50%;bottom:24%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100% - 20px);padding:6px 12px 6px 6px;border:3px solid #543847;border-radius:12px;background:#fff6d6;color:#543847;font:700 13px Arial,sans-serif;text-align:left;cursor:pointer}.toast.show{animation:toastIn .35s ease-out}.toast .pic{width:42px;height:36px;flex:none;image-rendering:pixelated}@keyframes toastIn{from{transform:translate(-50%,-24px);opacity:0}}.picker{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;background:#19223899}.picker[hidden],.toast[hidden]{display:none}.pick-box{width:min(560px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;padding:16px;border:4px solid #543847;border-radius:18px;background:#fffaf1;box-shadow:0 20px 60px #19223855}.pick-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.pick-head h2{margin:0;font-size:20px}.pick-stat{margin:2px 0 0;color:#c8702a;font-size:13px;font-weight:700}.pick-close{flex:none;width:36px;height:36px;border:0;border-radius:10px;background:var(--ink);color:#fff;font-size:16px;cursor:pointer}.pick-note{margin:8px 0 10px;color:#788096;font-size:12px;line-height:1.5}.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;overflow-y:auto;padding:2px}.bird{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 10px;border:2px solid #e6dccb;border-radius:12px;background:#fff;color:var(--ink);font:700 12px Arial,sans-serif;cursor:pointer}.bird .pic{width:63px;height:54px;image-rendering:pixelated}.bird:hover{border-color:#f2a52c}.bird.on{border-color:#f2a52c;background:#fff3c4;box-shadow:0 0 0 2px #f2a52c}.bird.rare{border-color:#e8c04a}.bird.locked{cursor:default;background:#f3f0ea}.bird.locked .pic{filter:brightness(0) opacity(.28)}.bird .need{color:#8a8f9e;font-size:10px;font-weight:700}.bird .bar{position:absolute;left:8px;right:8px;bottom:4px;height:3px;border-radius:2px;background:#e2ddd3;overflow:hidden}.bird .bar::after{content:"";position:absolute;inset:0;width:calc(var(--p) * 100%);background:#f2a52c}body.picking{overflow:hidden}