/* Romantic panorama presentation. Logical coordinates and business actions stay in lovex-garden.js. */
.lx-garden-shell{max-width:1440px}
.lx-scene-frame{--scene-ground:#244b43;margin:12px 0;border:1px solid #72536f;border-radius:20px;background:#201c31;overflow:hidden;color:#fff0fa}
.lx-scene-toolbar{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#30263d;flex-wrap:wrap}
.lx-scene-toolbar button,.lx-scene-empty button{border:1px solid #bb8cae;border-radius:20px;background:#49354e;color:#fff0fa;padding:8px 16px;font:inherit;min-height:40px;cursor:pointer}
.lx-scene-toolbar button:disabled{opacity:.45;cursor:default}
.lx-scene-toolbar button:focus-visible,.lx-scene-empty button:focus-visible{outline:3px solid #ffe0a1;outline-offset:2px}
.lx-scene-zoom{margin-left:auto;font-variant-numeric:tabular-nums;color:#e9bfd7}
.lx-scene-viewport{width:100%;overflow:auto;position:relative;overscroll-behavior:contain;scrollbar-color:#c997b6 #30263d;touch-action:pan-x pan-y;background:radial-gradient(ellipse at 50% 35%,#695071,#29263b 75%)}
.lx-scene-viewport:focus-visible{outline:3px solid #ffe0a1;outline-offset:-4px}
.lx-scene-frame[data-zoomed=true] .lx-scene-viewport{cursor:grab}
.lx-scene-frame[data-zoomed=true] .lx-scene-viewport:active{cursor:grabbing}
.lx-scene-surface{position:relative;margin:0 auto;min-height:1px}
.lx-scene-stage{position:absolute;width:1440px;height:900px;left:0;top:0;transform-origin:top left}
.lx-scene-scenery{position:absolute;inset:0;pointer-events:none;z-index:2}
.lx-scene-object{position:absolute;height:auto;pointer-events:none;filter:drop-shadow(0 8px 6px #23302f33);user-select:none}
.lx-scene-art-error{padding:8px 16px;color:#ffe2a5;font-size:13px}
.lx-scene-art-error[hidden]{display:none}
.lx-scene-world.lx-garden-grid,.lx-scene-world.lx-decor-grid{display:block;position:absolute;width:1440px;height:900px;max-width:none;margin:0;padding:0;left:0;top:0;transform-origin:top left;isolation:isolate;background:url('/games/secret-garden/assets/scene/manor-panorama-ground-sparse-v2.webp') center/1440px 900px no-repeat}
.lx-scene-help{font-size:12px;line-height:1.6;margin:0;padding:10px 16px;color:#e6cce1}
.lx-scene-empty{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px 16px 16px;margin:0;color:#ffe1ee}
.lx-scene-empty[hidden]{display:none}
/* Scene controls are image hit targets, never native platform buttons (including disabled iOS controls). */
.lx-scene-world .lx-plot,.lx-scene-world .lx-cell{-webkit-appearance:none;appearance:none}
.lx-scene-world .lx-plot[data-status]{background:transparent}
/* Override the shared theme's !important disabled-control paint only for scene soil. */
.lx-garden-page .lx-scene-world .lx-plot:disabled{background:transparent!important;border:0!important}
.lx-scene-world .lx-plot{position:absolute;width:128px;height:76px;min-height:0;padding:0;margin:0;display:block;border:0;border-radius:0;background:none;overflow:visible;color:#fff;box-shadow:none;aspect-ratio:auto;pointer-events:none}
.lx-scene-world .lx-plot .lx-plot-ground{pointer-events:none}
.lx-scene-world .lx-plot::before{content:'';position:absolute;inset:0;clip-path:polygon(50% 5.3%,97% 44.7%,50% 84.2%,3% 44.7%);pointer-events:auto}
.lx-scene-world .lx-plot .lx-plot-art,.lx-scene-world .lx-plot .lx-plot-slot,.lx-scene-world .lx-plot .lx-plot-emoji,.lx-scene-world .lx-plot .lx-plot-lock{pointer-events:none}
.lx-scene-world .lx-plot .lx-plot-art{position:absolute;top:0;left:0;width:128px;height:72px;margin:0;filter:drop-shadow(0 5px 3px #101c2445)}
.lx-scene-world .lx-plot .lx-plot-art .lx-plot-crop{width:72px;height:72px;bottom:15px}
.lx-scene-world .lx-plot .lx-plot-slot{position:absolute;left:55px;top:38px;font-size:11px;line-height:18px;min-width:18px;padding:0 2px;border-radius:10px;background:#17242cbb;color:#fff}
.lx-scene-world .lx-plot .lx-plot-name,.lx-scene-world .lx-plot .lx-plot-sub,.lx-scene-world .lx-plot .lx-plot-timer{position:absolute;top:69px;left:50%;transform:translateX(-50%);font-size:12px;line-height:18px;white-space:nowrap;background:#241b30ee;border:1px solid #b386ab;border-radius:8px;padding:1px 6px;color:#fff1fa;display:none;pointer-events:none}
.lx-scene-world .lx-plot .lx-plot-sub{top:92px}
.lx-scene-world .lx-plot:hover,.lx-scene-world .lx-plot:focus-visible{z-index:100!important;outline:none;background:none}
.lx-scene-world .lx-plot:hover .lx-plot-art,.lx-scene-world .lx-plot:focus-visible .lx-plot-art{filter:drop-shadow(0 0 5px #ffe4ac)}
.lx-scene-world .lx-plot:hover .lx-plot-name,.lx-scene-world .lx-plot:focus-visible .lx-plot-name,.lx-scene-world .lx-plot:hover .lx-plot-sub,.lx-scene-world .lx-plot:focus-visible .lx-plot-sub,.lx-scene-world .lx-plot[data-status=growing] .lx-plot-timer,.lx-scene-world .lx-plot[data-status=ready] .lx-plot-sub{display:block}
.lx-scene-world .lx-plot[data-status=locked]{opacity:.65}
.lx-scene-world .lx-plot[data-status=ready] .lx-plot-sub{color:#ffe2a5;border-color:#e6c180}
/* Transparent soil diamonds avoid rectangular native button paint and clipped grass corners. */
.lx-scene-world .lx-plot .lx-plot-ground{display:block;width:128px;height:72px;border:0;background:transparent;clip-path:none}
.lx-scene-world .lx-plot .lx-plot-art .lx-plot-crop{width:100px;height:100px;bottom:22px;max-width:none}
.lx-scene-world .lx-plot[data-status=ready] .lx-plot-art .lx-plot-crop{width:116px;height:116px;bottom:20px;filter:drop-shadow(0 0 5px #ffe1a0)}
.lx-scene-world .lx-plot[data-status=ready] .lx-plot-sub{top:57px;background:#57401a;color:#fff4c8;border:2px solid #ffe4a0;font-weight:700;font-size:14px}
.lx-scene-world .lx-plot[aria-busy=true] .lx-plot-sub{display:block;background:#30263d;color:#fff}
.lx-scene-world .lx-plot[aria-busy=true]{opacity:.7}
/* Keep the lawn below both input layers: empty destinations must receive taps. */
.lx-scene-frame[data-scene=farm] .lx-scene-stage{background:url('/games/secret-garden/assets/scene/manor-panorama-ground-sparse-v2.webp') center/1440px 900px no-repeat}
.lx-scene-world.lx-garden-grid{z-index:1;background:none;pointer-events:none}
.lx-plot-targets{position:absolute;inset:0;pointer-events:none;z-index:0}
.lx-plot-targets[hidden]{display:none}
.lx-plot-target{-webkit-appearance:none;appearance:none;position:absolute;width:128px;height:64px;padding:0;border:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:#ffcce535;pointer-events:auto;cursor:pointer;color:transparent}
.lx-plot-target:disabled{pointer-events:none;opacity:.3}
.lx-plot-target::after{content:'';position:absolute;inset:2px;clip-path:inherit;background:#345e4966}
.lx-plot-target:hover,.lx-plot-target:focus-visible,.lx-plot-target[data-selected=true]{background:#ffe0a8;outline:0}
.lx-scene-frame[data-plot-editing=true] .lx-scene-viewport{touch-action:none}
.lx-scene-frame[data-plot-editing=true] .lx-plot{cursor:move}
.lx-scene-frame[data-plot-editing=true] .lx-plot[data-selected=true]{filter:drop-shadow(0 0 7px #ffe2a1);z-index:200!important}
.lx-scene-toolbar button[aria-pressed=true]{background:#795566;border-color:#ffe0a8}
.lx-scene-world .lx-garden-loading{position:absolute;top:400px;left:560px;color:#fff;background:#30263d;padding:20px}
.lx-scene-world .lx-cell{position:absolute;height:var(--tile-height,64px);min-height:0;aspect-ratio:auto;padding:0;margin:0;border:0;border-radius:0;display:block;overflow:visible;background:none;color:#fff;transform:translateY(-100%)}
.lx-scene-world .lx-cell[data-empty]{background:transparent;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);box-shadow:none;pointer-events:none}
.lx-scene-world .lx-cell[data-target]{pointer-events:auto}
.lx-scene-frame[data-editing=true] .lx-cell[data-empty]::after{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 64'%3E%3Cpath d='M64 1L127 32L64 63L1 32Z' fill='none' stroke='%23ffdeef' stroke-width='2'/%3E%3C/svg%3E") center/100% 100%;border:0}
.lx-scene-world .lx-cell[data-empty]:hover,.lx-scene-world .lx-cell[data-empty]:focus-visible{background:#e8c5d066;outline:0}
.lx-scene-frame[data-editing=true] .lx-cell[data-empty]{background:#be91b766}
.lx-scene-frame[data-editing=true] .lx-cell[data-target]{z-index:200!important}
.lx-scene-frame[data-editing=true] .lx-cell[data-empty]:hover,.lx-scene-frame[data-editing=true] .lx-cell[data-empty]:focus-visible{background:#ffd8a7bb}
.lx-scene-world .lx-cell[data-placement]{height:var(--tile-height,64px);min-height:0;pointer-events:none}
.lx-scene-world .lx-cell[data-placement]::before{content:'';position:absolute;inset:0;clip-path:var(--footprint);pointer-events:auto}
.lx-scene-world .lx-cell-art{display:block;position:absolute;bottom:0;left:var(--art-offset,0);width:100%;max-height:none;height:auto;margin:0;pointer-events:none;filter:drop-shadow(0 5px 4px #111a2444)}
.lx-scene-world .lx-cell[data-placement]:hover,.lx-scene-world .lx-cell[data-placement]:focus-visible{outline:0;filter:drop-shadow(0 0 4px #ffe1ad)}
.lx-scene-world .lx-cell-name{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);padding:2px 6px;border-radius:7px;font-size:12px;max-width:none;color:#fff;background:#2f213e;display:none}
.lx-scene-world .lx-cell:hover .lx-cell-name,.lx-scene-world .lx-cell:focus-visible .lx-cell-name{display:block}
.lx-scene-world .lx-cell-icon{pointer-events:none;font-size:48px}
.lx-scene-frame[data-area=living]{--scene-ground:#8b6b8c}
.lx-scene-frame[data-area=pool]{--scene-ground:#438287}
.lx-scene-frame[data-area=party]{--scene-ground:#6d477b}
.lx-scene-frame[data-scene=decor] .lx-scene-world::before{content:'';position:absolute;z-index:1;left:336px;top:268px;width:768px;height:384px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:var(--scene-ground);opacity:.22;pointer-events:none}
@media(max-width:600px){.lx-scene-toolbar{padding:10px;gap:6px}.lx-scene-toolbar button{font-size:13px;padding:7px 12px}.lx-scene-help{font-size:11px}.lx-scene-empty{font-size:13px}.lx-scene-frame{border-radius:14px}}
