:root{color-scheme:dark;font-family:Consolas,'Courier New',monospace;background:#100c0d;color:#fff3d2}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:radial-gradient(ellipse at center,#382617,#100c0d 75%)}button,a{-webkit-tap-highlight-color:transparent}button{font:700 11px monospace;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #c7ff69;outline-offset:3px}button:disabled{opacity:.4;cursor:default}.dug-stage{width:100vw;height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 24px;gap:12px}header{display:flex;align-items:center;justify-content:space-between;width:min(100%,1000px);gap:18px}h1{font:900 32px/.9 Impact,'Arial Black',sans-serif;letter-spacing:1px;margin:0;text-align:center;color:#e3b975;text-shadow:3px 3px #703b29}h1 span{color:#c7ff69}h1 small{display:block;font:7px monospace;letter-spacing:2px;color:#ba9d80;text-shadow:none;margin-top:7px}.back{color:#d7bd97;text-decoration:none;font-size:10px}.tools{display:flex;gap:7px}.tools button{background:#271d1a;border:1px solid #6b503b;border-radius:6px;padding:9px;color:#e2c9a2}.hud{display:flex;justify-content:space-between;gap:20px;width:min(100%,900px);font-size:9px;letter-spacing:1px;color:#bba286}.hud b{display:inline-block;color:#c7ff69;margin-left:8px;font-size:14px;white-space:nowrap}.hud span:last-child b{color:#ff8c84}.play-area{display:flex;justify-content:center;align-items:center;gap:20px;min-height:0;max-width:100%;flex:0 1 auto}.board-wrap{position:relative;width:min(900px,calc((100dvh - 160px)*5/3),calc(100vw - 48px));flex-shrink:0;border:4px solid #67472e;border-radius:8px;box-shadow:0 0 0 1px #ca9c5740,0 18px 60px #0008;overflow:hidden;background:#130e14}canvas{display:block;width:100%;height:auto;aspect-ratio:5/3;image-rendering:pixelated}.cover{position:absolute;inset:0;background:#100d10eF;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:15px}.cover[hidden]{display:none}.badge{color:#bd9a72;font-size:8px;letter-spacing:3px}.poop-icon{font-size:65px;line-height:1.2;filter:drop-shadow(0 6px 0 #4c3025)}h2{margin:0;font:900 clamp(20px,3vw,35px) Impact,'Arial Black',sans-serif;color:#c7ff69;letter-spacing:1px}.cover p{margin:0;color:#cfb99c;font-size:12px;line-height:1.7}.cover button{background:#c7ff69;border:0;padding:15px 28px;border-radius:5px;color:#1e2710;font-size:13px;box-shadow:0 4px #5a7b2a}.cover button:hover{background:#dcffac}.cover small{font-size:8px;color:#a78a71}.cover.is-transition .poop-icon{display:none}#notice{position:absolute;bottom:12px;left:10px;right:10px;margin:0;text-align:center;font:700 11px monospace;color:#ffe3a6;pointer-events:none;text-shadow:2px 2px #000}footer{width:min(100%,900px);display:flex;justify-content:space-between;gap:10px;font:8px/1.6 monospace;color:#967e68}.touch-controls,.phone-hint{display:none}html[data-phone="true"] .desktop-hint{display:none}html[data-phone="true"] .phone-hint{display:inline}html[data-phone="true"] .dug-stage{padding:7px 12px;gap:7px}html[data-phone="true"] header{max-width:1000px}html[data-phone="true"] h1{font-size:23px}html[data-phone="true"] h1 small{font-size:6px;margin-top:4px;letter-spacing:1px}html[data-phone="true"] .tools button{padding:6px;font-size:9px}html[data-phone="true"] .back{font-size:8px}html[data-phone="true"] .hud{font-size:7px;gap:12px;max-width:900px}html[data-phone="true"] .hud b{font-size:10px;margin-left:4px}html[data-phone="true"] .play-area{gap:14px}html[data-phone="true"] .board-wrap{width:min(780px,calc((100dvh - 104px)*5/3),calc(100vw - 180px));border-width:3px}html[data-phone="true"] .touch-controls{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:136px;flex-shrink:0}.dpad{display:grid;grid-template-columns:repeat(3,40px);grid-template-rows:repeat(2,38px);gap:4px}.dpad button{width:40px;height:38px;border:1px solid #8a6a44;border-radius:7px;background:#32251c;color:#d8ff9a;font-size:23px;touch-action:none;user-select:none}.dpad button:active{background:#664322}[data-move="up"]{grid-column:2;grid-row:1}[data-move="left"]{grid-column:1;grid-row:2}[data-move="down"]{grid-column:2;grid-row:2}[data-move="right"]{grid-column:3;grid-row:2}#pump{width:105px;height:53px;border:1px solid #efffc6;border-radius:12px;background:linear-gradient(#ddff9b,#9dd443);color:#2b3313;font-size:20px;touch-action:none;user-select:none;box-shadow:0 4px #587c26}#pump small{display:block;font-size:7px;margin-top:2px}html[data-phone="true"] footer{font-size:6px}html[data-phone="true"] .cover{gap:6px;padding:8px}html[data-phone="true"] .poop-icon{font-size:30px}html[data-phone="true"] .cover .badge{font-size:6px;letter-spacing:1px}html[data-phone="true"] .cover p{font-size:9px;line-height:1.5}html[data-phone="true"] .cover button{font-size:10px;padding:9px 18px}html[data-phone="true"] .cover small{font-size:6px}html[data-phone="true"] h2{font-size:21px}html[data-phone="true"] #notice{font-size:8px;bottom:6px}@media(orientation:portrait){html[data-phone="true"] .dug-stage{position:fixed;top:50%;left:50%;width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}html[data-phone="true"] .board-wrap{width:min(780px,calc((100vw - 104px)*5/3),calc(100dvh - 180px))}}@media(max-height:310px){html[data-phone="true"] .touch-controls{gap:7px}.dpad{grid-template-rows:repeat(2,34px)}.dpad button{height:34px}#pump{height:44px}.cover .badge{display:none}html[data-phone="true"] .cover .poop-icon{font-size:24px}html[data-phone="true"] .cover p{font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
