/* CU_RIOUS TECH — Community Notification */

.ct-community-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 32px));
  background: #050505;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  z-index: 99999;
  font-family: inherit;
  animation: ctPopupIn .35s ease-out;
}

.ct-community-popup.ct-popup-out {
  animation: ctPopupOut .25s ease-in forwards;
}

.ct-community-popup h3 {
  margin: 0 28px 7px 0;
  font-size: 16px;
  font-weight: 600;
}

.ct-community-popup p {
  margin: 0 0 15px;
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.5;
}

.ct-community-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ct-community-close:hover {
  color: #fff;
}

.ct-community-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ct-community-actions a,
.ct-community-cancel {
  flex: 1;
  min-width: 120px;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.ct-community-actions a {
  background: #fff;
  color: #000;
}

.ct-community-actions a:hover {
  opacity: .88;
}

.ct-community-cancel {
  background: #101010;
  color: #aaa;
  border: 1px solid #222;
}

.ct-community-cancel:hover {
  color: #fff;
  border-color: #444;
}

@keyframes ctPopupIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctPopupOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (max-width: 600px) {
  .ct-community-popup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 17px;
  }
}

/* CU_RIOUS TECH — Persistent Announcement */

.ct-announcement {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 28px));
  background: #111;
  color: #fff;
  border: 1px solid #5b7cff;
  border-left: 4px solid #5b7cff;
  border-radius: 10px;
  padding: 13px 42px 13px 15px;
  box-shadow: 0 10px 35px rgba(0,0,0,.4);
  z-index: 99998;
  font-family: inherit;
  animation: ctAnnouncementIn .3s ease-out;
}

.ct-announcement-text {
  font-size: 13px;
  line-height: 1.5;
  color: #f2f2f2;
}

.ct-announcement-close {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 21px;
  cursor: pointer;
}

.ct-announcement-close:hover {
  color: #fff;
}

@keyframes ctAnnouncementIn {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 600px) {
  .ct-announcement {
    top: 10px;
    width: calc(100vw - 20px);
  }
}
