.quest-app .game-card:has(.forest-sensors)>.instruction,.quest-app .game-card:has(.forest-sensors)>.quest-story-button{display:none}
.quest-app .game-card:has(.forest-sensors) #board{width:100%;flex:1;min-height:0;display:flex;padding:0}
.forest-sensors{width:100%;min-height:450px;display:flex;flex-direction:column;gap:4px;padding:6px;border-radius:18px;background:#eaf3df;color:#274d32;box-shadow:inset 0 0 0 2px #a3bb7d}
.forest-sensors header{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:6px 9px;border-radius:12px;background:#fff9dc;font-size:13px}.forest-sensors header span{white-space:nowrap;font-size:11px}.forest-rule,.forest-count,.forest-small{margin:0;text-align:center;font-weight:700;font-size:12px;line-height:1.25}.forest-rule{padding:3px}.forest-small{font-size:10px}.forest-field{position:relative;flex:1;min-height:240px;overflow:hidden;border:3px solid #d1b975;border-radius:15px;background:#83a979 url('assets/forest-sensor-scene.jpg') center/cover;touch-action:none}.forest-object,.forest-boat,.forest-drop,.forest-rock,.forest-exit,.forest-seed{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%)}.forest-object,.forest-seed{border:0;background:transparent;padding:0;touch-action:manipulation}.forest-sprite{display:block;width:100%;height:100%;background-image:url('assets/forest-sensor-sprites.png');background-size:400% 200%;background-position:var(--sx) var(--sy);background-repeat:no-repeat;pointer-events:none}.forest-flower{width:68px;height:72px}.forest-flower.selected:after,.forest-seed.selected:after{content:'';position:absolute;inset:2px;border:3px solid #fff2a5;border-radius:50%;box-shadow:0 0 15px #fff3a9}.forest-flower.done{filter:drop-shadow(0 0 7px #ffed86)}.forest-flower small{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);padding:2px 5px;background:#fffbe1;border-radius:8px;font-size:10px;color:#33562a}.forest-seed{width:45px;height:45px}.forest-seed span{display:block;width:33px;height:33px;border-radius:50%;background:repeating-conic-gradient(#fff9e7 0 8deg,transparent 8deg 22deg),radial-gradient(#dac98b 0 18%,transparent 20%);filter:drop-shadow(0 1px 2px #766d40)}.forest-squirrel{position:absolute;bottom:0;right:0;width:85px;height:85px;pointer-events:none}.forest-acorn{width:62px;height:65px;filter:drop-shadow(0 2px 3px #273b16)}.forest-drop{width:23px;height:28px;display:grid;place-items:center;border:2px solid white;border-radius:60% 60% 60% 10%;transform:translate(-50%,-50%) rotate(-45deg);background:linear-gradient(#9befff,#2384c0);color:white;box-shadow:0 0 9px #aef5ff}.forest-boat{width:82px;height:82px;z-index:3;pointer-events:none}.forest-rock{width:38px;height:31px;border-radius:48% 52% 42% 47%;background:radial-gradient(ellipse at 35% 25%,#b4b5a1,#747b6a 65%,#4a5e52);box-shadow:0 3px 4px #244e39}.forest-rock.moving{animation:forest-drift 2.6s ease-in-out infinite alternate;background:#5d925e url('assets/forest-sensor-sprites.png') 100% 100%/400% 200%;border-radius:50%;box-shadow:none}@keyframes forest-drift{to{transform:translate(-35%,-50%)}}.forest-exit{padding:5px 10px;border-radius:15px;background:#fff2bfcc;color:#74562e;font-weight:800;font-size:11px}.forest-exit.open{background:#fff6a7;box-shadow:0 0 12px #fff49e}.forest-meter{height:7px;background:#bfd5ac;border-radius:9px;overflow:hidden}.forest-meter span{display:block;height:100%;background:linear-gradient(90deg,#4ab7b6,#ffd565);transition:width .1s}.forest-controls{display:flex;gap:4px}.forest-controls button{flex:1;min-width:0;min-height:44px;padding:5px;border:1px solid #9ebd7c;border-radius:12px;background:linear-gradient(#fffdf0,#e6f1d4);color:#315630;font-size:11px;font-weight:800}.forest-controls button:active{transform:scale(.97)}.forest-ar-celebrate{position:absolute;z-index:100;top:25%;left:50%;transform:translateX(-50%);padding:16px;border-radius:20px;background:#fff6ce;color:#4a742f;font-size:24px;font-weight:900;box-shadow:0 0 30px #f8dc71;animation:forest-cheer 1s ease-in-out infinite alternate}@keyframes forest-cheer{to{transform:translateX(-50%) scale(1.1)}}
.quest-app .game-card:has(.forest-sensors) #board{margin:3px 0 0;overflow:hidden}
.forest-sensors{flex:1;min-height:0;height:100%;overflow:hidden}.forest-field{min-height:0}.forest-sensors header,.forest-rule,.forest-count,.forest-meter,.forest-controls{flex-shrink:0}.forest-small{display:none}.quest-app .game-card:has(.forest-sensors)>#game-note{margin:3px 0 0;font-size:10px;line-height:1.2;min-height:14px}
.map-view.forest .map-top{flex-wrap:wrap}.map-view.forest .ballet-map-picker{margin-left:auto;border-color:#80a273;background:#f4fae7;color:#315a37}

.forest-sensors[data-stage="1"] .forest-field{background-image:url("assets/forest-flower-clearing.webp")}
