/* LuckyTurtle Block Found Turtle Popup Alert V1.1 - polished compact */
.lt-block-alert-backdrop{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:1.25rem;
  background:rgba(0,0,0,.66);
  backdrop-filter:blur(9px);
  opacity:0;
  pointer-events:none;
  transition:opacity .65s ease;
}

.lt-block-alert-backdrop.show{
  opacity:1;
  pointer-events:auto;
}

.lt-block-alert-card{
  position:relative;
  width:min(860px,92vw);
  aspect-ratio:1.249 / 1;
  max-height:min(82vh,690px);
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(99,255,135,.42);
  box-shadow:
    0 0 54px rgba(99,255,135,.20),
    0 26px 90px rgba(0,0,0,.72);
  background:#030604 url('/assets/block-found-turtle-alert.png') center/contain no-repeat;
  transform:translateY(22px) scale(.965);
  transition:transform .72s cubic-bezier(.2,.8,.2,1);
}

.lt-block-alert-backdrop.show .lt-block-alert-card{
  transform:translateY(0) scale(1);
}

.lt-block-alert-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 38% 36%, rgba(156,255,42,.08), transparent 18rem),
    linear-gradient(90deg,rgba(0,0,0,.03),rgba(0,0,0,.07));
  animation:ltBlockGlow 5.2s ease-in-out infinite;
}

@keyframes ltBlockGlow{
  0%,100%{opacity:.48}
  50%{opacity:.78}
}

.lt-block-alert-close{
  position:absolute;
  top:.85rem;
  right:.85rem;
  z-index:5;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(99,255,135,.35);
  background:rgba(0,0,0,.58);
  color:#eaffef;
  font-size:1.12rem;
  line-height:1;
  cursor:pointer;
}

.lt-block-alert-details{
  position:absolute;
  z-index:4;
  top:15.8%;
  right:7.0%;
  width:34.4%;
  height:69.8%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:.38rem;
  padding:1rem .88rem 1rem;
  color:#eaffef;
  text-shadow:0 2px 10px rgba(0,0,0,.85);
}

.lt-block-alert-pillrow{
  display:flex;
  gap:.32rem;
  flex-wrap:wrap;
  margin-bottom:.08rem;
}

.lt-block-alert-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(99,255,135,.38);
  background:rgba(99,255,135,.10);
  color:#9dff64;
  padding:.18rem .42rem;
  font-size:.52rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.lt-block-alert-pill.gold{
  color:#f7d65d;
  border-color:rgba(247,214,93,.40);
  background:rgba(247,214,93,.10);
}

.lt-block-alert-title{
  margin:.05rem 0 .02rem;
  font-size:clamp(1rem,1.65vw,1.55rem);
  line-height:1;
  letter-spacing:-.045em;
  color:#f4fff7;
}

.lt-block-alert-sub{
  color:#bfe8c6;
  font-size:.72rem;
  line-height:1.25;
  margin:0 0 .04rem;
}

.lt-block-alert-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.32rem;
  min-height:0;
}

.lt-block-alert-field{
  border:1px solid rgba(99,255,135,.18);
  background:rgba(0,0,0,.36);
  border-radius:11px;
  padding:.36rem .42rem;
  min-width:0;
}

.lt-block-alert-field.wide{
  grid-column:1 / -1;
}

.lt-block-alert-k{
  color:#8fcf99;
  font-size:.47rem;
  font-weight:950;
  letter-spacing:.095em;
  text-transform:uppercase;
}

.lt-block-alert-v{
  margin-top:.12rem;
  color:#f4fff7;
  font-weight:950;
  font-size:.72rem;
  line-height:1.15;
  word-break:break-all;
}

.lt-block-alert-v.gold{color:#f7d65d}
.lt-block-alert-v.green{color:#9dff64}

.lt-block-alert-actions{
  display:flex;
  gap:.38rem;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:.15rem;
}

.lt-block-alert-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  border:1px solid rgba(99,255,135,.35);
  background:rgba(99,255,135,.11);
  color:#eaffef;
  padding:.46rem .68rem;
  font-weight:950;
  font-size:.70rem;
}

.lt-block-alert-btn.primary{
  color:#061008;
  background:linear-gradient(135deg,#9dff64,#58c66a);
  border-color:rgba(157,255,100,.45);
}

@media(max-width:780px){
  .lt-block-alert-card{
    width:min(94vw,560px);
    aspect-ratio:auto;
    min-height:72vh;
    max-height:86vh;
    background-size:cover;
    background-position:32% center;
  }

  .lt-block-alert-details{
    left:5%;
    right:5%;
    top:auto;
    bottom:4%;
    width:auto;
    height:auto;
    max-height:58%;
    overflow:auto;
    padding:.9rem;
    border-radius:18px;
    border:1px solid rgba(99,255,135,.28);
    background:rgba(0,0,0,.74);
  }

  .lt-block-alert-title{
    font-size:1.25rem;
  }

  .lt-block-alert-grid{
    grid-template-columns:1fr;
  }
}

/* LuckyTurtle Block Alert final reward/fee nowrap polish */
.lt-block-alert-grid .lt-block-alert-field:nth-child(4) .lt-block-alert-v,
.lt-block-alert-grid .lt-block-alert-field:nth-child(5) .lt-block-alert-v{
  font-size:.60rem;
  white-space:nowrap;
  word-break:normal;
  letter-spacing:-.015em;
}

.lt-block-alert-grid .lt-block-alert-field:nth-child(4),
.lt-block-alert-grid .lt-block-alert-field:nth-child(5){
  padding-left:.34rem;
  padding-right:.34rem;
}

/* LT MOBILE BLOCK ALERT POPUP V1 START */
@media(max-width:780px){
  .lt-block-alert-backdrop{
    padding:10px !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:auto !important;
  }

  .lt-block-alert-card{
    width:calc(100vw - 20px) !important;
    max-width:430px !important;
    min-height:min(92dvh,720px) !important;
    max-height:92dvh !important;
    border-radius:22px !important;
    background-size:cover !important;
    background-position:center top !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-end !important;
    overflow:hidden !important;
  }

  .lt-block-alert-close{
    top:.55rem !important;
    right:.55rem !important;
    width:38px !important;
    height:38px !important;
    background:rgba(0,0,0,.62) !important;
    backdrop-filter:blur(8px) !important;
  }

  .lt-block-alert-details{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:auto !important;
    height:auto !important;
    max-height:58dvh !important;
    margin:0 .62rem .62rem !important;
    padding:.78rem !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,rgba(3,6,4,.86),rgba(3,6,4,.96)) !important;
    box-shadow:0 18px 55px rgba(0,0,0,.45) !important;
    overflow:auto !important;
  }

  .lt-block-alert-pillrow{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:.32rem !important;
  }

  .lt-block-alert-pill{
    font-size:.56rem !important;
    padding:.24rem .42rem !important;
  }

  .lt-block-alert-title{
    font-size:1.42rem !important;
    line-height:.98 !important;
    margin:.42rem 0 .24rem !important;
  }

  .lt-block-alert-sub{
    font-size:.76rem !important;
    line-height:1.32 !important;
    margin-bottom:.48rem !important;
  }

  .lt-block-alert-grid{
    grid-template-columns:1fr 1fr !important;
    gap:.38rem !important;
  }

  .lt-block-alert-field{
    padding:.42rem !important;
    border-radius:12px !important;
  }

  .lt-block-alert-field.wide{
    grid-column:1 / -1 !important;
  }

  .lt-block-alert-k{
    font-size:.52rem !important;
    letter-spacing:.09em !important;
  }

  .lt-block-alert-v{
    font-size:.72rem !important;
    line-height:1.18 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  .lt-block-alert-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:.42rem !important;
    margin-top:.52rem !important;
  }

  .lt-block-alert-btn{
    width:100% !important;
    justify-content:center !important;
    min-height:40px !important;
    font-size:.72rem !important;
  }
}

@media(max-width:390px){
  .lt-block-alert-card{
    min-height:94dvh !important;
  }

  .lt-block-alert-details{
    max-height:62dvh !important;
    margin:0 .48rem .48rem !important;
    padding:.62rem !important;
  }

  .lt-block-alert-title{
    font-size:1.22rem !important;
  }

  .lt-block-alert-grid{
    grid-template-columns:1fr !important;
  }
}
/* LT MOBILE BLOCK ALERT POPUP V1 END */

/* LT BLOCK ALERT RESPONSIVE FIT V2 START */
.lt-block-alert-v{
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media(max-width:780px){
  .lt-block-alert-backdrop{
    align-items:flex-start !important;
    padding:8px !important;
    overflow:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  .lt-block-alert-card{
    width:calc(100vw - 16px) !important;
    max-width:430px !important;
    min-height:0 !important;
    max-height:none !important;
    height:auto !important;
    margin:0 auto !important;
    overflow:visible !important;
    background-size:contain !important;
    background-position:center top !important;
    padding-top:min(72vw,330px) !important;
  }

  .lt-block-alert-details{
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    width:auto !important;
    height:auto !important;
    max-height:none !important;
    margin:.5rem !important;
    overflow:visible !important;
  }

  .lt-block-alert-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .lt-block-alert-field.wide{
    grid-column:1 / -1 !important;
  }

  .lt-block-alert-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
}

@media(max-width:390px){
  .lt-block-alert-card{
    width:calc(100vw - 12px) !important;
    padding-top:min(78vw,300px) !important;
  }

  .lt-block-alert-grid{
    grid-template-columns:1fr !important;
  }

  .lt-block-alert-title{
    font-size:1.15rem !important;
  }

  .lt-block-alert-sub,
  .lt-block-alert-v{
    font-size:.70rem !important;
  }
}
/* LT BLOCK ALERT RESPONSIVE FIT V2 END */
