@charset "utf-8";
/* 어여비주말농장 분양지도 (ayeobiFarmMap.js) — PC·모바일 공용
 * 좌표는 % 로, 글자는 지도 폭(cqw)에 비례한다. --aym-k 는 구역마다 지도 폭이 달라도 글자 크기를 같게 맞추는 보정값. */
.aym-map{
	--aym-grass:#d8dcae; --aym-path:#ffffff; --aym-facility:#e1e1e1; --aym-facility-ink:#333;
	--aym-plot:#b47e1f; --aym-plot-ink:#fff; --aym-plot-blank:#c9a25a;
	--aym-available:#b47e1f; --aym-selected:#f2d699; --aym-sel-ink:#5c3a08; --aym-sel-ring:#6b4510; --aym-unavailable:#cdd0d5; --aym-unavailable-ink:#7d838c;
	--aym-faucet:#1a6e9c; --aym-house:#cfcac0; --aym-house-line:#c2bcb0; --aym-house-ink:#6f6a60;
	position:relative; display:block; max-width:none; margin:0; padding:0; background:var(--aym-grass);
	container-type:inline-size; box-sizing:border-box; overflow:hidden; font-family:inherit; letter-spacing:-0.2px;
	-webkit-text-size-adjust:100%; text-size-adjust:100%;
}
.aym-map *{box-sizing:border-box}
.aym-map > *{position:absolute; margin:0}
.aym-grass{background:var(--aym-grass)}
.aym-path{background:var(--aym-path)}
.aym-facility{background:var(--aym-facility); color:var(--aym-facility-ink); display:flex; align-items:center; justify-content:center; text-align:center;
	font-size:calc(1.5cqw * var(--aym-k, 1)); font-weight:500; line-height:1.3; border-radius:.3cqw}
.aym-vertical{writing-mode:vertical-rl; letter-spacing:1.2cqw}
.aym-facility .aym-ico{width:calc(5.2cqw * var(--aym-k, 1)); height:calc(5.2cqw * var(--aym-k, 1))}
.aym-ico-bg{fill:#2f6fb5}
.aym-ico-fg{fill:none; stroke:#fff; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.aym-ico-solid{fill:var(--aym-facility-ink, #333)}
.aym-ico-line{stroke:var(--aym-facility-ink, #333); stroke-width:1; opacity:.5}
/* 어여비 주택: 기와 결을 깔고 바탕과 비슷한 톤으로 눌러 밭보다 튀지 않게 */
.aym-house{background-color:var(--aym-house); background-image:repeating-linear-gradient(0deg, var(--aym-house-line) 0 .25cqw, transparent .25cqw 1.4cqw);
	color:var(--aym-house-ink); gap:.6cqw}
.aym-house svg{width:2.2cqw; height:2.2cqw; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.aym-tree{border-radius:50%; background:radial-gradient(circle at 40% 35%, #8fcf4f 0 45%, #6fae38 46% 100%)}
.aym-tree::after{content:""; position:absolute; left:44%; top:78%; width:12%; height:40%; background:#7a5a3a; border-radius:2px}
/* 길 건너 이웃 구역 박스 (누르면 그 구역 지도로) */
.aym-goto{border:0; padding:0; font:inherit; font-size:calc(2.1cqw * var(--aym-k, 1)); font-weight:800; color:var(--aym-facility-ink);
	background:var(--aym-facility); border-radius:.4cqw; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:.8cqw}
.aym-goto small{font-size:.62em; font-weight:500; opacity:.75}
.aym-goto:hover{filter:brightness(.96)}
.aym-faucet{width:3.8cqw; height:3.8cqw; margin:-1.9cqw 0 0 -1.9cqw !important; border-radius:50%; background:var(--aym-faucet); border:.3cqw solid #fff;
	box-shadow:0 .2cqw .6cqw rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; z-index:3; pointer-events:none}
.aym-faucet svg{width:70%; height:70%}
.aym-drop{fill:#fff}
.aym-shine{fill:none; stroke:var(--aym-faucet, #1a6e9c); stroke-width:1.8; stroke-linecap:round}

/* 밭 */
.aym-map .aym-plot{display:flex; justify-content:center; align-items:flex-start; padding:.9cqw 0 0; border:0; border-radius:0; box-shadow:none;
	background:var(--aym-plot); color:var(--aym-plot-ink); font-size:calc(2.65cqw * var(--aym-k, 1)); font-weight:600; line-height:1;
	font-variant-numeric:tabular-nums; text-decoration:none; cursor:default; -webkit-tap-highlight-color:transparent}
.aym-map .aym-narrow{font-size:calc(1.95cqw * var(--aym-k, 1))}
.aym-map .aym-side{align-items:center; justify-content:flex-start; padding:0 0 0 .9cqw}
.aym-map .aym-blank{background:var(--aym-plot-blank)}
/* 삼각형 자투리땅: 칸은 투명하게 두고 안의 SVG 삼각형을 칠한다 (테두리도 대각선까지 그려진다). 번호는 넓은 쪽에 */
.aym-map .aym-tri, .aym-map .aym-tri-l{background:transparent !important; box-shadow:none !important; pointer-events:none; align-items:flex-end; font-size:calc(2.2cqw * var(--aym-k, 1))}
.aym-map .aym-tri{justify-content:flex-end; padding:0 .5cqw .7cqw 0}
.aym-map .aym-tri-l{justify-content:flex-start; padding:0 0 .7cqw .5cqw}
.aym-shape{position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible}
.aym-shape polygon{fill:var(--aym-plot); pointer-events:auto; cursor:inherit}
.aym-num{position:relative; pointer-events:none}
.aym-mode-status [data-status=unavailable] .aym-shape polygon, .aym-mode-pick [data-status=unavailable] .aym-shape polygon,
.aym-mode-status [data-status=default] .aym-shape polygon, .aym-mode-pick [data-status=default] .aym-shape polygon{fill:var(--aym-unavailable)}
.aym-mode-pick [data-status=available] .aym-shape polygon{cursor:pointer}
.aym-mode-pick [data-status=selected] .aym-shape polygon, .aym-mode-pick .selected .aym-shape polygon{fill:var(--aym-selected); stroke:var(--aym-sel-ring); stroke-width:4px; stroke-linejoin:round; vector-effect:non-scaling-stroke}
.aym-mode-pick [data-status=selected].aym-tri, .aym-mode-pick [data-status=selected].aym-tri-l, .aym-mode-pick .aym-tri.selected, .aym-mode-pick .aym-tri-l.selected{z-index:4}

/* 분양 상태 (status · pick) */
/* 신청 가능 = 흙색(기본 밭 색), 분양완료 = 회색, 선택 = 테두리 강조 */
.aym-mode-status .aym-plot[data-status=available], .aym-mode-pick .aym-plot[data-status=available]{background:var(--aym-available); color:#fff; box-shadow:none}
.aym-mode-status .aym-plot[data-status=unavailable], .aym-mode-pick .aym-plot[data-status=unavailable],
.aym-mode-status .aym-plot[data-status=default], .aym-mode-pick .aym-plot[data-status=default]{background:var(--aym-unavailable); color:var(--aym-unavailable-ink)}
.aym-mode-pick .aym-plot[data-status=available]{cursor:pointer}
.aym-mode-pick .aym-plot[data-status=available]:hover{filter:brightness(1.1)}
.aym-mode-pick .aym-plot[data-status=selected], .aym-mode-pick .aym-plot.selected{background:var(--aym-selected); color:var(--aym-sel-ink); z-index:4; cursor:pointer; font-weight:800;
	box-shadow:inset 0 0 0 .35cqw var(--aym-sel-ring), 0 .4cqw 1.2cqw rgba(60,35,5,.35)}

/* 범례 */
.aym-legend{display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin:0 0 10px; font-size:16px; color:#444; line-height:1.4}
.aym-lg-item{display:inline-flex; align-items:center; gap:7px; white-space:nowrap}
.aym-lg-box{display:inline-block; width:20px; height:20px; border-radius:4px}
.aym-lg-box.aym-st-available{background:#b47e1f}
.aym-lg-box.aym-st-selected{background:#f2d699; box-shadow:inset 0 0 0 2px #6b4510}
.aym-lg-box.aym-st-unavailable{background:#cdd0d5}
.aym-lg-faucet{display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; background:#1a6e9c}
.aym-lg-faucet svg{width:72%; height:72%}
.aym-lg-fac .aym-ico{width:22px; height:22px}
.aym-lg-note{display:inline-block; padding:4px 12px; border:1px solid #dde3d6; border-radius:999px; font-size:15px; color:#444}
.aym-lg-note em{font-style:normal; color:#b4651a}
