.prh-sn-shell,
.prh-sn-cookie {
  box-sizing: border-box;
  font-family: "Poppins", "Open Sans", Arial, sans-serif;
}

.prh-sn-shell *,
.prh-sn-cookie * {
  box-sizing: border-box;
}

.prh-sn-shell {
  --prh-sn-pink: #ef2bbd;
  --prh-sn-violet: #7b24f2;
  --prh-sn-navy: #09095f;
  --prh-sn-text: #ffffff;
  --prh-sn-muted: rgba(255, 255, 255, 0.78);
  --prh-sn-line: rgba(255, 255, 255, 0.24);
  position: fixed;
  z-index: 820;
  color: var(--prh-sn-text);
}

.prh-sn-shell.is-hidden,
.prh-sn-cookie.is-hidden,
.prh-sn-subscribe.is-hidden {
  display: none !important;
}

.prh-sn-shell[data-placement="hero_card"] {
  left: clamp(18px, 22vw, 286px);
  bottom: 28px;
  width: min(516px, calc(100vw - 460px));
}

.prh-sn-shell[data-placement="bottom_bar"] {
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.prh-sn-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--prh-sn-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 9, 95, 0.92), rgba(34, 15, 116, 0.86)),
    rgba(12, 12, 70, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.prh-sn-badge {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 54%),
    linear-gradient(135deg, var(--prh-sn-pink), var(--prh-sn-violet));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.3);
}

.prh-sn-badge img {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.34));
}

.prh-sn-android {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 21px;
  height: 17px;
  border: 2px solid #130b5f;
  border-radius: 8px 8px 5px 5px;
  background: #3ddc84;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.prh-sn-android::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 4px;
  width: 13px;
  height: 8px;
  background:
    linear-gradient(62deg, transparent 39%, #3ddc84 42%, #3ddc84 54%, transparent 57%),
    linear-gradient(118deg, transparent 39%, #3ddc84 42%, #3ddc84 54%, transparent 57%);
}

.prh-sn-android::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #130b5f;
  box-shadow: 7px 0 0 #130b5f;
}

.prh-sn-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 19px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}

.prh-sn-message {
  margin: 0;
  max-width: 270px;
  color: var(--prh-sn-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
}

.prh-sn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prh-sn-button,
.prh-sn-cookie button,
.prh-sn-subscribe button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.prh-sn-button {
  min-width: 122px;
  padding: 10px 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--prh-sn-pink), var(--prh-sn-violet));
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(123, 36, 242, 0.34);
}

.prh-sn-close {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.prh-sn-subscribe {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 4, 40, 0.62);
}

.prh-sn-subscribe-panel {
  width: min(430px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #09095f;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.prh-sn-subscribe-panel h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

.prh-sn-subscribe-panel p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.prh-sn-subscribe-panel input[type="email"] {
  width: 100%;
  min-height: 42px;
  margin: 4px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.prh-sn-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.prh-sn-subscribe-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.prh-sn-submit {
  padding: 11px 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--prh-sn-pink), var(--prh-sn-violet));
  font-weight: 800;
}

.prh-sn-secondary {
  padding: 10px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.prh-sn-status {
  margin-top: 10px;
  color: #fff;
  font-size: 13px;
}

.prh-sn-page-message {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 1400;
  transform: translateX(-50%);
  max-width: min(560px, calc(100vw - 24px));
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: #0d7f4f;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.prh-sn-page-message-error {
  background: #9f2434;
}

.prh-sn-cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1300;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 9, 95, 0.97), rgba(34, 15, 116, 0.94)),
    #09095f;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.prh-sn-cookie-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.prh-sn-cookie h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.prh-sn-cookie p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.prh-sn-cookie a {
  color: #fff;
  text-decoration: underline;
}

.prh-sn-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.prh-sn-cookie button {
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.prh-sn-cookie .prh-sn-cookie-accept {
  background: linear-gradient(135deg, #ef2bbd, #7b24f2);
}

.prh-sn-cookie-settings {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.prh-sn-cookie.is-settings .prh-sn-cookie-settings {
  display: grid;
  gap: 8px;
}

.prh-sn-cookie-settings label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.prh-sn-cookie-reopen {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 600;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(9, 9, 95, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.prh-sn-cookie-reopen:hover,
.prh-sn-cookie-reopen:focus {
  color: #fff;
  background: rgba(123, 36, 242, 0.88);
}

.prh-sn-embed-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 18px 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(9, 9, 95, 0.94), rgba(34, 15, 116, 0.9)),
    #09095f;
}

.prh-sn-embed-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.prh-sn-embed-placeholder p {
  max-width: 520px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.prh-sn-embed-placeholder button {
  padding: 10px 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ef2bbd, #7b24f2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}


@media (max-width: 980px) {
  .prh-sn-shell[data-placement="hero_card"],
  .prh-sn-shell[data-placement="bottom_bar"] {
    left: 10px;
    right: 10px;
    bottom: 12px;
    width: auto;
  }

  .prh-sn-card {
    min-height: 92px;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 12px;
  }

  .prh-sn-badge {
    width: 50px;
    height: 50px;
  }

  .prh-sn-title {
    font-size: 16px;
  }

  .prh-sn-message {
    max-width: none;
    font-size: 12px;
    line-height: 1.25;
  }

  .prh-sn-button {
    min-width: 0;
    padding: 9px 11px;
    white-space: nowrap;
    font-size: 12px;
  }

  .prh-sn-close {
    width: 28px;
    height: 28px;
  }

  .prh-sn-cookie-grid {
    grid-template-columns: 1fr;
  }

  .prh-sn-cookie-actions {
    justify-content: stretch;
  }

  .prh-sn-cookie-actions button {
    flex: 1 1 auto;
  }

  .prh-sn-cookie-reopen {
    bottom: 8px;
    left: 8px;
  }

}

@media (max-width: 420px) {
  .prh-sn-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .prh-sn-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
