/**
 * Donation Garden scene — sky, grass, SVG plants, monthly state, badges.
 */

.dt-el-tree--living,
.dt-el-tree--living .dt-scene {
	height: auto !important;
	overflow: visible !important;
	background: transparent;
}

.dt-scene {
	position: relative;
	width: 100%;
	min-height: 420px;
	padding: 16px 10px 18px;
	border-radius: 28px;
	overflow: hidden;
	background-image: url("../garden/nature-bg.png");
	background-size: cover;
	background-position: center top;
	box-sizing: border-box;
}

.dt-scene-kicker {
	position: relative;
	z-index: 3;
	display: inline-flex;
	flex-direction: column;
	margin: 8px 12px 0;
	padding: 8px 14px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(40,70,30,.08);
}
.dt-scene-kicker strong { font-size: 13px; color: #1b4332; }
.dt-scene-kicker span { font-size: 11px; color: #6d7d72; }

.dt-scene-bed {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	justify-items: center;
	align-items: end;
	gap: 22px 8px;
	margin: 16px 8px 8px;
	padding: 28px 16px 36px;
	border-radius: 36px;
	background: #fff;
	box-shadow: 0 18px 36px rgba(40, 70, 30, .10);
	overflow: visible;
}

.dt-scene-front,
.dt-scene-field { display: contents; }

.dt-plant {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 118px;
	margin: 0;
	padding: 8px 4px 0;
	border: 0;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
	line-height: 1.15;
}
.dt-plant-row-front { width: 100px; }
.dt-plant:hover { transform: translateY(-5px); }

.dt-plant-ring {
	position: absolute;
	top: 2px;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: conic-gradient(#2e7d32 calc(var(--dt-pct, 0) * 1%), rgba(255,255,255,.22) 0);
	-webkit-mask: radial-gradient(farthest-side, transparent 68%, #000 69%);
	mask: radial-gradient(farthest-side, transparent 68%, #000 69%);
	z-index: 0;
}
.dt-plant-row-front .dt-plant-ring { width: 92px; height: 92px; }

.dt-plant-art {
	position: relative;
	z-index: 1;
	width: 100%;
	display: block;
}
.dt-plant-svg { width: 100%; height: auto; display: block; overflow: visible; }

.dt-month-pending .dt-plant-art {
	filter: grayscale(.4) saturate(.7);
	opacity: .88;
}
.dt-month-donated .dt-plant-art {
	filter: none;
}

.dt-plant-tag {
	display: inline-block;
	margin-top: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(27, 67, 50, .9);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	z-index: 2;
	white-space: nowrap;
}
.dt-month-donated .dt-plant-tag { background: #1f7a46; }
.dt-month-pending .dt-plant-tag { background: #6e7c73; }

.dt-plant-badge {
	display: inline-flex;
	align-items: center;
	margin: 4px 0 0;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .03em;
	z-index: 2;
}
.dt-badge-bronze,
.dt-leg.dt-badge-bronze {
	background: linear-gradient(180deg, #f0b36a 0%, #d07a2c 100%);
	color: #4a2508;
}
.dt-badge-silver,
.dt-leg.dt-badge-silver {
	background: linear-gradient(180deg, #f4f7fb 0%, #b9c6d4 100%);
	color: #2a3644;
}
.dt-badge-gold,
.dt-leg.dt-badge-gold {
	background: linear-gradient(180deg, #ffe566 0%, #f0b429 100%);
	color: #5a3b00;
}

.dt-plant-trees {
	font-size: 11px;
	font-weight: 700;
	color: #1f3d16;
	margin-top: 3px;
	text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.dt-plant-month {
	margin-top: 3px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	z-index: 2;
}
.dt-month-donated .dt-plant-month { background: #1b5e20; color: #e8f5e9; }
.dt-month-pending .dt-plant-month { background: #ece7e1; color: #6d5c4a; }

.dt-scene-legend {
	position: relative;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 8px 8px 4px;
}
.dt-leg {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(255,255,255,.78);
	color: #2b2620;
}
.dt-leg-donated { background: #e8f5e9; color: #1b5e20; }
.dt-leg-pending { background: #f5f0ea; color: #6d5c4a; }

.dt-scene-tip {
	position: absolute;
	z-index: 8;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	max-width: min(92%, 560px);
	background: rgba(22, 50, 38, .94);
	color: #fff;
	padding: 10px 16px;
	border-radius: 16px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	white-space: normal;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.dt-scene-tip.is-on { opacity: 1; }

.dt-my-garden-visual.dt-scene {
	min-height: 260px;
	margin-bottom: 12px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.dt-my-garden-visual .dt-plant { width: 120px; }
.dt-cycle-bar {
	height: 10px;
	border-radius: 999px;
	background: #ece4d6;
	overflow: hidden;
	margin: 8px 0 12px;
}
.dt-cycle-bar span {
	display: block;
	height: 100%;
	background: #4a8b52;
}
.dt-achievement-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 700;
}

@media (max-width: 782px) {
	.dt-scene { min-height: 320px; border-radius: 20px; }
	.dt-scene-bed { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); padding: 20px 10px 28px; }
	.dt-plant { width: 96px; }
	.dt-plant-ring { width: 70px; height: 70px; }
}
@media (max-width: 480px) {
	.dt-plant-tag { font-size: 10px; }
	.dt-scene-legend { gap: 6px; }
}
