.manor-dialog{width:min(850px,96vw)}.manor-dialog button{min-height:46px;white-space:normal}.manor-choices{display:grid;gap:10px}.manor-choices button{text-align:left}.manor-object{display:block;width:140px;max-height:160px;object-fit:contain;margin:12px auto}.manor-relations{padding:12px;border:2px solid #9b7746;border-radius:12px;background:#f5ead0}.manor-dialog .learning-guidance p{line-height:1.55}@media(max-width:600px){.manor-dialog{max-height:90dvh}.manor-relations{font-size:.95rem}}



.manor-tithe{padding:12px;background:#f4e8ca;border:1px solid #9b7746;border-radius:10px;margin-top:14px}.manor-tithe-parts{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.tithe-part{margin:0;padding:4px;text-align:center;border:1px solid #b19c76;border-radius:8px}.tithe-part.selected{border:3px solid #98612c;background:#f5d391}.tithe-part img{width:100%;height:65px;object-fit:contain}.tithe-part figcaption{font-size:12px}@media(max-width:650px){.manor-tithe-parts{grid-template-columns:repeat(5,minmax(0,1fr))}}

.fence-detail{position:relative;margin:14px 0;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#7c674f}
.fence-ground{display:block;width:100%;height:100%;object-fit:cover}
.fence-timber{position:absolute;width:4.5%;height:63%;object-fit:fill;pointer-events:none;z-index:2}
.fence-earth{position:absolute;width:22%;height:21%;object-fit:fill;pointer-events:none;z-index:1;transform-origin:50% 45%}
.fence-earth-firm{animation:fence-tamp .35s ease-out}
.manor-dialog .fence-target{position:absolute;transform:translate(-50%,-50%);width:46px;min-width:44px;min-height:44px;padding:3px;margin:0;border-radius:50%;background:#fff9eac4;border:2px solid #756146;z-index:5;font-size:16px}
.manor-dialog .fence-target-current{outline:3px solid #dc9c28;outline-offset:3px;background:#f9d987c9}
.fence-progress{font-weight:700}.fence-tool{display:flex;gap:16px;align-items:center}.fence-tool img{height:76px;width:60px;object-fit:contain}.fence-inserting{animation:fence-set-post .65s ease-out both}
@keyframes fence-set-post{from{transform:translateY(-24%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.fence-inserting{animation:none}}
@media(max-width:600px){.fence-detail{border-radius:8px}.manor-dialog .fence-target{font-size:14px}.fence-tool img{height:56px}}

.fence-ground-lip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:3;pointer-events:none}

@keyframes fence-tamp{0%{transform:translateY(-2%)}100%{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.fence-earth-firm{animation:none}}

.fence-earth-front{clip-path:inset(50% 0 0 0);z-index:4}

.manor-estate{margin:18px 0;padding:12px;border:2px solid #9b7746;border-radius:14px;background:#faf4e5}.manor-estate figcaption{font:700 1.25rem Georgia;margin-bottom:14px}.estate-image{display:block;width:100%;height:auto;border-radius:10px}.estate-note{font-size:.9rem;line-height:1.5}.estate-zoom{width:min(1500px,96vw);max-width:96vw;max-height:94dvh}.estate-zoom .learning-body{overflow:auto}.estate-zoom .estate-image{width:max(100%,1100px);max-width:none}.estate-zoom .learning-body>button{position:sticky;left:0;margin-top:12px}@media(max-width:600px){.manor-estate{padding:8px}.estate-zoom .estate-image{width:1100px}}
