.awards-popup-shell {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.5rem);
  bottom: clamp(0.75rem, 3vw, 1.5rem);
  z-index: 10000;
  width: min(calc(100vw - 1.5rem), 390px);
}

.awards-popup {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--text-dark);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.awards-popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.awards-popup-close::before,
.awards-popup-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.awards-popup-close::before {
  transform: rotate(45deg);
}

.awards-popup-close::after {
  transform: rotate(-45deg);
}

.awards-popup-close:hover {
  color: var(--primary);
  background: var(--bg-light);
  transform: translateY(-1px);
}

.awards-popup-body {
  padding: clamp(1.35rem, 5vw, 1.75rem);
  text-align: center;
}

.awards-popup-collab {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(0.7rem, 3vw, 1rem);
  margin: 0.35rem 2rem 1.1rem 0;
}

.awards-popup-logo,
.awards-popup-rmrg {
  width: 100%;
  height: auto;
  justify-self: center;
  display: block;
}

.awards-popup-logo {
  max-width: 190px;
}

.awards-popup-rmrg {
  max-width: 94px;
}

.awards-popup-collab-mark {
  position: relative;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.awards-popup-collab-mark::before,
.awards-popup-collab-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
}

.awards-popup-collab-mark::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.awards-popup-collab-mark::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.awards-popup-title {
  margin: 0 auto 1rem;
  color: var(--text-dark);
  font-size: clamp(1.2rem, 4.4vw, 1.55rem);
  line-height: 1.08;
  text-wrap: balance;
}

.awards-popup-term {
  color: var(--primary);
}

.awards-popup-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
}

.awards-popup .learnable-map-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.awards-popup .learnable-map-button:hover {
  transform: translateY(-1px);
}

.awards-popup .learnable-map-play {
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.awards-popup .learnable-map-play:hover {
  box-shadow: 0 8px 18px var(--shadow-color);
}

.awards-popup-actions .daily-map-play {
  flex: 0 1 auto;
  min-width: 196px;
  max-width: 260px;
  padding-inline: 1rem;
}

.awards-popup-actions .daily-map-play .learnable-map-geoguessr-logo {
  width: 86px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .awards-popup-shell {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  .awards-popup-body {
    padding-top: 2.2rem;
  }

  .awards-popup-collab {
    margin-right: 0;
  }

  .awards-popup-actions .daily-map-play {
    width: 100%;
    max-width: none;
  }
}
