

.aosp {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.aosp[hidden] { display: none; }

.aosp-scrim {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 80%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}


.aosp-sheet.aosp-sheet {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  
  width: 100%;
  padding: 40px 20px 0;
  border: 1px solid rgb(237 237 237 / 20%);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: #180d22;
  color: #ededed;
  overflow: visible;
}


.aosp-sheet:focus { outline: none; }


.aosp-art {
  position: absolute;
  inset-block-start: -62px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  object-fit: cover;
  pointer-events: none;
}


.aosp-close {
  position: absolute;
  inset-block-start: 9px;
  inset-inline-end: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: rgb(237 237 237 / 5%);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  cursor: pointer;
}


.aosp-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  width: 100%;
  text-align: center;
  word-break: break-word;
}
.aosp-title {
  margin: 0;
  font-family: var(--font-montra), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  text-transform: uppercase;
  white-space: nowrap;
}
.aosp-body {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: rgb(237 237 237 / 80%);
}

.aosp-body strong { color: #ededed; font-weight: 500; }


.aosp-perks {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.aosp-perk {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 10px;
  border-radius: 8px;
  background: rgb(237 237 237 / 5%);
}
.aosp-perk-icon { flex: none; display: block; }
.aosp-perk-label {
  flex: 1 0 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  word-break: break-word;
}


.aosp-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: calc(100% + 40px);
  margin-inline: -20px;
  padding: 10px 20px 20px;
  border-block-start: 1px solid rgb(237 237 237 / 10%);
}

.aosp-primary {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding-inline: 20px;
  border: 0;
  border-radius: 100px;
  background: #ededed;
  color: #180d22;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
}
.aosp-primary:hover { opacity: 0.9; }

.aosp-skip {
  padding: 0;
  border: 0;
  background: none;
  color: rgb(237 237 237 / 55%);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}
.aosp-skip:hover { color: #ededed; }

.aosp-primary:focus-visible,
.aosp-close:focus-visible,
.aosp-skip:focus-visible {
  outline: 2px solid #ededed;
  outline-offset: 2px;
}


@media (min-width: 640px) {
  .aosp { align-items: center; padding: 72px 24px 24px; }
  .aosp-sheet.aosp-sheet {
    width: min(393px, 100%);
    border-bottom: 1px solid rgb(237 237 237 / 20%);
    border-radius: 30px;
  }
}
