/* Keep the original navigation artwork and icons; only the panel is translucent. */
.app-bottom-nav { background: transparent !important; isolation: isolate; }
.app-bottom-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('../assets/ui/v4.1/frames/bottom-navigation.webp') center/100% 100% no-repeat; opacity: var(--gw-panel-opacity, .50); }
.pc2-galaxy-page .galaxy-map-legend { background:transparent!important; isolation:isolate; }
.galaxy-map-legend::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:url('../assets/ui/v4.1/frames/map-filter-bar.webp') center/100% 100% no-repeat; opacity:var(--gw-panel-opacity,.35); }
.planet-info-skin { display: inline-block; width: 48px; height: 48px; flex: 0 0 48px; background-image: var(--planet-skin); background-size: cover; background-position: center; border-radius: 50%; }
#systemView .planet-info-card[data-planet-index] { bottom: auto !important; height: max-content; max-height: min(620px,calc(100dvh - 240px)); }
.planet-context-actions [data-planet-action] span { font-size: 0; display: block; width: 32px; height: 32px; margin: auto; background: var(--mission-icon) center/contain no-repeat; }
[data-planet-action='attack'] { --mission-icon: url('../assets/ui/v4.1/actions/attack.webp'); }
[data-planet-action='spy'] { --mission-icon: url('../assets/ui/v4.1/actions/spy.webp'); }
[data-planet-action='defend'] { --mission-icon: url('../assets/ui/v4.1/actions/defend.webp'); }
[data-planet-action='transport'] { --mission-icon: url('../assets/ui/v4.1/actions/transport.webp'); }
[data-planet-action='trade'] { --mission-icon: url('../assets/ui/v4.1/icons/actions/market.webp'); }
.popup-close, button[aria-label='Chiudi'] { font-size: 0 !important; background-image: url('../assets/ui/v4.1/icons/actions/close-x.webp') !important; background-position: center !important; background-size: 24px 24px !important; background-repeat: no-repeat !important; }
.player-level-badge { box-sizing: border-box; padding: 0 !important; display: grid !important; place-items: center !important; text-align: center; line-height: 1 !important; }
#planetSelector { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:6px; }
#planetSelector .galaxy-planet-tab { flex:0 0 180px; }
.module-nav-card { cursor:pointer; }
.app-toast { z-index: 24000 !important; bottom: 112px !important; max-width: calc(100vw - 32px); }
.ui-delayed-tooltip { z-index: 30000 !important; }
.solar-map-search { position:absolute; right:24px; top:16px; width:min(280px,40vw); height:46px; z-index:15; display:flex; align-items:center; border:0!important; padding:0!important; background:transparent url('../assets/ui/v4.1/frames/map-search.webp') center/100% 100% no-repeat!important; }
.solar-map-search input { width:100%; height:100%; min-width:0; background:transparent; border:0; padding:8px 46px 8px 16px; color:#e7d5ad; }
.solar-map-search button { position:absolute; right:5px; width:34px; height:34px; border:0; background:transparent url('../assets/ui/v4.1/icons/actions/search.webp') center/contain no-repeat; cursor:pointer; }
