/* Keep artwork at the edges; game controls stay real, readable and responsive. */
:root{--world-paper:#fffaf0;--world-green:#263e33;--world-gold:#d9ad58}
body{background-color:#f7f1e5}.rfSharedPanel{background:#fffdf6ed!important;border-color:#d7cfba!important;box-shadow:0 10px 30px #51452b0b;border-radius:22px!important}.rfSharedPanel button,.rfSharedPanel a,.rfSharedPanel summary{border-radius:12px!important;line-height:1.35;touch-action:manipulation}.rfActivityChoices button{border:0!important;box-shadow:none!important;background:#f0efdf!important;text-align:left!important}.rfActivityChoices{gap:5px!important}.rfCurrentActivity{font-size:12px!important;margin:0!important;color:#6b745a}.rfPanelFinish{background:#f4e7ca!important;border-color:#d1b77c!important}.rfBuildBadge{opacity:.7}.buddyScene{border-radius:18px!important;background:#f3ead6!important;border:1px solid #ddcba4!important;box-shadow:none!important}.sceneBuddy{filter:drop-shadow(0 7px 5px #4e3c2220)}.sceneMessage{line-height:1.4}.worldSprite.seed,.worldSprite.pebble{filter:none}.buddyPocket,[data-buddy-items],.buddyDiscoveries{display:none!important}.rfPanelShow{background:#f2ddab!important}.worldHalo{position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse at center,transparent 50%,#c4c99526)}
body[data-game=create] .stage{background:#f5f1e5;border:1px solid #d7c9aa;border-radius:22px;grid-template-rows:minmax(170px,auto) minmax(150px,auto)}body[data-game=create] .stage .module{outline:0!important;box-shadow:none!important;border:0!important}body[data-game=create] .stage .melody{width:min(540px,100%)}body[data-game=create] #melodyLoop{display:none}body[data-game=create] .instrumentPatterns .patternChooser button{background:#fffaf0cc}body[data-game=create] .piano{min-width:0;width:100%;height:150px;gap:2px}body[data-game=create] .piano .key{font-size:15px;padding-left:0;padding-right:0}body[data-game=create] .piano .key.black{width:7%;font-size:10px}body[data-game=create] .pianoScroll{overflow:visible;padding:6px 1px 12px}body[data-game=create] .keyboardReach{display:none}body[data-game=create] .stage #melodyPresetButtons{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-game=create] .workspace{background:#fffdf7}
.babyGrowing .companionBaby{transform-origin:70px 65px;transform:scale(var(--baby-scale,1))}.growthCompanionLabel{font-size:11px;line-height:1.35}
@media(max-width:650px){body[data-game=create] .stage{grid-template-rows:auto auto auto}body[data-game=create] .piano{height:135px}body[data-game=create] .piano .key{height:132px;font-size:13px}body[data-game=create] .piano .key.black{height:76px;font-size:9px}body[data-game=create] .stage .melody{grid-column:1/-1}.rfSharedPanel{border-radius:16px!important}}
@media(prefers-reduced-motion:reduce){.worldHalo{animation:none!important}}.still .worldHalo,.reduceMotion .worldHalo{animation:none!important}
#gardenConcert{max-width:850px;width:calc(100% - 28px);padding:24px;background:#fffaf0}#gardenConcert h2{font-size:28px}#concertPrompt{min-height:52px;margin:8px 0;font-size:16px}.concertStage{min-height:270px;padding:30px 18px 20px;border-radius:22px;background-image:linear-gradient(#fffaf000,#fffaf066),url('assets/garden-worlds-v70.webp');background-size:auto,200% 200%;background-position:center,100% 100%;display:flex;align-items:end;justify-content:center;gap:18px}.concertHost img{width:100px;height:120px;object-fit:contain;filter:drop-shadow(0 7px 5px #51452b33)}.concertHost .buddy-art{width:90px;height:110px}.concertBand{display:flex;align-items:end;gap:12px}.concertPerformer{background:#fffaf0e8;border:1px solid #c3af83;border-radius:18px;display:grid;place-items:center;width:120px;min-height:130px;padding:12px;gap:10px;color:#263e33}.concertPerformer svg{width:80px;height:70px}.concertPerformer[aria-pressed=false]{filter:grayscale(.7);opacity:.7}.concertPerformer.concertPlaying{box-shadow:0 0 0 4px #e7bd65;animation:concertHop .4s ease-out}.concertActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.concertActions button:first-child{background:#263e33;color:#fffaf0}.concertNote{font-size:12px;color:#68735e}@keyframes concertHop{50%{transform:translateY(-7px) rotate(3deg)}}.still .concertPlaying{animation:none!important}@media(prefers-reduced-motion:reduce){.concertPlaying{animation:none!important}}@media(max-width:650px){#gardenConcert{padding:16px}.concertStage{min-height:310px;display:grid;gap:5px}.concertHost{justify-self:center}.concertHost img{height:70px}.concertPerformer{width:auto;min-height:100px;padding:8px}.concertPerformer svg{width:55px;height:50px}.concertBand{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.concertActions button{flex:1 1 120px}}
body[data-bonus=picnic] .garden{background-image:linear-gradient(#fffaf088,#fffaf0ba),url('assets/garden-worlds-v70.webp');background-size:auto,200% 200%;background-position:center,100% 0}body[data-bonus=friend] .garden{background-image:linear-gradient(#fffaf033,#fffaf088),url('assets/garden-worlds-v70.webp');background-size:auto,200% 200%;background-position:center,0 100%}body[data-bonus=friend] .branch{opacity:.5}body[data-bonus=friend] main,body[data-bonus=picnic] main{background:#fffaf0}.module .instrumentPatterns{margin-top:2px}
body[data-game=create] .stage #melodyLoop{display:block;background:#fffaf0bb;border-color:#d7c9aa}
#freeGardenPalette{background:#f4ead0;padding:12px;border-radius:16px;margin-bottom:14px}#freeGardenPalette p{font-size:14px}#freeGardenPalette button{min-width:42px;min-height:44px;margin:4px;padding:8px}#freeGardenPalette button[aria-pressed=true]{outline:3px solid #263e33}
.concertLoopControl{display:flex;align-items:center;gap:10px;margin:14px 0;font:600 15px/1.4 system-ui}.concertLoopControl input{width:24px;height:24px;accent-color:#263e33}
