.update-news--topic {
  position: fixed;
  bottom: 60px;
  right: 20px;
  color: #fff;
  z-index: 10001;
  border-radius: 10px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.update--btnclose {
  position: absolute;
  top: 0px;
  right: 0px;
  line-height: 0;
  background-color: #eee;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.update--btnclose img {
  width: 10px;
  height: auto;
}

.update--imgnoti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  /* background-image: url('../images/alert_popup/noti_pride.png'); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: auto;
}

#draggable-mobile {
  display: none;
}

#draggable-pc {
  display: block;
}

@media (max-width: 767px) {

  #draggable-mobile {
    display: block;
  }

  #draggable-pc {
    display: none;
  }

  .update-news--topic {
    bottom: 110px;
    right: 10px;
    border-radius: 8px;
    width: 100px;
    height: 100px;
  }

}

.popup-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10002;
}

.popup-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  /* Prevents overflow on short screens */
  aspect-ratio: 3 / 4;
  /*background-color: #ffffff;*/
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

/*.popup-close:hover {
  transform: scale(1.1);
}
*/
.popup-content {
  /*padding: 24px;*/
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  overflow: hidden;
  flex: 1;
}

.popup-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

@media (max-width: 480px) {
  .popup-card {
    max-width: 100%;
    border-radius: 6px;
  }
}

/* economic : h-144 , h-100 , close : t-15 , r-5 */

/*
.update-news--topic.forum2025{ width: 300px; height: 250px; }
.update-news--topic.forum2025 .update--imgnoti{ background: url('../images/alert_popup/noti_forum2025.jpg'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.forum2025{ width: 160px; height: 133px; }

} 



.update-news--topic.warcombodia{ width: 200px; height: 200px; }
.update-news--topic.warcombodia .update--imgnoti{ background: url('../images/alert_popup/noti_combodia.jpg'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.warcombodia{ width: 100px; height: 100px; }

} 



.update-news--topic.print_pattaya{ width: 130px; height: 130px; }
.update-news--topic.print_pattaya .update--imgnoti{ background: url('../images/alert_popup/noti_pattaya.png'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.print_pattaya{ width: 100px; height: 100px; }

}



.update-news--topic.epaper99{ width: 150px; height: 150px; }
.update-news--topic.epaper99 .update--imgnoti{ background: url('../images/alert_popup/noit_epaper99.png'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.epaper99{ width: 100px; height: 100px; }

} 



.update-news--topic.halloween{ width: 150px; height: 150px; }
.update-news--topic.halloween .update--imgnoti{ background: url('../images/alert_popup/sticky-halloween.png'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.halloween{ width: 100px; height: 100px; }

} 



.update-news--topic.economic_forum2025{ width: 200px; height: 150px; }
.update-news--topic.economic_forum2025 .update--imgnoti{ background: url('../images/alert_popup/sticky-economic_forum2025.png'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.economic_forum2025{ width: 150px; height: 113px; }

} 



.update-news--topic.find_school .update--imgnoti{ background: url('../images/alert_popup/sticky-find_school.webp'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.find_school .update--btnclose{ top: -15px; }

} 


.update-news--topic.vote2025 .update--imgnoti{ background: url('../images/alert_popup/sticky-vote.webp'); background-size: cover; }

@media (max-width: 767px) {

  .update-news--topic.vote2025 .update--btnclose{ top: -15px; }

} 



.update-news--topic.argent_chiangmai{ right: 20px; }
.update-news--topic.argent_chiangmai .update--imgnoti{ background: url('../images/alert_popup/sticky-chiangmai.webp'); background-size: cover; }
.update-news--topic.argent_chiangmai .update--btnclose{ top: -20px; right: -15px; }


.update-news--topic.argent_huahin{ right: 20px; }
.update-news--topic.argent_huahin .update--imgnoti{ background: url('../images/alert_popup/sticky-huahin.webp'); background-size: cover; }
.update-news--topic.argent_huahin .update--btnclose{ top: -20px; right: -15px; }



.update-news--topic.yearend2025{ width: 100px; height: 124px; }
.update-news--topic.yearend2025 .update--imgnoti{ background: url('../images/alert_popup/sticky-yearend2025.webp'); background-size: cover; }



.update-news--topic.election2026{ width: 100px; height: 100px; }
.update-news--topic.election2026 .update--imgnoti{ background: url('../images/alert_popup/sticky-election2026.webp'); background-size: cover; }


.update-news--topic.midle_east_war{ width: 150px; height: 150px; }
.update-news--topic.midle_east_war .update--imgnoti{ background: url('../images/alert_popup/sticky-midle_east_war.webp'); background-size: cover; }

.update-news--topic.one_year_one_mount{ width: 150px; height: 150px; }
.update-news--topic.one_year_one_mount .update--imgnoti{ background: url('../images/alert_popup/sticky-1y1m.webp'); background-size: cover; }
*/

.update-news--topic.blue_elephant {
  width: 150px;
  height: 150px;
}

.update-news--topic.blue_elephant .update--imgnoti {
  background: url('../images/alert_popup/sticky-blue-elephant.webp.html');
  background-size: cover;
}



/* horo */
.update-news--topic.horo {
  width: 150px;
  height: 150px;
}

.update-news--topic.horo .update--imgnoti {
  background-image: url('../images/alert_popup/sticky-horo.webp.html');
}

.update-news--topic.horo .update--btnclose {
  top: 15px;
  right: 15px;
}

@media (max-width: 767px) {

  .update-news--topic.horo {
    width: 120px;
    height: 120px;
  }

  .update-news--topic.horo .update--btnclose {
    top: 10px;
    right: 10px;
  }

}


.update-news--topic.anniversary {
  width: 200px;
  height: 200px;
}

.update-news--topic.anniversary .update--imgnoti {
  background: url('../images/alert_popup/BKP-Print-Bag-80ann.webp.html');
  background-size: cover;
}


.update-news--topic.anniversary {
  width: 200px;
  height: 200px;
}

.update-news--topic.anniversary .update--imgnoti {
  background: url('../images/alert_popup/BKP-Print-Bag-80ann.webp.html');
  background-size: cover;
}


.update-news--topic.dgs_299 {
  width: 200px;
  height: 200px;
}

.update-news--topic.dgs_299 .update--imgnoti {
  background: url('../images/alert_popup/sticky-DGS-299.webp.html');
  background-size: cover;
}

.update-news--topic.dgs_2999 {
  width: 200px;
  height: 200px;
}

.update-news--topic.dgs_2999 .update--imgnoti {
  background: url('../images/alert_popup/DGS-2999.webp.html');
  background-size: cover;
}

.update-news--topic.free_trial7days .update--imgnoti {
  background: url('../images/alert_popup/sticky_7days.webp.html');
  background-size: cover;
}