.ranch-page{--jungle:#10271b;--moss:#d5ff83;background:#0a100c}.ranch-page main{max-width:1250px;padding:0 5%;margin:auto}.ranch-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px 0 26px}.ranch-heading .eyebrow{font-size:10px;letter-spacing:.15em;color:#bcc7ae}.ranch-spark{color:var(--lime);font-size:18px;vertical-align:middle;margin-right:6px}.ranch-heading h1{font-size:clamp(40px,5vw,70px);letter-spacing:-.065em;line-height:1.1;margin:12px 0 0}.ranch-heading h1 em{font-style:normal;color:var(--moss)}.ranch-heading>p{color:#aebca6;font-size:17px;line-height:1.5;margin:0}.ranch-heading strong{color:#e4ecdb;font-weight:500}.ranch-arcade{padding:0;border:1px solid #38513b;border-radius:20px;overflow:hidden;background:#102016;box-shadow:0 28px 80px #0006}.ranch-hud{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;background:#122219}.ranch-stats,.ranch-toolbar{display:flex;align-items:center;gap:24px}.ranch-stats>div{display:flex;flex-direction:column;gap:5px}.ranch-stats span{font-size:8px;font-weight:600;color:#a1b397;letter-spacing:.15em}.ranch-stats strong{font:700 20px ui-monospace,SFMono-Regular,Consolas,monospace;color:#edffdd}.ranch-toolbar{gap:10px}.ranch-toolbar button,.ranch-demo-toggle{color:#d8e6ca;background:none;border:1px solid #53644b;border-radius:8px;padding:10px 13px;cursor:pointer;font-size:12px}.ranch-toolbar button:disabled{opacity:.35;cursor:default}#game-hearts{font-size:20px;color:#ffb0c5;letter-spacing:3px;margin-right:8px;white-space:nowrap}.ranch-stage{position:relative;outline:none;background:#09251c}.ranch-stage:focus-visible{outline:2px solid var(--moss);outline-offset:-3px}#ranch-canvas{width:100%;height:clamp(410px,62vh,570px);background:#10372e url('/ranch/assets/jungle.webp') center/cover no-repeat;overflow:hidden}#ranch-canvas canvas{display:block}.ranch-corner{position:absolute;top:18px;left:22px;display:flex;align-items:center;gap:9px;font-size:8px;font-weight:700;letter-spacing:.14em;color:#edffdb;text-shadow:0 1px 4px #000}.ranch-corner>span:last-child{border:1px solid #cde8a866;border-radius:4px;padding:3px 5px}.ranch-live-dot{width:5px;height:5px;background:#c8ff78;border-radius:100%;box-shadow:0 0 12px #b9ff61}.ranch-game-panel{position:absolute;right:22px;bottom:20px;width:302px;padding:22px;border:1px solid #a9d68d66;border-radius:16px;background:#0a1b16ed;box-shadow:0 14px 40px #0007;backdrop-filter:blur(12px)}.ranch-game-panel[hidden],.ranch-error[hidden]{display:none}.ranch-game-panel .eyebrow{font-size:8px;line-height:1.5;color:#bddc9d;letter-spacing:.12em;margin:0 0 10px}.ranch-game-panel h2{font-size:27px;line-height:1.15;letter-spacing:-.04em;margin:0 0 10px}.ranch-game-panel>p:not(.eyebrow){font-size:12px;line-height:1.6;color:#bbccb2;margin:0 0 17px}.ranch-game-panel .pill{width:100%;display:flex;justify-content:center;padding:14px 12px;min-height:46px;font-size:12px}.ranch-game-panel .pill:disabled{opacity:.6;cursor:wait}.ranch-demo-toggle{display:block;width:100%;margin-top:11px;padding:5px;border:0;font-size:10px;color:#b4c6a8}.ranch-demo-toggle[hidden]{display:none}.ranch-melody{display:flex;align-items:center;gap:20px;padding:18px 24px 12px;background:#122219}.melody-label{min-width:88px;display:flex;flex-direction:column;gap:6px}.melody-label>span{font-size:8px;font-weight:700;letter-spacing:.13em;color:#b0bfa1}.melody-label strong{font:16px ui-monospace,Consolas,monospace;color:#e4f7cb}#melody-slots{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;flex:1}.melody-slot{display:flex;align-items:center;justify-content:center;border:1px solid #6d845344;background:#0b190f;border-radius:6px;color:#789269;height:32px;font:600 12px ui-monospace,Consolas,monospace}.melody-slot.filled{color:#142115;background:var(--note-color);border-color:var(--note-color);box-shadow:0 0 16px color-mix(in srgb,var(--note-color) 15%,transparent)}.melody-loop-icon{font-size:26px;color:#8eaf73}.ranch-controls{display:flex;justify-content:center;gap:35px;padding:12px 20px 0}.ranch-controls>div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:120px}.ranch-controls button{min-width:46px;height:44px;border:1px solid #627851;border-radius:10px;color:#edf7e1;background:linear-gradient(#283d2a,#1a2b1d);font-size:20px;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}.ranch-controls button.is-held,.ranch-controls button:active{background:#b9e77e;color:#112317;border-color:#defbae;transform:translateY(1px)}.ranch-controls .jump-button{min-width:98px;font-size:11px;font-weight:700;letter-spacing:.04em;background:#30492d;color:#e5ffc4}.ranch-controls span{width:100%;text-align:center;font-size:7px;letter-spacing:.14em;color:#8fa37f;padding-top:2px}#game-notice{color:#c2d6af;text-align:center;font-size:11px;line-height:1.5;min-height:36px;padding:12px 14px 15px;margin:0}.ranch-help{margin:22px 0 0;border:1px solid #3f5137;border-radius:12px;background:#111c13}.ranch-help summary{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;cursor:pointer;list-style:none;font-size:13px;font-weight:600}.ranch-help summary::-webkit-details-marker{display:none}.ranch-help summary span{font-size:22px;color:var(--moss)}.ranch-help[open] summary span{transform:rotate(45deg)}.ranch-help-content{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;padding:0 24px 24px}.ranch-help h2{font-size:20px;letter-spacing:-.03em;margin:12px 0 16px}.ranch-help p{font-size:13px;line-height:1.8;color:#afc0a2}.ranch-help kbd{font-size:11px;background:#2a3924;padding:3px 6px;border:1px solid #5f704f;border-radius:4px;color:#e0e8d5}.ranch-options>label{display:block;color:#e3ecd9;font-size:13px;margin:17px 0}.ranch-options small{display:block;color:#a5b69a;margin:5px 0 0 23px;font-size:11px}.ranch-options input[type=checkbox]{accent-color:var(--moss);margin-right:7px}.ranch-options input[type=range]{width:100%;accent-color:var(--moss)}.ranch-after{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 0 40px}.ranch-after p{font-size:15px;line-height:1.8;color:#a7ba99}.ranch-after .eyebrow{font-size:9px;color:#d4e6c2}.ranch-after .pill{font-size:12px;white-space:nowrap}.ranch-error{position:absolute;inset:20px;background:#101b12f5;border:1px solid #b5d58d;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:25px;text-align:center;z-index:10}.ranch-error a{color:var(--moss)}.ranch-noscript{padding:24px;border:1px solid #5a6b41;color:#ddeac8}.ranch-noscript a{color:var(--lime);text-decoration:underline}.ranch-page button:focus-visible,.ranch-page a:focus-visible,.ranch-page summary:focus-visible{outline:2px solid var(--moss);outline-offset:4px}.ranch-page footer{margin-top:0}@media(max-width:700px){.ranch-page main{padding:0 4%}.ranch-heading{padding:25px 0 20px;gap:12px}.ranch-heading h1{font-size:clamp(34px,7.5vw,52px)}.ranch-heading .eyebrow{font-size:8px;letter-spacing:.06em}.ranch-heading>p{display:none}.ranch-arcade{border-radius:14px}.ranch-hud{padding:12px;gap:10px;flex-wrap:wrap}.ranch-stats{gap:22px}.ranch-stats strong{font-size:18px}.ranch-toolbar{gap:7px;margin-left:auto}.ranch-toolbar button{font-size:10px;padding:8px}.ranch-toolbar #game-hearts{font-size:17px;margin-right:0;letter-spacing:1px}#ranch-canvas{height:430px}.ranch-corner{left:14px;top:13px;font-size:7px}.ranch-game-panel{left:12px;right:12px;bottom:12px;width:auto;padding:15px 18px}.ranch-game-panel h2{font-size:24px}.ranch-game-panel>p:not(.eyebrow){margin-bottom:12px}.ranch-game-panel .eyebrow{font-size:7px}.ranch-demo-toggle{margin-top:8px}.ranch-melody{padding:14px 12px 10px;gap:10px}.melody-label{min-width:56px}.melody-label>span{font-size:6px}.melody-label strong{font-size:13px}#melody-slots{gap:4px}.melody-slot{height:27px;font-size:9px;border-radius:4px}.melody-loop-icon{display:none}.ranch-controls{gap:18px;padding:9px 8px 0}.ranch-controls>div{max-width:100px;gap:4px}.ranch-controls button{min-width:43px;height:46px}.ranch-controls .jump-button{min-width:80px}.ranch-help-content{grid-template-columns:1fr;gap:10px;padding:0 18px 20px}.ranch-after{align-items:flex-start;flex-direction:column;gap:12px}.ranch-after p{font-size:13px}#game-notice{font-size:10px}.ranch-page footer{padding-left:4%;padding-right:4%}}@media(max-width:360px){.ranch-toolbar{margin-left:0;width:100%;justify-content:space-between}.ranch-stats{width:100%;justify-content:space-between}.ranch-controls{gap:9px}.ranch-controls button{min-width:40px}.ranch-controls .jump-button{min-width:72px}}@media(prefers-reduced-motion:reduce){.ranch-page *{scroll-behavior:auto;transition:none!important}}
.ranch-page main>.ranch-heading{padding:24px 0 24px}.ranch-page main>.ranch-arcade{padding:0}.ranch-page header{padding-top:18px;padding-bottom:18px}.ranch-heading .eyebrow{margin:0}@media(max-width:700px){.ranch-page main>.ranch-heading{padding:22px 0 20px}}
