.lampp-live-tws-news {
  --ln-red: #d90429;
  --ln-text: #141414;
  --ln-muted: #646464;
  --ln-border: #e5e5e5;
  --ln-bg: #fff;
  --ln-key-bg: #fff4f4;
  border: 1px solid var(--ln-border);
  background: var(--ln-bg);
  margin: 0 0 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.lampp-live-tws-news__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ln-border);
  background: var(--ln-red);
}

.lampp-live-tws-news__badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--ln-red);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 2px solid #1f1f1f;
}

.lampp-live-tws-news__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ln-red);
  animation: ln-pulse 1.2s infinite;
}

@keyframes ln-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(217, 4, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

.lampp-live-tws-news__title {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
  flex: 1;
}

.lampp-live-tws-news__full-link {
  font-size: 12px;
  text-decoration: none;
  color: #0b57a3;
  border: 1px solid #c9dff5;
  background: #f1f8ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.lampp-live-tws-news__body {
  max-height: 540px;
  overflow: auto;
}

.lampp-live-tws-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lampp-live-tws-news__item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ln-border);
}

.lampp-live-tws-news__item.is-key {
  background: var(--ln-key-bg);
}

.lampp-live-tws-news__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ln-muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.lampp-live-tws-news__key,
.lampp-live-tws-news__home,
.lampp-live-tws-news__source {
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  color: #333;
}

.lampp-live-tws-news__home {
  border-color: #c9dff5;
  background: #f1f8ff;
}

.lampp-live-tws-news__item-title {
  margin: 0 0 6px;
  color: var(--ln-text);
  font-size: 1rem;
  line-height: 1.35;
}

.lampp-live-tws-news__summary {
  margin: 0;
  color: #202020;
  line-height: 1.55;
}

.lampp-live-tws-news__item-link {
  color: inherit;
  text-decoration: none;
}

.lampp-live-tws-news__item-link:hover,
.lampp-live-tws-news__item-link:focus {
  color: #0b57a3;
  text-decoration: underline;
}

.lampp-live-tws-news__fallback-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #0b57a3;
  text-decoration: underline;
}

.lampp-live-tws-news-thread {
  margin-top: 24px;
}

.lampp-live-tws-news-thread__title {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.lampp-live-tws-news-thread__intro {
  margin-bottom: 18px;
}

.lampp-live-tws-news-thread__intro-preview {
  color: #202020;
  line-height: 1.55;
}

.lampp-live-tws-news-thread__intro-full {
  margin-top: 10px;
}

.lampp-live-tws-news-thread__toggle {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #0b57a3;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.lampp-live-tws-news-thread__list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  position: relative;
}

.lampp-live-tws-news-thread__item {
  position: relative;
  margin: 0 0 14px 20px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--ln-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.lampp-live-tws-news-thread__item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 0;
  bottom: -14px;
  width: 2px;
  background: #d9d9d9;
}

.lampp-live-tws-news-thread__item::after {
  content: '';
  position: absolute;
  left: -24px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ln-red, #d90429);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d9d9d9;
  animation: ln-timeline-pulse 1.8s ease-out infinite;
}

.lampp-live-tws-news-thread__item:last-child::before {
  display: none;
}

@keyframes ln-timeline-pulse {
  0% {
    box-shadow: 0 0 0 1px #d9d9d9, 0 0 0 0 rgba(217, 4, 41, 0.45);
  }
  70% {
    box-shadow: 0 0 0 1px #d9d9d9, 0 0 0 8px rgba(217, 4, 41, 0);
  }
  100% {
    box-shadow: 0 0 0 1px #d9d9d9, 0 0 0 0 rgba(217, 4, 41, 0);
  }
}

.lampp-live-tws-news-thread__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ln-muted);
}

.lampp-live-tws-news-thread__headline {
  margin: 8px 0 8px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.lampp-live-tws-news-thread__content p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.lampp-live-tws-news-thread__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .lampp-live-tws-news__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .lampp-live-tws-news__title {
    font-size: 1rem;
  }

  .lampp-live-tws-news-thread__item {
    margin-left: 14px;
    padding: 12px;
  }

  .lampp-live-tws-news-thread__item::before {
    left: -12px;
  }

  .lampp-live-tws-news-thread__item::after {
    left: -17px;
  }
}
