.world-command {
  border: 1px solid #4a665c;
  border-radius: 13px;
  background: linear-gradient(125deg, #203831, #162e36);
  overflow: hidden;
  margin-bottom: 15px;
}
.world-command[hidden],
.world-sidebar[hidden] {
  display: none;
}
.world-command-heading {
  padding: 23px 22px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.world-command-heading h2 {
  font:
    600 28px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 9px 0 7px;
}
.world-command-heading h2 span {
  color: #c5df9c;
}
.world-command-heading .eyebrow {
  font-size: 6px;
  letter-spacing: 1.4px;
}
.world-command-heading p {
  font-size: 10px;
  color: #9bb3a2;
  margin: 0;
  line-height: 1.7;
}
.world-command-heading > button {
  font-size: 9px;
  color: #b2c7b2;
  padding: 9px 11px;
  border: 1px solid #4b6755;
  border-radius: 6px;
  white-space: nowrap;
}
.world-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0 22px 19px;
}
.world-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid #42594b;
}
.world-metrics > div:last-child {
  border: 0;
}
.world-metrics small {
  font-size: 6px;
  letter-spacing: 1.2px;
  color: #8fa997;
}
.world-metrics strong {
  font:
    500 19px Manrope,
    sans-serif;
  color: #daecc9;
  white-space: nowrap;
}
.resource-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 22px 16px;
  padding: 11px 14px;
  border: 1px solid #3f5b4c;
  border-radius: 7px;
  background: #192f2c;
}
.resource-strip > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9bb89d;
  font-size: 9px;
  text-transform: capitalize;
}
.resource-strip b {
  font-size: 11px;
  font-weight: 500;
  color: #d2e2b5;
}
.world-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #3d574b;
  padding: 0 17px;
  overflow: auto;
  scrollbar-width: thin;
}
.world-tabs button {
  font-size: 10px;
  color: #91ab9a;
  padding: 12px 10px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.world-tabs button.active {
  border-color: #c2db9f;
  color: #d6e6bd;
  background: #3c533480;
}
#world-panel-body {
  padding: 19px 22px;
}
.world-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid #40594a;
  font-size: 8px;
  color: #97b092;
}
.world-panel-footer button {
  font-size: 8px;
  color: #c5dfa6;
  white-space: nowrap;
}
.territory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}
.territory-kicker {
  font-size: 6px;
  color: #8caa94;
  letter-spacing: 1.3px;
}
.territory-heading h3 {
  font:
    500 22px Manrope,
    sans-serif;
  color: #dfebd2;
  margin: 6px 0 0;
  letter-spacing: -0.5px;
}
.nation-color-tag {
  border: 1px solid var(--nation);
  color: var(--nation);
  padding: 6px 8px;
  border-radius: 5px;
  letter-spacing: 0.7px;
  font-size: 7px;
  white-space: nowrap;
}
.territory-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  border: 1px solid #3d5848;
  background: #1c332b;
  padding: 13px;
  border-radius: 7px;
  margin-bottom: 14px;
}
.territory-facts span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 8px;
  color: #8eac97;
}
.territory-facts b {
  font-size: 12px;
  font-weight: 500;
  color: #c9deaf;
  text-transform: capitalize;
}
.territory-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.territory-actions button {
  font-size: 9px;
  padding: 11px 12px;
}
.world-small {
  font-size: 9px;
  line-height: 1.8;
  color: #8fa999;
  flex: 1;
  min-width: 160px;
}
.forces-editor {
  margin-top: 13px;
  border: 1px solid #3e5948;
  border-radius: 7px;
  padding: 11px 12px;
  background: #182f2c;
}
.forces-editor summary {
  font-size: 9px;
  color: #a9c19e;
  cursor: pointer;
}
.forces-editor .world-form {
  margin-top: 13px;
}
.world-form {
  display: flex;
  align-items: end;
  gap: 9px;
  flex-wrap: wrap;
}
.world-form label,
.diplomacy-country-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 8px;
  color: #a3bba2;
  flex: 1;
  min-width: 100px;
}
.world-form select,
.world-form input,
.diplomacy-country-row select {
  width: 100%;
  font-size: 10px;
  padding: 10px;
}
.world-form input {
  max-width: 120px;
}
.world-form button {
  padding: 11px 12px;
  font-size: 9px;
  white-space: nowrap;
}
.diplomacy-country-row {
  display: flex;
  align-items: end;
  gap: 17px;
  margin-bottom: 18px;
}
.diplomacy-country-row label {
  max-width: 350px;
}
.diplomacy-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.diplomacy-options button {
  font-size: 9px;
  padding: 11px;
}
.war-confirmation {
  border: 1px solid #9d6d52;
  padding: 15px;
  background: #503c303d;
  border-radius: 8px;
  margin-top: 15px;
}
.war-confirmation strong {
  font-size: 12px;
  color: #e2c2a3;
  font-weight: 500;
}
.war-confirmation p {
  font-size: 10px;
  line-height: 1.8;
  color: #b8a994;
  margin: 9px 0 12px;
}
.war-confirmation button {
  font-size: 9px;
  margin-right: 6px;
}
.trade-form {
  border: 1px solid #405a49;
  background: #1e342c;
  padding: 14px;
  border-radius: 8px;
}
.trade-form label:first-child {
  flex-basis: 100%;
}
.trade-form label {
  min-width: 90px;
}
.trade-form label:nth-child(4) {
  max-width: 110px;
}
.trade-form button {
  flex: 1;
}
.trade-route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #3f5a48;
  background: #20362e;
  padding: 13px;
  border-radius: 7px;
  margin-top: 10px;
}
.trade-route > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.trade-route strong {
  font-size: 11px;
  color: #ceddb9;
  font-weight: 500;
}
.trade-route span {
  font-size: 9px;
  color: #9cbd99;
}
.trade-route small {
  font-size: 8px;
  color: #7f9d8c;
}
.trade-route button {
  font-size: 8px;
  color: #bdac93;
  border: 1px solid #5c5e46;
  border-radius: 5px;
  padding: 8px;
  white-space: nowrap;
}
.world-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4f7253 transparent;
}
.world-tech-grid article {
  border: 1px solid #405e4d;
  background: #1b332e;
  border-radius: 8px;
  padding: 13px;
  display: flex;
  flex-direction: column;
}
.world-tech-grid article > span {
  font-size: 6px;
  color: #8fac8a;
  letter-spacing: 0.6px;
}
.world-tech-grid h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 11px 0 6px;
  color: #d6e7bf;
  line-height: 1.5;
}
.world-tech-grid p {
  font-size: 9px;
  line-height: 1.8;
  color: #8faa96;
  margin: 0 0 10px;
  flex: 1;
}
.world-tech-grid button {
  font-size: 8px;
  line-height: 1.5;
  border: 1px solid #5b784a;
  border-radius: 5px;
  padding: 8px;
  background: #304a32;
  color: #c8dfab;
}
.world-sidebar {
  border: 1px solid #3a5149;
  border-radius: 12px;
  background: #16292d;
  padding: 21px 18px;
}
.world-sidebar .section-head h2 > span {
  font-size: 8px;
}
.world-sidebar .tiny-status {
  font-size: 6px;
  color: #7d9b8f;
}
.nation-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 0;
  border-top: 1px solid #304940;
  text-align: left;
}
.nation-row > i {
  width: 25px;
  height: 27px;
  border-radius: 6px;
  box-shadow: inset 0 -7px #0002;
  flex-shrink: 0;
}
.nation-row > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.nation-row strong {
  font-size: 11px;
  font-weight: 500;
  color: #d0dec8;
}
.nation-row small {
  font-size: 8px;
  color: #7f9e8c;
}
.nation-row > span {
  font-size: 7px;
  color: #abc391;
}
.world-event-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #3a5345;
  padding: 19px 0 15px;
  margin-top: 4px;
}
#planet-events {
  max-height: 300px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #45664c transparent;
}
.planet-event {
  display: flex;
  align-items: start;
  gap: 9px;
  margin-bottom: 14px;
}
.planet-event > span {
  font-size: 14px;
  line-height: 1.5;
  color: #a6c98f;
  width: 20px;
  flex-shrink: 0;
}
.planet-event p {
  font-size: 10px;
  line-height: 1.8;
  color: #9cb39d;
  margin: 0;
}
.battle-list {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.battle-list > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  background: #4e493041;
  border: 1px solid #82714d;
  border-radius: 6px;
  padding: 11px;
}
.battle-list span {
  font-size: 9px;
  color: #d2bf94;
  flex: 1;
}
.battle-list b {
  font-size: 9px;
  font-weight: 400;
  color: #e4c88e;
}
.battle-list progress {
  height: 5px;
  width: 100%;
  accent-color: #dfbd77;
}
.planet-view .city-command,
.planet-view .divine-drawer,
.planet-view .residents-card,
.planet-view .activity-card,
.planet-view .world-stats,
.planet-view .events-card {
  display: none;
}
.planet-view .sidebar {
  top: 18px;
}
.planet-view .canvas-wrap {
  height: 475px !important;
  background: #153340;
}
.planet-map .map-note,
.planet-map .map-legend {
  display: none;
}
.planet-map .zoom-controls button {
  background: #314e50;
  color: #d6e4c5;
}
.planet-view .map-card {
  border-color: #3a5655;
}
.planet-view .simulation-bar {
  background: #182c31;
}
.planet-view .map-top {
  background: #1a3033;
}
.planet-view .town-title {
  font-size: 9px;
  letter-spacing: 1px;
}
.planet-view #view-world.active {
  background: #40583b;
  color: #d7e5b6;
}
.planet-view .world-column > footer {
  font-size: 8px;
}
.planet-view .city-map-toolbar > div {
  gap: 3px;
}
.planet-view .city-map-toolbar button {
  font-size: 8px;
}
.planet-view .city-map-toolbar > span {
  font-size: 7px;
}
.world-tabs button:focus-visible {
  outline: 2px solid #c6db9c;
  outline-offset: -4px;
}
@media (max-width: 1150px) {
  .world-command-heading {
    padding: 20px 18px 16px;
  }
  .world-command-heading h2 {
    font-size: 25px;
  }
  .world-command-heading .eyebrow {
    font-size: 5px;
    letter-spacing: 0.8px;
  }
  .world-metrics {
    padding: 0 18px 17px;
    gap: 9px;
  }
  .world-metrics strong {
    font-size: 16px;
  }
  .world-metrics small {
    font-size: 5px;
  }
  .resource-strip {
    margin: 0 18px 15px;
  }
  .world-tabs {
    padding: 0 12px;
    gap: 3px;
  }
  .world-tabs button {
    font-size: 9px;
    padding: 12px 9px;
  }
  #world-panel-body {
    padding: 18px;
  }
  .world-panel-footer {
    padding: 12px 18px;
    font-size: 7px;
  }
  .territory-actions button {
    font-size: 8px;
  }
  .territory-facts {
    gap: 9px;
  }
  .territory-facts span {
    font-size: 7px;
  }
  .world-tech-grid {
    grid-template-columns: 1fr 1fr;
  }
  .world-sidebar .tiny-status {
    font-size: 5px;
  }
  .planet-view .city-map-toolbar {
    flex-wrap: wrap;
    gap: 3px;
  }
  .planet-view .city-map-toolbar > span {
    flex: 1;
    min-width: 130px;
  }
}
@media (max-width: 900px) {
  .world-sidebar {
    display: block;
  }
  .planet-view .sidebar {
    display: block;
  }
  .planet-view .canvas-wrap {
    height: 460px !important;
  }
  .world-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .world-command-heading {
    padding: 18px 13px 16px;
    align-items: start;
    gap: 10px;
  }
  .world-command-heading h2 {
    font-size: 23px;
  }
  .world-command-heading .eyebrow {
    font-size: 5px;
    line-height: 1.8;
    letter-spacing: 0.7px;
    max-width: 190px;
  }
  .world-command-heading > button {
    font-size: 7px;
    padding: 8px;
    white-space: nowrap;
  }
  .world-command-heading p {
    font-size: 9px;
    max-width: 200px;
  }
  .world-metrics {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 13px 17px;
    row-gap: 15px;
  }
  .world-metrics > div:nth-child(3) {
    border: 0;
  }
  .world-metrics strong {
    font-size: 16px;
  }
  .world-metrics small {
    font-size: 5px;
  }
  .resource-strip {
    margin: 0 13px 14px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .resource-strip span {
    font-size: 9px;
  }
  .resource-strip b {
    margin-left: auto;
  }
  .world-tabs {
    gap: 0;
    padding: 0 5px;
  }
  .world-tabs button {
    font-size: 8px;
    padding: 11px 7px;
  }
  #world-panel-body {
    padding: 16px 13px;
  }
  .territory-heading h3 {
    font-size: 22px;
  }
  .territory-kicker {
    font-size: 5px;
  }
  .nation-color-tag {
    font-size: 6px;
  }
  .territory-facts {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .territory-facts span {
    font-size: 8px;
  }
  .territory-facts b {
    font-size: 12px;
  }
  .territory-actions button {
    font-size: 9px;
    flex: 1;
    line-height: 1.6;
  }
  .territory-actions .world-small {
    flex-basis: 100%;
    font-size: 8px;
  }
  .forces-editor {
    padding: 11px 10px;
  }
  .forces-editor summary {
    font-size: 8px;
  }
  .world-form {
    gap: 10px;
  }
  .world-form label {
    flex-basis: 100%;
  }
  .world-form input {
    max-width: none;
  }
  .world-form button {
    flex: 1;
    padding: 12px;
  }
  .diplomacy-options {
    gap: 7px;
  }
  .diplomacy-options button {
    font-size: 8px;
    line-height: 1.6;
    padding: 10px 7px;
  }
  .diplomacy-country-row {
    gap: 10px;
  }
  .diplomacy-country-row label {
    font-size: 9px;
    min-width: 0;
  }
  .diplomacy-country-row select {
    font-size: 9px;
  }
  .trade-form label:first-child {
    flex-basis: 100%;
  }
  .trade-form label {
    flex-basis: 40%;
    min-width: 0;
  }
  .trade-form label:nth-child(4) {
    max-width: none;
  }
  .trade-route {
    padding: 11px;
    align-items: start;
  }
  .trade-route strong {
    font-size: 10px;
  }
  .trade-route button {
    font-size: 7px;
    white-space: normal;
    line-height: 1.6;
  }
  .world-tech-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .world-tech-grid article {
    padding: 10px;
  }
  .world-tech-grid h3 {
    font-size: 11px;
  }
  .world-tech-grid p {
    font-size: 8px;
  }
  .world-tech-grid article > span {
    font-size: 5px;
  }
  .world-tech-grid button {
    font-size: 7px;
  }
  .world-panel-footer {
    padding: 12px 13px;
    flex-wrap: wrap;
    font-size: 7px;
  }
  .world-panel-footer button {
    font-size: 8px;
  }
  .planet-view .canvas-wrap {
    height: 340px !important;
  }
  .planet-view .city-map-toolbar > span {
    font-size: 7px;
    min-width: 0;
  }
  .planet-view .town-title {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .planet-view .city-map-toolbar > div {
    justify-content: center;
    gap: 1px;
  }
  .planet-view .city-map-toolbar button {
    font-size: 8px;
    padding: 7px 6px;
  }
  .war-confirmation button {
    font-size: 8px;
    margin-bottom: 7px;
  }
  .war-confirmation strong {
    font-size: 11px;
  }
  .war-confirmation p {
    font-size: 9px;
  }
  .world-sidebar .tiny-status {
    font-size: 6px;
  }
  .planet-view .sidebar {
    display: block;
  }
  .planet-view .simulation-label {
    display: none;
  }
}
/* Earth explorer */
.earth-controls {
  padding: 0 22px 16px;
}
.earth-layers {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid #3e5e50;
  border-radius: 7px;
  background: #142e2d;
}
.earth-layers button {
  flex: 1;
  padding: 9px 5px;
  font-size: 9px;
  color: #92b2a1;
  border-radius: 4px;
  white-space: nowrap;
}
.earth-layers button.active {
  color: #d9e7be;
  background: #3b563b;
}
.earth-navigation {
  display: flex;
  gap: 8px;
  align-items: end;
  margin-top: 13px;
}
.earth-navigation > label:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 8px;
  color: #9ebba6;
  min-width: 0;
}
.earth-navigation select {
  width: 100%;
  font-size: 10px;
  padding: 9px;
}
.earth-navigation button {
  font-size: 8px;
  padding: 10px;
  white-space: nowrap;
}
.earth-navigation .earth-night {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: #b0c8ad;
  white-space: nowrap;
  padding-bottom: 9px;
}
.earth-night input {
  accent-color: #bfda98;
}
.earth-campaign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  font-size: 8px;
  color: #83a390;
}
.earth-campaign button {
  font-size: 8px;
  color: #c2d8a4;
  white-space: nowrap;
}
.earth-player-choice {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  color: #a5bda3;
  margin-top: 22px;
}
.earth-player-choice select {
  width: 100%;
  font-size: 12px;
  padding: 12px;
}
.earth-country-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid #3c5649;
  padding-top: 14px;
}
.earth-country-info > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 8px;
  color: #84a28e;
}
.earth-country-info b {
  font-size: 11px;
  font-weight: 500;
  color: #bdd2ae;
}
.earth-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}
.earth-city-chips span {
  font-size: 8px;
  color: #a7bf9a;
  background: #2c4434;
  border: 1px solid #49613f;
  border-radius: 4px;
  padding: 5px 8px;
}
#earth-country-search {
  font-size: 10px !important;
  width: 100%;
  padding: 10px !important;
  margin: 0 0 12px;
  background: #12292c !important;
}
#nation-list {
  max-height: 400px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #4f6f53 transparent;
}
.planet-view .canvas-wrap {
  height: auto !important;
  aspect-ratio: 9/5;
  touch-action: none;
}
.planet-map canvas {
  cursor: grab;
  image-rendering: auto;
}
.planet-map canvas:active {
  cursor: grabbing;
}
.planet-view .world-sidebar .tiny-status {
  font-size: 5px;
}
.earth-controls .earth-layers button:focus-visible {
  outline: 2px solid #c8dea5;
  outline-offset: -2px;
}
@media (max-width: 1150px) {
  .earth-controls {
    padding: 0 18px 16px;
  }
  .earth-layers button {
    font-size: 8px;
  }
  .earth-navigation .earth-night {
    font-size: 7px;
  }
  .earth-navigation button {
    font-size: 7px;
    padding: 10px 8px;
  }
  .earth-campaign {
    font-size: 7px;
  }
  .earth-campaign button {
    font-size: 7px;
  }
}
@media (max-width: 600px) {
  .earth-controls {
    padding: 0 13px 15px;
  }
  .earth-layers {
    gap: 2px;
    padding: 3px;
  }
  .earth-layers button {
    font-size: 7px;
    padding: 9px 2px;
  }
  .earth-navigation {
    flex-wrap: wrap;
    gap: 7px;
  }
  .earth-navigation > label:first-child {
    flex-basis: 100%;
    font-size: 8px;
  }
  .earth-navigation button {
    flex: 1;
    font-size: 8px;
  }
  .earth-navigation .earth-night {
    font-size: 8px;
    padding-bottom: 9px;
  }
  .earth-campaign {
    font-size: 7px;
    align-items: start;
    line-height: 1.7;
  }
  .earth-campaign button {
    font-size: 7px;
    padding-top: 1px;
  }
  .earth-country-info b {
    font-size: 10px;
  }
  #earth-campaign-dialog .detail-actions {
    flex-wrap: wrap;
  }
  #earth-campaign-dialog .detail-actions button {
    flex: 1;
    font-size: 9px;
    white-space: nowrap;
  }
  .planet-view .canvas-wrap {
    height: auto !important;
    aspect-ratio: 9/5;
  }
  #nation-list {
    max-height: 300px;
  }
}

.diplomatic-inbox {
  border: 1px solid #496158;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  background: #112e2a;
}
.inbox-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.inbox-heading h3 {
  font-size: 20px;
  margin: 10px 0;
}
.inbox-heading h3 span {
  display: inline-block;
  background: #cde2a7;
  color: #20362d;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 13px;
}
.diplomatic-inbox button,
.earth-city-chips button,
#earth-city-dialog button {
  border: 1px solid #51695d;
  background: #203d34;
  color: #e4edd9;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
}
.incoming-offer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #37534a;
}
.incoming-offer h4 {
  margin: 6px 0;
  font-size: 16px;
}
.incoming-offer small {
  color: #c9dfa9;
  font-size: 10px;
  letter-spacing: 1px;
}
.incoming-offer p {
  font-size: 12px;
  line-height: 1.7;
  color: #b9cdc2;
  margin: 6px 0;
}
.offer-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 90px;
}
.city-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.city-service-grid article {
  padding: 15px;
  border: 1px solid #3c5b4d;
  border-radius: 8px;
}
.city-service-grid p {
  font-size: 12px;
  color: #b9cdc2;
  line-height: 1.6;
}
.earth-city-chips button:hover,
.diplomatic-inbox button:hover {
  background: #3a5944;
}
.earth-city-chips {
  flex-wrap: wrap;
}
#earth-city-dialog {
  width: min(780px, 90vw);
}
@media (max-width: 650px) {
  .city-service-grid {
    grid-template-columns: 1fr;
  }
  .inbox-heading {
    align-items: start;
    flex-direction: column;
  }
  .incoming-offer {
    flex-direction: column;
  }
  .offer-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
