.news-popup-widget {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  font-family: Arial, sans-serif;
}
.news-popup-widget.is-hidden {
  display: none;
}
.news-popup-button {
  position: relative;
  width: auto;
  height: 56px;
  border-radius: 16px;
  border: none;
  background: #2b79ff;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.news-popup-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  display: none;
}
.news-popup-panel {
  position: absolute;
  right: 0;
  top: 70px;
  width: 320px;
  max-height: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
.news-popup-widget.is-open .news-popup-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.news-popup-header {
  padding: 14px 16px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  background: #f8f8f8;
}
.news-popup-list {
  list-style: decimal;
  margin: 0;
  padding: 12px 18px 16px 28px;
  overflow-y: auto;
  max-height: 300px;
}
.news-popup-item {
  margin-bottom: 10px;
}
.news-popup-item a {
  color: #2b79ff;
  text-decoration: none;
}
.news-popup-item a:hover {
  text-decoration: underline;
}
.news-popup-date {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 2px;
}
.news-popup-empty {
  list-style: none;
  color: #666;
  padding-left: 0;
}
@media (max-width: 480px) {
  .news-popup-panel {
    width: 260px;
    right: 0;
  }
  .news-popup-widget {
    right: 12px;
    bottom: 12px;
  }
}
