/* Beta 0.4.1 — chronological identity and responsive illustration. */
.hotw-era-art{display:block;width:100%;height:auto;overflow:hidden}
.app .top>.hotw-era-art{aspect-ratio:3.2/1}
.k7-place .hotw-era-art{width:88px;flex-shrink:0;aspect-ratio:1.75/1}
.k7-card .hotw-era-art{aspect-ratio:2/1}
:root[data-era="industrial"] .top-main,:root[data-era="industrial"] .top-bar{background:linear-gradient(115deg,#49362f,#292c2d)}
:root[data-era="modern"] .top-main,:root[data-era="modern"] .top-bar{background:linear-gradient(115deg,#394a54,#24313a)}
:root[data-era="postwar"] .top-main,:root[data-era="postwar"] .top-bar{background:linear-gradient(115deg,#36594f,#243b3b)}
:root[data-era="global"] .top-main,:root[data-era="global"] .top-bar{background:linear-gradient(115deg,#254a66,#172d42)}
:root[data-era="automation"] .top-main,:root[data-era="spaceage"] .top-main{background:linear-gradient(115deg,#34436d,#151e38)}
@media(max-width:370px){.k7-place .hotw-era-art{width:64px}.app .top>.hotw-era-art{aspect-ratio:3.5/1}}

/* Painted raster art keeps the original aspect ratio and is never stretched. */
.hotw-painted{display:block;width:100%;height:auto;object-fit:cover}.app .top>.scene.hotw-painted{aspect-ratio:3.2/1}.k7-place .hotw-painted{width:88px;flex-shrink:0;aspect-ratio:1.75/1}.k7-card .hotw-painted{aspect-ratio:2/1}.k7-card:not(:has(>.k7-art)) .k7-body{padding-top:12px}@media(max-width:370px){.k7-place .hotw-painted{width:64px}}

/* Transport art is panoramic: preserve both wheels and full vehicle silhouette. */
.k7-card .hotw-painted.hotw-vehicle{width:100%;height:auto;aspect-ratio:3/1;object-fit:contain;background:#151e19}

/* Settlement detail uses the original painted composition, without stretching. */
.hotw-locality-detail{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;border-radius:10px;background:#151e19;margin:8px 0}

/* New event paintings retain their composition on small screens. */
.v9-art.hotw-event{aspect-ratio:1.55/1;object-fit:cover;max-height:300px}

/* Beta 0.4.2n: responsive painted mission illustrations. */
.hotw-space-art{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px;margin:8px 0}.hotw-space-mission{overflow:hidden}.hotw-space-mission>.hotw-space-art{margin:0;border-radius:0}.hotw-space-grid .k7-body{min-width:0}.hotw-space-grid .k7-body h3{overflow-wrap:anywhere}
