/* GARDEN (owner 2026-10-30, P1): placeholder backdrop made of CSS; Codex pictures (F198) replace it through --gd-sky / --gd-far / --gd-ground */
#screen-garden { position: absolute; inset: 0; overflow: hidden; background: #bfe6ff; }
#screen-garden .gd-sky, #screen-garden .gd-far, #screen-garden .gd-fence, #screen-garden .gd-ground { position: absolute; left: 0; right: 0; }
#screen-garden .gd-sky { top: 0; height: 52%; background: var(--gd-sky, linear-gradient(#8fd0ff, #d7f0ff)); background-size: cover; background-position: center; }
#screen-garden .gd-far { top: 30%; height: 22%; background: var(--gd-far, radial-gradient(ellipse 30% 90% at 20% 100%, #b9e3a8 60%, transparent 62%), radial-gradient(ellipse 36% 100% at 62% 100%, #a6da97 60%, transparent 62%), radial-gradient(ellipse 26% 80% at 92% 100%, #c4e8b2 60%, transparent 62%)); }
#screen-garden .gd-fence { top: 43%; height: 11%; background: repeating-linear-gradient(90deg, #f3d9a4 0 14px, #e5c27d 14px 16px, transparent 16px 30px), linear-gradient(#e5c27d, #e5c27d) 0 70% / 100% 10% no-repeat; border-bottom: 3px solid #1b1d4d; }
#screen-garden .gd-ground { top: 54%; bottom: 0; background: var(--gd-ground, linear-gradient(#8fd66b, #6cc04a)); background-size: cover; border-top: 3px solid #1b1d4d; }
#screen-garden .gd-pet { position: absolute; left: 14%; bottom: 8.9%; height: 36.65%; width: auto; translate: -50% 0; transform-origin: 50% 100%; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .15)); }
#screen-garden .gd-pet.arrive { animation: gd-arrive 1.1s ease-out both; }
@keyframes gd-arrive { 0% { opacity: 0; } 100% { opacity: 1; } } /* the pet just fades in: it never grows in place (owner 15776) */
#screen-garden .gd-back { position: absolute; left: 12px; top: 12px; width: 48px; height: 48px; padding: 0; border: 0; background: none; z-index: 5; }
#screen-garden .gd-back img { width: 100%; height: 100%; object-fit: contain; }
/* day / evening / night follow the real clock (like the windows); the lamp glow shows after dusk */
#screen-garden[data-part="evening"] { filter: sepia(.35) saturate(1.2) hue-rotate(-12deg) brightness(.92); }
#screen-garden[data-part="night"] { filter: brightness(.82) saturate(.9) hue-rotate(8deg); } /* owner 15657: the night garden was too dark: lighter, plus moonlight and light pools */
#screen-garden .gd-glow { position: absolute; left: 70%; top: 44%; width: 26%; height: 26%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 160, .95), rgba(255, 238, 160, 0) 70%); opacity: 0; transition: opacity .6s; pointer-events: none; mix-blend-mode: screen; }
#screen-garden.lamps-on .gd-glow { opacity: 1; filter: brightness(2); }
/* owner 16049: the temporary door-opening effect (a drawn sky/grass box behind the door and the leaf folding by clip-path) is REMOVED: a door opens only with its own opening pictures (closed / half / open frames, js/home.js doorFrame); a door without frames stays closed */
.room-item[data-id^="door"] .door-garden { display: none !important; }
body.reduced .room-item[data-id^="door"] > .art, body.reduced #screen-garden .gd-pet.arrive { transition: none; animation: none; }

/* P2: the ground picker (whole lower half changes, like choosing a floor); placeholders drawn by CSS until the Codex ground pictures (F198) arrive */
#screen-garden[data-ground="tile"] .gd-ground { background: linear-gradient(90deg, rgba(27,29,77,.35) 2px, transparent 2px) 0 0 / 72px 36px, linear-gradient(rgba(27,29,77,.35) 2px, transparent 2px) 0 0 / 72px 36px, #cfc7bd; }
#screen-garden[data-ground="wood"] .gd-ground { background: repeating-linear-gradient(0deg, rgba(120, 76, 34, .45) 0 3px, transparent 3px 44px), repeating-linear-gradient(90deg, rgba(120, 76, 34, .25) 0 2px, transparent 2px 160px), #d9a566; }
#screen-garden .gd-ground-pick { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; z-index: 5; }
#screen-garden .gd-ground-pick button { width: 48px; height: 48px; border-radius: 50%; border: 3px solid #1b1d4d; padding: 0; background: #8fd66b; box-shadow: 0 3px 0 #1b1d4d; }
#screen-garden .gd-ground-pick button[data-ground="tile"] { background: linear-gradient(90deg, #1b1d4d55 2px, transparent 2px) 0 0 / 16px 16px, linear-gradient(#1b1d4d55 2px, transparent 2px) 0 0 / 16px 16px, #cfc7bd; }
#screen-garden .gd-ground-pick button[data-ground="wood"] { background: repeating-linear-gradient(0deg, #784c2299 0 2px, transparent 2px 10px), #d9a566; }
#screen-garden .gd-ground-pick button.on { outline: 4px solid #ffd23f; outline-offset: 1px; }
/* P2b / P3: planting strip, outdoor pieces, tray, messages. Placeholder pictures (.ph) are emoji on a colour block until the Codex art arrives */
#screen-garden .gd-pic.ph { display: inline-grid; place-items: center; border-radius: 14px; border: 3px solid #1b1d4d; font-size: 28px; line-height: 1; min-width: 40px; min-height: 40px; }
#screen-garden .gd-pic img { display: block; max-width: 100%; max-height: 100%; }
#screen-garden .gd-plots { position: absolute; left: 4%; right: 4%; bottom: 3%; height: 22%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; z-index: 3; pointer-events: none; }
#screen-garden .gd-plot { position: relative; padding: 0; border: 3px solid #1b1d4d; border-radius: 12px; background: #8a5a34; display: grid; place-items: center; pointer-events: auto; min-height: 44px; box-shadow: inset 0 -6px #6e4425; }
#screen-garden .gd-plot .gd-pic.ph { border: 0; background: transparent !important; font-size: 34px; min-width: 0; min-height: 0; }
#screen-garden .gd-plot.empty .gd-pic.ph { background: transparent !important; }
#screen-garden .gd-plot.ripe { animation: gd-ripe 1s ease-in-out infinite; box-shadow: 0 0 0 3px #ffd23f, inset 0 -6px #6e4425; }
@keyframes gd-ripe { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 4px)); } } /* keeps the base translate: a bare translateY dropped every ripe plant by its own height (found 11-04 checking the new beds) */
#screen-garden .gd-items { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; } /* no own z-index: every piece sorts against the pet by its feet line (owner 15662) */
#screen-garden .gd-item { position: absolute; width: max-content; /* owner 110 (2026-12-01): a piece near the right edge shrank to the space left of its anchor (left:93% = 7% room) and the picture followed (max-width:100%) */ transform: translate(-50%, -100%); pointer-events: auto; touch-action: none; }
#screen-garden .gd-item.hang { transform: translate(-50%, -50%); }
#screen-garden .gd-item.sel { outline: 3px dashed #ffd23f; outline-offset: 4px; border-radius: 12px; }
#screen-garden .gd-del { position: absolute; right: -14px; top: -14px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #1b1d4d; background: #ff7a8a; color: #fff; font: 900 18px/1 system-ui; padding: 0; }
#screen-garden .gd-add { position: absolute; right: 12px; top: 70px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #1b1d4d; background: #ffd23f; font: 900 30px/1 system-ui; color: #1b1d4d; padding: 0; box-shadow: 0 3px 0 #1b1d4d; z-index: 5; }
#screen-garden .gd-tray { position: absolute; right: 70px; top: 66px; display: flex; flex-wrap: wrap; gap: 6px; width: min(380px, 66%); max-height: calc(100% - 78px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; box-sizing: border-box; padding: 8px; background: #fffdf5; border: 3px solid #1b1d4d; border-radius: 16px; z-index: 6; } /* the tray scrolls inside the screen (owner 15674: the new pieces were below the screen edge) */
#screen-garden .gd-tile { width: 54px; height: 54px; padding: 3px; border-radius: 12px; border: 2px solid #1b1d4d; background: #fff6df; display: grid; place-items: center; }
#screen-garden .gd-seeds { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 10px; padding: 14px 18px 10px; background: #fffdf5; border: 3px solid #1b1d4d; border-radius: 18px; z-index: 7; }
#screen-garden .gd-seed { display: grid; justify-items: center; gap: 4px; padding: 8px 10px; border: 2px solid #1b1d4d; border-radius: 14px; background: #fff6df; font: 800 14px system-ui; color: #1b1d4d; min-width: 76px; }
#screen-garden .gd-x { position: absolute; right: -12px; top: -12px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #1b1d4d; background: #ff7a8a; color: #fff; font: 900 18px/1 system-ui; padding: 0; }
#screen-garden .gd-msg { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); padding: 8px 18px; background: #fffdf5; border: 3px solid #1b1d4d; border-radius: 18px; font: 900 22px system-ui; color: #1b1d4d; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 8; }
#screen-garden .gd-msg.show { opacity: 1; }
#screen-garden .gd-pet { z-index: 1; }

#screen-garden [hidden] { display: none !important; }
.room-item[data-id^="door"] .door-garden.wc-room { background: #dff3f2 !important; }

/* the garden button in the pet room (only with the garden switched on, only on the pet-room screen) */
.gd-open { position: fixed; left: 12px; top: 66px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #1b1d4d; background: #c9f0b0; font-size: 26px; line-height: 1; padding: 0; box-shadow: 0 3px 0 #1b1d4d; display: none; }
body[data-screen="title"] .gd-open:not([hidden]) { display: grid; place-items: center; }
/* the pet-room toys / marks never show in the garden (owner 2026-10-30, 15079: the room ball showed in the garden and flew to the top-left when tapped) */
body[data-screen="garden"] :is(.room-ball, .room-sponge, .room-poop, .rest-ball, .pet-ghost, .room-bubble, .wish-bubble) { display: none !important; }

#screen-garden .gd-pet.walking { animation: gd-bob .36s ease-in-out infinite; }
@keyframes gd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5%); } }
body.reduced #screen-garden .gd-pet.walking { animation: none; }

/* 2026-11-02 free planting (owner 15390/15536): plants stand where the child tapped; the plant button turns planting mode on; flat landscaping pieces (patio, path, pond, raised-bed cells) lie under the plants and the pet */
#screen-garden .gd-plants { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
#screen-garden .gd-plant { position: absolute; transform: translate(-50%, -100%); padding: 0; border: 0; background: none; pointer-events: auto; min-width: 44px; min-height: 44px; display: grid; place-items: end center; }
#screen-garden .gd-plant::before { content: ""; position: absolute; left: 50%; bottom: 2px; width: 46px; height: 14px; margin-left: -23px; border-radius: 50%; background: #6e4425; box-shadow: inset 0 3px #8a5a34; z-index: -1; }
#screen-garden .gd-plant[data-bed]::before { display: none; }
#screen-garden .gd-plant .gd-pic.ph { border: 0; background: transparent !important; font-size: 34px; min-width: 0; min-height: 0; }
#screen-garden .gd-plant .gd-pic img { max-height: 70px; }
#screen-garden .gd-plant.ripe { animation: gd-ripe 1s ease-in-out infinite; filter: drop-shadow(0 0 6px #ffd23f); }
#screen-garden .gd-item.flat { z-index: 1; }
#screen-garden .gd-plantbtn { position: absolute; right: 12px; top: 128px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #1b1d4d; background: #c9f0b0; font-size: 26px; line-height: 1; padding: 0; box-shadow: 0 3px 0 #1b1d4d; z-index: 5; }
#screen-garden .gd-plantbtn.on { background: #ffd23f; outline: 4px solid #1b1d4d; outline-offset: 1px; }
#screen-garden.planting .gd-ground { box-shadow: inset 0 0 0 4px #ffd23f; }

/* real garden background picture (owner 15625): replaces the CSS placeholder sky / far / fence / ground */
#screen-garden .gd-bgpic { position: absolute; inset: 0; display: none; background-size: cover; background-position: 50% 100%; background-repeat: no-repeat; }
#screen-garden.has-bgpic .gd-bgpic { display: block; }
#screen-garden.has-bgpic .gd-sky, #screen-garden.has-bgpic .gd-far, #screen-garden.has-bgpic .gd-fence, #screen-garden.has-bgpic .gd-ground { display: none; }
#screen-garden .gd-tile .gd-pic img { width: auto; max-width: 44px; max-height: 44px; object-fit: contain; }
#screen-garden[data-part="night"]::after, #screen-garden[data-part="evening"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(ellipse 70% 55% at 50% 78%, rgba(255, 244, 205, .28), rgba(255, 244, 205, 0) 72%); mix-blend-mode: screen; }
#screen-garden .gd-item { }
#screen-garden .gd-light { position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; translate: -50% -55%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 233, 150, .9), rgba(255, 233, 150, 0) 70%); mix-blend-mode: screen; pointer-events: none; z-index: -1; }
#screen-garden .gd-pet { touch-action: none; }
#screen-garden[data-part="day"] .gd-light { display: none; }
#screen-garden.bg-baked[data-part="evening"], #screen-garden.bg-baked[data-part="night"] { filter: none; } /* dusk / night pictures have their light baked in (Codex, owner 2026-11-02): no extra dimming */
#screen-garden.bg-baked[data-part="evening"]::after, #screen-garden.bg-baked[data-part="night"]::after { display: none; }
#screen-garden.bg-baked .gd-glow { display: none; } /* the old CSS lamp blob is not needed with the baked evening / night pictures */
#screen-garden.bag-on .gd-add, #screen-garden.bag-on .gd-plantbtn { display: none; }
#screen-garden .gd-bag { z-index: 8; }
/* owner 15686: the bag shows every piece WHOLE (no cropped top / sides): the picture is scaled to fit inside its card */
#gd-bagtray .pet-item { overflow: hidden; }
#gd-bagtray .pet-item > span { display: grid; place-items: center; width: 100%; height: 100%; }
#gd-bagtray .pet-item .gd-pic { display: grid; place-items: center; width: 100%; height: 100%; }
#gd-bagtray .pet-item .gd-pic img { width: auto !important; height: auto !important; max-width: 48px; max-height: 48px; object-fit: contain; }
#screen-garden .gd-shopbtn { position: absolute; right: 12px; top: 186px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #1b1d4d; background: #ffd9ec; font-size: 24px; line-height: 1; padding: 0; box-shadow: 0 3px 0 #1b1d4d; z-index: 5; }
#screen-garden.bag-on .gd-shopbtn { display: none; }
#gd-bagtray .pet-item { position: relative; } #gd-bagtray .pet-item .gd-count { position: absolute; right: 4px; bottom: 2px; font: 900 11px/1 system-ui; font-style: normal; color: #1b1d4d; background: #fff; border: 2px solid #1b1d4d; border-radius: 9px; padding: 1px 4px; }
#shop .shop-item .gd-pic img { max-width: 70px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
/* owner 15697: pieces sort by feet line with z-index up to ~960, so every control and the bag panel sit ABOVE that range */
#screen-garden .gd-back, #screen-garden .gd-add, #screen-garden .gd-plantbtn, #screen-garden .gd-shopbtn, #screen-garden .gd-seeds, #screen-garden .gd-msg, #screen-garden .gd-tray, #screen-garden .gd-ground-pick { z-index: 2000; }
#screen-garden .gd-bag { z-index: 2100; }
/* like the room: pieces can only be picked up and moved while the bag is open (build mode) */
#screen-garden:not(.bag-on) .gd-item { pointer-events: none; }

/* the garden is WIDER than the screen (the background picture is 3:1): pieces, plants and the pet live in #gd-world, which slides left / right (owner 15710); the buttons, bag, shop stay on the screen */
#screen-garden .gd-world { position: absolute; top: 0; bottom: 0; left: 0; width: var(--gd-ww, 100%); transform: translateX(calc(-1px * var(--gd-cam, 0))); transition: transform .5s ease-out; will-change: transform; }
#screen-garden .gd-world.dragging { transition: none; }
#screen-garden .gd-bgpic { background-size: 100% 100%; background-position: 0 0; }
#screen-garden .gd-waterbtn { position: absolute; right: 12px; top: 244px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #1b1d4d; background: #bfe9ff; font-size: 24px; line-height: 1; padding: 0; box-shadow: 0 3px 0 #1b1d4d; z-index: 2000; }
#screen-garden .gd-waterbtn.on { background: #ffd23f; outline: 4px solid #1b1d4d; outline-offset: 1px; }
#screen-garden.bag-on .gd-waterbtn { display: none; }
/* the 8 cells of a soil plot: invisible tap targets over the picture (a faint ring while planting / watering) */
#screen-garden .gd-item .gd-cell { position: absolute; padding: 0; border: 0; background: transparent; pointer-events: auto; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
#screen-garden.bag-on .gd-item .gd-cell { pointer-events: none; }
#screen-garden.planting .gd-item .gd-cell, #screen-garden.watering .gd-item .gd-cell { outline: 2px dashed rgba(255, 255, 255, .8); outline-offset: -4px; }
#screen-garden .gd-coinpick { position: absolute; transform: translate(-50%, -135%); width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 3px solid #1b1d4d; background: #ffd23f; box-shadow: 0 3px 0 #1b1d4d; font: 900 14px/1 system-ui; color: #1b1d4d; pointer-events: auto; z-index: 4; animation: gd-coin-bob 1.1s ease-in-out infinite; }
@keyframes gd-coin-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -5px; } }
body.reduced #screen-garden .gd-coinpick { animation: none; }
#screen-garden .gd-world { touch-action: none; } /* the pan surface: no native browser panning (Codex review, touch) */
#gd-bag #gd-tabs .build-tab[data-k] .rail-ic.own, #gd-bag #gd-tabs .build-tab[aria-selected="true"][data-k] .rail-ic.own, #shop #shop-tabs .shop-tab[data-k] .rail-ic.own { background-image: var(--ic) !important; }
/* a seat piece can be tapped when the bag is closed (the pet sits in it) */
#screen-garden:not(.bag-on) .gd-item[data-use], #screen-garden:not(.bag-on) .gd-item[data-bounce] { pointer-events: auto; cursor: pointer; }

/* the garden's own buttons follow the room's picture buttons (owner 15811): back / bag / shop use the room's top-bar pictures, plant + water get the glossy green button look */
#screen-garden .gd-back { background: url(art/ui3/btn-owner-back.png) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; }
#screen-garden .gd-back img { opacity: 0; }
#screen-garden .gd-add { background: url(art/ui3/topbar/owner-backpack.png) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; color: transparent !important; font-size: 0 !important; width: 58px; height: 58px; }
#screen-garden .gd-shopbtn { background: url(art/ui3/topbar/owner-shop.png) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; font-size: 0 !important; width: 58px; height: 58px; }
#screen-garden .gd-plantbtn, #screen-garden .gd-waterbtn { background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .85) 0 11%, rgba(255, 255, 255, 0) 12%), linear-gradient(#3fe0a0, #11a56d) !important; border: 3px solid #0e3a38 !important; box-shadow: inset -3px -5px 0 rgba(0, 60, 40, .28), 0 3px 0 #0e3a38 !important; }
#screen-garden .gd-plantbtn.on, #screen-garden .gd-waterbtn.on { filter: brightness(1.12) saturate(1.1); outline: 4px solid #ffd23f; outline-offset: 1px; }
#screen-garden .gd-add { top: 66px; } #screen-garden .gd-plantbtn { top: 128px; } #screen-garden .gd-shopbtn { top: 188px; } #screen-garden .gd-waterbtn { top: 248px; }
#shop .shop-item .shop-ico { min-height: 0; } #shop .shop-item .shop-ico .gd-pic img { max-height: 54px; }

/* Codex round picture buttons (F246, approved 2026-11-02): planting and watering buttons are pictures (normal / on), shown 58 px wide */
#screen-garden .gd-plantbtn { background: url(art/ui3/gd-plant.png) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; font-size: 0 !important; width: 58px; height: 58px; outline: 0 !important; }
#screen-garden .gd-plantbtn.on { background-image: url(art/ui3/gd-plant-on.png) !important; filter: none; }
#screen-garden .gd-waterbtn { background: url(art/ui3/gd-water.png) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; font-size: 0 !important; width: 58px; height: 58px; outline: 0 !important; }
#screen-garden .gd-waterbtn.on { background-image: url(art/ui3/gd-water-on.png) !important; filter: none; }
/* the watering can (owner 15831): no button; it appears over the tapped plant, tilts, pours and goes away by itself. The picture is Codex F249 */
#screen-garden .gd-can { position: absolute; width: 70px; height: 70px; transform: translate(-50%, -110%); pointer-events: none; z-index: 2000; }
#screen-garden .gd-can[hidden] { display: none; }
#screen-garden .gd-can img { width: 100%; height: 100%; object-fit: contain; }
#screen-garden .gd-can.pour { animation: gd-can-pour 1.5s ease-in-out both; }
@keyframes gd-can-pour { 0% { opacity: 0; transform: translate(-50%, -140%) rotate(0); } 20% { opacity: 1; transform: translate(-50%, -110%) rotate(0); } 45%, 80% { opacity: 1; transform: translate(-50%, -110%) rotate(-28deg); } 100% { opacity: 0; transform: translate(-50%, -110%) rotate(-28deg); } }
body.reduced #screen-garden .gd-can.pour { animation-duration: .01s; }
/* owner 15840: the garden's bag and shop buttons sit EXACTLY where the pet room's do (measured in the room: shop 54 x 44 at right edge 102 px, bag 50 x 44 at right edge 48 px, top 6 px) */
#screen-garden .gd-shopbtn { top: calc(6px + env(safe-area-inset-top)); right: calc(102px + env(safe-area-inset-right)); width: 54px; height: 44px; }
#screen-garden .gd-add { top: calc(6px + env(safe-area-inset-top)); right: calc(48px + env(safe-area-inset-right)); width: 50px; height: 44px; }
#screen-garden .gd-item .gd-wet { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; object-fit: fill; }
/* garden shop tiles use 144 px thumbnails (owner 15860): keep them tile-sized */
#shop-grid .shop-ico .gd-pic img { width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
/* real crop pictures (Codex F248): bottom-centred canvas, the plant's base is at 93.75 % of the picture height; width set per stage in garden.js (CROP_W) */
#screen-garden .gd-plant { transform: translate(-50%, -93.75%); }
#screen-garden .gd-plant .gd-pic img { max-height: none; height: auto; }
#screen-garden .gd-seeds .gd-pic img { width: 64px; height: 64px; object-fit: contain; }
/* garden shop tile: owned count + sell-back pill (owner 15862) */
/* owner 15892: no oval outline round the price: the coin and the number, centred (applies to both shops, one card format) */
#shop#shop .shop-item .shop-price, #shop#shop .shop-item.food-item .shop-price { background: none !important; width: auto !important; height: 20px !important; padding: 0 !important; gap: 4px !important; justify-content: center; font-size: 15px; font-weight: 900; }
#shop#shop .shop-item .shop-price .coin-ico, #shop#shop .shop-item.food-item .shop-price .coin-ico { display: inline-block !important; width: 16px; height: 16px; flex: none; }
#shop#shop .shop-item .shop-price .coin-ico { background: url(art/ui2/coin.webp) center / contain no-repeat; width: 18px; height: 18px; vertical-align: middle; }
/* watering can (Codex F254): 120 px wide picture, the spout (128,340 of 512x544 = 30,80 css) sits 36 px above the plant's base */
#screen-garden .gd-can { width: 120px; height: 128px; transform: translate(-30px, -116px); pointer-events: none; z-index: 2000; opacity: 0; transition: opacity .15s; }
#screen-garden .gd-can.in { opacity: 1; animation: none; }
#screen-garden .gd-can img { position: absolute; left: 0; top: 0; width: 120px; height: 128px; object-fit: contain; }
/* owner 15889/15895: the same breathing room round the picture in EVERY shop card (room and garden): equal space above the picture and below it (the cream plate sits under it) */
#shop#shop .shop-item.food-item .shop-ico img, #shop#shop .shop-item.food-item .shop-ico .art { inset: 12% 10% 18% 10% !important; width: 80% !important; height: 70% !important; }
/* owner 15897: UNIFORM spacing in the multi-buy shop card (room food cards + garden cards share this): 8 px frame, 4 px between every row, stepper = circle / box / circle with equal gaps and centred, the cart button inside the card with the same 8 px margin as the sides */
@media (orientation: landscape) {
  #shop#shop #shop-grid.one-row { grid-template-rows: minmax(0, 236px) !important; }
  #shop#shop .shop-item.food-item { padding: 19px 13px 19px !important; gap: 4px !important; justify-content: flex-start; }
  #shop#shop .shop-item.food-item .shop-ico { margin: 0 !important; }
  #shop#shop .shop-item.food-item .shop-name { height: 12px; line-height: 12px; font-size: 10px; margin: 0 !important; }
  #shop#shop .shop-item.food-item .shop-price { margin: 0 !important; height: 20px !important; padding: 0 !important; }
  #shop#shop .shop-item.food-item .shop-qty { margin: 0 !important; height: 34px; justify-content: center; align-items: center; gap: 4px; }
  #shop#shop .shop-item.food-item .shop-qb { flex: none; width: 30px; height: 30px; min-width: 30px; min-height: 30px; background-position: center center; background-size: 30px 30px; }
  #shop#shop .shop-item.food-item .shop-qty output { flex: none; width: 36px; height: 26px; align-self: center; }
  #shop#shop .shop-item.food-item .shop-btn { height: 40px !important; min-height: 40px !important; margin: 0 !important; }
}
/* owner 15898: the plus and minus circles are IDENTICAL (same size, same weight): a disabled one is not faded, it just does nothing */
#shop#shop .shop-item .shop-qb, #shop#shop .shop-item .shop-qb:disabled { opacity: 1 !important; filter: none !important; background-size: 30px auto !important; background-position: center !important; }
/* the two pictures have different margins: scale + place each so both circles are 28 px and centred in the 32 px button (measured from the alpha boxes: minus circle 115/120, plus circle 106/120) */
#shop#shop .shop-item .shop-qb[data-delta="-1"] { background-size: 27.1px auto !important; background-position: 1.6px 1.8px !important; }
#shop#shop .shop-item .shop-qb[data-delta="1"] { background-size: 29.4px auto !important; background-position: -0.9px 1.8px !important; }
#screen-garden .gd-item .gd-shadow { position: absolute; pointer-events: none; object-fit: fill; z-index: 0; }
/* owner 15908: no plate / shadow under the picture, and the same space above the picture as below the cart button */
#shop#shop .shop-item .shop-ico::before { display: none !important; }
#shop#shop .shop-item.food-item .shop-ico img, #shop#shop .shop-item.food-item .shop-ico .art { inset: 0 !important; width: 100% !important; height: 100% !important; }
/* owner 15911: green BUY + red SELL buttons side by side on every shop card (Codex pictures btn_buy_half / btn_sell_half, 512x320 each, shown ~56 x 35 css) */
#shop#shop .shop-item .shop-act { display: flex; flex: none; gap: 4px; width: 100%; height: 36px; margin: 0; padding: 0; }
#shop#shop .shop-item .shop-act .shop-btn.buy, #shop#shop .shop-item .shop-act .shop-btn.sell { position: relative; flex: 1 1 0; width: auto !important; min-width: 0 !important; height: 36px !important; min-height: 36px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: url(art/ui/shop/btn_buy_half.png) center / 100% 100% no-repeat !important; opacity: 1; filter: none; }
#shop#shop .shop-item .shop-act .shop-btn.sell { background-image: url(art/ui/shop/btn_sell_half.png) !important; }
#shop#shop .shop-item .shop-act .shop-btn.need, #shop#shop .shop-item .shop-act .shop-btn.done, #shop#shop .shop-item .shop-act .shop-btn.none, #shop#shop .shop-item .shop-act .shop-btn.sell.none { filter: saturate(.2) brightness(1.05); opacity: .85; }
#shop#shop .shop-item .shop-act .shop-btn > span { position: absolute; right: 7px; top: 2px; left: auto; bottom: auto; font: 900 11px/1 system-ui; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
/* owner 15914: the plant layer is not its own stacking context any more: every plant carries its own z-index (bed's z + 1) so it stands inside its bed */
#screen-garden .gd-plants { z-index: auto; }
/* owner 15919: a shop card has TWO rectangles (outer border + inner frame at 7.9 % x / 7.4 % y of the card picture): every row sits inside the inner one with a 2-3 px margin */
@media (orientation: landscape) {
  #shop#shop .shop-item:not(.food-item) { padding: 13px 10px 13px !important; }
  #shop#shop .shop-item.food-item .shop-act, #shop#shop .shop-item:not(.food-item) .shop-act { height: 33px; }
  #shop#shop .shop-item .shop-act .shop-btn.buy, #shop#shop .shop-item .shop-act .shop-btn.sell { height: 33px !important; min-height: 33px !important; }
}
/* owner 15932: ONE margin (6 px) from the inner rectangle to the content on all four sides, and the SAME 6 px between rows. Inner rectangle = 7.9 % x / 7.4 % y of the card (card.webp): card 133 x 236 -> padding 16.5 / 23.5 */
@media (orientation: landscape) {
  #shop#shop .shop-item.food-item { padding: 23.5px 16.5px !important; gap: 6px !important; }
  #shop#shop .shop-item:not(.food-item) { padding: 14px 11.5px !important; gap: 4px !important; }
}
@media (orientation: landscape) {
  #shop#shop .shop-item.food-item .shop-qty { gap: 3px !important; }
  #shop#shop .shop-item.food-item .shop-qty output { width: 32px !important; }
  #shop#shop .shop-item.food-item .shop-qty output::before { width: 32px !important; }
}

/* the pet held by a finger (owner 15982): same look as the room - lifted, a little bigger, shadow on the ground, in front of everything */
#screen-garden .gd-pet.held { transform: translateY(-16px) scale(1.1) rotate(-4deg); filter: drop-shadow(0 22px 6px rgba(0, 0, 0, .28)); z-index: 100000 !important; }

/* the "placed in your game, sell anyway?" question (owner 15988): centred card over the shop, two equal buttons */
.sell-ask { position: fixed; inset: 0; z-index: 200000; display: flex; align-items: center; justify-content: center; background: rgba(40, 30, 20, .45); }
.sell-ask-card { background: #fff7e6; border: 3px solid #b8895a; border-radius: 18px; padding: 16px 18px; max-width: min(86vw, 360px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 700; color: #4a3626; }
.sell-ask-card p { margin: 0; font-size: 16px; line-height: 1.35; }
.sell-ask-row { display: flex; gap: 12px; width: 100%; }
.sell-ask-row button { flex: 1 1 0; min-height: 44px; border-radius: 14px; border: 3px solid #4a3626; font: inherit; font-size: 16px; color: #fff; }
.sell-ask-yes { background: #d9272e; }
.sell-ask-no { background: #2fa24a; }

/* after a purchase the buy button shows a tick for 1.5 s (owner 15989) */
#shop#shop .shop-item .shop-act .shop-btn.buy.ticked { background-image: none !important; background-color: #2fa24a !important; border: 2px solid #1b6a33 !important; border-radius: 12px; filter: none; opacity: 1; }
#shop#shop .shop-item .shop-act .shop-btn.buy.ticked > svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%; }
#shop#shop .shop-item .shop-act .shop-btn.buy.ticked > span { display: none; }

/* A + B (owner 15995): green tick badge on the picture corner while owned; the buy button flashes a tick for 1 s after a purchase */
#shop#shop .shop-item .shop-ico { position: relative; }
#shop#shop .shop-item .own-tick { position: absolute; top: 0; right: 0; width: 22px; height: 22px; border-radius: 50%; background: #2fa24a; border: 2px solid #1b6a33; box-sizing: border-box; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#shop#shop .shop-item .own-tick svg { width: 14px; height: 14px; }

/* ---- owner 16003 + 16014: BIGGER shop cards, 4 columns x 2 rows = 8 per page, no bottom pager, green arrow + swipe (room shop = garden shop) ----
   a plain cream card with ONE brown line (no inner yellow line); the picture takes all the space above the price; "Have N" is a small pill on the picture's top-left corner (the owned tick is on the top-right); the buttons keep their picture's own shape (512x320). */
@media (orientation: landscape) {
  #shop#shop #shop-grid.big.big { --sg: 10px; left: calc(7.3% + var(--sg) + 6px); right: calc(1.2% + 46px + var(--sg)); top: calc(13.4% + var(--sg)); bottom: var(--sg); grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-template-rows: repeat(2, minmax(0, 1fr)) !important; gap: var(--sg) !important; align-content: stretch; } /* owner 16024: the space between the cards, from the cards to the tab rail, the header, the arrow column and the panel's bottom line is ONE value (--sg) */
  /* owner 16024: the awning picture and the title go UP together until the word 'Shop' reaches the panel's top line, freeing the space for the cards */
  #shop .shop-card::before { top: -2.6% !important; width: 11.6% !important; height: 16% !important; } /* the awning goes up as far as the screen's top edge (nothing cut off) */
  #shop#shop #shop-title { left: 18.6% !important; top: 1.3% !important; width: 24% !important; height: 12% !important; padding: 0 3.2vw 0 1.4vw !important; font-size: clamp(15px, 2.7vw, 25px) !important; } /* owner 16051: the ribbon hugs the house icon (its native 573:137 shape), in the lower part of the house, the roof pokes above the panel's top line */
  #shop#shop #shop-grid.big.big .shop-item { padding: 6px !important; display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto auto; column-gap: 8px; row-gap: 3px; background: #fffaf0 !important; border: 1.5px solid #ecdcbf !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 3px rgba(150, 110, 60, .10) !important; border-radius: 16px !important; align-items: center; overflow: hidden; position: relative; }
  #shop#shop #shop-grid.big.big .shop-ico { grid-column: 1 / 3; grid-row: 1; min-height: 0 !important; width: 100% !important; height: 100% !important; max-height: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; position: relative; }
  #shop#shop #shop-grid.big.big .shop-ico img, #shop#shop #shop-grid.big.big .shop-ico .gd-pic img, #shop#shop #shop-grid.big.big .shop-ico .art { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; position: static !important; inset: auto !important; margin: 0 !important; } #shop#shop #shop-grid.big.big .shop-ico .gd-pic { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; } /* Codex QA 2026-11-12 RT01: the unicorn car (a room picture inside .gd-pic) ran 139 px tall past the card top and label because max-height:100% had no sized parent */ #shop#shop #shop-grid.big.big .shop-ico img, #shop#shop #shop-grid.big.big .shop-ico .art { max-width: calc(100% - 12px) !important; } /* Codex QA-0400-01: pages-layouts.css gave the picture position:absolute + a 4% left inset, so wide pictures (long table, long cabinet) ran past the card's right edge */
  /* "Have N" (left) and the price (right) share one line under the picture */
  #shop#shop #shop-grid.big.big .shop-name { grid-column: 1; grid-row: 2; justify-self: end; margin: 0 !important; padding: 0; font-size: 13px; line-height: 1.3; font-weight: 800; color: #4a3626; height: auto !important; overflow: visible !important; }
  #shop#shop #shop-grid.big.big .shop-item > .shop-price, #shop#shop #shop-grid.big.big .shop-item > .shop-row { grid-column: 2; grid-row: 2; justify-self: start; margin: 0 !important; padding: 0 !important; display: flex; align-items: center; font-size: 14px; }
  #shop#shop #shop-grid.big.big .shop-act { grid-column: 1 / 3; grid-row: 3; width: 100% !important; height: auto !important; gap: 8px; justify-content: center; }
  #shop#shop #shop-grid.big.big .shop-act .shop-btn.buy, #shop#shop #shop-grid.big.big .shop-act .shop-btn.sell { flex: 0 1 54px !important; height: auto !important; min-height: 0 !important; width: auto !important; min-width: 0 !important; aspect-ratio: 512 / 320; }
  #shop#shop #shop-grid.big.big .own-tick { top: 2px; right: 2px; width: 20px; height: 20px; }
  /* no bottom pager: the two arrows are green round buttons in a column at the right edge of the panel; the page number is not shown */
  #shop#shop #shop-pager { left: auto !important; right: 1.2%; top: calc(13.4% + 10px); bottom: 10px; width: 7% !important; height: auto !important; transform: none !important; flex-direction: column; justify-content: center; gap: 14px; pointer-events: none; }
  #shop#shop #shop-pager .shop-pg-n { display: none !important; }
  #shop#shop #shop-pager .shop-pg { pointer-events: auto; flex: none; width: 46px !important; height: 46px !important; min-width: 46px; border-radius: 50% !important; border: 3px solid #1b6a33 !important; background: #2fa24a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat !important; box-shadow: 0 2px 0 rgba(0, 0, 0, .25) !important; }
  #shop#shop #shop-pager #shop-prev { order: 2; transform: scaleX(-1); }
  #shop#shop #shop-pager #shop-next { order: 1; }
  #shop#shop #shop-pager .shop-pg:disabled { display: none !important; }
}

/* settings: five link buttons (switch player, parent zone, help, update, problem log) stay on ONE row so the page still fits one screen (gate regress 'settings fit one screen', 2026-11-03) */
#settings .set-v2 .set-links { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 5px !important; }
#settings .set-v2 .set-links .sub-btn { font-size: 11.5px !important; padding: 3px 4px !important; }

/* owner 16035/16037: the scalloped awning strip of the owner's own shop reference (handoff/in/owner-shop-reference-2026-10-28.jpg; the strip is Codex's cut-out awning.png) runs along the top of the panel behind the title, coin pill and close button */
@media (orientation: landscape) {
  #shop .shop-card::after { content: ''; position: absolute; left: 1.6px; right: 1.6px; top: 1.6px; height: 8.5%; background: url(art/ui/shop/awning-strip.png) left top / 100% 100% no-repeat; border-radius: 28px 28px 0 0; pointer-events: none; z-index: 0; }
  #shop#shop #shop-title, #shop#shop #shop-coins, #shop#shop #shop-close { z-index: 3; }
}

/* owner 16041 'Format': the English Enter button text was wider than the button's lettering box (28.7 px on a 72 px box, touching the frame); same lettering box as the Chinese picture, text sized to sit inside it with even margins */
html[lang="en"] #screen-landing .land-enter::after { left: 14% !important; width: 72% !important; top: 30% !important; height: 55% !important; font-size: calc(min(100vw, 100dvh * 1864 / 843) * 0.0235) !important; letter-spacing: 0 !important; }

/* owner 16045 (his own shop background picture, sent again): the picture IS the shop page background (jungle behind, cream panel with the scalloped awning); the panel box of the CSS (inset 2.5% 3.8% 2%) sits exactly on the panel of the picture, so the page's parts keep their places. The panel itself is transparent now. */
@media (orientation: landscape) {
  #shop#shop.modal { background: #246f65 url(art/ui/shop/page-bg.jpg) center / 100% 100% no-repeat !important; }
  #shop#shop .shop-card { background: transparent !important; border: 0 !important; }
  #shop#shop .shop-card::after { content: none !important; }
}

/* owner 16052: the category tabs are BIGGER (picture up to 58 px) and CLOSER (the tab boxes overlap their transparent margins) */
@media (orientation: landscape) {
  #shop#shop .shop-tab { flex: 0 0 41px !important; min-height: 41px !important; height: 41px !important; margin: 0 !important; }
  #shop#shop .shop-tab .rail-ic { max-width: 54px !important; max-height: 54px !important; width: 54px !important; height: 54px !important; flex: none; } /* the picture is bigger than its 41 px box on purpose: neighbours overlap only their transparent margins */
}

/* owner 16060: the garden category tabs use the owner's own pictures (pill + picture in one); the selected one gets a soft blue ring */
#shop#shop .shop-tab.on .rail-ic.own, #gd-bag #gd-tabs .build-tab.on .rail-ic.own { filter: drop-shadow(0 0 2px #3f7fe0) drop-shadow(0 0 2px #3f7fe0); }
#shop#shop .shop-tab .rail-ic.own { width: 66px !important; height: 32px !important; max-width: none !important; max-height: none !important; background-size: 100% 100% !important; background-position: center !important; }
#shop#shop .shop-tab:has(.rail-ic.own) { flex: 0 0 52px !important; height: 52px !important; min-height: 52px !important; }
#shop#shop #shop-tabs .shop-tab[data-k] .rail-ic.own, #shop#shop #shop-tabs .shop-tab.on[data-k] .rail-ic.own { background-image: var(--ic) !important; }

/* the bouncy castle (owner 16068): the pet bounces on it, the castle squashes with every landing */
@keyframes gd-bounce { 0%, 100% { transform: translateY(var(--bounce-base, -40px)); } 50% { transform: translateY(calc(var(--bounce-base, -40px) - 46px)); } }
@keyframes gd-squash { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.04, .94); } }
#screen-garden .gd-pet.bouncing { animation: gd-bounce .5s ease-in-out 7; }
#screen-garden .gd-item.bounced > img { transform-origin: 50% 100%; animation: gd-squash .5s ease-in-out 7; }
body.reduced #screen-garden .gd-pet.bouncing, body.reduced #screen-garden .gd-item.bounced > img { animation: none; }

/* owner 16085: a lit lamp must visibly give light: stronger warm centre and a wider soft pool (lamps are ON by default) */
.light-glow { width: 260%; background: radial-gradient(circle, rgba(255, 244, 190, .85) 0%, rgba(255, 232, 150, .5) 22%, rgba(255, 226, 140, .22) 45%, rgba(255, 226, 140, .07) 62%, rgba(255, 226, 140, 0) 76%) !important; mix-blend-mode: normal; }

/* the garden glimpse behind an open door (owner 16063): visible only while the opening pictures are shown */
.room-item .door-glimpse { visibility: hidden; max-width: none; user-select: none; -webkit-user-drag: none; }
.room-item.door-framed .door-glimpse { visibility: visible; }

/* owner 16172 (2026-11-03): no shadow under garden objects either (same rule as the room, owner 16164 A). The pet keeps its shadow. */
#screen-garden .gd-item .gd-shadow { opacity: 0 !important; }

/* owner 16199 (2026-11-03): no round frame / oval clip around buttons that are pictures: the shop, bag, plant, water and back pictures of the garden were clipped to an oval (their corners cut off) */
#screen-garden .gd-back, #screen-garden .gd-add, #screen-garden .gd-shopbtn, #screen-garden .gd-plantbtn, #screen-garden .gd-waterbtn { border-radius: 0 !important; overflow: visible !important; }

/* owner 16201 (2026-11-03): the coins that pop out when you water / plant are the Codex coin picture (same as the coin counter), not a CSS yellow circle */
#screen-garden .gd-coinpick { background: url(art/ui2/coin.webp) center / contain no-repeat !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; width: 46px; height: 46px; }
#screen-garden .gd-coinpick b { display: block; font: 900 14px/46px system-ui; color: #1b1d4d; text-shadow: 0 0 2px #fff6c8, 0 0 2px #fff6c8; }

/* owner 16204: placing a garden piece works like the pet room: green cells where it will stand (red = no room, grey = taken) */
#screen-garden #gd-items .gd-grid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#screen-garden #gd-items .gd-grid i { position: absolute; box-sizing: border-box; border: 0; }
#screen-garden #gd-items .gd-grid i.go { background: rgba(80, 200, 100, .5); border: 1px solid rgba(255, 255, 255, .8); }
#screen-garden #gd-items .gd-grid i.no { background: rgba(230, 70, 70, .5); border: 1px solid rgba(255, 255, 255, .8); }
#screen-garden #gd-items .gd-grid i.busy { background: rgba(120, 120, 120, .28); }

/* owner 16205: same flat ground shadow for the held pet in the garden */
#screen-garden .gd-pet.held { filter: none !important; }
#screen-garden .gd-pet.held::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 62%; height: 12px; margin-left: -31%; border-radius: 50%; background: rgba(27, 29, 77, .26); filter: blur(1.5px); pointer-events: none; z-index: -1; transform: translateY(18px) rotate(4deg) scale(.91); }

/* owner 16198 (2026-11-03): the category pills were cut off on the right at 667x375 (the pill picture was wider than the rail): it now shrinks to the rail width, same proportions */
#shop#shop .shop-tab .rail-ic.own { width: 100% !important; max-width: 66px !important; height: auto !important; aspect-ratio: 66 / 32; box-sizing: border-box; }
#shop#shop .shop-tab .rail-ic:not(.own) { width: min(54px, 100%) !important; height: auto !important; aspect-ratio: 1 / 1; max-width: 100% !important; max-height: none !important; }

/* owner 16259: info card shown on EVERY tap of a planted soil cell: picture of the plant, its name, the time left, stage dots */
#screen-garden .gd-info { position: absolute; left: 50%; top: 14%; transform: translate(-50%, -8px); z-index: 2100; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 16px; border: 3px solid #1b1d4d; background: #fff8e8; box-shadow: 0 3px 0 rgba(27, 29, 77, .25); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
#screen-garden .gd-info.show { opacity: 1; transform: translate(-50%, 0); }
#screen-garden .gd-info-pic { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; }
#screen-garden .gd-info-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
#screen-garden .gd-info-ico { font-size: 38px; line-height: 1; }
#screen-garden .gd-info-txt { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
#screen-garden .gd-info-txt b { font: 900 17px/1.1 system-ui; color: #1b1d4d; }
#screen-garden .gd-info-txt span { font: 800 15px/1.1 system-ui; color: #49445f; }
#screen-garden .gd-info-dots { display: flex; gap: 5px; margin-top: 3px; }
#screen-garden .gd-info-dots i { width: 14px; height: 14px; border-radius: 50%; background: #e0d8c2; border: 2px solid #1b1d4d; box-sizing: border-box; }
#screen-garden .gd-info-dots i.on { background: #5cc15a; }
#screen-garden.bag-on .gd-plant, #screen-garden.bag-on .gd-plant *, #screen-garden.bag-on .gd-cell, #screen-garden.bag-on .gd-cell * { pointer-events: none !important; } /* owner 17025/17026: with the bag open a finger on a planted field / pot grabs the PIECE (the plants follow it), not the plant button on top */
