/* STELLAR EMPIRE – v0.5.8
 * The six supplied original icons and LIVE status values.
 * Do not change any data-action handlers.
 * This stylesheet intentionally loads last to override older icon-hiding CSS.
 */
.game .screen.empire-dashboard .stellar-status-art{
  display:block!important;
  position:relative;
  width:100%!important;
  height:100%!important;
  min-width:0;
  object-fit:contain!important;
  object-position:center;
  filter:drop-shadow(0 2px 5px #0006);
  pointer-events:none!important;
  user-select:none;
}
.game .screen.empire-dashboard .status-planet-btn{
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  text-align:left;
  font-family:inherit;
  color:inherit;
  cursor:pointer;
  border:1px solid #46caeb!important;
  border-radius:10px!important;
  background:linear-gradient(140deg,#192c4c,#0f1d34)!important;
  box-shadow:inset 0 1px #c2eaff21;
  padding:5px 7px!important;
  transition:background .16s,border-color .16s,box-shadow .16s;
}
.game .screen.empire-dashboard .status-planet-btn:hover,
.game .screen.empire-dashboard .status-planet-btn:focus-visible{
  border-color:#a4efff!important;
  background:linear-gradient(130deg,#254665,#172846)!important;
  box-shadow:0 0 14px #5bd2f443,inset 0 1px #ffffff32;
}
.game .screen.empire-dashboard .status-planet-btn .compact-planet-icon{
  display:grid!important;place-items:center!important;
  flex:0 0 auto!important;
  width:50px!important;height:50px!important;
  border:0!important;border-radius:0!important;
  padding:0!important;
  background:none!important;box-shadow:none!important;
  text-shadow:none!important;
  overflow:visible!important;
}
.game .screen.empire-dashboard .status-planet-btn .compact-planet-icon .stellar-status-art{
  filter:drop-shadow(0 0 5px #47d9f840);
}
.game .screen.empire-dashboard .hud-chip{
  box-sizing:border-box!important;
  border-radius:10px!important;
  border-color:#476e97!important;
}
.game .screen.empire-dashboard .hud-chip.hud-user{border-color:#49bfe4!important}
.game .screen.empire-dashboard .hud-chip.hud-credits{border-color:#eec46c!important}
.game .screen.empire-dashboard .hud-chip.hud-energy{border-color:#ee9251!important}
.game .screen.empire-dashboard .hud-chip.hud-colonies{border-color:#63d9bb!important}
.game .screen.empire-dashboard .hud-chip.hud-fleets{border-color:#8daaf6!important}
.game .screen.empire-dashboard .hud-chip-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 43px!important;
  width:43px!important;height:43px!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  line-height:1!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}
.game .screen.empire-dashboard .hud-chip-data{
  min-width:0!important;
  overflow:hidden!important;
}
.game .screen.empire-dashboard .hud-chip-data small{
  font-size:9px!important;
  color:#a5b9d4!important;
  letter-spacing:.045em!important;
  line-height:1.12!important;
}
.game .screen.empire-dashboard .hud-chip-data strong{
  font-size:clamp(11px,1.13vw,17px)!important;
  color:#f0f5ff!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.game .screen.empire-dashboard .home-planet-title .home-planet-copy{
  flex:1 1 auto;
  min-width:0!important;
}
.game .screen.empire-dashboard .home-planet-title .home-planet-copy h2{
  font-size:clamp(15px,1.35vw,20px)!important;
  letter-spacing:0!important;
  margin:0!important;
}
.game .screen.empire-dashboard .home-planet-title .home-planet-copy small{
  font-size:9px!important;letter-spacing:0!important;
}
@media (min-width:761px){
  .game .screen.empire-dashboard>.home-planetline{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    padding:5px 7px!important;
    flex-wrap:nowrap!important;
    min-height:69px!important;
    max-height:83px!important;
    overflow:hidden!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.status-planet-btn{
    display:flex!important;
    align-items:center!important;
    flex:0 1 190px!important;
    width:190px!important;
    max-width:19%!important;
    min-width:125px!important;
    height:58px!important;
    margin:0!important;
    gap:5px!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.home-command-hud{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    gap:5px!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
  }
  .game .screen.empire-dashboard .home-command-hud>.hud-chip{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    height:58px!important;
    min-height:58px!important;
    padding:5px 7px!important;
    gap:5px!important;
  }
  .game .screen.empire-dashboard .home-command-hud>.hud-chip .hud-chip-data{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    text-align:left!important;
    gap:2px!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.home-planet-controls{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex:0 0 auto!important;
    min-width:0!important;
    gap:4px!important;
    margin:0!important;
  }
}
@media (min-width:761px) and (max-width:1450px){
  .game .screen.empire-dashboard>.home-planetline>.status-planet-btn{
    flex-basis:150px!important;
    width:150px!important;
    max-width:17%!important;
    min-width:115px!important;
    gap:3px!important;
    padding:4px!important;
  }
  .game .screen.empire-dashboard .status-planet-btn .compact-planet-icon{
    width:37px!important;height:37px!important;
  }
  .game .screen.empire-dashboard .hud-chip-icon{
    width:34px!important;height:34px!important;
    flex-basis:34px!important;
  }
  .game .screen.empire-dashboard .home-command-hud>.hud-chip{
    gap:3px!important;
    padding:4px!important;
  }
  .game .screen.empire-dashboard .hud-chip-data strong{
    font-size:clamp(10px,1.02vw,14px)!important;
  }
  .game .screen.empire-dashboard .home-survey-count{display:none!important}
}
@media (min-width:761px) and (max-width:1100px){
  .game .screen.empire-dashboard>.home-planetline>.status-planet-btn{
    min-width:102px!important;
    max-width:16%!important;
  }
  .game .screen.empire-dashboard .status-planet-btn .compact-planet-icon{
    width:30px!important;height:30px!important;
  }
  .game .screen.empire-dashboard .hud-chip-icon{
    display:grid!important; /* prior v051 CSS hid all icons here */
    width:25px!important;height:25px!important;flex-basis:25px!important;
  }
  .game .screen.empire-dashboard .hud-chip-data small{font-size:8px!important}
  .game .screen.empire-dashboard .hud-chip-data strong{font-size:11px!important}
  .game .screen.empire-dashboard>.home-planetline>.home-planet-controls .soft-btn{
    display:grid!important;
    width:33px!important;height:33px!important;
    min-width:33px!important;
    place-items:center;
    font-size:0!important;
    padding:0!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.home-planet-controls .soft-btn:after{
    content:"✎";font-size:15px;line-height:1;color:#f1faff;
  }
}
@media(max-width:760px){
  .game .screen.empire-dashboard>.home-planetline{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"planet controls" "hud hud"!important;
    grid-template-rows:auto auto!important;
    column-gap:5px!important;
    row-gap:5px!important;
    padding:5px 7px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:133px!important;
    overflow:hidden!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.status-planet-btn{
    display:flex!important;
    grid-area:planet!important;
    width:100%!important;
    min-width:0!important;max-width:100%!important;
    height:40px!important;
    min-height:40px!important;
    flex:none!important;
    padding:2px 5px!important;
    align-items:center!important;
    gap:6px!important;
  }
  .game .screen.empire-dashboard .status-planet-btn .compact-planet-icon{
    width:38px!important;height:38px!important;
    flex-basis:38px!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.home-command-hud{
    display:grid!important;
    grid-area:hud!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-template-rows:minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;max-width:100%!important;
    height:62px!important;min-height:62px!important;max-height:62px!important;
    gap:4px!important;
    overflow:hidden!important;
    margin:0!important;
    order:unset!important;
  }
  .game .screen.empire-dashboard .home-command-hud>.hud-chip{
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    min-width:0!important;max-width:100%!important;width:100%!important;
    height:62px!important;min-height:62px!important;max-height:62px!important;
    padding:3px 2px!important;
    gap:1px!important;
    overflow:hidden!important;
  }
  .game .screen.empire-dashboard .hud-chip-icon{
    display:grid!important;
    width:27px!important;height:27px!important;flex:0 0 27px!important;
  }
  .game .screen.empire-dashboard .hud-chip-data{
    width:100%!important;max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
    gap:1px!important;
  }
  .game .screen.empire-dashboard .hud-chip-data small{
    font-size:7px!important;line-height:8px!important;
  }
  .game .screen.empire-dashboard .hud-chip-data strong{
    font-size:clamp(8.5px,2.55vw,11px)!important;
    line-height:12px!important;
  }
  .game .screen.empire-dashboard .home-planet-copy small{font-size:8px!important}
  .game .screen.empire-dashboard .home-planet-copy h2{font-size:17px!important}
  .game .screen.empire-dashboard>.home-planetline>.home-planet-controls{
    grid-area:controls!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;min-width:0!important;
    margin:0!important;
    order:unset!important;
  }
}
@media(max-width:760px) and (max-height:700px){
  .game .screen.empire-dashboard>.home-planetline{row-gap:3px!important;padding:4px 6px!important}
  .game .screen.empire-dashboard>.home-planetline>.home-command-hud{
    height:52px!important;min-height:52px!important;max-height:52px!important;
  }
  .game .screen.empire-dashboard .home-command-hud>.hud-chip{
    height:52px!important;min-height:52px!important;max-height:52px!important;
  }
  .game .screen.empire-dashboard .hud-chip-icon{
    display:grid!important;
    width:21px!important;height:21px!important;flex-basis:21px!important;
  }
}
@media(max-width:760px) and (max-height:530px){
  .game .screen.empire-dashboard .home-command-hud>.hud-chip{
    height:43px!important;min-height:43px!important;max-height:43px!important;
  }
  .game .screen.empire-dashboard>.home-planetline>.home-command-hud{
    height:43px!important;min-height:43px!important;max-height:43px!important;
  }
  .game .screen.empire-dashboard .hud-chip-icon{
    display:grid!important;
    width:17px!important;height:17px!important;flex-basis:17px!important;
  }
}
