/* Full-width header. Each photo sits in the red box from the reference.
   Frame is 1024 x 301. Percents are that frame. Loads last. */
.yg-cosmos-header {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1024 / 301 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  container-type: inline-size !important;
}

.yg-cosmos-header .yg-slot {
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  box-sizing: border-box !important;
  flex: none !important;
  transform: none !important;
}

.yg-cosmos-header img.yg-slot,
.yg-cosmos-header .yg-slot img {
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

/* left moon — Yasir */
.yg-cosmos-header .yg-s-moonl {
  left: 1.4% !important;
  top: 5.98% !important;
  width: 14.16% !important;
  height: 46.18% !important;
}
/* plain moon */
.yg-cosmos-header .yg-s-moonr {
  left: 17.09% !important;
  top: 7.97% !important;
  width: 12.30% !important;
  height: 39.53% !important;
}
/* title block */
.yg-cosmos-header .yg-s-title {
  left: 31.15% !important;
  top: 4.2% !important;
  width: 37.2% !important;
  height: 26% !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: hidden !important;
}
.yg-cosmos-header .yg-cosmos-center {
  width: 100% !important;
  text-align: center !important;
}
.yg-cosmos-header .yg-cosmos-center h1 {
  margin: 0 !important;
  font-size: 1.7cqw !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  color: #111 !important;
}
.yg-cosmos-header .yg-cosmos-sub,
.yg-cosmos-header .yg-cosmos-justice {
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
.yg-cosmos-header .yg-cosmos-sub {
  margin: 0.12cqw 0 0 !important;
  font-size: 0.92cqw !important;
  line-height: 1.15 !important;
  color: #222 !important;
}
.yg-cosmos-header .yg-cosmos-justice {
  margin: 0.15cqw 0 0 !important;
  font-size: 0.95cqw !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  background: #ffe14a !important;
  color: #111 !important;
  display: block !important;
  width: 100% !important;
}
/* 33 badge */
.yg-cosmos-header .yg-s-33 {
  left: 70.70% !important;
  top: 8.97% !important;
  width: 4.88% !important;
  height: 15.28% !important;
}
/* quote */
.yg-cosmos-header .yg-s-quote {
  left: 80.57% !important;
  top: 10.3% !important;
  width: 18.16% !important;
  height: 14.5% !important;
}
/* POOFF */
.yg-cosmos-header .yg-s-poof {
  left: 0.78% !important;
  top: 52.16% !important;
  width: 13.28% !important;
  height: 45.85% !important;
}
/* cheese moon */
.yg-cosmos-header .yg-s-cheese {
  left: 17.09% !important;
  top: 50.17% !important;
  width: 11.6% !important;
  height: 46.18% !important;
}
/* YaRR + RR + Lord Allah, one box */
.yg-cosmos-header .yg-s-lord {
  left: 28.9% !important;
  top: 35.55% !important;
  width: 15.04% !important;
  height: 60.8% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1% !important;
}
.yg-cosmos-header .yg-s-lord .yg-badge-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4% !important;
  width: 100% !important;
  height: 24% !important;
  margin: 0 !important;
  position: static !important;
}
.yg-cosmos-header .yg-s-lord .yg-badge-row img {
  height: 100% !important;
  width: auto !important;
  max-width: 48% !important;
  max-height: none !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
}
.yg-cosmos-header .yg-s-lord .yg-lord {
  width: 100% !important;
  height: 74% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
  flex: 1 1 auto !important;
}
/* ISLAM card */
.yg-cosmos-header .yg-s-islam {
  left: 44.43% !important;
  top: 31.23% !important;
  width: 17.48% !important;
  height: 58.47% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.yg-cosmos-header .yg-s-islam .yg-islam-img {
  width: 100% !important;
  height: 88% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
  flex: 1 1 auto !important;
}
.yg-cosmos-header .yg-islam-cap {
  font-size: 0.85cqw !important;
  line-height: 1.15 !important;
  text-align: center !important;
  margin: 0 !important;
  width: 100% !important;
}
/* STOP IT */
.yg-cosmos-header .yg-s-stop {
  left: 62.4% !important;
  top: 25.91% !important;
  width: 17.87% !important;
  height: 62.46% !important;
}
/* earth circle — the red box, stats sit just under it */
.yg-cosmos-header .yg-s-earth {
  left: 80.27% !important;
  top: 25.91% !important;
  width: 18.46% !important;
  height: 59.14% !important;
}
.yg-cosmos-header .yg-s-earth .yg-cosmos-earth-wrap {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  flex: none !important;
}
.yg-cosmos-header .yg-earth-gif {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
}
.yg-cosmos-header .yg-s-stats {
  left: 80.27% !important;
  top: 86% !important;
  width: 18.46% !important;
  height: 12% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
}
.yg-cosmos-header .yg-s-stats .yg-earth-stats,
.yg-cosmos-header .yg-s-stats .yg-earth-legend {
  font-size: 0.85cqw !important;
  line-height: 1.2 !important;
  text-align: right !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.yg-compose-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(1280px, calc(100% - 24px));
  margin: 12px auto 8px;
}
.yg-compose-row .yg-x-compose {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 680px;
}
.yg-compose-row .yg-auth-box {
  width: 220px !important;
  max-width: 220px !important;
  flex: 0 0 220px !important;
  margin: 0 !important;
}
.yg-usgs-map {
  flex: 0 0 340px;
  width: 340px;
  height: 170px;
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #9ecae8;
  border: 1px solid #c5d4e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
.yg-usgs-map-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.yg-usgs-map-cap {
  position: absolute;
  left: 8px;
  bottom: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f1419;
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  border-radius: 999px;
  pointer-events: none;
}
@media (max-width: 980px) {
  .yg-compose-row {
    flex-wrap: wrap;
    width: min(920px, calc(100% - 24px));
  }
  .yg-usgs-map {
    flex: 1 1 100%;
    width: 100%;
    height: 160px;
    order: 3;
  }
}
