
/* DOBO Social · Mi jardín — isolated, responsive profile wall. */
#doboGarden[hidden]{display:none!important}
#doboGarden{position:fixed;inset:0;z-index:65;background:#f4f0e6;color:#284033;font:inherit;overflow-y:auto;overscroll-behavior:contain}
#doboGarden *{box-sizing:border-box}
#doboGarden button{font:inherit;cursor:pointer}
#doboGarden button:focus-visible{outline:3px solid #7aa675;outline-offset:3px}
.dg-top{position:sticky;top:0;z-index:4;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(10px + env(safe-area-inset-top,0px)) max(14px,calc((100vw - 920px)/2)) 12px;background:#f9f7f0f5;border-bottom:1px solid #d8ddcf;backdrop-filter:blur(12px)}
.dg-back,.dg-top button{border:0;background:transparent;color:#274f3b;font-weight:700;font-size:14px;padding:9px;min-width:70px;border-radius:10px}
.dg-title{text-align:center;flex:1;min-width:0}.dg-title strong{display:block;font-family:Georgia,serif;font-weight:500;letter-spacing:.02em;font-size:clamp(22px,4.5vw,31px);color:#214633}.dg-title small{display:block;color:#687466;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dg-summary{text-align:center;padding:20px 14px 8px}.dg-summary p{color:#687667;margin:7px 0;font-size:13px}.dg-summary h2{font:normal 25px Georgia,serif;margin:0;color:#214633}
.dg-main{max-width:900px;margin:0 auto;padding:0 14px 36px}
.dg-wall{position:relative;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 8px 24px #39463412;padding:20px 12px 14px;border:1px solid #e5e7e3;min-height:500px}
.dg-wall:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background:repeating-linear-gradient(0deg,transparent 0 58px,#8c796c30 59px,#8c796c30 60px),repeating-linear-gradient(90deg,transparent 0 130px,#9e8a7240 131px,#9e8a7240 132px);mask-image:linear-gradient(#0008,#0005)}
.dg-decor{position:absolute;top:0;left:0;right:0;height:135px;pointer-events:none;overflow:hidden}
.dg-decor:before,.dg-decor:after{content:"";position:absolute;width:180px;height:130px;border-radius:50%;filter:blur(6px);opacity:.75;background:radial-gradient(ellipse at center,#6a866155,#48775015 65%,transparent 66%)}
.dg-decor:before{left:-70px;top:-50px}.dg-decor:after{right:-60px;top:-62px}
.dg-vines{position:relative;text-align:center;color:#7b8d5d7d;letter-spacing:16px;font-size:23px;user-select:none}
.dg-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(195px,240px));row-gap:20px;column-gap:4px;margin-top:20px}
.dg-slot{position:relative;display:flex;justify-content:center;align-items:flex-end;padding:8px 3px 24px;min-width:0}
.dg-slot:after{content:"";position:absolute;z-index:0;bottom:9px;left:-5%;right:-5%;height:16px;border-radius:3px;background:linear-gradient(#b68b59,#775333 50%,#5a3b25);box-shadow:0 9px 8px #392a1f53,inset 0 2px 2px #ecd4a0;pointer-events:none}
.dg-slot:before{content:"";position:absolute;z-index:0;bottom:-13px;left:18%;right:18%;height:24px;border-left:9px solid #735133;border-right:9px solid #735133;opacity:.85;pointer-events:none}
.dg-pot{position:relative;z-index:1;width:min(100%,195px);height:100%;max-height:200px;padding:7px 5px 3px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border:0;background:none;touch-action:none;color:#244536;user-select:none;-webkit-user-select:none;border-radius:12px;transition:background .15s,transform .15s}
.dg-pot:hover,.dg-pot:focus-visible{background:#fff7}
.dg-pot.dg-dragging{transform:scale(1.08);opacity:.7;filter:drop-shadow(0 10px 10px #0004)}
.dg-slot.dg-target{outline:2px dashed #236b47;outline-offset:-4px;border-radius:12px;background:#f5faef50}
.dg-photo{width:100%;height:150px;display:flex;justify-content:center;align-items:flex-end;overflow:hidden;filter:drop-shadow(0 5px 4px #34271750)}
.dg-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom;pointer-events:none}
.dg-pot.dg-unpublished .dg-photo{filter:grayscale(.8);opacity:.45}
.dg-pot.dg-unpublished .dg-photo img{opacity:.8}
.dg-state{position:absolute;top:7px;left:50%;transform:translateX(-50%);border-radius:20px;background:#f3efe8ec;border:1px solid #bfb8ac;color:#655d51;font-size:10px;font-weight:700;white-space:nowrap;padding:4px 7px;z-index:2;box-shadow:0 2px 5px #0002}
.dg-pot.dg-unpublished:after{content:"";position:absolute;inset:18% 8% 15%;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 11px,#ffffff26 11px 15px);border-radius:18px}
.dg-name{display:block;max-width:100%;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:#ffffffb8;border-radius:10px;padding:3px 7px;margin-top:3px}
.dg-empty{position:absolute;top:46%;font-size:22px;color:#6b8e754d;z-index:1;pointer-events:none}
.dg-pagination{display:flex;align-items:center;justify-content:center;gap:13px;margin:20px auto 10px}
.dg-arrow{background:#fff;border:1px solid #cad7c7;border-radius:50%;width:39px;height:39px;color:#24523a;font-size:25px;display:grid;place-items:center;line-height:1}
.dg-arrow:disabled{opacity:.3;cursor:default}
.dg-dots{display:flex;align-items:center;gap:8px}
.dg-dot{border:0;border-radius:50%;background:#becfbc;width:10px;height:10px;padding:0}
.dg-dot[aria-current="page"]{width:23px;border-radius:10px;background:#286b4e}
.dg-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;padding:10px 5px 0;color:#617262;font-size:12px;text-align:center}
.dg-footer button{border:1px solid #bed3bf;background:white;color:#255c42;border-radius:20px;padding:10px 13px;font-weight:700}
.dg-note{min-height:19px;color:#5b705f;text-align:center;font-size:12px;margin:8px 0}
.dg-actions[hidden]{display:none!important}
.dg-actions{position:fixed;inset:0;z-index:75;display:flex;align-items:end;justify-content:center;background:#121d17a8;padding:20px 10px calc(18px + env(safe-area-inset-bottom,0px))}
.dg-actions-box{background:#fff;color:#294332;border-radius:24px;padding:22px 18px;width:min(100%,440px);max-height:85dvh;overflow-y:auto;box-shadow:0 15px 50px #15271c80}
.dg-actions-box h3{font:normal 24px Georgia,serif;margin:0 0 6px}.dg-actions-box p{font-size:13px;line-height:1.5;color:#647166;margin:0 0 14px}
.dg-actions-buttons{display:grid;gap:9px}
.dg-actions-buttons button{background:#eef4ed;border:1px solid #dae5d8;border-radius:12px;color:#22503a;font-size:14px;font-weight:700;padding:14px;text-align:left;min-height:43px}
.dg-actions-buttons button.dg-warn{background:#fff0e8;border-color:#f0c7b8;color:#923f2b}
.dg-actions-buttons button.dg-cancel{background:white;border-color:#d5d9d2;text-align:center;color:#667067}
@media(min-width:650px){.dg-grid{grid-template-rows:repeat(2,minmax(240px,285px));row-gap:30px}.dg-photo{height:190px}.dg-wall{padding:25px 42px 25px}.dg-pot{max-height:240px}.dg-slot{padding-bottom:33px}.dg-summary{padding:27px 10px 17px}}
@media(max-width:370px){.dg-grid{grid-template-rows:repeat(2,180px);row-gap:12px}.dg-photo{height:115px}.dg-wall{min-height:430px}.dg-name{font-size:9px}.dg-state{font-size:9px;padding:3px 5px}}
@media(prefers-reduced-motion:reduce){#doboGarden *{transition:none!important}}

/* Minimal white banner; keep existing shelf geometry. */
.dg-wall:before,.dg-decor,.dg-vines{display:none}
.dg-order{border:1px solid #bed3bf;background:#fff;color:#255c42;border-radius:20px;padding:9px 14px;font-weight:700;margin:5px 0 2px}
#doboGarden [hidden]{display:none!important}

/* DOBO garden v3: two complete shelves in the mobile viewport. */
#doboGarden{background:#f5f3ed}
.dg-top{min-height:56px;padding:calc(7px + env(safe-area-inset-top,0px)) 13px 7px;background:#faf9f5f5;border-bottom-color:#e7e8df}
.dg-top button{min-width:54px;padding:7px 3px;font-size:13px}
.dg-title strong{font-size:clamp(21px,4.8vw,27px)}
.dg-title small{font-size:10px}
.dg-main{padding:0 10px 12px}
.dg-summary{padding:7px 5px 5px;display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}
.dg-summary h2,.dg-summary p{display:none}
.dg-order{margin:0;padding:7px 12px;font-size:12px;border-color:#d9e3d5;background:#fff;color:#305d46;box-shadow:0 1px 3px #25452b0b}
.dg-wall{background:linear-gradient(160deg,#faf9f4 0%,#f0f3eb 65%,#e9eee5 100%);border:1px solid #e2e8dd;border-radius:18px;box-shadow:0 5px 20px #243b2810,inset 0 1px #fff;min-height:0;padding:8px 9px 11px}
.dg-wall:before{display:block;content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 30%,#ffffffc9,transparent 70%);mask-image:none;opacity:1;pointer-events:none}
.dg-decor,.dg-vines{display:none}
.dg-grid{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px 4px;height:clamp(330px,calc(100dvh - 245px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),680px)}
.dg-slot{padding:0 1px 17px;overflow:visible}
.dg-slot:after{left:-3%;right:-3%;bottom:6px;height:12px;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,#d6ddcf 0%,#b8c7b4 26%,#91a98f 65%,#718d77 100%);box-shadow:0 6px 10px #36543a29,inset 0 2px 2px #ffffffb8;z-index:2}
.dg-slot:before{left:8%;right:8%;bottom:1px;height:5px;border:0;border-radius:0 0 50% 50%;background:#7d978080;opacity:.5}
.dg-pot{width:100%;height:100%;max-height:none;padding:0;justify-content:flex-end;border-radius:12px}
.dg-photo{height:auto;min-height:0;flex:1;width:100%;overflow:visible;display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(0 4px 3px #344b3638)}
.dg-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.dg-name{position:absolute;z-index:3;bottom:-5px;left:50%;transform:translateX(-50%);max-width:95%;font-size:10px;font-weight:600;line-height:1.1;background:#f9faf3e8;border:1px solid #dce5d8;border-radius:20px;padding:3px 8px;margin:0;color:#395444;box-shadow:0 1px 3px #1f42201c}
.dg-pagination{margin:6px auto 2px;gap:9px}
.dg-arrow{width:28px;height:28px;font-size:19px}
.dg-dot{width:7px;height:7px}.dg-dot[aria-current="page"]{width:18px}
.dg-footer{padding:3px 3px 0;gap:8px;font-size:10px}
.dg-footer button{padding:6px 9px;font-size:11px}
.dg-note{margin:3px 0;min-height:0;font-size:11px}
@media(min-width:650px){.dg-top{padding-left:max(14px,calc((100vw - 900px)/2));padding-right:max(14px,calc((100vw - 900px)/2))}.dg-main{max-width:800px}.dg-grid{height:min(68dvh,700px);gap:15px 10px}.dg-wall{padding:18px 24px 22px}.dg-name{font-size:12px}.dg-slot:after{height:15px}}
@media(max-width:370px){.dg-grid{height:clamp(310px,calc(100dvh - 225px),560px);gap:5px 2px}.dg-name{font-size:9px;padding:2px 5px}}
@media(max-height:700px) and (max-width:649px){.dg-grid{height:max(280px,calc(100dvh - 205px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}.dg-top{min-height:48px}.dg-summary{padding:4px}.dg-order{padding:5px 9px}}

/* DOBO garden v4 — organic stone jardineras, warm plaster, real user cutouts.
   Pure presentation: six accessible interactive slots, existing events untouched. */
#doboGarden{background:#eee6d9}
.dg-top{
  background:linear-gradient(100deg,#fff8edec,#f5f0e6ee);
  border-bottom:1px solid #e7dfd0;
  box-shadow:0 2px 12px #56472b10;
}
.dg-title strong{font-family:Georgia,serif;font-size:clamp(21px,4.7vw,28px);color:#274a35}
.dg-title small{display:none}
.dg-main{max-width:840px;padding:0 8px 10px}
.dg-summary{padding:5px 4px 5px;gap:8px}
.dg-order{
  padding:6px 11px;
  font-size:11px;
  font-weight:600;
  border:1px solid #cbd7c5;
  background:#faf8f0e8;
  color:#486249;
  border-radius:28px;
  box-shadow:none;
}
.dg-wall{
  background:#f4e9d8 url("./garden-wall-organic-v1.svg") center center/cover no-repeat;
  border:1px solid #e6d8c2;
  border-radius:22px;
  padding:0 8px 9px;
  min-height:0;
  box-shadow:0 4px 20px #6c604124,inset 0 0 22px #fff9ed48;
}
.dg-wall:before{
  display:block;
  background:radial-gradient(ellipse at 48% 45%,transparent 37%,#a9937120 100%);
  opacity:1;
  pointer-events:none;
}
.dg-grid{
  isolation:isolate;
  position:relative;
  margin-top:0;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:0;
  height:clamp(340px,calc(100dvh - 205px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),760px);
  --dobo-trough-height:clamp(56px,15.8vw,118px);
  --dobo-trough-offset:clamp(23px,6.1vw,46px);
}
.dg-grid:before,.dg-grid:after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:5;
  left:-1.5%;
  width:103%;
  height:var(--dobo-trough-height);
  background:url("./garden-trough-organic-v1.svg") center center/100% 100% no-repeat;
  filter:drop-shadow(0 7px 6px #453e2635);
}
.dg-grid:before{top:calc(50% - var(--dobo-trough-offset))}
.dg-grid:after{bottom:calc(0px - var(--dobo-trough-offset))}
.dg-slot{
  position:relative;
  z-index:auto;
  padding:0 0 13px;
  min-width:0;
  overflow:visible;
}
.dg-slot:before,.dg-slot:after{display:none}
.dg-pot{
  position:relative;
  z-index:3;
  width:100%;
  height:100%;
  max-height:none;
  padding:0;
  overflow:visible;
  background:none!important;
  -webkit-tap-highlight-color:transparent;
}
.dg-photo{
  flex:1;
  min-height:0;
  width:100%;
  height:100%;
  overflow:visible;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  filter:drop-shadow(0 7px 5px #322f2538);
}
.dg-photo img{
  display:block;
  height:100%;
  width:100%;
  max-width:none;
  object-fit:contain;
  object-position:center bottom;
  --dg-pot-scale:1.34;
  transform:translateY(var(--dg-pot-drop,0px)) scale(var(--dg-pot-scale));
  transform-origin:50% 100%;
}
.dg-name{display:none}
/* A slight overlap corrects the floating upper-row pots on the sculptural rim. */
.dg-slot:nth-child(-n+3) .dg-photo img{--dg-pot-drop:8px}
.dg-tag{
  position:absolute;z-index:7;left:50%;bottom:-9px;
  transform:translateX(-50%);max-width:calc(100% - 8px);
  padding:4px 9px 5px;white-space:nowrap;
  border:1px solid #a79579;border-radius:4px 4px 8px 8px;
  background:linear-gradient(160deg,#f6ecd8,#e3cfaf);
  color:#4b4d3c;box-shadow:0 3px 5px #3b30243d;
  font-size:clamp(9px,2.1vw,11px);line-height:1.2;font-weight:600;
  pointer-events:none;
}
.dg-tag-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dg-tag:before{
  content:"";position:absolute;left:50%;top:-8px;height:8px;
  border-left:1px solid #88765c;
}
.dg-state{z-index:6;top:12px}
.dg-empty{top:66%;color:#526d455c;font-size:24px}
.dg-pagination{margin:5px auto 2px}
.dg-footer{padding:4px 2px 0;gap:8px}
.dg-note{font-size:10px}
@media(min-width:650px){
  .dg-main{max-width:850px;padding:0 18px 12px}
  .dg-wall{padding:0 16px 18px}
  .dg-grid{height:min(71dvh,790px);--dobo-trough-height:clamp(76px,12vw,138px);--dobo-trough-offset:clamp(32px,4.8vw,54px)}
  .dg-photo img{--dg-pot-scale:1.29}
  .dg-slot{padding-bottom:18px}
  .dg-tag{bottom:-12px;padding:5px 12px;font-size:12px}
}
@media(max-width:375px){
  .dg-grid{height:max(315px,calc(100dvh - 196px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}
  .dg-photo img{--dg-pot-scale:1.27}
  .dg-order{font-size:10px;padding:5px 9px}
}
@media(max-height:660px) and (max-width:649px){
  .dg-grid{height:max(290px,calc(100dvh - 169px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}
  .dg-top{min-height:45px}
  .dg-summary{padding:3px 2px}
}
@media(prefers-reduced-motion:reduce){
  .dg-photo img{transition:none}
}

/* Desktop/tablet garden correction: size shelves from available width, not viewport height. */
@media (min-width:650px) {
  .dg-grid {
    height:auto;
    aspect-ratio:1.54;
    min-height:390px;
    max-height:540px;
    --dobo-trough-height:clamp(60px,5.6vw,79px);
    --dobo-trough-offset:clamp(22px,2.3vw,30px);
  }
  .dg-photo {max-height:260px}
  .dg-photo img {--dg-pot-scale:1.09}
  .dg-slot:nth-child(-n+3) .dg-photo img {--dg-pot-drop:4px}
}


/* Wood-and-metal garden, activated only after both user-supplied images load.
   The previous garden remains intact if either asset is missing. */
#doboGarden.dg-wood-ready .dg-main{max-width:1180px}
#doboGarden.dg-wood-ready .dg-wall{
 position:relative;width:100%;height:auto;aspect-ratio:1158/941;
 min-height:0;padding:0;border:0;border-radius:18px;overflow:hidden;
 background:#cba881 url('./garden-wood-desktop.webp') center/100% 100% no-repeat;
 box-shadow:0 6px 22px #27220d28
}
#doboGarden.dg-wood-ready .dg-wall::before,
#doboGarden.dg-wood-ready .dg-wall::after,
#doboGarden.dg-wood-ready .dg-decor,
#doboGarden.dg-wood-ready .dg-vines{display:none!important}
#doboGarden.dg-wood-ready .dg-grid{
 position:absolute;isolation:isolate;left:20%;top:20%;width:60%;height:51.5%;
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 grid-template-rows:repeat(2,minmax(0,1fr));gap:0;margin:0;min-height:0;
 max-height:none;aspect-ratio:auto
}
#doboGarden.dg-wood-ready .dg-grid::before,
#doboGarden.dg-wood-ready .dg-grid::after,
#doboGarden.dg-wood-ready .dg-slot::before,
#doboGarden.dg-wood-ready .dg-slot::after{display:none!important}
#doboGarden.dg-wood-ready .dg-slot{position:relative;z-index:1;padding:0;overflow:visible}
#doboGarden.dg-wood-ready .dg-slot:nth-child(n+4){z-index:3}
#doboGarden.dg-wood-ready .dg-pot{
 position:relative;z-index:2;max-height:none;height:100%;width:100%;
 padding:0;overflow:visible
}
#doboGarden.dg-wood-ready .dg-photo{
 height:100%;max-height:none;width:100%;overflow:visible;flex:1;
 display:flex;align-items:flex-end
}
#doboGarden.dg-wood-ready .dg-photo img{
 width:100%;height:94%;max-width:none;object-fit:contain;object-position:center bottom;
 --dg-pot-drop:0px;--dg-pot-scale:1.1;
 transform:translateY(1%) scale(var(--dg-pot-scale));transform-origin:50% 100%
}
#doboGarden.dg-wood-ready .dg-tag{
 z-index:5;bottom:-1%;font-size:clamp(9px,.85vw,13px);padding:3px 8px 4px
}
#doboGarden.dg-wood-ready .dg-empty{display:none}
@media(max-width:649px){
 #doboGarden.dg-wood-ready .dg-main{max-width:500px;padding:0 4px 12px}
 #doboGarden.dg-wood-ready .dg-wall{
  width:100%;height:auto;aspect-ratio:464/941;
  background-image:url('./garden-wood-mobile.webp');border-radius:15px
 }
 #doboGarden.dg-wood-ready .dg-grid{left:9%;top:24%;width:83%;height:44.6%}
 #doboGarden.dg-wood-ready .dg-photo img{--dg-pot-scale:1.12;height:94%}
 #doboGarden.dg-wood-ready .dg-tag{font-size:clamp(8px,2vw,11px);padding:2px 5px}
}

/* Garden photo alignment v2: reserve the wooden sign and mount each pot
   inside its own circular recess; labels live on shelf fronts. */
#doboGarden.dg-wood-ready .dg-photo img{
  height:71%;
  --dg-pot-scale:.88;
  --dg-pot-drop:0px;
  transform:translateY(0) scale(var(--dg-pot-scale));
}
#doboGarden.dg-wood-ready .dg-slot:nth-child(-n+3) .dg-photo img{
  --dg-pot-drop:0px;
}
#doboGarden.dg-wood-ready .dg-tag{
  bottom:-17%;
}
@media(max-width:649px){
  #doboGarden.dg-wood-ready .dg-photo img{
    height:75%;
    --dg-pot-scale:.92;
  }
  #doboGarden.dg-wood-ready .dg-tag{bottom:-13%}
}

/* DOBO Social · immersive garden view. Navigation floats over the photograph. */
#doboGarden.dg-wood-ready{height:100dvh;overflow-y:auto;background:#c6ac8a}
#doboGarden.dg-wood-ready .dg-top{
 position:fixed;top:0;left:0;right:0;z-index:30;
 min-height:0;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;
 background:none;border:0;box-shadow:none;backdrop-filter:none;
 pointer-events:none
}
#doboGarden.dg-wood-ready .dg-top button{
 pointer-events:auto;background:#fffdf2e8;color:#2c4435;
 border:1px solid #ffffffb0;border-radius:999px;
 box-shadow:0 2px 10px #251b1540;padding:10px 14px;
 min-width:0;font-size:13px
}
#doboGarden.dg-wood-ready .dg-title{display:none}
#doboGarden.dg-wood-ready .dg-summary{display:none}
#doboGarden.dg-wood-ready .dg-main{
 width:100%;max-width:none;padding:0;margin:0
}
#doboGarden.dg-wood-ready .dg-wall{
 width:100%;height:100dvh;aspect-ratio:auto;min-height:0;
 border-radius:0;box-shadow:none;
 background-size:cover;background-position:center center
}
#doboGarden.dg-wood-ready .dg-grid{
 /* Desktop image keeps a fixed aspect ratio; percentage coordinates attach to the visible photograph. */
 left:20%;top:20%;width:60%;height:51.5%
}
#doboGarden.dg-wood-ready .dg-pagination{
 position:relative;z-index:12;margin:10px auto 5px
}
#doboGarden.dg-wood-ready .dg-footer{padding:6px 14px 10px}
#doboGarden.dg-wood-ready #dgMigrate{display:none!important}
@media(max-width:649px){
 #doboGarden.dg-wood-ready .dg-top{
  padding:calc(8px + env(safe-area-inset-top,0px)) 10px 8px
 }
 #doboGarden.dg-wood-ready .dg-top button{font-size:12px;padding:9px 12px}
 #doboGarden.dg-wood-ready .dg-wall{
  height:100dvh;aspect-ratio:auto;
  background-size:cover;background-position:center center
 }
 #doboGarden.dg-wood-ready .dg-grid{left:9%;top:24%;width:83%;height:44.6%}
}

/* DOBO Social: simplified, image-overlay garden navigation */
#doboGarden.dg-wood-ready .dg-pagination{
 position:fixed!important;
 left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));
 transform:translateX(-50%);
 z-index:35;
 display:flex;align-items:center;justify-content:center;
 width:max-content;max-width:calc(100vw - 24px);
 margin:0!important;padding:8px 12px;
 border:1px solid #ffffff88;border-radius:999px;
 background:#f9f4e6dc;box-shadow:0 4px 20px #261a1740;
 backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
}
#doboGarden.dg-wood-ready .dg-pagination button{touch-action:manipulation}
#doboGarden.dg-wood-ready .dg-footer{display:none!important}
#doboGarden.dg-wood-ready .dg-note:empty{display:none}
#doboGarden.dg-wood-ready .dg-note:not(:empty){
 position:fixed;bottom:calc(83px + env(safe-area-inset-bottom,0px));
 left:50%;transform:translateX(-50%);z-index:36;
 max-width:min(90vw,460px);padding:8px 14px;border-radius:12px;
 color:#273b2b;background:#fff7eae8;font-size:12px;
 box-shadow:0 2px 8px #0003
}


/* Botanical DOBO garden: exact user-supplied 1672×941 and 941×1672 images.
   Keep the complete photograph visible (never background-size:cover).
   Each row aligns with a physical wooden shelf; pots remain interactive. */
#doboGarden.dg-wood-ready .dg-wall {
  height:auto!important;
  aspect-ratio:1672 / 941!important;
  background-image:url('./garden-botanical-desktop.webp')!important;
  background-position:center top!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  overflow:hidden;
}
#doboGarden.dg-wood-ready .dg-grid {
  left:29%!important;
  top:38%!important;
  width:42%!important;
  height:38%!important;
  margin:0!important;
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:0;
  isolation:isolate;
}
#doboGarden.dg-wood-ready .dg-slot {
  min-height:0;
  z-index:2;
}
#doboGarden.dg-wood-ready .dg-slot:nth-child(n+4){z-index:4}
#doboGarden.dg-wood-ready .dg-photo{height:100%;max-height:none}
#doboGarden.dg-wood-ready .dg-photo img{
  height:88%!important;
  --dg-pot-scale:1.12!important;
  transform:translateY(0) scale(var(--dg-pot-scale))!important;
  transform-origin:bottom center;
}
#doboGarden.dg-wood-ready .dg-tag {
  bottom:-5%!important;
  z-index:8;
  padding:2px 7px;
  font-size:clamp(9px,.78vw,12px);
  opacity:.9;
}
@media(max-width:649px){
  #doboGarden.dg-wood-ready .dg-wall{
    aspect-ratio:941 / 1672!important;
    background-image:url('./garden-botanical-mobile.webp')!important;
  }
  #doboGarden.dg-wood-ready .dg-grid{
    left:18%!important;
    top:42.5%!important;
    width:64%!important;
    height:24%!important;
  }
  #doboGarden.dg-wood-ready .dg-photo img{
    height:91%!important;
    --dg-pot-scale:1.07!important;
  }
  #doboGarden.dg-wood-ready .dg-tag{
    bottom:-5%!important;
    font-size:clamp(7px,1.8vw,10px);
    padding:2px 4px;
  }
}


/* Definitive DOBO garden – original wood display (Nov 25).
   Three LARGE user-design pots per shelf. Leaves may cover the central logo.
   Position uses the ACTUAL photographed shelf surfaces, not a clear sign zone. */
#doboGarden.dg-wood-ready .dg-wall{
  background-image:url('./garden-final-desktop.webp')!important;
  aspect-ratio:1672 / 941!important;
  height:auto!important;
  background-size:100% 100%!important;
  background-position:center!important;
}
#doboGarden.dg-wood-ready .dg-grid{
  left:26.5%!important;top:32.5%!important;
  width:43%!important;height:44%!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:0!important;overflow:visible!important;
}
#doboGarden.dg-wood-ready .dg-slot{
  padding:0!important;overflow:visible!important;
  z-index:2;
}
#doboGarden.dg-wood-ready .dg-slot:nth-child(n+4){z-index:5}
#doboGarden.dg-wood-ready .dg-pot,
#doboGarden.dg-wood-ready .dg-photo{
  overflow:visible!important;
  max-height:none!important;
  height:100%!important;
  width:100%!important;
}
#doboGarden.dg-wood-ready .dg-photo img{
  width:142%!important;height:142%!important;
  max-width:none!important;
  object-fit:contain!important;object-position:center bottom!important;
  transform:translateY(0) scale(1)!important;
  transform-origin:center bottom!important;
  flex-shrink:0;
}
#doboGarden.dg-wood-ready .dg-tag{
  z-index:9;bottom:-11%!important;
  padding:2px 6px!important;
  font-size:clamp(8px,.7vw,11px)!important;
  max-width:94%;
  pointer-events:none;
}
@media(max-width:649px){
  #doboGarden.dg-wood-ready .dg-wall{
    background-image:url('./garden-final-mobile.webp')!important;
    aspect-ratio:941 / 1672!important;
    height:auto!important;
  }
  #doboGarden.dg-wood-ready .dg-grid{
    left:17.5%!important;top:37.5%!important;
    width:65%!important;height:36%!important;
  }
  #doboGarden.dg-wood-ready .dg-photo img{
    width:143%!important;height:143%!important;
  }
  #doboGarden.dg-wood-ready .dg-tag{
    bottom:-10%!important;
    font-size:clamp(7px,1.6vw,10px)!important;
    padding:2px 4px!important;
  }
}


/* Shelf contact v3: lower ONLY the three upper interactive pot groups.
   Their bases now visually rest on the upper wooden shelf; lower row is unchanged.
   Narrow-screen close-up scales the photo and overlay together, not separately. */
#doboGarden.dg-wood-ready .dg-slot:nth-child(-n+3){
  transform:translateY(12%);
}
@media(max-width:649px){
  /* Center the COMPLETE photograph and its absolute pot overlay in the
     visible mobile viewport. The 25% close-up is preserved, without fixed offsets. */
  #doboGarden.dg-wood-ready .dg-main{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    height:100dvh;
    min-height:100dvh;
    overflow:hidden;
  }
  #doboGarden.dg-wood-ready .dg-wall{
    flex:0 0 auto;
    width:125%!important;
    margin:0!important;
  }
  #doboGarden.dg-wood-ready .dg-slot:nth-child(-n+3){
    transform:translateY(13%);
  }
  #doboGarden.dg-wood-ready .dg-main{
    overflow-x:clip;
  }
}

/* Desktop portrait garden correction — wall surrounds a vertically framed planter. */
@media (min-width:650px) {
  #doboGarden.dg-wood-ready {
    background:
      radial-gradient(ellipse at 50% 35%,#e8cda9 0%,#d0af89 64%,#b48c6e 100%);
  }
  #doboGarden.dg-wood-ready .dg-main {
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100dvh;
    padding:0 24px;
    overflow:visible;
  }
  #doboGarden.dg-wood-ready .dg-wall {
    flex:none;
    width:min(calc(100vw - 48px),calc(100dvh * 941 / 1672))!important;
    height:auto!important;
    aspect-ratio:941 / 1672!important;
    background-image:url('./garden-final-mobile.webp')!important;
    background-size:100% 100%!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    box-shadow:0 10px 44px #34251938;
    overflow:hidden;
  }
  /* The photographic shelf coordinates must follow the PORTRAIT photo,
     not the old desktop landscape coordinate system. */
  #doboGarden.dg-wood-ready .dg-grid {
    left:17.5%!important;
    top:37.5%!important;
    width:65%!important;
    height:36%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
  }
  #doboGarden.dg-wood-ready .dg-photo img {
    width:143%!important;
    height:143%!important;
  }
  #doboGarden.dg-wood-ready .dg-tag {
    bottom:-10%!important;
    font-size:clamp(7px,.8vw,11px)!important;
    padding:2px 4px!important;
  }
  #doboGarden.dg-wood-ready .dg-slot:nth-child(-n+3) {
    transform:translateY(13%);
  }
}

/* PC · Mi jardín shares the SAME 520px column as DOBO Social posts.
   Only the portrait scene can resize within that column; navigation stays inside. */
@media (min-width:650px) {
  #doboGarden.dg-wood-ready .dg-main {
    width:min(100%,520px)!important;
    max-width:520px!important;
    margin-inline:auto!important;
    padding:0!important;
    min-height:100dvh;
    overflow:hidden;
  }
  #doboGarden.dg-wood-ready .dg-wall {
    width:min(100%,calc(100dvh * 941 / 1672))!important;
    max-width:520px!important;
    margin-inline:auto!important;
  }
  #doboGarden.dg-wood-ready .dg-top {
    left:50%!important;
    right:auto!important;
    width:min(100%,520px)!important;
    max-width:520px!important;
    transform:translateX(-50%);
    justify-content:space-between;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  #doboGarden.dg-wood-ready .dg-top button {
    flex-shrink:0;
  }
}


/* DOBO Social reactions — anchored to each plant without blocking drag or menus. */
#doboGarden .dg-slot .dg-like-bubble{
  position:absolute;
  z-index:14;
  top:5px;
  right:3px;
  padding:4px 7px;
  border:1px solid #f0c9ca;
  border-radius:999px;
  background:#fff7f4ed;
  color:#bb4659;
  box-shadow:0 2px 9px #3c24231f;
  font-size:clamp(10px,1.7vw,13px);
  font-weight:700;
  line-height:1.1;
  white-space:nowrap;
  pointer-events:none;
}
@media(max-width:370px){
  #doboGarden .dg-slot .dg-like-bubble{font-size:9px;top:1px;right:0;padding:3px 5px}
}
