*{box-sizing:border-box}html{background:#0c1310;color:#e8f0e6;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 78% 6%,#283b2b 0,transparent 40rem),linear-gradient(145deg,#0c1310,#121d18 70%,#0d1512)}.mini-header{height:64px;padding:0 max(20px,calc((100vw - 1100px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #35483a;color:#b4c5b5;font-size:10px;letter-spacing:.16em}.mini-header a{color:#c7e1c7;text-decoration:none}.mini-header strong{margin-left:9px;color:#eaf1e8}.mini-header span{color:#c0dc91}main{max-width:1120px;margin:auto;padding:35px 20px 60px}.puzzle-intro{max-width:760px;margin:0 auto 20px}.eyebrow{color:#bddb93;font-size:9px;font-weight:700;letter-spacing:.21em}.puzzle-intro h1{margin:4px 0 8px;font:clamp(38px,6vw,58px)/1 Georgia,"Times New Roman",serif}.puzzle-intro h1 em{font-style:normal;color:#d9b77f}.puzzle-intro>p:last-child{max-width:690px;color:#b1c3b2;font-size:14px;line-height:1.65}.puzzle-shell{border:1px solid #536454;border-radius:8px;background:#101a15;overflow:hidden;box-shadow:0 24px 70px #0007}.puzzle-hud{min-height:54px;padding:8px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #35463a;color:#9db19d;font-size:9px;letter-spacing:.11em}.puzzle-hud strong{margin-left:4px;color:#ead08a;font-size:12px}.puzzle-hud button{min-height:34px;padding:0 11px;border:1px solid #50624f;border-radius:4px;background:#17251c;color:#dce9db;font-size:10px;cursor:pointer}.puzzle-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:26px;align-items:center;padding:22px}.board-wrap{display:grid;place-items:center;min-width:0}.burrow-board{width:min(100%,540px);display:grid;grid-template-columns:repeat(9,1fr);gap:4px;padding:8px;border:1px solid #344b3b;border-radius:6px;background:#0b1410}.cell{position:relative;aspect-ratio:1;min-width:0;border:1px solid #324236;border-radius:4px;background:#18251c;color:#e3ebdf;font-size:clamp(13px,2.5vw,22px);cursor:pointer;touch-action:manipulation}.cell.path{background:#223126}.cell.rock{border-color:#55554a;background:linear-gradient(135deg,#505046,#373d35);cursor:not-allowed}.cell.player{border-color:#d4e7a0;background:#3a5534;color:#f4f5d7;box-shadow:0 0 12px #cce49966}.cell.seed{color:#f5df8b;background:#38432b}.cell.grub{color:#e7a0a0;background:#472e2d}.cell.goal{color:#d5efa0;background:#2d472c}.cell:focus-visible,.mini-button:focus-visible,.direction-pad button:focus-visible{outline:2px solid #e7cf91;outline-offset:2px}.cell:disabled{opacity:1}.puzzle-help{padding:12px 16px;border-left:1px solid #394b3a}.puzzle-help h2,.garden-note h2{margin:5px 0 8px;font:26px Georgia,"Times New Roman",serif}.puzzle-help>p:not(.eyebrow){color:#aebdaf;font-size:12px;line-height:1.7}.legend{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0;color:#b7c7b5;font-size:10px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:22px;height:22px;display:grid;place-items:center;border-radius:4px;font-style:normal}.legend-player{color:#f4f5d7;background:#3a5534}.legend-seed{color:#f5df8b;background:#38432b}.legend-grub{color:#e7a0a0;background:#472e2d}.legend-goal{color:#d5efa0;background:#2d472c}.direction-pad{display:none}.direction-pad button{width:42px;height:38px;border:1px solid #50624f;border-radius:5px;background:#17251c;color:#e2ecdf;touch-action:manipulation}.direction-pad>div{display:flex;justify-content:center;gap:7px}.puzzle-message{min-height:42px;margin:0;padding:12px 18px;border-top:1px solid #35463a;color:#d6cb99;text-align:center;font-size:12px}.garden-note{max-width:760px;margin:30px auto 0;text-align:center;color:#aabca9}.garden-note h2{font-size:23px}.garden-note p{font-size:12px}.level-overlay{position:fixed;inset:0;z-index:5;display:grid;place-items:center;padding:16px;background:#030906bb}.level-overlay[hidden]{display:none}.level-card{width:min(420px,95%);padding:26px;text-align:center;border:1px solid #8dc08266;border-radius:8px;background:#101b15}.level-card h2{margin:6px 0;font:30px Georgia,"Times New Roman",serif}.level-card>p:not(.eyebrow){color:#afbdac;font-size:13px;line-height:1.5}.mini-button{min-height:40px;padding:0 16px;margin:5px;border:1px solid #50624f;border-radius:4px;background:#17251c;color:#e3ede0;font-weight:700;cursor:pointer}.mini-button.primary{background:#c4df91;border-color:#c4df91;color:#162116}@media(max-width:760px){main{padding:26px 12px 45px}.puzzle-hud{flex-wrap:wrap;justify-content:flex-start}.puzzle-hud button{margin-left:auto}.puzzle-layout{grid-template-columns:1fr;gap:15px;padding:11px}.puzzle-help{padding:4px 6px;border-left:0}.puzzle-help h2{font-size:21px}.puzzle-help>p:not(.eyebrow){margin:6px 0}.legend{margin:9px 0}.direction-pad{display:grid;gap:5px;justify-content:center;margin-top:12px}.burrow-board{gap:3px}.cell{font-size:clamp(12px,4vw,18px)}}@media(max-width:430px){.mini-header{padding:0 12px;font-size:8px}.mini-header span{font-size:8px}.puzzle-hud{gap:12px}.puzzle-layout{padding:8px}.burrow-board{gap:2px;padding:5px}}
