/* garden */
.gd-root { position: absolute; inset: 0; padding: 4px 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.gd-head { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding-right: 0; }
.gd-title { font-size: 22px; font-weight: 900; color: #fff; text-shadow: var(--outline); }
.gd-title.sm { font-size: 17px; }
.gd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gd-plot { position: relative; height: 90px; border-radius: 18px; border: 2px solid var(--gold); background: radial-gradient(ellipse at 50% 85%, rgba(150,100,70,.55), rgba(255,250,245,.82) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; box-shadow: 0 2px 6px rgba(90,30,60,.25); transition: transform .12s cubic-bezier(.3,1.6,.5,1); }
.gd-plot[data-nav]:active { transform: scale(.94); }
.gd-plot.locked { background: rgba(255,250,245,.7); }
.gd-plot.far { opacity: .5; }
.gd-lock { font-size: 26px; }
.gd-plus { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #ffb3cf, var(--pink)); color: #fff; font-size: 30px; font-weight: 900; line-height: 40px; text-align: center; text-shadow: var(--outline); border: 2px solid #fff; }
.gd-lbl { font-size: 13px; font-weight: 900; color: var(--ink); }
.gd-price { display: inline-flex; align-items: center; gap: 3px; font-weight: 900; font-size: 14px; color: var(--ink); }
.gd-price img { width: 20px; height: 20px; object-fit: contain; }
.gd-crop { --s: .6; width: 52px; height: 52px; object-fit: contain; transform: scale(var(--s)); transform-origin: 50% 100%; transition: transform .5s; filter: drop-shadow(0 3px 3px rgba(90,30,60,.3)); }
.gd-bar { width: 80%; height: 8px; border-radius: 5px; background: rgba(93,47,72,.2); overflow: hidden; }
.gd-fill { height: 100%; background: linear-gradient(90deg, var(--mint), var(--mint-d)); border-radius: 5px; }
.gd-plot.ready { border-color: #ffe28a; box-shadow: 0 0 12px rgba(255,226,138,.95); }
.gd-plot.ready .gd-crop { --s: 1; animation: gd-bounce .8s ease-in-out infinite; }
.gd-plot.ready .gd-fill { background: linear-gradient(90deg, #ffe28a, var(--gold)); }
.gd-plot.ready .gd-spark { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(255,246,190,.9), transparent 60%); animation: pulse 1.4s ease-in-out infinite; }
.gd-plot.ready > * { position: relative; }
.gd-plot.ready > .gd-spark { position: absolute; }
@keyframes gd-bounce { 0%, 100% { transform: translateY(0) scale(var(--s)); } 50% { transform: translateY(-7px) scale(calc(var(--s) * 1.08)); } }
.gd-spots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gd-spot { min-height: 96px; border-radius: 18px; border: 2px solid var(--gold); background: rgba(255,250,245,.85); padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; box-shadow: 0 2px 6px rgba(90,30,60,.25); }
.gd-spot:active { transform: scale(.95); }
.gd-spot.wait { filter: saturate(.6); }
.gd-spot.ready { border-color: #ffe28a; box-shadow: 0 0 10px rgba(255,226,138,.9); }
.gd-spot-n { font-size: 14px; font-weight: 900; color: var(--ink); }
.gd-pool { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.gd-pool img { width: 26px; height: 26px; object-fit: contain; }
.gd-pool img.rare { filter: drop-shadow(0 0 4px #ffd34a); }
.gd-seed { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 4px 8px; border-radius: 14px; background: rgba(255,255,255,.8); border: 2px solid var(--gold-l); cursor: pointer; }
.gd-seed.poor { opacity: .55; }
.gd-seed img { width: 44px; height: 44px; object-fit: contain; }
.gd-seed-n { font-weight: 900; font-size: 15px; }
.gd-big-t { font-size: 28px; font-weight: 900; color: var(--pink-d); }

/* crafting */
.cr-root { position: absolute; inset: 0; padding: 4px 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.cr-title { font-size: 22px; font-weight: 900; color: #fff; text-shadow: var(--outline); min-height: 40px; display: flex; align-items: center; }
.cr-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-slot { position: relative; height: 128px; border-radius: 20px; border: 3px solid var(--gold); background: rgba(255,250,245,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px; box-shadow: 0 3px 8px rgba(90,30,60,.28); }
.cr-slot.empty { border-style: dashed; background: rgba(255,250,245,.6); }
.cr-plus { font-size: 34px; font-weight: 900; color: var(--pink); }
.cr-hint { font-size: 13px; font-weight: 800; color: var(--ink); }
.cr-pic { width: 52px; height: 52px; object-fit: contain; }
.cr-sn { font-size: 13px; font-weight: 900; color: var(--ink); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-bar { width: 80%; height: 8px; border-radius: 5px; background: rgba(93,47,72,.2); overflow: hidden; }
.cr-fill { height: 100%; background: linear-gradient(90deg, var(--lav), var(--pink)); border-radius: 5px; }
.cr-slot.ready { border-color: #ffe28a; box-shadow: 0 0 14px rgba(255,226,138,.95); animation: pulse 1.4s ease-in-out infinite; }
.cr-slot.ready .cr-pic { animation: float 1s ease-in-out infinite; }
.cr-skip { position: absolute !important; right: -6px; top: -10px; min-width: 44px; padding: 0 !important; }
.cr-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; }
.cr-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 16px; background: rgba(255,250,245,.88); border: 2px solid var(--gold-l); flex-shrink: 0; }
.cr-rpic { position: relative; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: #fff; border: 2px solid var(--gold-l); display: flex; align-items: center; justify-content: center; }
.cr-rpic img { width: 42px; height: 42px; object-fit: contain; }
.cr-rpic .cnt { position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 20px; line-height: 16px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 900; text-align: center; border: 2px solid #fff; padding: 0 4px; }
.cr-name { font-size: 15px; font-weight: 900; color: var(--ink); }
.cr-desc { font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.cr-mats { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0; }
.cr-mat { display: inline-flex; align-items: center; gap: 1px; font-size: 13px; font-weight: 800; color: var(--ink); }
.cr-mat img { width: 22px; height: 22px; object-fit: contain; }
.cr-mat.short { color: #e0334f; }
.cr-row .btn.cr-mk-off { filter: saturate(.55) brightness(1.05); opacity: .9; }
.cr-row .btn.cr-mk-off span { font-size: 13px; }
.cr-sellp { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 15px; font-weight: 800; }
.cr-sellp img { width: 22px; height: 22px; object-fit: contain; }
