/* Modern assets have a common bottom-centre canvas. Classic rules are untouched. */
html[data-wos-buildings=modern] .modern-town .plot-built{width:14%;height:13%;margin:0;transform:translate(-50%,-100%)}
html[data-wos-buildings=modern] .modern-town .plot-built img{display:block;position:absolute;left:0;bottom:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scale(.85);transform-origin:50% 100%}
html[data-wos-buildings=modern] .modern-town .plot-hospital{margin-top:0}
html[data-wos-buildings=modern] .modern-town [data-building-kind=garde].plot-built{width:12%;height:16%}
html[data-wos-buildings=modern] .modern-town [data-building-kind=hospital].plot-built{width:16%;height:13%}
.modern-town[data-period=night] .modern-wall a>path:nth-child(1){stroke:#242b3b}
.modern-town[data-period=night] .modern-wall a>path:nth-child(2){stroke:#69758b}
.modern-town[data-period=night] .modern-wall a>path:nth-child(3){stroke:#c39b5e}

/* New Fire wall uses the same layout in daylight, dark mode and game night. */
.modern-wall-art{pointer-events:none}
.modern-town[data-period=night] .modern-wall-art{filter:brightness(.67) saturate(.82)}

/* Approved Eau v07 and Sable v06 use their own registered sprites. */
html[data-wos-buildings=modern] .modern-town:is([data-element=eau],[data-element=sable]) .plot-built img{transform:scale(1.0625)}
html[data-wos-buildings=modern] .modern-town:is([data-element=eau],[data-element=sable]) :is([data-building-kind=ressources],[data-building-kind=nourriture]).plot-built img{transform:scale(.95625)}
.modern-town:is([data-element=eau],[data-element=sable])[data-period=night] .modern-wall-art{filter:none}
