@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--paper:#f6f2e8;--ink:#253d37;--muted:#758176;--line:#dcded0;--green:#426650;--mint:#e8eddf;--orange:#eab774;--blue:#74a9b2;--shadow:#d9decb}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:15px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible{outline:3px solid #d59950;outline-offset:4px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}.shell{max-width:1184px;margin:auto;padding:0 48px}.site-header{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:11px;letter-spacing:2.5px;font-weight:800;display:flex;align-items:center;gap:10px}.brand-mark{background:var(--ink);color:var(--paper);width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:25px;letter-spacing:0}.text-button{border:0;padding:8px 0;background:none;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.text-button:hover{color:#a77137}.intro{display:flex;justify-content:space-between;align-items:center;padding:37px 0 33px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--green)}h1,h2,p{margin:0}h1{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:700;font-size:clamp(38px,4.5vw,55px);line-height:1.18;letter-spacing:-2.4px;margin:8px 0 10px}.title-dot{color:#d59a4f}.intro p{color:#6d786d;font-size:14px}.stamp{border:1px solid #b7bda7;color:#7a8b6c;border-radius:50%;width:94px;height:94px;transform:rotate(11deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin-right:10px}.stamp span{font-size:8px;letter-spacing:1px;font-weight:700}.stamp b{font-size:22px;line-height:1;letter-spacing:4px}.game-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:42px}.park-panel{min-width:0}.park-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.level-number{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#7d8b73}h2{font-family:'Space Grotesk',system-ui,sans-serif;font-size:18px;letter-spacing:-.5px}.park-top h2{margin-top:3px}.level-picker{font-size:11px;padding:10px 12px;background:transparent;border:1px solid #d5dacb;border-radius:6px}.level-picker span{padding-left:8px}.board-frame{border:9px solid #b7c3a0;border-bottom-width:12px;border-radius:13px;background:#b7c3a0;position:relative;box-shadow:0 4px 0 #9ead8c;overflow:hidden}#board{display:block;width:100%;aspect-ratio:1;image-rendering:pixelated;border-radius:3px;background:#92af79}.board-caption{display:flex;justify-content:space-between;gap:8px;color:#7a856f;font-size:10px;margin-top:16px}.legend-square{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:2px}.hedge{background:#47744c}.command-panel{padding-top:3px}.dog-roster{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:27px;padding-bottom:20px;border-bottom:1px solid var(--line)}.dog-card{display:flex;gap:7px;align-items:center}.dog-card canvas{width:48px;height:48px;image-rendering:pixelated}.dog-card strong{display:block;font-size:13px;margin-bottom:4px}.dog-card span:not(.dog-dot){display:block;font-size:10px;color:#7d8577}.dog-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:4px;vertical-align:middle}.amber{background:#d59950}.blue{background:var(--blue)}.plan-heading{display:flex;justify-content:space-between;align-items:center}.plan-heading h2{font-size:20px}.plan-heading>span{font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:600;color:#718267}.muted{color:#7d8577}.plan-explainer{font-size:12px;margin:7px 0 16px}.slots{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.slot{height:52px;border:1px dashed #c6cebb;border-radius:7px;background:#eeeee2;font-size:25px;position:relative;display:grid;place-items:center;transition:transform .15s,background .15s}.slot.empty{color:#b5bfaa;font-size:13px}.slot.filled{background:#fcfbf5;border:1px solid #bbc7ad;box-shadow:0 3px 0 #d5ddc9}.slot.selected{background:#e2ead6;border:2px solid #56724d;transform:translateY(-2px)}.slot.active{background:#eabb78;border-color:#b67e35;transform:translateY(-3px)}.slot.done:after{content:'';position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:#6d9162}.slot .slot-num{position:absolute;top:4px;left:5px;font:8px 'DM Sans',sans-serif;color:#94a084}.edit-tools{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:36px;margin:6px 0 7px}.edit-tools>span{font-size:9px;color:#87917e}.edit-tools>div{display:flex;gap:5px}.edit-tools button{width:25px;height:25px;padding:0;border:1px solid #d5dacb;border-radius:4px;background:none;font-size:14px}.input-row{display:flex;align-items:center;justify-content:center;gap:23px;margin:3px 0 22px}.dpad{display:grid;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(2,43px);gap:6px}.dpad button{font-family:system-ui,sans-serif;font-size:23px;font-weight:400;border:1px solid #c8cebd;background:#fcfbf6;border-radius:7px;box-shadow:0 3px 0 #d9decd}.dpad button:hover{background:#e5eadc}.dpad button:active{box-shadow:none;transform:translateY(3px)}.dpad button[data-dir=U]{grid-column:2}.dpad button[data-dir=L]{grid-column:1;grid-row:2}.dpad button[data-dir=D]{grid-column:2;grid-row:2}.dpad button[data-dir=R]{grid-column:3;grid-row:2}.keyboard-note{font-size:10px;color:#8c947f;line-height:1.6}.keyboard-note span{color:#5f7357}.keyboard-note small{font-size:9px}.run-row{display:flex;gap:9px}.primary-button{border:1px solid #3b5d43;background:#426650;color:#fffdf3;padding:13px 20px;border-radius:7px;font-size:12px;font-weight:700;min-height:44px;box-shadow:0 3px 0 #2c4e38;transition:background .15s}.primary-button:hover{background:#36593f}.primary-button>span{font-size:10px;margin-right:6px}.run-row .primary-button{flex:1}.secondary-button{padding:12px 19px;border:1px solid #bec9b1;border-radius:7px;background:none;font-size:12px;font-weight:600}.secondary-button:hover{background:#e7ebde}.utility-row{display:flex;justify-content:space-between;margin-top:9px;gap:7px}.utility-row button{font-size:10px;color:#75816d}.score-card{background:#e9eddf;border:1px solid #d8dfcd;padding:16px 17px;border-radius:9px;margin-top:19px}.score-line{display:flex;justify-content:space-between;align-items:center;font-size:11px}.score-line>span>span{color:#bc8a42;margin-right:5px}.score-line strong{font-family:'Space Grotesk',sans-serif;font-size:17px}.bone-meter{display:flex;gap:7px;margin:10px 0}.bone-meter>span{height:5px;border-radius:6px;flex:1;background:#d0d9c2}.bone-meter>span.collected{background:#bd914e}.score-bottom{display:flex;justify-content:space-between;color:#7c896e;font-size:9px}.feedback{min-height:65px;margin:18px 0 0;font-size:11px;line-height:1.5;padding-left:1px}.feedback strong{display:block;font-size:12px;font-weight:600;margin-bottom:3px}.feedback>span{color:#7a8473}.feedback.success strong{color:#3e734d}.feedback.perfect{color:#805c26}.hint-button{border:0;background:none;font-size:11px;padding:6px 0;color:#8f835d;display:flex;gap:7px;align-items:center}.hint-button:hover{color:#554c30}.bottom-note{border-top:1px solid var(--line);margin:32px 0 0;padding:20px 0 25px;display:flex;justify-content:space-between;gap:15px;color:#8b9380}.bottom-note>span:first-child{font-size:11px}.bottom-note>span:last-child{font-size:8px;letter-spacing:1px;display:flex;align-items:center;gap:7px}.bottom-note i{width:3px;height:3px;background:#aeb69e;border-radius:50%}dialog{border:1px solid #d7dccb;border-radius:15px;padding:34px;max-width:450px;width:calc(100% - 32px);color:var(--ink);background:#faf8ef;box-shadow:0 20px 100px #203a3740}dialog::backdrop{background:#1d382a66;backdrop-filter:blur(4px)}dialog h2{font-size:28px;line-height:1.15;margin:12px 0 22px;letter-spacing:-1px}dialog ol{padding-left:20px;font-size:12px;color:#6d7d64;line-height:1.6}dialog li{padding-left:3px;margin-bottom:15px}dialog li strong{color:#364f3d}.dialog-tip{font-size:11px;line-height:1.5;background:#e9eddf;border-radius:6px;padding:12px;margin:20px 0}.close-modal{position:absolute;top:14px;right:15px;width:30px;height:30px;font-size:22px;background:none;border:0}.close-rules{width:100%}.level-option{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;border:1px solid #ccd5be;background:#f5f5e9;padding:15px;text-align:left;border-radius:8px;margin-top:10px}.level-option:hover,.level-option.current{background:#e4ecd9;border-color:#748d65}.level-option strong{display:block;font-family:'Space Grotesk',sans-serif;font-size:16px}.level-option small{display:block;color:#7c896e;font-size:10px;margin-top:5px}.level-option>b{font-size:15px;color:#9a783e}.board-toast{position:absolute;left:50%;bottom:16px;transform:translate(-50%,10px);opacity:0;transition:.25s;background:#f9f6e8f0;border-radius:6px;padding:8px 13px;font-size:11px;white-space:nowrap;font-weight:600;box-shadow:0 3px 0 #334c2c22}.board-toast.show{opacity:1;transform:translate(-50%,0)}#celebration{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:10}.confetti{position:absolute;top:-15px;width:7px;height:9px;background:#c79b55;animation:fall 1.7s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(460deg);opacity:0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:1050px){.board-frame{max-width:550px}}@media(max-width:900px){.shell{padding:0 30px}.game-layout{gap:25px;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}.intro{padding:28px 0}.board-caption{font-size:9px}.slot{height:47px}.dog-roster{margin-bottom:20px;padding-bottom:16px}.score-card{margin-top:14px}.bottom-note>span:last-child{display:none}}@media(max-width:720px){.shell{max-width:540px;padding:0 21px}.site-header{height:66px}.brand{font-size:9px;letter-spacing:2px}.brand-mark{width:25px;height:25px}.intro{padding:25px 0 25px}.intro h1{font-size:40px;letter-spacing:-1.8px}.intro p{font-size:12px;line-height:1.5;max-width:275px}.eyebrow{font-size:8px;letter-spacing:1.8px}.stamp{width:66px;height:66px;margin-right:0;flex-shrink:0;margin-left:8px}.stamp span{font-size:5px}.stamp b{font-size:17px}.game-layout{display:block}.park-top{margin-bottom:13px}.park-top h2{font-size:17px}.level-number{font-size:8px}.level-picker{font-size:10px;padding:9px}.board-frame{border-width:7px;border-bottom-width:9px;border-radius:10px}.board-caption{margin-top:12px;font-size:9px}.command-panel{margin-top:25px}.dog-roster{margin-bottom:19px;padding-bottom:15px;gap:15px}.dog-card{justify-content:center}.dog-card canvas{width:42px;height:42px}.dog-card strong{font-size:13px}.dog-card span:not(.dog-dot){font-size:10px}.plan-heading h2{font-size:21px}.slots{gap:7px}.slot{height:52px}.plan-explainer{font-size:12px;margin-bottom:15px}.input-row{margin:5px 0 21px;gap:27px}.dpad{grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,44px)}.keyboard-note{font-size:10px}.utility-row button{font-size:11px}.score-card{margin-top:17px}.score-line{font-size:12px}.score-bottom{font-size:10px}.feedback{font-size:12px}.feedback strong{font-size:13px}.hint-button{font-size:12px}.bottom-note{margin-top:24px;padding-bottom:25px}.bottom-note>span:first-child{font-size:10px}.text-button{font-size:11px}dialog{padding:30px 25px}}
@media(max-width:360px){.shell{padding:0 15px}.intro h1{font-size:35px}.stamp{display:none}.slot{height:45px}.edit-tools>span{font-size:8px}.level-picker{padding:8px}.board-caption{font-size:8px}}
/* Compact phone controls keep the park and its plan close together. */
@media(max-width:720px){.stamp{display:none}.intro{padding:21px 0}.intro h1{font-size:37px;white-space:nowrap}.intro p{max-width:none}.dog-roster{margin-bottom:15px;padding-bottom:12px}.input-row{margin:5px 0 16px}.dpad{grid-template-columns:repeat(4,50px);grid-template-rows:44px}.dpad button[data-dir]{grid-row:1;grid-column:auto}.dpad button[data-dir=U]{grid-column:2}.dpad button[data-dir=L]{grid-column:1}.dpad button[data-dir=D]{grid-column:3}.dpad button[data-dir=R]{grid-column:4}.keyboard-note{display:none}.board-frame{max-width:min(100%,40vh);margin:auto}.board-caption{max-width:min(100%,40vh);margin:12px auto 0}}
@media(max-width:360px){.intro h1{font-size:33px}.dog-roster{gap:5px}.dog-card{gap:2px}.dog-card span:not(.dog-dot){font-size:9px;white-space:nowrap}}
@media(max-width:720px){.park-panel{position:sticky;top:-59px;z-index:2;background:var(--paper);padding-bottom:10px;box-shadow:0 10px 14px var(--paper)}.command-panel{margin-top:16px}.board-caption{line-height:15px}}
/* The twelve-walk collection. */
#levels-dialog{max-width:650px;max-height:90vh;max-height:90dvh;padding:30px;overflow:auto}#levels-dialog h2{margin-bottom:11px}.walks-summary{font-size:12px;line-height:1.6;color:var(--muted);max-width:440px;margin-bottom:20px}#level-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.level-option{margin:0;min-height:78px;padding:14px 13px}.level-option strong{font-size:15px}.level-option small{line-height:1.4}.level-option>b{flex-shrink:0}.after-walk{display:flex;align-items:center;justify-content:space-between;gap:12px}.next-walk{border:1px solid #c2ceb4;border-radius:6px;background:#e4ecd9;font-size:11px;font-weight:600;padding:9px 12px}.next-walk:hover{background:#d5e2c8}.next-walk[hidden]{display:none}
@media(max-width:480px){#levels-dialog{padding:26px 20px}#level-options{grid-template-columns:1fr}.walks-summary{font-size:11px;margin-bottom:15px}.level-option{min-height:69px}.intro .eyebrow{font-size:7px;letter-spacing:1.4px}.next-walk{min-height:40px}}
/* Four-dog hard mode. */
.mode-bar{display:flex;gap:9px;margin:-5px 0 10px;max-width:460px}.mode-option{flex:1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;border:1px solid #c9d1bf;border-radius:9px;background:transparent;text-align:left}.mode-option strong{font-family:'Space Grotesk',sans-serif;font-size:14px;white-space:nowrap}.mode-option span{font-size:10px;color:#7d8974}.mode-option.selected{background:#e1e9d7;border-color:#6b865c;box-shadow:0 2px 0 #cbd6bf}.mode-option b{font-family:'DM Sans',sans-serif;font-size:7px;background:#e3d4e8;color:#765d85;padding:3px 4px;border-radius:3px;vertical-align:middle;margin-left:3px;letter-spacing:.4px}.mode-description{font-size:11px;line-height:1.5;color:#78866e;margin:0 0 26px}body[data-mode=hard] .mode-option.selected{border-color:#8b6f9b;background:#eee5f1;box-shadow:0 2px 0 #dac9e0}body[data-mode=hard] .board-frame{border-color:#b7b4c5;box-shadow:0 4px 0 #9995aa}body[data-mode=hard] .board-caption{color:#777186}body[data-mode=hard] .primary-button{background:#726080;border-color:#655272;box-shadow:0 3px 0 #53445f}body[data-mode=hard] .dog-roster{row-gap:12px;margin-bottom:17px;padding-bottom:14px}body[data-mode=hard] .slot{height:47px;font-size:23px}body[data-mode=hard] .slot.selected{border-color:#806590;background:#eee4f1}body[data-mode=hard] .slot.active{background:#d5bfdf;border-color:#8b6b9a}body[data-mode=hard] .level-option.current{background:#eee5f1;border-color:#8b6f9b}#rules-dialog{max-height:90vh;max-height:90dvh;overflow:auto}
@media(max-width:720px){.mode-bar{max-width:none;margin:0 0 9px;gap:8px}.mode-option{padding:10px 12px;display:block}.mode-option strong{display:block;font-size:13px}.mode-option span{display:block;margin-top:4px;font-size:9px}.mode-description{font-size:10px;margin-bottom:21px}body[data-mode=hard] .dog-roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body[data-mode=hard] .dog-card{flex-direction:column;gap:3px;text-align:center}body[data-mode=hard] .dog-card canvas{width:32px;height:32px}body[data-mode=hard] .dog-card strong{font-size:10px;margin-bottom:3px}body[data-mode=hard] .dog-card span:not(.dog-dot){font-size:9px}body[data-mode=hard] .slots{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px}body[data-mode=hard] .slot{height:44px}body[data-mode=hard] .board-frame,body[data-mode=hard] .board-caption{max-width:min(100%,36vh)}.edit-tools button{width:30px;height:30px}.edit-tools{min-height:40px}}
/* Daily walks, a tiny hands-on tutorial and compact play controls. */
[hidden]{display:none!important}.intro{padding:22px 0 18px}.intro h1{font-size:44px}.stamp{display:none}.site-header{height:65px}.mode-bar{max-width:660px}.mode-description{margin-bottom:16px}.daily-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 14px;color:#53654d;font-size:12px;min-height:25px}.daily-bar p{line-height:1.5}.daily-notice{font-size:12px;background:#efe5cc;border-radius:6px;padding:10px;margin-bottom:12px}.dog-card span:not(.dog-dot),.muted,.plan-explainer,.score-bottom,.feedback>span,.edit-tools>span{color:#5e6d59}.edit-tools{margin:8px 0;min-height:44px}.edit-tools button{width:44px;height:44px}.slot .slot-num{color:#5f7054}.text-button,.hint-button,.level-picker,.next-walk{min-height:44px}.result-button{width:100%;min-height:44px;border:1px solid #a3b792;border-radius:7px;background:#e4ecd9;font-size:12px;font-weight:700;margin:10px 0}.board-text{font-size:12px;line-height:1.6;margin-top:15px;color:#55664f}.board-text summary{cursor:pointer;min-height:36px}.board-text p{white-space:pre-line}.board-caption{color:#5e6c55}.slot:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b57426;outline-offset:3px}.tutorial-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.tutorial-top .eyebrow{font-size:8px;letter-spacing:1px}#tutorial-dialog{max-width:480px;padding:24px;max-height:94dvh;overflow:auto}#tutorial-dialog h2{margin:10px 0;font-size:29px}#tutorial-copy{font-size:14px;line-height:1.5;min-height:42px}.tutorial-roster{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:14px 0 9px}.tutorial-roster b{background:#a36a3b;color:white;border-radius:3px;padding:2px 5px}.tutorial-roster span:last-child b{background:#4b7e8a}#tutorial-board{display:block;width:100%;image-rendering:pixelated;border:6px solid #b7c3a0;border-radius:9px;background:#adc98d}#tutorial-feedback{font-size:12px;line-height:1.5;min-height:38px;margin:12px 0;color:#426650}#tutorial-action,#tutorial-next{width:100%;font-size:14px;min-height:48px}.tutorial-footnote{font-size:11px;line-height:1.5;text-align:center;color:#596851;margin:12px 0 0}#rules-dialog .secondary-button{width:100%;margin:0 0 10px;min-height:44px}#result-dialog{max-height:94dvh;overflow:auto;max-width:440px;padding:25px}#result-card{border:1px solid #c1cdb2;border-radius:11px;background:#e9efdf;text-align:center;padding:24px 18px;margin:18px 0}#result-card h2{font-size:26px;margin:12px 0 8px}#result-date{font-size:12px;color:#5f7055}.result-dogs{font-size:32px;margin:15px 0 10px}#result-bones{display:block;font-size:22px;font-family:'Space Grotesk',sans-serif}#result-summary{font-size:12px;margin-top:8px}.result-challenge{font-size:11px;margin-top:18px;color:#5a6b52}.result-label{display:block;font-size:11px;font-weight:600;margin-bottom:6px}#result-text{resize:vertical;display:block;width:100%;background:#fffdf7;color:#304a3c;border:1px solid #bdcab1;border-radius:6px;padding:10px;font:12px/1.6 'DM Sans',sans-serif}.result-buttons{display:flex;gap:9px;margin-top:12px}.result-buttons>*{flex:1}#share-status{font-size:12px;line-height:1.5;min-height:20px;margin:10px 0}.result-buttons .secondary-button{min-height:44px}.result-actions:empty{display:none}
@media(max-width:720px){
 .shell{padding:0 14px;max-width:540px}.site-header{height:44px;border-bottom:0}.brand{font-size:9px;letter-spacing:1.4px}.brand-mark{width:23px;height:23px;font-size:21px}.site-header .text-button{font-size:11px}.intro{padding:0}.intro h1{font-size:26px;line-height:1.1;margin:0 0 10px;letter-spacing:-1px}.intro .eyebrow,.intro p{display:none}.mode-bar{margin:0 0 6px;gap:6px}.mode-option{min-height:44px;padding:7px 9px}.mode-option strong{font-size:12px}.mode-option span{font-size:9px;margin-top:2px;color:#596850}.mode-description{font-size:11px;line-height:1.4;margin:5px 0 8px}.daily-bar{font-size:11px;margin:3px 0 8px;min-height:18px}.daily-notice{font-size:11px;padding:7px;margin:3px 0 8px}.daily-bar .text-button{font-size:11px}.game-layout{display:block}.park-panel{position:static;top:auto;padding:0;background:none;box-shadow:none}.park-top{min-height:31px;margin:0 0 7px}.park-top h2{font-size:16px;margin:2px 0 0}.level-number{font-size:8px;letter-spacing:1px}.level-picker{padding:4px 9px;font-size:10px;min-height:36px}.board-frame,body[data-mode=hard] .board-frame{max-width:min(100%,32svh);margin:auto;border-width:5px;border-bottom-width:7px;border-radius:9px}.board-caption{display:none}.command-panel{margin-top:10px;padding:0}.dog-roster,body[data-mode=hard] .dog-roster{display:flex;justify-content:space-evenly;gap:7px;margin:0 0 8px;padding:0;border:0}.dog-card,body[data-mode=hard] .dog-card{flex-direction:row;gap:4px;justify-content:center;align-items:center;text-align:left}.dog-card canvas,body[data-mode=hard] .dog-card canvas{width:28px;height:28px}.dog-card strong,body[data-mode=hard] .dog-card strong{font-size:11px;margin:0 0 1px}.dog-card span:not(.dog-dot),body[data-mode=hard] .dog-card span:not(.dog-dot){font-size:10px;white-space:nowrap}.dog-dot{width:5px;height:5px;margin-left:2px}.plan-heading{margin:0 0 6px}.plan-heading h2{font-size:14px}.plan-heading>span{font-size:11px}.plan-explainer{display:none}.slots{gap:5px}.slot,body[data-mode=hard] .slot{height:44px;font-size:23px;border-radius:6px}.slot .slot-num{font-size:9px}.input-row{margin:9px 0 8px}.dpad{grid-template-columns:repeat(4,minmax(44px,1fr));grid-template-rows:44px;width:100%;gap:7px}.run-row{gap:7px}.run-row>*{min-height:44px;padding:10px 15px}.utility-row{margin-top:3px}.utility-row button{min-height:36px;font-size:10px}.edit-tools{min-height:44px;margin:6px 0}.edit-tools>span{font-size:10px;max-width:160px;line-height:1.4}.edit-tools button{width:44px;height:44px}.score-card{margin-top:5px;padding:10px 12px}.score-line{font-size:11px}.score-line strong{font-size:16px}.bone-meter{margin:7px 0}.score-bottom{font-size:10px}.feedback{margin-top:10px;min-height:50px;font-size:12px}.feedback strong{font-size:13px}.after-walk{gap:8px}.hint-button{font-size:11px}.bottom-note{margin-top:14px;padding:12px 0 20px}.board-text{font-size:11px;margin-top:8px}.result-button{margin:5px 0}.mode-option b{display:none}body[data-mode=hard] .dog-card{gap:2px}body[data-mode=hard] .dog-card canvas{width:22px;height:22px}body[data-mode=hard] .dog-card strong{font-size:10px}body[data-mode=hard] .dog-card span:not(.dog-dot){font-size:9px}body[data-mode=hard] .slots{gap:5px}#tutorial-dialog{padding:18px}#tutorial-dialog h2{font-size:26px}.tutorial-top .text-button{font-size:10px}.tutorial-top .eyebrow{font-size:7px}.tutorial-roster{margin-top:10px}#tutorial-copy{font-size:13px}#tutorial-board{max-height:29svh;width:auto;max-width:100%;margin:auto}#tutorial-feedback{margin:10px 0;min-height:36px}.tutorial-footnote{font-size:10px}#result-dialog{padding:20px}.result-dogs{font-size:27px}#result-card{padding:18px 12px}
}
@media(max-width:360px){.shell{padding:0 12px}.intro h1{font-size:24px}.mode-option{padding:6px 7px}.mode-option span{font-size:8px}.mode-description{font-size:10px}.dog-card span:not(.dog-dot){font-size:9px}.board-frame,body[data-mode=hard] .board-frame{max-width:min(100%,30svh)}body[data-mode=hard] .dog-card{flex-direction:column;gap:1px;text-align:center}body[data-mode=hard] .dog-card canvas{display:none}body[data-mode=hard] .dog-card strong{font-size:10px}.edit-tools>span{max-width:140px}#tutorial-dialog h2{font-size:24px}#tutorial-copy{font-size:12px}.tutorial-top{gap:3px}#tutorial-action,#tutorial-next{font-size:12px}}
.level-number,.mode-description,.board-caption,.dog-card span:not(.dog-dot),.score-bottom,.mode-option span,.plan-heading>span,.walks-summary,.level-option small,.keyboard-note,.keyboard-note small{color:#58674f}.hint-button{color:#73603a}.daily-bar{color:#526346}.edit-tools>span{color:#596851}.board-text summary{min-height:44px}
/* A compact, phone-friendly message with a plain-text accessibility alternative. */
.share-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0}.share-preview-heading .result-label{margin:0}.plain-toggle{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px;cursor:pointer;white-space:nowrap}.plain-toggle input{width:18px;height:18px;accent-color:#426650}.plain-toggle input:focus-visible{outline:3px solid #b57426;outline-offset:3px}.share-format-note{font-size:11px;line-height:1.5;color:#58674f;margin:0 0 9px}#result-text{font-family:system-ui,-apple-system,'Segoe UI',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji';font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;min-height:205px}#result-dialog .dialog-tip{margin-top:10px}#result-card{padding:18px 15px;margin:14px 0}#result-card h2{margin-top:8px}.result-dogs{margin:10px 0;font-size:27px}.result-challenge{margin-top:12px}
@media(max-width:360px){#result-dialog{padding:16px}.share-preview-heading{gap:5px}.share-preview-heading .result-label{font-size:10px}.plain-toggle{font-size:11px}#result-text{font-size:13px;line-height:1.55}.share-format-note{font-size:10px}}
