/* Small, readable destinations: reuse the game's resource artwork and known world flags. */
body[data-bridge="on"] #page .planet-map .system-position.resource-world{width:98px!important;min-height:82px!important;z-index:12}
body[data-bridge="on"] #page .planet-map .system-position.resource-world>img{width:34px!important;height:34px!important;min-width:34px!important}
body[data-bridge="on"] #page .planet-map .system-position .map-world-badge{--world-accent:#bedbe8;display:inline-flex!important;align-items:center;justify-content:center;gap:4px;max-width:108px;min-height:25px;padding:3px 7px!important;margin:3px auto 2px!important;border:1px solid color-mix(in srgb,var(--world-accent) 55%,transparent)!important;border-radius:9px;background:#071623f2!important;box-shadow:0 2px 7px #0008;color:var(--world-accent)!important;font:600 12px/1.1 system-ui!important;white-space:nowrap;pointer-events:none;text-shadow:none!important;opacity:1!important;box-sizing:border-box}
body[data-bridge="on"] #page .planet-map .map-world-badge strong{font:inherit!important;color:inherit!important;display:inline!important;position:static!important;transform:none!important;padding:0!important;background:none!important}
body[data-bridge="on"] #page .planet-map .resource-0{--world-accent:#f6d58b}
body[data-bridge="on"] #page .planet-map .resource-1{--world-accent:#e4c0ff}
body[data-bridge="on"] #page .planet-map .resource-2{--world-accent:#a6eff6}
body[data-bridge="on"] #page .planet-map .map-resource-icon{display:block!important;flex:0 0 22px;width:22px;height:23px;background-image:url('assets/resources-v07.webp');background-size:200% 200%;background-repeat:no-repeat;background-position:0 0;filter:drop-shadow(0 1px 2px #0008)}
body[data-bridge="on"] #page .planet-map .resource-1 .map-resource-icon{background-position:100% 0}
body[data-bridge="on"] #page .planet-map .resource-2 .map-resource-icon{background-position:0 100%}
body[data-bridge="on"] #page .planet-map .system-position.resource-world>.system-world-name{display:none!important}
body[data-bridge="on"] #page .planet-map .system-position.resource-world>.system-coordinate{font-size:9px!important;line-height:1.2!important;color:#d4e4ee!important;opacity:.85}
body[data-bridge="on"] #page .planet-map .system-position.farm-world{width:94px!important}
body[data-bridge="on"] #page .planet-map .map-world-badge.farm-badge{--world-accent:#c9e3cc;font-size:11px!important;min-height:23px;padding:3px 6px!important}
.map-farm-icon{font-size:17px;line-height:1}
/* One foreground picture per technology, instead of a small photo over a second backdrop. */
body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-picture{position:relative!important;height:260px!important;min-height:260px!important;background:#0b2132!important;padding:0!important}
body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-picture::before,body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-picture::after{display:none!important;content:none!important}
body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-picture>.catalog-media--research{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;aspect-ratio:auto!important;background:none!important;border-radius:0!important}
body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-picture>.catalog-media--research>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;object-fit:cover!important;object-position:50% 40%!important;border-radius:0!important;opacity:1!important;filter:none!important;transform:none!important}
body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-overlay{padding-top:30px!important;background:linear-gradient(0deg,#061725f5,#061725bc 65%,transparent)!important}
body[data-bridge="on"] #page .bridge-sheet [data-device-section]:has(.visual-catalog)>.tablet-screen>.subsystem-toolbar{display:none!important}
body[data-bridge="on"] #page .bridge-sheet [data-device-section]:has(.visual-catalog) .subsystem-content{padding:0!important}
/* Keep routine galleries and action forms short and clear. */
body[data-bridge="on"] #page .visual-catalog .production-picture .fabrication-status{max-width:90px}
body[data-bridge="on"] #page .visual-card .visual-time{font-size:11px!important}
@media(orientation:portrait),(max-width:760px){
 body[data-bridge="on"] #page .planet-map .system-position.resource-world{width:92px!important;min-height:80px!important}
 body[data-bridge="on"] #page .planet-map .system-position .map-world-badge{font-size:12px!important;min-height:27px;padding:3px 6px!important;gap:3px}
 body[data-bridge="on"] #page .planet-map .system-position.farm-world{width:85px!important}
 body[data-bridge="on"] #page .planet-map .system-position .farm-badge{font-size:10px!important;min-height:22px;padding:3px 5px!important}
 body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-picture{height:200px!important;min-height:200px!important}
 body[data-bridge="on"] #page .bridge-sheet .production-card.research-showcase .production-overlay h3{font-size:14px!important}
 body[data-bridge="on"] #page .bridge-sheet .visual-card .production-picture{min-height:180px!important}
}
