.goatPage{justify-content:center;align-items:center;min-height:80vh;padding:2rem;display:flex}.goatPage:focus{outline:none}.goatPage .goat-button:focus-visible,.goatPage .key:focus-visible,.goatPage .name-save:focus-visible{outline-offset:2px;outline:2px solid #2c3e50}.goatPage .game-layout{background:#fdfdfd;border-radius:24px;flex-wrap:wrap;align-items:flex-start;gap:4rem;padding:3rem;display:flex;box-shadow:0 10px 30px #0000000d}.goatPage .goat-section{text-align:center;flex:0 360px;width:360px;max-width:100%}.goatPage .goat-section h1{color:#333;letter-spacing:2px;margin-bottom:2rem}.goatPage .pen{isolation:isolate;background:#f0f4f0;border:2px solid #dbe7db;border-radius:16px;width:100%;height:240px;position:relative}.goatPage .goat{width:96px;height:96px;position:absolute}.goatPage .goat-button{cursor:pointer;background:0 0;border:0;border-radius:12px;padding:0;transition:filter .2s;display:block}.goatPage .goat-button:hover{filter:drop-shadow(0 0 4px #ffde59e6)}.goatPage .goat--headbutt .goat-button{animation:.6s ease-out lunge}.goatPage .goat--headbutt.goat--facing-left .goat-button{animation-name:lunge-left}.goatPage .prop{width:32px;height:32px;image-rendering:pixelated;background-image:url(/goat-props.png);background-repeat:no-repeat;background-size:400% 100%;display:inline-block}.goatPage .prop--turnip{background-position:0 0}.goatPage .prop--z{background-position:33.333% 0}.goatPage .prop--heart{background-position:66.667% 0}.goatPage .prop--bang{background-position:100% 0}.goatPage .turnip{width:48px;height:48px;position:absolute}.goatPage .heart-pop{pointer-events:none;animation:.8s ease-out forwards popAndFade;position:absolute;top:-12px;left:32px}.goatPage .bang{pointer-events:none;position:absolute;top:-22px;left:32px}.goatPage .zzz{pointer-events:none;position:absolute;top:0;left:58px}.goatPage .zzz .prop{opacity:0;width:16px;height:16px;animation:2.4s linear infinite drift;position:absolute}.goatPage .zzz .prop:nth-child(2){animation-delay:.8s}.goatPage .zzz .prop:nth-child(3){animation-delay:1.6s}.goatPage .speech{color:#50321b;white-space:nowrap;pointer-events:none;background:#fff;border:2px solid #50321b;border-radius:10px 10px 10px 2px;padding:2px 8px;font-size:.8rem;font-weight:700;position:absolute;top:-10px;left:62px}.goatPage .thought{pointer-events:none;background:#fff;border:2px solid #50321b;border-radius:50%;padding:2px;line-height:0;position:absolute;top:-34px;left:66px}.goatPage .thought:before,.goatPage .thought:after{content:"";background:#fff;border:2px solid #50321b;border-radius:50%;position:absolute}.goatPage .thought:before{width:10px;height:10px;bottom:-8px;left:-8px}.goatPage .thought:after{width:6px;height:6px;bottom:-16px;left:-14px}.goatPage .name-tag{color:#50321b;overflow-wrap:anywhere;background:#ffde59;border-radius:999px;padding:1px 8px;font-weight:700}.goatPage .goat-stats{color:#5d6d7e;margin-top:1rem;font-size:.9rem}.goatPage .goat-stats p{justify-content:center;align-items:center;gap:8px;margin:0 0 .25rem;display:flex}.goatPage .goat-stats .meters{justify-content:center;gap:1.25rem;margin-bottom:.25rem;display:flex}.goatPage .goat-stats .meter{flex-direction:column;gap:2px;margin:0}.goatPage .goat-stats .meter-label{font-size:.75rem}.goatPage .goat-stats .meter-icons{display:inline-flex}.goatPage .goat-stats .meter-icons .prop{width:16px;height:16px}.goatPage .goat-stats .meter-icons .is-empty{filter:grayscale();opacity:.35}.goatPage .instructions-card{max-width:280px}.goatPage .instructions-card h2{color:#2c3e50;border-bottom:3px solid #ffde59;margin:0 0 1rem;font-size:1.2rem;display:inline-block}.goatPage .instructions-card ul{padding:0;list-style:none}.goatPage .instructions-card ul li{color:#5d6d7e;align-items:center;gap:12px;margin-bottom:1rem;display:flex}.goatPage .instructions-card ul li .keys{gap:4px;display:flex}.goatPage .instructions-card kbd{cursor:pointer;-webkit-user-select:none;user-select:none;color:#000;background:#fff;border:1px solid #d1d5db;border-radius:6px;justify-content:center;align-items:center;min-width:35px;padding:8px 12px;font-size:1rem;font-weight:700;transition:all .1s;display:flex;box-shadow:0 3px #d1d5db}.goatPage .instructions-card kbd:active{background-color:#f0fdf4;transform:translateY(2px);box-shadow:0 1px #d1d5db}.goatPage .instructions-card .key{background:0 0;border:0;border-radius:6px;padding:0}.goatPage .instructions-card .key--hold{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.goatPage .instructions-card .keys{align-items:center;gap:8px;margin-right:10px;display:flex}.goatPage .instructions-card .name-form{margin-top:1.5rem}.goatPage .instructions-card .name-form h2{margin-bottom:.75rem}.goatPage .instructions-card .name-form label{color:#5d6d7e;margin-bottom:4px;font-size:.85rem;display:block}.goatPage .instructions-card .name-form .name-row{gap:8px;display:flex}.goatPage .instructions-card .name-form input{color:#2c3e50;background:#fff;border:1px solid #b0b8c1;border-radius:6px;flex:1;min-width:0;padding:6px 10px;font-size:1rem}.goatPage .instructions-card .name-form .name-save{color:#000;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:6px 14px;font-weight:700;box-shadow:0 3px #d1d5db}.goatPage .instructions-card .name-form .name-save:active{transform:translateY(2px);box-shadow:0 1px #d1d5db}.goatPage .instructions-card .name-form .name-message{color:#5d6d7e;min-height:1.2em;margin:6px 0 0;font-size:.8rem}.goatPage .instructions-card .note{color:#5d6d7e;margin-top:1.5rem;font-size:.75rem;font-style:italic}@media (max-width:600px){.goatPage{padding:1rem}.goatPage .game-layout{flex-direction:column;gap:1rem;padding:1rem}.goatPage .goat-section{display:contents}.goatPage .goat-stage{z-index:1;background:#fdfdfd;width:100%;padding:.5rem 0;position:sticky;top:0;box-shadow:0 8px 8px -8px #00000026}.goatPage .goat-section h1{text-align:center;margin-bottom:0}.goatPage .pen{height:180px}.goatPage .goat-stats{margin-top:.5rem}.goatPage .instructions-card ul{grid-template-columns:1fr 1fr;gap:.75rem 1rem;display:grid}.goatPage .instructions-card ul li{gap:8px;margin:0;font-size:.85rem}.goatPage .instructions-card ul li:first-child{grid-column:1/-1}.goatPage .instructions-card .keys{margin-right:0}.goatPage .instructions-card{width:100%;max-width:100%}}.goatPage--still .zzz .prop{opacity:1;animation:none}.goatPage--still .zzz .prop:first-child{top:8px;left:0}.goatPage--still .zzz .prop:nth-child(2){top:-2px;left:12px}.goatPage--still .zzz .prop:nth-child(3){display:none}@media (prefers-reduced-motion:reduce){.goatPage .zzz .prop{opacity:1;animation:none}.goatPage .zzz .prop:first-child{top:8px;left:0}.goatPage .zzz .prop:nth-child(2){top:-2px;left:12px}.goatPage .zzz .prop:nth-child(3){display:none}}@keyframes popAndFade{0%{opacity:0;transform:translateY(10px)scale(.5)}30%{opacity:1;transform:translateY(-15px)scale(1.3)}to{opacity:0;transform:translateY(-40px)scale(1)}}@keyframes drift{0%{opacity:0;transform:translate(0)scale(.6)}20%{opacity:1}to{opacity:0;transform:translate(14px,-28px)scale(1.2)}}@keyframes lunge{0%,30%{transform:translate(0)}55%{transform:translate(8px)}to{transform:translate(0)}}@keyframes lunge-left{0%,30%{transform:translate(0)}55%{transform:translate(-8px)}to{transform:translate(0)}}
