/* TRX Popup styles */
.trxp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  animation: trxp-fade .2s ease;
  padding: 16px;
}
@keyframes trxp-fade { from { opacity: 0; } to { opacity: 1; } }

.trxp-box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  animation: trxp-pop .25s cubic-bezier(.2, .9, .3, 1.2);
  overflow: hidden;
}
@keyframes trxp-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.trxp-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.trxp-close:hover { background: rgba(0, 0, 0, .8); }

.trxp-content { display: block; }
.trxp-link { display: block; text-decoration: none; }
.trxp-img { display: block; width: 100%; height: auto; }

.trxp-content { padding: 0; }
.trxp-content > *:not(.trxp-link):not(.trxp-img) { padding: 24px; }

@media (max-width: 520px) {
  .trxp-box { max-width: 94vw; }
}
