#war-asset-popup {
  position: fixed;
  right: 24px;
  bottom: 36px;
  z-index: 9999;
  width: min(390px, calc(100vw - 32px));
  min-height: 200px;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  font-family: Arial, sans-serif;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 1.2s ease, transform 1.2s ease, visibility 1.2s;
  pointer-events: none;
}

#war-asset-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#war-asset-popup .war-asset-background {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("/assets/media/war_asset.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.95;
}

#war-asset-popup .war-asset-title {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 1px 4px #000;
}

#war-asset-popup .war-asset-description {
  display: block;
  color: #edf7ff;
  font-size: .88rem;
  line-height: 1.5;
  text-shadow: 0 1px 4px #000;
}

#war-asset-popup .war-asset-content {
  position: absolute;
  inset: 0;
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0;
  box-sizing: border-box;
  text-align: center;
  opacity: 1;

  transform: translateY(-45px);
}

#war-asset-popup .war-asset-label,
#war-asset-popup .war-asset-title {
  position: relative;
  z-index: 11;
  display: block;
  opacity: 1;
  text-align: center;
}

.war-asset-mobile-label {
  display: none;
}

#war-asset-popup .war-asset-close {
  display: none;
}


/* MOBILE */

@media (max-width: 600px) {

	#war-asset-popup {
		left: 10px;
		right: 10px;
		top: auto;
		bottom: 10px;

		z-index: 8999;

		width: auto;
		height: 48px;
		min-height: 48px;

		border: 1px solid rgba(70, 190, 255, 0.9);

		box-shadow:
			0 0 6px rgba(70, 190, 255, 0.5),
			inset 0 0 8px rgba(70, 190, 255, 0.15);

		background: rgba(2, 10, 18, 0.75);
	}

 #site-header .mobile-nav {
    z-index: 9000;
  }

  #war-asset-popup .war-asset-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
  }

  #war-asset-popup .war-asset-content {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    bottom: auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;
    padding: 0 44px 0 12px;
    transform: none;
  }

  #war-asset-popup .war-asset-mobile-label {
    display: block;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.3px;

    color: rgba(130, 215, 255, 0.95);
  }

  #war-asset-popup .war-asset-title {
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #fff;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  #war-asset-popup .war-asset-close {
    display: flex;
    position: absolute;
    top: 7px;
    right: 5px;
    z-index: 50;

    width: 34px;
    height: 34px;
    padding: 0;

    align-items: center;
    justify-content: center;

    border: 0;
    background: transparent;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  #war-asset-popup .war-asset-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
  }
}