@font-face{font-family:Menu;src:url('assets/pixelify-sans.ttf') format('truetype');font-weight:400 700;font-display:swap}
:root{color-scheme:dark;--text:#ffffe6;--yellow:#f4e560;--stone:#999d69;--dark:#202817;--pixel:2px}
*{box-sizing:border-box}html{scroll-padding-top:20px}body{margin:0;background:#11170e url('assets/pause-dark.png') repeat fixed;image-rendering:pixelated;color:var(--text);font:20px/1.4 Menu,'Courier New',monospace;text-shadow:2px 2px #101506}a{color:#b5ebff;text-decoration-thickness:2px;text-underline-offset:4px}a:hover{color:var(--yellow)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font:inherit;font-weight:700;line-height:1.1}h2{font-size:28px}h3{font-size:24px}p{margin-bottom:16px}button,input,select,summary{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}:focus-visible{outline:3px solid #f8f8d0;outline-offset:5px}img{image-rendering:pixelated;max-width:100%;height:auto}.game-shell{max-width:960px;margin:28px auto;padding:0 28px}header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:0 12px 12px}.hud{display:flex;flex-direction:column}.brand{color:#ffffe6;text-decoration:none;font-size:22px}.hud-hearts{color:#f44c40;font:bold 24px/18px Menu,monospace;letter-spacing:1px;text-shadow:2px 2px #510e0e,-1px -1px #ff9c7d;margin:6px 0}.hud-label{font-size:13px;color:#c5db9e;margin-top:8px}.pause-tabs{display:flex;gap:15px;align-items:flex-end}.pause-tabs>a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#fff;text-decoration:none;font-size:18px;white-space:nowrap;padding:5px 2px;border-bottom:4px solid transparent}.pause-tabs>a[aria-current]{border-bottom-color:var(--yellow);color:var(--yellow)}.controller{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;vertical-align:middle;width:38px;height:38px;border-radius:50%;border:3px solid;border-color:#d4dcd066 #0009 #0009 #d4dcd066;color:#fff;font:700 26px/1 Menu,monospace;text-shadow:2px 2px #000;box-shadow:2px 2px #0009,inset 3px 3px #ffffff33}.controller.a{background:#254bab}.controller.b{background:#267725}.controller.c{background:#b79c16}.pause-screen{position:relative;background:#8c9061 url('assets/pause-stone.png') repeat;background-size:128px;border:8px solid;border-color:#c5c598 #474b2d #363e28 #b0b27e;box-shadow:inset 0 0 0 3px #585f3b,0 0 0 3px #151b10,5px 7px 0 #0008;padding:12px 26px 18px;margin-bottom:24px}.screen-title{font-size:34px;letter-spacing:1px;text-align:center;color:#11190c;text-shadow:2px 2px #b0b582;font-weight:700;margin:0 0 16px;line-height:1.2}.inventory-screen{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;align-items:stretch}.inventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 12px;background:#152013 url('assets/pause-dark.png') repeat;background-size:64px;border:5px solid;border-color:#444b2c #c1c48b #bec18d #3f472a;box-shadow:inset 3px 3px #0a130e;align-items:stretch}.inventory>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:130px;padding:10px 4px;color:#fff;text-decoration:none;font-size:18px;text-align:center;line-height:1.05}.inventory img{width:70px;height:70px;filter:drop-shadow(3px 4px #0009)}.inventory>a:before,.inventory>a:after{content:'';position:absolute;pointer-events:none;opacity:0;inset:0;background:linear-gradient(#fcffe6,#fcffe6) left top/14px 4px no-repeat,linear-gradient(#fcffe6,#fcffe6) left top/4px 14px no-repeat,linear-gradient(#fcffe6,#fcffe6) right bottom/14px 4px no-repeat,linear-gradient(#fcffe6,#fcffe6) right bottom/4px 14px no-repeat}.inventory>a:after{transform:scaleX(-1)}.inventory>a:hover,.inventory>a:focus-visible{color:#fcf163;background:#81924933;outline:0}.inventory>a:hover:before,.inventory>a:hover:after,.inventory>a:focus-visible:before,.inventory>a:focus-visible:after{opacity:1}.save-info{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0}.game-emblem{width:148px;filter:drop-shadow(4px 5px #222c14)}.save-info h2{font-size:32px;color:#f0df71;margin:12px 0}.save-info p{font-size:17px;line-height:1.2;margin-bottom:14px}.save-info .version{color:#171d0b;text-shadow:1px 1px #c9ca93;font-size:15px;margin-bottom:0}.menu-caption{background:#1c2632 url('assets/pause-dark.png');border:4px solid;border-color:#7e8791 #131a25 #0c131e #737d83;color:var(--yellow);text-align:center;padding:6px 12px;font-size:22px;margin:16px 12% 0;line-height:1.2;box-shadow:2px 3px #272d1e}.menu-caption .controller{width:29px;height:29px;font-size:20px;margin-right:10px}.dialogue{background:#080f0df2;border:5px solid;border-color:#a0a395 #4c5444 #424d40 #8c9683;box-shadow:inset 0 0 0 2px #1a251b,3px 4px #0009;margin:25px 16px 34px;padding:18px 24px;font-size:20px;line-height:1.45}.dialogue p:last-child{margin:0}.yellow{color:var(--yellow)}.player-content{display:grid;grid-template-columns:1fr 1.2fr;gap:35px;background:#283322e8;border:4px solid;border-color:#48512e #b4b981 #b4b981 #48512e;padding:24px}.player-instructions>img{float:left;width:60px;margin:0 14px 10px 0}.player-instructions h3{font-size:26px;color:var(--yellow);min-height:60px;display:flex;align-items:center;margin-bottom:20px}.player-instructions ol{clear:both;padding-left:25px}.player-instructions li{margin-bottom:12px}.player-instructions p,.player-instructions details{font-size:18px}.player-instructions summary{cursor:pointer;color:#b5ebff;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.player-instructions details p{margin-top:12px}form label{display:block;color:var(--yellow);margin:0 0 8px;font-size:22px}form label:not(:first-child){margin-top:20px}input,select{width:100%;min-height:48px;border:4px solid;border-color:#111b13 #8d9a6d #8d9a6d #111b13;background:#07150e;color:#fffbd2;border-radius:0;padding:8px 10px;line-height:1.2;text-shadow:2px 2px #000}input::placeholder{color:#a2af93}small{display:block;font-size:15px;line-height:1.35;color:#e1e5ce;margin-top:8px}button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;cursor:pointer;padding:9px 12px;margin-top:24px;border:5px solid;border-color:#9eae8b #1a271a #142113 #8c9e76;background:#415b37;color:#fff7b8;text-shadow:2px 2px #000;font-size:23px}button:hover{background:#546f40;color:#fff}button:active{border-color:#142113 #8c9e76 #9eae8b #1a271a}#yaml-status{margin:12px 0 0;min-height:1.4em;font-size:17px;color:#f7ec78}.player-screen .menu-caption{font-size:18px;margin-left:0;margin-right:0}.package{display:flex;gap:24px}.package>img{flex:0 0 64px;width:64px;height:64px}.package h2{color:var(--yellow)}code{font-size:.85em;overflow-wrap:anywhere;color:#f9ea9a}footer{display:flex;justify-content:space-between;gap:20px;font-size:16px;padding:0 10px 25px;color:#d1d4b1}footer a{color:#f6e985}.skip-link{position:absolute;left:10px;top:-100px;z-index:10;background:#000;padding:12px}.skip-link:focus{top:10px}.guide{background:#293220 url('assets/pause-dark.png');padding:30px;font:19px/1.6 Menu,'Courier New',monospace}.guide h1{font-size:36px;color:var(--yellow);margin-bottom:24px}.guide h2{font-size:28px;color:#f2e875;border-bottom:3px solid #727f50;margin:32px 0 18px;padding-bottom:10px}.guide h3{font-size:23px;color:#f2e875;margin-top:25px}.guide li{margin-bottom:12px}.guide ol,.guide ul{padding-left:25px}.guide pre{overflow:auto;padding:18px;background:#07100d;border:3px inset #80916b;font:14px/1.6 monospace;text-shadow:none}.guide table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:17px}.guide th,.guide td{border:2px solid #829064;padding:10px;text-align:left}.guide th{background:#455638}.guide blockquote{margin-left:0;border-left:5px solid #bac486;padding-left:20px}
@media(min-width:1000px){.game-shell{margin-top:45px}.pause-screen:before,.pause-screen:after{content:'';position:absolute;z-index:-1;top:24px;bottom:24px;width:45px;background:#626b43 url('assets/pause-stone.png');background-size:128px;border:7px ridge #929870}.pause-screen:before{left:-48px;transform:skewY(18deg)}.pause-screen:after{right:-48px;transform:skewY(-18deg)}}
@media(max-width:760px){.game-shell{padding:0 18px;margin:20px auto}header{padding:0 0 12px;gap:10px}.brand{font-size:18px}.hud-hearts{font-size:18px;line-height:15px}.hud-label{font-size:11px}.pause-tabs{gap:10px}.pause-tabs>a{font-size:15px}.controller{width:31px;height:31px;font-size:23px}.pause-screen{padding:12px 16px 16px;border-width:6px}.inventory-screen{gap:12px;grid-template-columns:1.6fr 1fr}.inventory{gap:6px;padding:10px 6px}.inventory>a{font-size:16px;min-height:115px}.inventory img{width:56px;height:56px}.game-emblem{width:110px}.save-info h2{font-size:26px}.save-info p{font-size:15px}.save-info .version{font-size:13px}.player-content{gap:20px;padding:18px}.player-instructions h3{font-size:23px}.dialogue{margin-left:0;margin-right:0;font-size:18px}.guide{font-size:18px}}
@media(max-width:540px){.game-shell{padding:0 12px;margin-top:16px}header{flex-direction:column;align-items:stretch;gap:12px}.hud{position:relative;min-height:60px;padding-right:135px}.brand{font-size:20px}.hud-hearts{position:absolute;right:0;top:0;font-size:19px;line-height:17px}.hud-label{font-size:12px}.pause-tabs{justify-content:space-around;gap:4px}.pause-tabs>a{flex-direction:row;gap:6px;font-size:16px;padding-bottom:8px}.controller{width:27px;height:27px;font-size:21px}.screen-title{font-size:29px;margin-bottom:12px}.pause-screen{padding:10px 10px 14px}.inventory-screen{display:flex;flex-direction:column-reverse;gap:12px}.save-info{display:grid;grid-template-columns:70px 1fr;column-gap:12px;text-align:left;padding:0 6px}.game-emblem{grid-row:1/4;width:70px}.save-info h2{font-size:25px;margin:0 0 4px}.save-info h2 br{display:none}.save-info h2 br:after{content:' '}.save-info p{font-size:14px;margin:0 0 4px}.save-info p br{display:none}.save-info .version{font-size:13px}.inventory{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 6px}.inventory>a{min-height:112px;font-size:17px;padding:8px 2px;gap:7px}.inventory img{width:60px;height:60px}.menu-caption{margin:12px 0 0;font-size:19px;padding:7px}.dialogue{padding:16px;margin-top:20px;margin-bottom:24px;font-size:18px}.player-content{grid-template-columns:1fr;padding:16px;gap:22px}.player-instructions{border-bottom:3px solid #727e52;padding-bottom:15px}.player-instructions>img{width:48px}.player-instructions h3{min-height:48px;margin-bottom:12px}.player-instructions ol{font-size:18px;margin:0 0 12px}.player-instructions li{margin-bottom:6px}.player-instructions>p{margin-bottom:8px}.package{gap:12px}.package>img{flex-basis:40px;width:40px;height:40px}.package h2{font-size:24px}.package p,.package a{font-size:17px}.guide{padding:20px 16px;font-size:18px}.guide h1{font-size:30px}.guide h2{font-size:26px}footer{flex-wrap:wrap;justify-content:center;gap:8px 20px;font-size:14px}footer>span{order:3;flex-basis:100%;text-align:center}}
@media(max-width:350px){.pause-tabs>a{font-size:14px;gap:4px}.pause-tabs .controller{width:24px;height:24px;font-size:18px}.inventory>a{font-size:15px}.save-info h2{font-size:22px}.screen-title{font-size:26px}.hud{padding-right:115px}.hud-hearts{font-size:16px}.brand{font-size:18px}.package{display:block}.package>img{float:left;margin:0 12px 8px 0}}
@media(max-width:540px){.pause-tabs>a{flex:1 1 0;min-width:0;flex-direction:column;gap:5px;font-size:16px}.save-info h2{font-size:24px}.save-info h2 br{display:block}.save-info p br{display:block}}
@media(max-width:350px){.pause-tabs>a{font-size:13px}.pause-tabs{gap:6px}select{font-size:18px}}

/* Original game textures retain their native pixels at larger sizes. */
body{background-size:320px 128px}
.pause-screen{background:#29351f url('assets/pause-frame.png') center/100% 100% no-repeat;border:0;box-shadow:none;padding:24px 30px 22px}
.screen-title{margin-bottom:22px}
.inventory{background:#182614;border:0;box-shadow:none;padding:14px 10px}
.inventory>a:before{inset:0;background:url('assets/cursor.png') center/100% 100% no-repeat;transform:none}
.inventory>a:after{display:none}
.controller{background-position:center!important;background-size:100% 100%!important;background-color:transparent!important;background-repeat:no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:transparent!important;text-shadow:none!important}
.controller.a{background-image:url('assets/button-a.png')}
.controller.b{background-image:url('assets/button-b.png')}
.controller.c{background-image:url('assets/button-c.png')}
.hud-hearts{font-size:0;line-height:16px;letter-spacing:0;text-shadow:none}
.hud-hearts i{display:inline-block;width:16px;height:16px;background:url('assets/heart.png') center/100% 100% no-repeat}
.menu-caption{background:transparent url('assets/name-panel.png') center/100% 100% no-repeat;border:0;box-shadow:none;padding:12px 20px}
.dialogue{background:transparent url('assets/message-box.png') center/100% 100% no-repeat;border:0;box-shadow:none;padding:24px 30px}
.player-content{background:#1b291b;border:0;padding:22px}
.pause-screen:before,.pause-screen:after{background-image:url('assets/pause-stone.png')}
.guide{background:#1d2c1a url('assets/pause-dark.png') repeat;background-size:240px 96px;border:10px solid;border-image:url('assets/pause-frame.png') 10 9 10 9 / 10px / 0 stretch;padding:25px}
@media(max-width:540px){.pause-screen{padding:20px 18px}.screen-title{margin-bottom:16px}.hud-hearts{line-height:16px}.hud-hearts i{width:16px;height:16px}.inventory{padding:10px 5px}.player-content{padding:15px}.dialogue{padding:22px}.guide{padding:18px 14px}.menu-caption{padding:12px 14px}.save-info{padding:0}}
@media(max-width:350px){.hud-hearts i{width:14px;height:14px}.hud-hearts{line-height:14px}}
.inventory{background:transparent}
body{background-size:320px 64px}
.pause-screen:before,.pause-screen:after{background-size:160px 32px}

/* Guided setup uses the same palette with quieter, readable step cards. */
[hidden]{display:none!important}
.setup-eyebrow{color:#c4d39c;letter-spacing:2px;font-size:15px;margin-bottom:10px}
#setup-wizard>h1{margin-bottom:16px}
.setup-notice{background:#35402a;border-left:4px solid var(--yellow);padding:14px 18px}
#setup-wizard fieldset{border:0;padding:0;margin:28px 0}
#setup-wizard legend{font-size:24px;color:var(--yellow);margin-bottom:12px}
.setup-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.setup-choices label{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#111f17;border:2px solid #73845d;cursor:pointer;line-height:1.4}
.setup-choices label:has(input:checked){border-color:var(--yellow);background:#34452a}
.setup-choices input,.setup-step-title input{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:4px 0 0;padding:0;accent-color:#e5d55a}
.setup-choices small{font-size:16px;margin-top:6px}
.setup-checklist-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:32px}
.setup-checklist-heading h2{border:0;margin:0;padding:0}
.setup-checklist-heading button{width:auto;font-size:16px;margin:0;padding:7px 12px;border-width:2px}
#setup-progress{width:100%;height:14px;accent-color:#dccc60;display:block}
#setup-count{margin:8px 0 0;color:var(--yellow)}
#setup-storage{font-size:15px;color:#d4ddc7;margin:6px 0 20px}
.guide .setup-steps{padding:0;list-style:none}
.setup-steps>li{background:#122018;border:2px solid #647750;margin-bottom:14px;padding:18px}
.setup-step-title{display:flex;gap:14px;cursor:pointer;line-height:1.3}
.setup-step-title small{margin:0 0 4px;color:#c2cfaa;font-size:13px;letter-spacing:1px}
.setup-step-title strong{font-size:23px;color:#fff4ac}
.setup-step-body{padding-left:36px;margin-top:12px}
.setup-step-body p{margin:0}
.setup-steps>.is-complete{border-color:#9bb77c}
.is-complete .setup-step-title strong{color:#b8d3a3}
.setup-reference{border-top:2px solid #73845d;margin-top:30px;padding-top:20px}
.setup-reference>summary{cursor:pointer;color:#b5ebff;padding:8px 0;font-size:22px}
@media(max-width:540px){.setup-choices{grid-template-columns:1fr}.setup-checklist-heading{align-items:flex-start}.setup-checklist-heading h2{font-size:24px}.setup-step-body{padding-left:0}.setup-steps>li{padding:14px}.setup-step-title strong{font-size:22px}}
