/* OLONE Premium windows, both for those who have it and those who do not */
#premiumModal .modal--premium,
#premiumMemberModal .modal--premium {
  position: relative;
  width: min(600px, 94vw);
  max-height: min(92vh, 780px);
  overflow-y: auto;
  border: 1px solid rgba(236, 196, 90, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(236, 196, 90, 0.2), transparent 70%),
    linear-gradient(155deg, rgba(24, 34, 68, 0.98), rgba(18, 20, 46, 0.98) 55%, rgba(30, 20, 56, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 70px rgba(0, 0, 0, 0.55);
}

#premiumModal .premium-modal-top,
#premiumMemberModal .premium-modal-top {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 2;
  padding: 0;
  margin: 0;
}

#premiumModal .premium-modal-body,
#premiumMemberModal .premium-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px;
}

.premium-hero-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.premium-hero-new__crown {
  width: 118px;
  height: auto;
  margin: -8px 0 -16px;
  filter: drop-shadow(0 10px 24px rgba(236, 180, 60, 0.42));
}

.premium-hero-new__pill {
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(127, 214, 168, 0.14);
  border: 1px solid rgba(127, 214, 168, 0.36);
  color: #9fe6bf;
  font-size: 12px;
  font-weight: 700;
}

.premium-hero-new__title {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  background: linear-gradient(180deg, #fff6c9, #f0c24d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.premium-hero-new__pill + .premium-hero-new__title {
  margin-top: 2px;
}

.premium-hero-new__lead {
  margin: 0;
  max-width: 44ch;
  color: rgba(226, 232, 245, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.premium-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-perk,
.premium-gift-soon {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(150, 175, 255, 0.14);
  background: linear-gradient(150deg, rgba(60, 84, 150, 0.2), rgba(40, 34, 84, 0.2));
}

.premium-perk__icon,
.premium-gift-soon > img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.premium-perk__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(214, 222, 240, 0.72);
}

.premium-perk__text strong {
  font-size: 14px;
  font-weight: 700;
  color: #f4f6fc;
}

.premium-gift-soon {
  border-color: rgba(236, 196, 90, 0.26);
  background: linear-gradient(135deg, rgba(236, 196, 90, 0.1), rgba(224, 21, 48, 0.06));
}

.premium-gift-soon .premium-perk__text {
  flex: 1 1 auto;
}

.premium-gift-soon__tag {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(236, 196, 90, 0.16);
  color: #f2d27a;
  font-size: 12px;
  font-weight: 700;
}

.premium-soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(236, 196, 90, 0.24);
  background: rgba(236, 196, 90, 0.08);
}

.premium-soon__label {
  color: rgba(226, 232, 245, 0.78);
  font-size: 13px;
}

.premium-soon__value {
  color: #f2d27a;
  font-size: 15px;
}

#premiumModal .premium-modal-actions,
#premiumMemberModal .premium-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

@media (max-width: 560px) {
  .premium-perks {
    grid-template-columns: minmax(0, 1fr);
  }

  #premiumModal .premium-modal-body,
  #premiumMemberModal .premium-modal-body {
    padding: 18px 16px;
  }
}
